1 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
3 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4 Add quote in test name.
6 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
8 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
10 * gdb.cp/pass-by-ref.exp: Extend with more cases.
11 * gdb.cp/pass-by-ref-2.cc: New file.
12 * gdb.cp/pass-by-ref-2.exp: New file.
14 2019-12-20 Tom Tromey <tom@tromey.com>
16 * gdb.tui/list-before.exp: New file.
18 2019-12-20 Tom Tromey <tom@tromey.com>
20 * gdb.tui/list.exp: Check for source on initial listing.
22 2019-12-11 Tom Tromey <tromey@adacore.com>
24 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
27 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
29 * gdb.base/default.exp: Update value of $_gdb_major.
31 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
33 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
35 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
37 * gdb.base/skip.exp: Whitespace fix.
39 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
41 * gdb.base/skip-inline.c: New file.
42 * gdb.base/skip-inline.exp: New file.
44 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
46 * gdb.base/jit-reader.exp (jit_reader_test): Rename
47 jit_function_00 to jit_function_stack_mangle.
48 * gdb.base/jithost.c (jit_function_t): Rename to...
49 (jit_function_stack_mangle_t): ... this.
50 (jit_function_add_t): New typedef.
51 (jit_function_00_code): Rename to...
52 (jit_function_stack_mangle_code): ... this, make static.
53 (jit_function_add_code): New.
54 (main): Generate "add" function and call it. Adjust to changes
56 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
57 (struct jithost_abi) <begin, end>: Remove fields.
58 <object, function_stack_mangle, function_add>: New fields.
59 * gdb.base/jitreader.c (struct reader_state) <code_begin,
60 code_end>: Remove fields.
61 <func_stack_mangle>: New field.
62 (read_debug_info): Adjust to renaming, create block for "add"
64 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
66 2019-12-11 Tom Tromey <tom@tromey.com>
68 * gdb.tui/resize.exp: Fix regexp.
69 * gdb.tui/regs.exp: Fix regexps.
70 * gdb.tui/main.exp: Fix regexp.
72 2019-12-11 Tom Tromey <tom@tromey.com>
74 * gdb.tui/resize.exp: Update.
75 * gdb.tui/empty.exp (layouts): Update.
77 2019-12-11 Tom Tromey <tom@tromey.com>
79 * gdb.tui/regs.exp: Update.
80 * gdb.tui/empty.exp (layouts): Update.
81 * gdb.tui/basic.exp: Update.
82 * lib/tuiterm.exp (_check_box): Don't check bottom border.
84 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
86 * gdb.base/options.exp: Add -raw-values in the print completion list.
87 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
89 2019-12-10 Kevin Buettner <kevinb@redhat.com>
91 * gdb.threads/omp-par-scope.c: New file.
92 * gdb/threads/omp-par-scope.exp: New file.
94 2019-12-10 Kevin Buettner <kevinb@redhat.com>
96 * lib/gdb.exp (support_nested_function_tests): New proc.
98 2019-12-10 Kevin Buettner <kevinb@redhat.com>
100 * lib/gdb.exp (gdb_compile_openmp): New proc.
101 (build_executable_from_specs): Add an "openmp" option.
102 (gdb_compile_pthreads): Add non-executable case.
104 2019-12-10 Tom Tromey <tromey@adacore.com>
106 * gdb.ada/unchecked_union.exp: New file.
107 * gdb.ada/unchecked_union/pck.adb: New file.
108 * gdb.ada/unchecked_union/pck.ads: New file.
109 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
110 * gdb-utils.exp (string_to_regexp): Also quote "?".
112 2019-12-10 George Barrett <bob@bob131.so>
114 Test scripted probe breakpoints.
115 * gdb.guile/scm-breakpoint.c (main): Add probe point.
116 * gdb.python/py-breakpoint.c (main): Likewise.
117 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
119 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
121 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
123 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
125 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
128 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
130 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
133 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
135 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
136 broken version of GCC.
138 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
140 * gdb.fortran/info-modules.exp: Rewrite to make use of new
141 sym-info-cmds library.
142 * gdb.fortran/info-types.exp: Likewise.
143 * lib/sym-info-cmds.exp: New file.
145 2019-12-08 Tom de Vries <tdevries@suse.de>
147 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
149 2019-12-07 Keith Seitz <keiths@redhat.com>
151 * gdb.base/corefile-buildid-shlib-shr.c: New file.
152 * gdb.base/corefile-buildid-shlib.c: New file.
153 * gdb.base/corefile-buildid.c: New file.
154 * gdb.base/corefile-buildid.exp: New file.
156 2019-12-06 Tom de Vries <tdevries@suse.de>
158 * gdb.dwarf2/varval.exp: Add decl before def test.
160 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
162 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
164 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
166 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
167 CV and reference conversion for overload resolution.
168 * gdb.cp/rvalue-ref-overload.exp: Test it.
170 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
172 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
173 * gdb.base/frameapply.exp: Test faas without command.
175 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
177 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
179 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
182 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
184 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
185 casting to type with no kind specified.
186 (test_basic_parsing_of_type_kinds): Additional tests for types
187 with no kind specified, and add tests for single/double
188 precision/complex types.
190 2019-12-04 Tom Tromey <tromey@adacore.com>
192 * gdb.base/endianity.c (struct other) <x>: New field.
193 (main): Initialize it.
194 * gdb.base/endianity.exp: Update.
196 2019-12-04 Tom Tromey <tromey@adacore.com>
198 * gdb.ada/scalar_storage/storage.adb: New file.
199 * gdb.ada/scalar_storage/pck.adb: New file.
200 * gdb.ada/scalar_storage/pck.ads: New file.
201 * gdb.ada/scalar_storage.exp: New file.
203 2019-12-04 Tom Tromey <tromey@adacore.com>
205 * gdb.base/endianity.c (struct otherendian) <f>: New field.
206 (main): Initialize it.
207 * gdb.base/endianity.exp: Update.
209 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
211 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
213 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
215 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
216 -symbol-info-module-functions and -symbol-info-module-variables.
218 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
220 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
222 2019-12-01 Richard Bunt <richard.bunt@arm.com>
223 Andrew Burgess <andrew.burgess@embecosm.com>
225 * gdb.fortran/derived-type-striding.exp: New file.
226 * gdb.fortran/derived-type-striding.f90: New file.
227 * gdb.fortran/array-slices.exp: New file.
228 * gdb.fortran/array-slices.f90: New file.
230 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
232 * gdb.base/define.exp: Test . in command names.
233 * gdb.base/setshow.exp: Update test, as . is now part of
236 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
238 * gdb.base/define-prefix.exp: New file.
240 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
242 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
244 (skip_btrace_pt_tests): Likewise.
246 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
248 * gdb.fortran/info-modules.exp: Compile source files in correct
251 2019-11-27 Kevin Buettner <kevinb@redhat.com>
253 * gdb.dwarf2/imported-unit.exp: New file.
254 * gdb.dwarf2/imported-unit.c: New file.
256 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
258 * gdb.mi/mi-fortran-modules-2.f90: New file.
259 * gdb.mi/mi-fortran-modules.exp: New file.
260 * gdb.mi/mi-fortran-modules.f90: New file.
262 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
264 * gdb.mi/mi-sym-info-1.c: New file.
265 * gdb.mi/mi-sym-info-2.c: New file.
266 * gdb.mi/mi-sym-info.exp: New file.
268 2019-11-22 Tom Tromey <tromey@adacore.com>
270 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
271 * gdb.ada/tasks/foo.adb: Add another stopping location.
273 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
275 * gdb.base/endianity.c: New test.
276 * gdb.base/endianity.exp: New file.
278 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
280 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
282 2019-11-21 Tom de Vries <tdevries@suse.de>
285 * gdb.base/ui-redirect.exp: Test output of user-defined command.
287 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
289 * gdb.python/py-progspace.exp: Add missing parentheses on some
292 2019-11-19 Tom Tromey <tom@tromey.com>
294 * gdb.tui/winheight.exp: New file.
296 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
298 * gdb.base/ctf-whatis.c: Delete.
299 * gdb.base/ctf-whatis.exp: Delete.
300 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
302 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
304 * gdb.base/ctf-cvexpr.exp: Delete.
305 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
307 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
309 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
310 the compiler. Clean up header comment a little.
311 * gdb.base/ctf-ptype.exp: Likewise.
312 * gdb.base/ctf-whatis.exp: Likewise.
313 * lib/gdb.exp (skip_ctf_tests): New proc.
315 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
317 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
318 * gdb.tui/corefile-run.exp: New file.
320 2019-11-14 Tom Tromey <tromey@adacore.com>
322 * gdb.base/gdbvars.exp (test_convenience_variables): Add
325 2019-11-12 Tom Tromey <tom@tromey.com>
327 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
328 after any command. Expect prompt after WAIT_FOR is seen.
329 (enter_tui): Enable resize messages.
330 (command): Expect command in output.
331 (get_line): Avoid error when cursor appears to be off-screen.
332 (dump_screen): Include screen size in title.
333 (_do_resize): New proc, from "resize".
334 (resize): Rewrite. Do resize in two steps.
335 * gdb.tui/empty.exp (layouts): Fix entries.
336 (check_boxes): Remove xfail.
337 (check_text): Dump screen on failure.
339 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
341 * gdb.python/py-symbol.exp: Add test for
342 gdb.lookup_static_symbols.
344 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
346 * gdb.python/py-symbol.c: Declare and call function from new
348 * gdb.python/py-symbol.exp: Compile both source files, and add new
349 tests for gdb.lookup_static_symbol.
350 * gdb.python/py-symbol-2.c: New file.
352 2019-11-02 Tom de Vries <tdevries@suse.de>
354 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
355 * gdb.base/anon.exp: Same.
356 * gdb.base/auto-connect-native-target.exp: Same.
357 * gdb.base/call-ar-st.exp: Same.
358 * gdb.base/catch-syscall.exp: Same.
359 * gdb.base/commands.exp: Same.
360 * gdb.base/default.exp: Same.
361 * gdb.base/display.exp: Same.
362 * gdb.base/float.exp: Same.
363 * gdb.base/foll-fork.exp: Same.
364 * gdb.base/help.exp: Same.
365 * gdb.base/info-macros.exp: Same.
366 * gdb.base/info-proc.exp: Same.
367 * gdb.base/info-target.exp: Same.
368 * gdb.base/long_long.exp: Same.
369 * gdb.base/macscp.exp: Same.
370 * gdb.base/memattr.exp: Same.
371 * gdb.base/nofield.exp: Same.
372 * gdb.base/pointers.exp: Same.
373 * gdb.base/printcmds.exp: Same.
374 * gdb.base/ptype.exp: Same.
375 * gdb.base/restore.exp: Same.
376 * gdb.base/return.exp: Same.
377 * gdb.base/scope.exp: Same.
378 * gdb.base/set-noassign.exp: Same.
379 * gdb.base/setshow.exp: Same.
380 * gdb.base/shlib-call.exp: Same.
381 * gdb.base/signals.exp: Same.
382 * gdb.base/sigstep.exp: Same.
383 * gdb.base/skip.exp: Same.
384 * gdb.base/solib-symbol.exp: Same.
385 * gdb.base/stap-probe.exp: Same.
386 * gdb.base/step-line.exp: Same.
387 * gdb.base/step-test.exp: Same.
388 * gdb.base/style.exp: Same.
389 * gdb.base/varargs.exp: Same.
390 * gdb.base/vla-datatypes.exp: Same.
391 * gdb.base/vla-ptr.exp: Same.
392 * gdb.base/vla-sideeffect.exp: Same.
393 * gdb.base/volatile.exp: Same.
394 * gdb.base/watch-cond-infcall.exp: Same.
395 * gdb.base/watchpoint.exp: Same.
397 2019-11-02 Tom de Vries <tdevries@suse.de>
399 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
400 * gdb.cp/cpexprs.exp: Same.
401 * gdb.cp/except-multi-location.exp: Same.
402 * gdb.cp/exceptprint.exp: Same.
403 * gdb.cp/gdb2384.exp: Same.
404 * gdb.cp/inherit.exp: Same.
405 * gdb.cp/m-static.exp: Same.
406 * gdb.cp/meth-typedefs.exp: Same.
407 * gdb.cp/misc.exp: Same.
408 * gdb.cp/namespace.exp: Same.
409 * gdb.cp/non-trivial-retval.exp: Same.
410 * gdb.cp/overload.exp: Same.
411 * gdb.cp/pr17132.exp: Same.
412 * gdb.cp/re-set-overloaded.exp: Same.
413 * gdb.cp/rvalue-ref-types.exp: Same.
414 * gdb.cp/templates.exp: Same.
416 2019-11-01 Luis Machado <luis.machado@linaro.org>
420 * gdb.arch/pr25124.S: New file.
421 * gdb.arch/pr25124.exp: New file.
423 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
425 * gdb.fortran/info-modules.exp: Update expected results, and add
426 additional tests for 'info module functinos', and 'info module
428 * gdb.fortran/info-types.exp: Update expected results.
429 * gdb.fortran/info-types.f90: Extend testcase with additional
430 module variables and functions.
432 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
434 * gdb.fortran/info-modules.exp: New file.
435 * gdb.fortran/info-types.exp: Build with new file.
436 * gdb.fortran/info-types.f90: Include and use new module.
437 * gdb.fortran/info-types-2.f90: New file.
439 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
441 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
442 * gdb.base/settings.exp: Test all settings types using
443 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
444 that now verifies that the value of "maint show" is the same as
445 returned by the settings functions. Test the type of the
446 maintenance settings.
447 * gdb.base/default.exp: Update show_conv_list.
449 2019-10-31 Tom de Vries <tdevries@suse.de>
451 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
453 * gdb.arch/amd64-disp-step.exp: Same.
454 * gdb.asm/asm-source.exp: Same.
455 * gdb.btrace/buffer-size.exp: Same.
456 * gdb.btrace/cpu.exp: Same.
457 * gdb.btrace/enable.exp: Same.
458 * gdb.dwarf2/count.exp: Same.
459 * gdb.dwarf2/dw2-ranges-func.exp: Same.
460 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
461 * gdb.fortran/vla-datatypes.exp: Same.
462 * gdb.fortran/vla-history.exp: Same.
463 * gdb.fortran/vla-ptype.exp: Same.
464 * gdb.fortran/vla-value.exp: Same.
465 * gdb.fortran/whatis_type.exp: Same.
466 * gdb.guile/guile.exp: Same.
467 * gdb.multi/tids.exp: Same.
468 * gdb.python/py-finish-breakpoint.exp: Same.
469 * gdb.python/py-framefilter.exp: Same.
470 * gdb.python/py-pp-registration.exp: Same.
471 * gdb.python/py-xmethods.exp: Same.
472 * gdb.python/python.exp: Same.
473 * gdb.server/connect-with-no-symbol-file.exp: Same.
474 * gdb.server/no-thread-db.exp: Same.
475 * gdb.server/run-without-local-binary.exp: Same.
476 * gdb.stabs/weird.exp: Same.
477 * gdb.threads/attach-many-short-lived-threads.exp: Same.
478 * gdb.threads/thread-find.exp: Same.
479 * gdb.threads/tls-shared.exp: Same.
480 * gdb.threads/tls.exp: Same.
481 * gdb.threads/wp-replication.exp: Same.
482 * gdb.trace/ax.exp: Same.
483 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
485 2019-10-31 Tom de Vries <tdevries@suse.de>
487 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
488 * gdb.ada/array_subscript_addr.exp: Same.
489 * gdb.ada/arrayidx.exp: Same.
490 * gdb.ada/arrayparam.exp: Same.
491 * gdb.ada/arrayptr.exp: Same.
492 * gdb.ada/boolean_expr.exp: Same.
493 * gdb.ada/call_pn.exp: Same.
494 * gdb.ada/complete.exp: Same.
495 * gdb.ada/fixed_cmp.exp: Same.
496 * gdb.ada/fun_addr.exp: Same.
497 * gdb.ada/funcall_param.exp: Same.
498 * gdb.ada/interface.exp: Same.
499 * gdb.ada/mod_from_name.exp: Same.
500 * gdb.ada/null_array.exp: Same.
501 * gdb.ada/packed_array.exp: Same.
502 * gdb.ada/packed_tagged.exp: Same.
503 * gdb.ada/print_chars.exp: Same.
504 * gdb.ada/print_pc.exp: Same.
505 * gdb.ada/ptype_arith_binop.exp: Same.
506 * gdb.ada/ptype_field.exp: Same.
507 * gdb.ada/ptype_tagged_param.exp: Same.
508 * gdb.ada/rec_return.exp: Same.
509 * gdb.ada/ref_tick_size.exp: Same.
510 * gdb.ada/str_ref_cmp.exp: Same.
511 * gdb.ada/taft_type.exp: Same.
512 * gdb.ada/tagged.exp: Same.
513 * gdb.ada/type_coercion.exp: Same.
514 * gdb.ada/uninitialized_vars.exp: Same.
516 2019-10-30 Tom de Vries <tdevries@suse.de>
518 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
520 2019-10-26 Tom de Vries <tdevries@suse.de>
522 * gdb.base/bigcore.c: Fix typos in comments.
523 * gdb.base/ctf-ptype.c: Same.
524 * gdb.base/long_long.c: Same.
525 * gdb.dwarf2/dw2-op-out-param.S: Same.
526 * gdb.python/py-evthreads.c: Same.
527 * gdb.reverse/i387-stack-reverse.c: Same.
528 * gdb.trace/tfile.c: Same.
529 * lib/compiler.c: Same.
530 * lib/compiler.cc: Same.
532 2019-10-25 Tom de Vries <tdevries@suse.de>
534 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
535 gdb_test_multiple calls.
536 * gdb.reverse/sigall-reverse.exp: Same.
537 * gdb.reverse/solib-precsave.exp: Same.
538 * gdb.reverse/solib-reverse.exp: Same.
539 * gdb.reverse/until-precsave.exp: Same.
540 * gdb.reverse/until-reverse.exp: Same.
542 2019-10-24 Tom de Vries <tdevries@suse.de>
544 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
545 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
546 kfail using -wrap pattern flag and convenience variable
549 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
551 * gdb.python/py-progspace.exp: Add tests for the
552 Progspace.block_for_pc method.
554 2019-10-23 Tom Tromey <tom@tromey.com>
556 * configure: Rebuild.
557 * aclocal.m4: Use m4_include, not sinclude.
559 2019-10-21 Tom de Vries <tdevries@suse.de>
561 * gdb.base/infcall-nested-structs.c: Add
562 __attribute__((noinline,noclone)) to all functions.
563 (call_all): Add missing variable initialization. Simplify return value.
564 (breakpt): Increment volatile variable, to prevent call from being
566 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
568 2019-10-17 Tom de Vries <tdevries@suse.de>
570 * gdb.fortran/module.exp: Allow info variables to print info for files
571 other than module.f90.
573 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
575 * gdb.fortran/module.exp: Extend with 'info variables' test.
577 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
579 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
582 2019-10-16 Tom de Vries <tdevries@suse.de>
585 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
587 2019-10-16 Tom de Vries <tdevries@suse.de>
590 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
591 Add KFAIL for PR tdep/25096.
593 2019-10-16 Tom de Vries <tdevries@suse.de>
596 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
598 2019-10-16 Tom de Vries <tdevries@suse.de>
600 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
603 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
605 * gdb.mi/list-thread-groups-available.exp: Read entries one by
606 one instead of increasing timeout.
608 2019-10-13 Tom de Vries <tdevries@suse.de>
611 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
612 * gdb.reverse/sigall-reverse.exp: Same.
613 * gdb.reverse/solib-precsave.exp: Same.
614 * gdb.reverse/solib-reverse.exp: Same.
615 * gdb.reverse/step-precsave.exp: Same.
616 * gdb.reverse/until-precsave.exp: Same.
617 * gdb.reverse/until-reverse.exp: Same.
618 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
620 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
622 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
623 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
624 (cmp_struct_05_01, cmp_struct_static_02_01)
625 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
628 2019-10-10 Tom de Vries <tdevries@suse.de>
631 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
634 2019-10-09 Tom de Vries <tdevries@suse.de>
637 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
639 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
641 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
642 exceptions due to missing debug information.
644 2019-10-07 Tom de Vries <tdevries@suse.de>
646 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
648 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
650 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
651 * gdb.base/annota1.exp: Update to use gdb_test_name.
653 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
655 * gdb.base/ctf-whatis.exp: New file.
656 * gdb.base/ctf-whatis.c: New file.
657 * gdb.base/ctf-ptype.exp: New file.
658 * gdb.base/ctf-ptype.c: New file.
659 * gdb.base/ctf-constvars.exp: New file.
660 * gdb.base/ctf-constvars.c: New file.
661 * gdb.base/ctf-cvexpr.exp: New file.
663 2019-10-04 Tom de Vries <tdevries@suse.de>
665 * gdb.cp/local-static.c (main): Move declaration of int i out of the
668 2019-10-03 Tom Tromey <tom@tromey.com>
671 * gdb.rust/simple.rs (Union2): New type.
673 * gdb.rust/simple.exp: Add test.
675 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
677 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
678 nested function prefix.
680 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
681 Richard Bunt <richard.bunt@arm.com>
682 Andrew Burgess <andrew.burgess@embecosm.com>
684 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
686 * gdb.fortran/nested-funcs.f90: Update expected results.
687 * gdb.fortran/nested-funcs-2.exp: New file.
688 * gdb.fortran/nested-funcs-2.f90: New file.
690 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
692 * gdb.python/py-parameter.exp: Make test names unique.
693 * gdb.python/py-template.exp: Likewise.
694 * gdb.python/py-value.exp: Likewise.
696 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
698 * gdb.base/break-interp.exp: Reduce test name duplication.
699 * gdb.base/call-sc.exp: Likewise.
700 * gdb.base/callfuncs.exp: Likewise.
701 * gdb.base/charset.exp: Likewise.
702 * gdb.base/dump.exp: Likewise.
703 * gdb.base/ena-dis-br.exp: Likewise.
704 * gdb.base/relational.exp: Likewise.
705 * gdb.base/step-over-syscall.exp: Likewise.
706 * gdb.base/structs.exp: Likewise.
708 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
710 * gdb.linespec/explicit.exp: Make test names unique.
711 * gdb.linespec/ls-errs.exp: Likewise.
713 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
715 * gdb.reverse/break-precsave.exp: Make test names unique.
716 * gdb.reverse/break-reverse.exp: Likewise.
717 * gdb.reverse/finish-precsave.exp: Likewise.
718 * gdb.reverse/finish-reverse.exp: Likewise.
719 * gdb.reverse/machinestate-precsave.exp: Likewise.
720 * gdb.reverse/machinestate.exp: Likewise.
721 * gdb.reverse/readv-reverse.exp: Likewise.
722 * gdb.reverse/recvmsg-reverse.exp: Likewise.
723 * gdb.reverse/sigall-precsave.exp: Likewise.
724 * gdb.reverse/sigall-reverse.exp: Likewise.
725 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
726 * gdb.reverse/watch-precsave.exp: Likewise.
727 * gdb.reverse/watch-reverse.exp: Likewise.
729 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
731 * gdb.threads/stop-with-handle.c: New file.
732 * gdb.threads/stop-with-handle.exp: New file.
734 2019-10-03 Tom de Vries <tdevries@suse.de>
737 * gdb.base/list-missing-source.exp: Allowing the "Compilation
738 directory" line to be missing.
740 2019-10-03 Tom de Vries <tdevries@suse.de>
743 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
746 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
748 * gdb.python/py-format-string.c (string.h): New include.
749 (main): Fill a_struct_with_union.the_union.an_int with bytes of
750 the same value, for endianness-independence.
751 * gdb.python/py-format-string.exp (default_regexp_dict)
752 (test_pretty_structs, test_format): Adjust expected output to the
753 changed initialization.
755 2019-10-02 Tom Tromey <tromey@adacore.com>
757 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
759 2019-10-02 Pedro Alves <palves@redhat.com>
760 Andrew Burgess <andrew.burgess@embecosm.com>
762 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
764 (this_version_id) Use ATTRIBUTE_VISIBILITY.
765 (get_version_1): Print this_version_id and its address.
766 Add extern "C" wrappers around interface functions.
767 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
769 (this_version_id) Use ATTRIBUTE_VISIBILITY.
770 (get_version_2): Print this_version_id and its address.
771 Add extern "C" wrappers around interface functions.
772 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
773 <stddef.h> and "print-file-var.h".
774 Add extern "C" wrappers around interface functions.
775 [VERSION_ID_MAIN] (this_version_id): Define.
776 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
777 * gdb.base/print-file-var.h: Add some #defines to simplify setting
778 up extern "C" blocks.
779 * gdb.base/print-file-var.exp (test): New, factored out from top
781 (top level): Test all combinations of attribute hidden or not,
782 dlopen or not, and this_version_id symbol in main file or not.
783 Compile tests as both C++ and C, make test names unique.
785 2019-10-01 Tom Tromey <tom@tromey.com>
787 * gdb.base/style.exp: Test "show logging filename".
789 2019-10-01 Tom Tromey <tom@tromey.com>
791 * lib/gdb-utils.exp (style): Handle "metadata" argument.
792 * gdb.base/style.exp: Add metadata style test.
794 2019-10-01 Tom Tromey <tom@tromey.com>
796 * gdb.base/style.exp: Test "pwd".
798 2019-10-01 Tom Tromey <tom@tromey.com>
800 * gdb.base/style.exp: Update tests.
802 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
804 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
806 (s1): Initialize fields 'four' and 'six' instead of 'three' and
807 'five'. Use an all-ones bit pattern for each.
808 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
809 to its changed values.
811 2019-09-30 Tom Tromey <tromey@adacore.com>
813 * gdb.rust/traits.rs: Disable all warnings.
815 2019-09-29 Tom de Vries <tdevries@suse.de>
817 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
819 2019-09-29 Tom de Vries <tdevries@suse.de>
821 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
823 2019-09-27 Tom de Vries <tdevries@suse.de>
825 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
827 2019-09-27 Tom de Vries <tdevries@suse.de>
830 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
832 2019-09-26 Tom Tromey <tromey@adacore.com>
834 * gdb.ada/py_taft.exp: New file.
835 * gdb.ada/py_taft/main.adb: New file.
836 * gdb.ada/py_taft/pkg.adb: New file.
837 * gdb.ada/py_taft/pkg.ads: New file.
839 2019-09-24 Tom de Vries <tdevries@suse.de>
842 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
844 2019-09-22 Tom de Vries <tdevries@suse.de>
846 * gdb.base/restore.exp: Allow register variables to be optimized out at
849 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
851 * gdb.arch/spu-info.exp: Remove file.
852 * gdb.arch/spu-info.c: Remove file.
853 * gdb.arch/spu-ls.exp: Remove file.
854 * gdb.arch/spu-ls.c: Remove file.
856 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
857 * gdb.asm/spu.inc: Remove file.
859 * gdb.base/dump.exp: Remove support for spu*-*-*.
860 * gdb.base/stack-checking.exp: Likewise.
861 * gdb.base/overlays.exp: Likewise.
862 * gdb.base/ovlymgr.c: Likewise.
863 * gdb.base/spu.ld: Remove file.
865 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
866 * gdb.cp/cpexprs.exp: Likewise.
867 * gdb.cp/exception.exp: Likewise.
868 * gdb.cp/gdb2495.exp: Likewise.
869 * gdb.cp/mb-templates.exp: Likewise.
870 * gdb.cp/pr9167.exp: Likewise.
871 * gdb.cp/userdef.exp: Likewise.
873 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
875 * gdb.cell: Remove directory.
876 * lib/cell.exp: Remove file.
878 2019-09-19 Tom de Vries <tdevries@suse.de>
880 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
882 2019-09-19 Tom de Vries <tdevries@suse.de>
884 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
886 2019-09-19 Tom de Vries <tdevries@suse.de>
888 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
889 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
890 (gdb_target_cmd): ... here.
891 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
894 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
896 * gdb.base/source-dir.exp: Avoid having directory names in test
899 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
901 * gdb.base/source-dir.exp: Add extra test for mapped compilation
904 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
906 * gdb.base/list-missing-source.exp: New file.
908 2019-09-14 Tom de Vries <tdevries@suse.de>
911 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
912 * lib/ada.exp (gnatmake_version_at_least): New proc.
914 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
916 * gdb.base/maint.exp: Use exec_has_index_section.
918 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
920 * gdb.base/maint.exp: Add test for 'maint info sections'.
922 2019-09-12 Tom de Vries <tdevries@suse.de>
924 * gdb.base/store.exp: Allow register variables to be optimized out at
927 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
929 * gdb.ada/rdv_wait.exp: Update to new task names.
930 * gdb.base/task_switch_in_core.exp: Likewise.
931 * gdb.base/info_sources_base.c: Likewise.
933 2019-09-10 Tom Tromey <tromey@adacore.com>
935 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
937 2019-09-10 Tom Tromey <tromey@adacore.com>
939 * gdb.ada/dgopt.exp: New file.
940 * gdb.ada/dgopt/x.adb: New file.
942 2019-09-08 Tom Tromey <tom@tromey.com>
944 * gdb.tui/resize.exp: Remove setup_xfail.
945 * gdb.tui/regs.exp: Remove setup_xfail.
946 * gdb.tui/basic.exp: Remove setup_xfail.
948 2019-09-06 David Blaikie <dblaikie@gmail.com>
950 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
951 * gdb.cp/cplabel.exp: Ditto.
952 * gdb.linespec/ls-errs.exp: Ditto.
954 2019-09-05 Tom de Vries <tdevries@suse.de>
956 * lib/gdb.exp (cmp_file_string): New proc.
957 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
958 runto_main. Verify save breakpoints output.
960 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
962 * gdb.base/info-var.exp: Test info variables without running
963 to main, to avoid expect's buffer overflow.
965 2019-09-03 Tom Tromey <tromey@adacore.com>
967 * gdb.ada/bias.exp: New file.
968 * gdb.ada/bias/bias.adb: New file.
969 * gdb.ada/print_chars.exp: Add regression test.
970 * gdb.ada/print_chars/foo.adb (My_Character): New type.
973 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
975 * gdb.base/argv0-symlink.exp: Run only on native target
978 2019-08-29 Tom de Vries <tdevries@suse.de>
980 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
982 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
984 2019-08-28 Tom de Vries <tdevries@suse.de>
986 * gdb.base/info-var.exp: Allow info variables to print info for files
987 other than info-var-f1.c and info-var-f2.c.
989 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
991 * gdb.fortran/info-types.exp: Add module.
992 * gdb.fortran/info-types.f90: Update expected results.
994 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
996 * gdb.fortran/info-types.exp: New file.
997 * gdb.fortran/info-types.f90: New file.
998 * lib/fortran.exp (fortran_character1): New proc.
1000 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1002 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1003 functions'. Reindent as needed.
1004 * gdb.base/info-var-f1.c: New file.
1005 * gdb.base/info-var-f2.c: New file.
1006 * gdb.base/info-var.exp: New file.
1007 * gdb.base/info-var.h: New file.
1009 2019-08-26 Tom de Vries <tdevries@suse.de>
1012 * gdb.cp/no-libstdcxx-probe.exp: New test.
1014 2019-08-26 Tom de Vries <tdevries@suse.de>
1016 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1017 * tests need to be skipped.
1018 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1019 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1020 mi_skip_libstdcxx_probe_tests.
1022 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1024 * gdb.python/py-xmethods.exp: Use raw strings when passing
1025 arguments to SimpleXMethodMatcher.
1027 2019-08-22 Tom de Vries <tdevries@suse.de>
1029 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1032 2019-08-21 Pedro Alves <palves@redhat.com>
1034 * gdb.base/with.exp: Test "with" with no arguments.
1036 2019-08-21 Tom de Vries <tdevries@suse.de>
1038 * gdb.base/gdb-caching-proc.exp: Sort files.
1040 2019-08-20 Tom de Vries <tdevries@suse.de>
1042 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1045 2019-08-16 Tom de Vries <tdevries@suse.de>
1047 * gdb.base/compare-sections.exp ("after run to main"): Allow
1048 mismatched read-only sections for PIE executables.
1050 2019-08-16 Tom Tromey <tom@tromey.com>
1052 * lib/tuiterm.exp (_csi_Z): New proc.
1053 * gdb.tui/basic.exp: Update window positions.
1054 * gdb.tui/empty.exp: Update window positions.
1056 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1058 * gdb.base/examine-backward.exp: Correct regexp for
1059 "examine 3 bytes backward from ${address_zero}".
1061 2019-08-15 Tom Tromey <tom@tromey.com>
1063 * gdb.tui/empty.exp: Enable resizing tests.
1065 2019-08-15 Tom Tromey <tromey@adacore.com>
1067 * gdb.ada/char_enum.exp: Add regression tests.
1068 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1070 (Char, Gchar): Update.
1071 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1073 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1075 * gdb.python/python.exp: Expect a leading underscore on
1076 GdbOutput{,Error}File.
1078 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1080 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1083 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1085 * gdb.base/batch-preserve-term-settings.exp
1086 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1088 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1090 * lib/gdb.exp: When running on a mingw target, replace
1093 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1095 * gdb.arch/aarch64-prologue.c: New test.
1096 * gdb.arch/aarch64-prologue.exp: New file.
1098 2019-08-13 Tom de Vries <tdevries@suse.de>
1100 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1103 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1105 * gdb.python/py-completion.exp: Download the .py file to the host
1106 and use its host pathname. Conditionalize tests that use
1107 tab completion and manipulate files on the build machine.
1108 * gdb.python/py-events.exp: Download the .py file to the host
1109 and use its host pathname.
1110 * gdb.python/py-evsignal.exp: Likewise.
1111 * gdb.python/py-evthreads.exp: Likewise.
1112 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1114 * gdb.python/py-framefilter.exp: Download the .py file to the right
1115 place on the host. Match Windows pathname syntax.
1116 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1117 .py file to the host and use its host pathname.
1118 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1119 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1120 build pathname. Skip symlink test on Windows host. Add missing
1121 newline at end of file.
1122 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1123 and use its host pathname.
1124 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1125 * gdb.python/py-section-script.exp: Use host location of binfile
1126 on safe-path. Use correct path separator on Windows host.
1127 Reorder alternatives in gdb_test_multiple to prevent matching
1128 the wrong alternative on success.
1129 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1131 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1133 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1134 expect the GDB inferior to no longer immediately stop after
1135 being resumed with "signal SIGINT".
1137 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1139 * gdb.linespec/break-ask.exp: Generalize regexps to match
1140 Windows pathnames too.
1142 2019-08-08 Tom de Vries <tdevries@suse.de>
1145 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1147 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1149 * gdb.base/style.exp: Update tests for help doc new invariants.
1150 * gdb.base/help.exp: Likewise.
1152 2019-08-06 Tom Tromey <tom@tromey.com>
1154 * gdb.base/style.exp: Add disassemble test.
1155 * gdb.base/style.c (some_called_function): New function.
1158 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1160 * gdb.python/py-block.exp: Test dictionary access on blocks.
1162 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1165 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1166 -list-thread-groups --available test when running under
1169 2019-08-05 Tom de Vries <tdevries@suse.de>
1172 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1173 * gdb.base/help.exp: Use with_read1_timeout_factor.
1174 * gdb.base/info-macros.exp: Same.
1175 * gdb.cp/nested-types.exp: Same.
1177 2019-08-05 Tom de Vries <tdevries@suse.de>
1179 * lib/gdb.exp (version_at_least): Factor out of ...
1180 (tcl_version_at_least): ... here.
1181 (gdb_compile): Fail if pie results in non-PIE executable.
1182 (readelf_version, readelf_prints_pie): New proc.
1183 (exec_is_pie): Return -1 if unknown.
1185 2019-08-05 Tom de Vries <tdevries@suse.de>
1187 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1189 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1191 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1193 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1195 * lib/completion-support.exp (test_gdb_complete_none): Skip
1196 tab completion tests if no readline support.
1197 (test_gdb_complete_unique_re): Likewise.
1198 (test_gdb_complete_multiple): Likewise.
1200 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1202 * gdb.base/info_sources.exp: New file.
1203 * gdb.base/info_sources.c: New file.
1204 * gdb.base/info_sources_base.c: New file.
1206 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1208 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1210 (test_exit_status): Add prefix argument.
1212 2019-08-01 Tom de Vries <tdevries@suse.de>
1215 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1216 calling exp_continue for new thread and thread exited messages.
1218 2019-08-01 Tom de Vries <tdevries@suse.de>
1221 * gdb.base/structs.exp: Fix check-read1 timeout using
1223 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1225 2019-08-01 Tom de Vries <tdevries@suse.de>
1228 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1231 2019-08-01 Tom de Vries <tdevries@suse.de>
1234 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1236 2019-07-30 Tom Tromey <tromey@adacore.com>
1238 * gdb.ada/display_nested.exp: New file.
1239 * gdb.ada/display_nested/foo.adb: New file.
1240 * gdb.ada/display_nested/pack.adb: New file.
1241 * gdb.ada/display_nested/pack.ads: New file.
1243 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1245 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1247 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1249 2019-07-30 Tom de Vries <tdevries@suse.de>
1251 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1254 2019-07-30 Tom de Vries <tdevries@suse.de>
1257 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1258 (exec_is_pie): New proc.
1260 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1262 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1264 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1266 * gdb.python/py-objfile.c: Add global and static vars.
1267 * gdb.python/py-objfile.exp: Test new functions Objfile.
1268 lookup_global_symbol and lookup_static_symbol.
1270 2019-07-29 Tom Tromey <tom@tromey.com>
1272 * lib/tuiterm.exp (Term::_csi_@): New proc.
1273 (Term::_csi_X): Don't move cursor.
1275 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1277 * gdb.base/options.exp: Update backtrace - completion to
1278 new option -frame-info.
1279 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1280 Test new 'set print frame-info'. Test backtrace -frame-info
1281 overriding 'set print frame-info'.
1282 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1283 Test new 'set print frame-info'.
1284 Verify consistency of backtrace with and without filters, with and
1285 without -no-filters.
1286 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1289 2019-07-29 Tom de Vries <tdevries@suse.de>
1291 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1294 2019-07-29 Tom de Vries <tdevries@suse.de>
1296 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1297 is a substring of the first for "complete non-unique file name".
1299 2019-07-29 Tom de Vries <tdevries@suse.de>
1301 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1304 2019-07-29 Tom de Vries <tdevries@suse.de>
1306 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1307 Pass prompt_regexp parameter to gdb_test_multiple calls.
1309 2019-07-29 Tom de Vries <tdevries@suse.de>
1311 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1312 print registers" regexps.
1314 2019-07-29 Tom de Vries <tdevries@suse.de>
1316 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1318 2019-07-29 Tom de Vries <tdevries@suse.de>
1321 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1322 (skip_python_tests_prompt): Add prompt_regexp argument to
1323 gdb_test_multiple calls.
1325 2019-07-27 Tom Tromey <tom@tromey.com>
1327 * gdb.tui/main.exp: New file.
1329 2019-07-27 Tom Tromey <tom@tromey.com>
1331 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1333 * gdb.tui/empty.exp: New file.
1335 2019-07-27 Tom Tromey <tom@tromey.com>
1337 * lib/tuiterm.exp (spawn): New proc.
1338 (Term::resize): New proc.
1339 * gdb.tui/resize.exp: New file.
1341 2019-07-27 Tom Tromey <tom@tromey.com>
1343 * gdb.tui/list.exp: New file.
1345 2019-07-27 Tom Tromey <tom@tromey.com>
1347 * gdb.tui/regs.exp: New file.
1349 2019-07-27 Tom Tromey <tom@tromey.com>
1351 * gdb.tui/basic.exp: Add "layout split" test.
1353 2019-07-27 Tom Tromey <tom@tromey.com>
1355 * gdb.tui/basic.exp: Add "layout asm" test.
1357 2019-07-27 Tom Tromey <tom@tromey.com>
1359 * lib/tuiterm.exp: New file.
1360 * gdb.tui/basic.exp: New file.
1362 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1364 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1365 Enable tests associated with this flag. Adjust regex
1366 referencing "foo_low" to now refer to "foo_cold" instead.
1368 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1370 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1371 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1372 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1373 foo_cold. Revise comments to match.
1374 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1375 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1376 were wrapped into this proc; Call do_test in loop from outermost
1378 (foo_low): Rename all occurrences to "foo_cold".
1379 (backtrace from baz): New test.
1380 (x2/i foo_cold): New test.
1381 (info line *foo_cold): New test.
1383 2019-07-26 Tom de Vries <tdevries@suse.de>
1385 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1387 2019-07-25 Tom de Vries <tdevries@suse.de>
1390 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1391 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1392 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1393 (skip_libstdcxx_probe_tests): ... here.
1394 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1396 2019-07-24 Tom de Vries <tdevries@suse.de>
1399 * gdb.objc/basicclass.m: Include stdio.h.
1400 * gdb.objc/nondebug.m: Same.
1401 * gdb.objc/objcdecode.m: Same.
1403 2019-07-24 Tom de Vries <tdevries@suse.de>
1406 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1409 2019-07-24 Tom de Vries <tdevries@suse.de>
1412 * gdb.multi/tids.exp: Update error messages for info threads.
1414 2019-07-24 Tom de Vries <tdevries@suse.de>
1416 * gdb.base/info-types.exp: Allow info types to print info for more than
1419 2019-07-23 Tom de Vries <tdevries@suse.de>
1422 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1423 gdb_spawn_with_cmdline_opts.
1425 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1427 * gdb.arch/arm-cmse-sgstubs.c: New test.
1428 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1430 2019-07-23 Tom de Vries <tdevries@suse.de>
1433 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1434 issuing next command.
1436 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1438 * gdb.ada/info_auto_lang.exp: Update expected results.
1439 * gdb.base/info-types.c: Add additional types to check.
1440 * gdb.base/info-types.exp: Update expected results.
1442 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1444 * gdb.base/info-types.c: New file.
1445 * gdb.base/info-types.exp: New file.
1447 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1449 * gdb.arch/riscv-bp-infcall.c: New file.
1450 * gdb.arch/riscv-bp-infcall.exp: New file.
1452 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1454 PR breakpoints/24541
1455 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1457 2019-07-14 Tom de Vries <tdevries@suse.de>
1460 * gdb.objc/basicclass.exp: Fix unterminated string.
1462 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1463 Andrew Burgess <andrew.burgess@embecosm.com>
1465 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1466 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1468 * gdb.fortran/vla-value.exp: Print elements of an array with
1470 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1473 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1475 * gdb.base/options.exp (expect_string): Dequote strings in
1477 (test-string): Test strings with different quoting and reindent.
1479 2019-07-10 Tom Tromey <tromey@adacore.com>
1481 * gdb.ada/mi_ex_cond.exp: Update expected results.
1482 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1483 * gdb.ada/mi_catch_ex.exp: Update expected results.
1484 * gdb.ada/mi_catch_assert.exp: Update expected results.
1485 * gdb.ada/catch_ex.exp (catch_exception_info)
1486 (catch_exception_entry, catch_assert_entry)
1487 (catch_unhandled_entry): Update.
1488 * gdb.ada/catch_assert_if.exp: Update expected results.
1490 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1491 Stephen Roberts <stephen.roberts@arm.com>
1493 * gdb.base/define.exp: Restore original prompt.
1495 2019-07-09 Pedro Alves <palves@redhat.com>
1497 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1498 breakpoints" output.
1499 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1500 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1501 throw" creates breakpoint.
1502 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1503 'type="catchpoint"'.
1505 2019-07-09 Pedro Alves <palves@redhat.com>
1508 * gdb.cp/except-multi-location-lib.cc: New.
1509 * gdb.cp/except-multi-location-main.cc: New.
1510 * gdb.cp/except-multi-location.exp: New.
1512 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1514 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1515 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1516 argument and update callers.
1518 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1520 * gdb.arch/amd64-break-on-asm-line.S: New file.
1521 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1523 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1525 * gdb.base/printcmds.exp: Test printing C string and
1526 C wide string convenience vars without transiting via the inferior.
1527 Also make test names unique.
1529 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1531 PR breakpoints/25011
1532 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1534 2019-07-04 Pedro Alves <palves@redhat.com>
1536 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1537 body returned ok(0), break(3) or continue(4).
1538 * gdb.testsuite/foreach_with_prefix.exp: New file.
1540 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1542 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1544 2019-07-03 Pedro Alves <palves@redhat.com>
1546 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1549 2019-07-03 Pedro Alves <palves@redhat.com>
1552 * gdb.base/shell.exp: Load completion-support.exp.
1553 Adjust expected error output. Add completion tests.
1555 2019-07-03 Pedro Alves <palves@redhat.com>
1557 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1560 2019-07-03 Pedro Alves <palves@redhat.com>
1562 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1563 (expect_integer): Adjust to expect "-string".
1564 (expect_string): New.
1565 (all_options): Expect "-string".
1566 (test-flag, test-boolean): Adjust to expect "-string".
1567 (test-string): New proc.
1568 (top level): Call it.
1570 2019-07-03 Pedro Alves <palves@redhat.com>
1572 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1573 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1574 the expected output in the success.
1576 2019-07-03 Pedro Alves <palves@redhat.com>
1578 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1579 Split one gdb_test_multiple call in two to avoid a race.
1581 2019-07-03 Pedro Alves <palves@redhat.com>
1583 * gdb.base/with.c: New file.
1584 * gdb.base/with.exp: New file.
1586 2019-07-03 Pedro Alves <palves@redhat.com>
1588 * gdb.base/settings.exp: Replace all references to "maint
1589 test-settings set" with references to "maint set test-settings",
1590 and all references to "maint test-settings show" with references
1591 to "maint show test-settings".
1593 2019-07-03 Pedro Alves <palves@redhat.com>
1595 * gdb.base/settings.exp (test-string): Adjust expected out when
1596 testing "maint test-settings show filename"
1598 2019-07-02 Pedro Alves <palves@redhat.com>
1600 * gdb.base/options.exp (test-info-threads): New procedure.
1601 (top level): Call it.
1603 2019-06-28 Tom Tromey <tromey@adacore.com>
1605 * gdb.dwarf2/ada-linkage-name.c: New file.
1606 * gdb.dwarf2/ada-linkage-name.exp: New file.
1608 2019-06-27 Tom Tromey <tromey@adacore.com>
1611 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1613 2019-06-26 Tom de Vries <tdevries@suse.de>
1615 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1617 2019-06-26 Tom de Vries <tdevries@suse.de>
1619 * gdb.base/index-cache.exp: Add back missing debug option.
1621 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1623 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1625 2019-06-25 Tom de Vries <tdevries@suse.de>
1628 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1630 2019-06-24 Tom de Vries <tdevries@suse.de>
1632 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1634 2019-06-24 Tom de Vries <tdevries@suse.de>
1636 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1637 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1638 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1640 2019-06-24 Tom de Vries <tdevries@suse.de>
1642 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1644 2019-06-21 Tom de Vries <tdevries@suse.de>
1646 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1648 2019-06-21 Tom de Vries <tdevries@suse.de>
1652 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1655 2019-06-19 Tom Tromey <tromey@adacore.com>
1657 * gdb.ada/length_cond.exp: Add intro comment.
1659 2019-06-19 Tom Tromey <tromey@adacore.com>
1661 * gdb.ada/length_cond.exp: New file.
1662 * gdb.ada/length_cond/length_cond.adb: New file.
1663 * gdb.ada/length_cond/pck.adb: New file.
1664 * gdb.ada/length_cond/pck.ads: New file.
1666 2019-06-18 Tom de Vries <tdevries@suse.de>
1668 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1670 2019-06-18 Tom Tromey <tromey@adacore.com>
1672 * gdb.base/list0.h: Add comment explaining control character.
1674 2019-06-18 Tom de Vries <tdevries@suse.de>
1676 * boards/fission.exp: Break up long debug_flags line.
1678 2019-06-16 Tom de Vries <tdevries@suse.de>
1681 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1684 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1687 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1688 improve detection of bug gdb/24541.
1690 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1693 * gdb.base/index-cache.exp (uses_readnow,
1694 expecting_index_cache_use): Define global variable.
1695 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1696 expecting_index_cache_use.
1698 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1699 Andrew Burgess <andrew.burgess@embecosm.com>
1701 * gdb.fortran/pointers.f90: New file.
1702 * gdb.fortran/print_type.exp: New file.
1703 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1704 * gdb.fortran/vla-type.exp: Likewise.
1705 * gdb.fortran/vla-value.exp: Likewise.
1706 * gdb.mi/mi-vla-fortran.exp: Likewise.
1708 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1710 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1711 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1712 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1715 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1717 * gdb.base/annota1.exp: Update expected results.
1718 * gdb.cp/annota2.exp: Likewise.
1719 * gdb.cp/annota3.exp: Likewise.
1721 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1723 * gdb.base/style-logging.exp: Remove path from test name.
1725 2019-06-14 Tom Tromey <tromey@adacore.com>
1728 * gdb.base/style-logging.exp: New file.
1730 2019-06-14 Tom Tromey <tromey@adacore.com>
1732 * gdb.base/symfile-warn.exp: New file.
1733 * gdb.base/symfile-warn.c: New file.
1735 2019-06-14 Tom Tromey <tromey@adacore.com>
1737 * gdb.base/annotate-symlink.exp: New file.
1739 2019-06-14 Tom Tromey <tromey@adacore.com>
1741 * gdb.ada/set_wstr.exp: Add reassignment test.
1743 2019-06-14 Tom Tromey <tromey@adacore.com>
1745 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1746 'unchecked_access and 'unrestricted_access as well.
1748 2019-06-14 Tom Tromey <tromey@adacore.com>
1751 * gdb.ada/vla.exp: Update tests.
1752 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1755 2019-06-13 Pedro Alves <palves@redhat.com>
1757 * gdb.base/settings.exp (test-integer): Test junk after
1760 2019-06-13 Pedro Alves <palves@redhat.com>
1762 * gdb.base/options.exp (test-thread-apply): New.
1763 (top level): Call it.
1765 2019-06-13 Pedro Alves <palves@redhat.com>
1767 * gdb.base/options.exp (test-frame-apply): New.
1768 (top level): Test print commands with different "frame apply"
1771 2019-06-13 Pedro Alves <palves@redhat.com>
1773 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1774 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1775 'max_completions' parameter and handle it.
1776 (test_gdb_completion_offers_commands): New.
1778 2019-06-13 Pedro Alves <palves@redhat.com>
1780 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1782 2019-06-13 Pedro Alves <palves@redhat.com>
1784 * gdb.base/options.exp (test-backtrace): New.
1785 (top level): Call it.
1787 2019-06-13 Pedro Alves <palves@redhat.com>
1789 * gdb.guile/scm-frame-args.exp: Use "set print
1790 raw-frame-arguments" instead of "set print raw frame-arguments".
1791 * gdb.python/py-frame-args.exp: Likewise.
1793 2019-06-13 Pedro Alves <palves@redhat.com>
1795 * gdb.compile/compile.exp: Adjust expected output to option
1798 2019-06-13 Pedro Alves <palves@redhat.com>
1800 * gdb.base/options.exp: Build executable.
1801 (test-print): New procedure.
1802 (top level): Call it, once for "print" and another for "compile
1805 2019-06-13 Pedro Alves <palves@redhat.com>
1807 * gdb.base/options.c: New file.
1808 * gdb.base/options.exp: New file.
1810 2019-06-13 Pedro Alves <palves@redhat.com>
1812 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1813 that "o" is ambiguous.
1815 2019-06-13 Pedro Alves <palves@redhat.com>
1817 * gdb.base/settings.c: New file.
1818 * gdb.base/settings.exp: New file.
1820 2019-06-13 Pedro Alves <palves@redhat.com>
1822 * gdb.base/completion.exp: Fix comment typo.
1824 2019-06-13 Pedro Alves <palves@redhat.com>
1826 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1829 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1831 * gdb.fortran/block-data.f: New.
1832 * gdb.fortran/block-data.exp: New.
1834 2019-06-11 Tom de Vries <tdevries@suse.de>
1837 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1840 2019-06-11 Tom de Vries <tdevries@suse.de>
1843 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1845 2019-06-11 Tom de Vries <tdevries@suse.de>
1847 * boards/readnow.exp: New file.
1849 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1851 * gdb.fortran/vla-sizeof.exp: Update expected results.
1853 2019-06-06 Amos Bird <amosbird@gmail.com>
1855 * gdb.base/annota1.exp (thread_switch): Add test for
1856 thread-exited annotation.
1858 2019-06-06 Tom Tromey <tromey@adacore.com>
1860 * gdb.base/maint.exp: Expect command started/finished output.
1862 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1864 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1866 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1868 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1870 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1871 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1872 * gdb.arch/riscv-unwind-long-insn.c: New file.
1873 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1875 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1877 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1879 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1881 * lib/gdb.exp (help_list_trailer): New regexp variable
1882 factorizing the help trailer message.
1883 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1884 arg to allow to better factorize various tests.
1885 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1886 (test_prefix_command_help): Use help_list_trailer.
1887 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1888 * gdb.guile/scm-cmd.exp: Likewise.
1889 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1890 * gdb.base/help.exp: Use test_user_defined_class_help.
1891 * gdb.base/style.exp: Add tests for styling of help and apropos.
1892 * lib/gdb-utils.exp (style): Add title and highlight styles.
1894 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1896 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1898 * gdb.base/default.exp: Update for new convenience variables.
1900 2019-05-29 Tom Tromey <tromey@adacore.com>
1902 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1903 to "break complete ada" test case's regexp.
1905 2019-05-29 Tom Tromey <tromey@adacore.com>
1908 * gdb.cp/constexpr-field.exp: New file.
1909 * gdb.cp/constexpr-field.cc: New file.
1911 2019-05-29 Tom Tromey <tromey@adacore.com>
1913 * gdb.base/finish.exp (finish_no_print): New proc.
1914 (finish_tests): Call it.
1916 2019-05-24 Tom de Vries <tdevries@suse.de>
1918 * gdb.dwarf2/gdb-add-index.exp: New file.
1920 2019-05-22 Tom Tromey <tromey@adacore.com>
1922 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1923 * gdb.base/style.exp: Use "style".
1924 * lib/gdb-utils.exp (style): New proc.
1926 2019-05-22 Tom de Vries <tdevries@suse.de>
1928 * gdb.base/align.exp: Require c++11.
1930 2019-05-22 Tom de Vries <tdevries@suse.de>
1933 * gdb.python/py-mi-var-info-path-expression.exp: Call
1934 mi_skip_python_tests to check if python is supported.
1936 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1938 * gdb.arch/aarch64-pauth.c: New test.
1939 * gdb.arch/aarch64-pauth.exp: New file.
1941 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1943 * README (Re-running Tests Outside The Testsuite): New section.
1945 2019-05-21 Tom de Vries <tdevries@suse.de>
1947 * gdb.arch/amd64-eval.exp: Require c++11.
1948 * gdb.base/max-depth.exp: Same.
1949 * gdb.compile/compile-cplus-array-decay.exp: Same.
1950 * gdb.cp/meth-typedefs.exp: Same.
1951 * gdb.cp/subtypes.exp: Same.
1952 * gdb.cp/temargs.exp: Same.
1954 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1956 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1958 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1961 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1962 * gdb.fortran/printing-types.exp: Add new test.
1963 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1965 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1968 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1970 * README (Running the Testsuite): Change example.
1971 (Testsuite Parameters): Remove TRANSCRIPT.
1972 * lib/gdb.exp: Remove TRANSCRIPT check.
1974 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1976 * README (Testsuite Parameters): Add replay logging to
1978 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1979 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1980 as a comma separated list.
1981 (gdb_debug_init): Override procedure.
1983 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1985 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1986 (gdb_write_cmd_file): New procedure.
1987 * lib/gdbserver-support.exp (gdbserver_start): Call
1988 gdbserver_write_cmd_file.
1989 (gdbserver_write_cmd_file): New procedure.
1991 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1993 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1994 (delete_breakpoints): Likewise.
1995 (gdb_run_cmd): Likewise.
1996 (gdb_start_cmd): Likewise.
1997 (gdb_starti_cmd): Likewise.
1998 (gdb_internal_error_resync): Likewise.
1999 (gdb_test_multiple): Likewise.
2000 (gdb_reinitialize_dir): Likewise.
2001 (default_gdb_exit): Likewise.
2002 (gdb_file_cmd): Mark kill as optional.
2003 (default_gdb_start): Call gdb_stdin_log_init.
2004 (send_gdb): Call gdb_stdin_log_write.
2005 (rerun_to_main): Mark Y as an answer.
2006 (gdb_stdin_log_init): New function.
2007 (gdb_stdin_log_write): Likewise.
2009 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2011 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2012 * gdb.base/debug-expr.exp: Likewise.
2013 * gdb.base/foll-fork.exp: Likewise.
2014 * gdb.base/foll-vfork.exp: Likewise.
2015 * gdb.base/fork-print-inferior-events.exp: Likewise.
2016 * gdb.base/gdb-sigterm.exp: Likewise.
2017 * gdb.base/gdbinit-history.exp: Likewise.
2018 * gdb.base/osabi.exp: Likewise.
2019 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2020 * gdb.base/ui-redirect.exp: Likewise.
2021 * gdb.gdb/unittest.exp: Likewise.
2022 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2023 * gdb.mi/mi-watch.exp: Likewise.
2024 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2025 * gdb.mi/user-selected-context-sync.exp: Likewise.
2026 * gdb.python/python.exp: Disable debug test when debugging.
2027 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2028 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2030 * gdb.threads/stepi-random-signal.exp: Likewise.
2032 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2034 * Makefile.in: Pass through GDB_DEBUG.
2035 * README (Testsuite Parameters): Add GDB_DEBUG.
2036 (gdb,debug): Add board setting.
2037 * lib/gdb.exp (default_gdb_start): Start debugging.
2038 (gdb_debug_enabled): New procedure.
2039 (gdb_debug_init): Likewise.
2041 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2043 * Makefile.in: Pass through GDB_DEBUG.
2044 * README (Testsuite Parameters): Add GDB_DEBUG.
2045 (gdb,debug): Add board setting.
2046 * lib/gdb.exp (default_gdb_start): Start debugging.
2047 (gdb_debug_enabled): New procedure.
2048 (gdb_debug_init): Likewise.
2050 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2052 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2054 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2056 * gdb.base/ui-redirect.exp: Test redirection.
2058 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2060 * gdb.mi/mi-complete.exp: New file.
2061 * gdb.mi/mi-complete.cc: Likewise.
2063 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2065 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2066 indexed and sliced arrays, and pointers to arrays.
2068 2019-05-14 Tom Tromey <tromey@adacore.com>
2070 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2073 2019-05-14 Tom de Vries <tdevries@suse.de>
2075 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2076 selection entry encoding.
2078 2019-05-10 Tom Tromey <tromey@adacore.com>
2080 * gdb.ada/info_exc.exp: Add "complete" test.
2082 2019-05-09 Tom de Vries <tdevries@suse.de>
2084 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2087 2019-05-09 Tom de Vries <tdevries@suse.de>
2089 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2092 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2094 * gdb.ada/frame_arg_lang.exp: New testcase.
2095 * gdb.ada/frame_arg_lang/bla.adb: New file.
2096 * gdb.ada/frame_arg_lang/pck.ads: New file.
2097 * gdb.ada/frame_arg_lang/pck.adb: New file.
2098 * gdb.ada/frame_arg_lang/foo.c: New file.
2100 2019-05-08 Tom Tromey <tromey@adacore.com>
2102 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2104 2019-05-08 Tom Tromey <tromey@adacore.com>
2106 * gdb.base/ptype-offsets.exp: Update tests.
2108 2019-05-08 Tom Tromey <tromey@adacore.com>
2110 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2112 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2115 2019-05-08 Tom Tromey <tromey@adacore.com>
2117 * gdb.ada/vla.exp: New file.
2118 * gdb.ada/vla/vla.adb: New file.
2120 2019-05-07 Tom de Vries <tdevries@suse.de>
2122 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2124 2019-05-07 Tom de Vries <tdevries@suse.de>
2127 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2130 2019-05-07 Tom de Vries <tdevries@suse.de>
2133 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2134 .debug_aranges section.
2136 2019-05-07 Tom de Vries <tdevries@suse.de>
2139 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2141 2019-05-06 Tom de Vries <tdevries@suse.de>
2143 * lib/gdb.exp (exec_has_index_section): New proc.
2144 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2147 2019-05-04 Tom de Vries <tdevries@suse.de>
2149 * boards/cc-with-debug-names.exp: New file.
2151 2019-05-03 Tom Tromey <tromey@adacore.com>
2153 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2154 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2155 * gdb.ada/char_enum.exp: Add test.
2157 2019-05-03 Tom de Vries <tdevries@suse.de>
2159 * boards/cc-with-gdb-index.exp: New file.
2161 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2163 * gdb.rust/simple.exp: Add new test case.
2164 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2165 (main): Initialise an instance of the new struct.
2167 2019-05-01 Tom Tromey <tromey@adacore.com>
2169 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2171 (NPR): New variable.
2172 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2175 2019-05-01 Tom Tromey <tromey@adacore.com>
2177 * gdb.ada/packed_array_assign.exp: Add packed assignment
2180 2019-05-01 Tom de Vries <tdevries@suse.de>
2182 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2184 2019-05-01 Tom de Vries <tdevries@suse.de>
2186 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2188 2019-04-30 Ali Tamur <tamur@google.com>
2190 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2192 2019-04-30 Tom Tromey <tromey@adacore.com>
2194 * lib/ada.exp (find_ada_tool): New proc.
2195 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2196 * gdb.ada/catch_ex_std.exp: New file.
2197 * gdb.ada/catch_ex_std/foo.adb: New file.
2198 * gdb.ada/catch_ex_std/some_package.adb: New file.
2199 * gdb.ada/catch_ex_std/some_package.ads: New file.
2201 2019-04-30 Tom Tromey <tromey@adacore.com>
2204 * gdb.cp/temargs.cc: Add test code from PR.
2206 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2208 * gdb.fortran/vla-datatypes.exp: Update expected results.
2209 * gdb.fortran/vla-ptype.exp: Likewise.
2210 * gdb.fortran/vla-type.exp: Likewise.
2211 * gdb.fortran/vla-value.exp: Likewise.
2213 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2215 * gdb.fortran/ptr-indentation.exp: Update expected results.
2216 * gdb.fortran/ptype-on-functions.exp: Likewise.
2217 * gdb.fortran/vla-ptr-info.exp: Likewise.
2218 * gdb.fortran/vla-value.exp: Likewise.
2220 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2222 * gdb.fortran/ptype-on-functions.exp: New file.
2223 * gdb.fortran/ptype-on-functions.f90: New file.
2225 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2227 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2230 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2232 * gdb.fortran/complex.exp: Expand.
2233 * gdb.fortran/complex.f: Renamed to...
2234 * gdb.fortran/complex.f90: ...this, and extended to add more
2237 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2239 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2242 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2243 Richard Bunt <richard.bunt@arm.com>
2245 * gdb.base/max-depth.c: New file.
2246 * gdb.base/max-depth.exp: New file.
2247 * gdb.python/py-nested-maps.c: New file.
2248 * gdb.python/py-nested-maps.exp: New file.
2249 * gdb.python/py-nested-maps.py: New file.
2250 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2251 (test_all_common): Call test_max_depth.
2252 * gdb.fortran/max-depth.exp: New file.
2253 * gdb.fortran/max-depth.f90: New file.
2254 * gdb.go/max-depth.exp: New file.
2255 * gdb.go/max-depth.go: New file.
2256 * gdb.modula2/max-depth.exp: New file.
2257 * gdb.modula2/max-depth.c: New file.
2258 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2260 2019-04-29 Tom de Vries <tdevries@suse.de>
2262 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2264 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2266 * gdb.base/callexit.exp: Test may-call-functions off.
2268 2019-04-25 Keith Seitz <keiths@redhat.com>
2271 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2272 (another_incomplete_struct, test_incomplete): New definitions.
2273 (main): Use new definitions.
2274 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2277 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2281 * gdb.base/coredump-filter-build-id.exp: New file.
2283 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2285 * Makefile.in: Pass through GDBSERVER_DEBUG.
2286 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2287 (gdbserver,debug): Add board setting.
2288 * gdb.trace/tspeed.exp: Skip when debugging.
2289 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2290 * lib/gdbserver-support.exp: Likewise
2292 2019-04-24 Tom Tromey <tromey@adacore.com>
2294 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2297 2019-04-24 Tom Tromey <tromey@adacore.com>
2299 * gdb.arch/amd64-eval.exp: Test bitfield return.
2300 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2301 (class Foo) <return_bitfields>: New method.
2304 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2306 * gdb.cp/many-args.cc: New file.
2307 * gdb.cp/many-args.exp: New file.
2309 2019-04-23 Tom de Vries <tdevries@suse.de>
2312 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2314 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2316 * gdb.trace/backtrace.exp: Use nopie flag.
2317 * gdb.trace/circ.exp: Likewise.
2318 * gdb.trace/collection.exp: Likewise.
2319 * gdb.trace/ftrace.exp: Likewise.
2320 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2321 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2322 * gdb.trace/qtro.exp: Likewise.
2323 * gdb.trace/read-memory.exp: Likewise.
2324 * gdb.trace/report.exp: Likewise.
2325 * gdb.trace/tfile.exp: Likewise.
2326 * gdb.trace/tfind.exp: Likewise.
2327 * gdb.trace/unavailable.exp: Likewise.
2329 2019-04-22 Pedro Alves <palves@redhat.com>
2331 * gdb.base/solib-probes-nosharedlibrary.c,
2332 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2334 2019-04-19 Tom Tromey <tromey@adacore.com>
2336 * gdb.ada/ptype_union.c: New file.
2337 * gdb.ada/ptype_union.exp: New file.
2339 2019-04-19 Tom Tromey <tromey@adacore.com>
2342 * gdb.base/list0.h (foo): Add a control-l character.
2344 2019-04-18 Tom de Vries <tdevries@suse.de>
2347 * boards/local-board.exp: Set sysroot to "".
2349 2019-04-18 Tom de Vries <tdevries@suse.de>
2350 Pedro Alves <palves@redhat.com>
2353 * gdb.threads/vfork-follow-child-exec.c: New file.
2354 * gdb.threads/vfork-follow-child-exec.exp: New file.
2355 * gdb.threads/vfork-follow-child-exit.c: New file.
2356 * gdb.threads/vfork-follow-child-exit.exp: New file.
2358 2019-04-15 Leszek Swirski <leszeks@google.com>
2360 * gdb.arch/amd64-eval.cc: New file.
2361 * gdb.arch/amd64-eval.exp: New file.
2363 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2365 * gdb.server/sysroot.c: New test.
2366 * gdb.server/sysroot.exp: New file.
2367 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2370 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2372 * gdb.base/align.exp: Extend test to cover structures containing
2375 2019-04-11 Tom de Vries <tdevries@suse.de>
2377 * boards/cc-with-dwz-m.exp: New file.
2378 * boards/cc-with-dwz.exp: New file.
2379 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2381 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2383 * gdb.base/start-cpp.exp: New file.
2384 * gdb.base/start-cpp.cc: New file.
2386 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2388 * gdb.python/py-thrhandle.exp: Adjust tests to call
2389 thread_from_handle instead of thread_from_thread_handle.
2391 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2393 * gdb.python/py-thrhandle.exp: Add tests for
2394 gdb.InferiorThread.handle.
2396 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2398 * gdb.python/py-function.exp: Check calling helper function from
2400 * lib/gdb.exp (gdb_supported_languages): New proc.
2402 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2404 * gdb.base/complex-parts.c: New file.
2405 * gdb.base/complex-parts.exp: New file.
2407 2019-04-01 Tom Tromey <tromey@adacore.com>
2410 * gdb.dwarf2/dw2-ranges-main.c: New file.
2411 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2412 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2414 2019-03-30 Simon Marchi <simark@simark.ca>
2416 * gdb.base/default.exp: Add values for $_gdb_major and
2419 2019-03-29 Tom Tromey <tromey@adacore.com>
2421 * gdb.base/help.exp: Tighten apropos regexp.
2423 2019-03-29 Keith Seitz <keiths@redhat.com>
2425 * gdb.fortran/array-bounds.exp: New file.
2426 * gdb.fortran/array-bounds.f90: New file.
2428 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2430 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2432 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2434 * gdb.multi/hello.c (main): Increase alarm timer.
2436 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2438 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2439 factor when no hardware watchpoint support.
2441 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2442 Pedro Alves <palves@redhat.com>
2444 * boards/local-board.exp: set sysroot to /.
2446 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2448 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2451 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2453 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2455 (make_container): Initialise new field.
2456 * gdb.python/py-prettyprint.exp: Add new tests.
2457 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2458 <display_hint>: New method.
2460 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2462 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2463 gdb_continue_to_breakpoint more throughout this test.
2464 (run_lang_tests) Supply unique test names, and use
2467 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2469 * gdb.base/finish-pretty.exp: Update expected results.
2470 * gdb.base/pretty-print.c: New file.
2471 * gdb.base/pretty-print.exp: New file.
2473 2019-03-25 Pedro Alves <palves@redhat.com>
2475 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2476 move comments outside list. Append '-i "" eof' section.
2478 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2481 * README: Add pie options.
2482 * gdb.base/break-interp.exp: Ensure pie is disabled.
2483 * gdb.base/dump.exp: Likewise.
2484 * lib/gdb.exp (gdb_compile): Add pie option.
2486 2019-03-19 Tom Tromey <tromey@adacore.com>
2488 * gdb.mi/mi2-cli-display.c: New file.
2489 * gdb.mi/mi2-cli-display.exp: New file.
2491 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2492 Tom Tromey <tromey@adacore.com>
2494 * gdb.ada/ptype_array/pck.adb: New file.
2495 * gdb.ada/ptype_array/pck.ads: New file.
2496 * gdb.ada/ptype_array/foo.adb: New file.
2497 * gdb.ada/ptype_array.exp: New file.
2499 2019-03-14 Tom Tromey <tromey@adacore.com>
2501 * gdb.base/style.exp: Add "set style sources" test.
2503 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2505 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2506 * mi-breakpoint-multiple-locations.exp: ... this.
2507 (make_breakpoints_pattern): New proc.
2508 (do_test): Add mi_version parameter, test -break-insert,
2509 -break-info and =breakpoint-created.
2511 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2513 * config/default.exp: Remove 'load_lib gdb.exp'.
2514 * config/monitor.exp: Likewise.
2515 * config/sid.exp: Likewise.
2516 * config/sim.exp: Likewise.
2517 * config/slite.exp: Likewise.
2518 * config/unix.exp: Likewise.
2519 * gdb.base/default.exp: Remove unhelpful comment.
2521 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2523 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2525 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2527 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2529 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2531 * gdb.fortran/type-kinds.exp: Update expected results.
2533 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2535 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2537 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2539 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2541 (test_basic_parsing_of_type_kinds): Expand types tested.
2542 (test_parsing_invalid_type_kinds): New function.
2544 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2546 * gdb.fortran/intrinsics.exp: New file.
2547 * gdb.fortran/intrinsics.f90: New file.
2548 * gdb.fortran/type-kinds.exp: New file.
2550 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2552 * gdb.fortran/dot-ops.exp: New file.
2554 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2556 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2557 Check upper and lower case logical literals.
2559 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2561 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2562 Remove duplicate tests.
2564 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2566 * lib/gdb.exp (builtin_cd): rename of cd.
2567 (cd): Override builtin.
2569 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2571 * gdb.fortran/function-calls.exp: New file.
2572 * gdb.fortran/function-calls.f90: New test.
2574 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2576 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2577 on user program standard output.
2578 * gdb.fortran/short-circuit-argument-list.f90: Record function
2581 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2583 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2586 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2589 * gdb.base/interrupt-daemon-attach.c,
2590 gdb.base/interrupt-daemon-attach.exp: New test.
2592 2019-02-27 Pedro Alves <palves@redhat.com>
2594 * gdb.base/page.exp: Add tests for "set width/height -1".
2596 2019-02-27 Pedro Alves <palves@redhat.com>
2598 * gdb.base/page.exp: Add tests for "set/show width/height" with
2601 2019-02-27 Tom Tromey <tromey@adacore.com>
2603 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2605 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2608 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2610 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2611 tests for structs with static members.
2613 2019-02-26 Tom Tromey <tromey@adacore.com>
2615 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2616 ValueError, not TypeError.
2618 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2620 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2621 call from main program.
2623 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2625 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2626 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2627 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2628 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2629 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2631 2019-02-22 Keith Seitz <keiths@redhat.com>
2634 * gdb.base/symlink-sourcefile.c: New file.
2635 * gdb.base/symlink-sourcefile.exp: New file.
2637 2019-02-20 Tom Tromey <tom@tromey.com>
2639 * gdb.base/info_qt.exp: Update.
2641 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2643 * gdb.base/source.exp: Move "error in sourced script" code to
2645 * gdb.base/source-error.gdb: Move contents to
2646 source-error-1.gdb. Add new code to source source-error-1.gdb.
2647 * gdb.base/source-error-1.gdb: New file, from previous
2650 2019-02-17 Tom Tromey <tom@tromey.com>
2652 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2654 * gdb.base/style.c (SOME_MACRO): New macro.
2656 2019-02-17 Tom Tromey <tom@tromey.com>
2658 * gdb.base/style.exp: Add line-wrapping tests.
2659 * gdb.base/page.exp: Add test for quitting during pagination.
2661 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2663 * gdb.ada/big_packed_array: New testcase.
2664 * gdb.ada/homonym.exp: Fix incorrect expected output for
2665 "break <homonym__get_value>" test.
2667 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2669 PR breakpoints/21870
2670 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2671 and prepare_for_testing. Add comment.
2672 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2673 redundant cleanup call. Clean up comment.
2675 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2677 PR breakpoints/21870
2678 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2679 * gdb.arch/aarch64-dbreg-contents.c: New file.
2681 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2683 * gdb.ada/mi_ref_changeable: New testcase.
2685 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2687 * gdb.base/attach.exp: Add double attach test.
2689 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2691 * lib/gdb.exp (default_gdb_start): Don't match pagination
2693 (gdb_init): Set stty_init.
2695 2019-01-27 Tom Tromey <tom@tromey.com>
2697 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2700 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2702 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2704 (struct struct_static_02_02): Likewise.
2705 (struct struct_static_02_03): Likewise.
2706 (struct struct_static_02_04): Likewise.
2707 (struct struct_static_04_01): Likewise.
2708 (struct struct_static_04_02): Likewise.
2709 (struct struct_static_04_03): Likewise.
2710 (struct struct_static_04_04): Likewise.
2711 (struct struct_static_06_01): Likewise.
2712 (struct struct_static_06_02): Likewise.
2713 (struct struct_static_06_03): Likewise.
2714 (struct struct_static_06_04): Likewise.
2715 (cmp_struct_static_02_01): Likewise.
2716 (cmp_struct_static_02_02): Likewise.
2717 (cmp_struct_static_02_03): Likewise.
2718 (cmp_struct_static_02_04): Likewise.
2719 (cmp_struct_static_04_01): Likewise.
2720 (cmp_struct_static_04_02): Likewise.
2721 (cmp_struct_static_04_03): Likewise.
2722 (cmp_struct_static_04_04): Likewise.
2723 (cmp_struct_static_06_01): Likewise.
2724 (cmp_struct_static_06_02): Likewise.
2725 (cmp_struct_static_06_03): Likewise.
2726 (cmp_struct_static_06_04): Likewise.
2727 (call_all): Test new structs.
2728 * gdb.base/infcall-nested-structs.exp: Likewise.
2730 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2731 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2733 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2734 * gdb.base/stack-protector.c: New test.
2735 * gdb.base/stack-protector.exp: New file.
2736 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2737 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2739 (gdb_compile): Remove stack protector for GCC and prevent
2742 2019-01-16 Keith Seitz <keiths@redhat.com>
2745 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2747 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2749 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2751 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2753 * gdb.arch/powerpc-vector-regs.c: New file.
2754 * gdb.arch/powerpc-vector-regs.exp: New file.
2756 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2758 * gdb.arch/altivec-regs.exp: Fix the list passed to
2759 gdb_expect_list when testing "info vector".
2761 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2763 * gdb.base/style.exp: Don't include path in testname.
2765 2019-01-10 Keith Seitz <keiths@redhat.com>
2769 * gdb.dwarf2/multidictionary.exp: New file.
2771 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2773 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2774 (test_gnuv3_style_demangling): ... this.
2775 (test_lucid_style_demangling): Remove.
2776 (test_arm_style_demangling): Remove.
2777 (test_hp_style_demangling): Remove.
2778 (do_tests): Remove calls to the above.
2780 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2782 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2785 2019-01-06 Tom Tromey <tom@tromey.com>
2788 * gdb.dwarf2/typedef-void-finish.exp: New file.
2790 2018-12-28 Tom Tromey <tom@tromey.com>
2791 Simon Marchi <simark@simark.ca>
2793 * gdb.base/jit-exec.exp: New file.
2794 * gdb.base/jit-exec.c: New file.
2795 * gdb.base/jit-execd.c: New file.
2797 2018-12-28 Tom Tromey <tom@tromey.com>
2799 * gdb.base/style.exp: Update test to check for address styling.
2801 2018-12-28 Tom Tromey <tom@tromey.com>
2803 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2806 2018-12-28 Tom Tromey <tom@tromey.com>
2808 * gdb.base/style.exp: Add test for version number styling.
2810 2018-12-28 Tom Tromey <tom@tromey.com>
2812 * gdb.base/style.exp: Add test for print_address_symbolic.
2814 2018-12-28 Tom Tromey <tom@tromey.com>
2816 * gdb.base/style.exp: Add test for breakpoint setting.
2818 2018-12-28 Tom Tromey <tom@tromey.com>
2820 * gdb.base/style.exp: Add test for variable names.
2822 2018-12-28 Tom Tromey <tom@tromey.com>
2824 * gdb.base/style.exp: New file.
2825 * gdb.base/style.c: New file.
2827 2018-12-28 Tom Tromey <tom@tromey.com>
2829 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2831 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2832 the TERM environment variable.
2834 2018-12-27 Tom Tromey <tom@tromey.com>
2836 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2839 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2841 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2842 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2844 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2846 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2847 Filename a.adb changed to bp_fun_addr.adb.
2848 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2850 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2852 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2853 non-PIE executables.
2854 * README: Mention the gdb,nopie_flag board setting.
2855 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2857 * gdb.arch/amd64-entry-value.exp: Likewise.
2858 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2859 * gdb.arch/i386-float.exp: Likewise.
2860 * gdb.arch/i386-signal.exp: Likewise.
2861 * gdb.mi/mi-reg-undefined.exp: Likewise.
2863 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2866 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2868 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2870 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2871 Update order of results accordingly.
2873 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2875 * gdb.base/annota1.exp: Update a test regexp.
2877 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2879 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2881 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2883 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2884 (reuse_time): Initialize to REUSE_TIME_CAP.
2885 (check_rc): New function.
2886 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2887 Check pthread_create rc.
2888 (spawner_thread_func): Check pthread_create and pthread_join rc.
2890 2018-12-08 Pedro Alves <palves@redhat.com>
2892 * gdb.base/list.exp (test_forward_search): Rename to ...
2893 (test_forward_reverse_search): ... this. Also test reverse-search
2894 and the forward-search alias.
2896 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2898 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2899 local timeout variable before return, and remove all local timeout
2901 (gdb_load): Likewise.
2903 2018-12-01 Tom de Vries <tdevries@suse.de>
2905 * gdb.base/gdb-caching-proc.exp: New file.
2907 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2909 * Makefile.in (TIMESTAMP): New variable.
2910 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2912 (check-single-racy): Likewise.
2913 (check/%.exp): Likewise.
2914 (check-racy/%.exp): Likewise.
2915 (workers/%.worker): Likewise.
2916 (build-perf): Likewise.
2917 (check-perf): Likewise.
2918 * README: Describe new "TS" and "TS_FORMAT" variables.
2919 * print-ts.py: New file.
2921 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2924 * gdb.python/python.exp: Test command repetition after
2927 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2929 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2930 is correctly aligned.
2932 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2934 * gdb.ada/info_auto_lang.exp: New testcase.
2935 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2936 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2937 * gdb.ada/info_auto_lang/some_c.c: New file.
2939 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2941 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2942 FUNC_lang language syntax.
2944 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2946 * gdb.base/info_minsym.c: New file.
2947 * gdb.base/info_minsym.exp: New file.
2949 2018-11-19 Tom Tromey <tom@tromey.com>
2952 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2953 * gdb.rust/expr.exp: Update expected output. Change one test.
2955 2018-11-19 Tom Tromey <tom@tromey.com>
2957 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2959 2018-11-19 Pedro Alves <palves@redhat.com>
2961 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2962 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2963 see the expected warning.
2965 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2968 * gdb.cp/infcall-nodebug-lib.c: New test.
2969 * gdb.cp/infcall-nodebug-main.c: New test.
2970 * gdb.cp/infcall-nodebug.exp: New file.
2972 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2974 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2977 2018-11-09 Tom de Vries <tdevries@suse.de>
2979 * gdb.base/msym-lang.c: New test.
2980 * gdb.base/msym-lang.exp: New file.
2981 * gdb.base/msym-lang-main.c: New test.
2983 2018-11-08 Tom Tromey <tom@tromey.com>
2987 * gdb.base/warning.exp: New file.
2989 2018-11-08 Jan Beulich <jbeulich@suse.com>
2991 * testsuite/gdb.arch/i386-avx512.c,
2992 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2994 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2996 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2999 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3001 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3002 * gdb.dwarf2/missing-type-name.exp: New file.
3004 2018-11-06 Tom de Vries <tdevries@suse.de>
3006 * gdb.base/many-headers.c: New test.
3007 * gdb.base/many-headers.exp: New file.
3009 2018-11-06 Jim Wilson <jimw@sifive.com>
3011 * gdb.base/code_elim.exp: For riscv, set additional_flags
3012 to include -msmall-data-limit=0.
3014 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3016 * gdb.ada/watch_minus_l: New testcase.
3018 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3020 * gdb.arch/aix-sighandle.c: New file.
3021 * gdb.arch/aix-sighandle.exp: New file.
3023 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3025 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3026 registers being unions.
3028 2018-10-31 Tom de Vries <tdevries@suse.de>
3030 * lib/valgrind.exp: New file.
3031 (vgdb_start, vgdb_stop): New procs, factored out of ...
3032 * gdb.base/valgrind-bt.exp: ... here, ...
3033 * gdb.base/valgrind-disp-step.exp: ... here and ...
3034 * gdb.base/valgrind-infcall.exp: ... here.
3036 2018-10-31 Tom de Vries <tdevries@suse.de>
3038 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3040 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3042 * gdb.dwarf2/void-type.c: New file.
3043 * gdb.dwarf2/void-type.exp: New file.
3045 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3047 * gdb.base/info_qt.c: New file.
3048 * gdb.base/info_qt.exp: New file.
3050 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3052 * gdb.arch/powerpc-htm-regs.c: New file.
3053 * gdb.arch/powerpc-htm-regs.exp: New file.
3055 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3057 * gdb.arch/powerpc-tar.c: New file.
3058 * gdb.arch/powerpc-tar.exp: New file.
3060 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3062 * gdb.arch/powerpc-ppr-dscr.c: New file.
3063 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3065 2018-10-25 Tom de Vries <tdevries@suse.de>
3067 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3069 2018-10-24 Tom de Vries <tdevries@suse.de>
3071 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3072 longer exists error.
3074 2018-10-24 Tom de Vries <tdevries@suse.de>
3076 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3078 2018-10-24 Tom de Vries <tdevries@suse.de>
3080 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3081 --db-attach in valgrind.
3083 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3085 * gdb.arch/riscv-reg-aliases.c: New file.
3086 * gdb.arch/riscv-reg-aliases.exp: New file.
3088 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3090 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3092 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3094 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3096 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3098 * gdb.cp/ovldbreak.exp: Fix regexps.
3100 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3102 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3104 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3107 * gdb.base/restore.exp: New test to check if "restore" with an
3108 invalid file doesn't segfault.
3110 2018-10-18 Tom de Vries <tdevries@suse.de>
3112 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3113 * gdb.ada/excep_handle.exp: Same.
3114 * gdb.ada/mi_string_access.exp: Same.
3115 * gdb.ada/mi_var_union.exp: Same.
3116 * gdb.arch/arc-analyze-prologue.exp: Same.
3117 * gdb.arch/arc-decode-insn.exp: Same.
3118 * gdb.base/readnever.exp: Same.
3119 * gdb.fortran/printing-types.exp: Same.
3120 * gdb.guile/scm-lazy-string.exp: Same.
3122 2018-10-16 Tom de Vries <tdevries@suse.de>
3125 * gdb.base/catch-follow-exec.c: Add copyright notice.
3126 * gdb.base/catch-follow-exec.exp: Rewrite to use
3127 gdb_spawn_with_cmdline_opts. Require gdb-native.
3129 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3131 * gdb.trace/actions-changed.exp: Check for arch support.
3132 * gdb.trace/actions.exp: Likewise.
3133 * gdb.trace/ax.exp: Likewise.
3134 * gdb.trace/backtrace.exp: Likewise.
3135 * gdb.trace/change-loc.exp: Likewise.
3136 * gdb.trace/deltrace.exp: Likewise.
3137 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3138 * gdb.trace/ftrace.exp: Likewise.
3139 * gdb.trace/infotrace.exp: Check for arch support.
3140 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3141 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3142 * gdb.trace/mi-tsv-changed.exp: Likewise.
3143 * gdb.trace/packetlen.exp: Likewise.
3144 * gdb.trace/passc-dyn.exp: Likewise.
3145 * gdb.trace/passcount.exp: Likewise.
3146 * gdb.trace/pending.exp: Likewise.
3147 * gdb.trace/range-stepping.exp: Check for shlib support.
3148 * gdb.trace/report.exp: Check for arch support.
3149 * gdb.trace/save-trace.exp: Likewise.
3150 * gdb.trace/signal.exp: Check for signal support.
3151 * gdb.trace/tfind.exp: Check for arch support.
3152 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3153 * gdb.trace/trace-common.h: Add comment.
3154 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3155 * gdb.trace/trace-enable-disable.exp: Likewise.
3156 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3157 * gdb.trace/tracecmd.exp: Check for arch support.
3158 * gdb.trace/tspeed.exp: Check for shlib and target support.
3159 * gdb.trace/tstatus.exp: Check for arch support.
3160 * gdb.trace/tsv.exp: Likewise.
3161 * gdb.trace/while-dyn.exp: Likewise.
3162 * gdb.trace/while-stepping.exp: Likewise.
3163 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3165 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3167 * gdb.trace/tspeed.exp: Remove nowarnings.
3168 (prepare_for_trace_test): Declare "global ipalib".
3169 * gdb.trace/tspeed.c: Include unistd.h.
3170 (main): Remove superfluous printf argument.
3172 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3174 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3175 directory prefix on the filename.
3177 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3179 * gdb.gdb/unittest.exp: Update expected message informing that
3180 selftests have been disabled.
3181 * gdb.server/unittest.exp: Likewise.
3183 2018-10-09 Tom de Vries <tdevries@suse.de>
3185 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3188 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3191 * gdb.cp/virtbase2.cc: New file.
3192 * gdb.cp/virtbase2.exp: New file.
3194 2018-10-06 Tom Tromey <tom@tromey.com>
3197 * gdb.python/py-inferior.exp: Add architecture test.
3199 2018-10-06 Tom Tromey <tom@tromey.com>
3201 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3202 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3204 2018-10-06 Tom Tromey <tom@tromey.com>
3206 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3207 of a "throw" catchpoint.
3209 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3211 * gdb.base/info-proc.exp: Update string expected from "help info
3214 2018-10-04 Tom Tromey <tom@tromey.com>
3216 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3217 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3218 (test_initial_complaints, test_empty_complaints): Update.
3219 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3221 2018-10-04 Tom Tromey <tom@tromey.com>
3224 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3225 * lib/gdb.exp (gdb_file_cmd): Update.
3226 * gdb.stabs/weird.exp (print_weird_var): Update.
3227 * gdb.server/solib-list.exp: Update.
3228 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3229 * gdb.mi/mi-cli.exp: Update.
3230 * gdb.linespec/linespec.exp: Update.
3231 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3232 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3233 * gdb.cp/cp-relocate.exp: Update.
3234 * gdb.base/sym-file.exp: Update.
3235 * gdb.base/relocate.exp: Update.
3236 * gdb.base/readnever.exp: Update.
3237 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3238 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3239 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3240 * gdb.base/code_elim.exp: Update.
3241 * gdb.base/break-unload-file.exp (test_break): Update.
3242 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3243 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3245 * gdb.base/attach.exp (do_attach_tests): Update.
3246 * gdb.base/sepdebug.exp: Update.
3247 * gdb.python/py-section-script.exp: Update.
3249 2018-10-04 Tom Tromey <tom@tromey.com>
3252 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3253 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3256 2018-10-04 Tom Tromey <tom@tromey.com>
3258 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3259 set width and height to 0.
3260 (test_command_line_attach_run): Use -quiet.
3262 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3264 * lib/gdb.exp (skip_ifunc_tests): New.
3265 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3266 other compile failures.
3267 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3269 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3271 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3272 is_amd64_regs_target.
3274 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3276 * gdb.arch/aarch64-sighandler-regs.c: New test.
3277 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3278 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3280 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3282 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3285 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3287 * gdb.base/frame-selection.exp: New file.
3288 * gdb.base/frame-selection.c: New file.
3290 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3292 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3296 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3298 * gdb.base/large-frame-1.c: New file.
3299 * gdb.base/large-frame-2.c: New file.
3300 * gdb.base/large-frame.exp: New file.
3301 * gdb.base/large-frame.h: New file.
3303 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3306 * gdb.base/write_mem.exp: New test.
3307 * gdb.base/write_mem.c: Likewise.
3309 2018-09-23 Tom Tromey <tom@tromey.com>
3312 * gdb.python/py-parameter.exp: Add test for parameter that throws
3315 2018-09-23 Tom Tromey <tom@tromey.com>
3318 * gdb.python/py-template.exp (test_template_arg): Add test for
3319 negative template argument number.
3321 2018-09-23 Tom Tromey <tom@tromey.com>
3324 * gdb.python/python.exp: Add test for post_event error.
3326 2018-09-23 Tom Tromey <tom@tromey.com>
3329 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3330 convert pointers to int and long.
3332 2018-09-23 Tom Tromey <tom@tromey.com>
3335 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3336 signed-ness conversion tests.
3338 2018-09-23 Tom Tromey <tom@tromey.com>
3341 * gdb.python/py-value.exp (test_float_conversion): New proc.
3344 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3346 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3348 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3350 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3352 * gdb.base/utf8-identifiers.exp: Likewise.
3353 * gdb.cp/cpcompletion.exp: Likewise.
3354 * gdb.linespec/cpcompletion.exp: Likewise.
3355 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3356 * gdb.linespec/cpls-ops.exp: Likewise.
3358 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3359 Chris January <chris.january@arm.com>
3361 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3362 * gdb.fortran/short-circuit-argument-list.exp: New file.
3363 * gdb.fortran/short-circuit-argument-list.f90: New test.
3365 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3367 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3368 "arch=" keyword when executing "-stack-list-frames".
3370 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3372 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3373 "arch=" keyword when executing "-stack-list-frames".
3375 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3377 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3380 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3383 * gdb.python/python.exp: Test gdb.execute("show commands").
3385 2018-09-16 Tom Tromey <tom@tromey.com>
3387 * gdb.base/new-ui.exp (do_execution_tests): Update.
3388 * gdb.base/dbx.exp (test_breakpoints): Update.
3390 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3392 * lib/gdb.exp (gdb_simple_compile): Add proc.
3393 (is_elf_target): Use gdb_simple_compile.
3394 (skip_altivec_tests): Likewise.
3395 (skip_vsx_tests): Likewise.
3396 (skip_tsx_tests): Likewise.
3397 (skip_btrace_tests): Likewise.
3398 (skip_btrace_pt_tests): Likewise.
3399 (gdb_can_simple_compile): Likewise.
3400 (gdb_has_argv0): Likewise.
3401 (gdb_target_symbol_prefix): Likewise.
3402 (target_supports_scheduler_locking): Likewise.
3404 2018-09-13 Tom Tromey <tom@tromey.com>
3406 * Makefile.in (TAGS): Recognize proc_with_prefix and
3409 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3411 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3414 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3416 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3417 and a few other Inferior properties when the Inferior is no
3420 2018-09-13 Tom Tromey <tom@tromey.com>
3423 * gdb.rust/simple.exp: Add test for enum field access error.
3425 2018-09-13 Tom Tromey <tom@tromey.com>
3428 * gdb.rust/simple.rs (EmptyEnum): New type.
3430 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3432 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3434 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3435 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3436 * gdb.python/py-symtab.exp: Update test printing an objfile.
3438 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3440 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3443 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3445 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3446 (support_complex_tests): Use gdb_can_simple_compile.
3447 (is_ilp32_target): Likewise.
3448 (is_lp64_target): Likewise.
3449 (is_64_target): Likewise.
3450 (is_amd64_regs_target): Likewise.
3451 (is_aarch32_target): Likewise.
3452 (gdb_int128_helper): Likewise.
3454 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3456 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3458 2018-09-10 Jerome Guitton <guitton@adacore.com>
3460 * gdb.ada/same_component_name: Add test for case of tagged record
3461 with variable-length fields.
3463 2018-09-10 Xavier Roirand <roirand@adacore.com>
3465 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3466 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3467 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3468 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3470 2018-09-10 Xavier Roirand <roirand@adacore.com>
3472 * gdb.ada/mi_string_access.exp: New testcase.
3473 * gdb.ada/mi_string_access/bar.adb: New file.
3474 * gdb.ada/mi_string_access/pck.adb: New file.
3475 * gdb.ada/mi_string_access/pck.asd: New file.
3477 2018-09-10 Xavier Roirand <roirand@adacore.com>
3479 * gdb.ada/mi_var_union.exp: New testcase.
3480 * gdb.ada/mi_var_union/bar.adb: New file.
3481 * gdb.ada/mi_var_union/pck.adb: New file.
3482 * gdb.ada/mi_var_union/pck.asd: New file.
3484 2018-09-08 Tom Tromey <tom@tromey.com>
3486 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3488 2018-09-08 Tom Tromey <tom@tromey.com>
3491 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3492 (register_pretty_printers): Register new printer.
3493 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3495 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3496 (an_int_type3): New global.
3498 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3500 * gdb.ada/expr_with_funcall: New testcase.
3502 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3504 * gdb.ada/packed_array_assign: New testcase.
3506 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3508 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3509 names, and add test prefixes to make test names unique.
3511 2018-09-05 Tom de Vries <tdevries@suse.de>
3513 * gdb.dwarf2/varval.exp: Add test.
3515 2018-09-04 Gary Benson <gbenson@redhat.com>
3517 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3518 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3520 2018-08-31 Tom Tromey <tom@tromey.com>
3522 * gdb.rust/simple.rs: Rename second variable "v".
3524 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3526 * gdb.base/funcargs.c (use_a): New function.
3527 (recurse): Call use_a.
3529 2018-08-29 Keith Seitz <keiths@redhat.com>
3531 * gdb.compile/compile-cplus-anonymous.cc: New file.
3532 * gdb.compile/compile-cplus-anonymous.exp: New file.
3533 * gdb.compile/compile-cplus-array-decay.cc: New file.
3534 * gdb.compile/compile-cplus-array-decay.exp: New file.
3535 * gdb.compile/compile-cplus-inherit.cc: New file.
3536 * gdb.compile/compile-cplus-inherit.exp: New file.
3537 * gdb.compile/compile-cplus-member.cc: New file.
3538 * gdb.compile/compile-cplus-member.exp: New file.
3539 * gdb.compile/compile-cplus-method.cc: New file.
3540 * gdb.compile/compile-cplus-method.exp: New file.
3541 * gdb.compile/compile-cplus-mod.c: "New" file.
3542 * gdb.compile/compile-cplus-namespace.cc: New file.
3543 * gdb.compile/compile-cplus-namespace.exp: New file.
3544 * gdb.compile/compile-cplus-nested.cc: New file.
3545 * gdb.compile/compile-cplus-nested.exp: New file.
3546 * gdb.compile/compile-cplus-print.c: "New" file.
3547 * gdb.compile/compile-cplus-print.exp: "New" file.
3548 * gdb.compile/compile-cplus-virtual.cc: New file.
3549 * gdb.compile/compile-cplus-virtual.exp: New file.
3550 * gdb.compile/compile-cplus.c: "New" file.
3551 * gdb.compile/compile-cplus.exp: "New" file.
3552 * lib/compile-support.exp: New file.
3554 2018-08-16 Gary Benson <gbenson@redhat.com>
3557 * gdb.base/batch-exit-status.exp: New file.
3558 * gdb.base/batch-exit-status.good-commands: Likewise.
3559 * gdb.base/batch-exit-status.bad-commands: Likewise.
3561 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3563 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3564 (struct struct02): Likewise.
3565 (struct struct03): Likewise.
3566 (struct struct04): Likewise.
3567 (struct struct_01_01): New struct.
3568 (struct struct_01_02): Likewise.
3569 (struct struct_01_03): Likewise.
3570 (struct struct_01_04): Likewise.
3571 (struct struct_02_01): Likewise.
3572 (struct struct_02_02): Likewise.
3573 (struct struct_02_03): Likewise.
3574 (struct struct_02_04): Likewise.
3575 (struct struct_04_01): Likewise.
3576 (struct struct_04_02): Likewise.
3577 (struct struct_04_03): Likewise.
3578 (struct struct_04_04): Likewise.
3579 (struct struct_05_01): Likewise.
3580 (struct struct_05_02): Likewise.
3581 (struct struct_05_03): Likewise.
3582 (struct struct_05_04): Likewise.
3583 (cmp_struct01): Remove function.
3584 (cmp_struct02): Likewise.
3585 (cmp_struct03): Likewise.
3586 (cmp_struct04): Likewise.
3587 (cmp_struct_01_01): Add Function.
3588 (cmp_struct_01_02): Likewise.
3589 (cmp_struct_01_03): Likewise.
3590 (cmp_struct_01_04): Likewise.
3591 (cmp_struct_02_01): Likewise.
3592 (cmp_struct_02_02): Likewise.
3593 (cmp_struct_02_03): Likewise.
3594 (cmp_struct_02_04): Likewise.
3595 (cmp_struct_04_01): Likewise.
3596 (cmp_struct_04_02): Likewise.
3597 (cmp_struct_04_03): Likewise.
3598 (cmp_struct_04_04): Likewise.
3599 (cmp_struct_05_01): Likewise.
3600 (cmp_struct_05_02): Likewise.
3601 (cmp_struct_05_03): Likewise.
3602 (cmp_struct_05_04): Likewise.
3603 (call_all): Add new structs.
3604 * gdb.base/infcall-nested-structs.exp: Likewise.
3606 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3608 * gdb.python/py-framefilter-mi.exp: Update regexp to
3609 check for "arch" field in frame output.
3611 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3613 * gdb.dwarf2/dw2-ranges-func.c: New file.
3614 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3616 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3618 * gdb.base/term.exp: Compare terminal settings with values from
3620 * gdb.base/term.c: Get and set terminal settings.
3622 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3624 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3625 accommodate new "arch" field in frame output.
3626 * gdb.mi/mi-return.exp: Likewise.
3627 * gdb.mi/mi-stack.exp: Likewise.
3628 * gdb.mi/mi-syn-frame.exp: Likewise.
3629 * gdb.mi/user-selected-context-sync.exp: Likewise.
3631 2018-08-19 Michael Spang <spang@google.com>
3634 * gdb.base/gcore-tls-pie.c: New file.
3635 * gdb.base/gcore-tls-pie.exp: New file.
3637 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3639 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3640 * gdb.dwarf2/varval.c: New file.
3641 * gdb.dwarf2/varval.exp: New file.
3643 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3646 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3648 2018-08-16 Keith Seitz <keiths@redhat.com>
3650 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3651 tests expected to pass.
3653 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3655 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3656 -data-disassemble -a.
3657 (test_disassembly_bogus_args): Likewise.
3659 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3661 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3663 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3665 * gdb.base/vla-optimized-out.exp: Add new test.
3667 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3669 * gdb.base/vla-optimized-out-o3.exp: Delete.
3670 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3671 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3674 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3677 * gdb.server/extended-remote-restart.c: New file.
3678 * gdb.server/extended-remote-restart.exp: New file.
3680 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3682 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3683 "set variable index = 42".
3685 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3687 * boards/index-cache-gdb.exp: New file.
3688 * gdb.dwarf2/index-cache.exp: New file.
3689 * gdb.dwarf2/index-cache.c: New file.
3690 * gdb.base/maint.exp: Check if we are using the index cache.
3692 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3694 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3697 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3699 * dg-extract-results.sh: Move to toplevel contrib.
3700 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3701 * Makefile.in (check-parallel-racy): Likewise.
3703 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3705 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3706 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3707 tests if the target supports scheduler locking.
3709 2018-08-04 Tom de Vries <tdevries@suse.de>
3711 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3713 2018-08-02 Tom Tromey <tom@tromey.com>
3716 * gdb.cp/temargs.exp: Test "info address" of a template
3719 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3721 * gdb.python/py-mi-var-info-path-expression.c: New file.
3722 * gdb.python/py-mi-var-info-path-expression.py: New file.
3723 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3725 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3727 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3728 error after "cannot resolve name" string.
3730 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3732 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3734 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3736 2018-07-28 Tom de Vries <tdevries@suse.de>
3738 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3740 2018-07-26 Tom de Vries <tdevries@suse.de>
3742 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3744 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3746 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3749 2018-07-26 Tom de Vries <tdevries@suse.de>
3751 PR breakpoints/23366
3752 * gdb.base/catch-follow-exec.c: New test.
3753 * gdb.base/catch-follow-exec.exp: New file.
3755 2018-07-25 Tom de Vries <tdevries@suse.de>
3757 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3758 vla-optimized-out.c.
3760 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3762 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3763 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3765 2018-07-20 Tom de Vries <tdevries@suse.de>
3767 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3769 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3771 2018-07-19 Tom de Vries <tdevries@suse.de>
3773 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3776 2018-07-18 Tom de Vries <tdevries@suse.de>
3778 * gdb.base/vla-optimized-out.c: New test.
3779 * gdb.base/vla-optimized-out.exp: New file.
3781 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3783 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3784 message "No address associated with hostname" when gdbserver
3785 cannot resolve the hostname.
3787 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3789 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3790 Add some test prefixes to make tests unique.
3792 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3794 * gdb.base/frameapply.c: New file.
3795 * gdb.base/frameapply.exp: New file.
3797 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3799 * gdb.base/skip.exp: Update expected error message.
3801 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3802 Jan Kratochvil <jan.kratochvil@redhat.com>
3803 Paul Fertser <fercerpav@gmail.com>
3804 Tsutomu Seki <sekiriki@gmail.com>
3806 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3808 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3810 * boards/native-gdbserver.exp: Likewise.
3811 * gdb.server/run-without-local-binary.exp: Improve regexp used
3812 for detecting when a remote debugging connection succeeds.
3813 * gdb.server/server-connect.exp: New file.
3814 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3815 Do not prefix the port number with ":".
3816 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3817 support for detecting and using it. Add '$debughost_gdbserver'
3818 to the list of arguments used to start gdbserver. Handle case
3819 when gdbserver cannot resolve a network name.
3821 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3824 * gdb.base/ptype-offsets.cc (struct static_member): New
3826 (main) <stmember>: New variable.
3827 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3828 with a static member in it.
3830 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3832 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3833 watchpoints enabled and disabled.
3835 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3837 * gdb.base/examine-backward.exp: Still run tests around address
3838 0x0, even if address 0x0 is not readable. Update the pattern for
3839 matching address 0x0 in expected output.
3841 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3843 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3846 2018-07-04 Tom de Vries <tdevries@suse.de>
3848 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3850 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3853 * gdb.arch/mips-disassembler-options.exp: New test.
3854 * gdb.arch/mips-disassembler-options.s: New test source.
3856 2018-06-29 Pedro Alves <palves@redhat.com>
3858 * gdb.threads/names.exp: Adjust expected "info threads" output.
3860 2018-06-29 Pedro Alves <palves@redhat.com>
3862 * gdb.opt/inline-break.exp (line number, address): Add "info
3865 2018-06-29 Pedro Alves <palves@redhat.com>
3867 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3868 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3869 number and address and running to them.
3871 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3873 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3875 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3877 * lib/compiler.c: Remove executable permission flag.
3879 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3881 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3883 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3885 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3887 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3889 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3891 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3892 address argument is omitted.
3894 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3896 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3898 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3901 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3902 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3904 2018-06-26 Tom Tromey <tom@tromey.com>
3907 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3908 * gdb.rust/simple.rs (struct SimpleLayout): New.
3910 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3912 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3913 "info registers" output.
3915 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3917 * gdb.base/watchpoint-hw-attach.c: New test.
3918 * gdb.base/watchpoint-hw-attach.exp: New file.
3920 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3922 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3924 * boards/dwarf4-gdb-index.exp: Likewise.
3925 * boards/fission-dwp.exp: Likewise.
3927 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3929 * gdb.base/float128.exp: Add comment and improved fail message
3930 to the failure case of "print large128" test.
3932 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3934 * configure.ac: Remove AC_PREREQ.
3935 * configure: Re-generate.
3937 2018-06-19 Pedro Alves <palves@redhat.com>
3939 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3940 (func_extern_caller): New.
3941 (main): Call func_extern_caller.
3942 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3945 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3948 * gdb.cp/typedef-base.cc: New file.
3949 * gdb.cp/typedef-base.exp: New file.
3951 2018-06-18 Tom de Vries <tdevries@suse.de>
3953 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3955 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3956 Richard Bunt <Richard.Bunt@arm.com>
3958 * gdb.threads/attach-slow-waitpid.c: New file.
3959 * gdb.threads/attach-slow-waitpid.exp: New file.
3960 * gdb.threads/slow-waitpid.c: New file.
3962 2018-06-14 Pedro Alves <palves@redhat.com>
3964 * gdb.base/fork-running-state.c: Include <errno.h>.
3965 (exit_if_relative_exits): New.
3966 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3968 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3971 2018-06-14 Tom de Vries <tdevries@suse.de>
3974 * gdb.base/finish-pretty.c: New test.
3975 * gdb.base/finish-pretty.exp: New file.
3977 2018-06-14 Pedro Alves <palves@redhat.com>
3979 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3980 gdb's expected startup output.
3982 2018-06-14 Pedro Alves <palves@redhat.com>
3984 * lib/selftest-support.exp (selftest_setup): Remove inlined
3987 2018-06-14 Tom de Vries <tdevries@suse.de>
3989 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3990 matching of breakpoint printing.
3992 2018-06-13 Tom de Vries <tdevries@suse.de>
3995 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3996 (fork_child): ... here, and ...
3997 (fork_parent): ... here.
3999 2018-06-12 Tom de Vries <tdevries@suse.de>
4001 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4003 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4004 Stephen Roberts <stephen.roberts@arm.com>
4006 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4007 rewrite test to describe action performed, rather than possible
4010 2018-06-08 Gary Benson <gbenson@redhat.com>
4012 * gdb.threads/check-libthread-db.exp: New file.
4013 * gdb.threads/check-libthread-db.c: Likewise.
4015 2018-06-05 Tom Tromey <tom@tromey.com>
4017 * gdb.base/default.exp: Update expected "show version" output.
4019 2018-06-05 Tom Tromey <tom@tromey.com>
4022 * gdb.cp/static-print-quit.exp: Update.
4023 * lib/gdb.exp (pagination_prompt): Update.
4024 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4025 * gdb.python/python.exp: Update.
4027 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4029 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4031 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4033 * gdb.ada/bp_fun_addr: New testcase.
4035 2018-06-01 Tom Tromey <tom@tromey.com>
4037 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4039 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4040 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4041 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4042 * gdb.base/maint.exp (maint_pass_if): Update.
4044 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4046 * gdb.base/endian.exp: New test.
4047 * gdb.base/endian.c: New test source.
4049 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4052 * gdb.base/bt-selected-frame.c: New file.
4053 * gdb.base/bt-selected-frame.exp: New file.
4054 * lib/gdb.exp (get_current_frame_number): New function.
4056 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4057 Pedro Alves <palves@redhat.com>
4059 * gdb.threads/tls-core.c: Include <stdlib.h>
4060 (thread_proc): Call `abort'.
4061 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4062 (tls_core_test): New procedure, bits factored out from ...
4063 (top level): ... here. Test both native cores and gcore cores.
4065 2018-05-23 Tom Tromey <tom@tromey.com>
4067 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4069 2018-05-23 Tom Tromey <tom@tromey.com>
4071 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4073 (test_short_complaints): Likewise.
4074 (test_empty_complaints): Likewise.
4075 (test_initial_complaints): Update.
4077 2018-05-23 Tom Tromey <tom@tromey.com>
4079 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4081 2018-05-23 Tom Tromey <tom@tromey.com>
4083 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4084 (test_short_complaints): Update.
4086 2018-05-22 Pedro Alves <palves@redhat.com>
4088 * gdb.base/remote.exp: Only gdb_start after compiling the
4089 testcase. Issue "disconnect" before testing "set remote" command
4090 defaults. Issue clean_restart before running to main.
4092 2018-05-22 Pedro Alves <palves@redhat.com>
4094 * gdb.base/remote.exp: Adjust expected output of "show remote
4095 memory-write-packet-size". Add tests for "set remote
4096 memory-write-packet-size 0" and "set remote
4097 memory-write-packet-size fixed/limit".
4099 2018-05-22 Pedro Alves <palves@redhat.com>
4102 * gdb.base/utf8-identifiers.c: New file.
4103 * gdb.base/utf8-identifiers.exp: New file.
4105 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4107 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4109 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4111 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4113 2018-05-18 Tom Tromey <tom@tromey.com>
4115 * gdb.base/ptype-offsets.exp: Update.
4117 2018-05-17 Keith Seitz <keiths@redhat.com>
4119 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4120 in expected breakpoint stop locations.
4121 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4122 move to proper scope to test variable values.
4123 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4124 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4126 (main): Call not_inline_func3.
4127 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4128 inline_func1, inline_func2, and inline_func3. Test that when each
4129 breakpoint is hit, GDB properly reports both the stop location
4130 and the backtrace. Repeat tests for temporary breakpoints.
4132 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4134 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4135 rather then trying to access it in determining whether the PID
4136 of `gdbserver' could have been retrieved.
4138 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4140 * gdb.arch/amd64-init-x87-values.S: New file.
4141 * gdb.arch/amd64-init-x87-values.exp: New file.
4143 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4145 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4147 2018-05-04 Tom Tromey <tom@tromey.com>
4150 * gdb.python/python.exp: Test multi-line execute.
4152 2018-05-04 Tom Tromey <tom@tromey.com>
4155 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4157 2018-05-04 Tom Tromey <tom@tromey.com>
4160 * gdb.base/define.exp: Test defining a user command inside a user
4162 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4164 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4165 Pedro Alves <palves@redhat.com>
4167 PR breakpoints/19806 and support for PR external/20207.
4168 * gdb.base/watchpoint-unaligned.c: New file.
4169 * gdb.base/watchpoint-unaligned.exp: New file.
4171 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4173 * gdb.base/maint.exp: Make test names unique, use
4174 test_prefix_command_help to test 'help maint info', and remove
4175 repeated test of 'help maint'.
4177 2018-05-04 Tom Tromey <tom@tromey.com>
4180 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4183 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4185 * gdb.base/maint.exp: Process output from 'maint print registers'
4188 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4190 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4193 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4195 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4198 2018-05-02 Pedro Alves <palves@redhat.com>
4200 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4201 to_log_command renames.
4202 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4204 2018-05-02 Tom Tromey <tom@tromey.com>
4206 * gdb.python/py-parameter.exp: Set test message.
4208 2018-05-02 Tom Tromey <tom@tromey.com>
4211 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4212 PARAM_ZUINTEGER_UNLIMITED tests.
4214 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4217 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4220 2018-04-30 Tom Tromey <tom@tromey.com>
4222 * gdb.python/py-type.exp: Check align attribute.
4223 * gdb.python/py-type.c: New "aligncheck" global.
4225 2018-04-30 Tom Tromey <tom@tromey.com>
4228 * gdb.dwarf2/dw2-align.exp: New file.
4229 * gdb.cp/align.exp: New file.
4230 * gdb.base/align.exp: New file.
4231 * lib/gdb.exp (gdb_int128_helper): New proc.
4232 (has_int128_c, has_int128_cxx): New caching procs.
4234 2018-04-27 Tom Tromey <tom@tromey.com>
4237 * gdb.rust/simple.exp: Add inclusive range tests.
4239 2018-04-26 Pedro Alves <palves@redhat.com>
4241 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4242 ifunc breakpoint locations correctly of ifunc breakpoints set
4243 while the program resolves the ifunc.
4245 2018-04-26 Pedro Alves <palves@redhat.com>
4247 * gdb.base/gnu-ifunc-final.c: New file.
4248 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4249 * gdb.base/gnu-ifunc.exp (executable): Delete.
4250 (staticexecutable): Adjust.
4251 (lib_opts, exec_opts): Delete.
4252 (make_binsuffix, build, set-break): New procedures.
4253 (misc_tests): New, with tests factored out from the top level.
4254 (top level): Test different combinations of ifunc resolver name,
4255 resolver with and with debug info, and ifunc target with and
4256 without debug info. Wrap static tests with with_target_prefix.
4258 2018-04-26 Pedro Alves <palves@redhat.com>
4260 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4261 return type" warnings.
4263 2018-04-25 Pedro Alves <palves@redhat.com>
4265 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4267 * gdb.base/kill-after-signal.exp: Likewise.
4268 * gdb.threads/kill.exp: Likewise.
4270 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4271 Sergio Durigan Junior <sergiodj@redhat.com>
4272 Pedro Alves <palves@redhat.com>
4274 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4275 regexps to expect for '[Inferior ... detached]' as well.
4276 * gdb.base/attach.exp: Likewise.
4277 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4278 "gdb_continue_to_end".
4279 (test_catch_syscall_with_wrong_args): Likewise.
4280 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4281 ']'. Don't set 'verbose' on.
4282 * gdb.base/foll-vfork.exp: Likewise.
4283 * gdb.base/fork-print-inferior-events.c: New file.
4284 * gdb.base/fork-print-inferior-events.exp: New file.
4285 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4286 '[Inferior ... has been killed]' message.
4287 * gdb.base/kill-after-signal.exp: Likewise.
4288 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4290 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4292 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4293 regexps to expect for '[Inferior ... detached]' as well.
4294 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4296 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4299 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4301 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4303 * gdb.threads/multiple-successive-infcall.c: New test.
4304 * gdb.threads/multiple-successive-infcall.exp: New file.
4306 2018-04-17 Tom Tromey <tom@tromey.com>
4308 * gdb.rust/simple.rs (Union): New type.
4309 (main): New local "u".
4310 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4312 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4314 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4315 number information in output of "whereis" command.
4316 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4318 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4320 * gdb.ada/info_types.exp: Adjust expected output to the line
4321 numbers now printed by "info var/func/type".
4322 * gdb.base/completion.exp: Likewise.
4323 * gdb.base/included.exp: Likewise.
4324 * gdb.cp/cp-relocate.exp: Likewise.
4325 * gdb.cp/cplusfuncs.exp: Likewise.
4326 * gdb.cp/namespace.exp: Likewise.
4327 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4329 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4331 * gdb.btrace/cpu.exp: New.
4333 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4335 * gdb.base/step-indirect-call-thunk.exp: New.
4336 * gdb.base/step-indirect-call-thunk.c: New.
4337 * gdb.reverse/step-indirect-call-thunk.exp: New.
4338 * gdb.reverse/step-indirect-call-thunk.c: New.
4340 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4342 * gdb.base/pie-fork.c: New file.
4343 * gdb.base/pie-fork.exp: New file.
4345 2018-04-11 Tom Tromey <tom@tromey.com>
4347 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4349 2018-04-10 Pedro Alves <palves@redhat.com>
4351 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4352 exits. Instead loop running forever.
4353 (fork_parent): Run forever too.
4355 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4357 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4358 mi_continue_to_line.
4359 * gdb.mi/mi-stack.c (callee4): Add comment.
4361 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4363 * gdb.mi/mi-stack.exp: Fix indentation.
4365 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4368 * gdb.arch/amd64-osabi.exp: New file.
4370 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4373 * gdb.base/osabi.exp: New file.
4375 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4377 * gdb.cp/static-typedef-print.exp: New file.
4378 * gdb.cp/static-typedef-print.cc: New file.
4380 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4382 * gdb.ada/varsize_limit: New testcase.
4384 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4386 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4388 * gdb.ada/notcplusplus: New testcase.
4390 * gdb.base/c-linkage-name.c: New file.
4391 * gdb.base/c-linkage-name.exp: New testcase.
4393 2018-03-26 Tom Tromey <tom@tromey.com>
4395 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4396 * gdb.python/py-framefilter.py (name_error): New global.
4397 (ErrorInName.function): Use name_error.
4399 2018-03-26 Tom Tromey <tom@tromey.com>
4402 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4404 2018-03-23 Keith Seitz <keiths@redhat.com>
4407 * gdb.cp/subtypes.exp: New file.
4408 * gdb.cp/subtypes.h: New file.
4409 * gdb.cp/subtypes.cc: New file.
4410 * gdb.cp/subtypes-2.cc: New file.
4412 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4414 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4415 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4416 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4417 -nostartfiles when compiling the test. Confirm that all registers
4418 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4420 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4422 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4423 option, syntax was wrong anyway.
4424 * gdb.arch/arm-disp-step.exp: Likewise.
4425 * gdb.arch/sparc64-regs.exp: Likewise.
4426 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4427 option, syntax was wrong anyway, switch to use
4428 prepare_for_testing.
4429 * gdb.arch/i386-disp-step.exp: Likewise.
4431 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4433 * gdb.ada/exec_changed.exp: Replace "target_info exists
4434 use_gdb_stub" by "use_gdb_stub".
4435 * gdb.ada/start.exp: Likewise.
4436 * gdb.base/async-shell.exp: Likewise.
4437 * gdb.base/attach-pie-misread.exp: Likewise.
4438 * gdb.base/attach-wait-input.exp: Likewise.
4439 * gdb.base/break-entry.exp: Likewise.
4440 * gdb.base/break-interp.exp: Likewise.
4441 * gdb.base/dprintf-detach.exp: Likewise.
4442 * gdb.base/nostdlib.exp: Likewise.
4443 * gdb.base/solib-nodir.exp: Likewise.
4444 * gdb.base/statistics.exp: Likewise.
4445 * gdb.base/testenv.exp: Likewise.
4446 * gdb.mi/mi-exec-run.exp: Likewise.
4447 * gdb.mi/mi-start.exp: Likewise.
4448 * gdb.multi/dummy-frame-restore.exp: Likewise.
4449 * gdb.multi/multi-arch-exec.exp: Likewise.
4450 * gdb.multi/multi-arch.exp: Likewise.
4451 * gdb.multi/tids.exp: Likewise.
4452 * gdb.multi/watchpoint-multi.exp: Likewise.
4453 * gdb.python/py-events.exp: Likewise.
4454 * gdb.threads/attach-into-signal.exp: Likewise.
4455 * gdb.threads/attach-stopped.exp: Likewise.
4456 * gdb.threads/threadapply.exp: Likewise.
4457 * lib/selftest-support.exp: Likewise.
4459 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4461 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4463 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4465 * gdb.perf/template-breakpoints.cc: New file.
4466 * gdb.perf/template-breakpoints.exp: New file.
4467 * gdb.perf/template-breakpoints.py: New file.
4469 2018-03-19 Tom Tromey <tom@tromey.com>
4471 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4473 * gdb.rust/simple.exp: Test bare identifier form of struct
4476 2018-03-19 Tom Tromey <tom@tromey.com>
4478 * gdb.gdb/observer.exp: Remove.
4480 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4482 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4483 "qualified" option when setting breakpoints.
4484 * gdb.trace/backtrace.exp: Likewise.
4485 * gdb.trace/circ.exp: Likewise.
4486 * gdb.trace/collection.exp: Likewise.
4487 * gdb.trace/disconnected-tracing.exp: Likewise.
4488 * gdb.trace/ftrace-lock.exp: Likewise.
4489 * gdb.trace/ftrace.exp: Likewise.
4490 * gdb.trace/infotrace.exp: Likewise.
4491 * gdb.trace/packetlen.exp: Likewise.
4492 * gdb.trace/passc-dyn.exp: Likewise.
4493 * gdb.trace/qtro.exp: Likewise.
4494 * gdb.trace/read-memory.exp: Likewise.
4495 * gdb.trace/report.exp: Likewise.
4496 * gdb.trace/signal.exp: Likewise.
4497 * gdb.trace/status-stop.exp: Likewise.
4498 * gdb.trace/strace.exp: Likewise.
4499 * gdb.trace/tfind.exp: Likewise.
4500 * gdb.trace/trace-break.exp: Likewise.
4501 * gdb.trace/trace-condition.exp: Likewise.
4502 * gdb.trace/trace-mt.exp: Likewise.
4503 * gdb.trace/tstatus.exp: Likewise.
4504 * gdb.trace/tsv.exp: Likewise.
4505 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4506 * gdb.trace/unavailable.exp: Likewise.
4507 * gdb.trace/while-dyn.exp: Likewise.
4509 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4511 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4512 that libinproctrace is copied to the target.
4514 2018-03-14 Tom Tromey <tom@tromey.com>
4517 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4519 * gdb.base/wchar.exp: Likewise.
4521 2018-03-14 Tom Tromey <tom@tromey.com>
4524 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4527 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4530 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4531 "target" to remote_exec.
4533 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4536 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4537 ${board}_upload): Remove.
4539 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4541 * gdb.cp/watch-cp.cc: New test.
4542 * gdb.cp/watch-cp.exp: New file.
4544 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4546 * gdb.base/infcall-nested-structs.exp: New file.
4547 * gdb.base/infcall-nested-structs.c: New file.
4548 * gdb.base/float.exp: Add riscv support.
4550 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4552 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4553 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4555 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4557 * gdb.server/abspath.exp: New file.
4558 * lib/gdb.exp (with_cwd): New procedure.
4560 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4562 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4564 (gdb_is_target_remote_prompt): New proc.
4565 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4566 (gdb_is_target_native): Pass prompt parameter to
4569 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4571 * gdb.base/load-command.c: New file.
4572 * gdb.base/load-command.exp: New file.
4573 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4574 (gdb_is_target_1): ...this, and generalize for other targets
4576 (gdb_is_target_remote): Use gdb_is_target_1.
4577 (gdb_is_target_native): use gdb_is_target_1.
4579 2018-02-26 Tom Tromey <tom@tromey.com>
4582 * gdb.python/py-framefilter.exp: Update test.
4584 2018-02-26 Tom Tromey <tom@tromey.com>
4586 * gdb.dwarf2/variant.c: New file.
4587 * gdb.dwarf2/variant.exp: New file.
4589 2018-02-26 Tom Tromey <tom@tromey.com>
4591 * gdb.rust/simple.exp: Accept more possible results in enum test.
4593 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4595 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4598 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4600 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4601 name of a variable: $actual_linejj -> $actual_line.
4603 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4605 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4607 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4609 * gdb.btrace/buffer-size.exp: Do not force BTS.
4611 2018-02-14 Pedro Alves <palves@redhat.com>
4613 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4616 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4618 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4621 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4623 * gdb.cp/m-static.exp: Check type of optimized out static
4626 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4628 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4629 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4631 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4632 Leszek Swirski <leszeks@google.com>
4634 * gdb.python/py-prettyprint.c
4635 (struct to_string_returns_value_inner,
4636 struct to_string_returns_value_wrapper): New.
4637 (main): Add tsrvw variable.
4638 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4639 ToStringReturnsValueWrapper): New classes.
4640 (register_pretty_printers): Register new pretty-printers.
4641 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4642 recursive pretty printer.
4643 * gdb.python/py-mi.exp: Likewise.
4645 2018-02-01 Leszek Swirski <leszeks@google.com>
4647 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4648 functions with the same name as an include file are parsed
4651 2018-02-01 Yao Qi <yao.qi@linaro.org>
4653 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4656 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4658 * gdb.arch/powerpc-prologue-frame.s: New file.
4659 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4660 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4662 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4664 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4666 2018-01-30 Pedro Alves <palves@redhat.com>
4669 * gdb.base/interrupt-daemon.c: New.
4670 * gdb.base/interrupt-daemon.exp: New.
4671 * gdb.multi/multi-term-settings.c: New.
4672 * gdb.multi/multi-term-settings.exp: New.
4674 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4676 * gdb.base/break.exp: Save the location where the breakpoint
4677 on break.c:47 was actually inserted when debugging the version
4678 compiled at -O2 and use it in the expected output of the "info
4679 break" test performed soon after.
4681 2018-01-22 Pedro Alves <palves@redhat.com>
4682 Sergio Durigan Junior <sergiodj@redhat.com>
4684 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4685 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4687 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4689 * gdb.base/break-include.c, gdb.base/break-include.inc,
4690 gdb.base/break-include.exp: New files.
4691 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4692 line number now being the actual line number where the breakpoint
4694 * gdb.mi/mi-break.exp: Likewise.
4695 * gdb.mi/mi-reverse.exp: Likewise.
4696 * gdb.mi/mi-simplerun.exp: Ditto.
4698 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4700 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4702 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4704 2018-01-21 Don Breazeal <donb@codesourcery.com>
4705 Andrew Burgess <andrew.burgess@embecosm.com>
4707 * gdb.mi/basics.c: Add new global.
4708 * gdb.mi/mi-frame-regs.exp: New file.
4709 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4712 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4714 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4715 non-parameter, and on an unknown symbol.
4717 2018-01-19 Tom Tromey <tom@tromey.com>
4719 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4720 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4722 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4724 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4725 setrlimit and chdir to int.
4727 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4729 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4731 (my_tend): Likewise.
4732 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4733 rationale of avoiding FP- and vector instructions.
4735 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4737 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4738 "info reg" with "\[ \t\]*".
4739 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4741 * gdb.arch/s390-multiarch.exp: Ditto.
4742 * gdb.base/pc-fp.exp: Ditto.
4743 * gdb.reverse/i386-precsave.exp: Ditto.
4744 * gdb.reverse/i386-reverse.exp: Ditto.
4745 * gdb.reverse/i387-env-reverse.exp: Ditto.
4746 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4748 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4750 * lib/gdb.exp (gdb_compile): Re-enable use of
4751 universal_compile_options for languages other than Rust.
4753 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4755 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4757 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4760 * gdb.base/solib-vanish.exp: New.
4761 * gdb.base/solib-vanish-main.c: New.
4762 * gdb.base/solib-vanish-lib1.c: New.
4763 * gdb.base/solib-vanish-lib2.c: New.
4765 2018-01-17 Yao Qi <yao.qi@linaro.org>
4767 * gdb.compile/compile.exp: Match the address printed for
4768 frame in the output of command "bt".
4770 2018-01-15 Tom Tromey <tom@tromey.com>
4772 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4775 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4777 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4779 (prepare): Return 0 on error, 1 on success.
4781 2018-01-12 Pedro Alves <palves@redhat.com>
4783 * gdb.base/continue-after-aborted-step-over.c: New.
4784 * gdb.base/continue-after-aborted-step-over.exp: New.
4786 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4788 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4789 options when not creating an executable.
4791 2018-01-11 Pedro Alves <palves@redhat.com>
4794 * gdb.server/stop-reply-no-thread.c: New file.
4795 * gdb.server/stop-reply-no-thread.exp: New file.
4797 2018-01-10 Pedro Alves <palves@redhat.com>
4800 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4801 functions too. Test setting breakpoints and printing C functions
4802 with no debug info too.
4803 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4805 2018-01-10 Pedro Alves <palves@redhat.com>
4808 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4811 2018-01-10 Pedro Alves <palves@redhat.com>
4814 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4816 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4818 * gdb.server/unittest.exp: Match the output in non-development
4821 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4823 * gdb.gdb/unittest.exp: Match output in non-development mode.
4825 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4827 * gdb.ada/access_tagged_param.exp: Relax expected output
4828 for value of "ObjL" in "continue" to pck.inspect breakpoint
4831 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4833 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4834 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4836 2018-01-05 Pedro Alves <palves@redhat.com>
4839 * gdb.base/libsegfault.exp: New.
4841 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4844 * gdb.ada/access_tagged_param.exp: New file.
4845 * gdb.ada/access_tagged_param/foo.adb: New file.
4847 2018-01-05 Pedro Alves <palves@redhat.com>
4850 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4851 exercise lower case too, and to exercise both full matching and
4854 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4856 * gdb.ada/rename_subscript_param: New testcase.
4858 2018-01-05 Jerome Guitton <guitton@adacore.com>
4860 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4862 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4864 * gdb.ada/convvar_comp: New testcase.
4866 2018-01-05 Xavier Roirand <roirand@adacore.com>
4868 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4869 (My_Table): New global variable.
4870 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4872 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4875 * gdb.ada/maint_with_ada: New testcase.
4877 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4880 * gdb.ada/bp_c_mixed_case: New testcase.
4882 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4885 * gdb.ada/complete.exp: Add "complete break ada" test.
4887 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4890 * gdb.ada/info_addr_mixed_case: New testcase.
4892 2018-01-03 Xavier Roirand <roirand@adacore.com>
4894 * gdb.ada/excep_handle.exp: New testcase.
4895 * gdb.ada/excep_handle/foo.adb: New file.
4896 * gdb.ada/excep_handle/pck.ads: New file.
4898 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4900 * gdb.base/step-line.c: Add extra empty line in copyright header.
4901 * gdb.base/step-line.inp: Likewise.
4903 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4905 * gdb.ada/dyn_stride.exp: Add slice test.
4907 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4909 * gdb.ada/dyn_stride: New testcase.
4911 2017-12-27 Stafford Horne <shorne@gmail.com>
4913 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4914 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4916 2017-12-27 Stafford Horne <shorne@gmail.com>
4918 * gdb.base/reggroups.c: New file.
4919 * gdb.base/reggroups.exp: New file.
4921 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4923 * gdb.dwarf2/ada-valprint-error.c: New file.
4924 * gdb.dwarf2/ada-valprint-error.exp: New file.
4926 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4928 * gdb.ada/assign_arr: New testcase.
4930 2017-12-18 Xavier Roirand <roirand@adacore.com>
4932 * gdb.ada/funcall_ptr: New testcase.
4934 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4937 * gdb.base/ptype-offsets.cc: New file.
4938 * gdb.base/ptype-offsets.exp: New file.
4940 2017-12-15 Yao Qi <yao.qi@linaro.org>
4942 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4945 2017-12-15 Xavier Roirand <roirand@adacore.com>
4947 * gdb.ada/same_component_name: New testcase.
4949 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4951 * gdb.ada/str_binop_equal: New testcase.
4953 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4955 * gdb.ada/task_switch_in_core: New testcase.
4957 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4959 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4960 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4961 call test_bkpt_qualified.
4962 (test_bkpt_qualified): New proc.
4964 2017-12-13 Pedro Alves <palves@redhat.com>
4966 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4967 Tighten regexp by matching with an anchor.
4969 2017-12-13 Pedro Alves <palves@redhat.com>
4971 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4972 ("expression with namespace"): New set of tests.
4973 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4974 (Nested::Test_NS::qux): New.
4975 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4976 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4978 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4980 * gdb.base/server-del-break.c: New file.
4981 * gdb.base/server-del-break.exp: New file.
4983 2017-12-12 Stafford Horne <shorne@gmail.com>
4985 * gdb.xml/tdesc-regs.exp: Add or1k support.
4987 2017-12-12 Stafford Horne <shorne@gmail.com>
4989 * gdb.base/bp-permanent.c: Define nop of or1k.
4991 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4993 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4994 output with components being reordered.
4996 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4998 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4999 output with components being reordered.
5001 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5002 Pedro Alves <palves@redhat.com>
5004 * gdb.base/maint.exp (check for .gdb_index): Check also for
5006 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5007 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5008 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5009 (.gdb_index used after symbol reloading): Support also .debug_names.
5010 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5012 2017-12-08 Yao Qi <yao.qi@linaro.org>
5014 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5015 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5017 2017-12-08 Yao Qi <yao.qi@linaro.org>
5019 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5020 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5022 2017-12-08 Yao Qi <yao.qi@linaro.org>
5024 * gdb.arch/aarch64-tagged-pointer.c: New file.
5025 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5027 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5029 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5032 2017-12-07 Keith Seitz <keiths@redhat.com>
5034 PR breakpoints/22569
5035 * gdb.linespec/ls-errs.exp: Change expected result of "break
5036 -source this file has spaces.c -line 3".
5037 Check that an explicit source file followed by whitespace is
5038 identified as an invalid explicit location.
5040 2017-12-07 Keith Seitz <keiths@redhat.com>
5042 * gdb.cp/nested-types.cc: New file.
5043 * gdb.cp/nested-types.exp: New file.
5044 * lib/cp-support.exp: Load data-structures.exp library.
5045 (debug_cp_test_ptype_class): New global.
5046 (cp_ptype_class_verbose, next_line): New procedures.
5047 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5048 Add and document new return value.
5049 Switch the list of lines to a queue.
5050 Add support for new `type' key for nested type definitions.
5051 Add debugging/troubleshooting messages.
5052 * lib/data-structures.exp: New file.
5054 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5056 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5057 with proc_with_prefix, don't use with_test_prefix.
5059 2017-12-07 Tom Tromey <tom@tromey.com>
5061 * gdb.base/break.exp: Add test for empty "commands".
5063 2017-12-07 Yao Qi <yao.qi@linaro.org>
5065 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5066 malloc and catch syscall.
5068 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5070 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5071 tests for explicit locations.
5073 2017-12-06 Pedro Alves <palves@redhat.com>
5075 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5076 force-disabling XML descriptions.
5078 2017-12-04 Pedro Alves <palves@redhat.com>
5081 * gdb.arch/amd64-disp-step-avx.S: New file.
5082 * gdb.arch/amd64-disp-step-avx.exp: New file.
5084 2017-12-03 Pedro Alves <palves@redhat.com>
5086 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5088 (parent_function): Print distinct messages when waitpid fails, or
5089 the child exits with a signal, or the child exits for an unhandled
5091 * gdb.threads/process-dies-while-detaching.exp
5092 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5093 it. Wait for both inferior output and GDB's prompt. Use an
5094 indirect spawn id list.
5095 (do_detach): New parameter 'child_exit'. Use it to compute
5096 expected inferior output.
5097 (test_detach, test_detach_watch, test_detach_killed_outside):
5098 Adjust to pass down the expected child exit kind.
5100 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5101 Sergio Durigan Junior <sergiodj@redhat.com>
5102 Pedro Alves <palves@redhat.com>
5104 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5106 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5108 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5109 to 'symbol-file' and 'add-symbol-file' can be
5110 position-independent.
5112 2017-12-01 Yao Qi <yao.qi@linaro.org>
5114 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5115 the URL in copyright header.
5116 * gdb.arch/aarch64-fp.exp: Likewise.
5117 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5118 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5119 * gdb.base/expand-psymtabs.exp: Likewise.
5120 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5121 * gdb.fortran/common-block.exp: Likewise.
5122 * gdb.fortran/common-block.f90: Likewise.
5123 * gdb.fortran/logical.exp: Likewise.
5124 * gdb.fortran/vla-datatypes.f90: Likewise.
5125 * gdb.fortran/vla-sub.f90: Likewise.
5127 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5129 * gdb.ada/repeat_dyn: New testcase.
5131 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5133 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5134 Update for changed thread numbering.
5135 * gdb.cell/bt.exp: Update for changed GDB output.
5137 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5139 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5140 setting isremote by hand.
5141 * boards/dwarf4-gdb-index.exp: Likewise.
5142 * boards/fission.exp: Likewise.
5143 * boards/stabs.exp: Likewise.
5145 2017-11-30 Pedro Alves <palves@redhat.com>
5147 * gdb.linespec/cpls-ops.exp
5148 (check_explicit_skips_function_argument): Extract the underlying
5149 type of size_t instead of hardcoding it.
5151 2017-11-29 Pedro Alves <palves@redhat.com>
5154 * gdb.linespec/cpls-abi-tag.cc: New file.
5155 * gdb.linespec/cpls-abi-tag.exp: New file.
5157 2017-11-29 Pedro Alves <palves@redhat.com>
5159 * gdb.base/langs.exp: Use -qualified.
5160 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5162 * gdb.cp/namespace.exp: Use -qualified.
5163 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5164 (overload-3, template-overload, template-ret-type, const-overload)
5165 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5167 (test_driver): Call them.
5168 * gdb.cp/save-bp-qualified.cc: New.
5169 * gdb.cp/save-bp-qualified.exp: New.
5170 * gdb.linespec/explicit.exp: Test -qualified.
5171 * lib/completion-support.exp (completion::explicit_opts_list): Add
5173 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5175 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5177 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5179 2017-11-29 Tom Tromey <tom@tromey.com>
5181 * gdb.base/relocate.exp: Update invalid argument test.
5182 Add new tests for invalid arguments.
5184 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5186 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5188 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5190 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5192 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5193 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5194 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5196 * gdb.cp/shadow.cc (B.func): Return 0.
5198 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5200 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5201 expected output in gdb_expect call to allow the exception
5202 message to be present as well. Fix syntax confusion to avoid
5203 TCL thinking that exception_name is an array.
5205 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5207 * gdb.arch/spu-info.c: Include <unistd.h>.
5208 (do_signal_test): Fix broken calls to write.
5209 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5210 Fix checks for empty mailboxes. Update signal tests for corrected
5211 do_signal_test routine. Allow nonzero event status.
5212 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5213 * gdb.cell/arch.exp: Use standard_output_file.
5214 * gdb.cell/break.exp: Likewise.
5215 * gdb.cell/bt.exp: Likewise.
5216 * gdb.cell/core.exp: Likewise.
5217 * gdb.cell/dwarfaddr.exp: Likewise.
5218 * gdb.cell/ea-cache.exp: Likewise.
5219 * gdb.cell/ea-standalone.exp: Likewise.
5220 * gdb.cell/f-regs.exp: Likewise.
5221 * gdb.cell/fork.exp: Likewise.
5222 * gdb.cell/gcore.exp: Likewise.
5223 * gdb.cell/mem-access.exp: Likewise.
5224 * gdb.cell/ptype.exp: Likewise.
5225 * gdb.cell/registers.exp: Likewise.
5226 * gdb.cell/sizeof.exp: Likewise.
5227 * gdb.cell/solib-symbol.exp: Likewise.
5228 * gdb.cell/solib.exp: Likewise.
5230 2017-11-25 Pedro Alves <palves@redhat.com>
5232 * gdb.base/complete-empty.exp: New file.
5233 * gdb.base/completion.exp: Adjust.
5235 2017-11-25 Pedro Alves <palves@redhat.com>
5237 * gdb.linespec/cpls-ops.cc: New file.
5238 * gdb.linespec/cpls-ops.exp: New file.
5239 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5240 factored out from ...
5241 (test_complete_prefix_range): ... this.
5243 2017-11-24 Pedro Alves <palves@redhat.com>
5245 * gdb.linespec/cpcompletion.exp: New file.
5246 * gdb.linespec/cpls-hyphen.cc: New file.
5247 * gdb.linespec/cpls.cc: New file.
5248 * gdb.linespec/cpls2.cc: New file.
5249 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5250 test to use test_gdb_complete_unique. Add label completion,
5251 keyword completion and explicit location completion tests.
5252 * lib/completion-support.exp: New file.
5254 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5256 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5257 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5258 when hitting an exception catchpoint.
5260 2017-11-22 Yao Qi <yao.qi@linaro.org>
5262 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5264 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5266 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5267 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5268 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5270 2017-11-22 Yao Qi <yao.qi@linaro.org>
5272 * gdb.base/info-os.exp: Pass pthreads.
5273 * gdb.multi/multi-attach.exp: Likewise.
5275 2017-11-22 Yao Qi <yao.qi@linaro.org>
5277 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5280 2017-11-22 Yao Qi <yao.qi@linaro.org>
5282 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5283 * gdb.base/break-interp.exp: Likewise.
5284 * gdb.base/jit-attach-pie.exp: Likewise.
5286 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5288 * gdb.base/float128.c (large128): New variable.
5289 * gdb.base/float128.exp: Add test to print largest __float128 value.
5291 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5293 * gdb.arch/vsx-regs.exp: Update register content checks.
5295 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5297 * gdb.arch/ppc-longdouble.exp: New file.
5298 * gdb.arch/ppc-longdouble.c: Likewise.
5300 2017-11-21 Pedro Alves <palves@redhat.com>
5302 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5304 2017-11-20 Pedro Alves <palves@redhat.com>
5306 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5307 (long_double_typedef): New typedefs.
5308 Use DEF on double and long double.
5309 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5311 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5312 and 'long_double_ptr_same_size' locals. Use them to decide
5313 whether cast from array/function to float is valid/invalid.
5315 2017-11-17 Tom Tromey <tom@tromey.com>
5317 * gdb.rust/traits.rs: New file.
5318 * gdb.rust/traits.exp: New file.
5320 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5322 * gdb.ada/minsyms: New testcase.
5324 2017-11-16 Pedro Alves <palves@redhat.com>
5326 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5327 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5329 2017-11-16 Pedro Alves <palves@redhat.com>
5331 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5332 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5334 2017-11-16 Pedro Alves <palves@redhat.com>
5336 * gdb.server/reconnect-ctrl-c.c: New file.
5337 * gdb.server/reconnect-ctrl-c.exp: New file.
5339 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5341 * gdb.python/py-rbreak.exp: New file.
5342 * gdb.python/py-rbreak.c: New file.
5343 * gdb.python/py-rbreak-func2.c: New file.
5345 2017-11-16 Pedro Alves <palves@redhat.com>
5347 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5349 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5352 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5354 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5357 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5359 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5362 2017-11-09 Pedro Alves <palves@redhat.com>
5364 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5365 factored out from ...
5366 (top level): ... here, and adjusted to avoid expecting beyond the
5367 prompt in a single gdb_test_multiple.
5369 2017-11-09 Pedro Alves <palves@redhat.com>
5371 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5373 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5374 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5375 * gdb.server/ext-run.exp ("kill" test): Likewise.
5376 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5378 2017-11-09 Pedro Alves <palves@redhat.com>
5380 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5381 match till end of line.
5383 2017-11-09 Pedro Alves <palves@redhat.com>
5385 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5387 2017-11-09 Pedro Alves <palves@redhat.com>
5389 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5390 New procedures, factored out from ...
5391 (top level): ... here, and adjusted to avoid expecting beyond the
5394 2017-11-09 Pedro Alves <palves@redhat.com>
5396 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5397 output. Fix '?' match.
5399 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5401 * gdb.ada/scoped_watch: New testcase.
5402 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5403 which is actually correct.
5404 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5405 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5407 2017-11-08 Pedro Alves <palves@redhat.com>
5409 * gdb.gdb/complaints.exp (test_initial_complaints)
5410 (test_serial_complaints, test_short_complaints): Call
5411 complaint_internal instead of complaint.
5413 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5415 * gdb.threads/tls-core.c: New file.
5416 * gdb.threads/tls-core.exp: Likewise.
5418 2017-11-08 Pedro Alves <palves@redhat.com>
5420 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5421 (p Exported_Capitalized): New test.
5422 (p exported_capitalized): New test.
5424 2017-11-07 Pedro Alves <palves@redhat.com>
5426 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5428 2017-11-07 Pedro Alves <palves@redhat.com>
5430 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5431 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5432 (disable_invalid, disable_inverted, disable_negative): New
5434 ("bad numbers"): New set of tests.
5436 2017-11-07 Pedro Alves <palves@redhat.com>
5438 * gdb.cp/ena-dis-br-range.exp: Add tests.
5440 2017-11-07 Pedro Alves <palves@redhat.com>
5442 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5444 2017-11-07 Xavier Roirand <roirand@adacore.com>
5445 Pedro Alves <palves@redhat.com>
5447 * gdb.base/ena-dis-br.exp: Add reference to
5448 gdb.cp/ena-dis-br-range.exp.
5449 * gdb.cp/ena-dis-br-range.exp: New file.
5450 * gdb.cp/ena-dis-br-range.cc: New file.
5452 2017-11-06 Pedro Alves <palves@redhat.com>
5454 * gdb.base/attach-non-pgrp-leader.c: New.
5455 * gdb.base/attach-non-pgrp-leader.exp: New.
5457 2017-11-06 Pedro Alves <palves@redhat.com>
5459 * configure.ac: No longer check for termio.h and sgtty.h.
5460 * configure: Regenerate.
5461 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5462 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5463 Remove termio and sgtty code.
5465 2017-11-03 Yao Qi <yao.qi@linaro.org>
5467 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5470 2017-11-03 Yao Qi <yao.qi@linaro.org>
5472 * gdb.python/py-thrhandle.exp: Skip it if python is not
5475 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5477 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5478 as a breakpoint command.
5480 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5483 * gdb.python/py-infthread.exp: Test calling
5484 InferiorThread.inferior () multiple times in a row.
5486 2017-10-27 Keith Seitz <keiths@redhat.com>
5488 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5489 Test "info break" for every inlined function breakpoint.
5491 2017-10-27 Yao Qi <yao.qi@linaro.org>
5493 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5495 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5497 * gdb.cp/classes.exp (test_static_members): Test printing
5499 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5500 (Inner::instance, Outer::instance): New.
5502 2017-10-24 Pedro Alves <palves@redhat.com>
5504 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5505 extra console" test in two stages.
5507 2017-10-24 Pedro Alves <palves@redhat.com>
5509 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5511 2017-10-24 Pedro Alves <palves@redhat.com>
5513 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5516 2017-10-24 Pedro Alves <palves@redhat.com>
5518 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5519 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5521 2017-10-24 Pedro Alves <palves@redhat.com>
5523 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5524 parameter and handle it. Don't output read value in test name.
5526 2017-10-24 Pedro Alves <palves@redhat.com>
5528 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5531 2017-10-24 Pedro Alves <palves@redhat.com>
5533 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5534 include the unstable output directory name in the test's name.
5535 (initial_setup_simple) <'set args'>: Use custom test name.
5537 2017-10-24 Pedro Alves <palves@redhat.com>
5539 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5540 with explicit test name.
5542 2017-10-20 Pedro Alves <palves@redhat.com>
5544 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5545 'wait -i'. Use gdb_assert and remote_close.
5547 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5549 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5550 number from variable rather than hard-coded.
5552 2017-10-19 Pedro Alves <palves@redhat.com>
5554 * gdb.base/long-inferior-output.c: New file.
5555 * gdb.base/long-inferior-output.exp: New file.
5557 2017-11-18 Keith Seitz <keiths@redhat.com>
5559 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5562 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5563 Add additional user-defined conversion operator tests.
5565 2017-10-17 Pedro Alves <palves@redhat.com>
5567 * boards/native-stdio-gdbserver.exp: Load "local-board".
5569 2017-10-17 Pedro Alves <palves@redhat.com>
5571 * gdb.base/quit-live.c: New file.
5572 * gdb.base/quit-live.exp: New file.
5574 2017-10-16 Keith Seitz <keiths@redhat.com>
5576 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5577 (class_with_protected_typedef, class_with_private_typedef)
5578 (struct_with_public_typedef, struct_with_protected_typedef)
5579 (struct_with_private_typedef): New classes/structs.
5580 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5581 typedefs and access specifiers.
5583 2017-10-16 Pedro Alves <palves@redhat.com>
5584 Simon Marchi <simon.marchi@polymtl.ca>
5586 * README (Local vs Remote vs Native): New section.
5587 * boards/local-board.exp: New file, with bits factored out from
5589 * boards/native-extended-gdbserver.exp: ... here. Load
5591 * boards/native-gdbserver.exp: Load "local-board".
5592 (${board}_spawn, ${board}_exec): Delete.
5593 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5595 * boards/stdio-gdbserver-base.exp: ... this new file.
5596 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5597 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5599 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5600 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5601 stdio_gdbserver_command.
5602 (${board}_get_remote_address, ${board}_get_comm_port)
5603 (${board}_download, ${board}_upload): Delete.
5604 (get_target_remote_pipe_cmd): New.
5606 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5608 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5609 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5610 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5611 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5612 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5613 remove with_test_prefix.
5615 2017-10-13 Pedro Alves <palves@redhat.com>
5617 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5618 * gdb.base/annota1.exp: Use it instead of is_remote.
5619 * gdb.base/annota3.exp: Use it instead of is_remote.
5620 * gdb.cp/annota2.exp: Use it instead of is_remote.
5621 * gdb.cp/annota3.exp: Use it instead of is_remote.
5622 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5624 2017-10-13 Pedro Alves <palves@redhat.com>
5626 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5627 (test_num_test_vars, run_and_count_vars, find_env)
5628 (test_set_unset_env, test_inherit_env_var): New procedures.
5629 (top level): Use them.
5631 2017-10-13 Pedro Alves <palves@redhat.com>
5633 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5634 also skip on stub-like targets.
5636 2017-10-13 Pedro Alves <palves@redhat.com>
5639 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5640 (top level): Move some tests to ...
5641 (test_not_found): ... this new procedure.
5642 (top level): Call it.
5644 2017-10-13 Pedro Alves <palves@redhat.com>
5646 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5647 expect different "info terminal" output if testing with a
5650 2017-10-13 Pedro Alves <palves@redhat.com>
5651 Simon Marchi <simon.marchi@polymtl.ca>
5654 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5656 2017-10-13 Pedro Alves <palves@redhat.com>
5658 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5661 2017-10-13 Pedro Alves <palves@redhat.com>
5663 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5666 2017-10-13 Pedro Alves <palves@redhat.com>
5668 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5671 2017-10-13 Pedro Alves <palves@redhat.com>
5673 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5675 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5676 instead of is_remote.
5678 2017-10-13 Pedro Alves <palves@redhat.com>
5680 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5681 (top level): Add comment.
5683 2017-10-13 Pedro Alves <palves@redhat.com>
5685 * gdb.base/remote.exp (top level): Fix comment typo and add
5688 2017-10-13 Pedro Alves <palves@redhat.com>
5689 Simon Marchi <simon.marchi@polymtl.ca>
5691 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5692 calls and add comments. Skip test if use_gdb_stub is set.
5693 (top level): Use "set cwd" command instead of "cd" command.
5695 2017-10-13 Pedro Alves <palves@redhat.com>
5697 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5698 is_remote target check.
5700 2017-10-13 Pedro Alves <palves@redhat.com>
5702 * gdb.base/scope.exp: Use build_executable + clean_restart +
5703 gdb_file_cmd instead of prepare_for_testing and no longer skip
5704 "before run" tests on is_remote target boards. Update comments.
5705 * boards/native-extended-gdbserver.exp
5706 (extended_gdbserver_load_last_file): New, factored out from ...
5707 (gdb_load): ... this. Move further below and add comment.
5708 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5710 2017-10-12 Pedro Alves <palves@redhat.com>
5712 * gdb.base/attach.exp: Remove references to gdb64.
5713 * gdb.base/dbx.exp: Remove references to gdb64.
5715 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5716 Pedro Alves <palves@redhat.com>
5718 * gdb.base/label.exp: Remove is_remote target check.
5720 2017-10-12 Pedro Alves <palves@redhat.com>
5722 * gdb.base/auvx.exp (coredir): Update comment.
5723 (top level) <core_works>: Use "set cwd" command instead of "cd"
5726 2017-10-12 Pedro Alves <palves@redhat.com>
5727 Simon Marchi <simon.marchi@polymtl.ca>
5729 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5732 2017-10-12 Pedro Alves <palves@redhat.com>
5733 Simon Marchi <simon.marchi@polymtl.ca>
5735 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5736 Instead skip if there's any gdb_protocol set.
5738 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5739 Pedro Alves <palves@redhat.com>
5741 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5743 2017-10-12 Pedro Alves <palves@redhat.com>
5744 Simon Marchi <simon.marchi@polymtl.ca>
5746 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5747 instead of on dejagnu remote boards.
5749 2017-10-12 Pedro Alves <palves@redhat.com>
5750 Simon Marchi <simon.marchi@polymtl.ca>
5752 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5753 checks. Use build_executable + clean_restart instead of
5754 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5755 of enabling non-stop after starting gdb.
5757 2017-10-12 Pedro Alves <palves@redhat.com>
5759 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5760 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5761 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5762 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5764 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5766 * gdb.arch/arc-tdesc-cpu.exp: New file.
5767 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5769 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5771 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5773 2017-10-10 Pedro Alves <palves@redhat.com>
5775 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5778 2017-10-10 Pedro Alves <palves@redhat.com>
5780 * lib/selftest-support.exp (selftest_setup): Update for
5781 captured_command_loop's prototype change.
5783 2017-10-09 Pedro Alves <palves@redhat.com>
5785 Test both arch1=>arch2 and arch2=>arch1.
5787 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5788 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5790 (append_arch1_options, append_arch2_options, append_arch_options)
5791 (build_executables): New procedures.
5792 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5794 (top level): Add new 'first_arch' testing axis.
5796 2017-10-09 Pedro Alves <palves@redhat.com>
5798 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5800 (thread_start, all_started): New functions.
5801 (main): Spawn new thread and wait until it is scheduled.
5802 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5804 (do_test): Add 'selected_thread' parameter. Run to all_started
5805 instead of main. Explicitly set the breakpoint at main. Switch
5806 to the SELECTED_THREAD thread.
5807 (top level): Test handling the exec event with either the main
5808 thread or the second thread selected.
5810 2017-10-09 Pedro Alves <palves@redhat.com>
5812 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5813 logic. Move STOP marker after the value checks.
5814 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5817 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5819 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5821 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5823 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5824 integer-to-dfp conversion.
5825 * gdb.base/dfp-test.exp: Likewise.
5827 2017-10-04 Pedro Alves <palves@redhat.com>
5829 * gdb.multi/hangout.c: Include <unistd.h>.
5830 (hangout_loop): New function.
5831 (main): Call alarm. Call hangout_loop in a loop.
5832 * gdb.multi/hello.c: Include <unistd.h>.
5833 (hello_loop): New function.
5834 (main): Call alarm. Call hangout_loop in a loop.
5835 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5836 inferior with the other selected.
5838 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5840 * gdb.mi/list-thread-groups-available.exp: New file.
5841 * gdb.mi/list-thread-groups-available.c: New file.
5843 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5845 * gdb.base/set-cwd.exp: Make it available on
5846 native-extended-gdbserver.
5848 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5850 * gdb.base/set-cwd.c: New file.
5851 * gdb.base/set-cwd.exp: Likewise.
5853 2017-10-02 Tom Tromey <tom@tromey.com>
5856 * gdb.rust/simple.rs (main): New variable "fslice".
5857 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5859 2017-10-02 Tom Tromey <tom@tromey.com>
5861 * gdb.rust/simple.exp: Test ptype of a slice.
5863 2017-10-02 Tom Tromey <tom@tromey.com>
5865 * gdb.rust/simple.exp: Test index of slice.
5867 2017-09-27 Tom Tromey <tom@tromey.com>
5869 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5871 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5872 Pedro Alves <palves@redhat.com>
5874 * gdb.base/compare-sections.exp (get value of read-only section): Read
5876 (corrupt read-only section): Likewise and don't set written if patching
5879 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5881 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5884 2017-09-20 Pedro Alves <palves@redhat.com>
5886 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5887 symbol names in gdb's output.
5888 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5890 2017-09-20 Pedro Alves <palves@redhat.com>
5892 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5894 (test_list_ambiguous_symbol): ... this and add a symbol name
5896 (test_list_ambiguous_function): Reimplement on top of
5897 test_list_ambiguous_symbol and also test listing ambiguous
5899 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5900 (ambiguous_fun): ... this.
5901 (ambiguous_var): New.
5902 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5903 (ambiguous_fun): ... this.
5904 (ambiguous_var): New.
5906 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5908 * gdb.base/starti.c: New file.
5909 * gdb.base/starti.exp: New file.
5910 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5912 2017-09-14 Pedro Alves <palves@redhat.com>
5914 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5915 (top level): Use it instead of runto.
5917 2017-09-11 Tom Tromey <tom@tromey.com>
5919 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5921 2017-09-11 Tom Tromey <tom@tromey.com>
5923 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5924 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5926 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5928 * gdb.fortran/printing-types.exp: New file.
5929 * gdb.fortran/printing-types.exp: New file.
5931 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5933 * gdb.fortran/vla-ptype.exp: Fix typos.
5934 * gdb.fortran/vla-value.exp: Same.
5936 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5938 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5939 * gdb.mi/mi-var-child-f.exp: Likewise.
5940 * gdb.mi/mi-vla-fortran.exp: Likewise.
5942 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5943 Christoph Weinmann <christoph.t.weinmann@intel.com>
5944 Bernhard Heckel <bernhard.heckel@intel.com>
5946 * gdb.fortran/ptr-indentation.f90: New file.
5947 * gdb.fortran/ptr-indentation.exp: New file.
5949 2017-09-05 Tom Tromey <tom@tromey.com>
5952 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5954 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5956 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5958 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5960 * gdb.threads/tls-nodebug-pie.c: New file.
5961 * gdb.threads/tls-nodebug-pie.exp: New file.
5963 2017-09-05 Tom Tromey <tom@tromey.com>
5965 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5968 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5970 * gdb.multi/multi-arch-exec.exp: Test with different
5971 "follow-exec-mode" settings.
5972 (do_test): New procedure.
5974 2017-09-04 Pedro Alves <palves@redhat.com>
5976 * gdb.base/func-static.c (S::method const, S::method volatile)
5977 (S::method volatile const): New methods.
5978 (c_s, v_s, cv_s): New instances.
5979 (main): Call method() on them.
5980 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5981 (cannot_resolve): New procedure.
5982 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5983 print-quote-unquoted columns.
5984 (do_test): Test printing each scope too.
5986 2017-09-04 Pedro Alves <palves@redhat.com>
5988 * gdb.base/local-static.exp: Also test with
5989 class::method::variable wholly quoted.
5990 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5992 2017-09-04 Pedro Alves <palves@redhat.com>
5994 * gdb.base/local-static.c: New.
5995 * gdb.base/local-static.cc: New.
5996 * gdb.base/local-static.exp: New.
5998 2017-09-04 Pedro Alves <palves@redhat.com>
6000 * gdb.asm/asm-source.exp: Add casts to int.
6001 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6002 (dataglobal64_1, dataglobal64_2): New globals.
6003 * gdb.base/nodebug.exp: Test different expressions involving the
6004 new globals, with print, whatis and ptype. Add casts to int.
6005 * gdb.base/solib-display.exp: Add casts to int.
6006 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6007 * gdb.cp/m-static.exp: Add cast to int.
6008 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6009 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6010 tls variable with no debug info without a cast. Test with a cast
6012 * gdb.trace/entry-values.exp: Add casts.
6014 2017-09-04 Pedro Alves <palves@redhat.com>
6016 * gdb.base/nodebug.exp: Test that ptype's error about functions
6017 with unknown return type includes the function name too.
6019 2017-09-04 Pedro Alves <palves@redhat.com>
6021 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6022 return type of munmap in infcall.
6023 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6024 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6025 type of ftell in infcall.
6026 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6027 type of getpid in infcall.
6028 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6030 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6031 Bail on failure to extract the pid.
6032 * gdb.base/nodebug.c: #include <stdint.h>.
6033 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6035 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6036 Change expected output of print/whatis/ptype with functions with
6037 no debug info. Test all supported languages. Call
6038 test_call_promotion.
6039 * gdb.compile/compile.exp: Adjust expected output to expect
6041 * gdb.threads/siginfo-threads.exp: Likewise.
6043 2017-09-04 Pedro Alves <palves@redhat.com>
6045 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6046 "prototypes". Test calling float functions via prototyped and
6047 unprototyped function pointers.
6048 (perform_all_tests): New parameter "prototypes". Pass it down.
6049 (top level): Pass down "prototypes" parameter to
6052 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6054 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6055 Test with nested loops.
6057 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6059 * gdb.base/commands.exp: Call the new procedures.
6060 (loop_break_test, loop_continue_test): New procedures.
6062 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6064 * gdb.base/commands.exp: Call new procedure.
6065 (define_if_without_arg_test): New procedure.
6067 2017-09-04 Pedro Alves <palves@redhat.com>
6069 * gdb.base/list-ambiguous.exp: New file.
6070 * gdb.base/list-ambiguous0.c: New file.
6071 * gdb.base/list-ambiguous1.c: New file.
6072 * gdb.base/list.exp (test_list_range): Adjust expected output.
6074 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6076 * gdb.base/share-env-with-gdbserver.c: New file.
6077 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6079 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6081 * gdb.base/commands.exp (gdbvar_simple_if_test,
6082 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6083 progvar_simple_if_test, progvar_simple_while_test,
6084 progvar_complex_if_while_test, user_defined_command_test,
6085 user_defined_command_args_eval,
6086 user_defined_command_args_stack_test,
6087 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6088 temporary_breakpoint_commands,
6089 gdb_test_no_prompt, redefine_hook_test,
6090 redefine_backtrace_test): Remove "global gdb_prompt".
6092 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6094 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6095 New proc, call it from toplevel.
6097 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6100 * gdb.server/normal.c: New file, copied from gdb.base.
6101 * gdb.server/run-without-local-binary.exp: New file.
6103 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6105 * gdb.arch/sparc64-adi.exp: New file.
6106 * gdb.arch/sparc64-adi.c: New file.
6108 2017-08-22 Pedro Alves <palves@redhat.com>
6110 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6111 (top level): Add "list all overloads" tests.
6113 2017-08-22 Tom Tromey <tom@tromey.com>
6115 * gdb.gdb/xfullpath.exp: Remove.
6117 2017-08-21 Pedro Alves <palves@redhat.com>
6120 * gdb.base/symbol-alias.c: New.
6121 * gdb.base/symbol-alias2.c: New.
6122 * gdb.base/symbol-alias.exp: New.
6124 2017-08-21 Pedro Alves <palves@redhat.com>
6126 * gdb.base/dfp-test.c
6127 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6128 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6129 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6130 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6131 * gdb.base/whatis-ptype-typedefs.c: New.
6132 * gdb.base/whatis-ptype-typedefs.exp: New.
6133 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6134 (an_int, an_int_type, an_int_type2): New globals.
6135 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6136 involving typedefs and cast expressions.
6137 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6138 (lookup_typedefs_function): New.
6139 (typedefs_pretty_printers_dict): New.
6140 (top level): Register lookup_typedefs_function in
6141 gdb.pretty_printers.
6143 2017-08-18 Yao Qi <yao.qi@linaro.org>
6145 * gdb.server/unittest.exp: New.
6147 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6150 * gdb.base/environ.exp: Add test to check if 'unset environment'
6153 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6155 * lib/gdb.exp (universal_compile_options): New caching proc.
6156 (gdb_compile): Suppress GCC's coloring of messages.
6158 2017-08-14 Tom Tromey <tom@tromey.com>
6161 * gdb.base/printcmds.exp (test_radices): New function.
6162 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6163 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6164 * lib/gdb.exp (get_integer_valueof): Use p/d.
6166 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6168 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6171 2017-08-05 Tom Tromey <tom@tromey.com>
6173 * gdb.rust/simple.exp: Allow String to appear in a different
6176 2017-07-26 Yao Qi <yao.qi@linaro.org>
6178 * gdb.gdb/unittest.exp: Invoke command
6179 "maintenance check xml-descriptions".
6181 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6183 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6185 (hex128): Drop erroneous calculation of parameters.
6187 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6189 * gdb.python/py-unwind.exp: Disable stack protection when
6192 2017-07-20 Pedro Alves <palves@redhat.com>
6194 * gdb.base/default.exp (set language): Adjust expected output.
6196 2017-07-20 Pedro Alves <palves@redhat.com>
6198 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6199 (test_minsym): ... this, and make static.
6200 (get_pck__foo__bar__minsym): Rename to ...
6201 (get_test_minsym): ... this.
6202 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6203 symbol names and comments.
6204 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6205 (get_test_minsym): ... this.
6206 (pck__foo__bar__minsym__2): Rename to ...
6207 (test_minsym): ... this.
6210 2017-07-17 Pedro Alves <palves@redhat.com>
6212 * gdb.base/completion.exp: Adjust expected output.
6213 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6214 the completer works.
6216 2017-07-17 Pedro Alves <palves@redhat.com>
6218 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6220 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6222 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6224 2017-07-14 Tom Tromey <tom@tromey.com>
6227 * gdb.rust/simple.exp: Add tests.
6229 2017-07-14 Tom Tromey <tom@tromey.com>
6231 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6233 2017-07-14 Pedro Alves <palves@redhat.com>
6235 * gdb.linespec/base/one/thefile.cc (z1): New function.
6236 * gdb.linespec/base/two/thefile.cc (z2): New function.
6237 * gdb.linespec/linespec.exp: Add tests.
6239 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6241 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6242 to mi_create_breakpoint.
6244 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6246 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6247 mi_create_breakpoint.
6249 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6251 * gdb.dlang/demangle.exp: Update for demangling changes.
6253 2017-07-09 Tom Tromey <tom@tromey.com>
6255 * gdb.dwarf2/shortpiece.exp: New file.
6257 2017-07-06 David Blaikie <dblaikie@gmail.com>
6259 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6260 built from fissiont-multi-cu{1,2}.c.
6261 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6262 except putting 'main' and 'func' in separate CUs in the same DWO file.
6263 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6265 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6268 2017-07-06 Pedro Alves <palves@redhat.com>
6270 * gdb.python/py-unwind.exp: Test flushregs.
6272 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6275 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6276 tests for alias commands and trailing whitespace.
6278 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6281 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6284 2017-06-29 Pedro Alves <palves@redhat.com>
6286 * gdb.base/printcmds.exp: Add tests.
6288 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6291 * gdb.base/reread-readsym.exp: New file.
6292 * gdb.base/reread-readsym.c: New file.
6294 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6296 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6299 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6301 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6303 * gdb.arch/powerpc-power9.s: Likewise.
6305 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6307 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6308 on 32-bit x86 targets. Exploit is_*_target macros where
6311 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6313 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6316 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6318 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6319 located in one or more DWARF pieces.
6321 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6323 * lib/gdb.exp (get_endianness): New proc.
6324 * gdb.arch/aarch64-fp.exp: Use it.
6325 * gdb.arch/altivec-regs.exp: Likewise.
6326 * gdb.arch/e500-regs.exp: Likewise.
6327 * gdb.arch/vsx-regs.exp: Likewise.
6328 * gdb.base/dump.exp: Likewise.
6329 * gdb.base/funcargs.exp: Likewise.
6330 * gdb.base/gnu_vector.exp: Likewise.
6331 * gdb.dwarf2/formdata16.exp: Likewise.
6332 * gdb.dwarf2/implptrpiece.exp: Likewise.
6333 * gdb.dwarf2/nonvar-access.exp: Likewise.
6334 * gdb.python/py-inferior.exp: Likewise.
6335 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6337 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6340 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6341 stack value pieces are taken from the LSB end.
6343 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6345 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6346 variable at nonzero offset.
6348 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6350 * gdb.dwarf2/var-access.c: New file.
6351 * gdb.dwarf2/var-access.exp: New test.
6352 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6354 2017-06-12 Tom Tromey <tom@tromey.com>
6356 * gdb.dwarf2/formdata16.exp: Add tests.
6358 2017-06-12 Tom Tromey <tom@tromey.com>
6360 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6362 2017-06-12 Tom Tromey <tom@tromey.com>
6365 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6366 * gdb.arch/vsx-regs.exp: Update tests.
6367 * gdb.arch/s390-vregs.exp (hex128): New proc.
6369 * gdb.arch/altivec-regs.exp: Update tests.
6371 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6373 * gdb.base/startup-with-shell.c: New file.
6374 * gdb.base/startup-with-shell.exp: Likewise.
6376 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6378 * gdb.server/non-existing-program.exp: Update regex in order to
6379 reflect the fact that gdbserver is now using fork_inferior (with a
6380 shell) to startup the inferior.
6382 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6384 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6385 support function calls from GDB.
6387 2017-05-21 Tom Tromey <tom@tromey.com>
6390 * gdb.rust/unsized.exp: New file.
6391 * gdb.rust/unsized.rs: New file.
6393 2017-05-19 Tom Tromey <tom@tromey.com>
6396 * gdb.rust/watch.exp: New file.
6397 * gdb.rust/watch.rs: New file.
6399 2017-05-18 Tom Tromey <tom@tromey.com>
6401 * gdb.rust/simple.exp: Allow Box to be qualified.
6403 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6405 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6407 2017-05-18 Pedro Alves <palves@redhat.com>
6409 * gdb.base/fileio.c (test_write, test_read, test_close)
6410 (test_fstat): Don't print 'ret' in the fail path.
6412 2017-05-18 Pedro Alves <palves@redhat.com>
6414 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6415 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6416 (test_system, test_rename, test_unlink, test_time): Change
6418 * gdb.base/fileio.exp (stop_msg): Adjust.
6420 2017-05-18 Pedro Alves <palves@redhat.com>
6422 * gdb.base/fileio.c (null_str): New global.
6423 (test_stat): Use it.
6424 * gdb.base/fileio.exp: Remove nowarnings.
6426 2017-05-17 Yao Qi <yao.qi@linaro.org>
6428 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6430 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6432 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6434 (top-level): Invoke test_set_inferior_tty.
6436 2017-05-04 Pedro Alves <palves@redhat.com>
6438 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6439 Add parens to print call for Python 3.
6441 2017-05-03 Keith Seitz <keiths@redhat.com>
6443 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6446 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6448 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6451 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6453 * gdb.python/py-record-btrace.exp: Remove test for
6454 gdb.BtraceInstruction.error.
6456 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6458 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6460 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6462 * gdb.python/py-record-btrace-threads.c: New file.
6463 * gdb.python/py-record-btrace-threads.exp: New file.
6465 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6468 * gdb.base/environ.exp: Make test available in all architectures.
6469 Move bits related to "info program" testing to
6470 gdb.base/info-program.exp. Rewrite tests to use the two new
6471 procedures mentione below.
6472 (test_set_show_env_var) New procedure.
6473 (test_set_show_env_var_equal): Likewise.
6474 * gdb.base/info-program.exp: New file.
6476 2017-04-27 Keith Seitz <keiths@redhat.com>
6478 * gdb.cp/oranking.cc (test15): New function.
6479 (main): Call test15 and declare additional variables for testing.
6480 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6481 "p foo101('abc')" tests.
6482 Add tests for cv qualifier overloads.
6483 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6484 "lvalue reference overload" test.
6485 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6486 "print value of f1 on Child&& in f2" test.
6488 2017-04-19 Pedro Alves <palves@redhat.com>
6490 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6492 (top level): Call it.
6493 * lib/gdb.exp (gdb_define_cmd): New procedure.
6495 2017-04-12 Pedro Alves <palves@redhat.com>
6498 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6499 (wchar): New global.
6500 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6501 (do_test_wide_char, wide_char_types_no_program, top level): Add
6504 2017-04-12 Pedro Alves <palves@redhat.com>
6507 * gdb.cp/wide_char_types.c: New file.
6508 * gdb.cp/wide_char_types.exp: New file.
6510 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6513 * gdb.trace/tsv.exp: Add test for "tsave -r".
6515 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6517 * gdb.dlang/watch-loc.c: New file.
6518 * gdb.dlang/watch-loc.exp: New file.
6520 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6522 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6524 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6526 * gdb.arch/arc-analyze-prologue.S: New file.
6527 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6529 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6531 * gdb.arch/arc-decode-insn.S: New file.
6532 * gdb.arch/arc-decode-insn.exp: Likewise.
6534 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6537 * gdb.arch/sparc64-regs.exp: New file.
6538 * gdb.arch/sparc64-regs.S: Likewise.
6540 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6542 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6543 and memory view on Python 3.
6545 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6546 Keith Seitz <keiths@redhat.com>
6549 * gdb.cp/demangle.exp: Add rvalue reference tests.
6550 * gdb.cp/rvalue-ref-casts.cc: New file.
6551 * gdb.cp/rvalue-ref-casts.exp: New file.
6552 * gdb.cp/rvalue-ref-overload.cc: New file.
6553 * gdb.cp/rvalue-ref-overload.exp: New file.
6554 * gdb.cp/rvalue-ref-params.cc: New file.
6555 * gdb.cp/rvalue-ref-params.exp: New file.
6556 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6557 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6558 * gdb.cp/rvalue-ref-types.cc: New file.
6559 * gdb.cp/rvalue-ref-types.exp: New file.
6560 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6561 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6563 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6565 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6568 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6570 * lib/mi-support.exp (mi_gdb_test): Add additional message
6571 for unexpected output.
6573 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6575 * gdb.base/examine-backward.c (Barrier): New character array
6576 constant, to ensure that TestStrings is preceded by a string
6579 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6581 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6582 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6583 and implicit pointer into such a location.
6585 2017-03-16 Doug Evans <dje@google.com>
6587 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6589 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6591 * gdb.cp/m-static.exp: Fix expectation for prototype of
6592 test5.single_constructor and single_constructor::single_constructor.
6594 2017-03-16 Doug Evans <dje@google.com>
6596 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6597 * gdb.guile/scm-lazy-string.c: New file.
6598 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6599 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6600 for pointer, array, typedef lazy strings.
6602 2017-03-16 Doug Evans <dje@google.com>
6604 PR python/17728, python/18439, python/18779
6605 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6606 * gdb.python/py-lazy-string.c (pointer): New typedef.
6607 (main): New locals ptr, array, typedef_ptr.
6608 * gdb.python/py-value.exp: Move lazy string tests to ...
6609 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6610 array, typedef lazy strings.
6612 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6614 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6615 Add optional 'test' parameter.
6617 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6619 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6620 Skip for versions of DejaGnu < 1.5.
6622 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6624 * lib/gdb.exp (dejagnu_version): New proc.
6625 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6626 Use dejagnu_version.
6628 2017-03-10 Keith Seitz <keiths@redhat.com>
6631 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6632 type from destructor regexps.
6633 Add a branch which actually passes the test.
6634 Adjust "ptype t5i" test names.
6636 2017-03-08 Pedro Alves <palves@redhat.com>
6638 * gdb.base/step-over-exit.exp: Add explicit test message.
6640 2017-03-08 Pedro Alves <palves@redhat.com>
6643 * gdb.threads/interrupt-while-step-over.c: New file.
6644 * gdb.threads/interrupt-while-step-over.exp: New file.
6646 2017-03-08 Pedro Alves <palves@redhat.com>
6648 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6649 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6651 2017-03-08 Pedro Alves <palves@redhat.com>
6653 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6654 PKRU as not supported as a PASS.
6656 2017-03-08 Pedro Alves <palves@redhat.com>
6658 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6659 prefix instead of $binfile1/$binfile2.
6660 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6662 * gdb.python/py-completion.exp: Use "load python file" as test
6663 messages instead of unstable path names.
6665 2017-03-08 Pedro Alves <palves@redhat.com>
6666 Jan Kratochvil <jan.kratochvil@redhat.com>
6669 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6671 (top level): Call it.
6673 2017-03-08 Pedro Alves <palves@redhat.com>
6676 * gdb.tui/tui-nl-filtered-output.exp: New file.
6678 2017-03-08 Pedro Alves <palves@redhat.com>
6680 * gdb.base/completion.exp: Move TUI completion tests to ...
6681 * gdb.tui/completion.exp: ... this new file.
6683 2017-03-08 Pedro Alves <palves@redhat.com>
6685 * gdb.base/tui-disasm-long-lines.c,
6686 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6687 gdb.base/tui-layout.exp: Move to ...
6688 * gdb.tui/: ... this new directory.
6690 2017-03-07 Pedro Alves <palves@redhat.com>
6692 * gdb.base/tui-layout.c: New file.
6693 * gdb.base/tui-layout.exp: New file.
6695 2017-03-07 Pedro Alves <palves@redhat.com>
6697 * gdb.base/tui-layout.c: Rename to ...
6698 * gdb.base/tui-disasm-long-lines.c: ... this.
6699 * gdb.base/tui-layout.exp: Rename to ...
6700 * gdb.base/tui-disasm-long-lines.exp: ... this.
6702 2017-03-07 Pedro Alves <palves@redhat.com>
6704 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6706 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6708 * i386-mpx-call.c: New file.
6709 * i386-mpx-call.exp: New file.
6711 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6713 * gdb.arch/powerpc-power.exp: Delete test.
6714 * gdb.arch/powerpc-power.s: Likewise.
6715 * gdb.disasm/disassembler-options.exp: New test.
6716 * gdb.arch/powerpc-altivec.exp: Likewise.
6717 * gdb.arch/powerpc-altivec.s: Likewise.
6718 * gdb.arch/powerpc-altivec2.exp: Likewise.
6719 * gdb.arch/powerpc-altivec2.s: Likewise.
6720 * gdb.arch/powerpc-altivec3.exp: Likewise.
6721 * gdb.arch/powerpc-altivec3.s: Likewise.
6722 * gdb.arch/powerpc-power7.exp: Likewise.
6723 * gdb.arch/powerpc-power7.s: Likewise.
6724 * gdb.arch/powerpc-power8.exp: Likewise.
6725 * gdb.arch/powerpc-power8.s: Likewise.
6726 * gdb.arch/powerpc-power9.exp: Likewise.
6727 * gdb.arch/powerpc-power9.s: Likewise.
6728 * gdb.arch/powerpc-vsx.exp: Likewise.
6729 * gdb.arch/powerpc-vsx.s: Likewise.
6730 * gdb.arch/powerpc-vsx2.exp: Likewise.
6731 * gdb.arch/powerpc-vsx2.s: Likewise.
6732 * gdb.arch/powerpc-vsx3.exp: Likewise.
6733 * gdb.arch/powerpc-vsx3.s: Likewise.
6734 * gdb.arch/arm-disassembler-options.exp: Likewise.
6735 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6736 * gdb.arch/s390-disassembler-options.exp: Likewise.
6738 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6740 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6741 (check_supported_features): ... this. Changed return type to void.
6742 (supports_rdseed): New static global.
6743 (rdseed): Check supports_rdseed.
6744 (initialize): Call check_supported_features.
6746 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6748 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6749 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6751 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6752 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6754 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6756 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6759 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6761 * gdb.dwarf2/formdata16.c: New file.
6762 * gdb.dwarf2/formdata16.exp: New file.
6763 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6765 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6767 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6768 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6769 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6770 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6773 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6775 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6777 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6780 * gdb.base/maint.exp: Add testcases for when the commands do
6783 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6785 * gdb.cp/chained-calls.exp: Use p instead of P.
6787 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6789 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6790 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6792 2017-02-14 Tom Tromey <tom@tromey.com>
6795 * gdb.python/py-events.exp: Add before_prompt event tests.
6797 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6799 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6801 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6803 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6804 (main): Call my_unique_function_name.
6805 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6806 completion of patterns with a single match.
6807 Add missing -re switches to gdb_test_multiple calls.
6809 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6811 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6812 return if core file is not recognized.
6814 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6816 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6819 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6821 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6824 2017-02-10 Tom Tromey <tom@tromey.com>
6826 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6828 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6831 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6833 2017-02-08 Jerome Guitton <guitton@adacore.com>
6835 * gdb.base/define.exp: Add test for command abbreviations
6838 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6840 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6841 * gdb.reverse/insn-reverse-x86.c: New file.
6843 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6846 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6848 2017-02-03 Tom Tromey <tom@tromey.com>
6851 * gdb.rust/simple.exp: Add new tests.
6853 2017-02-02 Pedro Alves <palves@redhat.com>
6855 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6858 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6860 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6861 taking a 2-byte value out of a 4-byte DWARF implicit value on
6863 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6864 logic. Add test cases for DW_OP_implicit.
6866 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6868 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6870 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6872 * gdb.btrace/enable.exp: Call gdb_exit before
6873 skip_gdbserver_tests.
6875 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6877 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6880 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6882 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6883 the test is skipped.
6884 * gdb.btrace/data.exp: Likewise.
6885 * gdb.btrace/delta.exp: Likewise.
6886 * gdb.btrace/dlopen.exp: Likewise.
6887 * gdb.btrace/enable-running.exp: Likewise.
6888 * gdb.btrace/enable.exp: Likewise.
6889 * gdb.btrace/exception.exp: Likewise.
6890 * gdb.btrace/function_call_history.exp: Likewise.
6891 * gdb.btrace/gcore.exp: Likewise.
6892 * gdb.btrace/instruction_history.exp: Likewise.
6893 * gdb.btrace/multi-thread-step.exp: Likewise.
6894 * gdb.btrace/nohist.exp: Likewise.
6895 * gdb.btrace/non-stop.exp: Likewise.
6896 * gdb.btrace/reconnect.exp: Likewise.
6897 * gdb.btrace/record_goto-step.exp: Likewise.
6898 * gdb.btrace/record_goto.exp: Likewise.
6899 * gdb.btrace/rn-dl-bind.exp: Likewise.
6900 * gdb.btrace/segv.exp: Likewise.
6901 * gdb.btrace/step.exp: Likewise.
6902 * gdb.btrace/stepi.exp: Likewise.
6903 * gdb.btrace/tailcall-only.exp: Likewise.
6904 * gdb.btrace/tailcall.exp: Likewise.
6905 * gdb.btrace/tsx.exp: Likewise.
6906 * gdb.btrace/unknown_functions.exp: Likewise.
6907 * gdb.btrace/vdso.exp: Likewise.
6909 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6911 * gdb.btrace/enable-running.c: New.
6912 * gdb.btrace/enable-running.exp: New.
6914 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6916 * gdb.arch/amd64-gs_base.c: New file.
6917 * gdb.arch/amd64-gs_base.exp: New file.
6919 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6921 * lib/memory.exp: Remove spurious empty newlines.
6923 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6925 * gdb.python/py-bad-printers.exp: Load python file using "source".
6926 * gdb.python/py-events.exp: Likewise.
6927 * gdb.python/py-evsignal.exp: Likewise.
6928 * gdb.python/py-evthreads.exp: Likewise.
6929 * gdb.python/py-frame-args.exp: Likewise.
6930 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6931 * gdb.python/py-framefilter-mi.exp: Likewise.
6932 * gdb.python/py-framefilter.exp: Likewise.
6933 * gdb.python/py-mi.exp: Likewise.
6934 * gdb.python/py-pp-maint.exp: Likewise.
6935 * gdb.python/py-pp-registration.exp: Likewise.
6936 * gdb.python/py-prettyprint.exp: Likewise.
6937 (run_lang_tests): Likewise.
6938 * gdb.python/py-typeprint.exp: Likewise.
6940 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6942 * lib/memory.exp: New file.
6943 * lib/gdb.exp: Load memory.exp.
6944 * gdb.base/memattr.exp (delete_memory): Move proc to
6945 lib/memory.exp and rename to delete_memory_regions.
6946 Replace delete_memory with delete_memory_regions.
6947 Cleanup memory regions before tests.
6948 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6951 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6953 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6955 (initialize): New function conditionally defined.
6956 (testcases): Move within conditional block.
6957 (main): Call initialize.
6958 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6959 of gdb.reverse/insn-reverse.c.
6960 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6961 gdb.reverse/insn-reverse.c.
6963 2017-01-26 Yao Qi <yao.qi@linaro.org>
6965 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6966 disassemble on address 0.
6968 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6969 Yao Qi <yao.qi@linaro.org>
6971 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6972 * gdb.dwarf2/implptr-64bit.S: Remove.
6973 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6974 variables in caller's context. Add DW_OP_implicit_value.
6976 2017-01-25 Yao Qi <yao.qi@linaro.org>
6978 * lib/dwarf.exp (Dwarf::_location): Handle
6979 DW_OP_GNU_implicit_pointer with proper size.
6981 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6983 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6984 and add untested calls.
6986 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6988 * gdb.python/python.exp: Check line number against what GDB thinks
6989 the line number is for func1.
6991 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6993 * gdb.dlang/debug-expr.exp: New file.
6995 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6997 Fix test names for the following files:
6999 * gdb.ada/exec_changed.exp
7000 * gdb.ada/info_types.exp
7001 * gdb.arch/aarch64-atomic-inst.exp
7002 * gdb.arch/aarch64-fp.exp
7003 * gdb.arch/altivec-abi.exp
7004 * gdb.arch/altivec-regs.exp
7005 * gdb.arch/amd64-byte.exp
7006 * gdb.arch/amd64-disp-step.exp
7007 * gdb.arch/amd64-dword.exp
7008 * gdb.arch/amd64-entry-value-inline.exp
7009 * gdb.arch/amd64-entry-value-param.exp
7010 * gdb.arch/amd64-entry-value-paramref.exp
7011 * gdb.arch/amd64-entry-value.exp
7012 * gdb.arch/amd64-i386-address.exp
7013 * gdb.arch/amd64-invalid-stack-middle.exp
7014 * gdb.arch/amd64-invalid-stack-top.exp
7015 * gdb.arch/amd64-optimout-repeat.exp
7016 * gdb.arch/amd64-prologue-skip.exp
7017 * gdb.arch/amd64-prologue-xmm.exp
7018 * gdb.arch/amd64-stap-special-operands.exp
7019 * gdb.arch/amd64-stap-wrong-subexp.exp
7020 * gdb.arch/amd64-tailcall-cxx.exp
7021 * gdb.arch/amd64-tailcall-noret.exp
7022 * gdb.arch/amd64-tailcall-ret.exp
7023 * gdb.arch/amd64-tailcall-self.exp
7024 * gdb.arch/amd64-word.exp
7025 * gdb.arch/arm-bl-branch-dest.exp
7026 * gdb.arch/arm-disp-step.exp
7027 * gdb.arch/arm-neon.exp
7028 * gdb.arch/arm-single-step-kernel-helper.exp
7029 * gdb.arch/avr-flash-qualifier.exp
7030 * gdb.arch/disp-step-insn-reloc.exp
7031 * gdb.arch/e500-abi.exp
7032 * gdb.arch/e500-regs.exp
7033 * gdb.arch/ftrace-insn-reloc.exp
7034 * gdb.arch/i386-avx512.exp
7035 * gdb.arch/i386-bp_permanent.exp
7036 * gdb.arch/i386-byte.exp
7037 * gdb.arch/i386-cfi-notcurrent.exp
7038 * gdb.arch/i386-disp-step.exp
7039 * gdb.arch/i386-dr3-watch.exp
7040 * gdb.arch/i386-float.exp
7041 * gdb.arch/i386-gnu-cfi.exp
7042 * gdb.arch/i386-mpx-map.exp
7043 * gdb.arch/i386-mpx-sigsegv.exp
7044 * gdb.arch/i386-mpx-simple_segv.exp
7045 * gdb.arch/i386-mpx.exp
7046 * gdb.arch/i386-permbkpt.exp
7047 * gdb.arch/i386-prologue.exp
7048 * gdb.arch/i386-signal.exp
7049 * gdb.arch/i386-size-overlap.exp
7050 * gdb.arch/i386-unwind.exp
7051 * gdb.arch/i386-word.exp
7052 * gdb.arch/mips-fcr.exp
7053 * gdb.arch/powerpc-d128-regs.exp
7054 * gdb.arch/powerpc-stackless.exp
7055 * gdb.arch/ppc64-atomic-inst.exp
7056 * gdb.arch/s390-stackless.exp
7057 * gdb.arch/s390-tdbregs.exp
7058 * gdb.arch/s390-vregs.exp
7059 * gdb.arch/sparc-sysstep.exp
7060 * gdb.arch/thumb-bx-pc.exp
7061 * gdb.arch/thumb-singlestep.exp
7062 * gdb.arch/thumb2-it.exp
7063 * gdb.arch/vsx-regs.exp
7064 * gdb.asm/asm-source.exp
7065 * gdb.base/a2-run.exp
7066 * gdb.base/advance.exp
7067 * gdb.base/all-bin.exp
7070 * gdb.base/arithmet.exp
7071 * gdb.base/async-shell.exp
7072 * gdb.base/async.exp
7073 * gdb.base/attach-pie-noexec.exp
7074 * gdb.base/attach-twice.exp
7075 * gdb.base/auto-load.exp
7077 * gdb.base/bitfields.exp
7078 * gdb.base/break-always.exp
7079 * gdb.base/break-caller-line.exp
7080 * gdb.base/break-entry.exp
7081 * gdb.base/break-inline.exp
7082 * gdb.base/break-on-linker-gcd-function.exp
7083 * gdb.base/break-probes.exp
7084 * gdb.base/break.exp
7085 * gdb.base/breakpoint-shadow.exp
7086 * gdb.base/call-ar-st.exp
7087 * gdb.base/call-sc.exp
7088 * gdb.base/call-signal-resume.exp
7089 * gdb.base/call-strs.exp
7090 * gdb.base/callfuncs.exp
7091 * gdb.base/catch-fork-static.exp
7092 * gdb.base/catch-gdb-caused-signals.exp
7093 * gdb.base/catch-load.exp
7094 * gdb.base/catch-signal-fork.exp
7095 * gdb.base/catch-signal.exp
7096 * gdb.base/catch-syscall.exp
7097 * gdb.base/charset.exp
7098 * gdb.base/checkpoint.exp
7099 * gdb.base/chng-syms.exp
7100 * gdb.base/code-expr.exp
7101 * gdb.base/code_elim.exp
7102 * gdb.base/commands.exp
7103 * gdb.base/completion.exp
7104 * gdb.base/complex.exp
7105 * gdb.base/cond-expr.exp
7106 * gdb.base/condbreak.exp
7107 * gdb.base/consecutive.exp
7108 * gdb.base/continue-all-already-running.exp
7109 * gdb.base/coredump-filter.exp
7110 * gdb.base/corefile.exp
7112 * gdb.base/debug-expr.exp
7113 * gdb.base/define.exp
7115 * gdb.base/disabled-location.exp
7116 * gdb.base/disasm-end-cu.exp
7117 * gdb.base/disasm-optim.exp
7118 * gdb.base/display.exp
7119 * gdb.base/duplicate-bp.exp
7120 * gdb.base/ena-dis-br.exp
7121 * gdb.base/ending-run.exp
7122 * gdb.base/enumval.exp
7123 * gdb.base/environ.exp
7124 * gdb.base/eu-strip-infcall.exp
7125 * gdb.base/eval-avoid-side-effects.exp
7126 * gdb.base/eval-skip.exp
7127 * gdb.base/exitsignal.exp
7128 * gdb.base/expand-psymtabs.exp
7129 * gdb.base/filesym.exp
7130 * gdb.base/find-unmapped.exp
7131 * gdb.base/finish.exp
7132 * gdb.base/float.exp
7133 * gdb.base/foll-exec-mode.exp
7134 * gdb.base/foll-exec.exp
7135 * gdb.base/foll-fork.exp
7136 * gdb.base/fortran-sym-case.exp
7137 * gdb.base/freebpcmd.exp
7138 * gdb.base/func-ptr.exp
7139 * gdb.base/func-ptrs.exp
7140 * gdb.base/funcargs.exp
7141 * gdb.base/gcore-buffer-overflow.exp
7142 * gdb.base/gcore-relro-pie.exp
7143 * gdb.base/gcore-relro.exp
7144 * gdb.base/gcore.exp
7145 * gdb.base/gdb1090.exp
7146 * gdb.base/gdb11530.exp
7147 * gdb.base/gdb11531.exp
7148 * gdb.base/gdb1821.exp
7149 * gdb.base/gdbindex-stabs.exp
7150 * gdb.base/gdbvars.exp
7151 * gdb.base/hbreak.exp
7152 * gdb.base/hbreak2.exp
7153 * gdb.base/included.exp
7154 * gdb.base/infcall-input.exp
7155 * gdb.base/inferior-died.exp
7156 * gdb.base/infnan.exp
7157 * gdb.base/info-macros.exp
7158 * gdb.base/info-os.exp
7159 * gdb.base/info-proc.exp
7160 * gdb.base/info-shared.exp
7161 * gdb.base/info-target.exp
7162 * gdb.base/infoline.exp
7163 * gdb.base/interp.exp
7164 * gdb.base/interrupt.exp
7165 * gdb.base/jit-reader.exp
7166 * gdb.base/jit-simple.exp
7167 * gdb.base/kill-after-signal.exp
7168 * gdb.base/kill-detach-inferiors-cmd.exp
7169 * gdb.base/label.exp
7170 * gdb.base/langs.exp
7171 * gdb.base/ldbl_e308.exp
7172 * gdb.base/line-symtabs.exp
7173 * gdb.base/linespecs.exp
7175 * gdb.base/long_long.exp
7176 * gdb.base/longest-types.exp
7177 * gdb.base/maint.exp
7178 * gdb.base/max-value-size.exp
7179 * gdb.base/memattr.exp
7180 * gdb.base/mips_pro.exp
7181 * gdb.base/morestack.exp
7182 * gdb.base/moribund-step.exp
7183 * gdb.base/multi-forks.exp
7184 * gdb.base/nested-addr.exp
7185 * gdb.base/nextoverexit.exp
7186 * gdb.base/noreturn-finish.exp
7187 * gdb.base/noreturn-return.exp
7188 * gdb.base/nostdlib.exp
7189 * gdb.base/offsets.exp
7190 * gdb.base/opaque.exp
7191 * gdb.base/pc-fp.exp
7192 * gdb.base/permissions.exp
7193 * gdb.base/print-symbol-loading.exp
7194 * gdb.base/prologue-include.exp
7195 * gdb.base/psymtab.exp
7196 * gdb.base/ptype.exp
7197 * gdb.base/random-signal.exp
7198 * gdb.base/randomize.exp
7199 * gdb.base/range-stepping.exp
7200 * gdb.base/readline-ask.exp
7201 * gdb.base/recpar.exp
7202 * gdb.base/recurse.exp
7203 * gdb.base/relational.exp
7204 * gdb.base/restore.exp
7205 * gdb.base/return-nodebug.exp
7206 * gdb.base/return.exp
7207 * gdb.base/run-after-attach.exp
7208 * gdb.base/save-bp.exp
7209 * gdb.base/scope.exp
7210 * gdb.base/sect-cmd.exp
7211 * gdb.base/set-lang-auto.exp
7212 * gdb.base/set-noassign.exp
7213 * gdb.base/setvar.exp
7214 * gdb.base/sigall.exp
7215 * gdb.base/sigbpt.exp
7216 * gdb.base/siginfo-addr.exp
7217 * gdb.base/siginfo-infcall.exp
7218 * gdb.base/siginfo-obj.exp
7219 * gdb.base/siginfo.exp
7220 * gdb.base/signals-state-child.exp
7221 * gdb.base/signest.exp
7222 * gdb.base/sigstep.exp
7223 * gdb.base/sizeof.exp
7225 * gdb.base/solib-corrupted.exp
7226 * gdb.base/solib-nodir.exp
7227 * gdb.base/solib-search.exp
7228 * gdb.base/stack-checking.exp
7229 * gdb.base/stale-infcall.exp
7230 * gdb.base/stap-probe.exp
7231 * gdb.base/start.exp
7232 * gdb.base/step-break.exp
7233 * gdb.base/step-bt.exp
7234 * gdb.base/step-line.exp
7235 * gdb.base/step-over-exit.exp
7236 * gdb.base/step-over-syscall.exp
7237 * gdb.base/step-resume-infcall.exp
7238 * gdb.base/step-test.exp
7239 * gdb.base/store.exp
7240 * gdb.base/structs3.exp
7241 * gdb.base/sym-file.exp
7242 * gdb.base/symbol-without-target_section.exp
7244 * gdb.base/testenv.exp
7245 * gdb.base/ui-redirect.exp
7246 * gdb.base/until.exp
7247 * gdb.base/unwindonsignal.exp
7248 * gdb.base/value-double-free.exp
7249 * gdb.base/vla-datatypes.exp
7250 * gdb.base/vla-ptr.exp
7251 * gdb.base/vla-sideeffect.exp
7252 * gdb.base/volatile.exp
7253 * gdb.base/watch-cond-infcall.exp
7254 * gdb.base/watch-cond.exp
7255 * gdb.base/watch-non-mem.exp
7256 * gdb.base/watch-read.exp
7257 * gdb.base/watch-vfork.exp
7258 * gdb.base/watchpoint-cond-gone.exp
7259 * gdb.base/watchpoint-delete.exp
7260 * gdb.base/watchpoint-hw-hit-once.exp
7261 * gdb.base/watchpoint-hw.exp
7262 * gdb.base/watchpoint-stops-at-right-insn.exp
7263 * gdb.base/watchpoints.exp
7264 * gdb.base/wchar.exp
7265 * gdb.base/whatis-exp.exp
7266 * gdb.btrace/buffer-size.exp
7267 * gdb.btrace/data.exp
7268 * gdb.btrace/delta.exp
7269 * gdb.btrace/dlopen.exp
7270 * gdb.btrace/enable.exp
7271 * gdb.btrace/exception.exp
7272 * gdb.btrace/function_call_history.exp
7273 * gdb.btrace/gcore.exp
7274 * gdb.btrace/instruction_history.exp
7275 * gdb.btrace/nohist.exp
7276 * gdb.btrace/reconnect.exp
7277 * gdb.btrace/record_goto-step.exp
7278 * gdb.btrace/record_goto.exp
7279 * gdb.btrace/rn-dl-bind.exp
7280 * gdb.btrace/segv.exp
7281 * gdb.btrace/step.exp
7282 * gdb.btrace/stepi.exp
7283 * gdb.btrace/tailcall-only.exp
7284 * gdb.btrace/tailcall.exp
7285 * gdb.btrace/tsx.exp
7286 * gdb.btrace/unknown_functions.exp
7287 * gdb.btrace/vdso.exp
7288 * gdb.compile/compile-ifunc.exp
7289 * gdb.compile/compile-ops.exp
7290 * gdb.compile/compile-print.exp
7291 * gdb.compile/compile-setjmp.exp
7292 * gdb.cp/abstract-origin.exp
7293 * gdb.cp/ambiguous.exp
7294 * gdb.cp/annota2.exp
7295 * gdb.cp/annota3.exp
7296 * gdb.cp/anon-ns.exp
7297 * gdb.cp/anon-struct.exp
7298 * gdb.cp/anon-union.exp
7299 * gdb.cp/arg-reference.exp
7300 * gdb.cp/baseenum.exp
7302 * gdb.cp/breakpoint.exp
7303 * gdb.cp/bs15503.exp
7306 * gdb.cp/chained-calls.exp
7308 * gdb.cp/classes.exp
7309 * gdb.cp/cmpd-minsyms.exp
7310 * gdb.cp/converts.exp
7311 * gdb.cp/cp-relocate.exp
7312 * gdb.cp/cpcompletion.exp
7313 * gdb.cp/cpexprs.exp
7314 * gdb.cp/cplabel.exp
7315 * gdb.cp/cplusfuncs.exp
7316 * gdb.cp/cpsizeof.exp
7318 * gdb.cp/derivation.exp
7319 * gdb.cp/destrprint.exp
7320 * gdb.cp/dispcxx.exp
7321 * gdb.cp/enum-class.exp
7322 * gdb.cp/exception.exp
7323 * gdb.cp/exceptprint.exp
7324 * gdb.cp/expand-psymtabs-cxx.exp
7325 * gdb.cp/expand-sals.exp
7326 * gdb.cp/extern-c.exp
7327 * gdb.cp/filename.exp
7328 * gdb.cp/formatted-ref.exp
7329 * gdb.cp/fpointer.exp
7330 * gdb.cp/gdb1355.exp
7331 * gdb.cp/gdb2495.exp
7333 * gdb.cp/impl-this.exp
7334 * gdb.cp/infcall-dlopen.exp
7335 * gdb.cp/inherit.exp
7336 * gdb.cp/iostream.exp
7340 * gdb.cp/m-static.exp
7341 * gdb.cp/mb-ctor.exp
7342 * gdb.cp/mb-inline.exp
7343 * gdb.cp/mb-templates.exp
7344 * gdb.cp/member-name.exp
7345 * gdb.cp/member-ptr.exp
7346 * gdb.cp/meth-typedefs.exp
7348 * gdb.cp/method2.exp
7349 * gdb.cp/minsym-fallback.exp
7351 * gdb.cp/namelessclass.exp
7352 * gdb.cp/namespace-enum.exp
7353 * gdb.cp/namespace-nested-import.exp
7354 * gdb.cp/namespace.exp
7355 * gdb.cp/nextoverthrow.exp
7356 * gdb.cp/no-dmgl-verbose.exp
7357 * gdb.cp/non-trivial-retval.exp
7358 * gdb.cp/noparam.exp
7360 * gdb.cp/nsimport.exp
7361 * gdb.cp/nsnested.exp
7362 * gdb.cp/nsnoimports.exp
7363 * gdb.cp/nsrecurs.exp
7364 * gdb.cp/nsstress.exp
7365 * gdb.cp/nsusing.exp
7366 * gdb.cp/operator.exp
7367 * gdb.cp/oranking.exp
7368 * gdb.cp/overload-const.exp
7369 * gdb.cp/overload.exp
7370 * gdb.cp/ovldbreak.exp
7372 * gdb.cp/paren-type.exp
7373 * gdb.cp/parse-lang.exp
7374 * gdb.cp/pass-by-ref.exp
7375 * gdb.cp/pr-1023.exp
7376 * gdb.cp/pr-1210.exp
7378 * gdb.cp/pr10687.exp
7379 * gdb.cp/pr12028.exp
7380 * gdb.cp/pr17132.exp
7381 * gdb.cp/pr17494.exp
7385 * gdb.cp/printmethod.exp
7387 * gdb.cp/psymtab-parameter.exp
7388 * gdb.cp/ptype-cv-cp.exp
7389 * gdb.cp/ptype-flags.exp
7390 * gdb.cp/re-set-overloaded.exp
7391 * gdb.cp/ref-types.exp
7393 * gdb.cp/scope-err.exp
7396 * gdb.cp/static-method.exp
7397 * gdb.cp/static-print-quit.exp
7398 * gdb.cp/temargs.exp
7399 * gdb.cp/templates.exp
7400 * gdb.cp/try_catch.exp
7401 * gdb.cp/typedef-operator.exp
7403 * gdb.cp/userdef.exp
7404 * gdb.cp/using-crash.exp
7405 * gdb.cp/var-tag.exp
7406 * gdb.cp/virtbase.exp
7407 * gdb.cp/virtfunc.exp
7408 * gdb.cp/virtfunc2.exp
7409 * gdb.cp/vla-cxx.exp
7410 * gdb.disasm/t01_mov.exp
7411 * gdb.disasm/t02_mova.exp
7412 * gdb.disasm/t03_add.exp
7413 * gdb.disasm/t04_sub.exp
7414 * gdb.disasm/t05_cmp.exp
7415 * gdb.disasm/t06_ari2.exp
7416 * gdb.disasm/t07_ari3.exp
7417 * gdb.disasm/t08_or.exp
7418 * gdb.disasm/t09_xor.exp
7419 * gdb.disasm/t10_and.exp
7420 * gdb.disasm/t11_logs.exp
7421 * gdb.disasm/t12_bit.exp
7422 * gdb.disasm/t13_otr.exp
7423 * gdb.dlang/circular.exp
7424 * gdb.dwarf2/arr-stride.exp
7425 * gdb.dwarf2/arr-subrange.exp
7426 * gdb.dwarf2/atomic-type.exp
7427 * gdb.dwarf2/bad-regnum.exp
7428 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7429 * gdb.dwarf2/callframecfa.exp
7430 * gdb.dwarf2/clztest.exp
7431 * gdb.dwarf2/corrupt.exp
7432 * gdb.dwarf2/data-loc.exp
7433 * gdb.dwarf2/dup-psym.exp
7434 * gdb.dwarf2/dw2-anon-mptr.exp
7435 * gdb.dwarf2/dw2-anonymous-func.exp
7436 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7437 * gdb.dwarf2/dw2-bad-unresolved.exp
7438 * gdb.dwarf2/dw2-basic.exp
7439 * gdb.dwarf2/dw2-canonicalize-type.exp
7440 * gdb.dwarf2/dw2-case-insensitive.exp
7441 * gdb.dwarf2/dw2-common-block.exp
7442 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7443 * gdb.dwarf2/dw2-compressed.exp
7444 * gdb.dwarf2/dw2-const.exp
7445 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7446 * gdb.dwarf2/dw2-cu-size.exp
7447 * gdb.dwarf2/dw2-dup-frame.exp
7448 * gdb.dwarf2/dw2-entry-value.exp
7449 * gdb.dwarf2/dw2-icycle.exp
7450 * gdb.dwarf2/dw2-ifort-parameter.exp
7451 * gdb.dwarf2/dw2-inline-break.exp
7452 * gdb.dwarf2/dw2-inline-param.exp
7453 * gdb.dwarf2/dw2-intercu.exp
7454 * gdb.dwarf2/dw2-intermix.exp
7455 * gdb.dwarf2/dw2-lexical-block-bare.exp
7456 * gdb.dwarf2/dw2-linkage-name-trust.exp
7457 * gdb.dwarf2/dw2-minsym-in-cu.exp
7458 * gdb.dwarf2/dw2-noloc.exp
7459 * gdb.dwarf2/dw2-op-call.exp
7460 * gdb.dwarf2/dw2-op-out-param.exp
7461 * gdb.dwarf2/dw2-opt-structptr.exp
7462 * gdb.dwarf2/dw2-param-error.exp
7463 * gdb.dwarf2/dw2-producer.exp
7464 * gdb.dwarf2/dw2-ranges-base.exp
7465 * gdb.dwarf2/dw2-ref-missing-frame.exp
7466 * gdb.dwarf2/dw2-reg-undefined.exp
7467 * gdb.dwarf2/dw2-regno-invalid.exp
7468 * gdb.dwarf2/dw2-restore.exp
7469 * gdb.dwarf2/dw2-restrict.exp
7470 * gdb.dwarf2/dw2-single-line-discriminators.exp
7471 * gdb.dwarf2/dw2-strp.exp
7472 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7473 * gdb.dwarf2/dw2-unresolved.exp
7474 * gdb.dwarf2/dw2-var-zero-addr.exp
7475 * gdb.dwarf2/dw4-sig-types.exp
7476 * gdb.dwarf2/dwz.exp
7477 * gdb.dwarf2/dynarr-ptr.exp
7478 * gdb.dwarf2/enum-type.exp
7479 * gdb.dwarf2/gdb-index.exp
7480 * gdb.dwarf2/implptr-64bit.exp
7481 * gdb.dwarf2/implptr-optimized-out.exp
7482 * gdb.dwarf2/implptr.exp
7483 * gdb.dwarf2/implref-array.exp
7484 * gdb.dwarf2/implref-const.exp
7485 * gdb.dwarf2/implref-global.exp
7486 * gdb.dwarf2/implref-struct.exp
7487 * gdb.dwarf2/mac-fileno.exp
7488 * gdb.dwarf2/main-subprogram.exp
7489 * gdb.dwarf2/member-ptr-forwardref.exp
7490 * gdb.dwarf2/method-ptr.exp
7491 * gdb.dwarf2/missing-sig-type.exp
7492 * gdb.dwarf2/nonvar-access.exp
7493 * gdb.dwarf2/opaque-type-lookup.exp
7494 * gdb.dwarf2/pieces-optimized-out.exp
7495 * gdb.dwarf2/pieces.exp
7496 * gdb.dwarf2/pr10770.exp
7497 * gdb.dwarf2/pr13961.exp
7498 * gdb.dwarf2/staticvirtual.exp
7499 * gdb.dwarf2/subrange.exp
7500 * gdb.dwarf2/symtab-producer.exp
7501 * gdb.dwarf2/trace-crash.exp
7502 * gdb.dwarf2/typeddwarf.exp
7503 * gdb.dwarf2/valop.exp
7504 * gdb.dwarf2/watch-notconst.exp
7505 * gdb.fortran/array-element.exp
7506 * gdb.fortran/charset.exp
7507 * gdb.fortran/common-block.exp
7508 * gdb.fortran/complex.exp
7509 * gdb.fortran/derived-type-function.exp
7510 * gdb.fortran/derived-type.exp
7511 * gdb.fortran/logical.exp
7512 * gdb.fortran/module.exp
7513 * gdb.fortran/multi-dim.exp
7514 * gdb.fortran/nested-funcs.exp
7515 * gdb.fortran/print-formatted.exp
7516 * gdb.fortran/subarray.exp
7517 * gdb.fortran/vla-alloc-assoc.exp
7518 * gdb.fortran/vla-datatypes.exp
7519 * gdb.fortran/vla-history.exp
7520 * gdb.fortran/vla-ptr-info.exp
7521 * gdb.fortran/vla-ptype-sub.exp
7522 * gdb.fortran/vla-ptype.exp
7523 * gdb.fortran/vla-sizeof.exp
7524 * gdb.fortran/vla-type.exp
7525 * gdb.fortran/vla-value-sub-arbitrary.exp
7526 * gdb.fortran/vla-value-sub-finish.exp
7527 * gdb.fortran/vla-value-sub.exp
7528 * gdb.fortran/vla-value.exp
7529 * gdb.fortran/whatis_type.exp
7531 * gdb.go/handcall.exp
7533 * gdb.go/integers.exp
7534 * gdb.go/methods.exp
7535 * gdb.go/package.exp
7536 * gdb.go/strings.exp
7539 * gdb.guile/scm-arch.exp
7540 * gdb.guile/scm-block.exp
7541 * gdb.guile/scm-breakpoint.exp
7542 * gdb.guile/scm-cmd.exp
7543 * gdb.guile/scm-disasm.exp
7544 * gdb.guile/scm-equal.exp
7545 * gdb.guile/scm-frame-args.exp
7546 * gdb.guile/scm-frame-inline.exp
7547 * gdb.guile/scm-frame.exp
7548 * gdb.guile/scm-iterator.exp
7549 * gdb.guile/scm-math.exp
7550 * gdb.guile/scm-objfile.exp
7551 * gdb.guile/scm-ports.exp
7552 * gdb.guile/scm-symbol.exp
7553 * gdb.guile/scm-symtab.exp
7554 * gdb.guile/scm-value-cc.exp
7555 * gdb.guile/types-module.exp
7556 * gdb.linespec/break-ask.exp
7557 * gdb.linespec/cpexplicit.exp
7558 * gdb.linespec/explicit.exp
7559 * gdb.linespec/keywords.exp
7560 * gdb.linespec/linespec.exp
7561 * gdb.linespec/ls-dollar.exp
7562 * gdb.linespec/ls-errs.exp
7563 * gdb.linespec/skip-two.exp
7564 * gdb.linespec/thread.exp
7565 * gdb.mi/mi-async.exp
7566 * gdb.mi/mi-basics.exp
7567 * gdb.mi/mi-break.exp
7568 * gdb.mi/mi-catch-load.exp
7570 * gdb.mi/mi-cmd-param-changed.exp
7571 * gdb.mi/mi-console.exp
7572 * gdb.mi/mi-detach.exp
7573 * gdb.mi/mi-disassemble.exp
7574 * gdb.mi/mi-eval.exp
7575 * gdb.mi/mi-file-transfer.exp
7576 * gdb.mi/mi-file.exp
7577 * gdb.mi/mi-fill-memory.exp
7578 * gdb.mi/mi-inheritance-syntax-error.exp
7579 * gdb.mi/mi-linespec-err-cp.exp
7580 * gdb.mi/mi-logging.exp
7581 * gdb.mi/mi-memory-changed.exp
7582 * gdb.mi/mi-read-memory.exp
7583 * gdb.mi/mi-record-changed.exp
7584 * gdb.mi/mi-reg-undefined.exp
7585 * gdb.mi/mi-regs.exp
7586 * gdb.mi/mi-return.exp
7587 * gdb.mi/mi-reverse.exp
7588 * gdb.mi/mi-simplerun.exp
7589 * gdb.mi/mi-solib.exp
7590 * gdb.mi/mi-stack.exp
7591 * gdb.mi/mi-stepi.exp
7592 * gdb.mi/mi-syn-frame.exp
7593 * gdb.mi/mi-until.exp
7594 * gdb.mi/mi-var-block.exp
7595 * gdb.mi/mi-var-child.exp
7596 * gdb.mi/mi-var-cmd.exp
7597 * gdb.mi/mi-var-cp.exp
7598 * gdb.mi/mi-var-display.exp
7599 * gdb.mi/mi-var-invalidate.exp
7600 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7601 * gdb.mi/mi-vla-fortran.exp
7602 * gdb.mi/mi-watch.exp
7603 * gdb.mi/mi2-var-child.exp
7604 * gdb.mi/user-selected-context-sync.exp
7605 * gdb.modula2/unbounded-array.exp
7606 * gdb.multi/dummy-frame-restore.exp
7607 * gdb.multi/multi-arch-exec.exp
7608 * gdb.multi/multi-arch.exp
7609 * gdb.multi/tids.exp
7610 * gdb.multi/watchpoint-multi.exp
7611 * gdb.opencl/callfuncs.exp
7612 * gdb.opencl/convs_casts.exp
7613 * gdb.opencl/datatypes.exp
7614 * gdb.opencl/operators.exp
7615 * gdb.opencl/vec_comps.exp
7616 * gdb.opt/clobbered-registers-O2.exp
7617 * gdb.opt/inline-break.exp
7618 * gdb.opt/inline-bt.exp
7619 * gdb.opt/inline-cmds.exp
7620 * gdb.opt/inline-locals.exp
7621 * gdb.pascal/case-insensitive-symbols.exp
7622 * gdb.pascal/floats.exp
7623 * gdb.pascal/gdb11492.exp
7624 * gdb.python/lib-types.exp
7625 * gdb.python/py-arch.exp
7626 * gdb.python/py-as-string.exp
7627 * gdb.python/py-bad-printers.exp
7628 * gdb.python/py-block.exp
7629 * gdb.python/py-breakpoint-create-fail.exp
7630 * gdb.python/py-breakpoint.exp
7631 * gdb.python/py-caller-is.exp
7632 * gdb.python/py-cmd.exp
7633 * gdb.python/py-explore-cc.exp
7634 * gdb.python/py-explore.exp
7635 * gdb.python/py-finish-breakpoint.exp
7636 * gdb.python/py-finish-breakpoint2.exp
7637 * gdb.python/py-frame-args.exp
7638 * gdb.python/py-frame-inline.exp
7639 * gdb.python/py-frame.exp
7640 * gdb.python/py-framefilter-mi.exp
7641 * gdb.python/py-infthread.exp
7642 * gdb.python/py-lazy-string.exp
7643 * gdb.python/py-linetable.exp
7644 * gdb.python/py-mi-events.exp
7645 * gdb.python/py-mi-objfile.exp
7646 * gdb.python/py-mi.exp
7647 * gdb.python/py-objfile.exp
7648 * gdb.python/py-pp-integral.exp
7649 * gdb.python/py-pp-maint.exp
7650 * gdb.python/py-pp-re-notag.exp
7651 * gdb.python/py-pp-registration.exp
7652 * gdb.python/py-recurse-unwind.exp
7653 * gdb.python/py-strfns.exp
7654 * gdb.python/py-symbol.exp
7655 * gdb.python/py-symtab.exp
7656 * gdb.python/py-sync-interp.exp
7657 * gdb.python/py-typeprint.exp
7658 * gdb.python/py-unwind-maint.exp
7659 * gdb.python/py-unwind.exp
7660 * gdb.python/py-value-cc.exp
7661 * gdb.python/py-xmethods.exp
7662 * gdb.reverse/amd64-tailcall-reverse.exp
7663 * gdb.reverse/break-precsave.exp
7664 * gdb.reverse/break-reverse.exp
7665 * gdb.reverse/consecutive-precsave.exp
7666 * gdb.reverse/consecutive-reverse.exp
7667 * gdb.reverse/finish-precsave.exp
7668 * gdb.reverse/finish-reverse-bkpt.exp
7669 * gdb.reverse/finish-reverse.exp
7670 * gdb.reverse/fstatat-reverse.exp
7671 * gdb.reverse/getresuid-reverse.exp
7672 * gdb.reverse/i386-precsave.exp
7673 * gdb.reverse/i386-reverse.exp
7674 * gdb.reverse/i386-sse-reverse.exp
7675 * gdb.reverse/i387-env-reverse.exp
7676 * gdb.reverse/i387-stack-reverse.exp
7677 * gdb.reverse/insn-reverse.exp
7678 * gdb.reverse/machinestate-precsave.exp
7679 * gdb.reverse/machinestate.exp
7680 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7681 * gdb.reverse/pipe-reverse.exp
7682 * gdb.reverse/readv-reverse.exp
7683 * gdb.reverse/recvmsg-reverse.exp
7684 * gdb.reverse/rerun-prec.exp
7685 * gdb.reverse/s390-mvcle.exp
7686 * gdb.reverse/step-precsave.exp
7687 * gdb.reverse/step-reverse.exp
7688 * gdb.reverse/time-reverse.exp
7689 * gdb.reverse/until-precsave.exp
7690 * gdb.reverse/until-reverse.exp
7691 * gdb.reverse/waitpid-reverse.exp
7692 * gdb.reverse/watch-precsave.exp
7693 * gdb.reverse/watch-reverse.exp
7694 * gdb.rust/generics.exp
7695 * gdb.rust/methods.exp
7696 * gdb.rust/modules.exp
7697 * gdb.rust/simple.exp
7698 * gdb.server/connect-with-no-symbol-file.exp
7699 * gdb.server/ext-attach.exp
7700 * gdb.server/ext-restart.exp
7701 * gdb.server/ext-wrapper.exp
7702 * gdb.server/file-transfer.exp
7703 * gdb.server/server-exec-info.exp
7704 * gdb.server/server-kill.exp
7705 * gdb.server/server-mon.exp
7706 * gdb.server/wrapper.exp
7707 * gdb.stabs/exclfwd.exp
7708 * gdb.stabs/gdb11479.exp
7709 * gdb.threads/clone-new-thread-event.exp
7710 * gdb.threads/corethreads.exp
7711 * gdb.threads/current-lwp-dead.exp
7712 * gdb.threads/dlopen-libpthread.exp
7713 * gdb.threads/gcore-thread.exp
7714 * gdb.threads/sigstep-threads.exp
7715 * gdb.threads/watchpoint-fork.exp
7716 * gdb.trace/actions-changed.exp
7717 * gdb.trace/backtrace.exp
7718 * gdb.trace/change-loc.exp
7719 * gdb.trace/circ.exp
7720 * gdb.trace/collection.exp
7721 * gdb.trace/disconnected-tracing.exp
7722 * gdb.trace/ftrace.exp
7723 * gdb.trace/mi-trace-frame-collected.exp
7724 * gdb.trace/mi-trace-unavailable.exp
7725 * gdb.trace/mi-traceframe-changed.exp
7726 * gdb.trace/mi-tsv-changed.exp
7727 * gdb.trace/no-attach-trace.exp
7728 * gdb.trace/passc-dyn.exp
7729 * gdb.trace/qtro.exp
7730 * gdb.trace/range-stepping.exp
7731 * gdb.trace/read-memory.exp
7732 * gdb.trace/save-trace.exp
7733 * gdb.trace/signal.exp
7734 * gdb.trace/status-stop.exp
7735 * gdb.trace/tfile.exp
7736 * gdb.trace/trace-break.exp
7737 * gdb.trace/trace-buffer-size.exp
7738 * gdb.trace/trace-condition.exp
7739 * gdb.trace/tracefile-pseudo-reg.exp
7740 * gdb.trace/tstatus.exp
7741 * gdb.trace/unavailable.exp
7742 * gdb.trace/while-dyn.exp
7743 * gdb.trace/while-stepping.exp
7745 2016-12-22 Doug Evans <xdje42@gmail.com>
7747 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7750 2016-12-19 Yao Qi <yao.qi@linaro.org>
7752 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7753 (test_with_self): Don't call do_steps_and_nexts, and remove
7754 code about stepping into xmalloc.
7756 2016-12-09 Yao Qi <yao.qi@linaro.org>
7758 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7760 2016-12-09 Yao Qi <yao.qi@linaro.org>
7762 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7764 2016-12-09 Pedro Alves <palves@redhat.com>
7766 * gdb.base/all-architectures-0.exp: New file.
7767 * gdb.base/all-architectures-1.exp: New file.
7768 * gdb.base/all-architectures-2.exp: New file.
7769 * gdb.base/all-architectures-3.exp: New file.
7770 * gdb.base/all-architectures-4.exp: New file.
7771 * gdb.base/all-architectures-5.exp: New file.
7772 * gdb.base/all-architectures-6.exp: New file.
7773 * gdb.base/all-architectures-7.exp: New file.
7774 * gdb.base/all-architectures.exp.in: New file.
7776 2016-12-09 Yao Qi <yao.qi@linaro.org>
7778 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7780 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7782 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7784 Remove useless pattern-matching code.
7786 2016-12-02 Pedro Alves <palves@redhat.com>
7788 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7790 (top level): Call it.
7792 2016-12-02 Pedro Alves <palves@redhat.com>
7794 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7796 (top level): Call it.
7798 2016-12-02 Pedro Alves <palves@redhat.com>
7801 * gdb.base/commands.exp (user_defined_command_args_eval): New
7803 (top level): Call it.
7805 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7807 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7810 2016-12-02 Tom Tromey <tom@tromey.com>
7812 * gdb.dwarf2/main-subprogram.c: New file.
7813 * gdb.dwarf2/main-subprogram.exp: New file.
7815 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7817 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7818 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7819 gdb_test_no_output for a couple of cases.
7820 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7822 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7824 Fix test names and standardize compilation error messages throughout
7825 the following files:
7828 * gdb.arch/alpha-step.exp
7829 * gdb.arch/e500-prologue.exp
7830 * gdb.arch/ftrace-insn-reloc.exp
7831 * gdb.arch/gdb1291.exp
7832 * gdb.arch/gdb1431.exp
7833 * gdb.arch/gdb1558.exp
7834 * gdb.arch/i386-dr3-watch.exp
7835 * gdb.arch/i386-sse-stack-align.exp
7836 * gdb.arch/ia64-breakpoint-shadow.exp
7837 * gdb.arch/pa-nullify.exp
7838 * gdb.arch/powerpc-aix-prologue.exp
7839 * gdb.arch/thumb-bx-pc.exp
7840 * gdb.base/annota1.exp
7841 * gdb.base/annota3.exp
7842 * gdb.base/arrayidx.exp
7843 * gdb.base/assign.exp
7844 * gdb.base/attach.exp
7847 * gdb.base/bfp-test.exp
7848 * gdb.base/bigcore.exp
7849 * gdb.base/bitfields2.exp
7850 * gdb.base/break-fun-addr.exp
7851 * gdb.base/break-probes.exp
7852 * gdb.base/call-rt-st.exp
7853 * gdb.base/callexit.exp
7854 * gdb.base/catch-fork-kill.exp
7855 * gdb.base/charset.exp
7856 * gdb.base/checkpoint.exp
7857 * gdb.base/comprdebug.exp
7858 * gdb.base/constvars.exp
7859 * gdb.base/coredump-filter.exp
7860 * gdb.base/cursal.exp
7861 * gdb.base/cvexpr.exp
7862 * gdb.base/detach.exp
7863 * gdb.base/display.exp
7864 * gdb.base/dmsym.exp
7865 * gdb.base/dprintf-pending.exp
7866 * gdb.base/dso2dso.exp
7867 * gdb.base/dtrace-probe.exp
7869 * gdb.base/enum_cond.exp
7870 * gdb.base/exe-lock.exp
7871 * gdb.base/exec-invalid-sysroot.exp
7872 * gdb.base/execl-update-breakpoints.exp
7873 * gdb.base/exprs.exp
7874 * gdb.base/fileio.exp
7876 * gdb.base/finish.exp
7877 * gdb.base/fixsection.exp
7878 * gdb.base/foll-vfork.exp
7879 * gdb.base/frame-args.exp
7880 * gdb.base/gcore.exp
7881 * gdb.base/gdb1250.exp
7882 * gdb.base/global-var-nested-by-dso.exp
7883 * gdb.base/gnu-ifunc.exp
7884 * gdb.base/hashline1.exp
7885 * gdb.base/hashline2.exp
7886 * gdb.base/hashline3.exp
7887 * gdb.base/hbreak-in-shr-unsupported.exp
7889 * gdb.base/infcall-input.exp
7890 * gdb.base/info-fun.exp
7891 * gdb.base/info-shared.exp
7892 * gdb.base/jit-simple.exp
7893 * gdb.base/jit-so.exp
7896 * gdb.base/label.exp
7897 * gdb.base/lineinc.exp
7898 * gdb.base/logical.exp
7899 * gdb.base/longjmp.exp
7900 * gdb.base/macscp.exp
7901 * gdb.base/miscexprs.exp
7902 * gdb.base/new-ui-echo.exp
7903 * gdb.base/new-ui-pending-input.exp
7904 * gdb.base/new-ui.exp
7905 * gdb.base/nodebug.exp
7906 * gdb.base/nofield.exp
7907 * gdb.base/offsets.exp
7908 * gdb.base/overlays.exp
7909 * gdb.base/pending.exp
7910 * gdb.base/pointers.exp
7911 * gdb.base/pr11022.exp
7912 * gdb.base/printcmds.exp
7913 * gdb.base/prologue.exp
7914 * gdb.base/ptr-typedef.exp
7915 * gdb.base/realname-expand.exp
7916 * gdb.base/relativedebug.exp
7917 * gdb.base/relocate.exp
7918 * gdb.base/remote.exp
7919 * gdb.base/reread.exp
7920 * gdb.base/return2.exp
7921 * gdb.base/savedregs.exp
7923 * gdb.base/sepdebug.exp
7924 * gdb.base/sepsymtab.exp
7925 * gdb.base/set-inferior-tty.exp
7926 * gdb.base/setshow.exp
7927 * gdb.base/shlib-call.exp
7928 * gdb.base/sigaltstack.exp
7929 * gdb.base/siginfo-addr.exp
7930 * gdb.base/signals.exp
7931 * gdb.base/signull.exp
7932 * gdb.base/sigrepeat.exp
7933 * gdb.base/so-impl-ld.exp
7934 * gdb.base/solib-display.exp
7935 * gdb.base/solib-overlap.exp
7936 * gdb.base/solib-search.exp
7937 * gdb.base/solib-symbol.exp
7938 * gdb.base/structs.exp
7939 * gdb.base/structs2.exp
7940 * gdb.base/symtab-search-order.exp
7941 * gdb.base/twice.exp
7942 * gdb.base/unload.exp
7943 * gdb.base/varargs.exp
7944 * gdb.base/watchpoint-solib.exp
7945 * gdb.base/watchpoint.exp
7946 * gdb.base/whatis.exp
7947 * gdb.base/wrong_frame_bt_full.exp
7948 * gdb.btrace/dlopen.exp
7949 * gdb.cell/ea-standalone.exp
7950 * gdb.cell/ea-test.exp
7951 * gdb.cp/dispcxx.exp
7952 * gdb.cp/gdb2384.exp
7953 * gdb.cp/method2.exp
7954 * gdb.cp/nextoverthrow.exp
7955 * gdb.cp/pr10728.exp
7956 * gdb.disasm/am33.exp
7957 * gdb.disasm/h8300s.exp
7958 * gdb.disasm/mn10300.exp
7959 * gdb.disasm/sh3.exp
7960 * gdb.dwarf2/dw2-dir-file-name.exp
7961 * gdb.fortran/complex.exp
7962 * gdb.fortran/library-module.exp
7963 * gdb.guile/scm-pretty-print.exp
7964 * gdb.guile/scm-symbol.exp
7965 * gdb.guile/scm-type.exp
7966 * gdb.guile/scm-value.exp
7967 * gdb.linespec/linespec.exp
7970 * gdb.mi/mi-breakpoint-changed.exp
7971 * gdb.mi/mi-dprintf-pending.exp
7972 * gdb.mi/mi-dprintf.exp
7973 * gdb.mi/mi-exit-code.exp
7974 * gdb.mi/mi-pending.exp
7975 * gdb.mi/mi-solib.exp
7976 * gdb.mi/new-ui-mi-sync.exp
7977 * gdb.mi/pr11022.exp
7978 * gdb.mi/user-selected-context-sync.exp
7979 * gdb.opt/solib-intra-step.exp
7980 * gdb.python/py-events.exp
7981 * gdb.python/py-finish-breakpoint.exp
7982 * gdb.python/py-mi.exp
7983 * gdb.python/py-prettyprint.exp
7984 * gdb.python/py-shared.exp
7985 * gdb.python/py-symbol.exp
7986 * gdb.python/py-template.exp
7987 * gdb.python/py-type.exp
7988 * gdb.python/py-value.exp
7989 * gdb.reverse/solib-precsave.exp
7990 * gdb.reverse/solib-reverse.exp
7991 * gdb.server/solib-list.exp
7992 * gdb.stabs/weird.exp
7993 * gdb.threads/reconnect-signal.exp
7994 * gdb.threads/stepi-random-signal.exp
7995 * gdb.trace/actions.exp
7997 * gdb.trace/backtrace.exp
7998 * gdb.trace/change-loc.exp
7999 * gdb.trace/deltrace.exp
8000 * gdb.trace/ftrace-lock.exp
8001 * gdb.trace/ftrace.exp
8002 * gdb.trace/infotrace.exp
8003 * gdb.trace/mi-tracepoint-changed.exp
8004 * gdb.trace/packetlen.exp
8005 * gdb.trace/passcount.exp
8006 * gdb.trace/pending.exp
8007 * gdb.trace/range-stepping.exp
8008 * gdb.trace/report.exp
8009 * gdb.trace/stap-trace.exp
8010 * gdb.trace/tfind.exp
8011 * gdb.trace/trace-break.exp
8012 * gdb.trace/trace-condition.exp
8013 * gdb.trace/trace-enable-disable.exp
8014 * gdb.trace/trace-mt.exp
8015 * gdb.trace/tracecmd.exp
8016 * gdb.trace/tspeed.exp
8020 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8022 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8023 with gdb_test_no_output.
8024 Use command as test name.
8026 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8028 Fix test names starting with uppercase throughout the files.
8030 * gdb.ada/assign_1.exp
8031 * gdb.ada/boolean_expr.exp
8032 * gdb.base/arrayidx.exp
8034 * gdb.base/gcore-buffer-overflow.exp
8035 * gdb.base/testenv.exp
8036 * gdb.compile/compile.exp
8037 * gdb.python/py-framefilter-invalidarg.exp
8038 * gdb.python/py-framefilter.exp
8040 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8042 Fix test names starting with uppercase throughout the files.
8044 * gdb.ada/array_return.exp
8045 * gdb.ada/expr_delims.exp
8046 * gdb.ada/mi_dyn_arr.exp
8047 * gdb.ada/mi_interface.exp
8048 * gdb.ada/mi_var_array.exp
8049 * gdb.ada/watch_arg.exp
8050 * gdb.arch/alpha-step.exp
8051 * gdb.arch/altivec-regs.exp
8052 * gdb.arch/e500-regs.exp
8053 * gdb.arch/powerpc-d128-regs.exp
8054 * gdb.base/arrayidx.exp
8055 * gdb.base/break.exp
8056 * gdb.base/checkpoint.exp
8057 * gdb.base/debug-expr.exp
8058 * gdb.base/dmsym.exp
8059 * gdb.base/radix.exp
8060 * gdb.base/sepdebug.exp
8061 * gdb.base/testenv.exp
8062 * gdb.base/watch_thread_num.exp
8063 * gdb.base/watchpoint-cond-gone.exp
8064 * gdb.cell/break.exp
8065 * gdb.cell/ea-cache.exp
8066 * gdb.compile/compile.exp
8067 * gdb.cp/gdb2495.exp
8068 * gdb.gdb/selftest.exp
8069 * gdb.gdb/xfullpath.exp
8071 * gdb.go/integers.exp
8072 * gdb.objc/basicclass.exp
8073 * gdb.pascal/hello.exp
8074 * gdb.pascal/integers.exp
8075 * gdb.python/py-breakpoint.exp
8076 * gdb.python/py-cmd.exp
8077 * gdb.python/py-linetable.exp
8078 * gdb.python/py-xmethods.exp
8079 * gdb.python/python.exp
8080 * gdb.reverse/consecutive-precsave.exp
8081 * gdb.reverse/finish-precsave.exp
8082 * gdb.reverse/i386-precsave.exp
8083 * gdb.reverse/machinestate-precsave.exp
8084 * gdb.reverse/sigall-precsave.exp
8085 * gdb.reverse/solib-precsave.exp
8086 * gdb.reverse/step-precsave.exp
8087 * gdb.reverse/until-precsave.exp
8088 * gdb.reverse/watch-precsave.exp
8089 * gdb.threads/leader-exit.exp
8090 * gdb.threads/pthreads.exp
8091 * gdb.threads/wp-replication.exp
8092 * gdb.trace/actions.exp
8093 * gdb.trace/mi-tsv-changed.exp
8096 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8098 Fix test names starting with uppercase throughout the files.
8100 * gdb.arch/i386-bp_permanent.exp
8101 * gdb.arch/i386-gnu-cfi.exp
8102 * gdb.base/disasm-end-cu.exp
8103 * gdb.base/macscp.exp
8104 * gdb.base/pending.exp
8105 * gdb.base/watch_thread_num.exp
8106 * gdb.cp/exception.exp
8107 * gdb.cp/gdb2495.exp
8109 * gdb.python/py-evsignal.exp
8110 * gdb.python/python.exp
8111 * gdb.trace/tracecmd.exp
8113 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8115 Fix test names starting with uppercase throughout the files.
8117 * gdb.base/charset.exp
8119 * gdb.base/multi-forks.exp
8120 * gdb.guile/scm-progspace.exp
8121 * gdb.opencl/datatypes.exp
8122 * gdb.python/py-block.exp
8123 * gdb.python/py-function.exp
8124 * gdb.python/py-symbol.exp
8125 * gdb.python/py-symtab.exp
8126 * gdb.python/py-xmethods.exp
8127 * gdb.reverse/break-precsave.exp
8128 * gdb.reverse/break-reverse.exp
8129 * gdb.reverse/consecutive-precsave.exp
8130 * gdb.reverse/consecutive-reverse.exp
8131 * gdb.reverse/finish-precsave.exp
8132 * gdb.reverse/finish-reverse-bkpt.exp
8133 * gdb.reverse/finish-reverse.exp
8134 * gdb.reverse/fstatat-reverse.exp
8135 * gdb.reverse/getresuid-reverse.exp
8136 * gdb.reverse/i386-precsave.exp
8137 * gdb.reverse/i386-reverse.exp
8138 * gdb.reverse/i386-sse-reverse.exp
8139 * gdb.reverse/i387-stack-reverse.exp
8140 * gdb.reverse/insn-reverse.exp
8141 * gdb.reverse/machinestate-precsave.exp
8142 * gdb.reverse/machinestate.exp
8143 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8144 * gdb.reverse/pipe-reverse.exp
8145 * gdb.reverse/readv-reverse.exp
8146 * gdb.reverse/recvmsg-reverse.exp
8147 * gdb.reverse/rerun-prec.exp
8148 * gdb.reverse/s390-mvcle.exp
8149 * gdb.reverse/sigall-precsave.exp
8150 * gdb.reverse/sigall-reverse.exp
8151 * gdb.reverse/solib-precsave.exp
8152 * gdb.reverse/solib-reverse.exp
8153 * gdb.reverse/step-precsave.exp
8154 * gdb.reverse/step-reverse.exp
8155 * gdb.reverse/time-reverse.exp
8156 * gdb.reverse/until-precsave.exp
8157 * gdb.reverse/until-reverse.exp
8158 * gdb.reverse/waitpid-reverse.exp
8159 * gdb.reverse/watch-precsave.exp
8160 * gdb.reverse/watch-reverse.exp
8162 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8164 Fix test names starting with uppercase throughout the files.
8166 * gdb.arch/i386-mpx-simple_segv.exp
8167 * gdb.arch/i386-mpx.exp
8168 * gdb.arch/i386-permbkpt.exp
8169 * gdb.arch/pa-nullify.exp
8170 * gdb.arch/powerpc-d128-regs.exp
8171 * gdb.arch/vsx-regs.exp
8172 * gdb.base/bfp-test.exp
8173 * gdb.base/break.exp
8174 * gdb.base/breakpoint-shadow.exp
8175 * gdb.base/callfuncs.exp
8176 * gdb.base/charset.exp
8177 * gdb.base/commands.exp
8178 * gdb.base/completion.exp
8179 * gdb.base/dfp-test.exp
8181 * gdb.base/ending-run.exp
8183 * gdb.base/expand-psymtabs.exp
8184 * gdb.base/float128.exp
8185 * gdb.base/floatn.exp
8186 * gdb.base/foll-exec-mode.exp
8187 * gdb.base/gdb1056.exp
8188 * gdb.base/gdb11531.exp
8189 * gdb.base/kill-after-signal.exp
8190 * gdb.base/multi-forks.exp
8191 * gdb.base/overlays.exp
8192 * gdb.base/pending.exp
8193 * gdb.base/sepdebug.exp
8194 * gdb.base/testenv.exp
8195 * gdb.base/valgrind-db-attach.exp
8196 * gdb.base/watch_thread_num.exp
8197 * gdb.base/watchpoint-cond-gone.exp
8198 * gdb.base/watchpoint.exp
8199 * gdb.base/watchpoints.exp
8200 * gdb.cp/arg-reference.exp
8201 * gdb.cp/baseenum.exp
8202 * gdb.cp/operator.exp
8204 * gdb.dwarf2/dw2-op-out-param.exp
8205 * gdb.dwarf2/dw2-reg-undefined.exp
8208 * gdb.go/integers.exp
8209 * gdb.go/methods.exp
8210 * gdb.go/package.exp
8211 * gdb.guile/scm-parameter.exp
8212 * gdb.guile/scm-progspace.exp
8213 * gdb.guile/scm-value.exp
8214 * gdb.mi/mi-pending.exp
8215 * gdb.mi/user-selected-context-sync.exp
8216 * gdb.multi/multi-attach.exp
8217 * gdb.multi/tids.exp
8218 * gdb.opt/clobbered-registers-O2.exp
8219 * gdb.pascal/floats.exp
8220 * gdb.pascal/integers.exp
8221 * gdb.python/py-block.exp
8222 * gdb.python/py-events.exp
8223 * gdb.python/py-parameter.exp
8224 * gdb.python/py-symbol.exp
8225 * gdb.python/py-symtab.exp
8226 * gdb.python/py-type.exp
8227 * gdb.python/py-value.exp
8228 * gdb.python/py-xmethods.exp
8229 * gdb.python/python.exp
8230 * gdb.reverse/break-precsave.exp
8231 * gdb.reverse/consecutive-precsave.exp
8232 * gdb.reverse/finish-precsave.exp
8233 * gdb.reverse/i386-precsave.exp
8234 * gdb.reverse/machinestate-precsave.exp
8235 * gdb.reverse/sigall-precsave.exp
8236 * gdb.reverse/solib-precsave.exp
8237 * gdb.reverse/step-precsave.exp
8238 * gdb.reverse/until-precsave.exp
8239 * gdb.reverse/watch-precsave.exp
8240 * gdb.server/ext-attach.exp
8241 * gdb.server/ext-restart.exp
8242 * gdb.server/ext-run.exp
8243 * gdb.server/ext-wrapper.exp
8244 * gdb.stabs/gdb11479.exp
8245 * gdb.stabs/weird.exp
8246 * gdb.threads/attach-many-short-lived-threads.exp
8247 * gdb.threads/kill.exp
8248 * gdb.threads/watchpoint-fork.exp
8250 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8252 Fix test names starting with uppercase throughout all the files below.
8254 * gdb.ada/array_return.exp
8255 * gdb.ada/catch_ex.exp
8256 * gdb.ada/info_exc.exp
8257 * gdb.ada/mi_catch_ex.exp
8258 * gdb.ada/mi_dyn_arr.exp
8259 * gdb.ada/mi_ex_cond.exp
8260 * gdb.ada/mi_exc_info.exp
8261 * gdb.ada/mi_interface.exp
8262 * gdb.ada/mi_task_arg.exp
8263 * gdb.ada/mi_task_info.exp
8264 * gdb.ada/mi_var_array.exp
8265 * gdb.arch/alpha-step.exp
8266 * gdb.arch/amd64-disp-step.exp
8267 * gdb.arch/arm-disp-step.exp
8268 * gdb.arch/disp-step-insn-reloc.exp
8269 * gdb.arch/e500-prologue.exp
8270 * gdb.arch/ftrace-insn-reloc.exp
8271 * gdb.arch/gdb1558.exp
8272 * gdb.arch/i386-bp_permanent.exp
8273 * gdb.arch/i386-disp-step.exp
8274 * gdb.arch/i386-float.exp
8275 * gdb.arch/i386-gnu-cfi.exp
8276 * gdb.arch/ia64-breakpoint-shadow.exp
8277 * gdb.arch/mips16-thunks.exp
8278 * gdb.arch/pa-nullify.exp
8279 * gdb.arch/powerpc-aix-prologue.exp
8280 * gdb.arch/powerpc-power.exp
8281 * gdb.arch/ppc-dfp.exp
8282 * gdb.arch/s390-tdbregs.exp
8283 * gdb.arch/spu-info.exp
8284 * gdb.arch/spu-ls.exp
8285 * gdb.arch/thumb-bx-pc.exp
8286 * gdb.base/advance.exp
8287 * gdb.base/annota-input-while-running.exp
8288 * gdb.base/arrayidx.exp
8289 * gdb.base/asmlabel.exp
8290 * gdb.base/async.exp
8291 * gdb.base/attach-wait-input.exp
8292 * gdb.base/auto-connect-native-target.exp
8293 * gdb.base/batch-preserve-term-settings.exp
8294 * gdb.base/bfp-test.exp
8295 * gdb.base/bigcore.exp
8296 * gdb.base/bp-permanent.exp
8297 * gdb.base/break-always.exp
8298 * gdb.base/break-fun-addr.exp
8299 * gdb.base/break-idempotent.exp
8300 * gdb.base/break-main-file-remove-fail.exp
8301 * gdb.base/break-probes.exp
8302 * gdb.base/break-unload-file.exp
8303 * gdb.base/break.exp
8304 * gdb.base/call-ar-st.exp
8305 * gdb.base/call-rt-st.exp
8306 * gdb.base/call-sc.exp
8307 * gdb.base/call-signal-resume.exp
8308 * gdb.base/call-strs.exp
8309 * gdb.base/callexit.exp
8310 * gdb.base/callfuncs.exp
8311 * gdb.base/catch-gdb-caused-signals.exp
8312 * gdb.base/catch-signal-siginfo-cond.exp
8313 * gdb.base/catch-syscall.exp
8314 * gdb.base/compare-sections.exp
8315 * gdb.base/cond-eval-mode.exp
8316 * gdb.base/condbreak-call-false.exp
8317 * gdb.base/consecutive-step-over.exp
8318 * gdb.base/cursal.exp
8319 * gdb.base/disabled-location.exp
8320 * gdb.base/disasm-end-cu.exp
8321 * gdb.base/display.exp
8322 * gdb.base/double-prompt-target-event-error.exp
8323 * gdb.base/dprintf-bp-same-addr.exp
8324 * gdb.base/dprintf-detach.exp
8325 * gdb.base/dprintf-next.exp
8326 * gdb.base/dprintf-non-stop.exp
8327 * gdb.base/dprintf-pending.exp
8328 * gdb.base/dso2dso.exp
8329 * gdb.base/ending-run.exp
8330 * gdb.base/enum_cond.exp
8331 * gdb.base/examine-backward.exp
8332 * gdb.base/exe-lock.exp
8333 * gdb.base/exec-invalid-sysroot.exp
8334 * gdb.base/execl-update-breakpoints.exp
8335 * gdb.base/execution-termios.exp
8336 * gdb.base/fileio.exp
8337 * gdb.base/fixsection.exp
8338 * gdb.base/foll-exec-mode.exp
8339 * gdb.base/foll-exec.exp
8340 * gdb.base/fork-running-state.exp
8341 * gdb.base/frame-args.exp
8342 * gdb.base/fullpath-expand.exp
8343 * gdb.base/func-ptr.exp
8344 * gdb.base/gcore-relro-pie.exp
8345 * gdb.base/gdb1090.exp
8346 * gdb.base/gdb1555.exp
8347 * gdb.base/global-var-nested-by-dso.exp
8348 * gdb.base/gnu-ifunc.exp
8349 * gdb.base/hbreak-in-shr-unsupported.exp
8350 * gdb.base/hbreak-unmapped.exp
8351 * gdb.base/hook-stop.exp
8352 * gdb.base/infcall-input.exp
8353 * gdb.base/info-fun.exp
8354 * gdb.base/info-shared.exp
8355 * gdb.base/interrupt-noterm.exp
8356 * gdb.base/jit-so.exp
8358 * gdb.base/line-symtabs.exp
8360 * gdb.base/longjmp.exp
8361 * gdb.base/macscp.exp
8362 * gdb.base/max-value-size.exp
8363 * gdb.base/nodebug.exp
8364 * gdb.base/nofield.exp
8365 * gdb.base/overlays.exp
8366 * gdb.base/paginate-after-ctrl-c-running.exp
8367 * gdb.base/paginate-bg-execution.exp
8368 * gdb.base/paginate-inferior-exit.exp
8369 * gdb.base/pending.exp
8370 * gdb.base/pr11022.exp
8371 * gdb.base/printcmds.exp
8372 * gdb.base/ptr-typedef.exp
8373 * gdb.base/ptype.exp
8374 * gdb.base/randomize.exp
8375 * gdb.base/range-stepping.exp
8376 * gdb.base/realname-expand.exp
8377 * gdb.base/relativedebug.exp
8378 * gdb.base/remote.exp
8379 * gdb.base/savedregs.exp
8380 * gdb.base/sepdebug.exp
8381 * gdb.base/set-noassign.exp
8382 * gdb.base/shlib-call.exp
8383 * gdb.base/shreloc.exp
8384 * gdb.base/sigaltstack.exp
8385 * gdb.base/sigbpt.exp
8386 * gdb.base/siginfo-addr.exp
8387 * gdb.base/siginfo-obj.exp
8388 * gdb.base/siginfo-thread.exp
8389 * gdb.base/signest.exp
8390 * gdb.base/signull.exp
8391 * gdb.base/sigrepeat.exp
8393 * gdb.base/so-impl-ld.exp
8394 * gdb.base/solib-corrupted.exp
8395 * gdb.base/solib-disc.exp
8396 * gdb.base/solib-display.exp
8397 * gdb.base/solib-overlap.exp
8398 * gdb.base/solib-search.exp
8399 * gdb.base/solib-symbol.exp
8400 * gdb.base/source-execution.exp
8401 * gdb.base/sss-bp-on-user-bp-2.exp
8402 * gdb.base/sss-bp-on-user-bp.exp
8403 * gdb.base/stack-checking.exp
8404 * gdb.base/stale-infcall.exp
8405 * gdb.base/step-break.exp
8406 * gdb.base/step-line.exp
8407 * gdb.base/step-over-exit.exp
8408 * gdb.base/step-test.exp
8409 * gdb.base/structs.exp
8410 * gdb.base/sym-file.exp
8411 * gdb.base/symtab-search-order.exp
8413 * gdb.base/type-opaque.exp
8414 * gdb.base/unload.exp
8415 * gdb.base/until-nodebug.exp
8416 * gdb.base/until.exp
8417 * gdb.base/unwindonsignal.exp
8418 * gdb.base/watch-cond.exp
8419 * gdb.base/watch-non-mem.exp
8420 * gdb.base/watch_thread_num.exp
8421 * gdb.base/watchpoint-reuse-slot.exp
8422 * gdb.base/watchpoint-solib.exp
8423 * gdb.base/watchpoint.exp
8424 * gdb.btrace/dlopen.exp
8426 * gdb.cell/break.exp
8430 * gdb.cell/dwarfaddr.exp
8431 * gdb.cell/ea-cache.exp
8432 * gdb.cell/ea-standalone.exp
8433 * gdb.cell/ea-test.exp
8434 * gdb.cell/f-regs.exp
8436 * gdb.cell/gcore.exp
8437 * gdb.cell/mem-access.exp
8438 * gdb.cell/ptype.exp
8439 * gdb.cell/registers.exp
8440 * gdb.cell/sizeof.exp
8441 * gdb.cell/solib-symbol.exp
8442 * gdb.cell/solib.exp
8443 * gdb.compile/compile-tls.exp
8444 * gdb.cp/exception.exp
8445 * gdb.cp/gdb2495.exp
8447 * gdb.cp/mb-inline.exp
8448 * gdb.cp/mb-templates.exp
8449 * gdb.cp/pr10687.exp
8451 * gdb.cp/scope-err.exp
8452 * gdb.cp/templates.exp
8453 * gdb.cp/virtfunc.exp
8454 * gdb.dwarf2/dw2-dir-file-name.exp
8455 * gdb.dwarf2/dw2-single-line-discriminators.exp
8456 * gdb.fortran/complex.exp
8457 * gdb.fortran/library-module.exp
8458 * gdb.guile/guile.exp
8459 * gdb.guile/scm-cmd.exp
8460 * gdb.guile/scm-frame-inline.exp
8461 * gdb.guile/scm-objfile.exp
8462 * gdb.guile/scm-pretty-print.exp
8463 * gdb.guile/scm-symbol.exp
8464 * gdb.guile/scm-type.exp
8465 * gdb.guile/scm-value.exp
8466 * gdb.linespec/keywords.exp
8467 * gdb.linespec/ls-errs.exp
8468 * gdb.linespec/macro-relative.exp
8469 * gdb.linespec/thread.exp
8470 * gdb.mi/mi-breakpoint-changed.exp
8471 * gdb.mi/mi-dprintf-pending.exp
8472 * gdb.mi/mi-fullname-deleted.exp
8473 * gdb.mi/mi-logging.exp
8474 * gdb.mi/mi-pending.exp
8475 * gdb.mi/mi-solib.exp
8476 * gdb.mi/new-ui-mi-sync.exp
8477 * gdb.mi/user-selected-context-sync.exp
8478 * gdb.multi/dummy-frame-restore.exp
8479 * gdb.multi/multi-arch-exec.exp
8480 * gdb.multi/remove-inferiors.exp
8481 * gdb.multi/watchpoint-multi-exit.exp
8482 * gdb.opt/solib-intra-step.exp
8483 * gdb.perf/backtrace.exp
8484 * gdb.perf/single-step.exp
8485 * gdb.perf/skip-command.exp
8486 * gdb.perf/skip-prologue.exp
8487 * gdb.perf/solib.exp
8488 * gdb.python/lib-types.exp
8489 * gdb.python/py-as-string.exp
8490 * gdb.python/py-bad-printers.exp
8491 * gdb.python/py-block.exp
8492 * gdb.python/py-breakpoint.exp
8493 * gdb.python/py-cmd.exp
8494 * gdb.python/py-events.exp
8495 * gdb.python/py-evthreads.exp
8496 * gdb.python/py-finish-breakpoint.exp
8497 * gdb.python/py-finish-breakpoint2.exp
8498 * gdb.python/py-frame-inline.exp
8499 * gdb.python/py-frame.exp
8500 * gdb.python/py-inferior.exp
8501 * gdb.python/py-infthread.exp
8502 * gdb.python/py-mi.exp
8503 * gdb.python/py-objfile.exp
8504 * gdb.python/py-pp-maint.exp
8505 * gdb.python/py-pp-registration.exp
8506 * gdb.python/py-prettyprint.exp
8507 * gdb.python/py-recurse-unwind.exp
8508 * gdb.python/py-shared.exp
8509 * gdb.python/py-symbol.exp
8510 * gdb.python/py-symtab.exp
8511 * gdb.python/py-template.exp
8512 * gdb.python/py-type.exp
8513 * gdb.python/py-unwind-maint.exp
8514 * gdb.python/py-unwind.exp
8515 * gdb.python/py-value.exp
8516 * gdb.python/python.exp
8517 * gdb.reverse/finish-reverse-bkpt.exp
8518 * gdb.reverse/insn-reverse.exp
8519 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8520 * gdb.reverse/solib-precsave.exp
8521 * gdb.reverse/solib-reverse.exp
8522 * gdb.stabs/gdb11479.exp
8523 * gdb.stabs/weird.exp
8524 * gdb.threads/fork-child-threads.exp
8525 * gdb.threads/fork-plus-threads.exp
8526 * gdb.threads/fork-thread-pending.exp
8527 * gdb.threads/forking-threads-plus-breakpoint.exp
8528 * gdb.threads/hand-call-in-threads.exp
8529 * gdb.threads/interrupted-hand-call.exp
8530 * gdb.threads/linux-dp.exp
8531 * gdb.threads/local-watch-wrong-thread.exp
8532 * gdb.threads/next-while-other-thread-longjmps.exp
8533 * gdb.threads/non-ldr-exit.exp
8534 * gdb.threads/pending-step.exp
8535 * gdb.threads/print-threads.exp
8536 * gdb.threads/process-dies-while-detaching.exp
8537 * gdb.threads/process-dies-while-handling-bp.exp
8538 * gdb.threads/pthreads.exp
8539 * gdb.threads/queue-signal.exp
8540 * gdb.threads/reconnect-signal.exp
8541 * gdb.threads/signal-command-handle-nopass.exp
8542 * gdb.threads/signal-command-multiple-signals-pending.exp
8543 * gdb.threads/signal-delivered-right-thread.exp
8544 * gdb.threads/signal-sigtrap.exp
8545 * gdb.threads/sigthread.exp
8546 * gdb.threads/staticthreads.exp
8547 * gdb.threads/stepi-random-signal.exp
8548 * gdb.threads/thread-unwindonsignal.exp
8549 * gdb.threads/thread_check.exp
8550 * gdb.threads/thread_events.exp
8551 * gdb.threads/tid-reuse.exp
8552 * gdb.threads/tls-nodebug.exp
8553 * gdb.threads/tls-shared.exp
8554 * gdb.threads/tls-so_extern.exp
8555 * gdb.threads/tls.exp
8556 * gdb.threads/wp-replication.exp
8557 * gdb.trace/actions-changed.exp
8558 * gdb.trace/actions.exp
8559 * gdb.trace/backtrace.exp
8560 * gdb.trace/change-loc.exp
8561 * gdb.trace/collection.exp
8562 * gdb.trace/deltrace.exp
8563 * gdb.trace/disconnected-tracing.exp
8564 * gdb.trace/entry-values.exp
8565 * gdb.trace/ftrace-lock.exp
8566 * gdb.trace/ftrace.exp
8567 * gdb.trace/infotrace.exp
8568 * gdb.trace/mi-trace-frame-collected.exp
8569 * gdb.trace/mi-trace-unavailable.exp
8570 * gdb.trace/mi-traceframe-changed.exp
8571 * gdb.trace/mi-tracepoint-changed.exp
8572 * gdb.trace/mi-tsv-changed.exp
8573 * gdb.trace/no-attach-trace.exp
8574 * gdb.trace/packetlen.exp
8575 * gdb.trace/passc-dyn.exp
8576 * gdb.trace/passcount.exp
8577 * gdb.trace/pending.exp
8578 * gdb.trace/pr16508.exp
8579 * gdb.trace/qtro.exp
8580 * gdb.trace/range-stepping.exp
8581 * gdb.trace/read-memory.exp
8582 * gdb.trace/report.exp
8583 * gdb.trace/save-trace.exp
8584 * gdb.trace/signal.exp
8585 * gdb.trace/stap-trace.exp
8586 * gdb.trace/status-stop.exp
8587 * gdb.trace/strace.exp
8588 * gdb.trace/tfile.exp
8589 * gdb.trace/tfind.exp
8590 * gdb.trace/trace-break.exp
8591 * gdb.trace/trace-condition.exp
8592 * gdb.trace/trace-enable-disable.exp
8593 * gdb.trace/trace-mt.exp
8594 * gdb.trace/tracecmd.exp
8595 * gdb.trace/tracefile-pseudo-reg.exp
8596 * gdb.trace/tspeed.exp
8597 * gdb.trace/tstatus.exp
8599 * gdb.trace/unavailable.exp
8600 * gdb.trace/while-dyn.exp
8601 * gdb.trace/while-stepping.exp
8604 * lib/mi-support.exp
8607 * lib/prelink-support.exp
8608 * lib/selftest-support.exp
8610 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8612 * Makefile.in: Include disable-implicit-rules.mk.
8614 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8616 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8617 non-byte-aligned bit fields.
8619 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8622 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8623 respects the DW_AT_data_bit_offset attribute.
8625 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8627 * gdb.base/default.exp: Fix output of "set language".
8629 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8631 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8632 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8634 * configure.ac: Remove checks for the make program.
8635 * configure: Re-generate.
8637 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8639 * gdb.python/py-recurse-unwind.c (main): Add loop.
8640 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8641 to read_register() and gdb.parse_and_eval(). Make each code
8642 call a separate case that can be individually tested.
8643 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8644 proc. Call cont_and_backtrace for each of the code paths that
8645 we want to test in the unwinder.
8647 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8649 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8650 the definition of struct S.
8652 2016-11-11 Catherine Moore <clm@codesourcery.com>
8654 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8656 2016-11-09 Pedro Alves <palves@redhat.com>
8658 * gdb.base/commands.exp (runto_or_return): New procedure.
8659 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8660 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8661 (progvar_simple_while_test, progvar_complex_if_while_test)
8662 (if_while_breakpoint_command_test)
8663 (infrun_breakpoint_command_test, breakpoint_command_test)
8664 (user_defined_command_test, watchpoint_command_test)
8665 (test_command_prompt_position, redefine_hook_test)
8666 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8667 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8668 multi_line_input and multi_line. Remove gdb_expect and
8669 gdb_stop_suppressing_tests uses.
8670 * lib/gdb.exp (valnum_re): New global.
8671 (multi_line_input): New procedure.
8673 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8675 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8677 (test_setup): Define with proc_with_prefix.
8678 (test_cli_inferior): Likewise.
8679 (test_cli_thread): Likewise.
8680 (test_cli_frame): Likewise.
8681 (test_cli_select_frame): Likewise.
8682 (test_cli_up_down): Likewise.
8683 (test_mi_thread_select): Likewise.
8684 (test_mi_stack_select_frame): Likewise.
8685 (test_cli_in_mi_inferior): Likewise.
8686 (test_cli_in_mi_thread): Likewise.
8687 (test_cli_in_mi_frame): Likewise.
8688 (top level): Do not use with_test_prefix_procname.
8690 2016-11-09 Pedro Alves <palves@redhat.com>
8692 * gdb.base/commands.exp (gdbvar_simple_if_test)
8693 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8694 (progvar_simple_if_test, progvar_simple_while_test)
8695 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8696 (infrun_breakpoint_command_test, breakpoint_command_test)
8697 (user_defined_command_test, watchpoint_command_test)
8698 (test_command_prompt_position, deprecated_command_test)
8699 (bp_deleted_in_command, temporary_breakpoint_commands)
8700 (stray_arg0_test, source_file_with_indented_comment)
8701 (recursive_source_test, if_commands_test)
8702 (error_clears_commands_left, redefine_hook_test)
8703 (redefine_backtrace_test): Use proc_with_prefix.
8704 * lib/gdb.exp (proc_with_prefix): New proc.
8706 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8708 * gdb.base/tui-layout.c: New file.
8709 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8710 disassembly window contains very long lines.
8712 2016-11-08 Tom Tromey <tom@tromey.com>
8714 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8717 2016-11-08 Tom Tromey <tom@tromey.com>
8719 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8722 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8724 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8726 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8728 * gdb.rust/simple.rs: Add test for univariant enums without
8729 discriminants and for encoded struct-like enums.
8731 2016-10-28 Pedro Alves <palves@redhat.com>
8733 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8734 gdb_test_multiple, tighten regexps and match symtabs and line
8735 tables incrementally.
8737 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8739 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8742 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8744 * gdb.base/exec-invalid-sysroot.exp: New file.
8746 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8748 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8750 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8752 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8754 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8756 * gdb.base/killed-outside.exp: Remove $options from a call to
8757 `prepare_for_testing'.
8759 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8761 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8762 Change test message.
8764 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8766 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8769 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8771 * gdb.trace/mi-trace-save.exp: New file.
8773 2016-10-13 Yao Qi <yao.qi@linaro.org>
8775 * gdb.base/code_elim.exp (get_var_address): Remove.
8776 * gdb.base/relocate.exp: Likewise.
8777 * gdb.base/shreloc.exp: Likewise.
8778 * lib/gdb.exp (get_var_address): New.
8780 2016-10-13 Yao Qi <yao.qi@linaro.org>
8782 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8783 floating point tests if $skip_float_test is false.
8785 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8787 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8788 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8790 Add 1 to argc so we guarantee distinct initial/modified argc values.
8792 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8794 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8796 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8798 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8799 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8800 * gdb.arch/vsx-regs.exp: Likewise.
8802 2016-10-07 Yao Qi <yao.qi@linaro.org>
8804 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8806 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8808 * gdb.python/python.exp: Test decode_line("*0").
8810 2016-10-06 Doug Evans <dje@google.com>
8812 * gdb.python/py-value.exp (test_value_creation): Add test for large
8813 unsigned 64-bit value.
8815 2016-10-06 Tom Tromey <tom@tromey.com>
8817 * gdb.compile/compile.exp: Change java tests to rust.
8818 * gdb.base/setshow.exp: Change java tests to rust.
8819 * gdb.base/default.exp: Remove java from language list.
8820 * README (Examples): Update language example.
8821 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8823 * lib/gdb.exp (skip_java_tests): Remove.
8824 * lib/java.exp: Remove.
8827 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8829 * gdb.arch/mips-fcr.exp: New test.
8830 * gdb.arch/mips-fcr.c: Source for the new test.
8832 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8834 * gdb.base/solib-disc.exp: Use `standard_output_file'
8837 2016-10-06 Pedro Alves <palves@redhat.com>
8839 * gdb.base/jit-simple-dl.c: New file.
8840 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8841 * gdb.base/jit-simple.c: ... this.
8842 * gdb.base/jit-simple.exp (jit_run): Delete.
8843 (build_jit): New proc.
8844 (jit_test_reread): Recompile either the main program or the shared
8845 library, depending on what is being tested. Skip changing address
8846 if caller wants to. Compare before/after addresses. If testing
8847 standalone, explicitly load the binary. Test "maint info
8849 (top level): Add "standalone vs shared lib" and "change address"
8850 vs "same address" axes.
8852 2016-10-06 Pedro Alves <palves@redhat.com>
8854 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8857 (jit_test_reread): Use with_test_prefix. Reload the main binary
8858 explicitly. Compare the before/after addresses of the JIT
8861 2016-08-15 Doug Evans <dje@google.com>
8863 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8864 for single bitfields is bool.
8865 * gdb.xml/tdesc-regs.exp: Ditto.
8867 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8869 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8871 2016-10-05 Yao Qi <yao.qi@linaro.org>
8873 * lib/gdb.exp (support_complex_tests): Return zero if
8874 gdb_skip_float_test return true.
8876 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8877 Simon Marchi <simon.marchi@ericsson.com>
8880 * gdb.mi/user-selected-context-sync.exp: New file.
8881 * gdb.mi/user-selected-context-sync.c: New file.
8883 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8884 Simon Marchi <simon.marchi@ericsson.com>
8887 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8888 =thread-select-event check.
8890 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8892 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8893 the compulsory L operand changes.
8894 * gdb.arch/powerpc-power.s: Likewise.
8896 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8898 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8899 * gdb.base/jit-attach-pie.c: New file.
8900 * gdb.base/jit-attach-pie.exp: New file.
8902 2016-09-28 Pedro Alves <palves@redhat.com>
8904 * gdb.base/infcall-input.c: New file.
8905 * gdb.base/infcall-input.exp: New file.
8907 2016-09-22 Yao Qi <yao.qi@linaro.org>
8909 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8910 (gdb_exit): Rename it to ...
8911 (gdbserver_gdb_exit): ... Close GDBserver.
8912 (gdb_exit): New proc, call gdbserver_gdb_exit.
8913 (mi_gdb_exit): Likewise.
8915 2016-09-22 Yao Qi <yao.qi@linaro.org>
8917 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8919 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8922 2016-09-22 Yao Qi <yao.qi@linaro.org>
8924 * lib/gdbserver-support.exp: Check the existence of
8925 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8927 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8929 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8931 2016-09-21 Tom Tromey <tom@tromey.com>
8934 * gdb.base/quit.exp: New file.
8936 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8938 * .gitignore: New file.
8940 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8942 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8945 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8947 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8949 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8951 * gdb.cp/casts.cc (decltype): Move it ...
8952 (main): ... with its call to ...
8953 * gdb.cp/casts03.cc: ... a new file.
8954 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8956 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8958 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8960 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8962 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8963 and sync up the test with tests in gas/testsuite/gas/ppc.
8964 * gdb.arch/powerpc-power.exp: Likewise.
8966 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8968 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8970 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8971 Jan Kratochvil <jan.kratochvil@redhat.com>
8973 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8974 make m1's definition to be different from m2's. Use 'dummy' as an
8975 argument for probe 'two'.
8977 2016-09-10 Jon Beniston <jon@beniston.com>
8979 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8982 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8984 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8985 variable declaration.
8986 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8987 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8988 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8989 received HWCAP as its argument.
8991 2016-09-06 Pedro Alves <palves@redhat.com>
8993 * gdb.base/new-ui-pending-input.c: New file.
8994 * gdb.base/new-ui-pending-input.exp: New file.
8995 * gdb.exp (clear_gdb_spawn_id): New procedure.
8996 (with_spawn_id): Check whether gdb_spawn_id exists before
8997 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9000 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9002 * gdb.base/float128.c: New file.
9003 * gdb.base/float128.exp: Likewise.
9004 * gdb.base/floatn.c: Likewise.
9005 * gdb.base/floatn.exp: Likewise.
9007 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9009 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9011 2016-09-05 Pedro Alves <palves@redhat.com>
9014 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9015 unwinders are immediately called as side effect of "source" or
9016 "disable unwinder" commands.
9017 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9019 2016-09-02 Yao Qi <yao.qi@linaro.org>
9021 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9022 is true and $type is "float" or "double".
9024 2016-09-02 Yao Qi <yao.qi@linaro.org>
9026 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9028 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9029 * gdb.base/call-rt-st.exp: Likewise.
9030 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9031 return value instead of gdb,skip_float_test.
9032 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9033 (do_function_calls): Use its return value instead of
9034 gdb,skip_float_test.
9035 * gdb.base/finish.exp: Likewise.
9036 * gdb.base/funcargs.exp: Likewise.
9037 * gdb.base/return.exp: Likewise.
9038 * gdb.base/return2.exp: Likewise.
9039 * gdb.base/varargs.exp: Likewise.
9040 * lib/gdb.exp (gdb_skip_float_test): Change it to
9041 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9043 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9045 * gdb.multi/tids.exp: Test "thread apply all".
9047 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9049 * gdb.base/default.exp (tty): Remove.
9051 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9053 * gdb.python/py-recurse-unwind.c: New file.
9054 * gdb.python/py-recurse-unwind.py: New file.
9055 * gdb.python/py-recurse-unwind.exp: New file.
9057 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9059 * gdb.base/set-inferior-tty.exp: New file.
9060 * gdb.base/set-inferior-tty.c: New file.
9062 2016-08-23 Pedro Alves <palves@redhat.com>
9065 * gdb.base/new-ui-echo.c: New file.
9066 * gdb.base/new-ui-echo.exp: New file.
9068 2016-08-23 Yao Qi <yao.qi@linaro.org>
9070 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9072 * gdb.server/connect-without-multi-process.exp (do_test):
9075 2016-08-23 Yao Qi <yao.qi@linaro.org>
9077 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9078 standalone_txt. Delete gdb_txt and standalone_txt on host
9079 and target. Spawn the binary on target. Copy files from
9082 2016-08-22 Pedro Alves <palves@redhat.com>
9085 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9086 with_test_prefix. Factor out bits to ...
9087 (test_no_vdso): ... this new procedure.
9089 2016-08-19 Carl Love <cel@us.ibm.com>
9091 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9092 maintaining separate logic for constructing the output path.
9093 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9094 * gdb.arch/ppc-dfp.exp: Likewise.
9095 * gdb.arch/ppc-fp.exp: Likewise.
9096 * gdb.arch/vsx-regs.exp: Likewise.
9097 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9098 binprefix for generating the additional binary files.
9100 2016-08-19 Pedro Alves <palves@redhat.com>
9102 * gdb.trace/mi-trace-frame-collected.exp
9103 (test_trace_frame_collected): On x32, expect two registers.
9105 2016-08-18 Carl Love <cel@us.ibm.com>
9107 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9108 and sync up the test with tests in gas/testsuite/gas/ppc.
9109 * gdb.arch/powerpc-power.exp: Likewise.
9111 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9113 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9114 expected error message.
9116 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9118 * gdb.multi/remove-inferiors.exp: New file.
9119 * gdb.multi/remove-inferiors.c: New file.
9121 2016-08-12 Yao Qi <yao.qi@linaro.org>
9123 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9126 2016-08-10 Pedro Alves <palves@redhat.com>
9129 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9132 2016-08-09 Pedro Alves <palves@redhat.com>
9133 Simon Marchi <simon.marchi@ericsson.com>
9136 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9137 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9139 2016-08-09 Pedro Alves <palves@redhat.com>
9142 * gdb.mi/mi-cmd-error.exp: New file.
9144 2016-08-09 Pedro Alves <palves@redhat.com>
9147 * gdb.base/signals-state-child.c: New file.
9148 * gdb.base/signals-state-child.exp: New file.
9149 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9151 2016-08-09 Pedro Alves <palves@redhat.com>
9153 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9155 2016-08-03 Tom Tromey <tom@tromey.com>
9158 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9160 2016-08-01 Yao Qi <yao.qi@linaro.org>
9162 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9163 variable mode to "multi-process" if $multi_process is 1, otherwise
9164 set it to "single-process".
9166 2016-08-01 Yao Qi <yao.qi@linaro.org>
9168 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9169 * gdb.cp/cpexprs.exp: Likewise.
9170 * gdb.cp/m-static.exp: Likewise.
9172 2016-07-26 Tom Tromey <tom@tromey.com>
9175 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9178 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9180 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9181 selecting assembly source files.
9182 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9183 assembly source files.
9184 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9185 assembly source files.
9186 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9187 selecting assembly source files.
9189 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9191 * gdb.base/new-ui.exp (do_test_invalid_args): New
9194 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9196 * gdb.btrace/reconnect.c: New file.
9197 * gdb.btrace/reconnect.exp: New file.
9199 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9201 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9202 to test_catch_syscall_group.
9203 (test_catch_syscall_group): New.
9205 2016-07-21 Tom Tromey <tom@tromey.com>
9207 * gdb.rust/simple.rs (main): Use empty struct expression.
9208 * gdb.rust/simple.exp: Add tests for empty struct expression.
9210 2016-07-21 Yao Qi <yao.qi@linaro.org>
9212 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9213 if gdb_skip_xml_test is true on some targets.
9215 2016-07-21 Yao Qi <yao.qi@linaro.org>
9217 * gdb.server/solib-list.exp: Unset last_loaded_file.
9219 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9221 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9222 "step into captured_main (args)".
9224 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9226 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9228 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9230 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9232 2016-07-19 Pedro Alves <palves@redhat.com>
9234 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9235 * gdb.opt/inline-bt.exp: Likewise.
9236 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9237 additional_flags=-Winline.
9238 * gdb.opt/inline-locals.exp: Likewise.
9239 * gdb.opt/inline-markers.c (ATTR): Define.
9240 (inlined_fn): Use it.
9242 2016-07-19 Yao Qi <yao.qi@linaro.org>
9244 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9245 (test_with_self): Remove some code. Remove argument executable.
9246 (top-level): Use do_self_tests.
9248 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9249 Don Breazeal <donb@codesourcery.com>
9251 * gdb.base/maint.exp: Escape paths used in regular expressions.
9252 * gdb.stabs/weird.exp: Likewise.
9254 2016-07-13 Tom Tromey <tom@tromey.com>
9256 PR python/15620, PR python/18620:
9257 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9258 (test_bkpt_events): New procs.
9260 2016-07-13 Tom Tromey <tom@tromey.com>
9263 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9265 (test_watchpoints): Likewise.
9266 (test_bkpt_pending): New proc.
9268 2016-07-13 Tom Tromey <tom@tromey.com>
9271 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9274 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9276 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9277 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9278 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9280 (g): Rename g_end_lbl to g_label.
9281 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9283 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9285 2016-07-12 Tom Tromey <tom@tromey.com>
9288 * gdb.python/py-unwind-maint.exp: Update tests.
9290 2016-07-12 Yao Qi <yao.qi@linaro.org>
9292 * lib/selftest-support.exp (selftest_setup): Match the output
9293 when captured_main is inlined.
9295 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9297 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9299 (print this%a, print this%b, print this): New tests.
9300 * gdb.fortran/derived-types.f90 (this): New object and
9303 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9305 * gdb.ada/arraydim.exp: Remove extra directory level in build
9308 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9310 * lib/ada.exp: Remove extra directory level in build directory.
9311 * gdb.ada/cond_lang.exp: Likewise.
9312 * gdb.ada/exec_changed.exp: Likewise.
9313 * gdb.ada/lang_switch.exp: Likewise.
9315 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9317 * simple.rs: Add test for raw pointer subscripting.
9318 * simple.exp: Add test expectations.
9320 2016-07-05 Yao Qi <yao.qi@linaro.org>
9322 * gdb.mi/mi-reverse.exp: Match =record-started output.
9324 2016-07-01 Pedro Alves <palves@redhat.com>
9326 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9328 (jit_reader_test): Test the jit reader's unwinder.
9329 * gdb.base/jithost.c (jit_function_00_code): New global.
9330 (main): Use memcpy to fill in the mmapped code, instead of poking
9331 bytes manually here.
9332 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9334 (read_debug_info): Save the function's range.
9335 (read_sp): New function.
9336 (unwind_frame): Use it. Also unwind RBP.
9337 (get_frame_id): Use read_sp.
9338 (gdb_init_reader): Use calloc instead of malloc.
9339 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9340 parameter. Use gdb_test_multiple.
9342 2016-07-01 Pedro Alves <palves@redhat.com>
9343 Antoine Tremblay <antoine.tremblay@ericsson.com>
9345 * gdb.threads/process-dies-while-detaching.c: New file.
9346 * gdb.threads/process-dies-while-detaching.exp: New file.
9348 2016-07-01 Pedro Alves <palves@redhat.com>
9350 * gdb.multi/watchpoint-multi-exit.c: New file.
9351 * gdb.multi/watchpoint-multi-exit.exp: New file.
9353 2016-06-30 Pedro Alves <palves@redhat.com>
9355 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9356 unset inferior_spawn_id.
9358 2016-06-30 Pedro Alves <palves@redhat.com>
9360 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9361 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9363 2016-06-29 Yao Qi <yao.qi@linaro.org>
9365 * gdb.base/return.c: Add copyright header.
9367 2016-06-29 Tom Tromey <tom@tromey.com>
9370 * gdb.python/py-framefilter.exp: Add tests for setting priority
9371 and disabling of non-existent frame filter.
9373 2016-06-29 Yao Qi <yao.qi@linaro.org>
9375 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9378 2016-06-28 Yao Qi <yao.qi@linaro.org>
9380 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9381 triplets. Start gdb, execute catch syscall, and continue. Check
9382 gdb's output to determine catch syscall is supported.
9384 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9386 * gdb.rust/simple.rs: Add test for returning unit in a function.
9387 * gdb.rust/simple.exp: Add expectation for functions returning
9390 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9392 * gdb.python/py-breakpoint-create-fail.c,
9393 gdb.python/py-breakpoint-create-fail.exp,
9394 gdb.python/py-breakpoint-create-fail.py: New testcase.
9396 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9399 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9400 * gdb.rust/simple.exp: Add test expectations for new NonZero
9403 2016-06-24 David Taylor <dtaylor@emc.com>
9405 * gdb.base/offsets.exp: New file.
9406 * gdb.base/offsets.c: New file.
9408 2016-06-23 Tom Tromey <tom@tromey.com>
9411 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9412 before any filters are loaded.
9414 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9416 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9417 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9419 * gdb.fortran/derived-type-function.exp: New file.
9420 * gdb.fortran/derived-type-function.f90: New file.
9423 2016-06-21 Pedro Alves <palves@redhat.com>
9425 * gdb.base/new-ui.exp: New file.
9426 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9427 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9428 (with_spawn_id): New procedure.
9430 2016-06-21 Pedro Alves <palves@redhat.com>
9432 * gdb.mi/mi-exec-run.exp: New file.
9434 2016-06-21 Pedro Alves <palves@redhat.com>
9436 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9437 breakpoint command's output on the main UI.
9438 (test_break): New procedure, factored out from calls in the top
9440 (top level): Use foreach_with_prefix to test MI as main UI and as
9443 2016-06-21 Pedro Alves <palves@redhat.com>
9445 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9446 (test_awatch_creation_and_listing)
9447 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9448 Remove 'type' parameter.
9449 (test_watchpoint_all): New parameter mi_mode. Remove
9451 (top level): Use foreach_with_prefix, and add main/separate UI MI
9454 2016-06-21 Pedro Alves <palves@redhat.com>
9456 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9457 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9458 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9459 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9460 (gdb_main_spawn_id, mi_spawn_id): Declare and
9462 (mi_create_inferior_pty): New procedure,
9463 factored out from default_mi_gdb_start.
9464 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9466 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9467 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9468 Use mi_create_inferior_pty.
9469 (mi_gdb_start): Use eval to pass down args list.
9471 2016-06-21 Pedro Alves <palves@redhat.com>
9473 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9474 * gdb.opt/inline-cmds.exp: Add MI tests.
9476 2016-06-21 Pedro Alves <palves@redhat.com>
9478 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9480 2016-06-21 Pedro Alves <palves@redhat.com>
9482 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9483 (top level): Use it instead of mi_execute_to.
9485 2016-06-21 Pedro Alves <palves@redhat.com>
9487 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9488 (cont_handler_str): New.
9489 (signal_stop_handler): Set stop_handler_str instead of printing to
9491 (continue_handler): Set cont_handler_str instead of printing to
9493 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9494 mi_send_resuming_command. Print stop_handler_str and
9495 cont_handler_str instead of expecting the python events print
9498 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9500 * gdb.base/jit-reader.exp: New file.
9501 * gdb.base/jithost.c: New file.
9502 * gdb.base/jithost.h: New file.
9503 * gdb.base/jitreader.c : New file.
9504 * gdb.base/jit-protocol.h: New file.
9506 2016-06-17 Yao Qi <yao.qi@linaro.org>
9508 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9509 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9510 and detach-on-fork. Adjust tests.
9511 (top level): Invoke break_cond_on_syscall with combinations of
9512 syscall, follow-fork-mode and detach-on-fork.
9514 2016-06-17 Yao Qi <yao.qi@linaro.org>
9516 * gdb.base/step-over-exit.c: New.
9517 * gdb.base/step-over-exit.exp: New.
9519 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9521 * gdb.base/float.exp: Add target check for nds32*-*-*.
9522 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9524 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9526 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9527 for unsupported target features.
9528 * gdb.base/call-rt-st.exp: Likewise.
9529 * gdb.base/call-sc.exp: Likewise.
9530 * gdb.base/call-signal-resume.exp: Likewise.
9531 * gdb.base/call-strs.exp: Likewise.
9532 * gdb.base/callexit.exp: Likewise.
9533 * gdb.base/callfuncs.exp: Likewise.
9534 * gdb.base/nodebug.exp: Likewise.
9535 * gdb.base/printcmds.exp: Likewise.
9536 * gdb.base/ptype.exp: Likewise.
9537 * gdb.base/structs.exp: Likewise.
9538 * gdb.base/unwindonsignal.exp: Likewise.
9539 * gdb.cp/gdb2495.exp: Likewise.
9540 * gdb.cp/templates.exp: Likewise.
9541 * gdb.cp/virtfunc.exp: Likewise.
9542 * gdb.threads/hand-call-in-threads.exp: Likewise.
9543 * gdb.threads/interrupted-hand-call.exp: Likewise.
9544 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9546 2016-06-10 Tom Tromey <tom@tromey.com>
9549 * gdb.rust/expr.exp: Add test for integer constant larger than
9552 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9554 * gdb.fortran/nested-funcs.exp: New.
9555 * gdb.fortran/nested-funcs.f90: New.
9557 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9559 * gdb.base/examine-backward.c: New file.
9560 * gdb.base/examine-backward.exp: New file.
9562 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9564 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9567 2016-06-02 Tom Tromey <tom@tromey.com>
9570 * gdb.python/py-shared.exp: Add solib_name test.
9572 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9574 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9576 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9579 * gdb.dwarf2/implref.exp: Rename to...
9580 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9581 * gdb.dwarf2/implref-array.c: New file.
9582 * gdb.dwarf2/implref-array.exp: Likewise.
9583 * gdb.dwarf2/implref-global.c: Likewise.
9584 * gdb.dwarf2/implref-global.exp: Likewise.
9585 * gdb.dwarf2/implref-struct.c: Likewise.
9586 * gdb.dwarf2/implref-struct.exp: Likewise.
9588 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9590 * gdb.trace/trace-condition.exp: Add 64bit tests.
9592 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9594 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9596 (main): Adapt to 8 to 64 bits types.
9597 * gdb.trace/trace-condition.exp: Add new tests.
9599 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9601 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9603 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9605 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9606 Move condition tests...
9607 * gdb.trace/trace-condition.exp: Here.
9609 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9611 * gdb.trace/trace-condition.exp: Add counter-case tests.
9613 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9616 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9617 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9619 2016-05-27 Pedro Alves <palves@redhat.com>
9621 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9623 (top level): Call it, and bail out of DejaGnu is known to be bad.
9625 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9627 * gdb.base/whatis.c: Extend the test case.
9628 * gdb.base/whatis.exp: Add additional tests.
9630 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9632 * gdb.fortran/type.f90: Add pointer variable.
9633 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9635 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9637 * gdb.fortran/vla-type.exp: Fix testcase name.
9639 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9641 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9643 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9645 * gdb.fortran/type.f90: Add nested structures.
9646 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9647 * gdb.fortran/derived-type.exp: Adapt expected output.
9648 * gdb.fortran/vla-type.exp: Adapt expected output.
9650 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9652 * gdb.fortran/whatis_type.exp: Adapt expected output.
9654 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9656 * gdb.fortran/print_type.exp: Fix expected output.
9657 * gdb.fortran/whatis_type.exp: Fix expected output.
9659 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9661 * gdb.fortran/whatis_type.exp: Use multi_line.
9663 2016-05-24 Tom Tromey <tom@tromey.com>
9666 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9667 use value as an index.
9669 2016-05-23 Tom Tromey <tom@tromey.com>
9672 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9675 2016-05-24 Pedro Alves <palves@redhat.com>
9678 * gdb.threads/clone-attach-detach.c: New file.
9679 * gdb.threads/clone-attach-detach.exp: New file.
9681 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9683 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9685 2016-05-23 Tom Tromey <tom@tromey.com>
9687 PR python/19438, PR python/18393:
9688 * gdb.python/py-progspace.exp: Add "dir" test.
9689 * gdb.python/py-objfile.exp: Add "dir" test.
9691 2016-05-23 Yao Qi <yao.qi@linaro.org>
9693 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9694 * gdb.arch/thumb2-it.exp: Likewise.
9696 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9698 * gdb.mi/mi-threads-interrupt.c: New file.
9699 * gdb.mi/mi-threads-interrupt.exp: New file.
9701 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9704 * gdb.mi/mi-async-run.exp: New file.
9705 * gdb.mi/mi-async-run.c: New file.
9707 2016-05-17 Tom Tromey <tom@tromey.com>
9708 Manish Goregaokar <manishsmail@gmail.com>
9710 * lib/rust-support.exp: New file.
9711 * lib/gdb.exp (skip_rust_tests): New proc.
9712 (build_executable_from_specs): Handle rust.
9713 * lib/future.exp (gdb_find_rustc): New proc.
9714 (gdb_default_target_compile): Handle rust.
9715 * gdb.rust/expr.exp: New file.
9716 * gdb.rust/generics.exp: New file.
9717 * gdb.rust/generics.rs: New file.
9718 * gdb.rust/methods.exp: New file.
9719 * gdb.rust/methods.rs: New file.
9720 * gdb.rust/modules.exp: New file.
9721 * gdb.rust/modules.rs: New file.
9722 * gdb.rust/simple.exp: New file.
9723 * gdb.rust/simple.rs: New file.
9725 2016-05-17 Tom Tromey <tom@tromey.com>
9727 * gdb.base/default.exp (set language): Add rust.
9729 2016-05-17 Tom Tromey <tom@tromey.com>
9731 * gdb.gdb/unittest.exp: New file.
9733 2016-05-16 Yao Qi <yao.qi@linaro.org>
9735 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9736 shell_prompt. Update shell_prompt_re.
9738 2016-05-12 Doug Evans <dje@google.com>
9741 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9742 $options when building executable.
9743 * gdb.dwarf2/fission-loclists-pie.S: New file.
9744 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9746 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9748 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
9749 of [is_remote target],
9751 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9753 * lib/gdb.exp (use_gdb_stub): New procedure.
9755 2016-05-03 Yunlian Jiang <yunlian@google.com>
9756 Doug Evans <dje@google.com>
9759 * gdb.dwarf2/dwp-sepdebug.c: New file.
9760 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9762 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9764 * gdb.base/detach.exp: Remove is_remote check.
9766 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9768 * gdb.base/annota-input-while-running.exp: Don't check for
9769 [is_remote target]. Enable annotations after running to main.
9770 Remove unused "set test..." line.
9772 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9774 * gdb.trace/trace-enable-disable.exp: New file.
9775 * gdb.trace/trace-enable-disable.c: New file.
9777 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9779 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9780 use it in info sharedlibrary test.
9781 * gdb.trace/ftrace-lock.exp: Likewise.
9782 * gdb.trace/ftrace.exp: Likewise.
9783 * gdb.trace/range-stepping.exp: Likewise.
9784 * gdb.trace/trace-break.exp: Likewise.
9785 * gdb.trace/trace-condition.exp: Likewise.
9786 * gdb.trace/trace-mt.exp: Likewise.
9788 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9790 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9791 (gdb_load_shlib): ... this.
9792 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9794 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9795 * gdb.base/ctxobj.exp: Likewise.
9796 * gdb.base/dprintf-pending.exp: Likewise.
9797 * gdb.base/dso2dso.exp: Likewise.
9798 * gdb.base/fixsection.exp: Likewise.
9799 * gdb.base/gcore-relro.exp: Likewise.
9800 * gdb.base/gdb1555.exp: Likewise.
9801 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9802 * gdb.base/gnu-ifunc.exp: Likewise.
9803 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9804 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9805 * gdb.base/pending.exp: Likewise.
9806 * gdb.base/print-file-var.exp: Likewise.
9807 * gdb.base/print-symbol-loading.exp: Likewise.
9808 * gdb.base/shlib-call.exp: Likewise.
9809 * gdb.base/shreloc.exp: Likewise.
9810 * gdb.base/so-impl-ld.exp: Likewise.
9811 * gdb.base/solib-disc.exp: Likewise.
9812 * gdb.base/solib-nodir.exp: Likewise.
9813 * gdb.base/solib-overlap.exp: Likewise.
9814 * gdb.base/solib-symbol.exp: Likewise.
9815 * gdb.base/solib-weak.exp (do_test): Likewise.
9816 * gdb.base/sym-file.exp: Likewise.
9817 * gdb.base/symtab-search-order.exp: Likewise.
9818 * gdb.base/type-opaque.exp: Likewise.
9819 * gdb.base/unload.exp: Likewise.
9820 * gdb.base/watchpoint-solib.exp: Likewise.
9821 * gdb.compile/compile.exp: Likewise.
9822 * gdb.cp/gdb2384.exp: Likewise.
9823 * gdb.cp/infcall-dlopen.exp: Likewise.
9824 * gdb.cp/re-set-overloaded.exp: Likewise.
9825 * gdb.fortran/library-module.exp: Likewise.
9826 * gdb.opt/solib-intra-step.exp: Likewise.
9827 * gdb.python/py-finish-breakpoint.exp: Likewise.
9828 * gdb.python/py-shared.exp: Likewise.
9829 * gdb.reverse/solib-precsave.exp: Likewise.
9830 * gdb.reverse/solib-reverse.exp: Likewise.
9831 * gdb.server/solib-list.exp: Likewise.
9832 * gdb.threads/dlopen-libpthread.exp: Likewise.
9833 * gdb.threads/tls-shared.exp: Likewise.
9834 * gdb.threads/tls-so_extern.exp: Likewise.
9835 * gdb.trace/change-loc.exp: Likewise.
9836 * gdb.trace/ftrace-lock.exp: Likewise.
9837 * gdb.trace/ftrace.exp: Likewise.
9838 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9839 * gdb.trace/pending.exp: Likewise.
9840 * gdb.trace/range-stepping.exp: Likewise.
9841 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9842 (strace_info_marker): Likewise.
9843 (strace_probe_marker): Likewise.
9844 (strace_trace_on_same_addr): Likewise.
9845 (strace_trace_on_diff_addr): Likewise.
9846 * gdb.trace/trace-break.exp: Likewise.
9847 * gdb.trace/trace-condition.exp: Likewise.
9848 * gdb.trace/trace-mt.exp: Likewise.
9850 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9852 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9853 result of gdb_remote_download.
9854 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9855 * gdb.base/dso2dso.exp: Likewise.
9856 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9857 * gdb.base/print-file-var.exp: Likewise.
9858 * gdb.base/shlib-call.exp: Likewise.
9859 * gdb.base/shreloc.exp: Likewise.
9860 * gdb.base/solib-overlap.exp: Likewise.
9861 * gdb.base/solib-weak.exp (do_test): Likewise.
9862 * gdb.base/unload.exp: Likewise.
9864 2016-04-27 Yao Qi <yao.qi@linaro.org>
9866 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9869 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9871 * vla-type.exp: Print structure from toplevel.
9873 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9875 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9877 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9880 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9882 * gdb.fortran/vla-type.f90: New file.
9883 * gdb.fortran/vla-type.exp: New file.
9885 2016-04-25 Yao Qi <yao.qi@linaro.org>
9887 * gdb.base/branch-to-self.c: New file.
9888 * gdb.base/branch-to-self.exp: New file.
9890 2016-04-22 Yao Qi <yao.qi@linaro.org>
9892 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9895 2016-04-22 Yao Qi <yao.qi@linaro.org>
9897 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9898 * gdb.base/annota3.exp: Likewise.
9900 2016-04-22 Yao Qi <yao.qi@linaro.org>
9902 * gdb.reverse/step-precsave.exp: Do one step and test program
9903 stops in "callee" and do multiple steps until program goes out
9905 * gdb.reverse/step-reverse.exp: Likewise.
9907 2016-04-22 Yao Qi <yao.qi@linaro.org>
9909 * gdb.trace/signal.exp: Also pass if
9910 $tracepoint_hits($i) > $iterations.
9912 2016-04-22 Yao Qi <yao.qi@linaro.org>
9914 * gdb.trace/signal.c: New file.
9915 * gdb.trace/signal.exp: New file.
9917 2016-04-19 Doug Evans <xdje42@gmail.com>
9919 * gdb.base/bad-file.exp: New file.
9921 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9923 * gdb.dwarf2/implref.exp: New file.
9925 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9927 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9928 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9929 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9930 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9931 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9932 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9933 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9934 * lib/fortran.exp (fortran_int4): New procedure.
9935 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9936 (fortran_logical4): Likewise.
9938 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9940 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9942 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9944 * lib/compiler.c: Add Intel specific preprocessor macros.
9945 * lib/compiler.cc: Likewise.
9947 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9949 * gdb.server/connect-with-no-symbol-file.c: New file.
9950 * gdb.server/connect-with-no-symbol-file.exp: New file.
9952 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9954 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9956 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9958 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9959 standard output directory.
9961 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9963 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9965 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9967 * gdb.btrace/instruction_history.c (loop): Add declaration.
9969 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9971 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9973 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9975 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9976 parentheses to print.
9977 (continue_handler): Likewise.
9979 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9981 * gdb.server/solib-list.exp: Remove is_remote check.
9982 Pass shlib= to gdb_compile. Don't link shared library with
9983 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9984 Run binary filename through "readlink -f" on the target.
9986 2016-04-08 Pedro Alves <palves@redhat.com>
9988 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9989 interpreter filename as argument to gdbserver_spawn.
9990 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9991 Return empty if $last_loaded_file does not exist.
9993 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9995 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9996 * gdb.base/jit-main.c: Use exit after usage.
9998 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10000 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10001 GDBHISTSIZE prior to the tests.
10002 * gdb.base/gdbinit-history.exp: Likewise.
10004 2016-04-07 Pedro Alves <palves@redhat.com>
10006 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10007 instead of build_executable. Use gdb_load_shlibs.
10009 2016-04-07 Yao Qi <yao.qi@linaro.org>
10011 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10012 Execute "si" command.
10014 2016-04-07 Yao Qi <yao.qi@linaro.org>
10016 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10017 number instead of the comments on some line.
10019 2016-04-06 Don Breazeal <donb@codesourcery.com>
10021 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10022 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10024 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10026 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10027 standard_output_file. Remove unused binfile variable.
10029 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10031 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10032 * gdb.python/py-mi-objfile.exp: Match "list main" output
10035 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10037 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10040 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10042 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10044 * gdb.trace/ftrace.exp: Likewise.
10045 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10047 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10048 (gdb_load_shlibs): Copy libraries to test directory when testing
10049 natively. Only set solib-search-path if testing remotely.
10050 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10052 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10054 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10055 gdb_download. Use it even if the target is not remote.
10056 * gdb.base/jit.exp (compile_jit_test): Likewise.
10057 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10058 output directory if the destination board is local, otherwise use
10059 the standard remote_download from DejaGnu.
10060 (gdb_download): Remove.
10061 (gdb_load_shlibs): Use gdb_remote_download instead of
10063 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10064 Use gdb_remote_download instead of gdb_download. Use it even if
10065 the target is not remote.
10066 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10067 instead of gdb_download.
10069 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10071 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10072 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10075 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10078 * gdb.base/printcmds.exp: Add artificial arrays tests.
10080 2016-03-31 Pedro Alves <palves@redhat.com>
10083 * gdb.base/jit-main.c: Include unistd.h.
10084 (ATTACH): Define to 0 if not already defined.
10085 (wait_for_gdb, mypid): New globals.
10086 (WAIT_FOR_GDB): New macro.
10087 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10088 some breakpoint locations.
10089 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10091 (one_jit_test): Add REATTACH parameter, and handle it. Use
10092 continue_to_test_location.
10093 (top level): Test attach, and adjusts calls to one_jit_test.
10095 2016-03-31 Pedro Alves <palves@redhat.com>
10098 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10099 BINSUFFIX parameter, and handle it.
10100 (top level): Adjust calls compile_jit_test.
10102 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10105 * gdb.python/py-mi-events-gdb.py: New file.
10106 * gdb.python/py-mi-events.c: New file.
10107 * gdb.python/py-mi-events.exp: New file.
10109 2016-03-30 Yao Qi <yao.qi@linaro.org>
10111 * gdb.reverse/until-precsave.exp: Match function name only.
10112 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10113 Move malloc to a condition block.
10114 * gdb.reverse/until-reverse.exp: Match function name only.
10116 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10118 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10119 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10120 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10121 variable for GPR 0 instead of assuming it is register 0.
10122 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10123 * lib/trace-support.exp: Add s390 registers.
10125 2016-03-29 Yao Qi <yao.qi@linaro.org>
10127 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10129 2016-03-24 Yao Qi <yao.qi@linaro.org>
10131 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10134 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10136 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10137 maintaining separate logic for constructing the output path.
10139 2016-03-16 Don Breazeal <donb@codesourcery.com>
10141 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10142 Retry fork and waitpid on interrupted system call errors.
10143 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10144 Use with_timeout_factor to increase timeout by factor of 10.
10146 2016-03-15 Don Breazeal <donb@codesourcery.com>
10148 * gdb.cp/scope-err.cc: New test program.
10149 * gdb.cp/scope-err.exp: New test script.
10150 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10151 lines and "set breakpoint here" comment.
10152 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10153 Fixed some whitespace and format issues.
10154 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10155 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10157 2016-03-15 Doug Evans <dje@google.com>
10159 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10160 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10161 All callers updated. Add tests for enums, mixed flags register.
10163 2016-03-15 Doug Evans <dje@google.com>
10165 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10166 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10168 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10170 * gdb.base/default.exp: Add $_as_string to the list of expected
10171 convenience functions.
10173 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10175 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10177 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10179 * gdb.python/py-as-string.exp: New file.
10180 * gdb.python/py-as-string.c: New file.
10182 2016-03-09 Pedro Alves <palves@redhat.com>
10184 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10185 signal" -> "Thread NN received signal" output change.
10186 * gdb.threads/ia64-sigill.exp: Likewise.
10187 * gdb.threads/linux-dp.exp: Likewise.
10188 * gdb.threads/manythreads.exp: Likewise.
10189 * gdb.threads/pending-step.exp: Likewise.
10190 * gdb.threads/print-threads.exp: Likewise.
10191 * gdb.threads/sigstep-threads.exp: Likewise.
10192 * gdb.threads/staticthreads.exp: Likewise.
10193 * gdb.threads/tls.exp: Likewise.
10195 2016-03-09 Pedro Alves <palves@redhat.com>
10197 * gdb.base/command-line-input.exp: New file.
10199 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10201 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10202 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10203 * gdb.trace/pending.exp: Accept leading dot before function name.
10204 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10205 * lib/trace-support.exp: Set registers for ppc.
10207 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10209 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10210 use it for disassembly; accept .main in addition to main in backtrace.
10212 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10213 Marcin Kościelnicki <koriakin@0x04.net>
10215 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10216 (gdb_recursion_test_ptr): New global variable.
10217 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10218 gdb_recursion_test.
10219 (gdb_c_test): Ditto.
10221 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10223 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10226 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10228 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10229 (bar): Add bar_start_lbl label.
10230 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10231 of foo/bar for emitting DWARF and tracing.
10233 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10235 * analyze-racy-logs.py: Set executable bit.
10237 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10239 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10240 (CHECK_TARGET_TMP): Likewise.
10241 (check-single-racy): New rule.
10242 (check-parallel-racy): Likewise.
10243 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10244 (do-check-parallel-racy): New rule.
10245 (check-racy/%.exp): Likewise.
10246 * README (Racy testcases): New section.
10247 * analyze-racy-logs.py: New file.
10249 2016-03-03 Doug Evans <dje@google.com>
10251 * gdb.base/skip.exp: Use with_test_prefix.
10253 2016-03-03 Yao Qi <yao.qi@linaro.org>
10255 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10256 Invoke step_over_syscall "clone" and break_cond_on_syscall
10258 * gdb.base/step-over-clone.c: New file.
10260 2016-03-03 Yao Qi <yao.qi@linaro.org>
10262 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10265 2016-03-03 Yao Qi <yao.qi@linaro.org>
10267 * gdb.base/disp-step-fork.c: Rename to ...
10268 * gdb.base/step-over-fork.c: ... it. New file.
10269 * gdb.base/disp-step-vfork.c: Rename to ...
10270 * gdb.base/step-over-vfork.c: ... it. New file.
10271 * gdb.base/disp-step-syscall.exp: Rename to ...
10272 * gdb.base/step-over-syscall.exp: ... it. New file.
10273 (disp_step_cross_syscall): Rename to ...
10274 (step_over_syscall): ... it.
10276 2016-03-03 Yao Qi <yao.qi@linaro.org>
10278 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10279 If target supports condition evaluation on target, invoke
10280 break_cond_on_syscall for fork and vfork.
10282 2016-03-03 Yao Qi <yao.qi@linaro.org>
10284 * gdb.base/disp-step-syscall.exp: Don't invoke
10285 support_displaced_stepping.
10286 (disp_step_cross_syscall): Test with displaced stepping off and
10289 2016-03-03 Yao Qi <yao.qi@linaro.org>
10291 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10294 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10297 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10299 * gdb.fortran/vla-history.exp: Remove breakpoint.
10301 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10303 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10306 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10308 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10311 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10313 * gdb.mi/vla.f90: Nullify pointer after declaration.
10315 2016-03-01 Pedro Alves <palves@redhat.com>
10317 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10319 2016-03-01 Pedro Alves <palves@redhat.com>
10321 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10322 before anything else.
10323 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10325 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10326 before anything else.
10327 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10329 2016-03-01 Pedro Alves <palves@redhat.com>
10331 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10333 2016-03-01 Yao Qi <yao.qi@linaro.org>
10335 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10336 prepare_for_testing.
10338 2016-03-01 Yao Qi <yao.qi@linaro.org>
10340 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10342 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10344 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10345 manually constructing the output path.
10347 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10349 * gdb.arch/s390-stackless.S: New.
10350 * gdb.arch/s390-stackless.exp: New.
10352 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10354 * gdb.dlang/circular.c: New file.
10355 * gdb.dlang/circular.exp: New file.
10357 2016-02-26 Yao Qi <yao.qi@linaro.org>
10359 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10360 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10361 (testcases): Update.
10363 2016-02-26 Yao Qi <yao.qi@linaro.org>
10365 * gdb.reverse/aarch64.c: Rename to ...
10366 * gdb.reverse/insn-reverse.c: ... it.
10367 * gdb.reverse/aarch64.exp: Rename to ...
10368 * gdb.reverse/insn-reverse.exp: ... it.
10370 2016-02-26 Yao Qi <yao.qi@linaro.org>
10372 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10373 (testcase_ftype): New.
10374 (testcases): New array.
10375 (n_testcases): New.
10376 (main): Call each element in testcases.
10377 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10378 (read_testcase): New.
10379 Do the tests in a loop.
10381 2016-02-25 Yao Qi <yao.qi@linaro.org>
10383 * gdb.base/branches.c: Remove.
10385 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10388 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10390 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10392 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10394 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10396 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10397 change x86_64 call_insn to 'callq'.
10399 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10401 * gdb.trace/tfile-avx.c: Move to...
10402 * gdb.trace/tracefile-pseudo-reg.c: Here.
10403 * gdb.trace/tfile-avx.exp: Move to...
10404 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10406 2016-02-24 Gary Benson <gbenson@redhat.com>
10408 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10411 2016-02-23 Doug Evans <dje@google.com>
10413 * gdb.base/skip.c (test_skip): New function.
10414 (end_test_skip_file_and_function): New function.
10415 (test_skip_file_and_function): New function.
10416 * gdb.base/skip1.c (test_skip): New function.
10417 (skip1_test_skip_file_and_function): New function.
10418 * gdb.base/skip.exp: Add tests for new skip options.
10419 * gdb.base/skip-solib.exp: Update expected output.
10420 * gdb.perf/skip-command.cc: New file.
10421 * gdb.perf/skip-command.exp: New file.
10422 * gdb.perf/skip-command.py: New file.
10424 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10426 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10427 info registers pattern.
10429 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10431 * lib/future.exp: Add D support.
10432 (gdb_find_gdc): New proc.
10433 (gdb_default_target_compile): Add D support.
10435 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10437 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10439 (trace_speed_test): Determine the iteration count for a time
10440 between 15..30 seconds.
10442 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10444 * gdb.arch/i386-mpx-sigsegv.c: New file.
10445 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10446 * gdb.arch/i386-mpx-simple_segv.c: New file.
10447 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10449 2016-02-18 Yao Qi <yao.qi@linaro.org>
10451 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10452 Don't call setup_kfail.
10454 2016-02-18 Yao Qi <yao.qi@linaro.org>
10456 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10457 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10459 2016-02-16 Doug Evans <dje@google.com>
10461 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10462 * gdb.base/skip1.c: Ditto.
10463 * gdb.base/skip.exp: Whitespace cleanup.
10465 2016-02-16 Don Breazeal <donb@codesourcery.com>
10468 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10469 Remove kfail for PR remote/19496.
10471 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10473 * lib/gdb.exp (standard_temp_file): Return a path specific to
10474 the runtest invocation.
10476 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10478 * gdb.trace/save-trace.exp: Change relative path to be in the
10479 standard output directory.
10481 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10483 * gdb.arch/i386-prologue.c: Add missing prototypes.
10485 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10487 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10488 * gdb.arch/i386-prologue.exp: Likewise.
10489 * gdb.arch/i386-size.exp: Likewise.
10491 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10493 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10494 define object file path.
10495 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10497 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10498 standard_output_file to define binfile.
10500 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10502 Fix compatibility with recent gfortran-5.3.1.
10503 * gdb.fortran/vla-history.exp (print vla1 allocated)
10504 (print vla2 allocated, print $2, print $3): Remove
10505 (print $4): Rename to ...
10506 (print $2): ... here.
10507 (print $9): Rename to ...
10508 (print $5): ... here.
10509 (print $10): Rename to ...
10510 (print $6): ... here.
10511 * gdb.fortran/vla.f90: Add pvla initialization.
10513 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10515 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10517 * gdb.fortran/vla-value-sub.exp: Likewise.
10519 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10521 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10523 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10525 * i386-biarch-core.exp: Define corefile using
10526 standard_output_file.
10528 2016-02-12 Yao Qi <yao.qi@linaro.org>
10530 * gdb.arch/arm-single-step-kernel-helper.c: New.
10531 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10533 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10535 * gdb.btrace/tailcall-only.exp: New.
10536 * gdb.btrace/tailcall-only.c: New.
10537 * gdb.btrace/x86_64-tailcall-only.S: New.
10538 * gdb.btrace/i686-tailcall-only.S: New.
10540 2016-02-11 Pedro Alves <palves@redhat.com>
10542 * README (Parallel testing): Add missing double quotes.
10544 2016-02-11 Pedro Alves <palves@redhat.com>
10546 * README (Parallel testing): New section.
10547 (GDB_PARALLEL): Rewrite.
10548 (FORCE_PARALLEL): Document.
10550 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10552 * gdb.trace/tfile-avx.c: New test.
10553 * gdb.trace/tfile-avx.exp: New test.
10555 2016-02-09 Keith Seitz <keiths@redhat.com>
10557 PR breakpoints/19546
10558 * gdb.base/infcall-exec.c: New file.
10559 * gdb.base/infcall-exec2.c: New file.
10560 * gdb.base/infcall-exec.exp: New file.
10562 2016-02-09 Keith Seitz <keiths@redhat.com>
10564 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10565 (toplevel): Call test_bkpt_address.
10567 2016-02-09 Keith Seitz <keiths@redhat.com>
10570 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10571 (toplevel): Call test_bkpt_address.
10573 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10575 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10577 * configure: Regenerate.
10579 2016-02-09 Pedro Alves <palves@redhat.com>
10581 PR breakpoints/19548
10582 * gdb.base/execl-update-breakpoints.c (some_function): New
10585 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10586 Tighten expected GDB output.
10588 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10590 * Makefile.in (ALL_SUBDIRS): Remove.
10591 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10592 (distclean maintainer-clean realclean): Likewise.
10593 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10594 * configure: Regenerate.
10595 * gdb.ada/Makefile.in: Delete.
10596 * gdb.arch/Makefile.in: Likewise.
10597 * gdb.asm/Makefile.in: Likewise.
10598 * gdb.base/Makefile.in: Likewise.
10599 * gdb.btrace/Makefile.in: Likewise.
10600 * gdb.cell/Makefile.in: Likewise.
10601 * gdb.compile/Makefile.in: Likewise.
10602 * gdb.cp/Makefile.in: Likewise.
10603 * gdb.disasm/Makefile.in: Likewise.
10604 * gdb.dlang/Makefile.in: Likewise.
10605 * gdb.dwarf2/Makefile.in: Likewise.
10606 * gdb.fortran/Makefile.in: Likewise.
10607 * gdb.gdb/Makefile.in: Likewise.
10608 * gdb.go/Makefile.in: Likewise.
10609 * gdb.guile/Makefile.in: Likewise.
10610 * gdb.java/Makefile.in: Likewise.
10611 * gdb.linespec/Makefile.in: Likewise.
10612 * gdb.mi/Makefile.in: Likewise.
10613 * gdb.modula2/Makefile.in: Likewise.
10614 * gdb.multi/Makefile.in: Likewise.
10615 * gdb.objc/Makefile.in: Likewise.
10616 * gdb.opencl/Makefile.in: Likewise.
10617 * gdb.opt/Makefile.in: Likewise.
10618 * gdb.pascal/Makefile.in: Likewise.
10619 * gdb.perf/Makefile.in: Likewise.
10620 * gdb.python/Makefile.in: Likewise.
10621 * gdb.reverse/Makefile.in: Likewise.
10622 * gdb.server/Makefile.in: Likewise.
10623 * gdb.stabs/Makefile.in: Likewise.
10624 * gdb.threads/Makefile.in: Likewise.
10625 * gdb.trace/Makefile.in: Likewise.
10626 * gdb.xml/Makefile.in: Likewise.
10627 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10629 (standard_output_file): Remove check for GDB_PARALLEL, always
10630 return path in outputs/$subdir/$testname.
10632 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10634 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10635 (site.exp): Assign abs_srcdir to tcl's srcdir.
10637 2016-02-04 Yao Qi <yao.qi@linaro.org>
10639 * gdb.base/foll-exec-mode.c: Include limits.h.
10640 (main): Add parameters argc and argv. Get directory from
10642 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10644 * gdb.base/foll-exec.c: Include limits.h.
10645 (main): Add parameters argc and argv.
10646 Get directory from argv[0].
10647 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10648 Adjust tests on the number of lines as source code changed.
10649 * gdb.base/foll-vfork-exit.c: Include limits.h.
10650 (main): Add one line of statement before vfork.
10651 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10652 (main): Add parameters argc and argv. Get directory from
10654 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10655 (setup_gdb): Set tbreak to skip some source lines.
10656 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10657 (main): Add parameters argc and argv. Get directory from
10659 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10661 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10662 (main): Add parameters argc and argv. Get directory from
10664 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10667 2016-02-01 Doug Evans <dje@google.com>
10669 * gdb.base/skip.exp: Clean up multiple references to same test name.
10671 2016-02-01 Pedro Alves <palves@redhat.com>
10674 * gdb.threads/forking-threads-plus-breakpoint.exp
10675 (displaced_stepping_supported): New global.
10676 (probe_displaced_stepping_support): New procedure.
10677 (do_test): Add 'displaced' parameter, and use it.
10678 (top level): Check for displaced stepping support. Add displaced
10679 stepping on/off testing axis.
10681 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10683 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10684 pointer. Don't perform further tests on the unassociated pointer
10685 if the first test fails.
10687 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10689 * gdb.base/max-value-size.c: New file.
10690 * gdb.base/max-value-size.exp: New file.
10691 * gdb.base/huge.exp: Disable max-value-size for this test.
10693 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10695 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10697 2016-01-28 Yao Qi <yao.qi@linaro.org>
10699 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10701 2016-01-25 Pedro Alves <palves@redhat.com>
10704 * gdb.base/fork-running-state.c: New file.
10705 * gdb.base/fork-running-state.exp: New file.
10707 2016-01-25 Pedro Alves <palves@redhat.com>
10710 * gdb.base/catch-fork-kill.c: New file.
10711 * gdb.base/catch-fork-kill.exp: New file.
10713 2016-01-25 Pedro Alves <palves@redhat.com>
10715 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10716 Delete, moved to lib/gdb.exp.
10717 * gdb.threads/forking-threads-plus-breakpoint.exp
10718 (foreach_with_prefix): Likewise.
10719 * gdb.threads/process-dies-while-handling-bp.exp
10720 (foreach_with_prefix): Likewise.
10721 * lib/gdb.exp (foreach_with_prefix): New procedure.
10723 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10725 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10726 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10728 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10730 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10733 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10734 Pedro Alves <palves@redhat.com>
10736 Fix testsuite compatibility with Guile.
10737 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10740 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10742 Fix testsuite compatibility with Guile.
10743 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10744 (thread 1): New test for backtrace through signal handler.
10746 2016-01-22 Yao Qi <yao.qi@linaro.org>
10749 * gdb.base/multi-forks.c: Include
10750 ../lib/unbuffer_output.c
10751 (main): Call gdb_unbuffer_output.
10753 2016-01-21 Doug Evans <dje@google.com>
10755 * lib/ada.exp (gdb_compile_ada): Fix typo.
10757 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10759 * gdb.base/break-fun-addr.exp: New file.
10760 * gdb.base/break-fun-addr1.c: New file.
10761 * gdb.base/break-fun-addr2.c: New file.
10763 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10765 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10766 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10769 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10771 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10772 when GDB can not set the vector return value. Add more comments
10775 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10777 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10780 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10782 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10784 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10786 * Makefile.in (check-single): Pass --status to runtest.
10787 (check/%.exp): Likewise.
10789 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10791 * Makefile.in (check-parallel): Propagate return code from make
10794 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10796 * gdb.trace/ftrace.exp: Fix expected message on continue.
10797 * gdb.trace/pending.exp: Fix expected message on continue.
10798 * gdb.trace/trace-break.exp: Fix expected message on continue.
10800 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10802 * lib/gdb.exp (gdb_test): Remove unused global references.
10804 2016-01-18 Pedro Alves <palves@redhat.com>
10806 * gdb.base/async-shell.exp: Adjust expected output.
10807 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10808 * gdb.base/siginfo-thread.exp: Adjust expected output.
10809 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10810 * gdb.java/jnpe.exp: Adjust expected output.
10811 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10812 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10813 * gdb.threads/leader-exit.exp: Adjust expected output.
10814 * gdb.threads/manythreads.exp: Adjust expected output.
10815 * gdb.threads/pthreads.exp: Adjust expected output.
10816 * gdb.threads/schedlock.exp: Adjust expected output.
10817 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10818 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10820 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10822 * gdb.threads/sigthread.exp: Adjust expected output.
10823 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10825 2016-01-18 Yao Qi <yao.qi@linaro.org>
10827 * gdb.guile/scm-section-script.c: Replace @progbits with
10829 * gdb.python/py-section-script.c: Likewise.
10831 2016-01-15 Pedro Alves <palves@redhat.com>
10833 * gdb.multi/tids.exp: Test star wildcard ranges.
10835 2016-01-15 Pedro Alves <palves@redhat.com>
10837 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10838 command from "thread apply" invocation.
10839 (thr_apply_info_thr_invalid): Default the expected output to the
10841 (top level): Add tests that use convenience variables. Add tests
10842 for "thread apply" with a valid TID list, but missing the command.
10844 2016-01-13 Pedro Alves <palves@redhat.com>
10846 * gdb.base/default.exp: Expect $_gthread as well.
10847 * gdb.multi/tids.exp: Test $_gthread.
10848 * gdb.threads/thread-specific.exp: Test $_gthread.
10850 2016-01-13 Pedro Alves <palves@redhat.com>
10852 * gdb.multi/tids.exp: Test "info threads -gid".
10854 2016-01-13 Pedro Alves <palves@redhat.com>
10856 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10858 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10860 2016-01-07 Pedro Alves <palves@redhat.com>
10862 * gdb.base/break.exp: Adjust to output changes.
10863 * gdb.base/hbreak2.exp: Likewise.
10864 * gdb.base/sepdebug.exp: Likewise.
10865 * gdb.base/watch_thread_num.exp: Likewise.
10866 * gdb.linespec/keywords.exp: Likewise.
10867 * gdb.multi/info-threads.exp: Likewise.
10868 * gdb.threads/thread-find.exp: Likewise.
10869 * gdb.multi/tids.c: New file.
10870 * gdb.multi/tids.exp: New file.
10872 2016-01-13 Pedro Alves <palves@redhat.com>
10874 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10876 2016-01-13 Pedro Alves <palves@redhat.com>
10878 * gdb.base/default.exp: Expect $_inferior as well.
10879 * gdb.multi/base.exp: Test $_inferior.
10881 2016-01-13 Pedro Alves <palves@redhat.com>
10883 PR breakpoints/19388
10884 * gdb.base/catch-signal-siginfo-cond.c: New file.
10885 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10887 2016-01-12 Josh Stone <jistone@redhat.com>
10888 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10890 * gdb.base/catch-syscall.c (do_execve): New variable.
10891 (main): Conditionally trigger an execve.
10892 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10893 (test_catch_syscall_execve): New, check entry/return across execve.
10894 (do_syscall_tests): Call test_catch_syscall_execve.
10896 2016-01-12 Pedro Alves <palves@redhat.com>
10898 * gdb.base/random-signal.exp (do_test): New procedure, with body
10899 of testcase moved in.
10901 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10902 Pedro Alves <palves@redhat.com>
10904 * gdb.base/funcargs.exp (finish from indirectly called function):
10905 Reintroduce the case for 'First'.
10907 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10908 Pedro Alves <palves@redhat.com>
10910 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10911 (tcatch_vfork_then_child_follow_exec)
10912 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10915 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10917 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10918 and repeats to unlimited.
10919 * gdb.python/py-value.exp: Likewise.
10920 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10921 and repeats to unlimited.
10923 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10925 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10926 and reordering the functions.
10927 * gdb.multi/hangout.c: Likewise.
10928 * gdb.multi/hello.c: Likewise.
10930 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10932 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10934 (SingleStatisticTestResult.report): Use dict.keys instead of
10937 2016-01-06 Pedro Alves <palves@redhat.com>
10939 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10941 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10943 * gdb.btrace/dlopen.exp: New.
10944 * gdb.btrace/dlopen.c: New.
10945 * gdb.btrace/dlopen-dso.c: New.
10947 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10949 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10950 PATTERN argument is optional.
10952 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10954 * lib/ada.exp (target_compile_ada_from_dir): New function.
10955 (gdb_compile_ada): Reimplement avoiding the use of project files.
10956 * gdb.ada/gnat_ada.gpr: Delete.
10957 * gdb.ada/cond_lang.exp: Adjust test to make path before
10959 * gdb.ada/small_reg_param.exp: Likewise.
10961 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10963 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10965 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10967 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10970 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10972 * gdb.base/break.exp: Remove dead code.
10973 * gdb.base/sepdebug.exp: Likewise.
10975 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10977 * gdb.asm/asm-source.exp: Remove HP-UX references.
10978 * gdb.base/annota1.exp: Likewise.
10979 * gdb.base/annota3.exp: Likewise.
10980 * gdb.base/attach.exp: Likewise.
10981 * gdb.base/bigcore.exp: Likewise.
10982 * gdb.base/break.exp: Likewise.
10983 * gdb.base/call-ar-st.exp: Likewise.
10984 * gdb.base/callfuncs.exp: Likewise.
10985 * gdb.base/catch-fork-static.exp: Likewise.
10986 * gdb.base/display.exp: Likewise.
10987 * gdb.base/foll-exec-mode.exp: Likewise.
10988 * gdb.base/foll-exec.exp: Likewise.
10989 * gdb.base/foll-fork.exp: Likewise.
10990 * gdb.base/foll-vfork.exp: Likewise.
10991 * gdb.base/funcargs.exp: Likewise.
10992 * gdb.base/hbreak2.exp: Likewise.
10993 * gdb.base/inferior-died.exp: Likewise.
10994 * gdb.base/interrupt.exp: Likewise.
10995 * gdb.base/multi-forks.exp: Likewise.
10996 * gdb.base/nodebug.exp: Likewise.
10997 * gdb.base/sepdebug.exp: Likewise.
10998 * gdb.base/solib1.c: Likewise.
10999 * gdb.base/step-test.exp: Likewise.
11000 * gdb.mi/non-stop.c: Likewise.
11001 * gdb.mi/pthreads.c: Likewise.
11002 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11003 * gdb.threads/pthreads.c: Likewise.
11004 * gdb.threads/staticthreads.exp: Likewise.
11005 * lib/future.exp: Likewise.
11006 * lib/gdb.exp: Likewise.
11007 * gdb.base/so-indr-cl.c: Remove.
11008 * gdb.base/so-indr-cl.exp: Likewise.
11009 * gdb.base/solib.c: Likewise.
11010 * gdb.base/solib.exp: Likewise.
11011 * gdb.base/solib2.c: Likewise.
11013 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11015 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11016 * gdb.base/call-ar-st.exp: Likewise.
11017 * gdb.base/callfuncs.exp: Likewise.
11018 * gdb.base/condbreak.exp: Likewise.
11019 * gdb.base/constvars.exp: Likewise.
11020 * gdb.base/hbreak2.exp: Likewise.
11021 * gdb.base/langs.exp: Likewise.
11022 * gdb.base/list.exp: Likewise.
11023 * gdb.base/long_long.exp: Likewise.
11024 * gdb.base/ptype.exp: Likewise.
11025 * gdb.base/scope.exp: Likewise.
11026 * gdb.base/signals.exp: Likewise.
11027 * gdb.base/so-impl-ld.exp: Likewise.
11028 * gdb.base/varargs.exp: Likewise.
11029 * gdb.base/volatile.exp: Likewise.
11030 * gdb.base/whatis.exp: Likewise.
11031 * gdb.cp/cplusfuncs.exp: Likewise.
11032 * gdb.cp/inherit.exp: Likewise.
11033 * gdb.cp/local.exp: Likewise.
11034 * gdb.cp/member-ptr.exp: Likewise.
11035 * gdb.cp/method.exp: Likewise.
11036 * gdb.cp/overload.exp: Likewise.
11037 * gdb.cp/templates.exp: Likewise.
11038 * gdb.stabs/weird.exp: Likewise.
11039 * lib/compiler.c: Likewise.
11040 * lib/compiler.cc: Likewise.
11041 * lib/cp-support.exp: Likewise.
11042 * lib/gdb.exp: Likewise.
11044 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11046 * configure.ac: Remove HP-UX case.
11047 * configure: Regenerate.
11049 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11051 * lib/gdb.exp (gdb_compile): Add function doc.
11053 2015-12-17 Pedro Alves <palves@redhat.com>
11056 * gdb.multi/info-threads.exp: New file.
11058 2015-12-15 Yao Qi <yao.qi@linaro.org>
11060 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11063 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11065 * gdb.base/history-duplicates.exp: Skip if no readline support.
11067 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11069 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11071 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11073 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11075 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11077 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11078 ctrl-C if nointerrupts target property is set.
11079 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11080 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11081 * gdb.base/paginate-bg-execution.exp: Likewise.
11082 * gdb.base/paginate-execution-startup.exp: Likewise.
11083 * gdb.base/random-signal.exp: Likewise.
11084 * gdb.base/range-stepping.exp: Likewise.
11085 * gdb.cp/annota2.exp: Likewise.
11086 * gdb.cp/annota3.exp: Likewise.
11087 * gdb.gdb/selftest.exp: Likewise.
11088 * gdb.threads/continue-pending-status.exp: Likewise.
11089 * gdb.threads/leader-exit.exp: Likewise.
11090 * gdb.threads/manythreads.exp: Likewise.
11091 * gdb.threads/pthreads.exp: Likewise.
11092 * gdb.threads/schedlock.exp: Likewise.
11093 * gdb.threads/sigthread.exp: Likewise.
11095 2015-12-11 Don Breazeal <donb@codesourcery.com>
11097 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11099 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11100 * gdb.base/foll-exec.exp (main): Enable for target remote.
11101 * gdb.base/foll-fork.exp (main): Likewise.
11102 * gdb.base/foll-vfork.exp (main): Likewise.
11103 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11104 (proc continue_to_exit_bp_loc): Use clean_restart.
11105 * gdb.base/pie-execl.exp (main): Disable for target remote.
11106 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11107 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11108 * gdb.threads/execl.exp (main): Likewise.
11109 * gdb.threads/fork-child-threads.exp (main): Likewise.
11110 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11112 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11114 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11115 pid.tid style ptids, instead of just tid.
11116 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11117 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11118 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11119 ptids, instead of just tid.
11121 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11123 * gdb.base/list.exp (test_list_forward): Add end of file error
11125 (test_repeat_list_command): Add end of file error test.
11126 (test_list_backwards): Add beginning of file error test.
11128 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11130 * gdb.base/list.exp (test_list_invalid_args): New function,
11131 defined, and called.
11133 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11135 * gdb.base/list.exp (test_list): Make test names unique.
11137 2015-12-11 Yao Qi <yao.qi@linaro.org>
11139 * gdb.base/coremaker2.c: Remove.
11141 2015-12-10 Pedro Alves <palves@redhat.com>
11143 * gdb.multi/base.exp: Remove stale "spaces" references.
11145 2015-12-10 Pedro Alves <palves@redhat.com>
11147 * gdb.multi/base.exp: Don't use nowarnings.
11148 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11149 * gdb.multi/hangout.c: Include stdio.h.
11150 * gdb.multi/hello.c: Include stdlib.h.
11151 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11152 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11153 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11155 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11157 * gdb.dwarf2/dw2-ranges-base.c: New file.
11158 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11159 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11160 support additional line table, and debug ranges generation.
11161 (Dwarf::ranges): New function, generate .debug_ranges.
11162 (Dwarf::lines): Support generating simple line table programs.
11163 (Dwarf::assemble): Initialise new namespace variables.
11165 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11167 * gdb.base/async.exp (proc test_background): Add case for
11168 asynchronous execution not supported.
11170 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11172 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11173 format and change test names to make them unique.
11175 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11176 Pedro Alves <pedro@redhat.com>
11179 Add checking of floatformats setup on x86_64 hosts.
11180 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11181 (smallval, bigval): New labels/constants.
11182 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11183 float" after loading bigval and smallval.
11185 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11187 * gdb.ada/fun_overload_menu.exp: New testcase.
11188 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11190 2015-12-04 Josh Stone <jistone@redhat.com>
11192 * gdb.base/catch-fork-static.exp: New.
11194 2015-12-03 Yao Qi <yao.qi@linaro.org>
11196 * gdb.base/sizeof.c: Don't include stdio.h and
11197 ../lib/unbuffer_output.c.
11198 (main): New variable 'size' and 'value'. Remove printf and
11199 gdb_unbuffer_output. Assign return value to size and value.
11200 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11202 (check_sizeof): Check the result by printing variable 'size'.
11203 (check_valueof): Check the result by printing variable 'value'.
11205 2015-12-01 Yao Qi <yao.qi@linaro.org>
11207 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11208 for aarch64*-*-linux* target.
11210 2015-11-30 Pedro Alves <palves@redhat.com>
11212 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11214 2015-11-30 Pedro Alves <palves@redhat.com>
11216 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11217 Handle non-stop mode vCont replies.
11219 2015-11-30 Pedro Alves <palves@redhat.com>
11221 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11222 prepare_for_testing. Start gdb with "set non-stop on" appended to
11223 GDBFLAGS. Lax expected stop output.
11225 2015-11-27 Yao Qi <yao.qi@linaro.org>
11227 * gdb.arch/arm-neon.exp: New.
11228 * gdb.arch/arm-neon.c: New.
11230 2015-11-27 Yao Qi <yao.qi@linaro.org>
11232 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11234 2015-11-27 Yao Qi <yao.qi@linaro.org>
11236 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11237 frames-invalid annotation.
11239 2015-11-27 Yao Qi <yao.qi@linaro.org>
11241 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11243 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11245 * gdb.threads/names.exp: New file.
11246 * gdb.threads/names.c: New file.
11247 * README: Mention gdb,no_thread_names.
11249 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11252 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11255 2015-11-24 Pedro Alves <palves@redhat.com>
11258 * gdb.base/display.exp: Expect displays to be sorted in ascending
11259 order. Use multi_line.
11260 * gdb.base/solib-display.exp: Likewise.
11262 2015-11-24 Pedro Alves <palves@redhat.com>
11265 * gdb.base/display.exp: Expect displays to be sorted in ascending
11266 order. Use multi_line.
11267 * gdb.base/solib-display.exp: Likewise.
11269 2015-11-24 Pedro Alves <palves@redhat.com>
11272 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11273 threads in ascending order.
11274 * gdb.base/foll-fork.exp: Likewise.
11275 * gdb.base/foll-vfork.exp: Likewise.
11276 * gdb.base/multi-forks.exp: Likewise.
11277 * gdb.mi/mi-nonstop.exp: Likewise.
11278 * gdb.mi/mi-nsintrall.exp: Likewise.
11279 * gdb.multi/base.exp: Likewise.
11280 * gdb.multi/multi-arch.exp: Likewise.
11281 * gdb.python/py-inferior.exp: Likewise.
11282 * gdb.threads/break-while-running.exp: Likewise.
11283 * gdb.threads/execl.exp: Likewise.
11284 * gdb.threads/gcore-thread.exp: Likewise.
11285 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11286 * gdb.threads/kill.exp: Likewise.
11287 * gdb.threads/linux-dp.exp: Likewise.
11288 * gdb.threads/multiple-step-overs.exp: Likewise.
11289 * gdb.threads/next-bp-other-thread.exp: Likewise.
11290 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11291 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11292 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11293 * gdb.threads/thread-find.exp: Likewise.
11294 * gdb.threads/tls.exp: Likewise.
11295 * lib/mi-support.exp (mi_reverse_list): Delete.
11296 (mi_check_thread_states): No longer reverse list.
11298 2015-11-24 Pedro Alves <palves@redhat.com>
11300 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11303 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11305 * gdb.trace/actions.c: Include trace-common.h.
11306 (main): Add a location for a fast tracepoint.
11307 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11308 the normal tracepoints.
11309 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11311 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11313 * save-trace.exp: Factor out code to these...
11314 (gdb_save_tracepoints): New.
11315 (gdb_load_tracepoints): New.
11316 (do_save_load_test): New.
11318 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11320 * gdb.base/asmlabel.exp: New test.
11321 * gdb.base/asmlabel.c: New test case.
11323 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11325 * gdb.base/wrong_frame_bt_full-main.c: New file.
11326 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11327 * gdb.base/wrong_frame_bt_full.exp: New file.
11329 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11331 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11333 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11335 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11336 pstate register when comparing registers values in
11337 sparc64-*-linux-gnu targets to avoid spurious differences.
11339 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11341 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11343 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11345 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11346 as type argument to gdb_compile.
11347 * gdb.base/nested-subp2.exp: Likewise.
11348 * gdb.base/nested-subp3.exp: Likewise.
11350 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11352 * lib/dwarf.exp (_note): Fix left shift of negative value.
11353 * gdb.trace/trace-condition.exp: Likewise.
11355 2015-11-13 Yao Qi <yao.qi@linaro.org>
11357 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11358 comments about d10v.
11359 (test_scalar_returns): Likewise.
11360 * gdb.base/d10v.ld: Remove.
11361 * gdb.base/overlays.exp: Remove the target triplet checking for
11363 * gdb.base/structs.exp (test_struct_returns): Remove the
11364 comments about d10v.
11365 (test_struct_calls): Likewise.
11367 2015-11-13 Yao Qi <yao.qi@linaro.org>
11369 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11370 * gdb.base/gnu_vector.c: Don't include stdio.h.
11371 (main): Don't print res and call add_some_intvecs.
11373 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11375 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11378 (func4): Use FAST_TRACEPOINT_LABEL.
11379 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11382 (thread_function): Use FAST_TRACEPOINT_LABEL.
11383 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11385 (marker): Use FAST_TRACEPOINT_LABEL.
11386 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11387 (pendfunc1): Remove.
11388 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11389 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11391 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11392 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11395 (marker): Use FAST_TRACEPOINT_LABEL.
11396 * gdb.trace/trace-common.h: New header.
11397 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11400 (marker): Use FAST_TRACEPOINT_LABEL.
11401 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11403 (thread_function): Use FAST_TRACEPOINT_LABEL.
11405 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11407 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11409 * gdb.trace/change-loc.exp: Use global pcreg definition.
11410 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11411 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11413 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11414 * gdb.trace/pending.exp: Likewise.
11415 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11416 * gdb.trace/trace-break.exp: Likewise.
11417 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11419 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11420 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11422 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11424 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11426 * gdb.ada/fin_fun_out: New testcase.
11428 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11430 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11431 value associated with DW_AT_byte_size.
11432 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11433 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11436 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11438 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11439 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11441 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11442 gdb.dwarf2/dw2-canonicalize-type.exp,
11443 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11444 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11445 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11446 provided by gdb_target_symbol_prefix_flags_asm.
11447 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11448 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11449 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11450 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11451 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11452 macros where needed). Use this macro for symbols which require
11453 the prefix provided by SYMBOL_PREFIX.
11455 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11457 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11459 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11460 representing expressions, of more than one list element.
11461 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11462 to prepend linker symbol prefix to f.
11463 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11464 table_1 and table_2.
11465 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11466 Likewise, for f and g.
11467 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11469 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11471 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11472 table_1_ptr and table_2_ptr.
11474 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11475 Joel Brobecker <brobecker@adacore.com>
11477 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11479 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11481 * gdb.reverse/s390-mvcle.c: New test.
11482 * gdb.reverse/s390-mvcle.exp: New file.
11483 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11485 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11487 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11489 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11491 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11493 * gdb.reverse/getresuid-reverse.exp: Likewise.
11494 * gdb.reverse/pipe-reverse.exp: Likewise.
11495 * gdb.reverse/readv-reverse.exp: Likewise.
11496 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11497 * gdb.reverse/time-reverse.exp: Likewise.
11498 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11500 2015-10-30 Yao Qi <yao.qi@linaro.org>
11502 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11503 (empty_cycle): Remove.
11504 (main): Don't call empty_cycle. Don't use watch_count_done.
11505 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11506 empty_cycle. Rewrite the code counting HW watchpoints.
11508 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11510 * gdb.reverse/fstatat-reverse.c: New test.
11511 * gdb.reverse/fstatat-reverse.exp: New file.
11512 * gdb.reverse/getresuid-reverse.c: New test.
11513 * gdb.reverse/getresuid-reverse.exp: New file.
11514 * gdb.reverse/pipe-reverse.c: New test.
11515 * gdb.reverse/pipe-reverse.exp: New file.
11516 * gdb.reverse/readv-reverse.c: New test.
11517 * gdb.reverse/readv-reverse.exp: New file.
11518 * gdb.reverse/recvmsg-reverse.c: New test.
11519 * gdb.reverse/recvmsg-reverse.exp: New file.
11520 * gdb.reverse/time-reverse.c: New test.
11521 * gdb.reverse/time-reverse.exp: New file.
11522 * gdb.reverse/waitpid-reverse.c: New test.
11523 * gdb.reverse/waitpid-reverse.exp: New file.
11525 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11527 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11529 2015-10-26 Doug Evans <dje@google.com>
11532 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11533 * gdb.dwarf2/bad-regnum.c: New file.
11534 * gdb.dwarf2/bad-regnum.exp: New file.
11536 2015-10-26 Doug Evans <dje@google.com>
11539 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11542 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11544 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11545 for a change by "Mention language in compile error message".
11547 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11550 * gdb.python/py-type.c (C::a_method): New.
11551 (C::a_const_method): New.
11552 (C::a_static_method): New.
11554 * gdb.python/py-type.exp (test_fields): Test getting fields
11555 from function and method.
11557 2015-10-21 Keven Boell <keven.boell@intel.com>
11559 * gdb.fortran/vla-alloc-assoc.exp: New file.
11560 * gdb.fortran/vla-datatypes.exp: New file.
11561 * gdb.fortran/vla-datatypes.f90: New file.
11562 * gdb.fortran/vla-history.exp: New file.
11563 * gdb.fortran/vla-ptype-sub.exp: New file.
11564 * gdb.fortran/vla-ptype.exp: New file.
11565 * gdb.fortran/vla-sizeof.exp: New file.
11566 * gdb.fortran/vla-sub.f90: New file.
11567 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11568 * gdb.fortran/vla-value-sub-finish.exp: New file.
11569 * gdb.fortran/vla-value-sub.exp: New file.
11570 * gdb.fortran/vla-value.exp: New file.
11571 * gdb.fortran/vla-ptr-info.exp: New file.
11572 * gdb.mi/mi-vla-fortran.exp: New file.
11573 * gdb.mi/vla.f90: New file.
11575 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11577 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11578 of hardwired timeout value.
11580 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11581 Pedro Alves <palves@redhat.com>
11583 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11584 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11586 2015-10-19 Josh Stone <jistone@redhat.com>
11588 * gdb.base/catch-syscall.c: Include <sched.h>.
11589 (unknown_syscall): New variable.
11590 (main): Trigger a vfork and an unknown syscall.
11591 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11592 (unknown_syscall_number): Likewise.
11593 (check_call_to_syscall): Accept an optional syscall pattern.
11594 (check_return_from_syscall): Likewise.
11595 (check_continue): Likewise.
11596 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11597 (test_catch_syscall_skipping_return): New test toggling off 'catch
11598 syscall' to step over the syscall return, then toggling back on.
11599 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11600 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11601 (do_syscall_tests): Call test_catch_syscall_without_args and
11602 test_catch_syscall_mid_vfork.
11603 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11604 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11606 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11608 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11609 print g_vE): Add new pass patterns.
11610 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11611 print various symbol names for vptr fields.
11613 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11615 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11618 2015-10-12 Yao Qi <yao.qi@linaro.org>
11620 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11622 2015-10-12 Yao Qi <yao.qi@linaro.org>
11624 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11625 is aarch64*-*-linux*.
11627 2015-10-12 Yao Qi <yao.qi@linaro.org>
11629 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11630 (can_relocate_bcond_true): ... it.
11631 (can_relocate_bcond_false): New function.
11633 (can_relocate_bl): Likewise.
11634 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11637 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11639 * gdb.base/nested-addr.c: New file.
11640 * gdb.base/nested-addr.exp: New testcase.
11642 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11644 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11645 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11646 its output. Ignore the output of "record goto begin" and instead
11647 check that GDB is replaying.
11649 2015-10-09 Pedro Alves <palves@redhat.com>
11651 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11652 (top level): Use it in the run with no args test.
11654 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11656 * gdb.dlang/properties.exp: New file.
11658 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11660 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11661 whether or not address 0x1000 is mapped on the target.
11663 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11665 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11668 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11670 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11671 instruction-history test.
11673 2015-09-28 Doug Evans <dje@google.com>
11675 * gdb.base/gcore.c (array_func): Add reference to static_array.
11677 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11679 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11682 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11684 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11685 short or char as base type.
11687 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11689 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11690 to allow any size enum.
11692 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11694 * gdb.ada/array_ptr_renaming.exp: New testcase.
11695 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11696 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11698 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11700 * gdb.trace/ftrace-lock.c: New file.
11701 * gdb.trace/ftrace-lock.exp: New file.
11703 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11705 * gdb.arch/insn-reloc.c: New file.
11706 * gdb.arch/ftrace-insn-reloc.exp: New file.
11708 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11710 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11712 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11713 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11714 * gdb.trace/range-stepping.c: Likewise.
11715 * gdb.trace/trace-break.c: Likewise.
11716 * gdb.trace/trace-mt.c (thread_function): Likewise.
11717 * gdb.trace/ftrace.c (marker): Likewise.
11718 * gdb.trace/trace-condition.c (marker): Likewise.
11719 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11720 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11723 2015-09-18 Doug Evans <xdje42@gmail.com>
11725 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11726 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11728 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11730 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11733 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11735 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11736 the pending breakpoint. Remove timeout override for "Run till
11737 MI pending breakpoint on pendfunc3 on thread 2" test.
11739 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11741 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11744 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11746 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11747 in breakpoint filename pattern.
11749 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11751 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11753 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11755 * gdb.linespec/explicit.exp: Check for readline support for
11756 tab-completion tests. Fix obvious typo.
11758 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11760 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11763 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11765 * gdb.btrace/non-stop.c: New.
11766 * gdb.btrace/non-stop.exp: New.
11768 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11769 Yao Qi <yao.qi@linaro.org>
11771 * gdb.trace/trace-condition.c: New file.
11772 * gdb.trace/trace-condition.exp: New file.
11774 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11776 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11777 for testing bytecode compilation.
11779 2015-09-16 Pedro Alves <palves@redhat.com>
11780 Sandra Loosemore <sandra@codesourcery.com>
11782 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11783 (SECONDS): Redefine.
11784 (main): Call pthread_kill and alarm early.
11785 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11787 (test): If the target can't hardware step and doesn't support
11788 displaced stepping, increase the timeout.
11790 2015-09-16 Pedro Alves <palves@redhat.com>
11792 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11793 (enable_debug): New procedures.
11794 (test): Use them. Bail out if waiting for threads fails.
11795 (top level): Bail out if a test fails.
11797 2015-09-16 Yao Qi <yao.qi@linaro.org>
11799 * gdb.asm/asm-source.exp: Set asm-arch for
11800 aarch64*-*-* target.
11801 * gdb.asm/aarch64.inc: New file.
11803 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11805 * gdb.ada/array_of_variable_length.exp: New testcase.
11806 * gdb.ada/array_of_variable_length/foo.adb: New file.
11807 * gdb.ada/array_of_variable_length/pck.adb: New file.
11808 * gdb.ada/array_of_variable_length/pck.ads: New file.
11810 2015-09-15 Doug Evans <dje@google.com>
11812 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11813 of function static local variable.
11815 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11817 * gdb.threads/tls-so_extern.exp: New test file.
11818 * gdb.threads/tls-so_extern.c: New test file.
11819 * gdb.threads/tls-so_extern_main.c: New test file.
11821 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11823 * gdb.opt/solib-intra-step-lib.c: New file.
11824 * gdb.opt/solib-intra-step-main.c: New file.
11825 * gdb.opt/solib-intra-step.exp: New file.
11827 2015-09-15 Pedro Alves <palves@redhat.com>
11829 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11830 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11832 2015-09-14 Pedro Alves <palves@redhat.com>
11834 * gdb.base/hook-stop-continue.c: Delete.
11835 * gdb.base/hook-stop-continue.exp: Delete.
11836 * gdb.base/hook-stop-frame.c: Delete.
11837 * gdb.base/hook-stop-frame.exp: Delete.
11838 * gdb.base/hook-stop.c: New file.
11839 * gdb.base/hook-stop.exp: New file.
11841 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11843 * gdb.ada/access_to_packed_array.exp: New testcase.
11844 * gdb.ada/access_to_packed_array/foo.adb: New file.
11845 * gdb.ada/access_to_packed_array/pack.adb: New file.
11846 * gdb.ada/access_to_packed_array/pack.ads: New file.
11848 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11850 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11853 2015-09-11 Don Breazeal <donb@codesourcery.com>
11855 * gdb.base/foll-exec.c: Add copyright header. Fix
11857 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11858 (do_exec_tests): Use clean_restart in place of zap_session,
11859 and for test initialization. Fix formatting issues. Use
11860 fail in place of perror.
11861 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11862 an expect statement to match an expression with output from
11863 the program under debug.
11864 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11865 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11866 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11867 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11868 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11870 2015-09-09 Doug Evans <dje@google.com>
11872 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11874 2015-09-09 Doug Evans <dje@google.com>
11876 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11878 2015-09-09 Doug Evans <dje@google.com>
11880 * gdb.base/savedregs.exp: Fix typo.
11882 2015-09-09 Pedro Alves <palves@redhat.com>
11884 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11886 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11888 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11889 command actually switches threads. Give up on remaining
11890 tests if target fails to stop at breakpoint.
11892 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11894 * gdb.ada/funcall_char.exp: New testcase.
11895 * gdb.ada/funcall_char/foo.adb: New file.
11897 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11899 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11900 expected outputs. Add two testcases for completing ambiguous
11902 * gdb.ada/complete/aux_pck.adb: New file.
11903 * gdb.ada/complete/aux_pck.ads: New file.
11904 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11905 Ambiguous_Func functions.
11906 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11907 * gdb.ada/complete/pck.adb: Likewise.
11909 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11911 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11912 failures to run the test program under GDB.
11914 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11916 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11919 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11921 * gdb.base/run-after-attach.exp: New test file.
11922 * gdb.base/run-after-attach.c: New test file.
11924 2015-08-26 Don Breazeal <donb@codesourcery.com>
11926 * gdb.base/foll-exec-2.c: New test program.
11927 * gdb.base/foll-exec-2.exp: New test.
11929 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11931 * gdb.base/nested-subp1.exp: New file.
11932 * gdb.base/nested-subp1.c: New file.
11933 * gdb.base/nested-subp2.exp: New file.
11934 * gdb.base/nested-subp2.c: New file.
11935 * gdb.base/nested-subp3.exp: New file.
11936 * gdb.base/nested-subp3.c: New file.
11938 2015-08-24 Pedro Alves <palves@redhat.com>
11940 * gdb.server/connect-without-multi-process.c: New file.
11941 * gdb.server/connect-without-multi-process.exp: New file.
11943 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11945 * gdb.opt/inline-markers.c: Make z int.
11947 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11949 * gdb.opt/inline-markers.c: Make z volatile.
11951 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11953 * gdb.opt/inline-bt.c: New volatile global z.
11954 * gdb.opt/inline-cmds.c: Likewise.
11955 * gdb.opt/inline-locals.c: Likewise.
11956 * gdb.opt/inline-markers.c: New extern global z.
11958 (inline_fn): Likewise.
11960 2015-08-24 Pedro Alves <palves@redhat.com>
11962 * config/m32r-stub.exp: Remove file.
11963 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11964 * gdb.base/call-rt-st.exp: Likewise.
11965 * gdb.base/call-strs.exp: Likewise.
11966 * gdb.base/default.exp: Remove references to h8300-*-hms and
11968 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11970 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11972 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11973 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11974 and "return" use KFAIL when GDB can not read/write the vector
11977 2015-08-21 Gary Benson <gbenson@redhat.com>
11979 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11981 2015-08-20 Pedro Alves <palves@redhat.com>
11983 * gdb.server/solib-list.exp: No longer expect an interior stop in
11986 2015-08-20 Pedro Alves <palves@redhat.com>
11988 * gdb.server/connect-stopped-target.c: New file.
11989 * gdb.server/connect-stopped-target.exp: New file.
11991 2015-08-20 Pedro Alves <palves@redhat.com>
11993 * gdb.dwarf2/comp-unit-lang.exp: New file.
11994 * gdb.dwarf2/comp-unit-lang.c: New file.
11996 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11998 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11999 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12001 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12003 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12004 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12006 2015-08-18 Doug Evans <dje@google.com>
12007 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12009 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12010 skip_python_tests. New arg prompt_regexp.
12011 (skip_python_tests): New function.
12012 * lib/mi-support.exp (mi_skip_python_tests): New function.
12013 * gdb.python/py-mi-objfile-gdb.py: New file.
12014 * gdb.python/py-mi-objfile.c: New file.
12015 * gdb.python/py-mi-objfile.exp: New file.
12017 2015-08-17 Keith Seitz <keiths@redhat.com>
12019 * gdb.linespec/explicit.exp: Move strace test from here ...
12020 * gdb.trace/strace.exp: ... to here.
12022 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12024 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12025 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12027 2015-08-14 Doug Evans <xdje42@gmail.com>
12029 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12030 inferior before selecting a new file.
12032 2015-08-14 Doug Evans <xdje42@gmail.com>
12034 * gdb.mi/mi-disassemble.exp: Update.
12035 * gdb.base/disasm-optim.S: New file.
12036 * gdb.base/disasm-optim.c: New file.
12037 * gdb.base/disasm-optim.h: New file.
12038 * gdb.base/disasm-optim.exp: New file.
12040 2015-08-14 Keith Seitz <keiths@redhat.com>
12042 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12045 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12047 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12049 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12051 * gdb.ada/fun_renaming.exp: New testcase.
12052 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12053 * gdb.ada/fun_renaming/pack.adb: New file.
12054 * gdb.ada/fun_renaming/pack.ads: New file.
12056 2015-08-12 Keith Seitz <keiths@redhat.com>
12058 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12059 gdb_get_line_number.
12061 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12063 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12064 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12065 gdb.base/dso2dso.exp: New files.
12067 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12068 Pedro Alves <palves@redhat.com>
12069 Keith Seitz <keiths@redhat.com>
12071 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12074 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12076 * gdb.base/gdbhistsize-history.exp
12077 (test_histsize_history_setting): Use save_vars.
12078 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12080 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12081 * gdb.base/readline.exp: Use save_vars.
12083 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12085 * lib/gdb.exp (save_vars): New proc.
12087 2015-08-11 Keith Seitz <keiths@redhat.com>
12089 * gdb.base/help.exp: Update help_breakpoint_text.
12091 2015-08-11 Keith Seitz <keiths@redhat.com>
12093 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12094 (at toplevel): Call test_explicit_breakpoints.
12095 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12097 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12098 breakpoint conditions, "-cond".
12100 2015-08-11 Keith Seitz <keiths@redhat.com>
12102 * gdb.linespec/3explicit.c: New file.
12103 * gdb.linespec/cpexplicit.cc: New file.
12104 * gdb.linespec/cpexplicit.exp: New file.
12105 * gdb.linespec/explicit.c: New file.
12106 * gdb.linespec/explicit.exp: New file.
12107 * gdb.linespec/explicit2.c: New file.
12108 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12109 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12110 before using in the matching pattern.
12111 Clarify that `prefix' is a regular expression.
12113 2015-08-11 Keith Seitz <keiths@redhat.com>
12115 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12117 Add tests for missing ",FMT" and ",".
12119 2015-08-10 Doug Evans <dje@google.com>
12120 Keith Seitz <keiths@redhat.com>
12123 * gdb.base/completion.exp: Add location completer tests.
12125 2015-08-07 Pedro Alves <palves@redhat.com>
12127 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12129 (top level): Run do_test with and without displaced stepping.
12131 2015-08-07 Pedro Alves <palves@redhat.com>
12133 * gdb.base/valgrind-disp-step.c: New file.
12134 * gdb.base/valgrind-disp-step.exp: New file.
12136 2015-08-07 Pedro Alves <palves@redhat.com>
12138 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12140 (main): Add alarm. Run an infinite loop instead of calling
12142 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12144 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12146 (main): Add alarm. Run an infinite loop instead of calling
12148 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12151 2015-08-07 Pedro Alves <palves@redhat.com>
12153 * gdb.base/checkpoint-ns.exp: New file.
12154 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12157 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12159 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12160 * gdb.btrace/instruction_history.exp: Update.
12161 * gdb.btrace/tsx.exp: New.
12162 * gdb.btrace/tsx.c: New.
12164 2015-08-06 Pedro Alves <palves@redhat.com>
12166 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12168 * gdb.reverse/until-precsave.exp: Bump timeouts.
12170 2015-08-06 Pedro Alves <palves@redhat.com>
12172 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12174 2015-08-06 Pedro Alves <palves@redhat.com>
12177 * gdb.threads/process-dies-while-handling-bp.c: New file.
12178 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12180 2015-08-06 Pedro Alves <palves@redhat.com>
12182 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12183 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12185 2015-08-05 Pedro Alves <palves@redhat.com>
12187 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12188 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12190 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12192 * gdb.base/bp-permanent.exp: Report test as unsupported if
12193 the target cannot stop at the permanent breakpoint.
12195 2015-08-03 Doug Evans <dje@google.com>
12197 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12200 2015-08-03 Doug Evans <dje@google.com>
12202 * Makefile.in (workers/%.worker, build-perf): New rule.
12203 (GDB_PERFTEST_MODE): New variable.
12204 (check-perf): Use it.
12205 (clean): Clean up gdb.perf parallel build subdirs.
12206 * lib/build-piece.exp: New file.
12207 * lib/gdb.exp (make_gdb_parallel_path): New function
12208 (standard_output_file, standard_temp_file): Call it.
12209 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12211 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12213 2015-08-03 Doug Evans <dje@google.com>
12215 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12216 (LOG_FILE_NAME): New global.
12217 (TextReporter.__init__): Initialize self.txt_sum.
12218 (TextReporter.report): Add support for multiple data-points.
12219 Move report to perftest.sum, put raw data in perftest.log.
12220 (TextReporter.start): Open sum and log files.
12221 (TextReporter.end): Close sum and log files.
12222 * gdb.perf/lib/perftest/testresult.py
12223 (SingleStatisticTestResult.record): Handle multiple data-points.
12225 2015-07-31 Pedro Alves <palves@redhat.com>
12227 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12228 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12229 kill_wait_spawned_process instead of explicit "kill -9".
12230 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12231 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12232 kill_wait_spawned_process.
12233 * gdb.base/attach-twice.exp: Likewise.
12234 * gdb.base/attach.exp: Likewise.
12235 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12237 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12238 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12239 kill_wait_spawned_process.
12240 * gdb.base/valgrind-infcall.exp: Likewise.
12241 * gdb.multi/multi-attach.exp: Likewise.
12242 * gdb.python/py-prompt.exp: Likewise.
12243 * gdb.python/py-sync-interp.exp: Likewise.
12244 * gdb.server/ext-attach.exp: Likewise.
12245 * gdb.threads/attach-into-signal.exp (corefunc): Use
12246 spawn_wait_for_attach, spawn_id_get_pid and
12247 kill_wait_spawned_process.
12248 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12249 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12250 spawn_id_get_pid and kill_wait_spawned_process.
12251 * gdb.threads/attach-stopped.exp (corefunc): Use
12252 spawn_wait_for_attach, spawn_id_get_pid and
12253 kill_wait_spawned_process.
12254 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12255 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12256 kill_wait_spawned_process instead of explicit "kill -9".
12257 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12258 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12259 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12260 processes. Don't map cygwin/windows pids here. Now returns a
12263 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12265 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12266 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12269 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12271 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12273 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12276 2014-05-21 Mark Wielaard <mjw@redhat.com>
12278 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12280 2015-07-30 Pedro Alves <palves@redhat.com>
12282 * linux-low.c (handle_extended_wait): Set the child's last
12283 reported status to TARGET_WAITKIND_STOPPED.
12285 2015-07-30 Pedro Alves <palves@redhat.com>
12288 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12289 only shows inferior 1.
12291 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12292 Pedro Alves <palves@redhat.com>
12295 * gdb.threads/fork-plus-threads.c: New file.
12296 * gdb.threads/fork-plus-threads.exp: New file.
12298 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12300 * gdb.base/batch-preserve-term-settings.exp
12301 (test_terminal_settings_preserved_after_cli_exit): Use
12304 2015-07-29 Pedro Alves <palves@redhat.com>
12305 Don Breazeal <donb@codesourcery.com>
12307 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12308 output from both inferior_spawn_id and gdb_spawn_id.
12310 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12312 * gdb.threads/attach-into-signal.exp (corefunc): Use
12313 with_test_prefix on nested loops, uniquefying the test messages.
12315 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12317 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12320 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12322 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12324 (test_terminal_settings_preserved_after_sigterm): New test.
12326 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12328 * gdb.base/batch-preserve-term-settings.exp
12329 (test_terminal_settings_preserved_after_cli_exit): New test.
12331 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12333 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12334 manipulation of saved_gdbflags.
12335 (test_terminal_settings_preserved): Remove global declaration of
12336 the unused variable pagination_prompt. Remove manipulation of
12337 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12340 2015-07-29 Pedro Alves <palves@redhat.com>
12342 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12344 2015-07-29 Pedro Alves <palves@redhat.com>
12346 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12349 2015-07-29 Pedro Alves <palves@redhat.com>
12351 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12352 (main): Call gdb_unbuffer_output.
12353 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12354 (main): Call gdb_unbuffer_output.
12355 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12356 (main): Call gdb_unbuffer_output.
12357 * gdb.base/call-strs.exp: Adjust to step over the
12358 gdb_unbuffer_output call.
12359 * gdb.base/catch-gdb-caused-signals.c: Include
12360 "../lib/unbuffer_output.c".
12361 (main): Call gdb_unbuffer_output.
12362 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12363 (main): Call gdb_unbuffer_output.
12364 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12365 (main): Call gdb_unbuffer_output.
12366 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12367 (main): Call gdb_unbuffer_output.
12368 * gdb.base/shlib-call.exp: Adjust to step over the
12369 gdb_unbuffer_output call.
12370 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12371 (main): Call gdb_unbuffer_output.
12372 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12373 (main): Call gdb_unbuffer_output.
12374 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12375 (main): Rename to ...
12377 (main): Reimplement.
12378 * gdb.base/varargs.exp: Run to test instead of to main.
12379 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12380 (main): Call gdb_unbuffer_output.
12382 2015-07-29 Pedro Alves <palves@redhat.com>
12384 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12385 factore out from mi_continue_dprintf. For call-style dprintfs,
12386 expect dprintf output out of $inferior_spawn_id.
12387 (mi_continue_dprintf): Use mi_expect_dprintf.
12388 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12389 (main): Call gdb_unbuffer_output.
12391 2015-07-29 Pedro Alves <palves@redhat.com>
12393 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12394 (default_mi_gdb_start): Set inferior_spawn_id instead of
12395 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12397 (mi_gdb_test): Always expect inferior output from both
12398 $inferior_spawn_id and $gdb_spawn_id.
12400 2015-07-29 Pedro Alves <palves@redhat.com>
12402 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12403 send_inferior and $inferior_spawn_id.
12405 2015-07-29 Pedro Alves <palves@redhat.com>
12407 * gdb.gdb/complaints.exp (test_initial_complaints)
12408 (test_serial_complaints, test_short_complaints): Use
12410 (test_empty_complaint): Handle $inferior_spawn_id !=
12413 2015-07-29 Pedro Alves <palves@redhat.com>
12415 * gdb.base/varargs.exp: Use gdb_test_stdio.
12417 2015-07-29 Pedro Alves <palves@redhat.com>
12419 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12421 2015-07-29 Pedro Alves <palves@redhat.com>
12423 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12425 2015-07-29 Pedro Alves <palves@redhat.com>
12427 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12428 parameter into two new parameters, "inf_result" and "gdb_result".
12429 Expect inferior output and gdb output from $inferior_spawn_id and
12430 $gdb_spawn_id, respectively. Adjust all callers.
12432 2015-07-29 Pedro Alves <palves@redhat.com>
12434 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12435 of gdb_test_sequence.
12437 2015-07-29 Pedro Alves <palves@redhat.com>
12439 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12440 (saw_spurious_output): Expect inferior output from
12441 $inferior_spawn_id. Use gdb_test_stdio.
12443 2015-07-29 Pedro Alves <palves@redhat.com>
12445 * gdb.base/dprintf.exp: Use standard_testfile. Change
12446 prepare_for_testing call.
12447 (srcfile): Don't set.
12448 (restart): New procedure.
12449 (test_dprintf): New procecure, use to continue over dprintfs.
12450 (test_call, test_agent): New procedures, tests moved here.
12451 Restart gdb and recreate dprintfs. Adjust expected output.
12453 2015-07-29 Pedro Alves <palves@redhat.com>
12455 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12457 2015-07-29 Pedro Alves <palves@redhat.com>
12459 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12461 2015-07-29 Pedro Alves <palves@redhat.com>
12463 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12466 2015-07-29 Pedro Alves <palves@redhat.com>
12468 * lib/gdb.exp (gdb_test_stdio): New procedure.
12470 2015-07-29 Pedro Alves <palves@redhat.com>
12472 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12474 2015-07-29 Pedro Alves <palves@redhat.com>
12476 * gdb.base/call-signal-resume.exp: Remove check for
12477 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12478 * gdb.base/unwindonsignal.exp: Likewise.
12479 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12480 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12482 2015-07-29 Pedro Alves <palves@redhat.com>
12484 * gdb.base/siginfo-addr.c (pass): New function.
12485 (handler): Call it iff si_addr is correct.
12486 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12487 Set a breakpoint at "pass" and continue to it.
12489 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12491 * gdb.python/py-objfile.exp: Make some tests have unique names.
12492 * gdb.python/py-pp-registration.exp: Likewise.
12494 2015-07-28 Pedro Alves <palves@redhat.com>
12496 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12498 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12500 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12502 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12504 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12506 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12508 * gdb.base/gdb-sigterm-2.exp: New test.
12510 2015-07-25 Doug Evans <xdje42@gmail.com>
12513 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12514 (workers/%.worker, build-perf): New rule.
12515 (GDB_PERFTEST_MODE): New variable.
12516 (check-perf): Use it.
12517 (clean): Clean up gdb.perf parallel build subdirs.
12518 * lib/build-piece.exp: New file.
12519 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12520 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12522 (standard_temp_file): Ditto.
12523 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12526 2015-07-24 Doug Evans <dje@google.com>
12528 * gdb.perf/lib/perftest/utils.py: New file.
12529 * gdb.perf/gm-hello.cc: New file.
12530 * gdb.perf/gm-pervasive-typedef.cc: New file.
12531 * gdb.perf/gm-pervasive-typedef.h: New file.
12532 * gdb.perf/gm-std.cc: New file.
12533 * gdb.perf/gm-std.h: New file.
12534 * gdb.perf/gm-use-cerr.cc: New file.
12535 * gdb.perf/gm-utils.h: New file.
12536 * gdb.perf/gmonster-null-lookup.py: New file.
12537 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12538 * gdb.perf/gmonster-print-cerr.py: New file.
12539 * gdb.perf/gmonster-ptype-string.py: New file.
12540 * gdb.perf/gmonster-runto-main.py: New file.
12541 * gdb.perf/gmonster-select-file.py: New file.
12542 * gdb.perf/gmonster1-null-lookup.exp: New file.
12543 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12544 * gdb.perf/gmonster1-print-cerr.exp: New file.
12545 * gdb.perf/gmonster1-ptype-string.exp: New file.
12546 * gdb.perf/gmonster1-runto-main.exp: New file.
12547 * gdb.perf/gmonster1-select-file.exp: New file.
12548 * gdb.perf/gmonster1.cc: New file.
12549 * gdb.perf/gmonster1.exp: New file.
12550 * gdb.perf/gmonster2-null-lookup.exp: New file.
12551 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12552 * gdb.perf/gmonster2-print-cerr.exp: New file.
12553 * gdb.perf/gmonster2-ptype-string.exp: New file.
12554 * gdb.perf/gmonster2-runto-main.exp: New file.
12555 * gdb.perf/gmonster2-select-file.exp: New file.
12556 * gdb.perf/gmonster2.cc: New file.
12557 * gdb.perf/gmonster2.exp: New file.
12559 2015-07-24 Doug Evans <dje@google.com>
12561 * gdb.perf/README: New file.
12562 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12563 * lib/gen-perf-test.exp: New file.
12565 2015-07-24 Doug Evans <dje@google.com>
12567 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12568 (PerfTest::startup): New function.
12569 (PerfTest::run): Return result of calling body.
12570 (PerfTest::assemble): Rewrite.
12571 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12572 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12573 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12574 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12575 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12577 2015-07-24 Doug Evans <dje@google.com>
12579 * lib/gdb.exp (clean_restart): Make executable optional.
12581 2015-07-24 Doug Evans <dje@google.com>
12583 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12584 compiler_info references.
12585 * gdb.cp/temargs.exp: Ditto.
12586 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12587 (get_compiler_info): Early exit if already computed. Set compiler_info
12588 to "unknown" if there was a problem.
12589 (test_compiler_info): Add function comment. Call get_compiler_info.
12591 2015-07-24 Doug Evans <dje@google.com>
12593 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12594 (workers/%.worker, build-perf): New rule.
12595 (GDB_PERFTEST_MODE): New variable.
12596 (check-perf): Use it.
12597 (clean): Clean up gdb.perf parallel build subdirs.
12598 * lib/build-piece.exp: New file.
12599 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12600 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12602 (standard_temp_file): Ditto.
12603 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12606 2015-07-24 Doug Evans <dje@google.com>
12608 * lib/future.exp (gdb_default_target_compile): New option
12610 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12613 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12615 * gdb.base/catch-syscall.exp: Call gdb_exit before
12618 2015-07-24 Pedro Alves <palves@redhat.com>
12620 * gdb.python/py-events.exp: Accept output between the stop event
12622 * gdb.python/py-evsignal.exp: Likewise.
12623 * gdb.python/py-evthreads.exp: Likewise.
12625 2015-07-24 Pedro Alves <palves@redhat.com>
12628 * gdb.threads/non-ldr-exit.c: New file.
12629 * gdb.threads/non-ldr-exit.exp: New file.
12631 2015-07-24 Yao Qi <yao.qi@linaro.org>
12633 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12634 restarting process.
12636 2015-07-24 Yao Qi <yao.qi@linaro.org>
12638 * gdb.server/ext-restart.exp: New file.
12640 2015-07-24 Yao Qi <yao.qi@linaro.org>
12642 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12644 * gdb.server/ext-wrapper.exp: New file.
12646 2015-07-23 Doug Evans <dje@google.com>
12648 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12649 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12651 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12653 * gdb.ada/var_arr_typedef.exp: New testcase.
12654 * gdb.ada/var_arr_typedef/pack.adb: New file.
12655 * gdb.ada/var_arr_typedef/pack.ads: New file.
12656 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12658 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12660 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12662 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12664 * gdb.arch/i386-biarch-core.exp: Replace istarget
12665 by "complete set gnutarget". Remove expectation for the "core-file"
12668 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12670 Revert the previous commit:
12671 Tests for validate symbol file using build-id.
12673 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12675 Tests for validate symbol file using build-id.
12676 * gdb.base/solib-mismatch-lib.c: New file.
12677 * gdb.base/solib-mismatch-libmod.c: New file.
12678 * gdb.base/solib-mismatch.c: New file.
12679 * gdb.base/solib-mismatch.exp: New file.
12681 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12683 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12685 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12686 * gdb.base/siginfo.exp: Likewise.
12687 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12689 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12691 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12693 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12695 * gdb.trace/range-stepping.exp: Check that the target supports
12698 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12700 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12702 2015-07-14 Pedro Alves <palves@redhat.com>
12704 * gdb.base/killed-outside.exp: New file.
12705 * gdb.base/killed-outside.c: New file.
12707 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12709 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12711 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12713 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12715 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12716 infcall tests instead of setting up for KFAIL.
12718 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12720 * gdb.btrace/record_goto-step.exp: New.
12722 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12725 * gdb.compile/compile.c (struct struct_type): Add volatile to
12727 * gdb.compile/compile.exp
12728 (compile code struct_object.selffield = &struct_object): Skip further
12729 struct_object tests if this one xfails.
12731 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12734 * gdb.trace/ax.exp: Add test.
12736 2015-07-07 Yao Qi <yao.qi@linaro.org>
12738 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12739 instead of istarget "aarch64*-*-*".
12740 * gdb.arch/aarch64-fp.exp: Likewise.
12741 * gdb.base/float.exp: Likewise.
12742 * gdb.reverse/aarch64.exp: Likewise.
12743 * lib/gdb.exp (is_aarch64_target): New proc.
12745 2015-07-07 Yao Qi <yao.qi@linaro.org>
12747 * lib/gdb.exp (is_aarch32_target): New proc.
12748 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12749 instead of "istarget "arm*-*-*"".
12750 * gdb.arch/arm-disp-step.exp: Likewise.
12751 * gdb.arch/thumb-bx-pc.exp: Likewise.
12752 * gdb.arch/thumb-prologue.exp: Likewise.
12753 * gdb.arch/thumb-singlestep.exp: Likewise.
12754 * gdb.base/disp-step-syscall.exp: Likewise.
12755 * gdb.base/float.exp: Likewise.
12757 2015-07-07 Yao Qi <yao.qi@linaro.org>
12759 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12760 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12762 2015-07-07 Yao Qi <yao.qi@linaro.org>
12764 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12765 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12767 * gdb.multi/multi-arch.exp: Likewise.
12769 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12771 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12774 2015-07-07 Yao Qi <yao.qi@linaro.org>
12776 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12778 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12780 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12781 '[' and ']' characters.
12783 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12785 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12787 2015-06-29 Pedro Alves <palves@redhat.com>
12790 * gdb.threads/hand-call-new-thread.c: New file.
12791 * gdb.threads/hand-call-new-thread.c: New file.
12793 2015-06-26 Keith Seitz <keiths@redhat.com>
12794 Doug Evans <dje@google.com>
12797 * gdb.cp/var-tag-2.cc: New file.
12798 * gdb.cp/var-tag-3.cc: New file.
12799 * gdb.cp/var-tag-4.cc: New file.
12800 * gdb.cp/var-tag.cc: New file.
12801 * gdb.cp/var-tag.exp: New file.
12803 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12805 * gdb.base/history-duplicates.exp: New test.
12807 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12809 * gdb.base/completion.exp: Test the completion of the "focus"
12812 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12814 * gdb.arch/amd64-prologue-skip.S: New file.
12815 * gdb.arch/amd64-prologue-skip.exp: New file.
12817 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12819 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12820 is_address_zero_readable check.
12822 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12824 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12825 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12827 2015-06-24 Yao Qi <yao.qi@linaro.org>
12829 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12832 2015-06-24 Yao Qi <yao.qi@linaro.org>
12834 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12835 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12836 * gdb.base/siginfo-thread.exp: Likewise.
12838 2015-06-22 Yao Qi <yao.qi@linaro.org>
12840 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12842 2015-06-22 Yao Qi <yao.qi@linaro.org>
12844 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12846 (skip_hw_watchpoint_tests): Likewise.
12848 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12850 * gdb.base/gdbinit-history.exp: Test the interaction between
12851 setting GDBHISTSIZE and setting the history size via .gdbinit.
12853 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12856 * gdb.base/gdbhistsize-history.exp: New test.
12858 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12860 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12862 * gdb.base/readline.exp: Likewise.
12864 2015-06-17 Yao Qi <yao.qi@linaro.org>
12866 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12869 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12871 * gdb.base/gdbinit-history.exp: Add test case to check that
12872 an unlimited history file does not get truncated on exit.
12874 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12876 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12877 (VECTOR): New macro. Use it...
12878 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12879 ...for these typedefs.
12880 (int8, char1, int1, double1): New typedefs.
12881 (struct just_int2, struct two_int2): New structures.
12882 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12883 (add_structvecs, add_singlevecs): New functions.
12884 (main): Call add_some_intvecs twice.
12885 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12886 the compile and exit upon failure. Try compiling for the "native"
12887 architecture. Test inferior function calls with vector arguments
12888 and vector return value handling with "finish" and "return".
12890 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12892 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12893 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12895 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12897 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12899 PR breakpoints/16465
12900 * gdb.mi/mi-dprintf-pending.c: New file.
12901 * gdb.mi/mi-dprintf-pending.exp: New test.
12902 * gdb.mi/mi-dprintf-pendshr.c: New file.
12904 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12905 Mircea Gherzan <mircea.gherzan@intel.com>
12907 * gdb.arch/i386-mpx-map.c: New file.
12908 * gdb.arch/i386-mpx-map.exp: New File.
12910 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12912 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12913 * gdb.arch/i386-mpx.exp: Indentation fixed.
12915 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12917 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12918 function and improved indentation.
12919 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12920 gdb_test_multiple. Added additional tests to skip the test.
12922 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12924 * gdb.arch/i386-avx512.c: Change path in include file.
12925 * gdb.arch/i386-avx512.exp: Change include dir path
12927 * gdb.arch/i386-mpx.c: Change path in include file.
12928 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12931 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12933 * gdb.compile/compile-print.exp (compile print *vararray@3)
12934 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12936 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12938 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12939 (do not keep jit in memory): ... this.
12940 (expect 5): Change it to ...
12941 (expect no 5): ... this.
12943 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12946 * gdb.mi/mi-detach.exp: New file.
12948 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12951 * gdb.arch/amd64-tailcall-self.S: New file.
12952 * gdb.arch/amd64-tailcall-self.c: New file.
12953 * gdb.arch/amd64-tailcall-self.exp: New file.
12955 2015-05-28 Don Breazeal <donb@codesourcery.com>
12957 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12958 tests for remote targets by checking is_target_gdbserver.
12960 2015-05-27 Doug Evans <dje@google.com>
12962 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12963 * gdb.dwarf2/opaque-type-lookup.c: New file.
12964 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12966 2015-05-26 Doug Evans <dje@google.com>
12968 * gdb.cp/iostream.cc: New file.
12969 * gdb.cp/iostream.exp: New file.
12971 2015-05-26 Doug Evans <dje@google.com>
12973 * gdb.dwarf2/dw2-op-call.exp: Update.
12974 * gdb.dwarf2/dw4-sig-types.exp: Update.
12975 * gdb.dwarf2/implptr.exp: Update.
12976 * gdb.mi/mi-cmd-param-changed.exp: Update.
12978 2015-05-26 Doug Evans <dje@google.com>
12980 * gdb.python/py-lazy-string.c: New file.
12981 * gdb.python/py-lazy-string.exp: New file.
12982 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12983 (main): Update. Add estring3.
12984 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12985 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12987 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12988 Yao Qi <yao.qi@linaro.org>
12990 * gdb.reverse/aarch64.c: New.
12991 * gdb.reverse/aarch64.exp: New.
12993 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12995 * lib/gdb.exp (supports_process_record): Return true for
12997 (supports_reverse): Likewise.
12999 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13001 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13002 Use with_test_prefix.
13004 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13006 * gdb.base/completion.exp: Add test for completion of layout
13009 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13011 * lib/gdb.exp (skip_tui_tests): New proc.
13012 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13014 2015-05-19 Pedro Alves <palves@redhat.com>
13016 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13017 Save the whole env array instead of just HOME. Unset HISTSIZE in
13018 the environment while testing. Restore whole environment
13021 2015-05-16 Doug Evans <xdje42@gmail.com>
13023 * gdb.guile/scm-ports.c: New file.
13024 * gdb.guile/scm-ports.exp: Add memory port tests.
13026 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13028 * gdb.compile/compile-print.c: New file.
13029 * gdb.compile/compile-print.exp: New file.
13031 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13033 * gdb.compile/compile-ops.exp: Cast param to void.
13034 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13035 (compile code struct_object.selffield = &struct_object): Add xfail.
13037 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13039 * gdb.ada/arr_enum_with_gap: New testcase.
13041 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13043 * gdb.ada/byte_packed_arr: New testcase.
13045 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13047 * gdb.ada/pckd_neg: New testcase.
13049 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13052 * gdb.base/gdbinit-history.exp: New test.
13053 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13054 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13056 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13058 * gdb.python/py-xmethods.cc: Enhance test case.
13059 * gdb.python/py-xmethods.exp: New tests.
13060 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13062 (B_indexoper): Likewise.
13063 (global_dm_list) : Add new xmethod worker functions.
13065 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13067 * gdb.base/coredump-filter.exp: Correctly unset
13068 "coredump_var_addr" array.
13070 2015-05-08 Pedro Alves <palves@redhat.com>
13072 * gdb.server/non-existing-program.exp: Unset spawn_id.
13074 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13077 * gdb.python/py-xmethods.exp: Add tests.
13079 2015-05-08 Yao Qi <yao.qi@linaro.org>
13082 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13083 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13084 function set_coredump_filter, and remove remote_exec call.
13085 Remove argument ipid. Callers update.
13086 (top level): Don't get inferior's PID.
13088 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13090 * gdb.base/watch_thread_num.exp: Skip test on targets without
13091 access watchpoints.
13093 2015-05-06 Pedro Alves <palves@redhat.com>
13096 * gdb.server/non-existing-program.exp: New file.
13098 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13100 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13102 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13104 * gdb.ada/out_of_line_in_inlined: New testcase.
13106 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13108 * gdb.ada/var_rec_arr: New testcase.
13110 2015-04-30 Yao Qi <yao.qi@linaro.org>
13112 * gdb.base/break-idempotent.exp: If
13113 skip_hw_watchpoint_multi_tests returns true, skip the tests
13114 on "rwatch" and "awatch".
13116 2015-04-30 Yao Qi <yao.qi@linaro.org>
13118 * gdb.base/relativedebug.exp: Invoke gdb command
13119 "info sharedlibrary", and if libc.so doesn't have debug info,
13122 2015-04-29 Doug Evans <dje@google.com>
13124 * gdb.python/py-xmethods.exp: Add ptype tests.
13125 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13126 get_result_type method.
13128 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13130 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13131 the target does not support hardware watchpoints.
13133 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13135 * gdb.base/break-always.exp: Abort testing if writing to memory
13138 2015-04-28 Doug Evans <dje@google.com>
13140 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13141 * gdb.python/py-pp-registration.exp: ... here. New file.
13142 * gdb.python/py-pp-registration.c: New file.
13143 * gdb.python/py-pp-registration.py: New file.
13145 2015-04-28 Doug Evans <dje@google.com>
13147 * gdb.python/py-bad-printers.c: New file.
13148 * gdb.python/py-bad-printers.py: New file.
13149 * gdb.python/py-bad-printers.exp: New file.
13151 2015-04-28 Sasha Smundak <asmundak@google.com>
13153 * gdb.python/py-type.exp: New test.
13155 2015-04-28 Andy Wingo <wingo@igalia.com>
13157 * gdb.python/py-parameter.exp:
13158 * gdb.guile/scm-parameter.exp: Escape the path that we are
13159 matching against, as it might contain characters that are special
13160 to regular expressions.
13162 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13164 * gdb.ada/rec_comp: New testcase.
13166 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13168 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13171 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13173 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13174 new tests for verilog output.
13176 2015-04-24 Yao Qi <yao.qi@linaro.org>
13178 * boards/remote-gdbserver-on-localhost.exp: New file.
13180 2015-04-23 Pedro Alves <palves@redhat.com>
13182 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13183 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13184 "end of file", remove $inferior_spawn_id from the indirect list.
13186 2015-04-23 Pedro Alves <palves@redhat.com>
13188 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13190 2015-04-23 Pedro Alves <palves@redhat.com>
13192 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13193 on $any_spawn_id instead of only on $gdb_spawn_id.
13195 2015-04-21 Pierre Muller <muller@sourceware.org>
13198 * lib/pascal.exp (gpc_compile): Add new option "class".
13199 (fpc_compile): Likewise.
13200 * gdb.pascal/case-insensitive-symbols.pas: New file.
13201 * gdb.pascal/case-insensitive-symbols.exp: New file.
13203 2015-04-20 Gary Benson <gbenson@redhat.com>
13205 * gdb.base/attach.exp: Fix three extended remote failures.
13207 2015-04-17 Gary Benson <gbenson@redhat.com>
13209 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13210 the main executable over the remote protocol.
13212 2015-04-16 Pedro Alves <palves@redhat.com>
13214 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13215 a new gdbserver if gdbserver_reconnect_p is set.
13217 2015-04-16 Pedro Alves <palves@redhat.com>
13219 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13220 is set, don't exit gdbserver.
13222 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13224 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13225 appropriate .insn, such that an older assembler can be used.
13226 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13227 the z/Architecture instruction set on 31-bit targets as well.
13229 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13231 * gdb.go/handcall.exp: Remove all logic related to the first
13232 breakpoint and rely on go_runto_main instead.
13233 * gdb.go/strings.exp: Likewise.
13234 * gdb.go/unsafe.exp: Likewise.
13235 * gdb.go/hello.exp: Likewise. Also rename the remaining
13236 breakpoint marker to "breakpoint 1".
13237 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13238 * gdb.go/strings.go: Likewise.
13239 * gdb.go/unsafe.go: Likewise.
13240 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13241 "set breakpoint 2 here" and rename the remaining breakpoint marker
13244 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13246 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13247 if itertools.imap is not present.
13248 * gdb.python/py-objfile.exp: Add parentheses.
13249 * gdb.python/py-type.exp: Same.
13250 * gdb.python/py-unwind-maint.py: Same.
13252 2015-04-15 Yao Qi <yao.qi@linaro.org>
13254 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13255 of ":$ptr_size" and set its form explicitly.
13257 2015-04-15 Pedro Alves <palves@redhat.com>
13258 Yao Qi <yao.qi@linaro.org>
13260 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13261 timeout by factor of 4.
13262 (test_regular_watch): Likewise.
13263 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13264 * gdb.reverse/sigall-reverse.exp: Likewise.
13265 * gdb.reverse/until-precsave.exp: Likewise.
13266 * lib/gdb.exp (with_timeout_factor): New proc.
13267 (gdb_expect): Move some code to ...
13268 (get_largest_timeout): ... here. New procedure.
13270 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13272 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13274 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13276 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13277 to write to the .text section.
13279 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13281 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13282 Handle the case of targets that do not provide PID information.
13284 2015-04-13 Yao Qi <yao.qi@linaro.org>
13286 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13287 and use expect instead of gdb_expect.
13289 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13291 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13292 "coredump_var_addr" to avoid naming conflict with other testcases.
13294 2015-04-10 Pedro Alves <palves@redhat.com>
13296 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13297 gdb_test_sequence and gdb_assert.
13299 2015-04-10 Pedro Alves <palves@redhat.com>
13301 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13302 test messages that don't include the breakpoint address.
13304 2015-04-10 Yao Qi <yao.qi@linaro.org>
13306 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13307 false for some offset and width combinations which aren't
13308 supported by linux kernel.
13310 2015-04-10 Pedro Alves <palves@redhat.com>
13312 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13313 procedure, factored out from ...
13314 (top level): ... here. Add "set displaced-stepping" testing axis.
13315 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13316 parameter "displaced". Use it.
13317 (top level): Use foreach and add "set displaced-stepping" testing
13320 2015-04-10 Pedro Alves <palves@redhat.com>
13322 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13324 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13325 both the address of the instruction that triggers the watchpoint
13326 and the address of the instruction immediately after, and use
13327 those addresses for the test. Fix comment.
13329 2015-04-10 Pedro Alves <palves@redhat.com>
13331 * gdb.base/sigstep.exp (breakpoint_to_handler)
13332 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13333 Test "backtrace" in handler.
13334 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13335 (top level): Add new "displaced" test axis to
13336 breakpoint_to_handler, breakpoint_to_handler_entry and
13337 breakpoint_over_handler.
13339 2015-04-10 Pedro Alves <palves@redhat.com>
13342 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13344 2015-04-10 Yao Qi <yao.qi@linaro.org>
13346 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13347 (test_add_rn_pc): New function.
13348 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13349 (top level): Invoke test_add_rn_pc.
13351 2015-04-10 Pedro Alves <palves@redhat.com>
13354 * gdb.base/step-over-no-symbols.exp: New file.
13356 2015-04-09 Andy Wingo <wingo@igalia.com>
13358 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13359 after the Python tests.
13361 2015-04-08 Keith Seitz <keiths@redhat.com>
13364 * gdb.python/py-completion.exp: New tests for completion.
13365 * gdb.python/py-completion.py (CompleteLimit1): New class.
13366 (CompleteLimit2): Likewise.
13367 (CompleteLimit3): Likewise.
13368 (CompleteLimit4): Likewise.
13369 (CompleteLimit5): Likewise.
13370 (CompleteLimit6): Likewise.
13371 (CompleteLimit7): Likewise.
13373 2015-04-08 Pedro Alves <palves@redhat.com>
13377 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13379 (main): Install it as SIGUSR1 handler.
13380 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13381 parameter. Always use "setup" as prefix. Toggle "set
13382 displaced-stepping" off/on depending on global. Don't switch to
13384 (top level): Add displaced stepping "off/on" test axis. Update
13385 "setup" calls. Wrap each subtest with with_test_prefix. Test
13386 continuing with a queued signal in each thread.
13388 2015-04-08 Pedro Alves <palves@redhat.com>
13390 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13391 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13392 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13393 Return early if running to main fails.
13394 * gdb.trace/while-stepping.exp: Likewise.
13396 2015-04-07 Pedro Alves <palves@redhat.com>
13398 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13399 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13400 interact with inferior program.
13402 2015-04-07 Pedro Alves <palves@redhat.com>
13404 * lib/gdb.exp (inferior_spawn_id): New global.
13405 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13406 spawn id after processing the user code.
13407 (default_gdb_start): Set inferior_spawn_id.
13408 (send_inferior): New procedure.
13409 * lib/gdbserver-support.exp (gdbserver_start): Set
13411 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13413 2015-04-07 Pedro Alves <palves@redhat.com>
13415 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13416 * lib/gdbserver-support.exp (gdbserver_start): Make
13417 $server_spawn_id global.
13418 (gdbserver_start): Don't wait for gdbserver's spawn id with
13420 (close_gdbserver): New procedure.
13421 (gdb_exit): Rename the default version and reimplement.
13423 2015-04-07 Pedro Alves <palves@redhat.com>
13425 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13426 append the substituted item, not the original item.
13428 2015-04-07 Pedro Alves <palves@redhat.com>
13430 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13433 2015-04-07 Pedro Alves <palves@redhat.com>
13435 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13436 output appearing once only.
13438 2015-04-07 Pedro Alves <palves@redhat.com>
13440 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13441 that doesn't expect anything. Return early if running to main
13444 2015-04-07 Yao Qi <yao.qi@linaro.org>
13446 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13447 (child_function): Call alarm.
13448 (main): Move call to alarm into the loop.
13449 * gdb.threads/non-stop-fair-events.exp: Build program with
13450 -DTIMEOUT=$timeout.
13452 2015-04-06 Doug Evans <xdje42@gmail.com>
13454 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13455 Fix dest parameter to board_info.
13456 (fpc_compile): Ditto.
13457 (gdb_compile_pascal): Rename dest arg to destfile.
13459 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13461 * gdb.ada/funcall_ref.exp: New file.
13462 * gdb.ada/funcall_ref/foo.adb: New file.
13464 2015-04-02 Yao Qi <yao.qi@linaro.org>
13466 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13469 2015-04-02 Gary Benson <gbenson@redhat.com>
13471 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13473 2015-04-01 Sasha Smundak <asmundak@google.com>
13475 * gdb.python/py-unwind-maint.c: New file.
13476 * gdb.python/py-unwind-maint.exp: New test.
13477 * gdb.python/py-unwind-maint.py: New file.
13478 * gdb.python/py-unwind.c: New file.
13479 * gdb.python/py-unwind.exp: New test.
13480 * gdb.python/py-unwind.py: New test.
13482 2015-04-01 Pedro Alves <palves@redhat.com>
13484 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13485 to fail instead of non-existent $test.
13487 2015-04-01 Pedro Alves <palves@redhat.com>
13489 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13490 GDBFLAGS if not empty.
13492 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13494 * gdb.ada/complete.exp: Remove "multi_line".
13495 * gdb.ada/info_exc.exp: Remove "multi_line".
13496 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13497 * gdb.ada/ptype_field.exp: Remove "multi_line".
13498 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13499 * gdb.ada/tagged.exp: Remove "multi_line".
13500 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13502 * gdb.btrace/delta.exp: Likewise.
13503 * gdb.btrace/exception.exp: Likewise.
13504 * gdb.btrace/function_call_history.exp: Likewise.
13505 * gdb.btrace/instruction_history.exp: Likewise.
13506 * gdb.btrace/nohist.exp: Likewise.
13507 * gdb.btrace/record_goto.exp: Likewise.
13508 * gdb.btrace/segv.exp: Likewise.
13509 * gdb.btrace/stepi.exp: Likewise.
13510 * gdb.btrace/tailcall.exp: Likewise.
13511 * gdb.btrace/unknown_functions.exp: Likewise.
13512 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13513 * lib/gdb.exp: Add the "multi_line" helper.
13515 2015-04-01 Pedro Alves <palves@redhat.com>
13517 * gdb.threads/tid-reuse.c: New file.
13518 * gdb.threads/tid-reuse.exp: New file.
13520 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13523 * gdb.base/coredump-filter.c: New file.
13524 * gdb.base/coredump-filter.exp: Likewise.
13526 2015-03-27 Petr Machata <pmachata@redhat.com>
13528 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13529 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13530 (Dwarf::assemble): Initialize them.
13531 (Dwarf::lines): New function.
13533 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13535 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13536 SYMBOL_PREFIX for x86_64-*-cygwin.
13538 2015-03-26 Andy Wingo <wingo@igalia.com>
13541 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13542 const_value but not a location.
13543 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13544 location defined in non-main CUs are visible.
13546 2015-03-26 Yao Qi <yao.qi@linaro.org>
13549 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13550 Add a line number entry for the same line.
13551 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13552 Add a line number entry for the same line.
13554 2015-03-26 Yao Qi <yao.qi@linaro.org>
13556 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13558 (func): Likewise. Add .Lfunc_1 label.
13559 Use .Lfunc_1 label.
13560 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13563 Use .Lfunc_1 label.
13565 2015-03-26 Yao Qi <yao.qi@linaro.org>
13567 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13568 Call gdb_compile instead to compile each .s files without debug
13571 2015-03-26 Yao Qi <yao.qi@linaro.org>
13573 * gdb.base/savedregs.exp (process_saved_regs): Make
13574 "Saved registers:" optional in the pattern.
13576 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13578 * gdb.btrace/next.exp: Merged into step.exp.
13579 * gdb.btrace/finish.exp: Merged into step.exp.
13580 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13581 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13582 "record goto" and checking the exact replay position.
13583 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13584 check for "Recording format" in "info record" output.
13585 * gdb.btrace/record_goto.exp: Choose test file based on target.
13586 * gdb.btrace/x86-record_goto.S: Renamed into ...
13587 * gdb.btrace/x86_64-record_goto.S: ... this.
13588 * gdb.btrace/i686-record_goto.S: New.
13589 * gdb.btrace/x86-tailcall.S: Renamed into ...
13590 * gdb.btrace/x86_64-tailcall.S: ... this.
13591 * gdb.btrace/i686-tailcall.S: New.
13592 * gdb.btrace/x86-tailcall.c: Renamed into ...
13593 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13594 separate statements. Update test.
13595 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13596 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13597 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13598 * gdb.btrace/tailcall.exp: Choose test file based on target.
13599 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13601 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13603 * gdb.btrace/exception.exp: Increase BTS buffer size.
13605 2015-03-24 Pedro Alves <palves@redhat.com>
13607 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13609 2015-03-24 Pedro Alves <palves@redhat.com>
13611 * gdb.threads/schedlock.exp (test_step): No longer expect that
13612 "set scheduler-locking step" with "next" over a function call runs
13615 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13617 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13619 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13621 PR breakpoints/16466
13622 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13623 * gdb.mi/mi-pending.c (thread_func): New function.
13624 (int main): Add threading support required.
13625 * gdb.mi/mi-pending.exp: Add tests for this issue.
13626 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13627 (pendfunc2): Remove stdio dependency.
13628 * gdb.mi/mi-pendshr2.c: New file.
13630 2015-03-23 Keith Seitz <keiths@redhat.com>
13632 * gdb.linespec/keywords.c: New file.
13633 * gdb.linespec/keywords.exp: New file.
13635 2015-03-23 Keith Seitz <keiths@redhat.com>
13638 * gdb.dwarf2/staticvirtual.exp: New test.
13640 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13642 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13643 * README: Remove HP-UX and gdb.hp.
13645 * configure: Regenerate.
13646 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13647 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13648 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13649 gdb.hp/gdb.defects/Makefile.
13650 * gdb.hp/Makefile.in: File deleted.
13651 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13652 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13653 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13654 * gdb.hp/gdb.aCC/run.c: File deleted.
13655 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13656 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13657 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13658 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13659 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13660 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13661 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13662 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13663 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13664 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13665 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13666 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13667 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13668 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13669 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13670 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13671 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13672 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13673 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13674 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13675 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13676 * gdb.hp/gdb.compat/average.c: File deleted.
13677 * gdb.hp/gdb.compat/sum.c: File deleted.
13678 * gdb.hp/gdb.compat/xdb.c: File deleted.
13679 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13680 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13681 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13682 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13683 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13684 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13685 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13686 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13687 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13688 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13689 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13690 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13691 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13692 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13693 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13694 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13695 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13696 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13697 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13698 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13699 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13700 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13701 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13702 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13703 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13704 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13705 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13706 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13707 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13708 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13709 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13710 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13711 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13712 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13713 * gdb.hp/tools/odump: File deleted.
13715 2015-03-19 Pedro Alves <palves@redhat.com>
13717 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13718 (saw_thread_3): New globals.
13719 (top level): Increment them when an event for the corresponding
13721 (no thread starvation): New test.
13723 2015-03-19 Pedro Alves <palves@redhat.com>
13725 * gdb.threads/continue-pending-status.c: New file.
13726 * gdb.threads/continue-pending-status.exp: New file.
13728 2015-03-18 Pedro Alves <palves@redhat.com>
13730 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13731 Use gdb_is_target_remote instead of is_remote. Use
13732 gdb_test_multiple instead of gdb_expect. Exit early if
13733 gdb_test_multiple hits its internal matches. Tighten stepi tests
13734 expected output. Fail on exit with any signal, instead of just
13737 2015-03-18 Yao Qi <yao.qi@linaro.org>
13740 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13742 * gdb.base/catch-syscall.exp: Don't skip it on
13743 aarch64*-*-linux* target. Remove elements in all_syscalls.
13744 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13746 (setup_all_syscalls): New proc.
13748 2015-03-16 Yao Qi <yao.qi@linaro.org>
13750 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13751 (top level): Skip tests if valid_addr_p returns false for
13754 2015-03-11 Andy Wingo <wingo@igalia.com>
13756 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13758 2015-03-11 Yao Qi <yao.qi@linaro.org>
13760 * gdb.base/catch-syscall.exp: Fix typo in comments.
13762 2015-03-11 Yao Qi <yao.qi@linaro.org>
13764 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13766 2015-03-09 Pedro Alves <palves@redhat.com>
13768 * dg-extract-results.py: Delete.
13770 2015-03-09 Pedro Alves <palves@redhat.com>
13772 Merge dg-extract-results.sh from GCC upstream (r218843).
13774 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13775 * dg-extract-results.sh: Use --text with grep to avoid issues with
13776 binary files. Fall back to cat -v, if that doesn't work.
13778 2015-03-05 Pedro Alves <palves@redhat.com>
13780 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13782 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13784 * lib/mi-support.exp (mi_expect_interrupt): Accept
13785 alternative event for when in all-stop mode.
13787 2015-03-04 Pedro Alves <palves@redhat.com>
13789 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13791 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13793 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13795 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13797 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13798 regexps for GDB's current line display, accept a hex address
13799 preceding the line number.
13801 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13803 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13804 the 'arch1' variable for "s390*-linux*" targets.
13806 2015-03-04 Pedro Alves <palves@redhat.com>
13808 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13809 (main): Pass missing retval argument to pthread_join call.
13811 2015-03-02 Pedro Alves <palves@redhat.com>
13813 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13814 (top level): Call do_test with non-stop as well.
13816 2015-03-02 Pedro Alves <palves@redhat.com>
13818 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13821 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13823 * gdb.arch/s390-vregs.exp: New test.
13824 * gdb.arch/s390-vregs.S: New file.
13826 2015-02-27 Pedro Alves <palves@redhat.com>
13828 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13829 call to catch_command_errors.
13830 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13831 catch_command_errors.
13833 2015-02-27 Pedro Alves <palves@redhat.com>
13835 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13836 "true" for boolean result.
13837 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13840 2015-02-27 Pedro Alves <palves@redhat.com>
13842 * lib/unbuffer_output.c: New file.
13843 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13844 (main): Call gdb_unbuffer_output.
13846 2015-02-27 Yao Qi <yao.qi@linaro.org>
13848 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13851 2015-02-26 Doug Evans <dje@google.com>
13853 * gdb.cp/class2.cc (Dbase, D): New classes.
13854 (main): New local delta.
13855 * gdb.cp/class2.exp: Test printing delta.
13856 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13857 (dynbar): New global.
13858 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13860 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13862 * gdb.compile/compile-ifunc.c: New file.
13863 * gdb.compile/compile-ifunc.exp: New file.
13865 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13867 * gdb.base/structs.exp: Check for correct struct on finish.
13869 2015-02-26 Yao Qi <yao.qi@linaro.org>
13871 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13874 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13876 * gdb.arch/cordic.ko.bz2: New file.
13877 * gdb.arch/cordic.ko.debug.bz2: New file.
13878 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13880 2015-02-25 Yao Qi <yao.qi@linaro.org>
13882 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13883 aarch64*-*-* target.
13885 2015-02-23 Pedro Alves <palves@redhat.com>
13887 * lib/gdb.exp (delete_breakpoints): Rewrite using
13890 2015-02-23 Pedro Alves <palves@redhat.com>
13892 * gdb.base/info-os.c: Include stdlib.h.
13894 2015-02-22 Doug Evans <xdje42@gmail.com>
13897 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13898 is read after symbols have been re-read.
13899 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13900 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13902 2015-02-21 Doug Evans <dje@google.com>
13904 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13906 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13909 * gdb.arch/i386-biarch-core.core.bz2: New file.
13910 * gdb.arch/i386-biarch-core.exp: New file.
13912 2015-02-21 Pedro Alves <palves@redhat.com>
13914 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13917 2015-02-20 Pedro Alves <palves@redhat.com>
13919 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13922 2015-02-20 Pedro Alves <palves@redhat.com>
13924 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13926 2015-02-20 Pedro Alves <palves@redhat.com>
13928 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13929 clean_restart before gdb_target_supports_trace.
13931 2015-02-20 Pedro Alves <palves@redhat.com>
13934 * gdb.threads/clone-thread_db.c: New file.
13935 * gdb.threads/clone-thread_db.exp: New file.
13937 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13939 PR breakpoints/16812
13940 * gdb.base/catch-gdb-caused-signals.c: New file.
13941 * gdb.base/catch-gdb-caused-signals.exp: New file.
13943 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13945 * configure: Regenerated.
13946 * configure.ac: Use GDB_AC_TRANSFORM.
13947 * aclocal.m4: sinclude ../transform.m4.
13949 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13951 * lib/dtrace.exp: New file.
13952 * gdb.base/dtrace-probe.exp: Likewise.
13953 * gdb.base/dtrace-probe.d: Likewise.
13954 * gdb.base/dtrace-probe.c: Likewise.
13955 * lib/pdtrace.in: Likewise.
13956 * configure.ac: Output variables with the transformed names of
13957 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13958 * configure: Regenerated.
13960 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13962 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13963 expected message when trying to access $_probe_* convenience
13964 variables while not on a probe.
13966 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13968 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13970 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13972 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13973 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13975 2015-02-10 Doug Evans <xdje42@gmail.com>
13977 * lib/gdb.exp (gdb_load): Always return a result.
13979 2015-02-10 Pedro Alves <palves@redhat.com>
13981 * gdb.threads/signal-sigtrap.c: New file.
13982 * gdb.threads/signal-sigtrap.exp: New file.
13984 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13986 * gdb.trace/no-attach-trace.c: New file.
13987 * gdb.trace/no-attach-trace.exp: New file.
13989 2015-02-09 Mark Wielaard <mjw@redhat.com>
13991 * gdb.dwarf2/atomic.c: New file.
13992 * gdb.dwarf2/atomic-type.exp: Likewise.
13994 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13996 * gdb.btrace/buffer-size.exp: Update "info record" output.
13997 * gdb.btrace/delta.exp: Update "info record" output.
13998 * gdb.btrace/enable.exp: Update "info record" output.
13999 * gdb.btrace/finish.exp: Update "info record" output.
14000 * gdb.btrace/instruction_history.exp: Update "info record" output.
14001 * gdb.btrace/next.exp: Update "info record" output.
14002 * gdb.btrace/nexti.exp: Update "info record" output.
14003 * gdb.btrace/step.exp: Update "info record" output.
14004 * gdb.btrace/stepi.exp: Update "info record" output.
14005 * gdb.btrace/nohist.exp: Update "info record" output.
14007 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14009 * gdb.btrace/buffer-size: New.
14011 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14013 * gdb.btrace/delta.exp: Update "info record" output.
14014 * gdb.btrace/enable.exp: Update "info record" output.
14015 * gdb.btrace/finish.exp: Update "info record" output.
14016 * gdb.btrace/instruction_history.exp: Update "info record" output.
14017 * gdb.btrace/next.exp: Update "info record" output.
14018 * gdb.btrace/nexti.exp: Update "info record" output.
14019 * gdb.btrace/step.exp: Update "info record" output.
14020 * gdb.btrace/stepi.exp: Update "info record" output.
14021 * gdb.btrace/nohist.exp: Update "info record" output.
14023 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14026 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14028 2015-02-06 Pedro Alves <palves@redhat.com>
14030 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14032 (seconds_left, again): New globals.
14033 (main): Wait seconds_left in a 1-second sleep loop instead of
14034 sleeping 180 seconds. If 'again' is set, reset the seconds
14036 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14037 'again' in the inferior before detaching. Print the seconds left.
14038 (options): New global.
14039 (top level): Build program with -DTIMEOUT=$timeout.
14041 2015-02-06 Pedro Alves <palves@redhat.com>
14043 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14044 determine how many seconds to pass to 'alarm'.
14045 * gdb.base/gdb-sigterm.exp (top level): Build program with
14046 -DTIMEOUT=$timeout.
14047 (do_test): Return success/failure indication. Add more verbose
14048 logging. Don't fail if 200 single steps are seen. Instead, fail
14049 when the test times out.
14050 (passes): New global.
14051 (top level): Break the testing loop if testing fails on any
14052 iteration. Use gdb_assert.
14054 2015-02-04 Don Breazeal <donb@codesourcery.com>
14056 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14057 and initialize them.
14058 (ipc_cleanup): New function.
14059 (main): Don't declare shmid, semid, and msqid. Add a call to
14060 atexit so that we call ipc_cleanup on exit.
14062 2015-02-04 Pedro Alves <palves@redhat.com>
14064 * boards/native-extended-gdbserver.exp: Remove any target variant
14065 specifications from the board name before clearing the isremote
14066 flag from board_info.
14068 2015-01-31 Doug Evans <xdje42@gmail.com>
14070 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14072 2015-01-31 Gary Benson <gbenson@redhat.com>
14074 * gdb.base/completion.exp: Disable completion limiting for
14075 existing tests. Add new tests to check completion limiting.
14076 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14078 2015-01-31 Doug Evans <xdje42@gmail.com>
14080 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14082 2015-01-31 Doug Evans <xdje42@gmail.com>
14084 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14085 entries. Duplicate file section script entries.
14086 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14087 inlined entries. Add test for safe-path rejection.
14088 * gdb.python/py-section-script.c: Add duplicate inlined section script
14089 entries. Duplicate file section script entries.
14090 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14091 inlined entries. Add test for safe-path rejection.
14093 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14095 * gdb.ada/disc_arr_bound: New testcase.
14097 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14099 * gdb.ada/mi_var_array: New testcase.
14101 2015-01-27 Doug Evans <dje@google.com>
14103 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14104 Add test for objfile.filename, objfile.username after objfile
14107 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14109 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14110 the second test to print the name attribute of value
14111 returned by the call to gdb.lookup_type, and adjust
14112 the expected output accordingly.
14114 2015-01-25 Mark Wielaard <mjw@redhat.com>
14116 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14117 * gdb.base/disp-step-fork.c: Include unistd.h.
14118 * gdb.base/siginfo-obj.c: Include stdio.h.
14119 * gdb.base/siginfo-thread.c: Likewise.
14120 * gdb.mi/non-stop.c: Include unistd.h.
14121 * gdb.mi/nsthrexec.c: Include stdio.h.
14122 * gdb.mi/pthreads.c: Include unistd.h.
14123 * gdb.modula2/unbounded1.c (main): Declare returns int.
14124 * gdb.reverse/consecutive-reverse.c: Likewise.
14125 * gdb.threads/create-fail.c: Include unistd.h.
14126 * gdb.threads/killed.c: Likewise.
14127 * gdb.threads/linux-dp.c: Likewise.
14128 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14129 * gdb.threads/non-ldr-exc-2.c: Likewise.
14130 * gdb.threads/non-ldr-exc-3.c: Likewise.
14131 * gdb.threads/non-ldr-exc-4.c: Likewise.
14132 * gdb.threads/pthreads.c: Include unistd.h.
14133 (main): Declare returns int.
14134 * gdb.threads/tls-main.c (foo): New declaration.
14135 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14137 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14139 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14140 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14142 2015-01-15 Mark Wielaard <mjw@redhat.com>
14144 * gdb.base/noreturn-return.c: New file.
14145 * gdb.base/noreturn-return.exp: New file.
14146 * gdb.base/noreturn-finish.c: New file.
14147 * gdb.base/noreturn-finish.exp: New file.
14149 2015-01-23 Pedro Alves <palves@redhat.com>
14151 * gdb.threads/continue-pending-after-query.c: New file.
14152 * gdb.threads/continue-pending-after-query.exp: New file.
14154 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14155 Simon Marchi <simon.marchi@ericsson.com>
14157 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14158 * gdb.base/valgrind-db-attach.exp: Same.
14159 * gdb.base/valgrind-infcall.exp: Same.
14160 * lib/mi-support.exp (default_mi_gdb_start): Same.
14161 * lib/prompt.exp (default_prompt_gdb_start): Same.
14162 * lib/gdb.exp (default_gdb_spawn): Same.
14163 (gdb_interact): New.
14166 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14168 * gdb.compile/compile.exp (pointer to jit function): New test.
14170 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14172 * lib/gdb.exp (supports_process_record): Return true for
14174 (supports_reverse): Likewise.
14176 2015-01-15 Don Breazeal <donb@codesourcery.com>
14178 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14179 instead of checking whether the target board is remote and
14180 use spawn_wait_for_attach instead of exec/sleep.
14181 * gdb.base/attach-twice.exp: Likewise.
14183 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14185 * gdb.ada/var_arr_attrs: New testcase.
14187 2015-01-14 Pedro Alves <palves@redhat.com>
14188 Joel Brobecker <brobecker@adacore.com>
14191 * gdb.base/bp-cmds-execution-x-script.c: New file.
14192 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14193 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14195 2015-01-14 Pedro Alves <palves@redhat.com>
14198 * gdb.base/batch-preserve-term-settings.c: New file.
14199 * gdb.base/batch-preserve-term-settings.exp: New file.
14201 2015-01-13 Doug Evans <dje@google.com>
14203 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14206 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14208 * Makefile.in (clean mostlyclean): Do not delete *.py.
14210 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14212 * gdb.python/py-lookup-type.exp: New file.
14214 2015-01-12 Pedro Alves <palves@redhat.com>
14216 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14217 restore GDBFLAGS before returning.
14219 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14221 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14222 is_amd64_regs_target and is_x86_like_target.
14224 2015-01-11 Doug Evans <xdje42@gmail.com>
14226 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14227 is given without an explicit form.
14228 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14230 * gdb.dwarf/corrupt.exp: Ditto.
14231 * gdb.dwarf2/enum-type.exp: Ditto.
14232 * gdb.trace/entry-values.exp: Ditto.
14233 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14235 2015-01-11 Doug Evans <xdje42@gmail.com>
14238 * gdb.base/maint.exp: Remove references to "maint demangle".
14239 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14240 Add tests for explicitly specifying language to demangle.
14241 * gdb.dlang/demangle.exp: Ditto.
14243 2015-01-09 Pedro Alves <palves@redhat.com>
14245 * gdb.threads/non-stop-fair-events.c: New file.
14246 * gdb.threads/non-stop-fair-events.exp: New file.
14248 2015-01-09 Pedro Alves <palves@redhat.com>
14250 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14251 the global scope. Set a breakpoint after all threads are started
14252 rather than stepping over two source lines. Expect the prompt.
14253 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14256 (main): Use threads_started_barrier to wait for all threads to
14257 start. Main thread no longer calls thread_function. Exit after
14259 (loop): New function.
14260 (thread_function): Wait on threads_started_barrier barrier. Call
14261 'loop' at each iteration.
14262 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14263 threads have started, instead of hardcoding number of "next"
14264 steps. Use an access watchpoint instead of a write watchpoint.
14266 2015-01-09 Pedro Alves <palves@redhat.com>
14268 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14269 (thread_func): Wait on barrier.
14270 (main): Wait for all threads to start before stopping GDB.
14271 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14273 (thread1_func, thread2_func): Wait on barrier.
14274 (main): Wait for all threads to start before stopping GDB.
14275 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14277 (thread1_func, thread2_func): Wait on barrier.
14278 (main): Wait for all threads to start before stopping GDB.
14280 2015-01-09 Pedro Alves <palves@redhat.com>
14282 * gdb.threads/attach-many-short-lived-threads.c: New file.
14283 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14285 2014-01-09 Pedro Alves <palves@redhat.com>
14287 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14288 instead of to thread 2.
14289 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14290 Add barrier around each pthread_create call instead of around all
14292 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14293 Set a break on thread_function and have the child threads hit it
14296 2015-01-09 Pedro Alves <palves@redhat.com>
14298 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14299 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14301 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14302 checking whether the target board is remote.
14303 * gdb.multi/multi-attach.exp: Likewise.
14304 * gdb.python/py-sync-interp.exp: Likewise.
14305 * gdb.server/ext-attach.exp: Likewise.
14306 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14307 tests that need to attach, instead of checking whether the target
14308 board is remote at the top of the file.
14310 2015-01-08 Yao Qi <yao@codesourcery.com>
14312 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14314 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14316 Fix testcase compilation.
14317 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14319 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14321 * gdb.python/py-type.exp: Add a couple test about empty
14322 array creation, and negative-length array creation.
14324 2015-01-02 Doug Evans <xdje42@gmail.com>
14326 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14328 2015-01-02 Doug Evans <dje@google.com>
14330 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14332 2014-12-29 Yao Qi <yao@codesourcery.com>
14334 * gdb.trace/entry-values.exp: Update comments. Rename variable
14335 bar_call_foo to returned_from_foo.
14337 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14340 * gdb.linespec/break-asm-file.c: New file.
14341 * gdb.linespec/break-asm-file.exp: New file.
14342 * gdb.linespec/break-asm-file0.s: New file.
14343 * gdb.linespec/break-asm-file1.s: New file.
14345 2014-12-18 Nigel Stephens <nigel@mips.com>
14346 Maciej W. Rozycki <macro@codesourcery.com>
14348 * gdb.base/float.exp: Handle the new output from "info float" on
14351 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14353 Fix MinGW compilation.
14354 * gdb.compile/compile-ops.exp: Update untested message if
14355 !skip_compile_feature_tests.
14356 * gdb.compile/compile-setjmp.exp: Likewise.
14357 * gdb.compile/compile-tls.exp: Likewise.
14358 * gdb.compile/compile.exp: Likewise.
14359 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14360 supported on this host".
14362 2014-12-16 Doug Evans <xdje42@gmail.com>
14364 * boards/stabs.exp: New file.
14366 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14368 * gdb.base/completion.exp: Adjust to format changes of "maint
14369 print user-registers".
14371 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14374 * gdb.arch/aarch64-fp.c: New file.
14375 * gdb.arch/aarch64-fp.exp: New file.
14377 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14379 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14380 r210637, r210913, r211666, r215400, r215817).
14382 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14383 * dg-extract-results.py: New file.
14384 * dg-extract-results.sh: Use it if the environment seems
14387 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14389 * dg-extract-results.py (parse_run): Handle warnings that
14390 are printed before a test harness is run.
14392 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14394 * dg-extract-results.py (Named): Remove __cmp__ method.
14395 (output_variation): Use a key to sort variation.harnesses.
14397 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14399 * dg-extract-results.py: For Python 3, force sys.stdout to
14400 handle surrogate escape sequences.
14401 (safe_open): New function.
14402 (output_segment, main): Use it.
14404 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14406 * dg-extract-results.py (Prog.result_re): Include options
14409 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14411 * dg-extract-results.py (output_variation): Always sort if
14414 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14416 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14417 as long as we get pagination notifications.
14419 2014-12-15 Jason Merrill <jason@redhat.com>
14421 * Makefile.in (check-gdb.%): Restore.
14422 * README: Mention it.
14424 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14426 * gdb.ada/str_uninit: New testcase.
14428 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14431 * gdb.base/vla-stub-define.c: New file.
14432 * gdb.base/vla-stub.c: New file.
14433 * gdb.base/vla-stub.exp: New file.
14435 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14436 Jan Kratochvil <jan.kratochvil@redhat.com>
14437 Tom Tromey <tromey@redhat.com>
14439 * configure.ac: Add gdb.compile/.
14440 * configure: Regenerate.
14441 * gdb.compile/Makefile.in: New file.
14442 * gdb.compile/compile-ops.exp: New file.
14443 * gdb.compile/compile-ops.c: New file.
14444 * gdb.compile/compile-tls.c: New file.
14445 * gdb.compile/compile-tls.exp: New file.
14446 * gdb.compile/compile-constvar.S: New file.
14447 * gdb.compile/compile-constvar.c: New file.
14448 * gdb.compile/compile-mod.c: New file.
14449 * gdb.compile/compile-nodebug.c: New file.
14450 * gdb.compile/compile-setjmp-mod.c: New file.
14451 * gdb.compile/compile-setjmp.c: New file.
14452 * gdb.compile/compile-setjmp.exp: New file.
14453 * gdb.compile/compile-shlib.c: New file.
14454 * gdb.compile/compile.c: New file.
14455 * gdb.compile/compile.exp: New file.
14456 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14458 2014-12-12 Tom Tromey <tromey@redhat.com>
14460 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14461 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14463 2014-12-12 Doug Evans <dje@google.com>
14465 * lib/gdb-python.exp (get_python_valueof): New function.
14466 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14468 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14470 * gdb.base/completion.exp: Add test for completion of "info
14473 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14475 * gdb.base/func-ptrs.c: New file.
14476 * gdb.base/func-ptrs.exp: New file.
14478 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14480 PR breakpoints/17012
14481 * gdb.base/dprintf-detach.c: New file.
14482 * gdb.base/dprintf-detach.exp: New file.
14484 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14486 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14487 * lib/gdb.exp (target_is_gdbserver): New procedure.
14489 2014-12-08 Doug Evans <dje@google.com>
14491 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14493 2014-12-05 Yao Qi <yao@codesourcery.com>
14495 * gdb.guile/scm-error.exp: Remove the third argument to
14496 gdb_remote_download.
14497 * gdb.guile/scm-frame-args.exp: Likewise.
14498 * gdb.guile/scm-section-script.exp: Likewise.
14500 2014-12-05 Yao Qi <yao@codesourcery.com>
14502 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14504 2014-12-04 Doug Evans <dje@google.com>
14506 * gdb.python/py-objfile.exp: Add tests for
14507 objfile.add_separate_debug_file.
14509 2014-12-04 Doug Evans <dje@google.com>
14511 * lib/gdb.exp (get_build_id): New function.
14512 (build_id_debug_filename_get): Rewrite to use it.
14513 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14515 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14517 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14518 `method(long)', not just 0x0.
14519 * gdb.cp/nsalias.exp: Align code labels to 4.
14520 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14521 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14522 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14523 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14524 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14525 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14527 2014-12-02 Doug Evans <dje@google.com>
14530 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14531 * gdb.cp/anon-ns2.cc: ... here. New file.
14532 * gdb.cp/anon-ns.exp: Update.
14534 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14536 * gdb.python/py-events.py (inferior_call_handler): New.
14537 (register_changed_handler, memory_changed_handler): New.
14538 (test_events.invoke): Register new handlers.
14539 * gdb.python/py-events.exp: Add tests for inferior call,
14540 memory_changed and register_changed events.
14542 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14544 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14545 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14546 if the linker doesn't understand this.
14548 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14550 * gdb.python/python.exp: Change expected reply to help().
14552 2014-12-01 Yao Qi <yao@codesourcery.com>
14554 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14555 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14556 * configure: Re-generated.
14558 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14560 * gdb.cp/chained-calls.cc: New file.
14561 * gdb.cp/chained-calls.exp: New file.
14562 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14564 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14566 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14567 * gdb.dwarf2/symtab-producer.exp: Same.
14568 * gdb.gdb/python-interrupts.exp: Same.
14569 * gdb.gdb/python-selftest.exp: Same.
14570 * gdb.python/py-linetable.exp: Same.
14571 * gdb.python/py-type.exp: Same.
14572 * gdb.python/py-value-cc.exp: Same.
14573 * gdb.python/py-value.exp: Same.
14575 2014-11-28 Yao Qi <yao@codesourcery.com>
14577 * gdb.base/break-probes.exp: Match library name prefixed with
14580 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14582 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14583 test expected output. Add parentheses for the call to print.
14584 Remove L suffix from integers.
14586 2014-11-26 Doug Evans <dje@google.com>
14588 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14590 2014-11-22 Yao Qi <yao@codesourcery.com>
14592 * gdb.trace/entry-values.c: Remove asms.
14593 (foo): Add foo_label.
14594 (bar): Add bar_label.
14595 * gdb.trace/entry-values.exp: Remove code computing foo's
14596 length and bar's length.
14597 (Dwarf::assemble): Invoke function_range for bar and use
14598 MACRO_AT_func for foo.
14600 2014-11-22 Yao Qi <yao@codesourcery.com>
14602 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14603 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14604 Use .Lgcc43_procstart instead of gcc43.
14606 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14608 * gdb.ada/n_arr_bound: New testcase.
14610 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14612 PR breakpoints/10737
14613 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14614 test_catch_syscall_multi_arch.
14615 (test_catch_syscall_multi_arch): New function.
14617 2014-11-20 Doug Evans <xdje42@gmail.com>
14619 * gdb.base/maint.exp: Update expected output.
14621 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14623 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14624 4-byte instruction on S390.
14626 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14628 * gdb.ada/arr_arr: New testcase.
14630 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14632 * gdb.ada/pkd_arr_elem: New Testcase.
14634 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14636 * gdb.reverse/break-precsave: Expect completion message for
14638 * gdb.reverse/consecutive-precsave.exp: Likewise.
14639 * gdb.reverse/finish-precsave.exp: Likewise.
14640 * gdb.reverse/i386-precsave.exp: Likewise.
14641 * gdb.reverse/machinestate-precsave.exp: Likewise.
14642 * gdb.reverse/sigall-precsave.exp: Likewise.
14643 * gdb.reverse/solib-precsave.exp: Likewise.
14644 * gdb.reverse/step-precsave.exp: Likewise.
14645 * gdb.reverse/until-precsave.exp: Likewise.
14646 * gdb.reverse/watch-precsave.exp: Likewise.
14648 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14650 * gdb.base/bp-permanent.c: Include unistd.h.
14651 * gdb.python/py-framefilter-mi.c (main): Add return type.
14652 * gdb.python/py-framefilter.c (main): Likewise.
14653 * gdb.trace/actions-changed.c (main): Likewise.
14655 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14657 * gdb.mi/until.c: Add eye-catchers.
14658 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14661 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14663 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14664 function header variants in break1.c.
14665 * gdb.base/ena-dis-br.exp: Likewise.
14666 * gdb.base/hbreak2.exp: Likewise.
14667 * gdb.reverse/until-precsave.exp: Drop references to removed
14668 non-prototype function header variants in ur1.c.
14669 * gdb.reverse/until-reverse.exp: Likewise.
14671 2014-11-17 Petr Machata <pmachata@redhat.com>
14673 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14674 ${_cu_offset_size} bytes abbrev offset.
14676 2014-11-15 Doug Evans <xdje42@gmail.com>
14679 * gdb.base/line-symtabs.exp: New file.
14680 * gdb.base/line-symtabs.c: New file.
14681 * gdb.base/line-symtabs.h: New file.
14683 2014-11-14 Yao Qi <yao@codesourcery.com>
14685 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14686 (func): Add label func_label.
14687 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14688 Replace low_pc and high_pc with MACRO_AT_range.
14689 Replace name, low_pc and high_pc with MACRO_AT_func.
14691 2014-11-14 Yao Qi <yao@codesourcery.com>
14693 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14694 Replace name, low_pc and high_pc with MACRO_AT_func.
14696 2014-11-14 Yao Qi <yao@codesourcery.com>
14698 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14699 produce debug information.
14700 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14702 2014-11-14 Yao Qi <yao@codesourcery.com>
14704 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14705 object and get function length.
14706 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14707 with MACRO_AT_func.
14708 (top-level): Replace gdb_compile and clean_restart with
14709 prepare_for_testing.
14710 * gdb.dwarf2/main.c (main): Add label main_label.
14712 2014-11-14 Yao Qi <yao@codesourcery.com>
14714 * lib/dwarf.exp (function_range): New procedure.
14715 (Dwarf::_handle_macro_at_func): New procedure.
14716 (Dwarf::_handle_macro_at_range): New procedure.
14717 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14719 2014-11-14 Yao Qi <yao@codesourcery.com>
14721 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14722 (_handle_attribute): New procedure.
14724 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14726 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14727 * gdb.base/call-sc.c (zed): Likewise.
14728 * gdb.base/checkpoint.c (main): Likewise.
14729 * gdb.base/dump.c (main): Likewise.
14730 * gdb.base/gcore.c (main): Likewise.
14731 * gdb.base/huge.c (main): Likewise.
14732 * gdb.base/multi-forks.c (main): Likewise.
14733 * gdb.base/pr10179-a.c (main): Likewise.
14734 * gdb.base/savedregs.c (main): Likewise.
14735 * gdb.base/sigaltstack.c (main): Likewise.
14736 * gdb.base/siginfo.c (main): Likewise.
14737 * gdb.base/structs.c (zed): Likewise.
14738 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14739 * gdb.mi/mi-syn-frame.c (main): Likewise.
14740 * gdb.mi/until.c (foo, main): Likewise.
14741 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14742 * gdb.base/solib-weak.c (foo): Declare.
14743 * gdb.base/attach-twice.c: Include stdio.h.
14744 * gdb.base/weaklib1.c: Likewise.
14745 * gdb.base/weaklib2.c: Likewise.
14746 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14747 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14749 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14750 * gdb.mi/mi-exit-code.c: Likewise.
14751 * gdb.base/break-interp-lib.c: Include string.h.
14752 * gdb.base/coremaker.c: Likewise.
14753 * gdb.base/testenv.c: Likewise.
14754 * gdb.python/py-finish-breakpoint.c: Likewise.
14755 * gdb.base/inferior-died.c: Include sys/wait.h.
14756 * gdb.base/fileio.c: Include time.h.
14757 * gdb.base/async-shell.c: Include unistd.h.
14758 * gdb.base/dprintf-non-stop.c: Likewise.
14759 * gdb.base/info-os.c: Likewise.
14760 * gdb.mi/mi-console.c: Likewise.
14761 * gdb.mi/watch-nonstop.c: Likewise.
14762 * gdb.python/py-events.c: Likewise.
14763 * gdb.base/async.c (baz): Move up before its invocation.
14764 * gdb.base/code_elim2.c (my_global_func): Likewise.
14765 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14766 * gdb.base/advance.c (func2): Likewise.
14768 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14770 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14772 * gdb.base/annota3.c: Likewise.
14773 * gdb.base/async.c: Likewise.
14774 * gdb.base/average.c: Likewise.
14775 * gdb.base/call-ar-st.c: Likewise.
14776 * gdb.base/call-rt-st.c: Likewise.
14777 * gdb.base/call-sc.c: Likewise.
14778 * gdb.base/call-strs.c: Likewise.
14779 * gdb.base/ending-run.c: Likewise.
14780 * gdb.base/execd-prog.c: Likewise.
14781 * gdb.base/exprs.c: Likewise.
14782 * gdb.base/foll-exec.c: Likewise.
14783 * gdb.base/foll-fork.c: Likewise.
14784 * gdb.base/foll-vfork.c: Likewise.
14785 * gdb.base/funcargs.c: Likewise.
14786 * gdb.base/gcore.c: Likewise.
14787 * gdb.base/jump.c: Likewise.
14788 * gdb.base/langs0.c: Likewise.
14789 * gdb.base/langs1.c: Likewise.
14790 * gdb.base/langs2.c: Likewise.
14791 * gdb.base/mips_pro.c: Likewise.
14792 * gdb.base/nodebug.c: Likewise.
14793 * gdb.base/opaque0.c: Likewise.
14794 * gdb.base/opaque1.c: Likewise.
14795 * gdb.base/recurse.c: Likewise.
14796 * gdb.base/run.c: Likewise.
14797 * gdb.base/scope0.c: Likewise.
14798 * gdb.base/scope1.c: Likewise.
14799 * gdb.base/setshow.c: Likewise.
14800 * gdb.base/setvar.c: Likewise.
14801 * gdb.base/shmain.c: Likewise.
14802 * gdb.base/shr1.c: Likewise.
14803 * gdb.base/shr2.c: Likewise.
14804 * gdb.base/sigall.c: Likewise.
14805 * gdb.base/signals.c: Likewise.
14806 * gdb.base/so-indr-cl.c: Likewise.
14807 * gdb.base/solib2.c: Likewise.
14808 * gdb.base/structs.c: Likewise.
14809 * gdb.base/sum.c: Likewise.
14810 * gdb.base/vforked-prog.c: Likewise.
14811 * gdb.base/watchpoint.c: Likewise.
14812 * gdb.reverse/shr2.c: Likewise.
14813 * gdb.reverse/until-reverse.c: Likewise.
14814 * gdb.reverse/ur1.c: Likewise.
14815 * gdb.reverse/watch-reverse.c: Likewise.
14817 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14819 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14821 * gdb.base/sepdebug.exp: Drop references to removed code.
14823 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14825 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14826 variant. Preserve original line numbering.
14827 * gdb.base/list1.c: Likewise.
14829 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14831 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14833 * gdb.base/break1.c: Likewise.
14834 * gdb.base/break.exp: Drop references to removed code.
14836 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14838 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14841 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14843 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14845 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14847 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14848 logic into perform_all_tests() and invoke it with and without
14849 function header prototypes.
14850 (do_function_calls): Remove conditional XFAIL for PR 5318.
14851 (rerun_and_prepare): Remove duplicate code.
14852 (perform_all_tests): New. Main logic moved here.
14854 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14856 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14857 code guarded by #ifdef NO_PROTOTYPES.
14858 (t_double_many_args): Likewise.
14859 (DEF_FUNC_MANY_ARGS_1): Likewise.
14860 (DEF_FUNC_VALUES_1): Likewise.
14861 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14862 guarded by #ifdef PROTOTYPES.
14864 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14866 * gdb.mi/mi-console.c: Add eye-catcher.
14867 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14868 instead of literal line number.
14870 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14872 * gdb.base/shr2.c: Add eye-catcher.
14873 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14876 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14878 * gdb.base/jump.c: Add eye-catchers.
14879 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14882 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14884 * gdb.base/execd-prog.c: Add eye-catchers.
14885 * gdb.base/foll-exec.c: Likewise.
14886 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14889 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14891 * gdb.base/ending-run.c: Add eye-catchers.
14892 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14893 literal line numbers.
14895 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14897 * gdb.base/call-rt-st.c: Add eye-catchers.
14898 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14899 literal line numbers.
14901 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14903 * gdb.base/call-ar-st.c: Add eye-catchers.
14904 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14905 literal line numbers.
14907 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14909 * gdb.base/average.c: Add eye-catchers.
14910 * gdb.base/sum.c: Likewise.
14911 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14912 regexps dynamically.
14914 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14916 * gdb.base/solib1.c: Add eye-catchers.
14917 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14918 literal line numbers.
14920 2014-11-12 Pedro Alves <palves@redhat.com>
14922 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14925 2014-11-12 Pedro Alves <palves@redhat.com>
14927 * gdb.arch/i386-bp_permanent.c: New file.
14928 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14929 (srcfile): Set to i386-bp_permanent.c.
14930 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14931 that stepi does not execute the 'leave' instruction, instead of
14932 testing it does execute.
14933 * gdb.base/bp-permanent.c: New file.
14934 * gdb.base/bp-permanent.exp: New file.
14936 2014-11-10 Doug Evans <xdje42@gmail.com>
14939 * gdb.base/symtab-search-order.exp: New file.
14940 * gdb.base/symtab-search-order.c: New file.
14941 * gdb.base/symtab-search-order-1.c: New file.
14942 * gdb.base/symtab-search-order-shlib-1.c: New file.
14944 2014-11-07 Pedro Alves <palves@redhat.com>
14947 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14950 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14953 * gdb.cp/pr17494.cc: New file.
14954 * gdb.cp/pr17494.exp: New file.
14956 2014-11-02 Yao Qi <yao@codesourcery.com>
14958 * gdb.python/python.exp: Get working directory and match the
14959 output of "set extended-prompt \\w " with it.
14961 2014-10-30 Doug Evans <dje@google.com>
14963 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14965 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14968 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14970 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14971 * gdb.base/realname-expand.exp: Likewise.
14972 * gdb.linespec/macro-relative.exp: Likewise.
14974 2014-10-29 Pedro Alves <palves@redhat.com>
14977 * gdb.threads/schedlock.c (some_function): New function.
14978 (call_function): New global.
14979 (MAYBE_CALL_SOME_FUNCTION): New macro.
14980 (thread_function): Call it.
14981 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14982 and use it instead of a global counter. Adjust all callers.
14983 (get_current_thread): Use "find current thread" for test message
14984 here rather than having all callers pass down the same string.
14985 (goto_loop): New procedure, factored out from ...
14986 (my_continue): ... this.
14987 (step_ten_loops): Change parameter from test message to command to
14989 (list_count): Delete global.
14990 (check_result): New procedure, factored out from duplicate top
14992 (continue tests): Wrap in with_test_prefix.
14993 (test_step): New procedure, factored out from duplicate top level
14995 (top level): Test "step" in combination with all scheduler-locking
14996 modes. Test "next" in combination with all scheduler-locking
14997 modes, and in combination with stepping over a function call or
14999 * gdb.threads/next-bp-other-thread.c: New file.
15000 * gdb.threads/next-bp-other-thread.exp: New file.
15002 2014-10-29 Pedro Alves <palves@redhat.com>
15005 * gdb.python/python.exp: Test a multi-line command that spawns
15006 interactive Python.
15007 * gdb.base/multi-line-starts-subshell.exp: New file.
15009 2014-10-29 Yao Qi <yao@codesourcery.com>
15011 * gdb.base/fileio.exp: Make directories on host.
15013 2014-10-29 Yao Qi <yao@codesourcery.com>
15015 * gdb.base/fileio.c (test_write): Close the file.
15017 2014-10-28 Pedro Alves <palves@redhat.com>
15020 * gdb.base/sigstep.c (no_handler): New global.
15021 (main): If 'no_handler is true, set the signal handlers to
15023 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15024 with_sw_watch and no_handler parameters. Handle them.
15025 (top level) <stepping over handler when stopped at a breakpoint
15026 test>: Add a test axis for testing with a software watchpoint, and
15027 another for testing with the signal handler set to SIG_IGN.
15028 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15029 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15031 2014-10-28 Pedro Alves <palves@redhat.com>
15034 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15035 * gdb.base/sigstep.exp (other_handler_location): New global.
15036 (advance): Support stepping into the signal handler, and running
15037 commands while in the handler.
15038 (in_handler_map): New global.
15039 (top level): In the advance test, add combinations for getting
15040 into the handler with stepping commands, and for running commands
15041 in the handler. Add comment descripting the advancei tests.
15043 2014-10-28 Pedro Alves <palves@redhat.com>
15045 * gdb.base/sigstep.exp: Use build_executable instead of
15046 prepare_for_testing.
15047 (top level): Move code that starts GDB, runs to main and creates a
15049 (restart): ... this new procedure.
15050 (top level): Move backtrace from signal handler test to ...
15051 (validate_backtrace): ... this new procedure.
15052 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15053 with_test_prefix. Always restart GDB.
15054 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15055 with_test_prefix. Always restart GDB. No need to delete
15056 breakpoints after the test.
15057 (test_skip_handler): Remove prefix parameter.
15058 (skip_over_handler, breakpoint_to_handler)
15059 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15060 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15061 restart GDB. No need to delete breakpoints after the test.
15062 (top level): Use foreach to call the test procedures with
15063 different commands.
15065 2014-10-28 Pedro Alves <palves@redhat.com>
15067 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15068 instead of GNATS numbers.
15069 * gdb.base/sigbpt.exp: Likewise.
15070 * gdb.base/siginfo.exp: Likewise.
15071 * gdb.base/sigstep.exp: Likewise.
15073 2014-10-27 Pedro Alves <palves@redhat.com>
15075 * gdb.base/sigstep.c (dummy): New global.
15076 (main): Issue a couple writes to the new global.
15077 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15079 (skip_over_handler): Use test_skip_handler.
15080 (top level): Call skip_over_handler for stepi and nexti too.
15081 (breakpoint_over_handler): Use test_skip_handler.
15082 (top level): Call breakpoint_over_handler for stepi and nexti too.
15084 2014-10-27 Yao Qi <yao@codesourcery.com>
15086 * gdb.trace/tfile.c (adjust_function_address)
15087 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15088 function descriptor.
15090 2014-10-24 Don Breazeal <donb@codesourcery.com>
15092 * gdb.base/foll-fork.exp (test_follow_fork,
15093 catch_fork_child_follow): Check for updated fork messages emitted
15095 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15096 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15097 vfork_and_exec_child_follow_through_step): Check for updated vfork
15098 messages emitted from infrun.c.
15100 2014-10-24 Pedro Alves <palves@redhat.com>
15102 * gdb.base/corefile.exp: Remove references to ultrix.
15103 * gdb.base/interrupt.exp: Likewise.
15104 * gdb.base/whatis.exp: Likewise.
15105 * gdb.gdb/selftest.exp: Likewise.
15106 * gdb.threads/manythreads.exp: Likewise.
15107 * gdb.threads/print-threads.exp: Likewise.
15108 * gdb.threads/pthreads.exp:: Likewise.
15109 * gdb.threads/schedlock.exp: Likewise.
15111 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15113 * gdb.cp/non-trivial-retval.cc: Add a test case.
15114 * gdb.cp/non-trivial-retval.exp: Add a test.
15116 2014-10-20 Yao Qi <yao@codesourcery.com>
15118 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15119 * gdb.python/py-objfile-script-gdb.py: New file.
15120 * gdb.python/py-objfile-script.exp: Update reference to
15121 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15122 of remote_download. Remove the dest file.
15124 2014-10-20 Yao Qi <yao@codesourcery.com>
15126 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15127 * gdb.base/step-line.exp: Likewise.
15128 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15129 * gdb.dwarf2/dw2-basic.exp: Likewise.
15130 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15131 * gdb.dwarf2/dw2-filename.exp: Likewise.
15132 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15133 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15134 * gdb.dwarf2/dw2-producer.exp: Likewise.
15135 * gdb.dwarf2/mac-fileno.exp: Likewise.
15136 * gdb.python/py-frame-args.exp: Likewise.
15137 * gdb.python/py-framefilter.exp: Likewise.
15138 * gdb.python/py-mi.exp: Likewise.
15139 * gdb.python/py-objfile-script.exp: Likewise
15140 * gdb.python/py-pp-integral.exp: Likewise.
15141 * gdb.python/py-pp-re-notag.exp: Likewise.
15142 * gdb.python/py-prettyprint.exp: Likewise.
15143 * gdb.python/py-section-script.exp: Likewise.
15144 * gdb.python/py-typeprint.exp: Likewise.
15145 * gdb.python/py-xmethods.exp: Likewise.
15146 * gdb.stabs/weird.exp: Likewise.
15147 * gdb.xml/tdesc-regs.exp: Likewise.
15149 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15151 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15152 (out_cu): Use addr_len for the size of addresses.
15153 (out_line): Likewise. Size DW_LNE_set_address instruction
15154 according to addr_len.
15155 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15156 (FUNC): Add START_INSNS to definition.
15158 2014-10-18 Yao Qi <yao@codesourcery.com>
15160 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15161 gdb_has_argv0 return true.
15162 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15163 check [target_info exists noargs], check [gdb_has_argv0]
15165 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15166 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15169 2014-10-17 Doug Evans <dje@google.com>
15171 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15173 * gdb.python/py-events.py: Add clear_objfiles event.
15175 2014-10-17 Doug Evans <dje@google.com>
15177 * gdb.python/py-objfile.exp: Test progspace attribute.
15179 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15181 * gdb.guile/scm-breakpoint.exp: Do not assume any
15182 directory separators when matching source file paths.
15183 * gdb.python/py-breakpoint.exp: Likewise.
15184 * gdb.reverse/break-precsave.exp: Likewise.
15185 * gdb.reverse/break-reverse.exp: Likewise.
15186 * gdb.reverse/consecutive-precsave.exp: Likewise.
15187 * gdb.reverse/finish-precsave.exp: Likewise.
15188 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15189 * gdb.reverse/finish-reverse.exp: Likewise.
15190 * gdb.reverse/i386-precsave.exp: Likewise.
15191 * gdb.reverse/i387-env-reverse.exp: Likewise.
15192 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15193 * gdb.reverse/machinestate-precsave.exp: Likewise.
15194 * gdb.reverse/machinestate.exp: Likewise.
15195 * gdb.reverse/sigall-precsave.exp: Likewise.
15196 * gdb.reverse/solib-precsave.exp: Likewise.
15197 * gdb.reverse/step-precsave.exp: Likewise.
15198 * gdb.reverse/until-precsave.exp: Likewise.
15199 * gdb.reverse/watch-precsave.exp: Likewise.
15200 * gdb.reverse/watch-reverse.exp: Likewise.
15202 2014-10-17 Yao Qi <yao@codesourcery.com>
15204 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15205 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15207 2014-10-17 Pedro Alves <palves@redhat.com>
15210 * gdb.base/bg-execution-repeat.c: New file.
15211 * gdb.base/bg-execution-repeat.exp: New file.
15213 2014-10-17 Pedro Alves <palves@redhat.com>
15216 * gdb.base/continue-all-already-running.c: New file.
15217 * gdb.base/continue-all-already-running.exp: New file.
15219 2014-10-17 Pedro Alves <palves@redhat.com>
15222 * gdb.base/annota-input-while-running.c: New file.
15223 * gdb.base/annota-input-while-running.exp: New file.
15225 2014-10-17 Pedro Alves <palves@redhat.com>
15227 * gdb.base/callfuncs.exp: emove references to osf.
15228 * gdb.base/sigall.exp: Likewise.
15229 * gdb.gdb/selftest.exp: Likewise.
15230 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15231 * gdb.mi/non-stop.c: Likewise.
15232 * gdb.mi/pthreads.c: Likewise.
15233 * gdb.reverse/sigall-precsave.exp: Likewise.
15234 * gdb.reverse/sigall-reverse.exp: Likewise.
15235 * gdb.threads/pthreads.c: Likewise.
15236 * gdb.threads/pthreads.exp: Likewise.
15238 2014-10-17 Yao Qi <yao@codesourcery.com>
15240 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15241 check 'target_info exists noargs'.
15242 (test_command_prompt_position): Likewise.
15243 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15245 (progvar_simple_while_test): Likewise.
15246 (progvar_complex_if_while_test): Likewise.
15247 (if_while_breakpoint_command_test): Likewise.
15248 (infrun_breakpoint_command_test): Likewise.
15249 (breakpoint_command_test): Likewise.
15250 (watchpoint_command_test): Likewise.
15251 (bp_deleted_in_command_test): Likewise.
15252 (temporary_breakpoint_commands): Likewise.
15254 2014-10-16 Yao Qi <yao@codesourcery.com>
15256 * gdb.base/remotetimeout.exp: Remove noargs checking.
15258 2014-10-15 Pedro Alves <palves@redhat.com>
15260 PR breakpoints/9649
15261 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15262 * gdb.base/breakpoint-in-ro-region.exp
15263 (probe_target_hardware_step): New procedure.
15264 (top level): Probe hardware stepping and hardware breakpoint
15265 support. Test stepping through a read-only region, with both
15266 "breakpoint auto-hw" on and off and both "always-inserted" on and
15269 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15271 * gdb.dlang/demangle.exp: Update for demangling changes.
15273 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15275 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15276 * gdb.cp/non-trivial-retval.exp: Add new tests.
15278 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15282 * gdb.cp/non-trivial-retval.cc: New file.
15283 * gdb.cp/non-trivial-retval.exp: New file.
15285 2014-10-15 Yao Qi <yao@codesourcery.com>
15287 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15290 2014-10-15 Yao Qi <yao@codesourcery.com>
15292 * gdb.python/py-symbol.exp: Match file base name if host is
15293 remote, otherwise match file name with dir name.
15294 * gdb.python/py-symtab.exp: Likewise.
15295 * gdb.python/python.exp: Likewise.
15297 2014-10-15 Yao Qi <yao@codesourcery.com>
15299 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15301 * gdb.python/py-symtab.exp: Likewise.
15302 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15305 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15307 * gdb.ada/addr_arith: New testcase.
15309 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15311 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15312 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15313 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15314 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15316 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15318 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15319 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15320 * gdb.arch/stap-eval-lang-ada.exp: New file.
15322 2014-10-14 Yao Qi <yao@codesourcery.com>
15324 * gdb.mi/mi-var-child.c (nothing1): New function.
15325 (nothing2): New function.
15326 (do_children_tests): Set function pointers by nothing1 and
15328 * gdb.mi/mi-var-child.exp: Step over new added statements.
15329 Update test to match the new output.
15330 * gdb.mi/var-cmd.c (nothing1): New function.
15331 (nothing2): New function.
15332 (do_children_tests): Set function pointers by nothing1 and
15334 * gdb.mi/mi-var-display.exp: Update test to match output.
15335 Step to the line specified by $line_dct_nothing.
15336 Increase the number of lines to step.
15338 2014-10-14 Yao Qi <yao@codesourcery.com>
15340 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15342 * gdb.mi/mi2-var-child.exp: Likewise.
15344 2014-10-13 Doug Evans <dje@google.com>
15346 * gdb.python/py-objfile.exp: Change name of file name test.
15348 2014-10-13 Doug Evans <dje@google.com>
15350 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15351 from the start of the CU.
15353 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15354 Yao Qi <yao@codesourcery.com>
15356 Fix "save breakpoints" for "catch" command.
15357 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15358 Remove -nonewline. Match also the added "main" line.
15360 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15362 Fix "save breakpoints" for "disable $bpnum" command.
15363 * gdb.base/save-bp.c (main): Add label.
15364 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15366 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15368 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15370 2014-10-11 Yao Qi <yao@codesourcery.com>
15372 * gdb.server/server-kill.exp: Execute command
15373 "set remote trace-status-packet on" before "tstatus".
15375 2014-10-11 Yao Qi <yao@codesourcery.com>
15377 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15378 (main): Call getppid.
15379 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15380 and continue to it. Read variable "server_pid".
15382 2014-10-11 Yao Qi <yao@codesourcery.com>
15384 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15386 2014-10-11 Yao Qi <yao@codesourcery.com>
15388 * gdb.threads/thread-find.exp: Don't execute command
15390 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15391 * gdb.threads/linux-dp.exp: Don't check the condition
15392 $threads_created equals to zero.
15394 2014-10-10 Pedro Alves <palves@redhat.com>
15396 * gdb.base/bigcore.exp: Remove references to IRIX.
15397 * gdb.base/funcargs.exp: Likewise.
15398 * gdb.base/interrupt.exp: Likewise.
15399 * gdb.base/mips_pro.exp: Likewise.
15400 * gdb.base/nodebug.exp: Likewise.
15401 * gdb.base/setvar.exp: Likewise.
15402 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15404 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15405 Pedro Alves <palves@redhat.com>
15408 * gdb.base/vdso-warning.c: New file.
15409 * gdb.base/vdso-warning.exp: New file.
15411 2014-10-02 Doug Evans <dje@google.com>
15413 * gdb.base/structs.c (main): Don't run forever.
15415 2014-10-02 Pedro Alves <palves@redhat.com>
15417 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15418 (top level) <stop threads 1, stop threads 2>: Use it.
15420 2014-10-02 Pedro Alves <palves@redhat.com>
15422 * gdb.threads/break-while-running.exp (test): Add new
15423 'update_thread_list' argument. Skip "info threads" if false.
15424 (top level): Add new 'update_thread_list' axis.
15426 2014-10-02 Pedro Alves <palves@redhat.com>
15428 PR breakpoints/17431
15429 * gdb.base/execl-update-breakpoints.c: New file.
15430 * gdb.base/execl-update-breakpoints.exp: New file.
15432 2014-10-01 Pedro Alves <palves@redhat.com>
15434 * gdb.base/breakpoint-in-ro-region.c: New file.
15435 * gdb.base/breakpoint-in-ro-region.exp: New file.
15437 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15439 * gdb.mi/mi-exit-code.exp: New file.
15440 * gdb.mi/mi-exit-code.c: New file.
15442 2014-09-30 Yao Qi <yao@codesourcery.com>
15444 * lib/prelink-support.exp (build_executable_own_libs): Error if
15445 the target isn't native.
15447 2014-09-30 Yao Qi <yao@codesourcery.com>
15449 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15452 2014-09-22 Pedro Alves <palves@redhat.com>
15454 * gdb.threads/break-while-running.exp: New file.
15455 * gdb.threads/break-while-running.c: New file.
15457 2014-09-19 Yao Qi <yao@codesourcery.com>
15459 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15460 Invoke test. Restart GDB with --readnow and invoke test again.
15462 2014-09-19 Yao Qi <yao@codesourcery.com>
15464 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15465 proc set_breakpoint_on_gcd_function. Invoke
15466 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15467 invoke set_breakpoint_on_gcd_function again.
15469 2014-09-18 Doug Evans <dje@google.com>
15471 * gdb.dwarf2/symtab-producer.exp: New file.
15473 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15475 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15476 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15477 * gdb.base/global-var-nested-by-dso.c: Likewise.
15478 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15480 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15481 Pedro Alves <palves@redhat.com>
15483 * gdb.base/watch-bitfields.exp: Pass string other than test file
15484 name to prepare_for_testing.
15485 (watch): New procedure.
15486 (expect_watchpoint): Use with_test_prefix.
15487 (top level): Factor out tests to ...
15488 (test_watch_location, test_regular_watch): ... these new
15489 procedures, and use with_test_prefix and gdb_continue_to_end.
15491 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15493 PR breakpoints/12526
15494 * gdb.base/watch-bitfields.exp: New file.
15495 * gdb.base/watch-bitfields.c: New file.
15497 2014-09-16 Pedro Alves <palves@redhat.com>
15499 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15500 software and hardware addresses, not software address against
15503 2014-09-16 Pedro Alves <palves@redhat.com>
15505 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15506 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15508 2014-09-16 Pedro Alves <palves@redhat.com>
15510 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15512 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15513 "*-*-vxworks*" throughout.
15514 * gdb.base/break.exp: Likewise.
15515 * gdb.base/default.exp: Likewise.
15516 * gdb.base/scope.exp: Likewise.
15517 * gdb.base/sepdebug.exp: Likewise.
15518 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15520 * gdb.base/run.c: Likewise.
15521 * gdb.base/sepdebug.c: Likewise.
15522 * gdb.hp/gdb.aCC/run.c: Likewise.
15523 * gdb.reverse/until-reverse.c: Likewise.
15524 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15526 2014-09-16 Yao Qi <yao@codesourcery.com>
15528 * boards/local-remote-host-native.exp: New file.
15530 2014-09-14 Doug Evans <xdje42@gmail.com>
15532 * gdb.threads/queue-signal.c (thread_count): New variable.
15533 (thread_count_mutex, thread_count_condvar): New variables.
15534 (incr_thread_count, wait_all_threads_running): New functions.
15535 (main): Wait for all threads to be in their thread functions.
15537 2014-09-13 Doug Evans <xdje42@gmail.com>
15539 * gdb.threads/queue-signal.c: New file.
15540 * gdb.threads/queue-signal.exp: New file.
15542 2014-09-13 Doug Evans <xdje42@gmail.com>
15544 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15545 be consistent with what default_gdb_init uses.
15546 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15547 the plain text of the prompt. Add some logging printfs.
15548 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15550 2014-09-12 Pedro Alves <palves@redhat.com>
15552 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15553 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15554 * gdb.arch/i386-size-overlap.exp: Likewise.
15555 * gdb.arch/i386-size.exp: Likewise.
15556 * gdb.arch/i386-unwind.exp: Likewise.
15557 * gdb.base/a2-run.exp: Likewise.
15558 * gdb.base/break.exp: Likewise.
15559 * gdb.base/charset.exp: Likewise.
15560 * gdb.base/chng-syms.exp: Likewise.
15561 * gdb.base/commands.exp: Likewise.
15562 * gdb.base/dbx.exp: Likewise.
15563 * gdb.base/find.exp: Likewise.
15564 * gdb.base/funcargs.exp: Likewise.
15565 * gdb.base/jit-simple.exp: Likewise.
15566 * gdb.base/reread.exp: Likewise.
15567 * gdb.base/sepdebug.exp: Likewise.
15568 * gdb.base/step-bt.exp: Likewise.
15569 * gdb.cp/mb-inline.exp: Likewise.
15570 * gdb.cp/mb-templates.exp: Likewise.
15571 * gdb.objc/basicclass.exp: Likewise.
15572 * gdb.threads/killed.exp: Likewise.
15574 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15577 * gdb.arch/powerpc-stackless.S: New file.
15578 * gdb.arch/powerpc-stackless.exp: New file.
15580 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15582 * gdb.base/attach.c: Include unistd.h.
15583 (main): Call alarm. Add label postloop.
15584 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15585 gdb_breakpoint, gdb_continue_to_breakpoint.
15586 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15588 2014-09-11 Pedro Alves <palves@redhat.com>
15591 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15592 * gdb.base/attach.exp (test_command_line_attach_run): New
15594 (top level): Call it.
15596 2014-09-11 Pedro Alves <palves@redhat.com>
15598 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15599 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15600 (do_command_attach_tests): Use spawn_wait_for_attach.
15601 * gdb.base/solib-overlap.exp: Likewise.
15602 * gdb.multi/multi-attach.exp: Likewise.
15603 * gdb.python/py-prompt.exp: Likewise.
15604 * gdb.python/py-sync-interp.exp: Likewise.
15605 * gdb.server/ext-attach.exp: Likewise.
15607 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15609 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15610 command in testcase. Simplify testcase.
15612 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15614 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15616 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15618 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15620 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15622 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15624 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15626 * gdb.dwarf2/dynarr-ptr.c: New file.
15627 * gdb.dwarf2/dynarr-ptr.exp: New file.
15629 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15631 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15632 of 30 rather than hardcoding 120 for a slow test case. Take the
15633 `gdb,timeout' target setting into account for this calculation.
15634 Don't extend the timeout for the test cases that don't need it.
15636 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15638 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15639 a factor of 2 for a slow test case. Take the `gdb,timeout'
15640 target setting into account for this calculation.
15641 * gdb.reverse/until-precsave.exp: Increase the timeout by
15642 a factor of 15 and 3 respectively rather than adding 120
15643 for a pair of slow test cases. Take the `gdb,timeout'
15644 target setting into account for this calculation.
15646 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15648 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15649 timeout, don't pass one down to gdb_expect.
15650 (gdb_expect): Rework timeout selection.
15652 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15654 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15655 exception on timeout.
15656 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15657 (gdbserver_start_extended): Catch any `gdbserver_start' error
15659 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15660 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15661 `gdbserver_gdb_load' error exceptions.
15663 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15665 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15666 120 on waiting for the TCP socket to open.
15668 2014-09-09 Doug Evans <xdje42@gmail.com>
15670 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15671 _caller_matches, _any_caller_is, _any_caller_matches.
15673 2014-09-09 Doug Evans <xdje42@gmail.com>
15675 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15677 2014-09-09 Yao Qi <yao@codesourcery.com>
15679 * gdb.mi/mi-var-display.exp: Set print symbol off.
15681 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15684 * gdb.base/commands.exp: Add tests to verify user-defined
15685 commands with empty bodies.
15686 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15687 python commands in `show user command`.
15688 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15689 scheme commands in `show user command`.
15691 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15694 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15695 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15696 * gdb.python/py-framefilter-invalidarg.exp: New file.
15697 * gdb.python/py-framefilter-invalidarg.py: New file.
15699 2014-09-06 Doug Evans <xdje42@gmail.com>
15702 * gdb.python/py-caller-is.c: New file.
15703 * gdb.python/py-caller-is.exp: New file.
15705 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15708 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15709 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15711 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15714 * gdb.fortran/print-formatted.exp: New file.
15715 * gdb.fortran/print-formatted.f90: Likewise.
15717 2014-09-03 Sasha Smundak <asmundak@google.com>
15719 * gdb.python/py-frame.exp: Test Frame.read_register.
15721 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15724 * gdb.python/py-completion.exp: New file.
15725 * gdb.python/py-completion.py: Likewise.
15727 2014-08-28 Doug Evans <dje@google.com>
15729 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15730 eax,etc. are live with values set by gdb and thus the compiler can't
15732 * gdb.arch/i386-pseudo.c (main): Ditto.
15734 2014-08-27 Doug Evans <dje@google.com>
15736 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15738 2014-08-25 Doug Evans <dje@google.com>
15740 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15743 2014-08-25 Doug Evans <dje@google.com>
15745 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15747 2014-08-24 Yao Qi <yao@codesourcery.com>
15749 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15751 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15753 2014-08-22 Doug Evans <dje@google.com>
15756 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15757 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15758 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15760 2014-08-22 Yao Qi <yao@codesourcery.com>
15762 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15763 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15764 * gdb.python/python.exp: Likewise. Use .py file on the host
15765 instead of the build.
15767 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15769 * gdb.threads/gcore-stale-thread.c: New file.
15770 * gdb.threads/gcore-stale-thread.exp: New file.
15772 2014-08-21 Pedro Alves <palves@redhat.com>
15774 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15775 * gdb.base/gcore-relro-pie.exp: Likewise.
15776 * gdb.base/gcore-relro.exp: Likewise.
15777 * gdb.base/gcore.exp: Likewise.
15778 * gdb.base/print-symbol-loading.exp: Likewise.
15779 * gdb.threads/gcore-thread.exp: Likewise.
15780 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15782 2014-08-20 Pedro Alves <palves@redhat.com>
15783 Jan Kratochvil <jan.kratochvil@redhat.com>
15785 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15787 (EXPECT): Handle READ1 being set.
15788 (all): Depend on EXTRA_RULES.
15789 (check-read1, expect-read1, read1.so, read1): New rules.
15790 * README (Testsuite Parameters): Document the READ1 make variable.
15791 (Race detection): New section.
15792 * configure: Regenerate.
15793 * configure.ac: If build==host==target, and running under a
15794 GNU/glibc system, add read1 to the extra Makefile rules.
15795 (EXTRA_RULES): AC_SUBST it.
15796 * lib/read1.c: New file.
15798 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15800 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15801 the handling of variables declared as a typedef to an array
15802 which a DW_AT_data_location attribute.
15804 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15805 Pedro Alves <palves@redhat.com>
15809 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15812 2014-08-19 Pedro Alves <palves@redhat.com>
15814 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15816 2014-08-19 Yao Qi <yao@codesourcery.com>
15818 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15821 2014-08-18 David Blaikie <dblaikie@gmail.com>
15823 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15825 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15827 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15828 attribute in array range.
15830 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15832 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15834 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15837 * gdb.cp/pr17132.cc: New file.
15838 * gdb.cp/pr17132.exp: New file.
15840 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15842 * gdb.python/py-xmethods.py (A_getarrayind)
15843 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15844 Use 'print' with function call syntax.
15845 (E_method_matcher.match): Fix tab vs space indentation mixup.
15847 2014-08-15 Yao Qi <yao@codesourcery.com>
15849 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15852 2014-08-15 Yao Qi <yao@codesourcery.com>
15854 * gdb.cp/casts.exp: Set print symbol off.
15855 * gdb.cp/class2.exp: Likewise.
15856 * gdb.cp/overload.exp: Likewise.
15857 * gdb.cp/templates.exp: Likewise.
15859 2014-08-11 Doug Evans <dje@google.com>
15861 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15862 (test_load_shlib): Update.
15864 2014-08-09 Yao Qi <yao@codesourcery.com>
15866 * gdb.base/display.exp: Invoke is_address_zero_readable.
15867 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15868 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15869 * gdb.base/hbreak-unmapped.exp: Return if
15870 is_address_zero_readable returns true.
15871 * gdb.base/signest.exp: Likewise.
15872 * gdb.base/signull.exp: Likewise.
15873 * gdb.base/sigbpt.exp: Likewise.
15874 * gdb.guile/scm-disasm.exp: Do the test if
15875 is_address_zero_readable returns false.
15876 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15877 * gdb.python/py-arch.exp: Likewise.
15878 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15879 * lib/gdb.exp (is_address_zero_readable): New proc.
15881 2014-08-09 Yao Qi <yao@codesourcery.com>
15884 * gdb.mi/mi-var-display.exp: Make test messages unique.
15886 2014-08-04 Tom Tromey <tromey@redhat.com>
15888 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15891 2014-08-04 Tom Tromey <tromey@redhat.com>
15893 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15896 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15898 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15899 inner_vla_struct_object_size.
15900 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15903 2014-07-30 Pedro Alves <palves@redhat.com>
15905 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15908 2014-07-29 Yao Qi <yao@codesourcery.com>
15911 * gdb.base/until-nodebug.exp: New.
15913 2014-07-28 Doug Evans <xdje42@gmail.com>
15916 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15917 previously existing parameter, and previously ambiguously spelled
15920 2014-07-28 Will Newton <will.newton@linaro.org>
15922 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15924 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15925 Doug Evans <xdje42@gmail.com>
15928 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15930 2014-07-25 Pedro Alves <palves@redhat.com>
15932 * gdb.threads/signal-command-handle-nopass.c: New file.
15933 * gdb.threads/signal-command-handle-nopass.exp: New file.
15934 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15935 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15936 * gdb.threads/signal-delivered-right-thread.c: New file.
15937 * gdb.threads/signal-delivered-right-thread.exp: New file.
15939 2014-07-25 Pedro Alves <palves@redhat.com>
15941 * gdb.base/double-prompt-target-event-error.exp
15942 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15944 (cancel_pagination_in_target_event): Rework double prompt
15946 * gdb.base/paginate-after-ctrl-c-running.exp
15947 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15949 * gdb.base/paginate-bg-execution.exp
15950 (test_bg_execution_pagination_return)
15951 (test_bg_execution_pagination_cancel): Remove '-notransfer
15953 * gdb.base/paginate-execution-startup.exp
15954 (test_fg_execution_pagination_return)
15955 (test_fg_execution_pagination_cancel): Remove '-notransfer
15957 * gdb.base/paginate-inferior-exit.exp
15958 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15960 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15961 * lib/gdb.exp (pagination_prompt): Run text through
15963 (gdb_test_multiple): Match $pagination_prompt instead of
15965 (string_to_regexp): Move to lib/gdb-utils.exp.
15967 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15969 * gdb.arch/amd64-entry-value-paramref.S: New file.
15970 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15971 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15972 * gdb.arch/amd64-optimout-repeat.S: New file.
15973 * gdb.arch/amd64-optimout-repeat.c: New file.
15974 * gdb.arch/amd64-optimout-repeat.exp: New file.
15976 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15979 * gdb.base/statistics.exp: New file.
15981 2014-07-17 Doug Evans <dje@google.com>
15984 * gdb.base/maint.exp: Update testing of per-command stats.
15986 2014-07-16 Pedro Alves <palves@redhat.com>
15988 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15989 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15990 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15991 (tfile_write_buf): New functions.
15992 (add_memory_block): Rewrite using the above.
15993 (adjust_function_address): New function.
15994 (FUNCTION_ADDRESS): New macro.
15995 (write_basic_trace_file): Remove short_x local, and use
15996 tfile_write_16. Change type of func_addr local to unsigned long
15997 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15998 here. Cast argument of add_memory_block to char pointer.
15999 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16000 (main): Remove parameters.
16001 * gdb.trace/tfile.exp: Remove nowarnings.
16003 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16005 * gdb.base/debug-expr.exp: Test string evaluation with
16006 "debug expression" on.
16008 2014-07-15 Pedro Alves <palves@redhat.com>
16010 * gdb.base/reread.exp: Use clean_restart.
16012 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16014 * gdb.arch/avr-flash-qualifer.c: New.
16015 * gdb.arch/avr-flash-qualifer.exp: New.
16017 2014-07-14 Pedro Alves <palves@redhat.com>
16019 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16020 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16022 2014-07-14 Pedro Alves <palves@redhat.com>
16024 * gdb.base/double-prompt-target-event-error.c: New file.
16025 * gdb.base/double-prompt-target-event-error.exp: New file.
16027 2014-07-14 Pedro Alves <palves@redhat.com>
16030 * gdb.base/paginate-inferior-exit.c: New file.
16031 * gdb.base/paginate-inferior-exit.exp: New file.
16033 2014-07-14 Pedro Alves <palves@redhat.com>
16036 * gdb.base/paginate-bg-execution.c: New file.
16037 * gdb.base/paginate-bg-execution.exp: New file.
16039 2014-07-14 Pedro Alves <palves@redhat.com>
16042 * gdb.base/paginate-execution-startup.c: New file.
16043 * gdb.base/paginate-execution-startup.exp: New file.
16044 * lib/gdb.exp (pagination_prompt): New global.
16045 (default_gdb_spawn): New procedure, factored out from
16047 (default_gdb_start): Adjust to call default_gdb_spawn.
16048 (gdb_spawn): New procedure.
16050 2014-07-14 Pedro Alves <palves@redhat.com>
16052 * lib/gdb.exp (gdb_assert): New procedure.
16053 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16055 2014-07-14 Pedro Alves <palves@redhat.com>
16057 * gdb.base/execution-termios.c: New file.
16058 * gdb.base/execution-termios.exp: New file.
16060 2014-07-14 Tom Tromey <tromey@redhat.com>
16062 * gdb.cp/vla-cxx.cc: New file.
16063 * gdb.cp/vla-cxx.exp: New file.
16065 2014-07-14 Tom Tromey <tromey@redhat.com>
16067 * gdb.reverse/rerun-prec.c: New file.
16068 * gdb.reverse/rerun-prec.exp: New file.
16070 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16071 Maciej W. Rozycki <macro@codesourcery.com>
16073 * lib/gdb-utils.exp: New file.
16074 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16075 inline `gdb_init_command' processing.
16076 (gdb_start_cmd): Likewise.
16077 * lib/mi-support.exp (mi_run_cmd): Likewise.
16078 * README: Document `gdb_init_command' and `gdb_init_commands'.
16080 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16082 Fix false FAIL running under a very long directory name.
16083 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16084 and "set print elements 10000". Twice.
16086 2014-07-11 Yao Qi <yao@codesourcery.com>
16088 * gdb.base/exprs.exp: "set print symbol off".
16090 2014-07-11 Pedro Alves <palves@redhat.com>
16092 * gdb.threads/kill.c: New file.
16093 * gdb.threads/kill.exp: New file.
16095 2014-07-10 Yao Qi <yao@codesourcery.com>
16097 * gdb.trace/tfile.c (write_basic_trace_file)
16098 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16099 address written to trace file.
16101 2014-07-09 Pedro Alves <palves@redhat.com>
16103 * gdb.base/attach-wait-input.exp: New file.
16104 * gdb.base/attach-wait-input.c: New file.
16106 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16108 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16109 setting up test structures.
16110 (main): Call new test function.
16111 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16112 test function, continue into test function and walk test
16115 2014-07-02 Yao Qi <yao@codesourcery.com>
16117 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16118 'bar_start' at the beginning of functions 'foo' and 'bar'
16120 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16121 instead of 'foo' and 'bar'.
16123 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16125 * gdb.btrace/segv.exp: New.
16126 * gdb.btrace/segv.c: New.
16128 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16130 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16133 2014-06-30 Mark Wielaard <mjw@redhat.com>
16135 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16136 vulture, vilify, villar): New volatile array constants.
16137 (vindictive, vegetation): New const volatile array constants.
16138 * gdb.base/volatile.exp: Test volatile and const volatile array
16141 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16143 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16144 target lacks support for awatch, rwatch, or hbreak.
16146 2014-06-27 Yao Qi <yao@codesourcery.com>
16148 * gdb.multi/dummy-frame-restore.exp: New.
16149 * gdb.multi/dummy-frame-restore.c: New.
16151 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16153 * gdb.btrace/gcore.exp: New.
16155 2014-06-23 Pedro Alves <palves@redhat.com>
16157 * gdb.base/watchpoint-reuse-slot.c: New file.
16158 * gdb.base/watchpoint-reuse-slot.exp: New file.
16160 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16162 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16163 progspace's filename in 'info', 'enable' and 'disable' command
16166 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16168 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16169 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16170 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16172 2014-06-20 Gary Benson <gbenson@redhat.com>
16174 * gdb.arch/i386-avx.exp: Fix include file location.
16175 * gdb.arch/i386-sse.exp: Likewise.
16177 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16179 * gdb.dlang/expression.exp: New file.
16181 2014-06-19 Pedro Alves <palves@redhat.com>
16183 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16185 (top level): ... here. Iterate running tests under different
16186 scheduler-locking settings.
16188 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16190 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16191 to DW_FORM_addr and use non-zero addresses.
16193 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16196 * gdb.python/py-xmethods.cc: Add global function call counters and
16197 increment them in their respective functions. Remove "cout"
16199 * gdb.python/py-xmethods.exp: Make tests check the global function
16200 call counters instead of depending on inferior IO.
16202 2014-06-18 Don Breazeal <donb@codesourcery.com>
16204 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16206 (explicit_fork_parent_follow): Deleted procedure.
16207 (explicit_fork_child_follow): Deleted procedure.
16208 (test_follow_fork): New procedure.
16209 (do_fork_tests): Replace calls to deleted procedures with
16210 calls to test_follow_fork and reset GDB for subsequent
16213 2014-06-17 Yao Qi <yao@codesourcery.com>
16215 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16218 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16220 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16221 Initialize ptr and S explicitly.
16222 (skip_type_update_when_not_use_rtti_test): Likewise.
16224 2014-06-16 Keith Seitz <keiths@redhat.com>
16227 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16228 the inferior is started.
16230 2014-06-16 Pedro Alves <palves@redhat.com>
16232 * gdb.base/break-main-file-remove-fail.c: New file.
16233 * gdb.base/break-main-file-remove-fail.exp: New file.
16234 * gdb.base/break-unload-file.exp: Use build_executable instead of
16235 prepare_for_testing.
16236 (test_break): New parameter "initial_load". Handle it.
16237 (top level): Add initial_load cmdline/file axis.
16239 2014-06-12 Tom Tromey <tromey@redhat.com>
16241 * gdb.base/completion.exp: Don't use directory name in test.
16243 2014-06-09 Gary Benson <gbenson@redhat.com>
16245 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16246 separate the always-available ANSI-standard signals from the
16247 signals that require checking.
16249 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16253 2014-06-07 Keith Seitz <keiths@redhat.com>
16257 * gdb.cp/var-tag.cc: New file.
16258 * gdb.cp/var-tag.exp: New file.
16259 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16260 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16261 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16262 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16264 2014-06-06 Doug Evans <xdje42@gmail.com>
16266 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16268 2014-06-06 Pedro Alves <palves@redhat.com>
16270 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16271 in target debug output instead of looking at RSP packets,
16272 disabling the test on any target that uses hardware stepping.
16275 2014-06-06 Pedro Alves <palves@redhat.com>
16277 * gdb.base/break-unload-file.exp: Fix typo.
16279 2014-06-06 Yao Qi <yao@codesourcery.com>
16281 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16282 from "jit_function" to "^jit_function".
16284 2014-06-06 Yao Qi <yao@codesourcery.com>
16286 * gdb.base/async.c (foo): Add one statement.
16287 * gdb.base/async.exp: Get the next instruction address and
16288 match the output of "nexti" by instruction address. Match
16289 the hex address in the output of "finish".
16291 2014-06-06 Gary Benson <gbenson@redhat.com>
16293 * gdb.base/call-signals.c: Remove preprocessor conditionals
16294 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16295 SIGSEGV and SIGTERM.
16296 * gdb.base/sigall.c: Likewise.
16297 * gdb.base/unwindonsignal.c: Likewise.
16298 * gdb.reverse/sigall-reverse.c: Likewise.
16300 2014-06-06 Yao Qi <yao@codesourcery.com>
16302 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16303 readable, skip the test.
16305 2014-06-06 Yao Qi <yao@codesourcery.com>
16307 * gdb.threads/staticthreads.c (thread_function): Move the line
16308 setting breakpoint on forward.
16309 * gdb.threads/staticthreads.exp: Update comments.
16311 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16313 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16314 "history-append! type error".
16316 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16318 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16319 erroneous dprintf expected input.
16321 2014-06-04 Doug Evans <xdje42@gmail.com>
16323 * gdb.guile/scm-generics.exp: Delete.
16325 2014-06-04 Doug Evans <xdje42@gmail.com>
16327 * gdb.guile/scm-breakpoint.exp: Update.
16328 Add tests for breakpoint registration.
16330 2014-06-04 Tom Tromey <tromey@redhat.com>
16332 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16334 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16335 inner_vla_struct, vla_union types. Initialize objects of those
16336 types and compute their sizes.
16338 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16339 Hui Zhu <hui@codesourcery.com>
16341 * gdb.base/fileio.exp: Add test for shell not available as well as
16343 * gdb.base/fileio.c (test_system): Check for shell twice.
16345 2014-06-04 Yao Qi <yao@codesourcery.com>
16347 * gdb.base/auto-connect-native-target.exp: Remove redundant
16348 space from the regexp pattern.
16350 2014-06-04 Yao Qi <yao@codesourcery.com>
16352 * gdb.base/default.exp: Replace "child" with "native" in
16355 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16357 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16358 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16359 * gdb.python/py-xmethods.py: Python script supporting the
16360 new testcase and tests.
16362 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16363 Pedro Alves <palves@redhat.com>
16365 PR breakpoints/17000
16366 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16367 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16369 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16371 * gdb.base/subst.exp: Add tests to verify partial path matching
16374 2014-06-03 Pedro Alves <palves@redhat.com>
16376 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16377 target that doesn't use software single-stepping.
16379 2014-06-03 Pedro Alves <palves@redhat.com>
16381 PR breakpoints/17000
16382 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16383 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16385 2014-06-02 Doug Evans <xdje42@gmail.com>
16387 * gdb.guile/scm-parameter.exp: New file.
16389 2014-06-02 Doug Evans <xdje42@gmail.com>
16391 * gdb.guile/scm-cmd.c: New file.
16392 * gdb.guile/scm-cmd.exp: New file.
16394 2014-06-02 Doug Evans <xdje42@gmail.com>
16396 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16397 pretty-printer lookup.
16398 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16399 (make-pp_s-printer): Call it.
16400 (make-pretty-printer-from-dict): New function.
16401 (lookup-pretty-printer-maker-from-dict): New function.
16402 (*pretty-printer*): Simplify.
16403 (make-objfile-pp_s-printer): New function.
16404 (install-objfile-pretty-printers!): New function.
16405 (make-progspace-pp_s-printer): New function.
16406 (install-progspace-pretty-printers!): New function.
16407 * gdb.guile/scm-progspace.c: New file.
16408 * gdb.guile/scm-progspace.exp: New file.
16410 2014-06-02 Pedro Alves <palves@redhat.com>
16412 * gdb.base/dprintf-bp-same-addr.c: New file.
16413 * gdb.base/dprintf-bp-same-addr.exp: New file.
16415 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16417 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16418 * gdb.arch/powerpc-power.s: Likewise.
16420 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16422 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16424 2014-06-01 Yao Qi <yao@codesourcery.com>
16426 * gdb.base/watchpoint.exp (test_watch_location): Check null
16427 pointer can be dereferenced. If not, do the test, otherwise
16430 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16432 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16434 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16436 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16438 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16439 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16440 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16441 * gdb.arch/amd64-invalid-stack-top.c: New file.
16442 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16444 2014-05-30 Pedro Alves <palves@redhat.com>
16446 PR breakpoints/17000
16447 * gdb.base/sss-bp-on-user-bp.c: New file.
16448 * gdb.base/sss-bp-on-user-bp.exp: New file.
16450 2014-05-30 David Blaikie <dblaikie@gmail.com>
16452 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16453 gnu_inline semantics via attribute.
16454 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16455 source explicitly specifies the required semantics.
16457 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16459 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16461 2014-05-29 Pedro Alves <palves@redhat.com>
16462 Tom Tromey <tromey@redhat.com>
16464 * gdb.base/async-shell.exp: Don't enable target-async.
16465 * gdb.base/async.exp
16466 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16468 (top level): Don't test with "target-async".
16469 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16470 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16471 * gdb.base/inferior-died.exp: Don't enable target-async.
16472 * gdb.base/interrupt-noterm.exp: Likewise.
16473 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16474 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16475 * gdb.mi/mi-nonstop.exp: Likewise.
16476 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16477 * gdb.mi/mi-nsintrall.exp: Likewise.
16478 * gdb.mi/mi-nsmoribund.exp: Likewise.
16479 * gdb.mi/mi-nsthrexec.exp: Likewise.
16480 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16481 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16482 * gdb.python/py-evsignal.exp: Don't enable target-async.
16483 * gdb.python/py-evthreads.exp: Likewise.
16484 * gdb.python/py-prompt.exp: Likewise.
16485 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16486 * gdb.server/solib-list.exp: Don't enable target-async.
16487 * gdb.threads/thread-specific-bp.exp: Likewise.
16488 * lib/mi-support.exp: Adjust to use mi-async.
16490 2014-05-29 Pedro Alves <palves@redhat.com>
16493 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16494 reason, even in sync mode.
16496 2014-05-29 Pedro Alves <palves@redhat.com>
16497 Hui Zhu <hui@codesourcery.com>
16500 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16501 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16502 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16503 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16505 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16507 * config/monitor.exp (gdb_target_monitor): Replace use of
16508 "set remotebaud" by "set serial baud".
16510 2014-05-26 Andy Wingo <wingo@igalia.com>
16512 * gdb.guile/scm-breakpoint.exp:
16513 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16514 properties instead of gdb-object-properties.
16516 2014-05-26 Yao Qi <yao@codesourcery.com>
16518 * gdb.server/no-thread-db.exp: Specify source file name
16519 explicitly when setting a breakpoint.
16521 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16523 * gdb.btrace/vdso.c: New.
16524 * gdb.btrace/vdso.exp: New.
16526 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16528 * gdb.base/gcore.exp (capture_command_output): Move ...
16529 * lib/gdb.exp (capture_command_output): ... here.
16531 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16533 * gdb.btrace/data.exp: Test memory access during btrace replay.
16535 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16537 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16539 2014-05-21 Pedro Alves <palves@redhat.com>
16542 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16543 (top level): Test that output related to execution commands is
16544 sent to the console with CLI commands, but not with MI commands.
16545 Test that breakpoint events are always mirrored to the console.
16546 Also expect the new source line to be output after a "next" in
16547 async mode too. Make it a pass/fail test.
16548 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16550 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16552 2014-05-21 Pedro Alves <palves@redhat.com>
16554 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16555 Use them to test variations of "list" after reaching a breakpoint.
16556 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16557 Test "list" with listsize 10 after reaching a breakpoint.
16558 * gdb.python/python.exp (decode_line current location line
16559 number): Adjust expected line number.
16561 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16563 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16564 behavior for $args, pass it directly to "run".
16566 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16568 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16571 2014-05-21 Pedro Alves <palves@redhat.com>
16573 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16574 auto-connect-native-target off".
16575 * gdb.base/auto-connect-native-target.c: New file.
16576 * gdb.base/auto-connect-native-target.exp: New file.
16578 2014-05-21 Pedro Alves <palves@redhat.com>
16580 * gdb.base/default.exp: Test "target native" instead of "target
16583 2014-05-21 Mark Wielaard <mjw@redhat.com>
16585 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16587 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16589 Fix TLS access for -static -pthread.
16590 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16591 <HAVE_TLS> (thread_function, main): Initialize it.
16592 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16594 <$have_tls != "">: Check TLSVAR.
16596 2014-05-21 Pedro Alves <palves@redhat.com>
16598 * gdb.base/dcache-line-read-error.c: New.
16599 * gdb.base/dcache-line-read-error.exp: New.
16601 2014-05-20 Pedro Alves <palves@redhat.com>
16603 * gdb.base/compare-sections.c: New file.
16604 * gdb.base/compare-sections.exp: New file.
16606 2014-05-20 Pedro Alves <palves@redhat.com>
16608 * gdb.base/break-idempotent.c: New file.
16609 * gdb.base/break-idempotent.exp: New file.
16611 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16613 * gdb.btrace/nohist.exp: New.
16615 2014-05-20 Yao Qi <yao@codesourcery.com>
16617 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16618 gdb.reverse directory and gdb_reverse_timeout exists in board
16620 * README: Document gdb_reverse_timeout.
16622 2014-05-20 Yao Qi <yao@codesourcery.com>
16624 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16625 'test_file_name'. Treat args as a string instead of a list.
16626 (gdb_init): Rename argument 'args' by 'test_file_name'.
16628 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16630 * gdb.arch/powerpc-power.exp: New file.
16631 * gdb.arch/powerpc-power.s: New file.
16633 2014-05-16 Doug Evans <dje@google.com>
16635 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16636 * gdb.base/completion.exp: Check that all expected files exist
16637 before doing file completion.
16639 2014-05-16 Doug Evans <dje@google.com>
16641 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16643 (do_syscall_tests_without_xml): Update.
16645 2014-05-16 Pedro Alves <palves@redhat.com>
16647 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16648 instead of "unknown output after running".
16650 2014-05-16 Yao Qi <yao@codesourcery.com>
16652 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16653 file1.txt from host at the end.
16654 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16656 2014-05-15 Doug Evans <dje@google.com>
16658 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16659 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16660 loading file. Add test for TU lookup.
16662 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16664 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16665 calling "-exec-arguments" or "set args" before running the
16668 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16670 * lib/mi-support.exp (mi_expect_stop): Expect message for
16671 inferiors that exit with non-zero exit code.
16673 2014-05-14 Yao Qi <yao@codesourcery.com>
16675 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16676 match absolute path on remote host.
16677 (test_file_list_exec_source_files): Remove "/" from the
16680 2014-05-14 Yao Qi <yao@codesourcery.com>
16682 * boards/local-remote-host-notty.exp (${board}_file): New
16685 2014-05-07 Kyle McMartin <kyle@redhat.com>
16687 Pushed by Joel Brobecker <brobecker@adacore.com>.
16688 * gdb.arch/aarch64-atomic-inst.c: New file.
16689 * gdb.arch/aarch64-atomic-inst.exp: New file.
16691 2014-05-07 Yao Qi <yao@codesourcery.com>
16693 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16694 in current context" too.
16696 2014-05-05 Keith Seitz <keiths@redhat.com>
16698 * gdb.linespec/ls-dollar.exp: Add test for linespec
16699 file:convenience_variable.
16701 2014-05-05 Yao Qi <yao@codesourcery.com>
16703 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16704 traceframes into tfile and ctf trace files. Read data from
16705 trace file and test collected data.
16706 (gdb_collect_locals_test): Likewise.
16707 (gdb_unavailable_registers_test): Likewise.
16708 (gdb_unavailable_floats): Likewise.
16709 (gdb_collect_globals_test): Likewise.
16710 (top-level): Append "ctf" to trace_file_targets if GDB
16713 2014-05-05 Yao Qi <yao@codesourcery.com>
16715 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16717 (gdb_collect_args_test_1): ... it. New proc.
16718 (gdb_collect_locals_test): Move some code to ...
16719 (gdb_collect_locals_test_1): ... it. New proc.
16720 (gdb_unavailable_registers_test): Move some code to ...
16721 (gdb_unavailable_registers_test_1): ... it. New proc.
16722 (gdb_unavailable_floats): Move some code to ...
16723 (gdb_unavailable_floats_1): ... it. New proc.
16725 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16727 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16728 probes to test for bitness recognition.
16729 * gdb.arch/amd64-stap-optional-prefix.exp
16730 (test_probe_value_without_reg): New procedure.
16731 Add code to test for different kinds of bitness.
16733 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16735 PR breakpoints/16889
16736 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16737 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16739 2014-05-01 Pedro Alves <palves@redhat.com>
16741 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16742 gdb_file_cmd if no file is specified.
16743 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16744 last_loaded_file to set the remote exec-file.
16746 2014-05-01 Pedro Alves <palves@redhat.com>
16748 * boards/local-remote-host.exp: New file.
16750 2014-05-01 Pedro Alves <palves@redhat.com>
16752 * boards/local-remote-host.exp: Rename to ...
16753 * boards/local-remote-host-notty.exp: ... this.
16755 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16757 * gdb.ada/dyn_arrayidx: New testcase.
16759 2014-04-26 Yao Qi <yao@codesourcery.com>
16761 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16762 and compute the length of function main. Save it in
16764 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16765 (top-level): Use gdb_compile to compile objects into
16766 executable and restart GDB. Remove invocation to
16767 prepare_for_testing.
16769 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16770 Pedro Alves <palves@redhat.com>
16773 * gdb.multi/multi-attach.c: New file.
16774 * gdb.multi/multi-attach.exp: New file.
16776 2014-04-25 Pedro Alves <palves@redhat.com>
16778 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16780 (top level): Test that "set remote conditional-breakpoints-packet
16781 off" works as intended.
16782 * gdb.base/dprintf.exp: Test that "set remote
16783 breakpoint-commands-packet off" works as intended.
16784 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16786 (top level): Call it.
16787 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16788 remote fast-tracepoints-packet off" works as intended.
16789 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16790 * lib/gdb.exp (gdb_is_target_remote): ... here.
16792 2014-04-24 David Blaikie <dblaikie@gmail.com>
16794 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16795 ensure clang would not discard them.
16796 * gdb.base/gdbvars.c: Ditto.
16797 * gdb.base/memattr.c: Ditto.
16798 * gdb.base/whatis.c: Ditto.
16799 * gdb.python/py-prettyprint.c: Ditto.
16800 * gdb.trace/actions.c: Ditto.
16801 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16802 ensure clang would not discard it.
16804 2014-04-24 David Blaikie <dblaikie@gmail.com>
16806 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16807 clang to emit the full definition of type required by the test
16808 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16810 2014-04-24 David Blaikie <dblaikie@gmail.com>
16812 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16813 coax Clang into emitting the definition of the type.
16814 * gdb.cp/pr10728-x.h (y): Ditto.
16815 * gdb.cp/pr10728-y.cc (y): Ditto.
16817 2014-04-24 David Blaikie <dblaikie@gmail.com>
16819 * gdb.base/label.exp: XFAIL label related tests under Clang.
16820 * gdb.cp/cplabel.exp: Ditto.
16821 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16822 under Clang those using labels.
16824 2014-04-25 Yao Qi <yao@codesourcery.com>
16826 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16828 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16829 partial_label and double_label.
16831 2014-04-24 David Blaikie <dblaikie@gmail.com>
16833 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16835 2014-04-24 David Blaikie <dblaikie@gmail.com>
16837 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16838 of the function to work across GCC and Clang.
16839 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16840 pointer types (const void ** const V void **).
16842 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16843 Walfred Tedeschi <walfred.tedeschi@intel.com>
16845 * Makefile.in (EXECUTABLES): Added i386-avx512.
16846 * gdb.arch/i386-avx512.c: New file.
16847 * gdb.arch/i386-avx512.exp: Likewise.
16849 2014-04-23 Keith Seitz <keiths@redhat.com>
16851 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16852 (mi_make_breakpoint_table): New procedure.
16853 (mi_create_breakpoint): Use mi_make_breakpoint
16854 and return the result.
16855 (mi_make_breakpoint): New procedure.
16856 (mi_build_kv_pairs): New procedure.
16858 * gdb.mi/mi-break.exp: Remove unused globals,
16859 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16860 All callers updated.
16861 * gdb.mi/mi-dprintf.exp: Use variable to track command
16863 Update all callers of mi_create_breakpoint and use
16864 mi_make_breakpoint_table.
16865 Remove any unused global variables.
16866 * gdb.mi/mi-nonstop.exp: Likewise.
16867 * gdb.mi/mi-nsintrall.exp: Likewise.
16868 * gdb.mi/mi-nsmoribund.exp: Likewise.
16869 * gdb.mi/mi-nsthrexec.exp: Likewise.
16870 * gdb.mi/mi-reverse.exp: Likewise.
16871 * gdb.mi/mi-simplerun.exp: Likewise.
16872 * gdb.mi/mi-stepn.exp: Likewise.
16873 * gdb.mi/mi-syn-frame.exp: Likewise.
16874 * gdb.mi/mi-until.exp: Likewise.
16875 * gdb.mi/mi-var-cp.exp: Likewise.
16876 * gdb.mi/mi-var-display.exp: Likewise.
16877 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16878 * gdb.mi/mi2-var-child.exp: Likewise.
16879 * gdb.mi/mi-vla-c99.exp: Likewise.
16880 * lib/mi-support.exp: Likewise.
16882 From Ian Lance Taylor <iant@cygnus.com>:
16883 * lib/gdb.exp (parse_args): New procedure.
16885 2014-04-23 Pedro Alves <palves@redhat.com>
16887 * gdb.base/break-unload-file.c: New file.
16888 * gdb.base/break-unload-file.exp: New file.
16889 * gdb.base/sym-file-lib.c (baz): New function.
16890 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16892 (load): Store the segment's mapped size.
16893 (unload): New function.
16894 (unload_shlib): New function.
16895 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16896 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16897 set a breakpoint at baz, and call it.
16898 * gdb.base/sym-file.exp: New tests for stale breakpoint
16901 2014-04-23 Pedro Alves <palves@redhat.com>
16903 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16904 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16905 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16906 * gdb.base/hbreak-unmapped.c: New file.
16907 * gdb.base/hbreak-unmapped.exp: New file.
16908 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16909 * lib/gdb.exp (gdb_is_target_remote): ... here.
16911 2014-04-22 Pedro Alves <palves@redhat.com>
16913 * gdb.base/consecutive-step-over.c: New file.
16914 * gdb.base/consecutive-step-over.exp: New file.
16916 2014-04-22 Pedro Alves <palves@redhat.com>
16918 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16919 instead of send_gdb/gdb_expect.
16921 2014-04-22 Yao Qi <yao@codesourcery.com>
16923 * lib/trace-support.exp (generate_tracefile): New procedure.
16924 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16926 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16927 if generate_tracefile returns 1.
16929 2014-04-18 Tom Tromey <palves@redhat.com>
16930 Pedro alves <tromey@redhat.com>
16933 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16934 with a backtrace limit.
16935 * gdb.python/py-frame-inline.exp: Test running to an inline
16936 function with a backtrace limit, and printing the newest frame.
16937 * gdb.python/py-frame-inline.c (main): Call f.
16939 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16941 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16943 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16945 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16946 Drop prefix from unsupported source file path.
16948 2014-04-17 Yao Qi <yao@codesourcery.com>
16950 * lib/gdb.exp (with_target_charset): New proc.
16951 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16952 with_target_charset.
16953 (test_print_strings): Likewise.
16954 (test_repeat_bytes): Likewise.
16955 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16958 2014-04-16 Keith Seitz <keiths@redhat.com>
16961 * gdb.dwarf2/corrupt.c: New file.
16962 * gdb.dwarf2/corrupt.exp: New file.
16964 2014-04-16 Keith Seitz <keiths@redhat.com>
16967 * gdb.cp/namelessclass.cc: New file.
16968 * gdb.cp/namelessclass.exp: New file.
16969 * gdb.cp/namelessclass.S: New file.
16971 2014-04-16 Doug Evans <dje@google.com>
16973 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16975 (gdbserver_default_get_comm_port): New function.
16976 (gdbserver_start): Check if board file provided
16977 "gdbserver,get_comm_port" and use it if so.
16978 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16979 (gdb,socketport): Set to "stdio".
16980 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16981 (stdio_gdbserver_template): Delete.
16982 (${board}_get_remote_address): Update.
16983 (${board}_build_remote_cmd): Delete.
16984 (${board}_get_comm_port): New function.
16985 (${board}_spawn): Update.
16986 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16988 (${board}_get_remote_address): Update.
16989 (${board}_get_comm_port): New function.
16991 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16993 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16994 appearing in any order.
16996 2014-04-15 Doug Evans <dje@google.com>
16998 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16999 uninitialized value of "description".
17001 2014-04-15 Keith Seitz <keiths@redhat.com>
17003 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17004 Remove unused globals.
17005 (test_running_the_program): Likewise.
17006 (test_controlled_execution): Likewise.
17007 (test_controlling_breakpoints): Likewise.
17008 (test_program_termination): Likewise.
17010 2014-04-15 Keith Seitz <keiths@redhat.com>
17012 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17014 (test_rbreak_creation_and_listing): Likewise.
17015 (test_ignore_count): Likewise.
17016 (test_error): Likewise.
17018 2014-04-15 Pedro Alves <palves@redhat.com>
17020 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17021 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17023 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17024 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17025 to sym-file-loader.c.
17026 (struct library): Forward declare.
17027 (load_shlib, lookup_function): Change prototypes.
17028 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17029 (translate_offset): Remove declarations.
17030 (get_text_addr): New declaration.
17031 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17032 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17034 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17035 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17036 here from sym-file-loader.h.
17037 (struct library): New structure.
17038 (load_shlib, lookup_function): Change prototypes and adjust to
17039 work with a struct library.
17040 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17041 (translate_offset): Make static.
17042 (get_text_addr): New function.
17043 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17045 2014-04-15 Pedro Alves <palves@redhat.com>
17047 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17049 2014-04-15 Pedro Alves <palves@redhat.com>
17051 * gdb.base/sym-file-loader.c: Include <limits.h>.
17052 (SELF_LINK): New define.
17053 (get_origin): New function.
17054 (load_shlib): Use it.
17055 * gdb.base/sym-file.exp: Don't early return if the target is
17056 remote. Use runto_main, and issue fail is that fails. Use
17058 (shlib_name): Delete.
17059 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17061 2014-04-15 Pedro Alves <palves@redhat.com>
17063 * gdb.base/sym-file.exp: Remove regex characters from test
17064 message. Don't refer to breakpoint numbers in test messages.
17066 2014-04-14 Keith Seitz <keiths@redhat.com>
17069 * gdb.cp/var-tag.cc: New file.
17070 * gdb.cp/var-tag.exp: New file.
17071 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17072 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17073 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17074 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17076 2014-04-14 Tom Tromey <tromey@redhat.com>
17078 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17079 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17081 * gdb.cp/enum-class.exp: New file.
17082 * gdb.cp/enum-class.cc: New file.
17084 2014-04-14 Tom Tromey <tromey@redhat.com>
17086 * gdb.dwarf2/enum-type.exp: New file.
17088 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17090 * gdb.mi/mi-vla-c99.exp: New file.
17091 * gdb.mi/vla.c: New file.
17093 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17095 * gdb.base/vla-datatypes.c: New file.
17096 * gdb.base/vla-datatypes.exp: New file.
17098 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17100 * gdb.base/vla-ptr.c: New file.
17101 * gdb.base/vla-ptr.exp: New file.
17103 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17105 * gdb.dwarf2/count.exp: New file.
17107 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17109 * gdb.base/vla-sideeffect.c: New file.
17110 * gdb.base/vla-sideeffect.exp: New file.
17112 2014-04-14 David Blaikie <dblaikie@gmail.com>
17114 * gdb.mi/non-stop.c: Add return value for non-void function return
17116 * gdb.threads/staticthreads.c: Ditto.
17118 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17119 Doug Evans <xdje42@gmail.com>
17121 * gdb.guile/scm-value.c: Improve test case.
17122 * gdb.guile/scm-value.exp: Add new test.
17124 2014-04-11 David Blaikie <dblaikie@gmail.com>
17126 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17127 override Clang's default.
17129 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17131 Revert the following changes (regressions):
17133 * gdb.base/vla-sideeffect.c: New file.
17134 * gdb.base/vla-sideeffect.exp: New file.
17136 * gdb.dwarf2/count.exp: New file.
17138 * gdb.base/vla-multi.c: New file.
17139 * gdb.base/vla-multi.exp: New file.
17141 * gdb.base/vla-ptr.c: New file.
17142 * gdb.base/vla-ptr.exp: New file.
17144 * gdb.base/vla-datatypes.c: New file.
17145 * gdb.base/vla-datatypes.exp: New file.
17147 * gdb.mi/mi-vla-c99.exp: New file.
17148 * gdb.mi/vla.c: New file.
17150 2014-04-11 Keith Seitz <keiths@redhat.com>
17153 * gdb.cp/cpsizeof.exp: New file.
17154 * gdb.cp/cpsizeof.cc: New file.
17156 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17158 * gdb.mi/mi-vla-c99.exp: New file.
17159 * gdb.mi/vla.c: New file.
17161 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17163 * gdb.base/vla-datatypes.c: New file.
17164 * gdb.base/vla-datatypes.exp: New file.
17166 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17168 * gdb.base/vla-ptr.c: New file.
17169 * gdb.base/vla-ptr.exp: New file.
17171 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17173 * gdb.base/vla-multi.c: New file.
17174 * gdb.base/vla-multi.exp: New file.
17176 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17178 * gdb.dwarf2/count.exp: New file.
17180 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17182 * gdb.base/vla-sideeffect.c: New file.
17183 * gdb.base/vla-sideeffect.exp: New file.
17185 2014-04-11 Yao Qi <yao@codesourcery.com>
17187 * gdb.base/completion.exp: Check file exists before running tests
17188 on file completion.
17190 2014-04-10 Pedro Alves <palves@redhat.com>
17192 * gdb.base/cond-eval-mode.c: New file.
17193 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17194 prepare_for_testing to build the new file. Check result of
17196 (test_break, test_watch): New procedures.
17197 (top level): Use them.
17199 2014-04-08 Pierre Muller <muller@sourceware.org>
17201 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17202 Ctrl-V use for mingw hosts.
17204 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17206 * gdb.python/py-value.c: Improve test case.
17207 * gdb.python/py-value.exp: Add new test.
17209 2014-04-07 David Blaikie <dblaikie@gmail.com>
17211 * lib/compiler.c: Identify the clang compiler.
17212 * lib/compiler.cc: Ditto.
17214 2014-04-03 Yao Qi <yao@codesourcery.com>
17216 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17218 2014-04-01 Anton Blanchard <anton@samba.org>
17220 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17223 2014-04-01 Anton Blanchard <anton@samba.org>
17225 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17226 prepare_for_testing.
17228 2014-04-01 Anton Blanchard <anton@samba.org>
17230 * gdb.arch/ppc64-atomic-inst.c: Remove.
17231 * gdb.arch/ppc64-atomic-inst.S: New file.
17232 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17234 2014-03-31 Doug Evans <dje@google.com>
17236 * gdb.base/print-symbol-loading-lib.c: New file.
17237 * gdb.base/print-symbol-loading-main.c: New file.
17238 * gdb.base/print-symbol-loading.exp: New file.
17240 2014-03-31 Yao Qi <yao@codesourcery.com>
17242 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17244 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17246 * gdb.ada/mi_dyn_arr: New testcase.
17248 2014-03-27 Doug Evans <dje@google.com>
17250 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17252 2014-03-27 Yao Qi <yao@codesourcery.com>
17254 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17255 if target is nios2-*-*.
17257 2014-03-26 Yao Qi <yao@codesourcery.com>
17259 * lib/gdb.exp (readline_is_used): New proc.
17260 * gdb.base/completion.exp: Move tests on command complete up.
17261 Skip the rest of tests if readline is not used.
17262 * gdb.ada/complete.exp: Skp the test if readline is not
17264 * gdb.base/filesym.exp: Likewise.
17265 * gdb.base/macscp.exp: Likewise.
17266 * gdb.base/readline-ask.exp: Likewise.
17267 * gdb.base/readline.exp: Likewise.
17268 * gdb.python/py-cmd.exp: Likewise.
17269 * gdb.trace/tfile.exp: Likewise.
17271 2014-03-26 Yao Qi <yao@codesourcery.com>
17273 * gdb.base/macscp.exp: Fix code format issues.
17275 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17277 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17278 * gdb.asm/powerpc64le.inc: New file.
17280 2014-03-25 Pedro Alves <palves@redhat.com>
17281 Doug Evans <dje@google.com>
17283 * gdb.base/source-execution.c: New file.
17284 * gdb.base/source-execution.exp: New file.
17285 * gdb.base/source-execution.gdb: New file.
17287 2014-03-24 Doug Evans <dje@google.com>
17289 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17292 2014-03-24 Hui Zhu <hui@codesourcery.com>
17293 Pedro Alves <palves@redhat.com>
17295 PR breakpoints/16101
17296 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17297 test pass/fail messages. Detect missing support for dprintf when
17298 breakpoints are actually inserted.
17299 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17300 breakpoints are actually inserted.
17301 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17304 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17306 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17308 2014-03-22 Doug Evans <xdje42@gmail.com>
17310 * gdb.python/python.exp (python not supported): Verify multi-line
17311 python command issues an error.
17312 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17313 guile command issues an error.
17315 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17317 * gdb.threads/thread-specific.exp: Handle the lack of usable
17318 $this_breakpoint and $this_thread.
17320 2014-03-21 Hui Zhu <hui@codesourcery.com>
17322 * gdb.base/attach.exp (do_command_attach_tests): New.
17324 2014-03-20 Tom Tromey <tromey@redhat.com>
17325 Pedro Alves <palves@redhat.com>
17328 * gdb.base/condbreak-call-false.c: New file.
17329 * gdb.base/condbreak-call-false.exp: New file.
17331 2014-03-20 Pedro Alves <palves@redhat.com>
17333 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17335 (block_signals, unblock_signals): Delete.
17336 (child_function_2, main): Remove references to deleted variable
17339 2014-03-20 Pedro Alves <palves@redhat.com>
17341 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17342 Use pthread_kill to signal thread 2.
17343 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17344 Adjust to make the test send itself a signal rather than using the
17345 host's "kill" command.
17347 2014-03-20 Pedro Alves <palves@redhat.com>
17349 * gdb.threads/multiple-step-overs.c: New file.
17350 * gdb.threads/multiple-step-overs.exp: New file.
17351 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17352 Adjust expected infrun debug output.
17354 2014-03-20 Pedro Alves <palves@redhat.com>
17356 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17357 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17359 2014-03-20 Pedro Alves <palves@redhat.com>
17361 PR breakpoints/7143
17362 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17363 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17364 of gdb_test_multiple.
17365 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17366 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17368 2014-03-20 Pedro Alves <palves@redhat.com>
17370 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17371 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17373 2014-03-19 Pedro Alves <palves@redhat.com>
17375 * gdb.base/async.exp: Remove early return.
17377 2014-03-19 Pedro Alves <palves@redhat.com>
17379 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17381 2014-03-19 Pedro Alves <palves@redhat.com>
17383 * gdb.base/async.exp (test_background): Expect \r\n after
17384 "completed." in the fail pattern.
17386 2014-03-19 Pedro Alves <palves@redhat.com>
17388 * gdb.base/async.exp (test_background): New procedure.
17389 Use it for all background execution command tests.
17391 2014-03-19 Pedro Alves <palves@redhat.com>
17393 * gdb.base/async.exp: Use prepare_for_testing.
17395 2014-03-19 Pedro Alves <palves@redhat.com>
17397 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17400 2014-03-19 Pedro Alves <palves@redhat.com>
17402 * gdb.base/async.c (main): Add "jump here" and "until here" line
17404 * gdb.base/async.exp (jump_here): New global.
17405 (jump& test): Use it.
17406 (until_here): New global.
17407 (until& test): Use it.
17409 2014-03-19 Pedro Alves <palves@redhat.com>
17411 * gdb.base/async.exp: Don't frob gdb_protocol.
17413 2014-03-18 Doug Evans <xdje42@gmail.com>
17415 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17416 Fix spelling of exec-done-display.
17418 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17421 * gdb.base/gdb-sigterm.c: New file.
17422 * gdb.base/gdb-sigterm.exp: New file.
17424 2014-03-18 Pedro Alves <palves@redhat.com>
17427 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17428 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17431 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17433 * gdb.ada/pckd_arr_ren: New testcase.
17435 2014-03-13 Doug Evans <xdje42@gmail.com>
17438 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17439 collect after discarding symbols.
17441 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17442 Doug Evans <xdje42@gmail.com>
17444 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17445 to history survives a gc.
17447 2014-03-13 Pedro Alves <palves@redhat.com>
17449 * gdb.base/default.exp: Don't test "target procfs".
17451 2014-03-13 Pedro Alves <palves@redhat.com>
17453 * gdb.base/default.exp: Update "target child" and "target procfs"
17454 tests to not expect "Unix".
17456 2014-03-12 Tom Tromey <tromey@redhat.com>
17458 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17459 New procs. Add target-async tests.
17460 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17461 Add target-async tests.
17463 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17465 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17466 'func_start' and 'func_end' for the beginning and end of the
17467 function code, respectively.
17468 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17469 'func_end' instead of 'func' and 'main'.
17471 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17473 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17474 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17475 generate the debug info assembler source.
17477 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17479 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17480 * gdb.dwarf2/arr-subrange.exp: Likewise.
17481 * gdb.dwarf2/dwz.exp: Likewise.
17482 * gdb.dwarf2/method-ptr.exp: Likewise.
17483 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17484 * gdb.dwarf2/subrange.exp: Likewise.
17485 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17486 * gdb.dwarf2/implptrpiece.exp: Likewise.
17487 * gdb.dwarf2/nostaticblock.exp: Likewise.
17489 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17491 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17492 directory to absolute path name arguments.
17494 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17496 * gdb.ada/tagged_access: New testcase.
17498 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17500 * gdb.btrace/data.exp: Update expected output.
17502 2014-03-06 Yao Qi <yao@codesourcery.com>
17504 * gdb.trace/pr16508.exp: New file.
17506 2014-03-05 Pedro Alves <palves@redhat.com>
17509 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17511 (top level): Adjust to use it. Add tests that exercise breakpoint
17512 interaction with the code-cache.
17514 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17516 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17517 test for 'history-append!'.
17519 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17521 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17522 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17523 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17524 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17525 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17526 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17528 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17530 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17531 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17532 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17534 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17536 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17538 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17540 * gdb.dwarf2/arr-stride.c: New file.
17541 * gdb.dwarf2/arr-stride.exp: New file.
17543 2014-02-26 Pedro Alves <palves@redhat.com>
17545 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17546 that won't ever trigger. Make sure that GDB reports the correct
17547 breakpoint that caused the stop.
17549 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17552 * gdb.base/auto-load-script: New file.
17553 * gdb.base/auto-load.c: New file.
17554 * gdb.base/auto-load.exp: New file.
17557 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17559 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17561 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17562 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17564 2014-02-24 Doug Evans <dje@google.com>
17566 * lib/gdb.exp (run_on_host): Log error output if program fails.
17568 2014-02-21 Pedro Alves <palves@redhat.com>
17570 * gdb.threads/step-after-sr-lock.c: Rename to ...
17571 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17572 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17573 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17576 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17579 * gdb.arch/amd64-stap-special-operands.exp: New file.
17580 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17581 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17582 * gdb.arch/amd64-stap-triplet.S: Likewise.
17583 * gdb.arch/amd64-stap-triplet.c: Likewise.
17585 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17587 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17588 in .section pseudo-op.
17590 2014-02-20 lin zuojian <manjian2006@gmail.com>
17591 Joel Brobecker <brobecker@adacore.com>
17592 Doug Evans <xdje42@gmail.com>
17595 * gdb.dwarf2/dw2-icycle.S: New file.
17596 * gdb.dwarf2/dw2-icycle.c: New file.
17597 * gdb.dwarf2/dw2-icycle.exp: New file.
17599 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17601 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17602 operations on gdb.Value objects.
17603 * gdb.python/py-value-cc.exp: Add new test to test operations on
17606 2014-02-18 Doug Evans <dje@google.com>
17608 * Makefile.in (TESTS): New variable.
17609 (expanded_tests, expanded_tests_or_none): New variables
17610 (check-single): Pass $(expanded_tests_or_none) to runtest.
17611 (check-parallel): Only run tests in $(TESTS) if non-empty.
17612 (check/no-matching-tests-found): New rule.
17613 * README: Document TESTS makefile variable.
17615 2014-02-18 Doug Evans <dje@google.com>
17617 * Makefile.in (check-parallel): rm -rf outputs temp.
17619 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17621 Fix "ERROR: no fileid for" in the testsuite.
17622 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17624 2014-02-12 Doug Evans <dje@google.com>
17626 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17627 (MISCELLANEOUS): New variable.
17628 (clean): rm -rf $(MISCELLANEOUS).
17629 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17630 dwp live in the same directory as symlinks, with each symlink pointed
17631 to a differently named file in a different directory.
17633 2014-02-11 Doug Evans <dje@google.com>
17635 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17636 of Tcl file commands.
17638 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17640 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17641 "kill -SIGUSR1 -1".
17643 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17645 * gdb.ada/tick_length_array_enum_idx: New testcase.
17647 2014-02-10 Doug Evans <xdje42@gmail.com>
17649 * configure.ac (AC_OUTPUT): Add gdb.guile.
17650 * configure: Regenerate.
17651 * lib/gdb-guile.exp: New file.
17652 * lib/gdb.exp (get_target_charset): New function.
17653 * gdb.base/help.exp: Update expected output from "apropos apropos".
17654 * gdb.guile/Makefile.in: New file.
17655 * gdb.guile/guile.exp: New file.
17656 * gdb.guile/scm-arch.c: New file.
17657 * gdb.guile/scm-arch.exp: New file.
17658 * gdb.guile/scm-block.c: New file.
17659 * gdb.guile/scm-block.exp: New file.
17660 * gdb.guile/scm-breakpoint.c: New file.
17661 * gdb.guile/scm-breakpoint.exp: New file.
17662 * gdb.guile/scm-disasm.c: New file.
17663 * gdb.guile/scm-disasm.exp: New file.
17664 * gdb.guile/scm-equal.c: New file.
17665 * gdb.guile/scm-equal.exp: New file.
17666 * gdb.guile/scm-error.exp: New file.
17667 * gdb.guile/scm-error.scm: New file.
17668 * gdb.guile/scm-frame-args.c: New file.
17669 * gdb.guile/scm-frame-args.exp: New file.
17670 * gdb.guile/scm-frame-args.scm: New file.
17671 * gdb.guile/scm-frame-inline.c: New file.
17672 * gdb.guile/scm-frame-inline.exp: New file.
17673 * gdb.guile/scm-frame.c: New file.
17674 * gdb.guile/scm-frame.exp: New file.
17675 * gdb.guile/scm-generics.exp: New file.
17676 * gdb.guile/scm-gsmob.exp: New file.
17677 * gdb.guile/scm-iterator.c: New file.
17678 * gdb.guile/scm-iterator.exp: New file.
17679 * gdb.guile/scm-math.c: New file.
17680 * gdb.guile/scm-math.exp: New file.
17681 * gdb.guile/scm-objfile-script-gdb.in: New file.
17682 * gdb.guile/scm-objfile-script.c: New file.
17683 * gdb.guile/scm-objfile-script.exp: New file.
17684 * gdb.guile/scm-objfile.c: New file.
17685 * gdb.guile/scm-objfile.exp: New file.
17686 * gdb.guile/scm-ports.exp: New file.
17687 * gdb.guile/scm-pretty-print.c: New file.
17688 * gdb.guile/scm-pretty-print.exp: New file.
17689 * gdb.guile/scm-pretty-print.scm: New file.
17690 * gdb.guile/scm-section-script.c: New file.
17691 * gdb.guile/scm-section-script.exp: New file.
17692 * gdb.guile/scm-section-script.scm: New file.
17693 * gdb.guile/scm-symbol.c: New file.
17694 * gdb.guile/scm-symbol.exp: New file.
17695 * gdb.guile/scm-symtab-2.c: New file.
17696 * gdb.guile/scm-symtab.c: New file.
17697 * gdb.guile/scm-symtab.exp: New file.
17698 * gdb.guile/scm-type.c: New file.
17699 * gdb.guile/scm-type.exp: New file.
17700 * gdb.guile/scm-value-cc.cc: New file.
17701 * gdb.guile/scm-value-cc.exp: New file.
17702 * gdb.guile/scm-value.c: New file.
17703 * gdb.guile/scm-value.exp: New file.
17704 * gdb.guile/source2.scm: New file.
17705 * gdb.guile/types-module.cc: New file.
17706 * gdb.guile/types-module.exp: New file.
17708 2014-02-10 Yao Qi <yao@codesourcery.com>
17711 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17712 * configure: Regenerated.
17713 * Makefile.in: New file.
17715 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17717 * gdb.python/py-framefilter.exp: Fix typo.
17719 2014-02-08 Yao Qi <yao@codesourcery.com>
17721 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17722 that no =breakpoint-modified is emitted when breakpoints are
17723 modified through MI commands.
17725 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17726 Pedro Alves <palves@redhat.com>
17728 * gdb.threads/step-after-sr-lock.c: New file.
17729 * gdb.threads/step-after-sr-lock.exp: New file.
17731 2014-02-07 Pedro Alves <palves@redhat.com>
17733 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17735 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17737 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17738 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17740 2014-02-06 Doug Evans <xdje42@gmail.com>
17742 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17745 * gdb.gdb/python-interrupts.exp: New file.
17747 2014-02-05 Yao Qi <yao@codesourcery.com>
17749 * gdb.trace/report.exp (use_collected_data): Test the output
17750 of "info threads" and "info inferiors".
17752 2014-02-05 Yao Qi <yao@codesourcery.com>
17756 2013-05-24 Yao Qi <yao@codesourcery.com>
17758 * gdb.trace/tfile.exp: Test inferior and thread.
17760 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17762 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17764 * gdb.base/step-bt.c: Call hello via function pointer to make
17765 sure its first instruction is executed on powerpc64le-linux.
17767 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17769 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17771 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17773 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17774 of the test patterns for use on little-endian systems.
17776 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17778 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17779 (decimal_vector): Fix for little-endian.
17781 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17783 * gdb.arch/sparc-sysstep.exp: New file.
17784 * gdb.arch/sparc-sysstep.c: Likewise.
17786 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17788 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17790 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17792 2014-01-23 Tom Tromey <tromey@redhat.com>
17794 * gdb.ada/array_char_idx: New testcase.
17796 2014-01-23 Tom Tromey <tromey@redhat.com>
17799 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17800 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17803 2014-01-23 Tom Tromey <tromey@redhat.com>
17806 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17807 string from an inferior frame.
17808 * gdb.python/py-framefilter-mi.exp: Update.
17810 2014-01-22 Doug Evans <dje@google.com>
17812 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17814 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17816 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17818 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17820 * gdb.trace/entry-values.exp: Remove excess space character from
17821 regex patterns. Handle s390 call instruction.
17823 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17825 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17826 define "*_start" label. Make "name" static.
17827 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17828 ${name} by references to ${name}_start.
17830 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17832 * gdb.base/info-macros.exp: Remove "debug" from the compile
17835 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17837 * gdb.dlang/demangle.exp: New file.
17839 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17841 * gdb.dlang/primitive-types.exp: New file.
17843 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17845 * configure.ac: Create gdb.dlang/Makefile.
17846 * configure: Regenerate.
17847 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17848 * gdb.dlang/Makefile.in: New file.
17849 * lib/d-support.exp: New file.
17850 * lib/gdb.exp (skip_d_tests): New proc.
17852 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17854 * gdb.btrace/delta.exp: Check reverse stepi.
17855 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17856 * gdb.btrace/finish.exp: New.
17857 * gdb.btrace/next.exp: New.
17858 * gdb.btrace/nexti.exp: New.
17859 * gdb.btrace/record_goto.c: Add comments.
17860 * gdb.btrace/step.exp: New.
17861 * gdb.btrace/stepi.exp: New.
17862 * gdb.btrace/multi-thread-step.c: New.
17863 * gdb.btrace/multi-thread-step.exp: New.
17864 * gdb.btrace/rn-dl-bind.c: New.
17865 * gdb.btrace/rn-dl-bind.exp: New.
17866 * gdb.btrace/data.c: New.
17867 * gdb.btrace/data.exp: New.
17868 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17870 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17872 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17873 * gdb.btrace/exception.exp: Update.
17874 * gdb.btrace/instruction_history.exp: Update.
17875 * gdb.btrace/record_goto.exp: Update.
17876 * gdb.btrace/tailcall.exp: Update.
17877 * gdb.btrace/unknown_functions.exp: Update.
17878 * gdb.btrace/delta.exp: New.
17880 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17882 * gdb.btrace/record_goto.exp: Add backtrace test.
17883 * gdb.btrace/tailcall.exp: Add backtrace test.
17885 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17887 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17888 * gdb.btrace/record_goto.c: New.
17889 * gdb.btrace/record_goto.exp: New.
17890 * gdb.btrace/x86-record_goto.S: New.
17892 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17894 * gdb.btrace/function_call_history.exp: Update tests.
17895 * gdb.btrace/instruction_history.exp: Update tests.
17897 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17899 * gdb.btrace/function_call_history.exp: Fix expected field
17900 order for "record function-call-history".
17901 Add new tests for "record function-call-history /c".
17902 * gdb.btrace/exception.cc: New.
17903 * gdb.btrace/exception.exp: New.
17904 * gdb.btrace/tailcall.exp: New.
17905 * gdb.btrace/x86-tailcall.S: New.
17906 * gdb.btrace/x86-tailcall.c: New.
17907 * gdb.btrace/unknown_functions.c: New.
17908 * gdb.btrace/unknown_functions.exp: New.
17909 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17911 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17913 * gdb.btrace/instruction_history.exp: Update.
17914 * gdb.btrace/function_call_history.exp: Update.
17916 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17918 * gdb.btrace/function_call_history.exp: Fix expected function
17920 * gdb.btrace/instruction_history.exp: Initialize traced.
17921 Remove traced_functions.
17923 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17925 * gdb.btrace/function_call_history.exp: Update
17926 * gdb.btrace/instruction_history.exp: Update.
17928 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17930 * gdb.btrace/enable.exp: Update expected text.
17932 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17934 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17937 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17939 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17941 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17943 * lib/gdb.exp (supports_process_record): Return true for
17944 arm*-linux*. (supports_reverse): Likewise.
17946 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17950 * gdb.python/py-type.c: Enhance test case.
17951 * gdb.python/py-value-cc.cc: Likewise
17952 * gdb.python/py-type.exp: Add new tests.
17953 * gdb.python/py-value-cc.exp: Likewise
17955 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17956 Pedro Alves <palves@redhat.com>
17958 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17959 Make "name" extern.
17960 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17961 references to ${name}_start by references to ${name}.
17963 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17965 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17967 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17969 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17971 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17972 Pedro Alves <palves@redhat.com>
17974 * gdb.mi/mi-info-os.exp: Connect to the target with
17975 mi_gdb_target_load.
17977 2014-01-08 Pedro Alves <palves@redhat.com>
17979 * gdb.threads/reconnect-signal.c: New file.
17980 * gdb.threads/reconnect-signal.exp: New file.
17982 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17984 * gdb.base/source-dir.exp: New file.
17986 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17988 * gdb.ada/mi_interface: New testcase.
17990 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17992 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17993 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17994 gdb.ada/pp-rec-component/pck.ads: New files.
17996 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17998 * gdb.python/py-pp-integral.c: New file.
17999 * gdb.python/py-pp-integral.py: New file.
18000 * gdb.python/py-pp-integral.exp: New file.
18002 For older changes see ChangeLog-1993-2013.
18004 ;; Local Variables:
18005 ;; mode: change-log
18008 ;; version-control: never
18011 Copyright 2014-2019 Free Software Foundation, Inc.
18012 Copying and distribution of this file, with or without modification,
18013 are permitted provided the copyright notice and this notice are preserved.