1 2018-11-19 Tom Tromey <tom@tromey.com>
4 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5 * gdb.rust/expr.exp: Update expected output. Change one test.
7 2018-11-19 Tom Tromey <tom@tromey.com>
9 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
11 2018-11-19 Pedro Alves <palves@redhat.com>
13 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
14 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
15 see the expected warning.
17 2018-11-16 Alan Hayward <alan.hayward@arm.com>
20 * gdb.cp/infcall-nodebug-lib.c: New test.
21 * gdb.cp/infcall-nodebug-main.c: New test.
22 * gdb.cp/infcall-nodebug.exp: New file.
24 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
26 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
29 2018-11-09 Tom de Vries <tdevries@suse.de>
31 * gdb.base/msym-lang.c: New test.
32 * gdb.base/msym-lang.exp: New file.
33 * gdb.base/msym-lang-main.c: New test.
35 2018-11-08 Tom Tromey <tom@tromey.com>
39 * gdb.base/warning.exp: New file.
41 2018-11-08 Jan Beulich <jbeulich@suse.com>
43 * testsuite/gdb.arch/i386-avx512.c,
44 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
46 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
48 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
51 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
53 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
54 * gdb.dwarf2/missing-type-name.exp: New file.
56 2018-11-06 Tom de Vries <tdevries@suse.de>
58 * gdb.base/many-headers.c: New test.
59 * gdb.base/many-headers.exp: New file.
61 2018-11-06 Jim Wilson <jimw@sifive.com>
63 * gdb.base/code_elim.exp: For riscv, set additional_flags
64 to include -msmall-data-limit=0.
66 2018-11-01 Joel Brobecker <brobecker@adacore.com>
68 * gdb.ada/watch_minus_l: New testcase.
70 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
72 * gdb.arch/aix-sighandle.c: New file.
73 * gdb.arch/aix-sighandle.exp: New file.
75 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
77 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
78 registers being unions.
80 2018-10-31 Tom de Vries <tdevries@suse.de>
82 * lib/valgrind.exp: New file.
83 (vgdb_start, vgdb_stop): New procs, factored out of ...
84 * gdb.base/valgrind-bt.exp: ... here, ...
85 * gdb.base/valgrind-disp-step.exp: ... here and ...
86 * gdb.base/valgrind-infcall.exp: ... here.
88 2018-10-31 Tom de Vries <tdevries@suse.de>
90 * lib/gdb.exp (get_valueof): Don't output read value in test name.
92 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
94 * gdb.dwarf2/void-type.c: New file.
95 * gdb.dwarf2/void-type.exp: New file.
97 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
99 * gdb.base/info_qt.c: New file.
100 * gdb.base/info_qt.exp: New file.
102 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
104 * gdb.arch/powerpc-htm-regs.c: New file.
105 * gdb.arch/powerpc-htm-regs.exp: New file.
107 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
109 * gdb.arch/powerpc-tar.c: New file.
110 * gdb.arch/powerpc-tar.exp: New file.
112 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
114 * gdb.arch/powerpc-ppr-dscr.c: New file.
115 * gdb.arch/powerpc-ppr-dscr.exp: New file.
117 2018-10-25 Tom de Vries <tdevries@suse.de>
119 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
121 2018-10-24 Tom de Vries <tdevries@suse.de>
123 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
126 2018-10-24 Tom de Vries <tdevries@suse.de>
128 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
130 2018-10-24 Tom de Vries <tdevries@suse.de>
132 * gdb.base/valgrind-db-attach.exp: Handle removed support for
133 --db-attach in valgrind.
135 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
137 * gdb.arch/riscv-reg-aliases.c: New file.
138 * gdb.arch/riscv-reg-aliases.exp: New file.
140 2018-10-19 Alan Hayward <alan.hayward@arm.com>
142 * gdb.python/py-cmd.exp: Check for gdb_prompt.
144 2018-10-19 Alan Hayward <alan.hayward@arm.com>
146 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
148 2018-10-19 Alan Hayward <alan.hayward@arm.com>
150 * gdb.cp/ovldbreak.exp: Fix regexps.
152 2018-10-19 Alan Hayward <alan.hayward@arm.com>
154 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
156 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
159 * gdb.base/restore.exp: New test to check if "restore" with an
160 invalid file doesn't segfault.
162 2018-10-18 Tom de Vries <tdevries@suse.de>
164 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
165 * gdb.ada/excep_handle.exp: Same.
166 * gdb.ada/mi_string_access.exp: Same.
167 * gdb.ada/mi_var_union.exp: Same.
168 * gdb.arch/arc-analyze-prologue.exp: Same.
169 * gdb.arch/arc-decode-insn.exp: Same.
170 * gdb.base/readnever.exp: Same.
171 * gdb.fortran/printing-types.exp: Same.
172 * gdb.guile/scm-lazy-string.exp: Same.
174 2018-10-16 Tom de Vries <tdevries@suse.de>
177 * gdb.base/catch-follow-exec.c: Add copyright notice.
178 * gdb.base/catch-follow-exec.exp: Rewrite to use
179 gdb_spawn_with_cmdline_opts. Require gdb-native.
181 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
183 * gdb.trace/actions-changed.exp: Check for arch support.
184 * gdb.trace/actions.exp: Likewise.
185 * gdb.trace/ax.exp: Likewise.
186 * gdb.trace/backtrace.exp: Likewise.
187 * gdb.trace/change-loc.exp: Likewise.
188 * gdb.trace/deltrace.exp: Likewise.
189 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
190 * gdb.trace/ftrace.exp: Likewise.
191 * gdb.trace/infotrace.exp: Check for arch support.
192 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
193 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
194 * gdb.trace/mi-tsv-changed.exp: Likewise.
195 * gdb.trace/packetlen.exp: Likewise.
196 * gdb.trace/passc-dyn.exp: Likewise.
197 * gdb.trace/passcount.exp: Likewise.
198 * gdb.trace/pending.exp: Likewise.
199 * gdb.trace/range-stepping.exp: Check for shlib support.
200 * gdb.trace/report.exp: Check for arch support.
201 * gdb.trace/save-trace.exp: Likewise.
202 * gdb.trace/signal.exp: Check for signal support.
203 * gdb.trace/tfind.exp: Check for arch support.
204 * gdb.trace/trace-break.exp: Check for arch and shlib support.
205 * gdb.trace/trace-common.h: Add comment.
206 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
207 * gdb.trace/trace-enable-disable.exp: Likewise.
208 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
209 * gdb.trace/tracecmd.exp: Check for arch support.
210 * gdb.trace/tspeed.exp: Check for shlib and target support.
211 * gdb.trace/tstatus.exp: Check for arch support.
212 * gdb.trace/tsv.exp: Likewise.
213 * gdb.trace/while-dyn.exp: Likewise.
214 * gdb.trace/while-stepping.exp: Likewise.
215 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
217 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
219 * gdb.trace/tspeed.exp: Remove nowarnings.
220 (prepare_for_trace_test): Declare "global ipalib".
221 * gdb.trace/tspeed.c: Include unistd.h.
222 (main): Remove superfluous printf argument.
224 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
226 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
227 directory prefix on the filename.
229 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
231 * gdb.gdb/unittest.exp: Update expected message informing that
232 selftests have been disabled.
233 * gdb.server/unittest.exp: Likewise.
235 2018-10-09 Tom de Vries <tdevries@suse.de>
237 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
240 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
243 * gdb.cp/virtbase2.cc: New file.
244 * gdb.cp/virtbase2.exp: New file.
246 2018-10-06 Tom Tromey <tom@tromey.com>
249 * gdb.python/py-inferior.exp: Add architecture test.
251 2018-10-06 Tom Tromey <tom@tromey.com>
253 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
254 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
256 2018-10-06 Tom Tromey <tom@tromey.com>
258 * gdb.python/py-breakpoint.exp (check_last_event): Check location
259 of a "throw" catchpoint.
261 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
263 * gdb.base/info-proc.exp: Update string expected from "help info
266 2018-10-04 Tom Tromey <tom@tromey.com>
268 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
269 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
270 (test_initial_complaints, test_empty_complaints): Update.
271 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
273 2018-10-04 Tom Tromey <tom@tromey.com>
276 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
277 * lib/gdb.exp (gdb_file_cmd): Update.
278 * gdb.stabs/weird.exp (print_weird_var): Update.
279 * gdb.server/solib-list.exp: Update.
280 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
281 * gdb.mi/mi-cli.exp: Update.
282 * gdb.linespec/linespec.exp: Update.
283 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
284 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
285 * gdb.cp/cp-relocate.exp: Update.
286 * gdb.base/sym-file.exp: Update.
287 * gdb.base/relocate.exp: Update.
288 * gdb.base/readnever.exp: Update.
289 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
290 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
291 * gdb.base/dbx.exp (gdb_file_cmd): Update.
292 * gdb.base/code_elim.exp: Update.
293 * gdb.base/break-unload-file.exp (test_break): Update.
294 * gdb.base/break-interp.exp (test_attach_gdb): Update.
295 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
297 * gdb.base/attach.exp (do_attach_tests): Update.
298 * gdb.base/sepdebug.exp: Update.
299 * gdb.python/py-section-script.exp: Update.
301 2018-10-04 Tom Tromey <tom@tromey.com>
304 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
305 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
308 2018-10-04 Tom Tromey <tom@tromey.com>
310 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
311 set width and height to 0.
312 (test_command_line_attach_run): Use -quiet.
314 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
316 * lib/gdb.exp (skip_ifunc_tests): New.
317 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
318 other compile failures.
319 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
321 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
323 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
324 is_amd64_regs_target.
326 2018-10-01 Alan Hayward <alan.hayward@arm.com>
328 * gdb.arch/aarch64-sighandler-regs.c: New test.
329 * gdb.arch/aarch64-sighandler-regs.exp: New file.
330 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
332 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
334 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
337 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
339 * gdb.base/frame-selection.exp: New file.
340 * gdb.base/frame-selection.c: New file.
342 2018-09-27 Alan Hayward <alan.hayward@arm.com>
344 * gdb.threads/check-libthread-db.c (thread_routine): Use a
348 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
350 * gdb.base/large-frame-1.c: New file.
351 * gdb.base/large-frame-2.c: New file.
352 * gdb.base/large-frame.exp: New file.
353 * gdb.base/large-frame.h: New file.
355 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
358 * gdb.base/write_mem.exp: New test.
359 * gdb.base/write_mem.c: Likewise.
361 2018-09-23 Tom Tromey <tom@tromey.com>
364 * gdb.python/py-parameter.exp: Add test for parameter that throws
367 2018-09-23 Tom Tromey <tom@tromey.com>
370 * gdb.python/py-template.exp (test_template_arg): Add test for
371 negative template argument number.
373 2018-09-23 Tom Tromey <tom@tromey.com>
376 * gdb.python/python.exp: Add test for post_event error.
378 2018-09-23 Tom Tromey <tom@tromey.com>
381 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
382 convert pointers to int and long.
384 2018-09-23 Tom Tromey <tom@tromey.com>
387 * gdb.python/py-value.exp (test_value_numeric_ops): Add
388 signed-ness conversion tests.
390 2018-09-23 Tom Tromey <tom@tromey.com>
393 * gdb.python/py-value.exp (test_float_conversion): New proc.
396 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
398 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
400 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
402 * gdb.base/complete-empty.exp: Skip tab-completion tests if
404 * gdb.base/utf8-identifiers.exp: Likewise.
405 * gdb.cp/cpcompletion.exp: Likewise.
406 * gdb.linespec/cpcompletion.exp: Likewise.
407 * gdb.linespec/cpls-abi-tag.exp: Likewise.
408 * gdb.linespec/cpls-ops.exp: Likewise.
410 2018-09-19 Richard Bunt <richard.bunt@arm.com>
411 Chris January <chris.january@arm.com>
413 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
414 * gdb.fortran/short-circuit-argument-list.exp: New file.
415 * gdb.fortran/short-circuit-argument-list.f90: New test.
417 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
419 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
420 "arch=" keyword when executing "-stack-list-frames".
422 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
424 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
425 "arch=" keyword when executing "-stack-list-frames".
427 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
429 * gdb.ada/complete.exp: Expect for "@" when doing "complete
432 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
435 * gdb.python/python.exp: Test gdb.execute("show commands").
437 2018-09-16 Tom Tromey <tom@tromey.com>
439 * gdb.base/new-ui.exp (do_execution_tests): Update.
440 * gdb.base/dbx.exp (test_breakpoints): Update.
442 2018-09-14 Alan Hayward <alan.hayward@arm.com>
444 * lib/gdb.exp (gdb_simple_compile): Add proc.
445 (is_elf_target): Use gdb_simple_compile.
446 (skip_altivec_tests): Likewise.
447 (skip_vsx_tests): Likewise.
448 (skip_tsx_tests): Likewise.
449 (skip_btrace_tests): Likewise.
450 (skip_btrace_pt_tests): Likewise.
451 (gdb_can_simple_compile): Likewise.
452 (gdb_has_argv0): Likewise.
453 (gdb_target_symbol_prefix): Likewise.
454 (target_supports_scheduler_locking): Likewise.
456 2018-09-13 Tom Tromey <tom@tromey.com>
458 * Makefile.in (TAGS): Recognize proc_with_prefix and
461 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
463 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
466 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
468 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
469 and a few other Inferior properties when the Inferior is no
472 2018-09-13 Tom Tromey <tom@tromey.com>
475 * gdb.rust/simple.exp: Add test for enum field access error.
477 2018-09-13 Tom Tromey <tom@tromey.com>
480 * gdb.rust/simple.rs (EmptyEnum): New type.
482 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
484 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
486 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
487 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
488 * gdb.python/py-symtab.exp: Update test printing an objfile.
490 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
492 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
495 2018-09-12 Alan Hayward <alan.hayward@arm.com>
497 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
498 (support_complex_tests): Use gdb_can_simple_compile.
499 (is_ilp32_target): Likewise.
500 (is_lp64_target): Likewise.
501 (is_64_target): Likewise.
502 (is_amd64_regs_target): Likewise.
503 (is_aarch32_target): Likewise.
504 (gdb_int128_helper): Likewise.
506 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
508 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
510 2018-09-10 Jerome Guitton <guitton@adacore.com>
512 * gdb.ada/same_component_name: Add test for case of tagged record
513 with variable-length fields.
515 2018-09-10 Xavier Roirand <roirand@adacore.com>
517 * gdb.ada/access_to_unbounded_array.exp: New testcase.
518 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
519 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
520 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
522 2018-09-10 Xavier Roirand <roirand@adacore.com>
524 * gdb.ada/mi_string_access.exp: New testcase.
525 * gdb.ada/mi_string_access/bar.adb: New file.
526 * gdb.ada/mi_string_access/pck.adb: New file.
527 * gdb.ada/mi_string_access/pck.asd: New file.
529 2018-09-10 Xavier Roirand <roirand@adacore.com>
531 * gdb.ada/mi_var_union.exp: New testcase.
532 * gdb.ada/mi_var_union/bar.adb: New file.
533 * gdb.ada/mi_var_union/pck.adb: New file.
534 * gdb.ada/mi_var_union/pck.asd: New file.
536 2018-09-08 Tom Tromey <tom@tromey.com>
538 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
540 2018-09-08 Tom Tromey <tom@tromey.com>
543 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
544 (register_pretty_printers): Register new printer.
545 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
547 * gdb.python/py-prettyprint.c (int_type3): New typedef.
548 (an_int_type3): New global.
550 2018-09-08 Joel Brobecker <brobecker@adacore.com>
552 * gdb.ada/expr_with_funcall: New testcase.
554 2018-09-08 Joel Brobecker <brobecker@adacore.com>
556 * gdb.ada/packed_array_assign: New testcase.
558 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
560 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
561 names, and add test prefixes to make test names unique.
563 2018-09-05 Tom de Vries <tdevries@suse.de>
565 * gdb.dwarf2/varval.exp: Add test.
567 2018-09-04 Gary Benson <gbenson@redhat.com>
569 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
570 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
572 2018-08-31 Tom Tromey <tom@tromey.com>
574 * gdb.rust/simple.rs: Rename second variable "v".
576 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
578 * gdb.base/funcargs.c (use_a): New function.
579 (recurse): Call use_a.
581 2018-08-29 Keith Seitz <keiths@redhat.com>
583 * gdb.compile/compile-cplus-anonymous.cc: New file.
584 * gdb.compile/compile-cplus-anonymous.exp: New file.
585 * gdb.compile/compile-cplus-array-decay.cc: New file.
586 * gdb.compile/compile-cplus-array-decay.exp: New file.
587 * gdb.compile/compile-cplus-inherit.cc: New file.
588 * gdb.compile/compile-cplus-inherit.exp: New file.
589 * gdb.compile/compile-cplus-member.cc: New file.
590 * gdb.compile/compile-cplus-member.exp: New file.
591 * gdb.compile/compile-cplus-method.cc: New file.
592 * gdb.compile/compile-cplus-method.exp: New file.
593 * gdb.compile/compile-cplus-mod.c: "New" file.
594 * gdb.compile/compile-cplus-namespace.cc: New file.
595 * gdb.compile/compile-cplus-namespace.exp: New file.
596 * gdb.compile/compile-cplus-nested.cc: New file.
597 * gdb.compile/compile-cplus-nested.exp: New file.
598 * gdb.compile/compile-cplus-print.c: "New" file.
599 * gdb.compile/compile-cplus-print.exp: "New" file.
600 * gdb.compile/compile-cplus-virtual.cc: New file.
601 * gdb.compile/compile-cplus-virtual.exp: New file.
602 * gdb.compile/compile-cplus.c: "New" file.
603 * gdb.compile/compile-cplus.exp: "New" file.
604 * lib/compile-support.exp: New file.
606 2018-08-16 Gary Benson <gbenson@redhat.com>
609 * gdb.base/batch-exit-status.exp: New file.
610 * gdb.base/batch-exit-status.good-commands: Likewise.
611 * gdb.base/batch-exit-status.bad-commands: Likewise.
613 2018-08-29 Alan Hayward <alan.hayward@arm.com>
615 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
616 (struct struct02): Likewise.
617 (struct struct03): Likewise.
618 (struct struct04): Likewise.
619 (struct struct_01_01): New struct.
620 (struct struct_01_02): Likewise.
621 (struct struct_01_03): Likewise.
622 (struct struct_01_04): Likewise.
623 (struct struct_02_01): Likewise.
624 (struct struct_02_02): Likewise.
625 (struct struct_02_03): Likewise.
626 (struct struct_02_04): Likewise.
627 (struct struct_04_01): Likewise.
628 (struct struct_04_02): Likewise.
629 (struct struct_04_03): Likewise.
630 (struct struct_04_04): Likewise.
631 (struct struct_05_01): Likewise.
632 (struct struct_05_02): Likewise.
633 (struct struct_05_03): Likewise.
634 (struct struct_05_04): Likewise.
635 (cmp_struct01): Remove function.
636 (cmp_struct02): Likewise.
637 (cmp_struct03): Likewise.
638 (cmp_struct04): Likewise.
639 (cmp_struct_01_01): Add Function.
640 (cmp_struct_01_02): Likewise.
641 (cmp_struct_01_03): Likewise.
642 (cmp_struct_01_04): Likewise.
643 (cmp_struct_02_01): Likewise.
644 (cmp_struct_02_02): Likewise.
645 (cmp_struct_02_03): Likewise.
646 (cmp_struct_02_04): Likewise.
647 (cmp_struct_04_01): Likewise.
648 (cmp_struct_04_02): Likewise.
649 (cmp_struct_04_03): Likewise.
650 (cmp_struct_04_04): Likewise.
651 (cmp_struct_05_01): Likewise.
652 (cmp_struct_05_02): Likewise.
653 (cmp_struct_05_03): Likewise.
654 (cmp_struct_05_04): Likewise.
655 (call_all): Add new structs.
656 * gdb.base/infcall-nested-structs.exp: Likewise.
658 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
660 * gdb.python/py-framefilter-mi.exp: Update regexp to
661 check for "arch" field in frame output.
663 2018-08-23 Kevin Buettner <kevinb@redhat.com>
665 * gdb.dwarf2/dw2-ranges-func.c: New file.
666 * gdb.dwarf2/dw2-ranges-func.exp: New file.
668 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
670 * gdb.base/term.exp: Compare terminal settings with values from
672 * gdb.base/term.c: Get and set terminal settings.
674 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
676 * lib/mi-support.exp (mi_expect_stop): Update regexp to
677 accommodate new "arch" field in frame output.
678 * gdb.mi/mi-return.exp: Likewise.
679 * gdb.mi/mi-stack.exp: Likewise.
680 * gdb.mi/mi-syn-frame.exp: Likewise.
681 * gdb.mi/user-selected-context-sync.exp: Likewise.
683 2018-08-19 Michael Spang <spang@google.com>
686 * gdb.base/gcore-tls-pie.c: New file.
687 * gdb.base/gcore-tls-pie.exp: New file.
689 2018-08-18 Kevin Buettner <kevinb@redhat.com>
691 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
692 * gdb.dwarf2/varval.c: New file.
693 * gdb.dwarf2/varval.exp: New file.
695 2018-08-17 Alan Hayward <alan.hayward@arm.com>
698 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
700 2018-08-16 Keith Seitz <keiths@redhat.com>
702 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
703 tests expected to pass.
705 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
707 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
708 -data-disassemble -a.
709 (test_disassembly_bogus_args): Likewise.
711 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
713 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
715 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
717 * gdb.base/vla-optimized-out.exp: Add new test.
719 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
721 * gdb.base/vla-optimized-out-o3.exp: Delete.
722 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
723 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
726 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
729 * gdb.server/extended-remote-restart.c: New file.
730 * gdb.server/extended-remote-restart.exp: New file.
732 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
734 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
735 "set variable index = 42".
737 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
739 * boards/index-cache-gdb.exp: New file.
740 * gdb.dwarf2/index-cache.exp: New file.
741 * gdb.dwarf2/index-cache.c: New file.
742 * gdb.base/maint.exp: Check if we are using the index cache.
744 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
746 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
749 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
751 * dg-extract-results.sh: Move to toplevel contrib.
752 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
753 * Makefile.in (check-parallel-racy): Likewise.
755 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
757 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
758 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
759 tests if the target supports scheduler locking.
761 2018-08-04 Tom de Vries <tdevries@suse.de>
763 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
765 2018-08-02 Tom Tromey <tom@tromey.com>
768 * gdb.cp/temargs.exp: Test "info address" of a template
771 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
773 * gdb.python/py-mi-var-info-path-expression.c: New file.
774 * gdb.python/py-mi-var-info-path-expression.py: New file.
775 * gdb.python/py-mi-var-info-path-expression.exp: New file.
777 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
779 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
780 error after "cannot resolve name" string.
782 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
784 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
786 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
788 2018-07-28 Tom de Vries <tdevries@suse.de>
790 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
792 2018-07-26 Tom de Vries <tdevries@suse.de>
794 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
796 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
798 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
801 2018-07-26 Tom de Vries <tdevries@suse.de>
804 * gdb.base/catch-follow-exec.c: New test.
805 * gdb.base/catch-follow-exec.exp: New file.
807 2018-07-25 Tom de Vries <tdevries@suse.de>
809 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
812 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
814 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
815 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
817 2018-07-20 Tom de Vries <tdevries@suse.de>
819 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
821 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
823 2018-07-19 Tom de Vries <tdevries@suse.de>
825 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
828 2018-07-18 Tom de Vries <tdevries@suse.de>
830 * gdb.base/vla-optimized-out.c: New test.
831 * gdb.base/vla-optimized-out.exp: New file.
833 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
835 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
836 message "No address associated with hostname" when gdbserver
837 cannot resolve the hostname.
839 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
841 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
842 Add some test prefixes to make tests unique.
844 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
846 * gdb.base/frameapply.c: New file.
847 * gdb.base/frameapply.exp: New file.
849 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
851 * gdb.base/skip.exp: Update expected error message.
853 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
854 Jan Kratochvil <jan.kratochvil@redhat.com>
855 Paul Fertser <fercerpav@gmail.com>
856 Tsutomu Seki <sekiriki@gmail.com>
858 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
860 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
862 * boards/native-gdbserver.exp: Likewise.
863 * gdb.server/run-without-local-binary.exp: Improve regexp used
864 for detecting when a remote debugging connection succeeds.
865 * gdb.server/server-connect.exp: New file.
866 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
867 Do not prefix the port number with ":".
868 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
869 support for detecting and using it. Add '$debughost_gdbserver'
870 to the list of arguments used to start gdbserver. Handle case
871 when gdbserver cannot resolve a network name.
873 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
876 * gdb.base/ptype-offsets.cc (struct static_member): New
878 (main) <stmember>: New variable.
879 * gdb.base/ptype-offsets.exp: Add test for printing a struct
880 with a static member in it.
882 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
884 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
885 watchpoints enabled and disabled.
887 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
889 * gdb.base/examine-backward.exp: Still run tests around address
890 0x0, even if address 0x0 is not readable. Update the pattern for
891 matching address 0x0 in expected output.
893 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
895 * gdb.base/share-env-with-gdbserver.c (main): Add call to
898 2018-07-04 Tom de Vries <tdevries@suse.de>
900 * gdb.dwarf2/dw2-error.exp: Update expected error message.
902 2018-07-02 Maciej W. Rozycki <macro@mips.com>
905 * gdb.arch/mips-disassembler-options.exp: New test.
906 * gdb.arch/mips-disassembler-options.s: New test source.
908 2018-06-29 Pedro Alves <palves@redhat.com>
910 * gdb.threads/names.exp: Adjust expected "info threads" output.
912 2018-06-29 Pedro Alves <palves@redhat.com>
914 * gdb.opt/inline-break.exp (line number, address): Add "info
917 2018-06-29 Pedro Alves <palves@redhat.com>
919 * gdb.opt/inline-break.c (func1): Add "break here" marker.
920 * gdb.opt/inline-break.exp: Test setting breakpoints by line
921 number and address and running to them.
923 2018-06-29 Richard Bunt <richard.bunt@arm.com>
925 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
927 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
929 * lib/compiler.c: Remove executable permission flag.
931 2018-06-28 Richard Bunt <richard.bunt@arm.com>
933 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
935 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
937 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
939 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
941 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
943 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
944 address argument is omitted.
946 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
948 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
950 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
953 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
954 * gdb.base/infoline-reloc-main-from-zero.c: New file.
956 2018-06-26 Tom Tromey <tom@tromey.com>
959 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
960 * gdb.rust/simple.rs (struct SimpleLayout): New.
962 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
964 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
965 "info registers" output.
967 2018-06-21 Richard Bunt <richard.bunt@arm.com>
969 * gdb.base/watchpoint-hw-attach.c: New test.
970 * gdb.base/watchpoint-hw-attach.exp: New file.
972 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
974 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
976 * boards/dwarf4-gdb-index.exp: Likewise.
977 * boards/fission-dwp.exp: Likewise.
979 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
981 * gdb.base/float128.exp: Add comment and improved fail message
982 to the failure case of "print large128" test.
984 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
986 * configure.ac: Remove AC_PREREQ.
987 * configure: Re-generate.
989 2018-06-19 Pedro Alves <palves@redhat.com>
991 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
992 (func_extern_caller): New.
993 (main): Call func_extern_caller.
994 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
997 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
1000 * gdb.cp/typedef-base.cc: New file.
1001 * gdb.cp/typedef-base.exp: New file.
1003 2018-06-18 Tom de Vries <tdevries@suse.de>
1005 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1007 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1008 Richard Bunt <Richard.Bunt@arm.com>
1010 * gdb.threads/attach-slow-waitpid.c: New file.
1011 * gdb.threads/attach-slow-waitpid.exp: New file.
1012 * gdb.threads/slow-waitpid.c: New file.
1014 2018-06-14 Pedro Alves <palves@redhat.com>
1016 * gdb.base/fork-running-state.c: Include <errno.h>.
1017 (exit_if_relative_exits): New.
1018 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1020 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1023 2018-06-14 Tom de Vries <tdevries@suse.de>
1026 * gdb.base/finish-pretty.c: New test.
1027 * gdb.base/finish-pretty.exp: New file.
1029 2018-06-14 Pedro Alves <palves@redhat.com>
1031 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1032 gdb's expected startup output.
1034 2018-06-14 Pedro Alves <palves@redhat.com>
1036 * lib/selftest-support.exp (selftest_setup): Remove inlined
1039 2018-06-14 Tom de Vries <tdevries@suse.de>
1041 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1042 matching of breakpoint printing.
1044 2018-06-13 Tom de Vries <tdevries@suse.de>
1047 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1048 (fork_child): ... here, and ...
1049 (fork_parent): ... here.
1051 2018-06-12 Tom de Vries <tdevries@suse.de>
1053 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1055 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1056 Stephen Roberts <stephen.roberts@arm.com>
1058 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1059 rewrite test to describe action performed, rather than possible
1062 2018-06-08 Gary Benson <gbenson@redhat.com>
1064 * gdb.threads/check-libthread-db.exp: New file.
1065 * gdb.threads/check-libthread-db.c: Likewise.
1067 2018-06-05 Tom Tromey <tom@tromey.com>
1069 * gdb.base/default.exp: Update expected "show version" output.
1071 2018-06-05 Tom Tromey <tom@tromey.com>
1074 * gdb.cp/static-print-quit.exp: Update.
1075 * lib/gdb.exp (pagination_prompt): Update.
1076 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
1077 * gdb.python/python.exp: Update.
1079 2018-06-04 Joel Brobecker <brobecker@adacore.com>
1081 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1083 2018-06-01 Joel Brobecker <brobecker@adacore.com>
1085 * gdb.ada/bp_fun_addr: New testcase.
1087 2018-06-01 Tom Tromey <tom@tromey.com>
1089 * gdb.xml/tdesc-regs.exp (load_description): Update expected
1091 * gdb.dwarf2/method-ptr.exp: Set language to C++.
1092 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1093 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1094 * gdb.base/maint.exp (maint_pass_if): Update.
1096 2018-05-31 Maciej W. Rozycki <macro@mips.com>
1098 * gdb.base/endian.exp: New test.
1099 * gdb.base/endian.c: New test source.
1101 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
1104 * gdb.base/bt-selected-frame.c: New file.
1105 * gdb.base/bt-selected-frame.exp: New file.
1106 * lib/gdb.exp (get_current_frame_number): New function.
1108 2018-05-24 Maciej W. Rozycki <macro@mips.com>
1109 Pedro Alves <palves@redhat.com>
1111 * gdb.threads/tls-core.c: Include <stdlib.h>
1112 (thread_proc): Call `abort'.
1113 * gdb.threads/tls-core.exp: Generate a core with core_find too.
1114 (tls_core_test): New procedure, bits factored out from ...
1115 (top level): ... here. Test both native cores and gcore cores.
1117 2018-05-23 Tom Tromey <tom@tromey.com>
1119 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1121 2018-05-23 Tom Tromey <tom@tromey.com>
1123 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1125 (test_short_complaints): Likewise.
1126 (test_empty_complaints): Likewise.
1127 (test_initial_complaints): Update.
1129 2018-05-23 Tom Tromey <tom@tromey.com>
1131 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1133 2018-05-23 Tom Tromey <tom@tromey.com>
1135 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1136 (test_short_complaints): Update.
1138 2018-05-22 Pedro Alves <palves@redhat.com>
1140 * gdb.base/remote.exp: Only gdb_start after compiling the
1141 testcase. Issue "disconnect" before testing "set remote" command
1142 defaults. Issue clean_restart before running to main.
1144 2018-05-22 Pedro Alves <palves@redhat.com>
1146 * gdb.base/remote.exp: Adjust expected output of "show remote
1147 memory-write-packet-size". Add tests for "set remote
1148 memory-write-packet-size 0" and "set remote
1149 memory-write-packet-size fixed/limit".
1151 2018-05-22 Pedro Alves <palves@redhat.com>
1154 * gdb.base/utf8-identifiers.c: New file.
1155 * gdb.base/utf8-identifiers.exp: New file.
1157 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1159 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1161 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1163 * gdb.arch/powerpc-vsx-gcore.exp: New file.
1165 2018-05-18 Tom Tromey <tom@tromey.com>
1167 * gdb.base/ptype-offsets.exp: Update.
1169 2018-05-17 Keith Seitz <keiths@redhat.com>
1171 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1172 in expected breakpoint stop locations.
1173 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1174 move to proper scope to test variable values.
1175 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1176 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1178 (main): Call not_inline_func3.
1179 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1180 inline_func1, inline_func2, and inline_func3. Test that when each
1181 breakpoint is hit, GDB properly reports both the stop location
1182 and the backtrace. Repeat tests for temporary breakpoints.
1184 2018-05-15 Maciej W. Rozycki <macro@mips.com>
1186 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1187 rather then trying to access it in determining whether the PID
1188 of `gdbserver' could have been retrieved.
1190 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
1192 * gdb.arch/amd64-init-x87-values.S: New file.
1193 * gdb.arch/amd64-init-x87-values.exp: New file.
1195 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1197 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1199 2018-05-04 Tom Tromey <tom@tromey.com>
1202 * gdb.python/python.exp: Test multi-line execute.
1204 2018-05-04 Tom Tromey <tom@tromey.com>
1207 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1209 2018-05-04 Tom Tromey <tom@tromey.com>
1212 * gdb.base/define.exp: Test defining a user command inside a user
1214 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1216 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1217 Pedro Alves <palves@redhat.com>
1219 PR breakpoints/19806 and support for PR external/20207.
1220 * gdb.base/watchpoint-unaligned.c: New file.
1221 * gdb.base/watchpoint-unaligned.exp: New file.
1223 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1225 * gdb.base/maint.exp: Make test names unique, use
1226 test_prefix_command_help to test 'help maint info', and remove
1227 repeated test of 'help maint'.
1229 2018-05-04 Tom Tromey <tom@tromey.com>
1232 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1235 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1237 * gdb.base/maint.exp: Process output from 'maint print registers'
1240 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1242 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1245 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
1247 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1250 2018-05-02 Pedro Alves <palves@redhat.com>
1252 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1253 to_log_command renames.
1254 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1256 2018-05-02 Tom Tromey <tom@tromey.com>
1258 * gdb.python/py-parameter.exp: Set test message.
1260 2018-05-02 Tom Tromey <tom@tromey.com>
1263 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1264 PARAM_ZUINTEGER_UNLIMITED tests.
1266 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
1269 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1272 2018-04-30 Tom Tromey <tom@tromey.com>
1274 * gdb.python/py-type.exp: Check align attribute.
1275 * gdb.python/py-type.c: New "aligncheck" global.
1277 2018-04-30 Tom Tromey <tom@tromey.com>
1280 * gdb.dwarf2/dw2-align.exp: New file.
1281 * gdb.cp/align.exp: New file.
1282 * gdb.base/align.exp: New file.
1283 * lib/gdb.exp (gdb_int128_helper): New proc.
1284 (has_int128_c, has_int128_cxx): New caching procs.
1286 2018-04-27 Tom Tromey <tom@tromey.com>
1289 * gdb.rust/simple.exp: Add inclusive range tests.
1291 2018-04-26 Pedro Alves <palves@redhat.com>
1293 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1294 ifunc breakpoint locations correctly of ifunc breakpoints set
1295 while the program resolves the ifunc.
1297 2018-04-26 Pedro Alves <palves@redhat.com>
1299 * gdb.base/gnu-ifunc-final.c: New file.
1300 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1301 * gdb.base/gnu-ifunc.exp (executable): Delete.
1302 (staticexecutable): Adjust.
1303 (lib_opts, exec_opts): Delete.
1304 (make_binsuffix, build, set-break): New procedures.
1305 (misc_tests): New, with tests factored out from the top level.
1306 (top level): Test different combinations of ifunc resolver name,
1307 resolver with and with debug info, and ifunc target with and
1308 without debug info. Wrap static tests with with_target_prefix.
1310 2018-04-26 Pedro Alves <palves@redhat.com>
1312 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1313 return type" warnings.
1315 2018-04-25 Pedro Alves <palves@redhat.com>
1317 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1319 * gdb.base/kill-after-signal.exp: Likewise.
1320 * gdb.threads/kill.exp: Likewise.
1322 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1323 Sergio Durigan Junior <sergiodj@redhat.com>
1324 Pedro Alves <palves@redhat.com>
1326 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1327 regexps to expect for '[Inferior ... detached]' as well.
1328 * gdb.base/attach.exp: Likewise.
1329 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1330 "gdb_continue_to_end".
1331 (test_catch_syscall_with_wrong_args): Likewise.
1332 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1333 ']'. Don't set 'verbose' on.
1334 * gdb.base/foll-vfork.exp: Likewise.
1335 * gdb.base/fork-print-inferior-events.c: New file.
1336 * gdb.base/fork-print-inferior-events.exp: New file.
1337 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1338 '[Inferior ... has been killed]' message.
1339 * gdb.base/kill-after-signal.exp: Likewise.
1340 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1342 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1344 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1345 regexps to expect for '[Inferior ... detached]' as well.
1346 * gdb.threads/process-dies-while-detaching.exp: Likewise.
1348 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
1351 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1353 2018-04-19 Richard Bunt <richard.bunt@arm.com>
1355 * gdb.threads/multiple-successive-infcall.c: New test.
1356 * gdb.threads/multiple-successive-infcall.exp: New file.
1358 2018-04-17 Tom Tromey <tom@tromey.com>
1360 * gdb.rust/simple.rs (Union): New type.
1361 (main): New local "u".
1362 * gdb.rust/simple.exp (test_one_slice): Add new test case.
1364 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1366 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1367 number information in output of "whereis" command.
1368 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1370 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1372 * gdb.ada/info_types.exp: Adjust expected output to the line
1373 numbers now printed by "info var/func/type".
1374 * gdb.base/completion.exp: Likewise.
1375 * gdb.base/included.exp: Likewise.
1376 * gdb.cp/cp-relocate.exp: Likewise.
1377 * gdb.cp/cplusfuncs.exp: Likewise.
1378 * gdb.cp/namespace.exp: Likewise.
1379 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1381 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1383 * gdb.btrace/cpu.exp: New.
1385 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1387 * gdb.base/step-indirect-call-thunk.exp: New.
1388 * gdb.base/step-indirect-call-thunk.c: New.
1389 * gdb.reverse/step-indirect-call-thunk.exp: New.
1390 * gdb.reverse/step-indirect-call-thunk.c: New.
1392 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1394 * gdb.base/pie-fork.c: New file.
1395 * gdb.base/pie-fork.exp: New file.
1397 2018-04-11 Tom Tromey <tom@tromey.com>
1399 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1401 2018-04-10 Pedro Alves <palves@redhat.com>
1403 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1404 exits. Instead loop running forever.
1405 (fork_parent): Run forever too.
1407 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1409 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1410 mi_continue_to_line.
1411 * gdb.mi/mi-stack.c (callee4): Add comment.
1413 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1415 * gdb.mi/mi-stack.exp: Fix indentation.
1417 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1420 * gdb.arch/amd64-osabi.exp: New file.
1422 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1425 * gdb.base/osabi.exp: New file.
1427 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
1429 * gdb.cp/static-typedef-print.exp: New file.
1430 * gdb.cp/static-typedef-print.cc: New file.
1432 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1434 * gdb.ada/varsize_limit: New testcase.
1436 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1438 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1440 * gdb.ada/notcplusplus: New testcase.
1442 * gdb.base/c-linkage-name.c: New file.
1443 * gdb.base/c-linkage-name.exp: New testcase.
1445 2018-03-26 Tom Tromey <tom@tromey.com>
1447 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1448 * gdb.python/py-framefilter.py (name_error): New global.
1449 (ErrorInName.function): Use name_error.
1451 2018-03-26 Tom Tromey <tom@tromey.com>
1454 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1456 2018-03-23 Keith Seitz <keiths@redhat.com>
1459 * gdb.cp/subtypes.exp: New file.
1460 * gdb.cp/subtypes.h: New file.
1461 * gdb.cp/subtypes.cc: New file.
1462 * gdb.cp/subtypes-2.cc: New file.
1464 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1466 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1467 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1468 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1469 -nostartfiles when compiling the test. Confirm that all registers
1470 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1472 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1474 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1475 option, syntax was wrong anyway.
1476 * gdb.arch/arm-disp-step.exp: Likewise.
1477 * gdb.arch/sparc64-regs.exp: Likewise.
1478 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1479 option, syntax was wrong anyway, switch to use
1480 prepare_for_testing.
1481 * gdb.arch/i386-disp-step.exp: Likewise.
1483 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1485 * gdb.ada/exec_changed.exp: Replace "target_info exists
1486 use_gdb_stub" by "use_gdb_stub".
1487 * gdb.ada/start.exp: Likewise.
1488 * gdb.base/async-shell.exp: Likewise.
1489 * gdb.base/attach-pie-misread.exp: Likewise.
1490 * gdb.base/attach-wait-input.exp: Likewise.
1491 * gdb.base/break-entry.exp: Likewise.
1492 * gdb.base/break-interp.exp: Likewise.
1493 * gdb.base/dprintf-detach.exp: Likewise.
1494 * gdb.base/nostdlib.exp: Likewise.
1495 * gdb.base/solib-nodir.exp: Likewise.
1496 * gdb.base/statistics.exp: Likewise.
1497 * gdb.base/testenv.exp: Likewise.
1498 * gdb.mi/mi-exec-run.exp: Likewise.
1499 * gdb.mi/mi-start.exp: Likewise.
1500 * gdb.multi/dummy-frame-restore.exp: Likewise.
1501 * gdb.multi/multi-arch-exec.exp: Likewise.
1502 * gdb.multi/multi-arch.exp: Likewise.
1503 * gdb.multi/tids.exp: Likewise.
1504 * gdb.multi/watchpoint-multi.exp: Likewise.
1505 * gdb.python/py-events.exp: Likewise.
1506 * gdb.threads/attach-into-signal.exp: Likewise.
1507 * gdb.threads/attach-stopped.exp: Likewise.
1508 * gdb.threads/threadapply.exp: Likewise.
1509 * lib/selftest-support.exp: Likewise.
1511 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1513 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1515 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1517 * gdb.perf/template-breakpoints.cc: New file.
1518 * gdb.perf/template-breakpoints.exp: New file.
1519 * gdb.perf/template-breakpoints.py: New file.
1521 2018-03-19 Tom Tromey <tom@tromey.com>
1523 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1525 * gdb.rust/simple.exp: Test bare identifier form of struct
1528 2018-03-19 Tom Tromey <tom@tromey.com>
1530 * gdb.gdb/observer.exp: Remove.
1532 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1534 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1535 "qualified" option when setting breakpoints.
1536 * gdb.trace/backtrace.exp: Likewise.
1537 * gdb.trace/circ.exp: Likewise.
1538 * gdb.trace/collection.exp: Likewise.
1539 * gdb.trace/disconnected-tracing.exp: Likewise.
1540 * gdb.trace/ftrace-lock.exp: Likewise.
1541 * gdb.trace/ftrace.exp: Likewise.
1542 * gdb.trace/infotrace.exp: Likewise.
1543 * gdb.trace/packetlen.exp: Likewise.
1544 * gdb.trace/passc-dyn.exp: Likewise.
1545 * gdb.trace/qtro.exp: Likewise.
1546 * gdb.trace/read-memory.exp: Likewise.
1547 * gdb.trace/report.exp: Likewise.
1548 * gdb.trace/signal.exp: Likewise.
1549 * gdb.trace/status-stop.exp: Likewise.
1550 * gdb.trace/strace.exp: Likewise.
1551 * gdb.trace/tfind.exp: Likewise.
1552 * gdb.trace/trace-break.exp: Likewise.
1553 * gdb.trace/trace-condition.exp: Likewise.
1554 * gdb.trace/trace-mt.exp: Likewise.
1555 * gdb.trace/tstatus.exp: Likewise.
1556 * gdb.trace/tsv.exp: Likewise.
1557 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1558 * gdb.trace/unavailable.exp: Likewise.
1559 * gdb.trace/while-dyn.exp: Likewise.
1561 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1563 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1564 that libinproctrace is copied to the target.
1566 2018-03-14 Tom Tromey <tom@tromey.com>
1569 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1571 * gdb.base/wchar.exp: Likewise.
1573 2018-03-14 Tom Tromey <tom@tromey.com>
1576 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1579 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1582 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1583 "target" to remote_exec.
1585 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1588 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1589 ${board}_upload): Remove.
1591 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1593 * gdb.cp/watch-cp.cc: New test.
1594 * gdb.cp/watch-cp.exp: New file.
1596 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1598 * gdb.base/infcall-nested-structs.exp: New file.
1599 * gdb.base/infcall-nested-structs.c: New file.
1600 * gdb.base/float.exp: Add riscv support.
1602 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1604 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1605 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1607 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1609 * gdb.server/abspath.exp: New file.
1610 * lib/gdb.exp (with_cwd): New procedure.
1612 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1614 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1616 (gdb_is_target_remote_prompt): New proc.
1617 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1618 (gdb_is_target_native): Pass prompt parameter to
1621 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1623 * gdb.base/load-command.c: New file.
1624 * gdb.base/load-command.exp: New file.
1625 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1626 (gdb_is_target_1): ...this, and generalize for other targets
1628 (gdb_is_target_remote): Use gdb_is_target_1.
1629 (gdb_is_target_native): use gdb_is_target_1.
1631 2018-02-26 Tom Tromey <tom@tromey.com>
1634 * gdb.python/py-framefilter.exp: Update test.
1636 2018-02-26 Tom Tromey <tom@tromey.com>
1638 * gdb.dwarf2/variant.c: New file.
1639 * gdb.dwarf2/variant.exp: New file.
1641 2018-02-26 Tom Tromey <tom@tromey.com>
1643 * gdb.rust/simple.exp: Accept more possible results in enum test.
1645 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1647 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1650 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1652 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1653 name of a variable: $actual_linejj -> $actual_line.
1655 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1657 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1659 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1661 * gdb.btrace/buffer-size.exp: Do not force BTS.
1663 2018-02-14 Pedro Alves <palves@redhat.com>
1665 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1668 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1670 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1673 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1675 * gdb.cp/m-static.exp: Check type of optimized out static
1678 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1680 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1681 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1683 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1684 Leszek Swirski <leszeks@google.com>
1686 * gdb.python/py-prettyprint.c
1687 (struct to_string_returns_value_inner,
1688 struct to_string_returns_value_wrapper): New.
1689 (main): Add tsrvw variable.
1690 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1691 ToStringReturnsValueWrapper): New classes.
1692 (register_pretty_printers): Register new pretty-printers.
1693 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1694 recursive pretty printer.
1695 * gdb.python/py-mi.exp: Likewise.
1697 2018-02-01 Leszek Swirski <leszeks@google.com>
1699 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1700 functions with the same name as an include file are parsed
1703 2018-02-01 Yao Qi <yao.qi@linaro.org>
1705 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1708 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1710 * gdb.arch/powerpc-prologue-frame.s: New file.
1711 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1712 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1714 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1716 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1718 2018-01-30 Pedro Alves <palves@redhat.com>
1721 * gdb.base/interrupt-daemon.c: New.
1722 * gdb.base/interrupt-daemon.exp: New.
1723 * gdb.multi/multi-term-settings.c: New.
1724 * gdb.multi/multi-term-settings.exp: New.
1726 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1728 * gdb.base/break.exp: Save the location where the breakpoint
1729 on break.c:47 was actually inserted when debugging the version
1730 compiled at -O2 and use it in the expected output of the "info
1731 break" test performed soon after.
1733 2018-01-22 Pedro Alves <palves@redhat.com>
1734 Sergio Durigan Junior <sergiodj@redhat.com>
1736 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1737 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1739 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1741 * gdb.base/break-include.c, gdb.base/break-include.inc,
1742 gdb.base/break-include.exp: New files.
1743 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1744 line number now being the actual line number where the breakpoint
1746 * gdb.mi/mi-break.exp: Likewise.
1747 * gdb.mi/mi-reverse.exp: Likewise.
1748 * gdb.mi/mi-simplerun.exp: Ditto.
1750 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1752 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1754 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1756 2018-01-21 Don Breazeal <donb@codesourcery.com>
1757 Andrew Burgess <andrew.burgess@embecosm.com>
1759 * gdb.mi/basics.c: Add new global.
1760 * gdb.mi/mi-frame-regs.exp: New file.
1761 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1764 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1766 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1767 non-parameter, and on an unknown symbol.
1769 2018-01-19 Tom Tromey <tom@tromey.com>
1771 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1772 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1774 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1776 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1777 setrlimit and chdir to int.
1779 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1781 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1783 (my_tend): Likewise.
1784 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1785 rationale of avoiding FP- and vector instructions.
1787 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1789 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1790 "info reg" with "\[ \t\]*".
1791 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1793 * gdb.arch/s390-multiarch.exp: Ditto.
1794 * gdb.base/pc-fp.exp: Ditto.
1795 * gdb.reverse/i386-precsave.exp: Ditto.
1796 * gdb.reverse/i386-reverse.exp: Ditto.
1797 * gdb.reverse/i387-env-reverse.exp: Ditto.
1798 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1800 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1802 * lib/gdb.exp (gdb_compile): Re-enable use of
1803 universal_compile_options for languages other than Rust.
1805 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1807 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1809 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1812 * gdb.base/solib-vanish.exp: New.
1813 * gdb.base/solib-vanish-main.c: New.
1814 * gdb.base/solib-vanish-lib1.c: New.
1815 * gdb.base/solib-vanish-lib2.c: New.
1817 2018-01-17 Yao Qi <yao.qi@linaro.org>
1819 * gdb.compile/compile.exp: Match the address printed for
1820 frame in the output of command "bt".
1822 2018-01-15 Tom Tromey <tom@tromey.com>
1824 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1827 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1829 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1831 (prepare): Return 0 on error, 1 on success.
1833 2018-01-12 Pedro Alves <palves@redhat.com>
1835 * gdb.base/continue-after-aborted-step-over.c: New.
1836 * gdb.base/continue-after-aborted-step-over.exp: New.
1838 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1840 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1841 options when not creating an executable.
1843 2018-01-11 Pedro Alves <palves@redhat.com>
1846 * gdb.server/stop-reply-no-thread.c: New file.
1847 * gdb.server/stop-reply-no-thread.exp: New file.
1849 2018-01-10 Pedro Alves <palves@redhat.com>
1852 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1853 functions too. Test setting breakpoints and printing C functions
1854 with no debug info too.
1855 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1857 2018-01-10 Pedro Alves <palves@redhat.com>
1860 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1863 2018-01-10 Pedro Alves <palves@redhat.com>
1866 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1868 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1870 * gdb.server/unittest.exp: Match the output in non-development
1873 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1875 * gdb.gdb/unittest.exp: Match output in non-development mode.
1877 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1879 * gdb.ada/access_tagged_param.exp: Relax expected output
1880 for value of "ObjL" in "continue" to pck.inspect breakpoint
1883 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1885 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1886 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1888 2018-01-05 Pedro Alves <palves@redhat.com>
1891 * gdb.base/libsegfault.exp: New.
1893 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1896 * gdb.ada/access_tagged_param.exp: New file.
1897 * gdb.ada/access_tagged_param/foo.adb: New file.
1899 2018-01-05 Pedro Alves <palves@redhat.com>
1902 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1903 exercise lower case too, and to exercise both full matching and
1906 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1908 * gdb.ada/rename_subscript_param: New testcase.
1910 2018-01-05 Jerome Guitton <guitton@adacore.com>
1912 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1914 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1916 * gdb.ada/convvar_comp: New testcase.
1918 2018-01-05 Xavier Roirand <roirand@adacore.com>
1920 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1921 (My_Table): New global variable.
1922 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1924 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1927 * gdb.ada/maint_with_ada: New testcase.
1929 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1932 * gdb.ada/bp_c_mixed_case: New testcase.
1934 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1937 * gdb.ada/complete.exp: Add "complete break ada" test.
1939 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1942 * gdb.ada/info_addr_mixed_case: New testcase.
1944 2018-01-03 Xavier Roirand <roirand@adacore.com>
1946 * gdb.ada/excep_handle.exp: New testcase.
1947 * gdb.ada/excep_handle/foo.adb: New file.
1948 * gdb.ada/excep_handle/pck.ads: New file.
1950 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1952 * gdb.base/step-line.c: Add extra empty line in copyright header.
1953 * gdb.base/step-line.inp: Likewise.
1955 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1957 * gdb.ada/dyn_stride.exp: Add slice test.
1959 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1961 * gdb.ada/dyn_stride: New testcase.
1963 2017-12-27 Stafford Horne <shorne@gmail.com>
1965 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1966 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1968 2017-12-27 Stafford Horne <shorne@gmail.com>
1970 * gdb.base/reggroups.c: New file.
1971 * gdb.base/reggroups.exp: New file.
1973 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1975 * gdb.dwarf2/ada-valprint-error.c: New file.
1976 * gdb.dwarf2/ada-valprint-error.exp: New file.
1978 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1980 * gdb.ada/assign_arr: New testcase.
1982 2017-12-18 Xavier Roirand <roirand@adacore.com>
1984 * gdb.ada/funcall_ptr: New testcase.
1986 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1989 * gdb.base/ptype-offsets.cc: New file.
1990 * gdb.base/ptype-offsets.exp: New file.
1992 2017-12-15 Yao Qi <yao.qi@linaro.org>
1994 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1997 2017-12-15 Xavier Roirand <roirand@adacore.com>
1999 * gdb.ada/same_component_name: New testcase.
2001 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2003 * gdb.ada/str_binop_equal: New testcase.
2005 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2007 * gdb.ada/task_switch_in_core: New testcase.
2009 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
2011 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2012 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2013 call test_bkpt_qualified.
2014 (test_bkpt_qualified): New proc.
2016 2017-12-13 Pedro Alves <palves@redhat.com>
2018 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2019 Tighten regexp by matching with an anchor.
2021 2017-12-13 Pedro Alves <palves@redhat.com>
2023 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2024 ("expression with namespace"): New set of tests.
2025 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2026 (Nested::Test_NS::qux): New.
2027 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2028 defaults to 'start_quote_char' and 'end_quote_char' parameters.
2030 2017-12-13 Joel Brobecker <brobecker@adacore.com>
2032 * gdb.base/server-del-break.c: New file.
2033 * gdb.base/server-del-break.exp: New file.
2035 2017-12-12 Stafford Horne <shorne@gmail.com>
2037 * gdb.xml/tdesc-regs.exp: Add or1k support.
2039 2017-12-12 Stafford Horne <shorne@gmail.com>
2041 * gdb.base/bp-permanent.c: Define nop of or1k.
2043 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2045 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2046 output with components being reordered.
2048 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2050 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2051 output with components being reordered.
2053 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2054 Pedro Alves <palves@redhat.com>
2056 * gdb.base/maint.exp (check for .gdb_index): Check also for
2058 * gdb.dlang/watch-loc.c (.debug_aranges): New.
2059 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2060 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2061 (.gdb_index used after symbol reloading): Support also .debug_names.
2062 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2064 2017-12-08 Yao Qi <yao.qi@linaro.org>
2066 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2067 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2069 2017-12-08 Yao Qi <yao.qi@linaro.org>
2071 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2072 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2074 2017-12-08 Yao Qi <yao.qi@linaro.org>
2076 * gdb.arch/aarch64-tagged-pointer.c: New file.
2077 * gdb.arch/aarch64-tagged-pointer.exp: New file.
2079 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
2081 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2084 2017-12-07 Keith Seitz <keiths@redhat.com>
2086 PR breakpoints/22569
2087 * gdb.linespec/ls-errs.exp: Change expected result of "break
2088 -source this file has spaces.c -line 3".
2089 Check that an explicit source file followed by whitespace is
2090 identified as an invalid explicit location.
2092 2017-12-07 Keith Seitz <keiths@redhat.com>
2094 * gdb.cp/nested-types.cc: New file.
2095 * gdb.cp/nested-types.exp: New file.
2096 * lib/cp-support.exp: Load data-structures.exp library.
2097 (debug_cp_test_ptype_class): New global.
2098 (cp_ptype_class_verbose, next_line): New procedures.
2099 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2100 Add and document new return value.
2101 Switch the list of lines to a queue.
2102 Add support for new `type' key for nested type definitions.
2103 Add debugging/troubleshooting messages.
2104 * lib/data-structures.exp: New file.
2106 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
2108 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2109 with proc_with_prefix, don't use with_test_prefix.
2111 2017-12-07 Tom Tromey <tom@tromey.com>
2113 * gdb.base/break.exp: Add test for empty "commands".
2115 2017-12-07 Yao Qi <yao.qi@linaro.org>
2117 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2118 malloc and catch syscall.
2120 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
2122 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2123 tests for explicit locations.
2125 2017-12-06 Pedro Alves <palves@redhat.com>
2127 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2128 force-disabling XML descriptions.
2130 2017-12-04 Pedro Alves <palves@redhat.com>
2133 * gdb.arch/amd64-disp-step-avx.S: New file.
2134 * gdb.arch/amd64-disp-step-avx.exp: New file.
2136 2017-12-03 Pedro Alves <palves@redhat.com>
2138 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2140 (parent_function): Print distinct messages when waitpid fails, or
2141 the child exits with a signal, or the child exits for an unhandled
2143 * gdb.threads/process-dies-while-detaching.exp
2144 (detach_and_expect_exit): New 'inf_output_re' parameter and use
2145 it. Wait for both inferior output and GDB's prompt. Use an
2146 indirect spawn id list.
2147 (do_detach): New parameter 'child_exit'. Use it to compute
2148 expected inferior output.
2149 (test_detach, test_detach_watch, test_detach_killed_outside):
2150 Adjust to pass down the expected child exit kind.
2152 2017-12-01 Joel Brobecker <brobecker@adacore.com>
2153 Sergio Durigan Junior <sergiodj@redhat.com>
2154 Pedro Alves <palves@redhat.com>
2156 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2158 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
2160 * gdb.base/relocate.exp: Add tests to guarantee that arguments
2161 to 'symbol-file' and 'add-symbol-file' can be
2162 position-independent.
2164 2017-12-01 Yao Qi <yao.qi@linaro.org>
2166 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2167 the URL in copyright header.
2168 * gdb.arch/aarch64-fp.exp: Likewise.
2169 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2170 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2171 * gdb.base/expand-psymtabs.exp: Likewise.
2172 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2173 * gdb.fortran/common-block.exp: Likewise.
2174 * gdb.fortran/common-block.f90: Likewise.
2175 * gdb.fortran/logical.exp: Likewise.
2176 * gdb.fortran/vla-datatypes.f90: Likewise.
2177 * gdb.fortran/vla-sub.f90: Likewise.
2179 2017-11-30 Joel Brobecker <brobecker@adacore.com>
2181 * gdb.ada/repeat_dyn: New testcase.
2183 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
2185 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2186 Update for changed thread numbering.
2187 * gdb.cell/bt.exp: Update for changed GDB output.
2189 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
2191 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2192 setting isremote by hand.
2193 * boards/dwarf4-gdb-index.exp: Likewise.
2194 * boards/fission.exp: Likewise.
2195 * boards/stabs.exp: Likewise.
2197 2017-11-30 Pedro Alves <palves@redhat.com>
2199 * gdb.linespec/cpls-ops.exp
2200 (check_explicit_skips_function_argument): Extract the underlying
2201 type of size_t instead of hardcoding it.
2203 2017-11-29 Pedro Alves <palves@redhat.com>
2206 * gdb.linespec/cpls-abi-tag.cc: New file.
2207 * gdb.linespec/cpls-abi-tag.exp: New file.
2209 2017-11-29 Pedro Alves <palves@redhat.com>
2211 * gdb.base/langs.exp: Use -qualified.
2212 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2214 * gdb.cp/namespace.exp: Use -qualified.
2215 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2216 (overload-3, template-overload, template-ret-type, const-overload)
2217 (const-overload-quoted, anon-ns, ambiguous-prefix): New
2219 (test_driver): Call them.
2220 * gdb.cp/save-bp-qualified.cc: New.
2221 * gdb.cp/save-bp-qualified.exp: New.
2222 * gdb.linespec/explicit.exp: Test -qualified.
2223 * lib/completion-support.exp (completion::explicit_opts_list): Add
2225 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2227 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
2229 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2231 2017-11-29 Tom Tromey <tom@tromey.com>
2233 * gdb.base/relocate.exp: Update invalid argument test.
2234 Add new tests for invalid arguments.
2236 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2238 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2240 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2242 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2244 * gdb.cp/breakpoint.cc (bar): Set return type to void.
2245 * gdb.cp/psymtab-parameter.cc (func): Likewise.
2246 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2248 * gdb.cp/shadow.cc (B.func): Return 0.
2250 2017-11-27 Joel Brobecker <brobecker@adacore.com>
2252 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2253 expected output in gdb_expect call to allow the exception
2254 message to be present as well. Fix syntax confusion to avoid
2255 TCL thinking that exception_name is an array.
2257 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
2259 * gdb.arch/spu-info.c: Include <unistd.h>.
2260 (do_signal_test): Fix broken calls to write.
2261 * gdb.arch/spu-info.exp: Use prepare_for_testing.
2262 Fix checks for empty mailboxes. Update signal tests for corrected
2263 do_signal_test routine. Allow nonzero event status.
2264 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2265 * gdb.cell/arch.exp: Use standard_output_file.
2266 * gdb.cell/break.exp: Likewise.
2267 * gdb.cell/bt.exp: Likewise.
2268 * gdb.cell/core.exp: Likewise.
2269 * gdb.cell/dwarfaddr.exp: Likewise.
2270 * gdb.cell/ea-cache.exp: Likewise.
2271 * gdb.cell/ea-standalone.exp: Likewise.
2272 * gdb.cell/f-regs.exp: Likewise.
2273 * gdb.cell/fork.exp: Likewise.
2274 * gdb.cell/gcore.exp: Likewise.
2275 * gdb.cell/mem-access.exp: Likewise.
2276 * gdb.cell/ptype.exp: Likewise.
2277 * gdb.cell/registers.exp: Likewise.
2278 * gdb.cell/sizeof.exp: Likewise.
2279 * gdb.cell/solib-symbol.exp: Likewise.
2280 * gdb.cell/solib.exp: Likewise.
2282 2017-11-25 Pedro Alves <palves@redhat.com>
2284 * gdb.base/complete-empty.exp: New file.
2285 * gdb.base/completion.exp: Adjust.
2287 2017-11-25 Pedro Alves <palves@redhat.com>
2289 * gdb.linespec/cpls-ops.cc: New file.
2290 * gdb.linespec/cpls-ops.exp: New file.
2291 * lib/completion-support.exp (test_complete_prefix_range_re): New,
2292 factored out from ...
2293 (test_complete_prefix_range): ... this.
2295 2017-11-24 Pedro Alves <palves@redhat.com>
2297 * gdb.linespec/cpcompletion.exp: New file.
2298 * gdb.linespec/cpls-hyphen.cc: New file.
2299 * gdb.linespec/cpls.cc: New file.
2300 * gdb.linespec/cpls2.cc: New file.
2301 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
2302 test to use test_gdb_complete_unique. Add label completion,
2303 keyword completion and explicit location completion tests.
2304 * lib/completion-support.exp: New file.
2306 2017-11-24 Joel Brobecker <brobecker@adacore.com>
2308 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2309 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2310 when hitting an exception catchpoint.
2312 2017-11-22 Yao Qi <yao.qi@linaro.org>
2314 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2316 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
2318 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2319 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2320 * gdb.dwarf2/info-locals-optimized-out.c: New file.
2322 2017-11-22 Yao Qi <yao.qi@linaro.org>
2324 * gdb.base/info-os.exp: Pass pthreads.
2325 * gdb.multi/multi-attach.exp: Likewise.
2327 2017-11-22 Yao Qi <yao.qi@linaro.org>
2329 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2332 2017-11-22 Yao Qi <yao.qi@linaro.org>
2334 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2335 * gdb.base/break-interp.exp: Likewise.
2336 * gdb.base/jit-attach-pie.exp: Likewise.
2338 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2340 * gdb.base/float128.c (large128): New variable.
2341 * gdb.base/float128.exp: Add test to print largest __float128 value.
2343 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2345 * gdb.arch/vsx-regs.exp: Update register content checks.
2347 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
2349 * gdb.arch/ppc-longdouble.exp: New file.
2350 * gdb.arch/ppc-longdouble.c: Likewise.
2352 2017-11-21 Pedro Alves <palves@redhat.com>
2354 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2356 2017-11-20 Pedro Alves <palves@redhat.com>
2358 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2359 (long_double_typedef): New typedefs.
2360 Use DEF on double and long double.
2361 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2363 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2364 and 'long_double_ptr_same_size' locals. Use them to decide
2365 whether cast from array/function to float is valid/invalid.
2367 2017-11-17 Tom Tromey <tom@tromey.com>
2369 * gdb.rust/traits.rs: New file.
2370 * gdb.rust/traits.exp: New file.
2372 2017-11-17 Joel Brobecker <brobecker@adacore.com>
2374 * gdb.ada/minsyms: New testcase.
2376 2017-11-16 Pedro Alves <palves@redhat.com>
2378 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2379 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2381 2017-11-16 Pedro Alves <palves@redhat.com>
2383 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2384 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2386 2017-11-16 Pedro Alves <palves@redhat.com>
2388 * gdb.server/reconnect-ctrl-c.c: New file.
2389 * gdb.server/reconnect-ctrl-c.exp: New file.
2391 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2393 * gdb.python/py-rbreak.exp: New file.
2394 * gdb.python/py-rbreak.c: New file.
2395 * gdb.python/py-rbreak-func2.c: New file.
2397 2017-11-16 Pedro Alves <palves@redhat.com>
2399 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2401 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2404 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
2406 * gdb.tui/completionn.exp (test_tab_completion): Add space in
2409 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
2411 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2414 2017-11-09 Pedro Alves <palves@redhat.com>
2416 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2417 factored out from ...
2418 (top level): ... here, and adjusted to avoid expecting beyond the
2419 prompt in a single gdb_test_multiple.
2421 2017-11-09 Pedro Alves <palves@redhat.com>
2423 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2425 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2426 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2427 * gdb.server/ext-run.exp ("kill" test): Likewise.
2428 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2430 2017-11-09 Pedro Alves <palves@redhat.com>
2432 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2433 match till end of line.
2435 2017-11-09 Pedro Alves <palves@redhat.com>
2437 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2439 2017-11-09 Pedro Alves <palves@redhat.com>
2441 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2442 New procedures, factored out from ...
2443 (top level): ... here, and adjusted to avoid expecting beyond the
2446 2017-11-09 Pedro Alves <palves@redhat.com>
2448 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2449 output. Fix '?' match.
2451 2017-11-08 Joel Brobecker <brobecker@adacore.com>
2453 * gdb.ada/scoped_watch: New testcase.
2454 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2455 which is actually correct.
2456 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2457 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2459 2017-11-08 Pedro Alves <palves@redhat.com>
2461 * gdb.gdb/complaints.exp (test_initial_complaints)
2462 (test_serial_complaints, test_short_complaints): Call
2463 complaint_internal instead of complaint.
2465 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2467 * gdb.threads/tls-core.c: New file.
2468 * gdb.threads/tls-core.exp: Likewise.
2470 2017-11-08 Pedro Alves <palves@redhat.com>
2472 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2473 (p Exported_Capitalized): New test.
2474 (p exported_capitalized): New test.
2476 2017-11-07 Pedro Alves <palves@redhat.com>
2478 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2480 2017-11-07 Pedro Alves <palves@redhat.com>
2482 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2483 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2484 (disable_invalid, disable_inverted, disable_negative): New
2486 ("bad numbers"): New set of tests.
2488 2017-11-07 Pedro Alves <palves@redhat.com>
2490 * gdb.cp/ena-dis-br-range.exp: Add tests.
2492 2017-11-07 Pedro Alves <palves@redhat.com>
2494 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2496 2017-11-07 Xavier Roirand <roirand@adacore.com>
2497 Pedro Alves <palves@redhat.com>
2499 * gdb.base/ena-dis-br.exp: Add reference to
2500 gdb.cp/ena-dis-br-range.exp.
2501 * gdb.cp/ena-dis-br-range.exp: New file.
2502 * gdb.cp/ena-dis-br-range.cc: New file.
2504 2017-11-06 Pedro Alves <palves@redhat.com>
2506 * gdb.base/attach-non-pgrp-leader.c: New.
2507 * gdb.base/attach-non-pgrp-leader.exp: New.
2509 2017-11-06 Pedro Alves <palves@redhat.com>
2511 * configure.ac: No longer check for termio.h and sgtty.h.
2512 * configure: Regenerate.
2513 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2514 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2515 Remove termio and sgtty code.
2517 2017-11-03 Yao Qi <yao.qi@linaro.org>
2519 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2522 2017-11-03 Yao Qi <yao.qi@linaro.org>
2524 * gdb.python/py-thrhandle.exp: Skip it if python is not
2527 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2529 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2530 as a breakpoint command.
2532 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2535 * gdb.python/py-infthread.exp: Test calling
2536 InferiorThread.inferior () multiple times in a row.
2538 2017-10-27 Keith Seitz <keiths@redhat.com>
2540 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2541 Test "info break" for every inlined function breakpoint.
2543 2017-10-27 Yao Qi <yao.qi@linaro.org>
2545 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2547 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2549 * gdb.cp/classes.exp (test_static_members): Test printing
2551 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2552 (Inner::instance, Outer::instance): New.
2554 2017-10-24 Pedro Alves <palves@redhat.com>
2556 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2557 extra console" test in two stages.
2559 2017-10-24 Pedro Alves <palves@redhat.com>
2561 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2563 2017-10-24 Pedro Alves <palves@redhat.com>
2565 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2568 2017-10-24 Pedro Alves <palves@redhat.com>
2570 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2571 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2573 2017-10-24 Pedro Alves <palves@redhat.com>
2575 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2576 parameter and handle it. Don't output read value in test name.
2578 2017-10-24 Pedro Alves <palves@redhat.com>
2580 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2583 2017-10-24 Pedro Alves <palves@redhat.com>
2585 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2586 include the unstable output directory name in the test's name.
2587 (initial_setup_simple) <'set args'>: Use custom test name.
2589 2017-10-24 Pedro Alves <palves@redhat.com>
2591 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2592 with explicit test name.
2594 2017-10-20 Pedro Alves <palves@redhat.com>
2596 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2597 'wait -i'. Use gdb_assert and remote_close.
2599 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2601 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2602 number from variable rather than hard-coded.
2604 2017-10-19 Pedro Alves <palves@redhat.com>
2606 * gdb.base/long-inferior-output.c: New file.
2607 * gdb.base/long-inferior-output.exp: New file.
2609 2017-11-18 Keith Seitz <keiths@redhat.com>
2611 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2614 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2615 Add additional user-defined conversion operator tests.
2617 2017-10-17 Pedro Alves <palves@redhat.com>
2619 * boards/native-stdio-gdbserver.exp: Load "local-board".
2621 2017-10-17 Pedro Alves <palves@redhat.com>
2623 * gdb.base/quit-live.c: New file.
2624 * gdb.base/quit-live.exp: New file.
2626 2017-10-16 Keith Seitz <keiths@redhat.com>
2628 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2629 (class_with_protected_typedef, class_with_private_typedef)
2630 (struct_with_public_typedef, struct_with_protected_typedef)
2631 (struct_with_private_typedef): New classes/structs.
2632 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2633 typedefs and access specifiers.
2635 2017-10-16 Pedro Alves <palves@redhat.com>
2636 Simon Marchi <simon.marchi@polymtl.ca>
2638 * README (Local vs Remote vs Native): New section.
2639 * boards/local-board.exp: New file, with bits factored out from
2641 * boards/native-extended-gdbserver.exp: ... here. Load
2643 * boards/native-gdbserver.exp: Load "local-board".
2644 (${board}_spawn, ${board}_exec): Delete.
2645 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2647 * boards/stdio-gdbserver-base.exp: ... this new file.
2648 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2649 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2651 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2652 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2653 stdio_gdbserver_command.
2654 (${board}_get_remote_address, ${board}_get_comm_port)
2655 (${board}_download, ${board}_upload): Delete.
2656 (get_target_remote_pipe_cmd): New.
2658 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2660 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2661 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2662 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2663 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2664 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2665 remove with_test_prefix.
2667 2017-10-13 Pedro Alves <palves@redhat.com>
2669 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2670 * gdb.base/annota1.exp: Use it instead of is_remote.
2671 * gdb.base/annota3.exp: Use it instead of is_remote.
2672 * gdb.cp/annota2.exp: Use it instead of is_remote.
2673 * gdb.cp/annota3.exp: Use it instead of is_remote.
2674 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2676 2017-10-13 Pedro Alves <palves@redhat.com>
2678 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2679 (test_num_test_vars, run_and_count_vars, find_env)
2680 (test_set_unset_env, test_inherit_env_var): New procedures.
2681 (top level): Use them.
2683 2017-10-13 Pedro Alves <palves@redhat.com>
2685 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2686 also skip on stub-like targets.
2688 2017-10-13 Pedro Alves <palves@redhat.com>
2691 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2692 (top level): Move some tests to ...
2693 (test_not_found): ... this new procedure.
2694 (top level): Call it.
2696 2017-10-13 Pedro Alves <palves@redhat.com>
2698 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2699 expect different "info terminal" output if testing with a
2702 2017-10-13 Pedro Alves <palves@redhat.com>
2703 Simon Marchi <simon.marchi@polymtl.ca>
2706 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2708 2017-10-13 Pedro Alves <palves@redhat.com>
2710 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2713 2017-10-13 Pedro Alves <palves@redhat.com>
2715 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2718 2017-10-13 Pedro Alves <palves@redhat.com>
2720 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2723 2017-10-13 Pedro Alves <palves@redhat.com>
2725 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2727 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2728 instead of is_remote.
2730 2017-10-13 Pedro Alves <palves@redhat.com>
2732 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2733 (top level): Add comment.
2735 2017-10-13 Pedro Alves <palves@redhat.com>
2737 * gdb.base/remote.exp (top level): Fix comment typo and add
2740 2017-10-13 Pedro Alves <palves@redhat.com>
2741 Simon Marchi <simon.marchi@polymtl.ca>
2743 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2744 calls and add comments. Skip test if use_gdb_stub is set.
2745 (top level): Use "set cwd" command instead of "cd" command.
2747 2017-10-13 Pedro Alves <palves@redhat.com>
2749 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2750 is_remote target check.
2752 2017-10-13 Pedro Alves <palves@redhat.com>
2754 * gdb.base/scope.exp: Use build_executable + clean_restart +
2755 gdb_file_cmd instead of prepare_for_testing and no longer skip
2756 "before run" tests on is_remote target boards. Update comments.
2757 * boards/native-extended-gdbserver.exp
2758 (extended_gdbserver_load_last_file): New, factored out from ...
2759 (gdb_load): ... this. Move further below and add comment.
2760 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2762 2017-10-12 Pedro Alves <palves@redhat.com>
2764 * gdb.base/attach.exp: Remove references to gdb64.
2765 * gdb.base/dbx.exp: Remove references to gdb64.
2767 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2768 Pedro Alves <palves@redhat.com>
2770 * gdb.base/label.exp: Remove is_remote target check.
2772 2017-10-12 Pedro Alves <palves@redhat.com>
2774 * gdb.base/auvx.exp (coredir): Update comment.
2775 (top level) <core_works>: Use "set cwd" command instead of "cd"
2778 2017-10-12 Pedro Alves <palves@redhat.com>
2779 Simon Marchi <simon.marchi@polymtl.ca>
2781 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2784 2017-10-12 Pedro Alves <palves@redhat.com>
2785 Simon Marchi <simon.marchi@polymtl.ca>
2787 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2788 Instead skip if there's any gdb_protocol set.
2790 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2791 Pedro Alves <palves@redhat.com>
2793 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2795 2017-10-12 Pedro Alves <palves@redhat.com>
2796 Simon Marchi <simon.marchi@polymtl.ca>
2798 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2799 instead of on dejagnu remote boards.
2801 2017-10-12 Pedro Alves <palves@redhat.com>
2802 Simon Marchi <simon.marchi@polymtl.ca>
2804 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2805 checks. Use build_executable + clean_restart instead of
2806 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2807 of enabling non-stop after starting gdb.
2809 2017-10-12 Pedro Alves <palves@redhat.com>
2811 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2812 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2813 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2814 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2816 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2818 * gdb.arch/arc-tdesc-cpu.exp: New file.
2819 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2821 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2823 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2825 2017-10-10 Pedro Alves <palves@redhat.com>
2827 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2830 2017-10-10 Pedro Alves <palves@redhat.com>
2832 * lib/selftest-support.exp (selftest_setup): Update for
2833 captured_command_loop's prototype change.
2835 2017-10-09 Pedro Alves <palves@redhat.com>
2837 Test both arch1=>arch2 and arch2=>arch1.
2839 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2840 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2842 (append_arch1_options, append_arch2_options, append_arch_options)
2843 (build_executables): New procedures.
2844 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2846 (top level): Add new 'first_arch' testing axis.
2848 2017-10-09 Pedro Alves <palves@redhat.com>
2850 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2852 (thread_start, all_started): New functions.
2853 (main): Spawn new thread and wait until it is scheduled.
2854 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2856 (do_test): Add 'selected_thread' parameter. Run to all_started
2857 instead of main. Explicitly set the breakpoint at main. Switch
2858 to the SELECTED_THREAD thread.
2859 (top level): Test handling the exec event with either the main
2860 thread or the second thread selected.
2862 2017-10-09 Pedro Alves <palves@redhat.com>
2864 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2865 logic. Move STOP marker after the value checks.
2866 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2869 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2871 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2873 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2875 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2876 integer-to-dfp conversion.
2877 * gdb.base/dfp-test.exp: Likewise.
2879 2017-10-04 Pedro Alves <palves@redhat.com>
2881 * gdb.multi/hangout.c: Include <unistd.h>.
2882 (hangout_loop): New function.
2883 (main): Call alarm. Call hangout_loop in a loop.
2884 * gdb.multi/hello.c: Include <unistd.h>.
2885 (hello_loop): New function.
2886 (main): Call alarm. Call hangout_loop in a loop.
2887 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2888 inferior with the other selected.
2890 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2892 * gdb.mi/list-thread-groups-available.exp: New file.
2893 * gdb.mi/list-thread-groups-available.c: New file.
2895 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2897 * gdb.base/set-cwd.exp: Make it available on
2898 native-extended-gdbserver.
2900 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2902 * gdb.base/set-cwd.c: New file.
2903 * gdb.base/set-cwd.exp: Likewise.
2905 2017-10-02 Tom Tromey <tom@tromey.com>
2908 * gdb.rust/simple.rs (main): New variable "fslice".
2909 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2911 2017-10-02 Tom Tromey <tom@tromey.com>
2913 * gdb.rust/simple.exp: Test ptype of a slice.
2915 2017-10-02 Tom Tromey <tom@tromey.com>
2917 * gdb.rust/simple.exp: Test index of slice.
2919 2017-09-27 Tom Tromey <tom@tromey.com>
2921 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2923 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2924 Pedro Alves <palves@redhat.com>
2926 * gdb.base/compare-sections.exp (get value of read-only section): Read
2928 (corrupt read-only section): Likewise and don't set written if patching
2931 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2933 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2936 2017-09-20 Pedro Alves <palves@redhat.com>
2938 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2939 symbol names in gdb's output.
2940 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2942 2017-09-20 Pedro Alves <palves@redhat.com>
2944 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2946 (test_list_ambiguous_symbol): ... this and add a symbol name
2948 (test_list_ambiguous_function): Reimplement on top of
2949 test_list_ambiguous_symbol and also test listing ambiguous
2951 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2952 (ambiguous_fun): ... this.
2953 (ambiguous_var): New.
2954 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2955 (ambiguous_fun): ... this.
2956 (ambiguous_var): New.
2958 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2960 * gdb.base/starti.c: New file.
2961 * gdb.base/starti.exp: New file.
2962 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2964 2017-09-14 Pedro Alves <palves@redhat.com>
2966 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2967 (top level): Use it instead of runto.
2969 2017-09-11 Tom Tromey <tom@tromey.com>
2971 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2973 2017-09-11 Tom Tromey <tom@tromey.com>
2975 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2976 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2978 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2980 * gdb.fortran/printing-types.exp: New file.
2981 * gdb.fortran/printing-types.exp: New file.
2983 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2985 * gdb.fortran/vla-ptype.exp: Fix typos.
2986 * gdb.fortran/vla-value.exp: Same.
2988 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2990 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2991 * gdb.mi/mi-var-child-f.exp: Likewise.
2992 * gdb.mi/mi-vla-fortran.exp: Likewise.
2994 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2995 Christoph Weinmann <christoph.t.weinmann@intel.com>
2996 Bernhard Heckel <bernhard.heckel@intel.com>
2998 * gdb.fortran/ptr-indentation.f90: New file.
2999 * gdb.fortran/ptr-indentation.exp: New file.
3001 2017-09-05 Tom Tromey <tom@tromey.com>
3004 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3006 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3008 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3010 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3012 * gdb.threads/tls-nodebug-pie.c: New file.
3013 * gdb.threads/tls-nodebug-pie.exp: New file.
3015 2017-09-05 Tom Tromey <tom@tromey.com>
3017 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3020 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
3022 * gdb.multi/multi-arch-exec.exp: Test with different
3023 "follow-exec-mode" settings.
3024 (do_test): New procedure.
3026 2017-09-04 Pedro Alves <palves@redhat.com>
3028 * gdb.base/func-static.c (S::method const, S::method volatile)
3029 (S::method volatile const): New methods.
3030 (c_s, v_s, cv_s): New instances.
3031 (main): Call method() on them.
3032 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3033 (cannot_resolve): New procedure.
3034 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
3035 print-quote-unquoted columns.
3036 (do_test): Test printing each scope too.
3038 2017-09-04 Pedro Alves <palves@redhat.com>
3040 * gdb.base/local-static.exp: Also test with
3041 class::method::variable wholly quoted.
3042 * gdb.cp/m-static.exp (class::method::variable): Remove test.
3044 2017-09-04 Pedro Alves <palves@redhat.com>
3046 * gdb.base/local-static.c: New.
3047 * gdb.base/local-static.cc: New.
3048 * gdb.base/local-static.exp: New.
3050 2017-09-04 Pedro Alves <palves@redhat.com>
3052 * gdb.asm/asm-source.exp: Add casts to int.
3053 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3054 (dataglobal64_1, dataglobal64_2): New globals.
3055 * gdb.base/nodebug.exp: Test different expressions involving the
3056 new globals, with print, whatis and ptype. Add casts to int.
3057 * gdb.base/solib-display.exp: Add casts to int.
3058 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
3059 * gdb.cp/m-static.exp: Add cast to int.
3060 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3061 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3062 tls variable with no debug info without a cast. Test with a cast
3064 * gdb.trace/entry-values.exp: Add casts.
3066 2017-09-04 Pedro Alves <palves@redhat.com>
3068 * gdb.base/nodebug.exp: Test that ptype's error about functions
3069 with unknown return type includes the function name too.
3071 2017-09-04 Pedro Alves <palves@redhat.com>
3073 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3074 return type of munmap in infcall.
3075 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3076 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
3077 type of ftell in infcall.
3078 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3079 type of getpid in infcall.
3080 * gdb.base/infcall-exec.exp: Cast return type of execlp in
3082 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3083 Bail on failure to extract the pid.
3084 * gdb.base/nodebug.c: #include <stdint.h>.
3085 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3087 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3088 Change expected output of print/whatis/ptype with functions with
3089 no debug info. Test all supported languages. Call
3090 test_call_promotion.
3091 * gdb.compile/compile.exp: Adjust expected output to expect
3093 * gdb.threads/siginfo-threads.exp: Likewise.
3095 2017-09-04 Pedro Alves <palves@redhat.com>
3097 * gdb.base/callfuncs.exp (do_function_calls): New parameter
3098 "prototypes". Test calling float functions via prototyped and
3099 unprototyped function pointers.
3100 (perform_all_tests): New parameter "prototypes". Pass it down.
3101 (top level): Pass down "prototypes" parameter to
3104 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3106 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3107 Test with nested loops.
3109 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3111 * gdb.base/commands.exp: Call the new procedures.
3112 (loop_break_test, loop_continue_test): New procedures.
3114 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3116 * gdb.base/commands.exp: Call new procedure.
3117 (define_if_without_arg_test): New procedure.
3119 2017-09-04 Pedro Alves <palves@redhat.com>
3121 * gdb.base/list-ambiguous.exp: New file.
3122 * gdb.base/list-ambiguous0.c: New file.
3123 * gdb.base/list-ambiguous1.c: New file.
3124 * gdb.base/list.exp (test_list_range): Adjust expected output.
3126 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
3128 * gdb.base/share-env-with-gdbserver.c: New file.
3129 * gdb.base/share-env-with-gdbserver.exp: Likewise.
3131 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3133 * gdb.base/commands.exp (gdbvar_simple_if_test,
3134 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3135 progvar_simple_if_test, progvar_simple_while_test,
3136 progvar_complex_if_while_test, user_defined_command_test,
3137 user_defined_command_args_eval,
3138 user_defined_command_args_stack_test,
3139 user_defined_command_manyargs_test, bp_deleted_in_command_test,
3140 temporary_breakpoint_commands,
3141 gdb_test_no_prompt, redefine_hook_test,
3142 redefine_backtrace_test): Remove "global gdb_prompt".
3144 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3146 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3147 New proc, call it from toplevel.
3149 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
3152 * gdb.server/normal.c: New file, copied from gdb.base.
3153 * gdb.server/run-without-local-binary.exp: New file.
3155 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
3157 * gdb.arch/sparc64-adi.exp: New file.
3158 * gdb.arch/sparc64-adi.c: New file.
3160 2017-08-22 Pedro Alves <palves@redhat.com>
3162 * gdb.cp/overload.exp (line_range_pattern): New procedure.
3163 (top level): Add "list all overloads" tests.
3165 2017-08-22 Tom Tromey <tom@tromey.com>
3167 * gdb.gdb/xfullpath.exp: Remove.
3169 2017-08-21 Pedro Alves <palves@redhat.com>
3172 * gdb.base/symbol-alias.c: New.
3173 * gdb.base/symbol-alias2.c: New.
3174 * gdb.base/symbol-alias.exp: New.
3176 2017-08-21 Pedro Alves <palves@redhat.com>
3178 * gdb.base/dfp-test.c
3179 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3180 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3181 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3182 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3183 * gdb.base/whatis-ptype-typedefs.c: New.
3184 * gdb.base/whatis-ptype-typedefs.exp: New.
3185 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3186 (an_int, an_int_type, an_int_type2): New globals.
3187 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3188 involving typedefs and cast expressions.
3189 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3190 (lookup_typedefs_function): New.
3191 (typedefs_pretty_printers_dict): New.
3192 (top level): Register lookup_typedefs_function in
3193 gdb.pretty_printers.
3195 2017-08-18 Yao Qi <yao.qi@linaro.org>
3197 * gdb.server/unittest.exp: New.
3199 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
3202 * gdb.base/environ.exp: Add test to check if 'unset environment'
3205 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3207 * lib/gdb.exp (universal_compile_options): New caching proc.
3208 (gdb_compile): Suppress GCC's coloring of messages.
3210 2017-08-14 Tom Tromey <tom@tromey.com>
3213 * gdb.base/printcmds.exp (test_radices): New function.
3214 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3215 * gdb.base/sizeof.exp (check_valueof): Use p/d.
3216 * lib/gdb.exp (get_integer_valueof): Use p/d.
3218 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
3220 * lib/gdb.exp (get_valueof): Don't capture end-of-line
3223 2017-08-05 Tom Tromey <tom@tromey.com>
3225 * gdb.rust/simple.exp: Allow String to appear in a different
3228 2017-07-26 Yao Qi <yao.qi@linaro.org>
3230 * gdb.gdb/unittest.exp: Invoke command
3231 "maintenance check xml-descriptions".
3233 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3235 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3237 (hex128): Drop erroneous calculation of parameters.
3239 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
3241 * gdb.python/py-unwind.exp: Disable stack protection when
3244 2017-07-20 Pedro Alves <palves@redhat.com>
3246 * gdb.base/default.exp (set language): Adjust expected output.
3248 2017-07-20 Pedro Alves <palves@redhat.com>
3250 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3251 (test_minsym): ... this, and make static.
3252 (get_pck__foo__bar__minsym): Rename to ...
3253 (get_test_minsym): ... this.
3254 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
3255 symbol names and comments.
3256 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3257 (get_test_minsym): ... this.
3258 (pck__foo__bar__minsym__2): Rename to ...
3259 (test_minsym): ... this.
3262 2017-07-17 Pedro Alves <palves@redhat.com>
3264 * gdb.base/completion.exp: Adjust expected output.
3265 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3266 the completer works.
3268 2017-07-17 Pedro Alves <palves@redhat.com>
3270 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3272 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3274 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3276 2017-07-14 Tom Tromey <tom@tromey.com>
3279 * gdb.rust/simple.exp: Add tests.
3281 2017-07-14 Tom Tromey <tom@tromey.com>
3283 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3285 2017-07-14 Pedro Alves <palves@redhat.com>
3287 * gdb.linespec/base/one/thefile.cc (z1): New function.
3288 * gdb.linespec/base/two/thefile.cc (z2): New function.
3289 * gdb.linespec/linespec.exp: Add tests.
3291 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3293 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3294 to mi_create_breakpoint.
3296 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3298 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3299 mi_create_breakpoint.
3301 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
3303 * gdb.dlang/demangle.exp: Update for demangling changes.
3305 2017-07-09 Tom Tromey <tom@tromey.com>
3307 * gdb.dwarf2/shortpiece.exp: New file.
3309 2017-07-06 David Blaikie <dblaikie@gmail.com>
3311 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3312 built from fissiont-multi-cu{1,2}.c.
3313 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3314 except putting 'main' and 'func' in separate CUs in the same DWO file.
3315 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3317 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3320 2017-07-06 Pedro Alves <palves@redhat.com>
3322 * gdb.python/py-unwind.exp: Test flushregs.
3324 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3327 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3328 tests for alias commands and trailing whitespace.
3330 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3333 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3336 2017-06-29 Pedro Alves <palves@redhat.com>
3338 * gdb.base/printcmds.exp: Add tests.
3340 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
3343 * gdb.base/reread-readsym.exp: New file.
3344 * gdb.base/reread-readsym.c: New file.
3346 2017-06-21 Kevin Buettner <kevinb@redhat.com>
3348 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3351 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
3353 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3355 * gdb.arch/powerpc-power9.s: Likewise.
3357 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3359 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3360 on 32-bit x86 targets. Exploit is_*_target macros where
3363 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3365 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3368 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3370 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3371 located in one or more DWARF pieces.
3373 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3375 * lib/gdb.exp (get_endianness): New proc.
3376 * gdb.arch/aarch64-fp.exp: Use it.
3377 * gdb.arch/altivec-regs.exp: Likewise.
3378 * gdb.arch/e500-regs.exp: Likewise.
3379 * gdb.arch/vsx-regs.exp: Likewise.
3380 * gdb.base/dump.exp: Likewise.
3381 * gdb.base/funcargs.exp: Likewise.
3382 * gdb.base/gnu_vector.exp: Likewise.
3383 * gdb.dwarf2/formdata16.exp: Likewise.
3384 * gdb.dwarf2/implptrpiece.exp: Likewise.
3385 * gdb.dwarf2/nonvar-access.exp: Likewise.
3386 * gdb.python/py-inferior.exp: Likewise.
3387 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3389 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3392 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3393 stack value pieces are taken from the LSB end.
3395 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3397 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3398 variable at nonzero offset.
3400 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3402 * gdb.dwarf2/var-access.c: New file.
3403 * gdb.dwarf2/var-access.exp: New test.
3404 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3406 2017-06-12 Tom Tromey <tom@tromey.com>
3408 * gdb.dwarf2/formdata16.exp: Add tests.
3410 2017-06-12 Tom Tromey <tom@tromey.com>
3412 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3414 2017-06-12 Tom Tromey <tom@tromey.com>
3417 * gdb.reverse/i386-sse-reverse.exp: Update tests.
3418 * gdb.arch/vsx-regs.exp: Update tests.
3419 * gdb.arch/s390-vregs.exp (hex128): New proc.
3421 * gdb.arch/altivec-regs.exp: Update tests.
3423 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3425 * gdb.base/startup-with-shell.c: New file.
3426 * gdb.base/startup-with-shell.exp: Likewise.
3428 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3430 * gdb.server/non-existing-program.exp: Update regex in order to
3431 reflect the fact that gdbserver is now using fork_inferior (with a
3432 shell) to startup the inferior.
3434 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3436 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3437 support function calls from GDB.
3439 2017-05-21 Tom Tromey <tom@tromey.com>
3442 * gdb.rust/unsized.exp: New file.
3443 * gdb.rust/unsized.rs: New file.
3445 2017-05-19 Tom Tromey <tom@tromey.com>
3448 * gdb.rust/watch.exp: New file.
3449 * gdb.rust/watch.rs: New file.
3451 2017-05-18 Tom Tromey <tom@tromey.com>
3453 * gdb.rust/simple.exp: Allow Box to be qualified.
3455 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3457 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3459 2017-05-18 Pedro Alves <palves@redhat.com>
3461 * gdb.base/fileio.c (test_write, test_read, test_close)
3462 (test_fstat): Don't print 'ret' in the fail path.
3464 2017-05-18 Pedro Alves <palves@redhat.com>
3466 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3467 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3468 (test_system, test_rename, test_unlink, test_time): Change
3470 * gdb.base/fileio.exp (stop_msg): Adjust.
3472 2017-05-18 Pedro Alves <palves@redhat.com>
3474 * gdb.base/fileio.c (null_str): New global.
3475 (test_stat): Use it.
3476 * gdb.base/fileio.exp: Remove nowarnings.
3478 2017-05-17 Yao Qi <yao.qi@linaro.org>
3480 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3482 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3484 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3486 (top-level): Invoke test_set_inferior_tty.
3488 2017-05-04 Pedro Alves <palves@redhat.com>
3490 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3491 Add parens to print call for Python 3.
3493 2017-05-03 Keith Seitz <keiths@redhat.com>
3495 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3498 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3500 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3503 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3505 * gdb.python/py-record-btrace.exp: Remove test for
3506 gdb.BtraceInstruction.error.
3508 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3510 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3512 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3514 * gdb.python/py-record-btrace-threads.c: New file.
3515 * gdb.python/py-record-btrace-threads.exp: New file.
3517 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3520 * gdb.base/environ.exp: Make test available in all architectures.
3521 Move bits related to "info program" testing to
3522 gdb.base/info-program.exp. Rewrite tests to use the two new
3523 procedures mentione below.
3524 (test_set_show_env_var) New procedure.
3525 (test_set_show_env_var_equal): Likewise.
3526 * gdb.base/info-program.exp: New file.
3528 2017-04-27 Keith Seitz <keiths@redhat.com>
3530 * gdb.cp/oranking.cc (test15): New function.
3531 (main): Call test15 and declare additional variables for testing.
3532 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3533 "p foo101('abc')" tests.
3534 Add tests for cv qualifier overloads.
3535 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3536 "lvalue reference overload" test.
3537 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3538 "print value of f1 on Child&& in f2" test.
3540 2017-04-19 Pedro Alves <palves@redhat.com>
3542 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3544 (top level): Call it.
3545 * lib/gdb.exp (gdb_define_cmd): New procedure.
3547 2017-04-12 Pedro Alves <palves@redhat.com>
3550 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3551 (wchar): New global.
3552 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3553 (do_test_wide_char, wide_char_types_no_program, top level): Add
3556 2017-04-12 Pedro Alves <palves@redhat.com>
3559 * gdb.cp/wide_char_types.c: New file.
3560 * gdb.cp/wide_char_types.exp: New file.
3562 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3565 * gdb.trace/tsv.exp: Add test for "tsave -r".
3567 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3569 * gdb.dlang/watch-loc.c: New file.
3570 * gdb.dlang/watch-loc.exp: New file.
3572 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3574 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3576 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3578 * gdb.arch/arc-analyze-prologue.S: New file.
3579 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3581 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3583 * gdb.arch/arc-decode-insn.S: New file.
3584 * gdb.arch/arc-decode-insn.exp: Likewise.
3586 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3589 * gdb.arch/sparc64-regs.exp: New file.
3590 * gdb.arch/sparc64-regs.S: Likewise.
3592 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3594 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3595 and memory view on Python 3.
3597 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3598 Keith Seitz <keiths@redhat.com>
3601 * gdb.cp/demangle.exp: Add rvalue reference tests.
3602 * gdb.cp/rvalue-ref-casts.cc: New file.
3603 * gdb.cp/rvalue-ref-casts.exp: New file.
3604 * gdb.cp/rvalue-ref-overload.cc: New file.
3605 * gdb.cp/rvalue-ref-overload.exp: New file.
3606 * gdb.cp/rvalue-ref-params.cc: New file.
3607 * gdb.cp/rvalue-ref-params.exp: New file.
3608 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3609 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3610 * gdb.cp/rvalue-ref-types.cc: New file.
3611 * gdb.cp/rvalue-ref-types.exp: New file.
3612 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3613 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3615 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3617 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3620 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3622 * lib/mi-support.exp (mi_gdb_test): Add additional message
3623 for unexpected output.
3625 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3627 * gdb.base/examine-backward.c (Barrier): New character array
3628 constant, to ensure that TestStrings is preceded by a string
3631 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3633 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3634 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3635 and implicit pointer into such a location.
3637 2017-03-16 Doug Evans <dje@google.com>
3639 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3641 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3643 * gdb.cp/m-static.exp: Fix expectation for prototype of
3644 test5.single_constructor and single_constructor::single_constructor.
3646 2017-03-16 Doug Evans <dje@google.com>
3648 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3649 * gdb.guile/scm-lazy-string.c: New file.
3650 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3651 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3652 for pointer, array, typedef lazy strings.
3654 2017-03-16 Doug Evans <dje@google.com>
3656 PR python/17728, python/18439, python/18779
3657 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3658 * gdb.python/py-lazy-string.c (pointer): New typedef.
3659 (main): New locals ptr, array, typedef_ptr.
3660 * gdb.python/py-value.exp: Move lazy string tests to ...
3661 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3662 array, typedef lazy strings.
3664 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3666 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3667 Add optional 'test' parameter.
3669 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3671 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3672 Skip for versions of DejaGnu < 1.5.
3674 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3676 * lib/gdb.exp (dejagnu_version): New proc.
3677 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3678 Use dejagnu_version.
3680 2017-03-10 Keith Seitz <keiths@redhat.com>
3683 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3684 type from destructor regexps.
3685 Add a branch which actually passes the test.
3686 Adjust "ptype t5i" test names.
3688 2017-03-08 Pedro Alves <palves@redhat.com>
3690 * gdb.base/step-over-exit.exp: Add explicit test message.
3692 2017-03-08 Pedro Alves <palves@redhat.com>
3695 * gdb.threads/interrupt-while-step-over.c: New file.
3696 * gdb.threads/interrupt-while-step-over.exp: New file.
3698 2017-03-08 Pedro Alves <palves@redhat.com>
3700 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3701 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3703 2017-03-08 Pedro Alves <palves@redhat.com>
3705 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3706 PKRU as not supported as a PASS.
3708 2017-03-08 Pedro Alves <palves@redhat.com>
3710 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3711 prefix instead of $binfile1/$binfile2.
3712 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3714 * gdb.python/py-completion.exp: Use "load python file" as test
3715 messages instead of unstable path names.
3717 2017-03-08 Pedro Alves <palves@redhat.com>
3718 Jan Kratochvil <jan.kratochvil@redhat.com>
3721 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3723 (top level): Call it.
3725 2017-03-08 Pedro Alves <palves@redhat.com>
3728 * gdb.tui/tui-nl-filtered-output.exp: New file.
3730 2017-03-08 Pedro Alves <palves@redhat.com>
3732 * gdb.base/completion.exp: Move TUI completion tests to ...
3733 * gdb.tui/completion.exp: ... this new file.
3735 2017-03-08 Pedro Alves <palves@redhat.com>
3737 * gdb.base/tui-disasm-long-lines.c,
3738 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3739 gdb.base/tui-layout.exp: Move to ...
3740 * gdb.tui/: ... this new directory.
3742 2017-03-07 Pedro Alves <palves@redhat.com>
3744 * gdb.base/tui-layout.c: New file.
3745 * gdb.base/tui-layout.exp: New file.
3747 2017-03-07 Pedro Alves <palves@redhat.com>
3749 * gdb.base/tui-layout.c: Rename to ...
3750 * gdb.base/tui-disasm-long-lines.c: ... this.
3751 * gdb.base/tui-layout.exp: Rename to ...
3752 * gdb.base/tui-disasm-long-lines.exp: ... this.
3754 2017-03-07 Pedro Alves <palves@redhat.com>
3756 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3758 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3760 * i386-mpx-call.c: New file.
3761 * i386-mpx-call.exp: New file.
3763 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3765 * gdb.arch/powerpc-power.exp: Delete test.
3766 * gdb.arch/powerpc-power.s: Likewise.
3767 * gdb.disasm/disassembler-options.exp: New test.
3768 * gdb.arch/powerpc-altivec.exp: Likewise.
3769 * gdb.arch/powerpc-altivec.s: Likewise.
3770 * gdb.arch/powerpc-altivec2.exp: Likewise.
3771 * gdb.arch/powerpc-altivec2.s: Likewise.
3772 * gdb.arch/powerpc-altivec3.exp: Likewise.
3773 * gdb.arch/powerpc-altivec3.s: Likewise.
3774 * gdb.arch/powerpc-power7.exp: Likewise.
3775 * gdb.arch/powerpc-power7.s: Likewise.
3776 * gdb.arch/powerpc-power8.exp: Likewise.
3777 * gdb.arch/powerpc-power8.s: Likewise.
3778 * gdb.arch/powerpc-power9.exp: Likewise.
3779 * gdb.arch/powerpc-power9.s: Likewise.
3780 * gdb.arch/powerpc-vsx.exp: Likewise.
3781 * gdb.arch/powerpc-vsx.s: Likewise.
3782 * gdb.arch/powerpc-vsx2.exp: Likewise.
3783 * gdb.arch/powerpc-vsx2.s: Likewise.
3784 * gdb.arch/powerpc-vsx3.exp: Likewise.
3785 * gdb.arch/powerpc-vsx3.s: Likewise.
3786 * gdb.arch/arm-disassembler-options.exp: Likewise.
3787 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3788 * gdb.arch/s390-disassembler-options.exp: Likewise.
3790 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3792 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3793 (check_supported_features): ... this. Changed return type to void.
3794 (supports_rdseed): New static global.
3795 (rdseed): Check supports_rdseed.
3796 (initialize): Call check_supported_features.
3798 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3800 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3801 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3803 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3804 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3806 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3808 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3811 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3813 * gdb.dwarf2/formdata16.c: New file.
3814 * gdb.dwarf2/formdata16.exp: New file.
3815 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3817 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3819 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3820 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3821 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3822 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3825 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3827 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3829 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3832 * gdb.base/maint.exp: Add testcases for when the commands do
3835 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3837 * gdb.cp/chained-calls.exp: Use p instead of P.
3839 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3841 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3842 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3844 2017-02-14 Tom Tromey <tom@tromey.com>
3847 * gdb.python/py-events.exp: Add before_prompt event tests.
3849 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3851 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3853 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3855 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3856 (main): Call my_unique_function_name.
3857 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3858 completion of patterns with a single match.
3859 Add missing -re switches to gdb_test_multiple calls.
3861 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3863 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3864 return if core file is not recognized.
3866 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3868 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3871 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3873 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3876 2017-02-10 Tom Tromey <tom@tromey.com>
3878 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3880 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3883 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3885 2017-02-08 Jerome Guitton <guitton@adacore.com>
3887 * gdb.base/define.exp: Add test for command abbreviations
3890 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3892 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3893 * gdb.reverse/insn-reverse-x86.c: New file.
3895 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3898 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3900 2017-02-03 Tom Tromey <tom@tromey.com>
3903 * gdb.rust/simple.exp: Add new tests.
3905 2017-02-02 Pedro Alves <palves@redhat.com>
3907 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3910 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3912 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3913 taking a 2-byte value out of a 4-byte DWARF implicit value on
3915 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3916 logic. Add test cases for DW_OP_implicit.
3918 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3920 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3922 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3924 * gdb.btrace/enable.exp: Call gdb_exit before
3925 skip_gdbserver_tests.
3927 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3929 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3932 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3934 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3935 the test is skipped.
3936 * gdb.btrace/data.exp: Likewise.
3937 * gdb.btrace/delta.exp: Likewise.
3938 * gdb.btrace/dlopen.exp: Likewise.
3939 * gdb.btrace/enable-running.exp: Likewise.
3940 * gdb.btrace/enable.exp: Likewise.
3941 * gdb.btrace/exception.exp: Likewise.
3942 * gdb.btrace/function_call_history.exp: Likewise.
3943 * gdb.btrace/gcore.exp: Likewise.
3944 * gdb.btrace/instruction_history.exp: Likewise.
3945 * gdb.btrace/multi-thread-step.exp: Likewise.
3946 * gdb.btrace/nohist.exp: Likewise.
3947 * gdb.btrace/non-stop.exp: Likewise.
3948 * gdb.btrace/reconnect.exp: Likewise.
3949 * gdb.btrace/record_goto-step.exp: Likewise.
3950 * gdb.btrace/record_goto.exp: Likewise.
3951 * gdb.btrace/rn-dl-bind.exp: Likewise.
3952 * gdb.btrace/segv.exp: Likewise.
3953 * gdb.btrace/step.exp: Likewise.
3954 * gdb.btrace/stepi.exp: Likewise.
3955 * gdb.btrace/tailcall-only.exp: Likewise.
3956 * gdb.btrace/tailcall.exp: Likewise.
3957 * gdb.btrace/tsx.exp: Likewise.
3958 * gdb.btrace/unknown_functions.exp: Likewise.
3959 * gdb.btrace/vdso.exp: Likewise.
3961 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3963 * gdb.btrace/enable-running.c: New.
3964 * gdb.btrace/enable-running.exp: New.
3966 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3968 * gdb.arch/amd64-gs_base.c: New file.
3969 * gdb.arch/amd64-gs_base.exp: New file.
3971 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3973 * lib/memory.exp: Remove spurious empty newlines.
3975 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3977 * gdb.python/py-bad-printers.exp: Load python file using "source".
3978 * gdb.python/py-events.exp: Likewise.
3979 * gdb.python/py-evsignal.exp: Likewise.
3980 * gdb.python/py-evthreads.exp: Likewise.
3981 * gdb.python/py-frame-args.exp: Likewise.
3982 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3983 * gdb.python/py-framefilter-mi.exp: Likewise.
3984 * gdb.python/py-framefilter.exp: Likewise.
3985 * gdb.python/py-mi.exp: Likewise.
3986 * gdb.python/py-pp-maint.exp: Likewise.
3987 * gdb.python/py-pp-registration.exp: Likewise.
3988 * gdb.python/py-prettyprint.exp: Likewise.
3989 (run_lang_tests): Likewise.
3990 * gdb.python/py-typeprint.exp: Likewise.
3992 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3994 * lib/memory.exp: New file.
3995 * lib/gdb.exp: Load memory.exp.
3996 * gdb.base/memattr.exp (delete_memory): Move proc to
3997 lib/memory.exp and rename to delete_memory_regions.
3998 Replace delete_memory with delete_memory_regions.
3999 Cleanup memory regions before tests.
4000 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4003 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4005 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4007 (initialize): New function conditionally defined.
4008 (testcases): Move within conditional block.
4009 (main): Call initialize.
4010 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4011 of gdb.reverse/insn-reverse.c.
4012 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4013 gdb.reverse/insn-reverse.c.
4015 2017-01-26 Yao Qi <yao.qi@linaro.org>
4017 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4018 disassemble on address 0.
4020 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
4021 Yao Qi <yao.qi@linaro.org>
4023 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4024 * gdb.dwarf2/implptr-64bit.S: Remove.
4025 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
4026 variables in caller's context. Add DW_OP_implicit_value.
4028 2017-01-25 Yao Qi <yao.qi@linaro.org>
4030 * lib/dwarf.exp (Dwarf::_location): Handle
4031 DW_OP_GNU_implicit_pointer with proper size.
4033 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4035 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4036 and add untested calls.
4038 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4040 * gdb.python/python.exp: Check line number against what GDB thinks
4041 the line number is for func1.
4043 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
4045 * gdb.dlang/debug-expr.exp: New file.
4047 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
4049 Fix test names for the following files:
4051 * gdb.ada/exec_changed.exp
4052 * gdb.ada/info_types.exp
4053 * gdb.arch/aarch64-atomic-inst.exp
4054 * gdb.arch/aarch64-fp.exp
4055 * gdb.arch/altivec-abi.exp
4056 * gdb.arch/altivec-regs.exp
4057 * gdb.arch/amd64-byte.exp
4058 * gdb.arch/amd64-disp-step.exp
4059 * gdb.arch/amd64-dword.exp
4060 * gdb.arch/amd64-entry-value-inline.exp
4061 * gdb.arch/amd64-entry-value-param.exp
4062 * gdb.arch/amd64-entry-value-paramref.exp
4063 * gdb.arch/amd64-entry-value.exp
4064 * gdb.arch/amd64-i386-address.exp
4065 * gdb.arch/amd64-invalid-stack-middle.exp
4066 * gdb.arch/amd64-invalid-stack-top.exp
4067 * gdb.arch/amd64-optimout-repeat.exp
4068 * gdb.arch/amd64-prologue-skip.exp
4069 * gdb.arch/amd64-prologue-xmm.exp
4070 * gdb.arch/amd64-stap-special-operands.exp
4071 * gdb.arch/amd64-stap-wrong-subexp.exp
4072 * gdb.arch/amd64-tailcall-cxx.exp
4073 * gdb.arch/amd64-tailcall-noret.exp
4074 * gdb.arch/amd64-tailcall-ret.exp
4075 * gdb.arch/amd64-tailcall-self.exp
4076 * gdb.arch/amd64-word.exp
4077 * gdb.arch/arm-bl-branch-dest.exp
4078 * gdb.arch/arm-disp-step.exp
4079 * gdb.arch/arm-neon.exp
4080 * gdb.arch/arm-single-step-kernel-helper.exp
4081 * gdb.arch/avr-flash-qualifier.exp
4082 * gdb.arch/disp-step-insn-reloc.exp
4083 * gdb.arch/e500-abi.exp
4084 * gdb.arch/e500-regs.exp
4085 * gdb.arch/ftrace-insn-reloc.exp
4086 * gdb.arch/i386-avx512.exp
4087 * gdb.arch/i386-bp_permanent.exp
4088 * gdb.arch/i386-byte.exp
4089 * gdb.arch/i386-cfi-notcurrent.exp
4090 * gdb.arch/i386-disp-step.exp
4091 * gdb.arch/i386-dr3-watch.exp
4092 * gdb.arch/i386-float.exp
4093 * gdb.arch/i386-gnu-cfi.exp
4094 * gdb.arch/i386-mpx-map.exp
4095 * gdb.arch/i386-mpx-sigsegv.exp
4096 * gdb.arch/i386-mpx-simple_segv.exp
4097 * gdb.arch/i386-mpx.exp
4098 * gdb.arch/i386-permbkpt.exp
4099 * gdb.arch/i386-prologue.exp
4100 * gdb.arch/i386-signal.exp
4101 * gdb.arch/i386-size-overlap.exp
4102 * gdb.arch/i386-unwind.exp
4103 * gdb.arch/i386-word.exp
4104 * gdb.arch/mips-fcr.exp
4105 * gdb.arch/powerpc-d128-regs.exp
4106 * gdb.arch/powerpc-stackless.exp
4107 * gdb.arch/ppc64-atomic-inst.exp
4108 * gdb.arch/s390-stackless.exp
4109 * gdb.arch/s390-tdbregs.exp
4110 * gdb.arch/s390-vregs.exp
4111 * gdb.arch/sparc-sysstep.exp
4112 * gdb.arch/thumb-bx-pc.exp
4113 * gdb.arch/thumb-singlestep.exp
4114 * gdb.arch/thumb2-it.exp
4115 * gdb.arch/vsx-regs.exp
4116 * gdb.asm/asm-source.exp
4117 * gdb.base/a2-run.exp
4118 * gdb.base/advance.exp
4119 * gdb.base/all-bin.exp
4122 * gdb.base/arithmet.exp
4123 * gdb.base/async-shell.exp
4124 * gdb.base/async.exp
4125 * gdb.base/attach-pie-noexec.exp
4126 * gdb.base/attach-twice.exp
4127 * gdb.base/auto-load.exp
4129 * gdb.base/bitfields.exp
4130 * gdb.base/break-always.exp
4131 * gdb.base/break-caller-line.exp
4132 * gdb.base/break-entry.exp
4133 * gdb.base/break-inline.exp
4134 * gdb.base/break-on-linker-gcd-function.exp
4135 * gdb.base/break-probes.exp
4136 * gdb.base/break.exp
4137 * gdb.base/breakpoint-shadow.exp
4138 * gdb.base/call-ar-st.exp
4139 * gdb.base/call-sc.exp
4140 * gdb.base/call-signal-resume.exp
4141 * gdb.base/call-strs.exp
4142 * gdb.base/callfuncs.exp
4143 * gdb.base/catch-fork-static.exp
4144 * gdb.base/catch-gdb-caused-signals.exp
4145 * gdb.base/catch-load.exp
4146 * gdb.base/catch-signal-fork.exp
4147 * gdb.base/catch-signal.exp
4148 * gdb.base/catch-syscall.exp
4149 * gdb.base/charset.exp
4150 * gdb.base/checkpoint.exp
4151 * gdb.base/chng-syms.exp
4152 * gdb.base/code-expr.exp
4153 * gdb.base/code_elim.exp
4154 * gdb.base/commands.exp
4155 * gdb.base/completion.exp
4156 * gdb.base/complex.exp
4157 * gdb.base/cond-expr.exp
4158 * gdb.base/condbreak.exp
4159 * gdb.base/consecutive.exp
4160 * gdb.base/continue-all-already-running.exp
4161 * gdb.base/coredump-filter.exp
4162 * gdb.base/corefile.exp
4164 * gdb.base/debug-expr.exp
4165 * gdb.base/define.exp
4167 * gdb.base/disabled-location.exp
4168 * gdb.base/disasm-end-cu.exp
4169 * gdb.base/disasm-optim.exp
4170 * gdb.base/display.exp
4171 * gdb.base/duplicate-bp.exp
4172 * gdb.base/ena-dis-br.exp
4173 * gdb.base/ending-run.exp
4174 * gdb.base/enumval.exp
4175 * gdb.base/environ.exp
4176 * gdb.base/eu-strip-infcall.exp
4177 * gdb.base/eval-avoid-side-effects.exp
4178 * gdb.base/eval-skip.exp
4179 * gdb.base/exitsignal.exp
4180 * gdb.base/expand-psymtabs.exp
4181 * gdb.base/filesym.exp
4182 * gdb.base/find-unmapped.exp
4183 * gdb.base/finish.exp
4184 * gdb.base/float.exp
4185 * gdb.base/foll-exec-mode.exp
4186 * gdb.base/foll-exec.exp
4187 * gdb.base/foll-fork.exp
4188 * gdb.base/fortran-sym-case.exp
4189 * gdb.base/freebpcmd.exp
4190 * gdb.base/func-ptr.exp
4191 * gdb.base/func-ptrs.exp
4192 * gdb.base/funcargs.exp
4193 * gdb.base/gcore-buffer-overflow.exp
4194 * gdb.base/gcore-relro-pie.exp
4195 * gdb.base/gcore-relro.exp
4196 * gdb.base/gcore.exp
4197 * gdb.base/gdb1090.exp
4198 * gdb.base/gdb11530.exp
4199 * gdb.base/gdb11531.exp
4200 * gdb.base/gdb1821.exp
4201 * gdb.base/gdbindex-stabs.exp
4202 * gdb.base/gdbvars.exp
4203 * gdb.base/hbreak.exp
4204 * gdb.base/hbreak2.exp
4205 * gdb.base/included.exp
4206 * gdb.base/infcall-input.exp
4207 * gdb.base/inferior-died.exp
4208 * gdb.base/infnan.exp
4209 * gdb.base/info-macros.exp
4210 * gdb.base/info-os.exp
4211 * gdb.base/info-proc.exp
4212 * gdb.base/info-shared.exp
4213 * gdb.base/info-target.exp
4214 * gdb.base/infoline.exp
4215 * gdb.base/interp.exp
4216 * gdb.base/interrupt.exp
4217 * gdb.base/jit-reader.exp
4218 * gdb.base/jit-simple.exp
4219 * gdb.base/kill-after-signal.exp
4220 * gdb.base/kill-detach-inferiors-cmd.exp
4221 * gdb.base/label.exp
4222 * gdb.base/langs.exp
4223 * gdb.base/ldbl_e308.exp
4224 * gdb.base/line-symtabs.exp
4225 * gdb.base/linespecs.exp
4227 * gdb.base/long_long.exp
4228 * gdb.base/longest-types.exp
4229 * gdb.base/maint.exp
4230 * gdb.base/max-value-size.exp
4231 * gdb.base/memattr.exp
4232 * gdb.base/mips_pro.exp
4233 * gdb.base/morestack.exp
4234 * gdb.base/moribund-step.exp
4235 * gdb.base/multi-forks.exp
4236 * gdb.base/nested-addr.exp
4237 * gdb.base/nextoverexit.exp
4238 * gdb.base/noreturn-finish.exp
4239 * gdb.base/noreturn-return.exp
4240 * gdb.base/nostdlib.exp
4241 * gdb.base/offsets.exp
4242 * gdb.base/opaque.exp
4243 * gdb.base/pc-fp.exp
4244 * gdb.base/permissions.exp
4245 * gdb.base/print-symbol-loading.exp
4246 * gdb.base/prologue-include.exp
4247 * gdb.base/psymtab.exp
4248 * gdb.base/ptype.exp
4249 * gdb.base/random-signal.exp
4250 * gdb.base/randomize.exp
4251 * gdb.base/range-stepping.exp
4252 * gdb.base/readline-ask.exp
4253 * gdb.base/recpar.exp
4254 * gdb.base/recurse.exp
4255 * gdb.base/relational.exp
4256 * gdb.base/restore.exp
4257 * gdb.base/return-nodebug.exp
4258 * gdb.base/return.exp
4259 * gdb.base/run-after-attach.exp
4260 * gdb.base/save-bp.exp
4261 * gdb.base/scope.exp
4262 * gdb.base/sect-cmd.exp
4263 * gdb.base/set-lang-auto.exp
4264 * gdb.base/set-noassign.exp
4265 * gdb.base/setvar.exp
4266 * gdb.base/sigall.exp
4267 * gdb.base/sigbpt.exp
4268 * gdb.base/siginfo-addr.exp
4269 * gdb.base/siginfo-infcall.exp
4270 * gdb.base/siginfo-obj.exp
4271 * gdb.base/siginfo.exp
4272 * gdb.base/signals-state-child.exp
4273 * gdb.base/signest.exp
4274 * gdb.base/sigstep.exp
4275 * gdb.base/sizeof.exp
4277 * gdb.base/solib-corrupted.exp
4278 * gdb.base/solib-nodir.exp
4279 * gdb.base/solib-search.exp
4280 * gdb.base/stack-checking.exp
4281 * gdb.base/stale-infcall.exp
4282 * gdb.base/stap-probe.exp
4283 * gdb.base/start.exp
4284 * gdb.base/step-break.exp
4285 * gdb.base/step-bt.exp
4286 * gdb.base/step-line.exp
4287 * gdb.base/step-over-exit.exp
4288 * gdb.base/step-over-syscall.exp
4289 * gdb.base/step-resume-infcall.exp
4290 * gdb.base/step-test.exp
4291 * gdb.base/store.exp
4292 * gdb.base/structs3.exp
4293 * gdb.base/sym-file.exp
4294 * gdb.base/symbol-without-target_section.exp
4296 * gdb.base/testenv.exp
4297 * gdb.base/ui-redirect.exp
4298 * gdb.base/until.exp
4299 * gdb.base/unwindonsignal.exp
4300 * gdb.base/value-double-free.exp
4301 * gdb.base/vla-datatypes.exp
4302 * gdb.base/vla-ptr.exp
4303 * gdb.base/vla-sideeffect.exp
4304 * gdb.base/volatile.exp
4305 * gdb.base/watch-cond-infcall.exp
4306 * gdb.base/watch-cond.exp
4307 * gdb.base/watch-non-mem.exp
4308 * gdb.base/watch-read.exp
4309 * gdb.base/watch-vfork.exp
4310 * gdb.base/watchpoint-cond-gone.exp
4311 * gdb.base/watchpoint-delete.exp
4312 * gdb.base/watchpoint-hw-hit-once.exp
4313 * gdb.base/watchpoint-hw.exp
4314 * gdb.base/watchpoint-stops-at-right-insn.exp
4315 * gdb.base/watchpoints.exp
4316 * gdb.base/wchar.exp
4317 * gdb.base/whatis-exp.exp
4318 * gdb.btrace/buffer-size.exp
4319 * gdb.btrace/data.exp
4320 * gdb.btrace/delta.exp
4321 * gdb.btrace/dlopen.exp
4322 * gdb.btrace/enable.exp
4323 * gdb.btrace/exception.exp
4324 * gdb.btrace/function_call_history.exp
4325 * gdb.btrace/gcore.exp
4326 * gdb.btrace/instruction_history.exp
4327 * gdb.btrace/nohist.exp
4328 * gdb.btrace/reconnect.exp
4329 * gdb.btrace/record_goto-step.exp
4330 * gdb.btrace/record_goto.exp
4331 * gdb.btrace/rn-dl-bind.exp
4332 * gdb.btrace/segv.exp
4333 * gdb.btrace/step.exp
4334 * gdb.btrace/stepi.exp
4335 * gdb.btrace/tailcall-only.exp
4336 * gdb.btrace/tailcall.exp
4337 * gdb.btrace/tsx.exp
4338 * gdb.btrace/unknown_functions.exp
4339 * gdb.btrace/vdso.exp
4340 * gdb.compile/compile-ifunc.exp
4341 * gdb.compile/compile-ops.exp
4342 * gdb.compile/compile-print.exp
4343 * gdb.compile/compile-setjmp.exp
4344 * gdb.cp/abstract-origin.exp
4345 * gdb.cp/ambiguous.exp
4346 * gdb.cp/annota2.exp
4347 * gdb.cp/annota3.exp
4348 * gdb.cp/anon-ns.exp
4349 * gdb.cp/anon-struct.exp
4350 * gdb.cp/anon-union.exp
4351 * gdb.cp/arg-reference.exp
4352 * gdb.cp/baseenum.exp
4354 * gdb.cp/breakpoint.exp
4355 * gdb.cp/bs15503.exp
4358 * gdb.cp/chained-calls.exp
4360 * gdb.cp/classes.exp
4361 * gdb.cp/cmpd-minsyms.exp
4362 * gdb.cp/converts.exp
4363 * gdb.cp/cp-relocate.exp
4364 * gdb.cp/cpcompletion.exp
4365 * gdb.cp/cpexprs.exp
4366 * gdb.cp/cplabel.exp
4367 * gdb.cp/cplusfuncs.exp
4368 * gdb.cp/cpsizeof.exp
4370 * gdb.cp/derivation.exp
4371 * gdb.cp/destrprint.exp
4372 * gdb.cp/dispcxx.exp
4373 * gdb.cp/enum-class.exp
4374 * gdb.cp/exception.exp
4375 * gdb.cp/exceptprint.exp
4376 * gdb.cp/expand-psymtabs-cxx.exp
4377 * gdb.cp/expand-sals.exp
4378 * gdb.cp/extern-c.exp
4379 * gdb.cp/filename.exp
4380 * gdb.cp/formatted-ref.exp
4381 * gdb.cp/fpointer.exp
4382 * gdb.cp/gdb1355.exp
4383 * gdb.cp/gdb2495.exp
4385 * gdb.cp/impl-this.exp
4386 * gdb.cp/infcall-dlopen.exp
4387 * gdb.cp/inherit.exp
4388 * gdb.cp/iostream.exp
4392 * gdb.cp/m-static.exp
4393 * gdb.cp/mb-ctor.exp
4394 * gdb.cp/mb-inline.exp
4395 * gdb.cp/mb-templates.exp
4396 * gdb.cp/member-name.exp
4397 * gdb.cp/member-ptr.exp
4398 * gdb.cp/meth-typedefs.exp
4400 * gdb.cp/method2.exp
4401 * gdb.cp/minsym-fallback.exp
4403 * gdb.cp/namelessclass.exp
4404 * gdb.cp/namespace-enum.exp
4405 * gdb.cp/namespace-nested-import.exp
4406 * gdb.cp/namespace.exp
4407 * gdb.cp/nextoverthrow.exp
4408 * gdb.cp/no-dmgl-verbose.exp
4409 * gdb.cp/non-trivial-retval.exp
4410 * gdb.cp/noparam.exp
4412 * gdb.cp/nsimport.exp
4413 * gdb.cp/nsnested.exp
4414 * gdb.cp/nsnoimports.exp
4415 * gdb.cp/nsrecurs.exp
4416 * gdb.cp/nsstress.exp
4417 * gdb.cp/nsusing.exp
4418 * gdb.cp/operator.exp
4419 * gdb.cp/oranking.exp
4420 * gdb.cp/overload-const.exp
4421 * gdb.cp/overload.exp
4422 * gdb.cp/ovldbreak.exp
4424 * gdb.cp/paren-type.exp
4425 * gdb.cp/parse-lang.exp
4426 * gdb.cp/pass-by-ref.exp
4427 * gdb.cp/pr-1023.exp
4428 * gdb.cp/pr-1210.exp
4430 * gdb.cp/pr10687.exp
4431 * gdb.cp/pr12028.exp
4432 * gdb.cp/pr17132.exp
4433 * gdb.cp/pr17494.exp
4437 * gdb.cp/printmethod.exp
4439 * gdb.cp/psymtab-parameter.exp
4440 * gdb.cp/ptype-cv-cp.exp
4441 * gdb.cp/ptype-flags.exp
4442 * gdb.cp/re-set-overloaded.exp
4443 * gdb.cp/ref-types.exp
4445 * gdb.cp/scope-err.exp
4448 * gdb.cp/static-method.exp
4449 * gdb.cp/static-print-quit.exp
4450 * gdb.cp/temargs.exp
4451 * gdb.cp/templates.exp
4452 * gdb.cp/try_catch.exp
4453 * gdb.cp/typedef-operator.exp
4455 * gdb.cp/userdef.exp
4456 * gdb.cp/using-crash.exp
4457 * gdb.cp/var-tag.exp
4458 * gdb.cp/virtbase.exp
4459 * gdb.cp/virtfunc.exp
4460 * gdb.cp/virtfunc2.exp
4461 * gdb.cp/vla-cxx.exp
4462 * gdb.disasm/t01_mov.exp
4463 * gdb.disasm/t02_mova.exp
4464 * gdb.disasm/t03_add.exp
4465 * gdb.disasm/t04_sub.exp
4466 * gdb.disasm/t05_cmp.exp
4467 * gdb.disasm/t06_ari2.exp
4468 * gdb.disasm/t07_ari3.exp
4469 * gdb.disasm/t08_or.exp
4470 * gdb.disasm/t09_xor.exp
4471 * gdb.disasm/t10_and.exp
4472 * gdb.disasm/t11_logs.exp
4473 * gdb.disasm/t12_bit.exp
4474 * gdb.disasm/t13_otr.exp
4475 * gdb.dlang/circular.exp
4476 * gdb.dwarf2/arr-stride.exp
4477 * gdb.dwarf2/arr-subrange.exp
4478 * gdb.dwarf2/atomic-type.exp
4479 * gdb.dwarf2/bad-regnum.exp
4480 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4481 * gdb.dwarf2/callframecfa.exp
4482 * gdb.dwarf2/clztest.exp
4483 * gdb.dwarf2/corrupt.exp
4484 * gdb.dwarf2/data-loc.exp
4485 * gdb.dwarf2/dup-psym.exp
4486 * gdb.dwarf2/dw2-anon-mptr.exp
4487 * gdb.dwarf2/dw2-anonymous-func.exp
4488 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4489 * gdb.dwarf2/dw2-bad-unresolved.exp
4490 * gdb.dwarf2/dw2-basic.exp
4491 * gdb.dwarf2/dw2-canonicalize-type.exp
4492 * gdb.dwarf2/dw2-case-insensitive.exp
4493 * gdb.dwarf2/dw2-common-block.exp
4494 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4495 * gdb.dwarf2/dw2-compressed.exp
4496 * gdb.dwarf2/dw2-const.exp
4497 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4498 * gdb.dwarf2/dw2-cu-size.exp
4499 * gdb.dwarf2/dw2-dup-frame.exp
4500 * gdb.dwarf2/dw2-entry-value.exp
4501 * gdb.dwarf2/dw2-icycle.exp
4502 * gdb.dwarf2/dw2-ifort-parameter.exp
4503 * gdb.dwarf2/dw2-inline-break.exp
4504 * gdb.dwarf2/dw2-inline-param.exp
4505 * gdb.dwarf2/dw2-intercu.exp
4506 * gdb.dwarf2/dw2-intermix.exp
4507 * gdb.dwarf2/dw2-lexical-block-bare.exp
4508 * gdb.dwarf2/dw2-linkage-name-trust.exp
4509 * gdb.dwarf2/dw2-minsym-in-cu.exp
4510 * gdb.dwarf2/dw2-noloc.exp
4511 * gdb.dwarf2/dw2-op-call.exp
4512 * gdb.dwarf2/dw2-op-out-param.exp
4513 * gdb.dwarf2/dw2-opt-structptr.exp
4514 * gdb.dwarf2/dw2-param-error.exp
4515 * gdb.dwarf2/dw2-producer.exp
4516 * gdb.dwarf2/dw2-ranges-base.exp
4517 * gdb.dwarf2/dw2-ref-missing-frame.exp
4518 * gdb.dwarf2/dw2-reg-undefined.exp
4519 * gdb.dwarf2/dw2-regno-invalid.exp
4520 * gdb.dwarf2/dw2-restore.exp
4521 * gdb.dwarf2/dw2-restrict.exp
4522 * gdb.dwarf2/dw2-single-line-discriminators.exp
4523 * gdb.dwarf2/dw2-strp.exp
4524 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4525 * gdb.dwarf2/dw2-unresolved.exp
4526 * gdb.dwarf2/dw2-var-zero-addr.exp
4527 * gdb.dwarf2/dw4-sig-types.exp
4528 * gdb.dwarf2/dwz.exp
4529 * gdb.dwarf2/dynarr-ptr.exp
4530 * gdb.dwarf2/enum-type.exp
4531 * gdb.dwarf2/gdb-index.exp
4532 * gdb.dwarf2/implptr-64bit.exp
4533 * gdb.dwarf2/implptr-optimized-out.exp
4534 * gdb.dwarf2/implptr.exp
4535 * gdb.dwarf2/implref-array.exp
4536 * gdb.dwarf2/implref-const.exp
4537 * gdb.dwarf2/implref-global.exp
4538 * gdb.dwarf2/implref-struct.exp
4539 * gdb.dwarf2/mac-fileno.exp
4540 * gdb.dwarf2/main-subprogram.exp
4541 * gdb.dwarf2/member-ptr-forwardref.exp
4542 * gdb.dwarf2/method-ptr.exp
4543 * gdb.dwarf2/missing-sig-type.exp
4544 * gdb.dwarf2/nonvar-access.exp
4545 * gdb.dwarf2/opaque-type-lookup.exp
4546 * gdb.dwarf2/pieces-optimized-out.exp
4547 * gdb.dwarf2/pieces.exp
4548 * gdb.dwarf2/pr10770.exp
4549 * gdb.dwarf2/pr13961.exp
4550 * gdb.dwarf2/staticvirtual.exp
4551 * gdb.dwarf2/subrange.exp
4552 * gdb.dwarf2/symtab-producer.exp
4553 * gdb.dwarf2/trace-crash.exp
4554 * gdb.dwarf2/typeddwarf.exp
4555 * gdb.dwarf2/valop.exp
4556 * gdb.dwarf2/watch-notconst.exp
4557 * gdb.fortran/array-element.exp
4558 * gdb.fortran/charset.exp
4559 * gdb.fortran/common-block.exp
4560 * gdb.fortran/complex.exp
4561 * gdb.fortran/derived-type-function.exp
4562 * gdb.fortran/derived-type.exp
4563 * gdb.fortran/logical.exp
4564 * gdb.fortran/module.exp
4565 * gdb.fortran/multi-dim.exp
4566 * gdb.fortran/nested-funcs.exp
4567 * gdb.fortran/print-formatted.exp
4568 * gdb.fortran/subarray.exp
4569 * gdb.fortran/vla-alloc-assoc.exp
4570 * gdb.fortran/vla-datatypes.exp
4571 * gdb.fortran/vla-history.exp
4572 * gdb.fortran/vla-ptr-info.exp
4573 * gdb.fortran/vla-ptype-sub.exp
4574 * gdb.fortran/vla-ptype.exp
4575 * gdb.fortran/vla-sizeof.exp
4576 * gdb.fortran/vla-type.exp
4577 * gdb.fortran/vla-value-sub-arbitrary.exp
4578 * gdb.fortran/vla-value-sub-finish.exp
4579 * gdb.fortran/vla-value-sub.exp
4580 * gdb.fortran/vla-value.exp
4581 * gdb.fortran/whatis_type.exp
4583 * gdb.go/handcall.exp
4585 * gdb.go/integers.exp
4586 * gdb.go/methods.exp
4587 * gdb.go/package.exp
4588 * gdb.go/strings.exp
4591 * gdb.guile/scm-arch.exp
4592 * gdb.guile/scm-block.exp
4593 * gdb.guile/scm-breakpoint.exp
4594 * gdb.guile/scm-cmd.exp
4595 * gdb.guile/scm-disasm.exp
4596 * gdb.guile/scm-equal.exp
4597 * gdb.guile/scm-frame-args.exp
4598 * gdb.guile/scm-frame-inline.exp
4599 * gdb.guile/scm-frame.exp
4600 * gdb.guile/scm-iterator.exp
4601 * gdb.guile/scm-math.exp
4602 * gdb.guile/scm-objfile.exp
4603 * gdb.guile/scm-ports.exp
4604 * gdb.guile/scm-symbol.exp
4605 * gdb.guile/scm-symtab.exp
4606 * gdb.guile/scm-value-cc.exp
4607 * gdb.guile/types-module.exp
4608 * gdb.linespec/break-ask.exp
4609 * gdb.linespec/cpexplicit.exp
4610 * gdb.linespec/explicit.exp
4611 * gdb.linespec/keywords.exp
4612 * gdb.linespec/linespec.exp
4613 * gdb.linespec/ls-dollar.exp
4614 * gdb.linespec/ls-errs.exp
4615 * gdb.linespec/skip-two.exp
4616 * gdb.linespec/thread.exp
4617 * gdb.mi/mi-async.exp
4618 * gdb.mi/mi-basics.exp
4619 * gdb.mi/mi-break.exp
4620 * gdb.mi/mi-catch-load.exp
4622 * gdb.mi/mi-cmd-param-changed.exp
4623 * gdb.mi/mi-console.exp
4624 * gdb.mi/mi-detach.exp
4625 * gdb.mi/mi-disassemble.exp
4626 * gdb.mi/mi-eval.exp
4627 * gdb.mi/mi-file-transfer.exp
4628 * gdb.mi/mi-file.exp
4629 * gdb.mi/mi-fill-memory.exp
4630 * gdb.mi/mi-inheritance-syntax-error.exp
4631 * gdb.mi/mi-linespec-err-cp.exp
4632 * gdb.mi/mi-logging.exp
4633 * gdb.mi/mi-memory-changed.exp
4634 * gdb.mi/mi-read-memory.exp
4635 * gdb.mi/mi-record-changed.exp
4636 * gdb.mi/mi-reg-undefined.exp
4637 * gdb.mi/mi-regs.exp
4638 * gdb.mi/mi-return.exp
4639 * gdb.mi/mi-reverse.exp
4640 * gdb.mi/mi-simplerun.exp
4641 * gdb.mi/mi-solib.exp
4642 * gdb.mi/mi-stack.exp
4643 * gdb.mi/mi-stepi.exp
4644 * gdb.mi/mi-syn-frame.exp
4645 * gdb.mi/mi-until.exp
4646 * gdb.mi/mi-var-block.exp
4647 * gdb.mi/mi-var-child.exp
4648 * gdb.mi/mi-var-cmd.exp
4649 * gdb.mi/mi-var-cp.exp
4650 * gdb.mi/mi-var-display.exp
4651 * gdb.mi/mi-var-invalidate.exp
4652 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4653 * gdb.mi/mi-vla-fortran.exp
4654 * gdb.mi/mi-watch.exp
4655 * gdb.mi/mi2-var-child.exp
4656 * gdb.mi/user-selected-context-sync.exp
4657 * gdb.modula2/unbounded-array.exp
4658 * gdb.multi/dummy-frame-restore.exp
4659 * gdb.multi/multi-arch-exec.exp
4660 * gdb.multi/multi-arch.exp
4661 * gdb.multi/tids.exp
4662 * gdb.multi/watchpoint-multi.exp
4663 * gdb.opencl/callfuncs.exp
4664 * gdb.opencl/convs_casts.exp
4665 * gdb.opencl/datatypes.exp
4666 * gdb.opencl/operators.exp
4667 * gdb.opencl/vec_comps.exp
4668 * gdb.opt/clobbered-registers-O2.exp
4669 * gdb.opt/inline-break.exp
4670 * gdb.opt/inline-bt.exp
4671 * gdb.opt/inline-cmds.exp
4672 * gdb.opt/inline-locals.exp
4673 * gdb.pascal/case-insensitive-symbols.exp
4674 * gdb.pascal/floats.exp
4675 * gdb.pascal/gdb11492.exp
4676 * gdb.python/lib-types.exp
4677 * gdb.python/py-arch.exp
4678 * gdb.python/py-as-string.exp
4679 * gdb.python/py-bad-printers.exp
4680 * gdb.python/py-block.exp
4681 * gdb.python/py-breakpoint-create-fail.exp
4682 * gdb.python/py-breakpoint.exp
4683 * gdb.python/py-caller-is.exp
4684 * gdb.python/py-cmd.exp
4685 * gdb.python/py-explore-cc.exp
4686 * gdb.python/py-explore.exp
4687 * gdb.python/py-finish-breakpoint.exp
4688 * gdb.python/py-finish-breakpoint2.exp
4689 * gdb.python/py-frame-args.exp
4690 * gdb.python/py-frame-inline.exp
4691 * gdb.python/py-frame.exp
4692 * gdb.python/py-framefilter-mi.exp
4693 * gdb.python/py-infthread.exp
4694 * gdb.python/py-lazy-string.exp
4695 * gdb.python/py-linetable.exp
4696 * gdb.python/py-mi-events.exp
4697 * gdb.python/py-mi-objfile.exp
4698 * gdb.python/py-mi.exp
4699 * gdb.python/py-objfile.exp
4700 * gdb.python/py-pp-integral.exp
4701 * gdb.python/py-pp-maint.exp
4702 * gdb.python/py-pp-re-notag.exp
4703 * gdb.python/py-pp-registration.exp
4704 * gdb.python/py-recurse-unwind.exp
4705 * gdb.python/py-strfns.exp
4706 * gdb.python/py-symbol.exp
4707 * gdb.python/py-symtab.exp
4708 * gdb.python/py-sync-interp.exp
4709 * gdb.python/py-typeprint.exp
4710 * gdb.python/py-unwind-maint.exp
4711 * gdb.python/py-unwind.exp
4712 * gdb.python/py-value-cc.exp
4713 * gdb.python/py-xmethods.exp
4714 * gdb.reverse/amd64-tailcall-reverse.exp
4715 * gdb.reverse/break-precsave.exp
4716 * gdb.reverse/break-reverse.exp
4717 * gdb.reverse/consecutive-precsave.exp
4718 * gdb.reverse/consecutive-reverse.exp
4719 * gdb.reverse/finish-precsave.exp
4720 * gdb.reverse/finish-reverse-bkpt.exp
4721 * gdb.reverse/finish-reverse.exp
4722 * gdb.reverse/fstatat-reverse.exp
4723 * gdb.reverse/getresuid-reverse.exp
4724 * gdb.reverse/i386-precsave.exp
4725 * gdb.reverse/i386-reverse.exp
4726 * gdb.reverse/i386-sse-reverse.exp
4727 * gdb.reverse/i387-env-reverse.exp
4728 * gdb.reverse/i387-stack-reverse.exp
4729 * gdb.reverse/insn-reverse.exp
4730 * gdb.reverse/machinestate-precsave.exp
4731 * gdb.reverse/machinestate.exp
4732 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4733 * gdb.reverse/pipe-reverse.exp
4734 * gdb.reverse/readv-reverse.exp
4735 * gdb.reverse/recvmsg-reverse.exp
4736 * gdb.reverse/rerun-prec.exp
4737 * gdb.reverse/s390-mvcle.exp
4738 * gdb.reverse/step-precsave.exp
4739 * gdb.reverse/step-reverse.exp
4740 * gdb.reverse/time-reverse.exp
4741 * gdb.reverse/until-precsave.exp
4742 * gdb.reverse/until-reverse.exp
4743 * gdb.reverse/waitpid-reverse.exp
4744 * gdb.reverse/watch-precsave.exp
4745 * gdb.reverse/watch-reverse.exp
4746 * gdb.rust/generics.exp
4747 * gdb.rust/methods.exp
4748 * gdb.rust/modules.exp
4749 * gdb.rust/simple.exp
4750 * gdb.server/connect-with-no-symbol-file.exp
4751 * gdb.server/ext-attach.exp
4752 * gdb.server/ext-restart.exp
4753 * gdb.server/ext-wrapper.exp
4754 * gdb.server/file-transfer.exp
4755 * gdb.server/server-exec-info.exp
4756 * gdb.server/server-kill.exp
4757 * gdb.server/server-mon.exp
4758 * gdb.server/wrapper.exp
4759 * gdb.stabs/exclfwd.exp
4760 * gdb.stabs/gdb11479.exp
4761 * gdb.threads/clone-new-thread-event.exp
4762 * gdb.threads/corethreads.exp
4763 * gdb.threads/current-lwp-dead.exp
4764 * gdb.threads/dlopen-libpthread.exp
4765 * gdb.threads/gcore-thread.exp
4766 * gdb.threads/sigstep-threads.exp
4767 * gdb.threads/watchpoint-fork.exp
4768 * gdb.trace/actions-changed.exp
4769 * gdb.trace/backtrace.exp
4770 * gdb.trace/change-loc.exp
4771 * gdb.trace/circ.exp
4772 * gdb.trace/collection.exp
4773 * gdb.trace/disconnected-tracing.exp
4774 * gdb.trace/ftrace.exp
4775 * gdb.trace/mi-trace-frame-collected.exp
4776 * gdb.trace/mi-trace-unavailable.exp
4777 * gdb.trace/mi-traceframe-changed.exp
4778 * gdb.trace/mi-tsv-changed.exp
4779 * gdb.trace/no-attach-trace.exp
4780 * gdb.trace/passc-dyn.exp
4781 * gdb.trace/qtro.exp
4782 * gdb.trace/range-stepping.exp
4783 * gdb.trace/read-memory.exp
4784 * gdb.trace/save-trace.exp
4785 * gdb.trace/signal.exp
4786 * gdb.trace/status-stop.exp
4787 * gdb.trace/tfile.exp
4788 * gdb.trace/trace-break.exp
4789 * gdb.trace/trace-buffer-size.exp
4790 * gdb.trace/trace-condition.exp
4791 * gdb.trace/tracefile-pseudo-reg.exp
4792 * gdb.trace/tstatus.exp
4793 * gdb.trace/unavailable.exp
4794 * gdb.trace/while-dyn.exp
4795 * gdb.trace/while-stepping.exp
4797 2016-12-22 Doug Evans <xdje42@gmail.com>
4799 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4802 2016-12-19 Yao Qi <yao.qi@linaro.org>
4804 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4805 (test_with_self): Don't call do_steps_and_nexts, and remove
4806 code about stepping into xmalloc.
4808 2016-12-09 Yao Qi <yao.qi@linaro.org>
4810 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4812 2016-12-09 Yao Qi <yao.qi@linaro.org>
4814 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4816 2016-12-09 Pedro Alves <palves@redhat.com>
4818 * gdb.base/all-architectures-0.exp: New file.
4819 * gdb.base/all-architectures-1.exp: New file.
4820 * gdb.base/all-architectures-2.exp: New file.
4821 * gdb.base/all-architectures-3.exp: New file.
4822 * gdb.base/all-architectures-4.exp: New file.
4823 * gdb.base/all-architectures-5.exp: New file.
4824 * gdb.base/all-architectures-6.exp: New file.
4825 * gdb.base/all-architectures-7.exp: New file.
4826 * gdb.base/all-architectures.exp.in: New file.
4828 2016-12-09 Yao Qi <yao.qi@linaro.org>
4830 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4832 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4834 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4836 Remove useless pattern-matching code.
4838 2016-12-02 Pedro Alves <palves@redhat.com>
4840 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4842 (top level): Call it.
4844 2016-12-02 Pedro Alves <palves@redhat.com>
4846 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4848 (top level): Call it.
4850 2016-12-02 Pedro Alves <palves@redhat.com>
4853 * gdb.base/commands.exp (user_defined_command_args_eval): New
4855 (top level): Call it.
4857 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4859 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4862 2016-12-02 Tom Tromey <tom@tromey.com>
4864 * gdb.dwarf2/main-subprogram.c: New file.
4865 * gdb.dwarf2/main-subprogram.exp: New file.
4867 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4869 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4870 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4871 gdb_test_no_output for a couple of cases.
4872 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4874 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4876 Fix test names and standardize compilation error messages throughout
4877 the following files:
4880 * gdb.arch/alpha-step.exp
4881 * gdb.arch/e500-prologue.exp
4882 * gdb.arch/ftrace-insn-reloc.exp
4883 * gdb.arch/gdb1291.exp
4884 * gdb.arch/gdb1431.exp
4885 * gdb.arch/gdb1558.exp
4886 * gdb.arch/i386-dr3-watch.exp
4887 * gdb.arch/i386-sse-stack-align.exp
4888 * gdb.arch/ia64-breakpoint-shadow.exp
4889 * gdb.arch/pa-nullify.exp
4890 * gdb.arch/powerpc-aix-prologue.exp
4891 * gdb.arch/thumb-bx-pc.exp
4892 * gdb.base/annota1.exp
4893 * gdb.base/annota3.exp
4894 * gdb.base/arrayidx.exp
4895 * gdb.base/assign.exp
4896 * gdb.base/attach.exp
4899 * gdb.base/bfp-test.exp
4900 * gdb.base/bigcore.exp
4901 * gdb.base/bitfields2.exp
4902 * gdb.base/break-fun-addr.exp
4903 * gdb.base/break-probes.exp
4904 * gdb.base/call-rt-st.exp
4905 * gdb.base/callexit.exp
4906 * gdb.base/catch-fork-kill.exp
4907 * gdb.base/charset.exp
4908 * gdb.base/checkpoint.exp
4909 * gdb.base/comprdebug.exp
4910 * gdb.base/constvars.exp
4911 * gdb.base/coredump-filter.exp
4912 * gdb.base/cursal.exp
4913 * gdb.base/cvexpr.exp
4914 * gdb.base/detach.exp
4915 * gdb.base/display.exp
4916 * gdb.base/dmsym.exp
4917 * gdb.base/dprintf-pending.exp
4918 * gdb.base/dso2dso.exp
4919 * gdb.base/dtrace-probe.exp
4921 * gdb.base/enum_cond.exp
4922 * gdb.base/exe-lock.exp
4923 * gdb.base/exec-invalid-sysroot.exp
4924 * gdb.base/execl-update-breakpoints.exp
4925 * gdb.base/exprs.exp
4926 * gdb.base/fileio.exp
4928 * gdb.base/finish.exp
4929 * gdb.base/fixsection.exp
4930 * gdb.base/foll-vfork.exp
4931 * gdb.base/frame-args.exp
4932 * gdb.base/gcore.exp
4933 * gdb.base/gdb1250.exp
4934 * gdb.base/global-var-nested-by-dso.exp
4935 * gdb.base/gnu-ifunc.exp
4936 * gdb.base/hashline1.exp
4937 * gdb.base/hashline2.exp
4938 * gdb.base/hashline3.exp
4939 * gdb.base/hbreak-in-shr-unsupported.exp
4941 * gdb.base/infcall-input.exp
4942 * gdb.base/info-fun.exp
4943 * gdb.base/info-shared.exp
4944 * gdb.base/jit-simple.exp
4945 * gdb.base/jit-so.exp
4948 * gdb.base/label.exp
4949 * gdb.base/lineinc.exp
4950 * gdb.base/logical.exp
4951 * gdb.base/longjmp.exp
4952 * gdb.base/macscp.exp
4953 * gdb.base/miscexprs.exp
4954 * gdb.base/new-ui-echo.exp
4955 * gdb.base/new-ui-pending-input.exp
4956 * gdb.base/new-ui.exp
4957 * gdb.base/nodebug.exp
4958 * gdb.base/nofield.exp
4959 * gdb.base/offsets.exp
4960 * gdb.base/overlays.exp
4961 * gdb.base/pending.exp
4962 * gdb.base/pointers.exp
4963 * gdb.base/pr11022.exp
4964 * gdb.base/printcmds.exp
4965 * gdb.base/prologue.exp
4966 * gdb.base/ptr-typedef.exp
4967 * gdb.base/realname-expand.exp
4968 * gdb.base/relativedebug.exp
4969 * gdb.base/relocate.exp
4970 * gdb.base/remote.exp
4971 * gdb.base/reread.exp
4972 * gdb.base/return2.exp
4973 * gdb.base/savedregs.exp
4975 * gdb.base/sepdebug.exp
4976 * gdb.base/sepsymtab.exp
4977 * gdb.base/set-inferior-tty.exp
4978 * gdb.base/setshow.exp
4979 * gdb.base/shlib-call.exp
4980 * gdb.base/sigaltstack.exp
4981 * gdb.base/siginfo-addr.exp
4982 * gdb.base/signals.exp
4983 * gdb.base/signull.exp
4984 * gdb.base/sigrepeat.exp
4985 * gdb.base/so-impl-ld.exp
4986 * gdb.base/solib-display.exp
4987 * gdb.base/solib-overlap.exp
4988 * gdb.base/solib-search.exp
4989 * gdb.base/solib-symbol.exp
4990 * gdb.base/structs.exp
4991 * gdb.base/structs2.exp
4992 * gdb.base/symtab-search-order.exp
4993 * gdb.base/twice.exp
4994 * gdb.base/unload.exp
4995 * gdb.base/varargs.exp
4996 * gdb.base/watchpoint-solib.exp
4997 * gdb.base/watchpoint.exp
4998 * gdb.base/whatis.exp
4999 * gdb.base/wrong_frame_bt_full.exp
5000 * gdb.btrace/dlopen.exp
5001 * gdb.cell/ea-standalone.exp
5002 * gdb.cell/ea-test.exp
5003 * gdb.cp/dispcxx.exp
5004 * gdb.cp/gdb2384.exp
5005 * gdb.cp/method2.exp
5006 * gdb.cp/nextoverthrow.exp
5007 * gdb.cp/pr10728.exp
5008 * gdb.disasm/am33.exp
5009 * gdb.disasm/h8300s.exp
5010 * gdb.disasm/mn10300.exp
5011 * gdb.disasm/sh3.exp
5012 * gdb.dwarf2/dw2-dir-file-name.exp
5013 * gdb.fortran/complex.exp
5014 * gdb.fortran/library-module.exp
5015 * gdb.guile/scm-pretty-print.exp
5016 * gdb.guile/scm-symbol.exp
5017 * gdb.guile/scm-type.exp
5018 * gdb.guile/scm-value.exp
5019 * gdb.linespec/linespec.exp
5022 * gdb.mi/mi-breakpoint-changed.exp
5023 * gdb.mi/mi-dprintf-pending.exp
5024 * gdb.mi/mi-dprintf.exp
5025 * gdb.mi/mi-exit-code.exp
5026 * gdb.mi/mi-pending.exp
5027 * gdb.mi/mi-solib.exp
5028 * gdb.mi/new-ui-mi-sync.exp
5029 * gdb.mi/pr11022.exp
5030 * gdb.mi/user-selected-context-sync.exp
5031 * gdb.opt/solib-intra-step.exp
5032 * gdb.python/py-events.exp
5033 * gdb.python/py-finish-breakpoint.exp
5034 * gdb.python/py-mi.exp
5035 * gdb.python/py-prettyprint.exp
5036 * gdb.python/py-shared.exp
5037 * gdb.python/py-symbol.exp
5038 * gdb.python/py-template.exp
5039 * gdb.python/py-type.exp
5040 * gdb.python/py-value.exp
5041 * gdb.reverse/solib-precsave.exp
5042 * gdb.reverse/solib-reverse.exp
5043 * gdb.server/solib-list.exp
5044 * gdb.stabs/weird.exp
5045 * gdb.threads/reconnect-signal.exp
5046 * gdb.threads/stepi-random-signal.exp
5047 * gdb.trace/actions.exp
5049 * gdb.trace/backtrace.exp
5050 * gdb.trace/change-loc.exp
5051 * gdb.trace/deltrace.exp
5052 * gdb.trace/ftrace-lock.exp
5053 * gdb.trace/ftrace.exp
5054 * gdb.trace/infotrace.exp
5055 * gdb.trace/mi-tracepoint-changed.exp
5056 * gdb.trace/packetlen.exp
5057 * gdb.trace/passcount.exp
5058 * gdb.trace/pending.exp
5059 * gdb.trace/range-stepping.exp
5060 * gdb.trace/report.exp
5061 * gdb.trace/stap-trace.exp
5062 * gdb.trace/tfind.exp
5063 * gdb.trace/trace-break.exp
5064 * gdb.trace/trace-condition.exp
5065 * gdb.trace/trace-enable-disable.exp
5066 * gdb.trace/trace-mt.exp
5067 * gdb.trace/tracecmd.exp
5068 * gdb.trace/tspeed.exp
5072 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5074 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5075 with gdb_test_no_output.
5076 Use command as test name.
5078 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5080 Fix test names starting with uppercase throughout the files.
5082 * gdb.ada/assign_1.exp
5083 * gdb.ada/boolean_expr.exp
5084 * gdb.base/arrayidx.exp
5086 * gdb.base/gcore-buffer-overflow.exp
5087 * gdb.base/testenv.exp
5088 * gdb.compile/compile.exp
5089 * gdb.python/py-framefilter-invalidarg.exp
5090 * gdb.python/py-framefilter.exp
5092 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5094 Fix test names starting with uppercase throughout the files.
5096 * gdb.ada/array_return.exp
5097 * gdb.ada/expr_delims.exp
5098 * gdb.ada/mi_dyn_arr.exp
5099 * gdb.ada/mi_interface.exp
5100 * gdb.ada/mi_var_array.exp
5101 * gdb.ada/watch_arg.exp
5102 * gdb.arch/alpha-step.exp
5103 * gdb.arch/altivec-regs.exp
5104 * gdb.arch/e500-regs.exp
5105 * gdb.arch/powerpc-d128-regs.exp
5106 * gdb.base/arrayidx.exp
5107 * gdb.base/break.exp
5108 * gdb.base/checkpoint.exp
5109 * gdb.base/debug-expr.exp
5110 * gdb.base/dmsym.exp
5111 * gdb.base/radix.exp
5112 * gdb.base/sepdebug.exp
5113 * gdb.base/testenv.exp
5114 * gdb.base/watch_thread_num.exp
5115 * gdb.base/watchpoint-cond-gone.exp
5116 * gdb.cell/break.exp
5117 * gdb.cell/ea-cache.exp
5118 * gdb.compile/compile.exp
5119 * gdb.cp/gdb2495.exp
5120 * gdb.gdb/selftest.exp
5121 * gdb.gdb/xfullpath.exp
5123 * gdb.go/integers.exp
5124 * gdb.objc/basicclass.exp
5125 * gdb.pascal/hello.exp
5126 * gdb.pascal/integers.exp
5127 * gdb.python/py-breakpoint.exp
5128 * gdb.python/py-cmd.exp
5129 * gdb.python/py-linetable.exp
5130 * gdb.python/py-xmethods.exp
5131 * gdb.python/python.exp
5132 * gdb.reverse/consecutive-precsave.exp
5133 * gdb.reverse/finish-precsave.exp
5134 * gdb.reverse/i386-precsave.exp
5135 * gdb.reverse/machinestate-precsave.exp
5136 * gdb.reverse/sigall-precsave.exp
5137 * gdb.reverse/solib-precsave.exp
5138 * gdb.reverse/step-precsave.exp
5139 * gdb.reverse/until-precsave.exp
5140 * gdb.reverse/watch-precsave.exp
5141 * gdb.threads/leader-exit.exp
5142 * gdb.threads/pthreads.exp
5143 * gdb.threads/wp-replication.exp
5144 * gdb.trace/actions.exp
5145 * gdb.trace/mi-tsv-changed.exp
5148 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5150 Fix test names starting with uppercase throughout the files.
5152 * gdb.arch/i386-bp_permanent.exp
5153 * gdb.arch/i386-gnu-cfi.exp
5154 * gdb.base/disasm-end-cu.exp
5155 * gdb.base/macscp.exp
5156 * gdb.base/pending.exp
5157 * gdb.base/watch_thread_num.exp
5158 * gdb.cp/exception.exp
5159 * gdb.cp/gdb2495.exp
5161 * gdb.python/py-evsignal.exp
5162 * gdb.python/python.exp
5163 * gdb.trace/tracecmd.exp
5165 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5167 Fix test names starting with uppercase throughout the files.
5169 * gdb.base/charset.exp
5171 * gdb.base/multi-forks.exp
5172 * gdb.guile/scm-progspace.exp
5173 * gdb.opencl/datatypes.exp
5174 * gdb.python/py-block.exp
5175 * gdb.python/py-function.exp
5176 * gdb.python/py-symbol.exp
5177 * gdb.python/py-symtab.exp
5178 * gdb.python/py-xmethods.exp
5179 * gdb.reverse/break-precsave.exp
5180 * gdb.reverse/break-reverse.exp
5181 * gdb.reverse/consecutive-precsave.exp
5182 * gdb.reverse/consecutive-reverse.exp
5183 * gdb.reverse/finish-precsave.exp
5184 * gdb.reverse/finish-reverse-bkpt.exp
5185 * gdb.reverse/finish-reverse.exp
5186 * gdb.reverse/fstatat-reverse.exp
5187 * gdb.reverse/getresuid-reverse.exp
5188 * gdb.reverse/i386-precsave.exp
5189 * gdb.reverse/i386-reverse.exp
5190 * gdb.reverse/i386-sse-reverse.exp
5191 * gdb.reverse/i387-stack-reverse.exp
5192 * gdb.reverse/insn-reverse.exp
5193 * gdb.reverse/machinestate-precsave.exp
5194 * gdb.reverse/machinestate.exp
5195 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5196 * gdb.reverse/pipe-reverse.exp
5197 * gdb.reverse/readv-reverse.exp
5198 * gdb.reverse/recvmsg-reverse.exp
5199 * gdb.reverse/rerun-prec.exp
5200 * gdb.reverse/s390-mvcle.exp
5201 * gdb.reverse/sigall-precsave.exp
5202 * gdb.reverse/sigall-reverse.exp
5203 * gdb.reverse/solib-precsave.exp
5204 * gdb.reverse/solib-reverse.exp
5205 * gdb.reverse/step-precsave.exp
5206 * gdb.reverse/step-reverse.exp
5207 * gdb.reverse/time-reverse.exp
5208 * gdb.reverse/until-precsave.exp
5209 * gdb.reverse/until-reverse.exp
5210 * gdb.reverse/waitpid-reverse.exp
5211 * gdb.reverse/watch-precsave.exp
5212 * gdb.reverse/watch-reverse.exp
5214 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5216 Fix test names starting with uppercase throughout the files.
5218 * gdb.arch/i386-mpx-simple_segv.exp
5219 * gdb.arch/i386-mpx.exp
5220 * gdb.arch/i386-permbkpt.exp
5221 * gdb.arch/pa-nullify.exp
5222 * gdb.arch/powerpc-d128-regs.exp
5223 * gdb.arch/vsx-regs.exp
5224 * gdb.base/bfp-test.exp
5225 * gdb.base/break.exp
5226 * gdb.base/breakpoint-shadow.exp
5227 * gdb.base/callfuncs.exp
5228 * gdb.base/charset.exp
5229 * gdb.base/commands.exp
5230 * gdb.base/completion.exp
5231 * gdb.base/dfp-test.exp
5233 * gdb.base/ending-run.exp
5235 * gdb.base/expand-psymtabs.exp
5236 * gdb.base/float128.exp
5237 * gdb.base/floatn.exp
5238 * gdb.base/foll-exec-mode.exp
5239 * gdb.base/gdb1056.exp
5240 * gdb.base/gdb11531.exp
5241 * gdb.base/kill-after-signal.exp
5242 * gdb.base/multi-forks.exp
5243 * gdb.base/overlays.exp
5244 * gdb.base/pending.exp
5245 * gdb.base/sepdebug.exp
5246 * gdb.base/testenv.exp
5247 * gdb.base/valgrind-db-attach.exp
5248 * gdb.base/watch_thread_num.exp
5249 * gdb.base/watchpoint-cond-gone.exp
5250 * gdb.base/watchpoint.exp
5251 * gdb.base/watchpoints.exp
5252 * gdb.cp/arg-reference.exp
5253 * gdb.cp/baseenum.exp
5254 * gdb.cp/operator.exp
5256 * gdb.dwarf2/dw2-op-out-param.exp
5257 * gdb.dwarf2/dw2-reg-undefined.exp
5260 * gdb.go/integers.exp
5261 * gdb.go/methods.exp
5262 * gdb.go/package.exp
5263 * gdb.guile/scm-parameter.exp
5264 * gdb.guile/scm-progspace.exp
5265 * gdb.guile/scm-value.exp
5266 * gdb.mi/mi-pending.exp
5267 * gdb.mi/user-selected-context-sync.exp
5268 * gdb.multi/multi-attach.exp
5269 * gdb.multi/tids.exp
5270 * gdb.opt/clobbered-registers-O2.exp
5271 * gdb.pascal/floats.exp
5272 * gdb.pascal/integers.exp
5273 * gdb.python/py-block.exp
5274 * gdb.python/py-events.exp
5275 * gdb.python/py-parameter.exp
5276 * gdb.python/py-symbol.exp
5277 * gdb.python/py-symtab.exp
5278 * gdb.python/py-type.exp
5279 * gdb.python/py-value.exp
5280 * gdb.python/py-xmethods.exp
5281 * gdb.python/python.exp
5282 * gdb.reverse/break-precsave.exp
5283 * gdb.reverse/consecutive-precsave.exp
5284 * gdb.reverse/finish-precsave.exp
5285 * gdb.reverse/i386-precsave.exp
5286 * gdb.reverse/machinestate-precsave.exp
5287 * gdb.reverse/sigall-precsave.exp
5288 * gdb.reverse/solib-precsave.exp
5289 * gdb.reverse/step-precsave.exp
5290 * gdb.reverse/until-precsave.exp
5291 * gdb.reverse/watch-precsave.exp
5292 * gdb.server/ext-attach.exp
5293 * gdb.server/ext-restart.exp
5294 * gdb.server/ext-run.exp
5295 * gdb.server/ext-wrapper.exp
5296 * gdb.stabs/gdb11479.exp
5297 * gdb.stabs/weird.exp
5298 * gdb.threads/attach-many-short-lived-threads.exp
5299 * gdb.threads/kill.exp
5300 * gdb.threads/watchpoint-fork.exp
5302 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5304 Fix test names starting with uppercase throughout all the files below.
5306 * gdb.ada/array_return.exp
5307 * gdb.ada/catch_ex.exp
5308 * gdb.ada/info_exc.exp
5309 * gdb.ada/mi_catch_ex.exp
5310 * gdb.ada/mi_dyn_arr.exp
5311 * gdb.ada/mi_ex_cond.exp
5312 * gdb.ada/mi_exc_info.exp
5313 * gdb.ada/mi_interface.exp
5314 * gdb.ada/mi_task_arg.exp
5315 * gdb.ada/mi_task_info.exp
5316 * gdb.ada/mi_var_array.exp
5317 * gdb.arch/alpha-step.exp
5318 * gdb.arch/amd64-disp-step.exp
5319 * gdb.arch/arm-disp-step.exp
5320 * gdb.arch/disp-step-insn-reloc.exp
5321 * gdb.arch/e500-prologue.exp
5322 * gdb.arch/ftrace-insn-reloc.exp
5323 * gdb.arch/gdb1558.exp
5324 * gdb.arch/i386-bp_permanent.exp
5325 * gdb.arch/i386-disp-step.exp
5326 * gdb.arch/i386-float.exp
5327 * gdb.arch/i386-gnu-cfi.exp
5328 * gdb.arch/ia64-breakpoint-shadow.exp
5329 * gdb.arch/mips16-thunks.exp
5330 * gdb.arch/pa-nullify.exp
5331 * gdb.arch/powerpc-aix-prologue.exp
5332 * gdb.arch/powerpc-power.exp
5333 * gdb.arch/ppc-dfp.exp
5334 * gdb.arch/s390-tdbregs.exp
5335 * gdb.arch/spu-info.exp
5336 * gdb.arch/spu-ls.exp
5337 * gdb.arch/thumb-bx-pc.exp
5338 * gdb.base/advance.exp
5339 * gdb.base/annota-input-while-running.exp
5340 * gdb.base/arrayidx.exp
5341 * gdb.base/asmlabel.exp
5342 * gdb.base/async.exp
5343 * gdb.base/attach-wait-input.exp
5344 * gdb.base/auto-connect-native-target.exp
5345 * gdb.base/batch-preserve-term-settings.exp
5346 * gdb.base/bfp-test.exp
5347 * gdb.base/bigcore.exp
5348 * gdb.base/bp-permanent.exp
5349 * gdb.base/break-always.exp
5350 * gdb.base/break-fun-addr.exp
5351 * gdb.base/break-idempotent.exp
5352 * gdb.base/break-main-file-remove-fail.exp
5353 * gdb.base/break-probes.exp
5354 * gdb.base/break-unload-file.exp
5355 * gdb.base/break.exp
5356 * gdb.base/call-ar-st.exp
5357 * gdb.base/call-rt-st.exp
5358 * gdb.base/call-sc.exp
5359 * gdb.base/call-signal-resume.exp
5360 * gdb.base/call-strs.exp
5361 * gdb.base/callexit.exp
5362 * gdb.base/callfuncs.exp
5363 * gdb.base/catch-gdb-caused-signals.exp
5364 * gdb.base/catch-signal-siginfo-cond.exp
5365 * gdb.base/catch-syscall.exp
5366 * gdb.base/compare-sections.exp
5367 * gdb.base/cond-eval-mode.exp
5368 * gdb.base/condbreak-call-false.exp
5369 * gdb.base/consecutive-step-over.exp
5370 * gdb.base/cursal.exp
5371 * gdb.base/disabled-location.exp
5372 * gdb.base/disasm-end-cu.exp
5373 * gdb.base/display.exp
5374 * gdb.base/double-prompt-target-event-error.exp
5375 * gdb.base/dprintf-bp-same-addr.exp
5376 * gdb.base/dprintf-detach.exp
5377 * gdb.base/dprintf-next.exp
5378 * gdb.base/dprintf-non-stop.exp
5379 * gdb.base/dprintf-pending.exp
5380 * gdb.base/dso2dso.exp
5381 * gdb.base/ending-run.exp
5382 * gdb.base/enum_cond.exp
5383 * gdb.base/examine-backward.exp
5384 * gdb.base/exe-lock.exp
5385 * gdb.base/exec-invalid-sysroot.exp
5386 * gdb.base/execl-update-breakpoints.exp
5387 * gdb.base/execution-termios.exp
5388 * gdb.base/fileio.exp
5389 * gdb.base/fixsection.exp
5390 * gdb.base/foll-exec-mode.exp
5391 * gdb.base/foll-exec.exp
5392 * gdb.base/fork-running-state.exp
5393 * gdb.base/frame-args.exp
5394 * gdb.base/fullpath-expand.exp
5395 * gdb.base/func-ptr.exp
5396 * gdb.base/gcore-relro-pie.exp
5397 * gdb.base/gdb1090.exp
5398 * gdb.base/gdb1555.exp
5399 * gdb.base/global-var-nested-by-dso.exp
5400 * gdb.base/gnu-ifunc.exp
5401 * gdb.base/hbreak-in-shr-unsupported.exp
5402 * gdb.base/hbreak-unmapped.exp
5403 * gdb.base/hook-stop.exp
5404 * gdb.base/infcall-input.exp
5405 * gdb.base/info-fun.exp
5406 * gdb.base/info-shared.exp
5407 * gdb.base/interrupt-noterm.exp
5408 * gdb.base/jit-so.exp
5410 * gdb.base/line-symtabs.exp
5412 * gdb.base/longjmp.exp
5413 * gdb.base/macscp.exp
5414 * gdb.base/max-value-size.exp
5415 * gdb.base/nodebug.exp
5416 * gdb.base/nofield.exp
5417 * gdb.base/overlays.exp
5418 * gdb.base/paginate-after-ctrl-c-running.exp
5419 * gdb.base/paginate-bg-execution.exp
5420 * gdb.base/paginate-inferior-exit.exp
5421 * gdb.base/pending.exp
5422 * gdb.base/pr11022.exp
5423 * gdb.base/printcmds.exp
5424 * gdb.base/ptr-typedef.exp
5425 * gdb.base/ptype.exp
5426 * gdb.base/randomize.exp
5427 * gdb.base/range-stepping.exp
5428 * gdb.base/realname-expand.exp
5429 * gdb.base/relativedebug.exp
5430 * gdb.base/remote.exp
5431 * gdb.base/savedregs.exp
5432 * gdb.base/sepdebug.exp
5433 * gdb.base/set-noassign.exp
5434 * gdb.base/shlib-call.exp
5435 * gdb.base/shreloc.exp
5436 * gdb.base/sigaltstack.exp
5437 * gdb.base/sigbpt.exp
5438 * gdb.base/siginfo-addr.exp
5439 * gdb.base/siginfo-obj.exp
5440 * gdb.base/siginfo-thread.exp
5441 * gdb.base/signest.exp
5442 * gdb.base/signull.exp
5443 * gdb.base/sigrepeat.exp
5445 * gdb.base/so-impl-ld.exp
5446 * gdb.base/solib-corrupted.exp
5447 * gdb.base/solib-disc.exp
5448 * gdb.base/solib-display.exp
5449 * gdb.base/solib-overlap.exp
5450 * gdb.base/solib-search.exp
5451 * gdb.base/solib-symbol.exp
5452 * gdb.base/source-execution.exp
5453 * gdb.base/sss-bp-on-user-bp-2.exp
5454 * gdb.base/sss-bp-on-user-bp.exp
5455 * gdb.base/stack-checking.exp
5456 * gdb.base/stale-infcall.exp
5457 * gdb.base/step-break.exp
5458 * gdb.base/step-line.exp
5459 * gdb.base/step-over-exit.exp
5460 * gdb.base/step-test.exp
5461 * gdb.base/structs.exp
5462 * gdb.base/sym-file.exp
5463 * gdb.base/symtab-search-order.exp
5465 * gdb.base/type-opaque.exp
5466 * gdb.base/unload.exp
5467 * gdb.base/until-nodebug.exp
5468 * gdb.base/until.exp
5469 * gdb.base/unwindonsignal.exp
5470 * gdb.base/watch-cond.exp
5471 * gdb.base/watch-non-mem.exp
5472 * gdb.base/watch_thread_num.exp
5473 * gdb.base/watchpoint-reuse-slot.exp
5474 * gdb.base/watchpoint-solib.exp
5475 * gdb.base/watchpoint.exp
5476 * gdb.btrace/dlopen.exp
5478 * gdb.cell/break.exp
5482 * gdb.cell/dwarfaddr.exp
5483 * gdb.cell/ea-cache.exp
5484 * gdb.cell/ea-standalone.exp
5485 * gdb.cell/ea-test.exp
5486 * gdb.cell/f-regs.exp
5488 * gdb.cell/gcore.exp
5489 * gdb.cell/mem-access.exp
5490 * gdb.cell/ptype.exp
5491 * gdb.cell/registers.exp
5492 * gdb.cell/sizeof.exp
5493 * gdb.cell/solib-symbol.exp
5494 * gdb.cell/solib.exp
5495 * gdb.compile/compile-tls.exp
5496 * gdb.cp/exception.exp
5497 * gdb.cp/gdb2495.exp
5499 * gdb.cp/mb-inline.exp
5500 * gdb.cp/mb-templates.exp
5501 * gdb.cp/pr10687.exp
5503 * gdb.cp/scope-err.exp
5504 * gdb.cp/templates.exp
5505 * gdb.cp/virtfunc.exp
5506 * gdb.dwarf2/dw2-dir-file-name.exp
5507 * gdb.dwarf2/dw2-single-line-discriminators.exp
5508 * gdb.fortran/complex.exp
5509 * gdb.fortran/library-module.exp
5510 * gdb.guile/guile.exp
5511 * gdb.guile/scm-cmd.exp
5512 * gdb.guile/scm-frame-inline.exp
5513 * gdb.guile/scm-objfile.exp
5514 * gdb.guile/scm-pretty-print.exp
5515 * gdb.guile/scm-symbol.exp
5516 * gdb.guile/scm-type.exp
5517 * gdb.guile/scm-value.exp
5518 * gdb.linespec/keywords.exp
5519 * gdb.linespec/ls-errs.exp
5520 * gdb.linespec/macro-relative.exp
5521 * gdb.linespec/thread.exp
5522 * gdb.mi/mi-breakpoint-changed.exp
5523 * gdb.mi/mi-dprintf-pending.exp
5524 * gdb.mi/mi-fullname-deleted.exp
5525 * gdb.mi/mi-logging.exp
5526 * gdb.mi/mi-pending.exp
5527 * gdb.mi/mi-solib.exp
5528 * gdb.mi/new-ui-mi-sync.exp
5529 * gdb.mi/user-selected-context-sync.exp
5530 * gdb.multi/dummy-frame-restore.exp
5531 * gdb.multi/multi-arch-exec.exp
5532 * gdb.multi/remove-inferiors.exp
5533 * gdb.multi/watchpoint-multi-exit.exp
5534 * gdb.opt/solib-intra-step.exp
5535 * gdb.perf/backtrace.exp
5536 * gdb.perf/single-step.exp
5537 * gdb.perf/skip-command.exp
5538 * gdb.perf/skip-prologue.exp
5539 * gdb.perf/solib.exp
5540 * gdb.python/lib-types.exp
5541 * gdb.python/py-as-string.exp
5542 * gdb.python/py-bad-printers.exp
5543 * gdb.python/py-block.exp
5544 * gdb.python/py-breakpoint.exp
5545 * gdb.python/py-cmd.exp
5546 * gdb.python/py-events.exp
5547 * gdb.python/py-evthreads.exp
5548 * gdb.python/py-finish-breakpoint.exp
5549 * gdb.python/py-finish-breakpoint2.exp
5550 * gdb.python/py-frame-inline.exp
5551 * gdb.python/py-frame.exp
5552 * gdb.python/py-inferior.exp
5553 * gdb.python/py-infthread.exp
5554 * gdb.python/py-mi.exp
5555 * gdb.python/py-objfile.exp
5556 * gdb.python/py-pp-maint.exp
5557 * gdb.python/py-pp-registration.exp
5558 * gdb.python/py-prettyprint.exp
5559 * gdb.python/py-recurse-unwind.exp
5560 * gdb.python/py-shared.exp
5561 * gdb.python/py-symbol.exp
5562 * gdb.python/py-symtab.exp
5563 * gdb.python/py-template.exp
5564 * gdb.python/py-type.exp
5565 * gdb.python/py-unwind-maint.exp
5566 * gdb.python/py-unwind.exp
5567 * gdb.python/py-value.exp
5568 * gdb.python/python.exp
5569 * gdb.reverse/finish-reverse-bkpt.exp
5570 * gdb.reverse/insn-reverse.exp
5571 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5572 * gdb.reverse/solib-precsave.exp
5573 * gdb.reverse/solib-reverse.exp
5574 * gdb.stabs/gdb11479.exp
5575 * gdb.stabs/weird.exp
5576 * gdb.threads/fork-child-threads.exp
5577 * gdb.threads/fork-plus-threads.exp
5578 * gdb.threads/fork-thread-pending.exp
5579 * gdb.threads/forking-threads-plus-breakpoint.exp
5580 * gdb.threads/hand-call-in-threads.exp
5581 * gdb.threads/interrupted-hand-call.exp
5582 * gdb.threads/linux-dp.exp
5583 * gdb.threads/local-watch-wrong-thread.exp
5584 * gdb.threads/next-while-other-thread-longjmps.exp
5585 * gdb.threads/non-ldr-exit.exp
5586 * gdb.threads/pending-step.exp
5587 * gdb.threads/print-threads.exp
5588 * gdb.threads/process-dies-while-detaching.exp
5589 * gdb.threads/process-dies-while-handling-bp.exp
5590 * gdb.threads/pthreads.exp
5591 * gdb.threads/queue-signal.exp
5592 * gdb.threads/reconnect-signal.exp
5593 * gdb.threads/signal-command-handle-nopass.exp
5594 * gdb.threads/signal-command-multiple-signals-pending.exp
5595 * gdb.threads/signal-delivered-right-thread.exp
5596 * gdb.threads/signal-sigtrap.exp
5597 * gdb.threads/sigthread.exp
5598 * gdb.threads/staticthreads.exp
5599 * gdb.threads/stepi-random-signal.exp
5600 * gdb.threads/thread-unwindonsignal.exp
5601 * gdb.threads/thread_check.exp
5602 * gdb.threads/thread_events.exp
5603 * gdb.threads/tid-reuse.exp
5604 * gdb.threads/tls-nodebug.exp
5605 * gdb.threads/tls-shared.exp
5606 * gdb.threads/tls-so_extern.exp
5607 * gdb.threads/tls.exp
5608 * gdb.threads/wp-replication.exp
5609 * gdb.trace/actions-changed.exp
5610 * gdb.trace/actions.exp
5611 * gdb.trace/backtrace.exp
5612 * gdb.trace/change-loc.exp
5613 * gdb.trace/collection.exp
5614 * gdb.trace/deltrace.exp
5615 * gdb.trace/disconnected-tracing.exp
5616 * gdb.trace/entry-values.exp
5617 * gdb.trace/ftrace-lock.exp
5618 * gdb.trace/ftrace.exp
5619 * gdb.trace/infotrace.exp
5620 * gdb.trace/mi-trace-frame-collected.exp
5621 * gdb.trace/mi-trace-unavailable.exp
5622 * gdb.trace/mi-traceframe-changed.exp
5623 * gdb.trace/mi-tracepoint-changed.exp
5624 * gdb.trace/mi-tsv-changed.exp
5625 * gdb.trace/no-attach-trace.exp
5626 * gdb.trace/packetlen.exp
5627 * gdb.trace/passc-dyn.exp
5628 * gdb.trace/passcount.exp
5629 * gdb.trace/pending.exp
5630 * gdb.trace/pr16508.exp
5631 * gdb.trace/qtro.exp
5632 * gdb.trace/range-stepping.exp
5633 * gdb.trace/read-memory.exp
5634 * gdb.trace/report.exp
5635 * gdb.trace/save-trace.exp
5636 * gdb.trace/signal.exp
5637 * gdb.trace/stap-trace.exp
5638 * gdb.trace/status-stop.exp
5639 * gdb.trace/strace.exp
5640 * gdb.trace/tfile.exp
5641 * gdb.trace/tfind.exp
5642 * gdb.trace/trace-break.exp
5643 * gdb.trace/trace-condition.exp
5644 * gdb.trace/trace-enable-disable.exp
5645 * gdb.trace/trace-mt.exp
5646 * gdb.trace/tracecmd.exp
5647 * gdb.trace/tracefile-pseudo-reg.exp
5648 * gdb.trace/tspeed.exp
5649 * gdb.trace/tstatus.exp
5651 * gdb.trace/unavailable.exp
5652 * gdb.trace/while-dyn.exp
5653 * gdb.trace/while-stepping.exp
5656 * lib/mi-support.exp
5659 * lib/prelink-support.exp
5660 * lib/selftest-support.exp
5662 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5664 * Makefile.in: Include disable-implicit-rules.mk.
5666 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5668 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5669 non-byte-aligned bit fields.
5671 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5674 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5675 respects the DW_AT_data_bit_offset attribute.
5677 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5679 * gdb.base/default.exp: Fix output of "set language".
5681 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5683 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5684 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5686 * configure.ac: Remove checks for the make program.
5687 * configure: Re-generate.
5689 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5691 * gdb.python/py-recurse-unwind.c (main): Add loop.
5692 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5693 to read_register() and gdb.parse_and_eval(). Make each code
5694 call a separate case that can be individually tested.
5695 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5696 proc. Call cont_and_backtrace for each of the code paths that
5697 we want to test in the unwinder.
5699 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5701 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5702 the definition of struct S.
5704 2016-11-11 Catherine Moore <clm@codesourcery.com>
5706 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5708 2016-11-09 Pedro Alves <palves@redhat.com>
5710 * gdb.base/commands.exp (runto_or_return): New procedure.
5711 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5712 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5713 (progvar_simple_while_test, progvar_complex_if_while_test)
5714 (if_while_breakpoint_command_test)
5715 (infrun_breakpoint_command_test, breakpoint_command_test)
5716 (user_defined_command_test, watchpoint_command_test)
5717 (test_command_prompt_position, redefine_hook_test)
5718 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5719 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5720 multi_line_input and multi_line. Remove gdb_expect and
5721 gdb_stop_suppressing_tests uses.
5722 * lib/gdb.exp (valnum_re): New global.
5723 (multi_line_input): New procedure.
5725 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5727 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5729 (test_setup): Define with proc_with_prefix.
5730 (test_cli_inferior): Likewise.
5731 (test_cli_thread): Likewise.
5732 (test_cli_frame): Likewise.
5733 (test_cli_select_frame): Likewise.
5734 (test_cli_up_down): Likewise.
5735 (test_mi_thread_select): Likewise.
5736 (test_mi_stack_select_frame): Likewise.
5737 (test_cli_in_mi_inferior): Likewise.
5738 (test_cli_in_mi_thread): Likewise.
5739 (test_cli_in_mi_frame): Likewise.
5740 (top level): Do not use with_test_prefix_procname.
5742 2016-11-09 Pedro Alves <palves@redhat.com>
5744 * gdb.base/commands.exp (gdbvar_simple_if_test)
5745 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5746 (progvar_simple_if_test, progvar_simple_while_test)
5747 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5748 (infrun_breakpoint_command_test, breakpoint_command_test)
5749 (user_defined_command_test, watchpoint_command_test)
5750 (test_command_prompt_position, deprecated_command_test)
5751 (bp_deleted_in_command, temporary_breakpoint_commands)
5752 (stray_arg0_test, source_file_with_indented_comment)
5753 (recursive_source_test, if_commands_test)
5754 (error_clears_commands_left, redefine_hook_test)
5755 (redefine_backtrace_test): Use proc_with_prefix.
5756 * lib/gdb.exp (proc_with_prefix): New proc.
5758 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5760 * gdb.base/tui-layout.c: New file.
5761 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5762 disassembly window contains very long lines.
5764 2016-11-08 Tom Tromey <tom@tromey.com>
5766 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5769 2016-11-08 Tom Tromey <tom@tromey.com>
5771 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5774 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5776 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5778 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5780 * gdb.rust/simple.rs: Add test for univariant enums without
5781 discriminants and for encoded struct-like enums.
5783 2016-10-28 Pedro Alves <palves@redhat.com>
5785 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5786 gdb_test_multiple, tighten regexps and match symtabs and line
5787 tables incrementally.
5789 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5791 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5794 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5796 * gdb.base/exec-invalid-sysroot.exp: New file.
5798 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5800 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5802 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5804 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5806 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5808 * gdb.base/killed-outside.exp: Remove $options from a call to
5809 `prepare_for_testing'.
5811 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5813 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5814 Change test message.
5816 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5818 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5821 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5823 * gdb.trace/mi-trace-save.exp: New file.
5825 2016-10-13 Yao Qi <yao.qi@linaro.org>
5827 * gdb.base/code_elim.exp (get_var_address): Remove.
5828 * gdb.base/relocate.exp: Likewise.
5829 * gdb.base/shreloc.exp: Likewise.
5830 * lib/gdb.exp (get_var_address): New.
5832 2016-10-13 Yao Qi <yao.qi@linaro.org>
5834 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5835 floating point tests if $skip_float_test is false.
5837 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5839 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5840 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5842 Add 1 to argc so we guarantee distinct initial/modified argc values.
5844 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5846 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5848 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5850 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5851 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5852 * gdb.arch/vsx-regs.exp: Likewise.
5854 2016-10-07 Yao Qi <yao.qi@linaro.org>
5856 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5858 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5860 * gdb.python/python.exp: Test decode_line("*0").
5862 2016-10-06 Doug Evans <dje@google.com>
5864 * gdb.python/py-value.exp (test_value_creation): Add test for large
5865 unsigned 64-bit value.
5867 2016-10-06 Tom Tromey <tom@tromey.com>
5869 * gdb.compile/compile.exp: Change java tests to rust.
5870 * gdb.base/setshow.exp: Change java tests to rust.
5871 * gdb.base/default.exp: Remove java from language list.
5872 * README (Examples): Update language example.
5873 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5875 * lib/gdb.exp (skip_java_tests): Remove.
5876 * lib/java.exp: Remove.
5879 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5881 * gdb.arch/mips-fcr.exp: New test.
5882 * gdb.arch/mips-fcr.c: Source for the new test.
5884 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5886 * gdb.base/solib-disc.exp: Use `standard_output_file'
5889 2016-10-06 Pedro Alves <palves@redhat.com>
5891 * gdb.base/jit-simple-dl.c: New file.
5892 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5893 * gdb.base/jit-simple.c: ... this.
5894 * gdb.base/jit-simple.exp (jit_run): Delete.
5895 (build_jit): New proc.
5896 (jit_test_reread): Recompile either the main program or the shared
5897 library, depending on what is being tested. Skip changing address
5898 if caller wants to. Compare before/after addresses. If testing
5899 standalone, explicitly load the binary. Test "maint info
5901 (top level): Add "standalone vs shared lib" and "change address"
5902 vs "same address" axes.
5904 2016-10-06 Pedro Alves <palves@redhat.com>
5906 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5909 (jit_test_reread): Use with_test_prefix. Reload the main binary
5910 explicitly. Compare the before/after addresses of the JIT
5913 2016-08-15 Doug Evans <dje@google.com>
5915 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5916 for single bitfields is bool.
5917 * gdb.xml/tdesc-regs.exp: Ditto.
5919 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5921 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5923 2016-10-05 Yao Qi <yao.qi@linaro.org>
5925 * lib/gdb.exp (support_complex_tests): Return zero if
5926 gdb_skip_float_test return true.
5928 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5929 Simon Marchi <simon.marchi@ericsson.com>
5932 * gdb.mi/user-selected-context-sync.exp: New file.
5933 * gdb.mi/user-selected-context-sync.c: New file.
5935 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5936 Simon Marchi <simon.marchi@ericsson.com>
5939 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5940 =thread-select-event check.
5942 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5944 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5945 the compulsory L operand changes.
5946 * gdb.arch/powerpc-power.s: Likewise.
5948 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5950 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5951 * gdb.base/jit-attach-pie.c: New file.
5952 * gdb.base/jit-attach-pie.exp: New file.
5954 2016-09-28 Pedro Alves <palves@redhat.com>
5956 * gdb.base/infcall-input.c: New file.
5957 * gdb.base/infcall-input.exp: New file.
5959 2016-09-22 Yao Qi <yao.qi@linaro.org>
5961 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5962 (gdb_exit): Rename it to ...
5963 (gdbserver_gdb_exit): ... Close GDBserver.
5964 (gdb_exit): New proc, call gdbserver_gdb_exit.
5965 (mi_gdb_exit): Likewise.
5967 2016-09-22 Yao Qi <yao.qi@linaro.org>
5969 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5971 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5974 2016-09-22 Yao Qi <yao.qi@linaro.org>
5976 * lib/gdbserver-support.exp: Check the existence of
5977 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5979 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5981 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5983 2016-09-21 Tom Tromey <tom@tromey.com>
5986 * gdb.base/quit.exp: New file.
5988 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5990 * .gitignore: New file.
5992 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5994 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5997 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5999 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6001 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6003 * gdb.cp/casts.cc (decltype): Move it ...
6004 (main): ... with its call to ...
6005 * gdb.cp/casts03.cc: ... a new file.
6006 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6008 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6010 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6012 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
6014 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6015 and sync up the test with tests in gas/testsuite/gas/ppc.
6016 * gdb.arch/powerpc-power.exp: Likewise.
6018 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6020 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6022 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
6023 Jan Kratochvil <jan.kratochvil@redhat.com>
6025 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6026 make m1's definition to be different from m2's. Use 'dummy' as an
6027 argument for probe 'two'.
6029 2016-09-10 Jon Beniston <jon@beniston.com>
6031 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6034 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6036 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6037 variable declaration.
6038 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
6039 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6040 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6041 received HWCAP as its argument.
6043 2016-09-06 Pedro Alves <palves@redhat.com>
6045 * gdb.base/new-ui-pending-input.c: New file.
6046 * gdb.base/new-ui-pending-input.exp: New file.
6047 * gdb.exp (clear_gdb_spawn_id): New procedure.
6048 (with_spawn_id): Check whether gdb_spawn_id exists before
6049 referencing it. If gdb_spawn_id didn't exist on entry, clear it
6052 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6054 * gdb.base/float128.c: New file.
6055 * gdb.base/float128.exp: Likewise.
6056 * gdb.base/floatn.c: Likewise.
6057 * gdb.base/floatn.exp: Likewise.
6059 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6061 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6063 2016-09-05 Pedro Alves <palves@redhat.com>
6066 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6067 unwinders are immediately called as side effect of "source" or
6068 "disable unwinder" commands.
6069 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6071 2016-09-02 Yao Qi <yao.qi@linaro.org>
6073 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6074 is true and $type is "float" or "double".
6076 2016-09-02 Yao Qi <yao.qi@linaro.org>
6078 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6080 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6081 * gdb.base/call-rt-st.exp: Likewise.
6082 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6083 return value instead of gdb,skip_float_test.
6084 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6085 (do_function_calls): Use its return value instead of
6086 gdb,skip_float_test.
6087 * gdb.base/finish.exp: Likewise.
6088 * gdb.base/funcargs.exp: Likewise.
6089 * gdb.base/return.exp: Likewise.
6090 * gdb.base/return2.exp: Likewise.
6091 * gdb.base/varargs.exp: Likewise.
6092 * lib/gdb.exp (gdb_skip_float_test): Change it to
6093 gdb_caching_proc. Detect the broken ptrace on arm-linux.
6095 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6097 * gdb.multi/tids.exp: Test "thread apply all".
6099 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6101 * gdb.base/default.exp (tty): Remove.
6103 2016-08-24 Kevin Buettner <kevinb@redhat.com>
6105 * gdb.python/py-recurse-unwind.c: New file.
6106 * gdb.python/py-recurse-unwind.py: New file.
6107 * gdb.python/py-recurse-unwind.exp: New file.
6109 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
6111 * gdb.base/set-inferior-tty.exp: New file.
6112 * gdb.base/set-inferior-tty.c: New file.
6114 2016-08-23 Pedro Alves <palves@redhat.com>
6117 * gdb.base/new-ui-echo.c: New file.
6118 * gdb.base/new-ui-echo.exp: New file.
6120 2016-08-23 Yao Qi <yao.qi@linaro.org>
6122 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6124 * gdb.server/connect-without-multi-process.exp (do_test):
6127 2016-08-23 Yao Qi <yao.qi@linaro.org>
6129 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6130 standalone_txt. Delete gdb_txt and standalone_txt on host
6131 and target. Spawn the binary on target. Copy files from
6134 2016-08-22 Pedro Alves <palves@redhat.com>
6137 * gdb.base/vdso-warning.exp: Test core dumps too. Use
6138 with_test_prefix. Factor out bits to ...
6139 (test_no_vdso): ... this new procedure.
6141 2016-08-19 Carl Love <cel@us.ibm.com>
6143 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6144 maintaining separate logic for constructing the output path.
6145 * gdb.arch/powerpc-d128-regs.exp: Likewise.
6146 * gdb.arch/ppc-dfp.exp: Likewise.
6147 * gdb.arch/ppc-fp.exp: Likewise.
6148 * gdb.arch/vsx-regs.exp: Likewise.
6149 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6150 binprefix for generating the additional binary files.
6152 2016-08-19 Pedro Alves <palves@redhat.com>
6154 * gdb.trace/mi-trace-frame-collected.exp
6155 (test_trace_frame_collected): On x32, expect two registers.
6157 2016-08-18 Carl Love <cel@us.ibm.com>
6159 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6160 and sync up the test with tests in gas/testsuite/gas/ppc.
6161 * gdb.arch/powerpc-power.exp: Likewise.
6163 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6165 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6166 expected error message.
6168 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6170 * gdb.multi/remove-inferiors.exp: New file.
6171 * gdb.multi/remove-inferiors.c: New file.
6173 2016-08-12 Yao Qi <yao.qi@linaro.org>
6175 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6178 2016-08-10 Pedro Alves <palves@redhat.com>
6181 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6184 2016-08-09 Pedro Alves <palves@redhat.com>
6185 Simon Marchi <simon.marchi@ericsson.com>
6188 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6189 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6191 2016-08-09 Pedro Alves <palves@redhat.com>
6194 * gdb.mi/mi-cmd-error.exp: New file.
6196 2016-08-09 Pedro Alves <palves@redhat.com>
6199 * gdb.base/signals-state-child.c: New file.
6200 * gdb.base/signals-state-child.exp: New file.
6201 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6203 2016-08-09 Pedro Alves <palves@redhat.com>
6205 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6207 2016-08-03 Tom Tromey <tom@tromey.com>
6210 * gdb.python/py-frame-inline.exp: Add Frame.function test.
6212 2016-08-01 Yao Qi <yao.qi@linaro.org>
6214 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6215 variable mode to "multi-process" if $multi_process is 1, otherwise
6216 set it to "single-process".
6218 2016-08-01 Yao Qi <yao.qi@linaro.org>
6220 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6221 * gdb.cp/cpexprs.exp: Likewise.
6222 * gdb.cp/m-static.exp: Likewise.
6224 2016-07-26 Tom Tromey <tom@tromey.com>
6227 * gdb.threads/tls.exp (check_thread_local): Add python symbol
6230 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
6232 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6233 selecting assembly source files.
6234 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6235 assembly source files.
6236 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6237 assembly source files.
6238 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6239 selecting assembly source files.
6241 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
6243 * gdb.base/new-ui.exp (do_test_invalid_args): New
6246 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
6248 * gdb.btrace/reconnect.c: New file.
6249 * gdb.btrace/reconnect.exp: New file.
6251 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
6253 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6254 to test_catch_syscall_group.
6255 (test_catch_syscall_group): New.
6257 2016-07-21 Tom Tromey <tom@tromey.com>
6259 * gdb.rust/simple.rs (main): Use empty struct expression.
6260 * gdb.rust/simple.exp: Add tests for empty struct expression.
6262 2016-07-21 Yao Qi <yao.qi@linaro.org>
6264 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6265 if gdb_skip_xml_test is true on some targets.
6267 2016-07-21 Yao Qi <yao.qi@linaro.org>
6269 * gdb.server/solib-list.exp: Unset last_loaded_file.
6271 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6273 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6274 "step into captured_main (args)".
6276 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6278 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6280 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6282 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6284 2016-07-19 Pedro Alves <palves@redhat.com>
6286 * gdb.opt/inline-break.exp: Remove optimize=-O2.
6287 * gdb.opt/inline-bt.exp: Likewise.
6288 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6289 additional_flags=-Winline.
6290 * gdb.opt/inline-locals.exp: Likewise.
6291 * gdb.opt/inline-markers.c (ATTR): Define.
6292 (inlined_fn): Use it.
6294 2016-07-19 Yao Qi <yao.qi@linaro.org>
6296 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6297 (test_with_self): Remove some code. Remove argument executable.
6298 (top-level): Use do_self_tests.
6300 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
6301 Don Breazeal <donb@codesourcery.com>
6303 * gdb.base/maint.exp: Escape paths used in regular expressions.
6304 * gdb.stabs/weird.exp: Likewise.
6306 2016-07-13 Tom Tromey <tom@tromey.com>
6308 PR python/15620, PR python/18620:
6309 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6310 (test_bkpt_events): New procs.
6312 2016-07-13 Tom Tromey <tom@tromey.com>
6315 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6317 (test_watchpoints): Likewise.
6318 (test_bkpt_pending): New proc.
6320 2016-07-13 Tom Tromey <tom@tromey.com>
6323 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6326 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6328 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6329 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6330 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6332 (g): Rename g_end_lbl to g_label.
6333 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6335 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6337 2016-07-12 Tom Tromey <tom@tromey.com>
6340 * gdb.python/py-unwind-maint.exp: Update tests.
6342 2016-07-12 Yao Qi <yao.qi@linaro.org>
6344 * lib/selftest-support.exp (selftest_setup): Match the output
6345 when captured_main is inlined.
6347 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6349 * gdb.fortran/derived-types.exp (result_line, result_line_2):
6351 (print this%a, print this%b, print this): New tests.
6352 * gdb.fortran/derived-types.f90 (this): New object and
6355 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6357 * gdb.ada/arraydim.exp: Remove extra directory level in build
6360 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6362 * lib/ada.exp: Remove extra directory level in build directory.
6363 * gdb.ada/cond_lang.exp: Likewise.
6364 * gdb.ada/exec_changed.exp: Likewise.
6365 * gdb.ada/lang_switch.exp: Likewise.
6367 2016-07-06 Manish Goregaokar <manish@mozilla.com>
6369 * simple.rs: Add test for raw pointer subscripting.
6370 * simple.exp: Add test expectations.
6372 2016-07-05 Yao Qi <yao.qi@linaro.org>
6374 * gdb.mi/mi-reverse.exp: Match =record-started output.
6376 2016-07-01 Pedro Alves <palves@redhat.com>
6378 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6380 (jit_reader_test): Test the jit reader's unwinder.
6381 * gdb.base/jithost.c (jit_function_00_code): New global.
6382 (main): Use memcpy to fill in the mmapped code, instead of poking
6383 bytes manually here.
6384 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6386 (read_debug_info): Save the function's range.
6387 (read_sp): New function.
6388 (unwind_frame): Use it. Also unwind RBP.
6389 (get_frame_id): Use read_sp.
6390 (gdb_init_reader): Use calloc instead of malloc.
6391 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6392 parameter. Use gdb_test_multiple.
6394 2016-07-01 Pedro Alves <palves@redhat.com>
6395 Antoine Tremblay <antoine.tremblay@ericsson.com>
6397 * gdb.threads/process-dies-while-detaching.c: New file.
6398 * gdb.threads/process-dies-while-detaching.exp: New file.
6400 2016-07-01 Pedro Alves <palves@redhat.com>
6402 * gdb.multi/watchpoint-multi-exit.c: New file.
6403 * gdb.multi/watchpoint-multi-exit.exp: New file.
6405 2016-06-30 Pedro Alves <palves@redhat.com>
6407 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6408 unset inferior_spawn_id.
6410 2016-06-30 Pedro Alves <palves@redhat.com>
6412 * lib/mi-support.exp (default_mi_gdb_start): Declare global
6413 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6415 2016-06-29 Yao Qi <yao.qi@linaro.org>
6417 * gdb.base/return.c: Add copyright header.
6419 2016-06-29 Tom Tromey <tom@tromey.com>
6422 * gdb.python/py-framefilter.exp: Add tests for setting priority
6423 and disabling of non-existent frame filter.
6425 2016-06-29 Yao Qi <yao.qi@linaro.org>
6427 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6430 2016-06-28 Yao Qi <yao.qi@linaro.org>
6432 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6433 triplets. Start gdb, execute catch syscall, and continue. Check
6434 gdb's output to determine catch syscall is supported.
6436 2016-06-27 Manish Goregaokar <manish@mozilla.com>
6438 * gdb.rust/simple.rs: Add test for returning unit in a function.
6439 * gdb.rust/simple.exp: Add expectation for functions returning
6442 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6444 * gdb.python/py-breakpoint-create-fail.c,
6445 gdb.python/py-breakpoint-create-fail.exp,
6446 gdb.python/py-breakpoint-create-fail.py: New testcase.
6448 2016-06-25 Manish Goregaokar <manish@mozilla.com>
6451 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6452 * gdb.rust/simple.exp: Add test expectations for new NonZero
6455 2016-06-24 David Taylor <dtaylor@emc.com>
6457 * gdb.base/offsets.exp: New file.
6458 * gdb.base/offsets.c: New file.
6460 2016-06-23 Tom Tromey <tom@tromey.com>
6463 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6464 before any filters are loaded.
6466 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6468 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6469 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6471 * gdb.fortran/derived-type-function.exp: New file.
6472 * gdb.fortran/derived-type-function.f90: New file.
6475 2016-06-21 Pedro Alves <palves@redhat.com>
6477 * gdb.base/new-ui.exp: New file.
6478 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6479 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6480 (with_spawn_id): New procedure.
6482 2016-06-21 Pedro Alves <palves@redhat.com>
6484 * gdb.mi/mi-exec-run.exp: New file.
6486 2016-06-21 Pedro Alves <palves@redhat.com>
6488 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6489 breakpoint command's output on the main UI.
6490 (test_break): New procedure, factored out from calls in the top
6492 (top level): Use foreach_with_prefix to test MI as main UI and as
6495 2016-06-21 Pedro Alves <palves@redhat.com>
6497 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6498 (test_awatch_creation_and_listing)
6499 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6500 Remove 'type' parameter.
6501 (test_watchpoint_all): New parameter mi_mode. Remove
6503 (top level): Use foreach_with_prefix, and add main/separate UI MI
6506 2016-06-21 Pedro Alves <palves@redhat.com>
6508 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6509 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6510 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6511 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6512 (gdb_main_spawn_id, mi_spawn_id): Declare and
6514 (mi_create_inferior_pty): New procedure,
6515 factored out from default_mi_gdb_start.
6516 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6518 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6519 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6520 Use mi_create_inferior_pty.
6521 (mi_gdb_start): Use eval to pass down args list.
6523 2016-06-21 Pedro Alves <palves@redhat.com>
6525 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6526 * gdb.opt/inline-cmds.exp: Add MI tests.
6528 2016-06-21 Pedro Alves <palves@redhat.com>
6530 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6532 2016-06-21 Pedro Alves <palves@redhat.com>
6534 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6535 (top level): Use it instead of mi_execute_to.
6537 2016-06-21 Pedro Alves <palves@redhat.com>
6539 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6540 (cont_handler_str): New.
6541 (signal_stop_handler): Set stop_handler_str instead of printing to
6543 (continue_handler): Set cont_handler_str instead of printing to
6545 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6546 mi_send_resuming_command. Print stop_handler_str and
6547 cont_handler_str instead of expecting the python events print
6550 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6552 * gdb.base/jit-reader.exp: New file.
6553 * gdb.base/jithost.c: New file.
6554 * gdb.base/jithost.h: New file.
6555 * gdb.base/jitreader.c : New file.
6556 * gdb.base/jit-protocol.h: New file.
6558 2016-06-17 Yao Qi <yao.qi@linaro.org>
6560 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6561 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6562 and detach-on-fork. Adjust tests.
6563 (top level): Invoke break_cond_on_syscall with combinations of
6564 syscall, follow-fork-mode and detach-on-fork.
6566 2016-06-17 Yao Qi <yao.qi@linaro.org>
6568 * gdb.base/step-over-exit.c: New.
6569 * gdb.base/step-over-exit.exp: New.
6571 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6573 * gdb.base/float.exp: Add target check for nds32*-*-*.
6574 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6576 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6578 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6579 for unsupported target features.
6580 * gdb.base/call-rt-st.exp: Likewise.
6581 * gdb.base/call-sc.exp: Likewise.
6582 * gdb.base/call-signal-resume.exp: Likewise.
6583 * gdb.base/call-strs.exp: Likewise.
6584 * gdb.base/callexit.exp: Likewise.
6585 * gdb.base/callfuncs.exp: Likewise.
6586 * gdb.base/nodebug.exp: Likewise.
6587 * gdb.base/printcmds.exp: Likewise.
6588 * gdb.base/ptype.exp: Likewise.
6589 * gdb.base/structs.exp: Likewise.
6590 * gdb.base/unwindonsignal.exp: Likewise.
6591 * gdb.cp/gdb2495.exp: Likewise.
6592 * gdb.cp/templates.exp: Likewise.
6593 * gdb.cp/virtfunc.exp: Likewise.
6594 * gdb.threads/hand-call-in-threads.exp: Likewise.
6595 * gdb.threads/interrupted-hand-call.exp: Likewise.
6596 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6598 2016-06-10 Tom Tromey <tom@tromey.com>
6601 * gdb.rust/expr.exp: Add test for integer constant larger than
6604 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6606 * gdb.fortran/nested-funcs.exp: New.
6607 * gdb.fortran/nested-funcs.f90: New.
6609 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6611 * gdb.base/examine-backward.c: New file.
6612 * gdb.base/examine-backward.exp: New file.
6614 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6616 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6619 2016-06-02 Tom Tromey <tom@tromey.com>
6622 * gdb.python/py-shared.exp: Add solib_name test.
6624 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6626 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6628 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6631 * gdb.dwarf2/implref.exp: Rename to...
6632 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6633 * gdb.dwarf2/implref-array.c: New file.
6634 * gdb.dwarf2/implref-array.exp: Likewise.
6635 * gdb.dwarf2/implref-global.c: Likewise.
6636 * gdb.dwarf2/implref-global.exp: Likewise.
6637 * gdb.dwarf2/implref-struct.c: Likewise.
6638 * gdb.dwarf2/implref-struct.exp: Likewise.
6640 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6642 * gdb.trace/trace-condition.exp: Add 64bit tests.
6644 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6646 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6648 (main): Adapt to 8 to 64 bits types.
6649 * gdb.trace/trace-condition.exp: Add new tests.
6651 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6653 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6655 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6657 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6658 Move condition tests...
6659 * gdb.trace/trace-condition.exp: Here.
6661 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6663 * gdb.trace/trace-condition.exp: Add counter-case tests.
6665 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6668 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6669 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6671 2016-05-27 Pedro Alves <palves@redhat.com>
6673 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6675 (top level): Call it, and bail out of DejaGnu is known to be bad.
6677 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6679 * gdb.base/whatis.c: Extend the test case.
6680 * gdb.base/whatis.exp: Add additional tests.
6682 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6684 * gdb.fortran/type.f90: Add pointer variable.
6685 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6687 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6689 * gdb.fortran/vla-type.exp: Fix testcase name.
6691 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6693 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6695 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6697 * gdb.fortran/type.f90: Add nested structures.
6698 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6699 * gdb.fortran/derived-type.exp: Adapt expected output.
6700 * gdb.fortran/vla-type.exp: Adapt expected output.
6702 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6704 * gdb.fortran/whatis_type.exp: Adapt expected output.
6706 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6708 * gdb.fortran/print_type.exp: Fix expected output.
6709 * gdb.fortran/whatis_type.exp: Fix expected output.
6711 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6713 * gdb.fortran/whatis_type.exp: Use multi_line.
6715 2016-05-24 Tom Tromey <tom@tromey.com>
6718 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6719 use value as an index.
6721 2016-05-23 Tom Tromey <tom@tromey.com>
6724 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6727 2016-05-24 Pedro Alves <palves@redhat.com>
6730 * gdb.threads/clone-attach-detach.c: New file.
6731 * gdb.threads/clone-attach-detach.exp: New file.
6733 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6735 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6737 2016-05-23 Tom Tromey <tom@tromey.com>
6739 PR python/19438, PR python/18393:
6740 * gdb.python/py-progspace.exp: Add "dir" test.
6741 * gdb.python/py-objfile.exp: Add "dir" test.
6743 2016-05-23 Yao Qi <yao.qi@linaro.org>
6745 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6746 * gdb.arch/thumb2-it.exp: Likewise.
6748 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6750 * gdb.mi/mi-threads-interrupt.c: New file.
6751 * gdb.mi/mi-threads-interrupt.exp: New file.
6753 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6756 * gdb.mi/mi-async-run.exp: New file.
6757 * gdb.mi/mi-async-run.c: New file.
6759 2016-05-17 Tom Tromey <tom@tromey.com>
6760 Manish Goregaokar <manishsmail@gmail.com>
6762 * lib/rust-support.exp: New file.
6763 * lib/gdb.exp (skip_rust_tests): New proc.
6764 (build_executable_from_specs): Handle rust.
6765 * lib/future.exp (gdb_find_rustc): New proc.
6766 (gdb_default_target_compile): Handle rust.
6767 * gdb.rust/expr.exp: New file.
6768 * gdb.rust/generics.exp: New file.
6769 * gdb.rust/generics.rs: New file.
6770 * gdb.rust/methods.exp: New file.
6771 * gdb.rust/methods.rs: New file.
6772 * gdb.rust/modules.exp: New file.
6773 * gdb.rust/modules.rs: New file.
6774 * gdb.rust/simple.exp: New file.
6775 * gdb.rust/simple.rs: New file.
6777 2016-05-17 Tom Tromey <tom@tromey.com>
6779 * gdb.base/default.exp (set language): Add rust.
6781 2016-05-17 Tom Tromey <tom@tromey.com>
6783 * gdb.gdb/unittest.exp: New file.
6785 2016-05-16 Yao Qi <yao.qi@linaro.org>
6787 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6788 shell_prompt. Update shell_prompt_re.
6790 2016-05-12 Doug Evans <dje@google.com>
6793 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6794 $options when building executable.
6795 * gdb.dwarf2/fission-loclists-pie.S: New file.
6796 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6798 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6800 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
6801 of [is_remote target],
6803 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6805 * lib/gdb.exp (use_gdb_stub): New procedure.
6807 2016-05-03 Yunlian Jiang <yunlian@google.com>
6808 Doug Evans <dje@google.com>
6811 * gdb.dwarf2/dwp-sepdebug.c: New file.
6812 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6814 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6816 * gdb.base/detach.exp: Remove is_remote check.
6818 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6820 * gdb.base/annota-input-while-running.exp: Don't check for
6821 [is_remote target]. Enable annotations after running to main.
6822 Remove unused "set test..." line.
6824 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6826 * gdb.trace/trace-enable-disable.exp: New file.
6827 * gdb.trace/trace-enable-disable.c: New file.
6829 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6831 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6832 use it in info sharedlibrary test.
6833 * gdb.trace/ftrace-lock.exp: Likewise.
6834 * gdb.trace/ftrace.exp: Likewise.
6835 * gdb.trace/range-stepping.exp: Likewise.
6836 * gdb.trace/trace-break.exp: Likewise.
6837 * gdb.trace/trace-condition.exp: Likewise.
6838 * gdb.trace/trace-mt.exp: Likewise.
6840 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6842 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6843 (gdb_load_shlib): ... this.
6844 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6846 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6847 * gdb.base/ctxobj.exp: Likewise.
6848 * gdb.base/dprintf-pending.exp: Likewise.
6849 * gdb.base/dso2dso.exp: Likewise.
6850 * gdb.base/fixsection.exp: Likewise.
6851 * gdb.base/gcore-relro.exp: Likewise.
6852 * gdb.base/gdb1555.exp: Likewise.
6853 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6854 * gdb.base/gnu-ifunc.exp: Likewise.
6855 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6856 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6857 * gdb.base/pending.exp: Likewise.
6858 * gdb.base/print-file-var.exp: Likewise.
6859 * gdb.base/print-symbol-loading.exp: Likewise.
6860 * gdb.base/shlib-call.exp: Likewise.
6861 * gdb.base/shreloc.exp: Likewise.
6862 * gdb.base/so-impl-ld.exp: Likewise.
6863 * gdb.base/solib-disc.exp: Likewise.
6864 * gdb.base/solib-nodir.exp: Likewise.
6865 * gdb.base/solib-overlap.exp: Likewise.
6866 * gdb.base/solib-symbol.exp: Likewise.
6867 * gdb.base/solib-weak.exp (do_test): Likewise.
6868 * gdb.base/sym-file.exp: Likewise.
6869 * gdb.base/symtab-search-order.exp: Likewise.
6870 * gdb.base/type-opaque.exp: Likewise.
6871 * gdb.base/unload.exp: Likewise.
6872 * gdb.base/watchpoint-solib.exp: Likewise.
6873 * gdb.compile/compile.exp: Likewise.
6874 * gdb.cp/gdb2384.exp: Likewise.
6875 * gdb.cp/infcall-dlopen.exp: Likewise.
6876 * gdb.cp/re-set-overloaded.exp: Likewise.
6877 * gdb.fortran/library-module.exp: Likewise.
6878 * gdb.opt/solib-intra-step.exp: Likewise.
6879 * gdb.python/py-finish-breakpoint.exp: Likewise.
6880 * gdb.python/py-shared.exp: Likewise.
6881 * gdb.reverse/solib-precsave.exp: Likewise.
6882 * gdb.reverse/solib-reverse.exp: Likewise.
6883 * gdb.server/solib-list.exp: Likewise.
6884 * gdb.threads/dlopen-libpthread.exp: Likewise.
6885 * gdb.threads/tls-shared.exp: Likewise.
6886 * gdb.threads/tls-so_extern.exp: Likewise.
6887 * gdb.trace/change-loc.exp: Likewise.
6888 * gdb.trace/ftrace-lock.exp: Likewise.
6889 * gdb.trace/ftrace.exp: Likewise.
6890 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6891 * gdb.trace/pending.exp: Likewise.
6892 * gdb.trace/range-stepping.exp: Likewise.
6893 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6894 (strace_info_marker): Likewise.
6895 (strace_probe_marker): Likewise.
6896 (strace_trace_on_same_addr): Likewise.
6897 (strace_trace_on_diff_addr): Likewise.
6898 * gdb.trace/trace-break.exp: Likewise.
6899 * gdb.trace/trace-condition.exp: Likewise.
6900 * gdb.trace/trace-mt.exp: Likewise.
6902 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6904 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6905 result of gdb_remote_download.
6906 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6907 * gdb.base/dso2dso.exp: Likewise.
6908 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6909 * gdb.base/print-file-var.exp: Likewise.
6910 * gdb.base/shlib-call.exp: Likewise.
6911 * gdb.base/shreloc.exp: Likewise.
6912 * gdb.base/solib-overlap.exp: Likewise.
6913 * gdb.base/solib-weak.exp (do_test): Likewise.
6914 * gdb.base/unload.exp: Likewise.
6916 2016-04-27 Yao Qi <yao.qi@linaro.org>
6918 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6921 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6923 * vla-type.exp: Print structure from toplevel.
6925 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6927 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6929 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6932 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6934 * gdb.fortran/vla-type.f90: New file.
6935 * gdb.fortran/vla-type.exp: New file.
6937 2016-04-25 Yao Qi <yao.qi@linaro.org>
6939 * gdb.base/branch-to-self.c: New file.
6940 * gdb.base/branch-to-self.exp: New file.
6942 2016-04-22 Yao Qi <yao.qi@linaro.org>
6944 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6947 2016-04-22 Yao Qi <yao.qi@linaro.org>
6949 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6950 * gdb.base/annota3.exp: Likewise.
6952 2016-04-22 Yao Qi <yao.qi@linaro.org>
6954 * gdb.reverse/step-precsave.exp: Do one step and test program
6955 stops in "callee" and do multiple steps until program goes out
6957 * gdb.reverse/step-reverse.exp: Likewise.
6959 2016-04-22 Yao Qi <yao.qi@linaro.org>
6961 * gdb.trace/signal.exp: Also pass if
6962 $tracepoint_hits($i) > $iterations.
6964 2016-04-22 Yao Qi <yao.qi@linaro.org>
6966 * gdb.trace/signal.c: New file.
6967 * gdb.trace/signal.exp: New file.
6969 2016-04-19 Doug Evans <xdje42@gmail.com>
6971 * gdb.base/bad-file.exp: New file.
6973 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6975 * gdb.dwarf2/implref.exp: New file.
6977 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6979 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6980 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6981 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6982 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6983 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6984 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6985 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6986 * lib/fortran.exp (fortran_int4): New procedure.
6987 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6988 (fortran_logical4): Likewise.
6990 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6992 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6994 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6996 * lib/compiler.c: Add Intel specific preprocessor macros.
6997 * lib/compiler.cc: Likewise.
6999 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
7001 * gdb.server/connect-with-no-symbol-file.c: New file.
7002 * gdb.server/connect-with-no-symbol-file.exp: New file.
7004 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7006 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7008 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7010 * boards/gdbserver-base.exp (${board}_download): Copy source file to
7011 standard output directory.
7013 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7015 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7017 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
7019 * gdb.btrace/instruction_history.c (loop): Add declaration.
7021 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7023 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7025 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
7027 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7028 parentheses to print.
7029 (continue_handler): Likewise.
7031 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
7033 * gdb.server/solib-list.exp: Remove is_remote check.
7034 Pass shlib= to gdb_compile. Don't link shared library with
7035 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
7036 Run binary filename through "readlink -f" on the target.
7038 2016-04-08 Pedro Alves <palves@redhat.com>
7040 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
7041 interpreter filename as argument to gdbserver_spawn.
7042 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7043 Return empty if $last_loaded_file does not exist.
7045 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7047 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7048 * gdb.base/jit-main.c: Use exit after usage.
7050 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7052 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7053 GDBHISTSIZE prior to the tests.
7054 * gdb.base/gdbinit-history.exp: Likewise.
7056 2016-04-07 Pedro Alves <palves@redhat.com>
7058 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7059 instead of build_executable. Use gdb_load_shlibs.
7061 2016-04-07 Yao Qi <yao.qi@linaro.org>
7063 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7064 Execute "si" command.
7066 2016-04-07 Yao Qi <yao.qi@linaro.org>
7068 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7069 number instead of the comments on some line.
7071 2016-04-06 Don Breazeal <donb@codesourcery.com>
7073 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7074 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7076 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
7078 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7079 standard_output_file. Remove unused binfile variable.
7081 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
7083 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7084 * gdb.python/py-mi-objfile.exp: Match "list main" output
7087 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
7089 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7092 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7094 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7096 * gdb.trace/ftrace.exp: Likewise.
7097 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7099 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7100 (gdb_load_shlibs): Copy libraries to test directory when testing
7101 natively. Only set solib-search-path if testing remotely.
7102 * lib/mi-support.exp (mi_load_shlibs): Likewise.
7104 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7106 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7107 gdb_download. Use it even if the target is not remote.
7108 * gdb.base/jit.exp (compile_jit_test): Likewise.
7109 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7110 output directory if the destination board is local, otherwise use
7111 the standard remote_download from DejaGnu.
7112 (gdb_download): Remove.
7113 (gdb_load_shlibs): Use gdb_remote_download instead of
7115 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7116 Use gdb_remote_download instead of gdb_download. Use it even if
7117 the target is not remote.
7118 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7119 instead of gdb_download.
7121 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
7123 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7124 (test_insert_delete_modify): Call mi_load_shlibs before trying to
7127 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
7130 * gdb.base/printcmds.exp: Add artificial arrays tests.
7132 2016-03-31 Pedro Alves <palves@redhat.com>
7135 * gdb.base/jit-main.c: Include unistd.h.
7136 (ATTACH): Define to 0 if not already defined.
7137 (wait_for_gdb, mypid): New globals.
7138 (WAIT_FOR_GDB): New macro.
7139 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
7140 some breakpoint locations.
7141 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7143 (one_jit_test): Add REATTACH parameter, and handle it. Use
7144 continue_to_test_location.
7145 (top level): Test attach, and adjusts calls to one_jit_test.
7147 2016-03-31 Pedro Alves <palves@redhat.com>
7150 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
7151 BINSUFFIX parameter, and handle it.
7152 (top level): Adjust calls compile_jit_test.
7154 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
7157 * gdb.python/py-mi-events-gdb.py: New file.
7158 * gdb.python/py-mi-events.c: New file.
7159 * gdb.python/py-mi-events.exp: New file.
7161 2016-03-30 Yao Qi <yao.qi@linaro.org>
7163 * gdb.reverse/until-precsave.exp: Match function name only.
7164 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7165 Move malloc to a condition block.
7166 * gdb.reverse/until-reverse.exp: Match function name only.
7168 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
7170 * gdb.trace/ftrace.exp: Set arg0exp for s390.
7171 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7172 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7173 variable for GPR 0 instead of assuming it is register 0.
7174 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7175 * lib/trace-support.exp: Add s390 registers.
7177 2016-03-29 Yao Qi <yao.qi@linaro.org>
7179 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7181 2016-03-24 Yao Qi <yao.qi@linaro.org>
7183 * gdb.reverse/break-reverse.exp: Add quotation mark in the
7186 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7188 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7189 maintaining separate logic for constructing the output path.
7191 2016-03-16 Don Breazeal <donb@codesourcery.com>
7193 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7194 Retry fork and waitpid on interrupted system call errors.
7195 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7196 Use with_timeout_factor to increase timeout by factor of 10.
7198 2016-03-15 Don Breazeal <donb@codesourcery.com>
7200 * gdb.cp/scope-err.cc: New test program.
7201 * gdb.cp/scope-err.exp: New test script.
7202 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7203 lines and "set breakpoint here" comment.
7204 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7205 Fixed some whitespace and format issues.
7206 * gdb.mi/mi-linespec-err-cp.cc: New test program.
7207 * gdb.mi/mi-linespec-err-cp.exp: New test script.
7209 2016-03-15 Doug Evans <dje@google.com>
7211 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7212 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7213 All callers updated. Add tests for enums, mixed flags register.
7215 2016-03-15 Doug Evans <dje@google.com>
7217 * gdb.base/skip.c (main): Call test_skip_file_and_function.
7218 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7220 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
7222 * gdb.base/default.exp: Add $_as_string to the list of expected
7223 convenience functions.
7225 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
7227 * gdb.base/maint.exp: New tests for 'maint info line-table'.
7229 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
7231 * gdb.python/py-as-string.exp: New file.
7232 * gdb.python/py-as-string.c: New file.
7234 2016-03-09 Pedro Alves <palves@redhat.com>
7236 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7237 signal" -> "Thread NN received signal" output change.
7238 * gdb.threads/ia64-sigill.exp: Likewise.
7239 * gdb.threads/linux-dp.exp: Likewise.
7240 * gdb.threads/manythreads.exp: Likewise.
7241 * gdb.threads/pending-step.exp: Likewise.
7242 * gdb.threads/print-threads.exp: Likewise.
7243 * gdb.threads/sigstep-threads.exp: Likewise.
7244 * gdb.threads/staticthreads.exp: Likewise.
7245 * gdb.threads/tls.exp: Likewise.
7247 2016-03-09 Pedro Alves <palves@redhat.com>
7249 * gdb.base/command-line-input.exp: New file.
7251 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7253 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7254 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7255 * gdb.trace/pending.exp: Accept leading dot before function name.
7256 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7257 * lib/trace-support.exp: Set registers for ppc.
7259 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7261 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7262 use it for disassembly; accept .main in addition to main in backtrace.
7264 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
7265 Marcin Kościelnicki <koriakin@0x04.net>
7267 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7268 (gdb_recursion_test_ptr): New global variable.
7269 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7271 (gdb_c_test): Ditto.
7273 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7275 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7278 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7280 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7281 (bar): Add bar_start_lbl label.
7282 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7283 of foo/bar for emitting DWARF and tracing.
7285 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
7287 * analyze-racy-logs.py: Set executable bit.
7289 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
7291 * Makefile.in (DEFAULT_RACY_ITER): New variable.
7292 (CHECK_TARGET_TMP): Likewise.
7293 (check-single-racy): New rule.
7294 (check-parallel-racy): Likewise.
7295 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7296 (do-check-parallel-racy): New rule.
7297 (check-racy/%.exp): Likewise.
7298 * README (Racy testcases): New section.
7299 * analyze-racy-logs.py: New file.
7301 2016-03-03 Doug Evans <dje@google.com>
7303 * gdb.base/skip.exp: Use with_test_prefix.
7305 2016-03-03 Yao Qi <yao.qi@linaro.org>
7307 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7308 Invoke step_over_syscall "clone" and break_cond_on_syscall
7310 * gdb.base/step-over-clone.c: New file.
7312 2016-03-03 Yao Qi <yao.qi@linaro.org>
7314 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7317 2016-03-03 Yao Qi <yao.qi@linaro.org>
7319 * gdb.base/disp-step-fork.c: Rename to ...
7320 * gdb.base/step-over-fork.c: ... it. New file.
7321 * gdb.base/disp-step-vfork.c: Rename to ...
7322 * gdb.base/step-over-vfork.c: ... it. New file.
7323 * gdb.base/disp-step-syscall.exp: Rename to ...
7324 * gdb.base/step-over-syscall.exp: ... it. New file.
7325 (disp_step_cross_syscall): Rename to ...
7326 (step_over_syscall): ... it.
7328 2016-03-03 Yao Qi <yao.qi@linaro.org>
7330 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7331 If target supports condition evaluation on target, invoke
7332 break_cond_on_syscall for fork and vfork.
7334 2016-03-03 Yao Qi <yao.qi@linaro.org>
7336 * gdb.base/disp-step-syscall.exp: Don't invoke
7337 support_displaced_stepping.
7338 (disp_step_cross_syscall): Test with displaced stepping off and
7341 2016-03-03 Yao Qi <yao.qi@linaro.org>
7343 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7346 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7349 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7351 * gdb.fortran/vla-history.exp: Remove breakpoint.
7353 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7355 * gdb.fortran/vla-history.exp: Lookup array elements and printing
7358 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7360 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7363 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7365 * gdb.mi/vla.f90: Nullify pointer after declaration.
7367 2016-03-01 Pedro Alves <palves@redhat.com>
7369 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7371 2016-03-01 Pedro Alves <palves@redhat.com>
7373 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7374 before anything else.
7375 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7377 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7378 before anything else.
7379 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7381 2016-03-01 Pedro Alves <palves@redhat.com>
7383 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7385 2016-03-01 Yao Qi <yao.qi@linaro.org>
7387 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7388 prepare_for_testing.
7390 2016-03-01 Yao Qi <yao.qi@linaro.org>
7392 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7394 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7396 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7397 manually constructing the output path.
7399 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7401 * gdb.arch/s390-stackless.S: New.
7402 * gdb.arch/s390-stackless.exp: New.
7404 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7406 * gdb.dlang/circular.c: New file.
7407 * gdb.dlang/circular.exp: New file.
7409 2016-02-26 Yao Qi <yao.qi@linaro.org>
7411 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7412 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7413 (testcases): Update.
7415 2016-02-26 Yao Qi <yao.qi@linaro.org>
7417 * gdb.reverse/aarch64.c: Rename to ...
7418 * gdb.reverse/insn-reverse.c: ... it.
7419 * gdb.reverse/aarch64.exp: Rename to ...
7420 * gdb.reverse/insn-reverse.exp: ... it.
7422 2016-02-26 Yao Qi <yao.qi@linaro.org>
7424 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7425 (testcase_ftype): New.
7426 (testcases): New array.
7428 (main): Call each element in testcases.
7429 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7430 (read_testcase): New.
7431 Do the tests in a loop.
7433 2016-02-25 Yao Qi <yao.qi@linaro.org>
7435 * gdb.base/branches.c: Remove.
7437 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7440 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7442 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7444 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7446 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7448 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7449 change x86_64 call_insn to 'callq'.
7451 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7453 * gdb.trace/tfile-avx.c: Move to...
7454 * gdb.trace/tracefile-pseudo-reg.c: Here.
7455 * gdb.trace/tfile-avx.exp: Move to...
7456 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7458 2016-02-24 Gary Benson <gbenson@redhat.com>
7460 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7463 2016-02-23 Doug Evans <dje@google.com>
7465 * gdb.base/skip.c (test_skip): New function.
7466 (end_test_skip_file_and_function): New function.
7467 (test_skip_file_and_function): New function.
7468 * gdb.base/skip1.c (test_skip): New function.
7469 (skip1_test_skip_file_and_function): New function.
7470 * gdb.base/skip.exp: Add tests for new skip options.
7471 * gdb.base/skip-solib.exp: Update expected output.
7472 * gdb.perf/skip-command.cc: New file.
7473 * gdb.perf/skip-command.exp: New file.
7474 * gdb.perf/skip-command.py: New file.
7476 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7478 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7479 info registers pattern.
7481 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7483 * lib/future.exp: Add D support.
7484 (gdb_find_gdc): New proc.
7485 (gdb_default_target_compile): Add D support.
7487 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
7489 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7491 (trace_speed_test): Determine the iteration count for a time
7492 between 15..30 seconds.
7494 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7496 * gdb.arch/i386-mpx-sigsegv.c: New file.
7497 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7498 * gdb.arch/i386-mpx-simple_segv.c: New file.
7499 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7501 2016-02-18 Yao Qi <yao.qi@linaro.org>
7503 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7504 Don't call setup_kfail.
7506 2016-02-18 Yao Qi <yao.qi@linaro.org>
7508 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7509 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7511 2016-02-16 Doug Evans <dje@google.com>
7513 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7514 * gdb.base/skip1.c: Ditto.
7515 * gdb.base/skip.exp: Whitespace cleanup.
7517 2016-02-16 Don Breazeal <donb@codesourcery.com>
7520 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7521 Remove kfail for PR remote/19496.
7523 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7525 * lib/gdb.exp (standard_temp_file): Return a path specific to
7526 the runtest invocation.
7528 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7530 * gdb.trace/save-trace.exp: Change relative path to be in the
7531 standard output directory.
7533 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7535 * gdb.arch/i386-prologue.c: Add missing prototypes.
7537 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7539 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7540 * gdb.arch/i386-prologue.exp: Likewise.
7541 * gdb.arch/i386-size.exp: Likewise.
7543 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7545 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7546 define object file path.
7547 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7549 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7550 standard_output_file to define binfile.
7552 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7554 Fix compatibility with recent gfortran-5.3.1.
7555 * gdb.fortran/vla-history.exp (print vla1 allocated)
7556 (print vla2 allocated, print $2, print $3): Remove
7557 (print $4): Rename to ...
7558 (print $2): ... here.
7559 (print $9): Rename to ...
7560 (print $5): ... here.
7561 (print $10): Rename to ...
7562 (print $6): ... here.
7563 * gdb.fortran/vla.f90: Add pvla initialization.
7565 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7567 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7569 * gdb.fortran/vla-value-sub.exp: Likewise.
7571 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7573 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7575 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7577 * i386-biarch-core.exp: Define corefile using
7578 standard_output_file.
7580 2016-02-12 Yao Qi <yao.qi@linaro.org>
7582 * gdb.arch/arm-single-step-kernel-helper.c: New.
7583 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7585 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7587 * gdb.btrace/tailcall-only.exp: New.
7588 * gdb.btrace/tailcall-only.c: New.
7589 * gdb.btrace/x86_64-tailcall-only.S: New.
7590 * gdb.btrace/i686-tailcall-only.S: New.
7592 2016-02-11 Pedro Alves <palves@redhat.com>
7594 * README (Parallel testing): Add missing double quotes.
7596 2016-02-11 Pedro Alves <palves@redhat.com>
7598 * README (Parallel testing): New section.
7599 (GDB_PARALLEL): Rewrite.
7600 (FORCE_PARALLEL): Document.
7602 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7604 * gdb.trace/tfile-avx.c: New test.
7605 * gdb.trace/tfile-avx.exp: New test.
7607 2016-02-09 Keith Seitz <keiths@redhat.com>
7609 PR breakpoints/19546
7610 * gdb.base/infcall-exec.c: New file.
7611 * gdb.base/infcall-exec2.c: New file.
7612 * gdb.base/infcall-exec.exp: New file.
7614 2016-02-09 Keith Seitz <keiths@redhat.com>
7616 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7617 (toplevel): Call test_bkpt_address.
7619 2016-02-09 Keith Seitz <keiths@redhat.com>
7622 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7623 (toplevel): Call test_bkpt_address.
7625 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7627 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7629 * configure: Regenerate.
7631 2016-02-09 Pedro Alves <palves@redhat.com>
7633 PR breakpoints/19548
7634 * gdb.base/execl-update-breakpoints.c (some_function): New
7637 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7638 Tighten expected GDB output.
7640 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7642 * Makefile.in (ALL_SUBDIRS): Remove.
7643 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7644 (distclean maintainer-clean realclean): Likewise.
7645 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7646 * configure: Regenerate.
7647 * gdb.ada/Makefile.in: Delete.
7648 * gdb.arch/Makefile.in: Likewise.
7649 * gdb.asm/Makefile.in: Likewise.
7650 * gdb.base/Makefile.in: Likewise.
7651 * gdb.btrace/Makefile.in: Likewise.
7652 * gdb.cell/Makefile.in: Likewise.
7653 * gdb.compile/Makefile.in: Likewise.
7654 * gdb.cp/Makefile.in: Likewise.
7655 * gdb.disasm/Makefile.in: Likewise.
7656 * gdb.dlang/Makefile.in: Likewise.
7657 * gdb.dwarf2/Makefile.in: Likewise.
7658 * gdb.fortran/Makefile.in: Likewise.
7659 * gdb.gdb/Makefile.in: Likewise.
7660 * gdb.go/Makefile.in: Likewise.
7661 * gdb.guile/Makefile.in: Likewise.
7662 * gdb.java/Makefile.in: Likewise.
7663 * gdb.linespec/Makefile.in: Likewise.
7664 * gdb.mi/Makefile.in: Likewise.
7665 * gdb.modula2/Makefile.in: Likewise.
7666 * gdb.multi/Makefile.in: Likewise.
7667 * gdb.objc/Makefile.in: Likewise.
7668 * gdb.opencl/Makefile.in: Likewise.
7669 * gdb.opt/Makefile.in: Likewise.
7670 * gdb.pascal/Makefile.in: Likewise.
7671 * gdb.perf/Makefile.in: Likewise.
7672 * gdb.python/Makefile.in: Likewise.
7673 * gdb.reverse/Makefile.in: Likewise.
7674 * gdb.server/Makefile.in: Likewise.
7675 * gdb.stabs/Makefile.in: Likewise.
7676 * gdb.threads/Makefile.in: Likewise.
7677 * gdb.trace/Makefile.in: Likewise.
7678 * gdb.xml/Makefile.in: Likewise.
7679 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7681 (standard_output_file): Remove check for GDB_PARALLEL, always
7682 return path in outputs/$subdir/$testname.
7684 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7686 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7687 (site.exp): Assign abs_srcdir to tcl's srcdir.
7689 2016-02-04 Yao Qi <yao.qi@linaro.org>
7691 * gdb.base/foll-exec-mode.c: Include limits.h.
7692 (main): Add parameters argc and argv. Get directory from
7694 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7696 * gdb.base/foll-exec.c: Include limits.h.
7697 (main): Add parameters argc and argv.
7698 Get directory from argv[0].
7699 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7700 Adjust tests on the number of lines as source code changed.
7701 * gdb.base/foll-vfork-exit.c: Include limits.h.
7702 (main): Add one line of statement before vfork.
7703 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7704 (main): Add parameters argc and argv. Get directory from
7706 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7707 (setup_gdb): Set tbreak to skip some source lines.
7708 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7709 (main): Add parameters argc and argv. Get directory from
7711 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7713 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7714 (main): Add parameters argc and argv. Get directory from
7716 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7719 2016-02-01 Doug Evans <dje@google.com>
7721 * gdb.base/skip.exp: Clean up multiple references to same test name.
7723 2016-02-01 Pedro Alves <palves@redhat.com>
7726 * gdb.threads/forking-threads-plus-breakpoint.exp
7727 (displaced_stepping_supported): New global.
7728 (probe_displaced_stepping_support): New procedure.
7729 (do_test): Add 'displaced' parameter, and use it.
7730 (top level): Check for displaced stepping support. Add displaced
7731 stepping on/off testing axis.
7733 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7735 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7736 pointer. Don't perform further tests on the unassociated pointer
7737 if the first test fails.
7739 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7741 * gdb.base/max-value-size.c: New file.
7742 * gdb.base/max-value-size.exp: New file.
7743 * gdb.base/huge.exp: Disable max-value-size for this test.
7745 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7747 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7749 2016-01-28 Yao Qi <yao.qi@linaro.org>
7751 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7753 2016-01-25 Pedro Alves <palves@redhat.com>
7756 * gdb.base/fork-running-state.c: New file.
7757 * gdb.base/fork-running-state.exp: New file.
7759 2016-01-25 Pedro Alves <palves@redhat.com>
7762 * gdb.base/catch-fork-kill.c: New file.
7763 * gdb.base/catch-fork-kill.exp: New file.
7765 2016-01-25 Pedro Alves <palves@redhat.com>
7767 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7768 Delete, moved to lib/gdb.exp.
7769 * gdb.threads/forking-threads-plus-breakpoint.exp
7770 (foreach_with_prefix): Likewise.
7771 * gdb.threads/process-dies-while-handling-bp.exp
7772 (foreach_with_prefix): Likewise.
7773 * lib/gdb.exp (foreach_with_prefix): New procedure.
7775 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7777 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7778 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7780 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7782 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7785 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7786 Pedro Alves <palves@redhat.com>
7788 Fix testsuite compatibility with Guile.
7789 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7792 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7794 Fix testsuite compatibility with Guile.
7795 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7796 (thread 1): New test for backtrace through signal handler.
7798 2016-01-22 Yao Qi <yao.qi@linaro.org>
7801 * gdb.base/multi-forks.c: Include
7802 ../lib/unbuffer_output.c
7803 (main): Call gdb_unbuffer_output.
7805 2016-01-21 Doug Evans <dje@google.com>
7807 * lib/ada.exp (gdb_compile_ada): Fix typo.
7809 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7811 * gdb.base/break-fun-addr.exp: New file.
7812 * gdb.base/break-fun-addr1.c: New file.
7813 * gdb.base/break-fun-addr2.c: New file.
7815 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7817 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7818 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7821 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7823 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7824 when GDB can not set the vector return value. Add more comments
7827 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7829 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7832 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7834 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7836 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7838 * Makefile.in (check-single): Pass --status to runtest.
7839 (check/%.exp): Likewise.
7841 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7843 * Makefile.in (check-parallel): Propagate return code from make
7846 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7848 * gdb.trace/ftrace.exp: Fix expected message on continue.
7849 * gdb.trace/pending.exp: Fix expected message on continue.
7850 * gdb.trace/trace-break.exp: Fix expected message on continue.
7852 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7854 * lib/gdb.exp (gdb_test): Remove unused global references.
7856 2016-01-18 Pedro Alves <palves@redhat.com>
7858 * gdb.base/async-shell.exp: Adjust expected output.
7859 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7860 * gdb.base/siginfo-thread.exp: Adjust expected output.
7861 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7862 * gdb.java/jnpe.exp: Adjust expected output.
7863 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7864 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7865 * gdb.threads/leader-exit.exp: Adjust expected output.
7866 * gdb.threads/manythreads.exp: Adjust expected output.
7867 * gdb.threads/pthreads.exp: Adjust expected output.
7868 * gdb.threads/schedlock.exp: Adjust expected output.
7869 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7870 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7872 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7874 * gdb.threads/sigthread.exp: Adjust expected output.
7875 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7877 2016-01-18 Yao Qi <yao.qi@linaro.org>
7879 * gdb.guile/scm-section-script.c: Replace @progbits with
7881 * gdb.python/py-section-script.c: Likewise.
7883 2016-01-15 Pedro Alves <palves@redhat.com>
7885 * gdb.multi/tids.exp: Test star wildcard ranges.
7887 2016-01-15 Pedro Alves <palves@redhat.com>
7889 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7890 command from "thread apply" invocation.
7891 (thr_apply_info_thr_invalid): Default the expected output to the
7893 (top level): Add tests that use convenience variables. Add tests
7894 for "thread apply" with a valid TID list, but missing the command.
7896 2016-01-13 Pedro Alves <palves@redhat.com>
7898 * gdb.base/default.exp: Expect $_gthread as well.
7899 * gdb.multi/tids.exp: Test $_gthread.
7900 * gdb.threads/thread-specific.exp: Test $_gthread.
7902 2016-01-13 Pedro Alves <palves@redhat.com>
7904 * gdb.multi/tids.exp: Test "info threads -gid".
7906 2016-01-13 Pedro Alves <palves@redhat.com>
7908 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7910 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7912 2016-01-07 Pedro Alves <palves@redhat.com>
7914 * gdb.base/break.exp: Adjust to output changes.
7915 * gdb.base/hbreak2.exp: Likewise.
7916 * gdb.base/sepdebug.exp: Likewise.
7917 * gdb.base/watch_thread_num.exp: Likewise.
7918 * gdb.linespec/keywords.exp: Likewise.
7919 * gdb.multi/info-threads.exp: Likewise.
7920 * gdb.threads/thread-find.exp: Likewise.
7921 * gdb.multi/tids.c: New file.
7922 * gdb.multi/tids.exp: New file.
7924 2016-01-13 Pedro Alves <palves@redhat.com>
7926 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7928 2016-01-13 Pedro Alves <palves@redhat.com>
7930 * gdb.base/default.exp: Expect $_inferior as well.
7931 * gdb.multi/base.exp: Test $_inferior.
7933 2016-01-13 Pedro Alves <palves@redhat.com>
7935 PR breakpoints/19388
7936 * gdb.base/catch-signal-siginfo-cond.c: New file.
7937 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7939 2016-01-12 Josh Stone <jistone@redhat.com>
7940 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7942 * gdb.base/catch-syscall.c (do_execve): New variable.
7943 (main): Conditionally trigger an execve.
7944 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7945 (test_catch_syscall_execve): New, check entry/return across execve.
7946 (do_syscall_tests): Call test_catch_syscall_execve.
7948 2016-01-12 Pedro Alves <palves@redhat.com>
7950 * gdb.base/random-signal.exp (do_test): New procedure, with body
7951 of testcase moved in.
7953 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7954 Pedro Alves <palves@redhat.com>
7956 * gdb.base/funcargs.exp (finish from indirectly called function):
7957 Reintroduce the case for 'First'.
7959 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7960 Pedro Alves <palves@redhat.com>
7962 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7963 (tcatch_vfork_then_child_follow_exec)
7964 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7967 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7969 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7970 and repeats to unlimited.
7971 * gdb.python/py-value.exp: Likewise.
7972 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7973 and repeats to unlimited.
7975 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7977 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7978 and reordering the functions.
7979 * gdb.multi/hangout.c: Likewise.
7980 * gdb.multi/hello.c: Likewise.
7982 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7984 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7986 (SingleStatisticTestResult.report): Use dict.keys instead of
7989 2016-01-06 Pedro Alves <palves@redhat.com>
7991 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7993 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7995 * gdb.btrace/dlopen.exp: New.
7996 * gdb.btrace/dlopen.c: New.
7997 * gdb.btrace/dlopen-dso.c: New.
7999 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
8001 * lib/gdb.exp (gdb_test): Update comments to clarify that the
8002 PATTERN argument is optional.
8004 2015-12-24 Joel Brobecker <brobecker@adacore.com>
8006 * lib/ada.exp (target_compile_ada_from_dir): New function.
8007 (gdb_compile_ada): Reimplement avoiding the use of project files.
8008 * gdb.ada/gnat_ada.gpr: Delete.
8009 * gdb.ada/cond_lang.exp: Adjust test to make path before
8011 * gdb.ada/small_reg_param.exp: Likewise.
8013 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
8015 * gdb.base/foll-vork.exp: Remove HP-UX special case.
8017 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
8019 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8022 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
8024 * gdb.base/break.exp: Remove dead code.
8025 * gdb.base/sepdebug.exp: Likewise.
8027 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8029 * gdb.asm/asm-source.exp: Remove HP-UX references.
8030 * gdb.base/annota1.exp: Likewise.
8031 * gdb.base/annota3.exp: Likewise.
8032 * gdb.base/attach.exp: Likewise.
8033 * gdb.base/bigcore.exp: Likewise.
8034 * gdb.base/break.exp: Likewise.
8035 * gdb.base/call-ar-st.exp: Likewise.
8036 * gdb.base/callfuncs.exp: Likewise.
8037 * gdb.base/catch-fork-static.exp: Likewise.
8038 * gdb.base/display.exp: Likewise.
8039 * gdb.base/foll-exec-mode.exp: Likewise.
8040 * gdb.base/foll-exec.exp: Likewise.
8041 * gdb.base/foll-fork.exp: Likewise.
8042 * gdb.base/foll-vfork.exp: Likewise.
8043 * gdb.base/funcargs.exp: Likewise.
8044 * gdb.base/hbreak2.exp: Likewise.
8045 * gdb.base/inferior-died.exp: Likewise.
8046 * gdb.base/interrupt.exp: Likewise.
8047 * gdb.base/multi-forks.exp: Likewise.
8048 * gdb.base/nodebug.exp: Likewise.
8049 * gdb.base/sepdebug.exp: Likewise.
8050 * gdb.base/solib1.c: Likewise.
8051 * gdb.base/step-test.exp: Likewise.
8052 * gdb.mi/non-stop.c: Likewise.
8053 * gdb.mi/pthreads.c: Likewise.
8054 * gdb.multi/bkpt-multi-exec.ex: Likewise.
8055 * gdb.threads/pthreads.c: Likewise.
8056 * gdb.threads/staticthreads.exp: Likewise.
8057 * lib/future.exp: Likewise.
8058 * lib/gdb.exp: Likewise.
8059 * gdb.base/so-indr-cl.c: Remove.
8060 * gdb.base/so-indr-cl.exp: Likewise.
8061 * gdb.base/solib.c: Likewise.
8062 * gdb.base/solib.exp: Likewise.
8063 * gdb.base/solib2.c: Likewise.
8065 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8067 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8068 * gdb.base/call-ar-st.exp: Likewise.
8069 * gdb.base/callfuncs.exp: Likewise.
8070 * gdb.base/condbreak.exp: Likewise.
8071 * gdb.base/constvars.exp: Likewise.
8072 * gdb.base/hbreak2.exp: Likewise.
8073 * gdb.base/langs.exp: Likewise.
8074 * gdb.base/list.exp: Likewise.
8075 * gdb.base/long_long.exp: Likewise.
8076 * gdb.base/ptype.exp: Likewise.
8077 * gdb.base/scope.exp: Likewise.
8078 * gdb.base/signals.exp: Likewise.
8079 * gdb.base/so-impl-ld.exp: Likewise.
8080 * gdb.base/varargs.exp: Likewise.
8081 * gdb.base/volatile.exp: Likewise.
8082 * gdb.base/whatis.exp: Likewise.
8083 * gdb.cp/cplusfuncs.exp: Likewise.
8084 * gdb.cp/inherit.exp: Likewise.
8085 * gdb.cp/local.exp: Likewise.
8086 * gdb.cp/member-ptr.exp: Likewise.
8087 * gdb.cp/method.exp: Likewise.
8088 * gdb.cp/overload.exp: Likewise.
8089 * gdb.cp/templates.exp: Likewise.
8090 * gdb.stabs/weird.exp: Likewise.
8091 * lib/compiler.c: Likewise.
8092 * lib/compiler.cc: Likewise.
8093 * lib/cp-support.exp: Likewise.
8094 * lib/gdb.exp: Likewise.
8096 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
8098 * configure.ac: Remove HP-UX case.
8099 * configure: Regenerate.
8101 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
8103 * lib/gdb.exp (gdb_compile): Add function doc.
8105 2015-12-17 Pedro Alves <palves@redhat.com>
8108 * gdb.multi/info-threads.exp: New file.
8110 2015-12-15 Yao Qi <yao.qi@linaro.org>
8112 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8115 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8117 * gdb.base/history-duplicates.exp: Skip if no readline support.
8119 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8121 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8123 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8125 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8127 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8129 * gdb.base/completion.exp: Skip tests that interrupt GDB with
8130 ctrl-C if nointerrupts target property is set.
8131 * gdb.base/double-prompt-target-event-error.exp: Likewise.
8132 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8133 * gdb.base/paginate-bg-execution.exp: Likewise.
8134 * gdb.base/paginate-execution-startup.exp: Likewise.
8135 * gdb.base/random-signal.exp: Likewise.
8136 * gdb.base/range-stepping.exp: Likewise.
8137 * gdb.cp/annota2.exp: Likewise.
8138 * gdb.cp/annota3.exp: Likewise.
8139 * gdb.gdb/selftest.exp: Likewise.
8140 * gdb.threads/continue-pending-status.exp: Likewise.
8141 * gdb.threads/leader-exit.exp: Likewise.
8142 * gdb.threads/manythreads.exp: Likewise.
8143 * gdb.threads/pthreads.exp: Likewise.
8144 * gdb.threads/schedlock.exp: Likewise.
8145 * gdb.threads/sigthread.exp: Likewise.
8147 2015-12-11 Don Breazeal <donb@codesourcery.com>
8149 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8151 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8152 * gdb.base/foll-exec.exp (main): Enable for target remote.
8153 * gdb.base/foll-fork.exp (main): Likewise.
8154 * gdb.base/foll-vfork.exp (main): Likewise.
8155 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8156 (proc continue_to_exit_bp_loc): Use clean_restart.
8157 * gdb.base/pie-execl.exp (main): Disable for target remote.
8158 * gdb.base/watch-vfork.exp (main): Enable for target remote.
8159 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8160 * gdb.threads/execl.exp (main): Likewise.
8161 * gdb.threads/fork-child-threads.exp (main): Likewise.
8162 * gdb.threads/fork-plus-threads.exp (main): Disable for target
8164 * gdb.threads/fork-thread-pending.exp (main): Enable for target
8166 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8167 pid.tid style ptids, instead of just tid.
8168 * gdb.threads/thread-execl.exp (main): Enable for target remote.
8169 * gdb.threads/watchpoint-fork.exp (main): Likewise.
8170 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8171 ptids, instead of just tid.
8173 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8175 * gdb.base/list.exp (test_list_forward): Add end of file error
8177 (test_repeat_list_command): Add end of file error test.
8178 (test_list_backwards): Add beginning of file error test.
8180 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8182 * gdb.base/list.exp (test_list_invalid_args): New function,
8183 defined, and called.
8185 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8187 * gdb.base/list.exp (test_list): Make test names unique.
8189 2015-12-11 Yao Qi <yao.qi@linaro.org>
8191 * gdb.base/coremaker2.c: Remove.
8193 2015-12-10 Pedro Alves <palves@redhat.com>
8195 * gdb.multi/base.exp: Remove stale "spaces" references.
8197 2015-12-10 Pedro Alves <palves@redhat.com>
8199 * gdb.multi/base.exp: Don't use nowarnings.
8200 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8201 * gdb.multi/hangout.c: Include stdio.h.
8202 * gdb.multi/hello.c: Include stdlib.h.
8203 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8204 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8205 * gdb.multi/multi-arch.exp: Don't use nowarnings.
8207 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
8209 * gdb.dwarf2/dw2-ranges-base.c: New file.
8210 * gdb.dwarf2/dw2-ranges-base.exp: New file.
8211 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8212 support additional line table, and debug ranges generation.
8213 (Dwarf::ranges): New function, generate .debug_ranges.
8214 (Dwarf::lines): Support generating simple line table programs.
8215 (Dwarf::assemble): Initialise new namespace variables.
8217 2015-12-09 Kevin Buettner <kevinb@redhat.com>
8219 * gdb.base/async.exp (proc test_background): Add case for
8220 asynchronous execution not supported.
8222 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
8224 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8225 format and change test names to make them unique.
8227 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
8228 Pedro Alves <pedro@redhat.com>
8231 Add checking of floatformats setup on x86_64 hosts.
8232 * gdb.arch/i386-float.S (main): Load bigval and smallval.
8233 (smallval, bigval): New labels/constants.
8234 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8235 float" after loading bigval and smallval.
8237 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
8239 * gdb.ada/fun_overload_menu.exp: New testcase.
8240 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8242 2015-12-04 Josh Stone <jistone@redhat.com>
8244 * gdb.base/catch-fork-static.exp: New.
8246 2015-12-03 Yao Qi <yao.qi@linaro.org>
8248 * gdb.base/sizeof.c: Don't include stdio.h and
8249 ../lib/unbuffer_output.c.
8250 (main): New variable 'size' and 'value'. Remove printf and
8251 gdb_unbuffer_output. Assign return value to size and value.
8252 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8254 (check_sizeof): Check the result by printing variable 'size'.
8255 (check_valueof): Check the result by printing variable 'value'.
8257 2015-12-01 Yao Qi <yao.qi@linaro.org>
8259 * gdb.base/disp-step-syscall.exp: Define syscall instruction
8260 for aarch64*-*-linux* target.
8262 2015-11-30 Pedro Alves <palves@redhat.com>
8264 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8266 2015-11-30 Pedro Alves <palves@redhat.com>
8268 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8269 Handle non-stop mode vCont replies.
8271 2015-11-30 Pedro Alves <palves@redhat.com>
8273 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8274 prepare_for_testing. Start gdb with "set non-stop on" appended to
8275 GDBFLAGS. Lax expected stop output.
8277 2015-11-27 Yao Qi <yao.qi@linaro.org>
8279 * gdb.arch/arm-neon.exp: New.
8280 * gdb.arch/arm-neon.c: New.
8282 2015-11-27 Yao Qi <yao.qi@linaro.org>
8284 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8286 2015-11-27 Yao Qi <yao.qi@linaro.org>
8288 * gdb.cp/annota2.exp: Allow multiple occurrences of the
8289 frames-invalid annotation.
8291 2015-11-27 Yao Qi <yao.qi@linaro.org>
8293 * gdb.cp/annota2.exp: Use ${frames_invalid}.
8295 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
8297 * gdb.threads/names.exp: New file.
8298 * gdb.threads/names.c: New file.
8299 * README: Mention gdb,no_thread_names.
8301 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
8304 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8307 2015-11-24 Pedro Alves <palves@redhat.com>
8310 * gdb.base/display.exp: Expect displays to be sorted in ascending
8311 order. Use multi_line.
8312 * gdb.base/solib-display.exp: Likewise.
8314 2015-11-24 Pedro Alves <palves@redhat.com>
8317 * gdb.base/display.exp: Expect displays to be sorted in ascending
8318 order. Use multi_line.
8319 * gdb.base/solib-display.exp: Likewise.
8321 2015-11-24 Pedro Alves <palves@redhat.com>
8324 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8325 threads in ascending order.
8326 * gdb.base/foll-fork.exp: Likewise.
8327 * gdb.base/foll-vfork.exp: Likewise.
8328 * gdb.base/multi-forks.exp: Likewise.
8329 * gdb.mi/mi-nonstop.exp: Likewise.
8330 * gdb.mi/mi-nsintrall.exp: Likewise.
8331 * gdb.multi/base.exp: Likewise.
8332 * gdb.multi/multi-arch.exp: Likewise.
8333 * gdb.python/py-inferior.exp: Likewise.
8334 * gdb.threads/break-while-running.exp: Likewise.
8335 * gdb.threads/execl.exp: Likewise.
8336 * gdb.threads/gcore-thread.exp: Likewise.
8337 * gdb.threads/info-threads-cur-sal.exp: Likewise.
8338 * gdb.threads/kill.exp: Likewise.
8339 * gdb.threads/linux-dp.exp: Likewise.
8340 * gdb.threads/multiple-step-overs.exp: Likewise.
8341 * gdb.threads/next-bp-other-thread.exp: Likewise.
8342 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8343 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8344 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8345 * gdb.threads/thread-find.exp: Likewise.
8346 * gdb.threads/tls.exp: Likewise.
8347 * lib/mi-support.exp (mi_reverse_list): Delete.
8348 (mi_check_thread_states): No longer reverse list.
8350 2015-11-24 Pedro Alves <palves@redhat.com>
8352 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
8355 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8357 * gdb.trace/actions.c: Include trace-common.h.
8358 (main): Add a location for a fast tracepoint.
8359 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8360 the normal tracepoints.
8361 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8363 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8365 * save-trace.exp: Factor out code to these...
8366 (gdb_save_tracepoints): New.
8367 (gdb_load_tracepoints): New.
8368 (do_save_load_test): New.
8370 2015-11-23 Kevin Buettner <kevinb@redhat.com>
8372 * gdb.base/asmlabel.exp: New test.
8373 * gdb.base/asmlabel.c: New test case.
8375 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8377 * gdb.base/wrong_frame_bt_full-main.c: New file.
8378 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8379 * gdb.base/wrong_frame_bt_full.exp: New file.
8381 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8383 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8385 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8387 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8388 pstate register when comparing registers values in
8389 sparc64-*-linux-gnu targets to avoid spurious differences.
8391 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8393 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8395 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8397 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8398 as type argument to gdb_compile.
8399 * gdb.base/nested-subp2.exp: Likewise.
8400 * gdb.base/nested-subp3.exp: Likewise.
8402 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
8404 * lib/dwarf.exp (_note): Fix left shift of negative value.
8405 * gdb.trace/trace-condition.exp: Likewise.
8407 2015-11-13 Yao Qi <yao.qi@linaro.org>
8409 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8410 comments about d10v.
8411 (test_scalar_returns): Likewise.
8412 * gdb.base/d10v.ld: Remove.
8413 * gdb.base/overlays.exp: Remove the target triplet checking for
8415 * gdb.base/structs.exp (test_struct_returns): Remove the
8416 comments about d10v.
8417 (test_struct_calls): Likewise.
8419 2015-11-13 Yao Qi <yao.qi@linaro.org>
8421 * gdb.base/gnu_vector.exp: Check the return value by "p res".
8422 * gdb.base/gnu_vector.c: Don't include stdio.h.
8423 (main): Don't print res and call add_some_intvecs.
8425 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8427 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8430 (func4): Use FAST_TRACEPOINT_LABEL.
8431 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8434 (thread_function): Use FAST_TRACEPOINT_LABEL.
8435 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8437 (marker): Use FAST_TRACEPOINT_LABEL.
8438 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8439 (pendfunc1): Remove.
8440 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8441 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8443 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8444 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8447 (marker): Use FAST_TRACEPOINT_LABEL.
8448 * gdb.trace/trace-common.h: New header.
8449 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8452 (marker): Use FAST_TRACEPOINT_LABEL.
8453 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8455 (thread_function): Use FAST_TRACEPOINT_LABEL.
8457 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8459 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8461 * gdb.trace/change-loc.exp: Use global pcreg definition.
8462 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8463 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8465 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8466 * gdb.trace/pending.exp: Likewise.
8467 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8468 * gdb.trace/trace-break.exp: Likewise.
8469 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8471 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8472 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8474 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8476 2015-11-09 Joel Brobecker <brobecker@adacore.com>
8478 * gdb.ada/fin_fun_out: New testcase.
8480 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8482 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8483 value associated with DW_AT_byte_size.
8484 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8485 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8488 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8490 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8491 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8493 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8494 gdb.dwarf2/dw2-canonicalize-type.exp,
8495 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8496 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8497 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8498 provided by gdb_target_symbol_prefix_flags_asm.
8499 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8500 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8501 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8502 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8503 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8504 macros where needed). Use this macro for symbols which require
8505 the prefix provided by SYMBOL_PREFIX.
8507 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8509 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8511 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8512 representing expressions, of more than one list element.
8513 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8514 to prepend linker symbol prefix to f.
8515 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8516 table_1 and table_2.
8517 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8518 Likewise, for f and g.
8519 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8521 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8523 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8524 table_1_ptr and table_2_ptr.
8526 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8527 Joel Brobecker <brobecker@adacore.com>
8529 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8531 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8533 * gdb.reverse/s390-mvcle.c: New test.
8534 * gdb.reverse/s390-mvcle.exp: New file.
8535 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8537 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8539 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8541 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8543 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8545 * gdb.reverse/getresuid-reverse.exp: Likewise.
8546 * gdb.reverse/pipe-reverse.exp: Likewise.
8547 * gdb.reverse/readv-reverse.exp: Likewise.
8548 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8549 * gdb.reverse/time-reverse.exp: Likewise.
8550 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8552 2015-10-30 Yao Qi <yao.qi@linaro.org>
8554 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8555 (empty_cycle): Remove.
8556 (main): Don't call empty_cycle. Don't use watch_count_done.
8557 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8558 empty_cycle. Rewrite the code counting HW watchpoints.
8560 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8562 * gdb.reverse/fstatat-reverse.c: New test.
8563 * gdb.reverse/fstatat-reverse.exp: New file.
8564 * gdb.reverse/getresuid-reverse.c: New test.
8565 * gdb.reverse/getresuid-reverse.exp: New file.
8566 * gdb.reverse/pipe-reverse.c: New test.
8567 * gdb.reverse/pipe-reverse.exp: New file.
8568 * gdb.reverse/readv-reverse.c: New test.
8569 * gdb.reverse/readv-reverse.exp: New file.
8570 * gdb.reverse/recvmsg-reverse.c: New test.
8571 * gdb.reverse/recvmsg-reverse.exp: New file.
8572 * gdb.reverse/time-reverse.c: New test.
8573 * gdb.reverse/time-reverse.exp: New file.
8574 * gdb.reverse/waitpid-reverse.c: New test.
8575 * gdb.reverse/waitpid-reverse.exp: New file.
8577 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8579 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8581 2015-10-26 Doug Evans <dje@google.com>
8584 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8585 * gdb.dwarf2/bad-regnum.c: New file.
8586 * gdb.dwarf2/bad-regnum.exp: New file.
8588 2015-10-26 Doug Evans <dje@google.com>
8591 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8594 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8596 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8597 for a change by "Mention language in compile error message".
8599 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8602 * gdb.python/py-type.c (C::a_method): New.
8603 (C::a_const_method): New.
8604 (C::a_static_method): New.
8606 * gdb.python/py-type.exp (test_fields): Test getting fields
8607 from function and method.
8609 2015-10-21 Keven Boell <keven.boell@intel.com>
8611 * gdb.fortran/vla-alloc-assoc.exp: New file.
8612 * gdb.fortran/vla-datatypes.exp: New file.
8613 * gdb.fortran/vla-datatypes.f90: New file.
8614 * gdb.fortran/vla-history.exp: New file.
8615 * gdb.fortran/vla-ptype-sub.exp: New file.
8616 * gdb.fortran/vla-ptype.exp: New file.
8617 * gdb.fortran/vla-sizeof.exp: New file.
8618 * gdb.fortran/vla-sub.f90: New file.
8619 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8620 * gdb.fortran/vla-value-sub-finish.exp: New file.
8621 * gdb.fortran/vla-value-sub.exp: New file.
8622 * gdb.fortran/vla-value.exp: New file.
8623 * gdb.fortran/vla-ptr-info.exp: New file.
8624 * gdb.mi/mi-vla-fortran.exp: New file.
8625 * gdb.mi/vla.f90: New file.
8627 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8629 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8630 of hardwired timeout value.
8632 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8633 Pedro Alves <palves@redhat.com>
8635 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8636 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8638 2015-10-19 Josh Stone <jistone@redhat.com>
8640 * gdb.base/catch-syscall.c: Include <sched.h>.
8641 (unknown_syscall): New variable.
8642 (main): Trigger a vfork and an unknown syscall.
8643 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8644 (unknown_syscall_number): Likewise.
8645 (check_call_to_syscall): Accept an optional syscall pattern.
8646 (check_return_from_syscall): Likewise.
8647 (check_continue): Likewise.
8648 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8649 (test_catch_syscall_skipping_return): New test toggling off 'catch
8650 syscall' to step over the syscall return, then toggling back on.
8651 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8652 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8653 (do_syscall_tests): Call test_catch_syscall_without_args and
8654 test_catch_syscall_mid_vfork.
8655 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8656 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8658 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8660 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8661 print g_vE): Add new pass patterns.
8662 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8663 print various symbol names for vptr fields.
8665 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8667 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8670 2015-10-12 Yao Qi <yao.qi@linaro.org>
8672 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8674 2015-10-12 Yao Qi <yao.qi@linaro.org>
8676 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8677 is aarch64*-*-linux*.
8679 2015-10-12 Yao Qi <yao.qi@linaro.org>
8681 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8682 (can_relocate_bcond_true): ... it.
8683 (can_relocate_bcond_false): New function.
8685 (can_relocate_bl): Likewise.
8686 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8689 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8691 * gdb.base/nested-addr.c: New file.
8692 * gdb.base/nested-addr.exp: New testcase.
8694 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8696 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8697 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8698 its output. Ignore the output of "record goto begin" and instead
8699 check that GDB is replaying.
8701 2015-10-09 Pedro Alves <palves@redhat.com>
8703 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8704 (top level): Use it in the run with no args test.
8706 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8708 * gdb.dlang/properties.exp: New file.
8710 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8712 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8713 whether or not address 0x1000 is mapped on the target.
8715 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8717 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8720 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8722 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8723 instruction-history test.
8725 2015-09-28 Doug Evans <dje@google.com>
8727 * gdb.base/gcore.c (array_func): Add reference to static_array.
8729 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8731 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8734 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8736 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8737 short or char as base type.
8739 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8741 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8742 to allow any size enum.
8744 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8746 * gdb.ada/array_ptr_renaming.exp: New testcase.
8747 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8748 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8750 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8752 * gdb.trace/ftrace-lock.c: New file.
8753 * gdb.trace/ftrace-lock.exp: New file.
8755 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8757 * gdb.arch/insn-reloc.c: New file.
8758 * gdb.arch/ftrace-insn-reloc.exp: New file.
8760 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8762 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8764 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8765 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8766 * gdb.trace/range-stepping.c: Likewise.
8767 * gdb.trace/trace-break.c: Likewise.
8768 * gdb.trace/trace-mt.c (thread_function): Likewise.
8769 * gdb.trace/ftrace.c (marker): Likewise.
8770 * gdb.trace/trace-condition.c (marker): Likewise.
8771 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8772 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8775 2015-09-18 Doug Evans <xdje42@gmail.com>
8777 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8778 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8780 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8782 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8785 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8787 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8788 the pending breakpoint. Remove timeout override for "Run till
8789 MI pending breakpoint on pendfunc3 on thread 2" test.
8791 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8793 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8796 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8798 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8799 in breakpoint filename pattern.
8801 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8803 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8805 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8807 * gdb.linespec/explicit.exp: Check for readline support for
8808 tab-completion tests. Fix obvious typo.
8810 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8812 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8815 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8817 * gdb.btrace/non-stop.c: New.
8818 * gdb.btrace/non-stop.exp: New.
8820 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8821 Yao Qi <yao.qi@linaro.org>
8823 * gdb.trace/trace-condition.c: New file.
8824 * gdb.trace/trace-condition.exp: New file.
8826 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8828 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8829 for testing bytecode compilation.
8831 2015-09-16 Pedro Alves <palves@redhat.com>
8832 Sandra Loosemore <sandra@codesourcery.com>
8834 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8835 (SECONDS): Redefine.
8836 (main): Call pthread_kill and alarm early.
8837 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8839 (test): If the target can't hardware step and doesn't support
8840 displaced stepping, increase the timeout.
8842 2015-09-16 Pedro Alves <palves@redhat.com>
8844 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8845 (enable_debug): New procedures.
8846 (test): Use them. Bail out if waiting for threads fails.
8847 (top level): Bail out if a test fails.
8849 2015-09-16 Yao Qi <yao.qi@linaro.org>
8851 * gdb.asm/asm-source.exp: Set asm-arch for
8852 aarch64*-*-* target.
8853 * gdb.asm/aarch64.inc: New file.
8855 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8857 * gdb.ada/array_of_variable_length.exp: New testcase.
8858 * gdb.ada/array_of_variable_length/foo.adb: New file.
8859 * gdb.ada/array_of_variable_length/pck.adb: New file.
8860 * gdb.ada/array_of_variable_length/pck.ads: New file.
8862 2015-09-15 Doug Evans <dje@google.com>
8864 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8865 of function static local variable.
8867 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8869 * gdb.threads/tls-so_extern.exp: New test file.
8870 * gdb.threads/tls-so_extern.c: New test file.
8871 * gdb.threads/tls-so_extern_main.c: New test file.
8873 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8875 * gdb.opt/solib-intra-step-lib.c: New file.
8876 * gdb.opt/solib-intra-step-main.c: New file.
8877 * gdb.opt/solib-intra-step.exp: New file.
8879 2015-09-15 Pedro Alves <palves@redhat.com>
8881 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8882 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8884 2015-09-14 Pedro Alves <palves@redhat.com>
8886 * gdb.base/hook-stop-continue.c: Delete.
8887 * gdb.base/hook-stop-continue.exp: Delete.
8888 * gdb.base/hook-stop-frame.c: Delete.
8889 * gdb.base/hook-stop-frame.exp: Delete.
8890 * gdb.base/hook-stop.c: New file.
8891 * gdb.base/hook-stop.exp: New file.
8893 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8895 * gdb.ada/access_to_packed_array.exp: New testcase.
8896 * gdb.ada/access_to_packed_array/foo.adb: New file.
8897 * gdb.ada/access_to_packed_array/pack.adb: New file.
8898 * gdb.ada/access_to_packed_array/pack.ads: New file.
8900 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8902 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8905 2015-09-11 Don Breazeal <donb@codesourcery.com>
8907 * gdb.base/foll-exec.c: Add copyright header. Fix
8909 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8910 (do_exec_tests): Use clean_restart in place of zap_session,
8911 and for test initialization. Fix formatting issues. Use
8912 fail in place of perror.
8913 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8914 an expect statement to match an expression with output from
8915 the program under debug.
8916 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8917 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8918 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8919 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8920 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8922 2015-09-09 Doug Evans <dje@google.com>
8924 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8926 2015-09-09 Doug Evans <dje@google.com>
8928 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8930 2015-09-09 Doug Evans <dje@google.com>
8932 * gdb.base/savedregs.exp: Fix typo.
8934 2015-09-09 Pedro Alves <palves@redhat.com>
8936 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8938 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8940 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8941 command actually switches threads. Give up on remaining
8942 tests if target fails to stop at breakpoint.
8944 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8946 * gdb.ada/funcall_char.exp: New testcase.
8947 * gdb.ada/funcall_char/foo.adb: New file.
8949 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8951 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8952 expected outputs. Add two testcases for completing ambiguous
8954 * gdb.ada/complete/aux_pck.adb: New file.
8955 * gdb.ada/complete/aux_pck.ads: New file.
8956 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8957 Ambiguous_Func functions.
8958 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8959 * gdb.ada/complete/pck.adb: Likewise.
8961 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8963 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8964 failures to run the test program under GDB.
8966 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8968 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8971 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8973 * gdb.base/run-after-attach.exp: New test file.
8974 * gdb.base/run-after-attach.c: New test file.
8976 2015-08-26 Don Breazeal <donb@codesourcery.com>
8978 * gdb.base/foll-exec-2.c: New test program.
8979 * gdb.base/foll-exec-2.exp: New test.
8981 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8983 * gdb.base/nested-subp1.exp: New file.
8984 * gdb.base/nested-subp1.c: New file.
8985 * gdb.base/nested-subp2.exp: New file.
8986 * gdb.base/nested-subp2.c: New file.
8987 * gdb.base/nested-subp3.exp: New file.
8988 * gdb.base/nested-subp3.c: New file.
8990 2015-08-24 Pedro Alves <palves@redhat.com>
8992 * gdb.server/connect-without-multi-process.c: New file.
8993 * gdb.server/connect-without-multi-process.exp: New file.
8995 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8997 * gdb.opt/inline-markers.c: Make z int.
8999 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9001 * gdb.opt/inline-markers.c: Make z volatile.
9003 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9005 * gdb.opt/inline-bt.c: New volatile global z.
9006 * gdb.opt/inline-cmds.c: Likewise.
9007 * gdb.opt/inline-locals.c: Likewise.
9008 * gdb.opt/inline-markers.c: New extern global z.
9010 (inline_fn): Likewise.
9012 2015-08-24 Pedro Alves <palves@redhat.com>
9014 * config/m32r-stub.exp: Remove file.
9015 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9016 * gdb.base/call-rt-st.exp: Likewise.
9017 * gdb.base/call-strs.exp: Likewise.
9018 * gdb.base/default.exp: Remove references to h8300-*-hms and
9020 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9022 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9024 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9025 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
9026 and "return" use KFAIL when GDB can not read/write the vector
9029 2015-08-21 Gary Benson <gbenson@redhat.com>
9031 * gdb.trace/pending.exp: Cope with remote transfer warnings.
9033 2015-08-20 Pedro Alves <palves@redhat.com>
9035 * gdb.server/solib-list.exp: No longer expect an interior stop in
9038 2015-08-20 Pedro Alves <palves@redhat.com>
9040 * gdb.server/connect-stopped-target.c: New file.
9041 * gdb.server/connect-stopped-target.exp: New file.
9043 2015-08-20 Pedro Alves <palves@redhat.com>
9045 * gdb.dwarf2/comp-unit-lang.exp: New file.
9046 * gdb.dwarf2/comp-unit-lang.c: New file.
9048 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
9050 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9051 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9053 2015-08-19 Kevin Buettner <kevinb@redhat.com>
9055 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9056 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9058 2015-08-18 Doug Evans <dje@google.com>
9059 Adrian Sendroiu <adrian.sendroiu@freescale.com>
9061 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9062 skip_python_tests. New arg prompt_regexp.
9063 (skip_python_tests): New function.
9064 * lib/mi-support.exp (mi_skip_python_tests): New function.
9065 * gdb.python/py-mi-objfile-gdb.py: New file.
9066 * gdb.python/py-mi-objfile.c: New file.
9067 * gdb.python/py-mi-objfile.exp: New file.
9069 2015-08-17 Keith Seitz <keiths@redhat.com>
9071 * gdb.linespec/explicit.exp: Move strace test from here ...
9072 * gdb.trace/strace.exp: ... to here.
9074 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
9076 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9077 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9079 2015-08-14 Doug Evans <xdje42@gmail.com>
9081 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9082 inferior before selecting a new file.
9084 2015-08-14 Doug Evans <xdje42@gmail.com>
9086 * gdb.mi/mi-disassemble.exp: Update.
9087 * gdb.base/disasm-optim.S: New file.
9088 * gdb.base/disasm-optim.c: New file.
9089 * gdb.base/disasm-optim.h: New file.
9090 * gdb.base/disasm-optim.exp: New file.
9092 2015-08-14 Keith Seitz <keiths@redhat.com>
9094 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9097 2015-08-13 Joel Brobecker <brobecker@adacore.com>
9099 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9101 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
9103 * gdb.ada/fun_renaming.exp: New testcase.
9104 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9105 * gdb.ada/fun_renaming/pack.adb: New file.
9106 * gdb.ada/fun_renaming/pack.ads: New file.
9108 2015-08-12 Keith Seitz <keiths@redhat.com>
9110 * gdb.base/dso2dso.exp: Pass basename of source file in call to
9111 gdb_get_line_number.
9113 2015-08-12 Joel Brobecker <brobecker@adacore.com>
9115 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9116 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9117 gdb.base/dso2dso.exp: New files.
9119 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
9120 Pedro Alves <palves@redhat.com>
9121 Keith Seitz <keiths@redhat.com>
9123 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9126 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9128 * gdb.base/gdbhistsize-history.exp
9129 (test_histsize_history_setting): Use save_vars.
9130 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9132 (test_no_truncation_of_unlimited_history_file): Use save_vars.
9133 * gdb.base/readline.exp: Use save_vars.
9135 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9137 * lib/gdb.exp (save_vars): New proc.
9139 2015-08-11 Keith Seitz <keiths@redhat.com>
9141 * gdb.base/help.exp: Update help_breakpoint_text.
9143 2015-08-11 Keith Seitz <keiths@redhat.com>
9145 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9146 (at toplevel): Call test_explicit_breakpoints.
9147 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9149 * lib/mi-support.exp (mi_make_breakpoint): Add support for
9150 breakpoint conditions, "-cond".
9152 2015-08-11 Keith Seitz <keiths@redhat.com>
9154 * gdb.linespec/3explicit.c: New file.
9155 * gdb.linespec/cpexplicit.cc: New file.
9156 * gdb.linespec/cpexplicit.exp: New file.
9157 * gdb.linespec/explicit.c: New file.
9158 * gdb.linespec/explicit.exp: New file.
9159 * gdb.linespec/explicit2.c: New file.
9160 * gdb.linespec/ls-errs.exp: Add explicit location tests.
9161 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9162 before using in the matching pattern.
9163 Clarify that `prefix' is a regular expression.
9165 2015-08-11 Keith Seitz <keiths@redhat.com>
9167 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9169 Add tests for missing ",FMT" and ",".
9171 2015-08-10 Doug Evans <dje@google.com>
9172 Keith Seitz <keiths@redhat.com>
9175 * gdb.base/completion.exp: Add location completer tests.
9177 2015-08-07 Pedro Alves <palves@redhat.com>
9179 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9181 (top level): Run do_test with and without displaced stepping.
9183 2015-08-07 Pedro Alves <palves@redhat.com>
9185 * gdb.base/valgrind-disp-step.c: New file.
9186 * gdb.base/valgrind-disp-step.exp: New file.
9188 2015-08-07 Pedro Alves <palves@redhat.com>
9190 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9192 (main): Add alarm. Run an infinite loop instead of calling
9194 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9196 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9198 (main): Add alarm. Run an infinite loop instead of calling
9200 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9203 2015-08-07 Pedro Alves <palves@redhat.com>
9205 * gdb.base/checkpoint-ns.exp: New file.
9206 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9209 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
9211 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9212 * gdb.btrace/instruction_history.exp: Update.
9213 * gdb.btrace/tsx.exp: New.
9214 * gdb.btrace/tsx.c: New.
9216 2015-08-06 Pedro Alves <palves@redhat.com>
9218 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9220 * gdb.reverse/until-precsave.exp: Bump timeouts.
9222 2015-08-06 Pedro Alves <palves@redhat.com>
9224 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9226 2015-08-06 Pedro Alves <palves@redhat.com>
9229 * gdb.threads/process-dies-while-handling-bp.c: New file.
9230 * gdb.threads/process-dies-while-handling-bp.exp: New file.
9232 2015-08-06 Pedro Alves <palves@redhat.com>
9234 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9235 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9237 2015-08-05 Pedro Alves <palves@redhat.com>
9239 * gdb.threads/next-while-other-thread-longjmps.c: New file.
9240 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9242 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
9244 * gdb.base/bp-permanent.exp: Report test as unsupported if
9245 the target cannot stop at the permanent breakpoint.
9247 2015-08-03 Doug Evans <dje@google.com>
9249 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9252 2015-08-03 Doug Evans <dje@google.com>
9254 * Makefile.in (workers/%.worker, build-perf): New rule.
9255 (GDB_PERFTEST_MODE): New variable.
9256 (check-perf): Use it.
9257 (clean): Clean up gdb.perf parallel build subdirs.
9258 * lib/build-piece.exp: New file.
9259 * lib/gdb.exp (make_gdb_parallel_path): New function
9260 (standard_output_file, standard_temp_file): Call it.
9261 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9263 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9265 2015-08-03 Doug Evans <dje@google.com>
9267 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9268 (LOG_FILE_NAME): New global.
9269 (TextReporter.__init__): Initialize self.txt_sum.
9270 (TextReporter.report): Add support for multiple data-points.
9271 Move report to perftest.sum, put raw data in perftest.log.
9272 (TextReporter.start): Open sum and log files.
9273 (TextReporter.end): Close sum and log files.
9274 * gdb.perf/lib/perftest/testresult.py
9275 (SingleStatisticTestResult.record): Handle multiple data-points.
9277 2015-07-31 Pedro Alves <palves@redhat.com>
9279 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9280 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9281 kill_wait_spawned_process instead of explicit "kill -9".
9282 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9283 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9284 kill_wait_spawned_process.
9285 * gdb.base/attach-twice.exp: Likewise.
9286 * gdb.base/attach.exp: Likewise.
9287 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9289 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9290 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9291 kill_wait_spawned_process.
9292 * gdb.base/valgrind-infcall.exp: Likewise.
9293 * gdb.multi/multi-attach.exp: Likewise.
9294 * gdb.python/py-prompt.exp: Likewise.
9295 * gdb.python/py-sync-interp.exp: Likewise.
9296 * gdb.server/ext-attach.exp: Likewise.
9297 * gdb.threads/attach-into-signal.exp (corefunc): Use
9298 spawn_wait_for_attach, spawn_id_get_pid and
9299 kill_wait_spawned_process.
9300 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9301 spawn_wait_for_attach returning a spawn id instead of a pid. Use
9302 spawn_id_get_pid and kill_wait_spawned_process.
9303 * gdb.threads/attach-stopped.exp (corefunc): Use
9304 spawn_wait_for_attach, spawn_id_get_pid and
9305 kill_wait_spawned_process.
9306 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9307 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9308 kill_wait_spawned_process instead of explicit "kill -9".
9309 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9310 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9311 (spawn_wait_for_attach): Use spawn instead of exec to spawn
9312 processes. Don't map cygwin/windows pids here. Now returns a
9315 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9317 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9318 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9321 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9323 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9325 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9328 2014-05-21 Mark Wielaard <mjw@redhat.com>
9330 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9332 2015-07-30 Pedro Alves <palves@redhat.com>
9334 * linux-low.c (handle_extended_wait): Set the child's last
9335 reported status to TARGET_WAITKIND_STOPPED.
9337 2015-07-30 Pedro Alves <palves@redhat.com>
9340 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9341 only shows inferior 1.
9343 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
9344 Pedro Alves <palves@redhat.com>
9347 * gdb.threads/fork-plus-threads.c: New file.
9348 * gdb.threads/fork-plus-threads.exp: New file.
9350 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9352 * gdb.base/batch-preserve-term-settings.exp
9353 (test_terminal_settings_preserved_after_cli_exit): Use
9356 2015-07-29 Pedro Alves <palves@redhat.com>
9357 Don Breazeal <donb@codesourcery.com>
9359 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9360 output from both inferior_spawn_id and gdb_spawn_id.
9362 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9364 * gdb.threads/attach-into-signal.exp (corefunc): Use
9365 with_test_prefix on nested loops, uniquefying the test messages.
9367 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9369 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9372 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9374 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9376 (test_terminal_settings_preserved_after_sigterm): New test.
9378 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9380 * gdb.base/batch-preserve-term-settings.exp
9381 (test_terminal_settings_preserved_after_cli_exit): New test.
9383 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9385 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9386 manipulation of saved_gdbflags.
9387 (test_terminal_settings_preserved): Remove global declaration of
9388 the unused variable pagination_prompt. Remove manipulation of
9389 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9392 2015-07-29 Pedro Alves <palves@redhat.com>
9394 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9396 2015-07-29 Pedro Alves <palves@redhat.com>
9398 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9401 2015-07-29 Pedro Alves <palves@redhat.com>
9403 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9404 (main): Call gdb_unbuffer_output.
9405 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9406 (main): Call gdb_unbuffer_output.
9407 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9408 (main): Call gdb_unbuffer_output.
9409 * gdb.base/call-strs.exp: Adjust to step over the
9410 gdb_unbuffer_output call.
9411 * gdb.base/catch-gdb-caused-signals.c: Include
9412 "../lib/unbuffer_output.c".
9413 (main): Call gdb_unbuffer_output.
9414 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9415 (main): Call gdb_unbuffer_output.
9416 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9417 (main): Call gdb_unbuffer_output.
9418 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9419 (main): Call gdb_unbuffer_output.
9420 * gdb.base/shlib-call.exp: Adjust to step over the
9421 gdb_unbuffer_output call.
9422 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9423 (main): Call gdb_unbuffer_output.
9424 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9425 (main): Call gdb_unbuffer_output.
9426 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9427 (main): Rename to ...
9429 (main): Reimplement.
9430 * gdb.base/varargs.exp: Run to test instead of to main.
9431 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9432 (main): Call gdb_unbuffer_output.
9434 2015-07-29 Pedro Alves <palves@redhat.com>
9436 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9437 factore out from mi_continue_dprintf. For call-style dprintfs,
9438 expect dprintf output out of $inferior_spawn_id.
9439 (mi_continue_dprintf): Use mi_expect_dprintf.
9440 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9441 (main): Call gdb_unbuffer_output.
9443 2015-07-29 Pedro Alves <palves@redhat.com>
9445 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9446 (default_mi_gdb_start): Set inferior_spawn_id instead of
9447 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9449 (mi_gdb_test): Always expect inferior output from both
9450 $inferior_spawn_id and $gdb_spawn_id.
9452 2015-07-29 Pedro Alves <palves@redhat.com>
9454 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9455 send_inferior and $inferior_spawn_id.
9457 2015-07-29 Pedro Alves <palves@redhat.com>
9459 * gdb.gdb/complaints.exp (test_initial_complaints)
9460 (test_serial_complaints, test_short_complaints): Use
9462 (test_empty_complaint): Handle $inferior_spawn_id !=
9465 2015-07-29 Pedro Alves <palves@redhat.com>
9467 * gdb.base/varargs.exp: Use gdb_test_stdio.
9469 2015-07-29 Pedro Alves <palves@redhat.com>
9471 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9473 2015-07-29 Pedro Alves <palves@redhat.com>
9475 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9477 2015-07-29 Pedro Alves <palves@redhat.com>
9479 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9480 parameter into two new parameters, "inf_result" and "gdb_result".
9481 Expect inferior output and gdb output from $inferior_spawn_id and
9482 $gdb_spawn_id, respectively. Adjust all callers.
9484 2015-07-29 Pedro Alves <palves@redhat.com>
9486 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9487 of gdb_test_sequence.
9489 2015-07-29 Pedro Alves <palves@redhat.com>
9491 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9492 (saw_spurious_output): Expect inferior output from
9493 $inferior_spawn_id. Use gdb_test_stdio.
9495 2015-07-29 Pedro Alves <palves@redhat.com>
9497 * gdb.base/dprintf.exp: Use standard_testfile. Change
9498 prepare_for_testing call.
9499 (srcfile): Don't set.
9500 (restart): New procedure.
9501 (test_dprintf): New procecure, use to continue over dprintfs.
9502 (test_call, test_agent): New procedures, tests moved here.
9503 Restart gdb and recreate dprintfs. Adjust expected output.
9505 2015-07-29 Pedro Alves <palves@redhat.com>
9507 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9509 2015-07-29 Pedro Alves <palves@redhat.com>
9511 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9513 2015-07-29 Pedro Alves <palves@redhat.com>
9515 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9518 2015-07-29 Pedro Alves <palves@redhat.com>
9520 * lib/gdb.exp (gdb_test_stdio): New procedure.
9522 2015-07-29 Pedro Alves <palves@redhat.com>
9524 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9526 2015-07-29 Pedro Alves <palves@redhat.com>
9528 * gdb.base/call-signal-resume.exp: Remove check for
9529 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9530 * gdb.base/unwindonsignal.exp: Likewise.
9531 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9532 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9534 2015-07-29 Pedro Alves <palves@redhat.com>
9536 * gdb.base/siginfo-addr.c (pass): New function.
9537 (handler): Call it iff si_addr is correct.
9538 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9539 Set a breakpoint at "pass" and continue to it.
9541 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9543 * gdb.python/py-objfile.exp: Make some tests have unique names.
9544 * gdb.python/py-pp-registration.exp: Likewise.
9546 2015-07-28 Pedro Alves <palves@redhat.com>
9548 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9550 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9552 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9554 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9556 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9558 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9560 * gdb.base/gdb-sigterm-2.exp: New test.
9562 2015-07-25 Doug Evans <xdje42@gmail.com>
9565 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9566 (workers/%.worker, build-perf): New rule.
9567 (GDB_PERFTEST_MODE): New variable.
9568 (check-perf): Use it.
9569 (clean): Clean up gdb.perf parallel build subdirs.
9570 * lib/build-piece.exp: New file.
9571 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9572 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9574 (standard_temp_file): Ditto.
9575 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9578 2015-07-24 Doug Evans <dje@google.com>
9580 * gdb.perf/lib/perftest/utils.py: New file.
9581 * gdb.perf/gm-hello.cc: New file.
9582 * gdb.perf/gm-pervasive-typedef.cc: New file.
9583 * gdb.perf/gm-pervasive-typedef.h: New file.
9584 * gdb.perf/gm-std.cc: New file.
9585 * gdb.perf/gm-std.h: New file.
9586 * gdb.perf/gm-use-cerr.cc: New file.
9587 * gdb.perf/gm-utils.h: New file.
9588 * gdb.perf/gmonster-null-lookup.py: New file.
9589 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9590 * gdb.perf/gmonster-print-cerr.py: New file.
9591 * gdb.perf/gmonster-ptype-string.py: New file.
9592 * gdb.perf/gmonster-runto-main.py: New file.
9593 * gdb.perf/gmonster-select-file.py: New file.
9594 * gdb.perf/gmonster1-null-lookup.exp: New file.
9595 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9596 * gdb.perf/gmonster1-print-cerr.exp: New file.
9597 * gdb.perf/gmonster1-ptype-string.exp: New file.
9598 * gdb.perf/gmonster1-runto-main.exp: New file.
9599 * gdb.perf/gmonster1-select-file.exp: New file.
9600 * gdb.perf/gmonster1.cc: New file.
9601 * gdb.perf/gmonster1.exp: New file.
9602 * gdb.perf/gmonster2-null-lookup.exp: New file.
9603 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9604 * gdb.perf/gmonster2-print-cerr.exp: New file.
9605 * gdb.perf/gmonster2-ptype-string.exp: New file.
9606 * gdb.perf/gmonster2-runto-main.exp: New file.
9607 * gdb.perf/gmonster2-select-file.exp: New file.
9608 * gdb.perf/gmonster2.cc: New file.
9609 * gdb.perf/gmonster2.exp: New file.
9611 2015-07-24 Doug Evans <dje@google.com>
9613 * gdb.perf/README: New file.
9614 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9615 * lib/gen-perf-test.exp: New file.
9617 2015-07-24 Doug Evans <dje@google.com>
9619 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9620 (PerfTest::startup): New function.
9621 (PerfTest::run): Return result of calling body.
9622 (PerfTest::assemble): Rewrite.
9623 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9624 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9625 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9626 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9627 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9629 2015-07-24 Doug Evans <dje@google.com>
9631 * lib/gdb.exp (clean_restart): Make executable optional.
9633 2015-07-24 Doug Evans <dje@google.com>
9635 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9636 compiler_info references.
9637 * gdb.cp/temargs.exp: Ditto.
9638 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9639 (get_compiler_info): Early exit if already computed. Set compiler_info
9640 to "unknown" if there was a problem.
9641 (test_compiler_info): Add function comment. Call get_compiler_info.
9643 2015-07-24 Doug Evans <dje@google.com>
9645 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9646 (workers/%.worker, build-perf): New rule.
9647 (GDB_PERFTEST_MODE): New variable.
9648 (check-perf): Use it.
9649 (clean): Clean up gdb.perf parallel build subdirs.
9650 * lib/build-piece.exp: New file.
9651 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9652 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9654 (standard_temp_file): Ditto.
9655 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9658 2015-07-24 Doug Evans <dje@google.com>
9660 * lib/future.exp (gdb_default_target_compile): New option
9662 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9665 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9667 * gdb.base/catch-syscall.exp: Call gdb_exit before
9670 2015-07-24 Pedro Alves <palves@redhat.com>
9672 * gdb.python/py-events.exp: Accept output between the stop event
9674 * gdb.python/py-evsignal.exp: Likewise.
9675 * gdb.python/py-evthreads.exp: Likewise.
9677 2015-07-24 Pedro Alves <palves@redhat.com>
9680 * gdb.threads/non-ldr-exit.c: New file.
9681 * gdb.threads/non-ldr-exit.exp: New file.
9683 2015-07-24 Yao Qi <yao.qi@linaro.org>
9685 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9688 2015-07-24 Yao Qi <yao.qi@linaro.org>
9690 * gdb.server/ext-restart.exp: New file.
9692 2015-07-24 Yao Qi <yao.qi@linaro.org>
9694 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9696 * gdb.server/ext-wrapper.exp: New file.
9698 2015-07-23 Doug Evans <dje@google.com>
9700 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9701 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9703 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9705 * gdb.ada/var_arr_typedef.exp: New testcase.
9706 * gdb.ada/var_arr_typedef/pack.adb: New file.
9707 * gdb.ada/var_arr_typedef/pack.ads: New file.
9708 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9710 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9712 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9714 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9716 * gdb.arch/i386-biarch-core.exp: Replace istarget
9717 by "complete set gnutarget". Remove expectation for the "core-file"
9720 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9722 Revert the previous commit:
9723 Tests for validate symbol file using build-id.
9725 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9727 Tests for validate symbol file using build-id.
9728 * gdb.base/solib-mismatch-lib.c: New file.
9729 * gdb.base/solib-mismatch-libmod.c: New file.
9730 * gdb.base/solib-mismatch.c: New file.
9731 * gdb.base/solib-mismatch.exp: New file.
9733 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9735 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9737 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9738 * gdb.base/siginfo.exp: Likewise.
9739 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9741 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9743 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9745 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9747 * gdb.trace/range-stepping.exp: Check that the target supports
9750 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9752 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9754 2015-07-14 Pedro Alves <palves@redhat.com>
9756 * gdb.base/killed-outside.exp: New file.
9757 * gdb.base/killed-outside.c: New file.
9759 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9761 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9763 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9765 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9767 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9768 infcall tests instead of setting up for KFAIL.
9770 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9772 * gdb.btrace/record_goto-step.exp: New.
9774 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9777 * gdb.compile/compile.c (struct struct_type): Add volatile to
9779 * gdb.compile/compile.exp
9780 (compile code struct_object.selffield = &struct_object): Skip further
9781 struct_object tests if this one xfails.
9783 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9786 * gdb.trace/ax.exp: Add test.
9788 2015-07-07 Yao Qi <yao.qi@linaro.org>
9790 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9791 instead of istarget "aarch64*-*-*".
9792 * gdb.arch/aarch64-fp.exp: Likewise.
9793 * gdb.base/float.exp: Likewise.
9794 * gdb.reverse/aarch64.exp: Likewise.
9795 * lib/gdb.exp (is_aarch64_target): New proc.
9797 2015-07-07 Yao Qi <yao.qi@linaro.org>
9799 * lib/gdb.exp (is_aarch32_target): New proc.
9800 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9801 instead of "istarget "arm*-*-*"".
9802 * gdb.arch/arm-disp-step.exp: Likewise.
9803 * gdb.arch/thumb-bx-pc.exp: Likewise.
9804 * gdb.arch/thumb-prologue.exp: Likewise.
9805 * gdb.arch/thumb-singlestep.exp: Likewise.
9806 * gdb.base/disp-step-syscall.exp: Likewise.
9807 * gdb.base/float.exp: Likewise.
9809 2015-07-07 Yao Qi <yao.qi@linaro.org>
9811 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9812 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9814 2015-07-07 Yao Qi <yao.qi@linaro.org>
9816 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9817 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9819 * gdb.multi/multi-arch.exp: Likewise.
9821 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9823 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9826 2015-07-07 Yao Qi <yao.qi@linaro.org>
9828 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9830 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9832 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9833 '[' and ']' characters.
9835 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9837 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9839 2015-06-29 Pedro Alves <palves@redhat.com>
9842 * gdb.threads/hand-call-new-thread.c: New file.
9843 * gdb.threads/hand-call-new-thread.c: New file.
9845 2015-06-26 Keith Seitz <keiths@redhat.com>
9846 Doug Evans <dje@google.com>
9849 * gdb.cp/var-tag-2.cc: New file.
9850 * gdb.cp/var-tag-3.cc: New file.
9851 * gdb.cp/var-tag-4.cc: New file.
9852 * gdb.cp/var-tag.cc: New file.
9853 * gdb.cp/var-tag.exp: New file.
9855 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9857 * gdb.base/history-duplicates.exp: New test.
9859 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9861 * gdb.base/completion.exp: Test the completion of the "focus"
9864 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9866 * gdb.arch/amd64-prologue-skip.S: New file.
9867 * gdb.arch/amd64-prologue-skip.exp: New file.
9869 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9871 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9872 is_address_zero_readable check.
9874 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9876 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9877 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9879 2015-06-24 Yao Qi <yao.qi@linaro.org>
9881 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9884 2015-06-24 Yao Qi <yao.qi@linaro.org>
9886 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9887 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9888 * gdb.base/siginfo-thread.exp: Likewise.
9890 2015-06-22 Yao Qi <yao.qi@linaro.org>
9892 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9894 2015-06-22 Yao Qi <yao.qi@linaro.org>
9896 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9898 (skip_hw_watchpoint_tests): Likewise.
9900 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9902 * gdb.base/gdbinit-history.exp: Test the interaction between
9903 setting GDBHISTSIZE and setting the history size via .gdbinit.
9905 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9908 * gdb.base/gdbhistsize-history.exp: New test.
9910 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9912 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9914 * gdb.base/readline.exp: Likewise.
9916 2015-06-17 Yao Qi <yao.qi@linaro.org>
9918 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9921 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9923 * gdb.base/gdbinit-history.exp: Add test case to check that
9924 an unlimited history file does not get truncated on exit.
9926 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9928 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9929 (VECTOR): New macro. Use it...
9930 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9931 ...for these typedefs.
9932 (int8, char1, int1, double1): New typedefs.
9933 (struct just_int2, struct two_int2): New structures.
9934 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9935 (add_structvecs, add_singlevecs): New functions.
9936 (main): Call add_some_intvecs twice.
9937 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9938 the compile and exit upon failure. Try compiling for the "native"
9939 architecture. Test inferior function calls with vector arguments
9940 and vector return value handling with "finish" and "return".
9942 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9944 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9945 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9947 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9949 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9951 PR breakpoints/16465
9952 * gdb.mi/mi-dprintf-pending.c: New file.
9953 * gdb.mi/mi-dprintf-pending.exp: New test.
9954 * gdb.mi/mi-dprintf-pendshr.c: New file.
9956 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9957 Mircea Gherzan <mircea.gherzan@intel.com>
9959 * gdb.arch/i386-mpx-map.c: New file.
9960 * gdb.arch/i386-mpx-map.exp: New File.
9962 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9964 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9965 * gdb.arch/i386-mpx.exp: Indentation fixed.
9967 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9969 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9970 function and improved indentation.
9971 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9972 gdb_test_multiple. Added additional tests to skip the test.
9974 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9976 * gdb.arch/i386-avx512.c: Change path in include file.
9977 * gdb.arch/i386-avx512.exp: Change include dir path
9979 * gdb.arch/i386-mpx.c: Change path in include file.
9980 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9983 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9985 * gdb.compile/compile-print.exp (compile print *vararray@3)
9986 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9988 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9990 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9991 (do not keep jit in memory): ... this.
9992 (expect 5): Change it to ...
9993 (expect no 5): ... this.
9995 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9998 * gdb.mi/mi-detach.exp: New file.
10000 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10003 * gdb.arch/amd64-tailcall-self.S: New file.
10004 * gdb.arch/amd64-tailcall-self.c: New file.
10005 * gdb.arch/amd64-tailcall-self.exp: New file.
10007 2015-05-28 Don Breazeal <donb@codesourcery.com>
10009 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10010 tests for remote targets by checking is_target_gdbserver.
10012 2015-05-27 Doug Evans <dje@google.com>
10014 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10015 * gdb.dwarf2/opaque-type-lookup.c: New file.
10016 * gdb.dwarf2/opaque-type-lookup.exp: New file.
10018 2015-05-26 Doug Evans <dje@google.com>
10020 * gdb.cp/iostream.cc: New file.
10021 * gdb.cp/iostream.exp: New file.
10023 2015-05-26 Doug Evans <dje@google.com>
10025 * gdb.dwarf2/dw2-op-call.exp: Update.
10026 * gdb.dwarf2/dw4-sig-types.exp: Update.
10027 * gdb.dwarf2/implptr.exp: Update.
10028 * gdb.mi/mi-cmd-param-changed.exp: Update.
10030 2015-05-26 Doug Evans <dje@google.com>
10032 * gdb.python/py-lazy-string.c: New file.
10033 * gdb.python/py-lazy-string.exp: New file.
10034 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10035 (main): Update. Add estring3.
10036 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10037 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10039 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10040 Yao Qi <yao.qi@linaro.org>
10042 * gdb.reverse/aarch64.c: New.
10043 * gdb.reverse/aarch64.exp: New.
10045 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10047 * lib/gdb.exp (supports_process_record): Return true for
10049 (supports_reverse): Likewise.
10051 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
10053 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10054 Use with_test_prefix.
10056 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
10058 * gdb.base/completion.exp: Add test for completion of layout
10061 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
10063 * lib/gdb.exp (skip_tui_tests): New proc.
10064 * gdb.base/tui-layout.exp: Check skip_tui_tests.
10066 2015-05-19 Pedro Alves <palves@redhat.com>
10068 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10069 Save the whole env array instead of just HOME. Unset HISTSIZE in
10070 the environment while testing. Restore whole environment
10073 2015-05-16 Doug Evans <xdje42@gmail.com>
10075 * gdb.guile/scm-ports.c: New file.
10076 * gdb.guile/scm-ports.exp: Add memory port tests.
10078 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10080 * gdb.compile/compile-print.c: New file.
10081 * gdb.compile/compile-print.exp: New file.
10083 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10085 * gdb.compile/compile-ops.exp: Cast param to void.
10086 * gdb.compile/compile.exp: Complete type for _gdb_expr.
10087 (compile code struct_object.selffield = &struct_object): Add xfail.
10089 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10091 * gdb.ada/arr_enum_with_gap: New testcase.
10093 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10095 * gdb.ada/byte_packed_arr: New testcase.
10097 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10099 * gdb.ada/pckd_neg: New testcase.
10101 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
10104 * gdb.base/gdbinit-history.exp: New test.
10105 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10106 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10108 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
10110 * gdb.python/py-xmethods.cc: Enhance test case.
10111 * gdb.python/py-xmethods.exp: New tests.
10112 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10114 (B_indexoper): Likewise.
10115 (global_dm_list) : Add new xmethod worker functions.
10117 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
10119 * gdb.base/coredump-filter.exp: Correctly unset
10120 "coredump_var_addr" array.
10122 2015-05-08 Pedro Alves <palves@redhat.com>
10124 * gdb.server/non-existing-program.exp: Unset spawn_id.
10126 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
10129 * gdb.python/py-xmethods.exp: Add tests.
10131 2015-05-08 Yao Qi <yao.qi@linaro.org>
10134 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10135 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10136 function set_coredump_filter, and remove remote_exec call.
10137 Remove argument ipid. Callers update.
10138 (top level): Don't get inferior's PID.
10140 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
10142 * gdb.base/watch_thread_num.exp: Skip test on targets without
10143 access watchpoints.
10145 2015-05-06 Pedro Alves <palves@redhat.com>
10148 * gdb.server/non-existing-program.exp: New file.
10150 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10152 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10154 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10156 * gdb.ada/out_of_line_in_inlined: New testcase.
10158 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10160 * gdb.ada/var_rec_arr: New testcase.
10162 2015-04-30 Yao Qi <yao.qi@linaro.org>
10164 * gdb.base/break-idempotent.exp: If
10165 skip_hw_watchpoint_multi_tests returns true, skip the tests
10166 on "rwatch" and "awatch".
10168 2015-04-30 Yao Qi <yao.qi@linaro.org>
10170 * gdb.base/relativedebug.exp: Invoke gdb command
10171 "info sharedlibrary", and if libc.so doesn't have debug info,
10174 2015-04-29 Doug Evans <dje@google.com>
10176 * gdb.python/py-xmethods.exp: Add ptype tests.
10177 * gdb.python/py-xmethods.py (E_method_char_worker): Add
10178 get_result_type method.
10180 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10182 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10183 the target does not support hardware watchpoints.
10185 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10187 * gdb.base/break-always.exp: Abort testing if writing to memory
10190 2015-04-28 Doug Evans <dje@google.com>
10192 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10193 * gdb.python/py-pp-registration.exp: ... here. New file.
10194 * gdb.python/py-pp-registration.c: New file.
10195 * gdb.python/py-pp-registration.py: New file.
10197 2015-04-28 Doug Evans <dje@google.com>
10199 * gdb.python/py-bad-printers.c: New file.
10200 * gdb.python/py-bad-printers.py: New file.
10201 * gdb.python/py-bad-printers.exp: New file.
10203 2015-04-28 Sasha Smundak <asmundak@google.com>
10205 * gdb.python/py-type.exp: New test.
10207 2015-04-28 Andy Wingo <wingo@igalia.com>
10209 * gdb.python/py-parameter.exp:
10210 * gdb.guile/scm-parameter.exp: Escape the path that we are
10211 matching against, as it might contain characters that are special
10212 to regular expressions.
10214 2015-04-27 Joel Brobecker <brobecker@adacore.com>
10216 * gdb.ada/rec_comp: New testcase.
10218 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
10220 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10223 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
10225 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
10226 new tests for verilog output.
10228 2015-04-24 Yao Qi <yao.qi@linaro.org>
10230 * boards/remote-gdbserver-on-localhost.exp: New file.
10232 2015-04-23 Pedro Alves <palves@redhat.com>
10234 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10235 $inferior_spawn_id instead of $inferior_spawn_id directly. On
10236 "end of file", remove $inferior_spawn_id from the indirect list.
10238 2015-04-23 Pedro Alves <palves@redhat.com>
10240 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10242 2015-04-23 Pedro Alves <palves@redhat.com>
10244 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10245 on $any_spawn_id instead of only on $gdb_spawn_id.
10247 2015-04-21 Pierre Muller <muller@sourceware.org>
10250 * lib/pascal.exp (gpc_compile): Add new option "class".
10251 (fpc_compile): Likewise.
10252 * gdb.pascal/case-insensitive-symbols.pas: New file.
10253 * gdb.pascal/case-insensitive-symbols.exp: New file.
10255 2015-04-20 Gary Benson <gbenson@redhat.com>
10257 * gdb.base/attach.exp: Fix three extended remote failures.
10259 2015-04-17 Gary Benson <gbenson@redhat.com>
10261 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10262 the main executable over the remote protocol.
10264 2015-04-16 Pedro Alves <palves@redhat.com>
10266 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10267 a new gdbserver if gdbserver_reconnect_p is set.
10269 2015-04-16 Pedro Alves <palves@redhat.com>
10271 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10272 is set, don't exit gdbserver.
10274 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10276 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10277 appropriate .insn, such that an older assembler can be used.
10278 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10279 the z/Architecture instruction set on 31-bit targets as well.
10281 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10283 * gdb.go/handcall.exp: Remove all logic related to the first
10284 breakpoint and rely on go_runto_main instead.
10285 * gdb.go/strings.exp: Likewise.
10286 * gdb.go/unsafe.exp: Likewise.
10287 * gdb.go/hello.exp: Likewise. Also rename the remaining
10288 breakpoint marker to "breakpoint 1".
10289 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10290 * gdb.go/strings.go: Likewise.
10291 * gdb.go/unsafe.go: Likewise.
10292 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
10293 "set breakpoint 2 here" and rename the remaining breakpoint marker
10296 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
10298 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10299 if itertools.imap is not present.
10300 * gdb.python/py-objfile.exp: Add parentheses.
10301 * gdb.python/py-type.exp: Same.
10302 * gdb.python/py-unwind-maint.py: Same.
10304 2015-04-15 Yao Qi <yao.qi@linaro.org>
10306 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10307 of ":$ptr_size" and set its form explicitly.
10309 2015-04-15 Pedro Alves <palves@redhat.com>
10310 Yao Qi <yao.qi@linaro.org>
10312 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10313 timeout by factor of 4.
10314 (test_regular_watch): Likewise.
10315 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10316 * gdb.reverse/sigall-reverse.exp: Likewise.
10317 * gdb.reverse/until-precsave.exp: Likewise.
10318 * lib/gdb.exp (with_timeout_factor): New proc.
10319 (gdb_expect): Move some code to ...
10320 (get_largest_timeout): ... here. New procedure.
10322 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
10324 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10326 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10328 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10329 to write to the .text section.
10331 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10333 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10334 Handle the case of targets that do not provide PID information.
10336 2015-04-13 Yao Qi <yao.qi@linaro.org>
10338 * lib/gdbserver-support.exp (gdb_exit): Catch exception
10339 and use expect instead of gdb_expect.
10341 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
10343 * gdb.base/coredump-filter.exp: Rename variable "addr" to
10344 "coredump_var_addr" to avoid naming conflict with other testcases.
10346 2015-04-10 Pedro Alves <palves@redhat.com>
10348 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10349 gdb_test_sequence and gdb_assert.
10351 2015-04-10 Pedro Alves <palves@redhat.com>
10353 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10354 test messages that don't include the breakpoint address.
10356 2015-04-10 Yao Qi <yao.qi@linaro.org>
10358 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10359 false for some offset and width combinations which aren't
10360 supported by linux kernel.
10362 2015-04-10 Pedro Alves <palves@redhat.com>
10364 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10365 procedure, factored out from ...
10366 (top level): ... here. Add "set displaced-stepping" testing axis.
10367 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10368 parameter "displaced". Use it.
10369 (top level): Use foreach and add "set displaced-stepping" testing
10372 2015-04-10 Pedro Alves <palves@redhat.com>
10374 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10376 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10377 both the address of the instruction that triggers the watchpoint
10378 and the address of the instruction immediately after, and use
10379 those addresses for the test. Fix comment.
10381 2015-04-10 Pedro Alves <palves@redhat.com>
10383 * gdb.base/sigstep.exp (breakpoint_to_handler)
10384 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10385 Test "backtrace" in handler.
10386 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10387 (top level): Add new "displaced" test axis to
10388 breakpoint_to_handler, breakpoint_to_handler_entry and
10389 breakpoint_over_handler.
10391 2015-04-10 Pedro Alves <palves@redhat.com>
10394 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10396 2015-04-10 Yao Qi <yao.qi@linaro.org>
10398 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10399 (test_add_rn_pc): New function.
10400 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10401 (top level): Invoke test_add_rn_pc.
10403 2015-04-10 Pedro Alves <palves@redhat.com>
10406 * gdb.base/step-over-no-symbols.exp: New file.
10408 2015-04-09 Andy Wingo <wingo@igalia.com>
10410 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10411 after the Python tests.
10413 2015-04-08 Keith Seitz <keiths@redhat.com>
10416 * gdb.python/py-completion.exp: New tests for completion.
10417 * gdb.python/py-completion.py (CompleteLimit1): New class.
10418 (CompleteLimit2): Likewise.
10419 (CompleteLimit3): Likewise.
10420 (CompleteLimit4): Likewise.
10421 (CompleteLimit5): Likewise.
10422 (CompleteLimit6): Likewise.
10423 (CompleteLimit7): Likewise.
10425 2015-04-08 Pedro Alves <palves@redhat.com>
10429 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10431 (main): Install it as SIGUSR1 handler.
10432 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10433 parameter. Always use "setup" as prefix. Toggle "set
10434 displaced-stepping" off/on depending on global. Don't switch to
10436 (top level): Add displaced stepping "off/on" test axis. Update
10437 "setup" calls. Wrap each subtest with with_test_prefix. Test
10438 continuing with a queued signal in each thread.
10440 2015-04-08 Pedro Alves <palves@redhat.com>
10442 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10443 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10444 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10445 Return early if running to main fails.
10446 * gdb.trace/while-stepping.exp: Likewise.
10448 2015-04-07 Pedro Alves <palves@redhat.com>
10450 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10451 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10452 interact with inferior program.
10454 2015-04-07 Pedro Alves <palves@redhat.com>
10456 * lib/gdb.exp (inferior_spawn_id): New global.
10457 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10458 spawn id after processing the user code.
10459 (default_gdb_start): Set inferior_spawn_id.
10460 (send_inferior): New procedure.
10461 * lib/gdbserver-support.exp (gdbserver_start): Set
10463 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10465 2015-04-07 Pedro Alves <palves@redhat.com>
10467 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10468 * lib/gdbserver-support.exp (gdbserver_start): Make
10469 $server_spawn_id global.
10470 (gdbserver_start): Don't wait for gdbserver's spawn id with
10472 (close_gdbserver): New procedure.
10473 (gdb_exit): Rename the default version and reimplement.
10475 2015-04-07 Pedro Alves <palves@redhat.com>
10477 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10478 append the substituted item, not the original item.
10480 2015-04-07 Pedro Alves <palves@redhat.com>
10482 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10485 2015-04-07 Pedro Alves <palves@redhat.com>
10487 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10488 output appearing once only.
10490 2015-04-07 Pedro Alves <palves@redhat.com>
10492 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10493 that doesn't expect anything. Return early if running to main
10496 2015-04-07 Yao Qi <yao.qi@linaro.org>
10498 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10499 (child_function): Call alarm.
10500 (main): Move call to alarm into the loop.
10501 * gdb.threads/non-stop-fair-events.exp: Build program with
10502 -DTIMEOUT=$timeout.
10504 2015-04-06 Doug Evans <xdje42@gmail.com>
10506 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10507 Fix dest parameter to board_info.
10508 (fpc_compile): Ditto.
10509 (gdb_compile_pascal): Rename dest arg to destfile.
10511 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10513 * gdb.ada/funcall_ref.exp: New file.
10514 * gdb.ada/funcall_ref/foo.adb: New file.
10516 2015-04-02 Yao Qi <yao.qi@linaro.org>
10518 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10521 2015-04-02 Gary Benson <gbenson@redhat.com>
10523 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10525 2015-04-01 Sasha Smundak <asmundak@google.com>
10527 * gdb.python/py-unwind-maint.c: New file.
10528 * gdb.python/py-unwind-maint.exp: New test.
10529 * gdb.python/py-unwind-maint.py: New file.
10530 * gdb.python/py-unwind.c: New file.
10531 * gdb.python/py-unwind.exp: New test.
10532 * gdb.python/py-unwind.py: New test.
10534 2015-04-01 Pedro Alves <palves@redhat.com>
10536 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10537 to fail instead of non-existent $test.
10539 2015-04-01 Pedro Alves <palves@redhat.com>
10541 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10542 GDBFLAGS if not empty.
10544 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10546 * gdb.ada/complete.exp: Remove "multi_line".
10547 * gdb.ada/info_exc.exp: Remove "multi_line".
10548 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10549 * gdb.ada/ptype_field.exp: Remove "multi_line".
10550 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10551 * gdb.ada/tagged.exp: Remove "multi_line".
10552 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10554 * gdb.btrace/delta.exp: Likewise.
10555 * gdb.btrace/exception.exp: Likewise.
10556 * gdb.btrace/function_call_history.exp: Likewise.
10557 * gdb.btrace/instruction_history.exp: Likewise.
10558 * gdb.btrace/nohist.exp: Likewise.
10559 * gdb.btrace/record_goto.exp: Likewise.
10560 * gdb.btrace/segv.exp: Likewise.
10561 * gdb.btrace/stepi.exp: Likewise.
10562 * gdb.btrace/tailcall.exp: Likewise.
10563 * gdb.btrace/unknown_functions.exp: Likewise.
10564 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10565 * lib/gdb.exp: Add the "multi_line" helper.
10567 2015-04-01 Pedro Alves <palves@redhat.com>
10569 * gdb.threads/tid-reuse.c: New file.
10570 * gdb.threads/tid-reuse.exp: New file.
10572 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10575 * gdb.base/coredump-filter.c: New file.
10576 * gdb.base/coredump-filter.exp: Likewise.
10578 2015-03-27 Petr Machata <pmachata@redhat.com>
10580 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10581 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10582 (Dwarf::assemble): Initialize them.
10583 (Dwarf::lines): New function.
10585 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10587 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10588 SYMBOL_PREFIX for x86_64-*-cygwin.
10590 2015-03-26 Andy Wingo <wingo@igalia.com>
10593 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10594 const_value but not a location.
10595 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10596 location defined in non-main CUs are visible.
10598 2015-03-26 Yao Qi <yao.qi@linaro.org>
10601 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10602 Add a line number entry for the same line.
10603 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10604 Add a line number entry for the same line.
10606 2015-03-26 Yao Qi <yao.qi@linaro.org>
10608 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10610 (func): Likewise. Add .Lfunc_1 label.
10611 Use .Lfunc_1 label.
10612 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10615 Use .Lfunc_1 label.
10617 2015-03-26 Yao Qi <yao.qi@linaro.org>
10619 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10620 Call gdb_compile instead to compile each .s files without debug
10623 2015-03-26 Yao Qi <yao.qi@linaro.org>
10625 * gdb.base/savedregs.exp (process_saved_regs): Make
10626 "Saved registers:" optional in the pattern.
10628 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10630 * gdb.btrace/next.exp: Merged into step.exp.
10631 * gdb.btrace/finish.exp: Merged into step.exp.
10632 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10633 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10634 "record goto" and checking the exact replay position.
10635 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10636 check for "Recording format" in "info record" output.
10637 * gdb.btrace/record_goto.exp: Choose test file based on target.
10638 * gdb.btrace/x86-record_goto.S: Renamed into ...
10639 * gdb.btrace/x86_64-record_goto.S: ... this.
10640 * gdb.btrace/i686-record_goto.S: New.
10641 * gdb.btrace/x86-tailcall.S: Renamed into ...
10642 * gdb.btrace/x86_64-tailcall.S: ... this.
10643 * gdb.btrace/i686-tailcall.S: New.
10644 * gdb.btrace/x86-tailcall.c: Renamed into ...
10645 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10646 separate statements. Update test.
10647 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10648 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10649 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10650 * gdb.btrace/tailcall.exp: Choose test file based on target.
10651 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10653 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10655 * gdb.btrace/exception.exp: Increase BTS buffer size.
10657 2015-03-24 Pedro Alves <palves@redhat.com>
10659 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10661 2015-03-24 Pedro Alves <palves@redhat.com>
10663 * gdb.threads/schedlock.exp (test_step): No longer expect that
10664 "set scheduler-locking step" with "next" over a function call runs
10667 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10669 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10671 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10673 PR breakpoints/16466
10674 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10675 * gdb.mi/mi-pending.c (thread_func): New function.
10676 (int main): Add threading support required.
10677 * gdb.mi/mi-pending.exp: Add tests for this issue.
10678 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10679 (pendfunc2): Remove stdio dependency.
10680 * gdb.mi/mi-pendshr2.c: New file.
10682 2015-03-23 Keith Seitz <keiths@redhat.com>
10684 * gdb.linespec/keywords.c: New file.
10685 * gdb.linespec/keywords.exp: New file.
10687 2015-03-23 Keith Seitz <keiths@redhat.com>
10690 * gdb.dwarf2/staticvirtual.exp: New test.
10692 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10694 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10695 * README: Remove HP-UX and gdb.hp.
10697 * configure: Regenerate.
10698 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10699 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10700 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10701 gdb.hp/gdb.defects/Makefile.
10702 * gdb.hp/Makefile.in: File deleted.
10703 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10704 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10705 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10706 * gdb.hp/gdb.aCC/run.c: File deleted.
10707 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10708 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10709 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10710 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10711 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10712 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10713 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10714 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10715 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10716 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10717 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10718 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10719 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10720 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10721 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10722 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10723 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10724 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10725 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10726 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10727 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10728 * gdb.hp/gdb.compat/average.c: File deleted.
10729 * gdb.hp/gdb.compat/sum.c: File deleted.
10730 * gdb.hp/gdb.compat/xdb.c: File deleted.
10731 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10732 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10733 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10734 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10735 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10736 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10737 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10738 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10739 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10740 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10741 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10742 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10743 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10744 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10745 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10746 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10747 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10748 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10749 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10750 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10751 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10752 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10753 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10754 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10755 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10756 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10757 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10758 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10759 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10760 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10761 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10762 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10763 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10764 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10765 * gdb.hp/tools/odump: File deleted.
10767 2015-03-19 Pedro Alves <palves@redhat.com>
10769 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10770 (saw_thread_3): New globals.
10771 (top level): Increment them when an event for the corresponding
10773 (no thread starvation): New test.
10775 2015-03-19 Pedro Alves <palves@redhat.com>
10777 * gdb.threads/continue-pending-status.c: New file.
10778 * gdb.threads/continue-pending-status.exp: New file.
10780 2015-03-18 Pedro Alves <palves@redhat.com>
10782 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10783 Use gdb_is_target_remote instead of is_remote. Use
10784 gdb_test_multiple instead of gdb_expect. Exit early if
10785 gdb_test_multiple hits its internal matches. Tighten stepi tests
10786 expected output. Fail on exit with any signal, instead of just
10789 2015-03-18 Yao Qi <yao.qi@linaro.org>
10792 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10794 * gdb.base/catch-syscall.exp: Don't skip it on
10795 aarch64*-*-linux* target. Remove elements in all_syscalls.
10796 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10798 (setup_all_syscalls): New proc.
10800 2015-03-16 Yao Qi <yao.qi@linaro.org>
10802 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10803 (top level): Skip tests if valid_addr_p returns false for
10806 2015-03-11 Andy Wingo <wingo@igalia.com>
10808 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10810 2015-03-11 Yao Qi <yao.qi@linaro.org>
10812 * gdb.base/catch-syscall.exp: Fix typo in comments.
10814 2015-03-11 Yao Qi <yao.qi@linaro.org>
10816 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10818 2015-03-09 Pedro Alves <palves@redhat.com>
10820 * dg-extract-results.py: Delete.
10822 2015-03-09 Pedro Alves <palves@redhat.com>
10824 Merge dg-extract-results.sh from GCC upstream (r218843).
10826 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10827 * dg-extract-results.sh: Use --text with grep to avoid issues with
10828 binary files. Fall back to cat -v, if that doesn't work.
10830 2015-03-05 Pedro Alves <palves@redhat.com>
10832 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10834 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10836 * lib/mi-support.exp (mi_expect_interrupt): Accept
10837 alternative event for when in all-stop mode.
10839 2015-03-04 Pedro Alves <palves@redhat.com>
10841 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10843 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10845 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10847 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10849 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10850 regexps for GDB's current line display, accept a hex address
10851 preceding the line number.
10853 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10855 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10856 the 'arch1' variable for "s390*-linux*" targets.
10858 2015-03-04 Pedro Alves <palves@redhat.com>
10860 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10861 (main): Pass missing retval argument to pthread_join call.
10863 2015-03-02 Pedro Alves <palves@redhat.com>
10865 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10866 (top level): Call do_test with non-stop as well.
10868 2015-03-02 Pedro Alves <palves@redhat.com>
10870 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10873 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10875 * gdb.arch/s390-vregs.exp: New test.
10876 * gdb.arch/s390-vregs.S: New file.
10878 2015-02-27 Pedro Alves <palves@redhat.com>
10880 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10881 call to catch_command_errors.
10882 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10883 catch_command_errors.
10885 2015-02-27 Pedro Alves <palves@redhat.com>
10887 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10888 "true" for boolean result.
10889 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10892 2015-02-27 Pedro Alves <palves@redhat.com>
10894 * lib/unbuffer_output.c: New file.
10895 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10896 (main): Call gdb_unbuffer_output.
10898 2015-02-27 Yao Qi <yao.qi@linaro.org>
10900 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10903 2015-02-26 Doug Evans <dje@google.com>
10905 * gdb.cp/class2.cc (Dbase, D): New classes.
10906 (main): New local delta.
10907 * gdb.cp/class2.exp: Test printing delta.
10908 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10909 (dynbar): New global.
10910 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10912 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10914 * gdb.compile/compile-ifunc.c: New file.
10915 * gdb.compile/compile-ifunc.exp: New file.
10917 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10919 * gdb.base/structs.exp: Check for correct struct on finish.
10921 2015-02-26 Yao Qi <yao.qi@linaro.org>
10923 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10926 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10928 * gdb.arch/cordic.ko.bz2: New file.
10929 * gdb.arch/cordic.ko.debug.bz2: New file.
10930 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10932 2015-02-25 Yao Qi <yao.qi@linaro.org>
10934 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10935 aarch64*-*-* target.
10937 2015-02-23 Pedro Alves <palves@redhat.com>
10939 * lib/gdb.exp (delete_breakpoints): Rewrite using
10942 2015-02-23 Pedro Alves <palves@redhat.com>
10944 * gdb.base/info-os.c: Include stdlib.h.
10946 2015-02-22 Doug Evans <xdje42@gmail.com>
10949 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10950 is read after symbols have been re-read.
10951 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10952 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10954 2015-02-21 Doug Evans <dje@google.com>
10956 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10958 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10961 * gdb.arch/i386-biarch-core.core.bz2: New file.
10962 * gdb.arch/i386-biarch-core.exp: New file.
10964 2015-02-21 Pedro Alves <palves@redhat.com>
10966 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10969 2015-02-20 Pedro Alves <palves@redhat.com>
10971 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10974 2015-02-20 Pedro Alves <palves@redhat.com>
10976 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10978 2015-02-20 Pedro Alves <palves@redhat.com>
10980 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10981 clean_restart before gdb_target_supports_trace.
10983 2015-02-20 Pedro Alves <palves@redhat.com>
10986 * gdb.threads/clone-thread_db.c: New file.
10987 * gdb.threads/clone-thread_db.exp: New file.
10989 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10991 PR breakpoints/16812
10992 * gdb.base/catch-gdb-caused-signals.c: New file.
10993 * gdb.base/catch-gdb-caused-signals.exp: New file.
10995 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10997 * configure: Regenerated.
10998 * configure.ac: Use GDB_AC_TRANSFORM.
10999 * aclocal.m4: sinclude ../transform.m4.
11001 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11003 * lib/dtrace.exp: New file.
11004 * gdb.base/dtrace-probe.exp: Likewise.
11005 * gdb.base/dtrace-probe.d: Likewise.
11006 * gdb.base/dtrace-probe.c: Likewise.
11007 * lib/pdtrace.in: Likewise.
11008 * configure.ac: Output variables with the transformed names of
11009 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
11010 * configure: Regenerated.
11012 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11014 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11015 expected message when trying to access $_probe_* convenience
11016 variables while not on a probe.
11018 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11020 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11022 2015-02-11 Pedro Alves <pedro@codesourcery.com>
11024 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11025 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11027 2015-02-10 Doug Evans <xdje42@gmail.com>
11029 * lib/gdb.exp (gdb_load): Always return a result.
11031 2015-02-10 Pedro Alves <palves@redhat.com>
11033 * gdb.threads/signal-sigtrap.c: New file.
11034 * gdb.threads/signal-sigtrap.exp: New file.
11036 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
11038 * gdb.trace/no-attach-trace.c: New file.
11039 * gdb.trace/no-attach-trace.exp: New file.
11041 2015-02-09 Mark Wielaard <mjw@redhat.com>
11043 * gdb.dwarf2/atomic.c: New file.
11044 * gdb.dwarf2/atomic-type.exp: Likewise.
11046 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11048 * gdb.btrace/buffer-size.exp: Update "info record" output.
11049 * gdb.btrace/delta.exp: Update "info record" output.
11050 * gdb.btrace/enable.exp: Update "info record" output.
11051 * gdb.btrace/finish.exp: Update "info record" output.
11052 * gdb.btrace/instruction_history.exp: Update "info record" output.
11053 * gdb.btrace/next.exp: Update "info record" output.
11054 * gdb.btrace/nexti.exp: Update "info record" output.
11055 * gdb.btrace/step.exp: Update "info record" output.
11056 * gdb.btrace/stepi.exp: Update "info record" output.
11057 * gdb.btrace/nohist.exp: Update "info record" output.
11059 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11061 * gdb.btrace/buffer-size: New.
11063 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11065 * gdb.btrace/delta.exp: Update "info record" output.
11066 * gdb.btrace/enable.exp: Update "info record" output.
11067 * gdb.btrace/finish.exp: Update "info record" output.
11068 * gdb.btrace/instruction_history.exp: Update "info record" output.
11069 * gdb.btrace/next.exp: Update "info record" output.
11070 * gdb.btrace/nexti.exp: Update "info record" output.
11071 * gdb.btrace/step.exp: Update "info record" output.
11072 * gdb.btrace/stepi.exp: Update "info record" output.
11073 * gdb.btrace/nohist.exp: Update "info record" output.
11075 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
11078 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11080 2015-02-06 Pedro Alves <palves@redhat.com>
11082 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11084 (seconds_left, again): New globals.
11085 (main): Wait seconds_left in a 1-second sleep loop instead of
11086 sleeping 180 seconds. If 'again' is set, reset the seconds
11088 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11089 'again' in the inferior before detaching. Print the seconds left.
11090 (options): New global.
11091 (top level): Build program with -DTIMEOUT=$timeout.
11093 2015-02-06 Pedro Alves <palves@redhat.com>
11095 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11096 determine how many seconds to pass to 'alarm'.
11097 * gdb.base/gdb-sigterm.exp (top level): Build program with
11098 -DTIMEOUT=$timeout.
11099 (do_test): Return success/failure indication. Add more verbose
11100 logging. Don't fail if 200 single steps are seen. Instead, fail
11101 when the test times out.
11102 (passes): New global.
11103 (top level): Break the testing loop if testing fails on any
11104 iteration. Use gdb_assert.
11106 2015-02-04 Don Breazeal <donb@codesourcery.com>
11108 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11109 and initialize them.
11110 (ipc_cleanup): New function.
11111 (main): Don't declare shmid, semid, and msqid. Add a call to
11112 atexit so that we call ipc_cleanup on exit.
11114 2015-02-04 Pedro Alves <palves@redhat.com>
11116 * boards/native-extended-gdbserver.exp: Remove any target variant
11117 specifications from the board name before clearing the isremote
11118 flag from board_info.
11120 2015-01-31 Doug Evans <xdje42@gmail.com>
11122 * gdb.base/maint.exp <maint print type argc>: Update expected output.
11124 2015-01-31 Gary Benson <gbenson@redhat.com>
11126 * gdb.base/completion.exp: Disable completion limiting for
11127 existing tests. Add new tests to check completion limiting.
11128 * gdb.linespec/ls-errs.exp: Disable completion limiting.
11130 2015-01-31 Doug Evans <xdje42@gmail.com>
11132 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11134 2015-01-31 Doug Evans <xdje42@gmail.com>
11136 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11137 entries. Duplicate file section script entries.
11138 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11139 inlined entries. Add test for safe-path rejection.
11140 * gdb.python/py-section-script.c: Add duplicate inlined section script
11141 entries. Duplicate file section script entries.
11142 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11143 inlined entries. Add test for safe-path rejection.
11145 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11147 * gdb.ada/disc_arr_bound: New testcase.
11149 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11151 * gdb.ada/mi_var_array: New testcase.
11153 2015-01-27 Doug Evans <dje@google.com>
11155 * gdb.python/py-objfile.exp: Add tests for objfile.username.
11156 Add test for objfile.filename, objfile.username after objfile
11159 2015-01-26 Joel Brobecker <brobecker@adacore.com>
11161 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11162 the second test to print the name attribute of value
11163 returned by the call to gdb.lookup_type, and adjust
11164 the expected output accordingly.
11166 2015-01-25 Mark Wielaard <mjw@redhat.com>
11168 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11169 * gdb.base/disp-step-fork.c: Include unistd.h.
11170 * gdb.base/siginfo-obj.c: Include stdio.h.
11171 * gdb.base/siginfo-thread.c: Likewise.
11172 * gdb.mi/non-stop.c: Include unistd.h.
11173 * gdb.mi/nsthrexec.c: Include stdio.h.
11174 * gdb.mi/pthreads.c: Include unistd.h.
11175 * gdb.modula2/unbounded1.c (main): Declare returns int.
11176 * gdb.reverse/consecutive-reverse.c: Likewise.
11177 * gdb.threads/create-fail.c: Include unistd.h.
11178 * gdb.threads/killed.c: Likewise.
11179 * gdb.threads/linux-dp.c: Likewise.
11180 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11181 * gdb.threads/non-ldr-exc-2.c: Likewise.
11182 * gdb.threads/non-ldr-exc-3.c: Likewise.
11183 * gdb.threads/non-ldr-exc-4.c: Likewise.
11184 * gdb.threads/pthreads.c: Include unistd.h.
11185 (main): Declare returns int.
11186 * gdb.threads/tls-main.c (foo): New declaration.
11187 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11189 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
11191 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11192 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11194 2015-01-15 Mark Wielaard <mjw@redhat.com>
11196 * gdb.base/noreturn-return.c: New file.
11197 * gdb.base/noreturn-return.exp: New file.
11198 * gdb.base/noreturn-finish.c: New file.
11199 * gdb.base/noreturn-finish.exp: New file.
11201 2015-01-23 Pedro Alves <palves@redhat.com>
11203 * gdb.threads/continue-pending-after-query.c: New file.
11204 * gdb.threads/continue-pending-after-query.exp: New file.
11206 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
11207 Simon Marchi <simon.marchi@ericsson.com>
11209 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11210 * gdb.base/valgrind-db-attach.exp: Same.
11211 * gdb.base/valgrind-infcall.exp: Same.
11212 * lib/mi-support.exp (default_mi_gdb_start): Same.
11213 * lib/prompt.exp (default_prompt_gdb_start): Same.
11214 * lib/gdb.exp (default_gdb_spawn): Same.
11215 (gdb_interact): New.
11218 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11220 * gdb.compile/compile.exp (pointer to jit function): New test.
11222 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
11224 * lib/gdb.exp (supports_process_record): Return true for
11226 (supports_reverse): Likewise.
11228 2015-01-15 Don Breazeal <donb@codesourcery.com>
11230 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11231 instead of checking whether the target board is remote and
11232 use spawn_wait_for_attach instead of exec/sleep.
11233 * gdb.base/attach-twice.exp: Likewise.
11235 2015-01-15 Joel Brobecker <brobecker@adacore.com>
11237 * gdb.ada/var_arr_attrs: New testcase.
11239 2015-01-14 Pedro Alves <palves@redhat.com>
11240 Joel Brobecker <brobecker@adacore.com>
11243 * gdb.base/bp-cmds-execution-x-script.c: New file.
11244 * gdb.base/bp-cmds-execution-x-script.exp: New file.
11245 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11247 2015-01-14 Pedro Alves <palves@redhat.com>
11250 * gdb.base/batch-preserve-term-settings.c: New file.
11251 * gdb.base/batch-preserve-term-settings.exp: New file.
11253 2015-01-13 Doug Evans <dje@google.com>
11255 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11258 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11260 * Makefile.in (clean mostlyclean): Do not delete *.py.
11262 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11264 * gdb.python/py-lookup-type.exp: New file.
11266 2015-01-12 Pedro Alves <palves@redhat.com>
11268 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11269 restore GDBFLAGS before returning.
11271 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11273 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11274 is_amd64_regs_target and is_x86_like_target.
11276 2015-01-11 Doug Evans <xdje42@gmail.com>
11278 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11279 is given without an explicit form.
11280 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11282 * gdb.dwarf/corrupt.exp: Ditto.
11283 * gdb.dwarf2/enum-type.exp: Ditto.
11284 * gdb.trace/entry-values.exp: Ditto.
11285 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11287 2015-01-11 Doug Evans <xdje42@gmail.com>
11290 * gdb.base/maint.exp: Remove references to "maint demangle".
11291 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
11292 Add tests for explicitly specifying language to demangle.
11293 * gdb.dlang/demangle.exp: Ditto.
11295 2015-01-09 Pedro Alves <palves@redhat.com>
11297 * gdb.threads/non-stop-fair-events.c: New file.
11298 * gdb.threads/non-stop-fair-events.exp: New file.
11300 2015-01-09 Pedro Alves <palves@redhat.com>
11302 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11303 the global scope. Set a breakpoint after all threads are started
11304 rather than stepping over two source lines. Expect the prompt.
11305 * gdb.base/watch_thread_num.c (threads_started_barrier): New
11308 (main): Use threads_started_barrier to wait for all threads to
11309 start. Main thread no longer calls thread_function. Exit after
11311 (loop): New function.
11312 (thread_function): Wait on threads_started_barrier barrier. Call
11313 'loop' at each iteration.
11314 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11315 threads have started, instead of hardcoding number of "next"
11316 steps. Use an access watchpoint instead of a write watchpoint.
11318 2015-01-09 Pedro Alves <palves@redhat.com>
11320 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11321 (thread_func): Wait on barrier.
11322 (main): Wait for all threads to start before stopping GDB.
11323 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11325 (thread1_func, thread2_func): Wait on barrier.
11326 (main): Wait for all threads to start before stopping GDB.
11327 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11329 (thread1_func, thread2_func): Wait on barrier.
11330 (main): Wait for all threads to start before stopping GDB.
11332 2015-01-09 Pedro Alves <palves@redhat.com>
11334 * gdb.threads/attach-many-short-lived-threads.c: New file.
11335 * gdb.threads/attach-many-short-lived-threads.exp: New file.
11337 2014-01-09 Pedro Alves <palves@redhat.com>
11339 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11340 instead of to thread 2.
11341 * gdb.threads/signal-command-multiple-signals-pending.c (main):
11342 Add barrier around each pthread_create call instead of around all
11344 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11345 Set a break on thread_function and have the child threads hit it
11348 2015-01-09 Pedro Alves <palves@redhat.com>
11350 * lib/gdb.exp (can_spawn_for_attach): New procedure.
11351 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11353 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11354 checking whether the target board is remote.
11355 * gdb.multi/multi-attach.exp: Likewise.
11356 * gdb.python/py-sync-interp.exp: Likewise.
11357 * gdb.server/ext-attach.exp: Likewise.
11358 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11359 tests that need to attach, instead of checking whether the target
11360 board is remote at the top of the file.
11362 2015-01-08 Yao Qi <yao@codesourcery.com>
11364 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11366 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11368 Fix testcase compilation.
11369 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11371 2015-01-06 Joel Brobecker <brobecker@adacore.com>
11373 * gdb.python/py-type.exp: Add a couple test about empty
11374 array creation, and negative-length array creation.
11376 2015-01-02 Doug Evans <xdje42@gmail.com>
11378 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11380 2015-01-02 Doug Evans <dje@google.com>
11382 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11384 2014-12-29 Yao Qi <yao@codesourcery.com>
11386 * gdb.trace/entry-values.exp: Update comments. Rename variable
11387 bar_call_foo to returned_from_foo.
11389 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11392 * gdb.linespec/break-asm-file.c: New file.
11393 * gdb.linespec/break-asm-file.exp: New file.
11394 * gdb.linespec/break-asm-file0.s: New file.
11395 * gdb.linespec/break-asm-file1.s: New file.
11397 2014-12-18 Nigel Stephens <nigel@mips.com>
11398 Maciej W. Rozycki <macro@codesourcery.com>
11400 * gdb.base/float.exp: Handle the new output from "info float" on
11403 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11405 Fix MinGW compilation.
11406 * gdb.compile/compile-ops.exp: Update untested message if
11407 !skip_compile_feature_tests.
11408 * gdb.compile/compile-setjmp.exp: Likewise.
11409 * gdb.compile/compile-tls.exp: Likewise.
11410 * gdb.compile/compile.exp: Likewise.
11411 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11412 supported on this host".
11414 2014-12-16 Doug Evans <xdje42@gmail.com>
11416 * boards/stabs.exp: New file.
11418 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
11420 * gdb.base/completion.exp: Adjust to format changes of "maint
11421 print user-registers".
11423 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
11426 * gdb.arch/aarch64-fp.c: New file.
11427 * gdb.arch/aarch64-fp.exp: New file.
11429 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11431 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11432 r210637, r210913, r211666, r215400, r215817).
11434 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11435 * dg-extract-results.py: New file.
11436 * dg-extract-results.sh: Use it if the environment seems
11439 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11441 * dg-extract-results.py (parse_run): Handle warnings that
11442 are printed before a test harness is run.
11444 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11446 * dg-extract-results.py (Named): Remove __cmp__ method.
11447 (output_variation): Use a key to sort variation.harnesses.
11449 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11451 * dg-extract-results.py: For Python 3, force sys.stdout to
11452 handle surrogate escape sequences.
11453 (safe_open): New function.
11454 (output_segment, main): Use it.
11456 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11458 * dg-extract-results.py (Prog.result_re): Include options
11461 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11463 * dg-extract-results.py (output_variation): Always sort if
11466 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11468 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11469 as long as we get pagination notifications.
11471 2014-12-15 Jason Merrill <jason@redhat.com>
11473 * Makefile.in (check-gdb.%): Restore.
11474 * README: Mention it.
11476 2014-12-13 Joel Brobecker <brobecker@adacore.com>
11478 * gdb.ada/str_uninit: New testcase.
11480 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11483 * gdb.base/vla-stub-define.c: New file.
11484 * gdb.base/vla-stub.c: New file.
11485 * gdb.base/vla-stub.exp: New file.
11487 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11488 Jan Kratochvil <jan.kratochvil@redhat.com>
11489 Tom Tromey <tromey@redhat.com>
11491 * configure.ac: Add gdb.compile/.
11492 * configure: Regenerate.
11493 * gdb.compile/Makefile.in: New file.
11494 * gdb.compile/compile-ops.exp: New file.
11495 * gdb.compile/compile-ops.c: New file.
11496 * gdb.compile/compile-tls.c: New file.
11497 * gdb.compile/compile-tls.exp: New file.
11498 * gdb.compile/compile-constvar.S: New file.
11499 * gdb.compile/compile-constvar.c: New file.
11500 * gdb.compile/compile-mod.c: New file.
11501 * gdb.compile/compile-nodebug.c: New file.
11502 * gdb.compile/compile-setjmp-mod.c: New file.
11503 * gdb.compile/compile-setjmp.c: New file.
11504 * gdb.compile/compile-setjmp.exp: New file.
11505 * gdb.compile/compile-shlib.c: New file.
11506 * gdb.compile/compile.c: New file.
11507 * gdb.compile/compile.exp: New file.
11508 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11510 2014-12-12 Tom Tromey <tromey@redhat.com>
11512 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11513 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11515 2014-12-12 Doug Evans <dje@google.com>
11517 * lib/gdb-python.exp (get_python_valueof): New function.
11518 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11520 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11522 * gdb.base/completion.exp: Add test for completion of "info
11525 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11527 * gdb.base/func-ptrs.c: New file.
11528 * gdb.base/func-ptrs.exp: New file.
11530 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11532 PR breakpoints/17012
11533 * gdb.base/dprintf-detach.c: New file.
11534 * gdb.base/dprintf-detach.exp: New file.
11536 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11538 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11539 * lib/gdb.exp (target_is_gdbserver): New procedure.
11541 2014-12-08 Doug Evans <dje@google.com>
11543 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11545 2014-12-05 Yao Qi <yao@codesourcery.com>
11547 * gdb.guile/scm-error.exp: Remove the third argument to
11548 gdb_remote_download.
11549 * gdb.guile/scm-frame-args.exp: Likewise.
11550 * gdb.guile/scm-section-script.exp: Likewise.
11552 2014-12-05 Yao Qi <yao@codesourcery.com>
11554 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11556 2014-12-04 Doug Evans <dje@google.com>
11558 * gdb.python/py-objfile.exp: Add tests for
11559 objfile.add_separate_debug_file.
11561 2014-12-04 Doug Evans <dje@google.com>
11563 * lib/gdb.exp (get_build_id): New function.
11564 (build_id_debug_filename_get): Rewrite to use it.
11565 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11567 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11569 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11570 `method(long)', not just 0x0.
11571 * gdb.cp/nsalias.exp: Align code labels to 4.
11572 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11573 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11574 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11575 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11576 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11577 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11579 2014-12-02 Doug Evans <dje@google.com>
11582 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11583 * gdb.cp/anon-ns2.cc: ... here. New file.
11584 * gdb.cp/anon-ns.exp: Update.
11586 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11588 * gdb.python/py-events.py (inferior_call_handler): New.
11589 (register_changed_handler, memory_changed_handler): New.
11590 (test_events.invoke): Register new handlers.
11591 * gdb.python/py-events.exp: Add tests for inferior call,
11592 memory_changed and register_changed events.
11594 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11596 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11597 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11598 if the linker doesn't understand this.
11600 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11602 * gdb.python/python.exp: Change expected reply to help().
11604 2014-12-01 Yao Qi <yao@codesourcery.com>
11606 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11607 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11608 * configure: Re-generated.
11610 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11612 * gdb.cp/chained-calls.cc: New file.
11613 * gdb.cp/chained-calls.exp: New file.
11614 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11616 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11618 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11619 * gdb.dwarf2/symtab-producer.exp: Same.
11620 * gdb.gdb/python-interrupts.exp: Same.
11621 * gdb.gdb/python-selftest.exp: Same.
11622 * gdb.python/py-linetable.exp: Same.
11623 * gdb.python/py-type.exp: Same.
11624 * gdb.python/py-value-cc.exp: Same.
11625 * gdb.python/py-value.exp: Same.
11627 2014-11-28 Yao Qi <yao@codesourcery.com>
11629 * gdb.base/break-probes.exp: Match library name prefixed with
11632 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11634 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11635 test expected output. Add parentheses for the call to print.
11636 Remove L suffix from integers.
11638 2014-11-26 Doug Evans <dje@google.com>
11640 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11642 2014-11-22 Yao Qi <yao@codesourcery.com>
11644 * gdb.trace/entry-values.c: Remove asms.
11645 (foo): Add foo_label.
11646 (bar): Add bar_label.
11647 * gdb.trace/entry-values.exp: Remove code computing foo's
11648 length and bar's length.
11649 (Dwarf::assemble): Invoke function_range for bar and use
11650 MACRO_AT_func for foo.
11652 2014-11-22 Yao Qi <yao@codesourcery.com>
11654 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11655 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11656 Use .Lgcc43_procstart instead of gcc43.
11658 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11660 * gdb.ada/n_arr_bound: New testcase.
11662 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11664 PR breakpoints/10737
11665 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11666 test_catch_syscall_multi_arch.
11667 (test_catch_syscall_multi_arch): New function.
11669 2014-11-20 Doug Evans <xdje42@gmail.com>
11671 * gdb.base/maint.exp: Update expected output.
11673 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11675 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11676 4-byte instruction on S390.
11678 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11680 * gdb.ada/arr_arr: New testcase.
11682 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11684 * gdb.ada/pkd_arr_elem: New Testcase.
11686 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11688 * gdb.reverse/break-precsave: Expect completion message for
11690 * gdb.reverse/consecutive-precsave.exp: Likewise.
11691 * gdb.reverse/finish-precsave.exp: Likewise.
11692 * gdb.reverse/i386-precsave.exp: Likewise.
11693 * gdb.reverse/machinestate-precsave.exp: Likewise.
11694 * gdb.reverse/sigall-precsave.exp: Likewise.
11695 * gdb.reverse/solib-precsave.exp: Likewise.
11696 * gdb.reverse/step-precsave.exp: Likewise.
11697 * gdb.reverse/until-precsave.exp: Likewise.
11698 * gdb.reverse/watch-precsave.exp: Likewise.
11700 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11702 * gdb.base/bp-permanent.c: Include unistd.h.
11703 * gdb.python/py-framefilter-mi.c (main): Add return type.
11704 * gdb.python/py-framefilter.c (main): Likewise.
11705 * gdb.trace/actions-changed.c (main): Likewise.
11707 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11709 * gdb.mi/until.c: Add eye-catchers.
11710 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11713 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11715 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11716 function header variants in break1.c.
11717 * gdb.base/ena-dis-br.exp: Likewise.
11718 * gdb.base/hbreak2.exp: Likewise.
11719 * gdb.reverse/until-precsave.exp: Drop references to removed
11720 non-prototype function header variants in ur1.c.
11721 * gdb.reverse/until-reverse.exp: Likewise.
11723 2014-11-17 Petr Machata <pmachata@redhat.com>
11725 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11726 ${_cu_offset_size} bytes abbrev offset.
11728 2014-11-15 Doug Evans <xdje42@gmail.com>
11731 * gdb.base/line-symtabs.exp: New file.
11732 * gdb.base/line-symtabs.c: New file.
11733 * gdb.base/line-symtabs.h: New file.
11735 2014-11-14 Yao Qi <yao@codesourcery.com>
11737 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11738 (func): Add label func_label.
11739 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11740 Replace low_pc and high_pc with MACRO_AT_range.
11741 Replace name, low_pc and high_pc with MACRO_AT_func.
11743 2014-11-14 Yao Qi <yao@codesourcery.com>
11745 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11746 Replace name, low_pc and high_pc with MACRO_AT_func.
11748 2014-11-14 Yao Qi <yao@codesourcery.com>
11750 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11751 produce debug information.
11752 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11754 2014-11-14 Yao Qi <yao@codesourcery.com>
11756 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11757 object and get function length.
11758 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11759 with MACRO_AT_func.
11760 (top-level): Replace gdb_compile and clean_restart with
11761 prepare_for_testing.
11762 * gdb.dwarf2/main.c (main): Add label main_label.
11764 2014-11-14 Yao Qi <yao@codesourcery.com>
11766 * lib/dwarf.exp (function_range): New procedure.
11767 (Dwarf::_handle_macro_at_func): New procedure.
11768 (Dwarf::_handle_macro_at_range): New procedure.
11769 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11771 2014-11-14 Yao Qi <yao@codesourcery.com>
11773 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11774 (_handle_attribute): New procedure.
11776 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11778 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11779 * gdb.base/call-sc.c (zed): Likewise.
11780 * gdb.base/checkpoint.c (main): Likewise.
11781 * gdb.base/dump.c (main): Likewise.
11782 * gdb.base/gcore.c (main): Likewise.
11783 * gdb.base/huge.c (main): Likewise.
11784 * gdb.base/multi-forks.c (main): Likewise.
11785 * gdb.base/pr10179-a.c (main): Likewise.
11786 * gdb.base/savedregs.c (main): Likewise.
11787 * gdb.base/sigaltstack.c (main): Likewise.
11788 * gdb.base/siginfo.c (main): Likewise.
11789 * gdb.base/structs.c (zed): Likewise.
11790 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11791 * gdb.mi/mi-syn-frame.c (main): Likewise.
11792 * gdb.mi/until.c (foo, main): Likewise.
11793 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11794 * gdb.base/solib-weak.c (foo): Declare.
11795 * gdb.base/attach-twice.c: Include stdio.h.
11796 * gdb.base/weaklib1.c: Likewise.
11797 * gdb.base/weaklib2.c: Likewise.
11798 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11799 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11801 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11802 * gdb.mi/mi-exit-code.c: Likewise.
11803 * gdb.base/break-interp-lib.c: Include string.h.
11804 * gdb.base/coremaker.c: Likewise.
11805 * gdb.base/testenv.c: Likewise.
11806 * gdb.python/py-finish-breakpoint.c: Likewise.
11807 * gdb.base/inferior-died.c: Include sys/wait.h.
11808 * gdb.base/fileio.c: Include time.h.
11809 * gdb.base/async-shell.c: Include unistd.h.
11810 * gdb.base/dprintf-non-stop.c: Likewise.
11811 * gdb.base/info-os.c: Likewise.
11812 * gdb.mi/mi-console.c: Likewise.
11813 * gdb.mi/watch-nonstop.c: Likewise.
11814 * gdb.python/py-events.c: Likewise.
11815 * gdb.base/async.c (baz): Move up before its invocation.
11816 * gdb.base/code_elim2.c (my_global_func): Likewise.
11817 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11818 * gdb.base/advance.c (func2): Likewise.
11820 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11822 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11824 * gdb.base/annota3.c: Likewise.
11825 * gdb.base/async.c: Likewise.
11826 * gdb.base/average.c: Likewise.
11827 * gdb.base/call-ar-st.c: Likewise.
11828 * gdb.base/call-rt-st.c: Likewise.
11829 * gdb.base/call-sc.c: Likewise.
11830 * gdb.base/call-strs.c: Likewise.
11831 * gdb.base/ending-run.c: Likewise.
11832 * gdb.base/execd-prog.c: Likewise.
11833 * gdb.base/exprs.c: Likewise.
11834 * gdb.base/foll-exec.c: Likewise.
11835 * gdb.base/foll-fork.c: Likewise.
11836 * gdb.base/foll-vfork.c: Likewise.
11837 * gdb.base/funcargs.c: Likewise.
11838 * gdb.base/gcore.c: Likewise.
11839 * gdb.base/jump.c: Likewise.
11840 * gdb.base/langs0.c: Likewise.
11841 * gdb.base/langs1.c: Likewise.
11842 * gdb.base/langs2.c: Likewise.
11843 * gdb.base/mips_pro.c: Likewise.
11844 * gdb.base/nodebug.c: Likewise.
11845 * gdb.base/opaque0.c: Likewise.
11846 * gdb.base/opaque1.c: Likewise.
11847 * gdb.base/recurse.c: Likewise.
11848 * gdb.base/run.c: Likewise.
11849 * gdb.base/scope0.c: Likewise.
11850 * gdb.base/scope1.c: Likewise.
11851 * gdb.base/setshow.c: Likewise.
11852 * gdb.base/setvar.c: Likewise.
11853 * gdb.base/shmain.c: Likewise.
11854 * gdb.base/shr1.c: Likewise.
11855 * gdb.base/shr2.c: Likewise.
11856 * gdb.base/sigall.c: Likewise.
11857 * gdb.base/signals.c: Likewise.
11858 * gdb.base/so-indr-cl.c: Likewise.
11859 * gdb.base/solib2.c: Likewise.
11860 * gdb.base/structs.c: Likewise.
11861 * gdb.base/sum.c: Likewise.
11862 * gdb.base/vforked-prog.c: Likewise.
11863 * gdb.base/watchpoint.c: Likewise.
11864 * gdb.reverse/shr2.c: Likewise.
11865 * gdb.reverse/until-reverse.c: Likewise.
11866 * gdb.reverse/ur1.c: Likewise.
11867 * gdb.reverse/watch-reverse.c: Likewise.
11869 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11871 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11873 * gdb.base/sepdebug.exp: Drop references to removed code.
11875 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11877 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11878 variant. Preserve original line numbering.
11879 * gdb.base/list1.c: Likewise.
11881 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11883 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11885 * gdb.base/break1.c: Likewise.
11886 * gdb.base/break.exp: Drop references to removed code.
11888 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11890 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11893 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11895 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11897 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11899 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11900 logic into perform_all_tests() and invoke it with and without
11901 function header prototypes.
11902 (do_function_calls): Remove conditional XFAIL for PR 5318.
11903 (rerun_and_prepare): Remove duplicate code.
11904 (perform_all_tests): New. Main logic moved here.
11906 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11908 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11909 code guarded by #ifdef NO_PROTOTYPES.
11910 (t_double_many_args): Likewise.
11911 (DEF_FUNC_MANY_ARGS_1): Likewise.
11912 (DEF_FUNC_VALUES_1): Likewise.
11913 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11914 guarded by #ifdef PROTOTYPES.
11916 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11918 * gdb.mi/mi-console.c: Add eye-catcher.
11919 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11920 instead of literal line number.
11922 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11924 * gdb.base/shr2.c: Add eye-catcher.
11925 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11928 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11930 * gdb.base/jump.c: Add eye-catchers.
11931 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11934 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11936 * gdb.base/execd-prog.c: Add eye-catchers.
11937 * gdb.base/foll-exec.c: Likewise.
11938 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11941 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11943 * gdb.base/ending-run.c: Add eye-catchers.
11944 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11945 literal line numbers.
11947 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11949 * gdb.base/call-rt-st.c: Add eye-catchers.
11950 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11951 literal line numbers.
11953 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11955 * gdb.base/call-ar-st.c: Add eye-catchers.
11956 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11957 literal line numbers.
11959 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11961 * gdb.base/average.c: Add eye-catchers.
11962 * gdb.base/sum.c: Likewise.
11963 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11964 regexps dynamically.
11966 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11968 * gdb.base/solib1.c: Add eye-catchers.
11969 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11970 literal line numbers.
11972 2014-11-12 Pedro Alves <palves@redhat.com>
11974 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11977 2014-11-12 Pedro Alves <palves@redhat.com>
11979 * gdb.arch/i386-bp_permanent.c: New file.
11980 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11981 (srcfile): Set to i386-bp_permanent.c.
11982 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11983 that stepi does not execute the 'leave' instruction, instead of
11984 testing it does execute.
11985 * gdb.base/bp-permanent.c: New file.
11986 * gdb.base/bp-permanent.exp: New file.
11988 2014-11-10 Doug Evans <xdje42@gmail.com>
11991 * gdb.base/symtab-search-order.exp: New file.
11992 * gdb.base/symtab-search-order.c: New file.
11993 * gdb.base/symtab-search-order-1.c: New file.
11994 * gdb.base/symtab-search-order-shlib-1.c: New file.
11996 2014-11-07 Pedro Alves <palves@redhat.com>
11999 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12002 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
12005 * gdb.cp/pr17494.cc: New file.
12006 * gdb.cp/pr17494.exp: New file.
12008 2014-11-02 Yao Qi <yao@codesourcery.com>
12010 * gdb.python/python.exp: Get working directory and match the
12011 output of "set extended-prompt \\w " with it.
12013 2014-10-30 Doug Evans <dje@google.com>
12015 * gdb.python/py-objfile.exp: Add tests for setting random attributes
12017 * gdb.python/py-progspace.exp: Add tests for setting random attributes
12020 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
12022 * gdb.base/fullpath-expand.exp: Skip for a remote host.
12023 * gdb.base/realname-expand.exp: Likewise.
12024 * gdb.linespec/macro-relative.exp: Likewise.
12026 2014-10-29 Pedro Alves <palves@redhat.com>
12029 * gdb.threads/schedlock.c (some_function): New function.
12030 (call_function): New global.
12031 (MAYBE_CALL_SOME_FUNCTION): New macro.
12032 (thread_function): Call it.
12033 * gdb.threads/schedlock.exp (get_args): Add description parameter,
12034 and use it instead of a global counter. Adjust all callers.
12035 (get_current_thread): Use "find current thread" for test message
12036 here rather than having all callers pass down the same string.
12037 (goto_loop): New procedure, factored out from ...
12038 (my_continue): ... this.
12039 (step_ten_loops): Change parameter from test message to command to
12041 (list_count): Delete global.
12042 (check_result): New procedure, factored out from duplicate top
12044 (continue tests): Wrap in with_test_prefix.
12045 (test_step): New procedure, factored out from duplicate top level
12047 (top level): Test "step" in combination with all scheduler-locking
12048 modes. Test "next" in combination with all scheduler-locking
12049 modes, and in combination with stepping over a function call or
12051 * gdb.threads/next-bp-other-thread.c: New file.
12052 * gdb.threads/next-bp-other-thread.exp: New file.
12054 2014-10-29 Pedro Alves <palves@redhat.com>
12057 * gdb.python/python.exp: Test a multi-line command that spawns
12058 interactive Python.
12059 * gdb.base/multi-line-starts-subshell.exp: New file.
12061 2014-10-29 Yao Qi <yao@codesourcery.com>
12063 * gdb.base/fileio.exp: Make directories on host.
12065 2014-10-29 Yao Qi <yao@codesourcery.com>
12067 * gdb.base/fileio.c (test_write): Close the file.
12069 2014-10-28 Pedro Alves <palves@redhat.com>
12072 * gdb.base/sigstep.c (no_handler): New global.
12073 (main): If 'no_handler is true, set the signal handlers to
12075 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12076 with_sw_watch and no_handler parameters. Handle them.
12077 (top level) <stepping over handler when stopped at a breakpoint
12078 test>: Add a test axis for testing with a software watchpoint, and
12079 another for testing with the signal handler set to SIG_IGN.
12080 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12081 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12083 2014-10-28 Pedro Alves <palves@redhat.com>
12086 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12087 * gdb.base/sigstep.exp (other_handler_location): New global.
12088 (advance): Support stepping into the signal handler, and running
12089 commands while in the handler.
12090 (in_handler_map): New global.
12091 (top level): In the advance test, add combinations for getting
12092 into the handler with stepping commands, and for running commands
12093 in the handler. Add comment descripting the advancei tests.
12095 2014-10-28 Pedro Alves <palves@redhat.com>
12097 * gdb.base/sigstep.exp: Use build_executable instead of
12098 prepare_for_testing.
12099 (top level): Move code that starts GDB, runs to main and creates a
12101 (restart): ... this new procedure.
12102 (top level): Move backtrace from signal handler test to ...
12103 (validate_backtrace): ... this new procedure.
12104 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
12105 with_test_prefix. Always restart GDB.
12106 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
12107 with_test_prefix. Always restart GDB. No need to delete
12108 breakpoints after the test.
12109 (test_skip_handler): Remove prefix parameter.
12110 (skip_over_handler, breakpoint_to_handler)
12111 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12112 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
12113 restart GDB. No need to delete breakpoints after the test.
12114 (top level): Use foreach to call the test procedures with
12115 different commands.
12117 2014-10-28 Pedro Alves <palves@redhat.com>
12119 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12120 instead of GNATS numbers.
12121 * gdb.base/sigbpt.exp: Likewise.
12122 * gdb.base/siginfo.exp: Likewise.
12123 * gdb.base/sigstep.exp: Likewise.
12125 2014-10-27 Pedro Alves <palves@redhat.com>
12127 * gdb.base/sigstep.c (dummy): New global.
12128 (main): Issue a couple writes to the new global.
12129 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12131 (skip_over_handler): Use test_skip_handler.
12132 (top level): Call skip_over_handler for stepi and nexti too.
12133 (breakpoint_over_handler): Use test_skip_handler.
12134 (top level): Call breakpoint_over_handler for stepi and nexti too.
12136 2014-10-27 Yao Qi <yao@codesourcery.com>
12138 * gdb.trace/tfile.c (adjust_function_address)
12139 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12140 function descriptor.
12142 2014-10-24 Don Breazeal <donb@codesourcery.com>
12144 * gdb.base/foll-fork.exp (test_follow_fork,
12145 catch_fork_child_follow): Check for updated fork messages emitted
12147 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12148 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12149 vfork_and_exec_child_follow_through_step): Check for updated vfork
12150 messages emitted from infrun.c.
12152 2014-10-24 Pedro Alves <palves@redhat.com>
12154 * gdb.base/corefile.exp: Remove references to ultrix.
12155 * gdb.base/interrupt.exp: Likewise.
12156 * gdb.base/whatis.exp: Likewise.
12157 * gdb.gdb/selftest.exp: Likewise.
12158 * gdb.threads/manythreads.exp: Likewise.
12159 * gdb.threads/print-threads.exp: Likewise.
12160 * gdb.threads/pthreads.exp:: Likewise.
12161 * gdb.threads/schedlock.exp: Likewise.
12163 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
12165 * gdb.cp/non-trivial-retval.cc: Add a test case.
12166 * gdb.cp/non-trivial-retval.exp: Add a test.
12168 2014-10-20 Yao Qi <yao@codesourcery.com>
12170 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12171 * gdb.python/py-objfile-script-gdb.py: New file.
12172 * gdb.python/py-objfile-script.exp: Update reference to
12173 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
12174 of remote_download. Remove the dest file.
12176 2014-10-20 Yao Qi <yao@codesourcery.com>
12178 * gdb.base/checkpoint.exp: Don't remove file copied on host.
12179 * gdb.base/step-line.exp: Likewise.
12180 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12181 * gdb.dwarf2/dw2-basic.exp: Likewise.
12182 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12183 * gdb.dwarf2/dw2-filename.exp: Likewise.
12184 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12185 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12186 * gdb.dwarf2/dw2-producer.exp: Likewise.
12187 * gdb.dwarf2/mac-fileno.exp: Likewise.
12188 * gdb.python/py-frame-args.exp: Likewise.
12189 * gdb.python/py-framefilter.exp: Likewise.
12190 * gdb.python/py-mi.exp: Likewise.
12191 * gdb.python/py-objfile-script.exp: Likewise
12192 * gdb.python/py-pp-integral.exp: Likewise.
12193 * gdb.python/py-pp-re-notag.exp: Likewise.
12194 * gdb.python/py-prettyprint.exp: Likewise.
12195 * gdb.python/py-section-script.exp: Likewise.
12196 * gdb.python/py-typeprint.exp: Likewise.
12197 * gdb.python/py-xmethods.exp: Likewise.
12198 * gdb.stabs/weird.exp: Likewise.
12199 * gdb.xml/tdesc-regs.exp: Likewise.
12201 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
12203 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12204 (out_cu): Use addr_len for the size of addresses.
12205 (out_line): Likewise. Size DW_LNE_set_address instruction
12206 according to addr_len.
12207 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12208 (FUNC): Add START_INSNS to definition.
12210 2014-10-18 Yao Qi <yao@codesourcery.com>
12212 * gdb.base/argv0-symlink.exp: Check argv[0] value if
12213 gdb_has_argv0 return true.
12214 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12215 check [target_info exists noargs], check [gdb_has_argv0]
12217 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12218 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12221 2014-10-17 Doug Evans <dje@google.com>
12223 * gdb.python/py-events.exp: Update expected output for clear_objfiles
12225 * gdb.python/py-events.py: Add clear_objfiles event.
12227 2014-10-17 Doug Evans <dje@google.com>
12229 * gdb.python/py-objfile.exp: Test progspace attribute.
12231 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
12233 * gdb.guile/scm-breakpoint.exp: Do not assume any
12234 directory separators when matching source file paths.
12235 * gdb.python/py-breakpoint.exp: Likewise.
12236 * gdb.reverse/break-precsave.exp: Likewise.
12237 * gdb.reverse/break-reverse.exp: Likewise.
12238 * gdb.reverse/consecutive-precsave.exp: Likewise.
12239 * gdb.reverse/finish-precsave.exp: Likewise.
12240 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12241 * gdb.reverse/finish-reverse.exp: Likewise.
12242 * gdb.reverse/i386-precsave.exp: Likewise.
12243 * gdb.reverse/i387-env-reverse.exp: Likewise.
12244 * gdb.reverse/i387-stack-reverse.exp: Likewise.
12245 * gdb.reverse/machinestate-precsave.exp: Likewise.
12246 * gdb.reverse/machinestate.exp: Likewise.
12247 * gdb.reverse/sigall-precsave.exp: Likewise.
12248 * gdb.reverse/solib-precsave.exp: Likewise.
12249 * gdb.reverse/step-precsave.exp: Likewise.
12250 * gdb.reverse/until-precsave.exp: Likewise.
12251 * gdb.reverse/watch-precsave.exp: Likewise.
12252 * gdb.reverse/watch-reverse.exp: Likewise.
12254 2014-10-17 Yao Qi <yao@codesourcery.com>
12256 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12257 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12259 2014-10-17 Pedro Alves <palves@redhat.com>
12262 * gdb.base/bg-execution-repeat.c: New file.
12263 * gdb.base/bg-execution-repeat.exp: New file.
12265 2014-10-17 Pedro Alves <palves@redhat.com>
12268 * gdb.base/continue-all-already-running.c: New file.
12269 * gdb.base/continue-all-already-running.exp: New file.
12271 2014-10-17 Pedro Alves <palves@redhat.com>
12274 * gdb.base/annota-input-while-running.c: New file.
12275 * gdb.base/annota-input-while-running.exp: New file.
12277 2014-10-17 Pedro Alves <palves@redhat.com>
12279 * gdb.base/callfuncs.exp: emove references to osf.
12280 * gdb.base/sigall.exp: Likewise.
12281 * gdb.gdb/selftest.exp: Likewise.
12282 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12283 * gdb.mi/non-stop.c: Likewise.
12284 * gdb.mi/pthreads.c: Likewise.
12285 * gdb.reverse/sigall-precsave.exp: Likewise.
12286 * gdb.reverse/sigall-reverse.exp: Likewise.
12287 * gdb.threads/pthreads.c: Likewise.
12288 * gdb.threads/pthreads.exp: Likewise.
12290 2014-10-17 Yao Qi <yao@codesourcery.com>
12292 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12293 check 'target_info exists noargs'.
12294 (test_command_prompt_position): Likewise.
12295 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12297 (progvar_simple_while_test): Likewise.
12298 (progvar_complex_if_while_test): Likewise.
12299 (if_while_breakpoint_command_test): Likewise.
12300 (infrun_breakpoint_command_test): Likewise.
12301 (breakpoint_command_test): Likewise.
12302 (watchpoint_command_test): Likewise.
12303 (bp_deleted_in_command_test): Likewise.
12304 (temporary_breakpoint_commands): Likewise.
12306 2014-10-16 Yao Qi <yao@codesourcery.com>
12308 * gdb.base/remotetimeout.exp: Remove noargs checking.
12310 2014-10-15 Pedro Alves <palves@redhat.com>
12312 PR breakpoints/9649
12313 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12314 * gdb.base/breakpoint-in-ro-region.exp
12315 (probe_target_hardware_step): New procedure.
12316 (top level): Probe hardware stepping and hardware breakpoint
12317 support. Test stepping through a read-only region, with both
12318 "breakpoint auto-hw" on and off and both "always-inserted" on and
12321 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
12323 * gdb.dlang/demangle.exp: Update for demangling changes.
12325 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12327 * gdb.cp/non-trivial-retval.cc: Add new test cases.
12328 * gdb.cp/non-trivial-retval.exp: Add new tests.
12330 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12334 * gdb.cp/non-trivial-retval.cc: New file.
12335 * gdb.cp/non-trivial-retval.exp: New file.
12337 2014-10-15 Yao Qi <yao@codesourcery.com>
12339 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12342 2014-10-15 Yao Qi <yao@codesourcery.com>
12344 * gdb.python/py-symbol.exp: Match file base name if host is
12345 remote, otherwise match file name with dir name.
12346 * gdb.python/py-symtab.exp: Likewise.
12347 * gdb.python/python.exp: Likewise.
12349 2014-10-15 Yao Qi <yao@codesourcery.com>
12351 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12353 * gdb.python/py-symtab.exp: Likewise.
12354 * gdb.python/python.exp: Remove trailing ".*". Fix typo
12357 2014-10-14 Joel Brobecker <brobecker@adacore.com>
12359 * gdb.ada/addr_arith: New testcase.
12361 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
12363 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12364 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12365 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12366 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12368 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12370 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12371 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12372 * gdb.arch/stap-eval-lang-ada.exp: New file.
12374 2014-10-14 Yao Qi <yao@codesourcery.com>
12376 * gdb.mi/mi-var-child.c (nothing1): New function.
12377 (nothing2): New function.
12378 (do_children_tests): Set function pointers by nothing1 and
12380 * gdb.mi/mi-var-child.exp: Step over new added statements.
12381 Update test to match the new output.
12382 * gdb.mi/var-cmd.c (nothing1): New function.
12383 (nothing2): New function.
12384 (do_children_tests): Set function pointers by nothing1 and
12386 * gdb.mi/mi-var-display.exp: Update test to match output.
12387 Step to the line specified by $line_dct_nothing.
12388 Increase the number of lines to step.
12390 2014-10-14 Yao Qi <yao@codesourcery.com>
12392 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12394 * gdb.mi/mi2-var-child.exp: Likewise.
12396 2014-10-13 Doug Evans <dje@google.com>
12398 * gdb.python/py-objfile.exp: Change name of file name test.
12400 2014-10-13 Doug Evans <dje@google.com>
12402 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12403 from the start of the CU.
12405 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12406 Yao Qi <yao@codesourcery.com>
12408 Fix "save breakpoints" for "catch" command.
12409 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12410 Remove -nonewline. Match also the added "main" line.
12412 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12414 Fix "save breakpoints" for "disable $bpnum" command.
12415 * gdb.base/save-bp.c (main): Add label.
12416 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
12418 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12420 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12422 2014-10-11 Yao Qi <yao@codesourcery.com>
12424 * gdb.server/server-kill.exp: Execute command
12425 "set remote trace-status-packet on" before "tstatus".
12427 2014-10-11 Yao Qi <yao@codesourcery.com>
12429 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12430 (main): Call getppid.
12431 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12432 and continue to it. Read variable "server_pid".
12434 2014-10-11 Yao Qi <yao@codesourcery.com>
12436 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12438 2014-10-11 Yao Qi <yao@codesourcery.com>
12440 * gdb.threads/thread-find.exp: Don't execute command
12442 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12443 * gdb.threads/linux-dp.exp: Don't check the condition
12444 $threads_created equals to zero.
12446 2014-10-10 Pedro Alves <palves@redhat.com>
12448 * gdb.base/bigcore.exp: Remove references to IRIX.
12449 * gdb.base/funcargs.exp: Likewise.
12450 * gdb.base/interrupt.exp: Likewise.
12451 * gdb.base/mips_pro.exp: Likewise.
12452 * gdb.base/nodebug.exp: Likewise.
12453 * gdb.base/setvar.exp: Likewise.
12454 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12456 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12457 Pedro Alves <palves@redhat.com>
12460 * gdb.base/vdso-warning.c: New file.
12461 * gdb.base/vdso-warning.exp: New file.
12463 2014-10-02 Doug Evans <dje@google.com>
12465 * gdb.base/structs.c (main): Don't run forever.
12467 2014-10-02 Pedro Alves <palves@redhat.com>
12469 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12470 (top level) <stop threads 1, stop threads 2>: Use it.
12472 2014-10-02 Pedro Alves <palves@redhat.com>
12474 * gdb.threads/break-while-running.exp (test): Add new
12475 'update_thread_list' argument. Skip "info threads" if false.
12476 (top level): Add new 'update_thread_list' axis.
12478 2014-10-02 Pedro Alves <palves@redhat.com>
12480 PR breakpoints/17431
12481 * gdb.base/execl-update-breakpoints.c: New file.
12482 * gdb.base/execl-update-breakpoints.exp: New file.
12484 2014-10-01 Pedro Alves <palves@redhat.com>
12486 * gdb.base/breakpoint-in-ro-region.c: New file.
12487 * gdb.base/breakpoint-in-ro-region.exp: New file.
12489 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12491 * gdb.mi/mi-exit-code.exp: New file.
12492 * gdb.mi/mi-exit-code.c: New file.
12494 2014-09-30 Yao Qi <yao@codesourcery.com>
12496 * lib/prelink-support.exp (build_executable_own_libs): Error if
12497 the target isn't native.
12499 2014-09-30 Yao Qi <yao@codesourcery.com>
12501 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12504 2014-09-22 Pedro Alves <palves@redhat.com>
12506 * gdb.threads/break-while-running.exp: New file.
12507 * gdb.threads/break-while-running.c: New file.
12509 2014-09-19 Yao Qi <yao@codesourcery.com>
12511 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12512 Invoke test. Restart GDB with --readnow and invoke test again.
12514 2014-09-19 Yao Qi <yao@codesourcery.com>
12516 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12517 proc set_breakpoint_on_gcd_function. Invoke
12518 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12519 invoke set_breakpoint_on_gcd_function again.
12521 2014-09-18 Doug Evans <dje@google.com>
12523 * gdb.dwarf2/symtab-producer.exp: New file.
12525 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12527 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12528 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12529 * gdb.base/global-var-nested-by-dso.c: Likewise.
12530 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12532 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12533 Pedro Alves <palves@redhat.com>
12535 * gdb.base/watch-bitfields.exp: Pass string other than test file
12536 name to prepare_for_testing.
12537 (watch): New procedure.
12538 (expect_watchpoint): Use with_test_prefix.
12539 (top level): Factor out tests to ...
12540 (test_watch_location, test_regular_watch): ... these new
12541 procedures, and use with_test_prefix and gdb_continue_to_end.
12543 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12545 PR breakpoints/12526
12546 * gdb.base/watch-bitfields.exp: New file.
12547 * gdb.base/watch-bitfields.c: New file.
12549 2014-09-16 Pedro Alves <palves@redhat.com>
12551 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12552 software and hardware addresses, not software address against
12555 2014-09-16 Pedro Alves <palves@redhat.com>
12557 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12558 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12560 2014-09-16 Pedro Alves <palves@redhat.com>
12562 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12564 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12565 "*-*-vxworks*" throughout.
12566 * gdb.base/break.exp: Likewise.
12567 * gdb.base/default.exp: Likewise.
12568 * gdb.base/scope.exp: Likewise.
12569 * gdb.base/sepdebug.exp: Likewise.
12570 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12572 * gdb.base/run.c: Likewise.
12573 * gdb.base/sepdebug.c: Likewise.
12574 * gdb.hp/gdb.aCC/run.c: Likewise.
12575 * gdb.reverse/until-reverse.c: Likewise.
12576 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12578 2014-09-16 Yao Qi <yao@codesourcery.com>
12580 * boards/local-remote-host-native.exp: New file.
12582 2014-09-14 Doug Evans <xdje42@gmail.com>
12584 * gdb.threads/queue-signal.c (thread_count): New variable.
12585 (thread_count_mutex, thread_count_condvar): New variables.
12586 (incr_thread_count, wait_all_threads_running): New functions.
12587 (main): Wait for all threads to be in their thread functions.
12589 2014-09-13 Doug Evans <xdje42@gmail.com>
12591 * gdb.threads/queue-signal.c: New file.
12592 * gdb.threads/queue-signal.exp: New file.
12594 2014-09-13 Doug Evans <xdje42@gmail.com>
12596 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12597 be consistent with what default_gdb_init uses.
12598 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12599 the plain text of the prompt. Add some logging printfs.
12600 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12602 2014-09-12 Pedro Alves <palves@redhat.com>
12604 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12605 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12606 * gdb.arch/i386-size-overlap.exp: Likewise.
12607 * gdb.arch/i386-size.exp: Likewise.
12608 * gdb.arch/i386-unwind.exp: Likewise.
12609 * gdb.base/a2-run.exp: Likewise.
12610 * gdb.base/break.exp: Likewise.
12611 * gdb.base/charset.exp: Likewise.
12612 * gdb.base/chng-syms.exp: Likewise.
12613 * gdb.base/commands.exp: Likewise.
12614 * gdb.base/dbx.exp: Likewise.
12615 * gdb.base/find.exp: Likewise.
12616 * gdb.base/funcargs.exp: Likewise.
12617 * gdb.base/jit-simple.exp: Likewise.
12618 * gdb.base/reread.exp: Likewise.
12619 * gdb.base/sepdebug.exp: Likewise.
12620 * gdb.base/step-bt.exp: Likewise.
12621 * gdb.cp/mb-inline.exp: Likewise.
12622 * gdb.cp/mb-templates.exp: Likewise.
12623 * gdb.objc/basicclass.exp: Likewise.
12624 * gdb.threads/killed.exp: Likewise.
12626 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12629 * gdb.arch/powerpc-stackless.S: New file.
12630 * gdb.arch/powerpc-stackless.exp: New file.
12632 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12634 * gdb.base/attach.c: Include unistd.h.
12635 (main): Call alarm. Add label postloop.
12636 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12637 gdb_breakpoint, gdb_continue_to_breakpoint.
12638 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12640 2014-09-11 Pedro Alves <palves@redhat.com>
12643 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12644 * gdb.base/attach.exp (test_command_line_attach_run): New
12646 (top level): Call it.
12648 2014-09-11 Pedro Alves <palves@redhat.com>
12650 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12651 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12652 (do_command_attach_tests): Use spawn_wait_for_attach.
12653 * gdb.base/solib-overlap.exp: Likewise.
12654 * gdb.multi/multi-attach.exp: Likewise.
12655 * gdb.python/py-prompt.exp: Likewise.
12656 * gdb.python/py-sync-interp.exp: Likewise.
12657 * gdb.server/ext-attach.exp: Likewise.
12659 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12661 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12662 command in testcase. Simplify testcase.
12664 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12666 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12668 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12670 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12672 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12674 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12676 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12678 * gdb.dwarf2/dynarr-ptr.c: New file.
12679 * gdb.dwarf2/dynarr-ptr.exp: New file.
12681 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12683 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12684 of 30 rather than hardcoding 120 for a slow test case. Take the
12685 `gdb,timeout' target setting into account for this calculation.
12686 Don't extend the timeout for the test cases that don't need it.
12688 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12690 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12691 a factor of 2 for a slow test case. Take the `gdb,timeout'
12692 target setting into account for this calculation.
12693 * gdb.reverse/until-precsave.exp: Increase the timeout by
12694 a factor of 15 and 3 respectively rather than adding 120
12695 for a pair of slow test cases. Take the `gdb,timeout'
12696 target setting into account for this calculation.
12698 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12700 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12701 timeout, don't pass one down to gdb_expect.
12702 (gdb_expect): Rework timeout selection.
12704 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12706 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12707 exception on timeout.
12708 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12709 (gdbserver_start_extended): Catch any `gdbserver_start' error
12711 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12712 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12713 `gdbserver_gdb_load' error exceptions.
12715 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12717 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12718 120 on waiting for the TCP socket to open.
12720 2014-09-09 Doug Evans <xdje42@gmail.com>
12722 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12723 _caller_matches, _any_caller_is, _any_caller_matches.
12725 2014-09-09 Doug Evans <xdje42@gmail.com>
12727 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12729 2014-09-09 Yao Qi <yao@codesourcery.com>
12731 * gdb.mi/mi-var-display.exp: Set print symbol off.
12733 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12736 * gdb.base/commands.exp: Add tests to verify user-defined
12737 commands with empty bodies.
12738 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12739 python commands in `show user command`.
12740 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12741 scheme commands in `show user command`.
12743 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12746 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12747 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12748 * gdb.python/py-framefilter-invalidarg.exp: New file.
12749 * gdb.python/py-framefilter-invalidarg.py: New file.
12751 2014-09-06 Doug Evans <xdje42@gmail.com>
12754 * gdb.python/py-caller-is.c: New file.
12755 * gdb.python/py-caller-is.exp: New file.
12757 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12760 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12761 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12763 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12766 * gdb.fortran/print-formatted.exp: New file.
12767 * gdb.fortran/print-formatted.f90: Likewise.
12769 2014-09-03 Sasha Smundak <asmundak@google.com>
12771 * gdb.python/py-frame.exp: Test Frame.read_register.
12773 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12776 * gdb.python/py-completion.exp: New file.
12777 * gdb.python/py-completion.py: Likewise.
12779 2014-08-28 Doug Evans <dje@google.com>
12781 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12782 eax,etc. are live with values set by gdb and thus the compiler can't
12784 * gdb.arch/i386-pseudo.c (main): Ditto.
12786 2014-08-27 Doug Evans <dje@google.com>
12788 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12790 2014-08-25 Doug Evans <dje@google.com>
12792 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12795 2014-08-25 Doug Evans <dje@google.com>
12797 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12799 2014-08-24 Yao Qi <yao@codesourcery.com>
12801 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12803 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12805 2014-08-22 Doug Evans <dje@google.com>
12808 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12809 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12810 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12812 2014-08-22 Yao Qi <yao@codesourcery.com>
12814 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12815 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12816 * gdb.python/python.exp: Likewise. Use .py file on the host
12817 instead of the build.
12819 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12821 * gdb.threads/gcore-stale-thread.c: New file.
12822 * gdb.threads/gcore-stale-thread.exp: New file.
12824 2014-08-21 Pedro Alves <palves@redhat.com>
12826 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12827 * gdb.base/gcore-relro-pie.exp: Likewise.
12828 * gdb.base/gcore-relro.exp: Likewise.
12829 * gdb.base/gcore.exp: Likewise.
12830 * gdb.base/print-symbol-loading.exp: Likewise.
12831 * gdb.threads/gcore-thread.exp: Likewise.
12832 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12834 2014-08-20 Pedro Alves <palves@redhat.com>
12835 Jan Kratochvil <jan.kratochvil@redhat.com>
12837 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12839 (EXPECT): Handle READ1 being set.
12840 (all): Depend on EXTRA_RULES.
12841 (check-read1, expect-read1, read1.so, read1): New rules.
12842 * README (Testsuite Parameters): Document the READ1 make variable.
12843 (Race detection): New section.
12844 * configure: Regenerate.
12845 * configure.ac: If build==host==target, and running under a
12846 GNU/glibc system, add read1 to the extra Makefile rules.
12847 (EXTRA_RULES): AC_SUBST it.
12848 * lib/read1.c: New file.
12850 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12852 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12853 the handling of variables declared as a typedef to an array
12854 which a DW_AT_data_location attribute.
12856 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12857 Pedro Alves <palves@redhat.com>
12861 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12864 2014-08-19 Pedro Alves <palves@redhat.com>
12866 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12868 2014-08-19 Yao Qi <yao@codesourcery.com>
12870 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12873 2014-08-18 David Blaikie <dblaikie@gmail.com>
12875 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12877 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12879 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12880 attribute in array range.
12882 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12884 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12886 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12889 * gdb.cp/pr17132.cc: New file.
12890 * gdb.cp/pr17132.exp: New file.
12892 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12894 * gdb.python/py-xmethods.py (A_getarrayind)
12895 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12896 Use 'print' with function call syntax.
12897 (E_method_matcher.match): Fix tab vs space indentation mixup.
12899 2014-08-15 Yao Qi <yao@codesourcery.com>
12901 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12904 2014-08-15 Yao Qi <yao@codesourcery.com>
12906 * gdb.cp/casts.exp: Set print symbol off.
12907 * gdb.cp/class2.exp: Likewise.
12908 * gdb.cp/overload.exp: Likewise.
12909 * gdb.cp/templates.exp: Likewise.
12911 2014-08-11 Doug Evans <dje@google.com>
12913 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12914 (test_load_shlib): Update.
12916 2014-08-09 Yao Qi <yao@codesourcery.com>
12918 * gdb.base/display.exp: Invoke is_address_zero_readable.
12919 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12920 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12921 * gdb.base/hbreak-unmapped.exp: Return if
12922 is_address_zero_readable returns true.
12923 * gdb.base/signest.exp: Likewise.
12924 * gdb.base/signull.exp: Likewise.
12925 * gdb.base/sigbpt.exp: Likewise.
12926 * gdb.guile/scm-disasm.exp: Do the test if
12927 is_address_zero_readable returns false.
12928 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12929 * gdb.python/py-arch.exp: Likewise.
12930 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12931 * lib/gdb.exp (is_address_zero_readable): New proc.
12933 2014-08-09 Yao Qi <yao@codesourcery.com>
12936 * gdb.mi/mi-var-display.exp: Make test messages unique.
12938 2014-08-04 Tom Tromey <tromey@redhat.com>
12940 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12943 2014-08-04 Tom Tromey <tromey@redhat.com>
12945 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12948 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12950 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12951 inner_vla_struct_object_size.
12952 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12955 2014-07-30 Pedro Alves <palves@redhat.com>
12957 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12960 2014-07-29 Yao Qi <yao@codesourcery.com>
12963 * gdb.base/until-nodebug.exp: New.
12965 2014-07-28 Doug Evans <xdje42@gmail.com>
12968 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12969 previously existing parameter, and previously ambiguously spelled
12972 2014-07-28 Will Newton <will.newton@linaro.org>
12974 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12976 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12977 Doug Evans <xdje42@gmail.com>
12980 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12982 2014-07-25 Pedro Alves <palves@redhat.com>
12984 * gdb.threads/signal-command-handle-nopass.c: New file.
12985 * gdb.threads/signal-command-handle-nopass.exp: New file.
12986 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12987 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12988 * gdb.threads/signal-delivered-right-thread.c: New file.
12989 * gdb.threads/signal-delivered-right-thread.exp: New file.
12991 2014-07-25 Pedro Alves <palves@redhat.com>
12993 * gdb.base/double-prompt-target-event-error.exp
12994 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12996 (cancel_pagination_in_target_event): Rework double prompt
12998 * gdb.base/paginate-after-ctrl-c-running.exp
12999 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13001 * gdb.base/paginate-bg-execution.exp
13002 (test_bg_execution_pagination_return)
13003 (test_bg_execution_pagination_cancel): Remove '-notransfer
13005 * gdb.base/paginate-execution-startup.exp
13006 (test_fg_execution_pagination_return)
13007 (test_fg_execution_pagination_cancel): Remove '-notransfer
13009 * gdb.base/paginate-inferior-exit.exp
13010 (test_paginate_inferior_exited): Remove '-notransfer <return>'
13012 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13013 * lib/gdb.exp (pagination_prompt): Run text through
13015 (gdb_test_multiple): Match $pagination_prompt instead of
13017 (string_to_regexp): Move to lib/gdb-utils.exp.
13019 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13021 * gdb.arch/amd64-entry-value-paramref.S: New file.
13022 * gdb.arch/amd64-entry-value-paramref.cc: New file.
13023 * gdb.arch/amd64-entry-value-paramref.exp: New file.
13024 * gdb.arch/amd64-optimout-repeat.S: New file.
13025 * gdb.arch/amd64-optimout-repeat.c: New file.
13026 * gdb.arch/amd64-optimout-repeat.exp: New file.
13028 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13031 * gdb.base/statistics.exp: New file.
13033 2014-07-17 Doug Evans <dje@google.com>
13036 * gdb.base/maint.exp: Update testing of per-command stats.
13038 2014-07-16 Pedro Alves <palves@redhat.com>
13040 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13041 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13042 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13043 (tfile_write_buf): New functions.
13044 (add_memory_block): Rewrite using the above.
13045 (adjust_function_address): New function.
13046 (FUNCTION_ADDRESS): New macro.
13047 (write_basic_trace_file): Remove short_x local, and use
13048 tfile_write_16. Change type of func_addr local to unsigned long
13049 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
13050 here. Cast argument of add_memory_block to char pointer.
13051 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
13052 (main): Remove parameters.
13053 * gdb.trace/tfile.exp: Remove nowarnings.
13055 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
13057 * gdb.base/debug-expr.exp: Test string evaluation with
13058 "debug expression" on.
13060 2014-07-15 Pedro Alves <palves@redhat.com>
13062 * gdb.base/reread.exp: Use clean_restart.
13064 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
13066 * gdb.arch/avr-flash-qualifer.c: New.
13067 * gdb.arch/avr-flash-qualifer.exp: New.
13069 2014-07-14 Pedro Alves <palves@redhat.com>
13071 * gdb.base/paginate-after-ctrl-c-running.c: New file.
13072 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13074 2014-07-14 Pedro Alves <palves@redhat.com>
13076 * gdb.base/double-prompt-target-event-error.c: New file.
13077 * gdb.base/double-prompt-target-event-error.exp: New file.
13079 2014-07-14 Pedro Alves <palves@redhat.com>
13082 * gdb.base/paginate-inferior-exit.c: New file.
13083 * gdb.base/paginate-inferior-exit.exp: New file.
13085 2014-07-14 Pedro Alves <palves@redhat.com>
13088 * gdb.base/paginate-bg-execution.c: New file.
13089 * gdb.base/paginate-bg-execution.exp: New file.
13091 2014-07-14 Pedro Alves <palves@redhat.com>
13094 * gdb.base/paginate-execution-startup.c: New file.
13095 * gdb.base/paginate-execution-startup.exp: New file.
13096 * lib/gdb.exp (pagination_prompt): New global.
13097 (default_gdb_spawn): New procedure, factored out from
13099 (default_gdb_start): Adjust to call default_gdb_spawn.
13100 (gdb_spawn): New procedure.
13102 2014-07-14 Pedro Alves <palves@redhat.com>
13104 * lib/gdb.exp (gdb_assert): New procedure.
13105 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13107 2014-07-14 Pedro Alves <palves@redhat.com>
13109 * gdb.base/execution-termios.c: New file.
13110 * gdb.base/execution-termios.exp: New file.
13112 2014-07-14 Tom Tromey <tromey@redhat.com>
13114 * gdb.cp/vla-cxx.cc: New file.
13115 * gdb.cp/vla-cxx.exp: New file.
13117 2014-07-14 Tom Tromey <tromey@redhat.com>
13119 * gdb.reverse/rerun-prec.c: New file.
13120 * gdb.reverse/rerun-prec.exp: New file.
13122 2014-07-12 Maciej W. Rozycki <macro@mips.com>
13123 Maciej W. Rozycki <macro@codesourcery.com>
13125 * lib/gdb-utils.exp: New file.
13126 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13127 inline `gdb_init_command' processing.
13128 (gdb_start_cmd): Likewise.
13129 * lib/mi-support.exp (mi_run_cmd): Likewise.
13130 * README: Document `gdb_init_command' and `gdb_init_commands'.
13132 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13134 Fix false FAIL running under a very long directory name.
13135 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13136 and "set print elements 10000". Twice.
13138 2014-07-11 Yao Qi <yao@codesourcery.com>
13140 * gdb.base/exprs.exp: "set print symbol off".
13142 2014-07-11 Pedro Alves <palves@redhat.com>
13144 * gdb.threads/kill.c: New file.
13145 * gdb.threads/kill.exp: New file.
13147 2014-07-10 Yao Qi <yao@codesourcery.com>
13149 * gdb.trace/tfile.c (write_basic_trace_file)
13150 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13151 address written to trace file.
13153 2014-07-09 Pedro Alves <palves@redhat.com>
13155 * gdb.base/attach-wait-input.exp: New file.
13156 * gdb.base/attach-wait-input.c: New file.
13158 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
13160 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13161 setting up test structures.
13162 (main): Call new test function.
13163 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13164 test function, continue into test function and walk test
13167 2014-07-02 Yao Qi <yao@codesourcery.com>
13169 * gdb.trace/entry-values.c: Define labels 'foo_start' and
13170 'bar_start' at the beginning of functions 'foo' and 'bar'
13172 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13173 instead of 'foo' and 'bar'.
13175 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
13177 * gdb.btrace/segv.exp: New.
13178 * gdb.btrace/segv.c: New.
13180 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
13182 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13185 2014-06-30 Mark Wielaard <mjw@redhat.com>
13187 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13188 vulture, vilify, villar): New volatile array constants.
13189 (vindictive, vegetation): New const volatile array constants.
13190 * gdb.base/volatile.exp: Test volatile and const volatile array
13193 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13195 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13196 target lacks support for awatch, rwatch, or hbreak.
13198 2014-06-27 Yao Qi <yao@codesourcery.com>
13200 * gdb.multi/dummy-frame-restore.exp: New.
13201 * gdb.multi/dummy-frame-restore.c: New.
13203 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
13205 * gdb.btrace/gcore.exp: New.
13207 2014-06-23 Pedro Alves <palves@redhat.com>
13209 * gdb.base/watchpoint-reuse-slot.c: New file.
13210 * gdb.base/watchpoint-reuse-slot.exp: New file.
13212 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
13214 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13215 progspace's filename in 'info', 'enable' and 'disable' command
13218 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13220 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13221 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13222 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13224 2014-06-20 Gary Benson <gbenson@redhat.com>
13226 * gdb.arch/i386-avx.exp: Fix include file location.
13227 * gdb.arch/i386-sse.exp: Likewise.
13229 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
13231 * gdb.dlang/expression.exp: New file.
13233 2014-06-19 Pedro Alves <palves@redhat.com>
13235 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13237 (top level): ... here. Iterate running tests under different
13238 scheduler-locking settings.
13240 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
13242 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13243 to DW_FORM_addr and use non-zero addresses.
13245 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
13248 * gdb.python/py-xmethods.cc: Add global function call counters and
13249 increment them in their respective functions. Remove "cout"
13251 * gdb.python/py-xmethods.exp: Make tests check the global function
13252 call counters instead of depending on inferior IO.
13254 2014-06-18 Don Breazeal <donb@codesourcery.com>
13256 * gdb.base/foll-fork.exp (default_fork_parent_follow):
13258 (explicit_fork_parent_follow): Deleted procedure.
13259 (explicit_fork_child_follow): Deleted procedure.
13260 (test_follow_fork): New procedure.
13261 (do_fork_tests): Replace calls to deleted procedures with
13262 calls to test_follow_fork and reset GDB for subsequent
13265 2014-06-17 Yao Qi <yao@codesourcery.com>
13267 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13270 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
13272 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13273 Initialize ptr and S explicitly.
13274 (skip_type_update_when_not_use_rtti_test): Likewise.
13276 2014-06-16 Keith Seitz <keiths@redhat.com>
13279 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13280 the inferior is started.
13282 2014-06-16 Pedro Alves <palves@redhat.com>
13284 * gdb.base/break-main-file-remove-fail.c: New file.
13285 * gdb.base/break-main-file-remove-fail.exp: New file.
13286 * gdb.base/break-unload-file.exp: Use build_executable instead of
13287 prepare_for_testing.
13288 (test_break): New parameter "initial_load". Handle it.
13289 (top level): Add initial_load cmdline/file axis.
13291 2014-06-12 Tom Tromey <tromey@redhat.com>
13293 * gdb.base/completion.exp: Don't use directory name in test.
13295 2014-06-09 Gary Benson <gbenson@redhat.com>
13297 * gdb.base/sigall.c [Functions to send signals]: Reorder to
13298 separate the always-available ANSI-standard signals from the
13299 signals that require checking.
13301 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13305 2014-06-07 Keith Seitz <keiths@redhat.com>
13309 * gdb.cp/var-tag.cc: New file.
13310 * gdb.cp/var-tag.exp: New file.
13311 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13312 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13313 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13314 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13316 2014-06-06 Doug Evans <xdje42@gmail.com>
13318 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13320 2014-06-06 Pedro Alves <palves@redhat.com>
13322 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13323 in target debug output instead of looking at RSP packets,
13324 disabling the test on any target that uses hardware stepping.
13327 2014-06-06 Pedro Alves <palves@redhat.com>
13329 * gdb.base/break-unload-file.exp: Fix typo.
13331 2014-06-06 Yao Qi <yao@codesourcery.com>
13333 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13334 from "jit_function" to "^jit_function".
13336 2014-06-06 Yao Qi <yao@codesourcery.com>
13338 * gdb.base/async.c (foo): Add one statement.
13339 * gdb.base/async.exp: Get the next instruction address and
13340 match the output of "nexti" by instruction address. Match
13341 the hex address in the output of "finish".
13343 2014-06-06 Gary Benson <gbenson@redhat.com>
13345 * gdb.base/call-signals.c: Remove preprocessor conditionals
13346 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13347 SIGSEGV and SIGTERM.
13348 * gdb.base/sigall.c: Likewise.
13349 * gdb.base/unwindonsignal.c: Likewise.
13350 * gdb.reverse/sigall-reverse.c: Likewise.
13352 2014-06-06 Yao Qi <yao@codesourcery.com>
13354 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13355 readable, skip the test.
13357 2014-06-06 Yao Qi <yao@codesourcery.com>
13359 * gdb.threads/staticthreads.c (thread_function): Move the line
13360 setting breakpoint on forward.
13361 * gdb.threads/staticthreads.exp: Update comments.
13363 2014-06-05 Ludovic Courtès <ludo@gnu.org>
13365 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13366 "history-append! type error".
13368 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13370 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13371 erroneous dprintf expected input.
13373 2014-06-04 Doug Evans <xdje42@gmail.com>
13375 * gdb.guile/scm-generics.exp: Delete.
13377 2014-06-04 Doug Evans <xdje42@gmail.com>
13379 * gdb.guile/scm-breakpoint.exp: Update.
13380 Add tests for breakpoint registration.
13382 2014-06-04 Tom Tromey <tromey@redhat.com>
13384 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13386 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13387 inner_vla_struct, vla_union types. Initialize objects of those
13388 types and compute their sizes.
13390 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13391 Hui Zhu <hui@codesourcery.com>
13393 * gdb.base/fileio.exp: Add test for shell not available as well as
13395 * gdb.base/fileio.c (test_system): Check for shell twice.
13397 2014-06-04 Yao Qi <yao@codesourcery.com>
13399 * gdb.base/auto-connect-native-target.exp: Remove redundant
13400 space from the regexp pattern.
13402 2014-06-04 Yao Qi <yao@codesourcery.com>
13404 * gdb.base/default.exp: Replace "child" with "native" in
13407 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13409 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13410 * gdb.python/py-xmethods.exp: New tests to test xmethods.
13411 * gdb.python/py-xmethods.py: Python script supporting the
13412 new testcase and tests.
13414 2014-06-03 Joel Brobecker <brobecker@adacore.com>
13415 Pedro Alves <palves@redhat.com>
13417 PR breakpoints/17000
13418 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13419 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13421 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
13423 * gdb.base/subst.exp: Add tests to verify partial path matching
13426 2014-06-03 Pedro Alves <palves@redhat.com>
13428 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13429 target that doesn't use software single-stepping.
13431 2014-06-03 Pedro Alves <palves@redhat.com>
13433 PR breakpoints/17000
13434 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13435 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13437 2014-06-02 Doug Evans <xdje42@gmail.com>
13439 * gdb.guile/scm-parameter.exp: New file.
13441 2014-06-02 Doug Evans <xdje42@gmail.com>
13443 * gdb.guile/scm-cmd.c: New file.
13444 * gdb.guile/scm-cmd.exp: New file.
13446 2014-06-02 Doug Evans <xdje42@gmail.com>
13448 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13449 pretty-printer lookup.
13450 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13451 (make-pp_s-printer): Call it.
13452 (make-pretty-printer-from-dict): New function.
13453 (lookup-pretty-printer-maker-from-dict): New function.
13454 (*pretty-printer*): Simplify.
13455 (make-objfile-pp_s-printer): New function.
13456 (install-objfile-pretty-printers!): New function.
13457 (make-progspace-pp_s-printer): New function.
13458 (install-progspace-pretty-printers!): New function.
13459 * gdb.guile/scm-progspace.c: New file.
13460 * gdb.guile/scm-progspace.exp: New file.
13462 2014-06-02 Pedro Alves <palves@redhat.com>
13464 * gdb.base/dprintf-bp-same-addr.c: New file.
13465 * gdb.base/dprintf-bp-same-addr.exp: New file.
13467 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13469 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13470 * gdb.arch/powerpc-power.s: Likewise.
13472 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13474 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13476 2014-06-01 Yao Qi <yao@codesourcery.com>
13478 * gdb.base/watchpoint.exp (test_watch_location): Check null
13479 pointer can be dereferenced. If not, do the test, otherwise
13482 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13484 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13486 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13488 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13490 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13491 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13492 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13493 * gdb.arch/amd64-invalid-stack-top.c: New file.
13494 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13496 2014-05-30 Pedro Alves <palves@redhat.com>
13498 PR breakpoints/17000
13499 * gdb.base/sss-bp-on-user-bp.c: New file.
13500 * gdb.base/sss-bp-on-user-bp.exp: New file.
13502 2014-05-30 David Blaikie <dblaikie@gmail.com>
13504 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13505 gnu_inline semantics via attribute.
13506 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13507 source explicitly specifies the required semantics.
13509 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13511 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13513 2014-05-29 Pedro Alves <palves@redhat.com>
13514 Tom Tromey <tromey@redhat.com>
13516 * gdb.base/async-shell.exp: Don't enable target-async.
13517 * gdb.base/async.exp
13518 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13520 (top level): Don't test with "target-async".
13521 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13522 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13523 * gdb.base/inferior-died.exp: Don't enable target-async.
13524 * gdb.base/interrupt-noterm.exp: Likewise.
13525 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13526 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13527 * gdb.mi/mi-nonstop.exp: Likewise.
13528 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13529 * gdb.mi/mi-nsintrall.exp: Likewise.
13530 * gdb.mi/mi-nsmoribund.exp: Likewise.
13531 * gdb.mi/mi-nsthrexec.exp: Likewise.
13532 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13533 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13534 * gdb.python/py-evsignal.exp: Don't enable target-async.
13535 * gdb.python/py-evthreads.exp: Likewise.
13536 * gdb.python/py-prompt.exp: Likewise.
13537 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13538 * gdb.server/solib-list.exp: Don't enable target-async.
13539 * gdb.threads/thread-specific-bp.exp: Likewise.
13540 * lib/mi-support.exp: Adjust to use mi-async.
13542 2014-05-29 Pedro Alves <palves@redhat.com>
13545 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13546 reason, even in sync mode.
13548 2014-05-29 Pedro Alves <palves@redhat.com>
13549 Hui Zhu <hui@codesourcery.com>
13552 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13553 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13554 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13555 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13557 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13559 * config/monitor.exp (gdb_target_monitor): Replace use of
13560 "set remotebaud" by "set serial baud".
13562 2014-05-26 Andy Wingo <wingo@igalia.com>
13564 * gdb.guile/scm-breakpoint.exp:
13565 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13566 properties instead of gdb-object-properties.
13568 2014-05-26 Yao Qi <yao@codesourcery.com>
13570 * gdb.server/no-thread-db.exp: Specify source file name
13571 explicitly when setting a breakpoint.
13573 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13575 * gdb.btrace/vdso.c: New.
13576 * gdb.btrace/vdso.exp: New.
13578 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13580 * gdb.base/gcore.exp (capture_command_output): Move ...
13581 * lib/gdb.exp (capture_command_output): ... here.
13583 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13585 * gdb.btrace/data.exp: Test memory access during btrace replay.
13587 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13589 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13591 2014-05-21 Pedro Alves <palves@redhat.com>
13594 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13595 (top level): Test that output related to execution commands is
13596 sent to the console with CLI commands, but not with MI commands.
13597 Test that breakpoint events are always mirrored to the console.
13598 Also expect the new source line to be output after a "next" in
13599 async mode too. Make it a pass/fail test.
13600 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13602 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13604 2014-05-21 Pedro Alves <palves@redhat.com>
13606 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13607 Use them to test variations of "list" after reaching a breakpoint.
13608 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13609 Test "list" with listsize 10 after reaching a breakpoint.
13610 * gdb.python/python.exp (decode_line current location line
13611 number): Adjust expected line number.
13613 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13615 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13616 behavior for $args, pass it directly to "run".
13618 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13620 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13623 2014-05-21 Pedro Alves <palves@redhat.com>
13625 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13626 auto-connect-native-target off".
13627 * gdb.base/auto-connect-native-target.c: New file.
13628 * gdb.base/auto-connect-native-target.exp: New file.
13630 2014-05-21 Pedro Alves <palves@redhat.com>
13632 * gdb.base/default.exp: Test "target native" instead of "target
13635 2014-05-21 Mark Wielaard <mjw@redhat.com>
13637 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13639 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13641 Fix TLS access for -static -pthread.
13642 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13643 <HAVE_TLS> (thread_function, main): Initialize it.
13644 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13646 <$have_tls != "">: Check TLSVAR.
13648 2014-05-21 Pedro Alves <palves@redhat.com>
13650 * gdb.base/dcache-line-read-error.c: New.
13651 * gdb.base/dcache-line-read-error.exp: New.
13653 2014-05-20 Pedro Alves <palves@redhat.com>
13655 * gdb.base/compare-sections.c: New file.
13656 * gdb.base/compare-sections.exp: New file.
13658 2014-05-20 Pedro Alves <palves@redhat.com>
13660 * gdb.base/break-idempotent.c: New file.
13661 * gdb.base/break-idempotent.exp: New file.
13663 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13665 * gdb.btrace/nohist.exp: New.
13667 2014-05-20 Yao Qi <yao@codesourcery.com>
13669 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13670 gdb.reverse directory and gdb_reverse_timeout exists in board
13672 * README: Document gdb_reverse_timeout.
13674 2014-05-20 Yao Qi <yao@codesourcery.com>
13676 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13677 'test_file_name'. Treat args as a string instead of a list.
13678 (gdb_init): Rename argument 'args' by 'test_file_name'.
13680 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13682 * gdb.arch/powerpc-power.exp: New file.
13683 * gdb.arch/powerpc-power.s: New file.
13685 2014-05-16 Doug Evans <dje@google.com>
13687 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13688 * gdb.base/completion.exp: Check that all expected files exist
13689 before doing file completion.
13691 2014-05-16 Doug Evans <dje@google.com>
13693 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13695 (do_syscall_tests_without_xml): Update.
13697 2014-05-16 Pedro Alves <palves@redhat.com>
13699 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13700 instead of "unknown output after running".
13702 2014-05-16 Yao Qi <yao@codesourcery.com>
13704 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13705 file1.txt from host at the end.
13706 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13708 2014-05-15 Doug Evans <dje@google.com>
13710 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13711 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13712 loading file. Add test for TU lookup.
13714 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13716 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13717 calling "-exec-arguments" or "set args" before running the
13720 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13722 * lib/mi-support.exp (mi_expect_stop): Expect message for
13723 inferiors that exit with non-zero exit code.
13725 2014-05-14 Yao Qi <yao@codesourcery.com>
13727 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13728 match absolute path on remote host.
13729 (test_file_list_exec_source_files): Remove "/" from the
13732 2014-05-14 Yao Qi <yao@codesourcery.com>
13734 * boards/local-remote-host-notty.exp (${board}_file): New
13737 2014-05-07 Kyle McMartin <kyle@redhat.com>
13739 Pushed by Joel Brobecker <brobecker@adacore.com>.
13740 * gdb.arch/aarch64-atomic-inst.c: New file.
13741 * gdb.arch/aarch64-atomic-inst.exp: New file.
13743 2014-05-07 Yao Qi <yao@codesourcery.com>
13745 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13746 in current context" too.
13748 2014-05-05 Keith Seitz <keiths@redhat.com>
13750 * gdb.linespec/ls-dollar.exp: Add test for linespec
13751 file:convenience_variable.
13753 2014-05-05 Yao Qi <yao@codesourcery.com>
13755 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13756 traceframes into tfile and ctf trace files. Read data from
13757 trace file and test collected data.
13758 (gdb_collect_locals_test): Likewise.
13759 (gdb_unavailable_registers_test): Likewise.
13760 (gdb_unavailable_floats): Likewise.
13761 (gdb_collect_globals_test): Likewise.
13762 (top-level): Append "ctf" to trace_file_targets if GDB
13765 2014-05-05 Yao Qi <yao@codesourcery.com>
13767 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13769 (gdb_collect_args_test_1): ... it. New proc.
13770 (gdb_collect_locals_test): Move some code to ...
13771 (gdb_collect_locals_test_1): ... it. New proc.
13772 (gdb_unavailable_registers_test): Move some code to ...
13773 (gdb_unavailable_registers_test_1): ... it. New proc.
13774 (gdb_unavailable_floats): Move some code to ...
13775 (gdb_unavailable_floats_1): ... it. New proc.
13777 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13779 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13780 probes to test for bitness recognition.
13781 * gdb.arch/amd64-stap-optional-prefix.exp
13782 (test_probe_value_without_reg): New procedure.
13783 Add code to test for different kinds of bitness.
13785 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13787 PR breakpoints/16889
13788 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13789 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13791 2014-05-01 Pedro Alves <palves@redhat.com>
13793 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13794 gdb_file_cmd if no file is specified.
13795 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13796 last_loaded_file to set the remote exec-file.
13798 2014-05-01 Pedro Alves <palves@redhat.com>
13800 * boards/local-remote-host.exp: New file.
13802 2014-05-01 Pedro Alves <palves@redhat.com>
13804 * boards/local-remote-host.exp: Rename to ...
13805 * boards/local-remote-host-notty.exp: ... this.
13807 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13809 * gdb.ada/dyn_arrayidx: New testcase.
13811 2014-04-26 Yao Qi <yao@codesourcery.com>
13813 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13814 and compute the length of function main. Save it in
13816 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13817 (top-level): Use gdb_compile to compile objects into
13818 executable and restart GDB. Remove invocation to
13819 prepare_for_testing.
13821 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13822 Pedro Alves <palves@redhat.com>
13825 * gdb.multi/multi-attach.c: New file.
13826 * gdb.multi/multi-attach.exp: New file.
13828 2014-04-25 Pedro Alves <palves@redhat.com>
13830 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13832 (top level): Test that "set remote conditional-breakpoints-packet
13833 off" works as intended.
13834 * gdb.base/dprintf.exp: Test that "set remote
13835 breakpoint-commands-packet off" works as intended.
13836 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13838 (top level): Call it.
13839 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13840 remote fast-tracepoints-packet off" works as intended.
13841 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13842 * lib/gdb.exp (gdb_is_target_remote): ... here.
13844 2014-04-24 David Blaikie <dblaikie@gmail.com>
13846 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13847 ensure clang would not discard them.
13848 * gdb.base/gdbvars.c: Ditto.
13849 * gdb.base/memattr.c: Ditto.
13850 * gdb.base/whatis.c: Ditto.
13851 * gdb.python/py-prettyprint.c: Ditto.
13852 * gdb.trace/actions.c: Ditto.
13853 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13854 ensure clang would not discard it.
13856 2014-04-24 David Blaikie <dblaikie@gmail.com>
13858 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13859 clang to emit the full definition of type required by the test
13860 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13862 2014-04-24 David Blaikie <dblaikie@gmail.com>
13864 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13865 coax Clang into emitting the definition of the type.
13866 * gdb.cp/pr10728-x.h (y): Ditto.
13867 * gdb.cp/pr10728-y.cc (y): Ditto.
13869 2014-04-24 David Blaikie <dblaikie@gmail.com>
13871 * gdb.base/label.exp: XFAIL label related tests under Clang.
13872 * gdb.cp/cplabel.exp: Ditto.
13873 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13874 under Clang those using labels.
13876 2014-04-25 Yao Qi <yao@codesourcery.com>
13878 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13880 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13881 partial_label and double_label.
13883 2014-04-24 David Blaikie <dblaikie@gmail.com>
13885 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13887 2014-04-24 David Blaikie <dblaikie@gmail.com>
13889 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13890 of the function to work across GCC and Clang.
13891 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13892 pointer types (const void ** const V void **).
13894 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13895 Walfred Tedeschi <walfred.tedeschi@intel.com>
13897 * Makefile.in (EXECUTABLES): Added i386-avx512.
13898 * gdb.arch/i386-avx512.c: New file.
13899 * gdb.arch/i386-avx512.exp: Likewise.
13901 2014-04-23 Keith Seitz <keiths@redhat.com>
13903 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13904 (mi_make_breakpoint_table): New procedure.
13905 (mi_create_breakpoint): Use mi_make_breakpoint
13906 and return the result.
13907 (mi_make_breakpoint): New procedure.
13908 (mi_build_kv_pairs): New procedure.
13910 * gdb.mi/mi-break.exp: Remove unused globals,
13911 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13912 All callers updated.
13913 * gdb.mi/mi-dprintf.exp: Use variable to track command
13915 Update all callers of mi_create_breakpoint and use
13916 mi_make_breakpoint_table.
13917 Remove any unused global variables.
13918 * gdb.mi/mi-nonstop.exp: Likewise.
13919 * gdb.mi/mi-nsintrall.exp: Likewise.
13920 * gdb.mi/mi-nsmoribund.exp: Likewise.
13921 * gdb.mi/mi-nsthrexec.exp: Likewise.
13922 * gdb.mi/mi-reverse.exp: Likewise.
13923 * gdb.mi/mi-simplerun.exp: Likewise.
13924 * gdb.mi/mi-stepn.exp: Likewise.
13925 * gdb.mi/mi-syn-frame.exp: Likewise.
13926 * gdb.mi/mi-until.exp: Likewise.
13927 * gdb.mi/mi-var-cp.exp: Likewise.
13928 * gdb.mi/mi-var-display.exp: Likewise.
13929 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13930 * gdb.mi/mi2-var-child.exp: Likewise.
13931 * gdb.mi/mi-vla-c99.exp: Likewise.
13932 * lib/mi-support.exp: Likewise.
13934 From Ian Lance Taylor <iant@cygnus.com>:
13935 * lib/gdb.exp (parse_args): New procedure.
13937 2014-04-23 Pedro Alves <palves@redhat.com>
13939 * gdb.base/break-unload-file.c: New file.
13940 * gdb.base/break-unload-file.exp: New file.
13941 * gdb.base/sym-file-lib.c (baz): New function.
13942 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13944 (load): Store the segment's mapped size.
13945 (unload): New function.
13946 (unload_shlib): New function.
13947 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13948 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13949 set a breakpoint at baz, and call it.
13950 * gdb.base/sym-file.exp: New tests for stale breakpoint
13953 2014-04-23 Pedro Alves <palves@redhat.com>
13955 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13956 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13957 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13958 * gdb.base/hbreak-unmapped.c: New file.
13959 * gdb.base/hbreak-unmapped.exp: New file.
13960 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13961 * lib/gdb.exp (gdb_is_target_remote): ... here.
13963 2014-04-22 Pedro Alves <palves@redhat.com>
13965 * gdb.base/consecutive-step-over.c: New file.
13966 * gdb.base/consecutive-step-over.exp: New file.
13968 2014-04-22 Pedro Alves <palves@redhat.com>
13970 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13971 instead of send_gdb/gdb_expect.
13973 2014-04-22 Yao Qi <yao@codesourcery.com>
13975 * lib/trace-support.exp (generate_tracefile): New procedure.
13976 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13978 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13979 if generate_tracefile returns 1.
13981 2014-04-18 Tom Tromey <palves@redhat.com>
13982 Pedro alves <tromey@redhat.com>
13985 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13986 with a backtrace limit.
13987 * gdb.python/py-frame-inline.exp: Test running to an inline
13988 function with a backtrace limit, and printing the newest frame.
13989 * gdb.python/py-frame-inline.c (main): Call f.
13991 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13993 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13995 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13997 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13998 Drop prefix from unsupported source file path.
14000 2014-04-17 Yao Qi <yao@codesourcery.com>
14002 * lib/gdb.exp (with_target_charset): New proc.
14003 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14004 with_target_charset.
14005 (test_print_strings): Likewise.
14006 (test_repeat_bytes): Likewise.
14007 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14010 2014-04-16 Keith Seitz <keiths@redhat.com>
14013 * gdb.dwarf2/corrupt.c: New file.
14014 * gdb.dwarf2/corrupt.exp: New file.
14016 2014-04-16 Keith Seitz <keiths@redhat.com>
14019 * gdb.cp/namelessclass.cc: New file.
14020 * gdb.cp/namelessclass.exp: New file.
14021 * gdb.cp/namelessclass.S: New file.
14023 2014-04-16 Doug Evans <dje@google.com>
14025 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14027 (gdbserver_default_get_comm_port): New function.
14028 (gdbserver_start): Check if board file provided
14029 "gdbserver,get_comm_port" and use it if so.
14030 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14031 (gdb,socketport): Set to "stdio".
14032 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14033 (stdio_gdbserver_template): Delete.
14034 (${board}_get_remote_address): Update.
14035 (${board}_build_remote_cmd): Delete.
14036 (${board}_get_comm_port): New function.
14037 (${board}_spawn): Update.
14038 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14040 (${board}_get_remote_address): Update.
14041 (${board}_get_comm_port): New function.
14043 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
14045 * gdb.base/memattr.exp: Improve regexps to handle memory regions
14046 appearing in any order.
14048 2014-04-15 Doug Evans <dje@google.com>
14050 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14051 uninitialized value of "description".
14053 2014-04-15 Keith Seitz <keiths@redhat.com>
14055 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14056 Remove unused globals.
14057 (test_running_the_program): Likewise.
14058 (test_controlled_execution): Likewise.
14059 (test_controlling_breakpoints): Likewise.
14060 (test_program_termination): Likewise.
14062 2014-04-15 Keith Seitz <keiths@redhat.com>
14064 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14066 (test_rbreak_creation_and_listing): Likewise.
14067 (test_ignore_count): Likewise.
14068 (test_error): Likewise.
14070 2014-04-15 Pedro Alves <palves@redhat.com>
14072 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14073 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14075 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14076 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14077 to sym-file-loader.c.
14078 (struct library): Forward declare.
14079 (load_shlib, lookup_function): Change prototypes.
14080 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14081 (translate_offset): Remove declarations.
14082 (get_text_addr): New declaration.
14083 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14084 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14086 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14087 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14088 here from sym-file-loader.h.
14089 (struct library): New structure.
14090 (load_shlib, lookup_function): Change prototypes and adjust to
14091 work with a struct library.
14092 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14093 (translate_offset): Make static.
14094 (get_text_addr): New function.
14095 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14097 2014-04-15 Pedro Alves <palves@redhat.com>
14099 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
14101 2014-04-15 Pedro Alves <palves@redhat.com>
14103 * gdb.base/sym-file-loader.c: Include <limits.h>.
14104 (SELF_LINK): New define.
14105 (get_origin): New function.
14106 (load_shlib): Use it.
14107 * gdb.base/sym-file.exp: Don't early return if the target is
14108 remote. Use runto_main, and issue fail is that fails. Use
14110 (shlib_name): Delete.
14111 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
14113 2014-04-15 Pedro Alves <palves@redhat.com>
14115 * gdb.base/sym-file.exp: Remove regex characters from test
14116 message. Don't refer to breakpoint numbers in test messages.
14118 2014-04-14 Keith Seitz <keiths@redhat.com>
14121 * gdb.cp/var-tag.cc: New file.
14122 * gdb.cp/var-tag.exp: New file.
14123 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14124 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14125 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14126 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14128 2014-04-14 Tom Tromey <tromey@redhat.com>
14130 * gdb.cp/classes.exp (test_enums): Handle underlying type.
14131 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14133 * gdb.cp/enum-class.exp: New file.
14134 * gdb.cp/enum-class.cc: New file.
14136 2014-04-14 Tom Tromey <tromey@redhat.com>
14138 * gdb.dwarf2/enum-type.exp: New file.
14140 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14142 * gdb.mi/mi-vla-c99.exp: New file.
14143 * gdb.mi/vla.c: New file.
14145 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14147 * gdb.base/vla-datatypes.c: New file.
14148 * gdb.base/vla-datatypes.exp: New file.
14150 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14152 * gdb.base/vla-ptr.c: New file.
14153 * gdb.base/vla-ptr.exp: New file.
14155 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14157 * gdb.dwarf2/count.exp: New file.
14159 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14161 * gdb.base/vla-sideeffect.c: New file.
14162 * gdb.base/vla-sideeffect.exp: New file.
14164 2014-04-14 David Blaikie <dblaikie@gmail.com>
14166 * gdb.mi/non-stop.c: Add return value for non-void function return
14168 * gdb.threads/staticthreads.c: Ditto.
14170 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
14171 Doug Evans <xdje42@gmail.com>
14173 * gdb.guile/scm-value.c: Improve test case.
14174 * gdb.guile/scm-value.exp: Add new test.
14176 2014-04-11 David Blaikie <dblaikie@gmail.com>
14178 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14179 override Clang's default.
14181 2014-04-11 Joel Brobecker <brobecker@adacore.com>
14183 Revert the following changes (regressions):
14185 * gdb.base/vla-sideeffect.c: New file.
14186 * gdb.base/vla-sideeffect.exp: New file.
14188 * gdb.dwarf2/count.exp: New file.
14190 * gdb.base/vla-multi.c: New file.
14191 * gdb.base/vla-multi.exp: New file.
14193 * gdb.base/vla-ptr.c: New file.
14194 * gdb.base/vla-ptr.exp: New file.
14196 * gdb.base/vla-datatypes.c: New file.
14197 * gdb.base/vla-datatypes.exp: New file.
14199 * gdb.mi/mi-vla-c99.exp: New file.
14200 * gdb.mi/vla.c: New file.
14202 2014-04-11 Keith Seitz <keiths@redhat.com>
14205 * gdb.cp/cpsizeof.exp: New file.
14206 * gdb.cp/cpsizeof.cc: New file.
14208 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14210 * gdb.mi/mi-vla-c99.exp: New file.
14211 * gdb.mi/vla.c: New file.
14213 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14215 * gdb.base/vla-datatypes.c: New file.
14216 * gdb.base/vla-datatypes.exp: New file.
14218 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14220 * gdb.base/vla-ptr.c: New file.
14221 * gdb.base/vla-ptr.exp: New file.
14223 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14225 * gdb.base/vla-multi.c: New file.
14226 * gdb.base/vla-multi.exp: New file.
14228 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14230 * gdb.dwarf2/count.exp: New file.
14232 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14234 * gdb.base/vla-sideeffect.c: New file.
14235 * gdb.base/vla-sideeffect.exp: New file.
14237 2014-04-11 Yao Qi <yao@codesourcery.com>
14239 * gdb.base/completion.exp: Check file exists before running tests
14240 on file completion.
14242 2014-04-10 Pedro Alves <palves@redhat.com>
14244 * gdb.base/cond-eval-mode.c: New file.
14245 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
14246 prepare_for_testing to build the new file. Check result of
14248 (test_break, test_watch): New procedures.
14249 (top level): Use them.
14251 2014-04-08 Pierre Muller <muller@sourceware.org>
14253 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14254 Ctrl-V use for mingw hosts.
14256 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
14258 * gdb.python/py-value.c: Improve test case.
14259 * gdb.python/py-value.exp: Add new test.
14261 2014-04-07 David Blaikie <dblaikie@gmail.com>
14263 * lib/compiler.c: Identify the clang compiler.
14264 * lib/compiler.cc: Ditto.
14266 2014-04-03 Yao Qi <yao@codesourcery.com>
14268 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14270 2014-04-01 Anton Blanchard <anton@samba.org>
14272 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
14275 2014-04-01 Anton Blanchard <anton@samba.org>
14277 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14278 prepare_for_testing.
14280 2014-04-01 Anton Blanchard <anton@samba.org>
14282 * gdb.arch/ppc64-atomic-inst.c: Remove.
14283 * gdb.arch/ppc64-atomic-inst.S: New file.
14284 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14286 2014-03-31 Doug Evans <dje@google.com>
14288 * gdb.base/print-symbol-loading-lib.c: New file.
14289 * gdb.base/print-symbol-loading-main.c: New file.
14290 * gdb.base/print-symbol-loading.exp: New file.
14292 2014-03-31 Yao Qi <yao@codesourcery.com>
14294 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14296 2014-03-28 Joel Brobecker <brobecker@adacore.com>
14298 * gdb.ada/mi_dyn_arr: New testcase.
14300 2014-03-27 Doug Evans <dje@google.com>
14302 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14304 2014-03-27 Yao Qi <yao@codesourcery.com>
14306 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14307 if target is nios2-*-*.
14309 2014-03-26 Yao Qi <yao@codesourcery.com>
14311 * lib/gdb.exp (readline_is_used): New proc.
14312 * gdb.base/completion.exp: Move tests on command complete up.
14313 Skip the rest of tests if readline is not used.
14314 * gdb.ada/complete.exp: Skp the test if readline is not
14316 * gdb.base/filesym.exp: Likewise.
14317 * gdb.base/macscp.exp: Likewise.
14318 * gdb.base/readline-ask.exp: Likewise.
14319 * gdb.base/readline.exp: Likewise.
14320 * gdb.python/py-cmd.exp: Likewise.
14321 * gdb.trace/tfile.exp: Likewise.
14323 2014-03-26 Yao Qi <yao@codesourcery.com>
14325 * gdb.base/macscp.exp: Fix code format issues.
14327 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
14329 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14330 * gdb.asm/powerpc64le.inc: New file.
14332 2014-03-25 Pedro Alves <palves@redhat.com>
14333 Doug Evans <dje@google.com>
14335 * gdb.base/source-execution.c: New file.
14336 * gdb.base/source-execution.exp: New file.
14337 * gdb.base/source-execution.gdb: New file.
14339 2014-03-24 Doug Evans <dje@google.com>
14341 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14344 2014-03-24 Hui Zhu <hui@codesourcery.com>
14345 Pedro Alves <palves@redhat.com>
14347 PR breakpoints/16101
14348 * gdb.base/dprintf.exp: Use unsupported rather than changing the
14349 test pass/fail messages. Detect missing support for dprintf when
14350 breakpoints are actually inserted.
14351 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14352 breakpoints are actually inserted.
14353 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14356 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14358 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14360 2014-03-22 Doug Evans <xdje42@gmail.com>
14362 * gdb.python/python.exp (python not supported): Verify multi-line
14363 python command issues an error.
14364 * gdb.guile/guile.exp (guile not supported): Verify multi-line
14365 guile command issues an error.
14367 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14369 * gdb.threads/thread-specific.exp: Handle the lack of usable
14370 $this_breakpoint and $this_thread.
14372 2014-03-21 Hui Zhu <hui@codesourcery.com>
14374 * gdb.base/attach.exp (do_command_attach_tests): New.
14376 2014-03-20 Tom Tromey <tromey@redhat.com>
14377 Pedro Alves <palves@redhat.com>
14380 * gdb.base/condbreak-call-false.c: New file.
14381 * gdb.base/condbreak-call-false.exp: New file.
14383 2014-03-20 Pedro Alves <palves@redhat.com>
14385 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14387 (block_signals, unblock_signals): Delete.
14388 (child_function_2, main): Remove references to deleted variable
14391 2014-03-20 Pedro Alves <palves@redhat.com>
14393 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14394 Use pthread_kill to signal thread 2.
14395 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14396 Adjust to make the test send itself a signal rather than using the
14397 host's "kill" command.
14399 2014-03-20 Pedro Alves <palves@redhat.com>
14401 * gdb.threads/multiple-step-overs.c: New file.
14402 * gdb.threads/multiple-step-overs.exp: New file.
14403 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14404 Adjust expected infrun debug output.
14406 2014-03-20 Pedro Alves <palves@redhat.com>
14408 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14409 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14411 2014-03-20 Pedro Alves <palves@redhat.com>
14413 PR breakpoints/7143
14414 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14415 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
14416 of gdb_test_multiple.
14417 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14418 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14420 2014-03-20 Pedro Alves <palves@redhat.com>
14422 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14423 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14425 2014-03-19 Pedro Alves <palves@redhat.com>
14427 * gdb.base/async.exp: Remove early return.
14429 2014-03-19 Pedro Alves <palves@redhat.com>
14431 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14433 2014-03-19 Pedro Alves <palves@redhat.com>
14435 * gdb.base/async.exp (test_background): Expect \r\n after
14436 "completed." in the fail pattern.
14438 2014-03-19 Pedro Alves <palves@redhat.com>
14440 * gdb.base/async.exp (test_background): New procedure.
14441 Use it for all background execution command tests.
14443 2014-03-19 Pedro Alves <palves@redhat.com>
14445 * gdb.base/async.exp: Use prepare_for_testing.
14447 2014-03-19 Pedro Alves <palves@redhat.com>
14449 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14452 2014-03-19 Pedro Alves <palves@redhat.com>
14454 * gdb.base/async.c (main): Add "jump here" and "until here" line
14456 * gdb.base/async.exp (jump_here): New global.
14457 (jump& test): Use it.
14458 (until_here): New global.
14459 (until& test): Use it.
14461 2014-03-19 Pedro Alves <palves@redhat.com>
14463 * gdb.base/async.exp: Don't frob gdb_protocol.
14465 2014-03-18 Doug Evans <xdje42@gmail.com>
14467 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14468 Fix spelling of exec-done-display.
14470 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14473 * gdb.base/gdb-sigterm.c: New file.
14474 * gdb.base/gdb-sigterm.exp: New file.
14476 2014-03-18 Pedro Alves <palves@redhat.com>
14479 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14480 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14483 2014-03-17 Joel Brobecker <brobecker@adacore.com>
14485 * gdb.ada/pckd_arr_ren: New testcase.
14487 2014-03-13 Doug Evans <xdje42@gmail.com>
14490 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14491 collect after discarding symbols.
14493 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14494 Doug Evans <xdje42@gmail.com>
14496 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14497 to history survives a gc.
14499 2014-03-13 Pedro Alves <palves@redhat.com>
14501 * gdb.base/default.exp: Don't test "target procfs".
14503 2014-03-13 Pedro Alves <palves@redhat.com>
14505 * gdb.base/default.exp: Update "target child" and "target procfs"
14506 tests to not expect "Unix".
14508 2014-03-12 Tom Tromey <tromey@redhat.com>
14510 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14511 New procs. Add target-async tests.
14512 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14513 Add target-async tests.
14515 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14517 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14518 'func_start' and 'func_end' for the beginning and end of the
14519 function code, respectively.
14520 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14521 'func_end' instead of 'func' and 'main'.
14523 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14525 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14526 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14527 generate the debug info assembler source.
14529 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14531 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14532 * gdb.dwarf2/arr-subrange.exp: Likewise.
14533 * gdb.dwarf2/dwz.exp: Likewise.
14534 * gdb.dwarf2/method-ptr.exp: Likewise.
14535 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14536 * gdb.dwarf2/subrange.exp: Likewise.
14537 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14538 * gdb.dwarf2/implptrpiece.exp: Likewise.
14539 * gdb.dwarf2/nostaticblock.exp: Likewise.
14541 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14543 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14544 directory to absolute path name arguments.
14546 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14548 * gdb.ada/tagged_access: New testcase.
14550 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14552 * gdb.btrace/data.exp: Update expected output.
14554 2014-03-06 Yao Qi <yao@codesourcery.com>
14556 * gdb.trace/pr16508.exp: New file.
14558 2014-03-05 Pedro Alves <palves@redhat.com>
14561 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14563 (top level): Adjust to use it. Add tests that exercise breakpoint
14564 interaction with the code-cache.
14566 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14568 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14569 test for 'history-append!'.
14571 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14573 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14574 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14575 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14576 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14577 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14578 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14580 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14582 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14583 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14584 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14586 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14588 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14590 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14592 * gdb.dwarf2/arr-stride.c: New file.
14593 * gdb.dwarf2/arr-stride.exp: New file.
14595 2014-02-26 Pedro Alves <palves@redhat.com>
14597 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14598 that won't ever trigger. Make sure that GDB reports the correct
14599 breakpoint that caused the stop.
14601 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14604 * gdb.base/auto-load-script: New file.
14605 * gdb.base/auto-load.c: New file.
14606 * gdb.base/auto-load.exp: New file.
14609 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14611 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14613 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14614 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14616 2014-02-24 Doug Evans <dje@google.com>
14618 * lib/gdb.exp (run_on_host): Log error output if program fails.
14620 2014-02-21 Pedro Alves <palves@redhat.com>
14622 * gdb.threads/step-after-sr-lock.c: Rename to ...
14623 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14624 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14625 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14628 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14631 * gdb.arch/amd64-stap-special-operands.exp: New file.
14632 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14633 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14634 * gdb.arch/amd64-stap-triplet.S: Likewise.
14635 * gdb.arch/amd64-stap-triplet.c: Likewise.
14637 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14639 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14640 in .section pseudo-op.
14642 2014-02-20 lin zuojian <manjian2006@gmail.com>
14643 Joel Brobecker <brobecker@adacore.com>
14644 Doug Evans <xdje42@gmail.com>
14647 * gdb.dwarf2/dw2-icycle.S: New file.
14648 * gdb.dwarf2/dw2-icycle.c: New file.
14649 * gdb.dwarf2/dw2-icycle.exp: New file.
14651 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14653 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14654 operations on gdb.Value objects.
14655 * gdb.python/py-value-cc.exp: Add new test to test operations on
14658 2014-02-18 Doug Evans <dje@google.com>
14660 * Makefile.in (TESTS): New variable.
14661 (expanded_tests, expanded_tests_or_none): New variables
14662 (check-single): Pass $(expanded_tests_or_none) to runtest.
14663 (check-parallel): Only run tests in $(TESTS) if non-empty.
14664 (check/no-matching-tests-found): New rule.
14665 * README: Document TESTS makefile variable.
14667 2014-02-18 Doug Evans <dje@google.com>
14669 * Makefile.in (check-parallel): rm -rf outputs temp.
14671 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14673 Fix "ERROR: no fileid for" in the testsuite.
14674 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14676 2014-02-12 Doug Evans <dje@google.com>
14678 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14679 (MISCELLANEOUS): New variable.
14680 (clean): rm -rf $(MISCELLANEOUS).
14681 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14682 dwp live in the same directory as symlinks, with each symlink pointed
14683 to a differently named file in a different directory.
14685 2014-02-11 Doug Evans <dje@google.com>
14687 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14688 of Tcl file commands.
14690 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14692 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14693 "kill -SIGUSR1 -1".
14695 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14697 * gdb.ada/tick_length_array_enum_idx: New testcase.
14699 2014-02-10 Doug Evans <xdje42@gmail.com>
14701 * configure.ac (AC_OUTPUT): Add gdb.guile.
14702 * configure: Regenerate.
14703 * lib/gdb-guile.exp: New file.
14704 * lib/gdb.exp (get_target_charset): New function.
14705 * gdb.base/help.exp: Update expected output from "apropos apropos".
14706 * gdb.guile/Makefile.in: New file.
14707 * gdb.guile/guile.exp: New file.
14708 * gdb.guile/scm-arch.c: New file.
14709 * gdb.guile/scm-arch.exp: New file.
14710 * gdb.guile/scm-block.c: New file.
14711 * gdb.guile/scm-block.exp: New file.
14712 * gdb.guile/scm-breakpoint.c: New file.
14713 * gdb.guile/scm-breakpoint.exp: New file.
14714 * gdb.guile/scm-disasm.c: New file.
14715 * gdb.guile/scm-disasm.exp: New file.
14716 * gdb.guile/scm-equal.c: New file.
14717 * gdb.guile/scm-equal.exp: New file.
14718 * gdb.guile/scm-error.exp: New file.
14719 * gdb.guile/scm-error.scm: New file.
14720 * gdb.guile/scm-frame-args.c: New file.
14721 * gdb.guile/scm-frame-args.exp: New file.
14722 * gdb.guile/scm-frame-args.scm: New file.
14723 * gdb.guile/scm-frame-inline.c: New file.
14724 * gdb.guile/scm-frame-inline.exp: New file.
14725 * gdb.guile/scm-frame.c: New file.
14726 * gdb.guile/scm-frame.exp: New file.
14727 * gdb.guile/scm-generics.exp: New file.
14728 * gdb.guile/scm-gsmob.exp: New file.
14729 * gdb.guile/scm-iterator.c: New file.
14730 * gdb.guile/scm-iterator.exp: New file.
14731 * gdb.guile/scm-math.c: New file.
14732 * gdb.guile/scm-math.exp: New file.
14733 * gdb.guile/scm-objfile-script-gdb.in: New file.
14734 * gdb.guile/scm-objfile-script.c: New file.
14735 * gdb.guile/scm-objfile-script.exp: New file.
14736 * gdb.guile/scm-objfile.c: New file.
14737 * gdb.guile/scm-objfile.exp: New file.
14738 * gdb.guile/scm-ports.exp: New file.
14739 * gdb.guile/scm-pretty-print.c: New file.
14740 * gdb.guile/scm-pretty-print.exp: New file.
14741 * gdb.guile/scm-pretty-print.scm: New file.
14742 * gdb.guile/scm-section-script.c: New file.
14743 * gdb.guile/scm-section-script.exp: New file.
14744 * gdb.guile/scm-section-script.scm: New file.
14745 * gdb.guile/scm-symbol.c: New file.
14746 * gdb.guile/scm-symbol.exp: New file.
14747 * gdb.guile/scm-symtab-2.c: New file.
14748 * gdb.guile/scm-symtab.c: New file.
14749 * gdb.guile/scm-symtab.exp: New file.
14750 * gdb.guile/scm-type.c: New file.
14751 * gdb.guile/scm-type.exp: New file.
14752 * gdb.guile/scm-value-cc.cc: New file.
14753 * gdb.guile/scm-value-cc.exp: New file.
14754 * gdb.guile/scm-value.c: New file.
14755 * gdb.guile/scm-value.exp: New file.
14756 * gdb.guile/source2.scm: New file.
14757 * gdb.guile/types-module.cc: New file.
14758 * gdb.guile/types-module.exp: New file.
14760 2014-02-10 Yao Qi <yao@codesourcery.com>
14763 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14764 * configure: Regenerated.
14765 * Makefile.in: New file.
14767 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14769 * gdb.python/py-framefilter.exp: Fix typo.
14771 2014-02-08 Yao Qi <yao@codesourcery.com>
14773 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14774 that no =breakpoint-modified is emitted when breakpoints are
14775 modified through MI commands.
14777 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14778 Pedro Alves <palves@redhat.com>
14780 * gdb.threads/step-after-sr-lock.c: New file.
14781 * gdb.threads/step-after-sr-lock.exp: New file.
14783 2014-02-07 Pedro Alves <palves@redhat.com>
14785 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14787 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14789 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14790 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14792 2014-02-06 Doug Evans <xdje42@gmail.com>
14794 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14797 * gdb.gdb/python-interrupts.exp: New file.
14799 2014-02-05 Yao Qi <yao@codesourcery.com>
14801 * gdb.trace/report.exp (use_collected_data): Test the output
14802 of "info threads" and "info inferiors".
14804 2014-02-05 Yao Qi <yao@codesourcery.com>
14808 2013-05-24 Yao Qi <yao@codesourcery.com>
14810 * gdb.trace/tfile.exp: Test inferior and thread.
14812 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14814 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14816 * gdb.base/step-bt.c: Call hello via function pointer to make
14817 sure its first instruction is executed on powerpc64le-linux.
14819 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14821 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14823 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14825 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14826 of the test patterns for use on little-endian systems.
14828 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14830 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14831 (decimal_vector): Fix for little-endian.
14833 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14835 * gdb.arch/sparc-sysstep.exp: New file.
14836 * gdb.arch/sparc-sysstep.c: Likewise.
14838 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14840 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14842 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14844 2014-01-23 Tom Tromey <tromey@redhat.com>
14846 * gdb.ada/array_char_idx: New testcase.
14848 2014-01-23 Tom Tromey <tromey@redhat.com>
14851 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14852 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14855 2014-01-23 Tom Tromey <tromey@redhat.com>
14858 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14859 string from an inferior frame.
14860 * gdb.python/py-framefilter-mi.exp: Update.
14862 2014-01-22 Doug Evans <dje@google.com>
14864 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14866 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14868 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14870 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14872 * gdb.trace/entry-values.exp: Remove excess space character from
14873 regex patterns. Handle s390 call instruction.
14875 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14877 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14878 define "*_start" label. Make "name" static.
14879 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14880 ${name} by references to ${name}_start.
14882 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14884 * gdb.base/info-macros.exp: Remove "debug" from the compile
14887 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14889 * gdb.dlang/demangle.exp: New file.
14891 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14893 * gdb.dlang/primitive-types.exp: New file.
14895 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14897 * configure.ac: Create gdb.dlang/Makefile.
14898 * configure: Regenerate.
14899 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14900 * gdb.dlang/Makefile.in: New file.
14901 * lib/d-support.exp: New file.
14902 * lib/gdb.exp (skip_d_tests): New proc.
14904 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14906 * gdb.btrace/delta.exp: Check reverse stepi.
14907 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14908 * gdb.btrace/finish.exp: New.
14909 * gdb.btrace/next.exp: New.
14910 * gdb.btrace/nexti.exp: New.
14911 * gdb.btrace/record_goto.c: Add comments.
14912 * gdb.btrace/step.exp: New.
14913 * gdb.btrace/stepi.exp: New.
14914 * gdb.btrace/multi-thread-step.c: New.
14915 * gdb.btrace/multi-thread-step.exp: New.
14916 * gdb.btrace/rn-dl-bind.c: New.
14917 * gdb.btrace/rn-dl-bind.exp: New.
14918 * gdb.btrace/data.c: New.
14919 * gdb.btrace/data.exp: New.
14920 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14922 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14924 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14925 * gdb.btrace/exception.exp: Update.
14926 * gdb.btrace/instruction_history.exp: Update.
14927 * gdb.btrace/record_goto.exp: Update.
14928 * gdb.btrace/tailcall.exp: Update.
14929 * gdb.btrace/unknown_functions.exp: Update.
14930 * gdb.btrace/delta.exp: New.
14932 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14934 * gdb.btrace/record_goto.exp: Add backtrace test.
14935 * gdb.btrace/tailcall.exp: Add backtrace test.
14937 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14939 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14940 * gdb.btrace/record_goto.c: New.
14941 * gdb.btrace/record_goto.exp: New.
14942 * gdb.btrace/x86-record_goto.S: New.
14944 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14946 * gdb.btrace/function_call_history.exp: Update tests.
14947 * gdb.btrace/instruction_history.exp: Update tests.
14949 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14951 * gdb.btrace/function_call_history.exp: Fix expected field
14952 order for "record function-call-history".
14953 Add new tests for "record function-call-history /c".
14954 * gdb.btrace/exception.cc: New.
14955 * gdb.btrace/exception.exp: New.
14956 * gdb.btrace/tailcall.exp: New.
14957 * gdb.btrace/x86-tailcall.S: New.
14958 * gdb.btrace/x86-tailcall.c: New.
14959 * gdb.btrace/unknown_functions.c: New.
14960 * gdb.btrace/unknown_functions.exp: New.
14961 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14963 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14965 * gdb.btrace/instruction_history.exp: Update.
14966 * gdb.btrace/function_call_history.exp: Update.
14968 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14970 * gdb.btrace/function_call_history.exp: Fix expected function
14972 * gdb.btrace/instruction_history.exp: Initialize traced.
14973 Remove traced_functions.
14975 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14977 * gdb.btrace/function_call_history.exp: Update
14978 * gdb.btrace/instruction_history.exp: Update.
14980 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14982 * gdb.btrace/enable.exp: Update expected text.
14984 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14986 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14989 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14991 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14993 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14995 * lib/gdb.exp (supports_process_record): Return true for
14996 arm*-linux*. (supports_reverse): Likewise.
14998 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
15002 * gdb.python/py-type.c: Enhance test case.
15003 * gdb.python/py-value-cc.cc: Likewise
15004 * gdb.python/py-type.exp: Add new tests.
15005 * gdb.python/py-value-cc.exp: Likewise
15007 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15008 Pedro Alves <palves@redhat.com>
15010 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15011 Make "name" extern.
15012 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15013 references to ${name}_start by references to ${name}.
15015 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15017 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15019 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15021 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15023 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
15024 Pedro Alves <palves@redhat.com>
15026 * gdb.mi/mi-info-os.exp: Connect to the target with
15027 mi_gdb_target_load.
15029 2014-01-08 Pedro Alves <palves@redhat.com>
15031 * gdb.threads/reconnect-signal.c: New file.
15032 * gdb.threads/reconnect-signal.exp: New file.
15034 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15036 * gdb.base/source-dir.exp: New file.
15038 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15040 * gdb.ada/mi_interface: New testcase.
15042 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15044 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15045 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15046 gdb.ada/pp-rec-component/pck.ads: New files.
15048 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15050 * gdb.python/py-pp-integral.c: New file.
15051 * gdb.python/py-pp-integral.py: New file.
15052 * gdb.python/py-pp-integral.exp: New file.
15054 For older changes see ChangeLog-1993-2013.
15056 ;; Local Variables:
15057 ;; mode: change-log
15060 ;; version-control: never
15063 Copyright 2014-2018 Free Software Foundation, Inc.
15064 Copying and distribution of this file, with or without modification,
15065 are permitted provided the copyright notice and this notice are preserved.