1 2019-12-11 Tom Tromey <tromey@adacore.com>
3 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
8 * gdb.base/default.exp: Update value of $_gdb_major.
10 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
12 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
14 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
16 * gdb.base/skip.exp: Whitespace fix.
18 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
20 * gdb.base/skip-inline.c: New file.
21 * gdb.base/skip-inline.exp: New file.
23 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
25 * gdb.base/jit-reader.exp (jit_reader_test): Rename
26 jit_function_00 to jit_function_stack_mangle.
27 * gdb.base/jithost.c (jit_function_t): Rename to...
28 (jit_function_stack_mangle_t): ... this.
29 (jit_function_add_t): New typedef.
30 (jit_function_00_code): Rename to...
31 (jit_function_stack_mangle_code): ... this, make static.
32 (jit_function_add_code): New.
33 (main): Generate "add" function and call it. Adjust to changes
35 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
36 (struct jithost_abi) <begin, end>: Remove fields.
37 <object, function_stack_mangle, function_add>: New fields.
38 * gdb.base/jitreader.c (struct reader_state) <code_begin,
39 code_end>: Remove fields.
40 <func_stack_mangle>: New field.
41 (read_debug_info): Adjust to renaming, create block for "add"
43 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
45 2019-12-11 Tom Tromey <tom@tromey.com>
47 * gdb.tui/resize.exp: Fix regexp.
48 * gdb.tui/regs.exp: Fix regexps.
49 * gdb.tui/main.exp: Fix regexp.
51 2019-12-11 Tom Tromey <tom@tromey.com>
53 * gdb.tui/resize.exp: Update.
54 * gdb.tui/empty.exp (layouts): Update.
56 2019-12-11 Tom Tromey <tom@tromey.com>
58 * gdb.tui/regs.exp: Update.
59 * gdb.tui/empty.exp (layouts): Update.
60 * gdb.tui/basic.exp: Update.
61 * lib/tuiterm.exp (_check_box): Don't check bottom border.
63 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
65 * gdb.base/options.exp: Add -raw-values in the print completion list.
66 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
68 2019-12-10 Kevin Buettner <kevinb@redhat.com>
70 * gdb.threads/omp-par-scope.c: New file.
71 * gdb/threads/omp-par-scope.exp: New file.
73 2019-12-10 Kevin Buettner <kevinb@redhat.com>
75 * lib/gdb.exp (support_nested_function_tests): New proc.
77 2019-12-10 Kevin Buettner <kevinb@redhat.com>
79 * lib/gdb.exp (gdb_compile_openmp): New proc.
80 (build_executable_from_specs): Add an "openmp" option.
81 (gdb_compile_pthreads): Add non-executable case.
83 2019-12-10 Tom Tromey <tromey@adacore.com>
85 * gdb.ada/unchecked_union.exp: New file.
86 * gdb.ada/unchecked_union/pck.adb: New file.
87 * gdb.ada/unchecked_union/pck.ads: New file.
88 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
89 * gdb-utils.exp (string_to_regexp): Also quote "?".
91 2019-12-10 George Barrett <bob@bob131.so>
93 Test scripted probe breakpoints.
94 * gdb.guile/scm-breakpoint.c (main): Add probe point.
95 * gdb.python/py-breakpoint.c (main): Likewise.
96 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
98 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
100 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
102 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
104 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
107 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
109 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
112 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
114 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
115 broken version of GCC.
117 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
119 * gdb.fortran/info-modules.exp: Rewrite to make use of new
120 sym-info-cmds library.
121 * gdb.fortran/info-types.exp: Likewise.
122 * lib/sym-info-cmds.exp: New file.
124 2019-12-08 Tom de Vries <tdevries@suse.de>
126 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
128 2019-12-07 Keith Seitz <keiths@redhat.com>
130 * gdb.base/corefile-buildid-shlib-shr.c: New file.
131 * gdb.base/corefile-buildid-shlib.c: New file.
132 * gdb.base/corefile-buildid.c: New file.
133 * gdb.base/corefile-buildid.exp: New file.
135 2019-12-06 Tom de Vries <tdevries@suse.de>
137 * gdb.dwarf2/varval.exp: Add decl before def test.
139 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
141 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
143 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
145 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
146 CV and reference conversion for overload resolution.
147 * gdb.cp/rvalue-ref-overload.exp: Test it.
149 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
151 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
152 * gdb.base/frameapply.exp: Test faas without command.
154 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
156 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
158 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
161 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
163 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
164 casting to type with no kind specified.
165 (test_basic_parsing_of_type_kinds): Additional tests for types
166 with no kind specified, and add tests for single/double
167 precision/complex types.
169 2019-12-04 Tom Tromey <tromey@adacore.com>
171 * gdb.base/endianity.c (struct other) <x>: New field.
172 (main): Initialize it.
173 * gdb.base/endianity.exp: Update.
175 2019-12-04 Tom Tromey <tromey@adacore.com>
177 * gdb.ada/scalar_storage/storage.adb: New file.
178 * gdb.ada/scalar_storage/pck.adb: New file.
179 * gdb.ada/scalar_storage/pck.ads: New file.
180 * gdb.ada/scalar_storage.exp: New file.
182 2019-12-04 Tom Tromey <tromey@adacore.com>
184 * gdb.base/endianity.c (struct otherendian) <f>: New field.
185 (main): Initialize it.
186 * gdb.base/endianity.exp: Update.
188 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
190 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
192 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
194 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
195 -symbol-info-module-functions and -symbol-info-module-variables.
197 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
199 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
201 2019-12-01 Richard Bunt <richard.bunt@arm.com>
202 Andrew Burgess <andrew.burgess@embecosm.com>
204 * gdb.fortran/derived-type-striding.exp: New file.
205 * gdb.fortran/derived-type-striding.f90: New file.
206 * gdb.fortran/array-slices.exp: New file.
207 * gdb.fortran/array-slices.f90: New file.
209 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
211 * gdb.base/define.exp: Test . in command names.
212 * gdb.base/setshow.exp: Update test, as . is now part of
215 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
217 * gdb.base/define-prefix.exp: New file.
219 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
221 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
223 (skip_btrace_pt_tests): Likewise.
225 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
227 * gdb.fortran/info-modules.exp: Compile source files in correct
230 2019-11-27 Kevin Buettner <kevinb@redhat.com>
232 * gdb.dwarf2/imported-unit.exp: New file.
233 * gdb.dwarf2/imported-unit.c: New file.
235 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
237 * gdb.mi/mi-fortran-modules-2.f90: New file.
238 * gdb.mi/mi-fortran-modules.exp: New file.
239 * gdb.mi/mi-fortran-modules.f90: New file.
241 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
243 * gdb.mi/mi-sym-info-1.c: New file.
244 * gdb.mi/mi-sym-info-2.c: New file.
245 * gdb.mi/mi-sym-info.exp: New file.
247 2019-11-22 Tom Tromey <tromey@adacore.com>
249 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
250 * gdb.ada/tasks/foo.adb: Add another stopping location.
252 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
254 * gdb.base/endianity.c: New test.
255 * gdb.base/endianity.exp: New file.
257 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
259 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
261 2019-11-21 Tom de Vries <tdevries@suse.de>
264 * gdb.base/ui-redirect.exp: Test output of user-defined command.
266 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
268 * gdb.python/py-progspace.exp: Add missing parentheses on some
271 2019-11-19 Tom Tromey <tom@tromey.com>
273 * gdb.tui/winheight.exp: New file.
275 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
277 * gdb.base/ctf-whatis.c: Delete.
278 * gdb.base/ctf-whatis.exp: Delete.
279 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
281 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
283 * gdb.base/ctf-cvexpr.exp: Delete.
284 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
286 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
288 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
289 the compiler. Clean up header comment a little.
290 * gdb.base/ctf-ptype.exp: Likewise.
291 * gdb.base/ctf-whatis.exp: Likewise.
292 * lib/gdb.exp (skip_ctf_tests): New proc.
294 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
296 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
297 * gdb.tui/corefile-run.exp: New file.
299 2019-11-14 Tom Tromey <tromey@adacore.com>
301 * gdb.base/gdbvars.exp (test_convenience_variables): Add
304 2019-11-12 Tom Tromey <tom@tromey.com>
306 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
307 after any command. Expect prompt after WAIT_FOR is seen.
308 (enter_tui): Enable resize messages.
309 (command): Expect command in output.
310 (get_line): Avoid error when cursor appears to be off-screen.
311 (dump_screen): Include screen size in title.
312 (_do_resize): New proc, from "resize".
313 (resize): Rewrite. Do resize in two steps.
314 * gdb.tui/empty.exp (layouts): Fix entries.
315 (check_boxes): Remove xfail.
316 (check_text): Dump screen on failure.
318 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
320 * gdb.python/py-symbol.exp: Add test for
321 gdb.lookup_static_symbols.
323 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
325 * gdb.python/py-symbol.c: Declare and call function from new
327 * gdb.python/py-symbol.exp: Compile both source files, and add new
328 tests for gdb.lookup_static_symbol.
329 * gdb.python/py-symbol-2.c: New file.
331 2019-11-02 Tom de Vries <tdevries@suse.de>
333 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
334 * gdb.base/anon.exp: Same.
335 * gdb.base/auto-connect-native-target.exp: Same.
336 * gdb.base/call-ar-st.exp: Same.
337 * gdb.base/catch-syscall.exp: Same.
338 * gdb.base/commands.exp: Same.
339 * gdb.base/default.exp: Same.
340 * gdb.base/display.exp: Same.
341 * gdb.base/float.exp: Same.
342 * gdb.base/foll-fork.exp: Same.
343 * gdb.base/help.exp: Same.
344 * gdb.base/info-macros.exp: Same.
345 * gdb.base/info-proc.exp: Same.
346 * gdb.base/info-target.exp: Same.
347 * gdb.base/long_long.exp: Same.
348 * gdb.base/macscp.exp: Same.
349 * gdb.base/memattr.exp: Same.
350 * gdb.base/nofield.exp: Same.
351 * gdb.base/pointers.exp: Same.
352 * gdb.base/printcmds.exp: Same.
353 * gdb.base/ptype.exp: Same.
354 * gdb.base/restore.exp: Same.
355 * gdb.base/return.exp: Same.
356 * gdb.base/scope.exp: Same.
357 * gdb.base/set-noassign.exp: Same.
358 * gdb.base/setshow.exp: Same.
359 * gdb.base/shlib-call.exp: Same.
360 * gdb.base/signals.exp: Same.
361 * gdb.base/sigstep.exp: Same.
362 * gdb.base/skip.exp: Same.
363 * gdb.base/solib-symbol.exp: Same.
364 * gdb.base/stap-probe.exp: Same.
365 * gdb.base/step-line.exp: Same.
366 * gdb.base/step-test.exp: Same.
367 * gdb.base/style.exp: Same.
368 * gdb.base/varargs.exp: Same.
369 * gdb.base/vla-datatypes.exp: Same.
370 * gdb.base/vla-ptr.exp: Same.
371 * gdb.base/vla-sideeffect.exp: Same.
372 * gdb.base/volatile.exp: Same.
373 * gdb.base/watch-cond-infcall.exp: Same.
374 * gdb.base/watchpoint.exp: Same.
376 2019-11-02 Tom de Vries <tdevries@suse.de>
378 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
379 * gdb.cp/cpexprs.exp: Same.
380 * gdb.cp/except-multi-location.exp: Same.
381 * gdb.cp/exceptprint.exp: Same.
382 * gdb.cp/gdb2384.exp: Same.
383 * gdb.cp/inherit.exp: Same.
384 * gdb.cp/m-static.exp: Same.
385 * gdb.cp/meth-typedefs.exp: Same.
386 * gdb.cp/misc.exp: Same.
387 * gdb.cp/namespace.exp: Same.
388 * gdb.cp/non-trivial-retval.exp: Same.
389 * gdb.cp/overload.exp: Same.
390 * gdb.cp/pr17132.exp: Same.
391 * gdb.cp/re-set-overloaded.exp: Same.
392 * gdb.cp/rvalue-ref-types.exp: Same.
393 * gdb.cp/templates.exp: Same.
395 2019-11-01 Luis Machado <luis.machado@linaro.org>
399 * gdb.arch/pr25124.S: New file.
400 * gdb.arch/pr25124.exp: New file.
402 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
404 * gdb.fortran/info-modules.exp: Update expected results, and add
405 additional tests for 'info module functinos', and 'info module
407 * gdb.fortran/info-types.exp: Update expected results.
408 * gdb.fortran/info-types.f90: Extend testcase with additional
409 module variables and functions.
411 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
413 * gdb.fortran/info-modules.exp: New file.
414 * gdb.fortran/info-types.exp: Build with new file.
415 * gdb.fortran/info-types.f90: Include and use new module.
416 * gdb.fortran/info-types-2.f90: New file.
418 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
420 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
421 * gdb.base/settings.exp: Test all settings types using
422 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
423 that now verifies that the value of "maint show" is the same as
424 returned by the settings functions. Test the type of the
425 maintenance settings.
426 * gdb.base/default.exp: Update show_conv_list.
428 2019-10-31 Tom de Vries <tdevries@suse.de>
430 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
432 * gdb.arch/amd64-disp-step.exp: Same.
433 * gdb.asm/asm-source.exp: Same.
434 * gdb.btrace/buffer-size.exp: Same.
435 * gdb.btrace/cpu.exp: Same.
436 * gdb.btrace/enable.exp: Same.
437 * gdb.dwarf2/count.exp: Same.
438 * gdb.dwarf2/dw2-ranges-func.exp: Same.
439 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
440 * gdb.fortran/vla-datatypes.exp: Same.
441 * gdb.fortran/vla-history.exp: Same.
442 * gdb.fortran/vla-ptype.exp: Same.
443 * gdb.fortran/vla-value.exp: Same.
444 * gdb.fortran/whatis_type.exp: Same.
445 * gdb.guile/guile.exp: Same.
446 * gdb.multi/tids.exp: Same.
447 * gdb.python/py-finish-breakpoint.exp: Same.
448 * gdb.python/py-framefilter.exp: Same.
449 * gdb.python/py-pp-registration.exp: Same.
450 * gdb.python/py-xmethods.exp: Same.
451 * gdb.python/python.exp: Same.
452 * gdb.server/connect-with-no-symbol-file.exp: Same.
453 * gdb.server/no-thread-db.exp: Same.
454 * gdb.server/run-without-local-binary.exp: Same.
455 * gdb.stabs/weird.exp: Same.
456 * gdb.threads/attach-many-short-lived-threads.exp: Same.
457 * gdb.threads/thread-find.exp: Same.
458 * gdb.threads/tls-shared.exp: Same.
459 * gdb.threads/tls.exp: Same.
460 * gdb.threads/wp-replication.exp: Same.
461 * gdb.trace/ax.exp: Same.
462 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
464 2019-10-31 Tom de Vries <tdevries@suse.de>
466 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
467 * gdb.ada/array_subscript_addr.exp: Same.
468 * gdb.ada/arrayidx.exp: Same.
469 * gdb.ada/arrayparam.exp: Same.
470 * gdb.ada/arrayptr.exp: Same.
471 * gdb.ada/boolean_expr.exp: Same.
472 * gdb.ada/call_pn.exp: Same.
473 * gdb.ada/complete.exp: Same.
474 * gdb.ada/fixed_cmp.exp: Same.
475 * gdb.ada/fun_addr.exp: Same.
476 * gdb.ada/funcall_param.exp: Same.
477 * gdb.ada/interface.exp: Same.
478 * gdb.ada/mod_from_name.exp: Same.
479 * gdb.ada/null_array.exp: Same.
480 * gdb.ada/packed_array.exp: Same.
481 * gdb.ada/packed_tagged.exp: Same.
482 * gdb.ada/print_chars.exp: Same.
483 * gdb.ada/print_pc.exp: Same.
484 * gdb.ada/ptype_arith_binop.exp: Same.
485 * gdb.ada/ptype_field.exp: Same.
486 * gdb.ada/ptype_tagged_param.exp: Same.
487 * gdb.ada/rec_return.exp: Same.
488 * gdb.ada/ref_tick_size.exp: Same.
489 * gdb.ada/str_ref_cmp.exp: Same.
490 * gdb.ada/taft_type.exp: Same.
491 * gdb.ada/tagged.exp: Same.
492 * gdb.ada/type_coercion.exp: Same.
493 * gdb.ada/uninitialized_vars.exp: Same.
495 2019-10-30 Tom de Vries <tdevries@suse.de>
497 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
499 2019-10-26 Tom de Vries <tdevries@suse.de>
501 * gdb.base/bigcore.c: Fix typos in comments.
502 * gdb.base/ctf-ptype.c: Same.
503 * gdb.base/long_long.c: Same.
504 * gdb.dwarf2/dw2-op-out-param.S: Same.
505 * gdb.python/py-evthreads.c: Same.
506 * gdb.reverse/i387-stack-reverse.c: Same.
507 * gdb.trace/tfile.c: Same.
508 * lib/compiler.c: Same.
509 * lib/compiler.cc: Same.
511 2019-10-25 Tom de Vries <tdevries@suse.de>
513 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
514 gdb_test_multiple calls.
515 * gdb.reverse/sigall-reverse.exp: Same.
516 * gdb.reverse/solib-precsave.exp: Same.
517 * gdb.reverse/solib-reverse.exp: Same.
518 * gdb.reverse/until-precsave.exp: Same.
519 * gdb.reverse/until-reverse.exp: Same.
521 2019-10-24 Tom de Vries <tdevries@suse.de>
523 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
524 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
525 kfail using -wrap pattern flag and convenience variable
528 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
530 * gdb.python/py-progspace.exp: Add tests for the
531 Progspace.block_for_pc method.
533 2019-10-23 Tom Tromey <tom@tromey.com>
535 * configure: Rebuild.
536 * aclocal.m4: Use m4_include, not sinclude.
538 2019-10-21 Tom de Vries <tdevries@suse.de>
540 * gdb.base/infcall-nested-structs.c: Add
541 __attribute__((noinline,noclone)) to all functions.
542 (call_all): Add missing variable initialization. Simplify return value.
543 (breakpt): Increment volatile variable, to prevent call from being
545 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
547 2019-10-17 Tom de Vries <tdevries@suse.de>
549 * gdb.fortran/module.exp: Allow info variables to print info for files
550 other than module.f90.
552 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
554 * gdb.fortran/module.exp: Extend with 'info variables' test.
556 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
558 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
561 2019-10-16 Tom de Vries <tdevries@suse.de>
564 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
566 2019-10-16 Tom de Vries <tdevries@suse.de>
569 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
570 Add KFAIL for PR tdep/25096.
572 2019-10-16 Tom de Vries <tdevries@suse.de>
575 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
577 2019-10-16 Tom de Vries <tdevries@suse.de>
579 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
582 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
584 * gdb.mi/list-thread-groups-available.exp: Read entries one by
585 one instead of increasing timeout.
587 2019-10-13 Tom de Vries <tdevries@suse.de>
590 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
591 * gdb.reverse/sigall-reverse.exp: Same.
592 * gdb.reverse/solib-precsave.exp: Same.
593 * gdb.reverse/solib-reverse.exp: Same.
594 * gdb.reverse/step-precsave.exp: Same.
595 * gdb.reverse/until-precsave.exp: Same.
596 * gdb.reverse/until-reverse.exp: Same.
597 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
599 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
601 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
602 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
603 (cmp_struct_05_01, cmp_struct_static_02_01)
604 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
607 2019-10-10 Tom de Vries <tdevries@suse.de>
610 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
613 2019-10-09 Tom de Vries <tdevries@suse.de>
616 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
618 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
620 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
621 exceptions due to missing debug information.
623 2019-10-07 Tom de Vries <tdevries@suse.de>
625 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
627 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
629 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
630 * gdb.base/annota1.exp: Update to use gdb_test_name.
632 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
634 * gdb.base/ctf-whatis.exp: New file.
635 * gdb.base/ctf-whatis.c: New file.
636 * gdb.base/ctf-ptype.exp: New file.
637 * gdb.base/ctf-ptype.c: New file.
638 * gdb.base/ctf-constvars.exp: New file.
639 * gdb.base/ctf-constvars.c: New file.
640 * gdb.base/ctf-cvexpr.exp: New file.
642 2019-10-04 Tom de Vries <tdevries@suse.de>
644 * gdb.cp/local-static.c (main): Move declaration of int i out of the
647 2019-10-03 Tom Tromey <tom@tromey.com>
650 * gdb.rust/simple.rs (Union2): New type.
652 * gdb.rust/simple.exp: Add test.
654 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
656 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
657 nested function prefix.
659 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
660 Richard Bunt <richard.bunt@arm.com>
661 Andrew Burgess <andrew.burgess@embecosm.com>
663 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
665 * gdb.fortran/nested-funcs.f90: Update expected results.
666 * gdb.fortran/nested-funcs-2.exp: New file.
667 * gdb.fortran/nested-funcs-2.f90: New file.
669 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
671 * gdb.python/py-parameter.exp: Make test names unique.
672 * gdb.python/py-template.exp: Likewise.
673 * gdb.python/py-value.exp: Likewise.
675 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
677 * gdb.base/break-interp.exp: Reduce test name duplication.
678 * gdb.base/call-sc.exp: Likewise.
679 * gdb.base/callfuncs.exp: Likewise.
680 * gdb.base/charset.exp: Likewise.
681 * gdb.base/dump.exp: Likewise.
682 * gdb.base/ena-dis-br.exp: Likewise.
683 * gdb.base/relational.exp: Likewise.
684 * gdb.base/step-over-syscall.exp: Likewise.
685 * gdb.base/structs.exp: Likewise.
687 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
689 * gdb.linespec/explicit.exp: Make test names unique.
690 * gdb.linespec/ls-errs.exp: Likewise.
692 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
694 * gdb.reverse/break-precsave.exp: Make test names unique.
695 * gdb.reverse/break-reverse.exp: Likewise.
696 * gdb.reverse/finish-precsave.exp: Likewise.
697 * gdb.reverse/finish-reverse.exp: Likewise.
698 * gdb.reverse/machinestate-precsave.exp: Likewise.
699 * gdb.reverse/machinestate.exp: Likewise.
700 * gdb.reverse/readv-reverse.exp: Likewise.
701 * gdb.reverse/recvmsg-reverse.exp: Likewise.
702 * gdb.reverse/sigall-precsave.exp: Likewise.
703 * gdb.reverse/sigall-reverse.exp: Likewise.
704 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
705 * gdb.reverse/watch-precsave.exp: Likewise.
706 * gdb.reverse/watch-reverse.exp: Likewise.
708 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
710 * gdb.threads/stop-with-handle.c: New file.
711 * gdb.threads/stop-with-handle.exp: New file.
713 2019-10-03 Tom de Vries <tdevries@suse.de>
716 * gdb.base/list-missing-source.exp: Allowing the "Compilation
717 directory" line to be missing.
719 2019-10-03 Tom de Vries <tdevries@suse.de>
722 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
725 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
727 * gdb.python/py-format-string.c (string.h): New include.
728 (main): Fill a_struct_with_union.the_union.an_int with bytes of
729 the same value, for endianness-independence.
730 * gdb.python/py-format-string.exp (default_regexp_dict)
731 (test_pretty_structs, test_format): Adjust expected output to the
732 changed initialization.
734 2019-10-02 Tom Tromey <tromey@adacore.com>
736 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
738 2019-10-02 Pedro Alves <palves@redhat.com>
739 Andrew Burgess <andrew.burgess@embecosm.com>
741 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
743 (this_version_id) Use ATTRIBUTE_VISIBILITY.
744 (get_version_1): Print this_version_id and its address.
745 Add extern "C" wrappers around interface functions.
746 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
748 (this_version_id) Use ATTRIBUTE_VISIBILITY.
749 (get_version_2): Print this_version_id and its address.
750 Add extern "C" wrappers around interface functions.
751 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
752 <stddef.h> and "print-file-var.h".
753 Add extern "C" wrappers around interface functions.
754 [VERSION_ID_MAIN] (this_version_id): Define.
755 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
756 * gdb.base/print-file-var.h: Add some #defines to simplify setting
757 up extern "C" blocks.
758 * gdb.base/print-file-var.exp (test): New, factored out from top
760 (top level): Test all combinations of attribute hidden or not,
761 dlopen or not, and this_version_id symbol in main file or not.
762 Compile tests as both C++ and C, make test names unique.
764 2019-10-01 Tom Tromey <tom@tromey.com>
766 * gdb.base/style.exp: Test "show logging filename".
768 2019-10-01 Tom Tromey <tom@tromey.com>
770 * lib/gdb-utils.exp (style): Handle "metadata" argument.
771 * gdb.base/style.exp: Add metadata style test.
773 2019-10-01 Tom Tromey <tom@tromey.com>
775 * gdb.base/style.exp: Test "pwd".
777 2019-10-01 Tom Tromey <tom@tromey.com>
779 * gdb.base/style.exp: Update tests.
781 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
783 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
785 (s1): Initialize fields 'four' and 'six' instead of 'three' and
786 'five'. Use an all-ones bit pattern for each.
787 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
788 to its changed values.
790 2019-09-30 Tom Tromey <tromey@adacore.com>
792 * gdb.rust/traits.rs: Disable all warnings.
794 2019-09-29 Tom de Vries <tdevries@suse.de>
796 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
798 2019-09-29 Tom de Vries <tdevries@suse.de>
800 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
802 2019-09-27 Tom de Vries <tdevries@suse.de>
804 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
806 2019-09-27 Tom de Vries <tdevries@suse.de>
809 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
811 2019-09-26 Tom Tromey <tromey@adacore.com>
813 * gdb.ada/py_taft.exp: New file.
814 * gdb.ada/py_taft/main.adb: New file.
815 * gdb.ada/py_taft/pkg.adb: New file.
816 * gdb.ada/py_taft/pkg.ads: New file.
818 2019-09-24 Tom de Vries <tdevries@suse.de>
821 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
823 2019-09-22 Tom de Vries <tdevries@suse.de>
825 * gdb.base/restore.exp: Allow register variables to be optimized out at
828 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
830 * gdb.arch/spu-info.exp: Remove file.
831 * gdb.arch/spu-info.c: Remove file.
832 * gdb.arch/spu-ls.exp: Remove file.
833 * gdb.arch/spu-ls.c: Remove file.
835 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
836 * gdb.asm/spu.inc: Remove file.
838 * gdb.base/dump.exp: Remove support for spu*-*-*.
839 * gdb.base/stack-checking.exp: Likewise.
840 * gdb.base/overlays.exp: Likewise.
841 * gdb.base/ovlymgr.c: Likewise.
842 * gdb.base/spu.ld: Remove file.
844 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
845 * gdb.cp/cpexprs.exp: Likewise.
846 * gdb.cp/exception.exp: Likewise.
847 * gdb.cp/gdb2495.exp: Likewise.
848 * gdb.cp/mb-templates.exp: Likewise.
849 * gdb.cp/pr9167.exp: Likewise.
850 * gdb.cp/userdef.exp: Likewise.
852 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
854 * gdb.cell: Remove directory.
855 * lib/cell.exp: Remove file.
857 2019-09-19 Tom de Vries <tdevries@suse.de>
859 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
861 2019-09-19 Tom de Vries <tdevries@suse.de>
863 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
865 2019-09-19 Tom de Vries <tdevries@suse.de>
867 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
868 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
869 (gdb_target_cmd): ... here.
870 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
873 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
875 * gdb.base/source-dir.exp: Avoid having directory names in test
878 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
880 * gdb.base/source-dir.exp: Add extra test for mapped compilation
883 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
885 * gdb.base/list-missing-source.exp: New file.
887 2019-09-14 Tom de Vries <tdevries@suse.de>
890 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
891 * lib/ada.exp (gnatmake_version_at_least): New proc.
893 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
895 * gdb.base/maint.exp: Use exec_has_index_section.
897 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
899 * gdb.base/maint.exp: Add test for 'maint info sections'.
901 2019-09-12 Tom de Vries <tdevries@suse.de>
903 * gdb.base/store.exp: Allow register variables to be optimized out at
906 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
908 * gdb.ada/rdv_wait.exp: Update to new task names.
909 * gdb.base/task_switch_in_core.exp: Likewise.
910 * gdb.base/info_sources_base.c: Likewise.
912 2019-09-10 Tom Tromey <tromey@adacore.com>
914 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
916 2019-09-10 Tom Tromey <tromey@adacore.com>
918 * gdb.ada/dgopt.exp: New file.
919 * gdb.ada/dgopt/x.adb: New file.
921 2019-09-08 Tom Tromey <tom@tromey.com>
923 * gdb.tui/resize.exp: Remove setup_xfail.
924 * gdb.tui/regs.exp: Remove setup_xfail.
925 * gdb.tui/basic.exp: Remove setup_xfail.
927 2019-09-06 David Blaikie <dblaikie@gmail.com>
929 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
930 * gdb.cp/cplabel.exp: Ditto.
931 * gdb.linespec/ls-errs.exp: Ditto.
933 2019-09-05 Tom de Vries <tdevries@suse.de>
935 * lib/gdb.exp (cmp_file_string): New proc.
936 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
937 runto_main. Verify save breakpoints output.
939 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
941 * gdb.base/info-var.exp: Test info variables without running
942 to main, to avoid expect's buffer overflow.
944 2019-09-03 Tom Tromey <tromey@adacore.com>
946 * gdb.ada/bias.exp: New file.
947 * gdb.ada/bias/bias.adb: New file.
948 * gdb.ada/print_chars.exp: Add regression test.
949 * gdb.ada/print_chars/foo.adb (My_Character): New type.
952 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
954 * gdb.base/argv0-symlink.exp: Run only on native target
957 2019-08-29 Tom de Vries <tdevries@suse.de>
959 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
961 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
963 2019-08-28 Tom de Vries <tdevries@suse.de>
965 * gdb.base/info-var.exp: Allow info variables to print info for files
966 other than info-var-f1.c and info-var-f2.c.
968 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
970 * gdb.fortran/info-types.exp: Add module.
971 * gdb.fortran/info-types.f90: Update expected results.
973 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
975 * gdb.fortran/info-types.exp: New file.
976 * gdb.fortran/info-types.f90: New file.
977 * lib/fortran.exp (fortran_character1): New proc.
979 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
981 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
982 functions'. Reindent as needed.
983 * gdb.base/info-var-f1.c: New file.
984 * gdb.base/info-var-f2.c: New file.
985 * gdb.base/info-var.exp: New file.
986 * gdb.base/info-var.h: New file.
988 2019-08-26 Tom de Vries <tdevries@suse.de>
991 * gdb.cp/no-libstdcxx-probe.exp: New test.
993 2019-08-26 Tom de Vries <tdevries@suse.de>
995 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
996 * tests need to be skipped.
997 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
998 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
999 mi_skip_libstdcxx_probe_tests.
1001 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1003 * gdb.python/py-xmethods.exp: Use raw strings when passing
1004 arguments to SimpleXMethodMatcher.
1006 2019-08-22 Tom de Vries <tdevries@suse.de>
1008 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1011 2019-08-21 Pedro Alves <palves@redhat.com>
1013 * gdb.base/with.exp: Test "with" with no arguments.
1015 2019-08-21 Tom de Vries <tdevries@suse.de>
1017 * gdb.base/gdb-caching-proc.exp: Sort files.
1019 2019-08-20 Tom de Vries <tdevries@suse.de>
1021 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1024 2019-08-16 Tom de Vries <tdevries@suse.de>
1026 * gdb.base/compare-sections.exp ("after run to main"): Allow
1027 mismatched read-only sections for PIE executables.
1029 2019-08-16 Tom Tromey <tom@tromey.com>
1031 * lib/tuiterm.exp (_csi_Z): New proc.
1032 * gdb.tui/basic.exp: Update window positions.
1033 * gdb.tui/empty.exp: Update window positions.
1035 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1037 * gdb.base/examine-backward.exp: Correct regexp for
1038 "examine 3 bytes backward from ${address_zero}".
1040 2019-08-15 Tom Tromey <tom@tromey.com>
1042 * gdb.tui/empty.exp: Enable resizing tests.
1044 2019-08-15 Tom Tromey <tromey@adacore.com>
1046 * gdb.ada/char_enum.exp: Add regression tests.
1047 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1049 (Char, Gchar): Update.
1050 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1052 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1054 * gdb.python/python.exp: Expect a leading underscore on
1055 GdbOutput{,Error}File.
1057 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1059 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1062 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1064 * gdb.base/batch-preserve-term-settings.exp
1065 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1067 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1069 * lib/gdb.exp: When running on a mingw target, replace
1072 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1074 * gdb.arch/aarch64-prologue.c: New test.
1075 * gdb.arch/aarch64-prologue.exp: New file.
1077 2019-08-13 Tom de Vries <tdevries@suse.de>
1079 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1082 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1084 * gdb.python/py-completion.exp: Download the .py file to the host
1085 and use its host pathname. Conditionalize tests that use
1086 tab completion and manipulate files on the build machine.
1087 * gdb.python/py-events.exp: Download the .py file to the host
1088 and use its host pathname.
1089 * gdb.python/py-evsignal.exp: Likewise.
1090 * gdb.python/py-evthreads.exp: Likewise.
1091 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1093 * gdb.python/py-framefilter.exp: Download the .py file to the right
1094 place on the host. Match Windows pathname syntax.
1095 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1096 .py file to the host and use its host pathname.
1097 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1098 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1099 build pathname. Skip symlink test on Windows host. Add missing
1100 newline at end of file.
1101 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1102 and use its host pathname.
1103 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1104 * gdb.python/py-section-script.exp: Use host location of binfile
1105 on safe-path. Use correct path separator on Windows host.
1106 Reorder alternatives in gdb_test_multiple to prevent matching
1107 the wrong alternative on success.
1108 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1110 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1112 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1113 expect the GDB inferior to no longer immediately stop after
1114 being resumed with "signal SIGINT".
1116 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1118 * gdb.linespec/break-ask.exp: Generalize regexps to match
1119 Windows pathnames too.
1121 2019-08-08 Tom de Vries <tdevries@suse.de>
1124 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1126 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1128 * gdb.base/style.exp: Update tests for help doc new invariants.
1129 * gdb.base/help.exp: Likewise.
1131 2019-08-06 Tom Tromey <tom@tromey.com>
1133 * gdb.base/style.exp: Add disassemble test.
1134 * gdb.base/style.c (some_called_function): New function.
1137 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1139 * gdb.python/py-block.exp: Test dictionary access on blocks.
1141 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1144 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1145 -list-thread-groups --available test when running under
1148 2019-08-05 Tom de Vries <tdevries@suse.de>
1151 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1152 * gdb.base/help.exp: Use with_read1_timeout_factor.
1153 * gdb.base/info-macros.exp: Same.
1154 * gdb.cp/nested-types.exp: Same.
1156 2019-08-05 Tom de Vries <tdevries@suse.de>
1158 * lib/gdb.exp (version_at_least): Factor out of ...
1159 (tcl_version_at_least): ... here.
1160 (gdb_compile): Fail if pie results in non-PIE executable.
1161 (readelf_version, readelf_prints_pie): New proc.
1162 (exec_is_pie): Return -1 if unknown.
1164 2019-08-05 Tom de Vries <tdevries@suse.de>
1166 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1168 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1170 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1172 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1174 * lib/completion-support.exp (test_gdb_complete_none): Skip
1175 tab completion tests if no readline support.
1176 (test_gdb_complete_unique_re): Likewise.
1177 (test_gdb_complete_multiple): Likewise.
1179 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1181 * gdb.base/info_sources.exp: New file.
1182 * gdb.base/info_sources.c: New file.
1183 * gdb.base/info_sources_base.c: New file.
1185 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1187 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1189 (test_exit_status): Add prefix argument.
1191 2019-08-01 Tom de Vries <tdevries@suse.de>
1194 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1195 calling exp_continue for new thread and thread exited messages.
1197 2019-08-01 Tom de Vries <tdevries@suse.de>
1200 * gdb.base/structs.exp: Fix check-read1 timeout using
1202 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1204 2019-08-01 Tom de Vries <tdevries@suse.de>
1207 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1210 2019-08-01 Tom de Vries <tdevries@suse.de>
1213 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1215 2019-07-30 Tom Tromey <tromey@adacore.com>
1217 * gdb.ada/display_nested.exp: New file.
1218 * gdb.ada/display_nested/foo.adb: New file.
1219 * gdb.ada/display_nested/pack.adb: New file.
1220 * gdb.ada/display_nested/pack.ads: New file.
1222 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1224 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1226 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1228 2019-07-30 Tom de Vries <tdevries@suse.de>
1230 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1233 2019-07-30 Tom de Vries <tdevries@suse.de>
1236 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1237 (exec_is_pie): New proc.
1239 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1241 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1243 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1245 * gdb.python/py-objfile.c: Add global and static vars.
1246 * gdb.python/py-objfile.exp: Test new functions Objfile.
1247 lookup_global_symbol and lookup_static_symbol.
1249 2019-07-29 Tom Tromey <tom@tromey.com>
1251 * lib/tuiterm.exp (Term::_csi_@): New proc.
1252 (Term::_csi_X): Don't move cursor.
1254 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1256 * gdb.base/options.exp: Update backtrace - completion to
1257 new option -frame-info.
1258 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1259 Test new 'set print frame-info'. Test backtrace -frame-info
1260 overriding 'set print frame-info'.
1261 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1262 Test new 'set print frame-info'.
1263 Verify consistency of backtrace with and without filters, with and
1264 without -no-filters.
1265 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1268 2019-07-29 Tom de Vries <tdevries@suse.de>
1270 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1273 2019-07-29 Tom de Vries <tdevries@suse.de>
1275 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1276 is a substring of the first for "complete non-unique file name".
1278 2019-07-29 Tom de Vries <tdevries@suse.de>
1280 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1283 2019-07-29 Tom de Vries <tdevries@suse.de>
1285 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1286 Pass prompt_regexp parameter to gdb_test_multiple calls.
1288 2019-07-29 Tom de Vries <tdevries@suse.de>
1290 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1291 print registers" regexps.
1293 2019-07-29 Tom de Vries <tdevries@suse.de>
1295 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1297 2019-07-29 Tom de Vries <tdevries@suse.de>
1300 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1301 (skip_python_tests_prompt): Add prompt_regexp argument to
1302 gdb_test_multiple calls.
1304 2019-07-27 Tom Tromey <tom@tromey.com>
1306 * gdb.tui/main.exp: New file.
1308 2019-07-27 Tom Tromey <tom@tromey.com>
1310 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1312 * gdb.tui/empty.exp: New file.
1314 2019-07-27 Tom Tromey <tom@tromey.com>
1316 * lib/tuiterm.exp (spawn): New proc.
1317 (Term::resize): New proc.
1318 * gdb.tui/resize.exp: New file.
1320 2019-07-27 Tom Tromey <tom@tromey.com>
1322 * gdb.tui/list.exp: New file.
1324 2019-07-27 Tom Tromey <tom@tromey.com>
1326 * gdb.tui/regs.exp: New file.
1328 2019-07-27 Tom Tromey <tom@tromey.com>
1330 * gdb.tui/basic.exp: Add "layout split" test.
1332 2019-07-27 Tom Tromey <tom@tromey.com>
1334 * gdb.tui/basic.exp: Add "layout asm" test.
1336 2019-07-27 Tom Tromey <tom@tromey.com>
1338 * lib/tuiterm.exp: New file.
1339 * gdb.tui/basic.exp: New file.
1341 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1343 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1344 Enable tests associated with this flag. Adjust regex
1345 referencing "foo_low" to now refer to "foo_cold" instead.
1347 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1349 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1350 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1351 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1352 foo_cold. Revise comments to match.
1353 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1354 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1355 were wrapped into this proc; Call do_test in loop from outermost
1357 (foo_low): Rename all occurrences to "foo_cold".
1358 (backtrace from baz): New test.
1359 (x2/i foo_cold): New test.
1360 (info line *foo_cold): New test.
1362 2019-07-26 Tom de Vries <tdevries@suse.de>
1364 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1366 2019-07-25 Tom de Vries <tdevries@suse.de>
1369 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1370 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1371 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1372 (skip_libstdcxx_probe_tests): ... here.
1373 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1375 2019-07-24 Tom de Vries <tdevries@suse.de>
1378 * gdb.objc/basicclass.m: Include stdio.h.
1379 * gdb.objc/nondebug.m: Same.
1380 * gdb.objc/objcdecode.m: Same.
1382 2019-07-24 Tom de Vries <tdevries@suse.de>
1385 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1388 2019-07-24 Tom de Vries <tdevries@suse.de>
1391 * gdb.multi/tids.exp: Update error messages for info threads.
1393 2019-07-24 Tom de Vries <tdevries@suse.de>
1395 * gdb.base/info-types.exp: Allow info types to print info for more than
1398 2019-07-23 Tom de Vries <tdevries@suse.de>
1401 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1402 gdb_spawn_with_cmdline_opts.
1404 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1406 * gdb.arch/arm-cmse-sgstubs.c: New test.
1407 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1409 2019-07-23 Tom de Vries <tdevries@suse.de>
1412 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1413 issuing next command.
1415 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1417 * gdb.ada/info_auto_lang.exp: Update expected results.
1418 * gdb.base/info-types.c: Add additional types to check.
1419 * gdb.base/info-types.exp: Update expected results.
1421 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1423 * gdb.base/info-types.c: New file.
1424 * gdb.base/info-types.exp: New file.
1426 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1428 * gdb.arch/riscv-bp-infcall.c: New file.
1429 * gdb.arch/riscv-bp-infcall.exp: New file.
1431 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1433 PR breakpoints/24541
1434 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1436 2019-07-14 Tom de Vries <tdevries@suse.de>
1439 * gdb.objc/basicclass.exp: Fix unterminated string.
1441 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1442 Andrew Burgess <andrew.burgess@embecosm.com>
1444 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1445 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1447 * gdb.fortran/vla-value.exp: Print elements of an array with
1449 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1452 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1454 * gdb.base/options.exp (expect_string): Dequote strings in
1456 (test-string): Test strings with different quoting and reindent.
1458 2019-07-10 Tom Tromey <tromey@adacore.com>
1460 * gdb.ada/mi_ex_cond.exp: Update expected results.
1461 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1462 * gdb.ada/mi_catch_ex.exp: Update expected results.
1463 * gdb.ada/mi_catch_assert.exp: Update expected results.
1464 * gdb.ada/catch_ex.exp (catch_exception_info)
1465 (catch_exception_entry, catch_assert_entry)
1466 (catch_unhandled_entry): Update.
1467 * gdb.ada/catch_assert_if.exp: Update expected results.
1469 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1470 Stephen Roberts <stephen.roberts@arm.com>
1472 * gdb.base/define.exp: Restore original prompt.
1474 2019-07-09 Pedro Alves <palves@redhat.com>
1476 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1477 breakpoints" output.
1478 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1479 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1480 throw" creates breakpoint.
1481 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1482 'type="catchpoint"'.
1484 2019-07-09 Pedro Alves <palves@redhat.com>
1487 * gdb.cp/except-multi-location-lib.cc: New.
1488 * gdb.cp/except-multi-location-main.cc: New.
1489 * gdb.cp/except-multi-location.exp: New.
1491 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1493 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1494 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1495 argument and update callers.
1497 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1499 * gdb.arch/amd64-break-on-asm-line.S: New file.
1500 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1502 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1504 * gdb.base/printcmds.exp: Test printing C string and
1505 C wide string convenience vars without transiting via the inferior.
1506 Also make test names unique.
1508 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1510 PR breakpoints/25011
1511 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1513 2019-07-04 Pedro Alves <palves@redhat.com>
1515 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1516 body returned ok(0), break(3) or continue(4).
1517 * gdb.testsuite/foreach_with_prefix.exp: New file.
1519 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1521 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1523 2019-07-03 Pedro Alves <palves@redhat.com>
1525 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1528 2019-07-03 Pedro Alves <palves@redhat.com>
1531 * gdb.base/shell.exp: Load completion-support.exp.
1532 Adjust expected error output. Add completion tests.
1534 2019-07-03 Pedro Alves <palves@redhat.com>
1536 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1539 2019-07-03 Pedro Alves <palves@redhat.com>
1541 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1542 (expect_integer): Adjust to expect "-string".
1543 (expect_string): New.
1544 (all_options): Expect "-string".
1545 (test-flag, test-boolean): Adjust to expect "-string".
1546 (test-string): New proc.
1547 (top level): Call it.
1549 2019-07-03 Pedro Alves <palves@redhat.com>
1551 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1552 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1553 the expected output in the success.
1555 2019-07-03 Pedro Alves <palves@redhat.com>
1557 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1558 Split one gdb_test_multiple call in two to avoid a race.
1560 2019-07-03 Pedro Alves <palves@redhat.com>
1562 * gdb.base/with.c: New file.
1563 * gdb.base/with.exp: New file.
1565 2019-07-03 Pedro Alves <palves@redhat.com>
1567 * gdb.base/settings.exp: Replace all references to "maint
1568 test-settings set" with references to "maint set test-settings",
1569 and all references to "maint test-settings show" with references
1570 to "maint show test-settings".
1572 2019-07-03 Pedro Alves <palves@redhat.com>
1574 * gdb.base/settings.exp (test-string): Adjust expected out when
1575 testing "maint test-settings show filename"
1577 2019-07-02 Pedro Alves <palves@redhat.com>
1579 * gdb.base/options.exp (test-info-threads): New procedure.
1580 (top level): Call it.
1582 2019-06-28 Tom Tromey <tromey@adacore.com>
1584 * gdb.dwarf2/ada-linkage-name.c: New file.
1585 * gdb.dwarf2/ada-linkage-name.exp: New file.
1587 2019-06-27 Tom Tromey <tromey@adacore.com>
1590 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1592 2019-06-26 Tom de Vries <tdevries@suse.de>
1594 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1596 2019-06-26 Tom de Vries <tdevries@suse.de>
1598 * gdb.base/index-cache.exp: Add back missing debug option.
1600 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1602 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1604 2019-06-25 Tom de Vries <tdevries@suse.de>
1607 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1609 2019-06-24 Tom de Vries <tdevries@suse.de>
1611 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1613 2019-06-24 Tom de Vries <tdevries@suse.de>
1615 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1616 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1617 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1619 2019-06-24 Tom de Vries <tdevries@suse.de>
1621 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1623 2019-06-21 Tom de Vries <tdevries@suse.de>
1625 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1627 2019-06-21 Tom de Vries <tdevries@suse.de>
1631 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1634 2019-06-19 Tom Tromey <tromey@adacore.com>
1636 * gdb.ada/length_cond.exp: Add intro comment.
1638 2019-06-19 Tom Tromey <tromey@adacore.com>
1640 * gdb.ada/length_cond.exp: New file.
1641 * gdb.ada/length_cond/length_cond.adb: New file.
1642 * gdb.ada/length_cond/pck.adb: New file.
1643 * gdb.ada/length_cond/pck.ads: New file.
1645 2019-06-18 Tom de Vries <tdevries@suse.de>
1647 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1649 2019-06-18 Tom Tromey <tromey@adacore.com>
1651 * gdb.base/list0.h: Add comment explaining control character.
1653 2019-06-18 Tom de Vries <tdevries@suse.de>
1655 * boards/fission.exp: Break up long debug_flags line.
1657 2019-06-16 Tom de Vries <tdevries@suse.de>
1660 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1663 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1666 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1667 improve detection of bug gdb/24541.
1669 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1672 * gdb.base/index-cache.exp (uses_readnow,
1673 expecting_index_cache_use): Define global variable.
1674 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1675 expecting_index_cache_use.
1677 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1678 Andrew Burgess <andrew.burgess@embecosm.com>
1680 * gdb.fortran/pointers.f90: New file.
1681 * gdb.fortran/print_type.exp: New file.
1682 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1683 * gdb.fortran/vla-type.exp: Likewise.
1684 * gdb.fortran/vla-value.exp: Likewise.
1685 * gdb.mi/mi-vla-fortran.exp: Likewise.
1687 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1689 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1690 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1691 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1694 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1696 * gdb.base/annota1.exp: Update expected results.
1697 * gdb.cp/annota2.exp: Likewise.
1698 * gdb.cp/annota3.exp: Likewise.
1700 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1702 * gdb.base/style-logging.exp: Remove path from test name.
1704 2019-06-14 Tom Tromey <tromey@adacore.com>
1707 * gdb.base/style-logging.exp: New file.
1709 2019-06-14 Tom Tromey <tromey@adacore.com>
1711 * gdb.base/symfile-warn.exp: New file.
1712 * gdb.base/symfile-warn.c: New file.
1714 2019-06-14 Tom Tromey <tromey@adacore.com>
1716 * gdb.base/annotate-symlink.exp: New file.
1718 2019-06-14 Tom Tromey <tromey@adacore.com>
1720 * gdb.ada/set_wstr.exp: Add reassignment test.
1722 2019-06-14 Tom Tromey <tromey@adacore.com>
1724 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1725 'unchecked_access and 'unrestricted_access as well.
1727 2019-06-14 Tom Tromey <tromey@adacore.com>
1730 * gdb.ada/vla.exp: Update tests.
1731 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1734 2019-06-13 Pedro Alves <palves@redhat.com>
1736 * gdb.base/settings.exp (test-integer): Test junk after
1739 2019-06-13 Pedro Alves <palves@redhat.com>
1741 * gdb.base/options.exp (test-thread-apply): New.
1742 (top level): Call it.
1744 2019-06-13 Pedro Alves <palves@redhat.com>
1746 * gdb.base/options.exp (test-frame-apply): New.
1747 (top level): Test print commands with different "frame apply"
1750 2019-06-13 Pedro Alves <palves@redhat.com>
1752 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1753 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1754 'max_completions' parameter and handle it.
1755 (test_gdb_completion_offers_commands): New.
1757 2019-06-13 Pedro Alves <palves@redhat.com>
1759 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1761 2019-06-13 Pedro Alves <palves@redhat.com>
1763 * gdb.base/options.exp (test-backtrace): New.
1764 (top level): Call it.
1766 2019-06-13 Pedro Alves <palves@redhat.com>
1768 * gdb.guile/scm-frame-args.exp: Use "set print
1769 raw-frame-arguments" instead of "set print raw frame-arguments".
1770 * gdb.python/py-frame-args.exp: Likewise.
1772 2019-06-13 Pedro Alves <palves@redhat.com>
1774 * gdb.compile/compile.exp: Adjust expected output to option
1777 2019-06-13 Pedro Alves <palves@redhat.com>
1779 * gdb.base/options.exp: Build executable.
1780 (test-print): New procedure.
1781 (top level): Call it, once for "print" and another for "compile
1784 2019-06-13 Pedro Alves <palves@redhat.com>
1786 * gdb.base/options.c: New file.
1787 * gdb.base/options.exp: New file.
1789 2019-06-13 Pedro Alves <palves@redhat.com>
1791 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1792 that "o" is ambiguous.
1794 2019-06-13 Pedro Alves <palves@redhat.com>
1796 * gdb.base/settings.c: New file.
1797 * gdb.base/settings.exp: New file.
1799 2019-06-13 Pedro Alves <palves@redhat.com>
1801 * gdb.base/completion.exp: Fix comment typo.
1803 2019-06-13 Pedro Alves <palves@redhat.com>
1805 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1808 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1810 * gdb.fortran/block-data.f: New.
1811 * gdb.fortran/block-data.exp: New.
1813 2019-06-11 Tom de Vries <tdevries@suse.de>
1816 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1819 2019-06-11 Tom de Vries <tdevries@suse.de>
1822 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1824 2019-06-11 Tom de Vries <tdevries@suse.de>
1826 * boards/readnow.exp: New file.
1828 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1830 * gdb.fortran/vla-sizeof.exp: Update expected results.
1832 2019-06-06 Amos Bird <amosbird@gmail.com>
1834 * gdb.base/annota1.exp (thread_switch): Add test for
1835 thread-exited annotation.
1837 2019-06-06 Tom Tromey <tromey@adacore.com>
1839 * gdb.base/maint.exp: Expect command started/finished output.
1841 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1843 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1845 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1847 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1849 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1850 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1851 * gdb.arch/riscv-unwind-long-insn.c: New file.
1852 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1854 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1856 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1858 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1860 * lib/gdb.exp (help_list_trailer): New regexp variable
1861 factorizing the help trailer message.
1862 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1863 arg to allow to better factorize various tests.
1864 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1865 (test_prefix_command_help): Use help_list_trailer.
1866 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1867 * gdb.guile/scm-cmd.exp: Likewise.
1868 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1869 * gdb.base/help.exp: Use test_user_defined_class_help.
1870 * gdb.base/style.exp: Add tests for styling of help and apropos.
1871 * lib/gdb-utils.exp (style): Add title and highlight styles.
1873 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1875 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1877 * gdb.base/default.exp: Update for new convenience variables.
1879 2019-05-29 Tom Tromey <tromey@adacore.com>
1881 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1882 to "break complete ada" test case's regexp.
1884 2019-05-29 Tom Tromey <tromey@adacore.com>
1887 * gdb.cp/constexpr-field.exp: New file.
1888 * gdb.cp/constexpr-field.cc: New file.
1890 2019-05-29 Tom Tromey <tromey@adacore.com>
1892 * gdb.base/finish.exp (finish_no_print): New proc.
1893 (finish_tests): Call it.
1895 2019-05-24 Tom de Vries <tdevries@suse.de>
1897 * gdb.dwarf2/gdb-add-index.exp: New file.
1899 2019-05-22 Tom Tromey <tromey@adacore.com>
1901 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1902 * gdb.base/style.exp: Use "style".
1903 * lib/gdb-utils.exp (style): New proc.
1905 2019-05-22 Tom de Vries <tdevries@suse.de>
1907 * gdb.base/align.exp: Require c++11.
1909 2019-05-22 Tom de Vries <tdevries@suse.de>
1912 * gdb.python/py-mi-var-info-path-expression.exp: Call
1913 mi_skip_python_tests to check if python is supported.
1915 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1917 * gdb.arch/aarch64-pauth.c: New test.
1918 * gdb.arch/aarch64-pauth.exp: New file.
1920 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1922 * README (Re-running Tests Outside The Testsuite): New section.
1924 2019-05-21 Tom de Vries <tdevries@suse.de>
1926 * gdb.arch/amd64-eval.exp: Require c++11.
1927 * gdb.base/max-depth.exp: Same.
1928 * gdb.compile/compile-cplus-array-decay.exp: Same.
1929 * gdb.cp/meth-typedefs.exp: Same.
1930 * gdb.cp/subtypes.exp: Same.
1931 * gdb.cp/temargs.exp: Same.
1933 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1935 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1937 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1940 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1941 * gdb.fortran/printing-types.exp: Add new test.
1942 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1944 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1947 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1949 * README (Running the Testsuite): Change example.
1950 (Testsuite Parameters): Remove TRANSCRIPT.
1951 * lib/gdb.exp: Remove TRANSCRIPT check.
1953 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1955 * README (Testsuite Parameters): Add replay logging to
1957 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1958 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1959 as a comma separated list.
1960 (gdb_debug_init): Override procedure.
1962 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1964 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1965 (gdb_write_cmd_file): New procedure.
1966 * lib/gdbserver-support.exp (gdbserver_start): Call
1967 gdbserver_write_cmd_file.
1968 (gdbserver_write_cmd_file): New procedure.
1970 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1972 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1973 (delete_breakpoints): Likewise.
1974 (gdb_run_cmd): Likewise.
1975 (gdb_start_cmd): Likewise.
1976 (gdb_starti_cmd): Likewise.
1977 (gdb_internal_error_resync): Likewise.
1978 (gdb_test_multiple): Likewise.
1979 (gdb_reinitialize_dir): Likewise.
1980 (default_gdb_exit): Likewise.
1981 (gdb_file_cmd): Mark kill as optional.
1982 (default_gdb_start): Call gdb_stdin_log_init.
1983 (send_gdb): Call gdb_stdin_log_write.
1984 (rerun_to_main): Mark Y as an answer.
1985 (gdb_stdin_log_init): New function.
1986 (gdb_stdin_log_write): Likewise.
1988 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1990 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1991 * gdb.base/debug-expr.exp: Likewise.
1992 * gdb.base/foll-fork.exp: Likewise.
1993 * gdb.base/foll-vfork.exp: Likewise.
1994 * gdb.base/fork-print-inferior-events.exp: Likewise.
1995 * gdb.base/gdb-sigterm.exp: Likewise.
1996 * gdb.base/gdbinit-history.exp: Likewise.
1997 * gdb.base/osabi.exp: Likewise.
1998 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1999 * gdb.base/ui-redirect.exp: Likewise.
2000 * gdb.gdb/unittest.exp: Likewise.
2001 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2002 * gdb.mi/mi-watch.exp: Likewise.
2003 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2004 * gdb.mi/user-selected-context-sync.exp: Likewise.
2005 * gdb.python/python.exp: Disable debug test when debugging.
2006 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2007 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2009 * gdb.threads/stepi-random-signal.exp: Likewise.
2011 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2013 * Makefile.in: Pass through GDB_DEBUG.
2014 * README (Testsuite Parameters): Add GDB_DEBUG.
2015 (gdb,debug): Add board setting.
2016 * lib/gdb.exp (default_gdb_start): Start debugging.
2017 (gdb_debug_enabled): New procedure.
2018 (gdb_debug_init): Likewise.
2020 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2022 * Makefile.in: Pass through GDB_DEBUG.
2023 * README (Testsuite Parameters): Add GDB_DEBUG.
2024 (gdb,debug): Add board setting.
2025 * lib/gdb.exp (default_gdb_start): Start debugging.
2026 (gdb_debug_enabled): New procedure.
2027 (gdb_debug_init): Likewise.
2029 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2031 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2033 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2035 * gdb.base/ui-redirect.exp: Test redirection.
2037 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2039 * gdb.mi/mi-complete.exp: New file.
2040 * gdb.mi/mi-complete.cc: Likewise.
2042 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2044 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2045 indexed and sliced arrays, and pointers to arrays.
2047 2019-05-14 Tom Tromey <tromey@adacore.com>
2049 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2052 2019-05-14 Tom de Vries <tdevries@suse.de>
2054 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2055 selection entry encoding.
2057 2019-05-10 Tom Tromey <tromey@adacore.com>
2059 * gdb.ada/info_exc.exp: Add "complete" test.
2061 2019-05-09 Tom de Vries <tdevries@suse.de>
2063 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2066 2019-05-09 Tom de Vries <tdevries@suse.de>
2068 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2071 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2073 * gdb.ada/frame_arg_lang.exp: New testcase.
2074 * gdb.ada/frame_arg_lang/bla.adb: New file.
2075 * gdb.ada/frame_arg_lang/pck.ads: New file.
2076 * gdb.ada/frame_arg_lang/pck.adb: New file.
2077 * gdb.ada/frame_arg_lang/foo.c: New file.
2079 2019-05-08 Tom Tromey <tromey@adacore.com>
2081 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2083 2019-05-08 Tom Tromey <tromey@adacore.com>
2085 * gdb.base/ptype-offsets.exp: Update tests.
2087 2019-05-08 Tom Tromey <tromey@adacore.com>
2089 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2091 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2094 2019-05-08 Tom Tromey <tromey@adacore.com>
2096 * gdb.ada/vla.exp: New file.
2097 * gdb.ada/vla/vla.adb: New file.
2099 2019-05-07 Tom de Vries <tdevries@suse.de>
2101 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2103 2019-05-07 Tom de Vries <tdevries@suse.de>
2106 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2109 2019-05-07 Tom de Vries <tdevries@suse.de>
2112 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2113 .debug_aranges section.
2115 2019-05-07 Tom de Vries <tdevries@suse.de>
2118 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2120 2019-05-06 Tom de Vries <tdevries@suse.de>
2122 * lib/gdb.exp (exec_has_index_section): New proc.
2123 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2126 2019-05-04 Tom de Vries <tdevries@suse.de>
2128 * boards/cc-with-debug-names.exp: New file.
2130 2019-05-03 Tom Tromey <tromey@adacore.com>
2132 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2133 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2134 * gdb.ada/char_enum.exp: Add test.
2136 2019-05-03 Tom de Vries <tdevries@suse.de>
2138 * boards/cc-with-gdb-index.exp: New file.
2140 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2142 * gdb.rust/simple.exp: Add new test case.
2143 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2144 (main): Initialise an instance of the new struct.
2146 2019-05-01 Tom Tromey <tromey@adacore.com>
2148 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2150 (NPR): New variable.
2151 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2154 2019-05-01 Tom Tromey <tromey@adacore.com>
2156 * gdb.ada/packed_array_assign.exp: Add packed assignment
2159 2019-05-01 Tom de Vries <tdevries@suse.de>
2161 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2163 2019-05-01 Tom de Vries <tdevries@suse.de>
2165 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2167 2019-04-30 Ali Tamur <tamur@google.com>
2169 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2171 2019-04-30 Tom Tromey <tromey@adacore.com>
2173 * lib/ada.exp (find_ada_tool): New proc.
2174 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2175 * gdb.ada/catch_ex_std.exp: New file.
2176 * gdb.ada/catch_ex_std/foo.adb: New file.
2177 * gdb.ada/catch_ex_std/some_package.adb: New file.
2178 * gdb.ada/catch_ex_std/some_package.ads: New file.
2180 2019-04-30 Tom Tromey <tromey@adacore.com>
2183 * gdb.cp/temargs.cc: Add test code from PR.
2185 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2187 * gdb.fortran/vla-datatypes.exp: Update expected results.
2188 * gdb.fortran/vla-ptype.exp: Likewise.
2189 * gdb.fortran/vla-type.exp: Likewise.
2190 * gdb.fortran/vla-value.exp: Likewise.
2192 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2194 * gdb.fortran/ptr-indentation.exp: Update expected results.
2195 * gdb.fortran/ptype-on-functions.exp: Likewise.
2196 * gdb.fortran/vla-ptr-info.exp: Likewise.
2197 * gdb.fortran/vla-value.exp: Likewise.
2199 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2201 * gdb.fortran/ptype-on-functions.exp: New file.
2202 * gdb.fortran/ptype-on-functions.f90: New file.
2204 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2206 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2209 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2211 * gdb.fortran/complex.exp: Expand.
2212 * gdb.fortran/complex.f: Renamed to...
2213 * gdb.fortran/complex.f90: ...this, and extended to add more
2216 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2218 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2221 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2222 Richard Bunt <richard.bunt@arm.com>
2224 * gdb.base/max-depth.c: New file.
2225 * gdb.base/max-depth.exp: New file.
2226 * gdb.python/py-nested-maps.c: New file.
2227 * gdb.python/py-nested-maps.exp: New file.
2228 * gdb.python/py-nested-maps.py: New file.
2229 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2230 (test_all_common): Call test_max_depth.
2231 * gdb.fortran/max-depth.exp: New file.
2232 * gdb.fortran/max-depth.f90: New file.
2233 * gdb.go/max-depth.exp: New file.
2234 * gdb.go/max-depth.go: New file.
2235 * gdb.modula2/max-depth.exp: New file.
2236 * gdb.modula2/max-depth.c: New file.
2237 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2239 2019-04-29 Tom de Vries <tdevries@suse.de>
2241 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2243 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2245 * gdb.base/callexit.exp: Test may-call-functions off.
2247 2019-04-25 Keith Seitz <keiths@redhat.com>
2250 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2251 (another_incomplete_struct, test_incomplete): New definitions.
2252 (main): Use new definitions.
2253 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2256 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2260 * gdb.base/coredump-filter-build-id.exp: New file.
2262 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2264 * Makefile.in: Pass through GDBSERVER_DEBUG.
2265 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2266 (gdbserver,debug): Add board setting.
2267 * gdb.trace/tspeed.exp: Skip when debugging.
2268 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2269 * lib/gdbserver-support.exp: Likewise
2271 2019-04-24 Tom Tromey <tromey@adacore.com>
2273 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2276 2019-04-24 Tom Tromey <tromey@adacore.com>
2278 * gdb.arch/amd64-eval.exp: Test bitfield return.
2279 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2280 (class Foo) <return_bitfields>: New method.
2283 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2285 * gdb.cp/many-args.cc: New file.
2286 * gdb.cp/many-args.exp: New file.
2288 2019-04-23 Tom de Vries <tdevries@suse.de>
2291 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2293 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2295 * gdb.trace/backtrace.exp: Use nopie flag.
2296 * gdb.trace/circ.exp: Likewise.
2297 * gdb.trace/collection.exp: Likewise.
2298 * gdb.trace/ftrace.exp: Likewise.
2299 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2300 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2301 * gdb.trace/qtro.exp: Likewise.
2302 * gdb.trace/read-memory.exp: Likewise.
2303 * gdb.trace/report.exp: Likewise.
2304 * gdb.trace/tfile.exp: Likewise.
2305 * gdb.trace/tfind.exp: Likewise.
2306 * gdb.trace/unavailable.exp: Likewise.
2308 2019-04-22 Pedro Alves <palves@redhat.com>
2310 * gdb.base/solib-probes-nosharedlibrary.c,
2311 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2313 2019-04-19 Tom Tromey <tromey@adacore.com>
2315 * gdb.ada/ptype_union.c: New file.
2316 * gdb.ada/ptype_union.exp: New file.
2318 2019-04-19 Tom Tromey <tromey@adacore.com>
2321 * gdb.base/list0.h (foo): Add a control-l character.
2323 2019-04-18 Tom de Vries <tdevries@suse.de>
2326 * boards/local-board.exp: Set sysroot to "".
2328 2019-04-18 Tom de Vries <tdevries@suse.de>
2329 Pedro Alves <palves@redhat.com>
2332 * gdb.threads/vfork-follow-child-exec.c: New file.
2333 * gdb.threads/vfork-follow-child-exec.exp: New file.
2334 * gdb.threads/vfork-follow-child-exit.c: New file.
2335 * gdb.threads/vfork-follow-child-exit.exp: New file.
2337 2019-04-15 Leszek Swirski <leszeks@google.com>
2339 * gdb.arch/amd64-eval.cc: New file.
2340 * gdb.arch/amd64-eval.exp: New file.
2342 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2344 * gdb.server/sysroot.c: New test.
2345 * gdb.server/sysroot.exp: New file.
2346 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2349 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2351 * gdb.base/align.exp: Extend test to cover structures containing
2354 2019-04-11 Tom de Vries <tdevries@suse.de>
2356 * boards/cc-with-dwz-m.exp: New file.
2357 * boards/cc-with-dwz.exp: New file.
2358 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2360 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2362 * gdb.base/start-cpp.exp: New file.
2363 * gdb.base/start-cpp.cc: New file.
2365 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2367 * gdb.python/py-thrhandle.exp: Adjust tests to call
2368 thread_from_handle instead of thread_from_thread_handle.
2370 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2372 * gdb.python/py-thrhandle.exp: Add tests for
2373 gdb.InferiorThread.handle.
2375 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2377 * gdb.python/py-function.exp: Check calling helper function from
2379 * lib/gdb.exp (gdb_supported_languages): New proc.
2381 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2383 * gdb.base/complex-parts.c: New file.
2384 * gdb.base/complex-parts.exp: New file.
2386 2019-04-01 Tom Tromey <tromey@adacore.com>
2389 * gdb.dwarf2/dw2-ranges-main.c: New file.
2390 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2391 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2393 2019-03-30 Simon Marchi <simark@simark.ca>
2395 * gdb.base/default.exp: Add values for $_gdb_major and
2398 2019-03-29 Tom Tromey <tromey@adacore.com>
2400 * gdb.base/help.exp: Tighten apropos regexp.
2402 2019-03-29 Keith Seitz <keiths@redhat.com>
2404 * gdb.fortran/array-bounds.exp: New file.
2405 * gdb.fortran/array-bounds.f90: New file.
2407 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2409 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2411 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2413 * gdb.multi/hello.c (main): Increase alarm timer.
2415 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2417 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2418 factor when no hardware watchpoint support.
2420 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2421 Pedro Alves <palves@redhat.com>
2423 * boards/local-board.exp: set sysroot to /.
2425 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2427 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2430 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2432 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2434 (make_container): Initialise new field.
2435 * gdb.python/py-prettyprint.exp: Add new tests.
2436 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2437 <display_hint>: New method.
2439 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2441 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2442 gdb_continue_to_breakpoint more throughout this test.
2443 (run_lang_tests) Supply unique test names, and use
2446 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2448 * gdb.base/finish-pretty.exp: Update expected results.
2449 * gdb.base/pretty-print.c: New file.
2450 * gdb.base/pretty-print.exp: New file.
2452 2019-03-25 Pedro Alves <palves@redhat.com>
2454 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2455 move comments outside list. Append '-i "" eof' section.
2457 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2460 * README: Add pie options.
2461 * gdb.base/break-interp.exp: Ensure pie is disabled.
2462 * gdb.base/dump.exp: Likewise.
2463 * lib/gdb.exp (gdb_compile): Add pie option.
2465 2019-03-19 Tom Tromey <tromey@adacore.com>
2467 * gdb.mi/mi2-cli-display.c: New file.
2468 * gdb.mi/mi2-cli-display.exp: New file.
2470 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2471 Tom Tromey <tromey@adacore.com>
2473 * gdb.ada/ptype_array/pck.adb: New file.
2474 * gdb.ada/ptype_array/pck.ads: New file.
2475 * gdb.ada/ptype_array/foo.adb: New file.
2476 * gdb.ada/ptype_array.exp: New file.
2478 2019-03-14 Tom Tromey <tromey@adacore.com>
2480 * gdb.base/style.exp: Add "set style sources" test.
2482 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2484 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2485 * mi-breakpoint-multiple-locations.exp: ... this.
2486 (make_breakpoints_pattern): New proc.
2487 (do_test): Add mi_version parameter, test -break-insert,
2488 -break-info and =breakpoint-created.
2490 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2492 * config/default.exp: Remove 'load_lib gdb.exp'.
2493 * config/monitor.exp: Likewise.
2494 * config/sid.exp: Likewise.
2495 * config/sim.exp: Likewise.
2496 * config/slite.exp: Likewise.
2497 * config/unix.exp: Likewise.
2498 * gdb.base/default.exp: Remove unhelpful comment.
2500 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2502 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2504 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2506 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2508 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2510 * gdb.fortran/type-kinds.exp: Update expected results.
2512 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2514 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2516 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2518 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2520 (test_basic_parsing_of_type_kinds): Expand types tested.
2521 (test_parsing_invalid_type_kinds): New function.
2523 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2525 * gdb.fortran/intrinsics.exp: New file.
2526 * gdb.fortran/intrinsics.f90: New file.
2527 * gdb.fortran/type-kinds.exp: New file.
2529 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2531 * gdb.fortran/dot-ops.exp: New file.
2533 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2535 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2536 Check upper and lower case logical literals.
2538 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2540 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2541 Remove duplicate tests.
2543 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2545 * lib/gdb.exp (builtin_cd): rename of cd.
2546 (cd): Override builtin.
2548 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2550 * gdb.fortran/function-calls.exp: New file.
2551 * gdb.fortran/function-calls.f90: New test.
2553 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2555 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2556 on user program standard output.
2557 * gdb.fortran/short-circuit-argument-list.f90: Record function
2560 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2562 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2565 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2568 * gdb.base/interrupt-daemon-attach.c,
2569 gdb.base/interrupt-daemon-attach.exp: New test.
2571 2019-02-27 Pedro Alves <palves@redhat.com>
2573 * gdb.base/page.exp: Add tests for "set width/height -1".
2575 2019-02-27 Pedro Alves <palves@redhat.com>
2577 * gdb.base/page.exp: Add tests for "set/show width/height" with
2580 2019-02-27 Tom Tromey <tromey@adacore.com>
2582 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2584 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2587 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2589 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2590 tests for structs with static members.
2592 2019-02-26 Tom Tromey <tromey@adacore.com>
2594 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2595 ValueError, not TypeError.
2597 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2599 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2600 call from main program.
2602 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2604 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2605 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2606 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2607 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2608 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2610 2019-02-22 Keith Seitz <keiths@redhat.com>
2613 * gdb.base/symlink-sourcefile.c: New file.
2614 * gdb.base/symlink-sourcefile.exp: New file.
2616 2019-02-20 Tom Tromey <tom@tromey.com>
2618 * gdb.base/info_qt.exp: Update.
2620 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2622 * gdb.base/source.exp: Move "error in sourced script" code to
2624 * gdb.base/source-error.gdb: Move contents to
2625 source-error-1.gdb. Add new code to source source-error-1.gdb.
2626 * gdb.base/source-error-1.gdb: New file, from previous
2629 2019-02-17 Tom Tromey <tom@tromey.com>
2631 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2633 * gdb.base/style.c (SOME_MACRO): New macro.
2635 2019-02-17 Tom Tromey <tom@tromey.com>
2637 * gdb.base/style.exp: Add line-wrapping tests.
2638 * gdb.base/page.exp: Add test for quitting during pagination.
2640 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2642 * gdb.ada/big_packed_array: New testcase.
2643 * gdb.ada/homonym.exp: Fix incorrect expected output for
2644 "break <homonym__get_value>" test.
2646 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2648 PR breakpoints/21870
2649 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2650 and prepare_for_testing. Add comment.
2651 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2652 redundant cleanup call. Clean up comment.
2654 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2656 PR breakpoints/21870
2657 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2658 * gdb.arch/aarch64-dbreg-contents.c: New file.
2660 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2662 * gdb.ada/mi_ref_changeable: New testcase.
2664 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2666 * gdb.base/attach.exp: Add double attach test.
2668 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2670 * lib/gdb.exp (default_gdb_start): Don't match pagination
2672 (gdb_init): Set stty_init.
2674 2019-01-27 Tom Tromey <tom@tromey.com>
2676 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2679 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2681 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2683 (struct struct_static_02_02): Likewise.
2684 (struct struct_static_02_03): Likewise.
2685 (struct struct_static_02_04): Likewise.
2686 (struct struct_static_04_01): Likewise.
2687 (struct struct_static_04_02): Likewise.
2688 (struct struct_static_04_03): Likewise.
2689 (struct struct_static_04_04): Likewise.
2690 (struct struct_static_06_01): Likewise.
2691 (struct struct_static_06_02): Likewise.
2692 (struct struct_static_06_03): Likewise.
2693 (struct struct_static_06_04): Likewise.
2694 (cmp_struct_static_02_01): Likewise.
2695 (cmp_struct_static_02_02): Likewise.
2696 (cmp_struct_static_02_03): Likewise.
2697 (cmp_struct_static_02_04): Likewise.
2698 (cmp_struct_static_04_01): Likewise.
2699 (cmp_struct_static_04_02): Likewise.
2700 (cmp_struct_static_04_03): Likewise.
2701 (cmp_struct_static_04_04): Likewise.
2702 (cmp_struct_static_06_01): Likewise.
2703 (cmp_struct_static_06_02): Likewise.
2704 (cmp_struct_static_06_03): Likewise.
2705 (cmp_struct_static_06_04): Likewise.
2706 (call_all): Test new structs.
2707 * gdb.base/infcall-nested-structs.exp: Likewise.
2709 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2710 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2712 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2713 * gdb.base/stack-protector.c: New test.
2714 * gdb.base/stack-protector.exp: New file.
2715 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2716 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2718 (gdb_compile): Remove stack protector for GCC and prevent
2721 2019-01-16 Keith Seitz <keiths@redhat.com>
2724 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2726 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2728 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2730 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2732 * gdb.arch/powerpc-vector-regs.c: New file.
2733 * gdb.arch/powerpc-vector-regs.exp: New file.
2735 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2737 * gdb.arch/altivec-regs.exp: Fix the list passed to
2738 gdb_expect_list when testing "info vector".
2740 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2742 * gdb.base/style.exp: Don't include path in testname.
2744 2019-01-10 Keith Seitz <keiths@redhat.com>
2748 * gdb.dwarf2/multidictionary.exp: New file.
2750 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2752 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2753 (test_gnuv3_style_demangling): ... this.
2754 (test_lucid_style_demangling): Remove.
2755 (test_arm_style_demangling): Remove.
2756 (test_hp_style_demangling): Remove.
2757 (do_tests): Remove calls to the above.
2759 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2761 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2764 2019-01-06 Tom Tromey <tom@tromey.com>
2767 * gdb.dwarf2/typedef-void-finish.exp: New file.
2769 2018-12-28 Tom Tromey <tom@tromey.com>
2770 Simon Marchi <simark@simark.ca>
2772 * gdb.base/jit-exec.exp: New file.
2773 * gdb.base/jit-exec.c: New file.
2774 * gdb.base/jit-execd.c: New file.
2776 2018-12-28 Tom Tromey <tom@tromey.com>
2778 * gdb.base/style.exp: Update test to check for address styling.
2780 2018-12-28 Tom Tromey <tom@tromey.com>
2782 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2785 2018-12-28 Tom Tromey <tom@tromey.com>
2787 * gdb.base/style.exp: Add test for version number styling.
2789 2018-12-28 Tom Tromey <tom@tromey.com>
2791 * gdb.base/style.exp: Add test for print_address_symbolic.
2793 2018-12-28 Tom Tromey <tom@tromey.com>
2795 * gdb.base/style.exp: Add test for breakpoint setting.
2797 2018-12-28 Tom Tromey <tom@tromey.com>
2799 * gdb.base/style.exp: Add test for variable names.
2801 2018-12-28 Tom Tromey <tom@tromey.com>
2803 * gdb.base/style.exp: New file.
2804 * gdb.base/style.c: New file.
2806 2018-12-28 Tom Tromey <tom@tromey.com>
2808 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2810 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2811 the TERM environment variable.
2813 2018-12-27 Tom Tromey <tom@tromey.com>
2815 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2818 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2820 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2821 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2823 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2825 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2826 Filename a.adb changed to bp_fun_addr.adb.
2827 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2829 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2831 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2832 non-PIE executables.
2833 * README: Mention the gdb,nopie_flag board setting.
2834 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2836 * gdb.arch/amd64-entry-value.exp: Likewise.
2837 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2838 * gdb.arch/i386-float.exp: Likewise.
2839 * gdb.arch/i386-signal.exp: Likewise.
2840 * gdb.mi/mi-reg-undefined.exp: Likewise.
2842 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2845 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2847 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2849 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2850 Update order of results accordingly.
2852 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2854 * gdb.base/annota1.exp: Update a test regexp.
2856 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2858 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2860 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2862 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2863 (reuse_time): Initialize to REUSE_TIME_CAP.
2864 (check_rc): New function.
2865 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2866 Check pthread_create rc.
2867 (spawner_thread_func): Check pthread_create and pthread_join rc.
2869 2018-12-08 Pedro Alves <palves@redhat.com>
2871 * gdb.base/list.exp (test_forward_search): Rename to ...
2872 (test_forward_reverse_search): ... this. Also test reverse-search
2873 and the forward-search alias.
2875 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2877 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2878 local timeout variable before return, and remove all local timeout
2880 (gdb_load): Likewise.
2882 2018-12-01 Tom de Vries <tdevries@suse.de>
2884 * gdb.base/gdb-caching-proc.exp: New file.
2886 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2888 * Makefile.in (TIMESTAMP): New variable.
2889 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2891 (check-single-racy): Likewise.
2892 (check/%.exp): Likewise.
2893 (check-racy/%.exp): Likewise.
2894 (workers/%.worker): Likewise.
2895 (build-perf): Likewise.
2896 (check-perf): Likewise.
2897 * README: Describe new "TS" and "TS_FORMAT" variables.
2898 * print-ts.py: New file.
2900 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2903 * gdb.python/python.exp: Test command repetition after
2906 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2908 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2909 is correctly aligned.
2911 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2913 * gdb.ada/info_auto_lang.exp: New testcase.
2914 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2915 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2916 * gdb.ada/info_auto_lang/some_c.c: New file.
2918 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2920 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2921 FUNC_lang language syntax.
2923 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2925 * gdb.base/info_minsym.c: New file.
2926 * gdb.base/info_minsym.exp: New file.
2928 2018-11-19 Tom Tromey <tom@tromey.com>
2931 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2932 * gdb.rust/expr.exp: Update expected output. Change one test.
2934 2018-11-19 Tom Tromey <tom@tromey.com>
2936 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2938 2018-11-19 Pedro Alves <palves@redhat.com>
2940 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2941 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2942 see the expected warning.
2944 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2947 * gdb.cp/infcall-nodebug-lib.c: New test.
2948 * gdb.cp/infcall-nodebug-main.c: New test.
2949 * gdb.cp/infcall-nodebug.exp: New file.
2951 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2953 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2956 2018-11-09 Tom de Vries <tdevries@suse.de>
2958 * gdb.base/msym-lang.c: New test.
2959 * gdb.base/msym-lang.exp: New file.
2960 * gdb.base/msym-lang-main.c: New test.
2962 2018-11-08 Tom Tromey <tom@tromey.com>
2966 * gdb.base/warning.exp: New file.
2968 2018-11-08 Jan Beulich <jbeulich@suse.com>
2970 * testsuite/gdb.arch/i386-avx512.c,
2971 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2973 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2975 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2978 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2980 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2981 * gdb.dwarf2/missing-type-name.exp: New file.
2983 2018-11-06 Tom de Vries <tdevries@suse.de>
2985 * gdb.base/many-headers.c: New test.
2986 * gdb.base/many-headers.exp: New file.
2988 2018-11-06 Jim Wilson <jimw@sifive.com>
2990 * gdb.base/code_elim.exp: For riscv, set additional_flags
2991 to include -msmall-data-limit=0.
2993 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2995 * gdb.ada/watch_minus_l: New testcase.
2997 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2999 * gdb.arch/aix-sighandle.c: New file.
3000 * gdb.arch/aix-sighandle.exp: New file.
3002 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3004 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3005 registers being unions.
3007 2018-10-31 Tom de Vries <tdevries@suse.de>
3009 * lib/valgrind.exp: New file.
3010 (vgdb_start, vgdb_stop): New procs, factored out of ...
3011 * gdb.base/valgrind-bt.exp: ... here, ...
3012 * gdb.base/valgrind-disp-step.exp: ... here and ...
3013 * gdb.base/valgrind-infcall.exp: ... here.
3015 2018-10-31 Tom de Vries <tdevries@suse.de>
3017 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3019 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3021 * gdb.dwarf2/void-type.c: New file.
3022 * gdb.dwarf2/void-type.exp: New file.
3024 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3026 * gdb.base/info_qt.c: New file.
3027 * gdb.base/info_qt.exp: New file.
3029 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3031 * gdb.arch/powerpc-htm-regs.c: New file.
3032 * gdb.arch/powerpc-htm-regs.exp: New file.
3034 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3036 * gdb.arch/powerpc-tar.c: New file.
3037 * gdb.arch/powerpc-tar.exp: New file.
3039 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3041 * gdb.arch/powerpc-ppr-dscr.c: New file.
3042 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3044 2018-10-25 Tom de Vries <tdevries@suse.de>
3046 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3048 2018-10-24 Tom de Vries <tdevries@suse.de>
3050 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3051 longer exists error.
3053 2018-10-24 Tom de Vries <tdevries@suse.de>
3055 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3057 2018-10-24 Tom de Vries <tdevries@suse.de>
3059 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3060 --db-attach in valgrind.
3062 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3064 * gdb.arch/riscv-reg-aliases.c: New file.
3065 * gdb.arch/riscv-reg-aliases.exp: New file.
3067 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3069 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3071 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3073 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3075 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3077 * gdb.cp/ovldbreak.exp: Fix regexps.
3079 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3081 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3083 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3086 * gdb.base/restore.exp: New test to check if "restore" with an
3087 invalid file doesn't segfault.
3089 2018-10-18 Tom de Vries <tdevries@suse.de>
3091 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3092 * gdb.ada/excep_handle.exp: Same.
3093 * gdb.ada/mi_string_access.exp: Same.
3094 * gdb.ada/mi_var_union.exp: Same.
3095 * gdb.arch/arc-analyze-prologue.exp: Same.
3096 * gdb.arch/arc-decode-insn.exp: Same.
3097 * gdb.base/readnever.exp: Same.
3098 * gdb.fortran/printing-types.exp: Same.
3099 * gdb.guile/scm-lazy-string.exp: Same.
3101 2018-10-16 Tom de Vries <tdevries@suse.de>
3104 * gdb.base/catch-follow-exec.c: Add copyright notice.
3105 * gdb.base/catch-follow-exec.exp: Rewrite to use
3106 gdb_spawn_with_cmdline_opts. Require gdb-native.
3108 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3110 * gdb.trace/actions-changed.exp: Check for arch support.
3111 * gdb.trace/actions.exp: Likewise.
3112 * gdb.trace/ax.exp: Likewise.
3113 * gdb.trace/backtrace.exp: Likewise.
3114 * gdb.trace/change-loc.exp: Likewise.
3115 * gdb.trace/deltrace.exp: Likewise.
3116 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3117 * gdb.trace/ftrace.exp: Likewise.
3118 * gdb.trace/infotrace.exp: Check for arch support.
3119 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3120 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3121 * gdb.trace/mi-tsv-changed.exp: Likewise.
3122 * gdb.trace/packetlen.exp: Likewise.
3123 * gdb.trace/passc-dyn.exp: Likewise.
3124 * gdb.trace/passcount.exp: Likewise.
3125 * gdb.trace/pending.exp: Likewise.
3126 * gdb.trace/range-stepping.exp: Check for shlib support.
3127 * gdb.trace/report.exp: Check for arch support.
3128 * gdb.trace/save-trace.exp: Likewise.
3129 * gdb.trace/signal.exp: Check for signal support.
3130 * gdb.trace/tfind.exp: Check for arch support.
3131 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3132 * gdb.trace/trace-common.h: Add comment.
3133 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3134 * gdb.trace/trace-enable-disable.exp: Likewise.
3135 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3136 * gdb.trace/tracecmd.exp: Check for arch support.
3137 * gdb.trace/tspeed.exp: Check for shlib and target support.
3138 * gdb.trace/tstatus.exp: Check for arch support.
3139 * gdb.trace/tsv.exp: Likewise.
3140 * gdb.trace/while-dyn.exp: Likewise.
3141 * gdb.trace/while-stepping.exp: Likewise.
3142 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3144 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3146 * gdb.trace/tspeed.exp: Remove nowarnings.
3147 (prepare_for_trace_test): Declare "global ipalib".
3148 * gdb.trace/tspeed.c: Include unistd.h.
3149 (main): Remove superfluous printf argument.
3151 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3153 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3154 directory prefix on the filename.
3156 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3158 * gdb.gdb/unittest.exp: Update expected message informing that
3159 selftests have been disabled.
3160 * gdb.server/unittest.exp: Likewise.
3162 2018-10-09 Tom de Vries <tdevries@suse.de>
3164 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3167 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3170 * gdb.cp/virtbase2.cc: New file.
3171 * gdb.cp/virtbase2.exp: New file.
3173 2018-10-06 Tom Tromey <tom@tromey.com>
3176 * gdb.python/py-inferior.exp: Add architecture test.
3178 2018-10-06 Tom Tromey <tom@tromey.com>
3180 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3181 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3183 2018-10-06 Tom Tromey <tom@tromey.com>
3185 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3186 of a "throw" catchpoint.
3188 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3190 * gdb.base/info-proc.exp: Update string expected from "help info
3193 2018-10-04 Tom Tromey <tom@tromey.com>
3195 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3196 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3197 (test_initial_complaints, test_empty_complaints): Update.
3198 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3200 2018-10-04 Tom Tromey <tom@tromey.com>
3203 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3204 * lib/gdb.exp (gdb_file_cmd): Update.
3205 * gdb.stabs/weird.exp (print_weird_var): Update.
3206 * gdb.server/solib-list.exp: Update.
3207 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3208 * gdb.mi/mi-cli.exp: Update.
3209 * gdb.linespec/linespec.exp: Update.
3210 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3211 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3212 * gdb.cp/cp-relocate.exp: Update.
3213 * gdb.base/sym-file.exp: Update.
3214 * gdb.base/relocate.exp: Update.
3215 * gdb.base/readnever.exp: Update.
3216 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3217 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3218 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3219 * gdb.base/code_elim.exp: Update.
3220 * gdb.base/break-unload-file.exp (test_break): Update.
3221 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3222 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3224 * gdb.base/attach.exp (do_attach_tests): Update.
3225 * gdb.base/sepdebug.exp: Update.
3226 * gdb.python/py-section-script.exp: Update.
3228 2018-10-04 Tom Tromey <tom@tromey.com>
3231 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3232 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3235 2018-10-04 Tom Tromey <tom@tromey.com>
3237 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3238 set width and height to 0.
3239 (test_command_line_attach_run): Use -quiet.
3241 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3243 * lib/gdb.exp (skip_ifunc_tests): New.
3244 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3245 other compile failures.
3246 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3248 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3250 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3251 is_amd64_regs_target.
3253 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3255 * gdb.arch/aarch64-sighandler-regs.c: New test.
3256 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3257 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3259 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3261 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3264 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3266 * gdb.base/frame-selection.exp: New file.
3267 * gdb.base/frame-selection.c: New file.
3269 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3271 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3275 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3277 * gdb.base/large-frame-1.c: New file.
3278 * gdb.base/large-frame-2.c: New file.
3279 * gdb.base/large-frame.exp: New file.
3280 * gdb.base/large-frame.h: New file.
3282 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3285 * gdb.base/write_mem.exp: New test.
3286 * gdb.base/write_mem.c: Likewise.
3288 2018-09-23 Tom Tromey <tom@tromey.com>
3291 * gdb.python/py-parameter.exp: Add test for parameter that throws
3294 2018-09-23 Tom Tromey <tom@tromey.com>
3297 * gdb.python/py-template.exp (test_template_arg): Add test for
3298 negative template argument number.
3300 2018-09-23 Tom Tromey <tom@tromey.com>
3303 * gdb.python/python.exp: Add test for post_event error.
3305 2018-09-23 Tom Tromey <tom@tromey.com>
3308 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3309 convert pointers to int and long.
3311 2018-09-23 Tom Tromey <tom@tromey.com>
3314 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3315 signed-ness conversion tests.
3317 2018-09-23 Tom Tromey <tom@tromey.com>
3320 * gdb.python/py-value.exp (test_float_conversion): New proc.
3323 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3325 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3327 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3329 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3331 * gdb.base/utf8-identifiers.exp: Likewise.
3332 * gdb.cp/cpcompletion.exp: Likewise.
3333 * gdb.linespec/cpcompletion.exp: Likewise.
3334 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3335 * gdb.linespec/cpls-ops.exp: Likewise.
3337 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3338 Chris January <chris.january@arm.com>
3340 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3341 * gdb.fortran/short-circuit-argument-list.exp: New file.
3342 * gdb.fortran/short-circuit-argument-list.f90: New test.
3344 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3346 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3347 "arch=" keyword when executing "-stack-list-frames".
3349 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3351 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3352 "arch=" keyword when executing "-stack-list-frames".
3354 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3356 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3359 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3362 * gdb.python/python.exp: Test gdb.execute("show commands").
3364 2018-09-16 Tom Tromey <tom@tromey.com>
3366 * gdb.base/new-ui.exp (do_execution_tests): Update.
3367 * gdb.base/dbx.exp (test_breakpoints): Update.
3369 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3371 * lib/gdb.exp (gdb_simple_compile): Add proc.
3372 (is_elf_target): Use gdb_simple_compile.
3373 (skip_altivec_tests): Likewise.
3374 (skip_vsx_tests): Likewise.
3375 (skip_tsx_tests): Likewise.
3376 (skip_btrace_tests): Likewise.
3377 (skip_btrace_pt_tests): Likewise.
3378 (gdb_can_simple_compile): Likewise.
3379 (gdb_has_argv0): Likewise.
3380 (gdb_target_symbol_prefix): Likewise.
3381 (target_supports_scheduler_locking): Likewise.
3383 2018-09-13 Tom Tromey <tom@tromey.com>
3385 * Makefile.in (TAGS): Recognize proc_with_prefix and
3388 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3390 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3393 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3395 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3396 and a few other Inferior properties when the Inferior is no
3399 2018-09-13 Tom Tromey <tom@tromey.com>
3402 * gdb.rust/simple.exp: Add test for enum field access error.
3404 2018-09-13 Tom Tromey <tom@tromey.com>
3407 * gdb.rust/simple.rs (EmptyEnum): New type.
3409 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3411 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3413 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3414 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3415 * gdb.python/py-symtab.exp: Update test printing an objfile.
3417 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3419 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3422 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3424 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3425 (support_complex_tests): Use gdb_can_simple_compile.
3426 (is_ilp32_target): Likewise.
3427 (is_lp64_target): Likewise.
3428 (is_64_target): Likewise.
3429 (is_amd64_regs_target): Likewise.
3430 (is_aarch32_target): Likewise.
3431 (gdb_int128_helper): Likewise.
3433 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3435 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3437 2018-09-10 Jerome Guitton <guitton@adacore.com>
3439 * gdb.ada/same_component_name: Add test for case of tagged record
3440 with variable-length fields.
3442 2018-09-10 Xavier Roirand <roirand@adacore.com>
3444 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3445 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3446 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3447 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3449 2018-09-10 Xavier Roirand <roirand@adacore.com>
3451 * gdb.ada/mi_string_access.exp: New testcase.
3452 * gdb.ada/mi_string_access/bar.adb: New file.
3453 * gdb.ada/mi_string_access/pck.adb: New file.
3454 * gdb.ada/mi_string_access/pck.asd: New file.
3456 2018-09-10 Xavier Roirand <roirand@adacore.com>
3458 * gdb.ada/mi_var_union.exp: New testcase.
3459 * gdb.ada/mi_var_union/bar.adb: New file.
3460 * gdb.ada/mi_var_union/pck.adb: New file.
3461 * gdb.ada/mi_var_union/pck.asd: New file.
3463 2018-09-08 Tom Tromey <tom@tromey.com>
3465 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3467 2018-09-08 Tom Tromey <tom@tromey.com>
3470 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3471 (register_pretty_printers): Register new printer.
3472 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3474 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3475 (an_int_type3): New global.
3477 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3479 * gdb.ada/expr_with_funcall: New testcase.
3481 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3483 * gdb.ada/packed_array_assign: New testcase.
3485 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3487 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3488 names, and add test prefixes to make test names unique.
3490 2018-09-05 Tom de Vries <tdevries@suse.de>
3492 * gdb.dwarf2/varval.exp: Add test.
3494 2018-09-04 Gary Benson <gbenson@redhat.com>
3496 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3497 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3499 2018-08-31 Tom Tromey <tom@tromey.com>
3501 * gdb.rust/simple.rs: Rename second variable "v".
3503 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3505 * gdb.base/funcargs.c (use_a): New function.
3506 (recurse): Call use_a.
3508 2018-08-29 Keith Seitz <keiths@redhat.com>
3510 * gdb.compile/compile-cplus-anonymous.cc: New file.
3511 * gdb.compile/compile-cplus-anonymous.exp: New file.
3512 * gdb.compile/compile-cplus-array-decay.cc: New file.
3513 * gdb.compile/compile-cplus-array-decay.exp: New file.
3514 * gdb.compile/compile-cplus-inherit.cc: New file.
3515 * gdb.compile/compile-cplus-inherit.exp: New file.
3516 * gdb.compile/compile-cplus-member.cc: New file.
3517 * gdb.compile/compile-cplus-member.exp: New file.
3518 * gdb.compile/compile-cplus-method.cc: New file.
3519 * gdb.compile/compile-cplus-method.exp: New file.
3520 * gdb.compile/compile-cplus-mod.c: "New" file.
3521 * gdb.compile/compile-cplus-namespace.cc: New file.
3522 * gdb.compile/compile-cplus-namespace.exp: New file.
3523 * gdb.compile/compile-cplus-nested.cc: New file.
3524 * gdb.compile/compile-cplus-nested.exp: New file.
3525 * gdb.compile/compile-cplus-print.c: "New" file.
3526 * gdb.compile/compile-cplus-print.exp: "New" file.
3527 * gdb.compile/compile-cplus-virtual.cc: New file.
3528 * gdb.compile/compile-cplus-virtual.exp: New file.
3529 * gdb.compile/compile-cplus.c: "New" file.
3530 * gdb.compile/compile-cplus.exp: "New" file.
3531 * lib/compile-support.exp: New file.
3533 2018-08-16 Gary Benson <gbenson@redhat.com>
3536 * gdb.base/batch-exit-status.exp: New file.
3537 * gdb.base/batch-exit-status.good-commands: Likewise.
3538 * gdb.base/batch-exit-status.bad-commands: Likewise.
3540 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3542 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3543 (struct struct02): Likewise.
3544 (struct struct03): Likewise.
3545 (struct struct04): Likewise.
3546 (struct struct_01_01): New struct.
3547 (struct struct_01_02): Likewise.
3548 (struct struct_01_03): Likewise.
3549 (struct struct_01_04): Likewise.
3550 (struct struct_02_01): Likewise.
3551 (struct struct_02_02): Likewise.
3552 (struct struct_02_03): Likewise.
3553 (struct struct_02_04): Likewise.
3554 (struct struct_04_01): Likewise.
3555 (struct struct_04_02): Likewise.
3556 (struct struct_04_03): Likewise.
3557 (struct struct_04_04): Likewise.
3558 (struct struct_05_01): Likewise.
3559 (struct struct_05_02): Likewise.
3560 (struct struct_05_03): Likewise.
3561 (struct struct_05_04): Likewise.
3562 (cmp_struct01): Remove function.
3563 (cmp_struct02): Likewise.
3564 (cmp_struct03): Likewise.
3565 (cmp_struct04): Likewise.
3566 (cmp_struct_01_01): Add Function.
3567 (cmp_struct_01_02): Likewise.
3568 (cmp_struct_01_03): Likewise.
3569 (cmp_struct_01_04): Likewise.
3570 (cmp_struct_02_01): Likewise.
3571 (cmp_struct_02_02): Likewise.
3572 (cmp_struct_02_03): Likewise.
3573 (cmp_struct_02_04): Likewise.
3574 (cmp_struct_04_01): Likewise.
3575 (cmp_struct_04_02): Likewise.
3576 (cmp_struct_04_03): Likewise.
3577 (cmp_struct_04_04): Likewise.
3578 (cmp_struct_05_01): Likewise.
3579 (cmp_struct_05_02): Likewise.
3580 (cmp_struct_05_03): Likewise.
3581 (cmp_struct_05_04): Likewise.
3582 (call_all): Add new structs.
3583 * gdb.base/infcall-nested-structs.exp: Likewise.
3585 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3587 * gdb.python/py-framefilter-mi.exp: Update regexp to
3588 check for "arch" field in frame output.
3590 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3592 * gdb.dwarf2/dw2-ranges-func.c: New file.
3593 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3595 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3597 * gdb.base/term.exp: Compare terminal settings with values from
3599 * gdb.base/term.c: Get and set terminal settings.
3601 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3603 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3604 accommodate new "arch" field in frame output.
3605 * gdb.mi/mi-return.exp: Likewise.
3606 * gdb.mi/mi-stack.exp: Likewise.
3607 * gdb.mi/mi-syn-frame.exp: Likewise.
3608 * gdb.mi/user-selected-context-sync.exp: Likewise.
3610 2018-08-19 Michael Spang <spang@google.com>
3613 * gdb.base/gcore-tls-pie.c: New file.
3614 * gdb.base/gcore-tls-pie.exp: New file.
3616 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3618 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3619 * gdb.dwarf2/varval.c: New file.
3620 * gdb.dwarf2/varval.exp: New file.
3622 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3625 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3627 2018-08-16 Keith Seitz <keiths@redhat.com>
3629 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3630 tests expected to pass.
3632 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3634 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3635 -data-disassemble -a.
3636 (test_disassembly_bogus_args): Likewise.
3638 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3640 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3642 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3644 * gdb.base/vla-optimized-out.exp: Add new test.
3646 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3648 * gdb.base/vla-optimized-out-o3.exp: Delete.
3649 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3650 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3653 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3656 * gdb.server/extended-remote-restart.c: New file.
3657 * gdb.server/extended-remote-restart.exp: New file.
3659 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3661 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3662 "set variable index = 42".
3664 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3666 * boards/index-cache-gdb.exp: New file.
3667 * gdb.dwarf2/index-cache.exp: New file.
3668 * gdb.dwarf2/index-cache.c: New file.
3669 * gdb.base/maint.exp: Check if we are using the index cache.
3671 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3673 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3676 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3678 * dg-extract-results.sh: Move to toplevel contrib.
3679 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3680 * Makefile.in (check-parallel-racy): Likewise.
3682 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3684 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3685 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3686 tests if the target supports scheduler locking.
3688 2018-08-04 Tom de Vries <tdevries@suse.de>
3690 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3692 2018-08-02 Tom Tromey <tom@tromey.com>
3695 * gdb.cp/temargs.exp: Test "info address" of a template
3698 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3700 * gdb.python/py-mi-var-info-path-expression.c: New file.
3701 * gdb.python/py-mi-var-info-path-expression.py: New file.
3702 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3704 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3706 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3707 error after "cannot resolve name" string.
3709 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3711 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3713 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3715 2018-07-28 Tom de Vries <tdevries@suse.de>
3717 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3719 2018-07-26 Tom de Vries <tdevries@suse.de>
3721 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3723 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3725 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3728 2018-07-26 Tom de Vries <tdevries@suse.de>
3730 PR breakpoints/23366
3731 * gdb.base/catch-follow-exec.c: New test.
3732 * gdb.base/catch-follow-exec.exp: New file.
3734 2018-07-25 Tom de Vries <tdevries@suse.de>
3736 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3737 vla-optimized-out.c.
3739 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3741 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3742 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3744 2018-07-20 Tom de Vries <tdevries@suse.de>
3746 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3748 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3750 2018-07-19 Tom de Vries <tdevries@suse.de>
3752 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3755 2018-07-18 Tom de Vries <tdevries@suse.de>
3757 * gdb.base/vla-optimized-out.c: New test.
3758 * gdb.base/vla-optimized-out.exp: New file.
3760 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3762 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3763 message "No address associated with hostname" when gdbserver
3764 cannot resolve the hostname.
3766 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3768 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3769 Add some test prefixes to make tests unique.
3771 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3773 * gdb.base/frameapply.c: New file.
3774 * gdb.base/frameapply.exp: New file.
3776 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3778 * gdb.base/skip.exp: Update expected error message.
3780 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3781 Jan Kratochvil <jan.kratochvil@redhat.com>
3782 Paul Fertser <fercerpav@gmail.com>
3783 Tsutomu Seki <sekiriki@gmail.com>
3785 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3787 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3789 * boards/native-gdbserver.exp: Likewise.
3790 * gdb.server/run-without-local-binary.exp: Improve regexp used
3791 for detecting when a remote debugging connection succeeds.
3792 * gdb.server/server-connect.exp: New file.
3793 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3794 Do not prefix the port number with ":".
3795 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3796 support for detecting and using it. Add '$debughost_gdbserver'
3797 to the list of arguments used to start gdbserver. Handle case
3798 when gdbserver cannot resolve a network name.
3800 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3803 * gdb.base/ptype-offsets.cc (struct static_member): New
3805 (main) <stmember>: New variable.
3806 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3807 with a static member in it.
3809 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3811 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3812 watchpoints enabled and disabled.
3814 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3816 * gdb.base/examine-backward.exp: Still run tests around address
3817 0x0, even if address 0x0 is not readable. Update the pattern for
3818 matching address 0x0 in expected output.
3820 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3822 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3825 2018-07-04 Tom de Vries <tdevries@suse.de>
3827 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3829 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3832 * gdb.arch/mips-disassembler-options.exp: New test.
3833 * gdb.arch/mips-disassembler-options.s: New test source.
3835 2018-06-29 Pedro Alves <palves@redhat.com>
3837 * gdb.threads/names.exp: Adjust expected "info threads" output.
3839 2018-06-29 Pedro Alves <palves@redhat.com>
3841 * gdb.opt/inline-break.exp (line number, address): Add "info
3844 2018-06-29 Pedro Alves <palves@redhat.com>
3846 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3847 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3848 number and address and running to them.
3850 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3852 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3854 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3856 * lib/compiler.c: Remove executable permission flag.
3858 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3860 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3862 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3864 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3866 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3868 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3870 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3871 address argument is omitted.
3873 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3875 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3877 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3880 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3881 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3883 2018-06-26 Tom Tromey <tom@tromey.com>
3886 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3887 * gdb.rust/simple.rs (struct SimpleLayout): New.
3889 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3891 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3892 "info registers" output.
3894 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3896 * gdb.base/watchpoint-hw-attach.c: New test.
3897 * gdb.base/watchpoint-hw-attach.exp: New file.
3899 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3901 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3903 * boards/dwarf4-gdb-index.exp: Likewise.
3904 * boards/fission-dwp.exp: Likewise.
3906 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3908 * gdb.base/float128.exp: Add comment and improved fail message
3909 to the failure case of "print large128" test.
3911 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3913 * configure.ac: Remove AC_PREREQ.
3914 * configure: Re-generate.
3916 2018-06-19 Pedro Alves <palves@redhat.com>
3918 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3919 (func_extern_caller): New.
3920 (main): Call func_extern_caller.
3921 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3924 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3927 * gdb.cp/typedef-base.cc: New file.
3928 * gdb.cp/typedef-base.exp: New file.
3930 2018-06-18 Tom de Vries <tdevries@suse.de>
3932 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3934 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3935 Richard Bunt <Richard.Bunt@arm.com>
3937 * gdb.threads/attach-slow-waitpid.c: New file.
3938 * gdb.threads/attach-slow-waitpid.exp: New file.
3939 * gdb.threads/slow-waitpid.c: New file.
3941 2018-06-14 Pedro Alves <palves@redhat.com>
3943 * gdb.base/fork-running-state.c: Include <errno.h>.
3944 (exit_if_relative_exits): New.
3945 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3947 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3950 2018-06-14 Tom de Vries <tdevries@suse.de>
3953 * gdb.base/finish-pretty.c: New test.
3954 * gdb.base/finish-pretty.exp: New file.
3956 2018-06-14 Pedro Alves <palves@redhat.com>
3958 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3959 gdb's expected startup output.
3961 2018-06-14 Pedro Alves <palves@redhat.com>
3963 * lib/selftest-support.exp (selftest_setup): Remove inlined
3966 2018-06-14 Tom de Vries <tdevries@suse.de>
3968 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3969 matching of breakpoint printing.
3971 2018-06-13 Tom de Vries <tdevries@suse.de>
3974 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3975 (fork_child): ... here, and ...
3976 (fork_parent): ... here.
3978 2018-06-12 Tom de Vries <tdevries@suse.de>
3980 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3982 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3983 Stephen Roberts <stephen.roberts@arm.com>
3985 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3986 rewrite test to describe action performed, rather than possible
3989 2018-06-08 Gary Benson <gbenson@redhat.com>
3991 * gdb.threads/check-libthread-db.exp: New file.
3992 * gdb.threads/check-libthread-db.c: Likewise.
3994 2018-06-05 Tom Tromey <tom@tromey.com>
3996 * gdb.base/default.exp: Update expected "show version" output.
3998 2018-06-05 Tom Tromey <tom@tromey.com>
4001 * gdb.cp/static-print-quit.exp: Update.
4002 * lib/gdb.exp (pagination_prompt): Update.
4003 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4004 * gdb.python/python.exp: Update.
4006 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4008 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4010 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4012 * gdb.ada/bp_fun_addr: New testcase.
4014 2018-06-01 Tom Tromey <tom@tromey.com>
4016 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4018 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4019 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4020 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4021 * gdb.base/maint.exp (maint_pass_if): Update.
4023 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4025 * gdb.base/endian.exp: New test.
4026 * gdb.base/endian.c: New test source.
4028 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4031 * gdb.base/bt-selected-frame.c: New file.
4032 * gdb.base/bt-selected-frame.exp: New file.
4033 * lib/gdb.exp (get_current_frame_number): New function.
4035 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4036 Pedro Alves <palves@redhat.com>
4038 * gdb.threads/tls-core.c: Include <stdlib.h>
4039 (thread_proc): Call `abort'.
4040 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4041 (tls_core_test): New procedure, bits factored out from ...
4042 (top level): ... here. Test both native cores and gcore cores.
4044 2018-05-23 Tom Tromey <tom@tromey.com>
4046 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4048 2018-05-23 Tom Tromey <tom@tromey.com>
4050 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4052 (test_short_complaints): Likewise.
4053 (test_empty_complaints): Likewise.
4054 (test_initial_complaints): Update.
4056 2018-05-23 Tom Tromey <tom@tromey.com>
4058 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4060 2018-05-23 Tom Tromey <tom@tromey.com>
4062 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4063 (test_short_complaints): Update.
4065 2018-05-22 Pedro Alves <palves@redhat.com>
4067 * gdb.base/remote.exp: Only gdb_start after compiling the
4068 testcase. Issue "disconnect" before testing "set remote" command
4069 defaults. Issue clean_restart before running to main.
4071 2018-05-22 Pedro Alves <palves@redhat.com>
4073 * gdb.base/remote.exp: Adjust expected output of "show remote
4074 memory-write-packet-size". Add tests for "set remote
4075 memory-write-packet-size 0" and "set remote
4076 memory-write-packet-size fixed/limit".
4078 2018-05-22 Pedro Alves <palves@redhat.com>
4081 * gdb.base/utf8-identifiers.c: New file.
4082 * gdb.base/utf8-identifiers.exp: New file.
4084 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4086 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4088 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4090 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4092 2018-05-18 Tom Tromey <tom@tromey.com>
4094 * gdb.base/ptype-offsets.exp: Update.
4096 2018-05-17 Keith Seitz <keiths@redhat.com>
4098 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4099 in expected breakpoint stop locations.
4100 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4101 move to proper scope to test variable values.
4102 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4103 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4105 (main): Call not_inline_func3.
4106 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4107 inline_func1, inline_func2, and inline_func3. Test that when each
4108 breakpoint is hit, GDB properly reports both the stop location
4109 and the backtrace. Repeat tests for temporary breakpoints.
4111 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4113 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4114 rather then trying to access it in determining whether the PID
4115 of `gdbserver' could have been retrieved.
4117 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4119 * gdb.arch/amd64-init-x87-values.S: New file.
4120 * gdb.arch/amd64-init-x87-values.exp: New file.
4122 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4124 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4126 2018-05-04 Tom Tromey <tom@tromey.com>
4129 * gdb.python/python.exp: Test multi-line execute.
4131 2018-05-04 Tom Tromey <tom@tromey.com>
4134 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4136 2018-05-04 Tom Tromey <tom@tromey.com>
4139 * gdb.base/define.exp: Test defining a user command inside a user
4141 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4143 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4144 Pedro Alves <palves@redhat.com>
4146 PR breakpoints/19806 and support for PR external/20207.
4147 * gdb.base/watchpoint-unaligned.c: New file.
4148 * gdb.base/watchpoint-unaligned.exp: New file.
4150 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4152 * gdb.base/maint.exp: Make test names unique, use
4153 test_prefix_command_help to test 'help maint info', and remove
4154 repeated test of 'help maint'.
4156 2018-05-04 Tom Tromey <tom@tromey.com>
4159 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4162 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4164 * gdb.base/maint.exp: Process output from 'maint print registers'
4167 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4169 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4172 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4174 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4177 2018-05-02 Pedro Alves <palves@redhat.com>
4179 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4180 to_log_command renames.
4181 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4183 2018-05-02 Tom Tromey <tom@tromey.com>
4185 * gdb.python/py-parameter.exp: Set test message.
4187 2018-05-02 Tom Tromey <tom@tromey.com>
4190 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4191 PARAM_ZUINTEGER_UNLIMITED tests.
4193 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4196 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4199 2018-04-30 Tom Tromey <tom@tromey.com>
4201 * gdb.python/py-type.exp: Check align attribute.
4202 * gdb.python/py-type.c: New "aligncheck" global.
4204 2018-04-30 Tom Tromey <tom@tromey.com>
4207 * gdb.dwarf2/dw2-align.exp: New file.
4208 * gdb.cp/align.exp: New file.
4209 * gdb.base/align.exp: New file.
4210 * lib/gdb.exp (gdb_int128_helper): New proc.
4211 (has_int128_c, has_int128_cxx): New caching procs.
4213 2018-04-27 Tom Tromey <tom@tromey.com>
4216 * gdb.rust/simple.exp: Add inclusive range tests.
4218 2018-04-26 Pedro Alves <palves@redhat.com>
4220 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4221 ifunc breakpoint locations correctly of ifunc breakpoints set
4222 while the program resolves the ifunc.
4224 2018-04-26 Pedro Alves <palves@redhat.com>
4226 * gdb.base/gnu-ifunc-final.c: New file.
4227 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4228 * gdb.base/gnu-ifunc.exp (executable): Delete.
4229 (staticexecutable): Adjust.
4230 (lib_opts, exec_opts): Delete.
4231 (make_binsuffix, build, set-break): New procedures.
4232 (misc_tests): New, with tests factored out from the top level.
4233 (top level): Test different combinations of ifunc resolver name,
4234 resolver with and with debug info, and ifunc target with and
4235 without debug info. Wrap static tests with with_target_prefix.
4237 2018-04-26 Pedro Alves <palves@redhat.com>
4239 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4240 return type" warnings.
4242 2018-04-25 Pedro Alves <palves@redhat.com>
4244 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4246 * gdb.base/kill-after-signal.exp: Likewise.
4247 * gdb.threads/kill.exp: Likewise.
4249 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4250 Sergio Durigan Junior <sergiodj@redhat.com>
4251 Pedro Alves <palves@redhat.com>
4253 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4254 regexps to expect for '[Inferior ... detached]' as well.
4255 * gdb.base/attach.exp: Likewise.
4256 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4257 "gdb_continue_to_end".
4258 (test_catch_syscall_with_wrong_args): Likewise.
4259 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4260 ']'. Don't set 'verbose' on.
4261 * gdb.base/foll-vfork.exp: Likewise.
4262 * gdb.base/fork-print-inferior-events.c: New file.
4263 * gdb.base/fork-print-inferior-events.exp: New file.
4264 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4265 '[Inferior ... has been killed]' message.
4266 * gdb.base/kill-after-signal.exp: Likewise.
4267 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4269 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4271 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4272 regexps to expect for '[Inferior ... detached]' as well.
4273 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4275 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4278 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4280 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4282 * gdb.threads/multiple-successive-infcall.c: New test.
4283 * gdb.threads/multiple-successive-infcall.exp: New file.
4285 2018-04-17 Tom Tromey <tom@tromey.com>
4287 * gdb.rust/simple.rs (Union): New type.
4288 (main): New local "u".
4289 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4291 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4293 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4294 number information in output of "whereis" command.
4295 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4297 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4299 * gdb.ada/info_types.exp: Adjust expected output to the line
4300 numbers now printed by "info var/func/type".
4301 * gdb.base/completion.exp: Likewise.
4302 * gdb.base/included.exp: Likewise.
4303 * gdb.cp/cp-relocate.exp: Likewise.
4304 * gdb.cp/cplusfuncs.exp: Likewise.
4305 * gdb.cp/namespace.exp: Likewise.
4306 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4308 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4310 * gdb.btrace/cpu.exp: New.
4312 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4314 * gdb.base/step-indirect-call-thunk.exp: New.
4315 * gdb.base/step-indirect-call-thunk.c: New.
4316 * gdb.reverse/step-indirect-call-thunk.exp: New.
4317 * gdb.reverse/step-indirect-call-thunk.c: New.
4319 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4321 * gdb.base/pie-fork.c: New file.
4322 * gdb.base/pie-fork.exp: New file.
4324 2018-04-11 Tom Tromey <tom@tromey.com>
4326 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4328 2018-04-10 Pedro Alves <palves@redhat.com>
4330 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4331 exits. Instead loop running forever.
4332 (fork_parent): Run forever too.
4334 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4336 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4337 mi_continue_to_line.
4338 * gdb.mi/mi-stack.c (callee4): Add comment.
4340 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4342 * gdb.mi/mi-stack.exp: Fix indentation.
4344 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4347 * gdb.arch/amd64-osabi.exp: New file.
4349 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4352 * gdb.base/osabi.exp: New file.
4354 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4356 * gdb.cp/static-typedef-print.exp: New file.
4357 * gdb.cp/static-typedef-print.cc: New file.
4359 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4361 * gdb.ada/varsize_limit: New testcase.
4363 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4365 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4367 * gdb.ada/notcplusplus: New testcase.
4369 * gdb.base/c-linkage-name.c: New file.
4370 * gdb.base/c-linkage-name.exp: New testcase.
4372 2018-03-26 Tom Tromey <tom@tromey.com>
4374 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4375 * gdb.python/py-framefilter.py (name_error): New global.
4376 (ErrorInName.function): Use name_error.
4378 2018-03-26 Tom Tromey <tom@tromey.com>
4381 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4383 2018-03-23 Keith Seitz <keiths@redhat.com>
4386 * gdb.cp/subtypes.exp: New file.
4387 * gdb.cp/subtypes.h: New file.
4388 * gdb.cp/subtypes.cc: New file.
4389 * gdb.cp/subtypes-2.cc: New file.
4391 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4393 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4394 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4395 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4396 -nostartfiles when compiling the test. Confirm that all registers
4397 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4399 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4401 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4402 option, syntax was wrong anyway.
4403 * gdb.arch/arm-disp-step.exp: Likewise.
4404 * gdb.arch/sparc64-regs.exp: Likewise.
4405 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4406 option, syntax was wrong anyway, switch to use
4407 prepare_for_testing.
4408 * gdb.arch/i386-disp-step.exp: Likewise.
4410 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4412 * gdb.ada/exec_changed.exp: Replace "target_info exists
4413 use_gdb_stub" by "use_gdb_stub".
4414 * gdb.ada/start.exp: Likewise.
4415 * gdb.base/async-shell.exp: Likewise.
4416 * gdb.base/attach-pie-misread.exp: Likewise.
4417 * gdb.base/attach-wait-input.exp: Likewise.
4418 * gdb.base/break-entry.exp: Likewise.
4419 * gdb.base/break-interp.exp: Likewise.
4420 * gdb.base/dprintf-detach.exp: Likewise.
4421 * gdb.base/nostdlib.exp: Likewise.
4422 * gdb.base/solib-nodir.exp: Likewise.
4423 * gdb.base/statistics.exp: Likewise.
4424 * gdb.base/testenv.exp: Likewise.
4425 * gdb.mi/mi-exec-run.exp: Likewise.
4426 * gdb.mi/mi-start.exp: Likewise.
4427 * gdb.multi/dummy-frame-restore.exp: Likewise.
4428 * gdb.multi/multi-arch-exec.exp: Likewise.
4429 * gdb.multi/multi-arch.exp: Likewise.
4430 * gdb.multi/tids.exp: Likewise.
4431 * gdb.multi/watchpoint-multi.exp: Likewise.
4432 * gdb.python/py-events.exp: Likewise.
4433 * gdb.threads/attach-into-signal.exp: Likewise.
4434 * gdb.threads/attach-stopped.exp: Likewise.
4435 * gdb.threads/threadapply.exp: Likewise.
4436 * lib/selftest-support.exp: Likewise.
4438 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4440 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4442 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4444 * gdb.perf/template-breakpoints.cc: New file.
4445 * gdb.perf/template-breakpoints.exp: New file.
4446 * gdb.perf/template-breakpoints.py: New file.
4448 2018-03-19 Tom Tromey <tom@tromey.com>
4450 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4452 * gdb.rust/simple.exp: Test bare identifier form of struct
4455 2018-03-19 Tom Tromey <tom@tromey.com>
4457 * gdb.gdb/observer.exp: Remove.
4459 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4461 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4462 "qualified" option when setting breakpoints.
4463 * gdb.trace/backtrace.exp: Likewise.
4464 * gdb.trace/circ.exp: Likewise.
4465 * gdb.trace/collection.exp: Likewise.
4466 * gdb.trace/disconnected-tracing.exp: Likewise.
4467 * gdb.trace/ftrace-lock.exp: Likewise.
4468 * gdb.trace/ftrace.exp: Likewise.
4469 * gdb.trace/infotrace.exp: Likewise.
4470 * gdb.trace/packetlen.exp: Likewise.
4471 * gdb.trace/passc-dyn.exp: Likewise.
4472 * gdb.trace/qtro.exp: Likewise.
4473 * gdb.trace/read-memory.exp: Likewise.
4474 * gdb.trace/report.exp: Likewise.
4475 * gdb.trace/signal.exp: Likewise.
4476 * gdb.trace/status-stop.exp: Likewise.
4477 * gdb.trace/strace.exp: Likewise.
4478 * gdb.trace/tfind.exp: Likewise.
4479 * gdb.trace/trace-break.exp: Likewise.
4480 * gdb.trace/trace-condition.exp: Likewise.
4481 * gdb.trace/trace-mt.exp: Likewise.
4482 * gdb.trace/tstatus.exp: Likewise.
4483 * gdb.trace/tsv.exp: Likewise.
4484 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4485 * gdb.trace/unavailable.exp: Likewise.
4486 * gdb.trace/while-dyn.exp: Likewise.
4488 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4490 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4491 that libinproctrace is copied to the target.
4493 2018-03-14 Tom Tromey <tom@tromey.com>
4496 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4498 * gdb.base/wchar.exp: Likewise.
4500 2018-03-14 Tom Tromey <tom@tromey.com>
4503 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4506 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4509 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4510 "target" to remote_exec.
4512 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4515 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4516 ${board}_upload): Remove.
4518 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4520 * gdb.cp/watch-cp.cc: New test.
4521 * gdb.cp/watch-cp.exp: New file.
4523 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4525 * gdb.base/infcall-nested-structs.exp: New file.
4526 * gdb.base/infcall-nested-structs.c: New file.
4527 * gdb.base/float.exp: Add riscv support.
4529 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4531 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4532 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4534 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4536 * gdb.server/abspath.exp: New file.
4537 * lib/gdb.exp (with_cwd): New procedure.
4539 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4541 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4543 (gdb_is_target_remote_prompt): New proc.
4544 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4545 (gdb_is_target_native): Pass prompt parameter to
4548 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4550 * gdb.base/load-command.c: New file.
4551 * gdb.base/load-command.exp: New file.
4552 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4553 (gdb_is_target_1): ...this, and generalize for other targets
4555 (gdb_is_target_remote): Use gdb_is_target_1.
4556 (gdb_is_target_native): use gdb_is_target_1.
4558 2018-02-26 Tom Tromey <tom@tromey.com>
4561 * gdb.python/py-framefilter.exp: Update test.
4563 2018-02-26 Tom Tromey <tom@tromey.com>
4565 * gdb.dwarf2/variant.c: New file.
4566 * gdb.dwarf2/variant.exp: New file.
4568 2018-02-26 Tom Tromey <tom@tromey.com>
4570 * gdb.rust/simple.exp: Accept more possible results in enum test.
4572 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4574 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4577 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4579 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4580 name of a variable: $actual_linejj -> $actual_line.
4582 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4584 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4586 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4588 * gdb.btrace/buffer-size.exp: Do not force BTS.
4590 2018-02-14 Pedro Alves <palves@redhat.com>
4592 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4595 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4597 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4600 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4602 * gdb.cp/m-static.exp: Check type of optimized out static
4605 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4607 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4608 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4610 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4611 Leszek Swirski <leszeks@google.com>
4613 * gdb.python/py-prettyprint.c
4614 (struct to_string_returns_value_inner,
4615 struct to_string_returns_value_wrapper): New.
4616 (main): Add tsrvw variable.
4617 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4618 ToStringReturnsValueWrapper): New classes.
4619 (register_pretty_printers): Register new pretty-printers.
4620 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4621 recursive pretty printer.
4622 * gdb.python/py-mi.exp: Likewise.
4624 2018-02-01 Leszek Swirski <leszeks@google.com>
4626 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4627 functions with the same name as an include file are parsed
4630 2018-02-01 Yao Qi <yao.qi@linaro.org>
4632 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4635 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4637 * gdb.arch/powerpc-prologue-frame.s: New file.
4638 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4639 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4641 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4643 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4645 2018-01-30 Pedro Alves <palves@redhat.com>
4648 * gdb.base/interrupt-daemon.c: New.
4649 * gdb.base/interrupt-daemon.exp: New.
4650 * gdb.multi/multi-term-settings.c: New.
4651 * gdb.multi/multi-term-settings.exp: New.
4653 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4655 * gdb.base/break.exp: Save the location where the breakpoint
4656 on break.c:47 was actually inserted when debugging the version
4657 compiled at -O2 and use it in the expected output of the "info
4658 break" test performed soon after.
4660 2018-01-22 Pedro Alves <palves@redhat.com>
4661 Sergio Durigan Junior <sergiodj@redhat.com>
4663 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4664 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4666 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4668 * gdb.base/break-include.c, gdb.base/break-include.inc,
4669 gdb.base/break-include.exp: New files.
4670 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4671 line number now being the actual line number where the breakpoint
4673 * gdb.mi/mi-break.exp: Likewise.
4674 * gdb.mi/mi-reverse.exp: Likewise.
4675 * gdb.mi/mi-simplerun.exp: Ditto.
4677 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4679 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4681 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4683 2018-01-21 Don Breazeal <donb@codesourcery.com>
4684 Andrew Burgess <andrew.burgess@embecosm.com>
4686 * gdb.mi/basics.c: Add new global.
4687 * gdb.mi/mi-frame-regs.exp: New file.
4688 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4691 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4693 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4694 non-parameter, and on an unknown symbol.
4696 2018-01-19 Tom Tromey <tom@tromey.com>
4698 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4699 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4701 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4703 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4704 setrlimit and chdir to int.
4706 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4708 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4710 (my_tend): Likewise.
4711 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4712 rationale of avoiding FP- and vector instructions.
4714 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4716 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4717 "info reg" with "\[ \t\]*".
4718 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4720 * gdb.arch/s390-multiarch.exp: Ditto.
4721 * gdb.base/pc-fp.exp: Ditto.
4722 * gdb.reverse/i386-precsave.exp: Ditto.
4723 * gdb.reverse/i386-reverse.exp: Ditto.
4724 * gdb.reverse/i387-env-reverse.exp: Ditto.
4725 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4727 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4729 * lib/gdb.exp (gdb_compile): Re-enable use of
4730 universal_compile_options for languages other than Rust.
4732 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4734 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4736 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4739 * gdb.base/solib-vanish.exp: New.
4740 * gdb.base/solib-vanish-main.c: New.
4741 * gdb.base/solib-vanish-lib1.c: New.
4742 * gdb.base/solib-vanish-lib2.c: New.
4744 2018-01-17 Yao Qi <yao.qi@linaro.org>
4746 * gdb.compile/compile.exp: Match the address printed for
4747 frame in the output of command "bt".
4749 2018-01-15 Tom Tromey <tom@tromey.com>
4751 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4754 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4756 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4758 (prepare): Return 0 on error, 1 on success.
4760 2018-01-12 Pedro Alves <palves@redhat.com>
4762 * gdb.base/continue-after-aborted-step-over.c: New.
4763 * gdb.base/continue-after-aborted-step-over.exp: New.
4765 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4767 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4768 options when not creating an executable.
4770 2018-01-11 Pedro Alves <palves@redhat.com>
4773 * gdb.server/stop-reply-no-thread.c: New file.
4774 * gdb.server/stop-reply-no-thread.exp: New file.
4776 2018-01-10 Pedro Alves <palves@redhat.com>
4779 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4780 functions too. Test setting breakpoints and printing C functions
4781 with no debug info too.
4782 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4784 2018-01-10 Pedro Alves <palves@redhat.com>
4787 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4790 2018-01-10 Pedro Alves <palves@redhat.com>
4793 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4795 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4797 * gdb.server/unittest.exp: Match the output in non-development
4800 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4802 * gdb.gdb/unittest.exp: Match output in non-development mode.
4804 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4806 * gdb.ada/access_tagged_param.exp: Relax expected output
4807 for value of "ObjL" in "continue" to pck.inspect breakpoint
4810 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4812 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4813 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4815 2018-01-05 Pedro Alves <palves@redhat.com>
4818 * gdb.base/libsegfault.exp: New.
4820 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4823 * gdb.ada/access_tagged_param.exp: New file.
4824 * gdb.ada/access_tagged_param/foo.adb: New file.
4826 2018-01-05 Pedro Alves <palves@redhat.com>
4829 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4830 exercise lower case too, and to exercise both full matching and
4833 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4835 * gdb.ada/rename_subscript_param: New testcase.
4837 2018-01-05 Jerome Guitton <guitton@adacore.com>
4839 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4841 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4843 * gdb.ada/convvar_comp: New testcase.
4845 2018-01-05 Xavier Roirand <roirand@adacore.com>
4847 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4848 (My_Table): New global variable.
4849 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4851 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4854 * gdb.ada/maint_with_ada: New testcase.
4856 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4859 * gdb.ada/bp_c_mixed_case: New testcase.
4861 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4864 * gdb.ada/complete.exp: Add "complete break ada" test.
4866 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4869 * gdb.ada/info_addr_mixed_case: New testcase.
4871 2018-01-03 Xavier Roirand <roirand@adacore.com>
4873 * gdb.ada/excep_handle.exp: New testcase.
4874 * gdb.ada/excep_handle/foo.adb: New file.
4875 * gdb.ada/excep_handle/pck.ads: New file.
4877 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4879 * gdb.base/step-line.c: Add extra empty line in copyright header.
4880 * gdb.base/step-line.inp: Likewise.
4882 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4884 * gdb.ada/dyn_stride.exp: Add slice test.
4886 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4888 * gdb.ada/dyn_stride: New testcase.
4890 2017-12-27 Stafford Horne <shorne@gmail.com>
4892 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4893 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4895 2017-12-27 Stafford Horne <shorne@gmail.com>
4897 * gdb.base/reggroups.c: New file.
4898 * gdb.base/reggroups.exp: New file.
4900 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4902 * gdb.dwarf2/ada-valprint-error.c: New file.
4903 * gdb.dwarf2/ada-valprint-error.exp: New file.
4905 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4907 * gdb.ada/assign_arr: New testcase.
4909 2017-12-18 Xavier Roirand <roirand@adacore.com>
4911 * gdb.ada/funcall_ptr: New testcase.
4913 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4916 * gdb.base/ptype-offsets.cc: New file.
4917 * gdb.base/ptype-offsets.exp: New file.
4919 2017-12-15 Yao Qi <yao.qi@linaro.org>
4921 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4924 2017-12-15 Xavier Roirand <roirand@adacore.com>
4926 * gdb.ada/same_component_name: New testcase.
4928 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4930 * gdb.ada/str_binop_equal: New testcase.
4932 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4934 * gdb.ada/task_switch_in_core: New testcase.
4936 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4938 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4939 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4940 call test_bkpt_qualified.
4941 (test_bkpt_qualified): New proc.
4943 2017-12-13 Pedro Alves <palves@redhat.com>
4945 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4946 Tighten regexp by matching with an anchor.
4948 2017-12-13 Pedro Alves <palves@redhat.com>
4950 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4951 ("expression with namespace"): New set of tests.
4952 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4953 (Nested::Test_NS::qux): New.
4954 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4955 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4957 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4959 * gdb.base/server-del-break.c: New file.
4960 * gdb.base/server-del-break.exp: New file.
4962 2017-12-12 Stafford Horne <shorne@gmail.com>
4964 * gdb.xml/tdesc-regs.exp: Add or1k support.
4966 2017-12-12 Stafford Horne <shorne@gmail.com>
4968 * gdb.base/bp-permanent.c: Define nop of or1k.
4970 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4972 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4973 output with components being reordered.
4975 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4977 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4978 output with components being reordered.
4980 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4981 Pedro Alves <palves@redhat.com>
4983 * gdb.base/maint.exp (check for .gdb_index): Check also for
4985 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4986 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4987 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4988 (.gdb_index used after symbol reloading): Support also .debug_names.
4989 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4991 2017-12-08 Yao Qi <yao.qi@linaro.org>
4993 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4994 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4996 2017-12-08 Yao Qi <yao.qi@linaro.org>
4998 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4999 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5001 2017-12-08 Yao Qi <yao.qi@linaro.org>
5003 * gdb.arch/aarch64-tagged-pointer.c: New file.
5004 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5006 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5008 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5011 2017-12-07 Keith Seitz <keiths@redhat.com>
5013 PR breakpoints/22569
5014 * gdb.linespec/ls-errs.exp: Change expected result of "break
5015 -source this file has spaces.c -line 3".
5016 Check that an explicit source file followed by whitespace is
5017 identified as an invalid explicit location.
5019 2017-12-07 Keith Seitz <keiths@redhat.com>
5021 * gdb.cp/nested-types.cc: New file.
5022 * gdb.cp/nested-types.exp: New file.
5023 * lib/cp-support.exp: Load data-structures.exp library.
5024 (debug_cp_test_ptype_class): New global.
5025 (cp_ptype_class_verbose, next_line): New procedures.
5026 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5027 Add and document new return value.
5028 Switch the list of lines to a queue.
5029 Add support for new `type' key for nested type definitions.
5030 Add debugging/troubleshooting messages.
5031 * lib/data-structures.exp: New file.
5033 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5035 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5036 with proc_with_prefix, don't use with_test_prefix.
5038 2017-12-07 Tom Tromey <tom@tromey.com>
5040 * gdb.base/break.exp: Add test for empty "commands".
5042 2017-12-07 Yao Qi <yao.qi@linaro.org>
5044 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5045 malloc and catch syscall.
5047 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5049 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5050 tests for explicit locations.
5052 2017-12-06 Pedro Alves <palves@redhat.com>
5054 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5055 force-disabling XML descriptions.
5057 2017-12-04 Pedro Alves <palves@redhat.com>
5060 * gdb.arch/amd64-disp-step-avx.S: New file.
5061 * gdb.arch/amd64-disp-step-avx.exp: New file.
5063 2017-12-03 Pedro Alves <palves@redhat.com>
5065 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5067 (parent_function): Print distinct messages when waitpid fails, or
5068 the child exits with a signal, or the child exits for an unhandled
5070 * gdb.threads/process-dies-while-detaching.exp
5071 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5072 it. Wait for both inferior output and GDB's prompt. Use an
5073 indirect spawn id list.
5074 (do_detach): New parameter 'child_exit'. Use it to compute
5075 expected inferior output.
5076 (test_detach, test_detach_watch, test_detach_killed_outside):
5077 Adjust to pass down the expected child exit kind.
5079 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5080 Sergio Durigan Junior <sergiodj@redhat.com>
5081 Pedro Alves <palves@redhat.com>
5083 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5085 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5087 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5088 to 'symbol-file' and 'add-symbol-file' can be
5089 position-independent.
5091 2017-12-01 Yao Qi <yao.qi@linaro.org>
5093 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5094 the URL in copyright header.
5095 * gdb.arch/aarch64-fp.exp: Likewise.
5096 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5097 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5098 * gdb.base/expand-psymtabs.exp: Likewise.
5099 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5100 * gdb.fortran/common-block.exp: Likewise.
5101 * gdb.fortran/common-block.f90: Likewise.
5102 * gdb.fortran/logical.exp: Likewise.
5103 * gdb.fortran/vla-datatypes.f90: Likewise.
5104 * gdb.fortran/vla-sub.f90: Likewise.
5106 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5108 * gdb.ada/repeat_dyn: New testcase.
5110 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5112 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5113 Update for changed thread numbering.
5114 * gdb.cell/bt.exp: Update for changed GDB output.
5116 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5118 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5119 setting isremote by hand.
5120 * boards/dwarf4-gdb-index.exp: Likewise.
5121 * boards/fission.exp: Likewise.
5122 * boards/stabs.exp: Likewise.
5124 2017-11-30 Pedro Alves <palves@redhat.com>
5126 * gdb.linespec/cpls-ops.exp
5127 (check_explicit_skips_function_argument): Extract the underlying
5128 type of size_t instead of hardcoding it.
5130 2017-11-29 Pedro Alves <palves@redhat.com>
5133 * gdb.linespec/cpls-abi-tag.cc: New file.
5134 * gdb.linespec/cpls-abi-tag.exp: New file.
5136 2017-11-29 Pedro Alves <palves@redhat.com>
5138 * gdb.base/langs.exp: Use -qualified.
5139 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5141 * gdb.cp/namespace.exp: Use -qualified.
5142 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5143 (overload-3, template-overload, template-ret-type, const-overload)
5144 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5146 (test_driver): Call them.
5147 * gdb.cp/save-bp-qualified.cc: New.
5148 * gdb.cp/save-bp-qualified.exp: New.
5149 * gdb.linespec/explicit.exp: Test -qualified.
5150 * lib/completion-support.exp (completion::explicit_opts_list): Add
5152 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5154 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5156 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5158 2017-11-29 Tom Tromey <tom@tromey.com>
5160 * gdb.base/relocate.exp: Update invalid argument test.
5161 Add new tests for invalid arguments.
5163 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5165 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5167 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5169 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5171 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5172 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5173 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5175 * gdb.cp/shadow.cc (B.func): Return 0.
5177 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5179 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5180 expected output in gdb_expect call to allow the exception
5181 message to be present as well. Fix syntax confusion to avoid
5182 TCL thinking that exception_name is an array.
5184 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5186 * gdb.arch/spu-info.c: Include <unistd.h>.
5187 (do_signal_test): Fix broken calls to write.
5188 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5189 Fix checks for empty mailboxes. Update signal tests for corrected
5190 do_signal_test routine. Allow nonzero event status.
5191 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5192 * gdb.cell/arch.exp: Use standard_output_file.
5193 * gdb.cell/break.exp: Likewise.
5194 * gdb.cell/bt.exp: Likewise.
5195 * gdb.cell/core.exp: Likewise.
5196 * gdb.cell/dwarfaddr.exp: Likewise.
5197 * gdb.cell/ea-cache.exp: Likewise.
5198 * gdb.cell/ea-standalone.exp: Likewise.
5199 * gdb.cell/f-regs.exp: Likewise.
5200 * gdb.cell/fork.exp: Likewise.
5201 * gdb.cell/gcore.exp: Likewise.
5202 * gdb.cell/mem-access.exp: Likewise.
5203 * gdb.cell/ptype.exp: Likewise.
5204 * gdb.cell/registers.exp: Likewise.
5205 * gdb.cell/sizeof.exp: Likewise.
5206 * gdb.cell/solib-symbol.exp: Likewise.
5207 * gdb.cell/solib.exp: Likewise.
5209 2017-11-25 Pedro Alves <palves@redhat.com>
5211 * gdb.base/complete-empty.exp: New file.
5212 * gdb.base/completion.exp: Adjust.
5214 2017-11-25 Pedro Alves <palves@redhat.com>
5216 * gdb.linespec/cpls-ops.cc: New file.
5217 * gdb.linespec/cpls-ops.exp: New file.
5218 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5219 factored out from ...
5220 (test_complete_prefix_range): ... this.
5222 2017-11-24 Pedro Alves <palves@redhat.com>
5224 * gdb.linespec/cpcompletion.exp: New file.
5225 * gdb.linespec/cpls-hyphen.cc: New file.
5226 * gdb.linespec/cpls.cc: New file.
5227 * gdb.linespec/cpls2.cc: New file.
5228 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5229 test to use test_gdb_complete_unique. Add label completion,
5230 keyword completion and explicit location completion tests.
5231 * lib/completion-support.exp: New file.
5233 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5235 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5236 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5237 when hitting an exception catchpoint.
5239 2017-11-22 Yao Qi <yao.qi@linaro.org>
5241 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5243 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5245 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5246 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5247 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5249 2017-11-22 Yao Qi <yao.qi@linaro.org>
5251 * gdb.base/info-os.exp: Pass pthreads.
5252 * gdb.multi/multi-attach.exp: Likewise.
5254 2017-11-22 Yao Qi <yao.qi@linaro.org>
5256 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5259 2017-11-22 Yao Qi <yao.qi@linaro.org>
5261 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5262 * gdb.base/break-interp.exp: Likewise.
5263 * gdb.base/jit-attach-pie.exp: Likewise.
5265 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5267 * gdb.base/float128.c (large128): New variable.
5268 * gdb.base/float128.exp: Add test to print largest __float128 value.
5270 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5272 * gdb.arch/vsx-regs.exp: Update register content checks.
5274 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5276 * gdb.arch/ppc-longdouble.exp: New file.
5277 * gdb.arch/ppc-longdouble.c: Likewise.
5279 2017-11-21 Pedro Alves <palves@redhat.com>
5281 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5283 2017-11-20 Pedro Alves <palves@redhat.com>
5285 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5286 (long_double_typedef): New typedefs.
5287 Use DEF on double and long double.
5288 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5290 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5291 and 'long_double_ptr_same_size' locals. Use them to decide
5292 whether cast from array/function to float is valid/invalid.
5294 2017-11-17 Tom Tromey <tom@tromey.com>
5296 * gdb.rust/traits.rs: New file.
5297 * gdb.rust/traits.exp: New file.
5299 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5301 * gdb.ada/minsyms: New testcase.
5303 2017-11-16 Pedro Alves <palves@redhat.com>
5305 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5306 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5308 2017-11-16 Pedro Alves <palves@redhat.com>
5310 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5311 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5313 2017-11-16 Pedro Alves <palves@redhat.com>
5315 * gdb.server/reconnect-ctrl-c.c: New file.
5316 * gdb.server/reconnect-ctrl-c.exp: New file.
5318 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5320 * gdb.python/py-rbreak.exp: New file.
5321 * gdb.python/py-rbreak.c: New file.
5322 * gdb.python/py-rbreak-func2.c: New file.
5324 2017-11-16 Pedro Alves <palves@redhat.com>
5326 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5328 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5331 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5333 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5336 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5338 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5341 2017-11-09 Pedro Alves <palves@redhat.com>
5343 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5344 factored out from ...
5345 (top level): ... here, and adjusted to avoid expecting beyond the
5346 prompt in a single gdb_test_multiple.
5348 2017-11-09 Pedro Alves <palves@redhat.com>
5350 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5352 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5353 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5354 * gdb.server/ext-run.exp ("kill" test): Likewise.
5355 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5357 2017-11-09 Pedro Alves <palves@redhat.com>
5359 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5360 match till end of line.
5362 2017-11-09 Pedro Alves <palves@redhat.com>
5364 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5366 2017-11-09 Pedro Alves <palves@redhat.com>
5368 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5369 New procedures, factored out from ...
5370 (top level): ... here, and adjusted to avoid expecting beyond the
5373 2017-11-09 Pedro Alves <palves@redhat.com>
5375 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5376 output. Fix '?' match.
5378 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5380 * gdb.ada/scoped_watch: New testcase.
5381 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5382 which is actually correct.
5383 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5384 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5386 2017-11-08 Pedro Alves <palves@redhat.com>
5388 * gdb.gdb/complaints.exp (test_initial_complaints)
5389 (test_serial_complaints, test_short_complaints): Call
5390 complaint_internal instead of complaint.
5392 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5394 * gdb.threads/tls-core.c: New file.
5395 * gdb.threads/tls-core.exp: Likewise.
5397 2017-11-08 Pedro Alves <palves@redhat.com>
5399 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5400 (p Exported_Capitalized): New test.
5401 (p exported_capitalized): New test.
5403 2017-11-07 Pedro Alves <palves@redhat.com>
5405 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5407 2017-11-07 Pedro Alves <palves@redhat.com>
5409 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5410 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5411 (disable_invalid, disable_inverted, disable_negative): New
5413 ("bad numbers"): New set of tests.
5415 2017-11-07 Pedro Alves <palves@redhat.com>
5417 * gdb.cp/ena-dis-br-range.exp: Add tests.
5419 2017-11-07 Pedro Alves <palves@redhat.com>
5421 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5423 2017-11-07 Xavier Roirand <roirand@adacore.com>
5424 Pedro Alves <palves@redhat.com>
5426 * gdb.base/ena-dis-br.exp: Add reference to
5427 gdb.cp/ena-dis-br-range.exp.
5428 * gdb.cp/ena-dis-br-range.exp: New file.
5429 * gdb.cp/ena-dis-br-range.cc: New file.
5431 2017-11-06 Pedro Alves <palves@redhat.com>
5433 * gdb.base/attach-non-pgrp-leader.c: New.
5434 * gdb.base/attach-non-pgrp-leader.exp: New.
5436 2017-11-06 Pedro Alves <palves@redhat.com>
5438 * configure.ac: No longer check for termio.h and sgtty.h.
5439 * configure: Regenerate.
5440 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5441 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5442 Remove termio and sgtty code.
5444 2017-11-03 Yao Qi <yao.qi@linaro.org>
5446 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5449 2017-11-03 Yao Qi <yao.qi@linaro.org>
5451 * gdb.python/py-thrhandle.exp: Skip it if python is not
5454 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5456 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5457 as a breakpoint command.
5459 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5462 * gdb.python/py-infthread.exp: Test calling
5463 InferiorThread.inferior () multiple times in a row.
5465 2017-10-27 Keith Seitz <keiths@redhat.com>
5467 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5468 Test "info break" for every inlined function breakpoint.
5470 2017-10-27 Yao Qi <yao.qi@linaro.org>
5472 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5474 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5476 * gdb.cp/classes.exp (test_static_members): Test printing
5478 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5479 (Inner::instance, Outer::instance): New.
5481 2017-10-24 Pedro Alves <palves@redhat.com>
5483 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5484 extra console" test in two stages.
5486 2017-10-24 Pedro Alves <palves@redhat.com>
5488 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5490 2017-10-24 Pedro Alves <palves@redhat.com>
5492 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5495 2017-10-24 Pedro Alves <palves@redhat.com>
5497 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5498 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5500 2017-10-24 Pedro Alves <palves@redhat.com>
5502 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5503 parameter and handle it. Don't output read value in test name.
5505 2017-10-24 Pedro Alves <palves@redhat.com>
5507 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5510 2017-10-24 Pedro Alves <palves@redhat.com>
5512 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5513 include the unstable output directory name in the test's name.
5514 (initial_setup_simple) <'set args'>: Use custom test name.
5516 2017-10-24 Pedro Alves <palves@redhat.com>
5518 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5519 with explicit test name.
5521 2017-10-20 Pedro Alves <palves@redhat.com>
5523 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5524 'wait -i'. Use gdb_assert and remote_close.
5526 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5528 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5529 number from variable rather than hard-coded.
5531 2017-10-19 Pedro Alves <palves@redhat.com>
5533 * gdb.base/long-inferior-output.c: New file.
5534 * gdb.base/long-inferior-output.exp: New file.
5536 2017-11-18 Keith Seitz <keiths@redhat.com>
5538 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5541 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5542 Add additional user-defined conversion operator tests.
5544 2017-10-17 Pedro Alves <palves@redhat.com>
5546 * boards/native-stdio-gdbserver.exp: Load "local-board".
5548 2017-10-17 Pedro Alves <palves@redhat.com>
5550 * gdb.base/quit-live.c: New file.
5551 * gdb.base/quit-live.exp: New file.
5553 2017-10-16 Keith Seitz <keiths@redhat.com>
5555 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5556 (class_with_protected_typedef, class_with_private_typedef)
5557 (struct_with_public_typedef, struct_with_protected_typedef)
5558 (struct_with_private_typedef): New classes/structs.
5559 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5560 typedefs and access specifiers.
5562 2017-10-16 Pedro Alves <palves@redhat.com>
5563 Simon Marchi <simon.marchi@polymtl.ca>
5565 * README (Local vs Remote vs Native): New section.
5566 * boards/local-board.exp: New file, with bits factored out from
5568 * boards/native-extended-gdbserver.exp: ... here. Load
5570 * boards/native-gdbserver.exp: Load "local-board".
5571 (${board}_spawn, ${board}_exec): Delete.
5572 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5574 * boards/stdio-gdbserver-base.exp: ... this new file.
5575 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5576 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5578 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5579 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5580 stdio_gdbserver_command.
5581 (${board}_get_remote_address, ${board}_get_comm_port)
5582 (${board}_download, ${board}_upload): Delete.
5583 (get_target_remote_pipe_cmd): New.
5585 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5587 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5588 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5589 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5590 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5591 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5592 remove with_test_prefix.
5594 2017-10-13 Pedro Alves <palves@redhat.com>
5596 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5597 * gdb.base/annota1.exp: Use it instead of is_remote.
5598 * gdb.base/annota3.exp: Use it instead of is_remote.
5599 * gdb.cp/annota2.exp: Use it instead of is_remote.
5600 * gdb.cp/annota3.exp: Use it instead of is_remote.
5601 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5603 2017-10-13 Pedro Alves <palves@redhat.com>
5605 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5606 (test_num_test_vars, run_and_count_vars, find_env)
5607 (test_set_unset_env, test_inherit_env_var): New procedures.
5608 (top level): Use them.
5610 2017-10-13 Pedro Alves <palves@redhat.com>
5612 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5613 also skip on stub-like targets.
5615 2017-10-13 Pedro Alves <palves@redhat.com>
5618 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5619 (top level): Move some tests to ...
5620 (test_not_found): ... this new procedure.
5621 (top level): Call it.
5623 2017-10-13 Pedro Alves <palves@redhat.com>
5625 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5626 expect different "info terminal" output if testing with a
5629 2017-10-13 Pedro Alves <palves@redhat.com>
5630 Simon Marchi <simon.marchi@polymtl.ca>
5633 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5635 2017-10-13 Pedro Alves <palves@redhat.com>
5637 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5640 2017-10-13 Pedro Alves <palves@redhat.com>
5642 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5645 2017-10-13 Pedro Alves <palves@redhat.com>
5647 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5650 2017-10-13 Pedro Alves <palves@redhat.com>
5652 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5654 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5655 instead of is_remote.
5657 2017-10-13 Pedro Alves <palves@redhat.com>
5659 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5660 (top level): Add comment.
5662 2017-10-13 Pedro Alves <palves@redhat.com>
5664 * gdb.base/remote.exp (top level): Fix comment typo and add
5667 2017-10-13 Pedro Alves <palves@redhat.com>
5668 Simon Marchi <simon.marchi@polymtl.ca>
5670 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5671 calls and add comments. Skip test if use_gdb_stub is set.
5672 (top level): Use "set cwd" command instead of "cd" command.
5674 2017-10-13 Pedro Alves <palves@redhat.com>
5676 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5677 is_remote target check.
5679 2017-10-13 Pedro Alves <palves@redhat.com>
5681 * gdb.base/scope.exp: Use build_executable + clean_restart +
5682 gdb_file_cmd instead of prepare_for_testing and no longer skip
5683 "before run" tests on is_remote target boards. Update comments.
5684 * boards/native-extended-gdbserver.exp
5685 (extended_gdbserver_load_last_file): New, factored out from ...
5686 (gdb_load): ... this. Move further below and add comment.
5687 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5689 2017-10-12 Pedro Alves <palves@redhat.com>
5691 * gdb.base/attach.exp: Remove references to gdb64.
5692 * gdb.base/dbx.exp: Remove references to gdb64.
5694 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5695 Pedro Alves <palves@redhat.com>
5697 * gdb.base/label.exp: Remove is_remote target check.
5699 2017-10-12 Pedro Alves <palves@redhat.com>
5701 * gdb.base/auvx.exp (coredir): Update comment.
5702 (top level) <core_works>: Use "set cwd" command instead of "cd"
5705 2017-10-12 Pedro Alves <palves@redhat.com>
5706 Simon Marchi <simon.marchi@polymtl.ca>
5708 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5711 2017-10-12 Pedro Alves <palves@redhat.com>
5712 Simon Marchi <simon.marchi@polymtl.ca>
5714 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5715 Instead skip if there's any gdb_protocol set.
5717 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5718 Pedro Alves <palves@redhat.com>
5720 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5722 2017-10-12 Pedro Alves <palves@redhat.com>
5723 Simon Marchi <simon.marchi@polymtl.ca>
5725 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5726 instead of on dejagnu remote boards.
5728 2017-10-12 Pedro Alves <palves@redhat.com>
5729 Simon Marchi <simon.marchi@polymtl.ca>
5731 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5732 checks. Use build_executable + clean_restart instead of
5733 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5734 of enabling non-stop after starting gdb.
5736 2017-10-12 Pedro Alves <palves@redhat.com>
5738 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5739 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5740 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5741 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5743 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5745 * gdb.arch/arc-tdesc-cpu.exp: New file.
5746 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5748 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5750 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5752 2017-10-10 Pedro Alves <palves@redhat.com>
5754 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5757 2017-10-10 Pedro Alves <palves@redhat.com>
5759 * lib/selftest-support.exp (selftest_setup): Update for
5760 captured_command_loop's prototype change.
5762 2017-10-09 Pedro Alves <palves@redhat.com>
5764 Test both arch1=>arch2 and arch2=>arch1.
5766 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5767 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5769 (append_arch1_options, append_arch2_options, append_arch_options)
5770 (build_executables): New procedures.
5771 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5773 (top level): Add new 'first_arch' testing axis.
5775 2017-10-09 Pedro Alves <palves@redhat.com>
5777 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5779 (thread_start, all_started): New functions.
5780 (main): Spawn new thread and wait until it is scheduled.
5781 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5783 (do_test): Add 'selected_thread' parameter. Run to all_started
5784 instead of main. Explicitly set the breakpoint at main. Switch
5785 to the SELECTED_THREAD thread.
5786 (top level): Test handling the exec event with either the main
5787 thread or the second thread selected.
5789 2017-10-09 Pedro Alves <palves@redhat.com>
5791 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5792 logic. Move STOP marker after the value checks.
5793 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5796 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5798 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5800 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5802 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5803 integer-to-dfp conversion.
5804 * gdb.base/dfp-test.exp: Likewise.
5806 2017-10-04 Pedro Alves <palves@redhat.com>
5808 * gdb.multi/hangout.c: Include <unistd.h>.
5809 (hangout_loop): New function.
5810 (main): Call alarm. Call hangout_loop in a loop.
5811 * gdb.multi/hello.c: Include <unistd.h>.
5812 (hello_loop): New function.
5813 (main): Call alarm. Call hangout_loop in a loop.
5814 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5815 inferior with the other selected.
5817 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5819 * gdb.mi/list-thread-groups-available.exp: New file.
5820 * gdb.mi/list-thread-groups-available.c: New file.
5822 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5824 * gdb.base/set-cwd.exp: Make it available on
5825 native-extended-gdbserver.
5827 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5829 * gdb.base/set-cwd.c: New file.
5830 * gdb.base/set-cwd.exp: Likewise.
5832 2017-10-02 Tom Tromey <tom@tromey.com>
5835 * gdb.rust/simple.rs (main): New variable "fslice".
5836 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5838 2017-10-02 Tom Tromey <tom@tromey.com>
5840 * gdb.rust/simple.exp: Test ptype of a slice.
5842 2017-10-02 Tom Tromey <tom@tromey.com>
5844 * gdb.rust/simple.exp: Test index of slice.
5846 2017-09-27 Tom Tromey <tom@tromey.com>
5848 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5850 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5851 Pedro Alves <palves@redhat.com>
5853 * gdb.base/compare-sections.exp (get value of read-only section): Read
5855 (corrupt read-only section): Likewise and don't set written if patching
5858 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5860 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5863 2017-09-20 Pedro Alves <palves@redhat.com>
5865 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5866 symbol names in gdb's output.
5867 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5869 2017-09-20 Pedro Alves <palves@redhat.com>
5871 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5873 (test_list_ambiguous_symbol): ... this and add a symbol name
5875 (test_list_ambiguous_function): Reimplement on top of
5876 test_list_ambiguous_symbol and also test listing ambiguous
5878 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5879 (ambiguous_fun): ... this.
5880 (ambiguous_var): New.
5881 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5882 (ambiguous_fun): ... this.
5883 (ambiguous_var): New.
5885 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5887 * gdb.base/starti.c: New file.
5888 * gdb.base/starti.exp: New file.
5889 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5891 2017-09-14 Pedro Alves <palves@redhat.com>
5893 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5894 (top level): Use it instead of runto.
5896 2017-09-11 Tom Tromey <tom@tromey.com>
5898 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5900 2017-09-11 Tom Tromey <tom@tromey.com>
5902 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5903 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5905 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5907 * gdb.fortran/printing-types.exp: New file.
5908 * gdb.fortran/printing-types.exp: New file.
5910 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5912 * gdb.fortran/vla-ptype.exp: Fix typos.
5913 * gdb.fortran/vla-value.exp: Same.
5915 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5917 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5918 * gdb.mi/mi-var-child-f.exp: Likewise.
5919 * gdb.mi/mi-vla-fortran.exp: Likewise.
5921 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5922 Christoph Weinmann <christoph.t.weinmann@intel.com>
5923 Bernhard Heckel <bernhard.heckel@intel.com>
5925 * gdb.fortran/ptr-indentation.f90: New file.
5926 * gdb.fortran/ptr-indentation.exp: New file.
5928 2017-09-05 Tom Tromey <tom@tromey.com>
5931 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5933 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5935 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5937 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5939 * gdb.threads/tls-nodebug-pie.c: New file.
5940 * gdb.threads/tls-nodebug-pie.exp: New file.
5942 2017-09-05 Tom Tromey <tom@tromey.com>
5944 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5947 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5949 * gdb.multi/multi-arch-exec.exp: Test with different
5950 "follow-exec-mode" settings.
5951 (do_test): New procedure.
5953 2017-09-04 Pedro Alves <palves@redhat.com>
5955 * gdb.base/func-static.c (S::method const, S::method volatile)
5956 (S::method volatile const): New methods.
5957 (c_s, v_s, cv_s): New instances.
5958 (main): Call method() on them.
5959 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5960 (cannot_resolve): New procedure.
5961 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5962 print-quote-unquoted columns.
5963 (do_test): Test printing each scope too.
5965 2017-09-04 Pedro Alves <palves@redhat.com>
5967 * gdb.base/local-static.exp: Also test with
5968 class::method::variable wholly quoted.
5969 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5971 2017-09-04 Pedro Alves <palves@redhat.com>
5973 * gdb.base/local-static.c: New.
5974 * gdb.base/local-static.cc: New.
5975 * gdb.base/local-static.exp: New.
5977 2017-09-04 Pedro Alves <palves@redhat.com>
5979 * gdb.asm/asm-source.exp: Add casts to int.
5980 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5981 (dataglobal64_1, dataglobal64_2): New globals.
5982 * gdb.base/nodebug.exp: Test different expressions involving the
5983 new globals, with print, whatis and ptype. Add casts to int.
5984 * gdb.base/solib-display.exp: Add casts to int.
5985 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5986 * gdb.cp/m-static.exp: Add cast to int.
5987 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5988 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5989 tls variable with no debug info without a cast. Test with a cast
5991 * gdb.trace/entry-values.exp: Add casts.
5993 2017-09-04 Pedro Alves <palves@redhat.com>
5995 * gdb.base/nodebug.exp: Test that ptype's error about functions
5996 with unknown return type includes the function name too.
5998 2017-09-04 Pedro Alves <palves@redhat.com>
6000 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6001 return type of munmap in infcall.
6002 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6003 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6004 type of ftell in infcall.
6005 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6006 type of getpid in infcall.
6007 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6009 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6010 Bail on failure to extract the pid.
6011 * gdb.base/nodebug.c: #include <stdint.h>.
6012 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6014 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6015 Change expected output of print/whatis/ptype with functions with
6016 no debug info. Test all supported languages. Call
6017 test_call_promotion.
6018 * gdb.compile/compile.exp: Adjust expected output to expect
6020 * gdb.threads/siginfo-threads.exp: Likewise.
6022 2017-09-04 Pedro Alves <palves@redhat.com>
6024 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6025 "prototypes". Test calling float functions via prototyped and
6026 unprototyped function pointers.
6027 (perform_all_tests): New parameter "prototypes". Pass it down.
6028 (top level): Pass down "prototypes" parameter to
6031 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6033 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6034 Test with nested loops.
6036 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6038 * gdb.base/commands.exp: Call the new procedures.
6039 (loop_break_test, loop_continue_test): New procedures.
6041 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6043 * gdb.base/commands.exp: Call new procedure.
6044 (define_if_without_arg_test): New procedure.
6046 2017-09-04 Pedro Alves <palves@redhat.com>
6048 * gdb.base/list-ambiguous.exp: New file.
6049 * gdb.base/list-ambiguous0.c: New file.
6050 * gdb.base/list-ambiguous1.c: New file.
6051 * gdb.base/list.exp (test_list_range): Adjust expected output.
6053 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6055 * gdb.base/share-env-with-gdbserver.c: New file.
6056 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6058 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6060 * gdb.base/commands.exp (gdbvar_simple_if_test,
6061 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6062 progvar_simple_if_test, progvar_simple_while_test,
6063 progvar_complex_if_while_test, user_defined_command_test,
6064 user_defined_command_args_eval,
6065 user_defined_command_args_stack_test,
6066 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6067 temporary_breakpoint_commands,
6068 gdb_test_no_prompt, redefine_hook_test,
6069 redefine_backtrace_test): Remove "global gdb_prompt".
6071 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6073 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6074 New proc, call it from toplevel.
6076 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6079 * gdb.server/normal.c: New file, copied from gdb.base.
6080 * gdb.server/run-without-local-binary.exp: New file.
6082 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6084 * gdb.arch/sparc64-adi.exp: New file.
6085 * gdb.arch/sparc64-adi.c: New file.
6087 2017-08-22 Pedro Alves <palves@redhat.com>
6089 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6090 (top level): Add "list all overloads" tests.
6092 2017-08-22 Tom Tromey <tom@tromey.com>
6094 * gdb.gdb/xfullpath.exp: Remove.
6096 2017-08-21 Pedro Alves <palves@redhat.com>
6099 * gdb.base/symbol-alias.c: New.
6100 * gdb.base/symbol-alias2.c: New.
6101 * gdb.base/symbol-alias.exp: New.
6103 2017-08-21 Pedro Alves <palves@redhat.com>
6105 * gdb.base/dfp-test.c
6106 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6107 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6108 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6109 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6110 * gdb.base/whatis-ptype-typedefs.c: New.
6111 * gdb.base/whatis-ptype-typedefs.exp: New.
6112 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6113 (an_int, an_int_type, an_int_type2): New globals.
6114 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6115 involving typedefs and cast expressions.
6116 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6117 (lookup_typedefs_function): New.
6118 (typedefs_pretty_printers_dict): New.
6119 (top level): Register lookup_typedefs_function in
6120 gdb.pretty_printers.
6122 2017-08-18 Yao Qi <yao.qi@linaro.org>
6124 * gdb.server/unittest.exp: New.
6126 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6129 * gdb.base/environ.exp: Add test to check if 'unset environment'
6132 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6134 * lib/gdb.exp (universal_compile_options): New caching proc.
6135 (gdb_compile): Suppress GCC's coloring of messages.
6137 2017-08-14 Tom Tromey <tom@tromey.com>
6140 * gdb.base/printcmds.exp (test_radices): New function.
6141 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6142 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6143 * lib/gdb.exp (get_integer_valueof): Use p/d.
6145 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6147 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6150 2017-08-05 Tom Tromey <tom@tromey.com>
6152 * gdb.rust/simple.exp: Allow String to appear in a different
6155 2017-07-26 Yao Qi <yao.qi@linaro.org>
6157 * gdb.gdb/unittest.exp: Invoke command
6158 "maintenance check xml-descriptions".
6160 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6162 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6164 (hex128): Drop erroneous calculation of parameters.
6166 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6168 * gdb.python/py-unwind.exp: Disable stack protection when
6171 2017-07-20 Pedro Alves <palves@redhat.com>
6173 * gdb.base/default.exp (set language): Adjust expected output.
6175 2017-07-20 Pedro Alves <palves@redhat.com>
6177 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6178 (test_minsym): ... this, and make static.
6179 (get_pck__foo__bar__minsym): Rename to ...
6180 (get_test_minsym): ... this.
6181 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6182 symbol names and comments.
6183 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6184 (get_test_minsym): ... this.
6185 (pck__foo__bar__minsym__2): Rename to ...
6186 (test_minsym): ... this.
6189 2017-07-17 Pedro Alves <palves@redhat.com>
6191 * gdb.base/completion.exp: Adjust expected output.
6192 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6193 the completer works.
6195 2017-07-17 Pedro Alves <palves@redhat.com>
6197 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6199 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6201 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6203 2017-07-14 Tom Tromey <tom@tromey.com>
6206 * gdb.rust/simple.exp: Add tests.
6208 2017-07-14 Tom Tromey <tom@tromey.com>
6210 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6212 2017-07-14 Pedro Alves <palves@redhat.com>
6214 * gdb.linespec/base/one/thefile.cc (z1): New function.
6215 * gdb.linespec/base/two/thefile.cc (z2): New function.
6216 * gdb.linespec/linespec.exp: Add tests.
6218 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6220 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6221 to mi_create_breakpoint.
6223 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6225 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6226 mi_create_breakpoint.
6228 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6230 * gdb.dlang/demangle.exp: Update for demangling changes.
6232 2017-07-09 Tom Tromey <tom@tromey.com>
6234 * gdb.dwarf2/shortpiece.exp: New file.
6236 2017-07-06 David Blaikie <dblaikie@gmail.com>
6238 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6239 built from fissiont-multi-cu{1,2}.c.
6240 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6241 except putting 'main' and 'func' in separate CUs in the same DWO file.
6242 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6244 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6247 2017-07-06 Pedro Alves <palves@redhat.com>
6249 * gdb.python/py-unwind.exp: Test flushregs.
6251 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6254 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6255 tests for alias commands and trailing whitespace.
6257 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6260 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6263 2017-06-29 Pedro Alves <palves@redhat.com>
6265 * gdb.base/printcmds.exp: Add tests.
6267 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6270 * gdb.base/reread-readsym.exp: New file.
6271 * gdb.base/reread-readsym.c: New file.
6273 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6275 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6278 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6280 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6282 * gdb.arch/powerpc-power9.s: Likewise.
6284 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6286 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6287 on 32-bit x86 targets. Exploit is_*_target macros where
6290 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6292 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6295 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6297 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6298 located in one or more DWARF pieces.
6300 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6302 * lib/gdb.exp (get_endianness): New proc.
6303 * gdb.arch/aarch64-fp.exp: Use it.
6304 * gdb.arch/altivec-regs.exp: Likewise.
6305 * gdb.arch/e500-regs.exp: Likewise.
6306 * gdb.arch/vsx-regs.exp: Likewise.
6307 * gdb.base/dump.exp: Likewise.
6308 * gdb.base/funcargs.exp: Likewise.
6309 * gdb.base/gnu_vector.exp: Likewise.
6310 * gdb.dwarf2/formdata16.exp: Likewise.
6311 * gdb.dwarf2/implptrpiece.exp: Likewise.
6312 * gdb.dwarf2/nonvar-access.exp: Likewise.
6313 * gdb.python/py-inferior.exp: Likewise.
6314 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6316 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6319 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6320 stack value pieces are taken from the LSB end.
6322 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6324 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6325 variable at nonzero offset.
6327 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6329 * gdb.dwarf2/var-access.c: New file.
6330 * gdb.dwarf2/var-access.exp: New test.
6331 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6333 2017-06-12 Tom Tromey <tom@tromey.com>
6335 * gdb.dwarf2/formdata16.exp: Add tests.
6337 2017-06-12 Tom Tromey <tom@tromey.com>
6339 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6341 2017-06-12 Tom Tromey <tom@tromey.com>
6344 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6345 * gdb.arch/vsx-regs.exp: Update tests.
6346 * gdb.arch/s390-vregs.exp (hex128): New proc.
6348 * gdb.arch/altivec-regs.exp: Update tests.
6350 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6352 * gdb.base/startup-with-shell.c: New file.
6353 * gdb.base/startup-with-shell.exp: Likewise.
6355 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6357 * gdb.server/non-existing-program.exp: Update regex in order to
6358 reflect the fact that gdbserver is now using fork_inferior (with a
6359 shell) to startup the inferior.
6361 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6363 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6364 support function calls from GDB.
6366 2017-05-21 Tom Tromey <tom@tromey.com>
6369 * gdb.rust/unsized.exp: New file.
6370 * gdb.rust/unsized.rs: New file.
6372 2017-05-19 Tom Tromey <tom@tromey.com>
6375 * gdb.rust/watch.exp: New file.
6376 * gdb.rust/watch.rs: New file.
6378 2017-05-18 Tom Tromey <tom@tromey.com>
6380 * gdb.rust/simple.exp: Allow Box to be qualified.
6382 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6384 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6386 2017-05-18 Pedro Alves <palves@redhat.com>
6388 * gdb.base/fileio.c (test_write, test_read, test_close)
6389 (test_fstat): Don't print 'ret' in the fail path.
6391 2017-05-18 Pedro Alves <palves@redhat.com>
6393 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6394 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6395 (test_system, test_rename, test_unlink, test_time): Change
6397 * gdb.base/fileio.exp (stop_msg): Adjust.
6399 2017-05-18 Pedro Alves <palves@redhat.com>
6401 * gdb.base/fileio.c (null_str): New global.
6402 (test_stat): Use it.
6403 * gdb.base/fileio.exp: Remove nowarnings.
6405 2017-05-17 Yao Qi <yao.qi@linaro.org>
6407 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6409 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6411 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6413 (top-level): Invoke test_set_inferior_tty.
6415 2017-05-04 Pedro Alves <palves@redhat.com>
6417 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6418 Add parens to print call for Python 3.
6420 2017-05-03 Keith Seitz <keiths@redhat.com>
6422 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6425 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6427 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6430 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6432 * gdb.python/py-record-btrace.exp: Remove test for
6433 gdb.BtraceInstruction.error.
6435 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6437 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6439 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6441 * gdb.python/py-record-btrace-threads.c: New file.
6442 * gdb.python/py-record-btrace-threads.exp: New file.
6444 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6447 * gdb.base/environ.exp: Make test available in all architectures.
6448 Move bits related to "info program" testing to
6449 gdb.base/info-program.exp. Rewrite tests to use the two new
6450 procedures mentione below.
6451 (test_set_show_env_var) New procedure.
6452 (test_set_show_env_var_equal): Likewise.
6453 * gdb.base/info-program.exp: New file.
6455 2017-04-27 Keith Seitz <keiths@redhat.com>
6457 * gdb.cp/oranking.cc (test15): New function.
6458 (main): Call test15 and declare additional variables for testing.
6459 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6460 "p foo101('abc')" tests.
6461 Add tests for cv qualifier overloads.
6462 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6463 "lvalue reference overload" test.
6464 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6465 "print value of f1 on Child&& in f2" test.
6467 2017-04-19 Pedro Alves <palves@redhat.com>
6469 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6471 (top level): Call it.
6472 * lib/gdb.exp (gdb_define_cmd): New procedure.
6474 2017-04-12 Pedro Alves <palves@redhat.com>
6477 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6478 (wchar): New global.
6479 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6480 (do_test_wide_char, wide_char_types_no_program, top level): Add
6483 2017-04-12 Pedro Alves <palves@redhat.com>
6486 * gdb.cp/wide_char_types.c: New file.
6487 * gdb.cp/wide_char_types.exp: New file.
6489 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6492 * gdb.trace/tsv.exp: Add test for "tsave -r".
6494 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6496 * gdb.dlang/watch-loc.c: New file.
6497 * gdb.dlang/watch-loc.exp: New file.
6499 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6501 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6503 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6505 * gdb.arch/arc-analyze-prologue.S: New file.
6506 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6508 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6510 * gdb.arch/arc-decode-insn.S: New file.
6511 * gdb.arch/arc-decode-insn.exp: Likewise.
6513 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6516 * gdb.arch/sparc64-regs.exp: New file.
6517 * gdb.arch/sparc64-regs.S: Likewise.
6519 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6521 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6522 and memory view on Python 3.
6524 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6525 Keith Seitz <keiths@redhat.com>
6528 * gdb.cp/demangle.exp: Add rvalue reference tests.
6529 * gdb.cp/rvalue-ref-casts.cc: New file.
6530 * gdb.cp/rvalue-ref-casts.exp: New file.
6531 * gdb.cp/rvalue-ref-overload.cc: New file.
6532 * gdb.cp/rvalue-ref-overload.exp: New file.
6533 * gdb.cp/rvalue-ref-params.cc: New file.
6534 * gdb.cp/rvalue-ref-params.exp: New file.
6535 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6536 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6537 * gdb.cp/rvalue-ref-types.cc: New file.
6538 * gdb.cp/rvalue-ref-types.exp: New file.
6539 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6540 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6542 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6544 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6547 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6549 * lib/mi-support.exp (mi_gdb_test): Add additional message
6550 for unexpected output.
6552 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6554 * gdb.base/examine-backward.c (Barrier): New character array
6555 constant, to ensure that TestStrings is preceded by a string
6558 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6560 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6561 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6562 and implicit pointer into such a location.
6564 2017-03-16 Doug Evans <dje@google.com>
6566 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6568 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6570 * gdb.cp/m-static.exp: Fix expectation for prototype of
6571 test5.single_constructor and single_constructor::single_constructor.
6573 2017-03-16 Doug Evans <dje@google.com>
6575 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6576 * gdb.guile/scm-lazy-string.c: New file.
6577 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6578 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6579 for pointer, array, typedef lazy strings.
6581 2017-03-16 Doug Evans <dje@google.com>
6583 PR python/17728, python/18439, python/18779
6584 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6585 * gdb.python/py-lazy-string.c (pointer): New typedef.
6586 (main): New locals ptr, array, typedef_ptr.
6587 * gdb.python/py-value.exp: Move lazy string tests to ...
6588 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6589 array, typedef lazy strings.
6591 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6593 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6594 Add optional 'test' parameter.
6596 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6598 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6599 Skip for versions of DejaGnu < 1.5.
6601 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6603 * lib/gdb.exp (dejagnu_version): New proc.
6604 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6605 Use dejagnu_version.
6607 2017-03-10 Keith Seitz <keiths@redhat.com>
6610 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6611 type from destructor regexps.
6612 Add a branch which actually passes the test.
6613 Adjust "ptype t5i" test names.
6615 2017-03-08 Pedro Alves <palves@redhat.com>
6617 * gdb.base/step-over-exit.exp: Add explicit test message.
6619 2017-03-08 Pedro Alves <palves@redhat.com>
6622 * gdb.threads/interrupt-while-step-over.c: New file.
6623 * gdb.threads/interrupt-while-step-over.exp: New file.
6625 2017-03-08 Pedro Alves <palves@redhat.com>
6627 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6628 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6630 2017-03-08 Pedro Alves <palves@redhat.com>
6632 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6633 PKRU as not supported as a PASS.
6635 2017-03-08 Pedro Alves <palves@redhat.com>
6637 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6638 prefix instead of $binfile1/$binfile2.
6639 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6641 * gdb.python/py-completion.exp: Use "load python file" as test
6642 messages instead of unstable path names.
6644 2017-03-08 Pedro Alves <palves@redhat.com>
6645 Jan Kratochvil <jan.kratochvil@redhat.com>
6648 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6650 (top level): Call it.
6652 2017-03-08 Pedro Alves <palves@redhat.com>
6655 * gdb.tui/tui-nl-filtered-output.exp: New file.
6657 2017-03-08 Pedro Alves <palves@redhat.com>
6659 * gdb.base/completion.exp: Move TUI completion tests to ...
6660 * gdb.tui/completion.exp: ... this new file.
6662 2017-03-08 Pedro Alves <palves@redhat.com>
6664 * gdb.base/tui-disasm-long-lines.c,
6665 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6666 gdb.base/tui-layout.exp: Move to ...
6667 * gdb.tui/: ... this new directory.
6669 2017-03-07 Pedro Alves <palves@redhat.com>
6671 * gdb.base/tui-layout.c: New file.
6672 * gdb.base/tui-layout.exp: New file.
6674 2017-03-07 Pedro Alves <palves@redhat.com>
6676 * gdb.base/tui-layout.c: Rename to ...
6677 * gdb.base/tui-disasm-long-lines.c: ... this.
6678 * gdb.base/tui-layout.exp: Rename to ...
6679 * gdb.base/tui-disasm-long-lines.exp: ... this.
6681 2017-03-07 Pedro Alves <palves@redhat.com>
6683 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6685 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6687 * i386-mpx-call.c: New file.
6688 * i386-mpx-call.exp: New file.
6690 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6692 * gdb.arch/powerpc-power.exp: Delete test.
6693 * gdb.arch/powerpc-power.s: Likewise.
6694 * gdb.disasm/disassembler-options.exp: New test.
6695 * gdb.arch/powerpc-altivec.exp: Likewise.
6696 * gdb.arch/powerpc-altivec.s: Likewise.
6697 * gdb.arch/powerpc-altivec2.exp: Likewise.
6698 * gdb.arch/powerpc-altivec2.s: Likewise.
6699 * gdb.arch/powerpc-altivec3.exp: Likewise.
6700 * gdb.arch/powerpc-altivec3.s: Likewise.
6701 * gdb.arch/powerpc-power7.exp: Likewise.
6702 * gdb.arch/powerpc-power7.s: Likewise.
6703 * gdb.arch/powerpc-power8.exp: Likewise.
6704 * gdb.arch/powerpc-power8.s: Likewise.
6705 * gdb.arch/powerpc-power9.exp: Likewise.
6706 * gdb.arch/powerpc-power9.s: Likewise.
6707 * gdb.arch/powerpc-vsx.exp: Likewise.
6708 * gdb.arch/powerpc-vsx.s: Likewise.
6709 * gdb.arch/powerpc-vsx2.exp: Likewise.
6710 * gdb.arch/powerpc-vsx2.s: Likewise.
6711 * gdb.arch/powerpc-vsx3.exp: Likewise.
6712 * gdb.arch/powerpc-vsx3.s: Likewise.
6713 * gdb.arch/arm-disassembler-options.exp: Likewise.
6714 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6715 * gdb.arch/s390-disassembler-options.exp: Likewise.
6717 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6719 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6720 (check_supported_features): ... this. Changed return type to void.
6721 (supports_rdseed): New static global.
6722 (rdseed): Check supports_rdseed.
6723 (initialize): Call check_supported_features.
6725 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6727 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6728 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6730 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6731 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6733 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6735 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6738 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6740 * gdb.dwarf2/formdata16.c: New file.
6741 * gdb.dwarf2/formdata16.exp: New file.
6742 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6744 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6746 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6747 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6748 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6749 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6752 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6754 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6756 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6759 * gdb.base/maint.exp: Add testcases for when the commands do
6762 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6764 * gdb.cp/chained-calls.exp: Use p instead of P.
6766 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6768 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6769 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6771 2017-02-14 Tom Tromey <tom@tromey.com>
6774 * gdb.python/py-events.exp: Add before_prompt event tests.
6776 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6778 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6780 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6782 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6783 (main): Call my_unique_function_name.
6784 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6785 completion of patterns with a single match.
6786 Add missing -re switches to gdb_test_multiple calls.
6788 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6790 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6791 return if core file is not recognized.
6793 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6795 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6798 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6800 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6803 2017-02-10 Tom Tromey <tom@tromey.com>
6805 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6807 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6810 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6812 2017-02-08 Jerome Guitton <guitton@adacore.com>
6814 * gdb.base/define.exp: Add test for command abbreviations
6817 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6819 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6820 * gdb.reverse/insn-reverse-x86.c: New file.
6822 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6825 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6827 2017-02-03 Tom Tromey <tom@tromey.com>
6830 * gdb.rust/simple.exp: Add new tests.
6832 2017-02-02 Pedro Alves <palves@redhat.com>
6834 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6837 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6839 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6840 taking a 2-byte value out of a 4-byte DWARF implicit value on
6842 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6843 logic. Add test cases for DW_OP_implicit.
6845 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6847 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6849 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6851 * gdb.btrace/enable.exp: Call gdb_exit before
6852 skip_gdbserver_tests.
6854 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6856 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6859 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6861 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6862 the test is skipped.
6863 * gdb.btrace/data.exp: Likewise.
6864 * gdb.btrace/delta.exp: Likewise.
6865 * gdb.btrace/dlopen.exp: Likewise.
6866 * gdb.btrace/enable-running.exp: Likewise.
6867 * gdb.btrace/enable.exp: Likewise.
6868 * gdb.btrace/exception.exp: Likewise.
6869 * gdb.btrace/function_call_history.exp: Likewise.
6870 * gdb.btrace/gcore.exp: Likewise.
6871 * gdb.btrace/instruction_history.exp: Likewise.
6872 * gdb.btrace/multi-thread-step.exp: Likewise.
6873 * gdb.btrace/nohist.exp: Likewise.
6874 * gdb.btrace/non-stop.exp: Likewise.
6875 * gdb.btrace/reconnect.exp: Likewise.
6876 * gdb.btrace/record_goto-step.exp: Likewise.
6877 * gdb.btrace/record_goto.exp: Likewise.
6878 * gdb.btrace/rn-dl-bind.exp: Likewise.
6879 * gdb.btrace/segv.exp: Likewise.
6880 * gdb.btrace/step.exp: Likewise.
6881 * gdb.btrace/stepi.exp: Likewise.
6882 * gdb.btrace/tailcall-only.exp: Likewise.
6883 * gdb.btrace/tailcall.exp: Likewise.
6884 * gdb.btrace/tsx.exp: Likewise.
6885 * gdb.btrace/unknown_functions.exp: Likewise.
6886 * gdb.btrace/vdso.exp: Likewise.
6888 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6890 * gdb.btrace/enable-running.c: New.
6891 * gdb.btrace/enable-running.exp: New.
6893 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6895 * gdb.arch/amd64-gs_base.c: New file.
6896 * gdb.arch/amd64-gs_base.exp: New file.
6898 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6900 * lib/memory.exp: Remove spurious empty newlines.
6902 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6904 * gdb.python/py-bad-printers.exp: Load python file using "source".
6905 * gdb.python/py-events.exp: Likewise.
6906 * gdb.python/py-evsignal.exp: Likewise.
6907 * gdb.python/py-evthreads.exp: Likewise.
6908 * gdb.python/py-frame-args.exp: Likewise.
6909 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6910 * gdb.python/py-framefilter-mi.exp: Likewise.
6911 * gdb.python/py-framefilter.exp: Likewise.
6912 * gdb.python/py-mi.exp: Likewise.
6913 * gdb.python/py-pp-maint.exp: Likewise.
6914 * gdb.python/py-pp-registration.exp: Likewise.
6915 * gdb.python/py-prettyprint.exp: Likewise.
6916 (run_lang_tests): Likewise.
6917 * gdb.python/py-typeprint.exp: Likewise.
6919 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6921 * lib/memory.exp: New file.
6922 * lib/gdb.exp: Load memory.exp.
6923 * gdb.base/memattr.exp (delete_memory): Move proc to
6924 lib/memory.exp and rename to delete_memory_regions.
6925 Replace delete_memory with delete_memory_regions.
6926 Cleanup memory regions before tests.
6927 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6930 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6932 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6934 (initialize): New function conditionally defined.
6935 (testcases): Move within conditional block.
6936 (main): Call initialize.
6937 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6938 of gdb.reverse/insn-reverse.c.
6939 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6940 gdb.reverse/insn-reverse.c.
6942 2017-01-26 Yao Qi <yao.qi@linaro.org>
6944 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6945 disassemble on address 0.
6947 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6948 Yao Qi <yao.qi@linaro.org>
6950 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6951 * gdb.dwarf2/implptr-64bit.S: Remove.
6952 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6953 variables in caller's context. Add DW_OP_implicit_value.
6955 2017-01-25 Yao Qi <yao.qi@linaro.org>
6957 * lib/dwarf.exp (Dwarf::_location): Handle
6958 DW_OP_GNU_implicit_pointer with proper size.
6960 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6962 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6963 and add untested calls.
6965 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6967 * gdb.python/python.exp: Check line number against what GDB thinks
6968 the line number is for func1.
6970 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6972 * gdb.dlang/debug-expr.exp: New file.
6974 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6976 Fix test names for the following files:
6978 * gdb.ada/exec_changed.exp
6979 * gdb.ada/info_types.exp
6980 * gdb.arch/aarch64-atomic-inst.exp
6981 * gdb.arch/aarch64-fp.exp
6982 * gdb.arch/altivec-abi.exp
6983 * gdb.arch/altivec-regs.exp
6984 * gdb.arch/amd64-byte.exp
6985 * gdb.arch/amd64-disp-step.exp
6986 * gdb.arch/amd64-dword.exp
6987 * gdb.arch/amd64-entry-value-inline.exp
6988 * gdb.arch/amd64-entry-value-param.exp
6989 * gdb.arch/amd64-entry-value-paramref.exp
6990 * gdb.arch/amd64-entry-value.exp
6991 * gdb.arch/amd64-i386-address.exp
6992 * gdb.arch/amd64-invalid-stack-middle.exp
6993 * gdb.arch/amd64-invalid-stack-top.exp
6994 * gdb.arch/amd64-optimout-repeat.exp
6995 * gdb.arch/amd64-prologue-skip.exp
6996 * gdb.arch/amd64-prologue-xmm.exp
6997 * gdb.arch/amd64-stap-special-operands.exp
6998 * gdb.arch/amd64-stap-wrong-subexp.exp
6999 * gdb.arch/amd64-tailcall-cxx.exp
7000 * gdb.arch/amd64-tailcall-noret.exp
7001 * gdb.arch/amd64-tailcall-ret.exp
7002 * gdb.arch/amd64-tailcall-self.exp
7003 * gdb.arch/amd64-word.exp
7004 * gdb.arch/arm-bl-branch-dest.exp
7005 * gdb.arch/arm-disp-step.exp
7006 * gdb.arch/arm-neon.exp
7007 * gdb.arch/arm-single-step-kernel-helper.exp
7008 * gdb.arch/avr-flash-qualifier.exp
7009 * gdb.arch/disp-step-insn-reloc.exp
7010 * gdb.arch/e500-abi.exp
7011 * gdb.arch/e500-regs.exp
7012 * gdb.arch/ftrace-insn-reloc.exp
7013 * gdb.arch/i386-avx512.exp
7014 * gdb.arch/i386-bp_permanent.exp
7015 * gdb.arch/i386-byte.exp
7016 * gdb.arch/i386-cfi-notcurrent.exp
7017 * gdb.arch/i386-disp-step.exp
7018 * gdb.arch/i386-dr3-watch.exp
7019 * gdb.arch/i386-float.exp
7020 * gdb.arch/i386-gnu-cfi.exp
7021 * gdb.arch/i386-mpx-map.exp
7022 * gdb.arch/i386-mpx-sigsegv.exp
7023 * gdb.arch/i386-mpx-simple_segv.exp
7024 * gdb.arch/i386-mpx.exp
7025 * gdb.arch/i386-permbkpt.exp
7026 * gdb.arch/i386-prologue.exp
7027 * gdb.arch/i386-signal.exp
7028 * gdb.arch/i386-size-overlap.exp
7029 * gdb.arch/i386-unwind.exp
7030 * gdb.arch/i386-word.exp
7031 * gdb.arch/mips-fcr.exp
7032 * gdb.arch/powerpc-d128-regs.exp
7033 * gdb.arch/powerpc-stackless.exp
7034 * gdb.arch/ppc64-atomic-inst.exp
7035 * gdb.arch/s390-stackless.exp
7036 * gdb.arch/s390-tdbregs.exp
7037 * gdb.arch/s390-vregs.exp
7038 * gdb.arch/sparc-sysstep.exp
7039 * gdb.arch/thumb-bx-pc.exp
7040 * gdb.arch/thumb-singlestep.exp
7041 * gdb.arch/thumb2-it.exp
7042 * gdb.arch/vsx-regs.exp
7043 * gdb.asm/asm-source.exp
7044 * gdb.base/a2-run.exp
7045 * gdb.base/advance.exp
7046 * gdb.base/all-bin.exp
7049 * gdb.base/arithmet.exp
7050 * gdb.base/async-shell.exp
7051 * gdb.base/async.exp
7052 * gdb.base/attach-pie-noexec.exp
7053 * gdb.base/attach-twice.exp
7054 * gdb.base/auto-load.exp
7056 * gdb.base/bitfields.exp
7057 * gdb.base/break-always.exp
7058 * gdb.base/break-caller-line.exp
7059 * gdb.base/break-entry.exp
7060 * gdb.base/break-inline.exp
7061 * gdb.base/break-on-linker-gcd-function.exp
7062 * gdb.base/break-probes.exp
7063 * gdb.base/break.exp
7064 * gdb.base/breakpoint-shadow.exp
7065 * gdb.base/call-ar-st.exp
7066 * gdb.base/call-sc.exp
7067 * gdb.base/call-signal-resume.exp
7068 * gdb.base/call-strs.exp
7069 * gdb.base/callfuncs.exp
7070 * gdb.base/catch-fork-static.exp
7071 * gdb.base/catch-gdb-caused-signals.exp
7072 * gdb.base/catch-load.exp
7073 * gdb.base/catch-signal-fork.exp
7074 * gdb.base/catch-signal.exp
7075 * gdb.base/catch-syscall.exp
7076 * gdb.base/charset.exp
7077 * gdb.base/checkpoint.exp
7078 * gdb.base/chng-syms.exp
7079 * gdb.base/code-expr.exp
7080 * gdb.base/code_elim.exp
7081 * gdb.base/commands.exp
7082 * gdb.base/completion.exp
7083 * gdb.base/complex.exp
7084 * gdb.base/cond-expr.exp
7085 * gdb.base/condbreak.exp
7086 * gdb.base/consecutive.exp
7087 * gdb.base/continue-all-already-running.exp
7088 * gdb.base/coredump-filter.exp
7089 * gdb.base/corefile.exp
7091 * gdb.base/debug-expr.exp
7092 * gdb.base/define.exp
7094 * gdb.base/disabled-location.exp
7095 * gdb.base/disasm-end-cu.exp
7096 * gdb.base/disasm-optim.exp
7097 * gdb.base/display.exp
7098 * gdb.base/duplicate-bp.exp
7099 * gdb.base/ena-dis-br.exp
7100 * gdb.base/ending-run.exp
7101 * gdb.base/enumval.exp
7102 * gdb.base/environ.exp
7103 * gdb.base/eu-strip-infcall.exp
7104 * gdb.base/eval-avoid-side-effects.exp
7105 * gdb.base/eval-skip.exp
7106 * gdb.base/exitsignal.exp
7107 * gdb.base/expand-psymtabs.exp
7108 * gdb.base/filesym.exp
7109 * gdb.base/find-unmapped.exp
7110 * gdb.base/finish.exp
7111 * gdb.base/float.exp
7112 * gdb.base/foll-exec-mode.exp
7113 * gdb.base/foll-exec.exp
7114 * gdb.base/foll-fork.exp
7115 * gdb.base/fortran-sym-case.exp
7116 * gdb.base/freebpcmd.exp
7117 * gdb.base/func-ptr.exp
7118 * gdb.base/func-ptrs.exp
7119 * gdb.base/funcargs.exp
7120 * gdb.base/gcore-buffer-overflow.exp
7121 * gdb.base/gcore-relro-pie.exp
7122 * gdb.base/gcore-relro.exp
7123 * gdb.base/gcore.exp
7124 * gdb.base/gdb1090.exp
7125 * gdb.base/gdb11530.exp
7126 * gdb.base/gdb11531.exp
7127 * gdb.base/gdb1821.exp
7128 * gdb.base/gdbindex-stabs.exp
7129 * gdb.base/gdbvars.exp
7130 * gdb.base/hbreak.exp
7131 * gdb.base/hbreak2.exp
7132 * gdb.base/included.exp
7133 * gdb.base/infcall-input.exp
7134 * gdb.base/inferior-died.exp
7135 * gdb.base/infnan.exp
7136 * gdb.base/info-macros.exp
7137 * gdb.base/info-os.exp
7138 * gdb.base/info-proc.exp
7139 * gdb.base/info-shared.exp
7140 * gdb.base/info-target.exp
7141 * gdb.base/infoline.exp
7142 * gdb.base/interp.exp
7143 * gdb.base/interrupt.exp
7144 * gdb.base/jit-reader.exp
7145 * gdb.base/jit-simple.exp
7146 * gdb.base/kill-after-signal.exp
7147 * gdb.base/kill-detach-inferiors-cmd.exp
7148 * gdb.base/label.exp
7149 * gdb.base/langs.exp
7150 * gdb.base/ldbl_e308.exp
7151 * gdb.base/line-symtabs.exp
7152 * gdb.base/linespecs.exp
7154 * gdb.base/long_long.exp
7155 * gdb.base/longest-types.exp
7156 * gdb.base/maint.exp
7157 * gdb.base/max-value-size.exp
7158 * gdb.base/memattr.exp
7159 * gdb.base/mips_pro.exp
7160 * gdb.base/morestack.exp
7161 * gdb.base/moribund-step.exp
7162 * gdb.base/multi-forks.exp
7163 * gdb.base/nested-addr.exp
7164 * gdb.base/nextoverexit.exp
7165 * gdb.base/noreturn-finish.exp
7166 * gdb.base/noreturn-return.exp
7167 * gdb.base/nostdlib.exp
7168 * gdb.base/offsets.exp
7169 * gdb.base/opaque.exp
7170 * gdb.base/pc-fp.exp
7171 * gdb.base/permissions.exp
7172 * gdb.base/print-symbol-loading.exp
7173 * gdb.base/prologue-include.exp
7174 * gdb.base/psymtab.exp
7175 * gdb.base/ptype.exp
7176 * gdb.base/random-signal.exp
7177 * gdb.base/randomize.exp
7178 * gdb.base/range-stepping.exp
7179 * gdb.base/readline-ask.exp
7180 * gdb.base/recpar.exp
7181 * gdb.base/recurse.exp
7182 * gdb.base/relational.exp
7183 * gdb.base/restore.exp
7184 * gdb.base/return-nodebug.exp
7185 * gdb.base/return.exp
7186 * gdb.base/run-after-attach.exp
7187 * gdb.base/save-bp.exp
7188 * gdb.base/scope.exp
7189 * gdb.base/sect-cmd.exp
7190 * gdb.base/set-lang-auto.exp
7191 * gdb.base/set-noassign.exp
7192 * gdb.base/setvar.exp
7193 * gdb.base/sigall.exp
7194 * gdb.base/sigbpt.exp
7195 * gdb.base/siginfo-addr.exp
7196 * gdb.base/siginfo-infcall.exp
7197 * gdb.base/siginfo-obj.exp
7198 * gdb.base/siginfo.exp
7199 * gdb.base/signals-state-child.exp
7200 * gdb.base/signest.exp
7201 * gdb.base/sigstep.exp
7202 * gdb.base/sizeof.exp
7204 * gdb.base/solib-corrupted.exp
7205 * gdb.base/solib-nodir.exp
7206 * gdb.base/solib-search.exp
7207 * gdb.base/stack-checking.exp
7208 * gdb.base/stale-infcall.exp
7209 * gdb.base/stap-probe.exp
7210 * gdb.base/start.exp
7211 * gdb.base/step-break.exp
7212 * gdb.base/step-bt.exp
7213 * gdb.base/step-line.exp
7214 * gdb.base/step-over-exit.exp
7215 * gdb.base/step-over-syscall.exp
7216 * gdb.base/step-resume-infcall.exp
7217 * gdb.base/step-test.exp
7218 * gdb.base/store.exp
7219 * gdb.base/structs3.exp
7220 * gdb.base/sym-file.exp
7221 * gdb.base/symbol-without-target_section.exp
7223 * gdb.base/testenv.exp
7224 * gdb.base/ui-redirect.exp
7225 * gdb.base/until.exp
7226 * gdb.base/unwindonsignal.exp
7227 * gdb.base/value-double-free.exp
7228 * gdb.base/vla-datatypes.exp
7229 * gdb.base/vla-ptr.exp
7230 * gdb.base/vla-sideeffect.exp
7231 * gdb.base/volatile.exp
7232 * gdb.base/watch-cond-infcall.exp
7233 * gdb.base/watch-cond.exp
7234 * gdb.base/watch-non-mem.exp
7235 * gdb.base/watch-read.exp
7236 * gdb.base/watch-vfork.exp
7237 * gdb.base/watchpoint-cond-gone.exp
7238 * gdb.base/watchpoint-delete.exp
7239 * gdb.base/watchpoint-hw-hit-once.exp
7240 * gdb.base/watchpoint-hw.exp
7241 * gdb.base/watchpoint-stops-at-right-insn.exp
7242 * gdb.base/watchpoints.exp
7243 * gdb.base/wchar.exp
7244 * gdb.base/whatis-exp.exp
7245 * gdb.btrace/buffer-size.exp
7246 * gdb.btrace/data.exp
7247 * gdb.btrace/delta.exp
7248 * gdb.btrace/dlopen.exp
7249 * gdb.btrace/enable.exp
7250 * gdb.btrace/exception.exp
7251 * gdb.btrace/function_call_history.exp
7252 * gdb.btrace/gcore.exp
7253 * gdb.btrace/instruction_history.exp
7254 * gdb.btrace/nohist.exp
7255 * gdb.btrace/reconnect.exp
7256 * gdb.btrace/record_goto-step.exp
7257 * gdb.btrace/record_goto.exp
7258 * gdb.btrace/rn-dl-bind.exp
7259 * gdb.btrace/segv.exp
7260 * gdb.btrace/step.exp
7261 * gdb.btrace/stepi.exp
7262 * gdb.btrace/tailcall-only.exp
7263 * gdb.btrace/tailcall.exp
7264 * gdb.btrace/tsx.exp
7265 * gdb.btrace/unknown_functions.exp
7266 * gdb.btrace/vdso.exp
7267 * gdb.compile/compile-ifunc.exp
7268 * gdb.compile/compile-ops.exp
7269 * gdb.compile/compile-print.exp
7270 * gdb.compile/compile-setjmp.exp
7271 * gdb.cp/abstract-origin.exp
7272 * gdb.cp/ambiguous.exp
7273 * gdb.cp/annota2.exp
7274 * gdb.cp/annota3.exp
7275 * gdb.cp/anon-ns.exp
7276 * gdb.cp/anon-struct.exp
7277 * gdb.cp/anon-union.exp
7278 * gdb.cp/arg-reference.exp
7279 * gdb.cp/baseenum.exp
7281 * gdb.cp/breakpoint.exp
7282 * gdb.cp/bs15503.exp
7285 * gdb.cp/chained-calls.exp
7287 * gdb.cp/classes.exp
7288 * gdb.cp/cmpd-minsyms.exp
7289 * gdb.cp/converts.exp
7290 * gdb.cp/cp-relocate.exp
7291 * gdb.cp/cpcompletion.exp
7292 * gdb.cp/cpexprs.exp
7293 * gdb.cp/cplabel.exp
7294 * gdb.cp/cplusfuncs.exp
7295 * gdb.cp/cpsizeof.exp
7297 * gdb.cp/derivation.exp
7298 * gdb.cp/destrprint.exp
7299 * gdb.cp/dispcxx.exp
7300 * gdb.cp/enum-class.exp
7301 * gdb.cp/exception.exp
7302 * gdb.cp/exceptprint.exp
7303 * gdb.cp/expand-psymtabs-cxx.exp
7304 * gdb.cp/expand-sals.exp
7305 * gdb.cp/extern-c.exp
7306 * gdb.cp/filename.exp
7307 * gdb.cp/formatted-ref.exp
7308 * gdb.cp/fpointer.exp
7309 * gdb.cp/gdb1355.exp
7310 * gdb.cp/gdb2495.exp
7312 * gdb.cp/impl-this.exp
7313 * gdb.cp/infcall-dlopen.exp
7314 * gdb.cp/inherit.exp
7315 * gdb.cp/iostream.exp
7319 * gdb.cp/m-static.exp
7320 * gdb.cp/mb-ctor.exp
7321 * gdb.cp/mb-inline.exp
7322 * gdb.cp/mb-templates.exp
7323 * gdb.cp/member-name.exp
7324 * gdb.cp/member-ptr.exp
7325 * gdb.cp/meth-typedefs.exp
7327 * gdb.cp/method2.exp
7328 * gdb.cp/minsym-fallback.exp
7330 * gdb.cp/namelessclass.exp
7331 * gdb.cp/namespace-enum.exp
7332 * gdb.cp/namespace-nested-import.exp
7333 * gdb.cp/namespace.exp
7334 * gdb.cp/nextoverthrow.exp
7335 * gdb.cp/no-dmgl-verbose.exp
7336 * gdb.cp/non-trivial-retval.exp
7337 * gdb.cp/noparam.exp
7339 * gdb.cp/nsimport.exp
7340 * gdb.cp/nsnested.exp
7341 * gdb.cp/nsnoimports.exp
7342 * gdb.cp/nsrecurs.exp
7343 * gdb.cp/nsstress.exp
7344 * gdb.cp/nsusing.exp
7345 * gdb.cp/operator.exp
7346 * gdb.cp/oranking.exp
7347 * gdb.cp/overload-const.exp
7348 * gdb.cp/overload.exp
7349 * gdb.cp/ovldbreak.exp
7351 * gdb.cp/paren-type.exp
7352 * gdb.cp/parse-lang.exp
7353 * gdb.cp/pass-by-ref.exp
7354 * gdb.cp/pr-1023.exp
7355 * gdb.cp/pr-1210.exp
7357 * gdb.cp/pr10687.exp
7358 * gdb.cp/pr12028.exp
7359 * gdb.cp/pr17132.exp
7360 * gdb.cp/pr17494.exp
7364 * gdb.cp/printmethod.exp
7366 * gdb.cp/psymtab-parameter.exp
7367 * gdb.cp/ptype-cv-cp.exp
7368 * gdb.cp/ptype-flags.exp
7369 * gdb.cp/re-set-overloaded.exp
7370 * gdb.cp/ref-types.exp
7372 * gdb.cp/scope-err.exp
7375 * gdb.cp/static-method.exp
7376 * gdb.cp/static-print-quit.exp
7377 * gdb.cp/temargs.exp
7378 * gdb.cp/templates.exp
7379 * gdb.cp/try_catch.exp
7380 * gdb.cp/typedef-operator.exp
7382 * gdb.cp/userdef.exp
7383 * gdb.cp/using-crash.exp
7384 * gdb.cp/var-tag.exp
7385 * gdb.cp/virtbase.exp
7386 * gdb.cp/virtfunc.exp
7387 * gdb.cp/virtfunc2.exp
7388 * gdb.cp/vla-cxx.exp
7389 * gdb.disasm/t01_mov.exp
7390 * gdb.disasm/t02_mova.exp
7391 * gdb.disasm/t03_add.exp
7392 * gdb.disasm/t04_sub.exp
7393 * gdb.disasm/t05_cmp.exp
7394 * gdb.disasm/t06_ari2.exp
7395 * gdb.disasm/t07_ari3.exp
7396 * gdb.disasm/t08_or.exp
7397 * gdb.disasm/t09_xor.exp
7398 * gdb.disasm/t10_and.exp
7399 * gdb.disasm/t11_logs.exp
7400 * gdb.disasm/t12_bit.exp
7401 * gdb.disasm/t13_otr.exp
7402 * gdb.dlang/circular.exp
7403 * gdb.dwarf2/arr-stride.exp
7404 * gdb.dwarf2/arr-subrange.exp
7405 * gdb.dwarf2/atomic-type.exp
7406 * gdb.dwarf2/bad-regnum.exp
7407 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7408 * gdb.dwarf2/callframecfa.exp
7409 * gdb.dwarf2/clztest.exp
7410 * gdb.dwarf2/corrupt.exp
7411 * gdb.dwarf2/data-loc.exp
7412 * gdb.dwarf2/dup-psym.exp
7413 * gdb.dwarf2/dw2-anon-mptr.exp
7414 * gdb.dwarf2/dw2-anonymous-func.exp
7415 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7416 * gdb.dwarf2/dw2-bad-unresolved.exp
7417 * gdb.dwarf2/dw2-basic.exp
7418 * gdb.dwarf2/dw2-canonicalize-type.exp
7419 * gdb.dwarf2/dw2-case-insensitive.exp
7420 * gdb.dwarf2/dw2-common-block.exp
7421 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7422 * gdb.dwarf2/dw2-compressed.exp
7423 * gdb.dwarf2/dw2-const.exp
7424 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7425 * gdb.dwarf2/dw2-cu-size.exp
7426 * gdb.dwarf2/dw2-dup-frame.exp
7427 * gdb.dwarf2/dw2-entry-value.exp
7428 * gdb.dwarf2/dw2-icycle.exp
7429 * gdb.dwarf2/dw2-ifort-parameter.exp
7430 * gdb.dwarf2/dw2-inline-break.exp
7431 * gdb.dwarf2/dw2-inline-param.exp
7432 * gdb.dwarf2/dw2-intercu.exp
7433 * gdb.dwarf2/dw2-intermix.exp
7434 * gdb.dwarf2/dw2-lexical-block-bare.exp
7435 * gdb.dwarf2/dw2-linkage-name-trust.exp
7436 * gdb.dwarf2/dw2-minsym-in-cu.exp
7437 * gdb.dwarf2/dw2-noloc.exp
7438 * gdb.dwarf2/dw2-op-call.exp
7439 * gdb.dwarf2/dw2-op-out-param.exp
7440 * gdb.dwarf2/dw2-opt-structptr.exp
7441 * gdb.dwarf2/dw2-param-error.exp
7442 * gdb.dwarf2/dw2-producer.exp
7443 * gdb.dwarf2/dw2-ranges-base.exp
7444 * gdb.dwarf2/dw2-ref-missing-frame.exp
7445 * gdb.dwarf2/dw2-reg-undefined.exp
7446 * gdb.dwarf2/dw2-regno-invalid.exp
7447 * gdb.dwarf2/dw2-restore.exp
7448 * gdb.dwarf2/dw2-restrict.exp
7449 * gdb.dwarf2/dw2-single-line-discriminators.exp
7450 * gdb.dwarf2/dw2-strp.exp
7451 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7452 * gdb.dwarf2/dw2-unresolved.exp
7453 * gdb.dwarf2/dw2-var-zero-addr.exp
7454 * gdb.dwarf2/dw4-sig-types.exp
7455 * gdb.dwarf2/dwz.exp
7456 * gdb.dwarf2/dynarr-ptr.exp
7457 * gdb.dwarf2/enum-type.exp
7458 * gdb.dwarf2/gdb-index.exp
7459 * gdb.dwarf2/implptr-64bit.exp
7460 * gdb.dwarf2/implptr-optimized-out.exp
7461 * gdb.dwarf2/implptr.exp
7462 * gdb.dwarf2/implref-array.exp
7463 * gdb.dwarf2/implref-const.exp
7464 * gdb.dwarf2/implref-global.exp
7465 * gdb.dwarf2/implref-struct.exp
7466 * gdb.dwarf2/mac-fileno.exp
7467 * gdb.dwarf2/main-subprogram.exp
7468 * gdb.dwarf2/member-ptr-forwardref.exp
7469 * gdb.dwarf2/method-ptr.exp
7470 * gdb.dwarf2/missing-sig-type.exp
7471 * gdb.dwarf2/nonvar-access.exp
7472 * gdb.dwarf2/opaque-type-lookup.exp
7473 * gdb.dwarf2/pieces-optimized-out.exp
7474 * gdb.dwarf2/pieces.exp
7475 * gdb.dwarf2/pr10770.exp
7476 * gdb.dwarf2/pr13961.exp
7477 * gdb.dwarf2/staticvirtual.exp
7478 * gdb.dwarf2/subrange.exp
7479 * gdb.dwarf2/symtab-producer.exp
7480 * gdb.dwarf2/trace-crash.exp
7481 * gdb.dwarf2/typeddwarf.exp
7482 * gdb.dwarf2/valop.exp
7483 * gdb.dwarf2/watch-notconst.exp
7484 * gdb.fortran/array-element.exp
7485 * gdb.fortran/charset.exp
7486 * gdb.fortran/common-block.exp
7487 * gdb.fortran/complex.exp
7488 * gdb.fortran/derived-type-function.exp
7489 * gdb.fortran/derived-type.exp
7490 * gdb.fortran/logical.exp
7491 * gdb.fortran/module.exp
7492 * gdb.fortran/multi-dim.exp
7493 * gdb.fortran/nested-funcs.exp
7494 * gdb.fortran/print-formatted.exp
7495 * gdb.fortran/subarray.exp
7496 * gdb.fortran/vla-alloc-assoc.exp
7497 * gdb.fortran/vla-datatypes.exp
7498 * gdb.fortran/vla-history.exp
7499 * gdb.fortran/vla-ptr-info.exp
7500 * gdb.fortran/vla-ptype-sub.exp
7501 * gdb.fortran/vla-ptype.exp
7502 * gdb.fortran/vla-sizeof.exp
7503 * gdb.fortran/vla-type.exp
7504 * gdb.fortran/vla-value-sub-arbitrary.exp
7505 * gdb.fortran/vla-value-sub-finish.exp
7506 * gdb.fortran/vla-value-sub.exp
7507 * gdb.fortran/vla-value.exp
7508 * gdb.fortran/whatis_type.exp
7510 * gdb.go/handcall.exp
7512 * gdb.go/integers.exp
7513 * gdb.go/methods.exp
7514 * gdb.go/package.exp
7515 * gdb.go/strings.exp
7518 * gdb.guile/scm-arch.exp
7519 * gdb.guile/scm-block.exp
7520 * gdb.guile/scm-breakpoint.exp
7521 * gdb.guile/scm-cmd.exp
7522 * gdb.guile/scm-disasm.exp
7523 * gdb.guile/scm-equal.exp
7524 * gdb.guile/scm-frame-args.exp
7525 * gdb.guile/scm-frame-inline.exp
7526 * gdb.guile/scm-frame.exp
7527 * gdb.guile/scm-iterator.exp
7528 * gdb.guile/scm-math.exp
7529 * gdb.guile/scm-objfile.exp
7530 * gdb.guile/scm-ports.exp
7531 * gdb.guile/scm-symbol.exp
7532 * gdb.guile/scm-symtab.exp
7533 * gdb.guile/scm-value-cc.exp
7534 * gdb.guile/types-module.exp
7535 * gdb.linespec/break-ask.exp
7536 * gdb.linespec/cpexplicit.exp
7537 * gdb.linespec/explicit.exp
7538 * gdb.linespec/keywords.exp
7539 * gdb.linespec/linespec.exp
7540 * gdb.linespec/ls-dollar.exp
7541 * gdb.linespec/ls-errs.exp
7542 * gdb.linespec/skip-two.exp
7543 * gdb.linespec/thread.exp
7544 * gdb.mi/mi-async.exp
7545 * gdb.mi/mi-basics.exp
7546 * gdb.mi/mi-break.exp
7547 * gdb.mi/mi-catch-load.exp
7549 * gdb.mi/mi-cmd-param-changed.exp
7550 * gdb.mi/mi-console.exp
7551 * gdb.mi/mi-detach.exp
7552 * gdb.mi/mi-disassemble.exp
7553 * gdb.mi/mi-eval.exp
7554 * gdb.mi/mi-file-transfer.exp
7555 * gdb.mi/mi-file.exp
7556 * gdb.mi/mi-fill-memory.exp
7557 * gdb.mi/mi-inheritance-syntax-error.exp
7558 * gdb.mi/mi-linespec-err-cp.exp
7559 * gdb.mi/mi-logging.exp
7560 * gdb.mi/mi-memory-changed.exp
7561 * gdb.mi/mi-read-memory.exp
7562 * gdb.mi/mi-record-changed.exp
7563 * gdb.mi/mi-reg-undefined.exp
7564 * gdb.mi/mi-regs.exp
7565 * gdb.mi/mi-return.exp
7566 * gdb.mi/mi-reverse.exp
7567 * gdb.mi/mi-simplerun.exp
7568 * gdb.mi/mi-solib.exp
7569 * gdb.mi/mi-stack.exp
7570 * gdb.mi/mi-stepi.exp
7571 * gdb.mi/mi-syn-frame.exp
7572 * gdb.mi/mi-until.exp
7573 * gdb.mi/mi-var-block.exp
7574 * gdb.mi/mi-var-child.exp
7575 * gdb.mi/mi-var-cmd.exp
7576 * gdb.mi/mi-var-cp.exp
7577 * gdb.mi/mi-var-display.exp
7578 * gdb.mi/mi-var-invalidate.exp
7579 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7580 * gdb.mi/mi-vla-fortran.exp
7581 * gdb.mi/mi-watch.exp
7582 * gdb.mi/mi2-var-child.exp
7583 * gdb.mi/user-selected-context-sync.exp
7584 * gdb.modula2/unbounded-array.exp
7585 * gdb.multi/dummy-frame-restore.exp
7586 * gdb.multi/multi-arch-exec.exp
7587 * gdb.multi/multi-arch.exp
7588 * gdb.multi/tids.exp
7589 * gdb.multi/watchpoint-multi.exp
7590 * gdb.opencl/callfuncs.exp
7591 * gdb.opencl/convs_casts.exp
7592 * gdb.opencl/datatypes.exp
7593 * gdb.opencl/operators.exp
7594 * gdb.opencl/vec_comps.exp
7595 * gdb.opt/clobbered-registers-O2.exp
7596 * gdb.opt/inline-break.exp
7597 * gdb.opt/inline-bt.exp
7598 * gdb.opt/inline-cmds.exp
7599 * gdb.opt/inline-locals.exp
7600 * gdb.pascal/case-insensitive-symbols.exp
7601 * gdb.pascal/floats.exp
7602 * gdb.pascal/gdb11492.exp
7603 * gdb.python/lib-types.exp
7604 * gdb.python/py-arch.exp
7605 * gdb.python/py-as-string.exp
7606 * gdb.python/py-bad-printers.exp
7607 * gdb.python/py-block.exp
7608 * gdb.python/py-breakpoint-create-fail.exp
7609 * gdb.python/py-breakpoint.exp
7610 * gdb.python/py-caller-is.exp
7611 * gdb.python/py-cmd.exp
7612 * gdb.python/py-explore-cc.exp
7613 * gdb.python/py-explore.exp
7614 * gdb.python/py-finish-breakpoint.exp
7615 * gdb.python/py-finish-breakpoint2.exp
7616 * gdb.python/py-frame-args.exp
7617 * gdb.python/py-frame-inline.exp
7618 * gdb.python/py-frame.exp
7619 * gdb.python/py-framefilter-mi.exp
7620 * gdb.python/py-infthread.exp
7621 * gdb.python/py-lazy-string.exp
7622 * gdb.python/py-linetable.exp
7623 * gdb.python/py-mi-events.exp
7624 * gdb.python/py-mi-objfile.exp
7625 * gdb.python/py-mi.exp
7626 * gdb.python/py-objfile.exp
7627 * gdb.python/py-pp-integral.exp
7628 * gdb.python/py-pp-maint.exp
7629 * gdb.python/py-pp-re-notag.exp
7630 * gdb.python/py-pp-registration.exp
7631 * gdb.python/py-recurse-unwind.exp
7632 * gdb.python/py-strfns.exp
7633 * gdb.python/py-symbol.exp
7634 * gdb.python/py-symtab.exp
7635 * gdb.python/py-sync-interp.exp
7636 * gdb.python/py-typeprint.exp
7637 * gdb.python/py-unwind-maint.exp
7638 * gdb.python/py-unwind.exp
7639 * gdb.python/py-value-cc.exp
7640 * gdb.python/py-xmethods.exp
7641 * gdb.reverse/amd64-tailcall-reverse.exp
7642 * gdb.reverse/break-precsave.exp
7643 * gdb.reverse/break-reverse.exp
7644 * gdb.reverse/consecutive-precsave.exp
7645 * gdb.reverse/consecutive-reverse.exp
7646 * gdb.reverse/finish-precsave.exp
7647 * gdb.reverse/finish-reverse-bkpt.exp
7648 * gdb.reverse/finish-reverse.exp
7649 * gdb.reverse/fstatat-reverse.exp
7650 * gdb.reverse/getresuid-reverse.exp
7651 * gdb.reverse/i386-precsave.exp
7652 * gdb.reverse/i386-reverse.exp
7653 * gdb.reverse/i386-sse-reverse.exp
7654 * gdb.reverse/i387-env-reverse.exp
7655 * gdb.reverse/i387-stack-reverse.exp
7656 * gdb.reverse/insn-reverse.exp
7657 * gdb.reverse/machinestate-precsave.exp
7658 * gdb.reverse/machinestate.exp
7659 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7660 * gdb.reverse/pipe-reverse.exp
7661 * gdb.reverse/readv-reverse.exp
7662 * gdb.reverse/recvmsg-reverse.exp
7663 * gdb.reverse/rerun-prec.exp
7664 * gdb.reverse/s390-mvcle.exp
7665 * gdb.reverse/step-precsave.exp
7666 * gdb.reverse/step-reverse.exp
7667 * gdb.reverse/time-reverse.exp
7668 * gdb.reverse/until-precsave.exp
7669 * gdb.reverse/until-reverse.exp
7670 * gdb.reverse/waitpid-reverse.exp
7671 * gdb.reverse/watch-precsave.exp
7672 * gdb.reverse/watch-reverse.exp
7673 * gdb.rust/generics.exp
7674 * gdb.rust/methods.exp
7675 * gdb.rust/modules.exp
7676 * gdb.rust/simple.exp
7677 * gdb.server/connect-with-no-symbol-file.exp
7678 * gdb.server/ext-attach.exp
7679 * gdb.server/ext-restart.exp
7680 * gdb.server/ext-wrapper.exp
7681 * gdb.server/file-transfer.exp
7682 * gdb.server/server-exec-info.exp
7683 * gdb.server/server-kill.exp
7684 * gdb.server/server-mon.exp
7685 * gdb.server/wrapper.exp
7686 * gdb.stabs/exclfwd.exp
7687 * gdb.stabs/gdb11479.exp
7688 * gdb.threads/clone-new-thread-event.exp
7689 * gdb.threads/corethreads.exp
7690 * gdb.threads/current-lwp-dead.exp
7691 * gdb.threads/dlopen-libpthread.exp
7692 * gdb.threads/gcore-thread.exp
7693 * gdb.threads/sigstep-threads.exp
7694 * gdb.threads/watchpoint-fork.exp
7695 * gdb.trace/actions-changed.exp
7696 * gdb.trace/backtrace.exp
7697 * gdb.trace/change-loc.exp
7698 * gdb.trace/circ.exp
7699 * gdb.trace/collection.exp
7700 * gdb.trace/disconnected-tracing.exp
7701 * gdb.trace/ftrace.exp
7702 * gdb.trace/mi-trace-frame-collected.exp
7703 * gdb.trace/mi-trace-unavailable.exp
7704 * gdb.trace/mi-traceframe-changed.exp
7705 * gdb.trace/mi-tsv-changed.exp
7706 * gdb.trace/no-attach-trace.exp
7707 * gdb.trace/passc-dyn.exp
7708 * gdb.trace/qtro.exp
7709 * gdb.trace/range-stepping.exp
7710 * gdb.trace/read-memory.exp
7711 * gdb.trace/save-trace.exp
7712 * gdb.trace/signal.exp
7713 * gdb.trace/status-stop.exp
7714 * gdb.trace/tfile.exp
7715 * gdb.trace/trace-break.exp
7716 * gdb.trace/trace-buffer-size.exp
7717 * gdb.trace/trace-condition.exp
7718 * gdb.trace/tracefile-pseudo-reg.exp
7719 * gdb.trace/tstatus.exp
7720 * gdb.trace/unavailable.exp
7721 * gdb.trace/while-dyn.exp
7722 * gdb.trace/while-stepping.exp
7724 2016-12-22 Doug Evans <xdje42@gmail.com>
7726 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7729 2016-12-19 Yao Qi <yao.qi@linaro.org>
7731 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7732 (test_with_self): Don't call do_steps_and_nexts, and remove
7733 code about stepping into xmalloc.
7735 2016-12-09 Yao Qi <yao.qi@linaro.org>
7737 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7739 2016-12-09 Yao Qi <yao.qi@linaro.org>
7741 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7743 2016-12-09 Pedro Alves <palves@redhat.com>
7745 * gdb.base/all-architectures-0.exp: New file.
7746 * gdb.base/all-architectures-1.exp: New file.
7747 * gdb.base/all-architectures-2.exp: New file.
7748 * gdb.base/all-architectures-3.exp: New file.
7749 * gdb.base/all-architectures-4.exp: New file.
7750 * gdb.base/all-architectures-5.exp: New file.
7751 * gdb.base/all-architectures-6.exp: New file.
7752 * gdb.base/all-architectures-7.exp: New file.
7753 * gdb.base/all-architectures.exp.in: New file.
7755 2016-12-09 Yao Qi <yao.qi@linaro.org>
7757 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7759 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7761 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7763 Remove useless pattern-matching code.
7765 2016-12-02 Pedro Alves <palves@redhat.com>
7767 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7769 (top level): Call it.
7771 2016-12-02 Pedro Alves <palves@redhat.com>
7773 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7775 (top level): Call it.
7777 2016-12-02 Pedro Alves <palves@redhat.com>
7780 * gdb.base/commands.exp (user_defined_command_args_eval): New
7782 (top level): Call it.
7784 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7786 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7789 2016-12-02 Tom Tromey <tom@tromey.com>
7791 * gdb.dwarf2/main-subprogram.c: New file.
7792 * gdb.dwarf2/main-subprogram.exp: New file.
7794 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7796 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7797 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7798 gdb_test_no_output for a couple of cases.
7799 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7801 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7803 Fix test names and standardize compilation error messages throughout
7804 the following files:
7807 * gdb.arch/alpha-step.exp
7808 * gdb.arch/e500-prologue.exp
7809 * gdb.arch/ftrace-insn-reloc.exp
7810 * gdb.arch/gdb1291.exp
7811 * gdb.arch/gdb1431.exp
7812 * gdb.arch/gdb1558.exp
7813 * gdb.arch/i386-dr3-watch.exp
7814 * gdb.arch/i386-sse-stack-align.exp
7815 * gdb.arch/ia64-breakpoint-shadow.exp
7816 * gdb.arch/pa-nullify.exp
7817 * gdb.arch/powerpc-aix-prologue.exp
7818 * gdb.arch/thumb-bx-pc.exp
7819 * gdb.base/annota1.exp
7820 * gdb.base/annota3.exp
7821 * gdb.base/arrayidx.exp
7822 * gdb.base/assign.exp
7823 * gdb.base/attach.exp
7826 * gdb.base/bfp-test.exp
7827 * gdb.base/bigcore.exp
7828 * gdb.base/bitfields2.exp
7829 * gdb.base/break-fun-addr.exp
7830 * gdb.base/break-probes.exp
7831 * gdb.base/call-rt-st.exp
7832 * gdb.base/callexit.exp
7833 * gdb.base/catch-fork-kill.exp
7834 * gdb.base/charset.exp
7835 * gdb.base/checkpoint.exp
7836 * gdb.base/comprdebug.exp
7837 * gdb.base/constvars.exp
7838 * gdb.base/coredump-filter.exp
7839 * gdb.base/cursal.exp
7840 * gdb.base/cvexpr.exp
7841 * gdb.base/detach.exp
7842 * gdb.base/display.exp
7843 * gdb.base/dmsym.exp
7844 * gdb.base/dprintf-pending.exp
7845 * gdb.base/dso2dso.exp
7846 * gdb.base/dtrace-probe.exp
7848 * gdb.base/enum_cond.exp
7849 * gdb.base/exe-lock.exp
7850 * gdb.base/exec-invalid-sysroot.exp
7851 * gdb.base/execl-update-breakpoints.exp
7852 * gdb.base/exprs.exp
7853 * gdb.base/fileio.exp
7855 * gdb.base/finish.exp
7856 * gdb.base/fixsection.exp
7857 * gdb.base/foll-vfork.exp
7858 * gdb.base/frame-args.exp
7859 * gdb.base/gcore.exp
7860 * gdb.base/gdb1250.exp
7861 * gdb.base/global-var-nested-by-dso.exp
7862 * gdb.base/gnu-ifunc.exp
7863 * gdb.base/hashline1.exp
7864 * gdb.base/hashline2.exp
7865 * gdb.base/hashline3.exp
7866 * gdb.base/hbreak-in-shr-unsupported.exp
7868 * gdb.base/infcall-input.exp
7869 * gdb.base/info-fun.exp
7870 * gdb.base/info-shared.exp
7871 * gdb.base/jit-simple.exp
7872 * gdb.base/jit-so.exp
7875 * gdb.base/label.exp
7876 * gdb.base/lineinc.exp
7877 * gdb.base/logical.exp
7878 * gdb.base/longjmp.exp
7879 * gdb.base/macscp.exp
7880 * gdb.base/miscexprs.exp
7881 * gdb.base/new-ui-echo.exp
7882 * gdb.base/new-ui-pending-input.exp
7883 * gdb.base/new-ui.exp
7884 * gdb.base/nodebug.exp
7885 * gdb.base/nofield.exp
7886 * gdb.base/offsets.exp
7887 * gdb.base/overlays.exp
7888 * gdb.base/pending.exp
7889 * gdb.base/pointers.exp
7890 * gdb.base/pr11022.exp
7891 * gdb.base/printcmds.exp
7892 * gdb.base/prologue.exp
7893 * gdb.base/ptr-typedef.exp
7894 * gdb.base/realname-expand.exp
7895 * gdb.base/relativedebug.exp
7896 * gdb.base/relocate.exp
7897 * gdb.base/remote.exp
7898 * gdb.base/reread.exp
7899 * gdb.base/return2.exp
7900 * gdb.base/savedregs.exp
7902 * gdb.base/sepdebug.exp
7903 * gdb.base/sepsymtab.exp
7904 * gdb.base/set-inferior-tty.exp
7905 * gdb.base/setshow.exp
7906 * gdb.base/shlib-call.exp
7907 * gdb.base/sigaltstack.exp
7908 * gdb.base/siginfo-addr.exp
7909 * gdb.base/signals.exp
7910 * gdb.base/signull.exp
7911 * gdb.base/sigrepeat.exp
7912 * gdb.base/so-impl-ld.exp
7913 * gdb.base/solib-display.exp
7914 * gdb.base/solib-overlap.exp
7915 * gdb.base/solib-search.exp
7916 * gdb.base/solib-symbol.exp
7917 * gdb.base/structs.exp
7918 * gdb.base/structs2.exp
7919 * gdb.base/symtab-search-order.exp
7920 * gdb.base/twice.exp
7921 * gdb.base/unload.exp
7922 * gdb.base/varargs.exp
7923 * gdb.base/watchpoint-solib.exp
7924 * gdb.base/watchpoint.exp
7925 * gdb.base/whatis.exp
7926 * gdb.base/wrong_frame_bt_full.exp
7927 * gdb.btrace/dlopen.exp
7928 * gdb.cell/ea-standalone.exp
7929 * gdb.cell/ea-test.exp
7930 * gdb.cp/dispcxx.exp
7931 * gdb.cp/gdb2384.exp
7932 * gdb.cp/method2.exp
7933 * gdb.cp/nextoverthrow.exp
7934 * gdb.cp/pr10728.exp
7935 * gdb.disasm/am33.exp
7936 * gdb.disasm/h8300s.exp
7937 * gdb.disasm/mn10300.exp
7938 * gdb.disasm/sh3.exp
7939 * gdb.dwarf2/dw2-dir-file-name.exp
7940 * gdb.fortran/complex.exp
7941 * gdb.fortran/library-module.exp
7942 * gdb.guile/scm-pretty-print.exp
7943 * gdb.guile/scm-symbol.exp
7944 * gdb.guile/scm-type.exp
7945 * gdb.guile/scm-value.exp
7946 * gdb.linespec/linespec.exp
7949 * gdb.mi/mi-breakpoint-changed.exp
7950 * gdb.mi/mi-dprintf-pending.exp
7951 * gdb.mi/mi-dprintf.exp
7952 * gdb.mi/mi-exit-code.exp
7953 * gdb.mi/mi-pending.exp
7954 * gdb.mi/mi-solib.exp
7955 * gdb.mi/new-ui-mi-sync.exp
7956 * gdb.mi/pr11022.exp
7957 * gdb.mi/user-selected-context-sync.exp
7958 * gdb.opt/solib-intra-step.exp
7959 * gdb.python/py-events.exp
7960 * gdb.python/py-finish-breakpoint.exp
7961 * gdb.python/py-mi.exp
7962 * gdb.python/py-prettyprint.exp
7963 * gdb.python/py-shared.exp
7964 * gdb.python/py-symbol.exp
7965 * gdb.python/py-template.exp
7966 * gdb.python/py-type.exp
7967 * gdb.python/py-value.exp
7968 * gdb.reverse/solib-precsave.exp
7969 * gdb.reverse/solib-reverse.exp
7970 * gdb.server/solib-list.exp
7971 * gdb.stabs/weird.exp
7972 * gdb.threads/reconnect-signal.exp
7973 * gdb.threads/stepi-random-signal.exp
7974 * gdb.trace/actions.exp
7976 * gdb.trace/backtrace.exp
7977 * gdb.trace/change-loc.exp
7978 * gdb.trace/deltrace.exp
7979 * gdb.trace/ftrace-lock.exp
7980 * gdb.trace/ftrace.exp
7981 * gdb.trace/infotrace.exp
7982 * gdb.trace/mi-tracepoint-changed.exp
7983 * gdb.trace/packetlen.exp
7984 * gdb.trace/passcount.exp
7985 * gdb.trace/pending.exp
7986 * gdb.trace/range-stepping.exp
7987 * gdb.trace/report.exp
7988 * gdb.trace/stap-trace.exp
7989 * gdb.trace/tfind.exp
7990 * gdb.trace/trace-break.exp
7991 * gdb.trace/trace-condition.exp
7992 * gdb.trace/trace-enable-disable.exp
7993 * gdb.trace/trace-mt.exp
7994 * gdb.trace/tracecmd.exp
7995 * gdb.trace/tspeed.exp
7999 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8001 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8002 with gdb_test_no_output.
8003 Use command as test name.
8005 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8007 Fix test names starting with uppercase throughout the files.
8009 * gdb.ada/assign_1.exp
8010 * gdb.ada/boolean_expr.exp
8011 * gdb.base/arrayidx.exp
8013 * gdb.base/gcore-buffer-overflow.exp
8014 * gdb.base/testenv.exp
8015 * gdb.compile/compile.exp
8016 * gdb.python/py-framefilter-invalidarg.exp
8017 * gdb.python/py-framefilter.exp
8019 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8021 Fix test names starting with uppercase throughout the files.
8023 * gdb.ada/array_return.exp
8024 * gdb.ada/expr_delims.exp
8025 * gdb.ada/mi_dyn_arr.exp
8026 * gdb.ada/mi_interface.exp
8027 * gdb.ada/mi_var_array.exp
8028 * gdb.ada/watch_arg.exp
8029 * gdb.arch/alpha-step.exp
8030 * gdb.arch/altivec-regs.exp
8031 * gdb.arch/e500-regs.exp
8032 * gdb.arch/powerpc-d128-regs.exp
8033 * gdb.base/arrayidx.exp
8034 * gdb.base/break.exp
8035 * gdb.base/checkpoint.exp
8036 * gdb.base/debug-expr.exp
8037 * gdb.base/dmsym.exp
8038 * gdb.base/radix.exp
8039 * gdb.base/sepdebug.exp
8040 * gdb.base/testenv.exp
8041 * gdb.base/watch_thread_num.exp
8042 * gdb.base/watchpoint-cond-gone.exp
8043 * gdb.cell/break.exp
8044 * gdb.cell/ea-cache.exp
8045 * gdb.compile/compile.exp
8046 * gdb.cp/gdb2495.exp
8047 * gdb.gdb/selftest.exp
8048 * gdb.gdb/xfullpath.exp
8050 * gdb.go/integers.exp
8051 * gdb.objc/basicclass.exp
8052 * gdb.pascal/hello.exp
8053 * gdb.pascal/integers.exp
8054 * gdb.python/py-breakpoint.exp
8055 * gdb.python/py-cmd.exp
8056 * gdb.python/py-linetable.exp
8057 * gdb.python/py-xmethods.exp
8058 * gdb.python/python.exp
8059 * gdb.reverse/consecutive-precsave.exp
8060 * gdb.reverse/finish-precsave.exp
8061 * gdb.reverse/i386-precsave.exp
8062 * gdb.reverse/machinestate-precsave.exp
8063 * gdb.reverse/sigall-precsave.exp
8064 * gdb.reverse/solib-precsave.exp
8065 * gdb.reverse/step-precsave.exp
8066 * gdb.reverse/until-precsave.exp
8067 * gdb.reverse/watch-precsave.exp
8068 * gdb.threads/leader-exit.exp
8069 * gdb.threads/pthreads.exp
8070 * gdb.threads/wp-replication.exp
8071 * gdb.trace/actions.exp
8072 * gdb.trace/mi-tsv-changed.exp
8075 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8077 Fix test names starting with uppercase throughout the files.
8079 * gdb.arch/i386-bp_permanent.exp
8080 * gdb.arch/i386-gnu-cfi.exp
8081 * gdb.base/disasm-end-cu.exp
8082 * gdb.base/macscp.exp
8083 * gdb.base/pending.exp
8084 * gdb.base/watch_thread_num.exp
8085 * gdb.cp/exception.exp
8086 * gdb.cp/gdb2495.exp
8088 * gdb.python/py-evsignal.exp
8089 * gdb.python/python.exp
8090 * gdb.trace/tracecmd.exp
8092 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8094 Fix test names starting with uppercase throughout the files.
8096 * gdb.base/charset.exp
8098 * gdb.base/multi-forks.exp
8099 * gdb.guile/scm-progspace.exp
8100 * gdb.opencl/datatypes.exp
8101 * gdb.python/py-block.exp
8102 * gdb.python/py-function.exp
8103 * gdb.python/py-symbol.exp
8104 * gdb.python/py-symtab.exp
8105 * gdb.python/py-xmethods.exp
8106 * gdb.reverse/break-precsave.exp
8107 * gdb.reverse/break-reverse.exp
8108 * gdb.reverse/consecutive-precsave.exp
8109 * gdb.reverse/consecutive-reverse.exp
8110 * gdb.reverse/finish-precsave.exp
8111 * gdb.reverse/finish-reverse-bkpt.exp
8112 * gdb.reverse/finish-reverse.exp
8113 * gdb.reverse/fstatat-reverse.exp
8114 * gdb.reverse/getresuid-reverse.exp
8115 * gdb.reverse/i386-precsave.exp
8116 * gdb.reverse/i386-reverse.exp
8117 * gdb.reverse/i386-sse-reverse.exp
8118 * gdb.reverse/i387-stack-reverse.exp
8119 * gdb.reverse/insn-reverse.exp
8120 * gdb.reverse/machinestate-precsave.exp
8121 * gdb.reverse/machinestate.exp
8122 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8123 * gdb.reverse/pipe-reverse.exp
8124 * gdb.reverse/readv-reverse.exp
8125 * gdb.reverse/recvmsg-reverse.exp
8126 * gdb.reverse/rerun-prec.exp
8127 * gdb.reverse/s390-mvcle.exp
8128 * gdb.reverse/sigall-precsave.exp
8129 * gdb.reverse/sigall-reverse.exp
8130 * gdb.reverse/solib-precsave.exp
8131 * gdb.reverse/solib-reverse.exp
8132 * gdb.reverse/step-precsave.exp
8133 * gdb.reverse/step-reverse.exp
8134 * gdb.reverse/time-reverse.exp
8135 * gdb.reverse/until-precsave.exp
8136 * gdb.reverse/until-reverse.exp
8137 * gdb.reverse/waitpid-reverse.exp
8138 * gdb.reverse/watch-precsave.exp
8139 * gdb.reverse/watch-reverse.exp
8141 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8143 Fix test names starting with uppercase throughout the files.
8145 * gdb.arch/i386-mpx-simple_segv.exp
8146 * gdb.arch/i386-mpx.exp
8147 * gdb.arch/i386-permbkpt.exp
8148 * gdb.arch/pa-nullify.exp
8149 * gdb.arch/powerpc-d128-regs.exp
8150 * gdb.arch/vsx-regs.exp
8151 * gdb.base/bfp-test.exp
8152 * gdb.base/break.exp
8153 * gdb.base/breakpoint-shadow.exp
8154 * gdb.base/callfuncs.exp
8155 * gdb.base/charset.exp
8156 * gdb.base/commands.exp
8157 * gdb.base/completion.exp
8158 * gdb.base/dfp-test.exp
8160 * gdb.base/ending-run.exp
8162 * gdb.base/expand-psymtabs.exp
8163 * gdb.base/float128.exp
8164 * gdb.base/floatn.exp
8165 * gdb.base/foll-exec-mode.exp
8166 * gdb.base/gdb1056.exp
8167 * gdb.base/gdb11531.exp
8168 * gdb.base/kill-after-signal.exp
8169 * gdb.base/multi-forks.exp
8170 * gdb.base/overlays.exp
8171 * gdb.base/pending.exp
8172 * gdb.base/sepdebug.exp
8173 * gdb.base/testenv.exp
8174 * gdb.base/valgrind-db-attach.exp
8175 * gdb.base/watch_thread_num.exp
8176 * gdb.base/watchpoint-cond-gone.exp
8177 * gdb.base/watchpoint.exp
8178 * gdb.base/watchpoints.exp
8179 * gdb.cp/arg-reference.exp
8180 * gdb.cp/baseenum.exp
8181 * gdb.cp/operator.exp
8183 * gdb.dwarf2/dw2-op-out-param.exp
8184 * gdb.dwarf2/dw2-reg-undefined.exp
8187 * gdb.go/integers.exp
8188 * gdb.go/methods.exp
8189 * gdb.go/package.exp
8190 * gdb.guile/scm-parameter.exp
8191 * gdb.guile/scm-progspace.exp
8192 * gdb.guile/scm-value.exp
8193 * gdb.mi/mi-pending.exp
8194 * gdb.mi/user-selected-context-sync.exp
8195 * gdb.multi/multi-attach.exp
8196 * gdb.multi/tids.exp
8197 * gdb.opt/clobbered-registers-O2.exp
8198 * gdb.pascal/floats.exp
8199 * gdb.pascal/integers.exp
8200 * gdb.python/py-block.exp
8201 * gdb.python/py-events.exp
8202 * gdb.python/py-parameter.exp
8203 * gdb.python/py-symbol.exp
8204 * gdb.python/py-symtab.exp
8205 * gdb.python/py-type.exp
8206 * gdb.python/py-value.exp
8207 * gdb.python/py-xmethods.exp
8208 * gdb.python/python.exp
8209 * gdb.reverse/break-precsave.exp
8210 * gdb.reverse/consecutive-precsave.exp
8211 * gdb.reverse/finish-precsave.exp
8212 * gdb.reverse/i386-precsave.exp
8213 * gdb.reverse/machinestate-precsave.exp
8214 * gdb.reverse/sigall-precsave.exp
8215 * gdb.reverse/solib-precsave.exp
8216 * gdb.reverse/step-precsave.exp
8217 * gdb.reverse/until-precsave.exp
8218 * gdb.reverse/watch-precsave.exp
8219 * gdb.server/ext-attach.exp
8220 * gdb.server/ext-restart.exp
8221 * gdb.server/ext-run.exp
8222 * gdb.server/ext-wrapper.exp
8223 * gdb.stabs/gdb11479.exp
8224 * gdb.stabs/weird.exp
8225 * gdb.threads/attach-many-short-lived-threads.exp
8226 * gdb.threads/kill.exp
8227 * gdb.threads/watchpoint-fork.exp
8229 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8231 Fix test names starting with uppercase throughout all the files below.
8233 * gdb.ada/array_return.exp
8234 * gdb.ada/catch_ex.exp
8235 * gdb.ada/info_exc.exp
8236 * gdb.ada/mi_catch_ex.exp
8237 * gdb.ada/mi_dyn_arr.exp
8238 * gdb.ada/mi_ex_cond.exp
8239 * gdb.ada/mi_exc_info.exp
8240 * gdb.ada/mi_interface.exp
8241 * gdb.ada/mi_task_arg.exp
8242 * gdb.ada/mi_task_info.exp
8243 * gdb.ada/mi_var_array.exp
8244 * gdb.arch/alpha-step.exp
8245 * gdb.arch/amd64-disp-step.exp
8246 * gdb.arch/arm-disp-step.exp
8247 * gdb.arch/disp-step-insn-reloc.exp
8248 * gdb.arch/e500-prologue.exp
8249 * gdb.arch/ftrace-insn-reloc.exp
8250 * gdb.arch/gdb1558.exp
8251 * gdb.arch/i386-bp_permanent.exp
8252 * gdb.arch/i386-disp-step.exp
8253 * gdb.arch/i386-float.exp
8254 * gdb.arch/i386-gnu-cfi.exp
8255 * gdb.arch/ia64-breakpoint-shadow.exp
8256 * gdb.arch/mips16-thunks.exp
8257 * gdb.arch/pa-nullify.exp
8258 * gdb.arch/powerpc-aix-prologue.exp
8259 * gdb.arch/powerpc-power.exp
8260 * gdb.arch/ppc-dfp.exp
8261 * gdb.arch/s390-tdbregs.exp
8262 * gdb.arch/spu-info.exp
8263 * gdb.arch/spu-ls.exp
8264 * gdb.arch/thumb-bx-pc.exp
8265 * gdb.base/advance.exp
8266 * gdb.base/annota-input-while-running.exp
8267 * gdb.base/arrayidx.exp
8268 * gdb.base/asmlabel.exp
8269 * gdb.base/async.exp
8270 * gdb.base/attach-wait-input.exp
8271 * gdb.base/auto-connect-native-target.exp
8272 * gdb.base/batch-preserve-term-settings.exp
8273 * gdb.base/bfp-test.exp
8274 * gdb.base/bigcore.exp
8275 * gdb.base/bp-permanent.exp
8276 * gdb.base/break-always.exp
8277 * gdb.base/break-fun-addr.exp
8278 * gdb.base/break-idempotent.exp
8279 * gdb.base/break-main-file-remove-fail.exp
8280 * gdb.base/break-probes.exp
8281 * gdb.base/break-unload-file.exp
8282 * gdb.base/break.exp
8283 * gdb.base/call-ar-st.exp
8284 * gdb.base/call-rt-st.exp
8285 * gdb.base/call-sc.exp
8286 * gdb.base/call-signal-resume.exp
8287 * gdb.base/call-strs.exp
8288 * gdb.base/callexit.exp
8289 * gdb.base/callfuncs.exp
8290 * gdb.base/catch-gdb-caused-signals.exp
8291 * gdb.base/catch-signal-siginfo-cond.exp
8292 * gdb.base/catch-syscall.exp
8293 * gdb.base/compare-sections.exp
8294 * gdb.base/cond-eval-mode.exp
8295 * gdb.base/condbreak-call-false.exp
8296 * gdb.base/consecutive-step-over.exp
8297 * gdb.base/cursal.exp
8298 * gdb.base/disabled-location.exp
8299 * gdb.base/disasm-end-cu.exp
8300 * gdb.base/display.exp
8301 * gdb.base/double-prompt-target-event-error.exp
8302 * gdb.base/dprintf-bp-same-addr.exp
8303 * gdb.base/dprintf-detach.exp
8304 * gdb.base/dprintf-next.exp
8305 * gdb.base/dprintf-non-stop.exp
8306 * gdb.base/dprintf-pending.exp
8307 * gdb.base/dso2dso.exp
8308 * gdb.base/ending-run.exp
8309 * gdb.base/enum_cond.exp
8310 * gdb.base/examine-backward.exp
8311 * gdb.base/exe-lock.exp
8312 * gdb.base/exec-invalid-sysroot.exp
8313 * gdb.base/execl-update-breakpoints.exp
8314 * gdb.base/execution-termios.exp
8315 * gdb.base/fileio.exp
8316 * gdb.base/fixsection.exp
8317 * gdb.base/foll-exec-mode.exp
8318 * gdb.base/foll-exec.exp
8319 * gdb.base/fork-running-state.exp
8320 * gdb.base/frame-args.exp
8321 * gdb.base/fullpath-expand.exp
8322 * gdb.base/func-ptr.exp
8323 * gdb.base/gcore-relro-pie.exp
8324 * gdb.base/gdb1090.exp
8325 * gdb.base/gdb1555.exp
8326 * gdb.base/global-var-nested-by-dso.exp
8327 * gdb.base/gnu-ifunc.exp
8328 * gdb.base/hbreak-in-shr-unsupported.exp
8329 * gdb.base/hbreak-unmapped.exp
8330 * gdb.base/hook-stop.exp
8331 * gdb.base/infcall-input.exp
8332 * gdb.base/info-fun.exp
8333 * gdb.base/info-shared.exp
8334 * gdb.base/interrupt-noterm.exp
8335 * gdb.base/jit-so.exp
8337 * gdb.base/line-symtabs.exp
8339 * gdb.base/longjmp.exp
8340 * gdb.base/macscp.exp
8341 * gdb.base/max-value-size.exp
8342 * gdb.base/nodebug.exp
8343 * gdb.base/nofield.exp
8344 * gdb.base/overlays.exp
8345 * gdb.base/paginate-after-ctrl-c-running.exp
8346 * gdb.base/paginate-bg-execution.exp
8347 * gdb.base/paginate-inferior-exit.exp
8348 * gdb.base/pending.exp
8349 * gdb.base/pr11022.exp
8350 * gdb.base/printcmds.exp
8351 * gdb.base/ptr-typedef.exp
8352 * gdb.base/ptype.exp
8353 * gdb.base/randomize.exp
8354 * gdb.base/range-stepping.exp
8355 * gdb.base/realname-expand.exp
8356 * gdb.base/relativedebug.exp
8357 * gdb.base/remote.exp
8358 * gdb.base/savedregs.exp
8359 * gdb.base/sepdebug.exp
8360 * gdb.base/set-noassign.exp
8361 * gdb.base/shlib-call.exp
8362 * gdb.base/shreloc.exp
8363 * gdb.base/sigaltstack.exp
8364 * gdb.base/sigbpt.exp
8365 * gdb.base/siginfo-addr.exp
8366 * gdb.base/siginfo-obj.exp
8367 * gdb.base/siginfo-thread.exp
8368 * gdb.base/signest.exp
8369 * gdb.base/signull.exp
8370 * gdb.base/sigrepeat.exp
8372 * gdb.base/so-impl-ld.exp
8373 * gdb.base/solib-corrupted.exp
8374 * gdb.base/solib-disc.exp
8375 * gdb.base/solib-display.exp
8376 * gdb.base/solib-overlap.exp
8377 * gdb.base/solib-search.exp
8378 * gdb.base/solib-symbol.exp
8379 * gdb.base/source-execution.exp
8380 * gdb.base/sss-bp-on-user-bp-2.exp
8381 * gdb.base/sss-bp-on-user-bp.exp
8382 * gdb.base/stack-checking.exp
8383 * gdb.base/stale-infcall.exp
8384 * gdb.base/step-break.exp
8385 * gdb.base/step-line.exp
8386 * gdb.base/step-over-exit.exp
8387 * gdb.base/step-test.exp
8388 * gdb.base/structs.exp
8389 * gdb.base/sym-file.exp
8390 * gdb.base/symtab-search-order.exp
8392 * gdb.base/type-opaque.exp
8393 * gdb.base/unload.exp
8394 * gdb.base/until-nodebug.exp
8395 * gdb.base/until.exp
8396 * gdb.base/unwindonsignal.exp
8397 * gdb.base/watch-cond.exp
8398 * gdb.base/watch-non-mem.exp
8399 * gdb.base/watch_thread_num.exp
8400 * gdb.base/watchpoint-reuse-slot.exp
8401 * gdb.base/watchpoint-solib.exp
8402 * gdb.base/watchpoint.exp
8403 * gdb.btrace/dlopen.exp
8405 * gdb.cell/break.exp
8409 * gdb.cell/dwarfaddr.exp
8410 * gdb.cell/ea-cache.exp
8411 * gdb.cell/ea-standalone.exp
8412 * gdb.cell/ea-test.exp
8413 * gdb.cell/f-regs.exp
8415 * gdb.cell/gcore.exp
8416 * gdb.cell/mem-access.exp
8417 * gdb.cell/ptype.exp
8418 * gdb.cell/registers.exp
8419 * gdb.cell/sizeof.exp
8420 * gdb.cell/solib-symbol.exp
8421 * gdb.cell/solib.exp
8422 * gdb.compile/compile-tls.exp
8423 * gdb.cp/exception.exp
8424 * gdb.cp/gdb2495.exp
8426 * gdb.cp/mb-inline.exp
8427 * gdb.cp/mb-templates.exp
8428 * gdb.cp/pr10687.exp
8430 * gdb.cp/scope-err.exp
8431 * gdb.cp/templates.exp
8432 * gdb.cp/virtfunc.exp
8433 * gdb.dwarf2/dw2-dir-file-name.exp
8434 * gdb.dwarf2/dw2-single-line-discriminators.exp
8435 * gdb.fortran/complex.exp
8436 * gdb.fortran/library-module.exp
8437 * gdb.guile/guile.exp
8438 * gdb.guile/scm-cmd.exp
8439 * gdb.guile/scm-frame-inline.exp
8440 * gdb.guile/scm-objfile.exp
8441 * gdb.guile/scm-pretty-print.exp
8442 * gdb.guile/scm-symbol.exp
8443 * gdb.guile/scm-type.exp
8444 * gdb.guile/scm-value.exp
8445 * gdb.linespec/keywords.exp
8446 * gdb.linespec/ls-errs.exp
8447 * gdb.linespec/macro-relative.exp
8448 * gdb.linespec/thread.exp
8449 * gdb.mi/mi-breakpoint-changed.exp
8450 * gdb.mi/mi-dprintf-pending.exp
8451 * gdb.mi/mi-fullname-deleted.exp
8452 * gdb.mi/mi-logging.exp
8453 * gdb.mi/mi-pending.exp
8454 * gdb.mi/mi-solib.exp
8455 * gdb.mi/new-ui-mi-sync.exp
8456 * gdb.mi/user-selected-context-sync.exp
8457 * gdb.multi/dummy-frame-restore.exp
8458 * gdb.multi/multi-arch-exec.exp
8459 * gdb.multi/remove-inferiors.exp
8460 * gdb.multi/watchpoint-multi-exit.exp
8461 * gdb.opt/solib-intra-step.exp
8462 * gdb.perf/backtrace.exp
8463 * gdb.perf/single-step.exp
8464 * gdb.perf/skip-command.exp
8465 * gdb.perf/skip-prologue.exp
8466 * gdb.perf/solib.exp
8467 * gdb.python/lib-types.exp
8468 * gdb.python/py-as-string.exp
8469 * gdb.python/py-bad-printers.exp
8470 * gdb.python/py-block.exp
8471 * gdb.python/py-breakpoint.exp
8472 * gdb.python/py-cmd.exp
8473 * gdb.python/py-events.exp
8474 * gdb.python/py-evthreads.exp
8475 * gdb.python/py-finish-breakpoint.exp
8476 * gdb.python/py-finish-breakpoint2.exp
8477 * gdb.python/py-frame-inline.exp
8478 * gdb.python/py-frame.exp
8479 * gdb.python/py-inferior.exp
8480 * gdb.python/py-infthread.exp
8481 * gdb.python/py-mi.exp
8482 * gdb.python/py-objfile.exp
8483 * gdb.python/py-pp-maint.exp
8484 * gdb.python/py-pp-registration.exp
8485 * gdb.python/py-prettyprint.exp
8486 * gdb.python/py-recurse-unwind.exp
8487 * gdb.python/py-shared.exp
8488 * gdb.python/py-symbol.exp
8489 * gdb.python/py-symtab.exp
8490 * gdb.python/py-template.exp
8491 * gdb.python/py-type.exp
8492 * gdb.python/py-unwind-maint.exp
8493 * gdb.python/py-unwind.exp
8494 * gdb.python/py-value.exp
8495 * gdb.python/python.exp
8496 * gdb.reverse/finish-reverse-bkpt.exp
8497 * gdb.reverse/insn-reverse.exp
8498 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8499 * gdb.reverse/solib-precsave.exp
8500 * gdb.reverse/solib-reverse.exp
8501 * gdb.stabs/gdb11479.exp
8502 * gdb.stabs/weird.exp
8503 * gdb.threads/fork-child-threads.exp
8504 * gdb.threads/fork-plus-threads.exp
8505 * gdb.threads/fork-thread-pending.exp
8506 * gdb.threads/forking-threads-plus-breakpoint.exp
8507 * gdb.threads/hand-call-in-threads.exp
8508 * gdb.threads/interrupted-hand-call.exp
8509 * gdb.threads/linux-dp.exp
8510 * gdb.threads/local-watch-wrong-thread.exp
8511 * gdb.threads/next-while-other-thread-longjmps.exp
8512 * gdb.threads/non-ldr-exit.exp
8513 * gdb.threads/pending-step.exp
8514 * gdb.threads/print-threads.exp
8515 * gdb.threads/process-dies-while-detaching.exp
8516 * gdb.threads/process-dies-while-handling-bp.exp
8517 * gdb.threads/pthreads.exp
8518 * gdb.threads/queue-signal.exp
8519 * gdb.threads/reconnect-signal.exp
8520 * gdb.threads/signal-command-handle-nopass.exp
8521 * gdb.threads/signal-command-multiple-signals-pending.exp
8522 * gdb.threads/signal-delivered-right-thread.exp
8523 * gdb.threads/signal-sigtrap.exp
8524 * gdb.threads/sigthread.exp
8525 * gdb.threads/staticthreads.exp
8526 * gdb.threads/stepi-random-signal.exp
8527 * gdb.threads/thread-unwindonsignal.exp
8528 * gdb.threads/thread_check.exp
8529 * gdb.threads/thread_events.exp
8530 * gdb.threads/tid-reuse.exp
8531 * gdb.threads/tls-nodebug.exp
8532 * gdb.threads/tls-shared.exp
8533 * gdb.threads/tls-so_extern.exp
8534 * gdb.threads/tls.exp
8535 * gdb.threads/wp-replication.exp
8536 * gdb.trace/actions-changed.exp
8537 * gdb.trace/actions.exp
8538 * gdb.trace/backtrace.exp
8539 * gdb.trace/change-loc.exp
8540 * gdb.trace/collection.exp
8541 * gdb.trace/deltrace.exp
8542 * gdb.trace/disconnected-tracing.exp
8543 * gdb.trace/entry-values.exp
8544 * gdb.trace/ftrace-lock.exp
8545 * gdb.trace/ftrace.exp
8546 * gdb.trace/infotrace.exp
8547 * gdb.trace/mi-trace-frame-collected.exp
8548 * gdb.trace/mi-trace-unavailable.exp
8549 * gdb.trace/mi-traceframe-changed.exp
8550 * gdb.trace/mi-tracepoint-changed.exp
8551 * gdb.trace/mi-tsv-changed.exp
8552 * gdb.trace/no-attach-trace.exp
8553 * gdb.trace/packetlen.exp
8554 * gdb.trace/passc-dyn.exp
8555 * gdb.trace/passcount.exp
8556 * gdb.trace/pending.exp
8557 * gdb.trace/pr16508.exp
8558 * gdb.trace/qtro.exp
8559 * gdb.trace/range-stepping.exp
8560 * gdb.trace/read-memory.exp
8561 * gdb.trace/report.exp
8562 * gdb.trace/save-trace.exp
8563 * gdb.trace/signal.exp
8564 * gdb.trace/stap-trace.exp
8565 * gdb.trace/status-stop.exp
8566 * gdb.trace/strace.exp
8567 * gdb.trace/tfile.exp
8568 * gdb.trace/tfind.exp
8569 * gdb.trace/trace-break.exp
8570 * gdb.trace/trace-condition.exp
8571 * gdb.trace/trace-enable-disable.exp
8572 * gdb.trace/trace-mt.exp
8573 * gdb.trace/tracecmd.exp
8574 * gdb.trace/tracefile-pseudo-reg.exp
8575 * gdb.trace/tspeed.exp
8576 * gdb.trace/tstatus.exp
8578 * gdb.trace/unavailable.exp
8579 * gdb.trace/while-dyn.exp
8580 * gdb.trace/while-stepping.exp
8583 * lib/mi-support.exp
8586 * lib/prelink-support.exp
8587 * lib/selftest-support.exp
8589 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8591 * Makefile.in: Include disable-implicit-rules.mk.
8593 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8595 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8596 non-byte-aligned bit fields.
8598 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8601 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8602 respects the DW_AT_data_bit_offset attribute.
8604 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8606 * gdb.base/default.exp: Fix output of "set language".
8608 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8610 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8611 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8613 * configure.ac: Remove checks for the make program.
8614 * configure: Re-generate.
8616 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8618 * gdb.python/py-recurse-unwind.c (main): Add loop.
8619 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8620 to read_register() and gdb.parse_and_eval(). Make each code
8621 call a separate case that can be individually tested.
8622 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8623 proc. Call cont_and_backtrace for each of the code paths that
8624 we want to test in the unwinder.
8626 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8628 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8629 the definition of struct S.
8631 2016-11-11 Catherine Moore <clm@codesourcery.com>
8633 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8635 2016-11-09 Pedro Alves <palves@redhat.com>
8637 * gdb.base/commands.exp (runto_or_return): New procedure.
8638 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8639 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8640 (progvar_simple_while_test, progvar_complex_if_while_test)
8641 (if_while_breakpoint_command_test)
8642 (infrun_breakpoint_command_test, breakpoint_command_test)
8643 (user_defined_command_test, watchpoint_command_test)
8644 (test_command_prompt_position, redefine_hook_test)
8645 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8646 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8647 multi_line_input and multi_line. Remove gdb_expect and
8648 gdb_stop_suppressing_tests uses.
8649 * lib/gdb.exp (valnum_re): New global.
8650 (multi_line_input): New procedure.
8652 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8654 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8656 (test_setup): Define with proc_with_prefix.
8657 (test_cli_inferior): Likewise.
8658 (test_cli_thread): Likewise.
8659 (test_cli_frame): Likewise.
8660 (test_cli_select_frame): Likewise.
8661 (test_cli_up_down): Likewise.
8662 (test_mi_thread_select): Likewise.
8663 (test_mi_stack_select_frame): Likewise.
8664 (test_cli_in_mi_inferior): Likewise.
8665 (test_cli_in_mi_thread): Likewise.
8666 (test_cli_in_mi_frame): Likewise.
8667 (top level): Do not use with_test_prefix_procname.
8669 2016-11-09 Pedro Alves <palves@redhat.com>
8671 * gdb.base/commands.exp (gdbvar_simple_if_test)
8672 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8673 (progvar_simple_if_test, progvar_simple_while_test)
8674 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8675 (infrun_breakpoint_command_test, breakpoint_command_test)
8676 (user_defined_command_test, watchpoint_command_test)
8677 (test_command_prompt_position, deprecated_command_test)
8678 (bp_deleted_in_command, temporary_breakpoint_commands)
8679 (stray_arg0_test, source_file_with_indented_comment)
8680 (recursive_source_test, if_commands_test)
8681 (error_clears_commands_left, redefine_hook_test)
8682 (redefine_backtrace_test): Use proc_with_prefix.
8683 * lib/gdb.exp (proc_with_prefix): New proc.
8685 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8687 * gdb.base/tui-layout.c: New file.
8688 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8689 disassembly window contains very long lines.
8691 2016-11-08 Tom Tromey <tom@tromey.com>
8693 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8696 2016-11-08 Tom Tromey <tom@tromey.com>
8698 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8701 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8703 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8705 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8707 * gdb.rust/simple.rs: Add test for univariant enums without
8708 discriminants and for encoded struct-like enums.
8710 2016-10-28 Pedro Alves <palves@redhat.com>
8712 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8713 gdb_test_multiple, tighten regexps and match symtabs and line
8714 tables incrementally.
8716 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8718 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8721 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8723 * gdb.base/exec-invalid-sysroot.exp: New file.
8725 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8727 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8729 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8731 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8733 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8735 * gdb.base/killed-outside.exp: Remove $options from a call to
8736 `prepare_for_testing'.
8738 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8740 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8741 Change test message.
8743 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8745 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8748 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8750 * gdb.trace/mi-trace-save.exp: New file.
8752 2016-10-13 Yao Qi <yao.qi@linaro.org>
8754 * gdb.base/code_elim.exp (get_var_address): Remove.
8755 * gdb.base/relocate.exp: Likewise.
8756 * gdb.base/shreloc.exp: Likewise.
8757 * lib/gdb.exp (get_var_address): New.
8759 2016-10-13 Yao Qi <yao.qi@linaro.org>
8761 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8762 floating point tests if $skip_float_test is false.
8764 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8766 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8767 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8769 Add 1 to argc so we guarantee distinct initial/modified argc values.
8771 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8773 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8775 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8777 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8778 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8779 * gdb.arch/vsx-regs.exp: Likewise.
8781 2016-10-07 Yao Qi <yao.qi@linaro.org>
8783 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8785 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8787 * gdb.python/python.exp: Test decode_line("*0").
8789 2016-10-06 Doug Evans <dje@google.com>
8791 * gdb.python/py-value.exp (test_value_creation): Add test for large
8792 unsigned 64-bit value.
8794 2016-10-06 Tom Tromey <tom@tromey.com>
8796 * gdb.compile/compile.exp: Change java tests to rust.
8797 * gdb.base/setshow.exp: Change java tests to rust.
8798 * gdb.base/default.exp: Remove java from language list.
8799 * README (Examples): Update language example.
8800 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8802 * lib/gdb.exp (skip_java_tests): Remove.
8803 * lib/java.exp: Remove.
8806 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8808 * gdb.arch/mips-fcr.exp: New test.
8809 * gdb.arch/mips-fcr.c: Source for the new test.
8811 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8813 * gdb.base/solib-disc.exp: Use `standard_output_file'
8816 2016-10-06 Pedro Alves <palves@redhat.com>
8818 * gdb.base/jit-simple-dl.c: New file.
8819 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8820 * gdb.base/jit-simple.c: ... this.
8821 * gdb.base/jit-simple.exp (jit_run): Delete.
8822 (build_jit): New proc.
8823 (jit_test_reread): Recompile either the main program or the shared
8824 library, depending on what is being tested. Skip changing address
8825 if caller wants to. Compare before/after addresses. If testing
8826 standalone, explicitly load the binary. Test "maint info
8828 (top level): Add "standalone vs shared lib" and "change address"
8829 vs "same address" axes.
8831 2016-10-06 Pedro Alves <palves@redhat.com>
8833 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8836 (jit_test_reread): Use with_test_prefix. Reload the main binary
8837 explicitly. Compare the before/after addresses of the JIT
8840 2016-08-15 Doug Evans <dje@google.com>
8842 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8843 for single bitfields is bool.
8844 * gdb.xml/tdesc-regs.exp: Ditto.
8846 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8848 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8850 2016-10-05 Yao Qi <yao.qi@linaro.org>
8852 * lib/gdb.exp (support_complex_tests): Return zero if
8853 gdb_skip_float_test return true.
8855 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8856 Simon Marchi <simon.marchi@ericsson.com>
8859 * gdb.mi/user-selected-context-sync.exp: New file.
8860 * gdb.mi/user-selected-context-sync.c: New file.
8862 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8863 Simon Marchi <simon.marchi@ericsson.com>
8866 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8867 =thread-select-event check.
8869 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8871 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8872 the compulsory L operand changes.
8873 * gdb.arch/powerpc-power.s: Likewise.
8875 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8877 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8878 * gdb.base/jit-attach-pie.c: New file.
8879 * gdb.base/jit-attach-pie.exp: New file.
8881 2016-09-28 Pedro Alves <palves@redhat.com>
8883 * gdb.base/infcall-input.c: New file.
8884 * gdb.base/infcall-input.exp: New file.
8886 2016-09-22 Yao Qi <yao.qi@linaro.org>
8888 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8889 (gdb_exit): Rename it to ...
8890 (gdbserver_gdb_exit): ... Close GDBserver.
8891 (gdb_exit): New proc, call gdbserver_gdb_exit.
8892 (mi_gdb_exit): Likewise.
8894 2016-09-22 Yao Qi <yao.qi@linaro.org>
8896 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8898 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8901 2016-09-22 Yao Qi <yao.qi@linaro.org>
8903 * lib/gdbserver-support.exp: Check the existence of
8904 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8906 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8908 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8910 2016-09-21 Tom Tromey <tom@tromey.com>
8913 * gdb.base/quit.exp: New file.
8915 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8917 * .gitignore: New file.
8919 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8921 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8924 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8926 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8928 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8930 * gdb.cp/casts.cc (decltype): Move it ...
8931 (main): ... with its call to ...
8932 * gdb.cp/casts03.cc: ... a new file.
8933 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8935 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8937 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8939 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8941 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8942 and sync up the test with tests in gas/testsuite/gas/ppc.
8943 * gdb.arch/powerpc-power.exp: Likewise.
8945 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8947 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8949 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8950 Jan Kratochvil <jan.kratochvil@redhat.com>
8952 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8953 make m1's definition to be different from m2's. Use 'dummy' as an
8954 argument for probe 'two'.
8956 2016-09-10 Jon Beniston <jon@beniston.com>
8958 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8961 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8963 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8964 variable declaration.
8965 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8966 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8967 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8968 received HWCAP as its argument.
8970 2016-09-06 Pedro Alves <palves@redhat.com>
8972 * gdb.base/new-ui-pending-input.c: New file.
8973 * gdb.base/new-ui-pending-input.exp: New file.
8974 * gdb.exp (clear_gdb_spawn_id): New procedure.
8975 (with_spawn_id): Check whether gdb_spawn_id exists before
8976 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8979 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8981 * gdb.base/float128.c: New file.
8982 * gdb.base/float128.exp: Likewise.
8983 * gdb.base/floatn.c: Likewise.
8984 * gdb.base/floatn.exp: Likewise.
8986 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8988 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8990 2016-09-05 Pedro Alves <palves@redhat.com>
8993 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8994 unwinders are immediately called as side effect of "source" or
8995 "disable unwinder" commands.
8996 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8998 2016-09-02 Yao Qi <yao.qi@linaro.org>
9000 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9001 is true and $type is "float" or "double".
9003 2016-09-02 Yao Qi <yao.qi@linaro.org>
9005 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9007 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9008 * gdb.base/call-rt-st.exp: Likewise.
9009 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9010 return value instead of gdb,skip_float_test.
9011 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9012 (do_function_calls): Use its return value instead of
9013 gdb,skip_float_test.
9014 * gdb.base/finish.exp: Likewise.
9015 * gdb.base/funcargs.exp: Likewise.
9016 * gdb.base/return.exp: Likewise.
9017 * gdb.base/return2.exp: Likewise.
9018 * gdb.base/varargs.exp: Likewise.
9019 * lib/gdb.exp (gdb_skip_float_test): Change it to
9020 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9022 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9024 * gdb.multi/tids.exp: Test "thread apply all".
9026 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9028 * gdb.base/default.exp (tty): Remove.
9030 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9032 * gdb.python/py-recurse-unwind.c: New file.
9033 * gdb.python/py-recurse-unwind.py: New file.
9034 * gdb.python/py-recurse-unwind.exp: New file.
9036 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9038 * gdb.base/set-inferior-tty.exp: New file.
9039 * gdb.base/set-inferior-tty.c: New file.
9041 2016-08-23 Pedro Alves <palves@redhat.com>
9044 * gdb.base/new-ui-echo.c: New file.
9045 * gdb.base/new-ui-echo.exp: New file.
9047 2016-08-23 Yao Qi <yao.qi@linaro.org>
9049 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9051 * gdb.server/connect-without-multi-process.exp (do_test):
9054 2016-08-23 Yao Qi <yao.qi@linaro.org>
9056 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9057 standalone_txt. Delete gdb_txt and standalone_txt on host
9058 and target. Spawn the binary on target. Copy files from
9061 2016-08-22 Pedro Alves <palves@redhat.com>
9064 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9065 with_test_prefix. Factor out bits to ...
9066 (test_no_vdso): ... this new procedure.
9068 2016-08-19 Carl Love <cel@us.ibm.com>
9070 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9071 maintaining separate logic for constructing the output path.
9072 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9073 * gdb.arch/ppc-dfp.exp: Likewise.
9074 * gdb.arch/ppc-fp.exp: Likewise.
9075 * gdb.arch/vsx-regs.exp: Likewise.
9076 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9077 binprefix for generating the additional binary files.
9079 2016-08-19 Pedro Alves <palves@redhat.com>
9081 * gdb.trace/mi-trace-frame-collected.exp
9082 (test_trace_frame_collected): On x32, expect two registers.
9084 2016-08-18 Carl Love <cel@us.ibm.com>
9086 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9087 and sync up the test with tests in gas/testsuite/gas/ppc.
9088 * gdb.arch/powerpc-power.exp: Likewise.
9090 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9092 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9093 expected error message.
9095 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9097 * gdb.multi/remove-inferiors.exp: New file.
9098 * gdb.multi/remove-inferiors.c: New file.
9100 2016-08-12 Yao Qi <yao.qi@linaro.org>
9102 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9105 2016-08-10 Pedro Alves <palves@redhat.com>
9108 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9111 2016-08-09 Pedro Alves <palves@redhat.com>
9112 Simon Marchi <simon.marchi@ericsson.com>
9115 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9116 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9118 2016-08-09 Pedro Alves <palves@redhat.com>
9121 * gdb.mi/mi-cmd-error.exp: New file.
9123 2016-08-09 Pedro Alves <palves@redhat.com>
9126 * gdb.base/signals-state-child.c: New file.
9127 * gdb.base/signals-state-child.exp: New file.
9128 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9130 2016-08-09 Pedro Alves <palves@redhat.com>
9132 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9134 2016-08-03 Tom Tromey <tom@tromey.com>
9137 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9139 2016-08-01 Yao Qi <yao.qi@linaro.org>
9141 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9142 variable mode to "multi-process" if $multi_process is 1, otherwise
9143 set it to "single-process".
9145 2016-08-01 Yao Qi <yao.qi@linaro.org>
9147 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9148 * gdb.cp/cpexprs.exp: Likewise.
9149 * gdb.cp/m-static.exp: Likewise.
9151 2016-07-26 Tom Tromey <tom@tromey.com>
9154 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9157 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9159 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9160 selecting assembly source files.
9161 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9162 assembly source files.
9163 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9164 assembly source files.
9165 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9166 selecting assembly source files.
9168 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9170 * gdb.base/new-ui.exp (do_test_invalid_args): New
9173 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9175 * gdb.btrace/reconnect.c: New file.
9176 * gdb.btrace/reconnect.exp: New file.
9178 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9180 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9181 to test_catch_syscall_group.
9182 (test_catch_syscall_group): New.
9184 2016-07-21 Tom Tromey <tom@tromey.com>
9186 * gdb.rust/simple.rs (main): Use empty struct expression.
9187 * gdb.rust/simple.exp: Add tests for empty struct expression.
9189 2016-07-21 Yao Qi <yao.qi@linaro.org>
9191 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9192 if gdb_skip_xml_test is true on some targets.
9194 2016-07-21 Yao Qi <yao.qi@linaro.org>
9196 * gdb.server/solib-list.exp: Unset last_loaded_file.
9198 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9200 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9201 "step into captured_main (args)".
9203 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9205 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9207 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9209 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9211 2016-07-19 Pedro Alves <palves@redhat.com>
9213 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9214 * gdb.opt/inline-bt.exp: Likewise.
9215 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9216 additional_flags=-Winline.
9217 * gdb.opt/inline-locals.exp: Likewise.
9218 * gdb.opt/inline-markers.c (ATTR): Define.
9219 (inlined_fn): Use it.
9221 2016-07-19 Yao Qi <yao.qi@linaro.org>
9223 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9224 (test_with_self): Remove some code. Remove argument executable.
9225 (top-level): Use do_self_tests.
9227 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9228 Don Breazeal <donb@codesourcery.com>
9230 * gdb.base/maint.exp: Escape paths used in regular expressions.
9231 * gdb.stabs/weird.exp: Likewise.
9233 2016-07-13 Tom Tromey <tom@tromey.com>
9235 PR python/15620, PR python/18620:
9236 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9237 (test_bkpt_events): New procs.
9239 2016-07-13 Tom Tromey <tom@tromey.com>
9242 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9244 (test_watchpoints): Likewise.
9245 (test_bkpt_pending): New proc.
9247 2016-07-13 Tom Tromey <tom@tromey.com>
9250 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9253 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9255 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9256 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9257 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9259 (g): Rename g_end_lbl to g_label.
9260 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9262 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9264 2016-07-12 Tom Tromey <tom@tromey.com>
9267 * gdb.python/py-unwind-maint.exp: Update tests.
9269 2016-07-12 Yao Qi <yao.qi@linaro.org>
9271 * lib/selftest-support.exp (selftest_setup): Match the output
9272 when captured_main is inlined.
9274 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9276 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9278 (print this%a, print this%b, print this): New tests.
9279 * gdb.fortran/derived-types.f90 (this): New object and
9282 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9284 * gdb.ada/arraydim.exp: Remove extra directory level in build
9287 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9289 * lib/ada.exp: Remove extra directory level in build directory.
9290 * gdb.ada/cond_lang.exp: Likewise.
9291 * gdb.ada/exec_changed.exp: Likewise.
9292 * gdb.ada/lang_switch.exp: Likewise.
9294 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9296 * simple.rs: Add test for raw pointer subscripting.
9297 * simple.exp: Add test expectations.
9299 2016-07-05 Yao Qi <yao.qi@linaro.org>
9301 * gdb.mi/mi-reverse.exp: Match =record-started output.
9303 2016-07-01 Pedro Alves <palves@redhat.com>
9305 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9307 (jit_reader_test): Test the jit reader's unwinder.
9308 * gdb.base/jithost.c (jit_function_00_code): New global.
9309 (main): Use memcpy to fill in the mmapped code, instead of poking
9310 bytes manually here.
9311 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9313 (read_debug_info): Save the function's range.
9314 (read_sp): New function.
9315 (unwind_frame): Use it. Also unwind RBP.
9316 (get_frame_id): Use read_sp.
9317 (gdb_init_reader): Use calloc instead of malloc.
9318 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9319 parameter. Use gdb_test_multiple.
9321 2016-07-01 Pedro Alves <palves@redhat.com>
9322 Antoine Tremblay <antoine.tremblay@ericsson.com>
9324 * gdb.threads/process-dies-while-detaching.c: New file.
9325 * gdb.threads/process-dies-while-detaching.exp: New file.
9327 2016-07-01 Pedro Alves <palves@redhat.com>
9329 * gdb.multi/watchpoint-multi-exit.c: New file.
9330 * gdb.multi/watchpoint-multi-exit.exp: New file.
9332 2016-06-30 Pedro Alves <palves@redhat.com>
9334 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9335 unset inferior_spawn_id.
9337 2016-06-30 Pedro Alves <palves@redhat.com>
9339 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9340 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9342 2016-06-29 Yao Qi <yao.qi@linaro.org>
9344 * gdb.base/return.c: Add copyright header.
9346 2016-06-29 Tom Tromey <tom@tromey.com>
9349 * gdb.python/py-framefilter.exp: Add tests for setting priority
9350 and disabling of non-existent frame filter.
9352 2016-06-29 Yao Qi <yao.qi@linaro.org>
9354 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9357 2016-06-28 Yao Qi <yao.qi@linaro.org>
9359 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9360 triplets. Start gdb, execute catch syscall, and continue. Check
9361 gdb's output to determine catch syscall is supported.
9363 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9365 * gdb.rust/simple.rs: Add test for returning unit in a function.
9366 * gdb.rust/simple.exp: Add expectation for functions returning
9369 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9371 * gdb.python/py-breakpoint-create-fail.c,
9372 gdb.python/py-breakpoint-create-fail.exp,
9373 gdb.python/py-breakpoint-create-fail.py: New testcase.
9375 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9378 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9379 * gdb.rust/simple.exp: Add test expectations for new NonZero
9382 2016-06-24 David Taylor <dtaylor@emc.com>
9384 * gdb.base/offsets.exp: New file.
9385 * gdb.base/offsets.c: New file.
9387 2016-06-23 Tom Tromey <tom@tromey.com>
9390 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9391 before any filters are loaded.
9393 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9395 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9396 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9398 * gdb.fortran/derived-type-function.exp: New file.
9399 * gdb.fortran/derived-type-function.f90: New file.
9402 2016-06-21 Pedro Alves <palves@redhat.com>
9404 * gdb.base/new-ui.exp: New file.
9405 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9406 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9407 (with_spawn_id): New procedure.
9409 2016-06-21 Pedro Alves <palves@redhat.com>
9411 * gdb.mi/mi-exec-run.exp: New file.
9413 2016-06-21 Pedro Alves <palves@redhat.com>
9415 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9416 breakpoint command's output on the main UI.
9417 (test_break): New procedure, factored out from calls in the top
9419 (top level): Use foreach_with_prefix to test MI as main UI and as
9422 2016-06-21 Pedro Alves <palves@redhat.com>
9424 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9425 (test_awatch_creation_and_listing)
9426 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9427 Remove 'type' parameter.
9428 (test_watchpoint_all): New parameter mi_mode. Remove
9430 (top level): Use foreach_with_prefix, and add main/separate UI MI
9433 2016-06-21 Pedro Alves <palves@redhat.com>
9435 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9436 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9437 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9438 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9439 (gdb_main_spawn_id, mi_spawn_id): Declare and
9441 (mi_create_inferior_pty): New procedure,
9442 factored out from default_mi_gdb_start.
9443 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9445 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9446 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9447 Use mi_create_inferior_pty.
9448 (mi_gdb_start): Use eval to pass down args list.
9450 2016-06-21 Pedro Alves <palves@redhat.com>
9452 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9453 * gdb.opt/inline-cmds.exp: Add MI tests.
9455 2016-06-21 Pedro Alves <palves@redhat.com>
9457 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9459 2016-06-21 Pedro Alves <palves@redhat.com>
9461 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9462 (top level): Use it instead of mi_execute_to.
9464 2016-06-21 Pedro Alves <palves@redhat.com>
9466 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9467 (cont_handler_str): New.
9468 (signal_stop_handler): Set stop_handler_str instead of printing to
9470 (continue_handler): Set cont_handler_str instead of printing to
9472 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9473 mi_send_resuming_command. Print stop_handler_str and
9474 cont_handler_str instead of expecting the python events print
9477 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9479 * gdb.base/jit-reader.exp: New file.
9480 * gdb.base/jithost.c: New file.
9481 * gdb.base/jithost.h: New file.
9482 * gdb.base/jitreader.c : New file.
9483 * gdb.base/jit-protocol.h: New file.
9485 2016-06-17 Yao Qi <yao.qi@linaro.org>
9487 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9488 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9489 and detach-on-fork. Adjust tests.
9490 (top level): Invoke break_cond_on_syscall with combinations of
9491 syscall, follow-fork-mode and detach-on-fork.
9493 2016-06-17 Yao Qi <yao.qi@linaro.org>
9495 * gdb.base/step-over-exit.c: New.
9496 * gdb.base/step-over-exit.exp: New.
9498 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9500 * gdb.base/float.exp: Add target check for nds32*-*-*.
9501 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9503 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9505 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9506 for unsupported target features.
9507 * gdb.base/call-rt-st.exp: Likewise.
9508 * gdb.base/call-sc.exp: Likewise.
9509 * gdb.base/call-signal-resume.exp: Likewise.
9510 * gdb.base/call-strs.exp: Likewise.
9511 * gdb.base/callexit.exp: Likewise.
9512 * gdb.base/callfuncs.exp: Likewise.
9513 * gdb.base/nodebug.exp: Likewise.
9514 * gdb.base/printcmds.exp: Likewise.
9515 * gdb.base/ptype.exp: Likewise.
9516 * gdb.base/structs.exp: Likewise.
9517 * gdb.base/unwindonsignal.exp: Likewise.
9518 * gdb.cp/gdb2495.exp: Likewise.
9519 * gdb.cp/templates.exp: Likewise.
9520 * gdb.cp/virtfunc.exp: Likewise.
9521 * gdb.threads/hand-call-in-threads.exp: Likewise.
9522 * gdb.threads/interrupted-hand-call.exp: Likewise.
9523 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9525 2016-06-10 Tom Tromey <tom@tromey.com>
9528 * gdb.rust/expr.exp: Add test for integer constant larger than
9531 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9533 * gdb.fortran/nested-funcs.exp: New.
9534 * gdb.fortran/nested-funcs.f90: New.
9536 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9538 * gdb.base/examine-backward.c: New file.
9539 * gdb.base/examine-backward.exp: New file.
9541 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9543 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9546 2016-06-02 Tom Tromey <tom@tromey.com>
9549 * gdb.python/py-shared.exp: Add solib_name test.
9551 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9553 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9555 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9558 * gdb.dwarf2/implref.exp: Rename to...
9559 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9560 * gdb.dwarf2/implref-array.c: New file.
9561 * gdb.dwarf2/implref-array.exp: Likewise.
9562 * gdb.dwarf2/implref-global.c: Likewise.
9563 * gdb.dwarf2/implref-global.exp: Likewise.
9564 * gdb.dwarf2/implref-struct.c: Likewise.
9565 * gdb.dwarf2/implref-struct.exp: Likewise.
9567 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9569 * gdb.trace/trace-condition.exp: Add 64bit tests.
9571 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9573 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9575 (main): Adapt to 8 to 64 bits types.
9576 * gdb.trace/trace-condition.exp: Add new tests.
9578 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9580 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9582 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9584 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9585 Move condition tests...
9586 * gdb.trace/trace-condition.exp: Here.
9588 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9590 * gdb.trace/trace-condition.exp: Add counter-case tests.
9592 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9595 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9596 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9598 2016-05-27 Pedro Alves <palves@redhat.com>
9600 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9602 (top level): Call it, and bail out of DejaGnu is known to be bad.
9604 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9606 * gdb.base/whatis.c: Extend the test case.
9607 * gdb.base/whatis.exp: Add additional tests.
9609 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9611 * gdb.fortran/type.f90: Add pointer variable.
9612 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9614 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9616 * gdb.fortran/vla-type.exp: Fix testcase name.
9618 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9620 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9622 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9624 * gdb.fortran/type.f90: Add nested structures.
9625 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9626 * gdb.fortran/derived-type.exp: Adapt expected output.
9627 * gdb.fortran/vla-type.exp: Adapt expected output.
9629 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9631 * gdb.fortran/whatis_type.exp: Adapt expected output.
9633 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9635 * gdb.fortran/print_type.exp: Fix expected output.
9636 * gdb.fortran/whatis_type.exp: Fix expected output.
9638 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9640 * gdb.fortran/whatis_type.exp: Use multi_line.
9642 2016-05-24 Tom Tromey <tom@tromey.com>
9645 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9646 use value as an index.
9648 2016-05-23 Tom Tromey <tom@tromey.com>
9651 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9654 2016-05-24 Pedro Alves <palves@redhat.com>
9657 * gdb.threads/clone-attach-detach.c: New file.
9658 * gdb.threads/clone-attach-detach.exp: New file.
9660 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9662 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9664 2016-05-23 Tom Tromey <tom@tromey.com>
9666 PR python/19438, PR python/18393:
9667 * gdb.python/py-progspace.exp: Add "dir" test.
9668 * gdb.python/py-objfile.exp: Add "dir" test.
9670 2016-05-23 Yao Qi <yao.qi@linaro.org>
9672 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9673 * gdb.arch/thumb2-it.exp: Likewise.
9675 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9677 * gdb.mi/mi-threads-interrupt.c: New file.
9678 * gdb.mi/mi-threads-interrupt.exp: New file.
9680 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9683 * gdb.mi/mi-async-run.exp: New file.
9684 * gdb.mi/mi-async-run.c: New file.
9686 2016-05-17 Tom Tromey <tom@tromey.com>
9687 Manish Goregaokar <manishsmail@gmail.com>
9689 * lib/rust-support.exp: New file.
9690 * lib/gdb.exp (skip_rust_tests): New proc.
9691 (build_executable_from_specs): Handle rust.
9692 * lib/future.exp (gdb_find_rustc): New proc.
9693 (gdb_default_target_compile): Handle rust.
9694 * gdb.rust/expr.exp: New file.
9695 * gdb.rust/generics.exp: New file.
9696 * gdb.rust/generics.rs: New file.
9697 * gdb.rust/methods.exp: New file.
9698 * gdb.rust/methods.rs: New file.
9699 * gdb.rust/modules.exp: New file.
9700 * gdb.rust/modules.rs: New file.
9701 * gdb.rust/simple.exp: New file.
9702 * gdb.rust/simple.rs: New file.
9704 2016-05-17 Tom Tromey <tom@tromey.com>
9706 * gdb.base/default.exp (set language): Add rust.
9708 2016-05-17 Tom Tromey <tom@tromey.com>
9710 * gdb.gdb/unittest.exp: New file.
9712 2016-05-16 Yao Qi <yao.qi@linaro.org>
9714 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9715 shell_prompt. Update shell_prompt_re.
9717 2016-05-12 Doug Evans <dje@google.com>
9720 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9721 $options when building executable.
9722 * gdb.dwarf2/fission-loclists-pie.S: New file.
9723 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9725 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9727 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
9728 of [is_remote target],
9730 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9732 * lib/gdb.exp (use_gdb_stub): New procedure.
9734 2016-05-03 Yunlian Jiang <yunlian@google.com>
9735 Doug Evans <dje@google.com>
9738 * gdb.dwarf2/dwp-sepdebug.c: New file.
9739 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9741 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9743 * gdb.base/detach.exp: Remove is_remote check.
9745 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9747 * gdb.base/annota-input-while-running.exp: Don't check for
9748 [is_remote target]. Enable annotations after running to main.
9749 Remove unused "set test..." line.
9751 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9753 * gdb.trace/trace-enable-disable.exp: New file.
9754 * gdb.trace/trace-enable-disable.c: New file.
9756 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9758 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9759 use it in info sharedlibrary test.
9760 * gdb.trace/ftrace-lock.exp: Likewise.
9761 * gdb.trace/ftrace.exp: Likewise.
9762 * gdb.trace/range-stepping.exp: Likewise.
9763 * gdb.trace/trace-break.exp: Likewise.
9764 * gdb.trace/trace-condition.exp: Likewise.
9765 * gdb.trace/trace-mt.exp: Likewise.
9767 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9769 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9770 (gdb_load_shlib): ... this.
9771 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9773 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9774 * gdb.base/ctxobj.exp: Likewise.
9775 * gdb.base/dprintf-pending.exp: Likewise.
9776 * gdb.base/dso2dso.exp: Likewise.
9777 * gdb.base/fixsection.exp: Likewise.
9778 * gdb.base/gcore-relro.exp: Likewise.
9779 * gdb.base/gdb1555.exp: Likewise.
9780 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9781 * gdb.base/gnu-ifunc.exp: Likewise.
9782 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9783 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9784 * gdb.base/pending.exp: Likewise.
9785 * gdb.base/print-file-var.exp: Likewise.
9786 * gdb.base/print-symbol-loading.exp: Likewise.
9787 * gdb.base/shlib-call.exp: Likewise.
9788 * gdb.base/shreloc.exp: Likewise.
9789 * gdb.base/so-impl-ld.exp: Likewise.
9790 * gdb.base/solib-disc.exp: Likewise.
9791 * gdb.base/solib-nodir.exp: Likewise.
9792 * gdb.base/solib-overlap.exp: Likewise.
9793 * gdb.base/solib-symbol.exp: Likewise.
9794 * gdb.base/solib-weak.exp (do_test): Likewise.
9795 * gdb.base/sym-file.exp: Likewise.
9796 * gdb.base/symtab-search-order.exp: Likewise.
9797 * gdb.base/type-opaque.exp: Likewise.
9798 * gdb.base/unload.exp: Likewise.
9799 * gdb.base/watchpoint-solib.exp: Likewise.
9800 * gdb.compile/compile.exp: Likewise.
9801 * gdb.cp/gdb2384.exp: Likewise.
9802 * gdb.cp/infcall-dlopen.exp: Likewise.
9803 * gdb.cp/re-set-overloaded.exp: Likewise.
9804 * gdb.fortran/library-module.exp: Likewise.
9805 * gdb.opt/solib-intra-step.exp: Likewise.
9806 * gdb.python/py-finish-breakpoint.exp: Likewise.
9807 * gdb.python/py-shared.exp: Likewise.
9808 * gdb.reverse/solib-precsave.exp: Likewise.
9809 * gdb.reverse/solib-reverse.exp: Likewise.
9810 * gdb.server/solib-list.exp: Likewise.
9811 * gdb.threads/dlopen-libpthread.exp: Likewise.
9812 * gdb.threads/tls-shared.exp: Likewise.
9813 * gdb.threads/tls-so_extern.exp: Likewise.
9814 * gdb.trace/change-loc.exp: Likewise.
9815 * gdb.trace/ftrace-lock.exp: Likewise.
9816 * gdb.trace/ftrace.exp: Likewise.
9817 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9818 * gdb.trace/pending.exp: Likewise.
9819 * gdb.trace/range-stepping.exp: Likewise.
9820 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9821 (strace_info_marker): Likewise.
9822 (strace_probe_marker): Likewise.
9823 (strace_trace_on_same_addr): Likewise.
9824 (strace_trace_on_diff_addr): Likewise.
9825 * gdb.trace/trace-break.exp: Likewise.
9826 * gdb.trace/trace-condition.exp: Likewise.
9827 * gdb.trace/trace-mt.exp: Likewise.
9829 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9831 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9832 result of gdb_remote_download.
9833 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9834 * gdb.base/dso2dso.exp: Likewise.
9835 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9836 * gdb.base/print-file-var.exp: Likewise.
9837 * gdb.base/shlib-call.exp: Likewise.
9838 * gdb.base/shreloc.exp: Likewise.
9839 * gdb.base/solib-overlap.exp: Likewise.
9840 * gdb.base/solib-weak.exp (do_test): Likewise.
9841 * gdb.base/unload.exp: Likewise.
9843 2016-04-27 Yao Qi <yao.qi@linaro.org>
9845 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9848 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9850 * vla-type.exp: Print structure from toplevel.
9852 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9854 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9856 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9859 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9861 * gdb.fortran/vla-type.f90: New file.
9862 * gdb.fortran/vla-type.exp: New file.
9864 2016-04-25 Yao Qi <yao.qi@linaro.org>
9866 * gdb.base/branch-to-self.c: New file.
9867 * gdb.base/branch-to-self.exp: New file.
9869 2016-04-22 Yao Qi <yao.qi@linaro.org>
9871 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9874 2016-04-22 Yao Qi <yao.qi@linaro.org>
9876 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9877 * gdb.base/annota3.exp: Likewise.
9879 2016-04-22 Yao Qi <yao.qi@linaro.org>
9881 * gdb.reverse/step-precsave.exp: Do one step and test program
9882 stops in "callee" and do multiple steps until program goes out
9884 * gdb.reverse/step-reverse.exp: Likewise.
9886 2016-04-22 Yao Qi <yao.qi@linaro.org>
9888 * gdb.trace/signal.exp: Also pass if
9889 $tracepoint_hits($i) > $iterations.
9891 2016-04-22 Yao Qi <yao.qi@linaro.org>
9893 * gdb.trace/signal.c: New file.
9894 * gdb.trace/signal.exp: New file.
9896 2016-04-19 Doug Evans <xdje42@gmail.com>
9898 * gdb.base/bad-file.exp: New file.
9900 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9902 * gdb.dwarf2/implref.exp: New file.
9904 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9906 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9907 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9908 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9909 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9910 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9911 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9912 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9913 * lib/fortran.exp (fortran_int4): New procedure.
9914 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9915 (fortran_logical4): Likewise.
9917 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9919 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9921 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9923 * lib/compiler.c: Add Intel specific preprocessor macros.
9924 * lib/compiler.cc: Likewise.
9926 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9928 * gdb.server/connect-with-no-symbol-file.c: New file.
9929 * gdb.server/connect-with-no-symbol-file.exp: New file.
9931 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9933 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9935 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9937 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9938 standard output directory.
9940 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9942 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9944 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9946 * gdb.btrace/instruction_history.c (loop): Add declaration.
9948 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9950 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9952 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9954 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9955 parentheses to print.
9956 (continue_handler): Likewise.
9958 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9960 * gdb.server/solib-list.exp: Remove is_remote check.
9961 Pass shlib= to gdb_compile. Don't link shared library with
9962 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9963 Run binary filename through "readlink -f" on the target.
9965 2016-04-08 Pedro Alves <palves@redhat.com>
9967 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9968 interpreter filename as argument to gdbserver_spawn.
9969 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9970 Return empty if $last_loaded_file does not exist.
9972 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9974 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9975 * gdb.base/jit-main.c: Use exit after usage.
9977 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9979 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9980 GDBHISTSIZE prior to the tests.
9981 * gdb.base/gdbinit-history.exp: Likewise.
9983 2016-04-07 Pedro Alves <palves@redhat.com>
9985 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9986 instead of build_executable. Use gdb_load_shlibs.
9988 2016-04-07 Yao Qi <yao.qi@linaro.org>
9990 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9991 Execute "si" command.
9993 2016-04-07 Yao Qi <yao.qi@linaro.org>
9995 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9996 number instead of the comments on some line.
9998 2016-04-06 Don Breazeal <donb@codesourcery.com>
10000 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10001 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10003 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10005 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10006 standard_output_file. Remove unused binfile variable.
10008 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10010 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10011 * gdb.python/py-mi-objfile.exp: Match "list main" output
10014 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10016 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10019 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10021 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10023 * gdb.trace/ftrace.exp: Likewise.
10024 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10026 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10027 (gdb_load_shlibs): Copy libraries to test directory when testing
10028 natively. Only set solib-search-path if testing remotely.
10029 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10031 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10033 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10034 gdb_download. Use it even if the target is not remote.
10035 * gdb.base/jit.exp (compile_jit_test): Likewise.
10036 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10037 output directory if the destination board is local, otherwise use
10038 the standard remote_download from DejaGnu.
10039 (gdb_download): Remove.
10040 (gdb_load_shlibs): Use gdb_remote_download instead of
10042 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10043 Use gdb_remote_download instead of gdb_download. Use it even if
10044 the target is not remote.
10045 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10046 instead of gdb_download.
10048 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10050 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10051 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10054 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10057 * gdb.base/printcmds.exp: Add artificial arrays tests.
10059 2016-03-31 Pedro Alves <palves@redhat.com>
10062 * gdb.base/jit-main.c: Include unistd.h.
10063 (ATTACH): Define to 0 if not already defined.
10064 (wait_for_gdb, mypid): New globals.
10065 (WAIT_FOR_GDB): New macro.
10066 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10067 some breakpoint locations.
10068 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10070 (one_jit_test): Add REATTACH parameter, and handle it. Use
10071 continue_to_test_location.
10072 (top level): Test attach, and adjusts calls to one_jit_test.
10074 2016-03-31 Pedro Alves <palves@redhat.com>
10077 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10078 BINSUFFIX parameter, and handle it.
10079 (top level): Adjust calls compile_jit_test.
10081 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10084 * gdb.python/py-mi-events-gdb.py: New file.
10085 * gdb.python/py-mi-events.c: New file.
10086 * gdb.python/py-mi-events.exp: New file.
10088 2016-03-30 Yao Qi <yao.qi@linaro.org>
10090 * gdb.reverse/until-precsave.exp: Match function name only.
10091 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10092 Move malloc to a condition block.
10093 * gdb.reverse/until-reverse.exp: Match function name only.
10095 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10097 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10098 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10099 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10100 variable for GPR 0 instead of assuming it is register 0.
10101 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10102 * lib/trace-support.exp: Add s390 registers.
10104 2016-03-29 Yao Qi <yao.qi@linaro.org>
10106 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10108 2016-03-24 Yao Qi <yao.qi@linaro.org>
10110 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10113 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10115 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10116 maintaining separate logic for constructing the output path.
10118 2016-03-16 Don Breazeal <donb@codesourcery.com>
10120 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10121 Retry fork and waitpid on interrupted system call errors.
10122 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10123 Use with_timeout_factor to increase timeout by factor of 10.
10125 2016-03-15 Don Breazeal <donb@codesourcery.com>
10127 * gdb.cp/scope-err.cc: New test program.
10128 * gdb.cp/scope-err.exp: New test script.
10129 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10130 lines and "set breakpoint here" comment.
10131 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10132 Fixed some whitespace and format issues.
10133 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10134 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10136 2016-03-15 Doug Evans <dje@google.com>
10138 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10139 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10140 All callers updated. Add tests for enums, mixed flags register.
10142 2016-03-15 Doug Evans <dje@google.com>
10144 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10145 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10147 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10149 * gdb.base/default.exp: Add $_as_string to the list of expected
10150 convenience functions.
10152 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10154 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10156 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10158 * gdb.python/py-as-string.exp: New file.
10159 * gdb.python/py-as-string.c: New file.
10161 2016-03-09 Pedro Alves <palves@redhat.com>
10163 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10164 signal" -> "Thread NN received signal" output change.
10165 * gdb.threads/ia64-sigill.exp: Likewise.
10166 * gdb.threads/linux-dp.exp: Likewise.
10167 * gdb.threads/manythreads.exp: Likewise.
10168 * gdb.threads/pending-step.exp: Likewise.
10169 * gdb.threads/print-threads.exp: Likewise.
10170 * gdb.threads/sigstep-threads.exp: Likewise.
10171 * gdb.threads/staticthreads.exp: Likewise.
10172 * gdb.threads/tls.exp: Likewise.
10174 2016-03-09 Pedro Alves <palves@redhat.com>
10176 * gdb.base/command-line-input.exp: New file.
10178 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10180 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10181 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10182 * gdb.trace/pending.exp: Accept leading dot before function name.
10183 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10184 * lib/trace-support.exp: Set registers for ppc.
10186 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10188 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10189 use it for disassembly; accept .main in addition to main in backtrace.
10191 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10192 Marcin Kościelnicki <koriakin@0x04.net>
10194 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10195 (gdb_recursion_test_ptr): New global variable.
10196 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10197 gdb_recursion_test.
10198 (gdb_c_test): Ditto.
10200 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10202 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10205 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10207 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10208 (bar): Add bar_start_lbl label.
10209 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10210 of foo/bar for emitting DWARF and tracing.
10212 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10214 * analyze-racy-logs.py: Set executable bit.
10216 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10218 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10219 (CHECK_TARGET_TMP): Likewise.
10220 (check-single-racy): New rule.
10221 (check-parallel-racy): Likewise.
10222 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10223 (do-check-parallel-racy): New rule.
10224 (check-racy/%.exp): Likewise.
10225 * README (Racy testcases): New section.
10226 * analyze-racy-logs.py: New file.
10228 2016-03-03 Doug Evans <dje@google.com>
10230 * gdb.base/skip.exp: Use with_test_prefix.
10232 2016-03-03 Yao Qi <yao.qi@linaro.org>
10234 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10235 Invoke step_over_syscall "clone" and break_cond_on_syscall
10237 * gdb.base/step-over-clone.c: New file.
10239 2016-03-03 Yao Qi <yao.qi@linaro.org>
10241 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10244 2016-03-03 Yao Qi <yao.qi@linaro.org>
10246 * gdb.base/disp-step-fork.c: Rename to ...
10247 * gdb.base/step-over-fork.c: ... it. New file.
10248 * gdb.base/disp-step-vfork.c: Rename to ...
10249 * gdb.base/step-over-vfork.c: ... it. New file.
10250 * gdb.base/disp-step-syscall.exp: Rename to ...
10251 * gdb.base/step-over-syscall.exp: ... it. New file.
10252 (disp_step_cross_syscall): Rename to ...
10253 (step_over_syscall): ... it.
10255 2016-03-03 Yao Qi <yao.qi@linaro.org>
10257 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10258 If target supports condition evaluation on target, invoke
10259 break_cond_on_syscall for fork and vfork.
10261 2016-03-03 Yao Qi <yao.qi@linaro.org>
10263 * gdb.base/disp-step-syscall.exp: Don't invoke
10264 support_displaced_stepping.
10265 (disp_step_cross_syscall): Test with displaced stepping off and
10268 2016-03-03 Yao Qi <yao.qi@linaro.org>
10270 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10273 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10276 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10278 * gdb.fortran/vla-history.exp: Remove breakpoint.
10280 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10282 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10285 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10287 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10290 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10292 * gdb.mi/vla.f90: Nullify pointer after declaration.
10294 2016-03-01 Pedro Alves <palves@redhat.com>
10296 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10298 2016-03-01 Pedro Alves <palves@redhat.com>
10300 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10301 before anything else.
10302 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10304 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10305 before anything else.
10306 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10308 2016-03-01 Pedro Alves <palves@redhat.com>
10310 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10312 2016-03-01 Yao Qi <yao.qi@linaro.org>
10314 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10315 prepare_for_testing.
10317 2016-03-01 Yao Qi <yao.qi@linaro.org>
10319 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10321 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10323 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10324 manually constructing the output path.
10326 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10328 * gdb.arch/s390-stackless.S: New.
10329 * gdb.arch/s390-stackless.exp: New.
10331 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10333 * gdb.dlang/circular.c: New file.
10334 * gdb.dlang/circular.exp: New file.
10336 2016-02-26 Yao Qi <yao.qi@linaro.org>
10338 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10339 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10340 (testcases): Update.
10342 2016-02-26 Yao Qi <yao.qi@linaro.org>
10344 * gdb.reverse/aarch64.c: Rename to ...
10345 * gdb.reverse/insn-reverse.c: ... it.
10346 * gdb.reverse/aarch64.exp: Rename to ...
10347 * gdb.reverse/insn-reverse.exp: ... it.
10349 2016-02-26 Yao Qi <yao.qi@linaro.org>
10351 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10352 (testcase_ftype): New.
10353 (testcases): New array.
10354 (n_testcases): New.
10355 (main): Call each element in testcases.
10356 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10357 (read_testcase): New.
10358 Do the tests in a loop.
10360 2016-02-25 Yao Qi <yao.qi@linaro.org>
10362 * gdb.base/branches.c: Remove.
10364 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10367 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10369 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10371 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10373 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10375 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10376 change x86_64 call_insn to 'callq'.
10378 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10380 * gdb.trace/tfile-avx.c: Move to...
10381 * gdb.trace/tracefile-pseudo-reg.c: Here.
10382 * gdb.trace/tfile-avx.exp: Move to...
10383 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10385 2016-02-24 Gary Benson <gbenson@redhat.com>
10387 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10390 2016-02-23 Doug Evans <dje@google.com>
10392 * gdb.base/skip.c (test_skip): New function.
10393 (end_test_skip_file_and_function): New function.
10394 (test_skip_file_and_function): New function.
10395 * gdb.base/skip1.c (test_skip): New function.
10396 (skip1_test_skip_file_and_function): New function.
10397 * gdb.base/skip.exp: Add tests for new skip options.
10398 * gdb.base/skip-solib.exp: Update expected output.
10399 * gdb.perf/skip-command.cc: New file.
10400 * gdb.perf/skip-command.exp: New file.
10401 * gdb.perf/skip-command.py: New file.
10403 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10405 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10406 info registers pattern.
10408 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10410 * lib/future.exp: Add D support.
10411 (gdb_find_gdc): New proc.
10412 (gdb_default_target_compile): Add D support.
10414 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10416 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10418 (trace_speed_test): Determine the iteration count for a time
10419 between 15..30 seconds.
10421 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10423 * gdb.arch/i386-mpx-sigsegv.c: New file.
10424 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10425 * gdb.arch/i386-mpx-simple_segv.c: New file.
10426 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10428 2016-02-18 Yao Qi <yao.qi@linaro.org>
10430 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10431 Don't call setup_kfail.
10433 2016-02-18 Yao Qi <yao.qi@linaro.org>
10435 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10436 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10438 2016-02-16 Doug Evans <dje@google.com>
10440 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10441 * gdb.base/skip1.c: Ditto.
10442 * gdb.base/skip.exp: Whitespace cleanup.
10444 2016-02-16 Don Breazeal <donb@codesourcery.com>
10447 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10448 Remove kfail for PR remote/19496.
10450 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10452 * lib/gdb.exp (standard_temp_file): Return a path specific to
10453 the runtest invocation.
10455 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10457 * gdb.trace/save-trace.exp: Change relative path to be in the
10458 standard output directory.
10460 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10462 * gdb.arch/i386-prologue.c: Add missing prototypes.
10464 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10466 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10467 * gdb.arch/i386-prologue.exp: Likewise.
10468 * gdb.arch/i386-size.exp: Likewise.
10470 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10472 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10473 define object file path.
10474 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10476 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10477 standard_output_file to define binfile.
10479 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10481 Fix compatibility with recent gfortran-5.3.1.
10482 * gdb.fortran/vla-history.exp (print vla1 allocated)
10483 (print vla2 allocated, print $2, print $3): Remove
10484 (print $4): Rename to ...
10485 (print $2): ... here.
10486 (print $9): Rename to ...
10487 (print $5): ... here.
10488 (print $10): Rename to ...
10489 (print $6): ... here.
10490 * gdb.fortran/vla.f90: Add pvla initialization.
10492 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10494 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10496 * gdb.fortran/vla-value-sub.exp: Likewise.
10498 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10500 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10502 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10504 * i386-biarch-core.exp: Define corefile using
10505 standard_output_file.
10507 2016-02-12 Yao Qi <yao.qi@linaro.org>
10509 * gdb.arch/arm-single-step-kernel-helper.c: New.
10510 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10512 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10514 * gdb.btrace/tailcall-only.exp: New.
10515 * gdb.btrace/tailcall-only.c: New.
10516 * gdb.btrace/x86_64-tailcall-only.S: New.
10517 * gdb.btrace/i686-tailcall-only.S: New.
10519 2016-02-11 Pedro Alves <palves@redhat.com>
10521 * README (Parallel testing): Add missing double quotes.
10523 2016-02-11 Pedro Alves <palves@redhat.com>
10525 * README (Parallel testing): New section.
10526 (GDB_PARALLEL): Rewrite.
10527 (FORCE_PARALLEL): Document.
10529 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10531 * gdb.trace/tfile-avx.c: New test.
10532 * gdb.trace/tfile-avx.exp: New test.
10534 2016-02-09 Keith Seitz <keiths@redhat.com>
10536 PR breakpoints/19546
10537 * gdb.base/infcall-exec.c: New file.
10538 * gdb.base/infcall-exec2.c: New file.
10539 * gdb.base/infcall-exec.exp: New file.
10541 2016-02-09 Keith Seitz <keiths@redhat.com>
10543 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10544 (toplevel): Call test_bkpt_address.
10546 2016-02-09 Keith Seitz <keiths@redhat.com>
10549 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10550 (toplevel): Call test_bkpt_address.
10552 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10554 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10556 * configure: Regenerate.
10558 2016-02-09 Pedro Alves <palves@redhat.com>
10560 PR breakpoints/19548
10561 * gdb.base/execl-update-breakpoints.c (some_function): New
10564 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10565 Tighten expected GDB output.
10567 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10569 * Makefile.in (ALL_SUBDIRS): Remove.
10570 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10571 (distclean maintainer-clean realclean): Likewise.
10572 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10573 * configure: Regenerate.
10574 * gdb.ada/Makefile.in: Delete.
10575 * gdb.arch/Makefile.in: Likewise.
10576 * gdb.asm/Makefile.in: Likewise.
10577 * gdb.base/Makefile.in: Likewise.
10578 * gdb.btrace/Makefile.in: Likewise.
10579 * gdb.cell/Makefile.in: Likewise.
10580 * gdb.compile/Makefile.in: Likewise.
10581 * gdb.cp/Makefile.in: Likewise.
10582 * gdb.disasm/Makefile.in: Likewise.
10583 * gdb.dlang/Makefile.in: Likewise.
10584 * gdb.dwarf2/Makefile.in: Likewise.
10585 * gdb.fortran/Makefile.in: Likewise.
10586 * gdb.gdb/Makefile.in: Likewise.
10587 * gdb.go/Makefile.in: Likewise.
10588 * gdb.guile/Makefile.in: Likewise.
10589 * gdb.java/Makefile.in: Likewise.
10590 * gdb.linespec/Makefile.in: Likewise.
10591 * gdb.mi/Makefile.in: Likewise.
10592 * gdb.modula2/Makefile.in: Likewise.
10593 * gdb.multi/Makefile.in: Likewise.
10594 * gdb.objc/Makefile.in: Likewise.
10595 * gdb.opencl/Makefile.in: Likewise.
10596 * gdb.opt/Makefile.in: Likewise.
10597 * gdb.pascal/Makefile.in: Likewise.
10598 * gdb.perf/Makefile.in: Likewise.
10599 * gdb.python/Makefile.in: Likewise.
10600 * gdb.reverse/Makefile.in: Likewise.
10601 * gdb.server/Makefile.in: Likewise.
10602 * gdb.stabs/Makefile.in: Likewise.
10603 * gdb.threads/Makefile.in: Likewise.
10604 * gdb.trace/Makefile.in: Likewise.
10605 * gdb.xml/Makefile.in: Likewise.
10606 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10608 (standard_output_file): Remove check for GDB_PARALLEL, always
10609 return path in outputs/$subdir/$testname.
10611 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10613 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10614 (site.exp): Assign abs_srcdir to tcl's srcdir.
10616 2016-02-04 Yao Qi <yao.qi@linaro.org>
10618 * gdb.base/foll-exec-mode.c: Include limits.h.
10619 (main): Add parameters argc and argv. Get directory from
10621 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10623 * gdb.base/foll-exec.c: Include limits.h.
10624 (main): Add parameters argc and argv.
10625 Get directory from argv[0].
10626 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10627 Adjust tests on the number of lines as source code changed.
10628 * gdb.base/foll-vfork-exit.c: Include limits.h.
10629 (main): Add one line of statement before vfork.
10630 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10631 (main): Add parameters argc and argv. Get directory from
10633 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10634 (setup_gdb): Set tbreak to skip some source lines.
10635 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10636 (main): Add parameters argc and argv. Get directory from
10638 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10640 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10641 (main): Add parameters argc and argv. Get directory from
10643 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10646 2016-02-01 Doug Evans <dje@google.com>
10648 * gdb.base/skip.exp: Clean up multiple references to same test name.
10650 2016-02-01 Pedro Alves <palves@redhat.com>
10653 * gdb.threads/forking-threads-plus-breakpoint.exp
10654 (displaced_stepping_supported): New global.
10655 (probe_displaced_stepping_support): New procedure.
10656 (do_test): Add 'displaced' parameter, and use it.
10657 (top level): Check for displaced stepping support. Add displaced
10658 stepping on/off testing axis.
10660 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10662 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10663 pointer. Don't perform further tests on the unassociated pointer
10664 if the first test fails.
10666 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10668 * gdb.base/max-value-size.c: New file.
10669 * gdb.base/max-value-size.exp: New file.
10670 * gdb.base/huge.exp: Disable max-value-size for this test.
10672 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10674 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10676 2016-01-28 Yao Qi <yao.qi@linaro.org>
10678 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10680 2016-01-25 Pedro Alves <palves@redhat.com>
10683 * gdb.base/fork-running-state.c: New file.
10684 * gdb.base/fork-running-state.exp: New file.
10686 2016-01-25 Pedro Alves <palves@redhat.com>
10689 * gdb.base/catch-fork-kill.c: New file.
10690 * gdb.base/catch-fork-kill.exp: New file.
10692 2016-01-25 Pedro Alves <palves@redhat.com>
10694 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10695 Delete, moved to lib/gdb.exp.
10696 * gdb.threads/forking-threads-plus-breakpoint.exp
10697 (foreach_with_prefix): Likewise.
10698 * gdb.threads/process-dies-while-handling-bp.exp
10699 (foreach_with_prefix): Likewise.
10700 * lib/gdb.exp (foreach_with_prefix): New procedure.
10702 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10704 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10705 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10707 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10709 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10712 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10713 Pedro Alves <palves@redhat.com>
10715 Fix testsuite compatibility with Guile.
10716 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10719 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10721 Fix testsuite compatibility with Guile.
10722 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10723 (thread 1): New test for backtrace through signal handler.
10725 2016-01-22 Yao Qi <yao.qi@linaro.org>
10728 * gdb.base/multi-forks.c: Include
10729 ../lib/unbuffer_output.c
10730 (main): Call gdb_unbuffer_output.
10732 2016-01-21 Doug Evans <dje@google.com>
10734 * lib/ada.exp (gdb_compile_ada): Fix typo.
10736 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10738 * gdb.base/break-fun-addr.exp: New file.
10739 * gdb.base/break-fun-addr1.c: New file.
10740 * gdb.base/break-fun-addr2.c: New file.
10742 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10744 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10745 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10748 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10750 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10751 when GDB can not set the vector return value. Add more comments
10754 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10756 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10759 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10761 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10763 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10765 * Makefile.in (check-single): Pass --status to runtest.
10766 (check/%.exp): Likewise.
10768 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10770 * Makefile.in (check-parallel): Propagate return code from make
10773 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10775 * gdb.trace/ftrace.exp: Fix expected message on continue.
10776 * gdb.trace/pending.exp: Fix expected message on continue.
10777 * gdb.trace/trace-break.exp: Fix expected message on continue.
10779 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10781 * lib/gdb.exp (gdb_test): Remove unused global references.
10783 2016-01-18 Pedro Alves <palves@redhat.com>
10785 * gdb.base/async-shell.exp: Adjust expected output.
10786 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10787 * gdb.base/siginfo-thread.exp: Adjust expected output.
10788 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10789 * gdb.java/jnpe.exp: Adjust expected output.
10790 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10791 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10792 * gdb.threads/leader-exit.exp: Adjust expected output.
10793 * gdb.threads/manythreads.exp: Adjust expected output.
10794 * gdb.threads/pthreads.exp: Adjust expected output.
10795 * gdb.threads/schedlock.exp: Adjust expected output.
10796 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10797 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10799 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10801 * gdb.threads/sigthread.exp: Adjust expected output.
10802 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10804 2016-01-18 Yao Qi <yao.qi@linaro.org>
10806 * gdb.guile/scm-section-script.c: Replace @progbits with
10808 * gdb.python/py-section-script.c: Likewise.
10810 2016-01-15 Pedro Alves <palves@redhat.com>
10812 * gdb.multi/tids.exp: Test star wildcard ranges.
10814 2016-01-15 Pedro Alves <palves@redhat.com>
10816 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10817 command from "thread apply" invocation.
10818 (thr_apply_info_thr_invalid): Default the expected output to the
10820 (top level): Add tests that use convenience variables. Add tests
10821 for "thread apply" with a valid TID list, but missing the command.
10823 2016-01-13 Pedro Alves <palves@redhat.com>
10825 * gdb.base/default.exp: Expect $_gthread as well.
10826 * gdb.multi/tids.exp: Test $_gthread.
10827 * gdb.threads/thread-specific.exp: Test $_gthread.
10829 2016-01-13 Pedro Alves <palves@redhat.com>
10831 * gdb.multi/tids.exp: Test "info threads -gid".
10833 2016-01-13 Pedro Alves <palves@redhat.com>
10835 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10837 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10839 2016-01-07 Pedro Alves <palves@redhat.com>
10841 * gdb.base/break.exp: Adjust to output changes.
10842 * gdb.base/hbreak2.exp: Likewise.
10843 * gdb.base/sepdebug.exp: Likewise.
10844 * gdb.base/watch_thread_num.exp: Likewise.
10845 * gdb.linespec/keywords.exp: Likewise.
10846 * gdb.multi/info-threads.exp: Likewise.
10847 * gdb.threads/thread-find.exp: Likewise.
10848 * gdb.multi/tids.c: New file.
10849 * gdb.multi/tids.exp: New file.
10851 2016-01-13 Pedro Alves <palves@redhat.com>
10853 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10855 2016-01-13 Pedro Alves <palves@redhat.com>
10857 * gdb.base/default.exp: Expect $_inferior as well.
10858 * gdb.multi/base.exp: Test $_inferior.
10860 2016-01-13 Pedro Alves <palves@redhat.com>
10862 PR breakpoints/19388
10863 * gdb.base/catch-signal-siginfo-cond.c: New file.
10864 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10866 2016-01-12 Josh Stone <jistone@redhat.com>
10867 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10869 * gdb.base/catch-syscall.c (do_execve): New variable.
10870 (main): Conditionally trigger an execve.
10871 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10872 (test_catch_syscall_execve): New, check entry/return across execve.
10873 (do_syscall_tests): Call test_catch_syscall_execve.
10875 2016-01-12 Pedro Alves <palves@redhat.com>
10877 * gdb.base/random-signal.exp (do_test): New procedure, with body
10878 of testcase moved in.
10880 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10881 Pedro Alves <palves@redhat.com>
10883 * gdb.base/funcargs.exp (finish from indirectly called function):
10884 Reintroduce the case for 'First'.
10886 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10887 Pedro Alves <palves@redhat.com>
10889 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10890 (tcatch_vfork_then_child_follow_exec)
10891 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10894 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10896 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10897 and repeats to unlimited.
10898 * gdb.python/py-value.exp: Likewise.
10899 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10900 and repeats to unlimited.
10902 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10904 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10905 and reordering the functions.
10906 * gdb.multi/hangout.c: Likewise.
10907 * gdb.multi/hello.c: Likewise.
10909 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10911 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10913 (SingleStatisticTestResult.report): Use dict.keys instead of
10916 2016-01-06 Pedro Alves <palves@redhat.com>
10918 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10920 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10922 * gdb.btrace/dlopen.exp: New.
10923 * gdb.btrace/dlopen.c: New.
10924 * gdb.btrace/dlopen-dso.c: New.
10926 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10928 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10929 PATTERN argument is optional.
10931 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10933 * lib/ada.exp (target_compile_ada_from_dir): New function.
10934 (gdb_compile_ada): Reimplement avoiding the use of project files.
10935 * gdb.ada/gnat_ada.gpr: Delete.
10936 * gdb.ada/cond_lang.exp: Adjust test to make path before
10938 * gdb.ada/small_reg_param.exp: Likewise.
10940 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10942 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10944 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10946 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10949 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10951 * gdb.base/break.exp: Remove dead code.
10952 * gdb.base/sepdebug.exp: Likewise.
10954 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10956 * gdb.asm/asm-source.exp: Remove HP-UX references.
10957 * gdb.base/annota1.exp: Likewise.
10958 * gdb.base/annota3.exp: Likewise.
10959 * gdb.base/attach.exp: Likewise.
10960 * gdb.base/bigcore.exp: Likewise.
10961 * gdb.base/break.exp: Likewise.
10962 * gdb.base/call-ar-st.exp: Likewise.
10963 * gdb.base/callfuncs.exp: Likewise.
10964 * gdb.base/catch-fork-static.exp: Likewise.
10965 * gdb.base/display.exp: Likewise.
10966 * gdb.base/foll-exec-mode.exp: Likewise.
10967 * gdb.base/foll-exec.exp: Likewise.
10968 * gdb.base/foll-fork.exp: Likewise.
10969 * gdb.base/foll-vfork.exp: Likewise.
10970 * gdb.base/funcargs.exp: Likewise.
10971 * gdb.base/hbreak2.exp: Likewise.
10972 * gdb.base/inferior-died.exp: Likewise.
10973 * gdb.base/interrupt.exp: Likewise.
10974 * gdb.base/multi-forks.exp: Likewise.
10975 * gdb.base/nodebug.exp: Likewise.
10976 * gdb.base/sepdebug.exp: Likewise.
10977 * gdb.base/solib1.c: Likewise.
10978 * gdb.base/step-test.exp: Likewise.
10979 * gdb.mi/non-stop.c: Likewise.
10980 * gdb.mi/pthreads.c: Likewise.
10981 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10982 * gdb.threads/pthreads.c: Likewise.
10983 * gdb.threads/staticthreads.exp: Likewise.
10984 * lib/future.exp: Likewise.
10985 * lib/gdb.exp: Likewise.
10986 * gdb.base/so-indr-cl.c: Remove.
10987 * gdb.base/so-indr-cl.exp: Likewise.
10988 * gdb.base/solib.c: Likewise.
10989 * gdb.base/solib.exp: Likewise.
10990 * gdb.base/solib2.c: Likewise.
10992 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10994 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10995 * gdb.base/call-ar-st.exp: Likewise.
10996 * gdb.base/callfuncs.exp: Likewise.
10997 * gdb.base/condbreak.exp: Likewise.
10998 * gdb.base/constvars.exp: Likewise.
10999 * gdb.base/hbreak2.exp: Likewise.
11000 * gdb.base/langs.exp: Likewise.
11001 * gdb.base/list.exp: Likewise.
11002 * gdb.base/long_long.exp: Likewise.
11003 * gdb.base/ptype.exp: Likewise.
11004 * gdb.base/scope.exp: Likewise.
11005 * gdb.base/signals.exp: Likewise.
11006 * gdb.base/so-impl-ld.exp: Likewise.
11007 * gdb.base/varargs.exp: Likewise.
11008 * gdb.base/volatile.exp: Likewise.
11009 * gdb.base/whatis.exp: Likewise.
11010 * gdb.cp/cplusfuncs.exp: Likewise.
11011 * gdb.cp/inherit.exp: Likewise.
11012 * gdb.cp/local.exp: Likewise.
11013 * gdb.cp/member-ptr.exp: Likewise.
11014 * gdb.cp/method.exp: Likewise.
11015 * gdb.cp/overload.exp: Likewise.
11016 * gdb.cp/templates.exp: Likewise.
11017 * gdb.stabs/weird.exp: Likewise.
11018 * lib/compiler.c: Likewise.
11019 * lib/compiler.cc: Likewise.
11020 * lib/cp-support.exp: Likewise.
11021 * lib/gdb.exp: Likewise.
11023 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11025 * configure.ac: Remove HP-UX case.
11026 * configure: Regenerate.
11028 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11030 * lib/gdb.exp (gdb_compile): Add function doc.
11032 2015-12-17 Pedro Alves <palves@redhat.com>
11035 * gdb.multi/info-threads.exp: New file.
11037 2015-12-15 Yao Qi <yao.qi@linaro.org>
11039 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11042 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11044 * gdb.base/history-duplicates.exp: Skip if no readline support.
11046 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11048 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11050 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11052 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11054 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11056 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11057 ctrl-C if nointerrupts target property is set.
11058 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11059 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11060 * gdb.base/paginate-bg-execution.exp: Likewise.
11061 * gdb.base/paginate-execution-startup.exp: Likewise.
11062 * gdb.base/random-signal.exp: Likewise.
11063 * gdb.base/range-stepping.exp: Likewise.
11064 * gdb.cp/annota2.exp: Likewise.
11065 * gdb.cp/annota3.exp: Likewise.
11066 * gdb.gdb/selftest.exp: Likewise.
11067 * gdb.threads/continue-pending-status.exp: Likewise.
11068 * gdb.threads/leader-exit.exp: Likewise.
11069 * gdb.threads/manythreads.exp: Likewise.
11070 * gdb.threads/pthreads.exp: Likewise.
11071 * gdb.threads/schedlock.exp: Likewise.
11072 * gdb.threads/sigthread.exp: Likewise.
11074 2015-12-11 Don Breazeal <donb@codesourcery.com>
11076 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11078 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11079 * gdb.base/foll-exec.exp (main): Enable for target remote.
11080 * gdb.base/foll-fork.exp (main): Likewise.
11081 * gdb.base/foll-vfork.exp (main): Likewise.
11082 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11083 (proc continue_to_exit_bp_loc): Use clean_restart.
11084 * gdb.base/pie-execl.exp (main): Disable for target remote.
11085 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11086 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11087 * gdb.threads/execl.exp (main): Likewise.
11088 * gdb.threads/fork-child-threads.exp (main): Likewise.
11089 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11091 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11093 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11094 pid.tid style ptids, instead of just tid.
11095 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11096 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11097 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11098 ptids, instead of just tid.
11100 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11102 * gdb.base/list.exp (test_list_forward): Add end of file error
11104 (test_repeat_list_command): Add end of file error test.
11105 (test_list_backwards): Add beginning of file error test.
11107 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11109 * gdb.base/list.exp (test_list_invalid_args): New function,
11110 defined, and called.
11112 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11114 * gdb.base/list.exp (test_list): Make test names unique.
11116 2015-12-11 Yao Qi <yao.qi@linaro.org>
11118 * gdb.base/coremaker2.c: Remove.
11120 2015-12-10 Pedro Alves <palves@redhat.com>
11122 * gdb.multi/base.exp: Remove stale "spaces" references.
11124 2015-12-10 Pedro Alves <palves@redhat.com>
11126 * gdb.multi/base.exp: Don't use nowarnings.
11127 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11128 * gdb.multi/hangout.c: Include stdio.h.
11129 * gdb.multi/hello.c: Include stdlib.h.
11130 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11131 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11132 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11134 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11136 * gdb.dwarf2/dw2-ranges-base.c: New file.
11137 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11138 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11139 support additional line table, and debug ranges generation.
11140 (Dwarf::ranges): New function, generate .debug_ranges.
11141 (Dwarf::lines): Support generating simple line table programs.
11142 (Dwarf::assemble): Initialise new namespace variables.
11144 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11146 * gdb.base/async.exp (proc test_background): Add case for
11147 asynchronous execution not supported.
11149 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11151 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11152 format and change test names to make them unique.
11154 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11155 Pedro Alves <pedro@redhat.com>
11158 Add checking of floatformats setup on x86_64 hosts.
11159 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11160 (smallval, bigval): New labels/constants.
11161 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11162 float" after loading bigval and smallval.
11164 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11166 * gdb.ada/fun_overload_menu.exp: New testcase.
11167 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11169 2015-12-04 Josh Stone <jistone@redhat.com>
11171 * gdb.base/catch-fork-static.exp: New.
11173 2015-12-03 Yao Qi <yao.qi@linaro.org>
11175 * gdb.base/sizeof.c: Don't include stdio.h and
11176 ../lib/unbuffer_output.c.
11177 (main): New variable 'size' and 'value'. Remove printf and
11178 gdb_unbuffer_output. Assign return value to size and value.
11179 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11181 (check_sizeof): Check the result by printing variable 'size'.
11182 (check_valueof): Check the result by printing variable 'value'.
11184 2015-12-01 Yao Qi <yao.qi@linaro.org>
11186 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11187 for aarch64*-*-linux* target.
11189 2015-11-30 Pedro Alves <palves@redhat.com>
11191 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11193 2015-11-30 Pedro Alves <palves@redhat.com>
11195 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11196 Handle non-stop mode vCont replies.
11198 2015-11-30 Pedro Alves <palves@redhat.com>
11200 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11201 prepare_for_testing. Start gdb with "set non-stop on" appended to
11202 GDBFLAGS. Lax expected stop output.
11204 2015-11-27 Yao Qi <yao.qi@linaro.org>
11206 * gdb.arch/arm-neon.exp: New.
11207 * gdb.arch/arm-neon.c: New.
11209 2015-11-27 Yao Qi <yao.qi@linaro.org>
11211 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11213 2015-11-27 Yao Qi <yao.qi@linaro.org>
11215 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11216 frames-invalid annotation.
11218 2015-11-27 Yao Qi <yao.qi@linaro.org>
11220 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11222 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11224 * gdb.threads/names.exp: New file.
11225 * gdb.threads/names.c: New file.
11226 * README: Mention gdb,no_thread_names.
11228 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11231 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11234 2015-11-24 Pedro Alves <palves@redhat.com>
11237 * gdb.base/display.exp: Expect displays to be sorted in ascending
11238 order. Use multi_line.
11239 * gdb.base/solib-display.exp: Likewise.
11241 2015-11-24 Pedro Alves <palves@redhat.com>
11244 * gdb.base/display.exp: Expect displays to be sorted in ascending
11245 order. Use multi_line.
11246 * gdb.base/solib-display.exp: Likewise.
11248 2015-11-24 Pedro Alves <palves@redhat.com>
11251 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11252 threads in ascending order.
11253 * gdb.base/foll-fork.exp: Likewise.
11254 * gdb.base/foll-vfork.exp: Likewise.
11255 * gdb.base/multi-forks.exp: Likewise.
11256 * gdb.mi/mi-nonstop.exp: Likewise.
11257 * gdb.mi/mi-nsintrall.exp: Likewise.
11258 * gdb.multi/base.exp: Likewise.
11259 * gdb.multi/multi-arch.exp: Likewise.
11260 * gdb.python/py-inferior.exp: Likewise.
11261 * gdb.threads/break-while-running.exp: Likewise.
11262 * gdb.threads/execl.exp: Likewise.
11263 * gdb.threads/gcore-thread.exp: Likewise.
11264 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11265 * gdb.threads/kill.exp: Likewise.
11266 * gdb.threads/linux-dp.exp: Likewise.
11267 * gdb.threads/multiple-step-overs.exp: Likewise.
11268 * gdb.threads/next-bp-other-thread.exp: Likewise.
11269 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11270 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11271 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11272 * gdb.threads/thread-find.exp: Likewise.
11273 * gdb.threads/tls.exp: Likewise.
11274 * lib/mi-support.exp (mi_reverse_list): Delete.
11275 (mi_check_thread_states): No longer reverse list.
11277 2015-11-24 Pedro Alves <palves@redhat.com>
11279 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11282 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11284 * gdb.trace/actions.c: Include trace-common.h.
11285 (main): Add a location for a fast tracepoint.
11286 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11287 the normal tracepoints.
11288 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11290 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11292 * save-trace.exp: Factor out code to these...
11293 (gdb_save_tracepoints): New.
11294 (gdb_load_tracepoints): New.
11295 (do_save_load_test): New.
11297 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11299 * gdb.base/asmlabel.exp: New test.
11300 * gdb.base/asmlabel.c: New test case.
11302 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11304 * gdb.base/wrong_frame_bt_full-main.c: New file.
11305 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11306 * gdb.base/wrong_frame_bt_full.exp: New file.
11308 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11310 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11312 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11314 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11315 pstate register when comparing registers values in
11316 sparc64-*-linux-gnu targets to avoid spurious differences.
11318 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11320 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11322 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11324 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11325 as type argument to gdb_compile.
11326 * gdb.base/nested-subp2.exp: Likewise.
11327 * gdb.base/nested-subp3.exp: Likewise.
11329 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11331 * lib/dwarf.exp (_note): Fix left shift of negative value.
11332 * gdb.trace/trace-condition.exp: Likewise.
11334 2015-11-13 Yao Qi <yao.qi@linaro.org>
11336 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11337 comments about d10v.
11338 (test_scalar_returns): Likewise.
11339 * gdb.base/d10v.ld: Remove.
11340 * gdb.base/overlays.exp: Remove the target triplet checking for
11342 * gdb.base/structs.exp (test_struct_returns): Remove the
11343 comments about d10v.
11344 (test_struct_calls): Likewise.
11346 2015-11-13 Yao Qi <yao.qi@linaro.org>
11348 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11349 * gdb.base/gnu_vector.c: Don't include stdio.h.
11350 (main): Don't print res and call add_some_intvecs.
11352 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11354 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11357 (func4): Use FAST_TRACEPOINT_LABEL.
11358 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11361 (thread_function): Use FAST_TRACEPOINT_LABEL.
11362 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11364 (marker): Use FAST_TRACEPOINT_LABEL.
11365 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11366 (pendfunc1): Remove.
11367 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11368 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11370 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11371 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11374 (marker): Use FAST_TRACEPOINT_LABEL.
11375 * gdb.trace/trace-common.h: New header.
11376 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11379 (marker): Use FAST_TRACEPOINT_LABEL.
11380 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11382 (thread_function): Use FAST_TRACEPOINT_LABEL.
11384 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11386 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11388 * gdb.trace/change-loc.exp: Use global pcreg definition.
11389 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11390 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11392 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11393 * gdb.trace/pending.exp: Likewise.
11394 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11395 * gdb.trace/trace-break.exp: Likewise.
11396 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11398 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11399 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11401 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11403 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11405 * gdb.ada/fin_fun_out: New testcase.
11407 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11409 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11410 value associated with DW_AT_byte_size.
11411 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11412 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11415 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11417 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11418 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11420 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11421 gdb.dwarf2/dw2-canonicalize-type.exp,
11422 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11423 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11424 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11425 provided by gdb_target_symbol_prefix_flags_asm.
11426 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11427 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11428 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11429 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11430 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11431 macros where needed). Use this macro for symbols which require
11432 the prefix provided by SYMBOL_PREFIX.
11434 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11436 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11438 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11439 representing expressions, of more than one list element.
11440 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11441 to prepend linker symbol prefix to f.
11442 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11443 table_1 and table_2.
11444 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11445 Likewise, for f and g.
11446 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11448 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11450 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11451 table_1_ptr and table_2_ptr.
11453 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11454 Joel Brobecker <brobecker@adacore.com>
11456 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11458 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11460 * gdb.reverse/s390-mvcle.c: New test.
11461 * gdb.reverse/s390-mvcle.exp: New file.
11462 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11464 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11466 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11468 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11470 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11472 * gdb.reverse/getresuid-reverse.exp: Likewise.
11473 * gdb.reverse/pipe-reverse.exp: Likewise.
11474 * gdb.reverse/readv-reverse.exp: Likewise.
11475 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11476 * gdb.reverse/time-reverse.exp: Likewise.
11477 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11479 2015-10-30 Yao Qi <yao.qi@linaro.org>
11481 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11482 (empty_cycle): Remove.
11483 (main): Don't call empty_cycle. Don't use watch_count_done.
11484 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11485 empty_cycle. Rewrite the code counting HW watchpoints.
11487 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11489 * gdb.reverse/fstatat-reverse.c: New test.
11490 * gdb.reverse/fstatat-reverse.exp: New file.
11491 * gdb.reverse/getresuid-reverse.c: New test.
11492 * gdb.reverse/getresuid-reverse.exp: New file.
11493 * gdb.reverse/pipe-reverse.c: New test.
11494 * gdb.reverse/pipe-reverse.exp: New file.
11495 * gdb.reverse/readv-reverse.c: New test.
11496 * gdb.reverse/readv-reverse.exp: New file.
11497 * gdb.reverse/recvmsg-reverse.c: New test.
11498 * gdb.reverse/recvmsg-reverse.exp: New file.
11499 * gdb.reverse/time-reverse.c: New test.
11500 * gdb.reverse/time-reverse.exp: New file.
11501 * gdb.reverse/waitpid-reverse.c: New test.
11502 * gdb.reverse/waitpid-reverse.exp: New file.
11504 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11506 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11508 2015-10-26 Doug Evans <dje@google.com>
11511 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11512 * gdb.dwarf2/bad-regnum.c: New file.
11513 * gdb.dwarf2/bad-regnum.exp: New file.
11515 2015-10-26 Doug Evans <dje@google.com>
11518 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11521 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11523 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11524 for a change by "Mention language in compile error message".
11526 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11529 * gdb.python/py-type.c (C::a_method): New.
11530 (C::a_const_method): New.
11531 (C::a_static_method): New.
11533 * gdb.python/py-type.exp (test_fields): Test getting fields
11534 from function and method.
11536 2015-10-21 Keven Boell <keven.boell@intel.com>
11538 * gdb.fortran/vla-alloc-assoc.exp: New file.
11539 * gdb.fortran/vla-datatypes.exp: New file.
11540 * gdb.fortran/vla-datatypes.f90: New file.
11541 * gdb.fortran/vla-history.exp: New file.
11542 * gdb.fortran/vla-ptype-sub.exp: New file.
11543 * gdb.fortran/vla-ptype.exp: New file.
11544 * gdb.fortran/vla-sizeof.exp: New file.
11545 * gdb.fortran/vla-sub.f90: New file.
11546 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11547 * gdb.fortran/vla-value-sub-finish.exp: New file.
11548 * gdb.fortran/vla-value-sub.exp: New file.
11549 * gdb.fortran/vla-value.exp: New file.
11550 * gdb.fortran/vla-ptr-info.exp: New file.
11551 * gdb.mi/mi-vla-fortran.exp: New file.
11552 * gdb.mi/vla.f90: New file.
11554 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11556 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11557 of hardwired timeout value.
11559 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11560 Pedro Alves <palves@redhat.com>
11562 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11563 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11565 2015-10-19 Josh Stone <jistone@redhat.com>
11567 * gdb.base/catch-syscall.c: Include <sched.h>.
11568 (unknown_syscall): New variable.
11569 (main): Trigger a vfork and an unknown syscall.
11570 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11571 (unknown_syscall_number): Likewise.
11572 (check_call_to_syscall): Accept an optional syscall pattern.
11573 (check_return_from_syscall): Likewise.
11574 (check_continue): Likewise.
11575 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11576 (test_catch_syscall_skipping_return): New test toggling off 'catch
11577 syscall' to step over the syscall return, then toggling back on.
11578 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11579 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11580 (do_syscall_tests): Call test_catch_syscall_without_args and
11581 test_catch_syscall_mid_vfork.
11582 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11583 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11585 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11587 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11588 print g_vE): Add new pass patterns.
11589 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11590 print various symbol names for vptr fields.
11592 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11594 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11597 2015-10-12 Yao Qi <yao.qi@linaro.org>
11599 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11601 2015-10-12 Yao Qi <yao.qi@linaro.org>
11603 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11604 is aarch64*-*-linux*.
11606 2015-10-12 Yao Qi <yao.qi@linaro.org>
11608 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11609 (can_relocate_bcond_true): ... it.
11610 (can_relocate_bcond_false): New function.
11612 (can_relocate_bl): Likewise.
11613 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11616 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11618 * gdb.base/nested-addr.c: New file.
11619 * gdb.base/nested-addr.exp: New testcase.
11621 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11623 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11624 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11625 its output. Ignore the output of "record goto begin" and instead
11626 check that GDB is replaying.
11628 2015-10-09 Pedro Alves <palves@redhat.com>
11630 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11631 (top level): Use it in the run with no args test.
11633 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11635 * gdb.dlang/properties.exp: New file.
11637 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11639 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11640 whether or not address 0x1000 is mapped on the target.
11642 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11644 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11647 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11649 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11650 instruction-history test.
11652 2015-09-28 Doug Evans <dje@google.com>
11654 * gdb.base/gcore.c (array_func): Add reference to static_array.
11656 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11658 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11661 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11663 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11664 short or char as base type.
11666 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11668 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11669 to allow any size enum.
11671 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11673 * gdb.ada/array_ptr_renaming.exp: New testcase.
11674 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11675 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11677 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11679 * gdb.trace/ftrace-lock.c: New file.
11680 * gdb.trace/ftrace-lock.exp: New file.
11682 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11684 * gdb.arch/insn-reloc.c: New file.
11685 * gdb.arch/ftrace-insn-reloc.exp: New file.
11687 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11689 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11691 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11692 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11693 * gdb.trace/range-stepping.c: Likewise.
11694 * gdb.trace/trace-break.c: Likewise.
11695 * gdb.trace/trace-mt.c (thread_function): Likewise.
11696 * gdb.trace/ftrace.c (marker): Likewise.
11697 * gdb.trace/trace-condition.c (marker): Likewise.
11698 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11699 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11702 2015-09-18 Doug Evans <xdje42@gmail.com>
11704 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11705 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11707 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11709 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11712 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11714 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11715 the pending breakpoint. Remove timeout override for "Run till
11716 MI pending breakpoint on pendfunc3 on thread 2" test.
11718 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11720 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11723 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11725 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11726 in breakpoint filename pattern.
11728 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11730 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11732 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11734 * gdb.linespec/explicit.exp: Check for readline support for
11735 tab-completion tests. Fix obvious typo.
11737 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11739 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11742 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11744 * gdb.btrace/non-stop.c: New.
11745 * gdb.btrace/non-stop.exp: New.
11747 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11748 Yao Qi <yao.qi@linaro.org>
11750 * gdb.trace/trace-condition.c: New file.
11751 * gdb.trace/trace-condition.exp: New file.
11753 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11755 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11756 for testing bytecode compilation.
11758 2015-09-16 Pedro Alves <palves@redhat.com>
11759 Sandra Loosemore <sandra@codesourcery.com>
11761 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11762 (SECONDS): Redefine.
11763 (main): Call pthread_kill and alarm early.
11764 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11766 (test): If the target can't hardware step and doesn't support
11767 displaced stepping, increase the timeout.
11769 2015-09-16 Pedro Alves <palves@redhat.com>
11771 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11772 (enable_debug): New procedures.
11773 (test): Use them. Bail out if waiting for threads fails.
11774 (top level): Bail out if a test fails.
11776 2015-09-16 Yao Qi <yao.qi@linaro.org>
11778 * gdb.asm/asm-source.exp: Set asm-arch for
11779 aarch64*-*-* target.
11780 * gdb.asm/aarch64.inc: New file.
11782 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11784 * gdb.ada/array_of_variable_length.exp: New testcase.
11785 * gdb.ada/array_of_variable_length/foo.adb: New file.
11786 * gdb.ada/array_of_variable_length/pck.adb: New file.
11787 * gdb.ada/array_of_variable_length/pck.ads: New file.
11789 2015-09-15 Doug Evans <dje@google.com>
11791 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11792 of function static local variable.
11794 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11796 * gdb.threads/tls-so_extern.exp: New test file.
11797 * gdb.threads/tls-so_extern.c: New test file.
11798 * gdb.threads/tls-so_extern_main.c: New test file.
11800 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11802 * gdb.opt/solib-intra-step-lib.c: New file.
11803 * gdb.opt/solib-intra-step-main.c: New file.
11804 * gdb.opt/solib-intra-step.exp: New file.
11806 2015-09-15 Pedro Alves <palves@redhat.com>
11808 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11809 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11811 2015-09-14 Pedro Alves <palves@redhat.com>
11813 * gdb.base/hook-stop-continue.c: Delete.
11814 * gdb.base/hook-stop-continue.exp: Delete.
11815 * gdb.base/hook-stop-frame.c: Delete.
11816 * gdb.base/hook-stop-frame.exp: Delete.
11817 * gdb.base/hook-stop.c: New file.
11818 * gdb.base/hook-stop.exp: New file.
11820 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11822 * gdb.ada/access_to_packed_array.exp: New testcase.
11823 * gdb.ada/access_to_packed_array/foo.adb: New file.
11824 * gdb.ada/access_to_packed_array/pack.adb: New file.
11825 * gdb.ada/access_to_packed_array/pack.ads: New file.
11827 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11829 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11832 2015-09-11 Don Breazeal <donb@codesourcery.com>
11834 * gdb.base/foll-exec.c: Add copyright header. Fix
11836 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11837 (do_exec_tests): Use clean_restart in place of zap_session,
11838 and for test initialization. Fix formatting issues. Use
11839 fail in place of perror.
11840 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11841 an expect statement to match an expression with output from
11842 the program under debug.
11843 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11844 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11845 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11846 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11847 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11849 2015-09-09 Doug Evans <dje@google.com>
11851 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11853 2015-09-09 Doug Evans <dje@google.com>
11855 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11857 2015-09-09 Doug Evans <dje@google.com>
11859 * gdb.base/savedregs.exp: Fix typo.
11861 2015-09-09 Pedro Alves <palves@redhat.com>
11863 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11865 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11867 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11868 command actually switches threads. Give up on remaining
11869 tests if target fails to stop at breakpoint.
11871 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11873 * gdb.ada/funcall_char.exp: New testcase.
11874 * gdb.ada/funcall_char/foo.adb: New file.
11876 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11878 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11879 expected outputs. Add two testcases for completing ambiguous
11881 * gdb.ada/complete/aux_pck.adb: New file.
11882 * gdb.ada/complete/aux_pck.ads: New file.
11883 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11884 Ambiguous_Func functions.
11885 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11886 * gdb.ada/complete/pck.adb: Likewise.
11888 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11890 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11891 failures to run the test program under GDB.
11893 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11895 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11898 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11900 * gdb.base/run-after-attach.exp: New test file.
11901 * gdb.base/run-after-attach.c: New test file.
11903 2015-08-26 Don Breazeal <donb@codesourcery.com>
11905 * gdb.base/foll-exec-2.c: New test program.
11906 * gdb.base/foll-exec-2.exp: New test.
11908 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11910 * gdb.base/nested-subp1.exp: New file.
11911 * gdb.base/nested-subp1.c: New file.
11912 * gdb.base/nested-subp2.exp: New file.
11913 * gdb.base/nested-subp2.c: New file.
11914 * gdb.base/nested-subp3.exp: New file.
11915 * gdb.base/nested-subp3.c: New file.
11917 2015-08-24 Pedro Alves <palves@redhat.com>
11919 * gdb.server/connect-without-multi-process.c: New file.
11920 * gdb.server/connect-without-multi-process.exp: New file.
11922 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11924 * gdb.opt/inline-markers.c: Make z int.
11926 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11928 * gdb.opt/inline-markers.c: Make z volatile.
11930 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11932 * gdb.opt/inline-bt.c: New volatile global z.
11933 * gdb.opt/inline-cmds.c: Likewise.
11934 * gdb.opt/inline-locals.c: Likewise.
11935 * gdb.opt/inline-markers.c: New extern global z.
11937 (inline_fn): Likewise.
11939 2015-08-24 Pedro Alves <palves@redhat.com>
11941 * config/m32r-stub.exp: Remove file.
11942 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11943 * gdb.base/call-rt-st.exp: Likewise.
11944 * gdb.base/call-strs.exp: Likewise.
11945 * gdb.base/default.exp: Remove references to h8300-*-hms and
11947 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11949 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11951 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11952 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11953 and "return" use KFAIL when GDB can not read/write the vector
11956 2015-08-21 Gary Benson <gbenson@redhat.com>
11958 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11960 2015-08-20 Pedro Alves <palves@redhat.com>
11962 * gdb.server/solib-list.exp: No longer expect an interior stop in
11965 2015-08-20 Pedro Alves <palves@redhat.com>
11967 * gdb.server/connect-stopped-target.c: New file.
11968 * gdb.server/connect-stopped-target.exp: New file.
11970 2015-08-20 Pedro Alves <palves@redhat.com>
11972 * gdb.dwarf2/comp-unit-lang.exp: New file.
11973 * gdb.dwarf2/comp-unit-lang.c: New file.
11975 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11977 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11978 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11980 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11982 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11983 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11985 2015-08-18 Doug Evans <dje@google.com>
11986 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11988 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11989 skip_python_tests. New arg prompt_regexp.
11990 (skip_python_tests): New function.
11991 * lib/mi-support.exp (mi_skip_python_tests): New function.
11992 * gdb.python/py-mi-objfile-gdb.py: New file.
11993 * gdb.python/py-mi-objfile.c: New file.
11994 * gdb.python/py-mi-objfile.exp: New file.
11996 2015-08-17 Keith Seitz <keiths@redhat.com>
11998 * gdb.linespec/explicit.exp: Move strace test from here ...
11999 * gdb.trace/strace.exp: ... to here.
12001 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12003 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12004 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12006 2015-08-14 Doug Evans <xdje42@gmail.com>
12008 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12009 inferior before selecting a new file.
12011 2015-08-14 Doug Evans <xdje42@gmail.com>
12013 * gdb.mi/mi-disassemble.exp: Update.
12014 * gdb.base/disasm-optim.S: New file.
12015 * gdb.base/disasm-optim.c: New file.
12016 * gdb.base/disasm-optim.h: New file.
12017 * gdb.base/disasm-optim.exp: New file.
12019 2015-08-14 Keith Seitz <keiths@redhat.com>
12021 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12024 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12026 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12028 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12030 * gdb.ada/fun_renaming.exp: New testcase.
12031 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12032 * gdb.ada/fun_renaming/pack.adb: New file.
12033 * gdb.ada/fun_renaming/pack.ads: New file.
12035 2015-08-12 Keith Seitz <keiths@redhat.com>
12037 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12038 gdb_get_line_number.
12040 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12042 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12043 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12044 gdb.base/dso2dso.exp: New files.
12046 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12047 Pedro Alves <palves@redhat.com>
12048 Keith Seitz <keiths@redhat.com>
12050 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12053 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12055 * gdb.base/gdbhistsize-history.exp
12056 (test_histsize_history_setting): Use save_vars.
12057 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12059 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12060 * gdb.base/readline.exp: Use save_vars.
12062 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12064 * lib/gdb.exp (save_vars): New proc.
12066 2015-08-11 Keith Seitz <keiths@redhat.com>
12068 * gdb.base/help.exp: Update help_breakpoint_text.
12070 2015-08-11 Keith Seitz <keiths@redhat.com>
12072 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12073 (at toplevel): Call test_explicit_breakpoints.
12074 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12076 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12077 breakpoint conditions, "-cond".
12079 2015-08-11 Keith Seitz <keiths@redhat.com>
12081 * gdb.linespec/3explicit.c: New file.
12082 * gdb.linespec/cpexplicit.cc: New file.
12083 * gdb.linespec/cpexplicit.exp: New file.
12084 * gdb.linespec/explicit.c: New file.
12085 * gdb.linespec/explicit.exp: New file.
12086 * gdb.linespec/explicit2.c: New file.
12087 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12088 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12089 before using in the matching pattern.
12090 Clarify that `prefix' is a regular expression.
12092 2015-08-11 Keith Seitz <keiths@redhat.com>
12094 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12096 Add tests for missing ",FMT" and ",".
12098 2015-08-10 Doug Evans <dje@google.com>
12099 Keith Seitz <keiths@redhat.com>
12102 * gdb.base/completion.exp: Add location completer tests.
12104 2015-08-07 Pedro Alves <palves@redhat.com>
12106 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12108 (top level): Run do_test with and without displaced stepping.
12110 2015-08-07 Pedro Alves <palves@redhat.com>
12112 * gdb.base/valgrind-disp-step.c: New file.
12113 * gdb.base/valgrind-disp-step.exp: New file.
12115 2015-08-07 Pedro Alves <palves@redhat.com>
12117 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12119 (main): Add alarm. Run an infinite loop instead of calling
12121 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12123 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12125 (main): Add alarm. Run an infinite loop instead of calling
12127 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12130 2015-08-07 Pedro Alves <palves@redhat.com>
12132 * gdb.base/checkpoint-ns.exp: New file.
12133 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12136 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12138 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12139 * gdb.btrace/instruction_history.exp: Update.
12140 * gdb.btrace/tsx.exp: New.
12141 * gdb.btrace/tsx.c: New.
12143 2015-08-06 Pedro Alves <palves@redhat.com>
12145 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12147 * gdb.reverse/until-precsave.exp: Bump timeouts.
12149 2015-08-06 Pedro Alves <palves@redhat.com>
12151 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12153 2015-08-06 Pedro Alves <palves@redhat.com>
12156 * gdb.threads/process-dies-while-handling-bp.c: New file.
12157 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12159 2015-08-06 Pedro Alves <palves@redhat.com>
12161 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12162 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12164 2015-08-05 Pedro Alves <palves@redhat.com>
12166 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12167 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12169 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12171 * gdb.base/bp-permanent.exp: Report test as unsupported if
12172 the target cannot stop at the permanent breakpoint.
12174 2015-08-03 Doug Evans <dje@google.com>
12176 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12179 2015-08-03 Doug Evans <dje@google.com>
12181 * Makefile.in (workers/%.worker, build-perf): New rule.
12182 (GDB_PERFTEST_MODE): New variable.
12183 (check-perf): Use it.
12184 (clean): Clean up gdb.perf parallel build subdirs.
12185 * lib/build-piece.exp: New file.
12186 * lib/gdb.exp (make_gdb_parallel_path): New function
12187 (standard_output_file, standard_temp_file): Call it.
12188 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12190 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12192 2015-08-03 Doug Evans <dje@google.com>
12194 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12195 (LOG_FILE_NAME): New global.
12196 (TextReporter.__init__): Initialize self.txt_sum.
12197 (TextReporter.report): Add support for multiple data-points.
12198 Move report to perftest.sum, put raw data in perftest.log.
12199 (TextReporter.start): Open sum and log files.
12200 (TextReporter.end): Close sum and log files.
12201 * gdb.perf/lib/perftest/testresult.py
12202 (SingleStatisticTestResult.record): Handle multiple data-points.
12204 2015-07-31 Pedro Alves <palves@redhat.com>
12206 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12207 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12208 kill_wait_spawned_process instead of explicit "kill -9".
12209 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12210 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12211 kill_wait_spawned_process.
12212 * gdb.base/attach-twice.exp: Likewise.
12213 * gdb.base/attach.exp: Likewise.
12214 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12216 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12217 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12218 kill_wait_spawned_process.
12219 * gdb.base/valgrind-infcall.exp: Likewise.
12220 * gdb.multi/multi-attach.exp: Likewise.
12221 * gdb.python/py-prompt.exp: Likewise.
12222 * gdb.python/py-sync-interp.exp: Likewise.
12223 * gdb.server/ext-attach.exp: Likewise.
12224 * gdb.threads/attach-into-signal.exp (corefunc): Use
12225 spawn_wait_for_attach, spawn_id_get_pid and
12226 kill_wait_spawned_process.
12227 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12228 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12229 spawn_id_get_pid and kill_wait_spawned_process.
12230 * gdb.threads/attach-stopped.exp (corefunc): Use
12231 spawn_wait_for_attach, spawn_id_get_pid and
12232 kill_wait_spawned_process.
12233 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12234 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12235 kill_wait_spawned_process instead of explicit "kill -9".
12236 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12237 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12238 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12239 processes. Don't map cygwin/windows pids here. Now returns a
12242 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12244 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12245 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12248 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12250 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12252 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12255 2014-05-21 Mark Wielaard <mjw@redhat.com>
12257 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12259 2015-07-30 Pedro Alves <palves@redhat.com>
12261 * linux-low.c (handle_extended_wait): Set the child's last
12262 reported status to TARGET_WAITKIND_STOPPED.
12264 2015-07-30 Pedro Alves <palves@redhat.com>
12267 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12268 only shows inferior 1.
12270 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12271 Pedro Alves <palves@redhat.com>
12274 * gdb.threads/fork-plus-threads.c: New file.
12275 * gdb.threads/fork-plus-threads.exp: New file.
12277 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12279 * gdb.base/batch-preserve-term-settings.exp
12280 (test_terminal_settings_preserved_after_cli_exit): Use
12283 2015-07-29 Pedro Alves <palves@redhat.com>
12284 Don Breazeal <donb@codesourcery.com>
12286 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12287 output from both inferior_spawn_id and gdb_spawn_id.
12289 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12291 * gdb.threads/attach-into-signal.exp (corefunc): Use
12292 with_test_prefix on nested loops, uniquefying the test messages.
12294 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12296 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12299 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12301 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12303 (test_terminal_settings_preserved_after_sigterm): New test.
12305 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12307 * gdb.base/batch-preserve-term-settings.exp
12308 (test_terminal_settings_preserved_after_cli_exit): New test.
12310 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12312 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12313 manipulation of saved_gdbflags.
12314 (test_terminal_settings_preserved): Remove global declaration of
12315 the unused variable pagination_prompt. Remove manipulation of
12316 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12319 2015-07-29 Pedro Alves <palves@redhat.com>
12321 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12323 2015-07-29 Pedro Alves <palves@redhat.com>
12325 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12328 2015-07-29 Pedro Alves <palves@redhat.com>
12330 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12331 (main): Call gdb_unbuffer_output.
12332 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12333 (main): Call gdb_unbuffer_output.
12334 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12335 (main): Call gdb_unbuffer_output.
12336 * gdb.base/call-strs.exp: Adjust to step over the
12337 gdb_unbuffer_output call.
12338 * gdb.base/catch-gdb-caused-signals.c: Include
12339 "../lib/unbuffer_output.c".
12340 (main): Call gdb_unbuffer_output.
12341 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12342 (main): Call gdb_unbuffer_output.
12343 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12344 (main): Call gdb_unbuffer_output.
12345 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12346 (main): Call gdb_unbuffer_output.
12347 * gdb.base/shlib-call.exp: Adjust to step over the
12348 gdb_unbuffer_output call.
12349 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12350 (main): Call gdb_unbuffer_output.
12351 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12352 (main): Call gdb_unbuffer_output.
12353 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12354 (main): Rename to ...
12356 (main): Reimplement.
12357 * gdb.base/varargs.exp: Run to test instead of to main.
12358 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12359 (main): Call gdb_unbuffer_output.
12361 2015-07-29 Pedro Alves <palves@redhat.com>
12363 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12364 factore out from mi_continue_dprintf. For call-style dprintfs,
12365 expect dprintf output out of $inferior_spawn_id.
12366 (mi_continue_dprintf): Use mi_expect_dprintf.
12367 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12368 (main): Call gdb_unbuffer_output.
12370 2015-07-29 Pedro Alves <palves@redhat.com>
12372 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12373 (default_mi_gdb_start): Set inferior_spawn_id instead of
12374 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12376 (mi_gdb_test): Always expect inferior output from both
12377 $inferior_spawn_id and $gdb_spawn_id.
12379 2015-07-29 Pedro Alves <palves@redhat.com>
12381 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12382 send_inferior and $inferior_spawn_id.
12384 2015-07-29 Pedro Alves <palves@redhat.com>
12386 * gdb.gdb/complaints.exp (test_initial_complaints)
12387 (test_serial_complaints, test_short_complaints): Use
12389 (test_empty_complaint): Handle $inferior_spawn_id !=
12392 2015-07-29 Pedro Alves <palves@redhat.com>
12394 * gdb.base/varargs.exp: Use gdb_test_stdio.
12396 2015-07-29 Pedro Alves <palves@redhat.com>
12398 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12400 2015-07-29 Pedro Alves <palves@redhat.com>
12402 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12404 2015-07-29 Pedro Alves <palves@redhat.com>
12406 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12407 parameter into two new parameters, "inf_result" and "gdb_result".
12408 Expect inferior output and gdb output from $inferior_spawn_id and
12409 $gdb_spawn_id, respectively. Adjust all callers.
12411 2015-07-29 Pedro Alves <palves@redhat.com>
12413 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12414 of gdb_test_sequence.
12416 2015-07-29 Pedro Alves <palves@redhat.com>
12418 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12419 (saw_spurious_output): Expect inferior output from
12420 $inferior_spawn_id. Use gdb_test_stdio.
12422 2015-07-29 Pedro Alves <palves@redhat.com>
12424 * gdb.base/dprintf.exp: Use standard_testfile. Change
12425 prepare_for_testing call.
12426 (srcfile): Don't set.
12427 (restart): New procedure.
12428 (test_dprintf): New procecure, use to continue over dprintfs.
12429 (test_call, test_agent): New procedures, tests moved here.
12430 Restart gdb and recreate dprintfs. Adjust expected output.
12432 2015-07-29 Pedro Alves <palves@redhat.com>
12434 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12436 2015-07-29 Pedro Alves <palves@redhat.com>
12438 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12440 2015-07-29 Pedro Alves <palves@redhat.com>
12442 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12445 2015-07-29 Pedro Alves <palves@redhat.com>
12447 * lib/gdb.exp (gdb_test_stdio): New procedure.
12449 2015-07-29 Pedro Alves <palves@redhat.com>
12451 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12453 2015-07-29 Pedro Alves <palves@redhat.com>
12455 * gdb.base/call-signal-resume.exp: Remove check for
12456 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12457 * gdb.base/unwindonsignal.exp: Likewise.
12458 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12459 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12461 2015-07-29 Pedro Alves <palves@redhat.com>
12463 * gdb.base/siginfo-addr.c (pass): New function.
12464 (handler): Call it iff si_addr is correct.
12465 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12466 Set a breakpoint at "pass" and continue to it.
12468 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12470 * gdb.python/py-objfile.exp: Make some tests have unique names.
12471 * gdb.python/py-pp-registration.exp: Likewise.
12473 2015-07-28 Pedro Alves <palves@redhat.com>
12475 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12477 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12479 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12481 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12483 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12485 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12487 * gdb.base/gdb-sigterm-2.exp: New test.
12489 2015-07-25 Doug Evans <xdje42@gmail.com>
12492 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12493 (workers/%.worker, build-perf): New rule.
12494 (GDB_PERFTEST_MODE): New variable.
12495 (check-perf): Use it.
12496 (clean): Clean up gdb.perf parallel build subdirs.
12497 * lib/build-piece.exp: New file.
12498 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12499 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12501 (standard_temp_file): Ditto.
12502 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12505 2015-07-24 Doug Evans <dje@google.com>
12507 * gdb.perf/lib/perftest/utils.py: New file.
12508 * gdb.perf/gm-hello.cc: New file.
12509 * gdb.perf/gm-pervasive-typedef.cc: New file.
12510 * gdb.perf/gm-pervasive-typedef.h: New file.
12511 * gdb.perf/gm-std.cc: New file.
12512 * gdb.perf/gm-std.h: New file.
12513 * gdb.perf/gm-use-cerr.cc: New file.
12514 * gdb.perf/gm-utils.h: New file.
12515 * gdb.perf/gmonster-null-lookup.py: New file.
12516 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12517 * gdb.perf/gmonster-print-cerr.py: New file.
12518 * gdb.perf/gmonster-ptype-string.py: New file.
12519 * gdb.perf/gmonster-runto-main.py: New file.
12520 * gdb.perf/gmonster-select-file.py: New file.
12521 * gdb.perf/gmonster1-null-lookup.exp: New file.
12522 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12523 * gdb.perf/gmonster1-print-cerr.exp: New file.
12524 * gdb.perf/gmonster1-ptype-string.exp: New file.
12525 * gdb.perf/gmonster1-runto-main.exp: New file.
12526 * gdb.perf/gmonster1-select-file.exp: New file.
12527 * gdb.perf/gmonster1.cc: New file.
12528 * gdb.perf/gmonster1.exp: New file.
12529 * gdb.perf/gmonster2-null-lookup.exp: New file.
12530 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12531 * gdb.perf/gmonster2-print-cerr.exp: New file.
12532 * gdb.perf/gmonster2-ptype-string.exp: New file.
12533 * gdb.perf/gmonster2-runto-main.exp: New file.
12534 * gdb.perf/gmonster2-select-file.exp: New file.
12535 * gdb.perf/gmonster2.cc: New file.
12536 * gdb.perf/gmonster2.exp: New file.
12538 2015-07-24 Doug Evans <dje@google.com>
12540 * gdb.perf/README: New file.
12541 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12542 * lib/gen-perf-test.exp: New file.
12544 2015-07-24 Doug Evans <dje@google.com>
12546 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12547 (PerfTest::startup): New function.
12548 (PerfTest::run): Return result of calling body.
12549 (PerfTest::assemble): Rewrite.
12550 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12551 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12552 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12553 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12554 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12556 2015-07-24 Doug Evans <dje@google.com>
12558 * lib/gdb.exp (clean_restart): Make executable optional.
12560 2015-07-24 Doug Evans <dje@google.com>
12562 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12563 compiler_info references.
12564 * gdb.cp/temargs.exp: Ditto.
12565 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12566 (get_compiler_info): Early exit if already computed. Set compiler_info
12567 to "unknown" if there was a problem.
12568 (test_compiler_info): Add function comment. Call get_compiler_info.
12570 2015-07-24 Doug Evans <dje@google.com>
12572 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12573 (workers/%.worker, build-perf): New rule.
12574 (GDB_PERFTEST_MODE): New variable.
12575 (check-perf): Use it.
12576 (clean): Clean up gdb.perf parallel build subdirs.
12577 * lib/build-piece.exp: New file.
12578 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12579 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12581 (standard_temp_file): Ditto.
12582 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12585 2015-07-24 Doug Evans <dje@google.com>
12587 * lib/future.exp (gdb_default_target_compile): New option
12589 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12592 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12594 * gdb.base/catch-syscall.exp: Call gdb_exit before
12597 2015-07-24 Pedro Alves <palves@redhat.com>
12599 * gdb.python/py-events.exp: Accept output between the stop event
12601 * gdb.python/py-evsignal.exp: Likewise.
12602 * gdb.python/py-evthreads.exp: Likewise.
12604 2015-07-24 Pedro Alves <palves@redhat.com>
12607 * gdb.threads/non-ldr-exit.c: New file.
12608 * gdb.threads/non-ldr-exit.exp: New file.
12610 2015-07-24 Yao Qi <yao.qi@linaro.org>
12612 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12613 restarting process.
12615 2015-07-24 Yao Qi <yao.qi@linaro.org>
12617 * gdb.server/ext-restart.exp: New file.
12619 2015-07-24 Yao Qi <yao.qi@linaro.org>
12621 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12623 * gdb.server/ext-wrapper.exp: New file.
12625 2015-07-23 Doug Evans <dje@google.com>
12627 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12628 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12630 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12632 * gdb.ada/var_arr_typedef.exp: New testcase.
12633 * gdb.ada/var_arr_typedef/pack.adb: New file.
12634 * gdb.ada/var_arr_typedef/pack.ads: New file.
12635 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12637 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12639 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12641 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12643 * gdb.arch/i386-biarch-core.exp: Replace istarget
12644 by "complete set gnutarget". Remove expectation for the "core-file"
12647 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12649 Revert the previous commit:
12650 Tests for validate symbol file using build-id.
12652 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12654 Tests for validate symbol file using build-id.
12655 * gdb.base/solib-mismatch-lib.c: New file.
12656 * gdb.base/solib-mismatch-libmod.c: New file.
12657 * gdb.base/solib-mismatch.c: New file.
12658 * gdb.base/solib-mismatch.exp: New file.
12660 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12662 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12664 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12665 * gdb.base/siginfo.exp: Likewise.
12666 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12668 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12670 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12672 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12674 * gdb.trace/range-stepping.exp: Check that the target supports
12677 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12679 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12681 2015-07-14 Pedro Alves <palves@redhat.com>
12683 * gdb.base/killed-outside.exp: New file.
12684 * gdb.base/killed-outside.c: New file.
12686 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12688 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12690 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12692 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12694 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12695 infcall tests instead of setting up for KFAIL.
12697 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12699 * gdb.btrace/record_goto-step.exp: New.
12701 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12704 * gdb.compile/compile.c (struct struct_type): Add volatile to
12706 * gdb.compile/compile.exp
12707 (compile code struct_object.selffield = &struct_object): Skip further
12708 struct_object tests if this one xfails.
12710 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12713 * gdb.trace/ax.exp: Add test.
12715 2015-07-07 Yao Qi <yao.qi@linaro.org>
12717 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12718 instead of istarget "aarch64*-*-*".
12719 * gdb.arch/aarch64-fp.exp: Likewise.
12720 * gdb.base/float.exp: Likewise.
12721 * gdb.reverse/aarch64.exp: Likewise.
12722 * lib/gdb.exp (is_aarch64_target): New proc.
12724 2015-07-07 Yao Qi <yao.qi@linaro.org>
12726 * lib/gdb.exp (is_aarch32_target): New proc.
12727 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12728 instead of "istarget "arm*-*-*"".
12729 * gdb.arch/arm-disp-step.exp: Likewise.
12730 * gdb.arch/thumb-bx-pc.exp: Likewise.
12731 * gdb.arch/thumb-prologue.exp: Likewise.
12732 * gdb.arch/thumb-singlestep.exp: Likewise.
12733 * gdb.base/disp-step-syscall.exp: Likewise.
12734 * gdb.base/float.exp: Likewise.
12736 2015-07-07 Yao Qi <yao.qi@linaro.org>
12738 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12739 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12741 2015-07-07 Yao Qi <yao.qi@linaro.org>
12743 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12744 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12746 * gdb.multi/multi-arch.exp: Likewise.
12748 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12750 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12753 2015-07-07 Yao Qi <yao.qi@linaro.org>
12755 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12757 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12759 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12760 '[' and ']' characters.
12762 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12764 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12766 2015-06-29 Pedro Alves <palves@redhat.com>
12769 * gdb.threads/hand-call-new-thread.c: New file.
12770 * gdb.threads/hand-call-new-thread.c: New file.
12772 2015-06-26 Keith Seitz <keiths@redhat.com>
12773 Doug Evans <dje@google.com>
12776 * gdb.cp/var-tag-2.cc: New file.
12777 * gdb.cp/var-tag-3.cc: New file.
12778 * gdb.cp/var-tag-4.cc: New file.
12779 * gdb.cp/var-tag.cc: New file.
12780 * gdb.cp/var-tag.exp: New file.
12782 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12784 * gdb.base/history-duplicates.exp: New test.
12786 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12788 * gdb.base/completion.exp: Test the completion of the "focus"
12791 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12793 * gdb.arch/amd64-prologue-skip.S: New file.
12794 * gdb.arch/amd64-prologue-skip.exp: New file.
12796 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12798 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12799 is_address_zero_readable check.
12801 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12803 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12804 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12806 2015-06-24 Yao Qi <yao.qi@linaro.org>
12808 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12811 2015-06-24 Yao Qi <yao.qi@linaro.org>
12813 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12814 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12815 * gdb.base/siginfo-thread.exp: Likewise.
12817 2015-06-22 Yao Qi <yao.qi@linaro.org>
12819 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12821 2015-06-22 Yao Qi <yao.qi@linaro.org>
12823 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12825 (skip_hw_watchpoint_tests): Likewise.
12827 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12829 * gdb.base/gdbinit-history.exp: Test the interaction between
12830 setting GDBHISTSIZE and setting the history size via .gdbinit.
12832 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12835 * gdb.base/gdbhistsize-history.exp: New test.
12837 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12839 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12841 * gdb.base/readline.exp: Likewise.
12843 2015-06-17 Yao Qi <yao.qi@linaro.org>
12845 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12848 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12850 * gdb.base/gdbinit-history.exp: Add test case to check that
12851 an unlimited history file does not get truncated on exit.
12853 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12855 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12856 (VECTOR): New macro. Use it...
12857 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12858 ...for these typedefs.
12859 (int8, char1, int1, double1): New typedefs.
12860 (struct just_int2, struct two_int2): New structures.
12861 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12862 (add_structvecs, add_singlevecs): New functions.
12863 (main): Call add_some_intvecs twice.
12864 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12865 the compile and exit upon failure. Try compiling for the "native"
12866 architecture. Test inferior function calls with vector arguments
12867 and vector return value handling with "finish" and "return".
12869 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12871 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12872 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12874 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12876 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12878 PR breakpoints/16465
12879 * gdb.mi/mi-dprintf-pending.c: New file.
12880 * gdb.mi/mi-dprintf-pending.exp: New test.
12881 * gdb.mi/mi-dprintf-pendshr.c: New file.
12883 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12884 Mircea Gherzan <mircea.gherzan@intel.com>
12886 * gdb.arch/i386-mpx-map.c: New file.
12887 * gdb.arch/i386-mpx-map.exp: New File.
12889 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12891 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12892 * gdb.arch/i386-mpx.exp: Indentation fixed.
12894 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12896 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12897 function and improved indentation.
12898 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12899 gdb_test_multiple. Added additional tests to skip the test.
12901 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12903 * gdb.arch/i386-avx512.c: Change path in include file.
12904 * gdb.arch/i386-avx512.exp: Change include dir path
12906 * gdb.arch/i386-mpx.c: Change path in include file.
12907 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12910 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12912 * gdb.compile/compile-print.exp (compile print *vararray@3)
12913 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12915 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12917 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12918 (do not keep jit in memory): ... this.
12919 (expect 5): Change it to ...
12920 (expect no 5): ... this.
12922 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12925 * gdb.mi/mi-detach.exp: New file.
12927 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12930 * gdb.arch/amd64-tailcall-self.S: New file.
12931 * gdb.arch/amd64-tailcall-self.c: New file.
12932 * gdb.arch/amd64-tailcall-self.exp: New file.
12934 2015-05-28 Don Breazeal <donb@codesourcery.com>
12936 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12937 tests for remote targets by checking is_target_gdbserver.
12939 2015-05-27 Doug Evans <dje@google.com>
12941 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12942 * gdb.dwarf2/opaque-type-lookup.c: New file.
12943 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12945 2015-05-26 Doug Evans <dje@google.com>
12947 * gdb.cp/iostream.cc: New file.
12948 * gdb.cp/iostream.exp: New file.
12950 2015-05-26 Doug Evans <dje@google.com>
12952 * gdb.dwarf2/dw2-op-call.exp: Update.
12953 * gdb.dwarf2/dw4-sig-types.exp: Update.
12954 * gdb.dwarf2/implptr.exp: Update.
12955 * gdb.mi/mi-cmd-param-changed.exp: Update.
12957 2015-05-26 Doug Evans <dje@google.com>
12959 * gdb.python/py-lazy-string.c: New file.
12960 * gdb.python/py-lazy-string.exp: New file.
12961 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12962 (main): Update. Add estring3.
12963 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12964 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12966 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12967 Yao Qi <yao.qi@linaro.org>
12969 * gdb.reverse/aarch64.c: New.
12970 * gdb.reverse/aarch64.exp: New.
12972 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12974 * lib/gdb.exp (supports_process_record): Return true for
12976 (supports_reverse): Likewise.
12978 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12980 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12981 Use with_test_prefix.
12983 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12985 * gdb.base/completion.exp: Add test for completion of layout
12988 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12990 * lib/gdb.exp (skip_tui_tests): New proc.
12991 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12993 2015-05-19 Pedro Alves <palves@redhat.com>
12995 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12996 Save the whole env array instead of just HOME. Unset HISTSIZE in
12997 the environment while testing. Restore whole environment
13000 2015-05-16 Doug Evans <xdje42@gmail.com>
13002 * gdb.guile/scm-ports.c: New file.
13003 * gdb.guile/scm-ports.exp: Add memory port tests.
13005 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13007 * gdb.compile/compile-print.c: New file.
13008 * gdb.compile/compile-print.exp: New file.
13010 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13012 * gdb.compile/compile-ops.exp: Cast param to void.
13013 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13014 (compile code struct_object.selffield = &struct_object): Add xfail.
13016 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13018 * gdb.ada/arr_enum_with_gap: New testcase.
13020 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13022 * gdb.ada/byte_packed_arr: New testcase.
13024 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13026 * gdb.ada/pckd_neg: New testcase.
13028 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13031 * gdb.base/gdbinit-history.exp: New test.
13032 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13033 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13035 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13037 * gdb.python/py-xmethods.cc: Enhance test case.
13038 * gdb.python/py-xmethods.exp: New tests.
13039 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13041 (B_indexoper): Likewise.
13042 (global_dm_list) : Add new xmethod worker functions.
13044 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13046 * gdb.base/coredump-filter.exp: Correctly unset
13047 "coredump_var_addr" array.
13049 2015-05-08 Pedro Alves <palves@redhat.com>
13051 * gdb.server/non-existing-program.exp: Unset spawn_id.
13053 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13056 * gdb.python/py-xmethods.exp: Add tests.
13058 2015-05-08 Yao Qi <yao.qi@linaro.org>
13061 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13062 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13063 function set_coredump_filter, and remove remote_exec call.
13064 Remove argument ipid. Callers update.
13065 (top level): Don't get inferior's PID.
13067 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13069 * gdb.base/watch_thread_num.exp: Skip test on targets without
13070 access watchpoints.
13072 2015-05-06 Pedro Alves <palves@redhat.com>
13075 * gdb.server/non-existing-program.exp: New file.
13077 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13079 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13081 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13083 * gdb.ada/out_of_line_in_inlined: New testcase.
13085 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13087 * gdb.ada/var_rec_arr: New testcase.
13089 2015-04-30 Yao Qi <yao.qi@linaro.org>
13091 * gdb.base/break-idempotent.exp: If
13092 skip_hw_watchpoint_multi_tests returns true, skip the tests
13093 on "rwatch" and "awatch".
13095 2015-04-30 Yao Qi <yao.qi@linaro.org>
13097 * gdb.base/relativedebug.exp: Invoke gdb command
13098 "info sharedlibrary", and if libc.so doesn't have debug info,
13101 2015-04-29 Doug Evans <dje@google.com>
13103 * gdb.python/py-xmethods.exp: Add ptype tests.
13104 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13105 get_result_type method.
13107 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13109 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13110 the target does not support hardware watchpoints.
13112 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13114 * gdb.base/break-always.exp: Abort testing if writing to memory
13117 2015-04-28 Doug Evans <dje@google.com>
13119 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13120 * gdb.python/py-pp-registration.exp: ... here. New file.
13121 * gdb.python/py-pp-registration.c: New file.
13122 * gdb.python/py-pp-registration.py: New file.
13124 2015-04-28 Doug Evans <dje@google.com>
13126 * gdb.python/py-bad-printers.c: New file.
13127 * gdb.python/py-bad-printers.py: New file.
13128 * gdb.python/py-bad-printers.exp: New file.
13130 2015-04-28 Sasha Smundak <asmundak@google.com>
13132 * gdb.python/py-type.exp: New test.
13134 2015-04-28 Andy Wingo <wingo@igalia.com>
13136 * gdb.python/py-parameter.exp:
13137 * gdb.guile/scm-parameter.exp: Escape the path that we are
13138 matching against, as it might contain characters that are special
13139 to regular expressions.
13141 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13143 * gdb.ada/rec_comp: New testcase.
13145 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13147 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13150 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13152 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13153 new tests for verilog output.
13155 2015-04-24 Yao Qi <yao.qi@linaro.org>
13157 * boards/remote-gdbserver-on-localhost.exp: New file.
13159 2015-04-23 Pedro Alves <palves@redhat.com>
13161 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13162 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13163 "end of file", remove $inferior_spawn_id from the indirect list.
13165 2015-04-23 Pedro Alves <palves@redhat.com>
13167 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13169 2015-04-23 Pedro Alves <palves@redhat.com>
13171 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13172 on $any_spawn_id instead of only on $gdb_spawn_id.
13174 2015-04-21 Pierre Muller <muller@sourceware.org>
13177 * lib/pascal.exp (gpc_compile): Add new option "class".
13178 (fpc_compile): Likewise.
13179 * gdb.pascal/case-insensitive-symbols.pas: New file.
13180 * gdb.pascal/case-insensitive-symbols.exp: New file.
13182 2015-04-20 Gary Benson <gbenson@redhat.com>
13184 * gdb.base/attach.exp: Fix three extended remote failures.
13186 2015-04-17 Gary Benson <gbenson@redhat.com>
13188 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13189 the main executable over the remote protocol.
13191 2015-04-16 Pedro Alves <palves@redhat.com>
13193 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13194 a new gdbserver if gdbserver_reconnect_p is set.
13196 2015-04-16 Pedro Alves <palves@redhat.com>
13198 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13199 is set, don't exit gdbserver.
13201 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13203 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13204 appropriate .insn, such that an older assembler can be used.
13205 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13206 the z/Architecture instruction set on 31-bit targets as well.
13208 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13210 * gdb.go/handcall.exp: Remove all logic related to the first
13211 breakpoint and rely on go_runto_main instead.
13212 * gdb.go/strings.exp: Likewise.
13213 * gdb.go/unsafe.exp: Likewise.
13214 * gdb.go/hello.exp: Likewise. Also rename the remaining
13215 breakpoint marker to "breakpoint 1".
13216 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13217 * gdb.go/strings.go: Likewise.
13218 * gdb.go/unsafe.go: Likewise.
13219 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13220 "set breakpoint 2 here" and rename the remaining breakpoint marker
13223 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13225 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13226 if itertools.imap is not present.
13227 * gdb.python/py-objfile.exp: Add parentheses.
13228 * gdb.python/py-type.exp: Same.
13229 * gdb.python/py-unwind-maint.py: Same.
13231 2015-04-15 Yao Qi <yao.qi@linaro.org>
13233 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13234 of ":$ptr_size" and set its form explicitly.
13236 2015-04-15 Pedro Alves <palves@redhat.com>
13237 Yao Qi <yao.qi@linaro.org>
13239 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13240 timeout by factor of 4.
13241 (test_regular_watch): Likewise.
13242 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13243 * gdb.reverse/sigall-reverse.exp: Likewise.
13244 * gdb.reverse/until-precsave.exp: Likewise.
13245 * lib/gdb.exp (with_timeout_factor): New proc.
13246 (gdb_expect): Move some code to ...
13247 (get_largest_timeout): ... here. New procedure.
13249 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13251 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13253 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13255 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13256 to write to the .text section.
13258 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13260 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13261 Handle the case of targets that do not provide PID information.
13263 2015-04-13 Yao Qi <yao.qi@linaro.org>
13265 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13266 and use expect instead of gdb_expect.
13268 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13270 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13271 "coredump_var_addr" to avoid naming conflict with other testcases.
13273 2015-04-10 Pedro Alves <palves@redhat.com>
13275 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13276 gdb_test_sequence and gdb_assert.
13278 2015-04-10 Pedro Alves <palves@redhat.com>
13280 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13281 test messages that don't include the breakpoint address.
13283 2015-04-10 Yao Qi <yao.qi@linaro.org>
13285 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13286 false for some offset and width combinations which aren't
13287 supported by linux kernel.
13289 2015-04-10 Pedro Alves <palves@redhat.com>
13291 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13292 procedure, factored out from ...
13293 (top level): ... here. Add "set displaced-stepping" testing axis.
13294 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13295 parameter "displaced". Use it.
13296 (top level): Use foreach and add "set displaced-stepping" testing
13299 2015-04-10 Pedro Alves <palves@redhat.com>
13301 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13303 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13304 both the address of the instruction that triggers the watchpoint
13305 and the address of the instruction immediately after, and use
13306 those addresses for the test. Fix comment.
13308 2015-04-10 Pedro Alves <palves@redhat.com>
13310 * gdb.base/sigstep.exp (breakpoint_to_handler)
13311 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13312 Test "backtrace" in handler.
13313 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13314 (top level): Add new "displaced" test axis to
13315 breakpoint_to_handler, breakpoint_to_handler_entry and
13316 breakpoint_over_handler.
13318 2015-04-10 Pedro Alves <palves@redhat.com>
13321 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13323 2015-04-10 Yao Qi <yao.qi@linaro.org>
13325 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13326 (test_add_rn_pc): New function.
13327 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13328 (top level): Invoke test_add_rn_pc.
13330 2015-04-10 Pedro Alves <palves@redhat.com>
13333 * gdb.base/step-over-no-symbols.exp: New file.
13335 2015-04-09 Andy Wingo <wingo@igalia.com>
13337 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13338 after the Python tests.
13340 2015-04-08 Keith Seitz <keiths@redhat.com>
13343 * gdb.python/py-completion.exp: New tests for completion.
13344 * gdb.python/py-completion.py (CompleteLimit1): New class.
13345 (CompleteLimit2): Likewise.
13346 (CompleteLimit3): Likewise.
13347 (CompleteLimit4): Likewise.
13348 (CompleteLimit5): Likewise.
13349 (CompleteLimit6): Likewise.
13350 (CompleteLimit7): Likewise.
13352 2015-04-08 Pedro Alves <palves@redhat.com>
13356 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13358 (main): Install it as SIGUSR1 handler.
13359 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13360 parameter. Always use "setup" as prefix. Toggle "set
13361 displaced-stepping" off/on depending on global. Don't switch to
13363 (top level): Add displaced stepping "off/on" test axis. Update
13364 "setup" calls. Wrap each subtest with with_test_prefix. Test
13365 continuing with a queued signal in each thread.
13367 2015-04-08 Pedro Alves <palves@redhat.com>
13369 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13370 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13371 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13372 Return early if running to main fails.
13373 * gdb.trace/while-stepping.exp: Likewise.
13375 2015-04-07 Pedro Alves <palves@redhat.com>
13377 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13378 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13379 interact with inferior program.
13381 2015-04-07 Pedro Alves <palves@redhat.com>
13383 * lib/gdb.exp (inferior_spawn_id): New global.
13384 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13385 spawn id after processing the user code.
13386 (default_gdb_start): Set inferior_spawn_id.
13387 (send_inferior): New procedure.
13388 * lib/gdbserver-support.exp (gdbserver_start): Set
13390 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13392 2015-04-07 Pedro Alves <palves@redhat.com>
13394 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13395 * lib/gdbserver-support.exp (gdbserver_start): Make
13396 $server_spawn_id global.
13397 (gdbserver_start): Don't wait for gdbserver's spawn id with
13399 (close_gdbserver): New procedure.
13400 (gdb_exit): Rename the default version and reimplement.
13402 2015-04-07 Pedro Alves <palves@redhat.com>
13404 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13405 append the substituted item, not the original item.
13407 2015-04-07 Pedro Alves <palves@redhat.com>
13409 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13412 2015-04-07 Pedro Alves <palves@redhat.com>
13414 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13415 output appearing once only.
13417 2015-04-07 Pedro Alves <palves@redhat.com>
13419 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13420 that doesn't expect anything. Return early if running to main
13423 2015-04-07 Yao Qi <yao.qi@linaro.org>
13425 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13426 (child_function): Call alarm.
13427 (main): Move call to alarm into the loop.
13428 * gdb.threads/non-stop-fair-events.exp: Build program with
13429 -DTIMEOUT=$timeout.
13431 2015-04-06 Doug Evans <xdje42@gmail.com>
13433 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13434 Fix dest parameter to board_info.
13435 (fpc_compile): Ditto.
13436 (gdb_compile_pascal): Rename dest arg to destfile.
13438 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13440 * gdb.ada/funcall_ref.exp: New file.
13441 * gdb.ada/funcall_ref/foo.adb: New file.
13443 2015-04-02 Yao Qi <yao.qi@linaro.org>
13445 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13448 2015-04-02 Gary Benson <gbenson@redhat.com>
13450 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13452 2015-04-01 Sasha Smundak <asmundak@google.com>
13454 * gdb.python/py-unwind-maint.c: New file.
13455 * gdb.python/py-unwind-maint.exp: New test.
13456 * gdb.python/py-unwind-maint.py: New file.
13457 * gdb.python/py-unwind.c: New file.
13458 * gdb.python/py-unwind.exp: New test.
13459 * gdb.python/py-unwind.py: New test.
13461 2015-04-01 Pedro Alves <palves@redhat.com>
13463 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13464 to fail instead of non-existent $test.
13466 2015-04-01 Pedro Alves <palves@redhat.com>
13468 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13469 GDBFLAGS if not empty.
13471 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13473 * gdb.ada/complete.exp: Remove "multi_line".
13474 * gdb.ada/info_exc.exp: Remove "multi_line".
13475 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13476 * gdb.ada/ptype_field.exp: Remove "multi_line".
13477 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13478 * gdb.ada/tagged.exp: Remove "multi_line".
13479 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13481 * gdb.btrace/delta.exp: Likewise.
13482 * gdb.btrace/exception.exp: Likewise.
13483 * gdb.btrace/function_call_history.exp: Likewise.
13484 * gdb.btrace/instruction_history.exp: Likewise.
13485 * gdb.btrace/nohist.exp: Likewise.
13486 * gdb.btrace/record_goto.exp: Likewise.
13487 * gdb.btrace/segv.exp: Likewise.
13488 * gdb.btrace/stepi.exp: Likewise.
13489 * gdb.btrace/tailcall.exp: Likewise.
13490 * gdb.btrace/unknown_functions.exp: Likewise.
13491 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13492 * lib/gdb.exp: Add the "multi_line" helper.
13494 2015-04-01 Pedro Alves <palves@redhat.com>
13496 * gdb.threads/tid-reuse.c: New file.
13497 * gdb.threads/tid-reuse.exp: New file.
13499 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13502 * gdb.base/coredump-filter.c: New file.
13503 * gdb.base/coredump-filter.exp: Likewise.
13505 2015-03-27 Petr Machata <pmachata@redhat.com>
13507 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13508 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13509 (Dwarf::assemble): Initialize them.
13510 (Dwarf::lines): New function.
13512 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13514 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13515 SYMBOL_PREFIX for x86_64-*-cygwin.
13517 2015-03-26 Andy Wingo <wingo@igalia.com>
13520 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13521 const_value but not a location.
13522 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13523 location defined in non-main CUs are visible.
13525 2015-03-26 Yao Qi <yao.qi@linaro.org>
13528 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13529 Add a line number entry for the same line.
13530 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13531 Add a line number entry for the same line.
13533 2015-03-26 Yao Qi <yao.qi@linaro.org>
13535 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13537 (func): Likewise. Add .Lfunc_1 label.
13538 Use .Lfunc_1 label.
13539 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13542 Use .Lfunc_1 label.
13544 2015-03-26 Yao Qi <yao.qi@linaro.org>
13546 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13547 Call gdb_compile instead to compile each .s files without debug
13550 2015-03-26 Yao Qi <yao.qi@linaro.org>
13552 * gdb.base/savedregs.exp (process_saved_regs): Make
13553 "Saved registers:" optional in the pattern.
13555 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13557 * gdb.btrace/next.exp: Merged into step.exp.
13558 * gdb.btrace/finish.exp: Merged into step.exp.
13559 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13560 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13561 "record goto" and checking the exact replay position.
13562 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13563 check for "Recording format" in "info record" output.
13564 * gdb.btrace/record_goto.exp: Choose test file based on target.
13565 * gdb.btrace/x86-record_goto.S: Renamed into ...
13566 * gdb.btrace/x86_64-record_goto.S: ... this.
13567 * gdb.btrace/i686-record_goto.S: New.
13568 * gdb.btrace/x86-tailcall.S: Renamed into ...
13569 * gdb.btrace/x86_64-tailcall.S: ... this.
13570 * gdb.btrace/i686-tailcall.S: New.
13571 * gdb.btrace/x86-tailcall.c: Renamed into ...
13572 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13573 separate statements. Update test.
13574 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13575 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13576 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13577 * gdb.btrace/tailcall.exp: Choose test file based on target.
13578 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13580 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13582 * gdb.btrace/exception.exp: Increase BTS buffer size.
13584 2015-03-24 Pedro Alves <palves@redhat.com>
13586 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13588 2015-03-24 Pedro Alves <palves@redhat.com>
13590 * gdb.threads/schedlock.exp (test_step): No longer expect that
13591 "set scheduler-locking step" with "next" over a function call runs
13594 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13596 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13598 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13600 PR breakpoints/16466
13601 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13602 * gdb.mi/mi-pending.c (thread_func): New function.
13603 (int main): Add threading support required.
13604 * gdb.mi/mi-pending.exp: Add tests for this issue.
13605 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13606 (pendfunc2): Remove stdio dependency.
13607 * gdb.mi/mi-pendshr2.c: New file.
13609 2015-03-23 Keith Seitz <keiths@redhat.com>
13611 * gdb.linespec/keywords.c: New file.
13612 * gdb.linespec/keywords.exp: New file.
13614 2015-03-23 Keith Seitz <keiths@redhat.com>
13617 * gdb.dwarf2/staticvirtual.exp: New test.
13619 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13621 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13622 * README: Remove HP-UX and gdb.hp.
13624 * configure: Regenerate.
13625 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13626 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13627 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13628 gdb.hp/gdb.defects/Makefile.
13629 * gdb.hp/Makefile.in: File deleted.
13630 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13631 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13632 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13633 * gdb.hp/gdb.aCC/run.c: File deleted.
13634 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13635 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13636 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13637 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13638 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13639 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13640 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13641 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13642 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13643 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13644 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13645 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13646 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13647 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13648 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13649 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13650 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13651 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13652 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13653 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13654 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13655 * gdb.hp/gdb.compat/average.c: File deleted.
13656 * gdb.hp/gdb.compat/sum.c: File deleted.
13657 * gdb.hp/gdb.compat/xdb.c: File deleted.
13658 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13659 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13660 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13661 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13662 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13663 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13664 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13665 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13666 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13667 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13668 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13669 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13670 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13671 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13672 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13673 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13674 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13675 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13676 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13677 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13678 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13679 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13680 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13681 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13682 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13683 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13684 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13685 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13686 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13687 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13688 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13689 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13690 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13691 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13692 * gdb.hp/tools/odump: File deleted.
13694 2015-03-19 Pedro Alves <palves@redhat.com>
13696 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13697 (saw_thread_3): New globals.
13698 (top level): Increment them when an event for the corresponding
13700 (no thread starvation): New test.
13702 2015-03-19 Pedro Alves <palves@redhat.com>
13704 * gdb.threads/continue-pending-status.c: New file.
13705 * gdb.threads/continue-pending-status.exp: New file.
13707 2015-03-18 Pedro Alves <palves@redhat.com>
13709 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13710 Use gdb_is_target_remote instead of is_remote. Use
13711 gdb_test_multiple instead of gdb_expect. Exit early if
13712 gdb_test_multiple hits its internal matches. Tighten stepi tests
13713 expected output. Fail on exit with any signal, instead of just
13716 2015-03-18 Yao Qi <yao.qi@linaro.org>
13719 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13721 * gdb.base/catch-syscall.exp: Don't skip it on
13722 aarch64*-*-linux* target. Remove elements in all_syscalls.
13723 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13725 (setup_all_syscalls): New proc.
13727 2015-03-16 Yao Qi <yao.qi@linaro.org>
13729 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13730 (top level): Skip tests if valid_addr_p returns false for
13733 2015-03-11 Andy Wingo <wingo@igalia.com>
13735 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13737 2015-03-11 Yao Qi <yao.qi@linaro.org>
13739 * gdb.base/catch-syscall.exp: Fix typo in comments.
13741 2015-03-11 Yao Qi <yao.qi@linaro.org>
13743 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13745 2015-03-09 Pedro Alves <palves@redhat.com>
13747 * dg-extract-results.py: Delete.
13749 2015-03-09 Pedro Alves <palves@redhat.com>
13751 Merge dg-extract-results.sh from GCC upstream (r218843).
13753 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13754 * dg-extract-results.sh: Use --text with grep to avoid issues with
13755 binary files. Fall back to cat -v, if that doesn't work.
13757 2015-03-05 Pedro Alves <palves@redhat.com>
13759 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13761 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13763 * lib/mi-support.exp (mi_expect_interrupt): Accept
13764 alternative event for when in all-stop mode.
13766 2015-03-04 Pedro Alves <palves@redhat.com>
13768 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13770 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13772 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13774 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13776 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13777 regexps for GDB's current line display, accept a hex address
13778 preceding the line number.
13780 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13782 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13783 the 'arch1' variable for "s390*-linux*" targets.
13785 2015-03-04 Pedro Alves <palves@redhat.com>
13787 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13788 (main): Pass missing retval argument to pthread_join call.
13790 2015-03-02 Pedro Alves <palves@redhat.com>
13792 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13793 (top level): Call do_test with non-stop as well.
13795 2015-03-02 Pedro Alves <palves@redhat.com>
13797 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13800 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13802 * gdb.arch/s390-vregs.exp: New test.
13803 * gdb.arch/s390-vregs.S: New file.
13805 2015-02-27 Pedro Alves <palves@redhat.com>
13807 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13808 call to catch_command_errors.
13809 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13810 catch_command_errors.
13812 2015-02-27 Pedro Alves <palves@redhat.com>
13814 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13815 "true" for boolean result.
13816 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13819 2015-02-27 Pedro Alves <palves@redhat.com>
13821 * lib/unbuffer_output.c: New file.
13822 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13823 (main): Call gdb_unbuffer_output.
13825 2015-02-27 Yao Qi <yao.qi@linaro.org>
13827 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13830 2015-02-26 Doug Evans <dje@google.com>
13832 * gdb.cp/class2.cc (Dbase, D): New classes.
13833 (main): New local delta.
13834 * gdb.cp/class2.exp: Test printing delta.
13835 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13836 (dynbar): New global.
13837 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13839 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13841 * gdb.compile/compile-ifunc.c: New file.
13842 * gdb.compile/compile-ifunc.exp: New file.
13844 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13846 * gdb.base/structs.exp: Check for correct struct on finish.
13848 2015-02-26 Yao Qi <yao.qi@linaro.org>
13850 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13853 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13855 * gdb.arch/cordic.ko.bz2: New file.
13856 * gdb.arch/cordic.ko.debug.bz2: New file.
13857 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13859 2015-02-25 Yao Qi <yao.qi@linaro.org>
13861 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13862 aarch64*-*-* target.
13864 2015-02-23 Pedro Alves <palves@redhat.com>
13866 * lib/gdb.exp (delete_breakpoints): Rewrite using
13869 2015-02-23 Pedro Alves <palves@redhat.com>
13871 * gdb.base/info-os.c: Include stdlib.h.
13873 2015-02-22 Doug Evans <xdje42@gmail.com>
13876 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13877 is read after symbols have been re-read.
13878 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13879 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13881 2015-02-21 Doug Evans <dje@google.com>
13883 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13885 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13888 * gdb.arch/i386-biarch-core.core.bz2: New file.
13889 * gdb.arch/i386-biarch-core.exp: New file.
13891 2015-02-21 Pedro Alves <palves@redhat.com>
13893 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13896 2015-02-20 Pedro Alves <palves@redhat.com>
13898 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13901 2015-02-20 Pedro Alves <palves@redhat.com>
13903 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13905 2015-02-20 Pedro Alves <palves@redhat.com>
13907 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13908 clean_restart before gdb_target_supports_trace.
13910 2015-02-20 Pedro Alves <palves@redhat.com>
13913 * gdb.threads/clone-thread_db.c: New file.
13914 * gdb.threads/clone-thread_db.exp: New file.
13916 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13918 PR breakpoints/16812
13919 * gdb.base/catch-gdb-caused-signals.c: New file.
13920 * gdb.base/catch-gdb-caused-signals.exp: New file.
13922 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13924 * configure: Regenerated.
13925 * configure.ac: Use GDB_AC_TRANSFORM.
13926 * aclocal.m4: sinclude ../transform.m4.
13928 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13930 * lib/dtrace.exp: New file.
13931 * gdb.base/dtrace-probe.exp: Likewise.
13932 * gdb.base/dtrace-probe.d: Likewise.
13933 * gdb.base/dtrace-probe.c: Likewise.
13934 * lib/pdtrace.in: Likewise.
13935 * configure.ac: Output variables with the transformed names of
13936 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13937 * configure: Regenerated.
13939 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13941 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13942 expected message when trying to access $_probe_* convenience
13943 variables while not on a probe.
13945 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13947 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13949 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13951 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13952 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13954 2015-02-10 Doug Evans <xdje42@gmail.com>
13956 * lib/gdb.exp (gdb_load): Always return a result.
13958 2015-02-10 Pedro Alves <palves@redhat.com>
13960 * gdb.threads/signal-sigtrap.c: New file.
13961 * gdb.threads/signal-sigtrap.exp: New file.
13963 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13965 * gdb.trace/no-attach-trace.c: New file.
13966 * gdb.trace/no-attach-trace.exp: New file.
13968 2015-02-09 Mark Wielaard <mjw@redhat.com>
13970 * gdb.dwarf2/atomic.c: New file.
13971 * gdb.dwarf2/atomic-type.exp: Likewise.
13973 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13975 * gdb.btrace/buffer-size.exp: Update "info record" output.
13976 * gdb.btrace/delta.exp: Update "info record" output.
13977 * gdb.btrace/enable.exp: Update "info record" output.
13978 * gdb.btrace/finish.exp: Update "info record" output.
13979 * gdb.btrace/instruction_history.exp: Update "info record" output.
13980 * gdb.btrace/next.exp: Update "info record" output.
13981 * gdb.btrace/nexti.exp: Update "info record" output.
13982 * gdb.btrace/step.exp: Update "info record" output.
13983 * gdb.btrace/stepi.exp: Update "info record" output.
13984 * gdb.btrace/nohist.exp: Update "info record" output.
13986 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13988 * gdb.btrace/buffer-size: New.
13990 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13992 * gdb.btrace/delta.exp: Update "info record" output.
13993 * gdb.btrace/enable.exp: Update "info record" output.
13994 * gdb.btrace/finish.exp: Update "info record" output.
13995 * gdb.btrace/instruction_history.exp: Update "info record" output.
13996 * gdb.btrace/next.exp: Update "info record" output.
13997 * gdb.btrace/nexti.exp: Update "info record" output.
13998 * gdb.btrace/step.exp: Update "info record" output.
13999 * gdb.btrace/stepi.exp: Update "info record" output.
14000 * gdb.btrace/nohist.exp: Update "info record" output.
14002 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14005 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14007 2015-02-06 Pedro Alves <palves@redhat.com>
14009 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14011 (seconds_left, again): New globals.
14012 (main): Wait seconds_left in a 1-second sleep loop instead of
14013 sleeping 180 seconds. If 'again' is set, reset the seconds
14015 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14016 'again' in the inferior before detaching. Print the seconds left.
14017 (options): New global.
14018 (top level): Build program with -DTIMEOUT=$timeout.
14020 2015-02-06 Pedro Alves <palves@redhat.com>
14022 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14023 determine how many seconds to pass to 'alarm'.
14024 * gdb.base/gdb-sigterm.exp (top level): Build program with
14025 -DTIMEOUT=$timeout.
14026 (do_test): Return success/failure indication. Add more verbose
14027 logging. Don't fail if 200 single steps are seen. Instead, fail
14028 when the test times out.
14029 (passes): New global.
14030 (top level): Break the testing loop if testing fails on any
14031 iteration. Use gdb_assert.
14033 2015-02-04 Don Breazeal <donb@codesourcery.com>
14035 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14036 and initialize them.
14037 (ipc_cleanup): New function.
14038 (main): Don't declare shmid, semid, and msqid. Add a call to
14039 atexit so that we call ipc_cleanup on exit.
14041 2015-02-04 Pedro Alves <palves@redhat.com>
14043 * boards/native-extended-gdbserver.exp: Remove any target variant
14044 specifications from the board name before clearing the isremote
14045 flag from board_info.
14047 2015-01-31 Doug Evans <xdje42@gmail.com>
14049 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14051 2015-01-31 Gary Benson <gbenson@redhat.com>
14053 * gdb.base/completion.exp: Disable completion limiting for
14054 existing tests. Add new tests to check completion limiting.
14055 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14057 2015-01-31 Doug Evans <xdje42@gmail.com>
14059 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14061 2015-01-31 Doug Evans <xdje42@gmail.com>
14063 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14064 entries. Duplicate file section script entries.
14065 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14066 inlined entries. Add test for safe-path rejection.
14067 * gdb.python/py-section-script.c: Add duplicate inlined section script
14068 entries. Duplicate file section script entries.
14069 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14070 inlined entries. Add test for safe-path rejection.
14072 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14074 * gdb.ada/disc_arr_bound: New testcase.
14076 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14078 * gdb.ada/mi_var_array: New testcase.
14080 2015-01-27 Doug Evans <dje@google.com>
14082 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14083 Add test for objfile.filename, objfile.username after objfile
14086 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14088 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14089 the second test to print the name attribute of value
14090 returned by the call to gdb.lookup_type, and adjust
14091 the expected output accordingly.
14093 2015-01-25 Mark Wielaard <mjw@redhat.com>
14095 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14096 * gdb.base/disp-step-fork.c: Include unistd.h.
14097 * gdb.base/siginfo-obj.c: Include stdio.h.
14098 * gdb.base/siginfo-thread.c: Likewise.
14099 * gdb.mi/non-stop.c: Include unistd.h.
14100 * gdb.mi/nsthrexec.c: Include stdio.h.
14101 * gdb.mi/pthreads.c: Include unistd.h.
14102 * gdb.modula2/unbounded1.c (main): Declare returns int.
14103 * gdb.reverse/consecutive-reverse.c: Likewise.
14104 * gdb.threads/create-fail.c: Include unistd.h.
14105 * gdb.threads/killed.c: Likewise.
14106 * gdb.threads/linux-dp.c: Likewise.
14107 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14108 * gdb.threads/non-ldr-exc-2.c: Likewise.
14109 * gdb.threads/non-ldr-exc-3.c: Likewise.
14110 * gdb.threads/non-ldr-exc-4.c: Likewise.
14111 * gdb.threads/pthreads.c: Include unistd.h.
14112 (main): Declare returns int.
14113 * gdb.threads/tls-main.c (foo): New declaration.
14114 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14116 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14118 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14119 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14121 2015-01-15 Mark Wielaard <mjw@redhat.com>
14123 * gdb.base/noreturn-return.c: New file.
14124 * gdb.base/noreturn-return.exp: New file.
14125 * gdb.base/noreturn-finish.c: New file.
14126 * gdb.base/noreturn-finish.exp: New file.
14128 2015-01-23 Pedro Alves <palves@redhat.com>
14130 * gdb.threads/continue-pending-after-query.c: New file.
14131 * gdb.threads/continue-pending-after-query.exp: New file.
14133 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14134 Simon Marchi <simon.marchi@ericsson.com>
14136 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14137 * gdb.base/valgrind-db-attach.exp: Same.
14138 * gdb.base/valgrind-infcall.exp: Same.
14139 * lib/mi-support.exp (default_mi_gdb_start): Same.
14140 * lib/prompt.exp (default_prompt_gdb_start): Same.
14141 * lib/gdb.exp (default_gdb_spawn): Same.
14142 (gdb_interact): New.
14145 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14147 * gdb.compile/compile.exp (pointer to jit function): New test.
14149 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14151 * lib/gdb.exp (supports_process_record): Return true for
14153 (supports_reverse): Likewise.
14155 2015-01-15 Don Breazeal <donb@codesourcery.com>
14157 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14158 instead of checking whether the target board is remote and
14159 use spawn_wait_for_attach instead of exec/sleep.
14160 * gdb.base/attach-twice.exp: Likewise.
14162 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14164 * gdb.ada/var_arr_attrs: New testcase.
14166 2015-01-14 Pedro Alves <palves@redhat.com>
14167 Joel Brobecker <brobecker@adacore.com>
14170 * gdb.base/bp-cmds-execution-x-script.c: New file.
14171 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14172 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14174 2015-01-14 Pedro Alves <palves@redhat.com>
14177 * gdb.base/batch-preserve-term-settings.c: New file.
14178 * gdb.base/batch-preserve-term-settings.exp: New file.
14180 2015-01-13 Doug Evans <dje@google.com>
14182 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14185 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14187 * Makefile.in (clean mostlyclean): Do not delete *.py.
14189 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14191 * gdb.python/py-lookup-type.exp: New file.
14193 2015-01-12 Pedro Alves <palves@redhat.com>
14195 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14196 restore GDBFLAGS before returning.
14198 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14200 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14201 is_amd64_regs_target and is_x86_like_target.
14203 2015-01-11 Doug Evans <xdje42@gmail.com>
14205 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14206 is given without an explicit form.
14207 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14209 * gdb.dwarf/corrupt.exp: Ditto.
14210 * gdb.dwarf2/enum-type.exp: Ditto.
14211 * gdb.trace/entry-values.exp: Ditto.
14212 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14214 2015-01-11 Doug Evans <xdje42@gmail.com>
14217 * gdb.base/maint.exp: Remove references to "maint demangle".
14218 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14219 Add tests for explicitly specifying language to demangle.
14220 * gdb.dlang/demangle.exp: Ditto.
14222 2015-01-09 Pedro Alves <palves@redhat.com>
14224 * gdb.threads/non-stop-fair-events.c: New file.
14225 * gdb.threads/non-stop-fair-events.exp: New file.
14227 2015-01-09 Pedro Alves <palves@redhat.com>
14229 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14230 the global scope. Set a breakpoint after all threads are started
14231 rather than stepping over two source lines. Expect the prompt.
14232 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14235 (main): Use threads_started_barrier to wait for all threads to
14236 start. Main thread no longer calls thread_function. Exit after
14238 (loop): New function.
14239 (thread_function): Wait on threads_started_barrier barrier. Call
14240 'loop' at each iteration.
14241 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14242 threads have started, instead of hardcoding number of "next"
14243 steps. Use an access watchpoint instead of a write watchpoint.
14245 2015-01-09 Pedro Alves <palves@redhat.com>
14247 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14248 (thread_func): Wait on barrier.
14249 (main): Wait for all threads to start before stopping GDB.
14250 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14252 (thread1_func, thread2_func): Wait on barrier.
14253 (main): Wait for all threads to start before stopping GDB.
14254 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14256 (thread1_func, thread2_func): Wait on barrier.
14257 (main): Wait for all threads to start before stopping GDB.
14259 2015-01-09 Pedro Alves <palves@redhat.com>
14261 * gdb.threads/attach-many-short-lived-threads.c: New file.
14262 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14264 2014-01-09 Pedro Alves <palves@redhat.com>
14266 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14267 instead of to thread 2.
14268 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14269 Add barrier around each pthread_create call instead of around all
14271 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14272 Set a break on thread_function and have the child threads hit it
14275 2015-01-09 Pedro Alves <palves@redhat.com>
14277 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14278 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14280 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14281 checking whether the target board is remote.
14282 * gdb.multi/multi-attach.exp: Likewise.
14283 * gdb.python/py-sync-interp.exp: Likewise.
14284 * gdb.server/ext-attach.exp: Likewise.
14285 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14286 tests that need to attach, instead of checking whether the target
14287 board is remote at the top of the file.
14289 2015-01-08 Yao Qi <yao@codesourcery.com>
14291 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14293 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14295 Fix testcase compilation.
14296 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14298 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14300 * gdb.python/py-type.exp: Add a couple test about empty
14301 array creation, and negative-length array creation.
14303 2015-01-02 Doug Evans <xdje42@gmail.com>
14305 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14307 2015-01-02 Doug Evans <dje@google.com>
14309 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14311 2014-12-29 Yao Qi <yao@codesourcery.com>
14313 * gdb.trace/entry-values.exp: Update comments. Rename variable
14314 bar_call_foo to returned_from_foo.
14316 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14319 * gdb.linespec/break-asm-file.c: New file.
14320 * gdb.linespec/break-asm-file.exp: New file.
14321 * gdb.linespec/break-asm-file0.s: New file.
14322 * gdb.linespec/break-asm-file1.s: New file.
14324 2014-12-18 Nigel Stephens <nigel@mips.com>
14325 Maciej W. Rozycki <macro@codesourcery.com>
14327 * gdb.base/float.exp: Handle the new output from "info float" on
14330 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14332 Fix MinGW compilation.
14333 * gdb.compile/compile-ops.exp: Update untested message if
14334 !skip_compile_feature_tests.
14335 * gdb.compile/compile-setjmp.exp: Likewise.
14336 * gdb.compile/compile-tls.exp: Likewise.
14337 * gdb.compile/compile.exp: Likewise.
14338 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14339 supported on this host".
14341 2014-12-16 Doug Evans <xdje42@gmail.com>
14343 * boards/stabs.exp: New file.
14345 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14347 * gdb.base/completion.exp: Adjust to format changes of "maint
14348 print user-registers".
14350 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14353 * gdb.arch/aarch64-fp.c: New file.
14354 * gdb.arch/aarch64-fp.exp: New file.
14356 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14358 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14359 r210637, r210913, r211666, r215400, r215817).
14361 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14362 * dg-extract-results.py: New file.
14363 * dg-extract-results.sh: Use it if the environment seems
14366 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14368 * dg-extract-results.py (parse_run): Handle warnings that
14369 are printed before a test harness is run.
14371 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14373 * dg-extract-results.py (Named): Remove __cmp__ method.
14374 (output_variation): Use a key to sort variation.harnesses.
14376 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14378 * dg-extract-results.py: For Python 3, force sys.stdout to
14379 handle surrogate escape sequences.
14380 (safe_open): New function.
14381 (output_segment, main): Use it.
14383 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14385 * dg-extract-results.py (Prog.result_re): Include options
14388 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14390 * dg-extract-results.py (output_variation): Always sort if
14393 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14395 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14396 as long as we get pagination notifications.
14398 2014-12-15 Jason Merrill <jason@redhat.com>
14400 * Makefile.in (check-gdb.%): Restore.
14401 * README: Mention it.
14403 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14405 * gdb.ada/str_uninit: New testcase.
14407 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14410 * gdb.base/vla-stub-define.c: New file.
14411 * gdb.base/vla-stub.c: New file.
14412 * gdb.base/vla-stub.exp: New file.
14414 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14415 Jan Kratochvil <jan.kratochvil@redhat.com>
14416 Tom Tromey <tromey@redhat.com>
14418 * configure.ac: Add gdb.compile/.
14419 * configure: Regenerate.
14420 * gdb.compile/Makefile.in: New file.
14421 * gdb.compile/compile-ops.exp: New file.
14422 * gdb.compile/compile-ops.c: New file.
14423 * gdb.compile/compile-tls.c: New file.
14424 * gdb.compile/compile-tls.exp: New file.
14425 * gdb.compile/compile-constvar.S: New file.
14426 * gdb.compile/compile-constvar.c: New file.
14427 * gdb.compile/compile-mod.c: New file.
14428 * gdb.compile/compile-nodebug.c: New file.
14429 * gdb.compile/compile-setjmp-mod.c: New file.
14430 * gdb.compile/compile-setjmp.c: New file.
14431 * gdb.compile/compile-setjmp.exp: New file.
14432 * gdb.compile/compile-shlib.c: New file.
14433 * gdb.compile/compile.c: New file.
14434 * gdb.compile/compile.exp: New file.
14435 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14437 2014-12-12 Tom Tromey <tromey@redhat.com>
14439 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14440 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14442 2014-12-12 Doug Evans <dje@google.com>
14444 * lib/gdb-python.exp (get_python_valueof): New function.
14445 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14447 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14449 * gdb.base/completion.exp: Add test for completion of "info
14452 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14454 * gdb.base/func-ptrs.c: New file.
14455 * gdb.base/func-ptrs.exp: New file.
14457 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14459 PR breakpoints/17012
14460 * gdb.base/dprintf-detach.c: New file.
14461 * gdb.base/dprintf-detach.exp: New file.
14463 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14465 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14466 * lib/gdb.exp (target_is_gdbserver): New procedure.
14468 2014-12-08 Doug Evans <dje@google.com>
14470 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14472 2014-12-05 Yao Qi <yao@codesourcery.com>
14474 * gdb.guile/scm-error.exp: Remove the third argument to
14475 gdb_remote_download.
14476 * gdb.guile/scm-frame-args.exp: Likewise.
14477 * gdb.guile/scm-section-script.exp: Likewise.
14479 2014-12-05 Yao Qi <yao@codesourcery.com>
14481 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14483 2014-12-04 Doug Evans <dje@google.com>
14485 * gdb.python/py-objfile.exp: Add tests for
14486 objfile.add_separate_debug_file.
14488 2014-12-04 Doug Evans <dje@google.com>
14490 * lib/gdb.exp (get_build_id): New function.
14491 (build_id_debug_filename_get): Rewrite to use it.
14492 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14494 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14496 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14497 `method(long)', not just 0x0.
14498 * gdb.cp/nsalias.exp: Align code labels to 4.
14499 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14500 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14501 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14502 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14503 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14504 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14506 2014-12-02 Doug Evans <dje@google.com>
14509 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14510 * gdb.cp/anon-ns2.cc: ... here. New file.
14511 * gdb.cp/anon-ns.exp: Update.
14513 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14515 * gdb.python/py-events.py (inferior_call_handler): New.
14516 (register_changed_handler, memory_changed_handler): New.
14517 (test_events.invoke): Register new handlers.
14518 * gdb.python/py-events.exp: Add tests for inferior call,
14519 memory_changed and register_changed events.
14521 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14523 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14524 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14525 if the linker doesn't understand this.
14527 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14529 * gdb.python/python.exp: Change expected reply to help().
14531 2014-12-01 Yao Qi <yao@codesourcery.com>
14533 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14534 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14535 * configure: Re-generated.
14537 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14539 * gdb.cp/chained-calls.cc: New file.
14540 * gdb.cp/chained-calls.exp: New file.
14541 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14543 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14545 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14546 * gdb.dwarf2/symtab-producer.exp: Same.
14547 * gdb.gdb/python-interrupts.exp: Same.
14548 * gdb.gdb/python-selftest.exp: Same.
14549 * gdb.python/py-linetable.exp: Same.
14550 * gdb.python/py-type.exp: Same.
14551 * gdb.python/py-value-cc.exp: Same.
14552 * gdb.python/py-value.exp: Same.
14554 2014-11-28 Yao Qi <yao@codesourcery.com>
14556 * gdb.base/break-probes.exp: Match library name prefixed with
14559 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14561 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14562 test expected output. Add parentheses for the call to print.
14563 Remove L suffix from integers.
14565 2014-11-26 Doug Evans <dje@google.com>
14567 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14569 2014-11-22 Yao Qi <yao@codesourcery.com>
14571 * gdb.trace/entry-values.c: Remove asms.
14572 (foo): Add foo_label.
14573 (bar): Add bar_label.
14574 * gdb.trace/entry-values.exp: Remove code computing foo's
14575 length and bar's length.
14576 (Dwarf::assemble): Invoke function_range for bar and use
14577 MACRO_AT_func for foo.
14579 2014-11-22 Yao Qi <yao@codesourcery.com>
14581 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14582 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14583 Use .Lgcc43_procstart instead of gcc43.
14585 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14587 * gdb.ada/n_arr_bound: New testcase.
14589 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14591 PR breakpoints/10737
14592 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14593 test_catch_syscall_multi_arch.
14594 (test_catch_syscall_multi_arch): New function.
14596 2014-11-20 Doug Evans <xdje42@gmail.com>
14598 * gdb.base/maint.exp: Update expected output.
14600 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14602 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14603 4-byte instruction on S390.
14605 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14607 * gdb.ada/arr_arr: New testcase.
14609 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14611 * gdb.ada/pkd_arr_elem: New Testcase.
14613 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14615 * gdb.reverse/break-precsave: Expect completion message for
14617 * gdb.reverse/consecutive-precsave.exp: Likewise.
14618 * gdb.reverse/finish-precsave.exp: Likewise.
14619 * gdb.reverse/i386-precsave.exp: Likewise.
14620 * gdb.reverse/machinestate-precsave.exp: Likewise.
14621 * gdb.reverse/sigall-precsave.exp: Likewise.
14622 * gdb.reverse/solib-precsave.exp: Likewise.
14623 * gdb.reverse/step-precsave.exp: Likewise.
14624 * gdb.reverse/until-precsave.exp: Likewise.
14625 * gdb.reverse/watch-precsave.exp: Likewise.
14627 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14629 * gdb.base/bp-permanent.c: Include unistd.h.
14630 * gdb.python/py-framefilter-mi.c (main): Add return type.
14631 * gdb.python/py-framefilter.c (main): Likewise.
14632 * gdb.trace/actions-changed.c (main): Likewise.
14634 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14636 * gdb.mi/until.c: Add eye-catchers.
14637 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14640 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14642 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14643 function header variants in break1.c.
14644 * gdb.base/ena-dis-br.exp: Likewise.
14645 * gdb.base/hbreak2.exp: Likewise.
14646 * gdb.reverse/until-precsave.exp: Drop references to removed
14647 non-prototype function header variants in ur1.c.
14648 * gdb.reverse/until-reverse.exp: Likewise.
14650 2014-11-17 Petr Machata <pmachata@redhat.com>
14652 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14653 ${_cu_offset_size} bytes abbrev offset.
14655 2014-11-15 Doug Evans <xdje42@gmail.com>
14658 * gdb.base/line-symtabs.exp: New file.
14659 * gdb.base/line-symtabs.c: New file.
14660 * gdb.base/line-symtabs.h: New file.
14662 2014-11-14 Yao Qi <yao@codesourcery.com>
14664 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14665 (func): Add label func_label.
14666 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14667 Replace low_pc and high_pc with MACRO_AT_range.
14668 Replace name, low_pc and high_pc with MACRO_AT_func.
14670 2014-11-14 Yao Qi <yao@codesourcery.com>
14672 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14673 Replace name, low_pc and high_pc with MACRO_AT_func.
14675 2014-11-14 Yao Qi <yao@codesourcery.com>
14677 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14678 produce debug information.
14679 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14681 2014-11-14 Yao Qi <yao@codesourcery.com>
14683 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14684 object and get function length.
14685 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14686 with MACRO_AT_func.
14687 (top-level): Replace gdb_compile and clean_restart with
14688 prepare_for_testing.
14689 * gdb.dwarf2/main.c (main): Add label main_label.
14691 2014-11-14 Yao Qi <yao@codesourcery.com>
14693 * lib/dwarf.exp (function_range): New procedure.
14694 (Dwarf::_handle_macro_at_func): New procedure.
14695 (Dwarf::_handle_macro_at_range): New procedure.
14696 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14698 2014-11-14 Yao Qi <yao@codesourcery.com>
14700 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14701 (_handle_attribute): New procedure.
14703 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14705 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14706 * gdb.base/call-sc.c (zed): Likewise.
14707 * gdb.base/checkpoint.c (main): Likewise.
14708 * gdb.base/dump.c (main): Likewise.
14709 * gdb.base/gcore.c (main): Likewise.
14710 * gdb.base/huge.c (main): Likewise.
14711 * gdb.base/multi-forks.c (main): Likewise.
14712 * gdb.base/pr10179-a.c (main): Likewise.
14713 * gdb.base/savedregs.c (main): Likewise.
14714 * gdb.base/sigaltstack.c (main): Likewise.
14715 * gdb.base/siginfo.c (main): Likewise.
14716 * gdb.base/structs.c (zed): Likewise.
14717 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14718 * gdb.mi/mi-syn-frame.c (main): Likewise.
14719 * gdb.mi/until.c (foo, main): Likewise.
14720 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14721 * gdb.base/solib-weak.c (foo): Declare.
14722 * gdb.base/attach-twice.c: Include stdio.h.
14723 * gdb.base/weaklib1.c: Likewise.
14724 * gdb.base/weaklib2.c: Likewise.
14725 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14726 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14728 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14729 * gdb.mi/mi-exit-code.c: Likewise.
14730 * gdb.base/break-interp-lib.c: Include string.h.
14731 * gdb.base/coremaker.c: Likewise.
14732 * gdb.base/testenv.c: Likewise.
14733 * gdb.python/py-finish-breakpoint.c: Likewise.
14734 * gdb.base/inferior-died.c: Include sys/wait.h.
14735 * gdb.base/fileio.c: Include time.h.
14736 * gdb.base/async-shell.c: Include unistd.h.
14737 * gdb.base/dprintf-non-stop.c: Likewise.
14738 * gdb.base/info-os.c: Likewise.
14739 * gdb.mi/mi-console.c: Likewise.
14740 * gdb.mi/watch-nonstop.c: Likewise.
14741 * gdb.python/py-events.c: Likewise.
14742 * gdb.base/async.c (baz): Move up before its invocation.
14743 * gdb.base/code_elim2.c (my_global_func): Likewise.
14744 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14745 * gdb.base/advance.c (func2): Likewise.
14747 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14749 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14751 * gdb.base/annota3.c: Likewise.
14752 * gdb.base/async.c: Likewise.
14753 * gdb.base/average.c: Likewise.
14754 * gdb.base/call-ar-st.c: Likewise.
14755 * gdb.base/call-rt-st.c: Likewise.
14756 * gdb.base/call-sc.c: Likewise.
14757 * gdb.base/call-strs.c: Likewise.
14758 * gdb.base/ending-run.c: Likewise.
14759 * gdb.base/execd-prog.c: Likewise.
14760 * gdb.base/exprs.c: Likewise.
14761 * gdb.base/foll-exec.c: Likewise.
14762 * gdb.base/foll-fork.c: Likewise.
14763 * gdb.base/foll-vfork.c: Likewise.
14764 * gdb.base/funcargs.c: Likewise.
14765 * gdb.base/gcore.c: Likewise.
14766 * gdb.base/jump.c: Likewise.
14767 * gdb.base/langs0.c: Likewise.
14768 * gdb.base/langs1.c: Likewise.
14769 * gdb.base/langs2.c: Likewise.
14770 * gdb.base/mips_pro.c: Likewise.
14771 * gdb.base/nodebug.c: Likewise.
14772 * gdb.base/opaque0.c: Likewise.
14773 * gdb.base/opaque1.c: Likewise.
14774 * gdb.base/recurse.c: Likewise.
14775 * gdb.base/run.c: Likewise.
14776 * gdb.base/scope0.c: Likewise.
14777 * gdb.base/scope1.c: Likewise.
14778 * gdb.base/setshow.c: Likewise.
14779 * gdb.base/setvar.c: Likewise.
14780 * gdb.base/shmain.c: Likewise.
14781 * gdb.base/shr1.c: Likewise.
14782 * gdb.base/shr2.c: Likewise.
14783 * gdb.base/sigall.c: Likewise.
14784 * gdb.base/signals.c: Likewise.
14785 * gdb.base/so-indr-cl.c: Likewise.
14786 * gdb.base/solib2.c: Likewise.
14787 * gdb.base/structs.c: Likewise.
14788 * gdb.base/sum.c: Likewise.
14789 * gdb.base/vforked-prog.c: Likewise.
14790 * gdb.base/watchpoint.c: Likewise.
14791 * gdb.reverse/shr2.c: Likewise.
14792 * gdb.reverse/until-reverse.c: Likewise.
14793 * gdb.reverse/ur1.c: Likewise.
14794 * gdb.reverse/watch-reverse.c: Likewise.
14796 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14798 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14800 * gdb.base/sepdebug.exp: Drop references to removed code.
14802 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14804 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14805 variant. Preserve original line numbering.
14806 * gdb.base/list1.c: Likewise.
14808 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14810 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14812 * gdb.base/break1.c: Likewise.
14813 * gdb.base/break.exp: Drop references to removed code.
14815 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14817 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14820 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14822 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14824 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14826 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14827 logic into perform_all_tests() and invoke it with and without
14828 function header prototypes.
14829 (do_function_calls): Remove conditional XFAIL for PR 5318.
14830 (rerun_and_prepare): Remove duplicate code.
14831 (perform_all_tests): New. Main logic moved here.
14833 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14835 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14836 code guarded by #ifdef NO_PROTOTYPES.
14837 (t_double_many_args): Likewise.
14838 (DEF_FUNC_MANY_ARGS_1): Likewise.
14839 (DEF_FUNC_VALUES_1): Likewise.
14840 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14841 guarded by #ifdef PROTOTYPES.
14843 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14845 * gdb.mi/mi-console.c: Add eye-catcher.
14846 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14847 instead of literal line number.
14849 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14851 * gdb.base/shr2.c: Add eye-catcher.
14852 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14855 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14857 * gdb.base/jump.c: Add eye-catchers.
14858 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14861 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14863 * gdb.base/execd-prog.c: Add eye-catchers.
14864 * gdb.base/foll-exec.c: Likewise.
14865 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14868 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14870 * gdb.base/ending-run.c: Add eye-catchers.
14871 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14872 literal line numbers.
14874 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14876 * gdb.base/call-rt-st.c: Add eye-catchers.
14877 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14878 literal line numbers.
14880 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14882 * gdb.base/call-ar-st.c: Add eye-catchers.
14883 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14884 literal line numbers.
14886 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14888 * gdb.base/average.c: Add eye-catchers.
14889 * gdb.base/sum.c: Likewise.
14890 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14891 regexps dynamically.
14893 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14895 * gdb.base/solib1.c: Add eye-catchers.
14896 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14897 literal line numbers.
14899 2014-11-12 Pedro Alves <palves@redhat.com>
14901 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14904 2014-11-12 Pedro Alves <palves@redhat.com>
14906 * gdb.arch/i386-bp_permanent.c: New file.
14907 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14908 (srcfile): Set to i386-bp_permanent.c.
14909 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14910 that stepi does not execute the 'leave' instruction, instead of
14911 testing it does execute.
14912 * gdb.base/bp-permanent.c: New file.
14913 * gdb.base/bp-permanent.exp: New file.
14915 2014-11-10 Doug Evans <xdje42@gmail.com>
14918 * gdb.base/symtab-search-order.exp: New file.
14919 * gdb.base/symtab-search-order.c: New file.
14920 * gdb.base/symtab-search-order-1.c: New file.
14921 * gdb.base/symtab-search-order-shlib-1.c: New file.
14923 2014-11-07 Pedro Alves <palves@redhat.com>
14926 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14929 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14932 * gdb.cp/pr17494.cc: New file.
14933 * gdb.cp/pr17494.exp: New file.
14935 2014-11-02 Yao Qi <yao@codesourcery.com>
14937 * gdb.python/python.exp: Get working directory and match the
14938 output of "set extended-prompt \\w " with it.
14940 2014-10-30 Doug Evans <dje@google.com>
14942 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14944 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14947 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14949 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14950 * gdb.base/realname-expand.exp: Likewise.
14951 * gdb.linespec/macro-relative.exp: Likewise.
14953 2014-10-29 Pedro Alves <palves@redhat.com>
14956 * gdb.threads/schedlock.c (some_function): New function.
14957 (call_function): New global.
14958 (MAYBE_CALL_SOME_FUNCTION): New macro.
14959 (thread_function): Call it.
14960 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14961 and use it instead of a global counter. Adjust all callers.
14962 (get_current_thread): Use "find current thread" for test message
14963 here rather than having all callers pass down the same string.
14964 (goto_loop): New procedure, factored out from ...
14965 (my_continue): ... this.
14966 (step_ten_loops): Change parameter from test message to command to
14968 (list_count): Delete global.
14969 (check_result): New procedure, factored out from duplicate top
14971 (continue tests): Wrap in with_test_prefix.
14972 (test_step): New procedure, factored out from duplicate top level
14974 (top level): Test "step" in combination with all scheduler-locking
14975 modes. Test "next" in combination with all scheduler-locking
14976 modes, and in combination with stepping over a function call or
14978 * gdb.threads/next-bp-other-thread.c: New file.
14979 * gdb.threads/next-bp-other-thread.exp: New file.
14981 2014-10-29 Pedro Alves <palves@redhat.com>
14984 * gdb.python/python.exp: Test a multi-line command that spawns
14985 interactive Python.
14986 * gdb.base/multi-line-starts-subshell.exp: New file.
14988 2014-10-29 Yao Qi <yao@codesourcery.com>
14990 * gdb.base/fileio.exp: Make directories on host.
14992 2014-10-29 Yao Qi <yao@codesourcery.com>
14994 * gdb.base/fileio.c (test_write): Close the file.
14996 2014-10-28 Pedro Alves <palves@redhat.com>
14999 * gdb.base/sigstep.c (no_handler): New global.
15000 (main): If 'no_handler is true, set the signal handlers to
15002 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15003 with_sw_watch and no_handler parameters. Handle them.
15004 (top level) <stepping over handler when stopped at a breakpoint
15005 test>: Add a test axis for testing with a software watchpoint, and
15006 another for testing with the signal handler set to SIG_IGN.
15007 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15008 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15010 2014-10-28 Pedro Alves <palves@redhat.com>
15013 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15014 * gdb.base/sigstep.exp (other_handler_location): New global.
15015 (advance): Support stepping into the signal handler, and running
15016 commands while in the handler.
15017 (in_handler_map): New global.
15018 (top level): In the advance test, add combinations for getting
15019 into the handler with stepping commands, and for running commands
15020 in the handler. Add comment descripting the advancei tests.
15022 2014-10-28 Pedro Alves <palves@redhat.com>
15024 * gdb.base/sigstep.exp: Use build_executable instead of
15025 prepare_for_testing.
15026 (top level): Move code that starts GDB, runs to main and creates a
15028 (restart): ... this new procedure.
15029 (top level): Move backtrace from signal handler test to ...
15030 (validate_backtrace): ... this new procedure.
15031 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15032 with_test_prefix. Always restart GDB.
15033 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15034 with_test_prefix. Always restart GDB. No need to delete
15035 breakpoints after the test.
15036 (test_skip_handler): Remove prefix parameter.
15037 (skip_over_handler, breakpoint_to_handler)
15038 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15039 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15040 restart GDB. No need to delete breakpoints after the test.
15041 (top level): Use foreach to call the test procedures with
15042 different commands.
15044 2014-10-28 Pedro Alves <palves@redhat.com>
15046 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15047 instead of GNATS numbers.
15048 * gdb.base/sigbpt.exp: Likewise.
15049 * gdb.base/siginfo.exp: Likewise.
15050 * gdb.base/sigstep.exp: Likewise.
15052 2014-10-27 Pedro Alves <palves@redhat.com>
15054 * gdb.base/sigstep.c (dummy): New global.
15055 (main): Issue a couple writes to the new global.
15056 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15058 (skip_over_handler): Use test_skip_handler.
15059 (top level): Call skip_over_handler for stepi and nexti too.
15060 (breakpoint_over_handler): Use test_skip_handler.
15061 (top level): Call breakpoint_over_handler for stepi and nexti too.
15063 2014-10-27 Yao Qi <yao@codesourcery.com>
15065 * gdb.trace/tfile.c (adjust_function_address)
15066 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15067 function descriptor.
15069 2014-10-24 Don Breazeal <donb@codesourcery.com>
15071 * gdb.base/foll-fork.exp (test_follow_fork,
15072 catch_fork_child_follow): Check for updated fork messages emitted
15074 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15075 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15076 vfork_and_exec_child_follow_through_step): Check for updated vfork
15077 messages emitted from infrun.c.
15079 2014-10-24 Pedro Alves <palves@redhat.com>
15081 * gdb.base/corefile.exp: Remove references to ultrix.
15082 * gdb.base/interrupt.exp: Likewise.
15083 * gdb.base/whatis.exp: Likewise.
15084 * gdb.gdb/selftest.exp: Likewise.
15085 * gdb.threads/manythreads.exp: Likewise.
15086 * gdb.threads/print-threads.exp: Likewise.
15087 * gdb.threads/pthreads.exp:: Likewise.
15088 * gdb.threads/schedlock.exp: Likewise.
15090 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15092 * gdb.cp/non-trivial-retval.cc: Add a test case.
15093 * gdb.cp/non-trivial-retval.exp: Add a test.
15095 2014-10-20 Yao Qi <yao@codesourcery.com>
15097 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15098 * gdb.python/py-objfile-script-gdb.py: New file.
15099 * gdb.python/py-objfile-script.exp: Update reference to
15100 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15101 of remote_download. Remove the dest file.
15103 2014-10-20 Yao Qi <yao@codesourcery.com>
15105 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15106 * gdb.base/step-line.exp: Likewise.
15107 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15108 * gdb.dwarf2/dw2-basic.exp: Likewise.
15109 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15110 * gdb.dwarf2/dw2-filename.exp: Likewise.
15111 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15112 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15113 * gdb.dwarf2/dw2-producer.exp: Likewise.
15114 * gdb.dwarf2/mac-fileno.exp: Likewise.
15115 * gdb.python/py-frame-args.exp: Likewise.
15116 * gdb.python/py-framefilter.exp: Likewise.
15117 * gdb.python/py-mi.exp: Likewise.
15118 * gdb.python/py-objfile-script.exp: Likewise
15119 * gdb.python/py-pp-integral.exp: Likewise.
15120 * gdb.python/py-pp-re-notag.exp: Likewise.
15121 * gdb.python/py-prettyprint.exp: Likewise.
15122 * gdb.python/py-section-script.exp: Likewise.
15123 * gdb.python/py-typeprint.exp: Likewise.
15124 * gdb.python/py-xmethods.exp: Likewise.
15125 * gdb.stabs/weird.exp: Likewise.
15126 * gdb.xml/tdesc-regs.exp: Likewise.
15128 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15130 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15131 (out_cu): Use addr_len for the size of addresses.
15132 (out_line): Likewise. Size DW_LNE_set_address instruction
15133 according to addr_len.
15134 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15135 (FUNC): Add START_INSNS to definition.
15137 2014-10-18 Yao Qi <yao@codesourcery.com>
15139 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15140 gdb_has_argv0 return true.
15141 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15142 check [target_info exists noargs], check [gdb_has_argv0]
15144 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15145 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15148 2014-10-17 Doug Evans <dje@google.com>
15150 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15152 * gdb.python/py-events.py: Add clear_objfiles event.
15154 2014-10-17 Doug Evans <dje@google.com>
15156 * gdb.python/py-objfile.exp: Test progspace attribute.
15158 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15160 * gdb.guile/scm-breakpoint.exp: Do not assume any
15161 directory separators when matching source file paths.
15162 * gdb.python/py-breakpoint.exp: Likewise.
15163 * gdb.reverse/break-precsave.exp: Likewise.
15164 * gdb.reverse/break-reverse.exp: Likewise.
15165 * gdb.reverse/consecutive-precsave.exp: Likewise.
15166 * gdb.reverse/finish-precsave.exp: Likewise.
15167 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15168 * gdb.reverse/finish-reverse.exp: Likewise.
15169 * gdb.reverse/i386-precsave.exp: Likewise.
15170 * gdb.reverse/i387-env-reverse.exp: Likewise.
15171 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15172 * gdb.reverse/machinestate-precsave.exp: Likewise.
15173 * gdb.reverse/machinestate.exp: Likewise.
15174 * gdb.reverse/sigall-precsave.exp: Likewise.
15175 * gdb.reverse/solib-precsave.exp: Likewise.
15176 * gdb.reverse/step-precsave.exp: Likewise.
15177 * gdb.reverse/until-precsave.exp: Likewise.
15178 * gdb.reverse/watch-precsave.exp: Likewise.
15179 * gdb.reverse/watch-reverse.exp: Likewise.
15181 2014-10-17 Yao Qi <yao@codesourcery.com>
15183 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15184 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15186 2014-10-17 Pedro Alves <palves@redhat.com>
15189 * gdb.base/bg-execution-repeat.c: New file.
15190 * gdb.base/bg-execution-repeat.exp: New file.
15192 2014-10-17 Pedro Alves <palves@redhat.com>
15195 * gdb.base/continue-all-already-running.c: New file.
15196 * gdb.base/continue-all-already-running.exp: New file.
15198 2014-10-17 Pedro Alves <palves@redhat.com>
15201 * gdb.base/annota-input-while-running.c: New file.
15202 * gdb.base/annota-input-while-running.exp: New file.
15204 2014-10-17 Pedro Alves <palves@redhat.com>
15206 * gdb.base/callfuncs.exp: emove references to osf.
15207 * gdb.base/sigall.exp: Likewise.
15208 * gdb.gdb/selftest.exp: Likewise.
15209 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15210 * gdb.mi/non-stop.c: Likewise.
15211 * gdb.mi/pthreads.c: Likewise.
15212 * gdb.reverse/sigall-precsave.exp: Likewise.
15213 * gdb.reverse/sigall-reverse.exp: Likewise.
15214 * gdb.threads/pthreads.c: Likewise.
15215 * gdb.threads/pthreads.exp: Likewise.
15217 2014-10-17 Yao Qi <yao@codesourcery.com>
15219 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15220 check 'target_info exists noargs'.
15221 (test_command_prompt_position): Likewise.
15222 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15224 (progvar_simple_while_test): Likewise.
15225 (progvar_complex_if_while_test): Likewise.
15226 (if_while_breakpoint_command_test): Likewise.
15227 (infrun_breakpoint_command_test): Likewise.
15228 (breakpoint_command_test): Likewise.
15229 (watchpoint_command_test): Likewise.
15230 (bp_deleted_in_command_test): Likewise.
15231 (temporary_breakpoint_commands): Likewise.
15233 2014-10-16 Yao Qi <yao@codesourcery.com>
15235 * gdb.base/remotetimeout.exp: Remove noargs checking.
15237 2014-10-15 Pedro Alves <palves@redhat.com>
15239 PR breakpoints/9649
15240 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15241 * gdb.base/breakpoint-in-ro-region.exp
15242 (probe_target_hardware_step): New procedure.
15243 (top level): Probe hardware stepping and hardware breakpoint
15244 support. Test stepping through a read-only region, with both
15245 "breakpoint auto-hw" on and off and both "always-inserted" on and
15248 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15250 * gdb.dlang/demangle.exp: Update for demangling changes.
15252 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15254 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15255 * gdb.cp/non-trivial-retval.exp: Add new tests.
15257 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15261 * gdb.cp/non-trivial-retval.cc: New file.
15262 * gdb.cp/non-trivial-retval.exp: New file.
15264 2014-10-15 Yao Qi <yao@codesourcery.com>
15266 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15269 2014-10-15 Yao Qi <yao@codesourcery.com>
15271 * gdb.python/py-symbol.exp: Match file base name if host is
15272 remote, otherwise match file name with dir name.
15273 * gdb.python/py-symtab.exp: Likewise.
15274 * gdb.python/python.exp: Likewise.
15276 2014-10-15 Yao Qi <yao@codesourcery.com>
15278 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15280 * gdb.python/py-symtab.exp: Likewise.
15281 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15284 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15286 * gdb.ada/addr_arith: New testcase.
15288 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15290 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15291 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15292 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15293 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15295 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15297 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15298 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15299 * gdb.arch/stap-eval-lang-ada.exp: New file.
15301 2014-10-14 Yao Qi <yao@codesourcery.com>
15303 * gdb.mi/mi-var-child.c (nothing1): New function.
15304 (nothing2): New function.
15305 (do_children_tests): Set function pointers by nothing1 and
15307 * gdb.mi/mi-var-child.exp: Step over new added statements.
15308 Update test to match the new output.
15309 * gdb.mi/var-cmd.c (nothing1): New function.
15310 (nothing2): New function.
15311 (do_children_tests): Set function pointers by nothing1 and
15313 * gdb.mi/mi-var-display.exp: Update test to match output.
15314 Step to the line specified by $line_dct_nothing.
15315 Increase the number of lines to step.
15317 2014-10-14 Yao Qi <yao@codesourcery.com>
15319 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15321 * gdb.mi/mi2-var-child.exp: Likewise.
15323 2014-10-13 Doug Evans <dje@google.com>
15325 * gdb.python/py-objfile.exp: Change name of file name test.
15327 2014-10-13 Doug Evans <dje@google.com>
15329 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15330 from the start of the CU.
15332 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15333 Yao Qi <yao@codesourcery.com>
15335 Fix "save breakpoints" for "catch" command.
15336 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15337 Remove -nonewline. Match also the added "main" line.
15339 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15341 Fix "save breakpoints" for "disable $bpnum" command.
15342 * gdb.base/save-bp.c (main): Add label.
15343 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15345 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15347 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15349 2014-10-11 Yao Qi <yao@codesourcery.com>
15351 * gdb.server/server-kill.exp: Execute command
15352 "set remote trace-status-packet on" before "tstatus".
15354 2014-10-11 Yao Qi <yao@codesourcery.com>
15356 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15357 (main): Call getppid.
15358 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15359 and continue to it. Read variable "server_pid".
15361 2014-10-11 Yao Qi <yao@codesourcery.com>
15363 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15365 2014-10-11 Yao Qi <yao@codesourcery.com>
15367 * gdb.threads/thread-find.exp: Don't execute command
15369 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15370 * gdb.threads/linux-dp.exp: Don't check the condition
15371 $threads_created equals to zero.
15373 2014-10-10 Pedro Alves <palves@redhat.com>
15375 * gdb.base/bigcore.exp: Remove references to IRIX.
15376 * gdb.base/funcargs.exp: Likewise.
15377 * gdb.base/interrupt.exp: Likewise.
15378 * gdb.base/mips_pro.exp: Likewise.
15379 * gdb.base/nodebug.exp: Likewise.
15380 * gdb.base/setvar.exp: Likewise.
15381 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15383 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15384 Pedro Alves <palves@redhat.com>
15387 * gdb.base/vdso-warning.c: New file.
15388 * gdb.base/vdso-warning.exp: New file.
15390 2014-10-02 Doug Evans <dje@google.com>
15392 * gdb.base/structs.c (main): Don't run forever.
15394 2014-10-02 Pedro Alves <palves@redhat.com>
15396 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15397 (top level) <stop threads 1, stop threads 2>: Use it.
15399 2014-10-02 Pedro Alves <palves@redhat.com>
15401 * gdb.threads/break-while-running.exp (test): Add new
15402 'update_thread_list' argument. Skip "info threads" if false.
15403 (top level): Add new 'update_thread_list' axis.
15405 2014-10-02 Pedro Alves <palves@redhat.com>
15407 PR breakpoints/17431
15408 * gdb.base/execl-update-breakpoints.c: New file.
15409 * gdb.base/execl-update-breakpoints.exp: New file.
15411 2014-10-01 Pedro Alves <palves@redhat.com>
15413 * gdb.base/breakpoint-in-ro-region.c: New file.
15414 * gdb.base/breakpoint-in-ro-region.exp: New file.
15416 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15418 * gdb.mi/mi-exit-code.exp: New file.
15419 * gdb.mi/mi-exit-code.c: New file.
15421 2014-09-30 Yao Qi <yao@codesourcery.com>
15423 * lib/prelink-support.exp (build_executable_own_libs): Error if
15424 the target isn't native.
15426 2014-09-30 Yao Qi <yao@codesourcery.com>
15428 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15431 2014-09-22 Pedro Alves <palves@redhat.com>
15433 * gdb.threads/break-while-running.exp: New file.
15434 * gdb.threads/break-while-running.c: New file.
15436 2014-09-19 Yao Qi <yao@codesourcery.com>
15438 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15439 Invoke test. Restart GDB with --readnow and invoke test again.
15441 2014-09-19 Yao Qi <yao@codesourcery.com>
15443 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15444 proc set_breakpoint_on_gcd_function. Invoke
15445 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15446 invoke set_breakpoint_on_gcd_function again.
15448 2014-09-18 Doug Evans <dje@google.com>
15450 * gdb.dwarf2/symtab-producer.exp: New file.
15452 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15454 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15455 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15456 * gdb.base/global-var-nested-by-dso.c: Likewise.
15457 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15459 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15460 Pedro Alves <palves@redhat.com>
15462 * gdb.base/watch-bitfields.exp: Pass string other than test file
15463 name to prepare_for_testing.
15464 (watch): New procedure.
15465 (expect_watchpoint): Use with_test_prefix.
15466 (top level): Factor out tests to ...
15467 (test_watch_location, test_regular_watch): ... these new
15468 procedures, and use with_test_prefix and gdb_continue_to_end.
15470 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15472 PR breakpoints/12526
15473 * gdb.base/watch-bitfields.exp: New file.
15474 * gdb.base/watch-bitfields.c: New file.
15476 2014-09-16 Pedro Alves <palves@redhat.com>
15478 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15479 software and hardware addresses, not software address against
15482 2014-09-16 Pedro Alves <palves@redhat.com>
15484 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15485 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15487 2014-09-16 Pedro Alves <palves@redhat.com>
15489 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15491 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15492 "*-*-vxworks*" throughout.
15493 * gdb.base/break.exp: Likewise.
15494 * gdb.base/default.exp: Likewise.
15495 * gdb.base/scope.exp: Likewise.
15496 * gdb.base/sepdebug.exp: Likewise.
15497 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15499 * gdb.base/run.c: Likewise.
15500 * gdb.base/sepdebug.c: Likewise.
15501 * gdb.hp/gdb.aCC/run.c: Likewise.
15502 * gdb.reverse/until-reverse.c: Likewise.
15503 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15505 2014-09-16 Yao Qi <yao@codesourcery.com>
15507 * boards/local-remote-host-native.exp: New file.
15509 2014-09-14 Doug Evans <xdje42@gmail.com>
15511 * gdb.threads/queue-signal.c (thread_count): New variable.
15512 (thread_count_mutex, thread_count_condvar): New variables.
15513 (incr_thread_count, wait_all_threads_running): New functions.
15514 (main): Wait for all threads to be in their thread functions.
15516 2014-09-13 Doug Evans <xdje42@gmail.com>
15518 * gdb.threads/queue-signal.c: New file.
15519 * gdb.threads/queue-signal.exp: New file.
15521 2014-09-13 Doug Evans <xdje42@gmail.com>
15523 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15524 be consistent with what default_gdb_init uses.
15525 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15526 the plain text of the prompt. Add some logging printfs.
15527 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15529 2014-09-12 Pedro Alves <palves@redhat.com>
15531 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15532 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15533 * gdb.arch/i386-size-overlap.exp: Likewise.
15534 * gdb.arch/i386-size.exp: Likewise.
15535 * gdb.arch/i386-unwind.exp: Likewise.
15536 * gdb.base/a2-run.exp: Likewise.
15537 * gdb.base/break.exp: Likewise.
15538 * gdb.base/charset.exp: Likewise.
15539 * gdb.base/chng-syms.exp: Likewise.
15540 * gdb.base/commands.exp: Likewise.
15541 * gdb.base/dbx.exp: Likewise.
15542 * gdb.base/find.exp: Likewise.
15543 * gdb.base/funcargs.exp: Likewise.
15544 * gdb.base/jit-simple.exp: Likewise.
15545 * gdb.base/reread.exp: Likewise.
15546 * gdb.base/sepdebug.exp: Likewise.
15547 * gdb.base/step-bt.exp: Likewise.
15548 * gdb.cp/mb-inline.exp: Likewise.
15549 * gdb.cp/mb-templates.exp: Likewise.
15550 * gdb.objc/basicclass.exp: Likewise.
15551 * gdb.threads/killed.exp: Likewise.
15553 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15556 * gdb.arch/powerpc-stackless.S: New file.
15557 * gdb.arch/powerpc-stackless.exp: New file.
15559 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15561 * gdb.base/attach.c: Include unistd.h.
15562 (main): Call alarm. Add label postloop.
15563 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15564 gdb_breakpoint, gdb_continue_to_breakpoint.
15565 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15567 2014-09-11 Pedro Alves <palves@redhat.com>
15570 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15571 * gdb.base/attach.exp (test_command_line_attach_run): New
15573 (top level): Call it.
15575 2014-09-11 Pedro Alves <palves@redhat.com>
15577 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15578 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15579 (do_command_attach_tests): Use spawn_wait_for_attach.
15580 * gdb.base/solib-overlap.exp: Likewise.
15581 * gdb.multi/multi-attach.exp: Likewise.
15582 * gdb.python/py-prompt.exp: Likewise.
15583 * gdb.python/py-sync-interp.exp: Likewise.
15584 * gdb.server/ext-attach.exp: Likewise.
15586 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15588 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15589 command in testcase. Simplify testcase.
15591 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15593 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15595 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15597 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15599 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15601 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15603 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15605 * gdb.dwarf2/dynarr-ptr.c: New file.
15606 * gdb.dwarf2/dynarr-ptr.exp: New file.
15608 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15610 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15611 of 30 rather than hardcoding 120 for a slow test case. Take the
15612 `gdb,timeout' target setting into account for this calculation.
15613 Don't extend the timeout for the test cases that don't need it.
15615 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15617 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15618 a factor of 2 for a slow test case. Take the `gdb,timeout'
15619 target setting into account for this calculation.
15620 * gdb.reverse/until-precsave.exp: Increase the timeout by
15621 a factor of 15 and 3 respectively rather than adding 120
15622 for a pair of slow test cases. Take the `gdb,timeout'
15623 target setting into account for this calculation.
15625 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15627 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15628 timeout, don't pass one down to gdb_expect.
15629 (gdb_expect): Rework timeout selection.
15631 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15633 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15634 exception on timeout.
15635 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15636 (gdbserver_start_extended): Catch any `gdbserver_start' error
15638 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15639 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15640 `gdbserver_gdb_load' error exceptions.
15642 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15644 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15645 120 on waiting for the TCP socket to open.
15647 2014-09-09 Doug Evans <xdje42@gmail.com>
15649 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15650 _caller_matches, _any_caller_is, _any_caller_matches.
15652 2014-09-09 Doug Evans <xdje42@gmail.com>
15654 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15656 2014-09-09 Yao Qi <yao@codesourcery.com>
15658 * gdb.mi/mi-var-display.exp: Set print symbol off.
15660 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15663 * gdb.base/commands.exp: Add tests to verify user-defined
15664 commands with empty bodies.
15665 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15666 python commands in `show user command`.
15667 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15668 scheme commands in `show user command`.
15670 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15673 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15674 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15675 * gdb.python/py-framefilter-invalidarg.exp: New file.
15676 * gdb.python/py-framefilter-invalidarg.py: New file.
15678 2014-09-06 Doug Evans <xdje42@gmail.com>
15681 * gdb.python/py-caller-is.c: New file.
15682 * gdb.python/py-caller-is.exp: New file.
15684 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15687 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15688 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15690 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15693 * gdb.fortran/print-formatted.exp: New file.
15694 * gdb.fortran/print-formatted.f90: Likewise.
15696 2014-09-03 Sasha Smundak <asmundak@google.com>
15698 * gdb.python/py-frame.exp: Test Frame.read_register.
15700 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15703 * gdb.python/py-completion.exp: New file.
15704 * gdb.python/py-completion.py: Likewise.
15706 2014-08-28 Doug Evans <dje@google.com>
15708 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15709 eax,etc. are live with values set by gdb and thus the compiler can't
15711 * gdb.arch/i386-pseudo.c (main): Ditto.
15713 2014-08-27 Doug Evans <dje@google.com>
15715 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15717 2014-08-25 Doug Evans <dje@google.com>
15719 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15722 2014-08-25 Doug Evans <dje@google.com>
15724 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15726 2014-08-24 Yao Qi <yao@codesourcery.com>
15728 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15730 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15732 2014-08-22 Doug Evans <dje@google.com>
15735 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15736 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15737 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15739 2014-08-22 Yao Qi <yao@codesourcery.com>
15741 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15742 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15743 * gdb.python/python.exp: Likewise. Use .py file on the host
15744 instead of the build.
15746 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15748 * gdb.threads/gcore-stale-thread.c: New file.
15749 * gdb.threads/gcore-stale-thread.exp: New file.
15751 2014-08-21 Pedro Alves <palves@redhat.com>
15753 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15754 * gdb.base/gcore-relro-pie.exp: Likewise.
15755 * gdb.base/gcore-relro.exp: Likewise.
15756 * gdb.base/gcore.exp: Likewise.
15757 * gdb.base/print-symbol-loading.exp: Likewise.
15758 * gdb.threads/gcore-thread.exp: Likewise.
15759 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15761 2014-08-20 Pedro Alves <palves@redhat.com>
15762 Jan Kratochvil <jan.kratochvil@redhat.com>
15764 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15766 (EXPECT): Handle READ1 being set.
15767 (all): Depend on EXTRA_RULES.
15768 (check-read1, expect-read1, read1.so, read1): New rules.
15769 * README (Testsuite Parameters): Document the READ1 make variable.
15770 (Race detection): New section.
15771 * configure: Regenerate.
15772 * configure.ac: If build==host==target, and running under a
15773 GNU/glibc system, add read1 to the extra Makefile rules.
15774 (EXTRA_RULES): AC_SUBST it.
15775 * lib/read1.c: New file.
15777 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15779 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15780 the handling of variables declared as a typedef to an array
15781 which a DW_AT_data_location attribute.
15783 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15784 Pedro Alves <palves@redhat.com>
15788 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15791 2014-08-19 Pedro Alves <palves@redhat.com>
15793 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15795 2014-08-19 Yao Qi <yao@codesourcery.com>
15797 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15800 2014-08-18 David Blaikie <dblaikie@gmail.com>
15802 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15804 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15806 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15807 attribute in array range.
15809 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15811 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15813 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15816 * gdb.cp/pr17132.cc: New file.
15817 * gdb.cp/pr17132.exp: New file.
15819 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15821 * gdb.python/py-xmethods.py (A_getarrayind)
15822 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15823 Use 'print' with function call syntax.
15824 (E_method_matcher.match): Fix tab vs space indentation mixup.
15826 2014-08-15 Yao Qi <yao@codesourcery.com>
15828 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15831 2014-08-15 Yao Qi <yao@codesourcery.com>
15833 * gdb.cp/casts.exp: Set print symbol off.
15834 * gdb.cp/class2.exp: Likewise.
15835 * gdb.cp/overload.exp: Likewise.
15836 * gdb.cp/templates.exp: Likewise.
15838 2014-08-11 Doug Evans <dje@google.com>
15840 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15841 (test_load_shlib): Update.
15843 2014-08-09 Yao Qi <yao@codesourcery.com>
15845 * gdb.base/display.exp: Invoke is_address_zero_readable.
15846 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15847 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15848 * gdb.base/hbreak-unmapped.exp: Return if
15849 is_address_zero_readable returns true.
15850 * gdb.base/signest.exp: Likewise.
15851 * gdb.base/signull.exp: Likewise.
15852 * gdb.base/sigbpt.exp: Likewise.
15853 * gdb.guile/scm-disasm.exp: Do the test if
15854 is_address_zero_readable returns false.
15855 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15856 * gdb.python/py-arch.exp: Likewise.
15857 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15858 * lib/gdb.exp (is_address_zero_readable): New proc.
15860 2014-08-09 Yao Qi <yao@codesourcery.com>
15863 * gdb.mi/mi-var-display.exp: Make test messages unique.
15865 2014-08-04 Tom Tromey <tromey@redhat.com>
15867 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15870 2014-08-04 Tom Tromey <tromey@redhat.com>
15872 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15875 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15877 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15878 inner_vla_struct_object_size.
15879 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15882 2014-07-30 Pedro Alves <palves@redhat.com>
15884 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15887 2014-07-29 Yao Qi <yao@codesourcery.com>
15890 * gdb.base/until-nodebug.exp: New.
15892 2014-07-28 Doug Evans <xdje42@gmail.com>
15895 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15896 previously existing parameter, and previously ambiguously spelled
15899 2014-07-28 Will Newton <will.newton@linaro.org>
15901 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15903 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15904 Doug Evans <xdje42@gmail.com>
15907 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15909 2014-07-25 Pedro Alves <palves@redhat.com>
15911 * gdb.threads/signal-command-handle-nopass.c: New file.
15912 * gdb.threads/signal-command-handle-nopass.exp: New file.
15913 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15914 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15915 * gdb.threads/signal-delivered-right-thread.c: New file.
15916 * gdb.threads/signal-delivered-right-thread.exp: New file.
15918 2014-07-25 Pedro Alves <palves@redhat.com>
15920 * gdb.base/double-prompt-target-event-error.exp
15921 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15923 (cancel_pagination_in_target_event): Rework double prompt
15925 * gdb.base/paginate-after-ctrl-c-running.exp
15926 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15928 * gdb.base/paginate-bg-execution.exp
15929 (test_bg_execution_pagination_return)
15930 (test_bg_execution_pagination_cancel): Remove '-notransfer
15932 * gdb.base/paginate-execution-startup.exp
15933 (test_fg_execution_pagination_return)
15934 (test_fg_execution_pagination_cancel): Remove '-notransfer
15936 * gdb.base/paginate-inferior-exit.exp
15937 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15939 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15940 * lib/gdb.exp (pagination_prompt): Run text through
15942 (gdb_test_multiple): Match $pagination_prompt instead of
15944 (string_to_regexp): Move to lib/gdb-utils.exp.
15946 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15948 * gdb.arch/amd64-entry-value-paramref.S: New file.
15949 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15950 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15951 * gdb.arch/amd64-optimout-repeat.S: New file.
15952 * gdb.arch/amd64-optimout-repeat.c: New file.
15953 * gdb.arch/amd64-optimout-repeat.exp: New file.
15955 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15958 * gdb.base/statistics.exp: New file.
15960 2014-07-17 Doug Evans <dje@google.com>
15963 * gdb.base/maint.exp: Update testing of per-command stats.
15965 2014-07-16 Pedro Alves <palves@redhat.com>
15967 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15968 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15969 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15970 (tfile_write_buf): New functions.
15971 (add_memory_block): Rewrite using the above.
15972 (adjust_function_address): New function.
15973 (FUNCTION_ADDRESS): New macro.
15974 (write_basic_trace_file): Remove short_x local, and use
15975 tfile_write_16. Change type of func_addr local to unsigned long
15976 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15977 here. Cast argument of add_memory_block to char pointer.
15978 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15979 (main): Remove parameters.
15980 * gdb.trace/tfile.exp: Remove nowarnings.
15982 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15984 * gdb.base/debug-expr.exp: Test string evaluation with
15985 "debug expression" on.
15987 2014-07-15 Pedro Alves <palves@redhat.com>
15989 * gdb.base/reread.exp: Use clean_restart.
15991 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15993 * gdb.arch/avr-flash-qualifer.c: New.
15994 * gdb.arch/avr-flash-qualifer.exp: New.
15996 2014-07-14 Pedro Alves <palves@redhat.com>
15998 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15999 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16001 2014-07-14 Pedro Alves <palves@redhat.com>
16003 * gdb.base/double-prompt-target-event-error.c: New file.
16004 * gdb.base/double-prompt-target-event-error.exp: New file.
16006 2014-07-14 Pedro Alves <palves@redhat.com>
16009 * gdb.base/paginate-inferior-exit.c: New file.
16010 * gdb.base/paginate-inferior-exit.exp: New file.
16012 2014-07-14 Pedro Alves <palves@redhat.com>
16015 * gdb.base/paginate-bg-execution.c: New file.
16016 * gdb.base/paginate-bg-execution.exp: New file.
16018 2014-07-14 Pedro Alves <palves@redhat.com>
16021 * gdb.base/paginate-execution-startup.c: New file.
16022 * gdb.base/paginate-execution-startup.exp: New file.
16023 * lib/gdb.exp (pagination_prompt): New global.
16024 (default_gdb_spawn): New procedure, factored out from
16026 (default_gdb_start): Adjust to call default_gdb_spawn.
16027 (gdb_spawn): New procedure.
16029 2014-07-14 Pedro Alves <palves@redhat.com>
16031 * lib/gdb.exp (gdb_assert): New procedure.
16032 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16034 2014-07-14 Pedro Alves <palves@redhat.com>
16036 * gdb.base/execution-termios.c: New file.
16037 * gdb.base/execution-termios.exp: New file.
16039 2014-07-14 Tom Tromey <tromey@redhat.com>
16041 * gdb.cp/vla-cxx.cc: New file.
16042 * gdb.cp/vla-cxx.exp: New file.
16044 2014-07-14 Tom Tromey <tromey@redhat.com>
16046 * gdb.reverse/rerun-prec.c: New file.
16047 * gdb.reverse/rerun-prec.exp: New file.
16049 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16050 Maciej W. Rozycki <macro@codesourcery.com>
16052 * lib/gdb-utils.exp: New file.
16053 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16054 inline `gdb_init_command' processing.
16055 (gdb_start_cmd): Likewise.
16056 * lib/mi-support.exp (mi_run_cmd): Likewise.
16057 * README: Document `gdb_init_command' and `gdb_init_commands'.
16059 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16061 Fix false FAIL running under a very long directory name.
16062 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16063 and "set print elements 10000". Twice.
16065 2014-07-11 Yao Qi <yao@codesourcery.com>
16067 * gdb.base/exprs.exp: "set print symbol off".
16069 2014-07-11 Pedro Alves <palves@redhat.com>
16071 * gdb.threads/kill.c: New file.
16072 * gdb.threads/kill.exp: New file.
16074 2014-07-10 Yao Qi <yao@codesourcery.com>
16076 * gdb.trace/tfile.c (write_basic_trace_file)
16077 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16078 address written to trace file.
16080 2014-07-09 Pedro Alves <palves@redhat.com>
16082 * gdb.base/attach-wait-input.exp: New file.
16083 * gdb.base/attach-wait-input.c: New file.
16085 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16087 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16088 setting up test structures.
16089 (main): Call new test function.
16090 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16091 test function, continue into test function and walk test
16094 2014-07-02 Yao Qi <yao@codesourcery.com>
16096 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16097 'bar_start' at the beginning of functions 'foo' and 'bar'
16099 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16100 instead of 'foo' and 'bar'.
16102 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16104 * gdb.btrace/segv.exp: New.
16105 * gdb.btrace/segv.c: New.
16107 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16109 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16112 2014-06-30 Mark Wielaard <mjw@redhat.com>
16114 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16115 vulture, vilify, villar): New volatile array constants.
16116 (vindictive, vegetation): New const volatile array constants.
16117 * gdb.base/volatile.exp: Test volatile and const volatile array
16120 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16122 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16123 target lacks support for awatch, rwatch, or hbreak.
16125 2014-06-27 Yao Qi <yao@codesourcery.com>
16127 * gdb.multi/dummy-frame-restore.exp: New.
16128 * gdb.multi/dummy-frame-restore.c: New.
16130 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16132 * gdb.btrace/gcore.exp: New.
16134 2014-06-23 Pedro Alves <palves@redhat.com>
16136 * gdb.base/watchpoint-reuse-slot.c: New file.
16137 * gdb.base/watchpoint-reuse-slot.exp: New file.
16139 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16141 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16142 progspace's filename in 'info', 'enable' and 'disable' command
16145 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16147 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16148 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16149 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16151 2014-06-20 Gary Benson <gbenson@redhat.com>
16153 * gdb.arch/i386-avx.exp: Fix include file location.
16154 * gdb.arch/i386-sse.exp: Likewise.
16156 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16158 * gdb.dlang/expression.exp: New file.
16160 2014-06-19 Pedro Alves <palves@redhat.com>
16162 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16164 (top level): ... here. Iterate running tests under different
16165 scheduler-locking settings.
16167 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16169 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16170 to DW_FORM_addr and use non-zero addresses.
16172 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16175 * gdb.python/py-xmethods.cc: Add global function call counters and
16176 increment them in their respective functions. Remove "cout"
16178 * gdb.python/py-xmethods.exp: Make tests check the global function
16179 call counters instead of depending on inferior IO.
16181 2014-06-18 Don Breazeal <donb@codesourcery.com>
16183 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16185 (explicit_fork_parent_follow): Deleted procedure.
16186 (explicit_fork_child_follow): Deleted procedure.
16187 (test_follow_fork): New procedure.
16188 (do_fork_tests): Replace calls to deleted procedures with
16189 calls to test_follow_fork and reset GDB for subsequent
16192 2014-06-17 Yao Qi <yao@codesourcery.com>
16194 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16197 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16199 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16200 Initialize ptr and S explicitly.
16201 (skip_type_update_when_not_use_rtti_test): Likewise.
16203 2014-06-16 Keith Seitz <keiths@redhat.com>
16206 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16207 the inferior is started.
16209 2014-06-16 Pedro Alves <palves@redhat.com>
16211 * gdb.base/break-main-file-remove-fail.c: New file.
16212 * gdb.base/break-main-file-remove-fail.exp: New file.
16213 * gdb.base/break-unload-file.exp: Use build_executable instead of
16214 prepare_for_testing.
16215 (test_break): New parameter "initial_load". Handle it.
16216 (top level): Add initial_load cmdline/file axis.
16218 2014-06-12 Tom Tromey <tromey@redhat.com>
16220 * gdb.base/completion.exp: Don't use directory name in test.
16222 2014-06-09 Gary Benson <gbenson@redhat.com>
16224 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16225 separate the always-available ANSI-standard signals from the
16226 signals that require checking.
16228 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16232 2014-06-07 Keith Seitz <keiths@redhat.com>
16236 * gdb.cp/var-tag.cc: New file.
16237 * gdb.cp/var-tag.exp: New file.
16238 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16239 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16240 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16241 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16243 2014-06-06 Doug Evans <xdje42@gmail.com>
16245 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16247 2014-06-06 Pedro Alves <palves@redhat.com>
16249 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16250 in target debug output instead of looking at RSP packets,
16251 disabling the test on any target that uses hardware stepping.
16254 2014-06-06 Pedro Alves <palves@redhat.com>
16256 * gdb.base/break-unload-file.exp: Fix typo.
16258 2014-06-06 Yao Qi <yao@codesourcery.com>
16260 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16261 from "jit_function" to "^jit_function".
16263 2014-06-06 Yao Qi <yao@codesourcery.com>
16265 * gdb.base/async.c (foo): Add one statement.
16266 * gdb.base/async.exp: Get the next instruction address and
16267 match the output of "nexti" by instruction address. Match
16268 the hex address in the output of "finish".
16270 2014-06-06 Gary Benson <gbenson@redhat.com>
16272 * gdb.base/call-signals.c: Remove preprocessor conditionals
16273 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16274 SIGSEGV and SIGTERM.
16275 * gdb.base/sigall.c: Likewise.
16276 * gdb.base/unwindonsignal.c: Likewise.
16277 * gdb.reverse/sigall-reverse.c: Likewise.
16279 2014-06-06 Yao Qi <yao@codesourcery.com>
16281 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16282 readable, skip the test.
16284 2014-06-06 Yao Qi <yao@codesourcery.com>
16286 * gdb.threads/staticthreads.c (thread_function): Move the line
16287 setting breakpoint on forward.
16288 * gdb.threads/staticthreads.exp: Update comments.
16290 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16292 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16293 "history-append! type error".
16295 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16297 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16298 erroneous dprintf expected input.
16300 2014-06-04 Doug Evans <xdje42@gmail.com>
16302 * gdb.guile/scm-generics.exp: Delete.
16304 2014-06-04 Doug Evans <xdje42@gmail.com>
16306 * gdb.guile/scm-breakpoint.exp: Update.
16307 Add tests for breakpoint registration.
16309 2014-06-04 Tom Tromey <tromey@redhat.com>
16311 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16313 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16314 inner_vla_struct, vla_union types. Initialize objects of those
16315 types and compute their sizes.
16317 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16318 Hui Zhu <hui@codesourcery.com>
16320 * gdb.base/fileio.exp: Add test for shell not available as well as
16322 * gdb.base/fileio.c (test_system): Check for shell twice.
16324 2014-06-04 Yao Qi <yao@codesourcery.com>
16326 * gdb.base/auto-connect-native-target.exp: Remove redundant
16327 space from the regexp pattern.
16329 2014-06-04 Yao Qi <yao@codesourcery.com>
16331 * gdb.base/default.exp: Replace "child" with "native" in
16334 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16336 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16337 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16338 * gdb.python/py-xmethods.py: Python script supporting the
16339 new testcase and tests.
16341 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16342 Pedro Alves <palves@redhat.com>
16344 PR breakpoints/17000
16345 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16346 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16348 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16350 * gdb.base/subst.exp: Add tests to verify partial path matching
16353 2014-06-03 Pedro Alves <palves@redhat.com>
16355 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16356 target that doesn't use software single-stepping.
16358 2014-06-03 Pedro Alves <palves@redhat.com>
16360 PR breakpoints/17000
16361 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16362 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16364 2014-06-02 Doug Evans <xdje42@gmail.com>
16366 * gdb.guile/scm-parameter.exp: New file.
16368 2014-06-02 Doug Evans <xdje42@gmail.com>
16370 * gdb.guile/scm-cmd.c: New file.
16371 * gdb.guile/scm-cmd.exp: New file.
16373 2014-06-02 Doug Evans <xdje42@gmail.com>
16375 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16376 pretty-printer lookup.
16377 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16378 (make-pp_s-printer): Call it.
16379 (make-pretty-printer-from-dict): New function.
16380 (lookup-pretty-printer-maker-from-dict): New function.
16381 (*pretty-printer*): Simplify.
16382 (make-objfile-pp_s-printer): New function.
16383 (install-objfile-pretty-printers!): New function.
16384 (make-progspace-pp_s-printer): New function.
16385 (install-progspace-pretty-printers!): New function.
16386 * gdb.guile/scm-progspace.c: New file.
16387 * gdb.guile/scm-progspace.exp: New file.
16389 2014-06-02 Pedro Alves <palves@redhat.com>
16391 * gdb.base/dprintf-bp-same-addr.c: New file.
16392 * gdb.base/dprintf-bp-same-addr.exp: New file.
16394 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16396 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16397 * gdb.arch/powerpc-power.s: Likewise.
16399 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16401 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16403 2014-06-01 Yao Qi <yao@codesourcery.com>
16405 * gdb.base/watchpoint.exp (test_watch_location): Check null
16406 pointer can be dereferenced. If not, do the test, otherwise
16409 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16411 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16413 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16415 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16417 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16418 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16419 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16420 * gdb.arch/amd64-invalid-stack-top.c: New file.
16421 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16423 2014-05-30 Pedro Alves <palves@redhat.com>
16425 PR breakpoints/17000
16426 * gdb.base/sss-bp-on-user-bp.c: New file.
16427 * gdb.base/sss-bp-on-user-bp.exp: New file.
16429 2014-05-30 David Blaikie <dblaikie@gmail.com>
16431 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16432 gnu_inline semantics via attribute.
16433 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16434 source explicitly specifies the required semantics.
16436 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16438 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16440 2014-05-29 Pedro Alves <palves@redhat.com>
16441 Tom Tromey <tromey@redhat.com>
16443 * gdb.base/async-shell.exp: Don't enable target-async.
16444 * gdb.base/async.exp
16445 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16447 (top level): Don't test with "target-async".
16448 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16449 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16450 * gdb.base/inferior-died.exp: Don't enable target-async.
16451 * gdb.base/interrupt-noterm.exp: Likewise.
16452 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16453 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16454 * gdb.mi/mi-nonstop.exp: Likewise.
16455 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16456 * gdb.mi/mi-nsintrall.exp: Likewise.
16457 * gdb.mi/mi-nsmoribund.exp: Likewise.
16458 * gdb.mi/mi-nsthrexec.exp: Likewise.
16459 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16460 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16461 * gdb.python/py-evsignal.exp: Don't enable target-async.
16462 * gdb.python/py-evthreads.exp: Likewise.
16463 * gdb.python/py-prompt.exp: Likewise.
16464 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16465 * gdb.server/solib-list.exp: Don't enable target-async.
16466 * gdb.threads/thread-specific-bp.exp: Likewise.
16467 * lib/mi-support.exp: Adjust to use mi-async.
16469 2014-05-29 Pedro Alves <palves@redhat.com>
16472 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16473 reason, even in sync mode.
16475 2014-05-29 Pedro Alves <palves@redhat.com>
16476 Hui Zhu <hui@codesourcery.com>
16479 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16480 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16481 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16482 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16484 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16486 * config/monitor.exp (gdb_target_monitor): Replace use of
16487 "set remotebaud" by "set serial baud".
16489 2014-05-26 Andy Wingo <wingo@igalia.com>
16491 * gdb.guile/scm-breakpoint.exp:
16492 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16493 properties instead of gdb-object-properties.
16495 2014-05-26 Yao Qi <yao@codesourcery.com>
16497 * gdb.server/no-thread-db.exp: Specify source file name
16498 explicitly when setting a breakpoint.
16500 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16502 * gdb.btrace/vdso.c: New.
16503 * gdb.btrace/vdso.exp: New.
16505 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16507 * gdb.base/gcore.exp (capture_command_output): Move ...
16508 * lib/gdb.exp (capture_command_output): ... here.
16510 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16512 * gdb.btrace/data.exp: Test memory access during btrace replay.
16514 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16516 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16518 2014-05-21 Pedro Alves <palves@redhat.com>
16521 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16522 (top level): Test that output related to execution commands is
16523 sent to the console with CLI commands, but not with MI commands.
16524 Test that breakpoint events are always mirrored to the console.
16525 Also expect the new source line to be output after a "next" in
16526 async mode too. Make it a pass/fail test.
16527 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16529 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16531 2014-05-21 Pedro Alves <palves@redhat.com>
16533 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16534 Use them to test variations of "list" after reaching a breakpoint.
16535 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16536 Test "list" with listsize 10 after reaching a breakpoint.
16537 * gdb.python/python.exp (decode_line current location line
16538 number): Adjust expected line number.
16540 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16542 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16543 behavior for $args, pass it directly to "run".
16545 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16547 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16550 2014-05-21 Pedro Alves <palves@redhat.com>
16552 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16553 auto-connect-native-target off".
16554 * gdb.base/auto-connect-native-target.c: New file.
16555 * gdb.base/auto-connect-native-target.exp: New file.
16557 2014-05-21 Pedro Alves <palves@redhat.com>
16559 * gdb.base/default.exp: Test "target native" instead of "target
16562 2014-05-21 Mark Wielaard <mjw@redhat.com>
16564 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16566 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16568 Fix TLS access for -static -pthread.
16569 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16570 <HAVE_TLS> (thread_function, main): Initialize it.
16571 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16573 <$have_tls != "">: Check TLSVAR.
16575 2014-05-21 Pedro Alves <palves@redhat.com>
16577 * gdb.base/dcache-line-read-error.c: New.
16578 * gdb.base/dcache-line-read-error.exp: New.
16580 2014-05-20 Pedro Alves <palves@redhat.com>
16582 * gdb.base/compare-sections.c: New file.
16583 * gdb.base/compare-sections.exp: New file.
16585 2014-05-20 Pedro Alves <palves@redhat.com>
16587 * gdb.base/break-idempotent.c: New file.
16588 * gdb.base/break-idempotent.exp: New file.
16590 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16592 * gdb.btrace/nohist.exp: New.
16594 2014-05-20 Yao Qi <yao@codesourcery.com>
16596 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16597 gdb.reverse directory and gdb_reverse_timeout exists in board
16599 * README: Document gdb_reverse_timeout.
16601 2014-05-20 Yao Qi <yao@codesourcery.com>
16603 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16604 'test_file_name'. Treat args as a string instead of a list.
16605 (gdb_init): Rename argument 'args' by 'test_file_name'.
16607 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16609 * gdb.arch/powerpc-power.exp: New file.
16610 * gdb.arch/powerpc-power.s: New file.
16612 2014-05-16 Doug Evans <dje@google.com>
16614 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16615 * gdb.base/completion.exp: Check that all expected files exist
16616 before doing file completion.
16618 2014-05-16 Doug Evans <dje@google.com>
16620 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16622 (do_syscall_tests_without_xml): Update.
16624 2014-05-16 Pedro Alves <palves@redhat.com>
16626 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16627 instead of "unknown output after running".
16629 2014-05-16 Yao Qi <yao@codesourcery.com>
16631 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16632 file1.txt from host at the end.
16633 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16635 2014-05-15 Doug Evans <dje@google.com>
16637 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16638 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16639 loading file. Add test for TU lookup.
16641 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16643 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16644 calling "-exec-arguments" or "set args" before running the
16647 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16649 * lib/mi-support.exp (mi_expect_stop): Expect message for
16650 inferiors that exit with non-zero exit code.
16652 2014-05-14 Yao Qi <yao@codesourcery.com>
16654 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16655 match absolute path on remote host.
16656 (test_file_list_exec_source_files): Remove "/" from the
16659 2014-05-14 Yao Qi <yao@codesourcery.com>
16661 * boards/local-remote-host-notty.exp (${board}_file): New
16664 2014-05-07 Kyle McMartin <kyle@redhat.com>
16666 Pushed by Joel Brobecker <brobecker@adacore.com>.
16667 * gdb.arch/aarch64-atomic-inst.c: New file.
16668 * gdb.arch/aarch64-atomic-inst.exp: New file.
16670 2014-05-07 Yao Qi <yao@codesourcery.com>
16672 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16673 in current context" too.
16675 2014-05-05 Keith Seitz <keiths@redhat.com>
16677 * gdb.linespec/ls-dollar.exp: Add test for linespec
16678 file:convenience_variable.
16680 2014-05-05 Yao Qi <yao@codesourcery.com>
16682 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16683 traceframes into tfile and ctf trace files. Read data from
16684 trace file and test collected data.
16685 (gdb_collect_locals_test): Likewise.
16686 (gdb_unavailable_registers_test): Likewise.
16687 (gdb_unavailable_floats): Likewise.
16688 (gdb_collect_globals_test): Likewise.
16689 (top-level): Append "ctf" to trace_file_targets if GDB
16692 2014-05-05 Yao Qi <yao@codesourcery.com>
16694 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16696 (gdb_collect_args_test_1): ... it. New proc.
16697 (gdb_collect_locals_test): Move some code to ...
16698 (gdb_collect_locals_test_1): ... it. New proc.
16699 (gdb_unavailable_registers_test): Move some code to ...
16700 (gdb_unavailable_registers_test_1): ... it. New proc.
16701 (gdb_unavailable_floats): Move some code to ...
16702 (gdb_unavailable_floats_1): ... it. New proc.
16704 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16706 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16707 probes to test for bitness recognition.
16708 * gdb.arch/amd64-stap-optional-prefix.exp
16709 (test_probe_value_without_reg): New procedure.
16710 Add code to test for different kinds of bitness.
16712 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16714 PR breakpoints/16889
16715 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16716 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16718 2014-05-01 Pedro Alves <palves@redhat.com>
16720 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16721 gdb_file_cmd if no file is specified.
16722 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16723 last_loaded_file to set the remote exec-file.
16725 2014-05-01 Pedro Alves <palves@redhat.com>
16727 * boards/local-remote-host.exp: New file.
16729 2014-05-01 Pedro Alves <palves@redhat.com>
16731 * boards/local-remote-host.exp: Rename to ...
16732 * boards/local-remote-host-notty.exp: ... this.
16734 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16736 * gdb.ada/dyn_arrayidx: New testcase.
16738 2014-04-26 Yao Qi <yao@codesourcery.com>
16740 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16741 and compute the length of function main. Save it in
16743 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16744 (top-level): Use gdb_compile to compile objects into
16745 executable and restart GDB. Remove invocation to
16746 prepare_for_testing.
16748 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16749 Pedro Alves <palves@redhat.com>
16752 * gdb.multi/multi-attach.c: New file.
16753 * gdb.multi/multi-attach.exp: New file.
16755 2014-04-25 Pedro Alves <palves@redhat.com>
16757 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16759 (top level): Test that "set remote conditional-breakpoints-packet
16760 off" works as intended.
16761 * gdb.base/dprintf.exp: Test that "set remote
16762 breakpoint-commands-packet off" works as intended.
16763 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16765 (top level): Call it.
16766 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16767 remote fast-tracepoints-packet off" works as intended.
16768 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16769 * lib/gdb.exp (gdb_is_target_remote): ... here.
16771 2014-04-24 David Blaikie <dblaikie@gmail.com>
16773 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16774 ensure clang would not discard them.
16775 * gdb.base/gdbvars.c: Ditto.
16776 * gdb.base/memattr.c: Ditto.
16777 * gdb.base/whatis.c: Ditto.
16778 * gdb.python/py-prettyprint.c: Ditto.
16779 * gdb.trace/actions.c: Ditto.
16780 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16781 ensure clang would not discard it.
16783 2014-04-24 David Blaikie <dblaikie@gmail.com>
16785 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16786 clang to emit the full definition of type required by the test
16787 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16789 2014-04-24 David Blaikie <dblaikie@gmail.com>
16791 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16792 coax Clang into emitting the definition of the type.
16793 * gdb.cp/pr10728-x.h (y): Ditto.
16794 * gdb.cp/pr10728-y.cc (y): Ditto.
16796 2014-04-24 David Blaikie <dblaikie@gmail.com>
16798 * gdb.base/label.exp: XFAIL label related tests under Clang.
16799 * gdb.cp/cplabel.exp: Ditto.
16800 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16801 under Clang those using labels.
16803 2014-04-25 Yao Qi <yao@codesourcery.com>
16805 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16807 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16808 partial_label and double_label.
16810 2014-04-24 David Blaikie <dblaikie@gmail.com>
16812 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16814 2014-04-24 David Blaikie <dblaikie@gmail.com>
16816 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16817 of the function to work across GCC and Clang.
16818 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16819 pointer types (const void ** const V void **).
16821 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16822 Walfred Tedeschi <walfred.tedeschi@intel.com>
16824 * Makefile.in (EXECUTABLES): Added i386-avx512.
16825 * gdb.arch/i386-avx512.c: New file.
16826 * gdb.arch/i386-avx512.exp: Likewise.
16828 2014-04-23 Keith Seitz <keiths@redhat.com>
16830 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16831 (mi_make_breakpoint_table): New procedure.
16832 (mi_create_breakpoint): Use mi_make_breakpoint
16833 and return the result.
16834 (mi_make_breakpoint): New procedure.
16835 (mi_build_kv_pairs): New procedure.
16837 * gdb.mi/mi-break.exp: Remove unused globals,
16838 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16839 All callers updated.
16840 * gdb.mi/mi-dprintf.exp: Use variable to track command
16842 Update all callers of mi_create_breakpoint and use
16843 mi_make_breakpoint_table.
16844 Remove any unused global variables.
16845 * gdb.mi/mi-nonstop.exp: Likewise.
16846 * gdb.mi/mi-nsintrall.exp: Likewise.
16847 * gdb.mi/mi-nsmoribund.exp: Likewise.
16848 * gdb.mi/mi-nsthrexec.exp: Likewise.
16849 * gdb.mi/mi-reverse.exp: Likewise.
16850 * gdb.mi/mi-simplerun.exp: Likewise.
16851 * gdb.mi/mi-stepn.exp: Likewise.
16852 * gdb.mi/mi-syn-frame.exp: Likewise.
16853 * gdb.mi/mi-until.exp: Likewise.
16854 * gdb.mi/mi-var-cp.exp: Likewise.
16855 * gdb.mi/mi-var-display.exp: Likewise.
16856 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16857 * gdb.mi/mi2-var-child.exp: Likewise.
16858 * gdb.mi/mi-vla-c99.exp: Likewise.
16859 * lib/mi-support.exp: Likewise.
16861 From Ian Lance Taylor <iant@cygnus.com>:
16862 * lib/gdb.exp (parse_args): New procedure.
16864 2014-04-23 Pedro Alves <palves@redhat.com>
16866 * gdb.base/break-unload-file.c: New file.
16867 * gdb.base/break-unload-file.exp: New file.
16868 * gdb.base/sym-file-lib.c (baz): New function.
16869 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16871 (load): Store the segment's mapped size.
16872 (unload): New function.
16873 (unload_shlib): New function.
16874 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16875 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16876 set a breakpoint at baz, and call it.
16877 * gdb.base/sym-file.exp: New tests for stale breakpoint
16880 2014-04-23 Pedro Alves <palves@redhat.com>
16882 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16883 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16884 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16885 * gdb.base/hbreak-unmapped.c: New file.
16886 * gdb.base/hbreak-unmapped.exp: New file.
16887 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16888 * lib/gdb.exp (gdb_is_target_remote): ... here.
16890 2014-04-22 Pedro Alves <palves@redhat.com>
16892 * gdb.base/consecutive-step-over.c: New file.
16893 * gdb.base/consecutive-step-over.exp: New file.
16895 2014-04-22 Pedro Alves <palves@redhat.com>
16897 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16898 instead of send_gdb/gdb_expect.
16900 2014-04-22 Yao Qi <yao@codesourcery.com>
16902 * lib/trace-support.exp (generate_tracefile): New procedure.
16903 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16905 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16906 if generate_tracefile returns 1.
16908 2014-04-18 Tom Tromey <palves@redhat.com>
16909 Pedro alves <tromey@redhat.com>
16912 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16913 with a backtrace limit.
16914 * gdb.python/py-frame-inline.exp: Test running to an inline
16915 function with a backtrace limit, and printing the newest frame.
16916 * gdb.python/py-frame-inline.c (main): Call f.
16918 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16920 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16922 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16924 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16925 Drop prefix from unsupported source file path.
16927 2014-04-17 Yao Qi <yao@codesourcery.com>
16929 * lib/gdb.exp (with_target_charset): New proc.
16930 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16931 with_target_charset.
16932 (test_print_strings): Likewise.
16933 (test_repeat_bytes): Likewise.
16934 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16937 2014-04-16 Keith Seitz <keiths@redhat.com>
16940 * gdb.dwarf2/corrupt.c: New file.
16941 * gdb.dwarf2/corrupt.exp: New file.
16943 2014-04-16 Keith Seitz <keiths@redhat.com>
16946 * gdb.cp/namelessclass.cc: New file.
16947 * gdb.cp/namelessclass.exp: New file.
16948 * gdb.cp/namelessclass.S: New file.
16950 2014-04-16 Doug Evans <dje@google.com>
16952 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16954 (gdbserver_default_get_comm_port): New function.
16955 (gdbserver_start): Check if board file provided
16956 "gdbserver,get_comm_port" and use it if so.
16957 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16958 (gdb,socketport): Set to "stdio".
16959 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16960 (stdio_gdbserver_template): Delete.
16961 (${board}_get_remote_address): Update.
16962 (${board}_build_remote_cmd): Delete.
16963 (${board}_get_comm_port): New function.
16964 (${board}_spawn): Update.
16965 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16967 (${board}_get_remote_address): Update.
16968 (${board}_get_comm_port): New function.
16970 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16972 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16973 appearing in any order.
16975 2014-04-15 Doug Evans <dje@google.com>
16977 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16978 uninitialized value of "description".
16980 2014-04-15 Keith Seitz <keiths@redhat.com>
16982 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16983 Remove unused globals.
16984 (test_running_the_program): Likewise.
16985 (test_controlled_execution): Likewise.
16986 (test_controlling_breakpoints): Likewise.
16987 (test_program_termination): Likewise.
16989 2014-04-15 Keith Seitz <keiths@redhat.com>
16991 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16993 (test_rbreak_creation_and_listing): Likewise.
16994 (test_ignore_count): Likewise.
16995 (test_error): Likewise.
16997 2014-04-15 Pedro Alves <palves@redhat.com>
16999 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17000 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17002 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17003 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17004 to sym-file-loader.c.
17005 (struct library): Forward declare.
17006 (load_shlib, lookup_function): Change prototypes.
17007 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17008 (translate_offset): Remove declarations.
17009 (get_text_addr): New declaration.
17010 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17011 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17013 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17014 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17015 here from sym-file-loader.h.
17016 (struct library): New structure.
17017 (load_shlib, lookup_function): Change prototypes and adjust to
17018 work with a struct library.
17019 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17020 (translate_offset): Make static.
17021 (get_text_addr): New function.
17022 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17024 2014-04-15 Pedro Alves <palves@redhat.com>
17026 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17028 2014-04-15 Pedro Alves <palves@redhat.com>
17030 * gdb.base/sym-file-loader.c: Include <limits.h>.
17031 (SELF_LINK): New define.
17032 (get_origin): New function.
17033 (load_shlib): Use it.
17034 * gdb.base/sym-file.exp: Don't early return if the target is
17035 remote. Use runto_main, and issue fail is that fails. Use
17037 (shlib_name): Delete.
17038 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17040 2014-04-15 Pedro Alves <palves@redhat.com>
17042 * gdb.base/sym-file.exp: Remove regex characters from test
17043 message. Don't refer to breakpoint numbers in test messages.
17045 2014-04-14 Keith Seitz <keiths@redhat.com>
17048 * gdb.cp/var-tag.cc: New file.
17049 * gdb.cp/var-tag.exp: New file.
17050 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17051 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17052 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17053 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17055 2014-04-14 Tom Tromey <tromey@redhat.com>
17057 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17058 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17060 * gdb.cp/enum-class.exp: New file.
17061 * gdb.cp/enum-class.cc: New file.
17063 2014-04-14 Tom Tromey <tromey@redhat.com>
17065 * gdb.dwarf2/enum-type.exp: New file.
17067 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17069 * gdb.mi/mi-vla-c99.exp: New file.
17070 * gdb.mi/vla.c: New file.
17072 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17074 * gdb.base/vla-datatypes.c: New file.
17075 * gdb.base/vla-datatypes.exp: New file.
17077 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17079 * gdb.base/vla-ptr.c: New file.
17080 * gdb.base/vla-ptr.exp: New file.
17082 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17084 * gdb.dwarf2/count.exp: New file.
17086 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17088 * gdb.base/vla-sideeffect.c: New file.
17089 * gdb.base/vla-sideeffect.exp: New file.
17091 2014-04-14 David Blaikie <dblaikie@gmail.com>
17093 * gdb.mi/non-stop.c: Add return value for non-void function return
17095 * gdb.threads/staticthreads.c: Ditto.
17097 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17098 Doug Evans <xdje42@gmail.com>
17100 * gdb.guile/scm-value.c: Improve test case.
17101 * gdb.guile/scm-value.exp: Add new test.
17103 2014-04-11 David Blaikie <dblaikie@gmail.com>
17105 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17106 override Clang's default.
17108 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17110 Revert the following changes (regressions):
17112 * gdb.base/vla-sideeffect.c: New file.
17113 * gdb.base/vla-sideeffect.exp: New file.
17115 * gdb.dwarf2/count.exp: New file.
17117 * gdb.base/vla-multi.c: New file.
17118 * gdb.base/vla-multi.exp: New file.
17120 * gdb.base/vla-ptr.c: New file.
17121 * gdb.base/vla-ptr.exp: New file.
17123 * gdb.base/vla-datatypes.c: New file.
17124 * gdb.base/vla-datatypes.exp: New file.
17126 * gdb.mi/mi-vla-c99.exp: New file.
17127 * gdb.mi/vla.c: New file.
17129 2014-04-11 Keith Seitz <keiths@redhat.com>
17132 * gdb.cp/cpsizeof.exp: New file.
17133 * gdb.cp/cpsizeof.cc: New file.
17135 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17137 * gdb.mi/mi-vla-c99.exp: New file.
17138 * gdb.mi/vla.c: New file.
17140 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17142 * gdb.base/vla-datatypes.c: New file.
17143 * gdb.base/vla-datatypes.exp: New file.
17145 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17147 * gdb.base/vla-ptr.c: New file.
17148 * gdb.base/vla-ptr.exp: New file.
17150 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17152 * gdb.base/vla-multi.c: New file.
17153 * gdb.base/vla-multi.exp: New file.
17155 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17157 * gdb.dwarf2/count.exp: New file.
17159 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17161 * gdb.base/vla-sideeffect.c: New file.
17162 * gdb.base/vla-sideeffect.exp: New file.
17164 2014-04-11 Yao Qi <yao@codesourcery.com>
17166 * gdb.base/completion.exp: Check file exists before running tests
17167 on file completion.
17169 2014-04-10 Pedro Alves <palves@redhat.com>
17171 * gdb.base/cond-eval-mode.c: New file.
17172 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17173 prepare_for_testing to build the new file. Check result of
17175 (test_break, test_watch): New procedures.
17176 (top level): Use them.
17178 2014-04-08 Pierre Muller <muller@sourceware.org>
17180 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17181 Ctrl-V use for mingw hosts.
17183 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17185 * gdb.python/py-value.c: Improve test case.
17186 * gdb.python/py-value.exp: Add new test.
17188 2014-04-07 David Blaikie <dblaikie@gmail.com>
17190 * lib/compiler.c: Identify the clang compiler.
17191 * lib/compiler.cc: Ditto.
17193 2014-04-03 Yao Qi <yao@codesourcery.com>
17195 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17197 2014-04-01 Anton Blanchard <anton@samba.org>
17199 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17202 2014-04-01 Anton Blanchard <anton@samba.org>
17204 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17205 prepare_for_testing.
17207 2014-04-01 Anton Blanchard <anton@samba.org>
17209 * gdb.arch/ppc64-atomic-inst.c: Remove.
17210 * gdb.arch/ppc64-atomic-inst.S: New file.
17211 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17213 2014-03-31 Doug Evans <dje@google.com>
17215 * gdb.base/print-symbol-loading-lib.c: New file.
17216 * gdb.base/print-symbol-loading-main.c: New file.
17217 * gdb.base/print-symbol-loading.exp: New file.
17219 2014-03-31 Yao Qi <yao@codesourcery.com>
17221 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17223 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17225 * gdb.ada/mi_dyn_arr: New testcase.
17227 2014-03-27 Doug Evans <dje@google.com>
17229 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17231 2014-03-27 Yao Qi <yao@codesourcery.com>
17233 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17234 if target is nios2-*-*.
17236 2014-03-26 Yao Qi <yao@codesourcery.com>
17238 * lib/gdb.exp (readline_is_used): New proc.
17239 * gdb.base/completion.exp: Move tests on command complete up.
17240 Skip the rest of tests if readline is not used.
17241 * gdb.ada/complete.exp: Skp the test if readline is not
17243 * gdb.base/filesym.exp: Likewise.
17244 * gdb.base/macscp.exp: Likewise.
17245 * gdb.base/readline-ask.exp: Likewise.
17246 * gdb.base/readline.exp: Likewise.
17247 * gdb.python/py-cmd.exp: Likewise.
17248 * gdb.trace/tfile.exp: Likewise.
17250 2014-03-26 Yao Qi <yao@codesourcery.com>
17252 * gdb.base/macscp.exp: Fix code format issues.
17254 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17256 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17257 * gdb.asm/powerpc64le.inc: New file.
17259 2014-03-25 Pedro Alves <palves@redhat.com>
17260 Doug Evans <dje@google.com>
17262 * gdb.base/source-execution.c: New file.
17263 * gdb.base/source-execution.exp: New file.
17264 * gdb.base/source-execution.gdb: New file.
17266 2014-03-24 Doug Evans <dje@google.com>
17268 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17271 2014-03-24 Hui Zhu <hui@codesourcery.com>
17272 Pedro Alves <palves@redhat.com>
17274 PR breakpoints/16101
17275 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17276 test pass/fail messages. Detect missing support for dprintf when
17277 breakpoints are actually inserted.
17278 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17279 breakpoints are actually inserted.
17280 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17283 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17285 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17287 2014-03-22 Doug Evans <xdje42@gmail.com>
17289 * gdb.python/python.exp (python not supported): Verify multi-line
17290 python command issues an error.
17291 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17292 guile command issues an error.
17294 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17296 * gdb.threads/thread-specific.exp: Handle the lack of usable
17297 $this_breakpoint and $this_thread.
17299 2014-03-21 Hui Zhu <hui@codesourcery.com>
17301 * gdb.base/attach.exp (do_command_attach_tests): New.
17303 2014-03-20 Tom Tromey <tromey@redhat.com>
17304 Pedro Alves <palves@redhat.com>
17307 * gdb.base/condbreak-call-false.c: New file.
17308 * gdb.base/condbreak-call-false.exp: New file.
17310 2014-03-20 Pedro Alves <palves@redhat.com>
17312 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17314 (block_signals, unblock_signals): Delete.
17315 (child_function_2, main): Remove references to deleted variable
17318 2014-03-20 Pedro Alves <palves@redhat.com>
17320 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17321 Use pthread_kill to signal thread 2.
17322 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17323 Adjust to make the test send itself a signal rather than using the
17324 host's "kill" command.
17326 2014-03-20 Pedro Alves <palves@redhat.com>
17328 * gdb.threads/multiple-step-overs.c: New file.
17329 * gdb.threads/multiple-step-overs.exp: New file.
17330 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17331 Adjust expected infrun debug output.
17333 2014-03-20 Pedro Alves <palves@redhat.com>
17335 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17336 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17338 2014-03-20 Pedro Alves <palves@redhat.com>
17340 PR breakpoints/7143
17341 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17342 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17343 of gdb_test_multiple.
17344 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17345 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17347 2014-03-20 Pedro Alves <palves@redhat.com>
17349 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17350 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17352 2014-03-19 Pedro Alves <palves@redhat.com>
17354 * gdb.base/async.exp: Remove early return.
17356 2014-03-19 Pedro Alves <palves@redhat.com>
17358 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17360 2014-03-19 Pedro Alves <palves@redhat.com>
17362 * gdb.base/async.exp (test_background): Expect \r\n after
17363 "completed." in the fail pattern.
17365 2014-03-19 Pedro Alves <palves@redhat.com>
17367 * gdb.base/async.exp (test_background): New procedure.
17368 Use it for all background execution command tests.
17370 2014-03-19 Pedro Alves <palves@redhat.com>
17372 * gdb.base/async.exp: Use prepare_for_testing.
17374 2014-03-19 Pedro Alves <palves@redhat.com>
17376 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17379 2014-03-19 Pedro Alves <palves@redhat.com>
17381 * gdb.base/async.c (main): Add "jump here" and "until here" line
17383 * gdb.base/async.exp (jump_here): New global.
17384 (jump& test): Use it.
17385 (until_here): New global.
17386 (until& test): Use it.
17388 2014-03-19 Pedro Alves <palves@redhat.com>
17390 * gdb.base/async.exp: Don't frob gdb_protocol.
17392 2014-03-18 Doug Evans <xdje42@gmail.com>
17394 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17395 Fix spelling of exec-done-display.
17397 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17400 * gdb.base/gdb-sigterm.c: New file.
17401 * gdb.base/gdb-sigterm.exp: New file.
17403 2014-03-18 Pedro Alves <palves@redhat.com>
17406 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17407 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17410 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17412 * gdb.ada/pckd_arr_ren: New testcase.
17414 2014-03-13 Doug Evans <xdje42@gmail.com>
17417 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17418 collect after discarding symbols.
17420 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17421 Doug Evans <xdje42@gmail.com>
17423 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17424 to history survives a gc.
17426 2014-03-13 Pedro Alves <palves@redhat.com>
17428 * gdb.base/default.exp: Don't test "target procfs".
17430 2014-03-13 Pedro Alves <palves@redhat.com>
17432 * gdb.base/default.exp: Update "target child" and "target procfs"
17433 tests to not expect "Unix".
17435 2014-03-12 Tom Tromey <tromey@redhat.com>
17437 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17438 New procs. Add target-async tests.
17439 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17440 Add target-async tests.
17442 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17444 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17445 'func_start' and 'func_end' for the beginning and end of the
17446 function code, respectively.
17447 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17448 'func_end' instead of 'func' and 'main'.
17450 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17452 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17453 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17454 generate the debug info assembler source.
17456 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17458 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17459 * gdb.dwarf2/arr-subrange.exp: Likewise.
17460 * gdb.dwarf2/dwz.exp: Likewise.
17461 * gdb.dwarf2/method-ptr.exp: Likewise.
17462 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17463 * gdb.dwarf2/subrange.exp: Likewise.
17464 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17465 * gdb.dwarf2/implptrpiece.exp: Likewise.
17466 * gdb.dwarf2/nostaticblock.exp: Likewise.
17468 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17470 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17471 directory to absolute path name arguments.
17473 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17475 * gdb.ada/tagged_access: New testcase.
17477 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17479 * gdb.btrace/data.exp: Update expected output.
17481 2014-03-06 Yao Qi <yao@codesourcery.com>
17483 * gdb.trace/pr16508.exp: New file.
17485 2014-03-05 Pedro Alves <palves@redhat.com>
17488 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17490 (top level): Adjust to use it. Add tests that exercise breakpoint
17491 interaction with the code-cache.
17493 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17495 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17496 test for 'history-append!'.
17498 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17500 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17501 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17502 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17503 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17504 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17505 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17507 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17509 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17510 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17511 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17513 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17515 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17517 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17519 * gdb.dwarf2/arr-stride.c: New file.
17520 * gdb.dwarf2/arr-stride.exp: New file.
17522 2014-02-26 Pedro Alves <palves@redhat.com>
17524 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17525 that won't ever trigger. Make sure that GDB reports the correct
17526 breakpoint that caused the stop.
17528 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17531 * gdb.base/auto-load-script: New file.
17532 * gdb.base/auto-load.c: New file.
17533 * gdb.base/auto-load.exp: New file.
17536 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17538 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17540 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17541 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17543 2014-02-24 Doug Evans <dje@google.com>
17545 * lib/gdb.exp (run_on_host): Log error output if program fails.
17547 2014-02-21 Pedro Alves <palves@redhat.com>
17549 * gdb.threads/step-after-sr-lock.c: Rename to ...
17550 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17551 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17552 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17555 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17558 * gdb.arch/amd64-stap-special-operands.exp: New file.
17559 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17560 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17561 * gdb.arch/amd64-stap-triplet.S: Likewise.
17562 * gdb.arch/amd64-stap-triplet.c: Likewise.
17564 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17566 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17567 in .section pseudo-op.
17569 2014-02-20 lin zuojian <manjian2006@gmail.com>
17570 Joel Brobecker <brobecker@adacore.com>
17571 Doug Evans <xdje42@gmail.com>
17574 * gdb.dwarf2/dw2-icycle.S: New file.
17575 * gdb.dwarf2/dw2-icycle.c: New file.
17576 * gdb.dwarf2/dw2-icycle.exp: New file.
17578 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17580 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17581 operations on gdb.Value objects.
17582 * gdb.python/py-value-cc.exp: Add new test to test operations on
17585 2014-02-18 Doug Evans <dje@google.com>
17587 * Makefile.in (TESTS): New variable.
17588 (expanded_tests, expanded_tests_or_none): New variables
17589 (check-single): Pass $(expanded_tests_or_none) to runtest.
17590 (check-parallel): Only run tests in $(TESTS) if non-empty.
17591 (check/no-matching-tests-found): New rule.
17592 * README: Document TESTS makefile variable.
17594 2014-02-18 Doug Evans <dje@google.com>
17596 * Makefile.in (check-parallel): rm -rf outputs temp.
17598 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17600 Fix "ERROR: no fileid for" in the testsuite.
17601 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17603 2014-02-12 Doug Evans <dje@google.com>
17605 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17606 (MISCELLANEOUS): New variable.
17607 (clean): rm -rf $(MISCELLANEOUS).
17608 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17609 dwp live in the same directory as symlinks, with each symlink pointed
17610 to a differently named file in a different directory.
17612 2014-02-11 Doug Evans <dje@google.com>
17614 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17615 of Tcl file commands.
17617 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17619 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17620 "kill -SIGUSR1 -1".
17622 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17624 * gdb.ada/tick_length_array_enum_idx: New testcase.
17626 2014-02-10 Doug Evans <xdje42@gmail.com>
17628 * configure.ac (AC_OUTPUT): Add gdb.guile.
17629 * configure: Regenerate.
17630 * lib/gdb-guile.exp: New file.
17631 * lib/gdb.exp (get_target_charset): New function.
17632 * gdb.base/help.exp: Update expected output from "apropos apropos".
17633 * gdb.guile/Makefile.in: New file.
17634 * gdb.guile/guile.exp: New file.
17635 * gdb.guile/scm-arch.c: New file.
17636 * gdb.guile/scm-arch.exp: New file.
17637 * gdb.guile/scm-block.c: New file.
17638 * gdb.guile/scm-block.exp: New file.
17639 * gdb.guile/scm-breakpoint.c: New file.
17640 * gdb.guile/scm-breakpoint.exp: New file.
17641 * gdb.guile/scm-disasm.c: New file.
17642 * gdb.guile/scm-disasm.exp: New file.
17643 * gdb.guile/scm-equal.c: New file.
17644 * gdb.guile/scm-equal.exp: New file.
17645 * gdb.guile/scm-error.exp: New file.
17646 * gdb.guile/scm-error.scm: New file.
17647 * gdb.guile/scm-frame-args.c: New file.
17648 * gdb.guile/scm-frame-args.exp: New file.
17649 * gdb.guile/scm-frame-args.scm: New file.
17650 * gdb.guile/scm-frame-inline.c: New file.
17651 * gdb.guile/scm-frame-inline.exp: New file.
17652 * gdb.guile/scm-frame.c: New file.
17653 * gdb.guile/scm-frame.exp: New file.
17654 * gdb.guile/scm-generics.exp: New file.
17655 * gdb.guile/scm-gsmob.exp: New file.
17656 * gdb.guile/scm-iterator.c: New file.
17657 * gdb.guile/scm-iterator.exp: New file.
17658 * gdb.guile/scm-math.c: New file.
17659 * gdb.guile/scm-math.exp: New file.
17660 * gdb.guile/scm-objfile-script-gdb.in: New file.
17661 * gdb.guile/scm-objfile-script.c: New file.
17662 * gdb.guile/scm-objfile-script.exp: New file.
17663 * gdb.guile/scm-objfile.c: New file.
17664 * gdb.guile/scm-objfile.exp: New file.
17665 * gdb.guile/scm-ports.exp: New file.
17666 * gdb.guile/scm-pretty-print.c: New file.
17667 * gdb.guile/scm-pretty-print.exp: New file.
17668 * gdb.guile/scm-pretty-print.scm: New file.
17669 * gdb.guile/scm-section-script.c: New file.
17670 * gdb.guile/scm-section-script.exp: New file.
17671 * gdb.guile/scm-section-script.scm: New file.
17672 * gdb.guile/scm-symbol.c: New file.
17673 * gdb.guile/scm-symbol.exp: New file.
17674 * gdb.guile/scm-symtab-2.c: New file.
17675 * gdb.guile/scm-symtab.c: New file.
17676 * gdb.guile/scm-symtab.exp: New file.
17677 * gdb.guile/scm-type.c: New file.
17678 * gdb.guile/scm-type.exp: New file.
17679 * gdb.guile/scm-value-cc.cc: New file.
17680 * gdb.guile/scm-value-cc.exp: New file.
17681 * gdb.guile/scm-value.c: New file.
17682 * gdb.guile/scm-value.exp: New file.
17683 * gdb.guile/source2.scm: New file.
17684 * gdb.guile/types-module.cc: New file.
17685 * gdb.guile/types-module.exp: New file.
17687 2014-02-10 Yao Qi <yao@codesourcery.com>
17690 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17691 * configure: Regenerated.
17692 * Makefile.in: New file.
17694 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17696 * gdb.python/py-framefilter.exp: Fix typo.
17698 2014-02-08 Yao Qi <yao@codesourcery.com>
17700 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17701 that no =breakpoint-modified is emitted when breakpoints are
17702 modified through MI commands.
17704 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17705 Pedro Alves <palves@redhat.com>
17707 * gdb.threads/step-after-sr-lock.c: New file.
17708 * gdb.threads/step-after-sr-lock.exp: New file.
17710 2014-02-07 Pedro Alves <palves@redhat.com>
17712 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17714 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17716 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17717 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17719 2014-02-06 Doug Evans <xdje42@gmail.com>
17721 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17724 * gdb.gdb/python-interrupts.exp: New file.
17726 2014-02-05 Yao Qi <yao@codesourcery.com>
17728 * gdb.trace/report.exp (use_collected_data): Test the output
17729 of "info threads" and "info inferiors".
17731 2014-02-05 Yao Qi <yao@codesourcery.com>
17735 2013-05-24 Yao Qi <yao@codesourcery.com>
17737 * gdb.trace/tfile.exp: Test inferior and thread.
17739 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17741 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17743 * gdb.base/step-bt.c: Call hello via function pointer to make
17744 sure its first instruction is executed on powerpc64le-linux.
17746 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17748 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17750 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17752 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17753 of the test patterns for use on little-endian systems.
17755 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17757 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17758 (decimal_vector): Fix for little-endian.
17760 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17762 * gdb.arch/sparc-sysstep.exp: New file.
17763 * gdb.arch/sparc-sysstep.c: Likewise.
17765 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17767 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17769 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17771 2014-01-23 Tom Tromey <tromey@redhat.com>
17773 * gdb.ada/array_char_idx: New testcase.
17775 2014-01-23 Tom Tromey <tromey@redhat.com>
17778 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17779 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17782 2014-01-23 Tom Tromey <tromey@redhat.com>
17785 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17786 string from an inferior frame.
17787 * gdb.python/py-framefilter-mi.exp: Update.
17789 2014-01-22 Doug Evans <dje@google.com>
17791 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17793 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17795 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17797 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17799 * gdb.trace/entry-values.exp: Remove excess space character from
17800 regex patterns. Handle s390 call instruction.
17802 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17804 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17805 define "*_start" label. Make "name" static.
17806 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17807 ${name} by references to ${name}_start.
17809 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17811 * gdb.base/info-macros.exp: Remove "debug" from the compile
17814 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17816 * gdb.dlang/demangle.exp: New file.
17818 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17820 * gdb.dlang/primitive-types.exp: New file.
17822 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17824 * configure.ac: Create gdb.dlang/Makefile.
17825 * configure: Regenerate.
17826 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17827 * gdb.dlang/Makefile.in: New file.
17828 * lib/d-support.exp: New file.
17829 * lib/gdb.exp (skip_d_tests): New proc.
17831 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17833 * gdb.btrace/delta.exp: Check reverse stepi.
17834 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17835 * gdb.btrace/finish.exp: New.
17836 * gdb.btrace/next.exp: New.
17837 * gdb.btrace/nexti.exp: New.
17838 * gdb.btrace/record_goto.c: Add comments.
17839 * gdb.btrace/step.exp: New.
17840 * gdb.btrace/stepi.exp: New.
17841 * gdb.btrace/multi-thread-step.c: New.
17842 * gdb.btrace/multi-thread-step.exp: New.
17843 * gdb.btrace/rn-dl-bind.c: New.
17844 * gdb.btrace/rn-dl-bind.exp: New.
17845 * gdb.btrace/data.c: New.
17846 * gdb.btrace/data.exp: New.
17847 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17849 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17851 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17852 * gdb.btrace/exception.exp: Update.
17853 * gdb.btrace/instruction_history.exp: Update.
17854 * gdb.btrace/record_goto.exp: Update.
17855 * gdb.btrace/tailcall.exp: Update.
17856 * gdb.btrace/unknown_functions.exp: Update.
17857 * gdb.btrace/delta.exp: New.
17859 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17861 * gdb.btrace/record_goto.exp: Add backtrace test.
17862 * gdb.btrace/tailcall.exp: Add backtrace test.
17864 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17866 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17867 * gdb.btrace/record_goto.c: New.
17868 * gdb.btrace/record_goto.exp: New.
17869 * gdb.btrace/x86-record_goto.S: New.
17871 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17873 * gdb.btrace/function_call_history.exp: Update tests.
17874 * gdb.btrace/instruction_history.exp: Update tests.
17876 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17878 * gdb.btrace/function_call_history.exp: Fix expected field
17879 order for "record function-call-history".
17880 Add new tests for "record function-call-history /c".
17881 * gdb.btrace/exception.cc: New.
17882 * gdb.btrace/exception.exp: New.
17883 * gdb.btrace/tailcall.exp: New.
17884 * gdb.btrace/x86-tailcall.S: New.
17885 * gdb.btrace/x86-tailcall.c: New.
17886 * gdb.btrace/unknown_functions.c: New.
17887 * gdb.btrace/unknown_functions.exp: New.
17888 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17890 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17892 * gdb.btrace/instruction_history.exp: Update.
17893 * gdb.btrace/function_call_history.exp: Update.
17895 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17897 * gdb.btrace/function_call_history.exp: Fix expected function
17899 * gdb.btrace/instruction_history.exp: Initialize traced.
17900 Remove traced_functions.
17902 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17904 * gdb.btrace/function_call_history.exp: Update
17905 * gdb.btrace/instruction_history.exp: Update.
17907 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17909 * gdb.btrace/enable.exp: Update expected text.
17911 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17913 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17916 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17918 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17920 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17922 * lib/gdb.exp (supports_process_record): Return true for
17923 arm*-linux*. (supports_reverse): Likewise.
17925 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17929 * gdb.python/py-type.c: Enhance test case.
17930 * gdb.python/py-value-cc.cc: Likewise
17931 * gdb.python/py-type.exp: Add new tests.
17932 * gdb.python/py-value-cc.exp: Likewise
17934 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17935 Pedro Alves <palves@redhat.com>
17937 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17938 Make "name" extern.
17939 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17940 references to ${name}_start by references to ${name}.
17942 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17944 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17946 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17948 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17950 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17951 Pedro Alves <palves@redhat.com>
17953 * gdb.mi/mi-info-os.exp: Connect to the target with
17954 mi_gdb_target_load.
17956 2014-01-08 Pedro Alves <palves@redhat.com>
17958 * gdb.threads/reconnect-signal.c: New file.
17959 * gdb.threads/reconnect-signal.exp: New file.
17961 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17963 * gdb.base/source-dir.exp: New file.
17965 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17967 * gdb.ada/mi_interface: New testcase.
17969 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17971 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17972 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17973 gdb.ada/pp-rec-component/pck.ads: New files.
17975 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17977 * gdb.python/py-pp-integral.c: New file.
17978 * gdb.python/py-pp-integral.py: New file.
17979 * gdb.python/py-pp-integral.exp: New file.
17981 For older changes see ChangeLog-1993-2013.
17983 ;; Local Variables:
17984 ;; mode: change-log
17987 ;; version-control: never
17990 Copyright 2014-2019 Free Software Foundation, Inc.
17991 Copying and distribution of this file, with or without modification,
17992 are permitted provided the copyright notice and this notice are preserved.