1 2019-12-10 Kevin Buettner <kevinb@redhat.com>
3 * lib/gdb.exp (gdb_compile_openmp): New proc.
4 (build_executable_from_specs): Add an "openmp" option.
5 (gdb_compile_pthreads): Add non-executable case.
7 2019-12-10 Tom Tromey <tromey@adacore.com>
9 * gdb.ada/unchecked_union.exp: New file.
10 * gdb.ada/unchecked_union/pck.adb: New file.
11 * gdb.ada/unchecked_union/pck.ads: New file.
12 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
13 * gdb-utils.exp (string_to_regexp): Also quote "?".
15 2019-12-10 George Barrett <bob@bob131.so>
17 Test scripted probe breakpoints.
18 * gdb.guile/scm-breakpoint.c (main): Add probe point.
19 * gdb.python/py-breakpoint.c (main): Likewise.
20 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
22 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
24 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
26 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
28 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
31 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
33 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
36 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
38 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
39 broken version of GCC.
41 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
43 * gdb.fortran/info-modules.exp: Rewrite to make use of new
44 sym-info-cmds library.
45 * gdb.fortran/info-types.exp: Likewise.
46 * lib/sym-info-cmds.exp: New file.
48 2019-12-08 Tom de Vries <tdevries@suse.de>
50 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
52 2019-12-07 Keith Seitz <keiths@redhat.com>
54 * gdb.base/corefile-buildid-shlib-shr.c: New file.
55 * gdb.base/corefile-buildid-shlib.c: New file.
56 * gdb.base/corefile-buildid.c: New file.
57 * gdb.base/corefile-buildid.exp: New file.
59 2019-12-06 Tom de Vries <tdevries@suse.de>
61 * gdb.dwarf2/varval.exp: Add decl before def test.
63 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
65 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
67 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
69 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
70 CV and reference conversion for overload resolution.
71 * gdb.cp/rvalue-ref-overload.exp: Test it.
73 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
75 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
76 * gdb.base/frameapply.exp: Test faas without command.
78 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
80 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
82 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
85 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
87 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
88 casting to type with no kind specified.
89 (test_basic_parsing_of_type_kinds): Additional tests for types
90 with no kind specified, and add tests for single/double
91 precision/complex types.
93 2019-12-04 Tom Tromey <tromey@adacore.com>
95 * gdb.base/endianity.c (struct other) <x>: New field.
96 (main): Initialize it.
97 * gdb.base/endianity.exp: Update.
99 2019-12-04 Tom Tromey <tromey@adacore.com>
101 * gdb.ada/scalar_storage/storage.adb: New file.
102 * gdb.ada/scalar_storage/pck.adb: New file.
103 * gdb.ada/scalar_storage/pck.ads: New file.
104 * gdb.ada/scalar_storage.exp: New file.
106 2019-12-04 Tom Tromey <tromey@adacore.com>
108 * gdb.base/endianity.c (struct otherendian) <f>: New field.
109 (main): Initialize it.
110 * gdb.base/endianity.exp: Update.
112 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
114 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
116 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
118 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
119 -symbol-info-module-functions and -symbol-info-module-variables.
121 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
123 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
125 2019-12-01 Richard Bunt <richard.bunt@arm.com>
126 Andrew Burgess <andrew.burgess@embecosm.com>
128 * gdb.fortran/derived-type-striding.exp: New file.
129 * gdb.fortran/derived-type-striding.f90: New file.
130 * gdb.fortran/array-slices.exp: New file.
131 * gdb.fortran/array-slices.f90: New file.
133 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
135 * gdb.base/define.exp: Test . in command names.
136 * gdb.base/setshow.exp: Update test, as . is now part of
139 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
141 * gdb.base/define-prefix.exp: New file.
143 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
145 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
147 (skip_btrace_pt_tests): Likewise.
149 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
151 * gdb.fortran/info-modules.exp: Compile source files in correct
154 2019-11-27 Kevin Buettner <kevinb@redhat.com>
156 * gdb.dwarf2/imported-unit.exp: New file.
157 * gdb.dwarf2/imported-unit.c: New file.
159 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
161 * gdb.mi/mi-fortran-modules-2.f90: New file.
162 * gdb.mi/mi-fortran-modules.exp: New file.
163 * gdb.mi/mi-fortran-modules.f90: New file.
165 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
167 * gdb.mi/mi-sym-info-1.c: New file.
168 * gdb.mi/mi-sym-info-2.c: New file.
169 * gdb.mi/mi-sym-info.exp: New file.
171 2019-11-22 Tom Tromey <tromey@adacore.com>
173 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
174 * gdb.ada/tasks/foo.adb: Add another stopping location.
176 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
178 * gdb.base/endianity.c: New test.
179 * gdb.base/endianity.exp: New file.
181 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
183 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
185 2019-11-21 Tom de Vries <tdevries@suse.de>
188 * gdb.base/ui-redirect.exp: Test output of user-defined command.
190 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
192 * gdb.python/py-progspace.exp: Add missing parentheses on some
195 2019-11-19 Tom Tromey <tom@tromey.com>
197 * gdb.tui/winheight.exp: New file.
199 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
201 * gdb.base/ctf-whatis.c: Delete.
202 * gdb.base/ctf-whatis.exp: Delete.
203 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
205 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
207 * gdb.base/ctf-cvexpr.exp: Delete.
208 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
210 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
212 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
213 the compiler. Clean up header comment a little.
214 * gdb.base/ctf-ptype.exp: Likewise.
215 * gdb.base/ctf-whatis.exp: Likewise.
216 * lib/gdb.exp (skip_ctf_tests): New proc.
218 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
220 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
221 * gdb.tui/corefile-run.exp: New file.
223 2019-11-14 Tom Tromey <tromey@adacore.com>
225 * gdb.base/gdbvars.exp (test_convenience_variables): Add
228 2019-11-12 Tom Tromey <tom@tromey.com>
230 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
231 after any command. Expect prompt after WAIT_FOR is seen.
232 (enter_tui): Enable resize messages.
233 (command): Expect command in output.
234 (get_line): Avoid error when cursor appears to be off-screen.
235 (dump_screen): Include screen size in title.
236 (_do_resize): New proc, from "resize".
237 (resize): Rewrite. Do resize in two steps.
238 * gdb.tui/empty.exp (layouts): Fix entries.
239 (check_boxes): Remove xfail.
240 (check_text): Dump screen on failure.
242 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
244 * gdb.python/py-symbol.exp: Add test for
245 gdb.lookup_static_symbols.
247 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
249 * gdb.python/py-symbol.c: Declare and call function from new
251 * gdb.python/py-symbol.exp: Compile both source files, and add new
252 tests for gdb.lookup_static_symbol.
253 * gdb.python/py-symbol-2.c: New file.
255 2019-11-02 Tom de Vries <tdevries@suse.de>
257 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
258 * gdb.base/anon.exp: Same.
259 * gdb.base/auto-connect-native-target.exp: Same.
260 * gdb.base/call-ar-st.exp: Same.
261 * gdb.base/catch-syscall.exp: Same.
262 * gdb.base/commands.exp: Same.
263 * gdb.base/default.exp: Same.
264 * gdb.base/display.exp: Same.
265 * gdb.base/float.exp: Same.
266 * gdb.base/foll-fork.exp: Same.
267 * gdb.base/help.exp: Same.
268 * gdb.base/info-macros.exp: Same.
269 * gdb.base/info-proc.exp: Same.
270 * gdb.base/info-target.exp: Same.
271 * gdb.base/long_long.exp: Same.
272 * gdb.base/macscp.exp: Same.
273 * gdb.base/memattr.exp: Same.
274 * gdb.base/nofield.exp: Same.
275 * gdb.base/pointers.exp: Same.
276 * gdb.base/printcmds.exp: Same.
277 * gdb.base/ptype.exp: Same.
278 * gdb.base/restore.exp: Same.
279 * gdb.base/return.exp: Same.
280 * gdb.base/scope.exp: Same.
281 * gdb.base/set-noassign.exp: Same.
282 * gdb.base/setshow.exp: Same.
283 * gdb.base/shlib-call.exp: Same.
284 * gdb.base/signals.exp: Same.
285 * gdb.base/sigstep.exp: Same.
286 * gdb.base/skip.exp: Same.
287 * gdb.base/solib-symbol.exp: Same.
288 * gdb.base/stap-probe.exp: Same.
289 * gdb.base/step-line.exp: Same.
290 * gdb.base/step-test.exp: Same.
291 * gdb.base/style.exp: Same.
292 * gdb.base/varargs.exp: Same.
293 * gdb.base/vla-datatypes.exp: Same.
294 * gdb.base/vla-ptr.exp: Same.
295 * gdb.base/vla-sideeffect.exp: Same.
296 * gdb.base/volatile.exp: Same.
297 * gdb.base/watch-cond-infcall.exp: Same.
298 * gdb.base/watchpoint.exp: Same.
300 2019-11-02 Tom de Vries <tdevries@suse.de>
302 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
303 * gdb.cp/cpexprs.exp: Same.
304 * gdb.cp/except-multi-location.exp: Same.
305 * gdb.cp/exceptprint.exp: Same.
306 * gdb.cp/gdb2384.exp: Same.
307 * gdb.cp/inherit.exp: Same.
308 * gdb.cp/m-static.exp: Same.
309 * gdb.cp/meth-typedefs.exp: Same.
310 * gdb.cp/misc.exp: Same.
311 * gdb.cp/namespace.exp: Same.
312 * gdb.cp/non-trivial-retval.exp: Same.
313 * gdb.cp/overload.exp: Same.
314 * gdb.cp/pr17132.exp: Same.
315 * gdb.cp/re-set-overloaded.exp: Same.
316 * gdb.cp/rvalue-ref-types.exp: Same.
317 * gdb.cp/templates.exp: Same.
319 2019-11-01 Luis Machado <luis.machado@linaro.org>
323 * gdb.arch/pr25124.S: New file.
324 * gdb.arch/pr25124.exp: New file.
326 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
328 * gdb.fortran/info-modules.exp: Update expected results, and add
329 additional tests for 'info module functinos', and 'info module
331 * gdb.fortran/info-types.exp: Update expected results.
332 * gdb.fortran/info-types.f90: Extend testcase with additional
333 module variables and functions.
335 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
337 * gdb.fortran/info-modules.exp: New file.
338 * gdb.fortran/info-types.exp: Build with new file.
339 * gdb.fortran/info-types.f90: Include and use new module.
340 * gdb.fortran/info-types-2.f90: New file.
342 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
344 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
345 * gdb.base/settings.exp: Test all settings types using
346 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
347 that now verifies that the value of "maint show" is the same as
348 returned by the settings functions. Test the type of the
349 maintenance settings.
350 * gdb.base/default.exp: Update show_conv_list.
352 2019-10-31 Tom de Vries <tdevries@suse.de>
354 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
356 * gdb.arch/amd64-disp-step.exp: Same.
357 * gdb.asm/asm-source.exp: Same.
358 * gdb.btrace/buffer-size.exp: Same.
359 * gdb.btrace/cpu.exp: Same.
360 * gdb.btrace/enable.exp: Same.
361 * gdb.dwarf2/count.exp: Same.
362 * gdb.dwarf2/dw2-ranges-func.exp: Same.
363 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
364 * gdb.fortran/vla-datatypes.exp: Same.
365 * gdb.fortran/vla-history.exp: Same.
366 * gdb.fortran/vla-ptype.exp: Same.
367 * gdb.fortran/vla-value.exp: Same.
368 * gdb.fortran/whatis_type.exp: Same.
369 * gdb.guile/guile.exp: Same.
370 * gdb.multi/tids.exp: Same.
371 * gdb.python/py-finish-breakpoint.exp: Same.
372 * gdb.python/py-framefilter.exp: Same.
373 * gdb.python/py-pp-registration.exp: Same.
374 * gdb.python/py-xmethods.exp: Same.
375 * gdb.python/python.exp: Same.
376 * gdb.server/connect-with-no-symbol-file.exp: Same.
377 * gdb.server/no-thread-db.exp: Same.
378 * gdb.server/run-without-local-binary.exp: Same.
379 * gdb.stabs/weird.exp: Same.
380 * gdb.threads/attach-many-short-lived-threads.exp: Same.
381 * gdb.threads/thread-find.exp: Same.
382 * gdb.threads/tls-shared.exp: Same.
383 * gdb.threads/tls.exp: Same.
384 * gdb.threads/wp-replication.exp: Same.
385 * gdb.trace/ax.exp: Same.
386 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
388 2019-10-31 Tom de Vries <tdevries@suse.de>
390 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
391 * gdb.ada/array_subscript_addr.exp: Same.
392 * gdb.ada/arrayidx.exp: Same.
393 * gdb.ada/arrayparam.exp: Same.
394 * gdb.ada/arrayptr.exp: Same.
395 * gdb.ada/boolean_expr.exp: Same.
396 * gdb.ada/call_pn.exp: Same.
397 * gdb.ada/complete.exp: Same.
398 * gdb.ada/fixed_cmp.exp: Same.
399 * gdb.ada/fun_addr.exp: Same.
400 * gdb.ada/funcall_param.exp: Same.
401 * gdb.ada/interface.exp: Same.
402 * gdb.ada/mod_from_name.exp: Same.
403 * gdb.ada/null_array.exp: Same.
404 * gdb.ada/packed_array.exp: Same.
405 * gdb.ada/packed_tagged.exp: Same.
406 * gdb.ada/print_chars.exp: Same.
407 * gdb.ada/print_pc.exp: Same.
408 * gdb.ada/ptype_arith_binop.exp: Same.
409 * gdb.ada/ptype_field.exp: Same.
410 * gdb.ada/ptype_tagged_param.exp: Same.
411 * gdb.ada/rec_return.exp: Same.
412 * gdb.ada/ref_tick_size.exp: Same.
413 * gdb.ada/str_ref_cmp.exp: Same.
414 * gdb.ada/taft_type.exp: Same.
415 * gdb.ada/tagged.exp: Same.
416 * gdb.ada/type_coercion.exp: Same.
417 * gdb.ada/uninitialized_vars.exp: Same.
419 2019-10-30 Tom de Vries <tdevries@suse.de>
421 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
423 2019-10-26 Tom de Vries <tdevries@suse.de>
425 * gdb.base/bigcore.c: Fix typos in comments.
426 * gdb.base/ctf-ptype.c: Same.
427 * gdb.base/long_long.c: Same.
428 * gdb.dwarf2/dw2-op-out-param.S: Same.
429 * gdb.python/py-evthreads.c: Same.
430 * gdb.reverse/i387-stack-reverse.c: Same.
431 * gdb.trace/tfile.c: Same.
432 * lib/compiler.c: Same.
433 * lib/compiler.cc: Same.
435 2019-10-25 Tom de Vries <tdevries@suse.de>
437 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
438 gdb_test_multiple calls.
439 * gdb.reverse/sigall-reverse.exp: Same.
440 * gdb.reverse/solib-precsave.exp: Same.
441 * gdb.reverse/solib-reverse.exp: Same.
442 * gdb.reverse/until-precsave.exp: Same.
443 * gdb.reverse/until-reverse.exp: Same.
445 2019-10-24 Tom de Vries <tdevries@suse.de>
447 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
448 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
449 kfail using -wrap pattern flag and convenience variable
452 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
454 * gdb.python/py-progspace.exp: Add tests for the
455 Progspace.block_for_pc method.
457 2019-10-23 Tom Tromey <tom@tromey.com>
459 * configure: Rebuild.
460 * aclocal.m4: Use m4_include, not sinclude.
462 2019-10-21 Tom de Vries <tdevries@suse.de>
464 * gdb.base/infcall-nested-structs.c: Add
465 __attribute__((noinline,noclone)) to all functions.
466 (call_all): Add missing variable initialization. Simplify return value.
467 (breakpt): Increment volatile variable, to prevent call from being
469 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
471 2019-10-17 Tom de Vries <tdevries@suse.de>
473 * gdb.fortran/module.exp: Allow info variables to print info for files
474 other than module.f90.
476 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
478 * gdb.fortran/module.exp: Extend with 'info variables' test.
480 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
482 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
485 2019-10-16 Tom de Vries <tdevries@suse.de>
488 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
490 2019-10-16 Tom de Vries <tdevries@suse.de>
493 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
494 Add KFAIL for PR tdep/25096.
496 2019-10-16 Tom de Vries <tdevries@suse.de>
499 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
501 2019-10-16 Tom de Vries <tdevries@suse.de>
503 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
506 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
508 * gdb.mi/list-thread-groups-available.exp: Read entries one by
509 one instead of increasing timeout.
511 2019-10-13 Tom de Vries <tdevries@suse.de>
514 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
515 * gdb.reverse/sigall-reverse.exp: Same.
516 * gdb.reverse/solib-precsave.exp: Same.
517 * gdb.reverse/solib-reverse.exp: Same.
518 * gdb.reverse/step-precsave.exp: Same.
519 * gdb.reverse/until-precsave.exp: Same.
520 * gdb.reverse/until-reverse.exp: Same.
521 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
523 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
525 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
526 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
527 (cmp_struct_05_01, cmp_struct_static_02_01)
528 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
531 2019-10-10 Tom de Vries <tdevries@suse.de>
534 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
537 2019-10-09 Tom de Vries <tdevries@suse.de>
540 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
542 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
544 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
545 exceptions due to missing debug information.
547 2019-10-07 Tom de Vries <tdevries@suse.de>
549 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
551 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
553 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
554 * gdb.base/annota1.exp: Update to use gdb_test_name.
556 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
558 * gdb.base/ctf-whatis.exp: New file.
559 * gdb.base/ctf-whatis.c: New file.
560 * gdb.base/ctf-ptype.exp: New file.
561 * gdb.base/ctf-ptype.c: New file.
562 * gdb.base/ctf-constvars.exp: New file.
563 * gdb.base/ctf-constvars.c: New file.
564 * gdb.base/ctf-cvexpr.exp: New file.
566 2019-10-04 Tom de Vries <tdevries@suse.de>
568 * gdb.cp/local-static.c (main): Move declaration of int i out of the
571 2019-10-03 Tom Tromey <tom@tromey.com>
574 * gdb.rust/simple.rs (Union2): New type.
576 * gdb.rust/simple.exp: Add test.
578 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
580 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
581 nested function prefix.
583 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
584 Richard Bunt <richard.bunt@arm.com>
585 Andrew Burgess <andrew.burgess@embecosm.com>
587 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
589 * gdb.fortran/nested-funcs.f90: Update expected results.
590 * gdb.fortran/nested-funcs-2.exp: New file.
591 * gdb.fortran/nested-funcs-2.f90: New file.
593 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
595 * gdb.python/py-parameter.exp: Make test names unique.
596 * gdb.python/py-template.exp: Likewise.
597 * gdb.python/py-value.exp: Likewise.
599 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
601 * gdb.base/break-interp.exp: Reduce test name duplication.
602 * gdb.base/call-sc.exp: Likewise.
603 * gdb.base/callfuncs.exp: Likewise.
604 * gdb.base/charset.exp: Likewise.
605 * gdb.base/dump.exp: Likewise.
606 * gdb.base/ena-dis-br.exp: Likewise.
607 * gdb.base/relational.exp: Likewise.
608 * gdb.base/step-over-syscall.exp: Likewise.
609 * gdb.base/structs.exp: Likewise.
611 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
613 * gdb.linespec/explicit.exp: Make test names unique.
614 * gdb.linespec/ls-errs.exp: Likewise.
616 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
618 * gdb.reverse/break-precsave.exp: Make test names unique.
619 * gdb.reverse/break-reverse.exp: Likewise.
620 * gdb.reverse/finish-precsave.exp: Likewise.
621 * gdb.reverse/finish-reverse.exp: Likewise.
622 * gdb.reverse/machinestate-precsave.exp: Likewise.
623 * gdb.reverse/machinestate.exp: Likewise.
624 * gdb.reverse/readv-reverse.exp: Likewise.
625 * gdb.reverse/recvmsg-reverse.exp: Likewise.
626 * gdb.reverse/sigall-precsave.exp: Likewise.
627 * gdb.reverse/sigall-reverse.exp: Likewise.
628 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
629 * gdb.reverse/watch-precsave.exp: Likewise.
630 * gdb.reverse/watch-reverse.exp: Likewise.
632 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
634 * gdb.threads/stop-with-handle.c: New file.
635 * gdb.threads/stop-with-handle.exp: New file.
637 2019-10-03 Tom de Vries <tdevries@suse.de>
640 * gdb.base/list-missing-source.exp: Allowing the "Compilation
641 directory" line to be missing.
643 2019-10-03 Tom de Vries <tdevries@suse.de>
646 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
649 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
651 * gdb.python/py-format-string.c (string.h): New include.
652 (main): Fill a_struct_with_union.the_union.an_int with bytes of
653 the same value, for endianness-independence.
654 * gdb.python/py-format-string.exp (default_regexp_dict)
655 (test_pretty_structs, test_format): Adjust expected output to the
656 changed initialization.
658 2019-10-02 Tom Tromey <tromey@adacore.com>
660 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
662 2019-10-02 Pedro Alves <palves@redhat.com>
663 Andrew Burgess <andrew.burgess@embecosm.com>
665 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
667 (this_version_id) Use ATTRIBUTE_VISIBILITY.
668 (get_version_1): Print this_version_id and its address.
669 Add extern "C" wrappers around interface functions.
670 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
672 (this_version_id) Use ATTRIBUTE_VISIBILITY.
673 (get_version_2): Print this_version_id and its address.
674 Add extern "C" wrappers around interface functions.
675 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
676 <stddef.h> and "print-file-var.h".
677 Add extern "C" wrappers around interface functions.
678 [VERSION_ID_MAIN] (this_version_id): Define.
679 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
680 * gdb.base/print-file-var.h: Add some #defines to simplify setting
681 up extern "C" blocks.
682 * gdb.base/print-file-var.exp (test): New, factored out from top
684 (top level): Test all combinations of attribute hidden or not,
685 dlopen or not, and this_version_id symbol in main file or not.
686 Compile tests as both C++ and C, make test names unique.
688 2019-10-01 Tom Tromey <tom@tromey.com>
690 * gdb.base/style.exp: Test "show logging filename".
692 2019-10-01 Tom Tromey <tom@tromey.com>
694 * lib/gdb-utils.exp (style): Handle "metadata" argument.
695 * gdb.base/style.exp: Add metadata style test.
697 2019-10-01 Tom Tromey <tom@tromey.com>
699 * gdb.base/style.exp: Test "pwd".
701 2019-10-01 Tom Tromey <tom@tromey.com>
703 * gdb.base/style.exp: Update tests.
705 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
707 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
709 (s1): Initialize fields 'four' and 'six' instead of 'three' and
710 'five'. Use an all-ones bit pattern for each.
711 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
712 to its changed values.
714 2019-09-30 Tom Tromey <tromey@adacore.com>
716 * gdb.rust/traits.rs: Disable all warnings.
718 2019-09-29 Tom de Vries <tdevries@suse.de>
720 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
722 2019-09-29 Tom de Vries <tdevries@suse.de>
724 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
726 2019-09-27 Tom de Vries <tdevries@suse.de>
728 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
730 2019-09-27 Tom de Vries <tdevries@suse.de>
733 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
735 2019-09-26 Tom Tromey <tromey@adacore.com>
737 * gdb.ada/py_taft.exp: New file.
738 * gdb.ada/py_taft/main.adb: New file.
739 * gdb.ada/py_taft/pkg.adb: New file.
740 * gdb.ada/py_taft/pkg.ads: New file.
742 2019-09-24 Tom de Vries <tdevries@suse.de>
745 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
747 2019-09-22 Tom de Vries <tdevries@suse.de>
749 * gdb.base/restore.exp: Allow register variables to be optimized out at
752 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
754 * gdb.arch/spu-info.exp: Remove file.
755 * gdb.arch/spu-info.c: Remove file.
756 * gdb.arch/spu-ls.exp: Remove file.
757 * gdb.arch/spu-ls.c: Remove file.
759 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
760 * gdb.asm/spu.inc: Remove file.
762 * gdb.base/dump.exp: Remove support for spu*-*-*.
763 * gdb.base/stack-checking.exp: Likewise.
764 * gdb.base/overlays.exp: Likewise.
765 * gdb.base/ovlymgr.c: Likewise.
766 * gdb.base/spu.ld: Remove file.
768 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
769 * gdb.cp/cpexprs.exp: Likewise.
770 * gdb.cp/exception.exp: Likewise.
771 * gdb.cp/gdb2495.exp: Likewise.
772 * gdb.cp/mb-templates.exp: Likewise.
773 * gdb.cp/pr9167.exp: Likewise.
774 * gdb.cp/userdef.exp: Likewise.
776 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
778 * gdb.cell: Remove directory.
779 * lib/cell.exp: Remove file.
781 2019-09-19 Tom de Vries <tdevries@suse.de>
783 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
785 2019-09-19 Tom de Vries <tdevries@suse.de>
787 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
789 2019-09-19 Tom de Vries <tdevries@suse.de>
791 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
792 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
793 (gdb_target_cmd): ... here.
794 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
797 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
799 * gdb.base/source-dir.exp: Avoid having directory names in test
802 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
804 * gdb.base/source-dir.exp: Add extra test for mapped compilation
807 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
809 * gdb.base/list-missing-source.exp: New file.
811 2019-09-14 Tom de Vries <tdevries@suse.de>
814 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
815 * lib/ada.exp (gnatmake_version_at_least): New proc.
817 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
819 * gdb.base/maint.exp: Use exec_has_index_section.
821 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
823 * gdb.base/maint.exp: Add test for 'maint info sections'.
825 2019-09-12 Tom de Vries <tdevries@suse.de>
827 * gdb.base/store.exp: Allow register variables to be optimized out at
830 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
832 * gdb.ada/rdv_wait.exp: Update to new task names.
833 * gdb.base/task_switch_in_core.exp: Likewise.
834 * gdb.base/info_sources_base.c: Likewise.
836 2019-09-10 Tom Tromey <tromey@adacore.com>
838 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
840 2019-09-10 Tom Tromey <tromey@adacore.com>
842 * gdb.ada/dgopt.exp: New file.
843 * gdb.ada/dgopt/x.adb: New file.
845 2019-09-08 Tom Tromey <tom@tromey.com>
847 * gdb.tui/resize.exp: Remove setup_xfail.
848 * gdb.tui/regs.exp: Remove setup_xfail.
849 * gdb.tui/basic.exp: Remove setup_xfail.
851 2019-09-06 David Blaikie <dblaikie@gmail.com>
853 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
854 * gdb.cp/cplabel.exp: Ditto.
855 * gdb.linespec/ls-errs.exp: Ditto.
857 2019-09-05 Tom de Vries <tdevries@suse.de>
859 * lib/gdb.exp (cmp_file_string): New proc.
860 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
861 runto_main. Verify save breakpoints output.
863 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
865 * gdb.base/info-var.exp: Test info variables without running
866 to main, to avoid expect's buffer overflow.
868 2019-09-03 Tom Tromey <tromey@adacore.com>
870 * gdb.ada/bias.exp: New file.
871 * gdb.ada/bias/bias.adb: New file.
872 * gdb.ada/print_chars.exp: Add regression test.
873 * gdb.ada/print_chars/foo.adb (My_Character): New type.
876 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
878 * gdb.base/argv0-symlink.exp: Run only on native target
881 2019-08-29 Tom de Vries <tdevries@suse.de>
883 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
885 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
887 2019-08-28 Tom de Vries <tdevries@suse.de>
889 * gdb.base/info-var.exp: Allow info variables to print info for files
890 other than info-var-f1.c and info-var-f2.c.
892 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
894 * gdb.fortran/info-types.exp: Add module.
895 * gdb.fortran/info-types.f90: Update expected results.
897 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
899 * gdb.fortran/info-types.exp: New file.
900 * gdb.fortran/info-types.f90: New file.
901 * lib/fortran.exp (fortran_character1): New proc.
903 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
905 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
906 functions'. Reindent as needed.
907 * gdb.base/info-var-f1.c: New file.
908 * gdb.base/info-var-f2.c: New file.
909 * gdb.base/info-var.exp: New file.
910 * gdb.base/info-var.h: New file.
912 2019-08-26 Tom de Vries <tdevries@suse.de>
915 * gdb.cp/no-libstdcxx-probe.exp: New test.
917 2019-08-26 Tom de Vries <tdevries@suse.de>
919 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
920 * tests need to be skipped.
921 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
922 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
923 mi_skip_libstdcxx_probe_tests.
925 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
927 * gdb.python/py-xmethods.exp: Use raw strings when passing
928 arguments to SimpleXMethodMatcher.
930 2019-08-22 Tom de Vries <tdevries@suse.de>
932 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
935 2019-08-21 Pedro Alves <palves@redhat.com>
937 * gdb.base/with.exp: Test "with" with no arguments.
939 2019-08-21 Tom de Vries <tdevries@suse.de>
941 * gdb.base/gdb-caching-proc.exp: Sort files.
943 2019-08-20 Tom de Vries <tdevries@suse.de>
945 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
948 2019-08-16 Tom de Vries <tdevries@suse.de>
950 * gdb.base/compare-sections.exp ("after run to main"): Allow
951 mismatched read-only sections for PIE executables.
953 2019-08-16 Tom Tromey <tom@tromey.com>
955 * lib/tuiterm.exp (_csi_Z): New proc.
956 * gdb.tui/basic.exp: Update window positions.
957 * gdb.tui/empty.exp: Update window positions.
959 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
961 * gdb.base/examine-backward.exp: Correct regexp for
962 "examine 3 bytes backward from ${address_zero}".
964 2019-08-15 Tom Tromey <tom@tromey.com>
966 * gdb.tui/empty.exp: Enable resizing tests.
968 2019-08-15 Tom Tromey <tromey@adacore.com>
970 * gdb.ada/char_enum.exp: Add regression tests.
971 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
973 (Char, Gchar): Update.
974 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
976 2019-08-15 Christian Biesinger <cbiesinger@google.com>
978 * gdb.python/python.exp: Expect a leading underscore on
979 GdbOutput{,Error}File.
981 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
983 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
986 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
988 * gdb.base/batch-preserve-term-settings.exp
989 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
991 2019-08-15 Christian Biesinger <cbiesinger@google.com>
993 * lib/gdb.exp: When running on a mingw target, replace
996 2019-08-14 Alan Hayward <alan.hayward@arm.com>
998 * gdb.arch/aarch64-prologue.c: New test.
999 * gdb.arch/aarch64-prologue.exp: New file.
1001 2019-08-13 Tom de Vries <tdevries@suse.de>
1003 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1006 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1008 * gdb.python/py-completion.exp: Download the .py file to the host
1009 and use its host pathname. Conditionalize tests that use
1010 tab completion and manipulate files on the build machine.
1011 * gdb.python/py-events.exp: Download the .py file to the host
1012 and use its host pathname.
1013 * gdb.python/py-evsignal.exp: Likewise.
1014 * gdb.python/py-evthreads.exp: Likewise.
1015 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1017 * gdb.python/py-framefilter.exp: Download the .py file to the right
1018 place on the host. Match Windows pathname syntax.
1019 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1020 .py file to the host and use its host pathname.
1021 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1022 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1023 build pathname. Skip symlink test on Windows host. Add missing
1024 newline at end of file.
1025 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1026 and use its host pathname.
1027 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1028 * gdb.python/py-section-script.exp: Use host location of binfile
1029 on safe-path. Use correct path separator on Windows host.
1030 Reorder alternatives in gdb_test_multiple to prevent matching
1031 the wrong alternative on success.
1032 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1034 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1036 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1037 expect the GDB inferior to no longer immediately stop after
1038 being resumed with "signal SIGINT".
1040 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1042 * gdb.linespec/break-ask.exp: Generalize regexps to match
1043 Windows pathnames too.
1045 2019-08-08 Tom de Vries <tdevries@suse.de>
1048 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1050 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1052 * gdb.base/style.exp: Update tests for help doc new invariants.
1053 * gdb.base/help.exp: Likewise.
1055 2019-08-06 Tom Tromey <tom@tromey.com>
1057 * gdb.base/style.exp: Add disassemble test.
1058 * gdb.base/style.c (some_called_function): New function.
1061 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1063 * gdb.python/py-block.exp: Test dictionary access on blocks.
1065 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1068 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1069 -list-thread-groups --available test when running under
1072 2019-08-05 Tom de Vries <tdevries@suse.de>
1075 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1076 * gdb.base/help.exp: Use with_read1_timeout_factor.
1077 * gdb.base/info-macros.exp: Same.
1078 * gdb.cp/nested-types.exp: Same.
1080 2019-08-05 Tom de Vries <tdevries@suse.de>
1082 * lib/gdb.exp (version_at_least): Factor out of ...
1083 (tcl_version_at_least): ... here.
1084 (gdb_compile): Fail if pie results in non-PIE executable.
1085 (readelf_version, readelf_prints_pie): New proc.
1086 (exec_is_pie): Return -1 if unknown.
1088 2019-08-05 Tom de Vries <tdevries@suse.de>
1090 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1092 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1094 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1096 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1098 * lib/completion-support.exp (test_gdb_complete_none): Skip
1099 tab completion tests if no readline support.
1100 (test_gdb_complete_unique_re): Likewise.
1101 (test_gdb_complete_multiple): Likewise.
1103 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1105 * gdb.base/info_sources.exp: New file.
1106 * gdb.base/info_sources.c: New file.
1107 * gdb.base/info_sources_base.c: New file.
1109 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1111 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1113 (test_exit_status): Add prefix argument.
1115 2019-08-01 Tom de Vries <tdevries@suse.de>
1118 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1119 calling exp_continue for new thread and thread exited messages.
1121 2019-08-01 Tom de Vries <tdevries@suse.de>
1124 * gdb.base/structs.exp: Fix check-read1 timeout using
1126 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1128 2019-08-01 Tom de Vries <tdevries@suse.de>
1131 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1134 2019-08-01 Tom de Vries <tdevries@suse.de>
1137 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1139 2019-07-30 Tom Tromey <tromey@adacore.com>
1141 * gdb.ada/display_nested.exp: New file.
1142 * gdb.ada/display_nested/foo.adb: New file.
1143 * gdb.ada/display_nested/pack.adb: New file.
1144 * gdb.ada/display_nested/pack.ads: New file.
1146 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1148 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1150 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1152 2019-07-30 Tom de Vries <tdevries@suse.de>
1154 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1157 2019-07-30 Tom de Vries <tdevries@suse.de>
1160 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1161 (exec_is_pie): New proc.
1163 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1165 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1167 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1169 * gdb.python/py-objfile.c: Add global and static vars.
1170 * gdb.python/py-objfile.exp: Test new functions Objfile.
1171 lookup_global_symbol and lookup_static_symbol.
1173 2019-07-29 Tom Tromey <tom@tromey.com>
1175 * lib/tuiterm.exp (Term::_csi_@): New proc.
1176 (Term::_csi_X): Don't move cursor.
1178 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1180 * gdb.base/options.exp: Update backtrace - completion to
1181 new option -frame-info.
1182 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1183 Test new 'set print frame-info'. Test backtrace -frame-info
1184 overriding 'set print frame-info'.
1185 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1186 Test new 'set print frame-info'.
1187 Verify consistency of backtrace with and without filters, with and
1188 without -no-filters.
1189 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1192 2019-07-29 Tom de Vries <tdevries@suse.de>
1194 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1197 2019-07-29 Tom de Vries <tdevries@suse.de>
1199 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1200 is a substring of the first for "complete non-unique file name".
1202 2019-07-29 Tom de Vries <tdevries@suse.de>
1204 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1207 2019-07-29 Tom de Vries <tdevries@suse.de>
1209 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1210 Pass prompt_regexp parameter to gdb_test_multiple calls.
1212 2019-07-29 Tom de Vries <tdevries@suse.de>
1214 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1215 print registers" regexps.
1217 2019-07-29 Tom de Vries <tdevries@suse.de>
1219 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1221 2019-07-29 Tom de Vries <tdevries@suse.de>
1224 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1225 (skip_python_tests_prompt): Add prompt_regexp argument to
1226 gdb_test_multiple calls.
1228 2019-07-27 Tom Tromey <tom@tromey.com>
1230 * gdb.tui/main.exp: New file.
1232 2019-07-27 Tom Tromey <tom@tromey.com>
1234 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1236 * gdb.tui/empty.exp: New file.
1238 2019-07-27 Tom Tromey <tom@tromey.com>
1240 * lib/tuiterm.exp (spawn): New proc.
1241 (Term::resize): New proc.
1242 * gdb.tui/resize.exp: New file.
1244 2019-07-27 Tom Tromey <tom@tromey.com>
1246 * gdb.tui/list.exp: New file.
1248 2019-07-27 Tom Tromey <tom@tromey.com>
1250 * gdb.tui/regs.exp: New file.
1252 2019-07-27 Tom Tromey <tom@tromey.com>
1254 * gdb.tui/basic.exp: Add "layout split" test.
1256 2019-07-27 Tom Tromey <tom@tromey.com>
1258 * gdb.tui/basic.exp: Add "layout asm" test.
1260 2019-07-27 Tom Tromey <tom@tromey.com>
1262 * lib/tuiterm.exp: New file.
1263 * gdb.tui/basic.exp: New file.
1265 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1267 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1268 Enable tests associated with this flag. Adjust regex
1269 referencing "foo_low" to now refer to "foo_cold" instead.
1271 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1273 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1274 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1275 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1276 foo_cold. Revise comments to match.
1277 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1278 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1279 were wrapped into this proc; Call do_test in loop from outermost
1281 (foo_low): Rename all occurrences to "foo_cold".
1282 (backtrace from baz): New test.
1283 (x2/i foo_cold): New test.
1284 (info line *foo_cold): New test.
1286 2019-07-26 Tom de Vries <tdevries@suse.de>
1288 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1290 2019-07-25 Tom de Vries <tdevries@suse.de>
1293 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1294 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1295 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1296 (skip_libstdcxx_probe_tests): ... here.
1297 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1299 2019-07-24 Tom de Vries <tdevries@suse.de>
1302 * gdb.objc/basicclass.m: Include stdio.h.
1303 * gdb.objc/nondebug.m: Same.
1304 * gdb.objc/objcdecode.m: Same.
1306 2019-07-24 Tom de Vries <tdevries@suse.de>
1309 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1312 2019-07-24 Tom de Vries <tdevries@suse.de>
1315 * gdb.multi/tids.exp: Update error messages for info threads.
1317 2019-07-24 Tom de Vries <tdevries@suse.de>
1319 * gdb.base/info-types.exp: Allow info types to print info for more than
1322 2019-07-23 Tom de Vries <tdevries@suse.de>
1325 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1326 gdb_spawn_with_cmdline_opts.
1328 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1330 * gdb.arch/arm-cmse-sgstubs.c: New test.
1331 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1333 2019-07-23 Tom de Vries <tdevries@suse.de>
1336 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1337 issuing next command.
1339 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1341 * gdb.ada/info_auto_lang.exp: Update expected results.
1342 * gdb.base/info-types.c: Add additional types to check.
1343 * gdb.base/info-types.exp: Update expected results.
1345 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1347 * gdb.base/info-types.c: New file.
1348 * gdb.base/info-types.exp: New file.
1350 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1352 * gdb.arch/riscv-bp-infcall.c: New file.
1353 * gdb.arch/riscv-bp-infcall.exp: New file.
1355 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1357 PR breakpoints/24541
1358 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1360 2019-07-14 Tom de Vries <tdevries@suse.de>
1363 * gdb.objc/basicclass.exp: Fix unterminated string.
1365 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1366 Andrew Burgess <andrew.burgess@embecosm.com>
1368 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1369 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1371 * gdb.fortran/vla-value.exp: Print elements of an array with
1373 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1376 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1378 * gdb.base/options.exp (expect_string): Dequote strings in
1380 (test-string): Test strings with different quoting and reindent.
1382 2019-07-10 Tom Tromey <tromey@adacore.com>
1384 * gdb.ada/mi_ex_cond.exp: Update expected results.
1385 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1386 * gdb.ada/mi_catch_ex.exp: Update expected results.
1387 * gdb.ada/mi_catch_assert.exp: Update expected results.
1388 * gdb.ada/catch_ex.exp (catch_exception_info)
1389 (catch_exception_entry, catch_assert_entry)
1390 (catch_unhandled_entry): Update.
1391 * gdb.ada/catch_assert_if.exp: Update expected results.
1393 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1394 Stephen Roberts <stephen.roberts@arm.com>
1396 * gdb.base/define.exp: Restore original prompt.
1398 2019-07-09 Pedro Alves <palves@redhat.com>
1400 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1401 breakpoints" output.
1402 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1403 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1404 throw" creates breakpoint.
1405 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1406 'type="catchpoint"'.
1408 2019-07-09 Pedro Alves <palves@redhat.com>
1411 * gdb.cp/except-multi-location-lib.cc: New.
1412 * gdb.cp/except-multi-location-main.cc: New.
1413 * gdb.cp/except-multi-location.exp: New.
1415 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1417 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1418 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1419 argument and update callers.
1421 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1423 * gdb.arch/amd64-break-on-asm-line.S: New file.
1424 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1426 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1428 * gdb.base/printcmds.exp: Test printing C string and
1429 C wide string convenience vars without transiting via the inferior.
1430 Also make test names unique.
1432 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1434 PR breakpoints/25011
1435 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1437 2019-07-04 Pedro Alves <palves@redhat.com>
1439 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1440 body returned ok(0), break(3) or continue(4).
1441 * gdb.testsuite/foreach_with_prefix.exp: New file.
1443 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1445 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1447 2019-07-03 Pedro Alves <palves@redhat.com>
1449 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1452 2019-07-03 Pedro Alves <palves@redhat.com>
1455 * gdb.base/shell.exp: Load completion-support.exp.
1456 Adjust expected error output. Add completion tests.
1458 2019-07-03 Pedro Alves <palves@redhat.com>
1460 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1463 2019-07-03 Pedro Alves <palves@redhat.com>
1465 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1466 (expect_integer): Adjust to expect "-string".
1467 (expect_string): New.
1468 (all_options): Expect "-string".
1469 (test-flag, test-boolean): Adjust to expect "-string".
1470 (test-string): New proc.
1471 (top level): Call it.
1473 2019-07-03 Pedro Alves <palves@redhat.com>
1475 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1476 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1477 the expected output in the success.
1479 2019-07-03 Pedro Alves <palves@redhat.com>
1481 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1482 Split one gdb_test_multiple call in two to avoid a race.
1484 2019-07-03 Pedro Alves <palves@redhat.com>
1486 * gdb.base/with.c: New file.
1487 * gdb.base/with.exp: New file.
1489 2019-07-03 Pedro Alves <palves@redhat.com>
1491 * gdb.base/settings.exp: Replace all references to "maint
1492 test-settings set" with references to "maint set test-settings",
1493 and all references to "maint test-settings show" with references
1494 to "maint show test-settings".
1496 2019-07-03 Pedro Alves <palves@redhat.com>
1498 * gdb.base/settings.exp (test-string): Adjust expected out when
1499 testing "maint test-settings show filename"
1501 2019-07-02 Pedro Alves <palves@redhat.com>
1503 * gdb.base/options.exp (test-info-threads): New procedure.
1504 (top level): Call it.
1506 2019-06-28 Tom Tromey <tromey@adacore.com>
1508 * gdb.dwarf2/ada-linkage-name.c: New file.
1509 * gdb.dwarf2/ada-linkage-name.exp: New file.
1511 2019-06-27 Tom Tromey <tromey@adacore.com>
1514 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1516 2019-06-26 Tom de Vries <tdevries@suse.de>
1518 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1520 2019-06-26 Tom de Vries <tdevries@suse.de>
1522 * gdb.base/index-cache.exp: Add back missing debug option.
1524 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1526 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1528 2019-06-25 Tom de Vries <tdevries@suse.de>
1531 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1533 2019-06-24 Tom de Vries <tdevries@suse.de>
1535 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1537 2019-06-24 Tom de Vries <tdevries@suse.de>
1539 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1540 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1541 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1543 2019-06-24 Tom de Vries <tdevries@suse.de>
1545 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1547 2019-06-21 Tom de Vries <tdevries@suse.de>
1549 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1551 2019-06-21 Tom de Vries <tdevries@suse.de>
1555 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1558 2019-06-19 Tom Tromey <tromey@adacore.com>
1560 * gdb.ada/length_cond.exp: Add intro comment.
1562 2019-06-19 Tom Tromey <tromey@adacore.com>
1564 * gdb.ada/length_cond.exp: New file.
1565 * gdb.ada/length_cond/length_cond.adb: New file.
1566 * gdb.ada/length_cond/pck.adb: New file.
1567 * gdb.ada/length_cond/pck.ads: New file.
1569 2019-06-18 Tom de Vries <tdevries@suse.de>
1571 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1573 2019-06-18 Tom Tromey <tromey@adacore.com>
1575 * gdb.base/list0.h: Add comment explaining control character.
1577 2019-06-18 Tom de Vries <tdevries@suse.de>
1579 * boards/fission.exp: Break up long debug_flags line.
1581 2019-06-16 Tom de Vries <tdevries@suse.de>
1584 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1587 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1590 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1591 improve detection of bug gdb/24541.
1593 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1596 * gdb.base/index-cache.exp (uses_readnow,
1597 expecting_index_cache_use): Define global variable.
1598 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1599 expecting_index_cache_use.
1601 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1602 Andrew Burgess <andrew.burgess@embecosm.com>
1604 * gdb.fortran/pointers.f90: New file.
1605 * gdb.fortran/print_type.exp: New file.
1606 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1607 * gdb.fortran/vla-type.exp: Likewise.
1608 * gdb.fortran/vla-value.exp: Likewise.
1609 * gdb.mi/mi-vla-fortran.exp: Likewise.
1611 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1613 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1614 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1615 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1618 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1620 * gdb.base/annota1.exp: Update expected results.
1621 * gdb.cp/annota2.exp: Likewise.
1622 * gdb.cp/annota3.exp: Likewise.
1624 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1626 * gdb.base/style-logging.exp: Remove path from test name.
1628 2019-06-14 Tom Tromey <tromey@adacore.com>
1631 * gdb.base/style-logging.exp: New file.
1633 2019-06-14 Tom Tromey <tromey@adacore.com>
1635 * gdb.base/symfile-warn.exp: New file.
1636 * gdb.base/symfile-warn.c: New file.
1638 2019-06-14 Tom Tromey <tromey@adacore.com>
1640 * gdb.base/annotate-symlink.exp: New file.
1642 2019-06-14 Tom Tromey <tromey@adacore.com>
1644 * gdb.ada/set_wstr.exp: Add reassignment test.
1646 2019-06-14 Tom Tromey <tromey@adacore.com>
1648 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1649 'unchecked_access and 'unrestricted_access as well.
1651 2019-06-14 Tom Tromey <tromey@adacore.com>
1654 * gdb.ada/vla.exp: Update tests.
1655 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1658 2019-06-13 Pedro Alves <palves@redhat.com>
1660 * gdb.base/settings.exp (test-integer): Test junk after
1663 2019-06-13 Pedro Alves <palves@redhat.com>
1665 * gdb.base/options.exp (test-thread-apply): New.
1666 (top level): Call it.
1668 2019-06-13 Pedro Alves <palves@redhat.com>
1670 * gdb.base/options.exp (test-frame-apply): New.
1671 (top level): Test print commands with different "frame apply"
1674 2019-06-13 Pedro Alves <palves@redhat.com>
1676 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1677 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1678 'max_completions' parameter and handle it.
1679 (test_gdb_completion_offers_commands): New.
1681 2019-06-13 Pedro Alves <palves@redhat.com>
1683 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1685 2019-06-13 Pedro Alves <palves@redhat.com>
1687 * gdb.base/options.exp (test-backtrace): New.
1688 (top level): Call it.
1690 2019-06-13 Pedro Alves <palves@redhat.com>
1692 * gdb.guile/scm-frame-args.exp: Use "set print
1693 raw-frame-arguments" instead of "set print raw frame-arguments".
1694 * gdb.python/py-frame-args.exp: Likewise.
1696 2019-06-13 Pedro Alves <palves@redhat.com>
1698 * gdb.compile/compile.exp: Adjust expected output to option
1701 2019-06-13 Pedro Alves <palves@redhat.com>
1703 * gdb.base/options.exp: Build executable.
1704 (test-print): New procedure.
1705 (top level): Call it, once for "print" and another for "compile
1708 2019-06-13 Pedro Alves <palves@redhat.com>
1710 * gdb.base/options.c: New file.
1711 * gdb.base/options.exp: New file.
1713 2019-06-13 Pedro Alves <palves@redhat.com>
1715 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1716 that "o" is ambiguous.
1718 2019-06-13 Pedro Alves <palves@redhat.com>
1720 * gdb.base/settings.c: New file.
1721 * gdb.base/settings.exp: New file.
1723 2019-06-13 Pedro Alves <palves@redhat.com>
1725 * gdb.base/completion.exp: Fix comment typo.
1727 2019-06-13 Pedro Alves <palves@redhat.com>
1729 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1732 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1734 * gdb.fortran/block-data.f: New.
1735 * gdb.fortran/block-data.exp: New.
1737 2019-06-11 Tom de Vries <tdevries@suse.de>
1740 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1743 2019-06-11 Tom de Vries <tdevries@suse.de>
1746 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1748 2019-06-11 Tom de Vries <tdevries@suse.de>
1750 * boards/readnow.exp: New file.
1752 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1754 * gdb.fortran/vla-sizeof.exp: Update expected results.
1756 2019-06-06 Amos Bird <amosbird@gmail.com>
1758 * gdb.base/annota1.exp (thread_switch): Add test for
1759 thread-exited annotation.
1761 2019-06-06 Tom Tromey <tromey@adacore.com>
1763 * gdb.base/maint.exp: Expect command started/finished output.
1765 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1767 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1769 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1771 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1773 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1774 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1775 * gdb.arch/riscv-unwind-long-insn.c: New file.
1776 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1778 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1780 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1782 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1784 * lib/gdb.exp (help_list_trailer): New regexp variable
1785 factorizing the help trailer message.
1786 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1787 arg to allow to better factorize various tests.
1788 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1789 (test_prefix_command_help): Use help_list_trailer.
1790 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1791 * gdb.guile/scm-cmd.exp: Likewise.
1792 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1793 * gdb.base/help.exp: Use test_user_defined_class_help.
1794 * gdb.base/style.exp: Add tests for styling of help and apropos.
1795 * lib/gdb-utils.exp (style): Add title and highlight styles.
1797 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1799 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1801 * gdb.base/default.exp: Update for new convenience variables.
1803 2019-05-29 Tom Tromey <tromey@adacore.com>
1805 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1806 to "break complete ada" test case's regexp.
1808 2019-05-29 Tom Tromey <tromey@adacore.com>
1811 * gdb.cp/constexpr-field.exp: New file.
1812 * gdb.cp/constexpr-field.cc: New file.
1814 2019-05-29 Tom Tromey <tromey@adacore.com>
1816 * gdb.base/finish.exp (finish_no_print): New proc.
1817 (finish_tests): Call it.
1819 2019-05-24 Tom de Vries <tdevries@suse.de>
1821 * gdb.dwarf2/gdb-add-index.exp: New file.
1823 2019-05-22 Tom Tromey <tromey@adacore.com>
1825 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1826 * gdb.base/style.exp: Use "style".
1827 * lib/gdb-utils.exp (style): New proc.
1829 2019-05-22 Tom de Vries <tdevries@suse.de>
1831 * gdb.base/align.exp: Require c++11.
1833 2019-05-22 Tom de Vries <tdevries@suse.de>
1836 * gdb.python/py-mi-var-info-path-expression.exp: Call
1837 mi_skip_python_tests to check if python is supported.
1839 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1841 * gdb.arch/aarch64-pauth.c: New test.
1842 * gdb.arch/aarch64-pauth.exp: New file.
1844 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1846 * README (Re-running Tests Outside The Testsuite): New section.
1848 2019-05-21 Tom de Vries <tdevries@suse.de>
1850 * gdb.arch/amd64-eval.exp: Require c++11.
1851 * gdb.base/max-depth.exp: Same.
1852 * gdb.compile/compile-cplus-array-decay.exp: Same.
1853 * gdb.cp/meth-typedefs.exp: Same.
1854 * gdb.cp/subtypes.exp: Same.
1855 * gdb.cp/temargs.exp: Same.
1857 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1859 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1861 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1864 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1865 * gdb.fortran/printing-types.exp: Add new test.
1866 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1868 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1871 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1873 * README (Running the Testsuite): Change example.
1874 (Testsuite Parameters): Remove TRANSCRIPT.
1875 * lib/gdb.exp: Remove TRANSCRIPT check.
1877 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1879 * README (Testsuite Parameters): Add replay logging to
1881 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1882 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1883 as a comma separated list.
1884 (gdb_debug_init): Override procedure.
1886 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1888 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1889 (gdb_write_cmd_file): New procedure.
1890 * lib/gdbserver-support.exp (gdbserver_start): Call
1891 gdbserver_write_cmd_file.
1892 (gdbserver_write_cmd_file): New procedure.
1894 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1896 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1897 (delete_breakpoints): Likewise.
1898 (gdb_run_cmd): Likewise.
1899 (gdb_start_cmd): Likewise.
1900 (gdb_starti_cmd): Likewise.
1901 (gdb_internal_error_resync): Likewise.
1902 (gdb_test_multiple): Likewise.
1903 (gdb_reinitialize_dir): Likewise.
1904 (default_gdb_exit): Likewise.
1905 (gdb_file_cmd): Mark kill as optional.
1906 (default_gdb_start): Call gdb_stdin_log_init.
1907 (send_gdb): Call gdb_stdin_log_write.
1908 (rerun_to_main): Mark Y as an answer.
1909 (gdb_stdin_log_init): New function.
1910 (gdb_stdin_log_write): Likewise.
1912 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1914 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1915 * gdb.base/debug-expr.exp: Likewise.
1916 * gdb.base/foll-fork.exp: Likewise.
1917 * gdb.base/foll-vfork.exp: Likewise.
1918 * gdb.base/fork-print-inferior-events.exp: Likewise.
1919 * gdb.base/gdb-sigterm.exp: Likewise.
1920 * gdb.base/gdbinit-history.exp: Likewise.
1921 * gdb.base/osabi.exp: Likewise.
1922 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1923 * gdb.base/ui-redirect.exp: Likewise.
1924 * gdb.gdb/unittest.exp: Likewise.
1925 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1926 * gdb.mi/mi-watch.exp: Likewise.
1927 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1928 * gdb.mi/user-selected-context-sync.exp: Likewise.
1929 * gdb.python/python.exp: Disable debug test when debugging.
1930 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1931 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1933 * gdb.threads/stepi-random-signal.exp: Likewise.
1935 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1937 * Makefile.in: Pass through GDB_DEBUG.
1938 * README (Testsuite Parameters): Add GDB_DEBUG.
1939 (gdb,debug): Add board setting.
1940 * lib/gdb.exp (default_gdb_start): Start debugging.
1941 (gdb_debug_enabled): New procedure.
1942 (gdb_debug_init): Likewise.
1944 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1946 * Makefile.in: Pass through GDB_DEBUG.
1947 * README (Testsuite Parameters): Add GDB_DEBUG.
1948 (gdb,debug): Add board setting.
1949 * lib/gdb.exp (default_gdb_start): Start debugging.
1950 (gdb_debug_enabled): New procedure.
1951 (gdb_debug_init): Likewise.
1953 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1955 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1957 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1959 * gdb.base/ui-redirect.exp: Test redirection.
1961 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1963 * gdb.mi/mi-complete.exp: New file.
1964 * gdb.mi/mi-complete.cc: Likewise.
1966 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1968 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1969 indexed and sliced arrays, and pointers to arrays.
1971 2019-05-14 Tom Tromey <tromey@adacore.com>
1973 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1976 2019-05-14 Tom de Vries <tdevries@suse.de>
1978 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1979 selection entry encoding.
1981 2019-05-10 Tom Tromey <tromey@adacore.com>
1983 * gdb.ada/info_exc.exp: Add "complete" test.
1985 2019-05-09 Tom de Vries <tdevries@suse.de>
1987 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1990 2019-05-09 Tom de Vries <tdevries@suse.de>
1992 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1995 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1997 * gdb.ada/frame_arg_lang.exp: New testcase.
1998 * gdb.ada/frame_arg_lang/bla.adb: New file.
1999 * gdb.ada/frame_arg_lang/pck.ads: New file.
2000 * gdb.ada/frame_arg_lang/pck.adb: New file.
2001 * gdb.ada/frame_arg_lang/foo.c: New file.
2003 2019-05-08 Tom Tromey <tromey@adacore.com>
2005 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2007 2019-05-08 Tom Tromey <tromey@adacore.com>
2009 * gdb.base/ptype-offsets.exp: Update tests.
2011 2019-05-08 Tom Tromey <tromey@adacore.com>
2013 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2015 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2018 2019-05-08 Tom Tromey <tromey@adacore.com>
2020 * gdb.ada/vla.exp: New file.
2021 * gdb.ada/vla/vla.adb: New file.
2023 2019-05-07 Tom de Vries <tdevries@suse.de>
2025 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2027 2019-05-07 Tom de Vries <tdevries@suse.de>
2030 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2033 2019-05-07 Tom de Vries <tdevries@suse.de>
2036 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2037 .debug_aranges section.
2039 2019-05-07 Tom de Vries <tdevries@suse.de>
2042 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2044 2019-05-06 Tom de Vries <tdevries@suse.de>
2046 * lib/gdb.exp (exec_has_index_section): New proc.
2047 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2050 2019-05-04 Tom de Vries <tdevries@suse.de>
2052 * boards/cc-with-debug-names.exp: New file.
2054 2019-05-03 Tom Tromey <tromey@adacore.com>
2056 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2057 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2058 * gdb.ada/char_enum.exp: Add test.
2060 2019-05-03 Tom de Vries <tdevries@suse.de>
2062 * boards/cc-with-gdb-index.exp: New file.
2064 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2066 * gdb.rust/simple.exp: Add new test case.
2067 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2068 (main): Initialise an instance of the new struct.
2070 2019-05-01 Tom Tromey <tromey@adacore.com>
2072 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2074 (NPR): New variable.
2075 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2078 2019-05-01 Tom Tromey <tromey@adacore.com>
2080 * gdb.ada/packed_array_assign.exp: Add packed assignment
2083 2019-05-01 Tom de Vries <tdevries@suse.de>
2085 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2087 2019-05-01 Tom de Vries <tdevries@suse.de>
2089 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2091 2019-04-30 Ali Tamur <tamur@google.com>
2093 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2095 2019-04-30 Tom Tromey <tromey@adacore.com>
2097 * lib/ada.exp (find_ada_tool): New proc.
2098 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2099 * gdb.ada/catch_ex_std.exp: New file.
2100 * gdb.ada/catch_ex_std/foo.adb: New file.
2101 * gdb.ada/catch_ex_std/some_package.adb: New file.
2102 * gdb.ada/catch_ex_std/some_package.ads: New file.
2104 2019-04-30 Tom Tromey <tromey@adacore.com>
2107 * gdb.cp/temargs.cc: Add test code from PR.
2109 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2111 * gdb.fortran/vla-datatypes.exp: Update expected results.
2112 * gdb.fortran/vla-ptype.exp: Likewise.
2113 * gdb.fortran/vla-type.exp: Likewise.
2114 * gdb.fortran/vla-value.exp: Likewise.
2116 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2118 * gdb.fortran/ptr-indentation.exp: Update expected results.
2119 * gdb.fortran/ptype-on-functions.exp: Likewise.
2120 * gdb.fortran/vla-ptr-info.exp: Likewise.
2121 * gdb.fortran/vla-value.exp: Likewise.
2123 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2125 * gdb.fortran/ptype-on-functions.exp: New file.
2126 * gdb.fortran/ptype-on-functions.f90: New file.
2128 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2130 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2133 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2135 * gdb.fortran/complex.exp: Expand.
2136 * gdb.fortran/complex.f: Renamed to...
2137 * gdb.fortran/complex.f90: ...this, and extended to add more
2140 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2142 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2145 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2146 Richard Bunt <richard.bunt@arm.com>
2148 * gdb.base/max-depth.c: New file.
2149 * gdb.base/max-depth.exp: New file.
2150 * gdb.python/py-nested-maps.c: New file.
2151 * gdb.python/py-nested-maps.exp: New file.
2152 * gdb.python/py-nested-maps.py: New file.
2153 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2154 (test_all_common): Call test_max_depth.
2155 * gdb.fortran/max-depth.exp: New file.
2156 * gdb.fortran/max-depth.f90: New file.
2157 * gdb.go/max-depth.exp: New file.
2158 * gdb.go/max-depth.go: New file.
2159 * gdb.modula2/max-depth.exp: New file.
2160 * gdb.modula2/max-depth.c: New file.
2161 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2163 2019-04-29 Tom de Vries <tdevries@suse.de>
2165 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2167 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2169 * gdb.base/callexit.exp: Test may-call-functions off.
2171 2019-04-25 Keith Seitz <keiths@redhat.com>
2174 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2175 (another_incomplete_struct, test_incomplete): New definitions.
2176 (main): Use new definitions.
2177 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2180 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2184 * gdb.base/coredump-filter-build-id.exp: New file.
2186 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2188 * Makefile.in: Pass through GDBSERVER_DEBUG.
2189 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2190 (gdbserver,debug): Add board setting.
2191 * gdb.trace/tspeed.exp: Skip when debugging.
2192 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2193 * lib/gdbserver-support.exp: Likewise
2195 2019-04-24 Tom Tromey <tromey@adacore.com>
2197 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2200 2019-04-24 Tom Tromey <tromey@adacore.com>
2202 * gdb.arch/amd64-eval.exp: Test bitfield return.
2203 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2204 (class Foo) <return_bitfields>: New method.
2207 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2209 * gdb.cp/many-args.cc: New file.
2210 * gdb.cp/many-args.exp: New file.
2212 2019-04-23 Tom de Vries <tdevries@suse.de>
2215 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2217 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2219 * gdb.trace/backtrace.exp: Use nopie flag.
2220 * gdb.trace/circ.exp: Likewise.
2221 * gdb.trace/collection.exp: Likewise.
2222 * gdb.trace/ftrace.exp: Likewise.
2223 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2224 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2225 * gdb.trace/qtro.exp: Likewise.
2226 * gdb.trace/read-memory.exp: Likewise.
2227 * gdb.trace/report.exp: Likewise.
2228 * gdb.trace/tfile.exp: Likewise.
2229 * gdb.trace/tfind.exp: Likewise.
2230 * gdb.trace/unavailable.exp: Likewise.
2232 2019-04-22 Pedro Alves <palves@redhat.com>
2234 * gdb.base/solib-probes-nosharedlibrary.c,
2235 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2237 2019-04-19 Tom Tromey <tromey@adacore.com>
2239 * gdb.ada/ptype_union.c: New file.
2240 * gdb.ada/ptype_union.exp: New file.
2242 2019-04-19 Tom Tromey <tromey@adacore.com>
2245 * gdb.base/list0.h (foo): Add a control-l character.
2247 2019-04-18 Tom de Vries <tdevries@suse.de>
2250 * boards/local-board.exp: Set sysroot to "".
2252 2019-04-18 Tom de Vries <tdevries@suse.de>
2253 Pedro Alves <palves@redhat.com>
2256 * gdb.threads/vfork-follow-child-exec.c: New file.
2257 * gdb.threads/vfork-follow-child-exec.exp: New file.
2258 * gdb.threads/vfork-follow-child-exit.c: New file.
2259 * gdb.threads/vfork-follow-child-exit.exp: New file.
2261 2019-04-15 Leszek Swirski <leszeks@google.com>
2263 * gdb.arch/amd64-eval.cc: New file.
2264 * gdb.arch/amd64-eval.exp: New file.
2266 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2268 * gdb.server/sysroot.c: New test.
2269 * gdb.server/sysroot.exp: New file.
2270 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2273 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2275 * gdb.base/align.exp: Extend test to cover structures containing
2278 2019-04-11 Tom de Vries <tdevries@suse.de>
2280 * boards/cc-with-dwz-m.exp: New file.
2281 * boards/cc-with-dwz.exp: New file.
2282 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2284 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2286 * gdb.base/start-cpp.exp: New file.
2287 * gdb.base/start-cpp.cc: New file.
2289 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2291 * gdb.python/py-thrhandle.exp: Adjust tests to call
2292 thread_from_handle instead of thread_from_thread_handle.
2294 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2296 * gdb.python/py-thrhandle.exp: Add tests for
2297 gdb.InferiorThread.handle.
2299 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2301 * gdb.python/py-function.exp: Check calling helper function from
2303 * lib/gdb.exp (gdb_supported_languages): New proc.
2305 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2307 * gdb.base/complex-parts.c: New file.
2308 * gdb.base/complex-parts.exp: New file.
2310 2019-04-01 Tom Tromey <tromey@adacore.com>
2313 * gdb.dwarf2/dw2-ranges-main.c: New file.
2314 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2315 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2317 2019-03-30 Simon Marchi <simark@simark.ca>
2319 * gdb.base/default.exp: Add values for $_gdb_major and
2322 2019-03-29 Tom Tromey <tromey@adacore.com>
2324 * gdb.base/help.exp: Tighten apropos regexp.
2326 2019-03-29 Keith Seitz <keiths@redhat.com>
2328 * gdb.fortran/array-bounds.exp: New file.
2329 * gdb.fortran/array-bounds.f90: New file.
2331 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2333 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2335 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2337 * gdb.multi/hello.c (main): Increase alarm timer.
2339 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2341 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2342 factor when no hardware watchpoint support.
2344 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2345 Pedro Alves <palves@redhat.com>
2347 * boards/local-board.exp: set sysroot to /.
2349 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2351 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2354 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2356 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2358 (make_container): Initialise new field.
2359 * gdb.python/py-prettyprint.exp: Add new tests.
2360 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2361 <display_hint>: New method.
2363 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2365 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2366 gdb_continue_to_breakpoint more throughout this test.
2367 (run_lang_tests) Supply unique test names, and use
2370 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2372 * gdb.base/finish-pretty.exp: Update expected results.
2373 * gdb.base/pretty-print.c: New file.
2374 * gdb.base/pretty-print.exp: New file.
2376 2019-03-25 Pedro Alves <palves@redhat.com>
2378 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2379 move comments outside list. Append '-i "" eof' section.
2381 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2384 * README: Add pie options.
2385 * gdb.base/break-interp.exp: Ensure pie is disabled.
2386 * gdb.base/dump.exp: Likewise.
2387 * lib/gdb.exp (gdb_compile): Add pie option.
2389 2019-03-19 Tom Tromey <tromey@adacore.com>
2391 * gdb.mi/mi2-cli-display.c: New file.
2392 * gdb.mi/mi2-cli-display.exp: New file.
2394 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2395 Tom Tromey <tromey@adacore.com>
2397 * gdb.ada/ptype_array/pck.adb: New file.
2398 * gdb.ada/ptype_array/pck.ads: New file.
2399 * gdb.ada/ptype_array/foo.adb: New file.
2400 * gdb.ada/ptype_array.exp: New file.
2402 2019-03-14 Tom Tromey <tromey@adacore.com>
2404 * gdb.base/style.exp: Add "set style sources" test.
2406 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2408 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2409 * mi-breakpoint-multiple-locations.exp: ... this.
2410 (make_breakpoints_pattern): New proc.
2411 (do_test): Add mi_version parameter, test -break-insert,
2412 -break-info and =breakpoint-created.
2414 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2416 * config/default.exp: Remove 'load_lib gdb.exp'.
2417 * config/monitor.exp: Likewise.
2418 * config/sid.exp: Likewise.
2419 * config/sim.exp: Likewise.
2420 * config/slite.exp: Likewise.
2421 * config/unix.exp: Likewise.
2422 * gdb.base/default.exp: Remove unhelpful comment.
2424 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2426 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2428 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2430 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2432 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2434 * gdb.fortran/type-kinds.exp: Update expected results.
2436 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2438 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2440 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2442 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2444 (test_basic_parsing_of_type_kinds): Expand types tested.
2445 (test_parsing_invalid_type_kinds): New function.
2447 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2449 * gdb.fortran/intrinsics.exp: New file.
2450 * gdb.fortran/intrinsics.f90: New file.
2451 * gdb.fortran/type-kinds.exp: New file.
2453 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2455 * gdb.fortran/dot-ops.exp: New file.
2457 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2459 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2460 Check upper and lower case logical literals.
2462 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2464 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2465 Remove duplicate tests.
2467 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2469 * lib/gdb.exp (builtin_cd): rename of cd.
2470 (cd): Override builtin.
2472 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2474 * gdb.fortran/function-calls.exp: New file.
2475 * gdb.fortran/function-calls.f90: New test.
2477 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2479 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2480 on user program standard output.
2481 * gdb.fortran/short-circuit-argument-list.f90: Record function
2484 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2486 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2489 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2492 * gdb.base/interrupt-daemon-attach.c,
2493 gdb.base/interrupt-daemon-attach.exp: New test.
2495 2019-02-27 Pedro Alves <palves@redhat.com>
2497 * gdb.base/page.exp: Add tests for "set width/height -1".
2499 2019-02-27 Pedro Alves <palves@redhat.com>
2501 * gdb.base/page.exp: Add tests for "set/show width/height" with
2504 2019-02-27 Tom Tromey <tromey@adacore.com>
2506 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2508 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2511 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2513 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2514 tests for structs with static members.
2516 2019-02-26 Tom Tromey <tromey@adacore.com>
2518 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2519 ValueError, not TypeError.
2521 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2523 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2524 call from main program.
2526 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2528 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2529 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2530 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2531 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2532 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2534 2019-02-22 Keith Seitz <keiths@redhat.com>
2537 * gdb.base/symlink-sourcefile.c: New file.
2538 * gdb.base/symlink-sourcefile.exp: New file.
2540 2019-02-20 Tom Tromey <tom@tromey.com>
2542 * gdb.base/info_qt.exp: Update.
2544 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2546 * gdb.base/source.exp: Move "error in sourced script" code to
2548 * gdb.base/source-error.gdb: Move contents to
2549 source-error-1.gdb. Add new code to source source-error-1.gdb.
2550 * gdb.base/source-error-1.gdb: New file, from previous
2553 2019-02-17 Tom Tromey <tom@tromey.com>
2555 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2557 * gdb.base/style.c (SOME_MACRO): New macro.
2559 2019-02-17 Tom Tromey <tom@tromey.com>
2561 * gdb.base/style.exp: Add line-wrapping tests.
2562 * gdb.base/page.exp: Add test for quitting during pagination.
2564 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2566 * gdb.ada/big_packed_array: New testcase.
2567 * gdb.ada/homonym.exp: Fix incorrect expected output for
2568 "break <homonym__get_value>" test.
2570 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2572 PR breakpoints/21870
2573 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2574 and prepare_for_testing. Add comment.
2575 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2576 redundant cleanup call. Clean up comment.
2578 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2580 PR breakpoints/21870
2581 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2582 * gdb.arch/aarch64-dbreg-contents.c: New file.
2584 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2586 * gdb.ada/mi_ref_changeable: New testcase.
2588 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2590 * gdb.base/attach.exp: Add double attach test.
2592 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2594 * lib/gdb.exp (default_gdb_start): Don't match pagination
2596 (gdb_init): Set stty_init.
2598 2019-01-27 Tom Tromey <tom@tromey.com>
2600 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2603 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2605 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2607 (struct struct_static_02_02): Likewise.
2608 (struct struct_static_02_03): Likewise.
2609 (struct struct_static_02_04): Likewise.
2610 (struct struct_static_04_01): Likewise.
2611 (struct struct_static_04_02): Likewise.
2612 (struct struct_static_04_03): Likewise.
2613 (struct struct_static_04_04): Likewise.
2614 (struct struct_static_06_01): Likewise.
2615 (struct struct_static_06_02): Likewise.
2616 (struct struct_static_06_03): Likewise.
2617 (struct struct_static_06_04): Likewise.
2618 (cmp_struct_static_02_01): Likewise.
2619 (cmp_struct_static_02_02): Likewise.
2620 (cmp_struct_static_02_03): Likewise.
2621 (cmp_struct_static_02_04): Likewise.
2622 (cmp_struct_static_04_01): Likewise.
2623 (cmp_struct_static_04_02): Likewise.
2624 (cmp_struct_static_04_03): Likewise.
2625 (cmp_struct_static_04_04): Likewise.
2626 (cmp_struct_static_06_01): Likewise.
2627 (cmp_struct_static_06_02): Likewise.
2628 (cmp_struct_static_06_03): Likewise.
2629 (cmp_struct_static_06_04): Likewise.
2630 (call_all): Test new structs.
2631 * gdb.base/infcall-nested-structs.exp: Likewise.
2633 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2634 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2636 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2637 * gdb.base/stack-protector.c: New test.
2638 * gdb.base/stack-protector.exp: New file.
2639 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2640 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2642 (gdb_compile): Remove stack protector for GCC and prevent
2645 2019-01-16 Keith Seitz <keiths@redhat.com>
2648 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2650 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2652 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2654 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2656 * gdb.arch/powerpc-vector-regs.c: New file.
2657 * gdb.arch/powerpc-vector-regs.exp: New file.
2659 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2661 * gdb.arch/altivec-regs.exp: Fix the list passed to
2662 gdb_expect_list when testing "info vector".
2664 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2666 * gdb.base/style.exp: Don't include path in testname.
2668 2019-01-10 Keith Seitz <keiths@redhat.com>
2672 * gdb.dwarf2/multidictionary.exp: New file.
2674 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2676 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2677 (test_gnuv3_style_demangling): ... this.
2678 (test_lucid_style_demangling): Remove.
2679 (test_arm_style_demangling): Remove.
2680 (test_hp_style_demangling): Remove.
2681 (do_tests): Remove calls to the above.
2683 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2685 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2688 2019-01-06 Tom Tromey <tom@tromey.com>
2691 * gdb.dwarf2/typedef-void-finish.exp: New file.
2693 2018-12-28 Tom Tromey <tom@tromey.com>
2694 Simon Marchi <simark@simark.ca>
2696 * gdb.base/jit-exec.exp: New file.
2697 * gdb.base/jit-exec.c: New file.
2698 * gdb.base/jit-execd.c: New file.
2700 2018-12-28 Tom Tromey <tom@tromey.com>
2702 * gdb.base/style.exp: Update test to check for address styling.
2704 2018-12-28 Tom Tromey <tom@tromey.com>
2706 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2709 2018-12-28 Tom Tromey <tom@tromey.com>
2711 * gdb.base/style.exp: Add test for version number styling.
2713 2018-12-28 Tom Tromey <tom@tromey.com>
2715 * gdb.base/style.exp: Add test for print_address_symbolic.
2717 2018-12-28 Tom Tromey <tom@tromey.com>
2719 * gdb.base/style.exp: Add test for breakpoint setting.
2721 2018-12-28 Tom Tromey <tom@tromey.com>
2723 * gdb.base/style.exp: Add test for variable names.
2725 2018-12-28 Tom Tromey <tom@tromey.com>
2727 * gdb.base/style.exp: New file.
2728 * gdb.base/style.c: New file.
2730 2018-12-28 Tom Tromey <tom@tromey.com>
2732 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2734 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2735 the TERM environment variable.
2737 2018-12-27 Tom Tromey <tom@tromey.com>
2739 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2742 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2744 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2745 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2747 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2749 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2750 Filename a.adb changed to bp_fun_addr.adb.
2751 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2753 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2755 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2756 non-PIE executables.
2757 * README: Mention the gdb,nopie_flag board setting.
2758 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2760 * gdb.arch/amd64-entry-value.exp: Likewise.
2761 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2762 * gdb.arch/i386-float.exp: Likewise.
2763 * gdb.arch/i386-signal.exp: Likewise.
2764 * gdb.mi/mi-reg-undefined.exp: Likewise.
2766 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2769 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2771 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2773 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2774 Update order of results accordingly.
2776 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2778 * gdb.base/annota1.exp: Update a test regexp.
2780 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2782 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2784 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2786 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2787 (reuse_time): Initialize to REUSE_TIME_CAP.
2788 (check_rc): New function.
2789 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2790 Check pthread_create rc.
2791 (spawner_thread_func): Check pthread_create and pthread_join rc.
2793 2018-12-08 Pedro Alves <palves@redhat.com>
2795 * gdb.base/list.exp (test_forward_search): Rename to ...
2796 (test_forward_reverse_search): ... this. Also test reverse-search
2797 and the forward-search alias.
2799 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2801 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2802 local timeout variable before return, and remove all local timeout
2804 (gdb_load): Likewise.
2806 2018-12-01 Tom de Vries <tdevries@suse.de>
2808 * gdb.base/gdb-caching-proc.exp: New file.
2810 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2812 * Makefile.in (TIMESTAMP): New variable.
2813 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2815 (check-single-racy): Likewise.
2816 (check/%.exp): Likewise.
2817 (check-racy/%.exp): Likewise.
2818 (workers/%.worker): Likewise.
2819 (build-perf): Likewise.
2820 (check-perf): Likewise.
2821 * README: Describe new "TS" and "TS_FORMAT" variables.
2822 * print-ts.py: New file.
2824 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2827 * gdb.python/python.exp: Test command repetition after
2830 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2832 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2833 is correctly aligned.
2835 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2837 * gdb.ada/info_auto_lang.exp: New testcase.
2838 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2839 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2840 * gdb.ada/info_auto_lang/some_c.c: New file.
2842 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2844 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2845 FUNC_lang language syntax.
2847 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2849 * gdb.base/info_minsym.c: New file.
2850 * gdb.base/info_minsym.exp: New file.
2852 2018-11-19 Tom Tromey <tom@tromey.com>
2855 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2856 * gdb.rust/expr.exp: Update expected output. Change one test.
2858 2018-11-19 Tom Tromey <tom@tromey.com>
2860 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2862 2018-11-19 Pedro Alves <palves@redhat.com>
2864 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2865 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2866 see the expected warning.
2868 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2871 * gdb.cp/infcall-nodebug-lib.c: New test.
2872 * gdb.cp/infcall-nodebug-main.c: New test.
2873 * gdb.cp/infcall-nodebug.exp: New file.
2875 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2877 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2880 2018-11-09 Tom de Vries <tdevries@suse.de>
2882 * gdb.base/msym-lang.c: New test.
2883 * gdb.base/msym-lang.exp: New file.
2884 * gdb.base/msym-lang-main.c: New test.
2886 2018-11-08 Tom Tromey <tom@tromey.com>
2890 * gdb.base/warning.exp: New file.
2892 2018-11-08 Jan Beulich <jbeulich@suse.com>
2894 * testsuite/gdb.arch/i386-avx512.c,
2895 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2897 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2899 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2902 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2904 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2905 * gdb.dwarf2/missing-type-name.exp: New file.
2907 2018-11-06 Tom de Vries <tdevries@suse.de>
2909 * gdb.base/many-headers.c: New test.
2910 * gdb.base/many-headers.exp: New file.
2912 2018-11-06 Jim Wilson <jimw@sifive.com>
2914 * gdb.base/code_elim.exp: For riscv, set additional_flags
2915 to include -msmall-data-limit=0.
2917 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2919 * gdb.ada/watch_minus_l: New testcase.
2921 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2923 * gdb.arch/aix-sighandle.c: New file.
2924 * gdb.arch/aix-sighandle.exp: New file.
2926 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2928 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2929 registers being unions.
2931 2018-10-31 Tom de Vries <tdevries@suse.de>
2933 * lib/valgrind.exp: New file.
2934 (vgdb_start, vgdb_stop): New procs, factored out of ...
2935 * gdb.base/valgrind-bt.exp: ... here, ...
2936 * gdb.base/valgrind-disp-step.exp: ... here and ...
2937 * gdb.base/valgrind-infcall.exp: ... here.
2939 2018-10-31 Tom de Vries <tdevries@suse.de>
2941 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2943 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2945 * gdb.dwarf2/void-type.c: New file.
2946 * gdb.dwarf2/void-type.exp: New file.
2948 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2950 * gdb.base/info_qt.c: New file.
2951 * gdb.base/info_qt.exp: New file.
2953 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2955 * gdb.arch/powerpc-htm-regs.c: New file.
2956 * gdb.arch/powerpc-htm-regs.exp: New file.
2958 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2960 * gdb.arch/powerpc-tar.c: New file.
2961 * gdb.arch/powerpc-tar.exp: New file.
2963 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2965 * gdb.arch/powerpc-ppr-dscr.c: New file.
2966 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2968 2018-10-25 Tom de Vries <tdevries@suse.de>
2970 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2972 2018-10-24 Tom de Vries <tdevries@suse.de>
2974 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2975 longer exists error.
2977 2018-10-24 Tom de Vries <tdevries@suse.de>
2979 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2981 2018-10-24 Tom de Vries <tdevries@suse.de>
2983 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2984 --db-attach in valgrind.
2986 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2988 * gdb.arch/riscv-reg-aliases.c: New file.
2989 * gdb.arch/riscv-reg-aliases.exp: New file.
2991 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2993 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2995 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2997 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2999 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3001 * gdb.cp/ovldbreak.exp: Fix regexps.
3003 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3005 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3007 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3010 * gdb.base/restore.exp: New test to check if "restore" with an
3011 invalid file doesn't segfault.
3013 2018-10-18 Tom de Vries <tdevries@suse.de>
3015 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3016 * gdb.ada/excep_handle.exp: Same.
3017 * gdb.ada/mi_string_access.exp: Same.
3018 * gdb.ada/mi_var_union.exp: Same.
3019 * gdb.arch/arc-analyze-prologue.exp: Same.
3020 * gdb.arch/arc-decode-insn.exp: Same.
3021 * gdb.base/readnever.exp: Same.
3022 * gdb.fortran/printing-types.exp: Same.
3023 * gdb.guile/scm-lazy-string.exp: Same.
3025 2018-10-16 Tom de Vries <tdevries@suse.de>
3028 * gdb.base/catch-follow-exec.c: Add copyright notice.
3029 * gdb.base/catch-follow-exec.exp: Rewrite to use
3030 gdb_spawn_with_cmdline_opts. Require gdb-native.
3032 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3034 * gdb.trace/actions-changed.exp: Check for arch support.
3035 * gdb.trace/actions.exp: Likewise.
3036 * gdb.trace/ax.exp: Likewise.
3037 * gdb.trace/backtrace.exp: Likewise.
3038 * gdb.trace/change-loc.exp: Likewise.
3039 * gdb.trace/deltrace.exp: Likewise.
3040 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3041 * gdb.trace/ftrace.exp: Likewise.
3042 * gdb.trace/infotrace.exp: Check for arch support.
3043 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3044 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3045 * gdb.trace/mi-tsv-changed.exp: Likewise.
3046 * gdb.trace/packetlen.exp: Likewise.
3047 * gdb.trace/passc-dyn.exp: Likewise.
3048 * gdb.trace/passcount.exp: Likewise.
3049 * gdb.trace/pending.exp: Likewise.
3050 * gdb.trace/range-stepping.exp: Check for shlib support.
3051 * gdb.trace/report.exp: Check for arch support.
3052 * gdb.trace/save-trace.exp: Likewise.
3053 * gdb.trace/signal.exp: Check for signal support.
3054 * gdb.trace/tfind.exp: Check for arch support.
3055 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3056 * gdb.trace/trace-common.h: Add comment.
3057 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3058 * gdb.trace/trace-enable-disable.exp: Likewise.
3059 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3060 * gdb.trace/tracecmd.exp: Check for arch support.
3061 * gdb.trace/tspeed.exp: Check for shlib and target support.
3062 * gdb.trace/tstatus.exp: Check for arch support.
3063 * gdb.trace/tsv.exp: Likewise.
3064 * gdb.trace/while-dyn.exp: Likewise.
3065 * gdb.trace/while-stepping.exp: Likewise.
3066 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3068 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3070 * gdb.trace/tspeed.exp: Remove nowarnings.
3071 (prepare_for_trace_test): Declare "global ipalib".
3072 * gdb.trace/tspeed.c: Include unistd.h.
3073 (main): Remove superfluous printf argument.
3075 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3077 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3078 directory prefix on the filename.
3080 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3082 * gdb.gdb/unittest.exp: Update expected message informing that
3083 selftests have been disabled.
3084 * gdb.server/unittest.exp: Likewise.
3086 2018-10-09 Tom de Vries <tdevries@suse.de>
3088 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3091 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3094 * gdb.cp/virtbase2.cc: New file.
3095 * gdb.cp/virtbase2.exp: New file.
3097 2018-10-06 Tom Tromey <tom@tromey.com>
3100 * gdb.python/py-inferior.exp: Add architecture test.
3102 2018-10-06 Tom Tromey <tom@tromey.com>
3104 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3105 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3107 2018-10-06 Tom Tromey <tom@tromey.com>
3109 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3110 of a "throw" catchpoint.
3112 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3114 * gdb.base/info-proc.exp: Update string expected from "help info
3117 2018-10-04 Tom Tromey <tom@tromey.com>
3119 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3120 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3121 (test_initial_complaints, test_empty_complaints): Update.
3122 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3124 2018-10-04 Tom Tromey <tom@tromey.com>
3127 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3128 * lib/gdb.exp (gdb_file_cmd): Update.
3129 * gdb.stabs/weird.exp (print_weird_var): Update.
3130 * gdb.server/solib-list.exp: Update.
3131 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3132 * gdb.mi/mi-cli.exp: Update.
3133 * gdb.linespec/linespec.exp: Update.
3134 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3135 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3136 * gdb.cp/cp-relocate.exp: Update.
3137 * gdb.base/sym-file.exp: Update.
3138 * gdb.base/relocate.exp: Update.
3139 * gdb.base/readnever.exp: Update.
3140 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3141 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3142 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3143 * gdb.base/code_elim.exp: Update.
3144 * gdb.base/break-unload-file.exp (test_break): Update.
3145 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3146 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3148 * gdb.base/attach.exp (do_attach_tests): Update.
3149 * gdb.base/sepdebug.exp: Update.
3150 * gdb.python/py-section-script.exp: Update.
3152 2018-10-04 Tom Tromey <tom@tromey.com>
3155 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3156 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3159 2018-10-04 Tom Tromey <tom@tromey.com>
3161 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3162 set width and height to 0.
3163 (test_command_line_attach_run): Use -quiet.
3165 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3167 * lib/gdb.exp (skip_ifunc_tests): New.
3168 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3169 other compile failures.
3170 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3172 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3174 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3175 is_amd64_regs_target.
3177 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3179 * gdb.arch/aarch64-sighandler-regs.c: New test.
3180 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3181 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3183 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3185 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3188 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3190 * gdb.base/frame-selection.exp: New file.
3191 * gdb.base/frame-selection.c: New file.
3193 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3195 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3199 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3201 * gdb.base/large-frame-1.c: New file.
3202 * gdb.base/large-frame-2.c: New file.
3203 * gdb.base/large-frame.exp: New file.
3204 * gdb.base/large-frame.h: New file.
3206 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3209 * gdb.base/write_mem.exp: New test.
3210 * gdb.base/write_mem.c: Likewise.
3212 2018-09-23 Tom Tromey <tom@tromey.com>
3215 * gdb.python/py-parameter.exp: Add test for parameter that throws
3218 2018-09-23 Tom Tromey <tom@tromey.com>
3221 * gdb.python/py-template.exp (test_template_arg): Add test for
3222 negative template argument number.
3224 2018-09-23 Tom Tromey <tom@tromey.com>
3227 * gdb.python/python.exp: Add test for post_event error.
3229 2018-09-23 Tom Tromey <tom@tromey.com>
3232 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3233 convert pointers to int and long.
3235 2018-09-23 Tom Tromey <tom@tromey.com>
3238 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3239 signed-ness conversion tests.
3241 2018-09-23 Tom Tromey <tom@tromey.com>
3244 * gdb.python/py-value.exp (test_float_conversion): New proc.
3247 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3249 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3251 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3253 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3255 * gdb.base/utf8-identifiers.exp: Likewise.
3256 * gdb.cp/cpcompletion.exp: Likewise.
3257 * gdb.linespec/cpcompletion.exp: Likewise.
3258 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3259 * gdb.linespec/cpls-ops.exp: Likewise.
3261 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3262 Chris January <chris.january@arm.com>
3264 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3265 * gdb.fortran/short-circuit-argument-list.exp: New file.
3266 * gdb.fortran/short-circuit-argument-list.f90: New test.
3268 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3270 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3271 "arch=" keyword when executing "-stack-list-frames".
3273 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3275 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3276 "arch=" keyword when executing "-stack-list-frames".
3278 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3280 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3283 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3286 * gdb.python/python.exp: Test gdb.execute("show commands").
3288 2018-09-16 Tom Tromey <tom@tromey.com>
3290 * gdb.base/new-ui.exp (do_execution_tests): Update.
3291 * gdb.base/dbx.exp (test_breakpoints): Update.
3293 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3295 * lib/gdb.exp (gdb_simple_compile): Add proc.
3296 (is_elf_target): Use gdb_simple_compile.
3297 (skip_altivec_tests): Likewise.
3298 (skip_vsx_tests): Likewise.
3299 (skip_tsx_tests): Likewise.
3300 (skip_btrace_tests): Likewise.
3301 (skip_btrace_pt_tests): Likewise.
3302 (gdb_can_simple_compile): Likewise.
3303 (gdb_has_argv0): Likewise.
3304 (gdb_target_symbol_prefix): Likewise.
3305 (target_supports_scheduler_locking): Likewise.
3307 2018-09-13 Tom Tromey <tom@tromey.com>
3309 * Makefile.in (TAGS): Recognize proc_with_prefix and
3312 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3314 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3317 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3319 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3320 and a few other Inferior properties when the Inferior is no
3323 2018-09-13 Tom Tromey <tom@tromey.com>
3326 * gdb.rust/simple.exp: Add test for enum field access error.
3328 2018-09-13 Tom Tromey <tom@tromey.com>
3331 * gdb.rust/simple.rs (EmptyEnum): New type.
3333 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3335 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3337 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3338 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3339 * gdb.python/py-symtab.exp: Update test printing an objfile.
3341 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3343 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3346 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3348 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3349 (support_complex_tests): Use gdb_can_simple_compile.
3350 (is_ilp32_target): Likewise.
3351 (is_lp64_target): Likewise.
3352 (is_64_target): Likewise.
3353 (is_amd64_regs_target): Likewise.
3354 (is_aarch32_target): Likewise.
3355 (gdb_int128_helper): Likewise.
3357 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3359 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3361 2018-09-10 Jerome Guitton <guitton@adacore.com>
3363 * gdb.ada/same_component_name: Add test for case of tagged record
3364 with variable-length fields.
3366 2018-09-10 Xavier Roirand <roirand@adacore.com>
3368 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3369 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3370 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3371 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3373 2018-09-10 Xavier Roirand <roirand@adacore.com>
3375 * gdb.ada/mi_string_access.exp: New testcase.
3376 * gdb.ada/mi_string_access/bar.adb: New file.
3377 * gdb.ada/mi_string_access/pck.adb: New file.
3378 * gdb.ada/mi_string_access/pck.asd: New file.
3380 2018-09-10 Xavier Roirand <roirand@adacore.com>
3382 * gdb.ada/mi_var_union.exp: New testcase.
3383 * gdb.ada/mi_var_union/bar.adb: New file.
3384 * gdb.ada/mi_var_union/pck.adb: New file.
3385 * gdb.ada/mi_var_union/pck.asd: New file.
3387 2018-09-08 Tom Tromey <tom@tromey.com>
3389 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3391 2018-09-08 Tom Tromey <tom@tromey.com>
3394 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3395 (register_pretty_printers): Register new printer.
3396 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3398 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3399 (an_int_type3): New global.
3401 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3403 * gdb.ada/expr_with_funcall: New testcase.
3405 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3407 * gdb.ada/packed_array_assign: New testcase.
3409 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3411 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3412 names, and add test prefixes to make test names unique.
3414 2018-09-05 Tom de Vries <tdevries@suse.de>
3416 * gdb.dwarf2/varval.exp: Add test.
3418 2018-09-04 Gary Benson <gbenson@redhat.com>
3420 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3421 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3423 2018-08-31 Tom Tromey <tom@tromey.com>
3425 * gdb.rust/simple.rs: Rename second variable "v".
3427 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3429 * gdb.base/funcargs.c (use_a): New function.
3430 (recurse): Call use_a.
3432 2018-08-29 Keith Seitz <keiths@redhat.com>
3434 * gdb.compile/compile-cplus-anonymous.cc: New file.
3435 * gdb.compile/compile-cplus-anonymous.exp: New file.
3436 * gdb.compile/compile-cplus-array-decay.cc: New file.
3437 * gdb.compile/compile-cplus-array-decay.exp: New file.
3438 * gdb.compile/compile-cplus-inherit.cc: New file.
3439 * gdb.compile/compile-cplus-inherit.exp: New file.
3440 * gdb.compile/compile-cplus-member.cc: New file.
3441 * gdb.compile/compile-cplus-member.exp: New file.
3442 * gdb.compile/compile-cplus-method.cc: New file.
3443 * gdb.compile/compile-cplus-method.exp: New file.
3444 * gdb.compile/compile-cplus-mod.c: "New" file.
3445 * gdb.compile/compile-cplus-namespace.cc: New file.
3446 * gdb.compile/compile-cplus-namespace.exp: New file.
3447 * gdb.compile/compile-cplus-nested.cc: New file.
3448 * gdb.compile/compile-cplus-nested.exp: New file.
3449 * gdb.compile/compile-cplus-print.c: "New" file.
3450 * gdb.compile/compile-cplus-print.exp: "New" file.
3451 * gdb.compile/compile-cplus-virtual.cc: New file.
3452 * gdb.compile/compile-cplus-virtual.exp: New file.
3453 * gdb.compile/compile-cplus.c: "New" file.
3454 * gdb.compile/compile-cplus.exp: "New" file.
3455 * lib/compile-support.exp: New file.
3457 2018-08-16 Gary Benson <gbenson@redhat.com>
3460 * gdb.base/batch-exit-status.exp: New file.
3461 * gdb.base/batch-exit-status.good-commands: Likewise.
3462 * gdb.base/batch-exit-status.bad-commands: Likewise.
3464 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3466 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3467 (struct struct02): Likewise.
3468 (struct struct03): Likewise.
3469 (struct struct04): Likewise.
3470 (struct struct_01_01): New struct.
3471 (struct struct_01_02): Likewise.
3472 (struct struct_01_03): Likewise.
3473 (struct struct_01_04): Likewise.
3474 (struct struct_02_01): Likewise.
3475 (struct struct_02_02): Likewise.
3476 (struct struct_02_03): Likewise.
3477 (struct struct_02_04): Likewise.
3478 (struct struct_04_01): Likewise.
3479 (struct struct_04_02): Likewise.
3480 (struct struct_04_03): Likewise.
3481 (struct struct_04_04): Likewise.
3482 (struct struct_05_01): Likewise.
3483 (struct struct_05_02): Likewise.
3484 (struct struct_05_03): Likewise.
3485 (struct struct_05_04): Likewise.
3486 (cmp_struct01): Remove function.
3487 (cmp_struct02): Likewise.
3488 (cmp_struct03): Likewise.
3489 (cmp_struct04): Likewise.
3490 (cmp_struct_01_01): Add Function.
3491 (cmp_struct_01_02): Likewise.
3492 (cmp_struct_01_03): Likewise.
3493 (cmp_struct_01_04): Likewise.
3494 (cmp_struct_02_01): Likewise.
3495 (cmp_struct_02_02): Likewise.
3496 (cmp_struct_02_03): Likewise.
3497 (cmp_struct_02_04): Likewise.
3498 (cmp_struct_04_01): Likewise.
3499 (cmp_struct_04_02): Likewise.
3500 (cmp_struct_04_03): Likewise.
3501 (cmp_struct_04_04): Likewise.
3502 (cmp_struct_05_01): Likewise.
3503 (cmp_struct_05_02): Likewise.
3504 (cmp_struct_05_03): Likewise.
3505 (cmp_struct_05_04): Likewise.
3506 (call_all): Add new structs.
3507 * gdb.base/infcall-nested-structs.exp: Likewise.
3509 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3511 * gdb.python/py-framefilter-mi.exp: Update regexp to
3512 check for "arch" field in frame output.
3514 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3516 * gdb.dwarf2/dw2-ranges-func.c: New file.
3517 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3519 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3521 * gdb.base/term.exp: Compare terminal settings with values from
3523 * gdb.base/term.c: Get and set terminal settings.
3525 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3527 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3528 accommodate new "arch" field in frame output.
3529 * gdb.mi/mi-return.exp: Likewise.
3530 * gdb.mi/mi-stack.exp: Likewise.
3531 * gdb.mi/mi-syn-frame.exp: Likewise.
3532 * gdb.mi/user-selected-context-sync.exp: Likewise.
3534 2018-08-19 Michael Spang <spang@google.com>
3537 * gdb.base/gcore-tls-pie.c: New file.
3538 * gdb.base/gcore-tls-pie.exp: New file.
3540 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3542 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3543 * gdb.dwarf2/varval.c: New file.
3544 * gdb.dwarf2/varval.exp: New file.
3546 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3549 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3551 2018-08-16 Keith Seitz <keiths@redhat.com>
3553 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3554 tests expected to pass.
3556 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3558 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3559 -data-disassemble -a.
3560 (test_disassembly_bogus_args): Likewise.
3562 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3564 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3566 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3568 * gdb.base/vla-optimized-out.exp: Add new test.
3570 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3572 * gdb.base/vla-optimized-out-o3.exp: Delete.
3573 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3574 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3577 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3580 * gdb.server/extended-remote-restart.c: New file.
3581 * gdb.server/extended-remote-restart.exp: New file.
3583 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3585 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3586 "set variable index = 42".
3588 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3590 * boards/index-cache-gdb.exp: New file.
3591 * gdb.dwarf2/index-cache.exp: New file.
3592 * gdb.dwarf2/index-cache.c: New file.
3593 * gdb.base/maint.exp: Check if we are using the index cache.
3595 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3597 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3600 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3602 * dg-extract-results.sh: Move to toplevel contrib.
3603 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3604 * Makefile.in (check-parallel-racy): Likewise.
3606 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3608 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3609 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3610 tests if the target supports scheduler locking.
3612 2018-08-04 Tom de Vries <tdevries@suse.de>
3614 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3616 2018-08-02 Tom Tromey <tom@tromey.com>
3619 * gdb.cp/temargs.exp: Test "info address" of a template
3622 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3624 * gdb.python/py-mi-var-info-path-expression.c: New file.
3625 * gdb.python/py-mi-var-info-path-expression.py: New file.
3626 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3628 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3630 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3631 error after "cannot resolve name" string.
3633 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3635 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3637 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3639 2018-07-28 Tom de Vries <tdevries@suse.de>
3641 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3643 2018-07-26 Tom de Vries <tdevries@suse.de>
3645 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3647 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3649 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3652 2018-07-26 Tom de Vries <tdevries@suse.de>
3654 PR breakpoints/23366
3655 * gdb.base/catch-follow-exec.c: New test.
3656 * gdb.base/catch-follow-exec.exp: New file.
3658 2018-07-25 Tom de Vries <tdevries@suse.de>
3660 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3661 vla-optimized-out.c.
3663 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3665 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3666 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3668 2018-07-20 Tom de Vries <tdevries@suse.de>
3670 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3672 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3674 2018-07-19 Tom de Vries <tdevries@suse.de>
3676 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3679 2018-07-18 Tom de Vries <tdevries@suse.de>
3681 * gdb.base/vla-optimized-out.c: New test.
3682 * gdb.base/vla-optimized-out.exp: New file.
3684 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3686 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3687 message "No address associated with hostname" when gdbserver
3688 cannot resolve the hostname.
3690 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3692 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3693 Add some test prefixes to make tests unique.
3695 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3697 * gdb.base/frameapply.c: New file.
3698 * gdb.base/frameapply.exp: New file.
3700 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3702 * gdb.base/skip.exp: Update expected error message.
3704 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3705 Jan Kratochvil <jan.kratochvil@redhat.com>
3706 Paul Fertser <fercerpav@gmail.com>
3707 Tsutomu Seki <sekiriki@gmail.com>
3709 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3711 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3713 * boards/native-gdbserver.exp: Likewise.
3714 * gdb.server/run-without-local-binary.exp: Improve regexp used
3715 for detecting when a remote debugging connection succeeds.
3716 * gdb.server/server-connect.exp: New file.
3717 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3718 Do not prefix the port number with ":".
3719 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3720 support for detecting and using it. Add '$debughost_gdbserver'
3721 to the list of arguments used to start gdbserver. Handle case
3722 when gdbserver cannot resolve a network name.
3724 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3727 * gdb.base/ptype-offsets.cc (struct static_member): New
3729 (main) <stmember>: New variable.
3730 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3731 with a static member in it.
3733 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3735 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3736 watchpoints enabled and disabled.
3738 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3740 * gdb.base/examine-backward.exp: Still run tests around address
3741 0x0, even if address 0x0 is not readable. Update the pattern for
3742 matching address 0x0 in expected output.
3744 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3746 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3749 2018-07-04 Tom de Vries <tdevries@suse.de>
3751 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3753 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3756 * gdb.arch/mips-disassembler-options.exp: New test.
3757 * gdb.arch/mips-disassembler-options.s: New test source.
3759 2018-06-29 Pedro Alves <palves@redhat.com>
3761 * gdb.threads/names.exp: Adjust expected "info threads" output.
3763 2018-06-29 Pedro Alves <palves@redhat.com>
3765 * gdb.opt/inline-break.exp (line number, address): Add "info
3768 2018-06-29 Pedro Alves <palves@redhat.com>
3770 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3771 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3772 number and address and running to them.
3774 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3776 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3778 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3780 * lib/compiler.c: Remove executable permission flag.
3782 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3784 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3786 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3788 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3790 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3792 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3794 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3795 address argument is omitted.
3797 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3799 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3801 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3804 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3805 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3807 2018-06-26 Tom Tromey <tom@tromey.com>
3810 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3811 * gdb.rust/simple.rs (struct SimpleLayout): New.
3813 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3815 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3816 "info registers" output.
3818 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3820 * gdb.base/watchpoint-hw-attach.c: New test.
3821 * gdb.base/watchpoint-hw-attach.exp: New file.
3823 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3825 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3827 * boards/dwarf4-gdb-index.exp: Likewise.
3828 * boards/fission-dwp.exp: Likewise.
3830 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3832 * gdb.base/float128.exp: Add comment and improved fail message
3833 to the failure case of "print large128" test.
3835 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3837 * configure.ac: Remove AC_PREREQ.
3838 * configure: Re-generate.
3840 2018-06-19 Pedro Alves <palves@redhat.com>
3842 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3843 (func_extern_caller): New.
3844 (main): Call func_extern_caller.
3845 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3848 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3851 * gdb.cp/typedef-base.cc: New file.
3852 * gdb.cp/typedef-base.exp: New file.
3854 2018-06-18 Tom de Vries <tdevries@suse.de>
3856 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3858 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3859 Richard Bunt <Richard.Bunt@arm.com>
3861 * gdb.threads/attach-slow-waitpid.c: New file.
3862 * gdb.threads/attach-slow-waitpid.exp: New file.
3863 * gdb.threads/slow-waitpid.c: New file.
3865 2018-06-14 Pedro Alves <palves@redhat.com>
3867 * gdb.base/fork-running-state.c: Include <errno.h>.
3868 (exit_if_relative_exits): New.
3869 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3871 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3874 2018-06-14 Tom de Vries <tdevries@suse.de>
3877 * gdb.base/finish-pretty.c: New test.
3878 * gdb.base/finish-pretty.exp: New file.
3880 2018-06-14 Pedro Alves <palves@redhat.com>
3882 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3883 gdb's expected startup output.
3885 2018-06-14 Pedro Alves <palves@redhat.com>
3887 * lib/selftest-support.exp (selftest_setup): Remove inlined
3890 2018-06-14 Tom de Vries <tdevries@suse.de>
3892 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3893 matching of breakpoint printing.
3895 2018-06-13 Tom de Vries <tdevries@suse.de>
3898 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3899 (fork_child): ... here, and ...
3900 (fork_parent): ... here.
3902 2018-06-12 Tom de Vries <tdevries@suse.de>
3904 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3906 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3907 Stephen Roberts <stephen.roberts@arm.com>
3909 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3910 rewrite test to describe action performed, rather than possible
3913 2018-06-08 Gary Benson <gbenson@redhat.com>
3915 * gdb.threads/check-libthread-db.exp: New file.
3916 * gdb.threads/check-libthread-db.c: Likewise.
3918 2018-06-05 Tom Tromey <tom@tromey.com>
3920 * gdb.base/default.exp: Update expected "show version" output.
3922 2018-06-05 Tom Tromey <tom@tromey.com>
3925 * gdb.cp/static-print-quit.exp: Update.
3926 * lib/gdb.exp (pagination_prompt): Update.
3927 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3928 * gdb.python/python.exp: Update.
3930 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3932 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3934 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3936 * gdb.ada/bp_fun_addr: New testcase.
3938 2018-06-01 Tom Tromey <tom@tromey.com>
3940 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3942 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3943 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3944 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3945 * gdb.base/maint.exp (maint_pass_if): Update.
3947 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3949 * gdb.base/endian.exp: New test.
3950 * gdb.base/endian.c: New test source.
3952 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3955 * gdb.base/bt-selected-frame.c: New file.
3956 * gdb.base/bt-selected-frame.exp: New file.
3957 * lib/gdb.exp (get_current_frame_number): New function.
3959 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3960 Pedro Alves <palves@redhat.com>
3962 * gdb.threads/tls-core.c: Include <stdlib.h>
3963 (thread_proc): Call `abort'.
3964 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3965 (tls_core_test): New procedure, bits factored out from ...
3966 (top level): ... here. Test both native cores and gcore cores.
3968 2018-05-23 Tom Tromey <tom@tromey.com>
3970 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3972 2018-05-23 Tom Tromey <tom@tromey.com>
3974 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3976 (test_short_complaints): Likewise.
3977 (test_empty_complaints): Likewise.
3978 (test_initial_complaints): Update.
3980 2018-05-23 Tom Tromey <tom@tromey.com>
3982 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3984 2018-05-23 Tom Tromey <tom@tromey.com>
3986 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3987 (test_short_complaints): Update.
3989 2018-05-22 Pedro Alves <palves@redhat.com>
3991 * gdb.base/remote.exp: Only gdb_start after compiling the
3992 testcase. Issue "disconnect" before testing "set remote" command
3993 defaults. Issue clean_restart before running to main.
3995 2018-05-22 Pedro Alves <palves@redhat.com>
3997 * gdb.base/remote.exp: Adjust expected output of "show remote
3998 memory-write-packet-size". Add tests for "set remote
3999 memory-write-packet-size 0" and "set remote
4000 memory-write-packet-size fixed/limit".
4002 2018-05-22 Pedro Alves <palves@redhat.com>
4005 * gdb.base/utf8-identifiers.c: New file.
4006 * gdb.base/utf8-identifiers.exp: New file.
4008 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4010 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4012 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4014 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4016 2018-05-18 Tom Tromey <tom@tromey.com>
4018 * gdb.base/ptype-offsets.exp: Update.
4020 2018-05-17 Keith Seitz <keiths@redhat.com>
4022 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4023 in expected breakpoint stop locations.
4024 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4025 move to proper scope to test variable values.
4026 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4027 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4029 (main): Call not_inline_func3.
4030 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4031 inline_func1, inline_func2, and inline_func3. Test that when each
4032 breakpoint is hit, GDB properly reports both the stop location
4033 and the backtrace. Repeat tests for temporary breakpoints.
4035 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4037 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4038 rather then trying to access it in determining whether the PID
4039 of `gdbserver' could have been retrieved.
4041 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4043 * gdb.arch/amd64-init-x87-values.S: New file.
4044 * gdb.arch/amd64-init-x87-values.exp: New file.
4046 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4048 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4050 2018-05-04 Tom Tromey <tom@tromey.com>
4053 * gdb.python/python.exp: Test multi-line execute.
4055 2018-05-04 Tom Tromey <tom@tromey.com>
4058 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4060 2018-05-04 Tom Tromey <tom@tromey.com>
4063 * gdb.base/define.exp: Test defining a user command inside a user
4065 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4067 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4068 Pedro Alves <palves@redhat.com>
4070 PR breakpoints/19806 and support for PR external/20207.
4071 * gdb.base/watchpoint-unaligned.c: New file.
4072 * gdb.base/watchpoint-unaligned.exp: New file.
4074 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4076 * gdb.base/maint.exp: Make test names unique, use
4077 test_prefix_command_help to test 'help maint info', and remove
4078 repeated test of 'help maint'.
4080 2018-05-04 Tom Tromey <tom@tromey.com>
4083 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4086 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4088 * gdb.base/maint.exp: Process output from 'maint print registers'
4091 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4093 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4096 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4098 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4101 2018-05-02 Pedro Alves <palves@redhat.com>
4103 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4104 to_log_command renames.
4105 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4107 2018-05-02 Tom Tromey <tom@tromey.com>
4109 * gdb.python/py-parameter.exp: Set test message.
4111 2018-05-02 Tom Tromey <tom@tromey.com>
4114 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4115 PARAM_ZUINTEGER_UNLIMITED tests.
4117 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4120 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4123 2018-04-30 Tom Tromey <tom@tromey.com>
4125 * gdb.python/py-type.exp: Check align attribute.
4126 * gdb.python/py-type.c: New "aligncheck" global.
4128 2018-04-30 Tom Tromey <tom@tromey.com>
4131 * gdb.dwarf2/dw2-align.exp: New file.
4132 * gdb.cp/align.exp: New file.
4133 * gdb.base/align.exp: New file.
4134 * lib/gdb.exp (gdb_int128_helper): New proc.
4135 (has_int128_c, has_int128_cxx): New caching procs.
4137 2018-04-27 Tom Tromey <tom@tromey.com>
4140 * gdb.rust/simple.exp: Add inclusive range tests.
4142 2018-04-26 Pedro Alves <palves@redhat.com>
4144 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4145 ifunc breakpoint locations correctly of ifunc breakpoints set
4146 while the program resolves the ifunc.
4148 2018-04-26 Pedro Alves <palves@redhat.com>
4150 * gdb.base/gnu-ifunc-final.c: New file.
4151 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4152 * gdb.base/gnu-ifunc.exp (executable): Delete.
4153 (staticexecutable): Adjust.
4154 (lib_opts, exec_opts): Delete.
4155 (make_binsuffix, build, set-break): New procedures.
4156 (misc_tests): New, with tests factored out from the top level.
4157 (top level): Test different combinations of ifunc resolver name,
4158 resolver with and with debug info, and ifunc target with and
4159 without debug info. Wrap static tests with with_target_prefix.
4161 2018-04-26 Pedro Alves <palves@redhat.com>
4163 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4164 return type" warnings.
4166 2018-04-25 Pedro Alves <palves@redhat.com>
4168 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4170 * gdb.base/kill-after-signal.exp: Likewise.
4171 * gdb.threads/kill.exp: Likewise.
4173 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4174 Sergio Durigan Junior <sergiodj@redhat.com>
4175 Pedro Alves <palves@redhat.com>
4177 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4178 regexps to expect for '[Inferior ... detached]' as well.
4179 * gdb.base/attach.exp: Likewise.
4180 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4181 "gdb_continue_to_end".
4182 (test_catch_syscall_with_wrong_args): Likewise.
4183 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4184 ']'. Don't set 'verbose' on.
4185 * gdb.base/foll-vfork.exp: Likewise.
4186 * gdb.base/fork-print-inferior-events.c: New file.
4187 * gdb.base/fork-print-inferior-events.exp: New file.
4188 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4189 '[Inferior ... has been killed]' message.
4190 * gdb.base/kill-after-signal.exp: Likewise.
4191 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4193 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4195 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4196 regexps to expect for '[Inferior ... detached]' as well.
4197 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4199 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4202 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4204 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4206 * gdb.threads/multiple-successive-infcall.c: New test.
4207 * gdb.threads/multiple-successive-infcall.exp: New file.
4209 2018-04-17 Tom Tromey <tom@tromey.com>
4211 * gdb.rust/simple.rs (Union): New type.
4212 (main): New local "u".
4213 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4215 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4217 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4218 number information in output of "whereis" command.
4219 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4221 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4223 * gdb.ada/info_types.exp: Adjust expected output to the line
4224 numbers now printed by "info var/func/type".
4225 * gdb.base/completion.exp: Likewise.
4226 * gdb.base/included.exp: Likewise.
4227 * gdb.cp/cp-relocate.exp: Likewise.
4228 * gdb.cp/cplusfuncs.exp: Likewise.
4229 * gdb.cp/namespace.exp: Likewise.
4230 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4232 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4234 * gdb.btrace/cpu.exp: New.
4236 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4238 * gdb.base/step-indirect-call-thunk.exp: New.
4239 * gdb.base/step-indirect-call-thunk.c: New.
4240 * gdb.reverse/step-indirect-call-thunk.exp: New.
4241 * gdb.reverse/step-indirect-call-thunk.c: New.
4243 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4245 * gdb.base/pie-fork.c: New file.
4246 * gdb.base/pie-fork.exp: New file.
4248 2018-04-11 Tom Tromey <tom@tromey.com>
4250 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4252 2018-04-10 Pedro Alves <palves@redhat.com>
4254 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4255 exits. Instead loop running forever.
4256 (fork_parent): Run forever too.
4258 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4260 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4261 mi_continue_to_line.
4262 * gdb.mi/mi-stack.c (callee4): Add comment.
4264 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4266 * gdb.mi/mi-stack.exp: Fix indentation.
4268 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4271 * gdb.arch/amd64-osabi.exp: New file.
4273 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4276 * gdb.base/osabi.exp: New file.
4278 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4280 * gdb.cp/static-typedef-print.exp: New file.
4281 * gdb.cp/static-typedef-print.cc: New file.
4283 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4285 * gdb.ada/varsize_limit: New testcase.
4287 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4289 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4291 * gdb.ada/notcplusplus: New testcase.
4293 * gdb.base/c-linkage-name.c: New file.
4294 * gdb.base/c-linkage-name.exp: New testcase.
4296 2018-03-26 Tom Tromey <tom@tromey.com>
4298 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4299 * gdb.python/py-framefilter.py (name_error): New global.
4300 (ErrorInName.function): Use name_error.
4302 2018-03-26 Tom Tromey <tom@tromey.com>
4305 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4307 2018-03-23 Keith Seitz <keiths@redhat.com>
4310 * gdb.cp/subtypes.exp: New file.
4311 * gdb.cp/subtypes.h: New file.
4312 * gdb.cp/subtypes.cc: New file.
4313 * gdb.cp/subtypes-2.cc: New file.
4315 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4317 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4318 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4319 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4320 -nostartfiles when compiling the test. Confirm that all registers
4321 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4323 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4325 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4326 option, syntax was wrong anyway.
4327 * gdb.arch/arm-disp-step.exp: Likewise.
4328 * gdb.arch/sparc64-regs.exp: Likewise.
4329 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4330 option, syntax was wrong anyway, switch to use
4331 prepare_for_testing.
4332 * gdb.arch/i386-disp-step.exp: Likewise.
4334 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4336 * gdb.ada/exec_changed.exp: Replace "target_info exists
4337 use_gdb_stub" by "use_gdb_stub".
4338 * gdb.ada/start.exp: Likewise.
4339 * gdb.base/async-shell.exp: Likewise.
4340 * gdb.base/attach-pie-misread.exp: Likewise.
4341 * gdb.base/attach-wait-input.exp: Likewise.
4342 * gdb.base/break-entry.exp: Likewise.
4343 * gdb.base/break-interp.exp: Likewise.
4344 * gdb.base/dprintf-detach.exp: Likewise.
4345 * gdb.base/nostdlib.exp: Likewise.
4346 * gdb.base/solib-nodir.exp: Likewise.
4347 * gdb.base/statistics.exp: Likewise.
4348 * gdb.base/testenv.exp: Likewise.
4349 * gdb.mi/mi-exec-run.exp: Likewise.
4350 * gdb.mi/mi-start.exp: Likewise.
4351 * gdb.multi/dummy-frame-restore.exp: Likewise.
4352 * gdb.multi/multi-arch-exec.exp: Likewise.
4353 * gdb.multi/multi-arch.exp: Likewise.
4354 * gdb.multi/tids.exp: Likewise.
4355 * gdb.multi/watchpoint-multi.exp: Likewise.
4356 * gdb.python/py-events.exp: Likewise.
4357 * gdb.threads/attach-into-signal.exp: Likewise.
4358 * gdb.threads/attach-stopped.exp: Likewise.
4359 * gdb.threads/threadapply.exp: Likewise.
4360 * lib/selftest-support.exp: Likewise.
4362 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4364 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4366 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4368 * gdb.perf/template-breakpoints.cc: New file.
4369 * gdb.perf/template-breakpoints.exp: New file.
4370 * gdb.perf/template-breakpoints.py: New file.
4372 2018-03-19 Tom Tromey <tom@tromey.com>
4374 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4376 * gdb.rust/simple.exp: Test bare identifier form of struct
4379 2018-03-19 Tom Tromey <tom@tromey.com>
4381 * gdb.gdb/observer.exp: Remove.
4383 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4385 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4386 "qualified" option when setting breakpoints.
4387 * gdb.trace/backtrace.exp: Likewise.
4388 * gdb.trace/circ.exp: Likewise.
4389 * gdb.trace/collection.exp: Likewise.
4390 * gdb.trace/disconnected-tracing.exp: Likewise.
4391 * gdb.trace/ftrace-lock.exp: Likewise.
4392 * gdb.trace/ftrace.exp: Likewise.
4393 * gdb.trace/infotrace.exp: Likewise.
4394 * gdb.trace/packetlen.exp: Likewise.
4395 * gdb.trace/passc-dyn.exp: Likewise.
4396 * gdb.trace/qtro.exp: Likewise.
4397 * gdb.trace/read-memory.exp: Likewise.
4398 * gdb.trace/report.exp: Likewise.
4399 * gdb.trace/signal.exp: Likewise.
4400 * gdb.trace/status-stop.exp: Likewise.
4401 * gdb.trace/strace.exp: Likewise.
4402 * gdb.trace/tfind.exp: Likewise.
4403 * gdb.trace/trace-break.exp: Likewise.
4404 * gdb.trace/trace-condition.exp: Likewise.
4405 * gdb.trace/trace-mt.exp: Likewise.
4406 * gdb.trace/tstatus.exp: Likewise.
4407 * gdb.trace/tsv.exp: Likewise.
4408 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4409 * gdb.trace/unavailable.exp: Likewise.
4410 * gdb.trace/while-dyn.exp: Likewise.
4412 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4414 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4415 that libinproctrace is copied to the target.
4417 2018-03-14 Tom Tromey <tom@tromey.com>
4420 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4422 * gdb.base/wchar.exp: Likewise.
4424 2018-03-14 Tom Tromey <tom@tromey.com>
4427 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4430 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4433 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4434 "target" to remote_exec.
4436 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4439 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4440 ${board}_upload): Remove.
4442 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4444 * gdb.cp/watch-cp.cc: New test.
4445 * gdb.cp/watch-cp.exp: New file.
4447 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4449 * gdb.base/infcall-nested-structs.exp: New file.
4450 * gdb.base/infcall-nested-structs.c: New file.
4451 * gdb.base/float.exp: Add riscv support.
4453 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4455 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4456 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4458 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4460 * gdb.server/abspath.exp: New file.
4461 * lib/gdb.exp (with_cwd): New procedure.
4463 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4465 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4467 (gdb_is_target_remote_prompt): New proc.
4468 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4469 (gdb_is_target_native): Pass prompt parameter to
4472 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4474 * gdb.base/load-command.c: New file.
4475 * gdb.base/load-command.exp: New file.
4476 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4477 (gdb_is_target_1): ...this, and generalize for other targets
4479 (gdb_is_target_remote): Use gdb_is_target_1.
4480 (gdb_is_target_native): use gdb_is_target_1.
4482 2018-02-26 Tom Tromey <tom@tromey.com>
4485 * gdb.python/py-framefilter.exp: Update test.
4487 2018-02-26 Tom Tromey <tom@tromey.com>
4489 * gdb.dwarf2/variant.c: New file.
4490 * gdb.dwarf2/variant.exp: New file.
4492 2018-02-26 Tom Tromey <tom@tromey.com>
4494 * gdb.rust/simple.exp: Accept more possible results in enum test.
4496 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4498 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4501 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4503 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4504 name of a variable: $actual_linejj -> $actual_line.
4506 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4508 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4510 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4512 * gdb.btrace/buffer-size.exp: Do not force BTS.
4514 2018-02-14 Pedro Alves <palves@redhat.com>
4516 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4519 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4521 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4524 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4526 * gdb.cp/m-static.exp: Check type of optimized out static
4529 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4531 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4532 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4534 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4535 Leszek Swirski <leszeks@google.com>
4537 * gdb.python/py-prettyprint.c
4538 (struct to_string_returns_value_inner,
4539 struct to_string_returns_value_wrapper): New.
4540 (main): Add tsrvw variable.
4541 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4542 ToStringReturnsValueWrapper): New classes.
4543 (register_pretty_printers): Register new pretty-printers.
4544 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4545 recursive pretty printer.
4546 * gdb.python/py-mi.exp: Likewise.
4548 2018-02-01 Leszek Swirski <leszeks@google.com>
4550 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4551 functions with the same name as an include file are parsed
4554 2018-02-01 Yao Qi <yao.qi@linaro.org>
4556 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4559 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4561 * gdb.arch/powerpc-prologue-frame.s: New file.
4562 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4563 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4565 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4567 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4569 2018-01-30 Pedro Alves <palves@redhat.com>
4572 * gdb.base/interrupt-daemon.c: New.
4573 * gdb.base/interrupt-daemon.exp: New.
4574 * gdb.multi/multi-term-settings.c: New.
4575 * gdb.multi/multi-term-settings.exp: New.
4577 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4579 * gdb.base/break.exp: Save the location where the breakpoint
4580 on break.c:47 was actually inserted when debugging the version
4581 compiled at -O2 and use it in the expected output of the "info
4582 break" test performed soon after.
4584 2018-01-22 Pedro Alves <palves@redhat.com>
4585 Sergio Durigan Junior <sergiodj@redhat.com>
4587 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4588 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4590 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4592 * gdb.base/break-include.c, gdb.base/break-include.inc,
4593 gdb.base/break-include.exp: New files.
4594 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4595 line number now being the actual line number where the breakpoint
4597 * gdb.mi/mi-break.exp: Likewise.
4598 * gdb.mi/mi-reverse.exp: Likewise.
4599 * gdb.mi/mi-simplerun.exp: Ditto.
4601 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4603 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4605 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4607 2018-01-21 Don Breazeal <donb@codesourcery.com>
4608 Andrew Burgess <andrew.burgess@embecosm.com>
4610 * gdb.mi/basics.c: Add new global.
4611 * gdb.mi/mi-frame-regs.exp: New file.
4612 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4615 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4617 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4618 non-parameter, and on an unknown symbol.
4620 2018-01-19 Tom Tromey <tom@tromey.com>
4622 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4623 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4625 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4627 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4628 setrlimit and chdir to int.
4630 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4632 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4634 (my_tend): Likewise.
4635 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4636 rationale of avoiding FP- and vector instructions.
4638 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4640 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4641 "info reg" with "\[ \t\]*".
4642 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4644 * gdb.arch/s390-multiarch.exp: Ditto.
4645 * gdb.base/pc-fp.exp: Ditto.
4646 * gdb.reverse/i386-precsave.exp: Ditto.
4647 * gdb.reverse/i386-reverse.exp: Ditto.
4648 * gdb.reverse/i387-env-reverse.exp: Ditto.
4649 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4651 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4653 * lib/gdb.exp (gdb_compile): Re-enable use of
4654 universal_compile_options for languages other than Rust.
4656 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4658 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4660 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4663 * gdb.base/solib-vanish.exp: New.
4664 * gdb.base/solib-vanish-main.c: New.
4665 * gdb.base/solib-vanish-lib1.c: New.
4666 * gdb.base/solib-vanish-lib2.c: New.
4668 2018-01-17 Yao Qi <yao.qi@linaro.org>
4670 * gdb.compile/compile.exp: Match the address printed for
4671 frame in the output of command "bt".
4673 2018-01-15 Tom Tromey <tom@tromey.com>
4675 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4678 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4680 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4682 (prepare): Return 0 on error, 1 on success.
4684 2018-01-12 Pedro Alves <palves@redhat.com>
4686 * gdb.base/continue-after-aborted-step-over.c: New.
4687 * gdb.base/continue-after-aborted-step-over.exp: New.
4689 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4691 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4692 options when not creating an executable.
4694 2018-01-11 Pedro Alves <palves@redhat.com>
4697 * gdb.server/stop-reply-no-thread.c: New file.
4698 * gdb.server/stop-reply-no-thread.exp: New file.
4700 2018-01-10 Pedro Alves <palves@redhat.com>
4703 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4704 functions too. Test setting breakpoints and printing C functions
4705 with no debug info too.
4706 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4708 2018-01-10 Pedro Alves <palves@redhat.com>
4711 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4714 2018-01-10 Pedro Alves <palves@redhat.com>
4717 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4719 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4721 * gdb.server/unittest.exp: Match the output in non-development
4724 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4726 * gdb.gdb/unittest.exp: Match output in non-development mode.
4728 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4730 * gdb.ada/access_tagged_param.exp: Relax expected output
4731 for value of "ObjL" in "continue" to pck.inspect breakpoint
4734 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4736 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4737 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4739 2018-01-05 Pedro Alves <palves@redhat.com>
4742 * gdb.base/libsegfault.exp: New.
4744 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4747 * gdb.ada/access_tagged_param.exp: New file.
4748 * gdb.ada/access_tagged_param/foo.adb: New file.
4750 2018-01-05 Pedro Alves <palves@redhat.com>
4753 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4754 exercise lower case too, and to exercise both full matching and
4757 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4759 * gdb.ada/rename_subscript_param: New testcase.
4761 2018-01-05 Jerome Guitton <guitton@adacore.com>
4763 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4765 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4767 * gdb.ada/convvar_comp: New testcase.
4769 2018-01-05 Xavier Roirand <roirand@adacore.com>
4771 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4772 (My_Table): New global variable.
4773 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4775 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4778 * gdb.ada/maint_with_ada: New testcase.
4780 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4783 * gdb.ada/bp_c_mixed_case: New testcase.
4785 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4788 * gdb.ada/complete.exp: Add "complete break ada" test.
4790 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4793 * gdb.ada/info_addr_mixed_case: New testcase.
4795 2018-01-03 Xavier Roirand <roirand@adacore.com>
4797 * gdb.ada/excep_handle.exp: New testcase.
4798 * gdb.ada/excep_handle/foo.adb: New file.
4799 * gdb.ada/excep_handle/pck.ads: New file.
4801 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4803 * gdb.base/step-line.c: Add extra empty line in copyright header.
4804 * gdb.base/step-line.inp: Likewise.
4806 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4808 * gdb.ada/dyn_stride.exp: Add slice test.
4810 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4812 * gdb.ada/dyn_stride: New testcase.
4814 2017-12-27 Stafford Horne <shorne@gmail.com>
4816 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4817 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4819 2017-12-27 Stafford Horne <shorne@gmail.com>
4821 * gdb.base/reggroups.c: New file.
4822 * gdb.base/reggroups.exp: New file.
4824 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4826 * gdb.dwarf2/ada-valprint-error.c: New file.
4827 * gdb.dwarf2/ada-valprint-error.exp: New file.
4829 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4831 * gdb.ada/assign_arr: New testcase.
4833 2017-12-18 Xavier Roirand <roirand@adacore.com>
4835 * gdb.ada/funcall_ptr: New testcase.
4837 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4840 * gdb.base/ptype-offsets.cc: New file.
4841 * gdb.base/ptype-offsets.exp: New file.
4843 2017-12-15 Yao Qi <yao.qi@linaro.org>
4845 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4848 2017-12-15 Xavier Roirand <roirand@adacore.com>
4850 * gdb.ada/same_component_name: New testcase.
4852 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4854 * gdb.ada/str_binop_equal: New testcase.
4856 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4858 * gdb.ada/task_switch_in_core: New testcase.
4860 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4862 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4863 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4864 call test_bkpt_qualified.
4865 (test_bkpt_qualified): New proc.
4867 2017-12-13 Pedro Alves <palves@redhat.com>
4869 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4870 Tighten regexp by matching with an anchor.
4872 2017-12-13 Pedro Alves <palves@redhat.com>
4874 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4875 ("expression with namespace"): New set of tests.
4876 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4877 (Nested::Test_NS::qux): New.
4878 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4879 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4881 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4883 * gdb.base/server-del-break.c: New file.
4884 * gdb.base/server-del-break.exp: New file.
4886 2017-12-12 Stafford Horne <shorne@gmail.com>
4888 * gdb.xml/tdesc-regs.exp: Add or1k support.
4890 2017-12-12 Stafford Horne <shorne@gmail.com>
4892 * gdb.base/bp-permanent.c: Define nop of or1k.
4894 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4896 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4897 output with components being reordered.
4899 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4901 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4902 output with components being reordered.
4904 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4905 Pedro Alves <palves@redhat.com>
4907 * gdb.base/maint.exp (check for .gdb_index): Check also for
4909 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4910 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4911 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4912 (.gdb_index used after symbol reloading): Support also .debug_names.
4913 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4915 2017-12-08 Yao Qi <yao.qi@linaro.org>
4917 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4918 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4920 2017-12-08 Yao Qi <yao.qi@linaro.org>
4922 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4923 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4925 2017-12-08 Yao Qi <yao.qi@linaro.org>
4927 * gdb.arch/aarch64-tagged-pointer.c: New file.
4928 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4930 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4932 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4935 2017-12-07 Keith Seitz <keiths@redhat.com>
4937 PR breakpoints/22569
4938 * gdb.linespec/ls-errs.exp: Change expected result of "break
4939 -source this file has spaces.c -line 3".
4940 Check that an explicit source file followed by whitespace is
4941 identified as an invalid explicit location.
4943 2017-12-07 Keith Seitz <keiths@redhat.com>
4945 * gdb.cp/nested-types.cc: New file.
4946 * gdb.cp/nested-types.exp: New file.
4947 * lib/cp-support.exp: Load data-structures.exp library.
4948 (debug_cp_test_ptype_class): New global.
4949 (cp_ptype_class_verbose, next_line): New procedures.
4950 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4951 Add and document new return value.
4952 Switch the list of lines to a queue.
4953 Add support for new `type' key for nested type definitions.
4954 Add debugging/troubleshooting messages.
4955 * lib/data-structures.exp: New file.
4957 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4959 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4960 with proc_with_prefix, don't use with_test_prefix.
4962 2017-12-07 Tom Tromey <tom@tromey.com>
4964 * gdb.base/break.exp: Add test for empty "commands".
4966 2017-12-07 Yao Qi <yao.qi@linaro.org>
4968 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4969 malloc and catch syscall.
4971 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4973 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4974 tests for explicit locations.
4976 2017-12-06 Pedro Alves <palves@redhat.com>
4978 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4979 force-disabling XML descriptions.
4981 2017-12-04 Pedro Alves <palves@redhat.com>
4984 * gdb.arch/amd64-disp-step-avx.S: New file.
4985 * gdb.arch/amd64-disp-step-avx.exp: New file.
4987 2017-12-03 Pedro Alves <palves@redhat.com>
4989 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4991 (parent_function): Print distinct messages when waitpid fails, or
4992 the child exits with a signal, or the child exits for an unhandled
4994 * gdb.threads/process-dies-while-detaching.exp
4995 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4996 it. Wait for both inferior output and GDB's prompt. Use an
4997 indirect spawn id list.
4998 (do_detach): New parameter 'child_exit'. Use it to compute
4999 expected inferior output.
5000 (test_detach, test_detach_watch, test_detach_killed_outside):
5001 Adjust to pass down the expected child exit kind.
5003 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5004 Sergio Durigan Junior <sergiodj@redhat.com>
5005 Pedro Alves <palves@redhat.com>
5007 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5009 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5011 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5012 to 'symbol-file' and 'add-symbol-file' can be
5013 position-independent.
5015 2017-12-01 Yao Qi <yao.qi@linaro.org>
5017 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5018 the URL in copyright header.
5019 * gdb.arch/aarch64-fp.exp: Likewise.
5020 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5021 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5022 * gdb.base/expand-psymtabs.exp: Likewise.
5023 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5024 * gdb.fortran/common-block.exp: Likewise.
5025 * gdb.fortran/common-block.f90: Likewise.
5026 * gdb.fortran/logical.exp: Likewise.
5027 * gdb.fortran/vla-datatypes.f90: Likewise.
5028 * gdb.fortran/vla-sub.f90: Likewise.
5030 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5032 * gdb.ada/repeat_dyn: New testcase.
5034 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5036 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5037 Update for changed thread numbering.
5038 * gdb.cell/bt.exp: Update for changed GDB output.
5040 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5042 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5043 setting isremote by hand.
5044 * boards/dwarf4-gdb-index.exp: Likewise.
5045 * boards/fission.exp: Likewise.
5046 * boards/stabs.exp: Likewise.
5048 2017-11-30 Pedro Alves <palves@redhat.com>
5050 * gdb.linespec/cpls-ops.exp
5051 (check_explicit_skips_function_argument): Extract the underlying
5052 type of size_t instead of hardcoding it.
5054 2017-11-29 Pedro Alves <palves@redhat.com>
5057 * gdb.linespec/cpls-abi-tag.cc: New file.
5058 * gdb.linespec/cpls-abi-tag.exp: New file.
5060 2017-11-29 Pedro Alves <palves@redhat.com>
5062 * gdb.base/langs.exp: Use -qualified.
5063 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5065 * gdb.cp/namespace.exp: Use -qualified.
5066 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5067 (overload-3, template-overload, template-ret-type, const-overload)
5068 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5070 (test_driver): Call them.
5071 * gdb.cp/save-bp-qualified.cc: New.
5072 * gdb.cp/save-bp-qualified.exp: New.
5073 * gdb.linespec/explicit.exp: Test -qualified.
5074 * lib/completion-support.exp (completion::explicit_opts_list): Add
5076 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5078 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5080 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5082 2017-11-29 Tom Tromey <tom@tromey.com>
5084 * gdb.base/relocate.exp: Update invalid argument test.
5085 Add new tests for invalid arguments.
5087 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5089 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5091 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5093 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5095 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5096 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5097 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5099 * gdb.cp/shadow.cc (B.func): Return 0.
5101 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5103 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5104 expected output in gdb_expect call to allow the exception
5105 message to be present as well. Fix syntax confusion to avoid
5106 TCL thinking that exception_name is an array.
5108 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5110 * gdb.arch/spu-info.c: Include <unistd.h>.
5111 (do_signal_test): Fix broken calls to write.
5112 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5113 Fix checks for empty mailboxes. Update signal tests for corrected
5114 do_signal_test routine. Allow nonzero event status.
5115 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5116 * gdb.cell/arch.exp: Use standard_output_file.
5117 * gdb.cell/break.exp: Likewise.
5118 * gdb.cell/bt.exp: Likewise.
5119 * gdb.cell/core.exp: Likewise.
5120 * gdb.cell/dwarfaddr.exp: Likewise.
5121 * gdb.cell/ea-cache.exp: Likewise.
5122 * gdb.cell/ea-standalone.exp: Likewise.
5123 * gdb.cell/f-regs.exp: Likewise.
5124 * gdb.cell/fork.exp: Likewise.
5125 * gdb.cell/gcore.exp: Likewise.
5126 * gdb.cell/mem-access.exp: Likewise.
5127 * gdb.cell/ptype.exp: Likewise.
5128 * gdb.cell/registers.exp: Likewise.
5129 * gdb.cell/sizeof.exp: Likewise.
5130 * gdb.cell/solib-symbol.exp: Likewise.
5131 * gdb.cell/solib.exp: Likewise.
5133 2017-11-25 Pedro Alves <palves@redhat.com>
5135 * gdb.base/complete-empty.exp: New file.
5136 * gdb.base/completion.exp: Adjust.
5138 2017-11-25 Pedro Alves <palves@redhat.com>
5140 * gdb.linespec/cpls-ops.cc: New file.
5141 * gdb.linespec/cpls-ops.exp: New file.
5142 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5143 factored out from ...
5144 (test_complete_prefix_range): ... this.
5146 2017-11-24 Pedro Alves <palves@redhat.com>
5148 * gdb.linespec/cpcompletion.exp: New file.
5149 * gdb.linespec/cpls-hyphen.cc: New file.
5150 * gdb.linespec/cpls.cc: New file.
5151 * gdb.linespec/cpls2.cc: New file.
5152 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5153 test to use test_gdb_complete_unique. Add label completion,
5154 keyword completion and explicit location completion tests.
5155 * lib/completion-support.exp: New file.
5157 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5159 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5160 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5161 when hitting an exception catchpoint.
5163 2017-11-22 Yao Qi <yao.qi@linaro.org>
5165 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5167 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5169 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5170 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5171 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5173 2017-11-22 Yao Qi <yao.qi@linaro.org>
5175 * gdb.base/info-os.exp: Pass pthreads.
5176 * gdb.multi/multi-attach.exp: Likewise.
5178 2017-11-22 Yao Qi <yao.qi@linaro.org>
5180 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5183 2017-11-22 Yao Qi <yao.qi@linaro.org>
5185 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5186 * gdb.base/break-interp.exp: Likewise.
5187 * gdb.base/jit-attach-pie.exp: Likewise.
5189 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5191 * gdb.base/float128.c (large128): New variable.
5192 * gdb.base/float128.exp: Add test to print largest __float128 value.
5194 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5196 * gdb.arch/vsx-regs.exp: Update register content checks.
5198 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5200 * gdb.arch/ppc-longdouble.exp: New file.
5201 * gdb.arch/ppc-longdouble.c: Likewise.
5203 2017-11-21 Pedro Alves <palves@redhat.com>
5205 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5207 2017-11-20 Pedro Alves <palves@redhat.com>
5209 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5210 (long_double_typedef): New typedefs.
5211 Use DEF on double and long double.
5212 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5214 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5215 and 'long_double_ptr_same_size' locals. Use them to decide
5216 whether cast from array/function to float is valid/invalid.
5218 2017-11-17 Tom Tromey <tom@tromey.com>
5220 * gdb.rust/traits.rs: New file.
5221 * gdb.rust/traits.exp: New file.
5223 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5225 * gdb.ada/minsyms: New testcase.
5227 2017-11-16 Pedro Alves <palves@redhat.com>
5229 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5230 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5232 2017-11-16 Pedro Alves <palves@redhat.com>
5234 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5235 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5237 2017-11-16 Pedro Alves <palves@redhat.com>
5239 * gdb.server/reconnect-ctrl-c.c: New file.
5240 * gdb.server/reconnect-ctrl-c.exp: New file.
5242 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5244 * gdb.python/py-rbreak.exp: New file.
5245 * gdb.python/py-rbreak.c: New file.
5246 * gdb.python/py-rbreak-func2.c: New file.
5248 2017-11-16 Pedro Alves <palves@redhat.com>
5250 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5252 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5255 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5257 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5260 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5262 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5265 2017-11-09 Pedro Alves <palves@redhat.com>
5267 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5268 factored out from ...
5269 (top level): ... here, and adjusted to avoid expecting beyond the
5270 prompt in a single gdb_test_multiple.
5272 2017-11-09 Pedro Alves <palves@redhat.com>
5274 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5276 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5277 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5278 * gdb.server/ext-run.exp ("kill" test): Likewise.
5279 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5281 2017-11-09 Pedro Alves <palves@redhat.com>
5283 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5284 match till end of line.
5286 2017-11-09 Pedro Alves <palves@redhat.com>
5288 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5290 2017-11-09 Pedro Alves <palves@redhat.com>
5292 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5293 New procedures, factored out from ...
5294 (top level): ... here, and adjusted to avoid expecting beyond the
5297 2017-11-09 Pedro Alves <palves@redhat.com>
5299 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5300 output. Fix '?' match.
5302 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5304 * gdb.ada/scoped_watch: New testcase.
5305 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5306 which is actually correct.
5307 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5308 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5310 2017-11-08 Pedro Alves <palves@redhat.com>
5312 * gdb.gdb/complaints.exp (test_initial_complaints)
5313 (test_serial_complaints, test_short_complaints): Call
5314 complaint_internal instead of complaint.
5316 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5318 * gdb.threads/tls-core.c: New file.
5319 * gdb.threads/tls-core.exp: Likewise.
5321 2017-11-08 Pedro Alves <palves@redhat.com>
5323 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5324 (p Exported_Capitalized): New test.
5325 (p exported_capitalized): New test.
5327 2017-11-07 Pedro Alves <palves@redhat.com>
5329 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5331 2017-11-07 Pedro Alves <palves@redhat.com>
5333 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5334 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5335 (disable_invalid, disable_inverted, disable_negative): New
5337 ("bad numbers"): New set of tests.
5339 2017-11-07 Pedro Alves <palves@redhat.com>
5341 * gdb.cp/ena-dis-br-range.exp: Add tests.
5343 2017-11-07 Pedro Alves <palves@redhat.com>
5345 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5347 2017-11-07 Xavier Roirand <roirand@adacore.com>
5348 Pedro Alves <palves@redhat.com>
5350 * gdb.base/ena-dis-br.exp: Add reference to
5351 gdb.cp/ena-dis-br-range.exp.
5352 * gdb.cp/ena-dis-br-range.exp: New file.
5353 * gdb.cp/ena-dis-br-range.cc: New file.
5355 2017-11-06 Pedro Alves <palves@redhat.com>
5357 * gdb.base/attach-non-pgrp-leader.c: New.
5358 * gdb.base/attach-non-pgrp-leader.exp: New.
5360 2017-11-06 Pedro Alves <palves@redhat.com>
5362 * configure.ac: No longer check for termio.h and sgtty.h.
5363 * configure: Regenerate.
5364 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5365 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5366 Remove termio and sgtty code.
5368 2017-11-03 Yao Qi <yao.qi@linaro.org>
5370 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5373 2017-11-03 Yao Qi <yao.qi@linaro.org>
5375 * gdb.python/py-thrhandle.exp: Skip it if python is not
5378 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5380 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5381 as a breakpoint command.
5383 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5386 * gdb.python/py-infthread.exp: Test calling
5387 InferiorThread.inferior () multiple times in a row.
5389 2017-10-27 Keith Seitz <keiths@redhat.com>
5391 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5392 Test "info break" for every inlined function breakpoint.
5394 2017-10-27 Yao Qi <yao.qi@linaro.org>
5396 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5398 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5400 * gdb.cp/classes.exp (test_static_members): Test printing
5402 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5403 (Inner::instance, Outer::instance): New.
5405 2017-10-24 Pedro Alves <palves@redhat.com>
5407 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5408 extra console" test in two stages.
5410 2017-10-24 Pedro Alves <palves@redhat.com>
5412 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5414 2017-10-24 Pedro Alves <palves@redhat.com>
5416 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5419 2017-10-24 Pedro Alves <palves@redhat.com>
5421 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5422 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5424 2017-10-24 Pedro Alves <palves@redhat.com>
5426 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5427 parameter and handle it. Don't output read value in test name.
5429 2017-10-24 Pedro Alves <palves@redhat.com>
5431 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5434 2017-10-24 Pedro Alves <palves@redhat.com>
5436 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5437 include the unstable output directory name in the test's name.
5438 (initial_setup_simple) <'set args'>: Use custom test name.
5440 2017-10-24 Pedro Alves <palves@redhat.com>
5442 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5443 with explicit test name.
5445 2017-10-20 Pedro Alves <palves@redhat.com>
5447 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5448 'wait -i'. Use gdb_assert and remote_close.
5450 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5452 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5453 number from variable rather than hard-coded.
5455 2017-10-19 Pedro Alves <palves@redhat.com>
5457 * gdb.base/long-inferior-output.c: New file.
5458 * gdb.base/long-inferior-output.exp: New file.
5460 2017-11-18 Keith Seitz <keiths@redhat.com>
5462 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5465 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5466 Add additional user-defined conversion operator tests.
5468 2017-10-17 Pedro Alves <palves@redhat.com>
5470 * boards/native-stdio-gdbserver.exp: Load "local-board".
5472 2017-10-17 Pedro Alves <palves@redhat.com>
5474 * gdb.base/quit-live.c: New file.
5475 * gdb.base/quit-live.exp: New file.
5477 2017-10-16 Keith Seitz <keiths@redhat.com>
5479 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5480 (class_with_protected_typedef, class_with_private_typedef)
5481 (struct_with_public_typedef, struct_with_protected_typedef)
5482 (struct_with_private_typedef): New classes/structs.
5483 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5484 typedefs and access specifiers.
5486 2017-10-16 Pedro Alves <palves@redhat.com>
5487 Simon Marchi <simon.marchi@polymtl.ca>
5489 * README (Local vs Remote vs Native): New section.
5490 * boards/local-board.exp: New file, with bits factored out from
5492 * boards/native-extended-gdbserver.exp: ... here. Load
5494 * boards/native-gdbserver.exp: Load "local-board".
5495 (${board}_spawn, ${board}_exec): Delete.
5496 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5498 * boards/stdio-gdbserver-base.exp: ... this new file.
5499 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5500 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5502 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5503 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5504 stdio_gdbserver_command.
5505 (${board}_get_remote_address, ${board}_get_comm_port)
5506 (${board}_download, ${board}_upload): Delete.
5507 (get_target_remote_pipe_cmd): New.
5509 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5511 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5512 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5513 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5514 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5515 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5516 remove with_test_prefix.
5518 2017-10-13 Pedro Alves <palves@redhat.com>
5520 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5521 * gdb.base/annota1.exp: Use it instead of is_remote.
5522 * gdb.base/annota3.exp: Use it instead of is_remote.
5523 * gdb.cp/annota2.exp: Use it instead of is_remote.
5524 * gdb.cp/annota3.exp: Use it instead of is_remote.
5525 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5527 2017-10-13 Pedro Alves <palves@redhat.com>
5529 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5530 (test_num_test_vars, run_and_count_vars, find_env)
5531 (test_set_unset_env, test_inherit_env_var): New procedures.
5532 (top level): Use them.
5534 2017-10-13 Pedro Alves <palves@redhat.com>
5536 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5537 also skip on stub-like targets.
5539 2017-10-13 Pedro Alves <palves@redhat.com>
5542 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5543 (top level): Move some tests to ...
5544 (test_not_found): ... this new procedure.
5545 (top level): Call it.
5547 2017-10-13 Pedro Alves <palves@redhat.com>
5549 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5550 expect different "info terminal" output if testing with a
5553 2017-10-13 Pedro Alves <palves@redhat.com>
5554 Simon Marchi <simon.marchi@polymtl.ca>
5557 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5559 2017-10-13 Pedro Alves <palves@redhat.com>
5561 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5564 2017-10-13 Pedro Alves <palves@redhat.com>
5566 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5569 2017-10-13 Pedro Alves <palves@redhat.com>
5571 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5574 2017-10-13 Pedro Alves <palves@redhat.com>
5576 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5578 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5579 instead of is_remote.
5581 2017-10-13 Pedro Alves <palves@redhat.com>
5583 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5584 (top level): Add comment.
5586 2017-10-13 Pedro Alves <palves@redhat.com>
5588 * gdb.base/remote.exp (top level): Fix comment typo and add
5591 2017-10-13 Pedro Alves <palves@redhat.com>
5592 Simon Marchi <simon.marchi@polymtl.ca>
5594 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5595 calls and add comments. Skip test if use_gdb_stub is set.
5596 (top level): Use "set cwd" command instead of "cd" command.
5598 2017-10-13 Pedro Alves <palves@redhat.com>
5600 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5601 is_remote target check.
5603 2017-10-13 Pedro Alves <palves@redhat.com>
5605 * gdb.base/scope.exp: Use build_executable + clean_restart +
5606 gdb_file_cmd instead of prepare_for_testing and no longer skip
5607 "before run" tests on is_remote target boards. Update comments.
5608 * boards/native-extended-gdbserver.exp
5609 (extended_gdbserver_load_last_file): New, factored out from ...
5610 (gdb_load): ... this. Move further below and add comment.
5611 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5613 2017-10-12 Pedro Alves <palves@redhat.com>
5615 * gdb.base/attach.exp: Remove references to gdb64.
5616 * gdb.base/dbx.exp: Remove references to gdb64.
5618 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5619 Pedro Alves <palves@redhat.com>
5621 * gdb.base/label.exp: Remove is_remote target check.
5623 2017-10-12 Pedro Alves <palves@redhat.com>
5625 * gdb.base/auvx.exp (coredir): Update comment.
5626 (top level) <core_works>: Use "set cwd" command instead of "cd"
5629 2017-10-12 Pedro Alves <palves@redhat.com>
5630 Simon Marchi <simon.marchi@polymtl.ca>
5632 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5635 2017-10-12 Pedro Alves <palves@redhat.com>
5636 Simon Marchi <simon.marchi@polymtl.ca>
5638 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5639 Instead skip if there's any gdb_protocol set.
5641 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5642 Pedro Alves <palves@redhat.com>
5644 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5646 2017-10-12 Pedro Alves <palves@redhat.com>
5647 Simon Marchi <simon.marchi@polymtl.ca>
5649 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5650 instead of on dejagnu remote boards.
5652 2017-10-12 Pedro Alves <palves@redhat.com>
5653 Simon Marchi <simon.marchi@polymtl.ca>
5655 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5656 checks. Use build_executable + clean_restart instead of
5657 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5658 of enabling non-stop after starting gdb.
5660 2017-10-12 Pedro Alves <palves@redhat.com>
5662 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5663 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5664 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5665 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5667 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5669 * gdb.arch/arc-tdesc-cpu.exp: New file.
5670 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5672 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5674 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5676 2017-10-10 Pedro Alves <palves@redhat.com>
5678 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5681 2017-10-10 Pedro Alves <palves@redhat.com>
5683 * lib/selftest-support.exp (selftest_setup): Update for
5684 captured_command_loop's prototype change.
5686 2017-10-09 Pedro Alves <palves@redhat.com>
5688 Test both arch1=>arch2 and arch2=>arch1.
5690 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5691 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5693 (append_arch1_options, append_arch2_options, append_arch_options)
5694 (build_executables): New procedures.
5695 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5697 (top level): Add new 'first_arch' testing axis.
5699 2017-10-09 Pedro Alves <palves@redhat.com>
5701 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5703 (thread_start, all_started): New functions.
5704 (main): Spawn new thread and wait until it is scheduled.
5705 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5707 (do_test): Add 'selected_thread' parameter. Run to all_started
5708 instead of main. Explicitly set the breakpoint at main. Switch
5709 to the SELECTED_THREAD thread.
5710 (top level): Test handling the exec event with either the main
5711 thread or the second thread selected.
5713 2017-10-09 Pedro Alves <palves@redhat.com>
5715 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5716 logic. Move STOP marker after the value checks.
5717 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5720 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5722 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5724 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5726 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5727 integer-to-dfp conversion.
5728 * gdb.base/dfp-test.exp: Likewise.
5730 2017-10-04 Pedro Alves <palves@redhat.com>
5732 * gdb.multi/hangout.c: Include <unistd.h>.
5733 (hangout_loop): New function.
5734 (main): Call alarm. Call hangout_loop in a loop.
5735 * gdb.multi/hello.c: Include <unistd.h>.
5736 (hello_loop): New function.
5737 (main): Call alarm. Call hangout_loop in a loop.
5738 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5739 inferior with the other selected.
5741 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5743 * gdb.mi/list-thread-groups-available.exp: New file.
5744 * gdb.mi/list-thread-groups-available.c: New file.
5746 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5748 * gdb.base/set-cwd.exp: Make it available on
5749 native-extended-gdbserver.
5751 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5753 * gdb.base/set-cwd.c: New file.
5754 * gdb.base/set-cwd.exp: Likewise.
5756 2017-10-02 Tom Tromey <tom@tromey.com>
5759 * gdb.rust/simple.rs (main): New variable "fslice".
5760 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5762 2017-10-02 Tom Tromey <tom@tromey.com>
5764 * gdb.rust/simple.exp: Test ptype of a slice.
5766 2017-10-02 Tom Tromey <tom@tromey.com>
5768 * gdb.rust/simple.exp: Test index of slice.
5770 2017-09-27 Tom Tromey <tom@tromey.com>
5772 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5774 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5775 Pedro Alves <palves@redhat.com>
5777 * gdb.base/compare-sections.exp (get value of read-only section): Read
5779 (corrupt read-only section): Likewise and don't set written if patching
5782 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5784 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5787 2017-09-20 Pedro Alves <palves@redhat.com>
5789 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5790 symbol names in gdb's output.
5791 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5793 2017-09-20 Pedro Alves <palves@redhat.com>
5795 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5797 (test_list_ambiguous_symbol): ... this and add a symbol name
5799 (test_list_ambiguous_function): Reimplement on top of
5800 test_list_ambiguous_symbol and also test listing ambiguous
5802 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5803 (ambiguous_fun): ... this.
5804 (ambiguous_var): New.
5805 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5806 (ambiguous_fun): ... this.
5807 (ambiguous_var): New.
5809 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5811 * gdb.base/starti.c: New file.
5812 * gdb.base/starti.exp: New file.
5813 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5815 2017-09-14 Pedro Alves <palves@redhat.com>
5817 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5818 (top level): Use it instead of runto.
5820 2017-09-11 Tom Tromey <tom@tromey.com>
5822 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5824 2017-09-11 Tom Tromey <tom@tromey.com>
5826 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5827 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5829 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5831 * gdb.fortran/printing-types.exp: New file.
5832 * gdb.fortran/printing-types.exp: New file.
5834 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5836 * gdb.fortran/vla-ptype.exp: Fix typos.
5837 * gdb.fortran/vla-value.exp: Same.
5839 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5841 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5842 * gdb.mi/mi-var-child-f.exp: Likewise.
5843 * gdb.mi/mi-vla-fortran.exp: Likewise.
5845 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5846 Christoph Weinmann <christoph.t.weinmann@intel.com>
5847 Bernhard Heckel <bernhard.heckel@intel.com>
5849 * gdb.fortran/ptr-indentation.f90: New file.
5850 * gdb.fortran/ptr-indentation.exp: New file.
5852 2017-09-05 Tom Tromey <tom@tromey.com>
5855 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5857 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5859 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5861 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5863 * gdb.threads/tls-nodebug-pie.c: New file.
5864 * gdb.threads/tls-nodebug-pie.exp: New file.
5866 2017-09-05 Tom Tromey <tom@tromey.com>
5868 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5871 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5873 * gdb.multi/multi-arch-exec.exp: Test with different
5874 "follow-exec-mode" settings.
5875 (do_test): New procedure.
5877 2017-09-04 Pedro Alves <palves@redhat.com>
5879 * gdb.base/func-static.c (S::method const, S::method volatile)
5880 (S::method volatile const): New methods.
5881 (c_s, v_s, cv_s): New instances.
5882 (main): Call method() on them.
5883 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5884 (cannot_resolve): New procedure.
5885 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5886 print-quote-unquoted columns.
5887 (do_test): Test printing each scope too.
5889 2017-09-04 Pedro Alves <palves@redhat.com>
5891 * gdb.base/local-static.exp: Also test with
5892 class::method::variable wholly quoted.
5893 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5895 2017-09-04 Pedro Alves <palves@redhat.com>
5897 * gdb.base/local-static.c: New.
5898 * gdb.base/local-static.cc: New.
5899 * gdb.base/local-static.exp: New.
5901 2017-09-04 Pedro Alves <palves@redhat.com>
5903 * gdb.asm/asm-source.exp: Add casts to int.
5904 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5905 (dataglobal64_1, dataglobal64_2): New globals.
5906 * gdb.base/nodebug.exp: Test different expressions involving the
5907 new globals, with print, whatis and ptype. Add casts to int.
5908 * gdb.base/solib-display.exp: Add casts to int.
5909 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5910 * gdb.cp/m-static.exp: Add cast to int.
5911 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5912 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5913 tls variable with no debug info without a cast. Test with a cast
5915 * gdb.trace/entry-values.exp: Add casts.
5917 2017-09-04 Pedro Alves <palves@redhat.com>
5919 * gdb.base/nodebug.exp: Test that ptype's error about functions
5920 with unknown return type includes the function name too.
5922 2017-09-04 Pedro Alves <palves@redhat.com>
5924 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5925 return type of munmap in infcall.
5926 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5927 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5928 type of ftell in infcall.
5929 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5930 type of getpid in infcall.
5931 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5933 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5934 Bail on failure to extract the pid.
5935 * gdb.base/nodebug.c: #include <stdint.h>.
5936 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5938 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5939 Change expected output of print/whatis/ptype with functions with
5940 no debug info. Test all supported languages. Call
5941 test_call_promotion.
5942 * gdb.compile/compile.exp: Adjust expected output to expect
5944 * gdb.threads/siginfo-threads.exp: Likewise.
5946 2017-09-04 Pedro Alves <palves@redhat.com>
5948 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5949 "prototypes". Test calling float functions via prototyped and
5950 unprototyped function pointers.
5951 (perform_all_tests): New parameter "prototypes". Pass it down.
5952 (top level): Pass down "prototypes" parameter to
5955 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5957 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5958 Test with nested loops.
5960 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5962 * gdb.base/commands.exp: Call the new procedures.
5963 (loop_break_test, loop_continue_test): New procedures.
5965 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5967 * gdb.base/commands.exp: Call new procedure.
5968 (define_if_without_arg_test): New procedure.
5970 2017-09-04 Pedro Alves <palves@redhat.com>
5972 * gdb.base/list-ambiguous.exp: New file.
5973 * gdb.base/list-ambiguous0.c: New file.
5974 * gdb.base/list-ambiguous1.c: New file.
5975 * gdb.base/list.exp (test_list_range): Adjust expected output.
5977 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5979 * gdb.base/share-env-with-gdbserver.c: New file.
5980 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5982 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5984 * gdb.base/commands.exp (gdbvar_simple_if_test,
5985 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5986 progvar_simple_if_test, progvar_simple_while_test,
5987 progvar_complex_if_while_test, user_defined_command_test,
5988 user_defined_command_args_eval,
5989 user_defined_command_args_stack_test,
5990 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5991 temporary_breakpoint_commands,
5992 gdb_test_no_prompt, redefine_hook_test,
5993 redefine_backtrace_test): Remove "global gdb_prompt".
5995 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5997 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5998 New proc, call it from toplevel.
6000 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6003 * gdb.server/normal.c: New file, copied from gdb.base.
6004 * gdb.server/run-without-local-binary.exp: New file.
6006 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6008 * gdb.arch/sparc64-adi.exp: New file.
6009 * gdb.arch/sparc64-adi.c: New file.
6011 2017-08-22 Pedro Alves <palves@redhat.com>
6013 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6014 (top level): Add "list all overloads" tests.
6016 2017-08-22 Tom Tromey <tom@tromey.com>
6018 * gdb.gdb/xfullpath.exp: Remove.
6020 2017-08-21 Pedro Alves <palves@redhat.com>
6023 * gdb.base/symbol-alias.c: New.
6024 * gdb.base/symbol-alias2.c: New.
6025 * gdb.base/symbol-alias.exp: New.
6027 2017-08-21 Pedro Alves <palves@redhat.com>
6029 * gdb.base/dfp-test.c
6030 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6031 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6032 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6033 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6034 * gdb.base/whatis-ptype-typedefs.c: New.
6035 * gdb.base/whatis-ptype-typedefs.exp: New.
6036 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6037 (an_int, an_int_type, an_int_type2): New globals.
6038 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6039 involving typedefs and cast expressions.
6040 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6041 (lookup_typedefs_function): New.
6042 (typedefs_pretty_printers_dict): New.
6043 (top level): Register lookup_typedefs_function in
6044 gdb.pretty_printers.
6046 2017-08-18 Yao Qi <yao.qi@linaro.org>
6048 * gdb.server/unittest.exp: New.
6050 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6053 * gdb.base/environ.exp: Add test to check if 'unset environment'
6056 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6058 * lib/gdb.exp (universal_compile_options): New caching proc.
6059 (gdb_compile): Suppress GCC's coloring of messages.
6061 2017-08-14 Tom Tromey <tom@tromey.com>
6064 * gdb.base/printcmds.exp (test_radices): New function.
6065 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6066 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6067 * lib/gdb.exp (get_integer_valueof): Use p/d.
6069 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6071 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6074 2017-08-05 Tom Tromey <tom@tromey.com>
6076 * gdb.rust/simple.exp: Allow String to appear in a different
6079 2017-07-26 Yao Qi <yao.qi@linaro.org>
6081 * gdb.gdb/unittest.exp: Invoke command
6082 "maintenance check xml-descriptions".
6084 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6086 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6088 (hex128): Drop erroneous calculation of parameters.
6090 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6092 * gdb.python/py-unwind.exp: Disable stack protection when
6095 2017-07-20 Pedro Alves <palves@redhat.com>
6097 * gdb.base/default.exp (set language): Adjust expected output.
6099 2017-07-20 Pedro Alves <palves@redhat.com>
6101 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6102 (test_minsym): ... this, and make static.
6103 (get_pck__foo__bar__minsym): Rename to ...
6104 (get_test_minsym): ... this.
6105 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6106 symbol names and comments.
6107 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6108 (get_test_minsym): ... this.
6109 (pck__foo__bar__minsym__2): Rename to ...
6110 (test_minsym): ... this.
6113 2017-07-17 Pedro Alves <palves@redhat.com>
6115 * gdb.base/completion.exp: Adjust expected output.
6116 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6117 the completer works.
6119 2017-07-17 Pedro Alves <palves@redhat.com>
6121 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6123 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6125 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6127 2017-07-14 Tom Tromey <tom@tromey.com>
6130 * gdb.rust/simple.exp: Add tests.
6132 2017-07-14 Tom Tromey <tom@tromey.com>
6134 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6136 2017-07-14 Pedro Alves <palves@redhat.com>
6138 * gdb.linespec/base/one/thefile.cc (z1): New function.
6139 * gdb.linespec/base/two/thefile.cc (z2): New function.
6140 * gdb.linespec/linespec.exp: Add tests.
6142 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6144 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6145 to mi_create_breakpoint.
6147 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6149 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6150 mi_create_breakpoint.
6152 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6154 * gdb.dlang/demangle.exp: Update for demangling changes.
6156 2017-07-09 Tom Tromey <tom@tromey.com>
6158 * gdb.dwarf2/shortpiece.exp: New file.
6160 2017-07-06 David Blaikie <dblaikie@gmail.com>
6162 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6163 built from fissiont-multi-cu{1,2}.c.
6164 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6165 except putting 'main' and 'func' in separate CUs in the same DWO file.
6166 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6168 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6171 2017-07-06 Pedro Alves <palves@redhat.com>
6173 * gdb.python/py-unwind.exp: Test flushregs.
6175 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6178 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6179 tests for alias commands and trailing whitespace.
6181 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6184 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6187 2017-06-29 Pedro Alves <palves@redhat.com>
6189 * gdb.base/printcmds.exp: Add tests.
6191 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6194 * gdb.base/reread-readsym.exp: New file.
6195 * gdb.base/reread-readsym.c: New file.
6197 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6199 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6202 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6204 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6206 * gdb.arch/powerpc-power9.s: Likewise.
6208 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6210 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6211 on 32-bit x86 targets. Exploit is_*_target macros where
6214 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6216 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6219 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6221 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6222 located in one or more DWARF pieces.
6224 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6226 * lib/gdb.exp (get_endianness): New proc.
6227 * gdb.arch/aarch64-fp.exp: Use it.
6228 * gdb.arch/altivec-regs.exp: Likewise.
6229 * gdb.arch/e500-regs.exp: Likewise.
6230 * gdb.arch/vsx-regs.exp: Likewise.
6231 * gdb.base/dump.exp: Likewise.
6232 * gdb.base/funcargs.exp: Likewise.
6233 * gdb.base/gnu_vector.exp: Likewise.
6234 * gdb.dwarf2/formdata16.exp: Likewise.
6235 * gdb.dwarf2/implptrpiece.exp: Likewise.
6236 * gdb.dwarf2/nonvar-access.exp: Likewise.
6237 * gdb.python/py-inferior.exp: Likewise.
6238 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6240 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6243 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6244 stack value pieces are taken from the LSB end.
6246 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6248 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6249 variable at nonzero offset.
6251 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6253 * gdb.dwarf2/var-access.c: New file.
6254 * gdb.dwarf2/var-access.exp: New test.
6255 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6257 2017-06-12 Tom Tromey <tom@tromey.com>
6259 * gdb.dwarf2/formdata16.exp: Add tests.
6261 2017-06-12 Tom Tromey <tom@tromey.com>
6263 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6265 2017-06-12 Tom Tromey <tom@tromey.com>
6268 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6269 * gdb.arch/vsx-regs.exp: Update tests.
6270 * gdb.arch/s390-vregs.exp (hex128): New proc.
6272 * gdb.arch/altivec-regs.exp: Update tests.
6274 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6276 * gdb.base/startup-with-shell.c: New file.
6277 * gdb.base/startup-with-shell.exp: Likewise.
6279 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6281 * gdb.server/non-existing-program.exp: Update regex in order to
6282 reflect the fact that gdbserver is now using fork_inferior (with a
6283 shell) to startup the inferior.
6285 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6287 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6288 support function calls from GDB.
6290 2017-05-21 Tom Tromey <tom@tromey.com>
6293 * gdb.rust/unsized.exp: New file.
6294 * gdb.rust/unsized.rs: New file.
6296 2017-05-19 Tom Tromey <tom@tromey.com>
6299 * gdb.rust/watch.exp: New file.
6300 * gdb.rust/watch.rs: New file.
6302 2017-05-18 Tom Tromey <tom@tromey.com>
6304 * gdb.rust/simple.exp: Allow Box to be qualified.
6306 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6308 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6310 2017-05-18 Pedro Alves <palves@redhat.com>
6312 * gdb.base/fileio.c (test_write, test_read, test_close)
6313 (test_fstat): Don't print 'ret' in the fail path.
6315 2017-05-18 Pedro Alves <palves@redhat.com>
6317 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6318 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6319 (test_system, test_rename, test_unlink, test_time): Change
6321 * gdb.base/fileio.exp (stop_msg): Adjust.
6323 2017-05-18 Pedro Alves <palves@redhat.com>
6325 * gdb.base/fileio.c (null_str): New global.
6326 (test_stat): Use it.
6327 * gdb.base/fileio.exp: Remove nowarnings.
6329 2017-05-17 Yao Qi <yao.qi@linaro.org>
6331 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6333 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6335 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6337 (top-level): Invoke test_set_inferior_tty.
6339 2017-05-04 Pedro Alves <palves@redhat.com>
6341 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6342 Add parens to print call for Python 3.
6344 2017-05-03 Keith Seitz <keiths@redhat.com>
6346 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6349 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6351 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6354 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6356 * gdb.python/py-record-btrace.exp: Remove test for
6357 gdb.BtraceInstruction.error.
6359 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6361 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6363 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6365 * gdb.python/py-record-btrace-threads.c: New file.
6366 * gdb.python/py-record-btrace-threads.exp: New file.
6368 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6371 * gdb.base/environ.exp: Make test available in all architectures.
6372 Move bits related to "info program" testing to
6373 gdb.base/info-program.exp. Rewrite tests to use the two new
6374 procedures mentione below.
6375 (test_set_show_env_var) New procedure.
6376 (test_set_show_env_var_equal): Likewise.
6377 * gdb.base/info-program.exp: New file.
6379 2017-04-27 Keith Seitz <keiths@redhat.com>
6381 * gdb.cp/oranking.cc (test15): New function.
6382 (main): Call test15 and declare additional variables for testing.
6383 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6384 "p foo101('abc')" tests.
6385 Add tests for cv qualifier overloads.
6386 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6387 "lvalue reference overload" test.
6388 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6389 "print value of f1 on Child&& in f2" test.
6391 2017-04-19 Pedro Alves <palves@redhat.com>
6393 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6395 (top level): Call it.
6396 * lib/gdb.exp (gdb_define_cmd): New procedure.
6398 2017-04-12 Pedro Alves <palves@redhat.com>
6401 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6402 (wchar): New global.
6403 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6404 (do_test_wide_char, wide_char_types_no_program, top level): Add
6407 2017-04-12 Pedro Alves <palves@redhat.com>
6410 * gdb.cp/wide_char_types.c: New file.
6411 * gdb.cp/wide_char_types.exp: New file.
6413 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6416 * gdb.trace/tsv.exp: Add test for "tsave -r".
6418 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6420 * gdb.dlang/watch-loc.c: New file.
6421 * gdb.dlang/watch-loc.exp: New file.
6423 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6425 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6427 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6429 * gdb.arch/arc-analyze-prologue.S: New file.
6430 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6432 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6434 * gdb.arch/arc-decode-insn.S: New file.
6435 * gdb.arch/arc-decode-insn.exp: Likewise.
6437 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6440 * gdb.arch/sparc64-regs.exp: New file.
6441 * gdb.arch/sparc64-regs.S: Likewise.
6443 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6445 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6446 and memory view on Python 3.
6448 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6449 Keith Seitz <keiths@redhat.com>
6452 * gdb.cp/demangle.exp: Add rvalue reference tests.
6453 * gdb.cp/rvalue-ref-casts.cc: New file.
6454 * gdb.cp/rvalue-ref-casts.exp: New file.
6455 * gdb.cp/rvalue-ref-overload.cc: New file.
6456 * gdb.cp/rvalue-ref-overload.exp: New file.
6457 * gdb.cp/rvalue-ref-params.cc: New file.
6458 * gdb.cp/rvalue-ref-params.exp: New file.
6459 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6460 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6461 * gdb.cp/rvalue-ref-types.cc: New file.
6462 * gdb.cp/rvalue-ref-types.exp: New file.
6463 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6464 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6466 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6468 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6471 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6473 * lib/mi-support.exp (mi_gdb_test): Add additional message
6474 for unexpected output.
6476 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6478 * gdb.base/examine-backward.c (Barrier): New character array
6479 constant, to ensure that TestStrings is preceded by a string
6482 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6484 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6485 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6486 and implicit pointer into such a location.
6488 2017-03-16 Doug Evans <dje@google.com>
6490 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6492 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6494 * gdb.cp/m-static.exp: Fix expectation for prototype of
6495 test5.single_constructor and single_constructor::single_constructor.
6497 2017-03-16 Doug Evans <dje@google.com>
6499 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6500 * gdb.guile/scm-lazy-string.c: New file.
6501 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6502 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6503 for pointer, array, typedef lazy strings.
6505 2017-03-16 Doug Evans <dje@google.com>
6507 PR python/17728, python/18439, python/18779
6508 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6509 * gdb.python/py-lazy-string.c (pointer): New typedef.
6510 (main): New locals ptr, array, typedef_ptr.
6511 * gdb.python/py-value.exp: Move lazy string tests to ...
6512 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6513 array, typedef lazy strings.
6515 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6517 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6518 Add optional 'test' parameter.
6520 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6522 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6523 Skip for versions of DejaGnu < 1.5.
6525 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6527 * lib/gdb.exp (dejagnu_version): New proc.
6528 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6529 Use dejagnu_version.
6531 2017-03-10 Keith Seitz <keiths@redhat.com>
6534 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6535 type from destructor regexps.
6536 Add a branch which actually passes the test.
6537 Adjust "ptype t5i" test names.
6539 2017-03-08 Pedro Alves <palves@redhat.com>
6541 * gdb.base/step-over-exit.exp: Add explicit test message.
6543 2017-03-08 Pedro Alves <palves@redhat.com>
6546 * gdb.threads/interrupt-while-step-over.c: New file.
6547 * gdb.threads/interrupt-while-step-over.exp: New file.
6549 2017-03-08 Pedro Alves <palves@redhat.com>
6551 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6552 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6554 2017-03-08 Pedro Alves <palves@redhat.com>
6556 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6557 PKRU as not supported as a PASS.
6559 2017-03-08 Pedro Alves <palves@redhat.com>
6561 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6562 prefix instead of $binfile1/$binfile2.
6563 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6565 * gdb.python/py-completion.exp: Use "load python file" as test
6566 messages instead of unstable path names.
6568 2017-03-08 Pedro Alves <palves@redhat.com>
6569 Jan Kratochvil <jan.kratochvil@redhat.com>
6572 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6574 (top level): Call it.
6576 2017-03-08 Pedro Alves <palves@redhat.com>
6579 * gdb.tui/tui-nl-filtered-output.exp: New file.
6581 2017-03-08 Pedro Alves <palves@redhat.com>
6583 * gdb.base/completion.exp: Move TUI completion tests to ...
6584 * gdb.tui/completion.exp: ... this new file.
6586 2017-03-08 Pedro Alves <palves@redhat.com>
6588 * gdb.base/tui-disasm-long-lines.c,
6589 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6590 gdb.base/tui-layout.exp: Move to ...
6591 * gdb.tui/: ... this new directory.
6593 2017-03-07 Pedro Alves <palves@redhat.com>
6595 * gdb.base/tui-layout.c: New file.
6596 * gdb.base/tui-layout.exp: New file.
6598 2017-03-07 Pedro Alves <palves@redhat.com>
6600 * gdb.base/tui-layout.c: Rename to ...
6601 * gdb.base/tui-disasm-long-lines.c: ... this.
6602 * gdb.base/tui-layout.exp: Rename to ...
6603 * gdb.base/tui-disasm-long-lines.exp: ... this.
6605 2017-03-07 Pedro Alves <palves@redhat.com>
6607 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6609 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6611 * i386-mpx-call.c: New file.
6612 * i386-mpx-call.exp: New file.
6614 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6616 * gdb.arch/powerpc-power.exp: Delete test.
6617 * gdb.arch/powerpc-power.s: Likewise.
6618 * gdb.disasm/disassembler-options.exp: New test.
6619 * gdb.arch/powerpc-altivec.exp: Likewise.
6620 * gdb.arch/powerpc-altivec.s: Likewise.
6621 * gdb.arch/powerpc-altivec2.exp: Likewise.
6622 * gdb.arch/powerpc-altivec2.s: Likewise.
6623 * gdb.arch/powerpc-altivec3.exp: Likewise.
6624 * gdb.arch/powerpc-altivec3.s: Likewise.
6625 * gdb.arch/powerpc-power7.exp: Likewise.
6626 * gdb.arch/powerpc-power7.s: Likewise.
6627 * gdb.arch/powerpc-power8.exp: Likewise.
6628 * gdb.arch/powerpc-power8.s: Likewise.
6629 * gdb.arch/powerpc-power9.exp: Likewise.
6630 * gdb.arch/powerpc-power9.s: Likewise.
6631 * gdb.arch/powerpc-vsx.exp: Likewise.
6632 * gdb.arch/powerpc-vsx.s: Likewise.
6633 * gdb.arch/powerpc-vsx2.exp: Likewise.
6634 * gdb.arch/powerpc-vsx2.s: Likewise.
6635 * gdb.arch/powerpc-vsx3.exp: Likewise.
6636 * gdb.arch/powerpc-vsx3.s: Likewise.
6637 * gdb.arch/arm-disassembler-options.exp: Likewise.
6638 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6639 * gdb.arch/s390-disassembler-options.exp: Likewise.
6641 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6643 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6644 (check_supported_features): ... this. Changed return type to void.
6645 (supports_rdseed): New static global.
6646 (rdseed): Check supports_rdseed.
6647 (initialize): Call check_supported_features.
6649 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6651 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6652 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6654 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6655 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6657 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6659 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6662 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6664 * gdb.dwarf2/formdata16.c: New file.
6665 * gdb.dwarf2/formdata16.exp: New file.
6666 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6668 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6670 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6671 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6672 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6673 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6676 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6678 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6680 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6683 * gdb.base/maint.exp: Add testcases for when the commands do
6686 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6688 * gdb.cp/chained-calls.exp: Use p instead of P.
6690 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6692 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6693 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6695 2017-02-14 Tom Tromey <tom@tromey.com>
6698 * gdb.python/py-events.exp: Add before_prompt event tests.
6700 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6702 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6704 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6706 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6707 (main): Call my_unique_function_name.
6708 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6709 completion of patterns with a single match.
6710 Add missing -re switches to gdb_test_multiple calls.
6712 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6714 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6715 return if core file is not recognized.
6717 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6719 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6722 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6724 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6727 2017-02-10 Tom Tromey <tom@tromey.com>
6729 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6731 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6734 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6736 2017-02-08 Jerome Guitton <guitton@adacore.com>
6738 * gdb.base/define.exp: Add test for command abbreviations
6741 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6743 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6744 * gdb.reverse/insn-reverse-x86.c: New file.
6746 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6749 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6751 2017-02-03 Tom Tromey <tom@tromey.com>
6754 * gdb.rust/simple.exp: Add new tests.
6756 2017-02-02 Pedro Alves <palves@redhat.com>
6758 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6761 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6763 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6764 taking a 2-byte value out of a 4-byte DWARF implicit value on
6766 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6767 logic. Add test cases for DW_OP_implicit.
6769 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6771 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6773 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6775 * gdb.btrace/enable.exp: Call gdb_exit before
6776 skip_gdbserver_tests.
6778 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6780 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6783 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6785 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6786 the test is skipped.
6787 * gdb.btrace/data.exp: Likewise.
6788 * gdb.btrace/delta.exp: Likewise.
6789 * gdb.btrace/dlopen.exp: Likewise.
6790 * gdb.btrace/enable-running.exp: Likewise.
6791 * gdb.btrace/enable.exp: Likewise.
6792 * gdb.btrace/exception.exp: Likewise.
6793 * gdb.btrace/function_call_history.exp: Likewise.
6794 * gdb.btrace/gcore.exp: Likewise.
6795 * gdb.btrace/instruction_history.exp: Likewise.
6796 * gdb.btrace/multi-thread-step.exp: Likewise.
6797 * gdb.btrace/nohist.exp: Likewise.
6798 * gdb.btrace/non-stop.exp: Likewise.
6799 * gdb.btrace/reconnect.exp: Likewise.
6800 * gdb.btrace/record_goto-step.exp: Likewise.
6801 * gdb.btrace/record_goto.exp: Likewise.
6802 * gdb.btrace/rn-dl-bind.exp: Likewise.
6803 * gdb.btrace/segv.exp: Likewise.
6804 * gdb.btrace/step.exp: Likewise.
6805 * gdb.btrace/stepi.exp: Likewise.
6806 * gdb.btrace/tailcall-only.exp: Likewise.
6807 * gdb.btrace/tailcall.exp: Likewise.
6808 * gdb.btrace/tsx.exp: Likewise.
6809 * gdb.btrace/unknown_functions.exp: Likewise.
6810 * gdb.btrace/vdso.exp: Likewise.
6812 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6814 * gdb.btrace/enable-running.c: New.
6815 * gdb.btrace/enable-running.exp: New.
6817 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6819 * gdb.arch/amd64-gs_base.c: New file.
6820 * gdb.arch/amd64-gs_base.exp: New file.
6822 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6824 * lib/memory.exp: Remove spurious empty newlines.
6826 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6828 * gdb.python/py-bad-printers.exp: Load python file using "source".
6829 * gdb.python/py-events.exp: Likewise.
6830 * gdb.python/py-evsignal.exp: Likewise.
6831 * gdb.python/py-evthreads.exp: Likewise.
6832 * gdb.python/py-frame-args.exp: Likewise.
6833 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6834 * gdb.python/py-framefilter-mi.exp: Likewise.
6835 * gdb.python/py-framefilter.exp: Likewise.
6836 * gdb.python/py-mi.exp: Likewise.
6837 * gdb.python/py-pp-maint.exp: Likewise.
6838 * gdb.python/py-pp-registration.exp: Likewise.
6839 * gdb.python/py-prettyprint.exp: Likewise.
6840 (run_lang_tests): Likewise.
6841 * gdb.python/py-typeprint.exp: Likewise.
6843 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6845 * lib/memory.exp: New file.
6846 * lib/gdb.exp: Load memory.exp.
6847 * gdb.base/memattr.exp (delete_memory): Move proc to
6848 lib/memory.exp and rename to delete_memory_regions.
6849 Replace delete_memory with delete_memory_regions.
6850 Cleanup memory regions before tests.
6851 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6854 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6856 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6858 (initialize): New function conditionally defined.
6859 (testcases): Move within conditional block.
6860 (main): Call initialize.
6861 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6862 of gdb.reverse/insn-reverse.c.
6863 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6864 gdb.reverse/insn-reverse.c.
6866 2017-01-26 Yao Qi <yao.qi@linaro.org>
6868 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6869 disassemble on address 0.
6871 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6872 Yao Qi <yao.qi@linaro.org>
6874 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6875 * gdb.dwarf2/implptr-64bit.S: Remove.
6876 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6877 variables in caller's context. Add DW_OP_implicit_value.
6879 2017-01-25 Yao Qi <yao.qi@linaro.org>
6881 * lib/dwarf.exp (Dwarf::_location): Handle
6882 DW_OP_GNU_implicit_pointer with proper size.
6884 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6886 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6887 and add untested calls.
6889 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6891 * gdb.python/python.exp: Check line number against what GDB thinks
6892 the line number is for func1.
6894 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6896 * gdb.dlang/debug-expr.exp: New file.
6898 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6900 Fix test names for the following files:
6902 * gdb.ada/exec_changed.exp
6903 * gdb.ada/info_types.exp
6904 * gdb.arch/aarch64-atomic-inst.exp
6905 * gdb.arch/aarch64-fp.exp
6906 * gdb.arch/altivec-abi.exp
6907 * gdb.arch/altivec-regs.exp
6908 * gdb.arch/amd64-byte.exp
6909 * gdb.arch/amd64-disp-step.exp
6910 * gdb.arch/amd64-dword.exp
6911 * gdb.arch/amd64-entry-value-inline.exp
6912 * gdb.arch/amd64-entry-value-param.exp
6913 * gdb.arch/amd64-entry-value-paramref.exp
6914 * gdb.arch/amd64-entry-value.exp
6915 * gdb.arch/amd64-i386-address.exp
6916 * gdb.arch/amd64-invalid-stack-middle.exp
6917 * gdb.arch/amd64-invalid-stack-top.exp
6918 * gdb.arch/amd64-optimout-repeat.exp
6919 * gdb.arch/amd64-prologue-skip.exp
6920 * gdb.arch/amd64-prologue-xmm.exp
6921 * gdb.arch/amd64-stap-special-operands.exp
6922 * gdb.arch/amd64-stap-wrong-subexp.exp
6923 * gdb.arch/amd64-tailcall-cxx.exp
6924 * gdb.arch/amd64-tailcall-noret.exp
6925 * gdb.arch/amd64-tailcall-ret.exp
6926 * gdb.arch/amd64-tailcall-self.exp
6927 * gdb.arch/amd64-word.exp
6928 * gdb.arch/arm-bl-branch-dest.exp
6929 * gdb.arch/arm-disp-step.exp
6930 * gdb.arch/arm-neon.exp
6931 * gdb.arch/arm-single-step-kernel-helper.exp
6932 * gdb.arch/avr-flash-qualifier.exp
6933 * gdb.arch/disp-step-insn-reloc.exp
6934 * gdb.arch/e500-abi.exp
6935 * gdb.arch/e500-regs.exp
6936 * gdb.arch/ftrace-insn-reloc.exp
6937 * gdb.arch/i386-avx512.exp
6938 * gdb.arch/i386-bp_permanent.exp
6939 * gdb.arch/i386-byte.exp
6940 * gdb.arch/i386-cfi-notcurrent.exp
6941 * gdb.arch/i386-disp-step.exp
6942 * gdb.arch/i386-dr3-watch.exp
6943 * gdb.arch/i386-float.exp
6944 * gdb.arch/i386-gnu-cfi.exp
6945 * gdb.arch/i386-mpx-map.exp
6946 * gdb.arch/i386-mpx-sigsegv.exp
6947 * gdb.arch/i386-mpx-simple_segv.exp
6948 * gdb.arch/i386-mpx.exp
6949 * gdb.arch/i386-permbkpt.exp
6950 * gdb.arch/i386-prologue.exp
6951 * gdb.arch/i386-signal.exp
6952 * gdb.arch/i386-size-overlap.exp
6953 * gdb.arch/i386-unwind.exp
6954 * gdb.arch/i386-word.exp
6955 * gdb.arch/mips-fcr.exp
6956 * gdb.arch/powerpc-d128-regs.exp
6957 * gdb.arch/powerpc-stackless.exp
6958 * gdb.arch/ppc64-atomic-inst.exp
6959 * gdb.arch/s390-stackless.exp
6960 * gdb.arch/s390-tdbregs.exp
6961 * gdb.arch/s390-vregs.exp
6962 * gdb.arch/sparc-sysstep.exp
6963 * gdb.arch/thumb-bx-pc.exp
6964 * gdb.arch/thumb-singlestep.exp
6965 * gdb.arch/thumb2-it.exp
6966 * gdb.arch/vsx-regs.exp
6967 * gdb.asm/asm-source.exp
6968 * gdb.base/a2-run.exp
6969 * gdb.base/advance.exp
6970 * gdb.base/all-bin.exp
6973 * gdb.base/arithmet.exp
6974 * gdb.base/async-shell.exp
6975 * gdb.base/async.exp
6976 * gdb.base/attach-pie-noexec.exp
6977 * gdb.base/attach-twice.exp
6978 * gdb.base/auto-load.exp
6980 * gdb.base/bitfields.exp
6981 * gdb.base/break-always.exp
6982 * gdb.base/break-caller-line.exp
6983 * gdb.base/break-entry.exp
6984 * gdb.base/break-inline.exp
6985 * gdb.base/break-on-linker-gcd-function.exp
6986 * gdb.base/break-probes.exp
6987 * gdb.base/break.exp
6988 * gdb.base/breakpoint-shadow.exp
6989 * gdb.base/call-ar-st.exp
6990 * gdb.base/call-sc.exp
6991 * gdb.base/call-signal-resume.exp
6992 * gdb.base/call-strs.exp
6993 * gdb.base/callfuncs.exp
6994 * gdb.base/catch-fork-static.exp
6995 * gdb.base/catch-gdb-caused-signals.exp
6996 * gdb.base/catch-load.exp
6997 * gdb.base/catch-signal-fork.exp
6998 * gdb.base/catch-signal.exp
6999 * gdb.base/catch-syscall.exp
7000 * gdb.base/charset.exp
7001 * gdb.base/checkpoint.exp
7002 * gdb.base/chng-syms.exp
7003 * gdb.base/code-expr.exp
7004 * gdb.base/code_elim.exp
7005 * gdb.base/commands.exp
7006 * gdb.base/completion.exp
7007 * gdb.base/complex.exp
7008 * gdb.base/cond-expr.exp
7009 * gdb.base/condbreak.exp
7010 * gdb.base/consecutive.exp
7011 * gdb.base/continue-all-already-running.exp
7012 * gdb.base/coredump-filter.exp
7013 * gdb.base/corefile.exp
7015 * gdb.base/debug-expr.exp
7016 * gdb.base/define.exp
7018 * gdb.base/disabled-location.exp
7019 * gdb.base/disasm-end-cu.exp
7020 * gdb.base/disasm-optim.exp
7021 * gdb.base/display.exp
7022 * gdb.base/duplicate-bp.exp
7023 * gdb.base/ena-dis-br.exp
7024 * gdb.base/ending-run.exp
7025 * gdb.base/enumval.exp
7026 * gdb.base/environ.exp
7027 * gdb.base/eu-strip-infcall.exp
7028 * gdb.base/eval-avoid-side-effects.exp
7029 * gdb.base/eval-skip.exp
7030 * gdb.base/exitsignal.exp
7031 * gdb.base/expand-psymtabs.exp
7032 * gdb.base/filesym.exp
7033 * gdb.base/find-unmapped.exp
7034 * gdb.base/finish.exp
7035 * gdb.base/float.exp
7036 * gdb.base/foll-exec-mode.exp
7037 * gdb.base/foll-exec.exp
7038 * gdb.base/foll-fork.exp
7039 * gdb.base/fortran-sym-case.exp
7040 * gdb.base/freebpcmd.exp
7041 * gdb.base/func-ptr.exp
7042 * gdb.base/func-ptrs.exp
7043 * gdb.base/funcargs.exp
7044 * gdb.base/gcore-buffer-overflow.exp
7045 * gdb.base/gcore-relro-pie.exp
7046 * gdb.base/gcore-relro.exp
7047 * gdb.base/gcore.exp
7048 * gdb.base/gdb1090.exp
7049 * gdb.base/gdb11530.exp
7050 * gdb.base/gdb11531.exp
7051 * gdb.base/gdb1821.exp
7052 * gdb.base/gdbindex-stabs.exp
7053 * gdb.base/gdbvars.exp
7054 * gdb.base/hbreak.exp
7055 * gdb.base/hbreak2.exp
7056 * gdb.base/included.exp
7057 * gdb.base/infcall-input.exp
7058 * gdb.base/inferior-died.exp
7059 * gdb.base/infnan.exp
7060 * gdb.base/info-macros.exp
7061 * gdb.base/info-os.exp
7062 * gdb.base/info-proc.exp
7063 * gdb.base/info-shared.exp
7064 * gdb.base/info-target.exp
7065 * gdb.base/infoline.exp
7066 * gdb.base/interp.exp
7067 * gdb.base/interrupt.exp
7068 * gdb.base/jit-reader.exp
7069 * gdb.base/jit-simple.exp
7070 * gdb.base/kill-after-signal.exp
7071 * gdb.base/kill-detach-inferiors-cmd.exp
7072 * gdb.base/label.exp
7073 * gdb.base/langs.exp
7074 * gdb.base/ldbl_e308.exp
7075 * gdb.base/line-symtabs.exp
7076 * gdb.base/linespecs.exp
7078 * gdb.base/long_long.exp
7079 * gdb.base/longest-types.exp
7080 * gdb.base/maint.exp
7081 * gdb.base/max-value-size.exp
7082 * gdb.base/memattr.exp
7083 * gdb.base/mips_pro.exp
7084 * gdb.base/morestack.exp
7085 * gdb.base/moribund-step.exp
7086 * gdb.base/multi-forks.exp
7087 * gdb.base/nested-addr.exp
7088 * gdb.base/nextoverexit.exp
7089 * gdb.base/noreturn-finish.exp
7090 * gdb.base/noreturn-return.exp
7091 * gdb.base/nostdlib.exp
7092 * gdb.base/offsets.exp
7093 * gdb.base/opaque.exp
7094 * gdb.base/pc-fp.exp
7095 * gdb.base/permissions.exp
7096 * gdb.base/print-symbol-loading.exp
7097 * gdb.base/prologue-include.exp
7098 * gdb.base/psymtab.exp
7099 * gdb.base/ptype.exp
7100 * gdb.base/random-signal.exp
7101 * gdb.base/randomize.exp
7102 * gdb.base/range-stepping.exp
7103 * gdb.base/readline-ask.exp
7104 * gdb.base/recpar.exp
7105 * gdb.base/recurse.exp
7106 * gdb.base/relational.exp
7107 * gdb.base/restore.exp
7108 * gdb.base/return-nodebug.exp
7109 * gdb.base/return.exp
7110 * gdb.base/run-after-attach.exp
7111 * gdb.base/save-bp.exp
7112 * gdb.base/scope.exp
7113 * gdb.base/sect-cmd.exp
7114 * gdb.base/set-lang-auto.exp
7115 * gdb.base/set-noassign.exp
7116 * gdb.base/setvar.exp
7117 * gdb.base/sigall.exp
7118 * gdb.base/sigbpt.exp
7119 * gdb.base/siginfo-addr.exp
7120 * gdb.base/siginfo-infcall.exp
7121 * gdb.base/siginfo-obj.exp
7122 * gdb.base/siginfo.exp
7123 * gdb.base/signals-state-child.exp
7124 * gdb.base/signest.exp
7125 * gdb.base/sigstep.exp
7126 * gdb.base/sizeof.exp
7128 * gdb.base/solib-corrupted.exp
7129 * gdb.base/solib-nodir.exp
7130 * gdb.base/solib-search.exp
7131 * gdb.base/stack-checking.exp
7132 * gdb.base/stale-infcall.exp
7133 * gdb.base/stap-probe.exp
7134 * gdb.base/start.exp
7135 * gdb.base/step-break.exp
7136 * gdb.base/step-bt.exp
7137 * gdb.base/step-line.exp
7138 * gdb.base/step-over-exit.exp
7139 * gdb.base/step-over-syscall.exp
7140 * gdb.base/step-resume-infcall.exp
7141 * gdb.base/step-test.exp
7142 * gdb.base/store.exp
7143 * gdb.base/structs3.exp
7144 * gdb.base/sym-file.exp
7145 * gdb.base/symbol-without-target_section.exp
7147 * gdb.base/testenv.exp
7148 * gdb.base/ui-redirect.exp
7149 * gdb.base/until.exp
7150 * gdb.base/unwindonsignal.exp
7151 * gdb.base/value-double-free.exp
7152 * gdb.base/vla-datatypes.exp
7153 * gdb.base/vla-ptr.exp
7154 * gdb.base/vla-sideeffect.exp
7155 * gdb.base/volatile.exp
7156 * gdb.base/watch-cond-infcall.exp
7157 * gdb.base/watch-cond.exp
7158 * gdb.base/watch-non-mem.exp
7159 * gdb.base/watch-read.exp
7160 * gdb.base/watch-vfork.exp
7161 * gdb.base/watchpoint-cond-gone.exp
7162 * gdb.base/watchpoint-delete.exp
7163 * gdb.base/watchpoint-hw-hit-once.exp
7164 * gdb.base/watchpoint-hw.exp
7165 * gdb.base/watchpoint-stops-at-right-insn.exp
7166 * gdb.base/watchpoints.exp
7167 * gdb.base/wchar.exp
7168 * gdb.base/whatis-exp.exp
7169 * gdb.btrace/buffer-size.exp
7170 * gdb.btrace/data.exp
7171 * gdb.btrace/delta.exp
7172 * gdb.btrace/dlopen.exp
7173 * gdb.btrace/enable.exp
7174 * gdb.btrace/exception.exp
7175 * gdb.btrace/function_call_history.exp
7176 * gdb.btrace/gcore.exp
7177 * gdb.btrace/instruction_history.exp
7178 * gdb.btrace/nohist.exp
7179 * gdb.btrace/reconnect.exp
7180 * gdb.btrace/record_goto-step.exp
7181 * gdb.btrace/record_goto.exp
7182 * gdb.btrace/rn-dl-bind.exp
7183 * gdb.btrace/segv.exp
7184 * gdb.btrace/step.exp
7185 * gdb.btrace/stepi.exp
7186 * gdb.btrace/tailcall-only.exp
7187 * gdb.btrace/tailcall.exp
7188 * gdb.btrace/tsx.exp
7189 * gdb.btrace/unknown_functions.exp
7190 * gdb.btrace/vdso.exp
7191 * gdb.compile/compile-ifunc.exp
7192 * gdb.compile/compile-ops.exp
7193 * gdb.compile/compile-print.exp
7194 * gdb.compile/compile-setjmp.exp
7195 * gdb.cp/abstract-origin.exp
7196 * gdb.cp/ambiguous.exp
7197 * gdb.cp/annota2.exp
7198 * gdb.cp/annota3.exp
7199 * gdb.cp/anon-ns.exp
7200 * gdb.cp/anon-struct.exp
7201 * gdb.cp/anon-union.exp
7202 * gdb.cp/arg-reference.exp
7203 * gdb.cp/baseenum.exp
7205 * gdb.cp/breakpoint.exp
7206 * gdb.cp/bs15503.exp
7209 * gdb.cp/chained-calls.exp
7211 * gdb.cp/classes.exp
7212 * gdb.cp/cmpd-minsyms.exp
7213 * gdb.cp/converts.exp
7214 * gdb.cp/cp-relocate.exp
7215 * gdb.cp/cpcompletion.exp
7216 * gdb.cp/cpexprs.exp
7217 * gdb.cp/cplabel.exp
7218 * gdb.cp/cplusfuncs.exp
7219 * gdb.cp/cpsizeof.exp
7221 * gdb.cp/derivation.exp
7222 * gdb.cp/destrprint.exp
7223 * gdb.cp/dispcxx.exp
7224 * gdb.cp/enum-class.exp
7225 * gdb.cp/exception.exp
7226 * gdb.cp/exceptprint.exp
7227 * gdb.cp/expand-psymtabs-cxx.exp
7228 * gdb.cp/expand-sals.exp
7229 * gdb.cp/extern-c.exp
7230 * gdb.cp/filename.exp
7231 * gdb.cp/formatted-ref.exp
7232 * gdb.cp/fpointer.exp
7233 * gdb.cp/gdb1355.exp
7234 * gdb.cp/gdb2495.exp
7236 * gdb.cp/impl-this.exp
7237 * gdb.cp/infcall-dlopen.exp
7238 * gdb.cp/inherit.exp
7239 * gdb.cp/iostream.exp
7243 * gdb.cp/m-static.exp
7244 * gdb.cp/mb-ctor.exp
7245 * gdb.cp/mb-inline.exp
7246 * gdb.cp/mb-templates.exp
7247 * gdb.cp/member-name.exp
7248 * gdb.cp/member-ptr.exp
7249 * gdb.cp/meth-typedefs.exp
7251 * gdb.cp/method2.exp
7252 * gdb.cp/minsym-fallback.exp
7254 * gdb.cp/namelessclass.exp
7255 * gdb.cp/namespace-enum.exp
7256 * gdb.cp/namespace-nested-import.exp
7257 * gdb.cp/namespace.exp
7258 * gdb.cp/nextoverthrow.exp
7259 * gdb.cp/no-dmgl-verbose.exp
7260 * gdb.cp/non-trivial-retval.exp
7261 * gdb.cp/noparam.exp
7263 * gdb.cp/nsimport.exp
7264 * gdb.cp/nsnested.exp
7265 * gdb.cp/nsnoimports.exp
7266 * gdb.cp/nsrecurs.exp
7267 * gdb.cp/nsstress.exp
7268 * gdb.cp/nsusing.exp
7269 * gdb.cp/operator.exp
7270 * gdb.cp/oranking.exp
7271 * gdb.cp/overload-const.exp
7272 * gdb.cp/overload.exp
7273 * gdb.cp/ovldbreak.exp
7275 * gdb.cp/paren-type.exp
7276 * gdb.cp/parse-lang.exp
7277 * gdb.cp/pass-by-ref.exp
7278 * gdb.cp/pr-1023.exp
7279 * gdb.cp/pr-1210.exp
7281 * gdb.cp/pr10687.exp
7282 * gdb.cp/pr12028.exp
7283 * gdb.cp/pr17132.exp
7284 * gdb.cp/pr17494.exp
7288 * gdb.cp/printmethod.exp
7290 * gdb.cp/psymtab-parameter.exp
7291 * gdb.cp/ptype-cv-cp.exp
7292 * gdb.cp/ptype-flags.exp
7293 * gdb.cp/re-set-overloaded.exp
7294 * gdb.cp/ref-types.exp
7296 * gdb.cp/scope-err.exp
7299 * gdb.cp/static-method.exp
7300 * gdb.cp/static-print-quit.exp
7301 * gdb.cp/temargs.exp
7302 * gdb.cp/templates.exp
7303 * gdb.cp/try_catch.exp
7304 * gdb.cp/typedef-operator.exp
7306 * gdb.cp/userdef.exp
7307 * gdb.cp/using-crash.exp
7308 * gdb.cp/var-tag.exp
7309 * gdb.cp/virtbase.exp
7310 * gdb.cp/virtfunc.exp
7311 * gdb.cp/virtfunc2.exp
7312 * gdb.cp/vla-cxx.exp
7313 * gdb.disasm/t01_mov.exp
7314 * gdb.disasm/t02_mova.exp
7315 * gdb.disasm/t03_add.exp
7316 * gdb.disasm/t04_sub.exp
7317 * gdb.disasm/t05_cmp.exp
7318 * gdb.disasm/t06_ari2.exp
7319 * gdb.disasm/t07_ari3.exp
7320 * gdb.disasm/t08_or.exp
7321 * gdb.disasm/t09_xor.exp
7322 * gdb.disasm/t10_and.exp
7323 * gdb.disasm/t11_logs.exp
7324 * gdb.disasm/t12_bit.exp
7325 * gdb.disasm/t13_otr.exp
7326 * gdb.dlang/circular.exp
7327 * gdb.dwarf2/arr-stride.exp
7328 * gdb.dwarf2/arr-subrange.exp
7329 * gdb.dwarf2/atomic-type.exp
7330 * gdb.dwarf2/bad-regnum.exp
7331 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7332 * gdb.dwarf2/callframecfa.exp
7333 * gdb.dwarf2/clztest.exp
7334 * gdb.dwarf2/corrupt.exp
7335 * gdb.dwarf2/data-loc.exp
7336 * gdb.dwarf2/dup-psym.exp
7337 * gdb.dwarf2/dw2-anon-mptr.exp
7338 * gdb.dwarf2/dw2-anonymous-func.exp
7339 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7340 * gdb.dwarf2/dw2-bad-unresolved.exp
7341 * gdb.dwarf2/dw2-basic.exp
7342 * gdb.dwarf2/dw2-canonicalize-type.exp
7343 * gdb.dwarf2/dw2-case-insensitive.exp
7344 * gdb.dwarf2/dw2-common-block.exp
7345 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7346 * gdb.dwarf2/dw2-compressed.exp
7347 * gdb.dwarf2/dw2-const.exp
7348 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7349 * gdb.dwarf2/dw2-cu-size.exp
7350 * gdb.dwarf2/dw2-dup-frame.exp
7351 * gdb.dwarf2/dw2-entry-value.exp
7352 * gdb.dwarf2/dw2-icycle.exp
7353 * gdb.dwarf2/dw2-ifort-parameter.exp
7354 * gdb.dwarf2/dw2-inline-break.exp
7355 * gdb.dwarf2/dw2-inline-param.exp
7356 * gdb.dwarf2/dw2-intercu.exp
7357 * gdb.dwarf2/dw2-intermix.exp
7358 * gdb.dwarf2/dw2-lexical-block-bare.exp
7359 * gdb.dwarf2/dw2-linkage-name-trust.exp
7360 * gdb.dwarf2/dw2-minsym-in-cu.exp
7361 * gdb.dwarf2/dw2-noloc.exp
7362 * gdb.dwarf2/dw2-op-call.exp
7363 * gdb.dwarf2/dw2-op-out-param.exp
7364 * gdb.dwarf2/dw2-opt-structptr.exp
7365 * gdb.dwarf2/dw2-param-error.exp
7366 * gdb.dwarf2/dw2-producer.exp
7367 * gdb.dwarf2/dw2-ranges-base.exp
7368 * gdb.dwarf2/dw2-ref-missing-frame.exp
7369 * gdb.dwarf2/dw2-reg-undefined.exp
7370 * gdb.dwarf2/dw2-regno-invalid.exp
7371 * gdb.dwarf2/dw2-restore.exp
7372 * gdb.dwarf2/dw2-restrict.exp
7373 * gdb.dwarf2/dw2-single-line-discriminators.exp
7374 * gdb.dwarf2/dw2-strp.exp
7375 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7376 * gdb.dwarf2/dw2-unresolved.exp
7377 * gdb.dwarf2/dw2-var-zero-addr.exp
7378 * gdb.dwarf2/dw4-sig-types.exp
7379 * gdb.dwarf2/dwz.exp
7380 * gdb.dwarf2/dynarr-ptr.exp
7381 * gdb.dwarf2/enum-type.exp
7382 * gdb.dwarf2/gdb-index.exp
7383 * gdb.dwarf2/implptr-64bit.exp
7384 * gdb.dwarf2/implptr-optimized-out.exp
7385 * gdb.dwarf2/implptr.exp
7386 * gdb.dwarf2/implref-array.exp
7387 * gdb.dwarf2/implref-const.exp
7388 * gdb.dwarf2/implref-global.exp
7389 * gdb.dwarf2/implref-struct.exp
7390 * gdb.dwarf2/mac-fileno.exp
7391 * gdb.dwarf2/main-subprogram.exp
7392 * gdb.dwarf2/member-ptr-forwardref.exp
7393 * gdb.dwarf2/method-ptr.exp
7394 * gdb.dwarf2/missing-sig-type.exp
7395 * gdb.dwarf2/nonvar-access.exp
7396 * gdb.dwarf2/opaque-type-lookup.exp
7397 * gdb.dwarf2/pieces-optimized-out.exp
7398 * gdb.dwarf2/pieces.exp
7399 * gdb.dwarf2/pr10770.exp
7400 * gdb.dwarf2/pr13961.exp
7401 * gdb.dwarf2/staticvirtual.exp
7402 * gdb.dwarf2/subrange.exp
7403 * gdb.dwarf2/symtab-producer.exp
7404 * gdb.dwarf2/trace-crash.exp
7405 * gdb.dwarf2/typeddwarf.exp
7406 * gdb.dwarf2/valop.exp
7407 * gdb.dwarf2/watch-notconst.exp
7408 * gdb.fortran/array-element.exp
7409 * gdb.fortran/charset.exp
7410 * gdb.fortran/common-block.exp
7411 * gdb.fortran/complex.exp
7412 * gdb.fortran/derived-type-function.exp
7413 * gdb.fortran/derived-type.exp
7414 * gdb.fortran/logical.exp
7415 * gdb.fortran/module.exp
7416 * gdb.fortran/multi-dim.exp
7417 * gdb.fortran/nested-funcs.exp
7418 * gdb.fortran/print-formatted.exp
7419 * gdb.fortran/subarray.exp
7420 * gdb.fortran/vla-alloc-assoc.exp
7421 * gdb.fortran/vla-datatypes.exp
7422 * gdb.fortran/vla-history.exp
7423 * gdb.fortran/vla-ptr-info.exp
7424 * gdb.fortran/vla-ptype-sub.exp
7425 * gdb.fortran/vla-ptype.exp
7426 * gdb.fortran/vla-sizeof.exp
7427 * gdb.fortran/vla-type.exp
7428 * gdb.fortran/vla-value-sub-arbitrary.exp
7429 * gdb.fortran/vla-value-sub-finish.exp
7430 * gdb.fortran/vla-value-sub.exp
7431 * gdb.fortran/vla-value.exp
7432 * gdb.fortran/whatis_type.exp
7434 * gdb.go/handcall.exp
7436 * gdb.go/integers.exp
7437 * gdb.go/methods.exp
7438 * gdb.go/package.exp
7439 * gdb.go/strings.exp
7442 * gdb.guile/scm-arch.exp
7443 * gdb.guile/scm-block.exp
7444 * gdb.guile/scm-breakpoint.exp
7445 * gdb.guile/scm-cmd.exp
7446 * gdb.guile/scm-disasm.exp
7447 * gdb.guile/scm-equal.exp
7448 * gdb.guile/scm-frame-args.exp
7449 * gdb.guile/scm-frame-inline.exp
7450 * gdb.guile/scm-frame.exp
7451 * gdb.guile/scm-iterator.exp
7452 * gdb.guile/scm-math.exp
7453 * gdb.guile/scm-objfile.exp
7454 * gdb.guile/scm-ports.exp
7455 * gdb.guile/scm-symbol.exp
7456 * gdb.guile/scm-symtab.exp
7457 * gdb.guile/scm-value-cc.exp
7458 * gdb.guile/types-module.exp
7459 * gdb.linespec/break-ask.exp
7460 * gdb.linespec/cpexplicit.exp
7461 * gdb.linespec/explicit.exp
7462 * gdb.linespec/keywords.exp
7463 * gdb.linespec/linespec.exp
7464 * gdb.linespec/ls-dollar.exp
7465 * gdb.linespec/ls-errs.exp
7466 * gdb.linespec/skip-two.exp
7467 * gdb.linespec/thread.exp
7468 * gdb.mi/mi-async.exp
7469 * gdb.mi/mi-basics.exp
7470 * gdb.mi/mi-break.exp
7471 * gdb.mi/mi-catch-load.exp
7473 * gdb.mi/mi-cmd-param-changed.exp
7474 * gdb.mi/mi-console.exp
7475 * gdb.mi/mi-detach.exp
7476 * gdb.mi/mi-disassemble.exp
7477 * gdb.mi/mi-eval.exp
7478 * gdb.mi/mi-file-transfer.exp
7479 * gdb.mi/mi-file.exp
7480 * gdb.mi/mi-fill-memory.exp
7481 * gdb.mi/mi-inheritance-syntax-error.exp
7482 * gdb.mi/mi-linespec-err-cp.exp
7483 * gdb.mi/mi-logging.exp
7484 * gdb.mi/mi-memory-changed.exp
7485 * gdb.mi/mi-read-memory.exp
7486 * gdb.mi/mi-record-changed.exp
7487 * gdb.mi/mi-reg-undefined.exp
7488 * gdb.mi/mi-regs.exp
7489 * gdb.mi/mi-return.exp
7490 * gdb.mi/mi-reverse.exp
7491 * gdb.mi/mi-simplerun.exp
7492 * gdb.mi/mi-solib.exp
7493 * gdb.mi/mi-stack.exp
7494 * gdb.mi/mi-stepi.exp
7495 * gdb.mi/mi-syn-frame.exp
7496 * gdb.mi/mi-until.exp
7497 * gdb.mi/mi-var-block.exp
7498 * gdb.mi/mi-var-child.exp
7499 * gdb.mi/mi-var-cmd.exp
7500 * gdb.mi/mi-var-cp.exp
7501 * gdb.mi/mi-var-display.exp
7502 * gdb.mi/mi-var-invalidate.exp
7503 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7504 * gdb.mi/mi-vla-fortran.exp
7505 * gdb.mi/mi-watch.exp
7506 * gdb.mi/mi2-var-child.exp
7507 * gdb.mi/user-selected-context-sync.exp
7508 * gdb.modula2/unbounded-array.exp
7509 * gdb.multi/dummy-frame-restore.exp
7510 * gdb.multi/multi-arch-exec.exp
7511 * gdb.multi/multi-arch.exp
7512 * gdb.multi/tids.exp
7513 * gdb.multi/watchpoint-multi.exp
7514 * gdb.opencl/callfuncs.exp
7515 * gdb.opencl/convs_casts.exp
7516 * gdb.opencl/datatypes.exp
7517 * gdb.opencl/operators.exp
7518 * gdb.opencl/vec_comps.exp
7519 * gdb.opt/clobbered-registers-O2.exp
7520 * gdb.opt/inline-break.exp
7521 * gdb.opt/inline-bt.exp
7522 * gdb.opt/inline-cmds.exp
7523 * gdb.opt/inline-locals.exp
7524 * gdb.pascal/case-insensitive-symbols.exp
7525 * gdb.pascal/floats.exp
7526 * gdb.pascal/gdb11492.exp
7527 * gdb.python/lib-types.exp
7528 * gdb.python/py-arch.exp
7529 * gdb.python/py-as-string.exp
7530 * gdb.python/py-bad-printers.exp
7531 * gdb.python/py-block.exp
7532 * gdb.python/py-breakpoint-create-fail.exp
7533 * gdb.python/py-breakpoint.exp
7534 * gdb.python/py-caller-is.exp
7535 * gdb.python/py-cmd.exp
7536 * gdb.python/py-explore-cc.exp
7537 * gdb.python/py-explore.exp
7538 * gdb.python/py-finish-breakpoint.exp
7539 * gdb.python/py-finish-breakpoint2.exp
7540 * gdb.python/py-frame-args.exp
7541 * gdb.python/py-frame-inline.exp
7542 * gdb.python/py-frame.exp
7543 * gdb.python/py-framefilter-mi.exp
7544 * gdb.python/py-infthread.exp
7545 * gdb.python/py-lazy-string.exp
7546 * gdb.python/py-linetable.exp
7547 * gdb.python/py-mi-events.exp
7548 * gdb.python/py-mi-objfile.exp
7549 * gdb.python/py-mi.exp
7550 * gdb.python/py-objfile.exp
7551 * gdb.python/py-pp-integral.exp
7552 * gdb.python/py-pp-maint.exp
7553 * gdb.python/py-pp-re-notag.exp
7554 * gdb.python/py-pp-registration.exp
7555 * gdb.python/py-recurse-unwind.exp
7556 * gdb.python/py-strfns.exp
7557 * gdb.python/py-symbol.exp
7558 * gdb.python/py-symtab.exp
7559 * gdb.python/py-sync-interp.exp
7560 * gdb.python/py-typeprint.exp
7561 * gdb.python/py-unwind-maint.exp
7562 * gdb.python/py-unwind.exp
7563 * gdb.python/py-value-cc.exp
7564 * gdb.python/py-xmethods.exp
7565 * gdb.reverse/amd64-tailcall-reverse.exp
7566 * gdb.reverse/break-precsave.exp
7567 * gdb.reverse/break-reverse.exp
7568 * gdb.reverse/consecutive-precsave.exp
7569 * gdb.reverse/consecutive-reverse.exp
7570 * gdb.reverse/finish-precsave.exp
7571 * gdb.reverse/finish-reverse-bkpt.exp
7572 * gdb.reverse/finish-reverse.exp
7573 * gdb.reverse/fstatat-reverse.exp
7574 * gdb.reverse/getresuid-reverse.exp
7575 * gdb.reverse/i386-precsave.exp
7576 * gdb.reverse/i386-reverse.exp
7577 * gdb.reverse/i386-sse-reverse.exp
7578 * gdb.reverse/i387-env-reverse.exp
7579 * gdb.reverse/i387-stack-reverse.exp
7580 * gdb.reverse/insn-reverse.exp
7581 * gdb.reverse/machinestate-precsave.exp
7582 * gdb.reverse/machinestate.exp
7583 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7584 * gdb.reverse/pipe-reverse.exp
7585 * gdb.reverse/readv-reverse.exp
7586 * gdb.reverse/recvmsg-reverse.exp
7587 * gdb.reverse/rerun-prec.exp
7588 * gdb.reverse/s390-mvcle.exp
7589 * gdb.reverse/step-precsave.exp
7590 * gdb.reverse/step-reverse.exp
7591 * gdb.reverse/time-reverse.exp
7592 * gdb.reverse/until-precsave.exp
7593 * gdb.reverse/until-reverse.exp
7594 * gdb.reverse/waitpid-reverse.exp
7595 * gdb.reverse/watch-precsave.exp
7596 * gdb.reverse/watch-reverse.exp
7597 * gdb.rust/generics.exp
7598 * gdb.rust/methods.exp
7599 * gdb.rust/modules.exp
7600 * gdb.rust/simple.exp
7601 * gdb.server/connect-with-no-symbol-file.exp
7602 * gdb.server/ext-attach.exp
7603 * gdb.server/ext-restart.exp
7604 * gdb.server/ext-wrapper.exp
7605 * gdb.server/file-transfer.exp
7606 * gdb.server/server-exec-info.exp
7607 * gdb.server/server-kill.exp
7608 * gdb.server/server-mon.exp
7609 * gdb.server/wrapper.exp
7610 * gdb.stabs/exclfwd.exp
7611 * gdb.stabs/gdb11479.exp
7612 * gdb.threads/clone-new-thread-event.exp
7613 * gdb.threads/corethreads.exp
7614 * gdb.threads/current-lwp-dead.exp
7615 * gdb.threads/dlopen-libpthread.exp
7616 * gdb.threads/gcore-thread.exp
7617 * gdb.threads/sigstep-threads.exp
7618 * gdb.threads/watchpoint-fork.exp
7619 * gdb.trace/actions-changed.exp
7620 * gdb.trace/backtrace.exp
7621 * gdb.trace/change-loc.exp
7622 * gdb.trace/circ.exp
7623 * gdb.trace/collection.exp
7624 * gdb.trace/disconnected-tracing.exp
7625 * gdb.trace/ftrace.exp
7626 * gdb.trace/mi-trace-frame-collected.exp
7627 * gdb.trace/mi-trace-unavailable.exp
7628 * gdb.trace/mi-traceframe-changed.exp
7629 * gdb.trace/mi-tsv-changed.exp
7630 * gdb.trace/no-attach-trace.exp
7631 * gdb.trace/passc-dyn.exp
7632 * gdb.trace/qtro.exp
7633 * gdb.trace/range-stepping.exp
7634 * gdb.trace/read-memory.exp
7635 * gdb.trace/save-trace.exp
7636 * gdb.trace/signal.exp
7637 * gdb.trace/status-stop.exp
7638 * gdb.trace/tfile.exp
7639 * gdb.trace/trace-break.exp
7640 * gdb.trace/trace-buffer-size.exp
7641 * gdb.trace/trace-condition.exp
7642 * gdb.trace/tracefile-pseudo-reg.exp
7643 * gdb.trace/tstatus.exp
7644 * gdb.trace/unavailable.exp
7645 * gdb.trace/while-dyn.exp
7646 * gdb.trace/while-stepping.exp
7648 2016-12-22 Doug Evans <xdje42@gmail.com>
7650 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7653 2016-12-19 Yao Qi <yao.qi@linaro.org>
7655 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7656 (test_with_self): Don't call do_steps_and_nexts, and remove
7657 code about stepping into xmalloc.
7659 2016-12-09 Yao Qi <yao.qi@linaro.org>
7661 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7663 2016-12-09 Yao Qi <yao.qi@linaro.org>
7665 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7667 2016-12-09 Pedro Alves <palves@redhat.com>
7669 * gdb.base/all-architectures-0.exp: New file.
7670 * gdb.base/all-architectures-1.exp: New file.
7671 * gdb.base/all-architectures-2.exp: New file.
7672 * gdb.base/all-architectures-3.exp: New file.
7673 * gdb.base/all-architectures-4.exp: New file.
7674 * gdb.base/all-architectures-5.exp: New file.
7675 * gdb.base/all-architectures-6.exp: New file.
7676 * gdb.base/all-architectures-7.exp: New file.
7677 * gdb.base/all-architectures.exp.in: New file.
7679 2016-12-09 Yao Qi <yao.qi@linaro.org>
7681 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7683 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7685 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7687 Remove useless pattern-matching code.
7689 2016-12-02 Pedro Alves <palves@redhat.com>
7691 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7693 (top level): Call it.
7695 2016-12-02 Pedro Alves <palves@redhat.com>
7697 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7699 (top level): Call it.
7701 2016-12-02 Pedro Alves <palves@redhat.com>
7704 * gdb.base/commands.exp (user_defined_command_args_eval): New
7706 (top level): Call it.
7708 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7710 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7713 2016-12-02 Tom Tromey <tom@tromey.com>
7715 * gdb.dwarf2/main-subprogram.c: New file.
7716 * gdb.dwarf2/main-subprogram.exp: New file.
7718 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7720 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7721 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7722 gdb_test_no_output for a couple of cases.
7723 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7725 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7727 Fix test names and standardize compilation error messages throughout
7728 the following files:
7731 * gdb.arch/alpha-step.exp
7732 * gdb.arch/e500-prologue.exp
7733 * gdb.arch/ftrace-insn-reloc.exp
7734 * gdb.arch/gdb1291.exp
7735 * gdb.arch/gdb1431.exp
7736 * gdb.arch/gdb1558.exp
7737 * gdb.arch/i386-dr3-watch.exp
7738 * gdb.arch/i386-sse-stack-align.exp
7739 * gdb.arch/ia64-breakpoint-shadow.exp
7740 * gdb.arch/pa-nullify.exp
7741 * gdb.arch/powerpc-aix-prologue.exp
7742 * gdb.arch/thumb-bx-pc.exp
7743 * gdb.base/annota1.exp
7744 * gdb.base/annota3.exp
7745 * gdb.base/arrayidx.exp
7746 * gdb.base/assign.exp
7747 * gdb.base/attach.exp
7750 * gdb.base/bfp-test.exp
7751 * gdb.base/bigcore.exp
7752 * gdb.base/bitfields2.exp
7753 * gdb.base/break-fun-addr.exp
7754 * gdb.base/break-probes.exp
7755 * gdb.base/call-rt-st.exp
7756 * gdb.base/callexit.exp
7757 * gdb.base/catch-fork-kill.exp
7758 * gdb.base/charset.exp
7759 * gdb.base/checkpoint.exp
7760 * gdb.base/comprdebug.exp
7761 * gdb.base/constvars.exp
7762 * gdb.base/coredump-filter.exp
7763 * gdb.base/cursal.exp
7764 * gdb.base/cvexpr.exp
7765 * gdb.base/detach.exp
7766 * gdb.base/display.exp
7767 * gdb.base/dmsym.exp
7768 * gdb.base/dprintf-pending.exp
7769 * gdb.base/dso2dso.exp
7770 * gdb.base/dtrace-probe.exp
7772 * gdb.base/enum_cond.exp
7773 * gdb.base/exe-lock.exp
7774 * gdb.base/exec-invalid-sysroot.exp
7775 * gdb.base/execl-update-breakpoints.exp
7776 * gdb.base/exprs.exp
7777 * gdb.base/fileio.exp
7779 * gdb.base/finish.exp
7780 * gdb.base/fixsection.exp
7781 * gdb.base/foll-vfork.exp
7782 * gdb.base/frame-args.exp
7783 * gdb.base/gcore.exp
7784 * gdb.base/gdb1250.exp
7785 * gdb.base/global-var-nested-by-dso.exp
7786 * gdb.base/gnu-ifunc.exp
7787 * gdb.base/hashline1.exp
7788 * gdb.base/hashline2.exp
7789 * gdb.base/hashline3.exp
7790 * gdb.base/hbreak-in-shr-unsupported.exp
7792 * gdb.base/infcall-input.exp
7793 * gdb.base/info-fun.exp
7794 * gdb.base/info-shared.exp
7795 * gdb.base/jit-simple.exp
7796 * gdb.base/jit-so.exp
7799 * gdb.base/label.exp
7800 * gdb.base/lineinc.exp
7801 * gdb.base/logical.exp
7802 * gdb.base/longjmp.exp
7803 * gdb.base/macscp.exp
7804 * gdb.base/miscexprs.exp
7805 * gdb.base/new-ui-echo.exp
7806 * gdb.base/new-ui-pending-input.exp
7807 * gdb.base/new-ui.exp
7808 * gdb.base/nodebug.exp
7809 * gdb.base/nofield.exp
7810 * gdb.base/offsets.exp
7811 * gdb.base/overlays.exp
7812 * gdb.base/pending.exp
7813 * gdb.base/pointers.exp
7814 * gdb.base/pr11022.exp
7815 * gdb.base/printcmds.exp
7816 * gdb.base/prologue.exp
7817 * gdb.base/ptr-typedef.exp
7818 * gdb.base/realname-expand.exp
7819 * gdb.base/relativedebug.exp
7820 * gdb.base/relocate.exp
7821 * gdb.base/remote.exp
7822 * gdb.base/reread.exp
7823 * gdb.base/return2.exp
7824 * gdb.base/savedregs.exp
7826 * gdb.base/sepdebug.exp
7827 * gdb.base/sepsymtab.exp
7828 * gdb.base/set-inferior-tty.exp
7829 * gdb.base/setshow.exp
7830 * gdb.base/shlib-call.exp
7831 * gdb.base/sigaltstack.exp
7832 * gdb.base/siginfo-addr.exp
7833 * gdb.base/signals.exp
7834 * gdb.base/signull.exp
7835 * gdb.base/sigrepeat.exp
7836 * gdb.base/so-impl-ld.exp
7837 * gdb.base/solib-display.exp
7838 * gdb.base/solib-overlap.exp
7839 * gdb.base/solib-search.exp
7840 * gdb.base/solib-symbol.exp
7841 * gdb.base/structs.exp
7842 * gdb.base/structs2.exp
7843 * gdb.base/symtab-search-order.exp
7844 * gdb.base/twice.exp
7845 * gdb.base/unload.exp
7846 * gdb.base/varargs.exp
7847 * gdb.base/watchpoint-solib.exp
7848 * gdb.base/watchpoint.exp
7849 * gdb.base/whatis.exp
7850 * gdb.base/wrong_frame_bt_full.exp
7851 * gdb.btrace/dlopen.exp
7852 * gdb.cell/ea-standalone.exp
7853 * gdb.cell/ea-test.exp
7854 * gdb.cp/dispcxx.exp
7855 * gdb.cp/gdb2384.exp
7856 * gdb.cp/method2.exp
7857 * gdb.cp/nextoverthrow.exp
7858 * gdb.cp/pr10728.exp
7859 * gdb.disasm/am33.exp
7860 * gdb.disasm/h8300s.exp
7861 * gdb.disasm/mn10300.exp
7862 * gdb.disasm/sh3.exp
7863 * gdb.dwarf2/dw2-dir-file-name.exp
7864 * gdb.fortran/complex.exp
7865 * gdb.fortran/library-module.exp
7866 * gdb.guile/scm-pretty-print.exp
7867 * gdb.guile/scm-symbol.exp
7868 * gdb.guile/scm-type.exp
7869 * gdb.guile/scm-value.exp
7870 * gdb.linespec/linespec.exp
7873 * gdb.mi/mi-breakpoint-changed.exp
7874 * gdb.mi/mi-dprintf-pending.exp
7875 * gdb.mi/mi-dprintf.exp
7876 * gdb.mi/mi-exit-code.exp
7877 * gdb.mi/mi-pending.exp
7878 * gdb.mi/mi-solib.exp
7879 * gdb.mi/new-ui-mi-sync.exp
7880 * gdb.mi/pr11022.exp
7881 * gdb.mi/user-selected-context-sync.exp
7882 * gdb.opt/solib-intra-step.exp
7883 * gdb.python/py-events.exp
7884 * gdb.python/py-finish-breakpoint.exp
7885 * gdb.python/py-mi.exp
7886 * gdb.python/py-prettyprint.exp
7887 * gdb.python/py-shared.exp
7888 * gdb.python/py-symbol.exp
7889 * gdb.python/py-template.exp
7890 * gdb.python/py-type.exp
7891 * gdb.python/py-value.exp
7892 * gdb.reverse/solib-precsave.exp
7893 * gdb.reverse/solib-reverse.exp
7894 * gdb.server/solib-list.exp
7895 * gdb.stabs/weird.exp
7896 * gdb.threads/reconnect-signal.exp
7897 * gdb.threads/stepi-random-signal.exp
7898 * gdb.trace/actions.exp
7900 * gdb.trace/backtrace.exp
7901 * gdb.trace/change-loc.exp
7902 * gdb.trace/deltrace.exp
7903 * gdb.trace/ftrace-lock.exp
7904 * gdb.trace/ftrace.exp
7905 * gdb.trace/infotrace.exp
7906 * gdb.trace/mi-tracepoint-changed.exp
7907 * gdb.trace/packetlen.exp
7908 * gdb.trace/passcount.exp
7909 * gdb.trace/pending.exp
7910 * gdb.trace/range-stepping.exp
7911 * gdb.trace/report.exp
7912 * gdb.trace/stap-trace.exp
7913 * gdb.trace/tfind.exp
7914 * gdb.trace/trace-break.exp
7915 * gdb.trace/trace-condition.exp
7916 * gdb.trace/trace-enable-disable.exp
7917 * gdb.trace/trace-mt.exp
7918 * gdb.trace/tracecmd.exp
7919 * gdb.trace/tspeed.exp
7923 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7925 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7926 with gdb_test_no_output.
7927 Use command as test name.
7929 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7931 Fix test names starting with uppercase throughout the files.
7933 * gdb.ada/assign_1.exp
7934 * gdb.ada/boolean_expr.exp
7935 * gdb.base/arrayidx.exp
7937 * gdb.base/gcore-buffer-overflow.exp
7938 * gdb.base/testenv.exp
7939 * gdb.compile/compile.exp
7940 * gdb.python/py-framefilter-invalidarg.exp
7941 * gdb.python/py-framefilter.exp
7943 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7945 Fix test names starting with uppercase throughout the files.
7947 * gdb.ada/array_return.exp
7948 * gdb.ada/expr_delims.exp
7949 * gdb.ada/mi_dyn_arr.exp
7950 * gdb.ada/mi_interface.exp
7951 * gdb.ada/mi_var_array.exp
7952 * gdb.ada/watch_arg.exp
7953 * gdb.arch/alpha-step.exp
7954 * gdb.arch/altivec-regs.exp
7955 * gdb.arch/e500-regs.exp
7956 * gdb.arch/powerpc-d128-regs.exp
7957 * gdb.base/arrayidx.exp
7958 * gdb.base/break.exp
7959 * gdb.base/checkpoint.exp
7960 * gdb.base/debug-expr.exp
7961 * gdb.base/dmsym.exp
7962 * gdb.base/radix.exp
7963 * gdb.base/sepdebug.exp
7964 * gdb.base/testenv.exp
7965 * gdb.base/watch_thread_num.exp
7966 * gdb.base/watchpoint-cond-gone.exp
7967 * gdb.cell/break.exp
7968 * gdb.cell/ea-cache.exp
7969 * gdb.compile/compile.exp
7970 * gdb.cp/gdb2495.exp
7971 * gdb.gdb/selftest.exp
7972 * gdb.gdb/xfullpath.exp
7974 * gdb.go/integers.exp
7975 * gdb.objc/basicclass.exp
7976 * gdb.pascal/hello.exp
7977 * gdb.pascal/integers.exp
7978 * gdb.python/py-breakpoint.exp
7979 * gdb.python/py-cmd.exp
7980 * gdb.python/py-linetable.exp
7981 * gdb.python/py-xmethods.exp
7982 * gdb.python/python.exp
7983 * gdb.reverse/consecutive-precsave.exp
7984 * gdb.reverse/finish-precsave.exp
7985 * gdb.reverse/i386-precsave.exp
7986 * gdb.reverse/machinestate-precsave.exp
7987 * gdb.reverse/sigall-precsave.exp
7988 * gdb.reverse/solib-precsave.exp
7989 * gdb.reverse/step-precsave.exp
7990 * gdb.reverse/until-precsave.exp
7991 * gdb.reverse/watch-precsave.exp
7992 * gdb.threads/leader-exit.exp
7993 * gdb.threads/pthreads.exp
7994 * gdb.threads/wp-replication.exp
7995 * gdb.trace/actions.exp
7996 * gdb.trace/mi-tsv-changed.exp
7999 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8001 Fix test names starting with uppercase throughout the files.
8003 * gdb.arch/i386-bp_permanent.exp
8004 * gdb.arch/i386-gnu-cfi.exp
8005 * gdb.base/disasm-end-cu.exp
8006 * gdb.base/macscp.exp
8007 * gdb.base/pending.exp
8008 * gdb.base/watch_thread_num.exp
8009 * gdb.cp/exception.exp
8010 * gdb.cp/gdb2495.exp
8012 * gdb.python/py-evsignal.exp
8013 * gdb.python/python.exp
8014 * gdb.trace/tracecmd.exp
8016 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8018 Fix test names starting with uppercase throughout the files.
8020 * gdb.base/charset.exp
8022 * gdb.base/multi-forks.exp
8023 * gdb.guile/scm-progspace.exp
8024 * gdb.opencl/datatypes.exp
8025 * gdb.python/py-block.exp
8026 * gdb.python/py-function.exp
8027 * gdb.python/py-symbol.exp
8028 * gdb.python/py-symtab.exp
8029 * gdb.python/py-xmethods.exp
8030 * gdb.reverse/break-precsave.exp
8031 * gdb.reverse/break-reverse.exp
8032 * gdb.reverse/consecutive-precsave.exp
8033 * gdb.reverse/consecutive-reverse.exp
8034 * gdb.reverse/finish-precsave.exp
8035 * gdb.reverse/finish-reverse-bkpt.exp
8036 * gdb.reverse/finish-reverse.exp
8037 * gdb.reverse/fstatat-reverse.exp
8038 * gdb.reverse/getresuid-reverse.exp
8039 * gdb.reverse/i386-precsave.exp
8040 * gdb.reverse/i386-reverse.exp
8041 * gdb.reverse/i386-sse-reverse.exp
8042 * gdb.reverse/i387-stack-reverse.exp
8043 * gdb.reverse/insn-reverse.exp
8044 * gdb.reverse/machinestate-precsave.exp
8045 * gdb.reverse/machinestate.exp
8046 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8047 * gdb.reverse/pipe-reverse.exp
8048 * gdb.reverse/readv-reverse.exp
8049 * gdb.reverse/recvmsg-reverse.exp
8050 * gdb.reverse/rerun-prec.exp
8051 * gdb.reverse/s390-mvcle.exp
8052 * gdb.reverse/sigall-precsave.exp
8053 * gdb.reverse/sigall-reverse.exp
8054 * gdb.reverse/solib-precsave.exp
8055 * gdb.reverse/solib-reverse.exp
8056 * gdb.reverse/step-precsave.exp
8057 * gdb.reverse/step-reverse.exp
8058 * gdb.reverse/time-reverse.exp
8059 * gdb.reverse/until-precsave.exp
8060 * gdb.reverse/until-reverse.exp
8061 * gdb.reverse/waitpid-reverse.exp
8062 * gdb.reverse/watch-precsave.exp
8063 * gdb.reverse/watch-reverse.exp
8065 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8067 Fix test names starting with uppercase throughout the files.
8069 * gdb.arch/i386-mpx-simple_segv.exp
8070 * gdb.arch/i386-mpx.exp
8071 * gdb.arch/i386-permbkpt.exp
8072 * gdb.arch/pa-nullify.exp
8073 * gdb.arch/powerpc-d128-regs.exp
8074 * gdb.arch/vsx-regs.exp
8075 * gdb.base/bfp-test.exp
8076 * gdb.base/break.exp
8077 * gdb.base/breakpoint-shadow.exp
8078 * gdb.base/callfuncs.exp
8079 * gdb.base/charset.exp
8080 * gdb.base/commands.exp
8081 * gdb.base/completion.exp
8082 * gdb.base/dfp-test.exp
8084 * gdb.base/ending-run.exp
8086 * gdb.base/expand-psymtabs.exp
8087 * gdb.base/float128.exp
8088 * gdb.base/floatn.exp
8089 * gdb.base/foll-exec-mode.exp
8090 * gdb.base/gdb1056.exp
8091 * gdb.base/gdb11531.exp
8092 * gdb.base/kill-after-signal.exp
8093 * gdb.base/multi-forks.exp
8094 * gdb.base/overlays.exp
8095 * gdb.base/pending.exp
8096 * gdb.base/sepdebug.exp
8097 * gdb.base/testenv.exp
8098 * gdb.base/valgrind-db-attach.exp
8099 * gdb.base/watch_thread_num.exp
8100 * gdb.base/watchpoint-cond-gone.exp
8101 * gdb.base/watchpoint.exp
8102 * gdb.base/watchpoints.exp
8103 * gdb.cp/arg-reference.exp
8104 * gdb.cp/baseenum.exp
8105 * gdb.cp/operator.exp
8107 * gdb.dwarf2/dw2-op-out-param.exp
8108 * gdb.dwarf2/dw2-reg-undefined.exp
8111 * gdb.go/integers.exp
8112 * gdb.go/methods.exp
8113 * gdb.go/package.exp
8114 * gdb.guile/scm-parameter.exp
8115 * gdb.guile/scm-progspace.exp
8116 * gdb.guile/scm-value.exp
8117 * gdb.mi/mi-pending.exp
8118 * gdb.mi/user-selected-context-sync.exp
8119 * gdb.multi/multi-attach.exp
8120 * gdb.multi/tids.exp
8121 * gdb.opt/clobbered-registers-O2.exp
8122 * gdb.pascal/floats.exp
8123 * gdb.pascal/integers.exp
8124 * gdb.python/py-block.exp
8125 * gdb.python/py-events.exp
8126 * gdb.python/py-parameter.exp
8127 * gdb.python/py-symbol.exp
8128 * gdb.python/py-symtab.exp
8129 * gdb.python/py-type.exp
8130 * gdb.python/py-value.exp
8131 * gdb.python/py-xmethods.exp
8132 * gdb.python/python.exp
8133 * gdb.reverse/break-precsave.exp
8134 * gdb.reverse/consecutive-precsave.exp
8135 * gdb.reverse/finish-precsave.exp
8136 * gdb.reverse/i386-precsave.exp
8137 * gdb.reverse/machinestate-precsave.exp
8138 * gdb.reverse/sigall-precsave.exp
8139 * gdb.reverse/solib-precsave.exp
8140 * gdb.reverse/step-precsave.exp
8141 * gdb.reverse/until-precsave.exp
8142 * gdb.reverse/watch-precsave.exp
8143 * gdb.server/ext-attach.exp
8144 * gdb.server/ext-restart.exp
8145 * gdb.server/ext-run.exp
8146 * gdb.server/ext-wrapper.exp
8147 * gdb.stabs/gdb11479.exp
8148 * gdb.stabs/weird.exp
8149 * gdb.threads/attach-many-short-lived-threads.exp
8150 * gdb.threads/kill.exp
8151 * gdb.threads/watchpoint-fork.exp
8153 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8155 Fix test names starting with uppercase throughout all the files below.
8157 * gdb.ada/array_return.exp
8158 * gdb.ada/catch_ex.exp
8159 * gdb.ada/info_exc.exp
8160 * gdb.ada/mi_catch_ex.exp
8161 * gdb.ada/mi_dyn_arr.exp
8162 * gdb.ada/mi_ex_cond.exp
8163 * gdb.ada/mi_exc_info.exp
8164 * gdb.ada/mi_interface.exp
8165 * gdb.ada/mi_task_arg.exp
8166 * gdb.ada/mi_task_info.exp
8167 * gdb.ada/mi_var_array.exp
8168 * gdb.arch/alpha-step.exp
8169 * gdb.arch/amd64-disp-step.exp
8170 * gdb.arch/arm-disp-step.exp
8171 * gdb.arch/disp-step-insn-reloc.exp
8172 * gdb.arch/e500-prologue.exp
8173 * gdb.arch/ftrace-insn-reloc.exp
8174 * gdb.arch/gdb1558.exp
8175 * gdb.arch/i386-bp_permanent.exp
8176 * gdb.arch/i386-disp-step.exp
8177 * gdb.arch/i386-float.exp
8178 * gdb.arch/i386-gnu-cfi.exp
8179 * gdb.arch/ia64-breakpoint-shadow.exp
8180 * gdb.arch/mips16-thunks.exp
8181 * gdb.arch/pa-nullify.exp
8182 * gdb.arch/powerpc-aix-prologue.exp
8183 * gdb.arch/powerpc-power.exp
8184 * gdb.arch/ppc-dfp.exp
8185 * gdb.arch/s390-tdbregs.exp
8186 * gdb.arch/spu-info.exp
8187 * gdb.arch/spu-ls.exp
8188 * gdb.arch/thumb-bx-pc.exp
8189 * gdb.base/advance.exp
8190 * gdb.base/annota-input-while-running.exp
8191 * gdb.base/arrayidx.exp
8192 * gdb.base/asmlabel.exp
8193 * gdb.base/async.exp
8194 * gdb.base/attach-wait-input.exp
8195 * gdb.base/auto-connect-native-target.exp
8196 * gdb.base/batch-preserve-term-settings.exp
8197 * gdb.base/bfp-test.exp
8198 * gdb.base/bigcore.exp
8199 * gdb.base/bp-permanent.exp
8200 * gdb.base/break-always.exp
8201 * gdb.base/break-fun-addr.exp
8202 * gdb.base/break-idempotent.exp
8203 * gdb.base/break-main-file-remove-fail.exp
8204 * gdb.base/break-probes.exp
8205 * gdb.base/break-unload-file.exp
8206 * gdb.base/break.exp
8207 * gdb.base/call-ar-st.exp
8208 * gdb.base/call-rt-st.exp
8209 * gdb.base/call-sc.exp
8210 * gdb.base/call-signal-resume.exp
8211 * gdb.base/call-strs.exp
8212 * gdb.base/callexit.exp
8213 * gdb.base/callfuncs.exp
8214 * gdb.base/catch-gdb-caused-signals.exp
8215 * gdb.base/catch-signal-siginfo-cond.exp
8216 * gdb.base/catch-syscall.exp
8217 * gdb.base/compare-sections.exp
8218 * gdb.base/cond-eval-mode.exp
8219 * gdb.base/condbreak-call-false.exp
8220 * gdb.base/consecutive-step-over.exp
8221 * gdb.base/cursal.exp
8222 * gdb.base/disabled-location.exp
8223 * gdb.base/disasm-end-cu.exp
8224 * gdb.base/display.exp
8225 * gdb.base/double-prompt-target-event-error.exp
8226 * gdb.base/dprintf-bp-same-addr.exp
8227 * gdb.base/dprintf-detach.exp
8228 * gdb.base/dprintf-next.exp
8229 * gdb.base/dprintf-non-stop.exp
8230 * gdb.base/dprintf-pending.exp
8231 * gdb.base/dso2dso.exp
8232 * gdb.base/ending-run.exp
8233 * gdb.base/enum_cond.exp
8234 * gdb.base/examine-backward.exp
8235 * gdb.base/exe-lock.exp
8236 * gdb.base/exec-invalid-sysroot.exp
8237 * gdb.base/execl-update-breakpoints.exp
8238 * gdb.base/execution-termios.exp
8239 * gdb.base/fileio.exp
8240 * gdb.base/fixsection.exp
8241 * gdb.base/foll-exec-mode.exp
8242 * gdb.base/foll-exec.exp
8243 * gdb.base/fork-running-state.exp
8244 * gdb.base/frame-args.exp
8245 * gdb.base/fullpath-expand.exp
8246 * gdb.base/func-ptr.exp
8247 * gdb.base/gcore-relro-pie.exp
8248 * gdb.base/gdb1090.exp
8249 * gdb.base/gdb1555.exp
8250 * gdb.base/global-var-nested-by-dso.exp
8251 * gdb.base/gnu-ifunc.exp
8252 * gdb.base/hbreak-in-shr-unsupported.exp
8253 * gdb.base/hbreak-unmapped.exp
8254 * gdb.base/hook-stop.exp
8255 * gdb.base/infcall-input.exp
8256 * gdb.base/info-fun.exp
8257 * gdb.base/info-shared.exp
8258 * gdb.base/interrupt-noterm.exp
8259 * gdb.base/jit-so.exp
8261 * gdb.base/line-symtabs.exp
8263 * gdb.base/longjmp.exp
8264 * gdb.base/macscp.exp
8265 * gdb.base/max-value-size.exp
8266 * gdb.base/nodebug.exp
8267 * gdb.base/nofield.exp
8268 * gdb.base/overlays.exp
8269 * gdb.base/paginate-after-ctrl-c-running.exp
8270 * gdb.base/paginate-bg-execution.exp
8271 * gdb.base/paginate-inferior-exit.exp
8272 * gdb.base/pending.exp
8273 * gdb.base/pr11022.exp
8274 * gdb.base/printcmds.exp
8275 * gdb.base/ptr-typedef.exp
8276 * gdb.base/ptype.exp
8277 * gdb.base/randomize.exp
8278 * gdb.base/range-stepping.exp
8279 * gdb.base/realname-expand.exp
8280 * gdb.base/relativedebug.exp
8281 * gdb.base/remote.exp
8282 * gdb.base/savedregs.exp
8283 * gdb.base/sepdebug.exp
8284 * gdb.base/set-noassign.exp
8285 * gdb.base/shlib-call.exp
8286 * gdb.base/shreloc.exp
8287 * gdb.base/sigaltstack.exp
8288 * gdb.base/sigbpt.exp
8289 * gdb.base/siginfo-addr.exp
8290 * gdb.base/siginfo-obj.exp
8291 * gdb.base/siginfo-thread.exp
8292 * gdb.base/signest.exp
8293 * gdb.base/signull.exp
8294 * gdb.base/sigrepeat.exp
8296 * gdb.base/so-impl-ld.exp
8297 * gdb.base/solib-corrupted.exp
8298 * gdb.base/solib-disc.exp
8299 * gdb.base/solib-display.exp
8300 * gdb.base/solib-overlap.exp
8301 * gdb.base/solib-search.exp
8302 * gdb.base/solib-symbol.exp
8303 * gdb.base/source-execution.exp
8304 * gdb.base/sss-bp-on-user-bp-2.exp
8305 * gdb.base/sss-bp-on-user-bp.exp
8306 * gdb.base/stack-checking.exp
8307 * gdb.base/stale-infcall.exp
8308 * gdb.base/step-break.exp
8309 * gdb.base/step-line.exp
8310 * gdb.base/step-over-exit.exp
8311 * gdb.base/step-test.exp
8312 * gdb.base/structs.exp
8313 * gdb.base/sym-file.exp
8314 * gdb.base/symtab-search-order.exp
8316 * gdb.base/type-opaque.exp
8317 * gdb.base/unload.exp
8318 * gdb.base/until-nodebug.exp
8319 * gdb.base/until.exp
8320 * gdb.base/unwindonsignal.exp
8321 * gdb.base/watch-cond.exp
8322 * gdb.base/watch-non-mem.exp
8323 * gdb.base/watch_thread_num.exp
8324 * gdb.base/watchpoint-reuse-slot.exp
8325 * gdb.base/watchpoint-solib.exp
8326 * gdb.base/watchpoint.exp
8327 * gdb.btrace/dlopen.exp
8329 * gdb.cell/break.exp
8333 * gdb.cell/dwarfaddr.exp
8334 * gdb.cell/ea-cache.exp
8335 * gdb.cell/ea-standalone.exp
8336 * gdb.cell/ea-test.exp
8337 * gdb.cell/f-regs.exp
8339 * gdb.cell/gcore.exp
8340 * gdb.cell/mem-access.exp
8341 * gdb.cell/ptype.exp
8342 * gdb.cell/registers.exp
8343 * gdb.cell/sizeof.exp
8344 * gdb.cell/solib-symbol.exp
8345 * gdb.cell/solib.exp
8346 * gdb.compile/compile-tls.exp
8347 * gdb.cp/exception.exp
8348 * gdb.cp/gdb2495.exp
8350 * gdb.cp/mb-inline.exp
8351 * gdb.cp/mb-templates.exp
8352 * gdb.cp/pr10687.exp
8354 * gdb.cp/scope-err.exp
8355 * gdb.cp/templates.exp
8356 * gdb.cp/virtfunc.exp
8357 * gdb.dwarf2/dw2-dir-file-name.exp
8358 * gdb.dwarf2/dw2-single-line-discriminators.exp
8359 * gdb.fortran/complex.exp
8360 * gdb.fortran/library-module.exp
8361 * gdb.guile/guile.exp
8362 * gdb.guile/scm-cmd.exp
8363 * gdb.guile/scm-frame-inline.exp
8364 * gdb.guile/scm-objfile.exp
8365 * gdb.guile/scm-pretty-print.exp
8366 * gdb.guile/scm-symbol.exp
8367 * gdb.guile/scm-type.exp
8368 * gdb.guile/scm-value.exp
8369 * gdb.linespec/keywords.exp
8370 * gdb.linespec/ls-errs.exp
8371 * gdb.linespec/macro-relative.exp
8372 * gdb.linespec/thread.exp
8373 * gdb.mi/mi-breakpoint-changed.exp
8374 * gdb.mi/mi-dprintf-pending.exp
8375 * gdb.mi/mi-fullname-deleted.exp
8376 * gdb.mi/mi-logging.exp
8377 * gdb.mi/mi-pending.exp
8378 * gdb.mi/mi-solib.exp
8379 * gdb.mi/new-ui-mi-sync.exp
8380 * gdb.mi/user-selected-context-sync.exp
8381 * gdb.multi/dummy-frame-restore.exp
8382 * gdb.multi/multi-arch-exec.exp
8383 * gdb.multi/remove-inferiors.exp
8384 * gdb.multi/watchpoint-multi-exit.exp
8385 * gdb.opt/solib-intra-step.exp
8386 * gdb.perf/backtrace.exp
8387 * gdb.perf/single-step.exp
8388 * gdb.perf/skip-command.exp
8389 * gdb.perf/skip-prologue.exp
8390 * gdb.perf/solib.exp
8391 * gdb.python/lib-types.exp
8392 * gdb.python/py-as-string.exp
8393 * gdb.python/py-bad-printers.exp
8394 * gdb.python/py-block.exp
8395 * gdb.python/py-breakpoint.exp
8396 * gdb.python/py-cmd.exp
8397 * gdb.python/py-events.exp
8398 * gdb.python/py-evthreads.exp
8399 * gdb.python/py-finish-breakpoint.exp
8400 * gdb.python/py-finish-breakpoint2.exp
8401 * gdb.python/py-frame-inline.exp
8402 * gdb.python/py-frame.exp
8403 * gdb.python/py-inferior.exp
8404 * gdb.python/py-infthread.exp
8405 * gdb.python/py-mi.exp
8406 * gdb.python/py-objfile.exp
8407 * gdb.python/py-pp-maint.exp
8408 * gdb.python/py-pp-registration.exp
8409 * gdb.python/py-prettyprint.exp
8410 * gdb.python/py-recurse-unwind.exp
8411 * gdb.python/py-shared.exp
8412 * gdb.python/py-symbol.exp
8413 * gdb.python/py-symtab.exp
8414 * gdb.python/py-template.exp
8415 * gdb.python/py-type.exp
8416 * gdb.python/py-unwind-maint.exp
8417 * gdb.python/py-unwind.exp
8418 * gdb.python/py-value.exp
8419 * gdb.python/python.exp
8420 * gdb.reverse/finish-reverse-bkpt.exp
8421 * gdb.reverse/insn-reverse.exp
8422 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8423 * gdb.reverse/solib-precsave.exp
8424 * gdb.reverse/solib-reverse.exp
8425 * gdb.stabs/gdb11479.exp
8426 * gdb.stabs/weird.exp
8427 * gdb.threads/fork-child-threads.exp
8428 * gdb.threads/fork-plus-threads.exp
8429 * gdb.threads/fork-thread-pending.exp
8430 * gdb.threads/forking-threads-plus-breakpoint.exp
8431 * gdb.threads/hand-call-in-threads.exp
8432 * gdb.threads/interrupted-hand-call.exp
8433 * gdb.threads/linux-dp.exp
8434 * gdb.threads/local-watch-wrong-thread.exp
8435 * gdb.threads/next-while-other-thread-longjmps.exp
8436 * gdb.threads/non-ldr-exit.exp
8437 * gdb.threads/pending-step.exp
8438 * gdb.threads/print-threads.exp
8439 * gdb.threads/process-dies-while-detaching.exp
8440 * gdb.threads/process-dies-while-handling-bp.exp
8441 * gdb.threads/pthreads.exp
8442 * gdb.threads/queue-signal.exp
8443 * gdb.threads/reconnect-signal.exp
8444 * gdb.threads/signal-command-handle-nopass.exp
8445 * gdb.threads/signal-command-multiple-signals-pending.exp
8446 * gdb.threads/signal-delivered-right-thread.exp
8447 * gdb.threads/signal-sigtrap.exp
8448 * gdb.threads/sigthread.exp
8449 * gdb.threads/staticthreads.exp
8450 * gdb.threads/stepi-random-signal.exp
8451 * gdb.threads/thread-unwindonsignal.exp
8452 * gdb.threads/thread_check.exp
8453 * gdb.threads/thread_events.exp
8454 * gdb.threads/tid-reuse.exp
8455 * gdb.threads/tls-nodebug.exp
8456 * gdb.threads/tls-shared.exp
8457 * gdb.threads/tls-so_extern.exp
8458 * gdb.threads/tls.exp
8459 * gdb.threads/wp-replication.exp
8460 * gdb.trace/actions-changed.exp
8461 * gdb.trace/actions.exp
8462 * gdb.trace/backtrace.exp
8463 * gdb.trace/change-loc.exp
8464 * gdb.trace/collection.exp
8465 * gdb.trace/deltrace.exp
8466 * gdb.trace/disconnected-tracing.exp
8467 * gdb.trace/entry-values.exp
8468 * gdb.trace/ftrace-lock.exp
8469 * gdb.trace/ftrace.exp
8470 * gdb.trace/infotrace.exp
8471 * gdb.trace/mi-trace-frame-collected.exp
8472 * gdb.trace/mi-trace-unavailable.exp
8473 * gdb.trace/mi-traceframe-changed.exp
8474 * gdb.trace/mi-tracepoint-changed.exp
8475 * gdb.trace/mi-tsv-changed.exp
8476 * gdb.trace/no-attach-trace.exp
8477 * gdb.trace/packetlen.exp
8478 * gdb.trace/passc-dyn.exp
8479 * gdb.trace/passcount.exp
8480 * gdb.trace/pending.exp
8481 * gdb.trace/pr16508.exp
8482 * gdb.trace/qtro.exp
8483 * gdb.trace/range-stepping.exp
8484 * gdb.trace/read-memory.exp
8485 * gdb.trace/report.exp
8486 * gdb.trace/save-trace.exp
8487 * gdb.trace/signal.exp
8488 * gdb.trace/stap-trace.exp
8489 * gdb.trace/status-stop.exp
8490 * gdb.trace/strace.exp
8491 * gdb.trace/tfile.exp
8492 * gdb.trace/tfind.exp
8493 * gdb.trace/trace-break.exp
8494 * gdb.trace/trace-condition.exp
8495 * gdb.trace/trace-enable-disable.exp
8496 * gdb.trace/trace-mt.exp
8497 * gdb.trace/tracecmd.exp
8498 * gdb.trace/tracefile-pseudo-reg.exp
8499 * gdb.trace/tspeed.exp
8500 * gdb.trace/tstatus.exp
8502 * gdb.trace/unavailable.exp
8503 * gdb.trace/while-dyn.exp
8504 * gdb.trace/while-stepping.exp
8507 * lib/mi-support.exp
8510 * lib/prelink-support.exp
8511 * lib/selftest-support.exp
8513 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8515 * Makefile.in: Include disable-implicit-rules.mk.
8517 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8519 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8520 non-byte-aligned bit fields.
8522 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8525 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8526 respects the DW_AT_data_bit_offset attribute.
8528 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8530 * gdb.base/default.exp: Fix output of "set language".
8532 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8534 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8535 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8537 * configure.ac: Remove checks for the make program.
8538 * configure: Re-generate.
8540 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8542 * gdb.python/py-recurse-unwind.c (main): Add loop.
8543 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8544 to read_register() and gdb.parse_and_eval(). Make each code
8545 call a separate case that can be individually tested.
8546 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8547 proc. Call cont_and_backtrace for each of the code paths that
8548 we want to test in the unwinder.
8550 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8552 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8553 the definition of struct S.
8555 2016-11-11 Catherine Moore <clm@codesourcery.com>
8557 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8559 2016-11-09 Pedro Alves <palves@redhat.com>
8561 * gdb.base/commands.exp (runto_or_return): New procedure.
8562 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8563 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8564 (progvar_simple_while_test, progvar_complex_if_while_test)
8565 (if_while_breakpoint_command_test)
8566 (infrun_breakpoint_command_test, breakpoint_command_test)
8567 (user_defined_command_test, watchpoint_command_test)
8568 (test_command_prompt_position, redefine_hook_test)
8569 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8570 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8571 multi_line_input and multi_line. Remove gdb_expect and
8572 gdb_stop_suppressing_tests uses.
8573 * lib/gdb.exp (valnum_re): New global.
8574 (multi_line_input): New procedure.
8576 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8578 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8580 (test_setup): Define with proc_with_prefix.
8581 (test_cli_inferior): Likewise.
8582 (test_cli_thread): Likewise.
8583 (test_cli_frame): Likewise.
8584 (test_cli_select_frame): Likewise.
8585 (test_cli_up_down): Likewise.
8586 (test_mi_thread_select): Likewise.
8587 (test_mi_stack_select_frame): Likewise.
8588 (test_cli_in_mi_inferior): Likewise.
8589 (test_cli_in_mi_thread): Likewise.
8590 (test_cli_in_mi_frame): Likewise.
8591 (top level): Do not use with_test_prefix_procname.
8593 2016-11-09 Pedro Alves <palves@redhat.com>
8595 * gdb.base/commands.exp (gdbvar_simple_if_test)
8596 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8597 (progvar_simple_if_test, progvar_simple_while_test)
8598 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8599 (infrun_breakpoint_command_test, breakpoint_command_test)
8600 (user_defined_command_test, watchpoint_command_test)
8601 (test_command_prompt_position, deprecated_command_test)
8602 (bp_deleted_in_command, temporary_breakpoint_commands)
8603 (stray_arg0_test, source_file_with_indented_comment)
8604 (recursive_source_test, if_commands_test)
8605 (error_clears_commands_left, redefine_hook_test)
8606 (redefine_backtrace_test): Use proc_with_prefix.
8607 * lib/gdb.exp (proc_with_prefix): New proc.
8609 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8611 * gdb.base/tui-layout.c: New file.
8612 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8613 disassembly window contains very long lines.
8615 2016-11-08 Tom Tromey <tom@tromey.com>
8617 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8620 2016-11-08 Tom Tromey <tom@tromey.com>
8622 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8625 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8627 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8629 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8631 * gdb.rust/simple.rs: Add test for univariant enums without
8632 discriminants and for encoded struct-like enums.
8634 2016-10-28 Pedro Alves <palves@redhat.com>
8636 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8637 gdb_test_multiple, tighten regexps and match symtabs and line
8638 tables incrementally.
8640 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8642 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8645 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8647 * gdb.base/exec-invalid-sysroot.exp: New file.
8649 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8651 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8653 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8655 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8657 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8659 * gdb.base/killed-outside.exp: Remove $options from a call to
8660 `prepare_for_testing'.
8662 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8664 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8665 Change test message.
8667 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8669 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8672 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8674 * gdb.trace/mi-trace-save.exp: New file.
8676 2016-10-13 Yao Qi <yao.qi@linaro.org>
8678 * gdb.base/code_elim.exp (get_var_address): Remove.
8679 * gdb.base/relocate.exp: Likewise.
8680 * gdb.base/shreloc.exp: Likewise.
8681 * lib/gdb.exp (get_var_address): New.
8683 2016-10-13 Yao Qi <yao.qi@linaro.org>
8685 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8686 floating point tests if $skip_float_test is false.
8688 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8690 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8691 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8693 Add 1 to argc so we guarantee distinct initial/modified argc values.
8695 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8697 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8699 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8701 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8702 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8703 * gdb.arch/vsx-regs.exp: Likewise.
8705 2016-10-07 Yao Qi <yao.qi@linaro.org>
8707 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8709 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8711 * gdb.python/python.exp: Test decode_line("*0").
8713 2016-10-06 Doug Evans <dje@google.com>
8715 * gdb.python/py-value.exp (test_value_creation): Add test for large
8716 unsigned 64-bit value.
8718 2016-10-06 Tom Tromey <tom@tromey.com>
8720 * gdb.compile/compile.exp: Change java tests to rust.
8721 * gdb.base/setshow.exp: Change java tests to rust.
8722 * gdb.base/default.exp: Remove java from language list.
8723 * README (Examples): Update language example.
8724 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8726 * lib/gdb.exp (skip_java_tests): Remove.
8727 * lib/java.exp: Remove.
8730 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8732 * gdb.arch/mips-fcr.exp: New test.
8733 * gdb.arch/mips-fcr.c: Source for the new test.
8735 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8737 * gdb.base/solib-disc.exp: Use `standard_output_file'
8740 2016-10-06 Pedro Alves <palves@redhat.com>
8742 * gdb.base/jit-simple-dl.c: New file.
8743 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8744 * gdb.base/jit-simple.c: ... this.
8745 * gdb.base/jit-simple.exp (jit_run): Delete.
8746 (build_jit): New proc.
8747 (jit_test_reread): Recompile either the main program or the shared
8748 library, depending on what is being tested. Skip changing address
8749 if caller wants to. Compare before/after addresses. If testing
8750 standalone, explicitly load the binary. Test "maint info
8752 (top level): Add "standalone vs shared lib" and "change address"
8753 vs "same address" axes.
8755 2016-10-06 Pedro Alves <palves@redhat.com>
8757 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8760 (jit_test_reread): Use with_test_prefix. Reload the main binary
8761 explicitly. Compare the before/after addresses of the JIT
8764 2016-08-15 Doug Evans <dje@google.com>
8766 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8767 for single bitfields is bool.
8768 * gdb.xml/tdesc-regs.exp: Ditto.
8770 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8772 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8774 2016-10-05 Yao Qi <yao.qi@linaro.org>
8776 * lib/gdb.exp (support_complex_tests): Return zero if
8777 gdb_skip_float_test return true.
8779 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8780 Simon Marchi <simon.marchi@ericsson.com>
8783 * gdb.mi/user-selected-context-sync.exp: New file.
8784 * gdb.mi/user-selected-context-sync.c: New file.
8786 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8787 Simon Marchi <simon.marchi@ericsson.com>
8790 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8791 =thread-select-event check.
8793 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8795 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8796 the compulsory L operand changes.
8797 * gdb.arch/powerpc-power.s: Likewise.
8799 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8801 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8802 * gdb.base/jit-attach-pie.c: New file.
8803 * gdb.base/jit-attach-pie.exp: New file.
8805 2016-09-28 Pedro Alves <palves@redhat.com>
8807 * gdb.base/infcall-input.c: New file.
8808 * gdb.base/infcall-input.exp: New file.
8810 2016-09-22 Yao Qi <yao.qi@linaro.org>
8812 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8813 (gdb_exit): Rename it to ...
8814 (gdbserver_gdb_exit): ... Close GDBserver.
8815 (gdb_exit): New proc, call gdbserver_gdb_exit.
8816 (mi_gdb_exit): Likewise.
8818 2016-09-22 Yao Qi <yao.qi@linaro.org>
8820 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8822 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8825 2016-09-22 Yao Qi <yao.qi@linaro.org>
8827 * lib/gdbserver-support.exp: Check the existence of
8828 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8830 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8832 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8834 2016-09-21 Tom Tromey <tom@tromey.com>
8837 * gdb.base/quit.exp: New file.
8839 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8841 * .gitignore: New file.
8843 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8845 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8848 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8850 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8852 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8854 * gdb.cp/casts.cc (decltype): Move it ...
8855 (main): ... with its call to ...
8856 * gdb.cp/casts03.cc: ... a new file.
8857 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8859 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8861 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8863 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8865 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8866 and sync up the test with tests in gas/testsuite/gas/ppc.
8867 * gdb.arch/powerpc-power.exp: Likewise.
8869 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8871 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8873 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8874 Jan Kratochvil <jan.kratochvil@redhat.com>
8876 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8877 make m1's definition to be different from m2's. Use 'dummy' as an
8878 argument for probe 'two'.
8880 2016-09-10 Jon Beniston <jon@beniston.com>
8882 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8885 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8887 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8888 variable declaration.
8889 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8890 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8891 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8892 received HWCAP as its argument.
8894 2016-09-06 Pedro Alves <palves@redhat.com>
8896 * gdb.base/new-ui-pending-input.c: New file.
8897 * gdb.base/new-ui-pending-input.exp: New file.
8898 * gdb.exp (clear_gdb_spawn_id): New procedure.
8899 (with_spawn_id): Check whether gdb_spawn_id exists before
8900 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8903 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8905 * gdb.base/float128.c: New file.
8906 * gdb.base/float128.exp: Likewise.
8907 * gdb.base/floatn.c: Likewise.
8908 * gdb.base/floatn.exp: Likewise.
8910 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8912 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8914 2016-09-05 Pedro Alves <palves@redhat.com>
8917 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8918 unwinders are immediately called as side effect of "source" or
8919 "disable unwinder" commands.
8920 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8922 2016-09-02 Yao Qi <yao.qi@linaro.org>
8924 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8925 is true and $type is "float" or "double".
8927 2016-09-02 Yao Qi <yao.qi@linaro.org>
8929 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8931 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8932 * gdb.base/call-rt-st.exp: Likewise.
8933 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8934 return value instead of gdb,skip_float_test.
8935 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8936 (do_function_calls): Use its return value instead of
8937 gdb,skip_float_test.
8938 * gdb.base/finish.exp: Likewise.
8939 * gdb.base/funcargs.exp: Likewise.
8940 * gdb.base/return.exp: Likewise.
8941 * gdb.base/return2.exp: Likewise.
8942 * gdb.base/varargs.exp: Likewise.
8943 * lib/gdb.exp (gdb_skip_float_test): Change it to
8944 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8946 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8948 * gdb.multi/tids.exp: Test "thread apply all".
8950 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8952 * gdb.base/default.exp (tty): Remove.
8954 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8956 * gdb.python/py-recurse-unwind.c: New file.
8957 * gdb.python/py-recurse-unwind.py: New file.
8958 * gdb.python/py-recurse-unwind.exp: New file.
8960 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8962 * gdb.base/set-inferior-tty.exp: New file.
8963 * gdb.base/set-inferior-tty.c: New file.
8965 2016-08-23 Pedro Alves <palves@redhat.com>
8968 * gdb.base/new-ui-echo.c: New file.
8969 * gdb.base/new-ui-echo.exp: New file.
8971 2016-08-23 Yao Qi <yao.qi@linaro.org>
8973 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8975 * gdb.server/connect-without-multi-process.exp (do_test):
8978 2016-08-23 Yao Qi <yao.qi@linaro.org>
8980 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8981 standalone_txt. Delete gdb_txt and standalone_txt on host
8982 and target. Spawn the binary on target. Copy files from
8985 2016-08-22 Pedro Alves <palves@redhat.com>
8988 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8989 with_test_prefix. Factor out bits to ...
8990 (test_no_vdso): ... this new procedure.
8992 2016-08-19 Carl Love <cel@us.ibm.com>
8994 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8995 maintaining separate logic for constructing the output path.
8996 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8997 * gdb.arch/ppc-dfp.exp: Likewise.
8998 * gdb.arch/ppc-fp.exp: Likewise.
8999 * gdb.arch/vsx-regs.exp: Likewise.
9000 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9001 binprefix for generating the additional binary files.
9003 2016-08-19 Pedro Alves <palves@redhat.com>
9005 * gdb.trace/mi-trace-frame-collected.exp
9006 (test_trace_frame_collected): On x32, expect two registers.
9008 2016-08-18 Carl Love <cel@us.ibm.com>
9010 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9011 and sync up the test with tests in gas/testsuite/gas/ppc.
9012 * gdb.arch/powerpc-power.exp: Likewise.
9014 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9016 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9017 expected error message.
9019 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9021 * gdb.multi/remove-inferiors.exp: New file.
9022 * gdb.multi/remove-inferiors.c: New file.
9024 2016-08-12 Yao Qi <yao.qi@linaro.org>
9026 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9029 2016-08-10 Pedro Alves <palves@redhat.com>
9032 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9035 2016-08-09 Pedro Alves <palves@redhat.com>
9036 Simon Marchi <simon.marchi@ericsson.com>
9039 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9040 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9042 2016-08-09 Pedro Alves <palves@redhat.com>
9045 * gdb.mi/mi-cmd-error.exp: New file.
9047 2016-08-09 Pedro Alves <palves@redhat.com>
9050 * gdb.base/signals-state-child.c: New file.
9051 * gdb.base/signals-state-child.exp: New file.
9052 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9054 2016-08-09 Pedro Alves <palves@redhat.com>
9056 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9058 2016-08-03 Tom Tromey <tom@tromey.com>
9061 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9063 2016-08-01 Yao Qi <yao.qi@linaro.org>
9065 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9066 variable mode to "multi-process" if $multi_process is 1, otherwise
9067 set it to "single-process".
9069 2016-08-01 Yao Qi <yao.qi@linaro.org>
9071 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9072 * gdb.cp/cpexprs.exp: Likewise.
9073 * gdb.cp/m-static.exp: Likewise.
9075 2016-07-26 Tom Tromey <tom@tromey.com>
9078 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9081 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9083 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9084 selecting assembly source files.
9085 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9086 assembly source files.
9087 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9088 assembly source files.
9089 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9090 selecting assembly source files.
9092 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9094 * gdb.base/new-ui.exp (do_test_invalid_args): New
9097 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9099 * gdb.btrace/reconnect.c: New file.
9100 * gdb.btrace/reconnect.exp: New file.
9102 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9104 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9105 to test_catch_syscall_group.
9106 (test_catch_syscall_group): New.
9108 2016-07-21 Tom Tromey <tom@tromey.com>
9110 * gdb.rust/simple.rs (main): Use empty struct expression.
9111 * gdb.rust/simple.exp: Add tests for empty struct expression.
9113 2016-07-21 Yao Qi <yao.qi@linaro.org>
9115 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9116 if gdb_skip_xml_test is true on some targets.
9118 2016-07-21 Yao Qi <yao.qi@linaro.org>
9120 * gdb.server/solib-list.exp: Unset last_loaded_file.
9122 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9124 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9125 "step into captured_main (args)".
9127 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9129 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9131 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9133 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9135 2016-07-19 Pedro Alves <palves@redhat.com>
9137 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9138 * gdb.opt/inline-bt.exp: Likewise.
9139 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9140 additional_flags=-Winline.
9141 * gdb.opt/inline-locals.exp: Likewise.
9142 * gdb.opt/inline-markers.c (ATTR): Define.
9143 (inlined_fn): Use it.
9145 2016-07-19 Yao Qi <yao.qi@linaro.org>
9147 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9148 (test_with_self): Remove some code. Remove argument executable.
9149 (top-level): Use do_self_tests.
9151 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9152 Don Breazeal <donb@codesourcery.com>
9154 * gdb.base/maint.exp: Escape paths used in regular expressions.
9155 * gdb.stabs/weird.exp: Likewise.
9157 2016-07-13 Tom Tromey <tom@tromey.com>
9159 PR python/15620, PR python/18620:
9160 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9161 (test_bkpt_events): New procs.
9163 2016-07-13 Tom Tromey <tom@tromey.com>
9166 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9168 (test_watchpoints): Likewise.
9169 (test_bkpt_pending): New proc.
9171 2016-07-13 Tom Tromey <tom@tromey.com>
9174 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9177 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9179 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9180 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9181 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9183 (g): Rename g_end_lbl to g_label.
9184 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9186 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9188 2016-07-12 Tom Tromey <tom@tromey.com>
9191 * gdb.python/py-unwind-maint.exp: Update tests.
9193 2016-07-12 Yao Qi <yao.qi@linaro.org>
9195 * lib/selftest-support.exp (selftest_setup): Match the output
9196 when captured_main is inlined.
9198 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9200 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9202 (print this%a, print this%b, print this): New tests.
9203 * gdb.fortran/derived-types.f90 (this): New object and
9206 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9208 * gdb.ada/arraydim.exp: Remove extra directory level in build
9211 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9213 * lib/ada.exp: Remove extra directory level in build directory.
9214 * gdb.ada/cond_lang.exp: Likewise.
9215 * gdb.ada/exec_changed.exp: Likewise.
9216 * gdb.ada/lang_switch.exp: Likewise.
9218 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9220 * simple.rs: Add test for raw pointer subscripting.
9221 * simple.exp: Add test expectations.
9223 2016-07-05 Yao Qi <yao.qi@linaro.org>
9225 * gdb.mi/mi-reverse.exp: Match =record-started output.
9227 2016-07-01 Pedro Alves <palves@redhat.com>
9229 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9231 (jit_reader_test): Test the jit reader's unwinder.
9232 * gdb.base/jithost.c (jit_function_00_code): New global.
9233 (main): Use memcpy to fill in the mmapped code, instead of poking
9234 bytes manually here.
9235 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9237 (read_debug_info): Save the function's range.
9238 (read_sp): New function.
9239 (unwind_frame): Use it. Also unwind RBP.
9240 (get_frame_id): Use read_sp.
9241 (gdb_init_reader): Use calloc instead of malloc.
9242 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9243 parameter. Use gdb_test_multiple.
9245 2016-07-01 Pedro Alves <palves@redhat.com>
9246 Antoine Tremblay <antoine.tremblay@ericsson.com>
9248 * gdb.threads/process-dies-while-detaching.c: New file.
9249 * gdb.threads/process-dies-while-detaching.exp: New file.
9251 2016-07-01 Pedro Alves <palves@redhat.com>
9253 * gdb.multi/watchpoint-multi-exit.c: New file.
9254 * gdb.multi/watchpoint-multi-exit.exp: New file.
9256 2016-06-30 Pedro Alves <palves@redhat.com>
9258 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9259 unset inferior_spawn_id.
9261 2016-06-30 Pedro Alves <palves@redhat.com>
9263 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9264 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9266 2016-06-29 Yao Qi <yao.qi@linaro.org>
9268 * gdb.base/return.c: Add copyright header.
9270 2016-06-29 Tom Tromey <tom@tromey.com>
9273 * gdb.python/py-framefilter.exp: Add tests for setting priority
9274 and disabling of non-existent frame filter.
9276 2016-06-29 Yao Qi <yao.qi@linaro.org>
9278 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9281 2016-06-28 Yao Qi <yao.qi@linaro.org>
9283 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9284 triplets. Start gdb, execute catch syscall, and continue. Check
9285 gdb's output to determine catch syscall is supported.
9287 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9289 * gdb.rust/simple.rs: Add test for returning unit in a function.
9290 * gdb.rust/simple.exp: Add expectation for functions returning
9293 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9295 * gdb.python/py-breakpoint-create-fail.c,
9296 gdb.python/py-breakpoint-create-fail.exp,
9297 gdb.python/py-breakpoint-create-fail.py: New testcase.
9299 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9302 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9303 * gdb.rust/simple.exp: Add test expectations for new NonZero
9306 2016-06-24 David Taylor <dtaylor@emc.com>
9308 * gdb.base/offsets.exp: New file.
9309 * gdb.base/offsets.c: New file.
9311 2016-06-23 Tom Tromey <tom@tromey.com>
9314 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9315 before any filters are loaded.
9317 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9319 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9320 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9322 * gdb.fortran/derived-type-function.exp: New file.
9323 * gdb.fortran/derived-type-function.f90: New file.
9326 2016-06-21 Pedro Alves <palves@redhat.com>
9328 * gdb.base/new-ui.exp: New file.
9329 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9330 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9331 (with_spawn_id): New procedure.
9333 2016-06-21 Pedro Alves <palves@redhat.com>
9335 * gdb.mi/mi-exec-run.exp: New file.
9337 2016-06-21 Pedro Alves <palves@redhat.com>
9339 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9340 breakpoint command's output on the main UI.
9341 (test_break): New procedure, factored out from calls in the top
9343 (top level): Use foreach_with_prefix to test MI as main UI and as
9346 2016-06-21 Pedro Alves <palves@redhat.com>
9348 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9349 (test_awatch_creation_and_listing)
9350 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9351 Remove 'type' parameter.
9352 (test_watchpoint_all): New parameter mi_mode. Remove
9354 (top level): Use foreach_with_prefix, and add main/separate UI MI
9357 2016-06-21 Pedro Alves <palves@redhat.com>
9359 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9360 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9361 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9362 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9363 (gdb_main_spawn_id, mi_spawn_id): Declare and
9365 (mi_create_inferior_pty): New procedure,
9366 factored out from default_mi_gdb_start.
9367 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9369 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9370 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9371 Use mi_create_inferior_pty.
9372 (mi_gdb_start): Use eval to pass down args list.
9374 2016-06-21 Pedro Alves <palves@redhat.com>
9376 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9377 * gdb.opt/inline-cmds.exp: Add MI tests.
9379 2016-06-21 Pedro Alves <palves@redhat.com>
9381 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9383 2016-06-21 Pedro Alves <palves@redhat.com>
9385 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9386 (top level): Use it instead of mi_execute_to.
9388 2016-06-21 Pedro Alves <palves@redhat.com>
9390 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9391 (cont_handler_str): New.
9392 (signal_stop_handler): Set stop_handler_str instead of printing to
9394 (continue_handler): Set cont_handler_str instead of printing to
9396 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9397 mi_send_resuming_command. Print stop_handler_str and
9398 cont_handler_str instead of expecting the python events print
9401 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9403 * gdb.base/jit-reader.exp: New file.
9404 * gdb.base/jithost.c: New file.
9405 * gdb.base/jithost.h: New file.
9406 * gdb.base/jitreader.c : New file.
9407 * gdb.base/jit-protocol.h: New file.
9409 2016-06-17 Yao Qi <yao.qi@linaro.org>
9411 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9412 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9413 and detach-on-fork. Adjust tests.
9414 (top level): Invoke break_cond_on_syscall with combinations of
9415 syscall, follow-fork-mode and detach-on-fork.
9417 2016-06-17 Yao Qi <yao.qi@linaro.org>
9419 * gdb.base/step-over-exit.c: New.
9420 * gdb.base/step-over-exit.exp: New.
9422 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9424 * gdb.base/float.exp: Add target check for nds32*-*-*.
9425 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9427 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9429 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9430 for unsupported target features.
9431 * gdb.base/call-rt-st.exp: Likewise.
9432 * gdb.base/call-sc.exp: Likewise.
9433 * gdb.base/call-signal-resume.exp: Likewise.
9434 * gdb.base/call-strs.exp: Likewise.
9435 * gdb.base/callexit.exp: Likewise.
9436 * gdb.base/callfuncs.exp: Likewise.
9437 * gdb.base/nodebug.exp: Likewise.
9438 * gdb.base/printcmds.exp: Likewise.
9439 * gdb.base/ptype.exp: Likewise.
9440 * gdb.base/structs.exp: Likewise.
9441 * gdb.base/unwindonsignal.exp: Likewise.
9442 * gdb.cp/gdb2495.exp: Likewise.
9443 * gdb.cp/templates.exp: Likewise.
9444 * gdb.cp/virtfunc.exp: Likewise.
9445 * gdb.threads/hand-call-in-threads.exp: Likewise.
9446 * gdb.threads/interrupted-hand-call.exp: Likewise.
9447 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9449 2016-06-10 Tom Tromey <tom@tromey.com>
9452 * gdb.rust/expr.exp: Add test for integer constant larger than
9455 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9457 * gdb.fortran/nested-funcs.exp: New.
9458 * gdb.fortran/nested-funcs.f90: New.
9460 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9462 * gdb.base/examine-backward.c: New file.
9463 * gdb.base/examine-backward.exp: New file.
9465 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9467 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9470 2016-06-02 Tom Tromey <tom@tromey.com>
9473 * gdb.python/py-shared.exp: Add solib_name test.
9475 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9477 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9479 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9482 * gdb.dwarf2/implref.exp: Rename to...
9483 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9484 * gdb.dwarf2/implref-array.c: New file.
9485 * gdb.dwarf2/implref-array.exp: Likewise.
9486 * gdb.dwarf2/implref-global.c: Likewise.
9487 * gdb.dwarf2/implref-global.exp: Likewise.
9488 * gdb.dwarf2/implref-struct.c: Likewise.
9489 * gdb.dwarf2/implref-struct.exp: Likewise.
9491 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9493 * gdb.trace/trace-condition.exp: Add 64bit tests.
9495 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9497 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9499 (main): Adapt to 8 to 64 bits types.
9500 * gdb.trace/trace-condition.exp: Add new tests.
9502 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9504 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9506 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9508 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9509 Move condition tests...
9510 * gdb.trace/trace-condition.exp: Here.
9512 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9514 * gdb.trace/trace-condition.exp: Add counter-case tests.
9516 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9519 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9520 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9522 2016-05-27 Pedro Alves <palves@redhat.com>
9524 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9526 (top level): Call it, and bail out of DejaGnu is known to be bad.
9528 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9530 * gdb.base/whatis.c: Extend the test case.
9531 * gdb.base/whatis.exp: Add additional tests.
9533 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9535 * gdb.fortran/type.f90: Add pointer variable.
9536 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9538 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9540 * gdb.fortran/vla-type.exp: Fix testcase name.
9542 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9544 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9546 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9548 * gdb.fortran/type.f90: Add nested structures.
9549 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9550 * gdb.fortran/derived-type.exp: Adapt expected output.
9551 * gdb.fortran/vla-type.exp: Adapt expected output.
9553 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9555 * gdb.fortran/whatis_type.exp: Adapt expected output.
9557 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9559 * gdb.fortran/print_type.exp: Fix expected output.
9560 * gdb.fortran/whatis_type.exp: Fix expected output.
9562 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9564 * gdb.fortran/whatis_type.exp: Use multi_line.
9566 2016-05-24 Tom Tromey <tom@tromey.com>
9569 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9570 use value as an index.
9572 2016-05-23 Tom Tromey <tom@tromey.com>
9575 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9578 2016-05-24 Pedro Alves <palves@redhat.com>
9581 * gdb.threads/clone-attach-detach.c: New file.
9582 * gdb.threads/clone-attach-detach.exp: New file.
9584 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9586 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9588 2016-05-23 Tom Tromey <tom@tromey.com>
9590 PR python/19438, PR python/18393:
9591 * gdb.python/py-progspace.exp: Add "dir" test.
9592 * gdb.python/py-objfile.exp: Add "dir" test.
9594 2016-05-23 Yao Qi <yao.qi@linaro.org>
9596 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9597 * gdb.arch/thumb2-it.exp: Likewise.
9599 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9601 * gdb.mi/mi-threads-interrupt.c: New file.
9602 * gdb.mi/mi-threads-interrupt.exp: New file.
9604 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9607 * gdb.mi/mi-async-run.exp: New file.
9608 * gdb.mi/mi-async-run.c: New file.
9610 2016-05-17 Tom Tromey <tom@tromey.com>
9611 Manish Goregaokar <manishsmail@gmail.com>
9613 * lib/rust-support.exp: New file.
9614 * lib/gdb.exp (skip_rust_tests): New proc.
9615 (build_executable_from_specs): Handle rust.
9616 * lib/future.exp (gdb_find_rustc): New proc.
9617 (gdb_default_target_compile): Handle rust.
9618 * gdb.rust/expr.exp: New file.
9619 * gdb.rust/generics.exp: New file.
9620 * gdb.rust/generics.rs: New file.
9621 * gdb.rust/methods.exp: New file.
9622 * gdb.rust/methods.rs: New file.
9623 * gdb.rust/modules.exp: New file.
9624 * gdb.rust/modules.rs: New file.
9625 * gdb.rust/simple.exp: New file.
9626 * gdb.rust/simple.rs: New file.
9628 2016-05-17 Tom Tromey <tom@tromey.com>
9630 * gdb.base/default.exp (set language): Add rust.
9632 2016-05-17 Tom Tromey <tom@tromey.com>
9634 * gdb.gdb/unittest.exp: New file.
9636 2016-05-16 Yao Qi <yao.qi@linaro.org>
9638 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9639 shell_prompt. Update shell_prompt_re.
9641 2016-05-12 Doug Evans <dje@google.com>
9644 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9645 $options when building executable.
9646 * gdb.dwarf2/fission-loclists-pie.S: New file.
9647 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9649 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9651 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
9652 of [is_remote target],
9654 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9656 * lib/gdb.exp (use_gdb_stub): New procedure.
9658 2016-05-03 Yunlian Jiang <yunlian@google.com>
9659 Doug Evans <dje@google.com>
9662 * gdb.dwarf2/dwp-sepdebug.c: New file.
9663 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9665 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9667 * gdb.base/detach.exp: Remove is_remote check.
9669 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9671 * gdb.base/annota-input-while-running.exp: Don't check for
9672 [is_remote target]. Enable annotations after running to main.
9673 Remove unused "set test..." line.
9675 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9677 * gdb.trace/trace-enable-disable.exp: New file.
9678 * gdb.trace/trace-enable-disable.c: New file.
9680 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9682 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9683 use it in info sharedlibrary test.
9684 * gdb.trace/ftrace-lock.exp: Likewise.
9685 * gdb.trace/ftrace.exp: Likewise.
9686 * gdb.trace/range-stepping.exp: Likewise.
9687 * gdb.trace/trace-break.exp: Likewise.
9688 * gdb.trace/trace-condition.exp: Likewise.
9689 * gdb.trace/trace-mt.exp: Likewise.
9691 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9693 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9694 (gdb_load_shlib): ... this.
9695 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9697 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9698 * gdb.base/ctxobj.exp: Likewise.
9699 * gdb.base/dprintf-pending.exp: Likewise.
9700 * gdb.base/dso2dso.exp: Likewise.
9701 * gdb.base/fixsection.exp: Likewise.
9702 * gdb.base/gcore-relro.exp: Likewise.
9703 * gdb.base/gdb1555.exp: Likewise.
9704 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9705 * gdb.base/gnu-ifunc.exp: Likewise.
9706 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9707 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9708 * gdb.base/pending.exp: Likewise.
9709 * gdb.base/print-file-var.exp: Likewise.
9710 * gdb.base/print-symbol-loading.exp: Likewise.
9711 * gdb.base/shlib-call.exp: Likewise.
9712 * gdb.base/shreloc.exp: Likewise.
9713 * gdb.base/so-impl-ld.exp: Likewise.
9714 * gdb.base/solib-disc.exp: Likewise.
9715 * gdb.base/solib-nodir.exp: Likewise.
9716 * gdb.base/solib-overlap.exp: Likewise.
9717 * gdb.base/solib-symbol.exp: Likewise.
9718 * gdb.base/solib-weak.exp (do_test): Likewise.
9719 * gdb.base/sym-file.exp: Likewise.
9720 * gdb.base/symtab-search-order.exp: Likewise.
9721 * gdb.base/type-opaque.exp: Likewise.
9722 * gdb.base/unload.exp: Likewise.
9723 * gdb.base/watchpoint-solib.exp: Likewise.
9724 * gdb.compile/compile.exp: Likewise.
9725 * gdb.cp/gdb2384.exp: Likewise.
9726 * gdb.cp/infcall-dlopen.exp: Likewise.
9727 * gdb.cp/re-set-overloaded.exp: Likewise.
9728 * gdb.fortran/library-module.exp: Likewise.
9729 * gdb.opt/solib-intra-step.exp: Likewise.
9730 * gdb.python/py-finish-breakpoint.exp: Likewise.
9731 * gdb.python/py-shared.exp: Likewise.
9732 * gdb.reverse/solib-precsave.exp: Likewise.
9733 * gdb.reverse/solib-reverse.exp: Likewise.
9734 * gdb.server/solib-list.exp: Likewise.
9735 * gdb.threads/dlopen-libpthread.exp: Likewise.
9736 * gdb.threads/tls-shared.exp: Likewise.
9737 * gdb.threads/tls-so_extern.exp: Likewise.
9738 * gdb.trace/change-loc.exp: Likewise.
9739 * gdb.trace/ftrace-lock.exp: Likewise.
9740 * gdb.trace/ftrace.exp: Likewise.
9741 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9742 * gdb.trace/pending.exp: Likewise.
9743 * gdb.trace/range-stepping.exp: Likewise.
9744 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9745 (strace_info_marker): Likewise.
9746 (strace_probe_marker): Likewise.
9747 (strace_trace_on_same_addr): Likewise.
9748 (strace_trace_on_diff_addr): Likewise.
9749 * gdb.trace/trace-break.exp: Likewise.
9750 * gdb.trace/trace-condition.exp: Likewise.
9751 * gdb.trace/trace-mt.exp: Likewise.
9753 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9755 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9756 result of gdb_remote_download.
9757 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9758 * gdb.base/dso2dso.exp: Likewise.
9759 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9760 * gdb.base/print-file-var.exp: Likewise.
9761 * gdb.base/shlib-call.exp: Likewise.
9762 * gdb.base/shreloc.exp: Likewise.
9763 * gdb.base/solib-overlap.exp: Likewise.
9764 * gdb.base/solib-weak.exp (do_test): Likewise.
9765 * gdb.base/unload.exp: Likewise.
9767 2016-04-27 Yao Qi <yao.qi@linaro.org>
9769 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9772 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9774 * vla-type.exp: Print structure from toplevel.
9776 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9778 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9780 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9783 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9785 * gdb.fortran/vla-type.f90: New file.
9786 * gdb.fortran/vla-type.exp: New file.
9788 2016-04-25 Yao Qi <yao.qi@linaro.org>
9790 * gdb.base/branch-to-self.c: New file.
9791 * gdb.base/branch-to-self.exp: New file.
9793 2016-04-22 Yao Qi <yao.qi@linaro.org>
9795 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9798 2016-04-22 Yao Qi <yao.qi@linaro.org>
9800 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9801 * gdb.base/annota3.exp: Likewise.
9803 2016-04-22 Yao Qi <yao.qi@linaro.org>
9805 * gdb.reverse/step-precsave.exp: Do one step and test program
9806 stops in "callee" and do multiple steps until program goes out
9808 * gdb.reverse/step-reverse.exp: Likewise.
9810 2016-04-22 Yao Qi <yao.qi@linaro.org>
9812 * gdb.trace/signal.exp: Also pass if
9813 $tracepoint_hits($i) > $iterations.
9815 2016-04-22 Yao Qi <yao.qi@linaro.org>
9817 * gdb.trace/signal.c: New file.
9818 * gdb.trace/signal.exp: New file.
9820 2016-04-19 Doug Evans <xdje42@gmail.com>
9822 * gdb.base/bad-file.exp: New file.
9824 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9826 * gdb.dwarf2/implref.exp: New file.
9828 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9830 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9831 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9832 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9833 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9834 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9835 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9836 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9837 * lib/fortran.exp (fortran_int4): New procedure.
9838 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9839 (fortran_logical4): Likewise.
9841 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9843 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9845 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9847 * lib/compiler.c: Add Intel specific preprocessor macros.
9848 * lib/compiler.cc: Likewise.
9850 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9852 * gdb.server/connect-with-no-symbol-file.c: New file.
9853 * gdb.server/connect-with-no-symbol-file.exp: New file.
9855 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9857 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9859 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9861 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9862 standard output directory.
9864 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9866 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9868 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9870 * gdb.btrace/instruction_history.c (loop): Add declaration.
9872 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9874 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9876 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9878 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9879 parentheses to print.
9880 (continue_handler): Likewise.
9882 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9884 * gdb.server/solib-list.exp: Remove is_remote check.
9885 Pass shlib= to gdb_compile. Don't link shared library with
9886 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9887 Run binary filename through "readlink -f" on the target.
9889 2016-04-08 Pedro Alves <palves@redhat.com>
9891 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9892 interpreter filename as argument to gdbserver_spawn.
9893 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9894 Return empty if $last_loaded_file does not exist.
9896 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9898 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9899 * gdb.base/jit-main.c: Use exit after usage.
9901 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9903 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9904 GDBHISTSIZE prior to the tests.
9905 * gdb.base/gdbinit-history.exp: Likewise.
9907 2016-04-07 Pedro Alves <palves@redhat.com>
9909 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9910 instead of build_executable. Use gdb_load_shlibs.
9912 2016-04-07 Yao Qi <yao.qi@linaro.org>
9914 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9915 Execute "si" command.
9917 2016-04-07 Yao Qi <yao.qi@linaro.org>
9919 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9920 number instead of the comments on some line.
9922 2016-04-06 Don Breazeal <donb@codesourcery.com>
9924 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9925 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9927 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9929 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9930 standard_output_file. Remove unused binfile variable.
9932 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9934 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9935 * gdb.python/py-mi-objfile.exp: Match "list main" output
9938 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9940 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9943 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9945 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9947 * gdb.trace/ftrace.exp: Likewise.
9948 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9950 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9951 (gdb_load_shlibs): Copy libraries to test directory when testing
9952 natively. Only set solib-search-path if testing remotely.
9953 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9955 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9957 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9958 gdb_download. Use it even if the target is not remote.
9959 * gdb.base/jit.exp (compile_jit_test): Likewise.
9960 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9961 output directory if the destination board is local, otherwise use
9962 the standard remote_download from DejaGnu.
9963 (gdb_download): Remove.
9964 (gdb_load_shlibs): Use gdb_remote_download instead of
9966 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9967 Use gdb_remote_download instead of gdb_download. Use it even if
9968 the target is not remote.
9969 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9970 instead of gdb_download.
9972 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9974 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9975 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9978 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9981 * gdb.base/printcmds.exp: Add artificial arrays tests.
9983 2016-03-31 Pedro Alves <palves@redhat.com>
9986 * gdb.base/jit-main.c: Include unistd.h.
9987 (ATTACH): Define to 0 if not already defined.
9988 (wait_for_gdb, mypid): New globals.
9989 (WAIT_FOR_GDB): New macro.
9990 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9991 some breakpoint locations.
9992 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9994 (one_jit_test): Add REATTACH parameter, and handle it. Use
9995 continue_to_test_location.
9996 (top level): Test attach, and adjusts calls to one_jit_test.
9998 2016-03-31 Pedro Alves <palves@redhat.com>
10001 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10002 BINSUFFIX parameter, and handle it.
10003 (top level): Adjust calls compile_jit_test.
10005 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10008 * gdb.python/py-mi-events-gdb.py: New file.
10009 * gdb.python/py-mi-events.c: New file.
10010 * gdb.python/py-mi-events.exp: New file.
10012 2016-03-30 Yao Qi <yao.qi@linaro.org>
10014 * gdb.reverse/until-precsave.exp: Match function name only.
10015 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10016 Move malloc to a condition block.
10017 * gdb.reverse/until-reverse.exp: Match function name only.
10019 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10021 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10022 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10023 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10024 variable for GPR 0 instead of assuming it is register 0.
10025 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10026 * lib/trace-support.exp: Add s390 registers.
10028 2016-03-29 Yao Qi <yao.qi@linaro.org>
10030 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10032 2016-03-24 Yao Qi <yao.qi@linaro.org>
10034 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10037 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10039 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10040 maintaining separate logic for constructing the output path.
10042 2016-03-16 Don Breazeal <donb@codesourcery.com>
10044 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10045 Retry fork and waitpid on interrupted system call errors.
10046 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10047 Use with_timeout_factor to increase timeout by factor of 10.
10049 2016-03-15 Don Breazeal <donb@codesourcery.com>
10051 * gdb.cp/scope-err.cc: New test program.
10052 * gdb.cp/scope-err.exp: New test script.
10053 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10054 lines and "set breakpoint here" comment.
10055 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10056 Fixed some whitespace and format issues.
10057 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10058 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10060 2016-03-15 Doug Evans <dje@google.com>
10062 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10063 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10064 All callers updated. Add tests for enums, mixed flags register.
10066 2016-03-15 Doug Evans <dje@google.com>
10068 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10069 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10071 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10073 * gdb.base/default.exp: Add $_as_string to the list of expected
10074 convenience functions.
10076 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10078 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10080 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10082 * gdb.python/py-as-string.exp: New file.
10083 * gdb.python/py-as-string.c: New file.
10085 2016-03-09 Pedro Alves <palves@redhat.com>
10087 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10088 signal" -> "Thread NN received signal" output change.
10089 * gdb.threads/ia64-sigill.exp: Likewise.
10090 * gdb.threads/linux-dp.exp: Likewise.
10091 * gdb.threads/manythreads.exp: Likewise.
10092 * gdb.threads/pending-step.exp: Likewise.
10093 * gdb.threads/print-threads.exp: Likewise.
10094 * gdb.threads/sigstep-threads.exp: Likewise.
10095 * gdb.threads/staticthreads.exp: Likewise.
10096 * gdb.threads/tls.exp: Likewise.
10098 2016-03-09 Pedro Alves <palves@redhat.com>
10100 * gdb.base/command-line-input.exp: New file.
10102 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10104 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10105 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10106 * gdb.trace/pending.exp: Accept leading dot before function name.
10107 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10108 * lib/trace-support.exp: Set registers for ppc.
10110 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10112 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10113 use it for disassembly; accept .main in addition to main in backtrace.
10115 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10116 Marcin Kościelnicki <koriakin@0x04.net>
10118 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10119 (gdb_recursion_test_ptr): New global variable.
10120 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10121 gdb_recursion_test.
10122 (gdb_c_test): Ditto.
10124 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10126 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10129 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10131 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10132 (bar): Add bar_start_lbl label.
10133 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10134 of foo/bar for emitting DWARF and tracing.
10136 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10138 * analyze-racy-logs.py: Set executable bit.
10140 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10142 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10143 (CHECK_TARGET_TMP): Likewise.
10144 (check-single-racy): New rule.
10145 (check-parallel-racy): Likewise.
10146 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10147 (do-check-parallel-racy): New rule.
10148 (check-racy/%.exp): Likewise.
10149 * README (Racy testcases): New section.
10150 * analyze-racy-logs.py: New file.
10152 2016-03-03 Doug Evans <dje@google.com>
10154 * gdb.base/skip.exp: Use with_test_prefix.
10156 2016-03-03 Yao Qi <yao.qi@linaro.org>
10158 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10159 Invoke step_over_syscall "clone" and break_cond_on_syscall
10161 * gdb.base/step-over-clone.c: New file.
10163 2016-03-03 Yao Qi <yao.qi@linaro.org>
10165 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10168 2016-03-03 Yao Qi <yao.qi@linaro.org>
10170 * gdb.base/disp-step-fork.c: Rename to ...
10171 * gdb.base/step-over-fork.c: ... it. New file.
10172 * gdb.base/disp-step-vfork.c: Rename to ...
10173 * gdb.base/step-over-vfork.c: ... it. New file.
10174 * gdb.base/disp-step-syscall.exp: Rename to ...
10175 * gdb.base/step-over-syscall.exp: ... it. New file.
10176 (disp_step_cross_syscall): Rename to ...
10177 (step_over_syscall): ... it.
10179 2016-03-03 Yao Qi <yao.qi@linaro.org>
10181 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10182 If target supports condition evaluation on target, invoke
10183 break_cond_on_syscall for fork and vfork.
10185 2016-03-03 Yao Qi <yao.qi@linaro.org>
10187 * gdb.base/disp-step-syscall.exp: Don't invoke
10188 support_displaced_stepping.
10189 (disp_step_cross_syscall): Test with displaced stepping off and
10192 2016-03-03 Yao Qi <yao.qi@linaro.org>
10194 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10197 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10200 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10202 * gdb.fortran/vla-history.exp: Remove breakpoint.
10204 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10206 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10209 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10211 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10214 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10216 * gdb.mi/vla.f90: Nullify pointer after declaration.
10218 2016-03-01 Pedro Alves <palves@redhat.com>
10220 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10222 2016-03-01 Pedro Alves <palves@redhat.com>
10224 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10225 before anything else.
10226 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10228 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10229 before anything else.
10230 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10232 2016-03-01 Pedro Alves <palves@redhat.com>
10234 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10236 2016-03-01 Yao Qi <yao.qi@linaro.org>
10238 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10239 prepare_for_testing.
10241 2016-03-01 Yao Qi <yao.qi@linaro.org>
10243 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10245 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10247 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10248 manually constructing the output path.
10250 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10252 * gdb.arch/s390-stackless.S: New.
10253 * gdb.arch/s390-stackless.exp: New.
10255 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10257 * gdb.dlang/circular.c: New file.
10258 * gdb.dlang/circular.exp: New file.
10260 2016-02-26 Yao Qi <yao.qi@linaro.org>
10262 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10263 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10264 (testcases): Update.
10266 2016-02-26 Yao Qi <yao.qi@linaro.org>
10268 * gdb.reverse/aarch64.c: Rename to ...
10269 * gdb.reverse/insn-reverse.c: ... it.
10270 * gdb.reverse/aarch64.exp: Rename to ...
10271 * gdb.reverse/insn-reverse.exp: ... it.
10273 2016-02-26 Yao Qi <yao.qi@linaro.org>
10275 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10276 (testcase_ftype): New.
10277 (testcases): New array.
10278 (n_testcases): New.
10279 (main): Call each element in testcases.
10280 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10281 (read_testcase): New.
10282 Do the tests in a loop.
10284 2016-02-25 Yao Qi <yao.qi@linaro.org>
10286 * gdb.base/branches.c: Remove.
10288 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10291 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10293 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10295 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10297 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10299 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10300 change x86_64 call_insn to 'callq'.
10302 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10304 * gdb.trace/tfile-avx.c: Move to...
10305 * gdb.trace/tracefile-pseudo-reg.c: Here.
10306 * gdb.trace/tfile-avx.exp: Move to...
10307 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10309 2016-02-24 Gary Benson <gbenson@redhat.com>
10311 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10314 2016-02-23 Doug Evans <dje@google.com>
10316 * gdb.base/skip.c (test_skip): New function.
10317 (end_test_skip_file_and_function): New function.
10318 (test_skip_file_and_function): New function.
10319 * gdb.base/skip1.c (test_skip): New function.
10320 (skip1_test_skip_file_and_function): New function.
10321 * gdb.base/skip.exp: Add tests for new skip options.
10322 * gdb.base/skip-solib.exp: Update expected output.
10323 * gdb.perf/skip-command.cc: New file.
10324 * gdb.perf/skip-command.exp: New file.
10325 * gdb.perf/skip-command.py: New file.
10327 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10329 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10330 info registers pattern.
10332 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10334 * lib/future.exp: Add D support.
10335 (gdb_find_gdc): New proc.
10336 (gdb_default_target_compile): Add D support.
10338 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10340 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10342 (trace_speed_test): Determine the iteration count for a time
10343 between 15..30 seconds.
10345 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10347 * gdb.arch/i386-mpx-sigsegv.c: New file.
10348 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10349 * gdb.arch/i386-mpx-simple_segv.c: New file.
10350 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10352 2016-02-18 Yao Qi <yao.qi@linaro.org>
10354 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10355 Don't call setup_kfail.
10357 2016-02-18 Yao Qi <yao.qi@linaro.org>
10359 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10360 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10362 2016-02-16 Doug Evans <dje@google.com>
10364 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10365 * gdb.base/skip1.c: Ditto.
10366 * gdb.base/skip.exp: Whitespace cleanup.
10368 2016-02-16 Don Breazeal <donb@codesourcery.com>
10371 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10372 Remove kfail for PR remote/19496.
10374 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10376 * lib/gdb.exp (standard_temp_file): Return a path specific to
10377 the runtest invocation.
10379 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10381 * gdb.trace/save-trace.exp: Change relative path to be in the
10382 standard output directory.
10384 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10386 * gdb.arch/i386-prologue.c: Add missing prototypes.
10388 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10390 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10391 * gdb.arch/i386-prologue.exp: Likewise.
10392 * gdb.arch/i386-size.exp: Likewise.
10394 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10396 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10397 define object file path.
10398 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10400 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10401 standard_output_file to define binfile.
10403 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10405 Fix compatibility with recent gfortran-5.3.1.
10406 * gdb.fortran/vla-history.exp (print vla1 allocated)
10407 (print vla2 allocated, print $2, print $3): Remove
10408 (print $4): Rename to ...
10409 (print $2): ... here.
10410 (print $9): Rename to ...
10411 (print $5): ... here.
10412 (print $10): Rename to ...
10413 (print $6): ... here.
10414 * gdb.fortran/vla.f90: Add pvla initialization.
10416 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10418 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10420 * gdb.fortran/vla-value-sub.exp: Likewise.
10422 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10424 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10426 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10428 * i386-biarch-core.exp: Define corefile using
10429 standard_output_file.
10431 2016-02-12 Yao Qi <yao.qi@linaro.org>
10433 * gdb.arch/arm-single-step-kernel-helper.c: New.
10434 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10436 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10438 * gdb.btrace/tailcall-only.exp: New.
10439 * gdb.btrace/tailcall-only.c: New.
10440 * gdb.btrace/x86_64-tailcall-only.S: New.
10441 * gdb.btrace/i686-tailcall-only.S: New.
10443 2016-02-11 Pedro Alves <palves@redhat.com>
10445 * README (Parallel testing): Add missing double quotes.
10447 2016-02-11 Pedro Alves <palves@redhat.com>
10449 * README (Parallel testing): New section.
10450 (GDB_PARALLEL): Rewrite.
10451 (FORCE_PARALLEL): Document.
10453 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10455 * gdb.trace/tfile-avx.c: New test.
10456 * gdb.trace/tfile-avx.exp: New test.
10458 2016-02-09 Keith Seitz <keiths@redhat.com>
10460 PR breakpoints/19546
10461 * gdb.base/infcall-exec.c: New file.
10462 * gdb.base/infcall-exec2.c: New file.
10463 * gdb.base/infcall-exec.exp: New file.
10465 2016-02-09 Keith Seitz <keiths@redhat.com>
10467 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10468 (toplevel): Call test_bkpt_address.
10470 2016-02-09 Keith Seitz <keiths@redhat.com>
10473 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10474 (toplevel): Call test_bkpt_address.
10476 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10478 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10480 * configure: Regenerate.
10482 2016-02-09 Pedro Alves <palves@redhat.com>
10484 PR breakpoints/19548
10485 * gdb.base/execl-update-breakpoints.c (some_function): New
10488 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10489 Tighten expected GDB output.
10491 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10493 * Makefile.in (ALL_SUBDIRS): Remove.
10494 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10495 (distclean maintainer-clean realclean): Likewise.
10496 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10497 * configure: Regenerate.
10498 * gdb.ada/Makefile.in: Delete.
10499 * gdb.arch/Makefile.in: Likewise.
10500 * gdb.asm/Makefile.in: Likewise.
10501 * gdb.base/Makefile.in: Likewise.
10502 * gdb.btrace/Makefile.in: Likewise.
10503 * gdb.cell/Makefile.in: Likewise.
10504 * gdb.compile/Makefile.in: Likewise.
10505 * gdb.cp/Makefile.in: Likewise.
10506 * gdb.disasm/Makefile.in: Likewise.
10507 * gdb.dlang/Makefile.in: Likewise.
10508 * gdb.dwarf2/Makefile.in: Likewise.
10509 * gdb.fortran/Makefile.in: Likewise.
10510 * gdb.gdb/Makefile.in: Likewise.
10511 * gdb.go/Makefile.in: Likewise.
10512 * gdb.guile/Makefile.in: Likewise.
10513 * gdb.java/Makefile.in: Likewise.
10514 * gdb.linespec/Makefile.in: Likewise.
10515 * gdb.mi/Makefile.in: Likewise.
10516 * gdb.modula2/Makefile.in: Likewise.
10517 * gdb.multi/Makefile.in: Likewise.
10518 * gdb.objc/Makefile.in: Likewise.
10519 * gdb.opencl/Makefile.in: Likewise.
10520 * gdb.opt/Makefile.in: Likewise.
10521 * gdb.pascal/Makefile.in: Likewise.
10522 * gdb.perf/Makefile.in: Likewise.
10523 * gdb.python/Makefile.in: Likewise.
10524 * gdb.reverse/Makefile.in: Likewise.
10525 * gdb.server/Makefile.in: Likewise.
10526 * gdb.stabs/Makefile.in: Likewise.
10527 * gdb.threads/Makefile.in: Likewise.
10528 * gdb.trace/Makefile.in: Likewise.
10529 * gdb.xml/Makefile.in: Likewise.
10530 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10532 (standard_output_file): Remove check for GDB_PARALLEL, always
10533 return path in outputs/$subdir/$testname.
10535 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10537 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10538 (site.exp): Assign abs_srcdir to tcl's srcdir.
10540 2016-02-04 Yao Qi <yao.qi@linaro.org>
10542 * gdb.base/foll-exec-mode.c: Include limits.h.
10543 (main): Add parameters argc and argv. Get directory from
10545 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10547 * gdb.base/foll-exec.c: Include limits.h.
10548 (main): Add parameters argc and argv.
10549 Get directory from argv[0].
10550 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10551 Adjust tests on the number of lines as source code changed.
10552 * gdb.base/foll-vfork-exit.c: Include limits.h.
10553 (main): Add one line of statement before vfork.
10554 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10555 (main): Add parameters argc and argv. Get directory from
10557 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10558 (setup_gdb): Set tbreak to skip some source lines.
10559 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10560 (main): Add parameters argc and argv. Get directory from
10562 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10564 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10565 (main): Add parameters argc and argv. Get directory from
10567 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10570 2016-02-01 Doug Evans <dje@google.com>
10572 * gdb.base/skip.exp: Clean up multiple references to same test name.
10574 2016-02-01 Pedro Alves <palves@redhat.com>
10577 * gdb.threads/forking-threads-plus-breakpoint.exp
10578 (displaced_stepping_supported): New global.
10579 (probe_displaced_stepping_support): New procedure.
10580 (do_test): Add 'displaced' parameter, and use it.
10581 (top level): Check for displaced stepping support. Add displaced
10582 stepping on/off testing axis.
10584 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10586 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10587 pointer. Don't perform further tests on the unassociated pointer
10588 if the first test fails.
10590 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10592 * gdb.base/max-value-size.c: New file.
10593 * gdb.base/max-value-size.exp: New file.
10594 * gdb.base/huge.exp: Disable max-value-size for this test.
10596 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10598 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10600 2016-01-28 Yao Qi <yao.qi@linaro.org>
10602 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10604 2016-01-25 Pedro Alves <palves@redhat.com>
10607 * gdb.base/fork-running-state.c: New file.
10608 * gdb.base/fork-running-state.exp: New file.
10610 2016-01-25 Pedro Alves <palves@redhat.com>
10613 * gdb.base/catch-fork-kill.c: New file.
10614 * gdb.base/catch-fork-kill.exp: New file.
10616 2016-01-25 Pedro Alves <palves@redhat.com>
10618 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10619 Delete, moved to lib/gdb.exp.
10620 * gdb.threads/forking-threads-plus-breakpoint.exp
10621 (foreach_with_prefix): Likewise.
10622 * gdb.threads/process-dies-while-handling-bp.exp
10623 (foreach_with_prefix): Likewise.
10624 * lib/gdb.exp (foreach_with_prefix): New procedure.
10626 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10628 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10629 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10631 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10633 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10636 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10637 Pedro Alves <palves@redhat.com>
10639 Fix testsuite compatibility with Guile.
10640 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10643 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10645 Fix testsuite compatibility with Guile.
10646 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10647 (thread 1): New test for backtrace through signal handler.
10649 2016-01-22 Yao Qi <yao.qi@linaro.org>
10652 * gdb.base/multi-forks.c: Include
10653 ../lib/unbuffer_output.c
10654 (main): Call gdb_unbuffer_output.
10656 2016-01-21 Doug Evans <dje@google.com>
10658 * lib/ada.exp (gdb_compile_ada): Fix typo.
10660 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10662 * gdb.base/break-fun-addr.exp: New file.
10663 * gdb.base/break-fun-addr1.c: New file.
10664 * gdb.base/break-fun-addr2.c: New file.
10666 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10668 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10669 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10672 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10674 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10675 when GDB can not set the vector return value. Add more comments
10678 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10680 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10683 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10685 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10687 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10689 * Makefile.in (check-single): Pass --status to runtest.
10690 (check/%.exp): Likewise.
10692 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10694 * Makefile.in (check-parallel): Propagate return code from make
10697 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10699 * gdb.trace/ftrace.exp: Fix expected message on continue.
10700 * gdb.trace/pending.exp: Fix expected message on continue.
10701 * gdb.trace/trace-break.exp: Fix expected message on continue.
10703 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10705 * lib/gdb.exp (gdb_test): Remove unused global references.
10707 2016-01-18 Pedro Alves <palves@redhat.com>
10709 * gdb.base/async-shell.exp: Adjust expected output.
10710 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10711 * gdb.base/siginfo-thread.exp: Adjust expected output.
10712 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10713 * gdb.java/jnpe.exp: Adjust expected output.
10714 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10715 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10716 * gdb.threads/leader-exit.exp: Adjust expected output.
10717 * gdb.threads/manythreads.exp: Adjust expected output.
10718 * gdb.threads/pthreads.exp: Adjust expected output.
10719 * gdb.threads/schedlock.exp: Adjust expected output.
10720 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10721 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10723 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10725 * gdb.threads/sigthread.exp: Adjust expected output.
10726 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10728 2016-01-18 Yao Qi <yao.qi@linaro.org>
10730 * gdb.guile/scm-section-script.c: Replace @progbits with
10732 * gdb.python/py-section-script.c: Likewise.
10734 2016-01-15 Pedro Alves <palves@redhat.com>
10736 * gdb.multi/tids.exp: Test star wildcard ranges.
10738 2016-01-15 Pedro Alves <palves@redhat.com>
10740 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10741 command from "thread apply" invocation.
10742 (thr_apply_info_thr_invalid): Default the expected output to the
10744 (top level): Add tests that use convenience variables. Add tests
10745 for "thread apply" with a valid TID list, but missing the command.
10747 2016-01-13 Pedro Alves <palves@redhat.com>
10749 * gdb.base/default.exp: Expect $_gthread as well.
10750 * gdb.multi/tids.exp: Test $_gthread.
10751 * gdb.threads/thread-specific.exp: Test $_gthread.
10753 2016-01-13 Pedro Alves <palves@redhat.com>
10755 * gdb.multi/tids.exp: Test "info threads -gid".
10757 2016-01-13 Pedro Alves <palves@redhat.com>
10759 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10761 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10763 2016-01-07 Pedro Alves <palves@redhat.com>
10765 * gdb.base/break.exp: Adjust to output changes.
10766 * gdb.base/hbreak2.exp: Likewise.
10767 * gdb.base/sepdebug.exp: Likewise.
10768 * gdb.base/watch_thread_num.exp: Likewise.
10769 * gdb.linespec/keywords.exp: Likewise.
10770 * gdb.multi/info-threads.exp: Likewise.
10771 * gdb.threads/thread-find.exp: Likewise.
10772 * gdb.multi/tids.c: New file.
10773 * gdb.multi/tids.exp: New file.
10775 2016-01-13 Pedro Alves <palves@redhat.com>
10777 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10779 2016-01-13 Pedro Alves <palves@redhat.com>
10781 * gdb.base/default.exp: Expect $_inferior as well.
10782 * gdb.multi/base.exp: Test $_inferior.
10784 2016-01-13 Pedro Alves <palves@redhat.com>
10786 PR breakpoints/19388
10787 * gdb.base/catch-signal-siginfo-cond.c: New file.
10788 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10790 2016-01-12 Josh Stone <jistone@redhat.com>
10791 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10793 * gdb.base/catch-syscall.c (do_execve): New variable.
10794 (main): Conditionally trigger an execve.
10795 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10796 (test_catch_syscall_execve): New, check entry/return across execve.
10797 (do_syscall_tests): Call test_catch_syscall_execve.
10799 2016-01-12 Pedro Alves <palves@redhat.com>
10801 * gdb.base/random-signal.exp (do_test): New procedure, with body
10802 of testcase moved in.
10804 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10805 Pedro Alves <palves@redhat.com>
10807 * gdb.base/funcargs.exp (finish from indirectly called function):
10808 Reintroduce the case for 'First'.
10810 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10811 Pedro Alves <palves@redhat.com>
10813 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10814 (tcatch_vfork_then_child_follow_exec)
10815 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10818 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10820 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10821 and repeats to unlimited.
10822 * gdb.python/py-value.exp: Likewise.
10823 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10824 and repeats to unlimited.
10826 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10828 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10829 and reordering the functions.
10830 * gdb.multi/hangout.c: Likewise.
10831 * gdb.multi/hello.c: Likewise.
10833 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10835 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10837 (SingleStatisticTestResult.report): Use dict.keys instead of
10840 2016-01-06 Pedro Alves <palves@redhat.com>
10842 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10844 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10846 * gdb.btrace/dlopen.exp: New.
10847 * gdb.btrace/dlopen.c: New.
10848 * gdb.btrace/dlopen-dso.c: New.
10850 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10852 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10853 PATTERN argument is optional.
10855 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10857 * lib/ada.exp (target_compile_ada_from_dir): New function.
10858 (gdb_compile_ada): Reimplement avoiding the use of project files.
10859 * gdb.ada/gnat_ada.gpr: Delete.
10860 * gdb.ada/cond_lang.exp: Adjust test to make path before
10862 * gdb.ada/small_reg_param.exp: Likewise.
10864 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10866 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10868 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10870 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10873 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10875 * gdb.base/break.exp: Remove dead code.
10876 * gdb.base/sepdebug.exp: Likewise.
10878 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10880 * gdb.asm/asm-source.exp: Remove HP-UX references.
10881 * gdb.base/annota1.exp: Likewise.
10882 * gdb.base/annota3.exp: Likewise.
10883 * gdb.base/attach.exp: Likewise.
10884 * gdb.base/bigcore.exp: Likewise.
10885 * gdb.base/break.exp: Likewise.
10886 * gdb.base/call-ar-st.exp: Likewise.
10887 * gdb.base/callfuncs.exp: Likewise.
10888 * gdb.base/catch-fork-static.exp: Likewise.
10889 * gdb.base/display.exp: Likewise.
10890 * gdb.base/foll-exec-mode.exp: Likewise.
10891 * gdb.base/foll-exec.exp: Likewise.
10892 * gdb.base/foll-fork.exp: Likewise.
10893 * gdb.base/foll-vfork.exp: Likewise.
10894 * gdb.base/funcargs.exp: Likewise.
10895 * gdb.base/hbreak2.exp: Likewise.
10896 * gdb.base/inferior-died.exp: Likewise.
10897 * gdb.base/interrupt.exp: Likewise.
10898 * gdb.base/multi-forks.exp: Likewise.
10899 * gdb.base/nodebug.exp: Likewise.
10900 * gdb.base/sepdebug.exp: Likewise.
10901 * gdb.base/solib1.c: Likewise.
10902 * gdb.base/step-test.exp: Likewise.
10903 * gdb.mi/non-stop.c: Likewise.
10904 * gdb.mi/pthreads.c: Likewise.
10905 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10906 * gdb.threads/pthreads.c: Likewise.
10907 * gdb.threads/staticthreads.exp: Likewise.
10908 * lib/future.exp: Likewise.
10909 * lib/gdb.exp: Likewise.
10910 * gdb.base/so-indr-cl.c: Remove.
10911 * gdb.base/so-indr-cl.exp: Likewise.
10912 * gdb.base/solib.c: Likewise.
10913 * gdb.base/solib.exp: Likewise.
10914 * gdb.base/solib2.c: Likewise.
10916 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10918 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10919 * gdb.base/call-ar-st.exp: Likewise.
10920 * gdb.base/callfuncs.exp: Likewise.
10921 * gdb.base/condbreak.exp: Likewise.
10922 * gdb.base/constvars.exp: Likewise.
10923 * gdb.base/hbreak2.exp: Likewise.
10924 * gdb.base/langs.exp: Likewise.
10925 * gdb.base/list.exp: Likewise.
10926 * gdb.base/long_long.exp: Likewise.
10927 * gdb.base/ptype.exp: Likewise.
10928 * gdb.base/scope.exp: Likewise.
10929 * gdb.base/signals.exp: Likewise.
10930 * gdb.base/so-impl-ld.exp: Likewise.
10931 * gdb.base/varargs.exp: Likewise.
10932 * gdb.base/volatile.exp: Likewise.
10933 * gdb.base/whatis.exp: Likewise.
10934 * gdb.cp/cplusfuncs.exp: Likewise.
10935 * gdb.cp/inherit.exp: Likewise.
10936 * gdb.cp/local.exp: Likewise.
10937 * gdb.cp/member-ptr.exp: Likewise.
10938 * gdb.cp/method.exp: Likewise.
10939 * gdb.cp/overload.exp: Likewise.
10940 * gdb.cp/templates.exp: Likewise.
10941 * gdb.stabs/weird.exp: Likewise.
10942 * lib/compiler.c: Likewise.
10943 * lib/compiler.cc: Likewise.
10944 * lib/cp-support.exp: Likewise.
10945 * lib/gdb.exp: Likewise.
10947 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10949 * configure.ac: Remove HP-UX case.
10950 * configure: Regenerate.
10952 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10954 * lib/gdb.exp (gdb_compile): Add function doc.
10956 2015-12-17 Pedro Alves <palves@redhat.com>
10959 * gdb.multi/info-threads.exp: New file.
10961 2015-12-15 Yao Qi <yao.qi@linaro.org>
10963 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10966 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10968 * gdb.base/history-duplicates.exp: Skip if no readline support.
10970 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10972 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10974 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10976 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10978 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10980 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10981 ctrl-C if nointerrupts target property is set.
10982 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10983 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10984 * gdb.base/paginate-bg-execution.exp: Likewise.
10985 * gdb.base/paginate-execution-startup.exp: Likewise.
10986 * gdb.base/random-signal.exp: Likewise.
10987 * gdb.base/range-stepping.exp: Likewise.
10988 * gdb.cp/annota2.exp: Likewise.
10989 * gdb.cp/annota3.exp: Likewise.
10990 * gdb.gdb/selftest.exp: Likewise.
10991 * gdb.threads/continue-pending-status.exp: Likewise.
10992 * gdb.threads/leader-exit.exp: Likewise.
10993 * gdb.threads/manythreads.exp: Likewise.
10994 * gdb.threads/pthreads.exp: Likewise.
10995 * gdb.threads/schedlock.exp: Likewise.
10996 * gdb.threads/sigthread.exp: Likewise.
10998 2015-12-11 Don Breazeal <donb@codesourcery.com>
11000 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11002 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11003 * gdb.base/foll-exec.exp (main): Enable for target remote.
11004 * gdb.base/foll-fork.exp (main): Likewise.
11005 * gdb.base/foll-vfork.exp (main): Likewise.
11006 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11007 (proc continue_to_exit_bp_loc): Use clean_restart.
11008 * gdb.base/pie-execl.exp (main): Disable for target remote.
11009 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11010 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11011 * gdb.threads/execl.exp (main): Likewise.
11012 * gdb.threads/fork-child-threads.exp (main): Likewise.
11013 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11015 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11017 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11018 pid.tid style ptids, instead of just tid.
11019 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11020 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11021 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11022 ptids, instead of just tid.
11024 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11026 * gdb.base/list.exp (test_list_forward): Add end of file error
11028 (test_repeat_list_command): Add end of file error test.
11029 (test_list_backwards): Add beginning of file error test.
11031 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11033 * gdb.base/list.exp (test_list_invalid_args): New function,
11034 defined, and called.
11036 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11038 * gdb.base/list.exp (test_list): Make test names unique.
11040 2015-12-11 Yao Qi <yao.qi@linaro.org>
11042 * gdb.base/coremaker2.c: Remove.
11044 2015-12-10 Pedro Alves <palves@redhat.com>
11046 * gdb.multi/base.exp: Remove stale "spaces" references.
11048 2015-12-10 Pedro Alves <palves@redhat.com>
11050 * gdb.multi/base.exp: Don't use nowarnings.
11051 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11052 * gdb.multi/hangout.c: Include stdio.h.
11053 * gdb.multi/hello.c: Include stdlib.h.
11054 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11055 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11056 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11058 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11060 * gdb.dwarf2/dw2-ranges-base.c: New file.
11061 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11062 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11063 support additional line table, and debug ranges generation.
11064 (Dwarf::ranges): New function, generate .debug_ranges.
11065 (Dwarf::lines): Support generating simple line table programs.
11066 (Dwarf::assemble): Initialise new namespace variables.
11068 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11070 * gdb.base/async.exp (proc test_background): Add case for
11071 asynchronous execution not supported.
11073 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11075 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11076 format and change test names to make them unique.
11078 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11079 Pedro Alves <pedro@redhat.com>
11082 Add checking of floatformats setup on x86_64 hosts.
11083 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11084 (smallval, bigval): New labels/constants.
11085 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11086 float" after loading bigval and smallval.
11088 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11090 * gdb.ada/fun_overload_menu.exp: New testcase.
11091 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11093 2015-12-04 Josh Stone <jistone@redhat.com>
11095 * gdb.base/catch-fork-static.exp: New.
11097 2015-12-03 Yao Qi <yao.qi@linaro.org>
11099 * gdb.base/sizeof.c: Don't include stdio.h and
11100 ../lib/unbuffer_output.c.
11101 (main): New variable 'size' and 'value'. Remove printf and
11102 gdb_unbuffer_output. Assign return value to size and value.
11103 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11105 (check_sizeof): Check the result by printing variable 'size'.
11106 (check_valueof): Check the result by printing variable 'value'.
11108 2015-12-01 Yao Qi <yao.qi@linaro.org>
11110 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11111 for aarch64*-*-linux* target.
11113 2015-11-30 Pedro Alves <palves@redhat.com>
11115 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11117 2015-11-30 Pedro Alves <palves@redhat.com>
11119 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11120 Handle non-stop mode vCont replies.
11122 2015-11-30 Pedro Alves <palves@redhat.com>
11124 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11125 prepare_for_testing. Start gdb with "set non-stop on" appended to
11126 GDBFLAGS. Lax expected stop output.
11128 2015-11-27 Yao Qi <yao.qi@linaro.org>
11130 * gdb.arch/arm-neon.exp: New.
11131 * gdb.arch/arm-neon.c: New.
11133 2015-11-27 Yao Qi <yao.qi@linaro.org>
11135 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11137 2015-11-27 Yao Qi <yao.qi@linaro.org>
11139 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11140 frames-invalid annotation.
11142 2015-11-27 Yao Qi <yao.qi@linaro.org>
11144 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11146 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11148 * gdb.threads/names.exp: New file.
11149 * gdb.threads/names.c: New file.
11150 * README: Mention gdb,no_thread_names.
11152 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11155 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11158 2015-11-24 Pedro Alves <palves@redhat.com>
11161 * gdb.base/display.exp: Expect displays to be sorted in ascending
11162 order. Use multi_line.
11163 * gdb.base/solib-display.exp: Likewise.
11165 2015-11-24 Pedro Alves <palves@redhat.com>
11168 * gdb.base/display.exp: Expect displays to be sorted in ascending
11169 order. Use multi_line.
11170 * gdb.base/solib-display.exp: Likewise.
11172 2015-11-24 Pedro Alves <palves@redhat.com>
11175 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11176 threads in ascending order.
11177 * gdb.base/foll-fork.exp: Likewise.
11178 * gdb.base/foll-vfork.exp: Likewise.
11179 * gdb.base/multi-forks.exp: Likewise.
11180 * gdb.mi/mi-nonstop.exp: Likewise.
11181 * gdb.mi/mi-nsintrall.exp: Likewise.
11182 * gdb.multi/base.exp: Likewise.
11183 * gdb.multi/multi-arch.exp: Likewise.
11184 * gdb.python/py-inferior.exp: Likewise.
11185 * gdb.threads/break-while-running.exp: Likewise.
11186 * gdb.threads/execl.exp: Likewise.
11187 * gdb.threads/gcore-thread.exp: Likewise.
11188 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11189 * gdb.threads/kill.exp: Likewise.
11190 * gdb.threads/linux-dp.exp: Likewise.
11191 * gdb.threads/multiple-step-overs.exp: Likewise.
11192 * gdb.threads/next-bp-other-thread.exp: Likewise.
11193 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11194 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11195 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11196 * gdb.threads/thread-find.exp: Likewise.
11197 * gdb.threads/tls.exp: Likewise.
11198 * lib/mi-support.exp (mi_reverse_list): Delete.
11199 (mi_check_thread_states): No longer reverse list.
11201 2015-11-24 Pedro Alves <palves@redhat.com>
11203 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11206 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11208 * gdb.trace/actions.c: Include trace-common.h.
11209 (main): Add a location for a fast tracepoint.
11210 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11211 the normal tracepoints.
11212 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11214 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11216 * save-trace.exp: Factor out code to these...
11217 (gdb_save_tracepoints): New.
11218 (gdb_load_tracepoints): New.
11219 (do_save_load_test): New.
11221 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11223 * gdb.base/asmlabel.exp: New test.
11224 * gdb.base/asmlabel.c: New test case.
11226 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11228 * gdb.base/wrong_frame_bt_full-main.c: New file.
11229 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11230 * gdb.base/wrong_frame_bt_full.exp: New file.
11232 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11234 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11236 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11238 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11239 pstate register when comparing registers values in
11240 sparc64-*-linux-gnu targets to avoid spurious differences.
11242 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11244 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11246 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11248 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11249 as type argument to gdb_compile.
11250 * gdb.base/nested-subp2.exp: Likewise.
11251 * gdb.base/nested-subp3.exp: Likewise.
11253 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11255 * lib/dwarf.exp (_note): Fix left shift of negative value.
11256 * gdb.trace/trace-condition.exp: Likewise.
11258 2015-11-13 Yao Qi <yao.qi@linaro.org>
11260 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11261 comments about d10v.
11262 (test_scalar_returns): Likewise.
11263 * gdb.base/d10v.ld: Remove.
11264 * gdb.base/overlays.exp: Remove the target triplet checking for
11266 * gdb.base/structs.exp (test_struct_returns): Remove the
11267 comments about d10v.
11268 (test_struct_calls): Likewise.
11270 2015-11-13 Yao Qi <yao.qi@linaro.org>
11272 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11273 * gdb.base/gnu_vector.c: Don't include stdio.h.
11274 (main): Don't print res and call add_some_intvecs.
11276 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11278 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11281 (func4): Use FAST_TRACEPOINT_LABEL.
11282 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11285 (thread_function): Use FAST_TRACEPOINT_LABEL.
11286 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11288 (marker): Use FAST_TRACEPOINT_LABEL.
11289 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11290 (pendfunc1): Remove.
11291 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11292 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11294 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11295 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11298 (marker): Use FAST_TRACEPOINT_LABEL.
11299 * gdb.trace/trace-common.h: New header.
11300 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11303 (marker): Use FAST_TRACEPOINT_LABEL.
11304 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11306 (thread_function): Use FAST_TRACEPOINT_LABEL.
11308 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11310 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11312 * gdb.trace/change-loc.exp: Use global pcreg definition.
11313 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11314 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11316 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11317 * gdb.trace/pending.exp: Likewise.
11318 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11319 * gdb.trace/trace-break.exp: Likewise.
11320 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11322 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11323 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11325 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11327 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11329 * gdb.ada/fin_fun_out: New testcase.
11331 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11333 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11334 value associated with DW_AT_byte_size.
11335 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11336 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11339 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11341 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11342 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11344 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11345 gdb.dwarf2/dw2-canonicalize-type.exp,
11346 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11347 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11348 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11349 provided by gdb_target_symbol_prefix_flags_asm.
11350 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11351 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11352 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11353 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11354 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11355 macros where needed). Use this macro for symbols which require
11356 the prefix provided by SYMBOL_PREFIX.
11358 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11360 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11362 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11363 representing expressions, of more than one list element.
11364 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11365 to prepend linker symbol prefix to f.
11366 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11367 table_1 and table_2.
11368 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11369 Likewise, for f and g.
11370 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11372 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11374 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11375 table_1_ptr and table_2_ptr.
11377 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11378 Joel Brobecker <brobecker@adacore.com>
11380 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11382 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11384 * gdb.reverse/s390-mvcle.c: New test.
11385 * gdb.reverse/s390-mvcle.exp: New file.
11386 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11388 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11390 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11392 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11394 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11396 * gdb.reverse/getresuid-reverse.exp: Likewise.
11397 * gdb.reverse/pipe-reverse.exp: Likewise.
11398 * gdb.reverse/readv-reverse.exp: Likewise.
11399 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11400 * gdb.reverse/time-reverse.exp: Likewise.
11401 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11403 2015-10-30 Yao Qi <yao.qi@linaro.org>
11405 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11406 (empty_cycle): Remove.
11407 (main): Don't call empty_cycle. Don't use watch_count_done.
11408 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11409 empty_cycle. Rewrite the code counting HW watchpoints.
11411 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11413 * gdb.reverse/fstatat-reverse.c: New test.
11414 * gdb.reverse/fstatat-reverse.exp: New file.
11415 * gdb.reverse/getresuid-reverse.c: New test.
11416 * gdb.reverse/getresuid-reverse.exp: New file.
11417 * gdb.reverse/pipe-reverse.c: New test.
11418 * gdb.reverse/pipe-reverse.exp: New file.
11419 * gdb.reverse/readv-reverse.c: New test.
11420 * gdb.reverse/readv-reverse.exp: New file.
11421 * gdb.reverse/recvmsg-reverse.c: New test.
11422 * gdb.reverse/recvmsg-reverse.exp: New file.
11423 * gdb.reverse/time-reverse.c: New test.
11424 * gdb.reverse/time-reverse.exp: New file.
11425 * gdb.reverse/waitpid-reverse.c: New test.
11426 * gdb.reverse/waitpid-reverse.exp: New file.
11428 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11430 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11432 2015-10-26 Doug Evans <dje@google.com>
11435 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11436 * gdb.dwarf2/bad-regnum.c: New file.
11437 * gdb.dwarf2/bad-regnum.exp: New file.
11439 2015-10-26 Doug Evans <dje@google.com>
11442 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11445 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11447 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11448 for a change by "Mention language in compile error message".
11450 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11453 * gdb.python/py-type.c (C::a_method): New.
11454 (C::a_const_method): New.
11455 (C::a_static_method): New.
11457 * gdb.python/py-type.exp (test_fields): Test getting fields
11458 from function and method.
11460 2015-10-21 Keven Boell <keven.boell@intel.com>
11462 * gdb.fortran/vla-alloc-assoc.exp: New file.
11463 * gdb.fortran/vla-datatypes.exp: New file.
11464 * gdb.fortran/vla-datatypes.f90: New file.
11465 * gdb.fortran/vla-history.exp: New file.
11466 * gdb.fortran/vla-ptype-sub.exp: New file.
11467 * gdb.fortran/vla-ptype.exp: New file.
11468 * gdb.fortran/vla-sizeof.exp: New file.
11469 * gdb.fortran/vla-sub.f90: New file.
11470 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11471 * gdb.fortran/vla-value-sub-finish.exp: New file.
11472 * gdb.fortran/vla-value-sub.exp: New file.
11473 * gdb.fortran/vla-value.exp: New file.
11474 * gdb.fortran/vla-ptr-info.exp: New file.
11475 * gdb.mi/mi-vla-fortran.exp: New file.
11476 * gdb.mi/vla.f90: New file.
11478 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11480 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11481 of hardwired timeout value.
11483 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11484 Pedro Alves <palves@redhat.com>
11486 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11487 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11489 2015-10-19 Josh Stone <jistone@redhat.com>
11491 * gdb.base/catch-syscall.c: Include <sched.h>.
11492 (unknown_syscall): New variable.
11493 (main): Trigger a vfork and an unknown syscall.
11494 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11495 (unknown_syscall_number): Likewise.
11496 (check_call_to_syscall): Accept an optional syscall pattern.
11497 (check_return_from_syscall): Likewise.
11498 (check_continue): Likewise.
11499 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11500 (test_catch_syscall_skipping_return): New test toggling off 'catch
11501 syscall' to step over the syscall return, then toggling back on.
11502 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11503 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11504 (do_syscall_tests): Call test_catch_syscall_without_args and
11505 test_catch_syscall_mid_vfork.
11506 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11507 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11509 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11511 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11512 print g_vE): Add new pass patterns.
11513 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11514 print various symbol names for vptr fields.
11516 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11518 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11521 2015-10-12 Yao Qi <yao.qi@linaro.org>
11523 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11525 2015-10-12 Yao Qi <yao.qi@linaro.org>
11527 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11528 is aarch64*-*-linux*.
11530 2015-10-12 Yao Qi <yao.qi@linaro.org>
11532 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11533 (can_relocate_bcond_true): ... it.
11534 (can_relocate_bcond_false): New function.
11536 (can_relocate_bl): Likewise.
11537 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11540 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11542 * gdb.base/nested-addr.c: New file.
11543 * gdb.base/nested-addr.exp: New testcase.
11545 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11547 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11548 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11549 its output. Ignore the output of "record goto begin" and instead
11550 check that GDB is replaying.
11552 2015-10-09 Pedro Alves <palves@redhat.com>
11554 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11555 (top level): Use it in the run with no args test.
11557 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11559 * gdb.dlang/properties.exp: New file.
11561 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11563 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11564 whether or not address 0x1000 is mapped on the target.
11566 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11568 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11571 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11573 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11574 instruction-history test.
11576 2015-09-28 Doug Evans <dje@google.com>
11578 * gdb.base/gcore.c (array_func): Add reference to static_array.
11580 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11582 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11585 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11587 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11588 short or char as base type.
11590 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11592 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11593 to allow any size enum.
11595 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11597 * gdb.ada/array_ptr_renaming.exp: New testcase.
11598 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11599 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11601 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11603 * gdb.trace/ftrace-lock.c: New file.
11604 * gdb.trace/ftrace-lock.exp: New file.
11606 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11608 * gdb.arch/insn-reloc.c: New file.
11609 * gdb.arch/ftrace-insn-reloc.exp: New file.
11611 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11613 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11615 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11616 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11617 * gdb.trace/range-stepping.c: Likewise.
11618 * gdb.trace/trace-break.c: Likewise.
11619 * gdb.trace/trace-mt.c (thread_function): Likewise.
11620 * gdb.trace/ftrace.c (marker): Likewise.
11621 * gdb.trace/trace-condition.c (marker): Likewise.
11622 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11623 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11626 2015-09-18 Doug Evans <xdje42@gmail.com>
11628 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11629 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11631 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11633 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11636 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11638 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11639 the pending breakpoint. Remove timeout override for "Run till
11640 MI pending breakpoint on pendfunc3 on thread 2" test.
11642 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11644 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11647 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11649 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11650 in breakpoint filename pattern.
11652 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11654 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11656 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11658 * gdb.linespec/explicit.exp: Check for readline support for
11659 tab-completion tests. Fix obvious typo.
11661 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11663 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11666 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11668 * gdb.btrace/non-stop.c: New.
11669 * gdb.btrace/non-stop.exp: New.
11671 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11672 Yao Qi <yao.qi@linaro.org>
11674 * gdb.trace/trace-condition.c: New file.
11675 * gdb.trace/trace-condition.exp: New file.
11677 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11679 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11680 for testing bytecode compilation.
11682 2015-09-16 Pedro Alves <palves@redhat.com>
11683 Sandra Loosemore <sandra@codesourcery.com>
11685 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11686 (SECONDS): Redefine.
11687 (main): Call pthread_kill and alarm early.
11688 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11690 (test): If the target can't hardware step and doesn't support
11691 displaced stepping, increase the timeout.
11693 2015-09-16 Pedro Alves <palves@redhat.com>
11695 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11696 (enable_debug): New procedures.
11697 (test): Use them. Bail out if waiting for threads fails.
11698 (top level): Bail out if a test fails.
11700 2015-09-16 Yao Qi <yao.qi@linaro.org>
11702 * gdb.asm/asm-source.exp: Set asm-arch for
11703 aarch64*-*-* target.
11704 * gdb.asm/aarch64.inc: New file.
11706 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11708 * gdb.ada/array_of_variable_length.exp: New testcase.
11709 * gdb.ada/array_of_variable_length/foo.adb: New file.
11710 * gdb.ada/array_of_variable_length/pck.adb: New file.
11711 * gdb.ada/array_of_variable_length/pck.ads: New file.
11713 2015-09-15 Doug Evans <dje@google.com>
11715 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11716 of function static local variable.
11718 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11720 * gdb.threads/tls-so_extern.exp: New test file.
11721 * gdb.threads/tls-so_extern.c: New test file.
11722 * gdb.threads/tls-so_extern_main.c: New test file.
11724 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11726 * gdb.opt/solib-intra-step-lib.c: New file.
11727 * gdb.opt/solib-intra-step-main.c: New file.
11728 * gdb.opt/solib-intra-step.exp: New file.
11730 2015-09-15 Pedro Alves <palves@redhat.com>
11732 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11733 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11735 2015-09-14 Pedro Alves <palves@redhat.com>
11737 * gdb.base/hook-stop-continue.c: Delete.
11738 * gdb.base/hook-stop-continue.exp: Delete.
11739 * gdb.base/hook-stop-frame.c: Delete.
11740 * gdb.base/hook-stop-frame.exp: Delete.
11741 * gdb.base/hook-stop.c: New file.
11742 * gdb.base/hook-stop.exp: New file.
11744 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11746 * gdb.ada/access_to_packed_array.exp: New testcase.
11747 * gdb.ada/access_to_packed_array/foo.adb: New file.
11748 * gdb.ada/access_to_packed_array/pack.adb: New file.
11749 * gdb.ada/access_to_packed_array/pack.ads: New file.
11751 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11753 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11756 2015-09-11 Don Breazeal <donb@codesourcery.com>
11758 * gdb.base/foll-exec.c: Add copyright header. Fix
11760 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11761 (do_exec_tests): Use clean_restart in place of zap_session,
11762 and for test initialization. Fix formatting issues. Use
11763 fail in place of perror.
11764 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11765 an expect statement to match an expression with output from
11766 the program under debug.
11767 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11768 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11769 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11770 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11771 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11773 2015-09-09 Doug Evans <dje@google.com>
11775 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11777 2015-09-09 Doug Evans <dje@google.com>
11779 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11781 2015-09-09 Doug Evans <dje@google.com>
11783 * gdb.base/savedregs.exp: Fix typo.
11785 2015-09-09 Pedro Alves <palves@redhat.com>
11787 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11789 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11791 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11792 command actually switches threads. Give up on remaining
11793 tests if target fails to stop at breakpoint.
11795 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11797 * gdb.ada/funcall_char.exp: New testcase.
11798 * gdb.ada/funcall_char/foo.adb: New file.
11800 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11802 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11803 expected outputs. Add two testcases for completing ambiguous
11805 * gdb.ada/complete/aux_pck.adb: New file.
11806 * gdb.ada/complete/aux_pck.ads: New file.
11807 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11808 Ambiguous_Func functions.
11809 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11810 * gdb.ada/complete/pck.adb: Likewise.
11812 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11814 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11815 failures to run the test program under GDB.
11817 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11819 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11822 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11824 * gdb.base/run-after-attach.exp: New test file.
11825 * gdb.base/run-after-attach.c: New test file.
11827 2015-08-26 Don Breazeal <donb@codesourcery.com>
11829 * gdb.base/foll-exec-2.c: New test program.
11830 * gdb.base/foll-exec-2.exp: New test.
11832 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11834 * gdb.base/nested-subp1.exp: New file.
11835 * gdb.base/nested-subp1.c: New file.
11836 * gdb.base/nested-subp2.exp: New file.
11837 * gdb.base/nested-subp2.c: New file.
11838 * gdb.base/nested-subp3.exp: New file.
11839 * gdb.base/nested-subp3.c: New file.
11841 2015-08-24 Pedro Alves <palves@redhat.com>
11843 * gdb.server/connect-without-multi-process.c: New file.
11844 * gdb.server/connect-without-multi-process.exp: New file.
11846 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11848 * gdb.opt/inline-markers.c: Make z int.
11850 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11852 * gdb.opt/inline-markers.c: Make z volatile.
11854 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11856 * gdb.opt/inline-bt.c: New volatile global z.
11857 * gdb.opt/inline-cmds.c: Likewise.
11858 * gdb.opt/inline-locals.c: Likewise.
11859 * gdb.opt/inline-markers.c: New extern global z.
11861 (inline_fn): Likewise.
11863 2015-08-24 Pedro Alves <palves@redhat.com>
11865 * config/m32r-stub.exp: Remove file.
11866 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11867 * gdb.base/call-rt-st.exp: Likewise.
11868 * gdb.base/call-strs.exp: Likewise.
11869 * gdb.base/default.exp: Remove references to h8300-*-hms and
11871 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11873 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11875 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11876 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11877 and "return" use KFAIL when GDB can not read/write the vector
11880 2015-08-21 Gary Benson <gbenson@redhat.com>
11882 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11884 2015-08-20 Pedro Alves <palves@redhat.com>
11886 * gdb.server/solib-list.exp: No longer expect an interior stop in
11889 2015-08-20 Pedro Alves <palves@redhat.com>
11891 * gdb.server/connect-stopped-target.c: New file.
11892 * gdb.server/connect-stopped-target.exp: New file.
11894 2015-08-20 Pedro Alves <palves@redhat.com>
11896 * gdb.dwarf2/comp-unit-lang.exp: New file.
11897 * gdb.dwarf2/comp-unit-lang.c: New file.
11899 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11901 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11902 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11904 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11906 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11907 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11909 2015-08-18 Doug Evans <dje@google.com>
11910 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11912 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11913 skip_python_tests. New arg prompt_regexp.
11914 (skip_python_tests): New function.
11915 * lib/mi-support.exp (mi_skip_python_tests): New function.
11916 * gdb.python/py-mi-objfile-gdb.py: New file.
11917 * gdb.python/py-mi-objfile.c: New file.
11918 * gdb.python/py-mi-objfile.exp: New file.
11920 2015-08-17 Keith Seitz <keiths@redhat.com>
11922 * gdb.linespec/explicit.exp: Move strace test from here ...
11923 * gdb.trace/strace.exp: ... to here.
11925 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11927 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11928 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11930 2015-08-14 Doug Evans <xdje42@gmail.com>
11932 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11933 inferior before selecting a new file.
11935 2015-08-14 Doug Evans <xdje42@gmail.com>
11937 * gdb.mi/mi-disassemble.exp: Update.
11938 * gdb.base/disasm-optim.S: New file.
11939 * gdb.base/disasm-optim.c: New file.
11940 * gdb.base/disasm-optim.h: New file.
11941 * gdb.base/disasm-optim.exp: New file.
11943 2015-08-14 Keith Seitz <keiths@redhat.com>
11945 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11948 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11950 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11952 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11954 * gdb.ada/fun_renaming.exp: New testcase.
11955 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11956 * gdb.ada/fun_renaming/pack.adb: New file.
11957 * gdb.ada/fun_renaming/pack.ads: New file.
11959 2015-08-12 Keith Seitz <keiths@redhat.com>
11961 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11962 gdb_get_line_number.
11964 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11966 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11967 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11968 gdb.base/dso2dso.exp: New files.
11970 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11971 Pedro Alves <palves@redhat.com>
11972 Keith Seitz <keiths@redhat.com>
11974 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11977 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11979 * gdb.base/gdbhistsize-history.exp
11980 (test_histsize_history_setting): Use save_vars.
11981 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11983 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11984 * gdb.base/readline.exp: Use save_vars.
11986 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11988 * lib/gdb.exp (save_vars): New proc.
11990 2015-08-11 Keith Seitz <keiths@redhat.com>
11992 * gdb.base/help.exp: Update help_breakpoint_text.
11994 2015-08-11 Keith Seitz <keiths@redhat.com>
11996 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11997 (at toplevel): Call test_explicit_breakpoints.
11998 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12000 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12001 breakpoint conditions, "-cond".
12003 2015-08-11 Keith Seitz <keiths@redhat.com>
12005 * gdb.linespec/3explicit.c: New file.
12006 * gdb.linespec/cpexplicit.cc: New file.
12007 * gdb.linespec/cpexplicit.exp: New file.
12008 * gdb.linespec/explicit.c: New file.
12009 * gdb.linespec/explicit.exp: New file.
12010 * gdb.linespec/explicit2.c: New file.
12011 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12012 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12013 before using in the matching pattern.
12014 Clarify that `prefix' is a regular expression.
12016 2015-08-11 Keith Seitz <keiths@redhat.com>
12018 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12020 Add tests for missing ",FMT" and ",".
12022 2015-08-10 Doug Evans <dje@google.com>
12023 Keith Seitz <keiths@redhat.com>
12026 * gdb.base/completion.exp: Add location completer tests.
12028 2015-08-07 Pedro Alves <palves@redhat.com>
12030 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12032 (top level): Run do_test with and without displaced stepping.
12034 2015-08-07 Pedro Alves <palves@redhat.com>
12036 * gdb.base/valgrind-disp-step.c: New file.
12037 * gdb.base/valgrind-disp-step.exp: New file.
12039 2015-08-07 Pedro Alves <palves@redhat.com>
12041 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12043 (main): Add alarm. Run an infinite loop instead of calling
12045 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12047 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12049 (main): Add alarm. Run an infinite loop instead of calling
12051 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12054 2015-08-07 Pedro Alves <palves@redhat.com>
12056 * gdb.base/checkpoint-ns.exp: New file.
12057 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12060 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12062 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12063 * gdb.btrace/instruction_history.exp: Update.
12064 * gdb.btrace/tsx.exp: New.
12065 * gdb.btrace/tsx.c: New.
12067 2015-08-06 Pedro Alves <palves@redhat.com>
12069 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12071 * gdb.reverse/until-precsave.exp: Bump timeouts.
12073 2015-08-06 Pedro Alves <palves@redhat.com>
12075 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12077 2015-08-06 Pedro Alves <palves@redhat.com>
12080 * gdb.threads/process-dies-while-handling-bp.c: New file.
12081 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12083 2015-08-06 Pedro Alves <palves@redhat.com>
12085 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12086 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12088 2015-08-05 Pedro Alves <palves@redhat.com>
12090 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12091 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12093 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12095 * gdb.base/bp-permanent.exp: Report test as unsupported if
12096 the target cannot stop at the permanent breakpoint.
12098 2015-08-03 Doug Evans <dje@google.com>
12100 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12103 2015-08-03 Doug Evans <dje@google.com>
12105 * Makefile.in (workers/%.worker, build-perf): New rule.
12106 (GDB_PERFTEST_MODE): New variable.
12107 (check-perf): Use it.
12108 (clean): Clean up gdb.perf parallel build subdirs.
12109 * lib/build-piece.exp: New file.
12110 * lib/gdb.exp (make_gdb_parallel_path): New function
12111 (standard_output_file, standard_temp_file): Call it.
12112 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12114 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12116 2015-08-03 Doug Evans <dje@google.com>
12118 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12119 (LOG_FILE_NAME): New global.
12120 (TextReporter.__init__): Initialize self.txt_sum.
12121 (TextReporter.report): Add support for multiple data-points.
12122 Move report to perftest.sum, put raw data in perftest.log.
12123 (TextReporter.start): Open sum and log files.
12124 (TextReporter.end): Close sum and log files.
12125 * gdb.perf/lib/perftest/testresult.py
12126 (SingleStatisticTestResult.record): Handle multiple data-points.
12128 2015-07-31 Pedro Alves <palves@redhat.com>
12130 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12131 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12132 kill_wait_spawned_process instead of explicit "kill -9".
12133 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12134 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12135 kill_wait_spawned_process.
12136 * gdb.base/attach-twice.exp: Likewise.
12137 * gdb.base/attach.exp: Likewise.
12138 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12140 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12141 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12142 kill_wait_spawned_process.
12143 * gdb.base/valgrind-infcall.exp: Likewise.
12144 * gdb.multi/multi-attach.exp: Likewise.
12145 * gdb.python/py-prompt.exp: Likewise.
12146 * gdb.python/py-sync-interp.exp: Likewise.
12147 * gdb.server/ext-attach.exp: Likewise.
12148 * gdb.threads/attach-into-signal.exp (corefunc): Use
12149 spawn_wait_for_attach, spawn_id_get_pid and
12150 kill_wait_spawned_process.
12151 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12152 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12153 spawn_id_get_pid and kill_wait_spawned_process.
12154 * gdb.threads/attach-stopped.exp (corefunc): Use
12155 spawn_wait_for_attach, spawn_id_get_pid and
12156 kill_wait_spawned_process.
12157 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12158 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12159 kill_wait_spawned_process instead of explicit "kill -9".
12160 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12161 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12162 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12163 processes. Don't map cygwin/windows pids here. Now returns a
12166 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12168 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12169 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12172 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12174 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12176 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12179 2014-05-21 Mark Wielaard <mjw@redhat.com>
12181 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12183 2015-07-30 Pedro Alves <palves@redhat.com>
12185 * linux-low.c (handle_extended_wait): Set the child's last
12186 reported status to TARGET_WAITKIND_STOPPED.
12188 2015-07-30 Pedro Alves <palves@redhat.com>
12191 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12192 only shows inferior 1.
12194 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12195 Pedro Alves <palves@redhat.com>
12198 * gdb.threads/fork-plus-threads.c: New file.
12199 * gdb.threads/fork-plus-threads.exp: New file.
12201 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12203 * gdb.base/batch-preserve-term-settings.exp
12204 (test_terminal_settings_preserved_after_cli_exit): Use
12207 2015-07-29 Pedro Alves <palves@redhat.com>
12208 Don Breazeal <donb@codesourcery.com>
12210 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12211 output from both inferior_spawn_id and gdb_spawn_id.
12213 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12215 * gdb.threads/attach-into-signal.exp (corefunc): Use
12216 with_test_prefix on nested loops, uniquefying the test messages.
12218 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12220 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12223 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12225 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12227 (test_terminal_settings_preserved_after_sigterm): New test.
12229 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12231 * gdb.base/batch-preserve-term-settings.exp
12232 (test_terminal_settings_preserved_after_cli_exit): New test.
12234 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12236 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12237 manipulation of saved_gdbflags.
12238 (test_terminal_settings_preserved): Remove global declaration of
12239 the unused variable pagination_prompt. Remove manipulation of
12240 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12243 2015-07-29 Pedro Alves <palves@redhat.com>
12245 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12247 2015-07-29 Pedro Alves <palves@redhat.com>
12249 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12252 2015-07-29 Pedro Alves <palves@redhat.com>
12254 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12255 (main): Call gdb_unbuffer_output.
12256 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12257 (main): Call gdb_unbuffer_output.
12258 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12259 (main): Call gdb_unbuffer_output.
12260 * gdb.base/call-strs.exp: Adjust to step over the
12261 gdb_unbuffer_output call.
12262 * gdb.base/catch-gdb-caused-signals.c: Include
12263 "../lib/unbuffer_output.c".
12264 (main): Call gdb_unbuffer_output.
12265 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12266 (main): Call gdb_unbuffer_output.
12267 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12268 (main): Call gdb_unbuffer_output.
12269 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12270 (main): Call gdb_unbuffer_output.
12271 * gdb.base/shlib-call.exp: Adjust to step over the
12272 gdb_unbuffer_output call.
12273 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12274 (main): Call gdb_unbuffer_output.
12275 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12276 (main): Call gdb_unbuffer_output.
12277 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12278 (main): Rename to ...
12280 (main): Reimplement.
12281 * gdb.base/varargs.exp: Run to test instead of to main.
12282 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12283 (main): Call gdb_unbuffer_output.
12285 2015-07-29 Pedro Alves <palves@redhat.com>
12287 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12288 factore out from mi_continue_dprintf. For call-style dprintfs,
12289 expect dprintf output out of $inferior_spawn_id.
12290 (mi_continue_dprintf): Use mi_expect_dprintf.
12291 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12292 (main): Call gdb_unbuffer_output.
12294 2015-07-29 Pedro Alves <palves@redhat.com>
12296 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12297 (default_mi_gdb_start): Set inferior_spawn_id instead of
12298 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12300 (mi_gdb_test): Always expect inferior output from both
12301 $inferior_spawn_id and $gdb_spawn_id.
12303 2015-07-29 Pedro Alves <palves@redhat.com>
12305 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12306 send_inferior and $inferior_spawn_id.
12308 2015-07-29 Pedro Alves <palves@redhat.com>
12310 * gdb.gdb/complaints.exp (test_initial_complaints)
12311 (test_serial_complaints, test_short_complaints): Use
12313 (test_empty_complaint): Handle $inferior_spawn_id !=
12316 2015-07-29 Pedro Alves <palves@redhat.com>
12318 * gdb.base/varargs.exp: Use gdb_test_stdio.
12320 2015-07-29 Pedro Alves <palves@redhat.com>
12322 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12324 2015-07-29 Pedro Alves <palves@redhat.com>
12326 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12328 2015-07-29 Pedro Alves <palves@redhat.com>
12330 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12331 parameter into two new parameters, "inf_result" and "gdb_result".
12332 Expect inferior output and gdb output from $inferior_spawn_id and
12333 $gdb_spawn_id, respectively. Adjust all callers.
12335 2015-07-29 Pedro Alves <palves@redhat.com>
12337 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12338 of gdb_test_sequence.
12340 2015-07-29 Pedro Alves <palves@redhat.com>
12342 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12343 (saw_spurious_output): Expect inferior output from
12344 $inferior_spawn_id. Use gdb_test_stdio.
12346 2015-07-29 Pedro Alves <palves@redhat.com>
12348 * gdb.base/dprintf.exp: Use standard_testfile. Change
12349 prepare_for_testing call.
12350 (srcfile): Don't set.
12351 (restart): New procedure.
12352 (test_dprintf): New procecure, use to continue over dprintfs.
12353 (test_call, test_agent): New procedures, tests moved here.
12354 Restart gdb and recreate dprintfs. Adjust expected output.
12356 2015-07-29 Pedro Alves <palves@redhat.com>
12358 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12360 2015-07-29 Pedro Alves <palves@redhat.com>
12362 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12364 2015-07-29 Pedro Alves <palves@redhat.com>
12366 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12369 2015-07-29 Pedro Alves <palves@redhat.com>
12371 * lib/gdb.exp (gdb_test_stdio): New procedure.
12373 2015-07-29 Pedro Alves <palves@redhat.com>
12375 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12377 2015-07-29 Pedro Alves <palves@redhat.com>
12379 * gdb.base/call-signal-resume.exp: Remove check for
12380 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12381 * gdb.base/unwindonsignal.exp: Likewise.
12382 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12383 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12385 2015-07-29 Pedro Alves <palves@redhat.com>
12387 * gdb.base/siginfo-addr.c (pass): New function.
12388 (handler): Call it iff si_addr is correct.
12389 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12390 Set a breakpoint at "pass" and continue to it.
12392 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12394 * gdb.python/py-objfile.exp: Make some tests have unique names.
12395 * gdb.python/py-pp-registration.exp: Likewise.
12397 2015-07-28 Pedro Alves <palves@redhat.com>
12399 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12401 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12403 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12405 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12407 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12409 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12411 * gdb.base/gdb-sigterm-2.exp: New test.
12413 2015-07-25 Doug Evans <xdje42@gmail.com>
12416 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12417 (workers/%.worker, build-perf): New rule.
12418 (GDB_PERFTEST_MODE): New variable.
12419 (check-perf): Use it.
12420 (clean): Clean up gdb.perf parallel build subdirs.
12421 * lib/build-piece.exp: New file.
12422 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12423 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12425 (standard_temp_file): Ditto.
12426 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12429 2015-07-24 Doug Evans <dje@google.com>
12431 * gdb.perf/lib/perftest/utils.py: New file.
12432 * gdb.perf/gm-hello.cc: New file.
12433 * gdb.perf/gm-pervasive-typedef.cc: New file.
12434 * gdb.perf/gm-pervasive-typedef.h: New file.
12435 * gdb.perf/gm-std.cc: New file.
12436 * gdb.perf/gm-std.h: New file.
12437 * gdb.perf/gm-use-cerr.cc: New file.
12438 * gdb.perf/gm-utils.h: New file.
12439 * gdb.perf/gmonster-null-lookup.py: New file.
12440 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12441 * gdb.perf/gmonster-print-cerr.py: New file.
12442 * gdb.perf/gmonster-ptype-string.py: New file.
12443 * gdb.perf/gmonster-runto-main.py: New file.
12444 * gdb.perf/gmonster-select-file.py: New file.
12445 * gdb.perf/gmonster1-null-lookup.exp: New file.
12446 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12447 * gdb.perf/gmonster1-print-cerr.exp: New file.
12448 * gdb.perf/gmonster1-ptype-string.exp: New file.
12449 * gdb.perf/gmonster1-runto-main.exp: New file.
12450 * gdb.perf/gmonster1-select-file.exp: New file.
12451 * gdb.perf/gmonster1.cc: New file.
12452 * gdb.perf/gmonster1.exp: New file.
12453 * gdb.perf/gmonster2-null-lookup.exp: New file.
12454 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12455 * gdb.perf/gmonster2-print-cerr.exp: New file.
12456 * gdb.perf/gmonster2-ptype-string.exp: New file.
12457 * gdb.perf/gmonster2-runto-main.exp: New file.
12458 * gdb.perf/gmonster2-select-file.exp: New file.
12459 * gdb.perf/gmonster2.cc: New file.
12460 * gdb.perf/gmonster2.exp: New file.
12462 2015-07-24 Doug Evans <dje@google.com>
12464 * gdb.perf/README: New file.
12465 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12466 * lib/gen-perf-test.exp: New file.
12468 2015-07-24 Doug Evans <dje@google.com>
12470 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12471 (PerfTest::startup): New function.
12472 (PerfTest::run): Return result of calling body.
12473 (PerfTest::assemble): Rewrite.
12474 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12475 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12476 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12477 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12478 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12480 2015-07-24 Doug Evans <dje@google.com>
12482 * lib/gdb.exp (clean_restart): Make executable optional.
12484 2015-07-24 Doug Evans <dje@google.com>
12486 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12487 compiler_info references.
12488 * gdb.cp/temargs.exp: Ditto.
12489 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12490 (get_compiler_info): Early exit if already computed. Set compiler_info
12491 to "unknown" if there was a problem.
12492 (test_compiler_info): Add function comment. Call get_compiler_info.
12494 2015-07-24 Doug Evans <dje@google.com>
12496 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12497 (workers/%.worker, build-perf): New rule.
12498 (GDB_PERFTEST_MODE): New variable.
12499 (check-perf): Use it.
12500 (clean): Clean up gdb.perf parallel build subdirs.
12501 * lib/build-piece.exp: New file.
12502 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12503 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12505 (standard_temp_file): Ditto.
12506 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12509 2015-07-24 Doug Evans <dje@google.com>
12511 * lib/future.exp (gdb_default_target_compile): New option
12513 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12516 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12518 * gdb.base/catch-syscall.exp: Call gdb_exit before
12521 2015-07-24 Pedro Alves <palves@redhat.com>
12523 * gdb.python/py-events.exp: Accept output between the stop event
12525 * gdb.python/py-evsignal.exp: Likewise.
12526 * gdb.python/py-evthreads.exp: Likewise.
12528 2015-07-24 Pedro Alves <palves@redhat.com>
12531 * gdb.threads/non-ldr-exit.c: New file.
12532 * gdb.threads/non-ldr-exit.exp: New file.
12534 2015-07-24 Yao Qi <yao.qi@linaro.org>
12536 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12537 restarting process.
12539 2015-07-24 Yao Qi <yao.qi@linaro.org>
12541 * gdb.server/ext-restart.exp: New file.
12543 2015-07-24 Yao Qi <yao.qi@linaro.org>
12545 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12547 * gdb.server/ext-wrapper.exp: New file.
12549 2015-07-23 Doug Evans <dje@google.com>
12551 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12552 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12554 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12556 * gdb.ada/var_arr_typedef.exp: New testcase.
12557 * gdb.ada/var_arr_typedef/pack.adb: New file.
12558 * gdb.ada/var_arr_typedef/pack.ads: New file.
12559 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12561 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12563 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12565 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12567 * gdb.arch/i386-biarch-core.exp: Replace istarget
12568 by "complete set gnutarget". Remove expectation for the "core-file"
12571 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12573 Revert the previous commit:
12574 Tests for validate symbol file using build-id.
12576 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12578 Tests for validate symbol file using build-id.
12579 * gdb.base/solib-mismatch-lib.c: New file.
12580 * gdb.base/solib-mismatch-libmod.c: New file.
12581 * gdb.base/solib-mismatch.c: New file.
12582 * gdb.base/solib-mismatch.exp: New file.
12584 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12586 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12588 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12589 * gdb.base/siginfo.exp: Likewise.
12590 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12592 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12594 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12596 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12598 * gdb.trace/range-stepping.exp: Check that the target supports
12601 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12603 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12605 2015-07-14 Pedro Alves <palves@redhat.com>
12607 * gdb.base/killed-outside.exp: New file.
12608 * gdb.base/killed-outside.c: New file.
12610 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12612 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12614 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12616 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12618 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12619 infcall tests instead of setting up for KFAIL.
12621 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12623 * gdb.btrace/record_goto-step.exp: New.
12625 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12628 * gdb.compile/compile.c (struct struct_type): Add volatile to
12630 * gdb.compile/compile.exp
12631 (compile code struct_object.selffield = &struct_object): Skip further
12632 struct_object tests if this one xfails.
12634 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12637 * gdb.trace/ax.exp: Add test.
12639 2015-07-07 Yao Qi <yao.qi@linaro.org>
12641 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12642 instead of istarget "aarch64*-*-*".
12643 * gdb.arch/aarch64-fp.exp: Likewise.
12644 * gdb.base/float.exp: Likewise.
12645 * gdb.reverse/aarch64.exp: Likewise.
12646 * lib/gdb.exp (is_aarch64_target): New proc.
12648 2015-07-07 Yao Qi <yao.qi@linaro.org>
12650 * lib/gdb.exp (is_aarch32_target): New proc.
12651 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12652 instead of "istarget "arm*-*-*"".
12653 * gdb.arch/arm-disp-step.exp: Likewise.
12654 * gdb.arch/thumb-bx-pc.exp: Likewise.
12655 * gdb.arch/thumb-prologue.exp: Likewise.
12656 * gdb.arch/thumb-singlestep.exp: Likewise.
12657 * gdb.base/disp-step-syscall.exp: Likewise.
12658 * gdb.base/float.exp: Likewise.
12660 2015-07-07 Yao Qi <yao.qi@linaro.org>
12662 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12663 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12665 2015-07-07 Yao Qi <yao.qi@linaro.org>
12667 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12668 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12670 * gdb.multi/multi-arch.exp: Likewise.
12672 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12674 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12677 2015-07-07 Yao Qi <yao.qi@linaro.org>
12679 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12681 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12683 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12684 '[' and ']' characters.
12686 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12688 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12690 2015-06-29 Pedro Alves <palves@redhat.com>
12693 * gdb.threads/hand-call-new-thread.c: New file.
12694 * gdb.threads/hand-call-new-thread.c: New file.
12696 2015-06-26 Keith Seitz <keiths@redhat.com>
12697 Doug Evans <dje@google.com>
12700 * gdb.cp/var-tag-2.cc: New file.
12701 * gdb.cp/var-tag-3.cc: New file.
12702 * gdb.cp/var-tag-4.cc: New file.
12703 * gdb.cp/var-tag.cc: New file.
12704 * gdb.cp/var-tag.exp: New file.
12706 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12708 * gdb.base/history-duplicates.exp: New test.
12710 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12712 * gdb.base/completion.exp: Test the completion of the "focus"
12715 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12717 * gdb.arch/amd64-prologue-skip.S: New file.
12718 * gdb.arch/amd64-prologue-skip.exp: New file.
12720 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12722 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12723 is_address_zero_readable check.
12725 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12727 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12728 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12730 2015-06-24 Yao Qi <yao.qi@linaro.org>
12732 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12735 2015-06-24 Yao Qi <yao.qi@linaro.org>
12737 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12738 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12739 * gdb.base/siginfo-thread.exp: Likewise.
12741 2015-06-22 Yao Qi <yao.qi@linaro.org>
12743 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12745 2015-06-22 Yao Qi <yao.qi@linaro.org>
12747 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12749 (skip_hw_watchpoint_tests): Likewise.
12751 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12753 * gdb.base/gdbinit-history.exp: Test the interaction between
12754 setting GDBHISTSIZE and setting the history size via .gdbinit.
12756 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12759 * gdb.base/gdbhistsize-history.exp: New test.
12761 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12763 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12765 * gdb.base/readline.exp: Likewise.
12767 2015-06-17 Yao Qi <yao.qi@linaro.org>
12769 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12772 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12774 * gdb.base/gdbinit-history.exp: Add test case to check that
12775 an unlimited history file does not get truncated on exit.
12777 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12779 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12780 (VECTOR): New macro. Use it...
12781 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12782 ...for these typedefs.
12783 (int8, char1, int1, double1): New typedefs.
12784 (struct just_int2, struct two_int2): New structures.
12785 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12786 (add_structvecs, add_singlevecs): New functions.
12787 (main): Call add_some_intvecs twice.
12788 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12789 the compile and exit upon failure. Try compiling for the "native"
12790 architecture. Test inferior function calls with vector arguments
12791 and vector return value handling with "finish" and "return".
12793 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12795 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12796 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12798 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12800 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12802 PR breakpoints/16465
12803 * gdb.mi/mi-dprintf-pending.c: New file.
12804 * gdb.mi/mi-dprintf-pending.exp: New test.
12805 * gdb.mi/mi-dprintf-pendshr.c: New file.
12807 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12808 Mircea Gherzan <mircea.gherzan@intel.com>
12810 * gdb.arch/i386-mpx-map.c: New file.
12811 * gdb.arch/i386-mpx-map.exp: New File.
12813 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12815 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12816 * gdb.arch/i386-mpx.exp: Indentation fixed.
12818 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12820 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12821 function and improved indentation.
12822 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12823 gdb_test_multiple. Added additional tests to skip the test.
12825 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12827 * gdb.arch/i386-avx512.c: Change path in include file.
12828 * gdb.arch/i386-avx512.exp: Change include dir path
12830 * gdb.arch/i386-mpx.c: Change path in include file.
12831 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12834 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12836 * gdb.compile/compile-print.exp (compile print *vararray@3)
12837 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12839 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12841 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12842 (do not keep jit in memory): ... this.
12843 (expect 5): Change it to ...
12844 (expect no 5): ... this.
12846 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12849 * gdb.mi/mi-detach.exp: New file.
12851 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12854 * gdb.arch/amd64-tailcall-self.S: New file.
12855 * gdb.arch/amd64-tailcall-self.c: New file.
12856 * gdb.arch/amd64-tailcall-self.exp: New file.
12858 2015-05-28 Don Breazeal <donb@codesourcery.com>
12860 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12861 tests for remote targets by checking is_target_gdbserver.
12863 2015-05-27 Doug Evans <dje@google.com>
12865 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12866 * gdb.dwarf2/opaque-type-lookup.c: New file.
12867 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12869 2015-05-26 Doug Evans <dje@google.com>
12871 * gdb.cp/iostream.cc: New file.
12872 * gdb.cp/iostream.exp: New file.
12874 2015-05-26 Doug Evans <dje@google.com>
12876 * gdb.dwarf2/dw2-op-call.exp: Update.
12877 * gdb.dwarf2/dw4-sig-types.exp: Update.
12878 * gdb.dwarf2/implptr.exp: Update.
12879 * gdb.mi/mi-cmd-param-changed.exp: Update.
12881 2015-05-26 Doug Evans <dje@google.com>
12883 * gdb.python/py-lazy-string.c: New file.
12884 * gdb.python/py-lazy-string.exp: New file.
12885 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12886 (main): Update. Add estring3.
12887 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12888 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12890 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12891 Yao Qi <yao.qi@linaro.org>
12893 * gdb.reverse/aarch64.c: New.
12894 * gdb.reverse/aarch64.exp: New.
12896 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12898 * lib/gdb.exp (supports_process_record): Return true for
12900 (supports_reverse): Likewise.
12902 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12904 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12905 Use with_test_prefix.
12907 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12909 * gdb.base/completion.exp: Add test for completion of layout
12912 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12914 * lib/gdb.exp (skip_tui_tests): New proc.
12915 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12917 2015-05-19 Pedro Alves <palves@redhat.com>
12919 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12920 Save the whole env array instead of just HOME. Unset HISTSIZE in
12921 the environment while testing. Restore whole environment
12924 2015-05-16 Doug Evans <xdje42@gmail.com>
12926 * gdb.guile/scm-ports.c: New file.
12927 * gdb.guile/scm-ports.exp: Add memory port tests.
12929 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12931 * gdb.compile/compile-print.c: New file.
12932 * gdb.compile/compile-print.exp: New file.
12934 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12936 * gdb.compile/compile-ops.exp: Cast param to void.
12937 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12938 (compile code struct_object.selffield = &struct_object): Add xfail.
12940 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12942 * gdb.ada/arr_enum_with_gap: New testcase.
12944 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12946 * gdb.ada/byte_packed_arr: New testcase.
12948 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12950 * gdb.ada/pckd_neg: New testcase.
12952 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12955 * gdb.base/gdbinit-history.exp: New test.
12956 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12957 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12959 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12961 * gdb.python/py-xmethods.cc: Enhance test case.
12962 * gdb.python/py-xmethods.exp: New tests.
12963 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12965 (B_indexoper): Likewise.
12966 (global_dm_list) : Add new xmethod worker functions.
12968 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12970 * gdb.base/coredump-filter.exp: Correctly unset
12971 "coredump_var_addr" array.
12973 2015-05-08 Pedro Alves <palves@redhat.com>
12975 * gdb.server/non-existing-program.exp: Unset spawn_id.
12977 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12980 * gdb.python/py-xmethods.exp: Add tests.
12982 2015-05-08 Yao Qi <yao.qi@linaro.org>
12985 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12986 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12987 function set_coredump_filter, and remove remote_exec call.
12988 Remove argument ipid. Callers update.
12989 (top level): Don't get inferior's PID.
12991 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12993 * gdb.base/watch_thread_num.exp: Skip test on targets without
12994 access watchpoints.
12996 2015-05-06 Pedro Alves <palves@redhat.com>
12999 * gdb.server/non-existing-program.exp: New file.
13001 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13003 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13005 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13007 * gdb.ada/out_of_line_in_inlined: New testcase.
13009 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13011 * gdb.ada/var_rec_arr: New testcase.
13013 2015-04-30 Yao Qi <yao.qi@linaro.org>
13015 * gdb.base/break-idempotent.exp: If
13016 skip_hw_watchpoint_multi_tests returns true, skip the tests
13017 on "rwatch" and "awatch".
13019 2015-04-30 Yao Qi <yao.qi@linaro.org>
13021 * gdb.base/relativedebug.exp: Invoke gdb command
13022 "info sharedlibrary", and if libc.so doesn't have debug info,
13025 2015-04-29 Doug Evans <dje@google.com>
13027 * gdb.python/py-xmethods.exp: Add ptype tests.
13028 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13029 get_result_type method.
13031 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13033 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13034 the target does not support hardware watchpoints.
13036 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13038 * gdb.base/break-always.exp: Abort testing if writing to memory
13041 2015-04-28 Doug Evans <dje@google.com>
13043 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13044 * gdb.python/py-pp-registration.exp: ... here. New file.
13045 * gdb.python/py-pp-registration.c: New file.
13046 * gdb.python/py-pp-registration.py: New file.
13048 2015-04-28 Doug Evans <dje@google.com>
13050 * gdb.python/py-bad-printers.c: New file.
13051 * gdb.python/py-bad-printers.py: New file.
13052 * gdb.python/py-bad-printers.exp: New file.
13054 2015-04-28 Sasha Smundak <asmundak@google.com>
13056 * gdb.python/py-type.exp: New test.
13058 2015-04-28 Andy Wingo <wingo@igalia.com>
13060 * gdb.python/py-parameter.exp:
13061 * gdb.guile/scm-parameter.exp: Escape the path that we are
13062 matching against, as it might contain characters that are special
13063 to regular expressions.
13065 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13067 * gdb.ada/rec_comp: New testcase.
13069 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13071 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13074 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13076 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13077 new tests for verilog output.
13079 2015-04-24 Yao Qi <yao.qi@linaro.org>
13081 * boards/remote-gdbserver-on-localhost.exp: New file.
13083 2015-04-23 Pedro Alves <palves@redhat.com>
13085 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13086 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13087 "end of file", remove $inferior_spawn_id from the indirect list.
13089 2015-04-23 Pedro Alves <palves@redhat.com>
13091 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13093 2015-04-23 Pedro Alves <palves@redhat.com>
13095 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13096 on $any_spawn_id instead of only on $gdb_spawn_id.
13098 2015-04-21 Pierre Muller <muller@sourceware.org>
13101 * lib/pascal.exp (gpc_compile): Add new option "class".
13102 (fpc_compile): Likewise.
13103 * gdb.pascal/case-insensitive-symbols.pas: New file.
13104 * gdb.pascal/case-insensitive-symbols.exp: New file.
13106 2015-04-20 Gary Benson <gbenson@redhat.com>
13108 * gdb.base/attach.exp: Fix three extended remote failures.
13110 2015-04-17 Gary Benson <gbenson@redhat.com>
13112 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13113 the main executable over the remote protocol.
13115 2015-04-16 Pedro Alves <palves@redhat.com>
13117 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13118 a new gdbserver if gdbserver_reconnect_p is set.
13120 2015-04-16 Pedro Alves <palves@redhat.com>
13122 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13123 is set, don't exit gdbserver.
13125 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13127 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13128 appropriate .insn, such that an older assembler can be used.
13129 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13130 the z/Architecture instruction set on 31-bit targets as well.
13132 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13134 * gdb.go/handcall.exp: Remove all logic related to the first
13135 breakpoint and rely on go_runto_main instead.
13136 * gdb.go/strings.exp: Likewise.
13137 * gdb.go/unsafe.exp: Likewise.
13138 * gdb.go/hello.exp: Likewise. Also rename the remaining
13139 breakpoint marker to "breakpoint 1".
13140 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13141 * gdb.go/strings.go: Likewise.
13142 * gdb.go/unsafe.go: Likewise.
13143 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13144 "set breakpoint 2 here" and rename the remaining breakpoint marker
13147 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13149 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13150 if itertools.imap is not present.
13151 * gdb.python/py-objfile.exp: Add parentheses.
13152 * gdb.python/py-type.exp: Same.
13153 * gdb.python/py-unwind-maint.py: Same.
13155 2015-04-15 Yao Qi <yao.qi@linaro.org>
13157 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13158 of ":$ptr_size" and set its form explicitly.
13160 2015-04-15 Pedro Alves <palves@redhat.com>
13161 Yao Qi <yao.qi@linaro.org>
13163 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13164 timeout by factor of 4.
13165 (test_regular_watch): Likewise.
13166 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13167 * gdb.reverse/sigall-reverse.exp: Likewise.
13168 * gdb.reverse/until-precsave.exp: Likewise.
13169 * lib/gdb.exp (with_timeout_factor): New proc.
13170 (gdb_expect): Move some code to ...
13171 (get_largest_timeout): ... here. New procedure.
13173 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13175 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13177 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13179 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13180 to write to the .text section.
13182 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13184 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13185 Handle the case of targets that do not provide PID information.
13187 2015-04-13 Yao Qi <yao.qi@linaro.org>
13189 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13190 and use expect instead of gdb_expect.
13192 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13194 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13195 "coredump_var_addr" to avoid naming conflict with other testcases.
13197 2015-04-10 Pedro Alves <palves@redhat.com>
13199 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13200 gdb_test_sequence and gdb_assert.
13202 2015-04-10 Pedro Alves <palves@redhat.com>
13204 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13205 test messages that don't include the breakpoint address.
13207 2015-04-10 Yao Qi <yao.qi@linaro.org>
13209 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13210 false for some offset and width combinations which aren't
13211 supported by linux kernel.
13213 2015-04-10 Pedro Alves <palves@redhat.com>
13215 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13216 procedure, factored out from ...
13217 (top level): ... here. Add "set displaced-stepping" testing axis.
13218 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13219 parameter "displaced". Use it.
13220 (top level): Use foreach and add "set displaced-stepping" testing
13223 2015-04-10 Pedro Alves <palves@redhat.com>
13225 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13227 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13228 both the address of the instruction that triggers the watchpoint
13229 and the address of the instruction immediately after, and use
13230 those addresses for the test. Fix comment.
13232 2015-04-10 Pedro Alves <palves@redhat.com>
13234 * gdb.base/sigstep.exp (breakpoint_to_handler)
13235 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13236 Test "backtrace" in handler.
13237 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13238 (top level): Add new "displaced" test axis to
13239 breakpoint_to_handler, breakpoint_to_handler_entry and
13240 breakpoint_over_handler.
13242 2015-04-10 Pedro Alves <palves@redhat.com>
13245 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13247 2015-04-10 Yao Qi <yao.qi@linaro.org>
13249 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13250 (test_add_rn_pc): New function.
13251 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13252 (top level): Invoke test_add_rn_pc.
13254 2015-04-10 Pedro Alves <palves@redhat.com>
13257 * gdb.base/step-over-no-symbols.exp: New file.
13259 2015-04-09 Andy Wingo <wingo@igalia.com>
13261 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13262 after the Python tests.
13264 2015-04-08 Keith Seitz <keiths@redhat.com>
13267 * gdb.python/py-completion.exp: New tests for completion.
13268 * gdb.python/py-completion.py (CompleteLimit1): New class.
13269 (CompleteLimit2): Likewise.
13270 (CompleteLimit3): Likewise.
13271 (CompleteLimit4): Likewise.
13272 (CompleteLimit5): Likewise.
13273 (CompleteLimit6): Likewise.
13274 (CompleteLimit7): Likewise.
13276 2015-04-08 Pedro Alves <palves@redhat.com>
13280 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13282 (main): Install it as SIGUSR1 handler.
13283 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13284 parameter. Always use "setup" as prefix. Toggle "set
13285 displaced-stepping" off/on depending on global. Don't switch to
13287 (top level): Add displaced stepping "off/on" test axis. Update
13288 "setup" calls. Wrap each subtest with with_test_prefix. Test
13289 continuing with a queued signal in each thread.
13291 2015-04-08 Pedro Alves <palves@redhat.com>
13293 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13294 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13295 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13296 Return early if running to main fails.
13297 * gdb.trace/while-stepping.exp: Likewise.
13299 2015-04-07 Pedro Alves <palves@redhat.com>
13301 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13302 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13303 interact with inferior program.
13305 2015-04-07 Pedro Alves <palves@redhat.com>
13307 * lib/gdb.exp (inferior_spawn_id): New global.
13308 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13309 spawn id after processing the user code.
13310 (default_gdb_start): Set inferior_spawn_id.
13311 (send_inferior): New procedure.
13312 * lib/gdbserver-support.exp (gdbserver_start): Set
13314 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13316 2015-04-07 Pedro Alves <palves@redhat.com>
13318 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13319 * lib/gdbserver-support.exp (gdbserver_start): Make
13320 $server_spawn_id global.
13321 (gdbserver_start): Don't wait for gdbserver's spawn id with
13323 (close_gdbserver): New procedure.
13324 (gdb_exit): Rename the default version and reimplement.
13326 2015-04-07 Pedro Alves <palves@redhat.com>
13328 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13329 append the substituted item, not the original item.
13331 2015-04-07 Pedro Alves <palves@redhat.com>
13333 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13336 2015-04-07 Pedro Alves <palves@redhat.com>
13338 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13339 output appearing once only.
13341 2015-04-07 Pedro Alves <palves@redhat.com>
13343 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13344 that doesn't expect anything. Return early if running to main
13347 2015-04-07 Yao Qi <yao.qi@linaro.org>
13349 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13350 (child_function): Call alarm.
13351 (main): Move call to alarm into the loop.
13352 * gdb.threads/non-stop-fair-events.exp: Build program with
13353 -DTIMEOUT=$timeout.
13355 2015-04-06 Doug Evans <xdje42@gmail.com>
13357 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13358 Fix dest parameter to board_info.
13359 (fpc_compile): Ditto.
13360 (gdb_compile_pascal): Rename dest arg to destfile.
13362 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13364 * gdb.ada/funcall_ref.exp: New file.
13365 * gdb.ada/funcall_ref/foo.adb: New file.
13367 2015-04-02 Yao Qi <yao.qi@linaro.org>
13369 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13372 2015-04-02 Gary Benson <gbenson@redhat.com>
13374 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13376 2015-04-01 Sasha Smundak <asmundak@google.com>
13378 * gdb.python/py-unwind-maint.c: New file.
13379 * gdb.python/py-unwind-maint.exp: New test.
13380 * gdb.python/py-unwind-maint.py: New file.
13381 * gdb.python/py-unwind.c: New file.
13382 * gdb.python/py-unwind.exp: New test.
13383 * gdb.python/py-unwind.py: New test.
13385 2015-04-01 Pedro Alves <palves@redhat.com>
13387 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13388 to fail instead of non-existent $test.
13390 2015-04-01 Pedro Alves <palves@redhat.com>
13392 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13393 GDBFLAGS if not empty.
13395 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13397 * gdb.ada/complete.exp: Remove "multi_line".
13398 * gdb.ada/info_exc.exp: Remove "multi_line".
13399 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13400 * gdb.ada/ptype_field.exp: Remove "multi_line".
13401 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13402 * gdb.ada/tagged.exp: Remove "multi_line".
13403 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13405 * gdb.btrace/delta.exp: Likewise.
13406 * gdb.btrace/exception.exp: Likewise.
13407 * gdb.btrace/function_call_history.exp: Likewise.
13408 * gdb.btrace/instruction_history.exp: Likewise.
13409 * gdb.btrace/nohist.exp: Likewise.
13410 * gdb.btrace/record_goto.exp: Likewise.
13411 * gdb.btrace/segv.exp: Likewise.
13412 * gdb.btrace/stepi.exp: Likewise.
13413 * gdb.btrace/tailcall.exp: Likewise.
13414 * gdb.btrace/unknown_functions.exp: Likewise.
13415 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13416 * lib/gdb.exp: Add the "multi_line" helper.
13418 2015-04-01 Pedro Alves <palves@redhat.com>
13420 * gdb.threads/tid-reuse.c: New file.
13421 * gdb.threads/tid-reuse.exp: New file.
13423 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13426 * gdb.base/coredump-filter.c: New file.
13427 * gdb.base/coredump-filter.exp: Likewise.
13429 2015-03-27 Petr Machata <pmachata@redhat.com>
13431 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13432 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13433 (Dwarf::assemble): Initialize them.
13434 (Dwarf::lines): New function.
13436 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13438 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13439 SYMBOL_PREFIX for x86_64-*-cygwin.
13441 2015-03-26 Andy Wingo <wingo@igalia.com>
13444 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13445 const_value but not a location.
13446 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13447 location defined in non-main CUs are visible.
13449 2015-03-26 Yao Qi <yao.qi@linaro.org>
13452 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13453 Add a line number entry for the same line.
13454 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13455 Add a line number entry for the same line.
13457 2015-03-26 Yao Qi <yao.qi@linaro.org>
13459 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13461 (func): Likewise. Add .Lfunc_1 label.
13462 Use .Lfunc_1 label.
13463 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13466 Use .Lfunc_1 label.
13468 2015-03-26 Yao Qi <yao.qi@linaro.org>
13470 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13471 Call gdb_compile instead to compile each .s files without debug
13474 2015-03-26 Yao Qi <yao.qi@linaro.org>
13476 * gdb.base/savedregs.exp (process_saved_regs): Make
13477 "Saved registers:" optional in the pattern.
13479 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13481 * gdb.btrace/next.exp: Merged into step.exp.
13482 * gdb.btrace/finish.exp: Merged into step.exp.
13483 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13484 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13485 "record goto" and checking the exact replay position.
13486 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13487 check for "Recording format" in "info record" output.
13488 * gdb.btrace/record_goto.exp: Choose test file based on target.
13489 * gdb.btrace/x86-record_goto.S: Renamed into ...
13490 * gdb.btrace/x86_64-record_goto.S: ... this.
13491 * gdb.btrace/i686-record_goto.S: New.
13492 * gdb.btrace/x86-tailcall.S: Renamed into ...
13493 * gdb.btrace/x86_64-tailcall.S: ... this.
13494 * gdb.btrace/i686-tailcall.S: New.
13495 * gdb.btrace/x86-tailcall.c: Renamed into ...
13496 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13497 separate statements. Update test.
13498 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13499 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13500 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13501 * gdb.btrace/tailcall.exp: Choose test file based on target.
13502 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13504 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13506 * gdb.btrace/exception.exp: Increase BTS buffer size.
13508 2015-03-24 Pedro Alves <palves@redhat.com>
13510 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13512 2015-03-24 Pedro Alves <palves@redhat.com>
13514 * gdb.threads/schedlock.exp (test_step): No longer expect that
13515 "set scheduler-locking step" with "next" over a function call runs
13518 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13520 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13522 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13524 PR breakpoints/16466
13525 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13526 * gdb.mi/mi-pending.c (thread_func): New function.
13527 (int main): Add threading support required.
13528 * gdb.mi/mi-pending.exp: Add tests for this issue.
13529 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13530 (pendfunc2): Remove stdio dependency.
13531 * gdb.mi/mi-pendshr2.c: New file.
13533 2015-03-23 Keith Seitz <keiths@redhat.com>
13535 * gdb.linespec/keywords.c: New file.
13536 * gdb.linespec/keywords.exp: New file.
13538 2015-03-23 Keith Seitz <keiths@redhat.com>
13541 * gdb.dwarf2/staticvirtual.exp: New test.
13543 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13545 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13546 * README: Remove HP-UX and gdb.hp.
13548 * configure: Regenerate.
13549 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13550 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13551 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13552 gdb.hp/gdb.defects/Makefile.
13553 * gdb.hp/Makefile.in: File deleted.
13554 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13555 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13556 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13557 * gdb.hp/gdb.aCC/run.c: File deleted.
13558 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13559 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13560 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13561 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13562 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13563 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13564 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13565 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13566 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13567 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13568 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13569 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13570 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13571 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13572 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13573 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13574 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13575 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13576 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13577 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13578 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13579 * gdb.hp/gdb.compat/average.c: File deleted.
13580 * gdb.hp/gdb.compat/sum.c: File deleted.
13581 * gdb.hp/gdb.compat/xdb.c: File deleted.
13582 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13583 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13584 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13585 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13586 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13587 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13588 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13589 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13590 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13591 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13592 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13593 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13594 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13595 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13596 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13597 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13598 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13599 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13600 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13601 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13602 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13603 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13604 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13605 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13606 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13607 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13608 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13609 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13610 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13611 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13612 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13613 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13614 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13615 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13616 * gdb.hp/tools/odump: File deleted.
13618 2015-03-19 Pedro Alves <palves@redhat.com>
13620 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13621 (saw_thread_3): New globals.
13622 (top level): Increment them when an event for the corresponding
13624 (no thread starvation): New test.
13626 2015-03-19 Pedro Alves <palves@redhat.com>
13628 * gdb.threads/continue-pending-status.c: New file.
13629 * gdb.threads/continue-pending-status.exp: New file.
13631 2015-03-18 Pedro Alves <palves@redhat.com>
13633 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13634 Use gdb_is_target_remote instead of is_remote. Use
13635 gdb_test_multiple instead of gdb_expect. Exit early if
13636 gdb_test_multiple hits its internal matches. Tighten stepi tests
13637 expected output. Fail on exit with any signal, instead of just
13640 2015-03-18 Yao Qi <yao.qi@linaro.org>
13643 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13645 * gdb.base/catch-syscall.exp: Don't skip it on
13646 aarch64*-*-linux* target. Remove elements in all_syscalls.
13647 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13649 (setup_all_syscalls): New proc.
13651 2015-03-16 Yao Qi <yao.qi@linaro.org>
13653 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13654 (top level): Skip tests if valid_addr_p returns false for
13657 2015-03-11 Andy Wingo <wingo@igalia.com>
13659 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13661 2015-03-11 Yao Qi <yao.qi@linaro.org>
13663 * gdb.base/catch-syscall.exp: Fix typo in comments.
13665 2015-03-11 Yao Qi <yao.qi@linaro.org>
13667 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13669 2015-03-09 Pedro Alves <palves@redhat.com>
13671 * dg-extract-results.py: Delete.
13673 2015-03-09 Pedro Alves <palves@redhat.com>
13675 Merge dg-extract-results.sh from GCC upstream (r218843).
13677 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13678 * dg-extract-results.sh: Use --text with grep to avoid issues with
13679 binary files. Fall back to cat -v, if that doesn't work.
13681 2015-03-05 Pedro Alves <palves@redhat.com>
13683 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13685 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13687 * lib/mi-support.exp (mi_expect_interrupt): Accept
13688 alternative event for when in all-stop mode.
13690 2015-03-04 Pedro Alves <palves@redhat.com>
13692 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13694 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13696 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13698 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13700 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13701 regexps for GDB's current line display, accept a hex address
13702 preceding the line number.
13704 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13706 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13707 the 'arch1' variable for "s390*-linux*" targets.
13709 2015-03-04 Pedro Alves <palves@redhat.com>
13711 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13712 (main): Pass missing retval argument to pthread_join call.
13714 2015-03-02 Pedro Alves <palves@redhat.com>
13716 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13717 (top level): Call do_test with non-stop as well.
13719 2015-03-02 Pedro Alves <palves@redhat.com>
13721 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13724 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13726 * gdb.arch/s390-vregs.exp: New test.
13727 * gdb.arch/s390-vregs.S: New file.
13729 2015-02-27 Pedro Alves <palves@redhat.com>
13731 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13732 call to catch_command_errors.
13733 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13734 catch_command_errors.
13736 2015-02-27 Pedro Alves <palves@redhat.com>
13738 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13739 "true" for boolean result.
13740 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13743 2015-02-27 Pedro Alves <palves@redhat.com>
13745 * lib/unbuffer_output.c: New file.
13746 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13747 (main): Call gdb_unbuffer_output.
13749 2015-02-27 Yao Qi <yao.qi@linaro.org>
13751 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13754 2015-02-26 Doug Evans <dje@google.com>
13756 * gdb.cp/class2.cc (Dbase, D): New classes.
13757 (main): New local delta.
13758 * gdb.cp/class2.exp: Test printing delta.
13759 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13760 (dynbar): New global.
13761 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13763 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13765 * gdb.compile/compile-ifunc.c: New file.
13766 * gdb.compile/compile-ifunc.exp: New file.
13768 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13770 * gdb.base/structs.exp: Check for correct struct on finish.
13772 2015-02-26 Yao Qi <yao.qi@linaro.org>
13774 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13777 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13779 * gdb.arch/cordic.ko.bz2: New file.
13780 * gdb.arch/cordic.ko.debug.bz2: New file.
13781 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13783 2015-02-25 Yao Qi <yao.qi@linaro.org>
13785 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13786 aarch64*-*-* target.
13788 2015-02-23 Pedro Alves <palves@redhat.com>
13790 * lib/gdb.exp (delete_breakpoints): Rewrite using
13793 2015-02-23 Pedro Alves <palves@redhat.com>
13795 * gdb.base/info-os.c: Include stdlib.h.
13797 2015-02-22 Doug Evans <xdje42@gmail.com>
13800 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13801 is read after symbols have been re-read.
13802 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13803 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13805 2015-02-21 Doug Evans <dje@google.com>
13807 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13809 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13812 * gdb.arch/i386-biarch-core.core.bz2: New file.
13813 * gdb.arch/i386-biarch-core.exp: New file.
13815 2015-02-21 Pedro Alves <palves@redhat.com>
13817 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13820 2015-02-20 Pedro Alves <palves@redhat.com>
13822 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13825 2015-02-20 Pedro Alves <palves@redhat.com>
13827 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13829 2015-02-20 Pedro Alves <palves@redhat.com>
13831 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13832 clean_restart before gdb_target_supports_trace.
13834 2015-02-20 Pedro Alves <palves@redhat.com>
13837 * gdb.threads/clone-thread_db.c: New file.
13838 * gdb.threads/clone-thread_db.exp: New file.
13840 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13842 PR breakpoints/16812
13843 * gdb.base/catch-gdb-caused-signals.c: New file.
13844 * gdb.base/catch-gdb-caused-signals.exp: New file.
13846 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13848 * configure: Regenerated.
13849 * configure.ac: Use GDB_AC_TRANSFORM.
13850 * aclocal.m4: sinclude ../transform.m4.
13852 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13854 * lib/dtrace.exp: New file.
13855 * gdb.base/dtrace-probe.exp: Likewise.
13856 * gdb.base/dtrace-probe.d: Likewise.
13857 * gdb.base/dtrace-probe.c: Likewise.
13858 * lib/pdtrace.in: Likewise.
13859 * configure.ac: Output variables with the transformed names of
13860 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13861 * configure: Regenerated.
13863 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13865 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13866 expected message when trying to access $_probe_* convenience
13867 variables while not on a probe.
13869 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13871 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13873 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13875 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13876 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13878 2015-02-10 Doug Evans <xdje42@gmail.com>
13880 * lib/gdb.exp (gdb_load): Always return a result.
13882 2015-02-10 Pedro Alves <palves@redhat.com>
13884 * gdb.threads/signal-sigtrap.c: New file.
13885 * gdb.threads/signal-sigtrap.exp: New file.
13887 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13889 * gdb.trace/no-attach-trace.c: New file.
13890 * gdb.trace/no-attach-trace.exp: New file.
13892 2015-02-09 Mark Wielaard <mjw@redhat.com>
13894 * gdb.dwarf2/atomic.c: New file.
13895 * gdb.dwarf2/atomic-type.exp: Likewise.
13897 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13899 * gdb.btrace/buffer-size.exp: Update "info record" output.
13900 * gdb.btrace/delta.exp: Update "info record" output.
13901 * gdb.btrace/enable.exp: Update "info record" output.
13902 * gdb.btrace/finish.exp: Update "info record" output.
13903 * gdb.btrace/instruction_history.exp: Update "info record" output.
13904 * gdb.btrace/next.exp: Update "info record" output.
13905 * gdb.btrace/nexti.exp: Update "info record" output.
13906 * gdb.btrace/step.exp: Update "info record" output.
13907 * gdb.btrace/stepi.exp: Update "info record" output.
13908 * gdb.btrace/nohist.exp: Update "info record" output.
13910 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13912 * gdb.btrace/buffer-size: New.
13914 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13916 * gdb.btrace/delta.exp: Update "info record" output.
13917 * gdb.btrace/enable.exp: Update "info record" output.
13918 * gdb.btrace/finish.exp: Update "info record" output.
13919 * gdb.btrace/instruction_history.exp: Update "info record" output.
13920 * gdb.btrace/next.exp: Update "info record" output.
13921 * gdb.btrace/nexti.exp: Update "info record" output.
13922 * gdb.btrace/step.exp: Update "info record" output.
13923 * gdb.btrace/stepi.exp: Update "info record" output.
13924 * gdb.btrace/nohist.exp: Update "info record" output.
13926 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13929 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13931 2015-02-06 Pedro Alves <palves@redhat.com>
13933 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13935 (seconds_left, again): New globals.
13936 (main): Wait seconds_left in a 1-second sleep loop instead of
13937 sleeping 180 seconds. If 'again' is set, reset the seconds
13939 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13940 'again' in the inferior before detaching. Print the seconds left.
13941 (options): New global.
13942 (top level): Build program with -DTIMEOUT=$timeout.
13944 2015-02-06 Pedro Alves <palves@redhat.com>
13946 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13947 determine how many seconds to pass to 'alarm'.
13948 * gdb.base/gdb-sigterm.exp (top level): Build program with
13949 -DTIMEOUT=$timeout.
13950 (do_test): Return success/failure indication. Add more verbose
13951 logging. Don't fail if 200 single steps are seen. Instead, fail
13952 when the test times out.
13953 (passes): New global.
13954 (top level): Break the testing loop if testing fails on any
13955 iteration. Use gdb_assert.
13957 2015-02-04 Don Breazeal <donb@codesourcery.com>
13959 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13960 and initialize them.
13961 (ipc_cleanup): New function.
13962 (main): Don't declare shmid, semid, and msqid. Add a call to
13963 atexit so that we call ipc_cleanup on exit.
13965 2015-02-04 Pedro Alves <palves@redhat.com>
13967 * boards/native-extended-gdbserver.exp: Remove any target variant
13968 specifications from the board name before clearing the isremote
13969 flag from board_info.
13971 2015-01-31 Doug Evans <xdje42@gmail.com>
13973 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13975 2015-01-31 Gary Benson <gbenson@redhat.com>
13977 * gdb.base/completion.exp: Disable completion limiting for
13978 existing tests. Add new tests to check completion limiting.
13979 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13981 2015-01-31 Doug Evans <xdje42@gmail.com>
13983 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13985 2015-01-31 Doug Evans <xdje42@gmail.com>
13987 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13988 entries. Duplicate file section script entries.
13989 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13990 inlined entries. Add test for safe-path rejection.
13991 * gdb.python/py-section-script.c: Add duplicate inlined section script
13992 entries. Duplicate file section script entries.
13993 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13994 inlined entries. Add test for safe-path rejection.
13996 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13998 * gdb.ada/disc_arr_bound: New testcase.
14000 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14002 * gdb.ada/mi_var_array: New testcase.
14004 2015-01-27 Doug Evans <dje@google.com>
14006 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14007 Add test for objfile.filename, objfile.username after objfile
14010 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14012 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14013 the second test to print the name attribute of value
14014 returned by the call to gdb.lookup_type, and adjust
14015 the expected output accordingly.
14017 2015-01-25 Mark Wielaard <mjw@redhat.com>
14019 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14020 * gdb.base/disp-step-fork.c: Include unistd.h.
14021 * gdb.base/siginfo-obj.c: Include stdio.h.
14022 * gdb.base/siginfo-thread.c: Likewise.
14023 * gdb.mi/non-stop.c: Include unistd.h.
14024 * gdb.mi/nsthrexec.c: Include stdio.h.
14025 * gdb.mi/pthreads.c: Include unistd.h.
14026 * gdb.modula2/unbounded1.c (main): Declare returns int.
14027 * gdb.reverse/consecutive-reverse.c: Likewise.
14028 * gdb.threads/create-fail.c: Include unistd.h.
14029 * gdb.threads/killed.c: Likewise.
14030 * gdb.threads/linux-dp.c: Likewise.
14031 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14032 * gdb.threads/non-ldr-exc-2.c: Likewise.
14033 * gdb.threads/non-ldr-exc-3.c: Likewise.
14034 * gdb.threads/non-ldr-exc-4.c: Likewise.
14035 * gdb.threads/pthreads.c: Include unistd.h.
14036 (main): Declare returns int.
14037 * gdb.threads/tls-main.c (foo): New declaration.
14038 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14040 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14042 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14043 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14045 2015-01-15 Mark Wielaard <mjw@redhat.com>
14047 * gdb.base/noreturn-return.c: New file.
14048 * gdb.base/noreturn-return.exp: New file.
14049 * gdb.base/noreturn-finish.c: New file.
14050 * gdb.base/noreturn-finish.exp: New file.
14052 2015-01-23 Pedro Alves <palves@redhat.com>
14054 * gdb.threads/continue-pending-after-query.c: New file.
14055 * gdb.threads/continue-pending-after-query.exp: New file.
14057 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14058 Simon Marchi <simon.marchi@ericsson.com>
14060 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14061 * gdb.base/valgrind-db-attach.exp: Same.
14062 * gdb.base/valgrind-infcall.exp: Same.
14063 * lib/mi-support.exp (default_mi_gdb_start): Same.
14064 * lib/prompt.exp (default_prompt_gdb_start): Same.
14065 * lib/gdb.exp (default_gdb_spawn): Same.
14066 (gdb_interact): New.
14069 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14071 * gdb.compile/compile.exp (pointer to jit function): New test.
14073 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14075 * lib/gdb.exp (supports_process_record): Return true for
14077 (supports_reverse): Likewise.
14079 2015-01-15 Don Breazeal <donb@codesourcery.com>
14081 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14082 instead of checking whether the target board is remote and
14083 use spawn_wait_for_attach instead of exec/sleep.
14084 * gdb.base/attach-twice.exp: Likewise.
14086 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14088 * gdb.ada/var_arr_attrs: New testcase.
14090 2015-01-14 Pedro Alves <palves@redhat.com>
14091 Joel Brobecker <brobecker@adacore.com>
14094 * gdb.base/bp-cmds-execution-x-script.c: New file.
14095 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14096 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14098 2015-01-14 Pedro Alves <palves@redhat.com>
14101 * gdb.base/batch-preserve-term-settings.c: New file.
14102 * gdb.base/batch-preserve-term-settings.exp: New file.
14104 2015-01-13 Doug Evans <dje@google.com>
14106 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14109 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14111 * Makefile.in (clean mostlyclean): Do not delete *.py.
14113 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14115 * gdb.python/py-lookup-type.exp: New file.
14117 2015-01-12 Pedro Alves <palves@redhat.com>
14119 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14120 restore GDBFLAGS before returning.
14122 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14124 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14125 is_amd64_regs_target and is_x86_like_target.
14127 2015-01-11 Doug Evans <xdje42@gmail.com>
14129 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14130 is given without an explicit form.
14131 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14133 * gdb.dwarf/corrupt.exp: Ditto.
14134 * gdb.dwarf2/enum-type.exp: Ditto.
14135 * gdb.trace/entry-values.exp: Ditto.
14136 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14138 2015-01-11 Doug Evans <xdje42@gmail.com>
14141 * gdb.base/maint.exp: Remove references to "maint demangle".
14142 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14143 Add tests for explicitly specifying language to demangle.
14144 * gdb.dlang/demangle.exp: Ditto.
14146 2015-01-09 Pedro Alves <palves@redhat.com>
14148 * gdb.threads/non-stop-fair-events.c: New file.
14149 * gdb.threads/non-stop-fair-events.exp: New file.
14151 2015-01-09 Pedro Alves <palves@redhat.com>
14153 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14154 the global scope. Set a breakpoint after all threads are started
14155 rather than stepping over two source lines. Expect the prompt.
14156 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14159 (main): Use threads_started_barrier to wait for all threads to
14160 start. Main thread no longer calls thread_function. Exit after
14162 (loop): New function.
14163 (thread_function): Wait on threads_started_barrier barrier. Call
14164 'loop' at each iteration.
14165 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14166 threads have started, instead of hardcoding number of "next"
14167 steps. Use an access watchpoint instead of a write watchpoint.
14169 2015-01-09 Pedro Alves <palves@redhat.com>
14171 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14172 (thread_func): Wait on barrier.
14173 (main): Wait for all threads to start before stopping GDB.
14174 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14176 (thread1_func, thread2_func): Wait on barrier.
14177 (main): Wait for all threads to start before stopping GDB.
14178 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14180 (thread1_func, thread2_func): Wait on barrier.
14181 (main): Wait for all threads to start before stopping GDB.
14183 2015-01-09 Pedro Alves <palves@redhat.com>
14185 * gdb.threads/attach-many-short-lived-threads.c: New file.
14186 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14188 2014-01-09 Pedro Alves <palves@redhat.com>
14190 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14191 instead of to thread 2.
14192 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14193 Add barrier around each pthread_create call instead of around all
14195 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14196 Set a break on thread_function and have the child threads hit it
14199 2015-01-09 Pedro Alves <palves@redhat.com>
14201 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14202 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14204 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14205 checking whether the target board is remote.
14206 * gdb.multi/multi-attach.exp: Likewise.
14207 * gdb.python/py-sync-interp.exp: Likewise.
14208 * gdb.server/ext-attach.exp: Likewise.
14209 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14210 tests that need to attach, instead of checking whether the target
14211 board is remote at the top of the file.
14213 2015-01-08 Yao Qi <yao@codesourcery.com>
14215 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14217 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14219 Fix testcase compilation.
14220 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14222 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14224 * gdb.python/py-type.exp: Add a couple test about empty
14225 array creation, and negative-length array creation.
14227 2015-01-02 Doug Evans <xdje42@gmail.com>
14229 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14231 2015-01-02 Doug Evans <dje@google.com>
14233 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14235 2014-12-29 Yao Qi <yao@codesourcery.com>
14237 * gdb.trace/entry-values.exp: Update comments. Rename variable
14238 bar_call_foo to returned_from_foo.
14240 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14243 * gdb.linespec/break-asm-file.c: New file.
14244 * gdb.linespec/break-asm-file.exp: New file.
14245 * gdb.linespec/break-asm-file0.s: New file.
14246 * gdb.linespec/break-asm-file1.s: New file.
14248 2014-12-18 Nigel Stephens <nigel@mips.com>
14249 Maciej W. Rozycki <macro@codesourcery.com>
14251 * gdb.base/float.exp: Handle the new output from "info float" on
14254 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14256 Fix MinGW compilation.
14257 * gdb.compile/compile-ops.exp: Update untested message if
14258 !skip_compile_feature_tests.
14259 * gdb.compile/compile-setjmp.exp: Likewise.
14260 * gdb.compile/compile-tls.exp: Likewise.
14261 * gdb.compile/compile.exp: Likewise.
14262 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14263 supported on this host".
14265 2014-12-16 Doug Evans <xdje42@gmail.com>
14267 * boards/stabs.exp: New file.
14269 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14271 * gdb.base/completion.exp: Adjust to format changes of "maint
14272 print user-registers".
14274 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14277 * gdb.arch/aarch64-fp.c: New file.
14278 * gdb.arch/aarch64-fp.exp: New file.
14280 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14282 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14283 r210637, r210913, r211666, r215400, r215817).
14285 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14286 * dg-extract-results.py: New file.
14287 * dg-extract-results.sh: Use it if the environment seems
14290 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14292 * dg-extract-results.py (parse_run): Handle warnings that
14293 are printed before a test harness is run.
14295 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14297 * dg-extract-results.py (Named): Remove __cmp__ method.
14298 (output_variation): Use a key to sort variation.harnesses.
14300 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14302 * dg-extract-results.py: For Python 3, force sys.stdout to
14303 handle surrogate escape sequences.
14304 (safe_open): New function.
14305 (output_segment, main): Use it.
14307 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14309 * dg-extract-results.py (Prog.result_re): Include options
14312 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14314 * dg-extract-results.py (output_variation): Always sort if
14317 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14319 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14320 as long as we get pagination notifications.
14322 2014-12-15 Jason Merrill <jason@redhat.com>
14324 * Makefile.in (check-gdb.%): Restore.
14325 * README: Mention it.
14327 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14329 * gdb.ada/str_uninit: New testcase.
14331 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14334 * gdb.base/vla-stub-define.c: New file.
14335 * gdb.base/vla-stub.c: New file.
14336 * gdb.base/vla-stub.exp: New file.
14338 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14339 Jan Kratochvil <jan.kratochvil@redhat.com>
14340 Tom Tromey <tromey@redhat.com>
14342 * configure.ac: Add gdb.compile/.
14343 * configure: Regenerate.
14344 * gdb.compile/Makefile.in: New file.
14345 * gdb.compile/compile-ops.exp: New file.
14346 * gdb.compile/compile-ops.c: New file.
14347 * gdb.compile/compile-tls.c: New file.
14348 * gdb.compile/compile-tls.exp: New file.
14349 * gdb.compile/compile-constvar.S: New file.
14350 * gdb.compile/compile-constvar.c: New file.
14351 * gdb.compile/compile-mod.c: New file.
14352 * gdb.compile/compile-nodebug.c: New file.
14353 * gdb.compile/compile-setjmp-mod.c: New file.
14354 * gdb.compile/compile-setjmp.c: New file.
14355 * gdb.compile/compile-setjmp.exp: New file.
14356 * gdb.compile/compile-shlib.c: New file.
14357 * gdb.compile/compile.c: New file.
14358 * gdb.compile/compile.exp: New file.
14359 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14361 2014-12-12 Tom Tromey <tromey@redhat.com>
14363 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14364 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14366 2014-12-12 Doug Evans <dje@google.com>
14368 * lib/gdb-python.exp (get_python_valueof): New function.
14369 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14371 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14373 * gdb.base/completion.exp: Add test for completion of "info
14376 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14378 * gdb.base/func-ptrs.c: New file.
14379 * gdb.base/func-ptrs.exp: New file.
14381 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14383 PR breakpoints/17012
14384 * gdb.base/dprintf-detach.c: New file.
14385 * gdb.base/dprintf-detach.exp: New file.
14387 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14389 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14390 * lib/gdb.exp (target_is_gdbserver): New procedure.
14392 2014-12-08 Doug Evans <dje@google.com>
14394 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14396 2014-12-05 Yao Qi <yao@codesourcery.com>
14398 * gdb.guile/scm-error.exp: Remove the third argument to
14399 gdb_remote_download.
14400 * gdb.guile/scm-frame-args.exp: Likewise.
14401 * gdb.guile/scm-section-script.exp: Likewise.
14403 2014-12-05 Yao Qi <yao@codesourcery.com>
14405 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14407 2014-12-04 Doug Evans <dje@google.com>
14409 * gdb.python/py-objfile.exp: Add tests for
14410 objfile.add_separate_debug_file.
14412 2014-12-04 Doug Evans <dje@google.com>
14414 * lib/gdb.exp (get_build_id): New function.
14415 (build_id_debug_filename_get): Rewrite to use it.
14416 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14418 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14420 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14421 `method(long)', not just 0x0.
14422 * gdb.cp/nsalias.exp: Align code labels to 4.
14423 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14424 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14425 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14426 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14427 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14428 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14430 2014-12-02 Doug Evans <dje@google.com>
14433 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14434 * gdb.cp/anon-ns2.cc: ... here. New file.
14435 * gdb.cp/anon-ns.exp: Update.
14437 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14439 * gdb.python/py-events.py (inferior_call_handler): New.
14440 (register_changed_handler, memory_changed_handler): New.
14441 (test_events.invoke): Register new handlers.
14442 * gdb.python/py-events.exp: Add tests for inferior call,
14443 memory_changed and register_changed events.
14445 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14447 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14448 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14449 if the linker doesn't understand this.
14451 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14453 * gdb.python/python.exp: Change expected reply to help().
14455 2014-12-01 Yao Qi <yao@codesourcery.com>
14457 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14458 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14459 * configure: Re-generated.
14461 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14463 * gdb.cp/chained-calls.cc: New file.
14464 * gdb.cp/chained-calls.exp: New file.
14465 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14467 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14469 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14470 * gdb.dwarf2/symtab-producer.exp: Same.
14471 * gdb.gdb/python-interrupts.exp: Same.
14472 * gdb.gdb/python-selftest.exp: Same.
14473 * gdb.python/py-linetable.exp: Same.
14474 * gdb.python/py-type.exp: Same.
14475 * gdb.python/py-value-cc.exp: Same.
14476 * gdb.python/py-value.exp: Same.
14478 2014-11-28 Yao Qi <yao@codesourcery.com>
14480 * gdb.base/break-probes.exp: Match library name prefixed with
14483 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14485 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14486 test expected output. Add parentheses for the call to print.
14487 Remove L suffix from integers.
14489 2014-11-26 Doug Evans <dje@google.com>
14491 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14493 2014-11-22 Yao Qi <yao@codesourcery.com>
14495 * gdb.trace/entry-values.c: Remove asms.
14496 (foo): Add foo_label.
14497 (bar): Add bar_label.
14498 * gdb.trace/entry-values.exp: Remove code computing foo's
14499 length and bar's length.
14500 (Dwarf::assemble): Invoke function_range for bar and use
14501 MACRO_AT_func for foo.
14503 2014-11-22 Yao Qi <yao@codesourcery.com>
14505 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14506 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14507 Use .Lgcc43_procstart instead of gcc43.
14509 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14511 * gdb.ada/n_arr_bound: New testcase.
14513 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14515 PR breakpoints/10737
14516 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14517 test_catch_syscall_multi_arch.
14518 (test_catch_syscall_multi_arch): New function.
14520 2014-11-20 Doug Evans <xdje42@gmail.com>
14522 * gdb.base/maint.exp: Update expected output.
14524 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14526 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14527 4-byte instruction on S390.
14529 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14531 * gdb.ada/arr_arr: New testcase.
14533 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14535 * gdb.ada/pkd_arr_elem: New Testcase.
14537 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14539 * gdb.reverse/break-precsave: Expect completion message for
14541 * gdb.reverse/consecutive-precsave.exp: Likewise.
14542 * gdb.reverse/finish-precsave.exp: Likewise.
14543 * gdb.reverse/i386-precsave.exp: Likewise.
14544 * gdb.reverse/machinestate-precsave.exp: Likewise.
14545 * gdb.reverse/sigall-precsave.exp: Likewise.
14546 * gdb.reverse/solib-precsave.exp: Likewise.
14547 * gdb.reverse/step-precsave.exp: Likewise.
14548 * gdb.reverse/until-precsave.exp: Likewise.
14549 * gdb.reverse/watch-precsave.exp: Likewise.
14551 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14553 * gdb.base/bp-permanent.c: Include unistd.h.
14554 * gdb.python/py-framefilter-mi.c (main): Add return type.
14555 * gdb.python/py-framefilter.c (main): Likewise.
14556 * gdb.trace/actions-changed.c (main): Likewise.
14558 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14560 * gdb.mi/until.c: Add eye-catchers.
14561 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14564 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14566 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14567 function header variants in break1.c.
14568 * gdb.base/ena-dis-br.exp: Likewise.
14569 * gdb.base/hbreak2.exp: Likewise.
14570 * gdb.reverse/until-precsave.exp: Drop references to removed
14571 non-prototype function header variants in ur1.c.
14572 * gdb.reverse/until-reverse.exp: Likewise.
14574 2014-11-17 Petr Machata <pmachata@redhat.com>
14576 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14577 ${_cu_offset_size} bytes abbrev offset.
14579 2014-11-15 Doug Evans <xdje42@gmail.com>
14582 * gdb.base/line-symtabs.exp: New file.
14583 * gdb.base/line-symtabs.c: New file.
14584 * gdb.base/line-symtabs.h: New file.
14586 2014-11-14 Yao Qi <yao@codesourcery.com>
14588 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14589 (func): Add label func_label.
14590 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14591 Replace low_pc and high_pc with MACRO_AT_range.
14592 Replace name, low_pc and high_pc with MACRO_AT_func.
14594 2014-11-14 Yao Qi <yao@codesourcery.com>
14596 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14597 Replace name, low_pc and high_pc with MACRO_AT_func.
14599 2014-11-14 Yao Qi <yao@codesourcery.com>
14601 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14602 produce debug information.
14603 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14605 2014-11-14 Yao Qi <yao@codesourcery.com>
14607 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14608 object and get function length.
14609 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14610 with MACRO_AT_func.
14611 (top-level): Replace gdb_compile and clean_restart with
14612 prepare_for_testing.
14613 * gdb.dwarf2/main.c (main): Add label main_label.
14615 2014-11-14 Yao Qi <yao@codesourcery.com>
14617 * lib/dwarf.exp (function_range): New procedure.
14618 (Dwarf::_handle_macro_at_func): New procedure.
14619 (Dwarf::_handle_macro_at_range): New procedure.
14620 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14622 2014-11-14 Yao Qi <yao@codesourcery.com>
14624 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14625 (_handle_attribute): New procedure.
14627 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14629 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14630 * gdb.base/call-sc.c (zed): Likewise.
14631 * gdb.base/checkpoint.c (main): Likewise.
14632 * gdb.base/dump.c (main): Likewise.
14633 * gdb.base/gcore.c (main): Likewise.
14634 * gdb.base/huge.c (main): Likewise.
14635 * gdb.base/multi-forks.c (main): Likewise.
14636 * gdb.base/pr10179-a.c (main): Likewise.
14637 * gdb.base/savedregs.c (main): Likewise.
14638 * gdb.base/sigaltstack.c (main): Likewise.
14639 * gdb.base/siginfo.c (main): Likewise.
14640 * gdb.base/structs.c (zed): Likewise.
14641 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14642 * gdb.mi/mi-syn-frame.c (main): Likewise.
14643 * gdb.mi/until.c (foo, main): Likewise.
14644 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14645 * gdb.base/solib-weak.c (foo): Declare.
14646 * gdb.base/attach-twice.c: Include stdio.h.
14647 * gdb.base/weaklib1.c: Likewise.
14648 * gdb.base/weaklib2.c: Likewise.
14649 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14650 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14652 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14653 * gdb.mi/mi-exit-code.c: Likewise.
14654 * gdb.base/break-interp-lib.c: Include string.h.
14655 * gdb.base/coremaker.c: Likewise.
14656 * gdb.base/testenv.c: Likewise.
14657 * gdb.python/py-finish-breakpoint.c: Likewise.
14658 * gdb.base/inferior-died.c: Include sys/wait.h.
14659 * gdb.base/fileio.c: Include time.h.
14660 * gdb.base/async-shell.c: Include unistd.h.
14661 * gdb.base/dprintf-non-stop.c: Likewise.
14662 * gdb.base/info-os.c: Likewise.
14663 * gdb.mi/mi-console.c: Likewise.
14664 * gdb.mi/watch-nonstop.c: Likewise.
14665 * gdb.python/py-events.c: Likewise.
14666 * gdb.base/async.c (baz): Move up before its invocation.
14667 * gdb.base/code_elim2.c (my_global_func): Likewise.
14668 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14669 * gdb.base/advance.c (func2): Likewise.
14671 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14673 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14675 * gdb.base/annota3.c: Likewise.
14676 * gdb.base/async.c: Likewise.
14677 * gdb.base/average.c: Likewise.
14678 * gdb.base/call-ar-st.c: Likewise.
14679 * gdb.base/call-rt-st.c: Likewise.
14680 * gdb.base/call-sc.c: Likewise.
14681 * gdb.base/call-strs.c: Likewise.
14682 * gdb.base/ending-run.c: Likewise.
14683 * gdb.base/execd-prog.c: Likewise.
14684 * gdb.base/exprs.c: Likewise.
14685 * gdb.base/foll-exec.c: Likewise.
14686 * gdb.base/foll-fork.c: Likewise.
14687 * gdb.base/foll-vfork.c: Likewise.
14688 * gdb.base/funcargs.c: Likewise.
14689 * gdb.base/gcore.c: Likewise.
14690 * gdb.base/jump.c: Likewise.
14691 * gdb.base/langs0.c: Likewise.
14692 * gdb.base/langs1.c: Likewise.
14693 * gdb.base/langs2.c: Likewise.
14694 * gdb.base/mips_pro.c: Likewise.
14695 * gdb.base/nodebug.c: Likewise.
14696 * gdb.base/opaque0.c: Likewise.
14697 * gdb.base/opaque1.c: Likewise.
14698 * gdb.base/recurse.c: Likewise.
14699 * gdb.base/run.c: Likewise.
14700 * gdb.base/scope0.c: Likewise.
14701 * gdb.base/scope1.c: Likewise.
14702 * gdb.base/setshow.c: Likewise.
14703 * gdb.base/setvar.c: Likewise.
14704 * gdb.base/shmain.c: Likewise.
14705 * gdb.base/shr1.c: Likewise.
14706 * gdb.base/shr2.c: Likewise.
14707 * gdb.base/sigall.c: Likewise.
14708 * gdb.base/signals.c: Likewise.
14709 * gdb.base/so-indr-cl.c: Likewise.
14710 * gdb.base/solib2.c: Likewise.
14711 * gdb.base/structs.c: Likewise.
14712 * gdb.base/sum.c: Likewise.
14713 * gdb.base/vforked-prog.c: Likewise.
14714 * gdb.base/watchpoint.c: Likewise.
14715 * gdb.reverse/shr2.c: Likewise.
14716 * gdb.reverse/until-reverse.c: Likewise.
14717 * gdb.reverse/ur1.c: Likewise.
14718 * gdb.reverse/watch-reverse.c: Likewise.
14720 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14722 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14724 * gdb.base/sepdebug.exp: Drop references to removed code.
14726 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14728 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14729 variant. Preserve original line numbering.
14730 * gdb.base/list1.c: Likewise.
14732 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14734 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14736 * gdb.base/break1.c: Likewise.
14737 * gdb.base/break.exp: Drop references to removed code.
14739 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14741 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14744 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14746 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14748 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14750 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14751 logic into perform_all_tests() and invoke it with and without
14752 function header prototypes.
14753 (do_function_calls): Remove conditional XFAIL for PR 5318.
14754 (rerun_and_prepare): Remove duplicate code.
14755 (perform_all_tests): New. Main logic moved here.
14757 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14759 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14760 code guarded by #ifdef NO_PROTOTYPES.
14761 (t_double_many_args): Likewise.
14762 (DEF_FUNC_MANY_ARGS_1): Likewise.
14763 (DEF_FUNC_VALUES_1): Likewise.
14764 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14765 guarded by #ifdef PROTOTYPES.
14767 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14769 * gdb.mi/mi-console.c: Add eye-catcher.
14770 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14771 instead of literal line number.
14773 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14775 * gdb.base/shr2.c: Add eye-catcher.
14776 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14779 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14781 * gdb.base/jump.c: Add eye-catchers.
14782 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14785 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14787 * gdb.base/execd-prog.c: Add eye-catchers.
14788 * gdb.base/foll-exec.c: Likewise.
14789 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14792 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14794 * gdb.base/ending-run.c: Add eye-catchers.
14795 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14796 literal line numbers.
14798 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14800 * gdb.base/call-rt-st.c: Add eye-catchers.
14801 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14802 literal line numbers.
14804 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14806 * gdb.base/call-ar-st.c: Add eye-catchers.
14807 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14808 literal line numbers.
14810 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14812 * gdb.base/average.c: Add eye-catchers.
14813 * gdb.base/sum.c: Likewise.
14814 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14815 regexps dynamically.
14817 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14819 * gdb.base/solib1.c: Add eye-catchers.
14820 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14821 literal line numbers.
14823 2014-11-12 Pedro Alves <palves@redhat.com>
14825 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14828 2014-11-12 Pedro Alves <palves@redhat.com>
14830 * gdb.arch/i386-bp_permanent.c: New file.
14831 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14832 (srcfile): Set to i386-bp_permanent.c.
14833 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14834 that stepi does not execute the 'leave' instruction, instead of
14835 testing it does execute.
14836 * gdb.base/bp-permanent.c: New file.
14837 * gdb.base/bp-permanent.exp: New file.
14839 2014-11-10 Doug Evans <xdje42@gmail.com>
14842 * gdb.base/symtab-search-order.exp: New file.
14843 * gdb.base/symtab-search-order.c: New file.
14844 * gdb.base/symtab-search-order-1.c: New file.
14845 * gdb.base/symtab-search-order-shlib-1.c: New file.
14847 2014-11-07 Pedro Alves <palves@redhat.com>
14850 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14853 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14856 * gdb.cp/pr17494.cc: New file.
14857 * gdb.cp/pr17494.exp: New file.
14859 2014-11-02 Yao Qi <yao@codesourcery.com>
14861 * gdb.python/python.exp: Get working directory and match the
14862 output of "set extended-prompt \\w " with it.
14864 2014-10-30 Doug Evans <dje@google.com>
14866 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14868 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14871 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14873 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14874 * gdb.base/realname-expand.exp: Likewise.
14875 * gdb.linespec/macro-relative.exp: Likewise.
14877 2014-10-29 Pedro Alves <palves@redhat.com>
14880 * gdb.threads/schedlock.c (some_function): New function.
14881 (call_function): New global.
14882 (MAYBE_CALL_SOME_FUNCTION): New macro.
14883 (thread_function): Call it.
14884 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14885 and use it instead of a global counter. Adjust all callers.
14886 (get_current_thread): Use "find current thread" for test message
14887 here rather than having all callers pass down the same string.
14888 (goto_loop): New procedure, factored out from ...
14889 (my_continue): ... this.
14890 (step_ten_loops): Change parameter from test message to command to
14892 (list_count): Delete global.
14893 (check_result): New procedure, factored out from duplicate top
14895 (continue tests): Wrap in with_test_prefix.
14896 (test_step): New procedure, factored out from duplicate top level
14898 (top level): Test "step" in combination with all scheduler-locking
14899 modes. Test "next" in combination with all scheduler-locking
14900 modes, and in combination with stepping over a function call or
14902 * gdb.threads/next-bp-other-thread.c: New file.
14903 * gdb.threads/next-bp-other-thread.exp: New file.
14905 2014-10-29 Pedro Alves <palves@redhat.com>
14908 * gdb.python/python.exp: Test a multi-line command that spawns
14909 interactive Python.
14910 * gdb.base/multi-line-starts-subshell.exp: New file.
14912 2014-10-29 Yao Qi <yao@codesourcery.com>
14914 * gdb.base/fileio.exp: Make directories on host.
14916 2014-10-29 Yao Qi <yao@codesourcery.com>
14918 * gdb.base/fileio.c (test_write): Close the file.
14920 2014-10-28 Pedro Alves <palves@redhat.com>
14923 * gdb.base/sigstep.c (no_handler): New global.
14924 (main): If 'no_handler is true, set the signal handlers to
14926 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14927 with_sw_watch and no_handler parameters. Handle them.
14928 (top level) <stepping over handler when stopped at a breakpoint
14929 test>: Add a test axis for testing with a software watchpoint, and
14930 another for testing with the signal handler set to SIG_IGN.
14931 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14932 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14934 2014-10-28 Pedro Alves <palves@redhat.com>
14937 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14938 * gdb.base/sigstep.exp (other_handler_location): New global.
14939 (advance): Support stepping into the signal handler, and running
14940 commands while in the handler.
14941 (in_handler_map): New global.
14942 (top level): In the advance test, add combinations for getting
14943 into the handler with stepping commands, and for running commands
14944 in the handler. Add comment descripting the advancei tests.
14946 2014-10-28 Pedro Alves <palves@redhat.com>
14948 * gdb.base/sigstep.exp: Use build_executable instead of
14949 prepare_for_testing.
14950 (top level): Move code that starts GDB, runs to main and creates a
14952 (restart): ... this new procedure.
14953 (top level): Move backtrace from signal handler test to ...
14954 (validate_backtrace): ... this new procedure.
14955 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14956 with_test_prefix. Always restart GDB.
14957 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14958 with_test_prefix. Always restart GDB. No need to delete
14959 breakpoints after the test.
14960 (test_skip_handler): Remove prefix parameter.
14961 (skip_over_handler, breakpoint_to_handler)
14962 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14963 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14964 restart GDB. No need to delete breakpoints after the test.
14965 (top level): Use foreach to call the test procedures with
14966 different commands.
14968 2014-10-28 Pedro Alves <palves@redhat.com>
14970 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14971 instead of GNATS numbers.
14972 * gdb.base/sigbpt.exp: Likewise.
14973 * gdb.base/siginfo.exp: Likewise.
14974 * gdb.base/sigstep.exp: Likewise.
14976 2014-10-27 Pedro Alves <palves@redhat.com>
14978 * gdb.base/sigstep.c (dummy): New global.
14979 (main): Issue a couple writes to the new global.
14980 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14982 (skip_over_handler): Use test_skip_handler.
14983 (top level): Call skip_over_handler for stepi and nexti too.
14984 (breakpoint_over_handler): Use test_skip_handler.
14985 (top level): Call breakpoint_over_handler for stepi and nexti too.
14987 2014-10-27 Yao Qi <yao@codesourcery.com>
14989 * gdb.trace/tfile.c (adjust_function_address)
14990 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14991 function descriptor.
14993 2014-10-24 Don Breazeal <donb@codesourcery.com>
14995 * gdb.base/foll-fork.exp (test_follow_fork,
14996 catch_fork_child_follow): Check for updated fork messages emitted
14998 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14999 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15000 vfork_and_exec_child_follow_through_step): Check for updated vfork
15001 messages emitted from infrun.c.
15003 2014-10-24 Pedro Alves <palves@redhat.com>
15005 * gdb.base/corefile.exp: Remove references to ultrix.
15006 * gdb.base/interrupt.exp: Likewise.
15007 * gdb.base/whatis.exp: Likewise.
15008 * gdb.gdb/selftest.exp: Likewise.
15009 * gdb.threads/manythreads.exp: Likewise.
15010 * gdb.threads/print-threads.exp: Likewise.
15011 * gdb.threads/pthreads.exp:: Likewise.
15012 * gdb.threads/schedlock.exp: Likewise.
15014 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15016 * gdb.cp/non-trivial-retval.cc: Add a test case.
15017 * gdb.cp/non-trivial-retval.exp: Add a test.
15019 2014-10-20 Yao Qi <yao@codesourcery.com>
15021 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15022 * gdb.python/py-objfile-script-gdb.py: New file.
15023 * gdb.python/py-objfile-script.exp: Update reference to
15024 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15025 of remote_download. Remove the dest file.
15027 2014-10-20 Yao Qi <yao@codesourcery.com>
15029 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15030 * gdb.base/step-line.exp: Likewise.
15031 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15032 * gdb.dwarf2/dw2-basic.exp: Likewise.
15033 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15034 * gdb.dwarf2/dw2-filename.exp: Likewise.
15035 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15036 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15037 * gdb.dwarf2/dw2-producer.exp: Likewise.
15038 * gdb.dwarf2/mac-fileno.exp: Likewise.
15039 * gdb.python/py-frame-args.exp: Likewise.
15040 * gdb.python/py-framefilter.exp: Likewise.
15041 * gdb.python/py-mi.exp: Likewise.
15042 * gdb.python/py-objfile-script.exp: Likewise
15043 * gdb.python/py-pp-integral.exp: Likewise.
15044 * gdb.python/py-pp-re-notag.exp: Likewise.
15045 * gdb.python/py-prettyprint.exp: Likewise.
15046 * gdb.python/py-section-script.exp: Likewise.
15047 * gdb.python/py-typeprint.exp: Likewise.
15048 * gdb.python/py-xmethods.exp: Likewise.
15049 * gdb.stabs/weird.exp: Likewise.
15050 * gdb.xml/tdesc-regs.exp: Likewise.
15052 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15054 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15055 (out_cu): Use addr_len for the size of addresses.
15056 (out_line): Likewise. Size DW_LNE_set_address instruction
15057 according to addr_len.
15058 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15059 (FUNC): Add START_INSNS to definition.
15061 2014-10-18 Yao Qi <yao@codesourcery.com>
15063 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15064 gdb_has_argv0 return true.
15065 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15066 check [target_info exists noargs], check [gdb_has_argv0]
15068 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15069 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15072 2014-10-17 Doug Evans <dje@google.com>
15074 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15076 * gdb.python/py-events.py: Add clear_objfiles event.
15078 2014-10-17 Doug Evans <dje@google.com>
15080 * gdb.python/py-objfile.exp: Test progspace attribute.
15082 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15084 * gdb.guile/scm-breakpoint.exp: Do not assume any
15085 directory separators when matching source file paths.
15086 * gdb.python/py-breakpoint.exp: Likewise.
15087 * gdb.reverse/break-precsave.exp: Likewise.
15088 * gdb.reverse/break-reverse.exp: Likewise.
15089 * gdb.reverse/consecutive-precsave.exp: Likewise.
15090 * gdb.reverse/finish-precsave.exp: Likewise.
15091 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15092 * gdb.reverse/finish-reverse.exp: Likewise.
15093 * gdb.reverse/i386-precsave.exp: Likewise.
15094 * gdb.reverse/i387-env-reverse.exp: Likewise.
15095 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15096 * gdb.reverse/machinestate-precsave.exp: Likewise.
15097 * gdb.reverse/machinestate.exp: Likewise.
15098 * gdb.reverse/sigall-precsave.exp: Likewise.
15099 * gdb.reverse/solib-precsave.exp: Likewise.
15100 * gdb.reverse/step-precsave.exp: Likewise.
15101 * gdb.reverse/until-precsave.exp: Likewise.
15102 * gdb.reverse/watch-precsave.exp: Likewise.
15103 * gdb.reverse/watch-reverse.exp: Likewise.
15105 2014-10-17 Yao Qi <yao@codesourcery.com>
15107 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15108 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15110 2014-10-17 Pedro Alves <palves@redhat.com>
15113 * gdb.base/bg-execution-repeat.c: New file.
15114 * gdb.base/bg-execution-repeat.exp: New file.
15116 2014-10-17 Pedro Alves <palves@redhat.com>
15119 * gdb.base/continue-all-already-running.c: New file.
15120 * gdb.base/continue-all-already-running.exp: New file.
15122 2014-10-17 Pedro Alves <palves@redhat.com>
15125 * gdb.base/annota-input-while-running.c: New file.
15126 * gdb.base/annota-input-while-running.exp: New file.
15128 2014-10-17 Pedro Alves <palves@redhat.com>
15130 * gdb.base/callfuncs.exp: emove references to osf.
15131 * gdb.base/sigall.exp: Likewise.
15132 * gdb.gdb/selftest.exp: Likewise.
15133 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15134 * gdb.mi/non-stop.c: Likewise.
15135 * gdb.mi/pthreads.c: Likewise.
15136 * gdb.reverse/sigall-precsave.exp: Likewise.
15137 * gdb.reverse/sigall-reverse.exp: Likewise.
15138 * gdb.threads/pthreads.c: Likewise.
15139 * gdb.threads/pthreads.exp: Likewise.
15141 2014-10-17 Yao Qi <yao@codesourcery.com>
15143 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15144 check 'target_info exists noargs'.
15145 (test_command_prompt_position): Likewise.
15146 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15148 (progvar_simple_while_test): Likewise.
15149 (progvar_complex_if_while_test): Likewise.
15150 (if_while_breakpoint_command_test): Likewise.
15151 (infrun_breakpoint_command_test): Likewise.
15152 (breakpoint_command_test): Likewise.
15153 (watchpoint_command_test): Likewise.
15154 (bp_deleted_in_command_test): Likewise.
15155 (temporary_breakpoint_commands): Likewise.
15157 2014-10-16 Yao Qi <yao@codesourcery.com>
15159 * gdb.base/remotetimeout.exp: Remove noargs checking.
15161 2014-10-15 Pedro Alves <palves@redhat.com>
15163 PR breakpoints/9649
15164 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15165 * gdb.base/breakpoint-in-ro-region.exp
15166 (probe_target_hardware_step): New procedure.
15167 (top level): Probe hardware stepping and hardware breakpoint
15168 support. Test stepping through a read-only region, with both
15169 "breakpoint auto-hw" on and off and both "always-inserted" on and
15172 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15174 * gdb.dlang/demangle.exp: Update for demangling changes.
15176 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15178 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15179 * gdb.cp/non-trivial-retval.exp: Add new tests.
15181 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15185 * gdb.cp/non-trivial-retval.cc: New file.
15186 * gdb.cp/non-trivial-retval.exp: New file.
15188 2014-10-15 Yao Qi <yao@codesourcery.com>
15190 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15193 2014-10-15 Yao Qi <yao@codesourcery.com>
15195 * gdb.python/py-symbol.exp: Match file base name if host is
15196 remote, otherwise match file name with dir name.
15197 * gdb.python/py-symtab.exp: Likewise.
15198 * gdb.python/python.exp: Likewise.
15200 2014-10-15 Yao Qi <yao@codesourcery.com>
15202 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15204 * gdb.python/py-symtab.exp: Likewise.
15205 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15208 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15210 * gdb.ada/addr_arith: New testcase.
15212 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15214 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15215 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15216 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15217 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15219 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15221 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15222 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15223 * gdb.arch/stap-eval-lang-ada.exp: New file.
15225 2014-10-14 Yao Qi <yao@codesourcery.com>
15227 * gdb.mi/mi-var-child.c (nothing1): New function.
15228 (nothing2): New function.
15229 (do_children_tests): Set function pointers by nothing1 and
15231 * gdb.mi/mi-var-child.exp: Step over new added statements.
15232 Update test to match the new output.
15233 * gdb.mi/var-cmd.c (nothing1): New function.
15234 (nothing2): New function.
15235 (do_children_tests): Set function pointers by nothing1 and
15237 * gdb.mi/mi-var-display.exp: Update test to match output.
15238 Step to the line specified by $line_dct_nothing.
15239 Increase the number of lines to step.
15241 2014-10-14 Yao Qi <yao@codesourcery.com>
15243 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15245 * gdb.mi/mi2-var-child.exp: Likewise.
15247 2014-10-13 Doug Evans <dje@google.com>
15249 * gdb.python/py-objfile.exp: Change name of file name test.
15251 2014-10-13 Doug Evans <dje@google.com>
15253 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15254 from the start of the CU.
15256 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15257 Yao Qi <yao@codesourcery.com>
15259 Fix "save breakpoints" for "catch" command.
15260 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15261 Remove -nonewline. Match also the added "main" line.
15263 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15265 Fix "save breakpoints" for "disable $bpnum" command.
15266 * gdb.base/save-bp.c (main): Add label.
15267 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15269 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15271 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15273 2014-10-11 Yao Qi <yao@codesourcery.com>
15275 * gdb.server/server-kill.exp: Execute command
15276 "set remote trace-status-packet on" before "tstatus".
15278 2014-10-11 Yao Qi <yao@codesourcery.com>
15280 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15281 (main): Call getppid.
15282 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15283 and continue to it. Read variable "server_pid".
15285 2014-10-11 Yao Qi <yao@codesourcery.com>
15287 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15289 2014-10-11 Yao Qi <yao@codesourcery.com>
15291 * gdb.threads/thread-find.exp: Don't execute command
15293 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15294 * gdb.threads/linux-dp.exp: Don't check the condition
15295 $threads_created equals to zero.
15297 2014-10-10 Pedro Alves <palves@redhat.com>
15299 * gdb.base/bigcore.exp: Remove references to IRIX.
15300 * gdb.base/funcargs.exp: Likewise.
15301 * gdb.base/interrupt.exp: Likewise.
15302 * gdb.base/mips_pro.exp: Likewise.
15303 * gdb.base/nodebug.exp: Likewise.
15304 * gdb.base/setvar.exp: Likewise.
15305 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15307 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15308 Pedro Alves <palves@redhat.com>
15311 * gdb.base/vdso-warning.c: New file.
15312 * gdb.base/vdso-warning.exp: New file.
15314 2014-10-02 Doug Evans <dje@google.com>
15316 * gdb.base/structs.c (main): Don't run forever.
15318 2014-10-02 Pedro Alves <palves@redhat.com>
15320 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15321 (top level) <stop threads 1, stop threads 2>: Use it.
15323 2014-10-02 Pedro Alves <palves@redhat.com>
15325 * gdb.threads/break-while-running.exp (test): Add new
15326 'update_thread_list' argument. Skip "info threads" if false.
15327 (top level): Add new 'update_thread_list' axis.
15329 2014-10-02 Pedro Alves <palves@redhat.com>
15331 PR breakpoints/17431
15332 * gdb.base/execl-update-breakpoints.c: New file.
15333 * gdb.base/execl-update-breakpoints.exp: New file.
15335 2014-10-01 Pedro Alves <palves@redhat.com>
15337 * gdb.base/breakpoint-in-ro-region.c: New file.
15338 * gdb.base/breakpoint-in-ro-region.exp: New file.
15340 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15342 * gdb.mi/mi-exit-code.exp: New file.
15343 * gdb.mi/mi-exit-code.c: New file.
15345 2014-09-30 Yao Qi <yao@codesourcery.com>
15347 * lib/prelink-support.exp (build_executable_own_libs): Error if
15348 the target isn't native.
15350 2014-09-30 Yao Qi <yao@codesourcery.com>
15352 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15355 2014-09-22 Pedro Alves <palves@redhat.com>
15357 * gdb.threads/break-while-running.exp: New file.
15358 * gdb.threads/break-while-running.c: New file.
15360 2014-09-19 Yao Qi <yao@codesourcery.com>
15362 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15363 Invoke test. Restart GDB with --readnow and invoke test again.
15365 2014-09-19 Yao Qi <yao@codesourcery.com>
15367 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15368 proc set_breakpoint_on_gcd_function. Invoke
15369 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15370 invoke set_breakpoint_on_gcd_function again.
15372 2014-09-18 Doug Evans <dje@google.com>
15374 * gdb.dwarf2/symtab-producer.exp: New file.
15376 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15378 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15379 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15380 * gdb.base/global-var-nested-by-dso.c: Likewise.
15381 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15383 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15384 Pedro Alves <palves@redhat.com>
15386 * gdb.base/watch-bitfields.exp: Pass string other than test file
15387 name to prepare_for_testing.
15388 (watch): New procedure.
15389 (expect_watchpoint): Use with_test_prefix.
15390 (top level): Factor out tests to ...
15391 (test_watch_location, test_regular_watch): ... these new
15392 procedures, and use with_test_prefix and gdb_continue_to_end.
15394 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15396 PR breakpoints/12526
15397 * gdb.base/watch-bitfields.exp: New file.
15398 * gdb.base/watch-bitfields.c: New file.
15400 2014-09-16 Pedro Alves <palves@redhat.com>
15402 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15403 software and hardware addresses, not software address against
15406 2014-09-16 Pedro Alves <palves@redhat.com>
15408 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15409 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15411 2014-09-16 Pedro Alves <palves@redhat.com>
15413 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15415 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15416 "*-*-vxworks*" throughout.
15417 * gdb.base/break.exp: Likewise.
15418 * gdb.base/default.exp: Likewise.
15419 * gdb.base/scope.exp: Likewise.
15420 * gdb.base/sepdebug.exp: Likewise.
15421 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15423 * gdb.base/run.c: Likewise.
15424 * gdb.base/sepdebug.c: Likewise.
15425 * gdb.hp/gdb.aCC/run.c: Likewise.
15426 * gdb.reverse/until-reverse.c: Likewise.
15427 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15429 2014-09-16 Yao Qi <yao@codesourcery.com>
15431 * boards/local-remote-host-native.exp: New file.
15433 2014-09-14 Doug Evans <xdje42@gmail.com>
15435 * gdb.threads/queue-signal.c (thread_count): New variable.
15436 (thread_count_mutex, thread_count_condvar): New variables.
15437 (incr_thread_count, wait_all_threads_running): New functions.
15438 (main): Wait for all threads to be in their thread functions.
15440 2014-09-13 Doug Evans <xdje42@gmail.com>
15442 * gdb.threads/queue-signal.c: New file.
15443 * gdb.threads/queue-signal.exp: New file.
15445 2014-09-13 Doug Evans <xdje42@gmail.com>
15447 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15448 be consistent with what default_gdb_init uses.
15449 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15450 the plain text of the prompt. Add some logging printfs.
15451 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15453 2014-09-12 Pedro Alves <palves@redhat.com>
15455 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15456 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15457 * gdb.arch/i386-size-overlap.exp: Likewise.
15458 * gdb.arch/i386-size.exp: Likewise.
15459 * gdb.arch/i386-unwind.exp: Likewise.
15460 * gdb.base/a2-run.exp: Likewise.
15461 * gdb.base/break.exp: Likewise.
15462 * gdb.base/charset.exp: Likewise.
15463 * gdb.base/chng-syms.exp: Likewise.
15464 * gdb.base/commands.exp: Likewise.
15465 * gdb.base/dbx.exp: Likewise.
15466 * gdb.base/find.exp: Likewise.
15467 * gdb.base/funcargs.exp: Likewise.
15468 * gdb.base/jit-simple.exp: Likewise.
15469 * gdb.base/reread.exp: Likewise.
15470 * gdb.base/sepdebug.exp: Likewise.
15471 * gdb.base/step-bt.exp: Likewise.
15472 * gdb.cp/mb-inline.exp: Likewise.
15473 * gdb.cp/mb-templates.exp: Likewise.
15474 * gdb.objc/basicclass.exp: Likewise.
15475 * gdb.threads/killed.exp: Likewise.
15477 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15480 * gdb.arch/powerpc-stackless.S: New file.
15481 * gdb.arch/powerpc-stackless.exp: New file.
15483 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15485 * gdb.base/attach.c: Include unistd.h.
15486 (main): Call alarm. Add label postloop.
15487 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15488 gdb_breakpoint, gdb_continue_to_breakpoint.
15489 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15491 2014-09-11 Pedro Alves <palves@redhat.com>
15494 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15495 * gdb.base/attach.exp (test_command_line_attach_run): New
15497 (top level): Call it.
15499 2014-09-11 Pedro Alves <palves@redhat.com>
15501 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15502 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15503 (do_command_attach_tests): Use spawn_wait_for_attach.
15504 * gdb.base/solib-overlap.exp: Likewise.
15505 * gdb.multi/multi-attach.exp: Likewise.
15506 * gdb.python/py-prompt.exp: Likewise.
15507 * gdb.python/py-sync-interp.exp: Likewise.
15508 * gdb.server/ext-attach.exp: Likewise.
15510 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15512 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15513 command in testcase. Simplify testcase.
15515 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15517 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15519 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15521 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15523 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15525 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15527 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15529 * gdb.dwarf2/dynarr-ptr.c: New file.
15530 * gdb.dwarf2/dynarr-ptr.exp: New file.
15532 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15534 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15535 of 30 rather than hardcoding 120 for a slow test case. Take the
15536 `gdb,timeout' target setting into account for this calculation.
15537 Don't extend the timeout for the test cases that don't need it.
15539 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15541 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15542 a factor of 2 for a slow test case. Take the `gdb,timeout'
15543 target setting into account for this calculation.
15544 * gdb.reverse/until-precsave.exp: Increase the timeout by
15545 a factor of 15 and 3 respectively rather than adding 120
15546 for a pair of slow test cases. Take the `gdb,timeout'
15547 target setting into account for this calculation.
15549 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15551 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15552 timeout, don't pass one down to gdb_expect.
15553 (gdb_expect): Rework timeout selection.
15555 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15557 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15558 exception on timeout.
15559 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15560 (gdbserver_start_extended): Catch any `gdbserver_start' error
15562 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15563 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15564 `gdbserver_gdb_load' error exceptions.
15566 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15568 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15569 120 on waiting for the TCP socket to open.
15571 2014-09-09 Doug Evans <xdje42@gmail.com>
15573 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15574 _caller_matches, _any_caller_is, _any_caller_matches.
15576 2014-09-09 Doug Evans <xdje42@gmail.com>
15578 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15580 2014-09-09 Yao Qi <yao@codesourcery.com>
15582 * gdb.mi/mi-var-display.exp: Set print symbol off.
15584 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15587 * gdb.base/commands.exp: Add tests to verify user-defined
15588 commands with empty bodies.
15589 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15590 python commands in `show user command`.
15591 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15592 scheme commands in `show user command`.
15594 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15597 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15598 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15599 * gdb.python/py-framefilter-invalidarg.exp: New file.
15600 * gdb.python/py-framefilter-invalidarg.py: New file.
15602 2014-09-06 Doug Evans <xdje42@gmail.com>
15605 * gdb.python/py-caller-is.c: New file.
15606 * gdb.python/py-caller-is.exp: New file.
15608 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15611 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15612 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15614 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15617 * gdb.fortran/print-formatted.exp: New file.
15618 * gdb.fortran/print-formatted.f90: Likewise.
15620 2014-09-03 Sasha Smundak <asmundak@google.com>
15622 * gdb.python/py-frame.exp: Test Frame.read_register.
15624 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15627 * gdb.python/py-completion.exp: New file.
15628 * gdb.python/py-completion.py: Likewise.
15630 2014-08-28 Doug Evans <dje@google.com>
15632 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15633 eax,etc. are live with values set by gdb and thus the compiler can't
15635 * gdb.arch/i386-pseudo.c (main): Ditto.
15637 2014-08-27 Doug Evans <dje@google.com>
15639 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15641 2014-08-25 Doug Evans <dje@google.com>
15643 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15646 2014-08-25 Doug Evans <dje@google.com>
15648 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15650 2014-08-24 Yao Qi <yao@codesourcery.com>
15652 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15654 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15656 2014-08-22 Doug Evans <dje@google.com>
15659 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15660 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15661 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15663 2014-08-22 Yao Qi <yao@codesourcery.com>
15665 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15666 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15667 * gdb.python/python.exp: Likewise. Use .py file on the host
15668 instead of the build.
15670 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15672 * gdb.threads/gcore-stale-thread.c: New file.
15673 * gdb.threads/gcore-stale-thread.exp: New file.
15675 2014-08-21 Pedro Alves <palves@redhat.com>
15677 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15678 * gdb.base/gcore-relro-pie.exp: Likewise.
15679 * gdb.base/gcore-relro.exp: Likewise.
15680 * gdb.base/gcore.exp: Likewise.
15681 * gdb.base/print-symbol-loading.exp: Likewise.
15682 * gdb.threads/gcore-thread.exp: Likewise.
15683 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15685 2014-08-20 Pedro Alves <palves@redhat.com>
15686 Jan Kratochvil <jan.kratochvil@redhat.com>
15688 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15690 (EXPECT): Handle READ1 being set.
15691 (all): Depend on EXTRA_RULES.
15692 (check-read1, expect-read1, read1.so, read1): New rules.
15693 * README (Testsuite Parameters): Document the READ1 make variable.
15694 (Race detection): New section.
15695 * configure: Regenerate.
15696 * configure.ac: If build==host==target, and running under a
15697 GNU/glibc system, add read1 to the extra Makefile rules.
15698 (EXTRA_RULES): AC_SUBST it.
15699 * lib/read1.c: New file.
15701 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15703 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15704 the handling of variables declared as a typedef to an array
15705 which a DW_AT_data_location attribute.
15707 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15708 Pedro Alves <palves@redhat.com>
15712 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15715 2014-08-19 Pedro Alves <palves@redhat.com>
15717 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15719 2014-08-19 Yao Qi <yao@codesourcery.com>
15721 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15724 2014-08-18 David Blaikie <dblaikie@gmail.com>
15726 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15728 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15730 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15731 attribute in array range.
15733 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15735 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15737 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15740 * gdb.cp/pr17132.cc: New file.
15741 * gdb.cp/pr17132.exp: New file.
15743 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15745 * gdb.python/py-xmethods.py (A_getarrayind)
15746 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15747 Use 'print' with function call syntax.
15748 (E_method_matcher.match): Fix tab vs space indentation mixup.
15750 2014-08-15 Yao Qi <yao@codesourcery.com>
15752 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15755 2014-08-15 Yao Qi <yao@codesourcery.com>
15757 * gdb.cp/casts.exp: Set print symbol off.
15758 * gdb.cp/class2.exp: Likewise.
15759 * gdb.cp/overload.exp: Likewise.
15760 * gdb.cp/templates.exp: Likewise.
15762 2014-08-11 Doug Evans <dje@google.com>
15764 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15765 (test_load_shlib): Update.
15767 2014-08-09 Yao Qi <yao@codesourcery.com>
15769 * gdb.base/display.exp: Invoke is_address_zero_readable.
15770 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15771 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15772 * gdb.base/hbreak-unmapped.exp: Return if
15773 is_address_zero_readable returns true.
15774 * gdb.base/signest.exp: Likewise.
15775 * gdb.base/signull.exp: Likewise.
15776 * gdb.base/sigbpt.exp: Likewise.
15777 * gdb.guile/scm-disasm.exp: Do the test if
15778 is_address_zero_readable returns false.
15779 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15780 * gdb.python/py-arch.exp: Likewise.
15781 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15782 * lib/gdb.exp (is_address_zero_readable): New proc.
15784 2014-08-09 Yao Qi <yao@codesourcery.com>
15787 * gdb.mi/mi-var-display.exp: Make test messages unique.
15789 2014-08-04 Tom Tromey <tromey@redhat.com>
15791 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15794 2014-08-04 Tom Tromey <tromey@redhat.com>
15796 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15799 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15801 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15802 inner_vla_struct_object_size.
15803 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15806 2014-07-30 Pedro Alves <palves@redhat.com>
15808 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15811 2014-07-29 Yao Qi <yao@codesourcery.com>
15814 * gdb.base/until-nodebug.exp: New.
15816 2014-07-28 Doug Evans <xdje42@gmail.com>
15819 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15820 previously existing parameter, and previously ambiguously spelled
15823 2014-07-28 Will Newton <will.newton@linaro.org>
15825 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15827 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15828 Doug Evans <xdje42@gmail.com>
15831 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15833 2014-07-25 Pedro Alves <palves@redhat.com>
15835 * gdb.threads/signal-command-handle-nopass.c: New file.
15836 * gdb.threads/signal-command-handle-nopass.exp: New file.
15837 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15838 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15839 * gdb.threads/signal-delivered-right-thread.c: New file.
15840 * gdb.threads/signal-delivered-right-thread.exp: New file.
15842 2014-07-25 Pedro Alves <palves@redhat.com>
15844 * gdb.base/double-prompt-target-event-error.exp
15845 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15847 (cancel_pagination_in_target_event): Rework double prompt
15849 * gdb.base/paginate-after-ctrl-c-running.exp
15850 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15852 * gdb.base/paginate-bg-execution.exp
15853 (test_bg_execution_pagination_return)
15854 (test_bg_execution_pagination_cancel): Remove '-notransfer
15856 * gdb.base/paginate-execution-startup.exp
15857 (test_fg_execution_pagination_return)
15858 (test_fg_execution_pagination_cancel): Remove '-notransfer
15860 * gdb.base/paginate-inferior-exit.exp
15861 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15863 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15864 * lib/gdb.exp (pagination_prompt): Run text through
15866 (gdb_test_multiple): Match $pagination_prompt instead of
15868 (string_to_regexp): Move to lib/gdb-utils.exp.
15870 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15872 * gdb.arch/amd64-entry-value-paramref.S: New file.
15873 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15874 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15875 * gdb.arch/amd64-optimout-repeat.S: New file.
15876 * gdb.arch/amd64-optimout-repeat.c: New file.
15877 * gdb.arch/amd64-optimout-repeat.exp: New file.
15879 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15882 * gdb.base/statistics.exp: New file.
15884 2014-07-17 Doug Evans <dje@google.com>
15887 * gdb.base/maint.exp: Update testing of per-command stats.
15889 2014-07-16 Pedro Alves <palves@redhat.com>
15891 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15892 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15893 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15894 (tfile_write_buf): New functions.
15895 (add_memory_block): Rewrite using the above.
15896 (adjust_function_address): New function.
15897 (FUNCTION_ADDRESS): New macro.
15898 (write_basic_trace_file): Remove short_x local, and use
15899 tfile_write_16. Change type of func_addr local to unsigned long
15900 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15901 here. Cast argument of add_memory_block to char pointer.
15902 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15903 (main): Remove parameters.
15904 * gdb.trace/tfile.exp: Remove nowarnings.
15906 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15908 * gdb.base/debug-expr.exp: Test string evaluation with
15909 "debug expression" on.
15911 2014-07-15 Pedro Alves <palves@redhat.com>
15913 * gdb.base/reread.exp: Use clean_restart.
15915 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15917 * gdb.arch/avr-flash-qualifer.c: New.
15918 * gdb.arch/avr-flash-qualifer.exp: New.
15920 2014-07-14 Pedro Alves <palves@redhat.com>
15922 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15923 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15925 2014-07-14 Pedro Alves <palves@redhat.com>
15927 * gdb.base/double-prompt-target-event-error.c: New file.
15928 * gdb.base/double-prompt-target-event-error.exp: New file.
15930 2014-07-14 Pedro Alves <palves@redhat.com>
15933 * gdb.base/paginate-inferior-exit.c: New file.
15934 * gdb.base/paginate-inferior-exit.exp: New file.
15936 2014-07-14 Pedro Alves <palves@redhat.com>
15939 * gdb.base/paginate-bg-execution.c: New file.
15940 * gdb.base/paginate-bg-execution.exp: New file.
15942 2014-07-14 Pedro Alves <palves@redhat.com>
15945 * gdb.base/paginate-execution-startup.c: New file.
15946 * gdb.base/paginate-execution-startup.exp: New file.
15947 * lib/gdb.exp (pagination_prompt): New global.
15948 (default_gdb_spawn): New procedure, factored out from
15950 (default_gdb_start): Adjust to call default_gdb_spawn.
15951 (gdb_spawn): New procedure.
15953 2014-07-14 Pedro Alves <palves@redhat.com>
15955 * lib/gdb.exp (gdb_assert): New procedure.
15956 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15958 2014-07-14 Pedro Alves <palves@redhat.com>
15960 * gdb.base/execution-termios.c: New file.
15961 * gdb.base/execution-termios.exp: New file.
15963 2014-07-14 Tom Tromey <tromey@redhat.com>
15965 * gdb.cp/vla-cxx.cc: New file.
15966 * gdb.cp/vla-cxx.exp: New file.
15968 2014-07-14 Tom Tromey <tromey@redhat.com>
15970 * gdb.reverse/rerun-prec.c: New file.
15971 * gdb.reverse/rerun-prec.exp: New file.
15973 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15974 Maciej W. Rozycki <macro@codesourcery.com>
15976 * lib/gdb-utils.exp: New file.
15977 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15978 inline `gdb_init_command' processing.
15979 (gdb_start_cmd): Likewise.
15980 * lib/mi-support.exp (mi_run_cmd): Likewise.
15981 * README: Document `gdb_init_command' and `gdb_init_commands'.
15983 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15985 Fix false FAIL running under a very long directory name.
15986 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15987 and "set print elements 10000". Twice.
15989 2014-07-11 Yao Qi <yao@codesourcery.com>
15991 * gdb.base/exprs.exp: "set print symbol off".
15993 2014-07-11 Pedro Alves <palves@redhat.com>
15995 * gdb.threads/kill.c: New file.
15996 * gdb.threads/kill.exp: New file.
15998 2014-07-10 Yao Qi <yao@codesourcery.com>
16000 * gdb.trace/tfile.c (write_basic_trace_file)
16001 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16002 address written to trace file.
16004 2014-07-09 Pedro Alves <palves@redhat.com>
16006 * gdb.base/attach-wait-input.exp: New file.
16007 * gdb.base/attach-wait-input.c: New file.
16009 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16011 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16012 setting up test structures.
16013 (main): Call new test function.
16014 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16015 test function, continue into test function and walk test
16018 2014-07-02 Yao Qi <yao@codesourcery.com>
16020 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16021 'bar_start' at the beginning of functions 'foo' and 'bar'
16023 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16024 instead of 'foo' and 'bar'.
16026 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16028 * gdb.btrace/segv.exp: New.
16029 * gdb.btrace/segv.c: New.
16031 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16033 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16036 2014-06-30 Mark Wielaard <mjw@redhat.com>
16038 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16039 vulture, vilify, villar): New volatile array constants.
16040 (vindictive, vegetation): New const volatile array constants.
16041 * gdb.base/volatile.exp: Test volatile and const volatile array
16044 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16046 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16047 target lacks support for awatch, rwatch, or hbreak.
16049 2014-06-27 Yao Qi <yao@codesourcery.com>
16051 * gdb.multi/dummy-frame-restore.exp: New.
16052 * gdb.multi/dummy-frame-restore.c: New.
16054 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16056 * gdb.btrace/gcore.exp: New.
16058 2014-06-23 Pedro Alves <palves@redhat.com>
16060 * gdb.base/watchpoint-reuse-slot.c: New file.
16061 * gdb.base/watchpoint-reuse-slot.exp: New file.
16063 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16065 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16066 progspace's filename in 'info', 'enable' and 'disable' command
16069 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16071 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16072 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16073 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16075 2014-06-20 Gary Benson <gbenson@redhat.com>
16077 * gdb.arch/i386-avx.exp: Fix include file location.
16078 * gdb.arch/i386-sse.exp: Likewise.
16080 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16082 * gdb.dlang/expression.exp: New file.
16084 2014-06-19 Pedro Alves <palves@redhat.com>
16086 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16088 (top level): ... here. Iterate running tests under different
16089 scheduler-locking settings.
16091 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16093 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16094 to DW_FORM_addr and use non-zero addresses.
16096 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16099 * gdb.python/py-xmethods.cc: Add global function call counters and
16100 increment them in their respective functions. Remove "cout"
16102 * gdb.python/py-xmethods.exp: Make tests check the global function
16103 call counters instead of depending on inferior IO.
16105 2014-06-18 Don Breazeal <donb@codesourcery.com>
16107 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16109 (explicit_fork_parent_follow): Deleted procedure.
16110 (explicit_fork_child_follow): Deleted procedure.
16111 (test_follow_fork): New procedure.
16112 (do_fork_tests): Replace calls to deleted procedures with
16113 calls to test_follow_fork and reset GDB for subsequent
16116 2014-06-17 Yao Qi <yao@codesourcery.com>
16118 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16121 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16123 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16124 Initialize ptr and S explicitly.
16125 (skip_type_update_when_not_use_rtti_test): Likewise.
16127 2014-06-16 Keith Seitz <keiths@redhat.com>
16130 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16131 the inferior is started.
16133 2014-06-16 Pedro Alves <palves@redhat.com>
16135 * gdb.base/break-main-file-remove-fail.c: New file.
16136 * gdb.base/break-main-file-remove-fail.exp: New file.
16137 * gdb.base/break-unload-file.exp: Use build_executable instead of
16138 prepare_for_testing.
16139 (test_break): New parameter "initial_load". Handle it.
16140 (top level): Add initial_load cmdline/file axis.
16142 2014-06-12 Tom Tromey <tromey@redhat.com>
16144 * gdb.base/completion.exp: Don't use directory name in test.
16146 2014-06-09 Gary Benson <gbenson@redhat.com>
16148 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16149 separate the always-available ANSI-standard signals from the
16150 signals that require checking.
16152 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16156 2014-06-07 Keith Seitz <keiths@redhat.com>
16160 * gdb.cp/var-tag.cc: New file.
16161 * gdb.cp/var-tag.exp: New file.
16162 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16163 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16164 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16165 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16167 2014-06-06 Doug Evans <xdje42@gmail.com>
16169 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16171 2014-06-06 Pedro Alves <palves@redhat.com>
16173 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16174 in target debug output instead of looking at RSP packets,
16175 disabling the test on any target that uses hardware stepping.
16178 2014-06-06 Pedro Alves <palves@redhat.com>
16180 * gdb.base/break-unload-file.exp: Fix typo.
16182 2014-06-06 Yao Qi <yao@codesourcery.com>
16184 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16185 from "jit_function" to "^jit_function".
16187 2014-06-06 Yao Qi <yao@codesourcery.com>
16189 * gdb.base/async.c (foo): Add one statement.
16190 * gdb.base/async.exp: Get the next instruction address and
16191 match the output of "nexti" by instruction address. Match
16192 the hex address in the output of "finish".
16194 2014-06-06 Gary Benson <gbenson@redhat.com>
16196 * gdb.base/call-signals.c: Remove preprocessor conditionals
16197 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16198 SIGSEGV and SIGTERM.
16199 * gdb.base/sigall.c: Likewise.
16200 * gdb.base/unwindonsignal.c: Likewise.
16201 * gdb.reverse/sigall-reverse.c: Likewise.
16203 2014-06-06 Yao Qi <yao@codesourcery.com>
16205 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16206 readable, skip the test.
16208 2014-06-06 Yao Qi <yao@codesourcery.com>
16210 * gdb.threads/staticthreads.c (thread_function): Move the line
16211 setting breakpoint on forward.
16212 * gdb.threads/staticthreads.exp: Update comments.
16214 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16216 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16217 "history-append! type error".
16219 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16221 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16222 erroneous dprintf expected input.
16224 2014-06-04 Doug Evans <xdje42@gmail.com>
16226 * gdb.guile/scm-generics.exp: Delete.
16228 2014-06-04 Doug Evans <xdje42@gmail.com>
16230 * gdb.guile/scm-breakpoint.exp: Update.
16231 Add tests for breakpoint registration.
16233 2014-06-04 Tom Tromey <tromey@redhat.com>
16235 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16237 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16238 inner_vla_struct, vla_union types. Initialize objects of those
16239 types and compute their sizes.
16241 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16242 Hui Zhu <hui@codesourcery.com>
16244 * gdb.base/fileio.exp: Add test for shell not available as well as
16246 * gdb.base/fileio.c (test_system): Check for shell twice.
16248 2014-06-04 Yao Qi <yao@codesourcery.com>
16250 * gdb.base/auto-connect-native-target.exp: Remove redundant
16251 space from the regexp pattern.
16253 2014-06-04 Yao Qi <yao@codesourcery.com>
16255 * gdb.base/default.exp: Replace "child" with "native" in
16258 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16260 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16261 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16262 * gdb.python/py-xmethods.py: Python script supporting the
16263 new testcase and tests.
16265 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16266 Pedro Alves <palves@redhat.com>
16268 PR breakpoints/17000
16269 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16270 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16272 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16274 * gdb.base/subst.exp: Add tests to verify partial path matching
16277 2014-06-03 Pedro Alves <palves@redhat.com>
16279 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16280 target that doesn't use software single-stepping.
16282 2014-06-03 Pedro Alves <palves@redhat.com>
16284 PR breakpoints/17000
16285 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16286 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16288 2014-06-02 Doug Evans <xdje42@gmail.com>
16290 * gdb.guile/scm-parameter.exp: New file.
16292 2014-06-02 Doug Evans <xdje42@gmail.com>
16294 * gdb.guile/scm-cmd.c: New file.
16295 * gdb.guile/scm-cmd.exp: New file.
16297 2014-06-02 Doug Evans <xdje42@gmail.com>
16299 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16300 pretty-printer lookup.
16301 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16302 (make-pp_s-printer): Call it.
16303 (make-pretty-printer-from-dict): New function.
16304 (lookup-pretty-printer-maker-from-dict): New function.
16305 (*pretty-printer*): Simplify.
16306 (make-objfile-pp_s-printer): New function.
16307 (install-objfile-pretty-printers!): New function.
16308 (make-progspace-pp_s-printer): New function.
16309 (install-progspace-pretty-printers!): New function.
16310 * gdb.guile/scm-progspace.c: New file.
16311 * gdb.guile/scm-progspace.exp: New file.
16313 2014-06-02 Pedro Alves <palves@redhat.com>
16315 * gdb.base/dprintf-bp-same-addr.c: New file.
16316 * gdb.base/dprintf-bp-same-addr.exp: New file.
16318 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16320 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16321 * gdb.arch/powerpc-power.s: Likewise.
16323 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16325 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16327 2014-06-01 Yao Qi <yao@codesourcery.com>
16329 * gdb.base/watchpoint.exp (test_watch_location): Check null
16330 pointer can be dereferenced. If not, do the test, otherwise
16333 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16335 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16337 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16339 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16341 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16342 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16343 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16344 * gdb.arch/amd64-invalid-stack-top.c: New file.
16345 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16347 2014-05-30 Pedro Alves <palves@redhat.com>
16349 PR breakpoints/17000
16350 * gdb.base/sss-bp-on-user-bp.c: New file.
16351 * gdb.base/sss-bp-on-user-bp.exp: New file.
16353 2014-05-30 David Blaikie <dblaikie@gmail.com>
16355 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16356 gnu_inline semantics via attribute.
16357 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16358 source explicitly specifies the required semantics.
16360 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16362 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16364 2014-05-29 Pedro Alves <palves@redhat.com>
16365 Tom Tromey <tromey@redhat.com>
16367 * gdb.base/async-shell.exp: Don't enable target-async.
16368 * gdb.base/async.exp
16369 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16371 (top level): Don't test with "target-async".
16372 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16373 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16374 * gdb.base/inferior-died.exp: Don't enable target-async.
16375 * gdb.base/interrupt-noterm.exp: Likewise.
16376 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16377 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16378 * gdb.mi/mi-nonstop.exp: Likewise.
16379 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16380 * gdb.mi/mi-nsintrall.exp: Likewise.
16381 * gdb.mi/mi-nsmoribund.exp: Likewise.
16382 * gdb.mi/mi-nsthrexec.exp: Likewise.
16383 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16384 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16385 * gdb.python/py-evsignal.exp: Don't enable target-async.
16386 * gdb.python/py-evthreads.exp: Likewise.
16387 * gdb.python/py-prompt.exp: Likewise.
16388 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16389 * gdb.server/solib-list.exp: Don't enable target-async.
16390 * gdb.threads/thread-specific-bp.exp: Likewise.
16391 * lib/mi-support.exp: Adjust to use mi-async.
16393 2014-05-29 Pedro Alves <palves@redhat.com>
16396 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16397 reason, even in sync mode.
16399 2014-05-29 Pedro Alves <palves@redhat.com>
16400 Hui Zhu <hui@codesourcery.com>
16403 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16404 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16405 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16406 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16408 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16410 * config/monitor.exp (gdb_target_monitor): Replace use of
16411 "set remotebaud" by "set serial baud".
16413 2014-05-26 Andy Wingo <wingo@igalia.com>
16415 * gdb.guile/scm-breakpoint.exp:
16416 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16417 properties instead of gdb-object-properties.
16419 2014-05-26 Yao Qi <yao@codesourcery.com>
16421 * gdb.server/no-thread-db.exp: Specify source file name
16422 explicitly when setting a breakpoint.
16424 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16426 * gdb.btrace/vdso.c: New.
16427 * gdb.btrace/vdso.exp: New.
16429 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16431 * gdb.base/gcore.exp (capture_command_output): Move ...
16432 * lib/gdb.exp (capture_command_output): ... here.
16434 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16436 * gdb.btrace/data.exp: Test memory access during btrace replay.
16438 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16440 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16442 2014-05-21 Pedro Alves <palves@redhat.com>
16445 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16446 (top level): Test that output related to execution commands is
16447 sent to the console with CLI commands, but not with MI commands.
16448 Test that breakpoint events are always mirrored to the console.
16449 Also expect the new source line to be output after a "next" in
16450 async mode too. Make it a pass/fail test.
16451 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16453 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16455 2014-05-21 Pedro Alves <palves@redhat.com>
16457 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16458 Use them to test variations of "list" after reaching a breakpoint.
16459 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16460 Test "list" with listsize 10 after reaching a breakpoint.
16461 * gdb.python/python.exp (decode_line current location line
16462 number): Adjust expected line number.
16464 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16466 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16467 behavior for $args, pass it directly to "run".
16469 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16471 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16474 2014-05-21 Pedro Alves <palves@redhat.com>
16476 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16477 auto-connect-native-target off".
16478 * gdb.base/auto-connect-native-target.c: New file.
16479 * gdb.base/auto-connect-native-target.exp: New file.
16481 2014-05-21 Pedro Alves <palves@redhat.com>
16483 * gdb.base/default.exp: Test "target native" instead of "target
16486 2014-05-21 Mark Wielaard <mjw@redhat.com>
16488 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16490 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16492 Fix TLS access for -static -pthread.
16493 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16494 <HAVE_TLS> (thread_function, main): Initialize it.
16495 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16497 <$have_tls != "">: Check TLSVAR.
16499 2014-05-21 Pedro Alves <palves@redhat.com>
16501 * gdb.base/dcache-line-read-error.c: New.
16502 * gdb.base/dcache-line-read-error.exp: New.
16504 2014-05-20 Pedro Alves <palves@redhat.com>
16506 * gdb.base/compare-sections.c: New file.
16507 * gdb.base/compare-sections.exp: New file.
16509 2014-05-20 Pedro Alves <palves@redhat.com>
16511 * gdb.base/break-idempotent.c: New file.
16512 * gdb.base/break-idempotent.exp: New file.
16514 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16516 * gdb.btrace/nohist.exp: New.
16518 2014-05-20 Yao Qi <yao@codesourcery.com>
16520 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16521 gdb.reverse directory and gdb_reverse_timeout exists in board
16523 * README: Document gdb_reverse_timeout.
16525 2014-05-20 Yao Qi <yao@codesourcery.com>
16527 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16528 'test_file_name'. Treat args as a string instead of a list.
16529 (gdb_init): Rename argument 'args' by 'test_file_name'.
16531 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16533 * gdb.arch/powerpc-power.exp: New file.
16534 * gdb.arch/powerpc-power.s: New file.
16536 2014-05-16 Doug Evans <dje@google.com>
16538 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16539 * gdb.base/completion.exp: Check that all expected files exist
16540 before doing file completion.
16542 2014-05-16 Doug Evans <dje@google.com>
16544 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16546 (do_syscall_tests_without_xml): Update.
16548 2014-05-16 Pedro Alves <palves@redhat.com>
16550 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16551 instead of "unknown output after running".
16553 2014-05-16 Yao Qi <yao@codesourcery.com>
16555 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16556 file1.txt from host at the end.
16557 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16559 2014-05-15 Doug Evans <dje@google.com>
16561 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16562 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16563 loading file. Add test for TU lookup.
16565 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16567 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16568 calling "-exec-arguments" or "set args" before running the
16571 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16573 * lib/mi-support.exp (mi_expect_stop): Expect message for
16574 inferiors that exit with non-zero exit code.
16576 2014-05-14 Yao Qi <yao@codesourcery.com>
16578 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16579 match absolute path on remote host.
16580 (test_file_list_exec_source_files): Remove "/" from the
16583 2014-05-14 Yao Qi <yao@codesourcery.com>
16585 * boards/local-remote-host-notty.exp (${board}_file): New
16588 2014-05-07 Kyle McMartin <kyle@redhat.com>
16590 Pushed by Joel Brobecker <brobecker@adacore.com>.
16591 * gdb.arch/aarch64-atomic-inst.c: New file.
16592 * gdb.arch/aarch64-atomic-inst.exp: New file.
16594 2014-05-07 Yao Qi <yao@codesourcery.com>
16596 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16597 in current context" too.
16599 2014-05-05 Keith Seitz <keiths@redhat.com>
16601 * gdb.linespec/ls-dollar.exp: Add test for linespec
16602 file:convenience_variable.
16604 2014-05-05 Yao Qi <yao@codesourcery.com>
16606 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16607 traceframes into tfile and ctf trace files. Read data from
16608 trace file and test collected data.
16609 (gdb_collect_locals_test): Likewise.
16610 (gdb_unavailable_registers_test): Likewise.
16611 (gdb_unavailable_floats): Likewise.
16612 (gdb_collect_globals_test): Likewise.
16613 (top-level): Append "ctf" to trace_file_targets if GDB
16616 2014-05-05 Yao Qi <yao@codesourcery.com>
16618 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16620 (gdb_collect_args_test_1): ... it. New proc.
16621 (gdb_collect_locals_test): Move some code to ...
16622 (gdb_collect_locals_test_1): ... it. New proc.
16623 (gdb_unavailable_registers_test): Move some code to ...
16624 (gdb_unavailable_registers_test_1): ... it. New proc.
16625 (gdb_unavailable_floats): Move some code to ...
16626 (gdb_unavailable_floats_1): ... it. New proc.
16628 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16630 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16631 probes to test for bitness recognition.
16632 * gdb.arch/amd64-stap-optional-prefix.exp
16633 (test_probe_value_without_reg): New procedure.
16634 Add code to test for different kinds of bitness.
16636 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16638 PR breakpoints/16889
16639 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16640 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16642 2014-05-01 Pedro Alves <palves@redhat.com>
16644 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16645 gdb_file_cmd if no file is specified.
16646 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16647 last_loaded_file to set the remote exec-file.
16649 2014-05-01 Pedro Alves <palves@redhat.com>
16651 * boards/local-remote-host.exp: New file.
16653 2014-05-01 Pedro Alves <palves@redhat.com>
16655 * boards/local-remote-host.exp: Rename to ...
16656 * boards/local-remote-host-notty.exp: ... this.
16658 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16660 * gdb.ada/dyn_arrayidx: New testcase.
16662 2014-04-26 Yao Qi <yao@codesourcery.com>
16664 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16665 and compute the length of function main. Save it in
16667 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16668 (top-level): Use gdb_compile to compile objects into
16669 executable and restart GDB. Remove invocation to
16670 prepare_for_testing.
16672 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16673 Pedro Alves <palves@redhat.com>
16676 * gdb.multi/multi-attach.c: New file.
16677 * gdb.multi/multi-attach.exp: New file.
16679 2014-04-25 Pedro Alves <palves@redhat.com>
16681 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16683 (top level): Test that "set remote conditional-breakpoints-packet
16684 off" works as intended.
16685 * gdb.base/dprintf.exp: Test that "set remote
16686 breakpoint-commands-packet off" works as intended.
16687 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16689 (top level): Call it.
16690 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16691 remote fast-tracepoints-packet off" works as intended.
16692 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16693 * lib/gdb.exp (gdb_is_target_remote): ... here.
16695 2014-04-24 David Blaikie <dblaikie@gmail.com>
16697 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16698 ensure clang would not discard them.
16699 * gdb.base/gdbvars.c: Ditto.
16700 * gdb.base/memattr.c: Ditto.
16701 * gdb.base/whatis.c: Ditto.
16702 * gdb.python/py-prettyprint.c: Ditto.
16703 * gdb.trace/actions.c: Ditto.
16704 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16705 ensure clang would not discard it.
16707 2014-04-24 David Blaikie <dblaikie@gmail.com>
16709 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16710 clang to emit the full definition of type required by the test
16711 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16713 2014-04-24 David Blaikie <dblaikie@gmail.com>
16715 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16716 coax Clang into emitting the definition of the type.
16717 * gdb.cp/pr10728-x.h (y): Ditto.
16718 * gdb.cp/pr10728-y.cc (y): Ditto.
16720 2014-04-24 David Blaikie <dblaikie@gmail.com>
16722 * gdb.base/label.exp: XFAIL label related tests under Clang.
16723 * gdb.cp/cplabel.exp: Ditto.
16724 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16725 under Clang those using labels.
16727 2014-04-25 Yao Qi <yao@codesourcery.com>
16729 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16731 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16732 partial_label and double_label.
16734 2014-04-24 David Blaikie <dblaikie@gmail.com>
16736 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16738 2014-04-24 David Blaikie <dblaikie@gmail.com>
16740 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16741 of the function to work across GCC and Clang.
16742 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16743 pointer types (const void ** const V void **).
16745 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16746 Walfred Tedeschi <walfred.tedeschi@intel.com>
16748 * Makefile.in (EXECUTABLES): Added i386-avx512.
16749 * gdb.arch/i386-avx512.c: New file.
16750 * gdb.arch/i386-avx512.exp: Likewise.
16752 2014-04-23 Keith Seitz <keiths@redhat.com>
16754 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16755 (mi_make_breakpoint_table): New procedure.
16756 (mi_create_breakpoint): Use mi_make_breakpoint
16757 and return the result.
16758 (mi_make_breakpoint): New procedure.
16759 (mi_build_kv_pairs): New procedure.
16761 * gdb.mi/mi-break.exp: Remove unused globals,
16762 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16763 All callers updated.
16764 * gdb.mi/mi-dprintf.exp: Use variable to track command
16766 Update all callers of mi_create_breakpoint and use
16767 mi_make_breakpoint_table.
16768 Remove any unused global variables.
16769 * gdb.mi/mi-nonstop.exp: Likewise.
16770 * gdb.mi/mi-nsintrall.exp: Likewise.
16771 * gdb.mi/mi-nsmoribund.exp: Likewise.
16772 * gdb.mi/mi-nsthrexec.exp: Likewise.
16773 * gdb.mi/mi-reverse.exp: Likewise.
16774 * gdb.mi/mi-simplerun.exp: Likewise.
16775 * gdb.mi/mi-stepn.exp: Likewise.
16776 * gdb.mi/mi-syn-frame.exp: Likewise.
16777 * gdb.mi/mi-until.exp: Likewise.
16778 * gdb.mi/mi-var-cp.exp: Likewise.
16779 * gdb.mi/mi-var-display.exp: Likewise.
16780 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16781 * gdb.mi/mi2-var-child.exp: Likewise.
16782 * gdb.mi/mi-vla-c99.exp: Likewise.
16783 * lib/mi-support.exp: Likewise.
16785 From Ian Lance Taylor <iant@cygnus.com>:
16786 * lib/gdb.exp (parse_args): New procedure.
16788 2014-04-23 Pedro Alves <palves@redhat.com>
16790 * gdb.base/break-unload-file.c: New file.
16791 * gdb.base/break-unload-file.exp: New file.
16792 * gdb.base/sym-file-lib.c (baz): New function.
16793 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16795 (load): Store the segment's mapped size.
16796 (unload): New function.
16797 (unload_shlib): New function.
16798 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16799 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16800 set a breakpoint at baz, and call it.
16801 * gdb.base/sym-file.exp: New tests for stale breakpoint
16804 2014-04-23 Pedro Alves <palves@redhat.com>
16806 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16807 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16808 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16809 * gdb.base/hbreak-unmapped.c: New file.
16810 * gdb.base/hbreak-unmapped.exp: New file.
16811 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16812 * lib/gdb.exp (gdb_is_target_remote): ... here.
16814 2014-04-22 Pedro Alves <palves@redhat.com>
16816 * gdb.base/consecutive-step-over.c: New file.
16817 * gdb.base/consecutive-step-over.exp: New file.
16819 2014-04-22 Pedro Alves <palves@redhat.com>
16821 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16822 instead of send_gdb/gdb_expect.
16824 2014-04-22 Yao Qi <yao@codesourcery.com>
16826 * lib/trace-support.exp (generate_tracefile): New procedure.
16827 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16829 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16830 if generate_tracefile returns 1.
16832 2014-04-18 Tom Tromey <palves@redhat.com>
16833 Pedro alves <tromey@redhat.com>
16836 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16837 with a backtrace limit.
16838 * gdb.python/py-frame-inline.exp: Test running to an inline
16839 function with a backtrace limit, and printing the newest frame.
16840 * gdb.python/py-frame-inline.c (main): Call f.
16842 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16844 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16846 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16848 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16849 Drop prefix from unsupported source file path.
16851 2014-04-17 Yao Qi <yao@codesourcery.com>
16853 * lib/gdb.exp (with_target_charset): New proc.
16854 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16855 with_target_charset.
16856 (test_print_strings): Likewise.
16857 (test_repeat_bytes): Likewise.
16858 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16861 2014-04-16 Keith Seitz <keiths@redhat.com>
16864 * gdb.dwarf2/corrupt.c: New file.
16865 * gdb.dwarf2/corrupt.exp: New file.
16867 2014-04-16 Keith Seitz <keiths@redhat.com>
16870 * gdb.cp/namelessclass.cc: New file.
16871 * gdb.cp/namelessclass.exp: New file.
16872 * gdb.cp/namelessclass.S: New file.
16874 2014-04-16 Doug Evans <dje@google.com>
16876 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16878 (gdbserver_default_get_comm_port): New function.
16879 (gdbserver_start): Check if board file provided
16880 "gdbserver,get_comm_port" and use it if so.
16881 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16882 (gdb,socketport): Set to "stdio".
16883 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16884 (stdio_gdbserver_template): Delete.
16885 (${board}_get_remote_address): Update.
16886 (${board}_build_remote_cmd): Delete.
16887 (${board}_get_comm_port): New function.
16888 (${board}_spawn): Update.
16889 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16891 (${board}_get_remote_address): Update.
16892 (${board}_get_comm_port): New function.
16894 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16896 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16897 appearing in any order.
16899 2014-04-15 Doug Evans <dje@google.com>
16901 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16902 uninitialized value of "description".
16904 2014-04-15 Keith Seitz <keiths@redhat.com>
16906 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16907 Remove unused globals.
16908 (test_running_the_program): Likewise.
16909 (test_controlled_execution): Likewise.
16910 (test_controlling_breakpoints): Likewise.
16911 (test_program_termination): Likewise.
16913 2014-04-15 Keith Seitz <keiths@redhat.com>
16915 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16917 (test_rbreak_creation_and_listing): Likewise.
16918 (test_ignore_count): Likewise.
16919 (test_error): Likewise.
16921 2014-04-15 Pedro Alves <palves@redhat.com>
16923 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16924 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16926 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16927 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16928 to sym-file-loader.c.
16929 (struct library): Forward declare.
16930 (load_shlib, lookup_function): Change prototypes.
16931 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16932 (translate_offset): Remove declarations.
16933 (get_text_addr): New declaration.
16934 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16935 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16937 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16938 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16939 here from sym-file-loader.h.
16940 (struct library): New structure.
16941 (load_shlib, lookup_function): Change prototypes and adjust to
16942 work with a struct library.
16943 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16944 (translate_offset): Make static.
16945 (get_text_addr): New function.
16946 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16948 2014-04-15 Pedro Alves <palves@redhat.com>
16950 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16952 2014-04-15 Pedro Alves <palves@redhat.com>
16954 * gdb.base/sym-file-loader.c: Include <limits.h>.
16955 (SELF_LINK): New define.
16956 (get_origin): New function.
16957 (load_shlib): Use it.
16958 * gdb.base/sym-file.exp: Don't early return if the target is
16959 remote. Use runto_main, and issue fail is that fails. Use
16961 (shlib_name): Delete.
16962 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16964 2014-04-15 Pedro Alves <palves@redhat.com>
16966 * gdb.base/sym-file.exp: Remove regex characters from test
16967 message. Don't refer to breakpoint numbers in test messages.
16969 2014-04-14 Keith Seitz <keiths@redhat.com>
16972 * gdb.cp/var-tag.cc: New file.
16973 * gdb.cp/var-tag.exp: New file.
16974 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16975 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16976 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16977 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16979 2014-04-14 Tom Tromey <tromey@redhat.com>
16981 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16982 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16984 * gdb.cp/enum-class.exp: New file.
16985 * gdb.cp/enum-class.cc: New file.
16987 2014-04-14 Tom Tromey <tromey@redhat.com>
16989 * gdb.dwarf2/enum-type.exp: New file.
16991 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16993 * gdb.mi/mi-vla-c99.exp: New file.
16994 * gdb.mi/vla.c: New file.
16996 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16998 * gdb.base/vla-datatypes.c: New file.
16999 * gdb.base/vla-datatypes.exp: New file.
17001 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17003 * gdb.base/vla-ptr.c: New file.
17004 * gdb.base/vla-ptr.exp: New file.
17006 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17008 * gdb.dwarf2/count.exp: New file.
17010 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17012 * gdb.base/vla-sideeffect.c: New file.
17013 * gdb.base/vla-sideeffect.exp: New file.
17015 2014-04-14 David Blaikie <dblaikie@gmail.com>
17017 * gdb.mi/non-stop.c: Add return value for non-void function return
17019 * gdb.threads/staticthreads.c: Ditto.
17021 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17022 Doug Evans <xdje42@gmail.com>
17024 * gdb.guile/scm-value.c: Improve test case.
17025 * gdb.guile/scm-value.exp: Add new test.
17027 2014-04-11 David Blaikie <dblaikie@gmail.com>
17029 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17030 override Clang's default.
17032 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17034 Revert the following changes (regressions):
17036 * gdb.base/vla-sideeffect.c: New file.
17037 * gdb.base/vla-sideeffect.exp: New file.
17039 * gdb.dwarf2/count.exp: New file.
17041 * gdb.base/vla-multi.c: New file.
17042 * gdb.base/vla-multi.exp: New file.
17044 * gdb.base/vla-ptr.c: New file.
17045 * gdb.base/vla-ptr.exp: New file.
17047 * gdb.base/vla-datatypes.c: New file.
17048 * gdb.base/vla-datatypes.exp: New file.
17050 * gdb.mi/mi-vla-c99.exp: New file.
17051 * gdb.mi/vla.c: New file.
17053 2014-04-11 Keith Seitz <keiths@redhat.com>
17056 * gdb.cp/cpsizeof.exp: New file.
17057 * gdb.cp/cpsizeof.cc: New file.
17059 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17061 * gdb.mi/mi-vla-c99.exp: New file.
17062 * gdb.mi/vla.c: New file.
17064 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17066 * gdb.base/vla-datatypes.c: New file.
17067 * gdb.base/vla-datatypes.exp: New file.
17069 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17071 * gdb.base/vla-ptr.c: New file.
17072 * gdb.base/vla-ptr.exp: New file.
17074 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17076 * gdb.base/vla-multi.c: New file.
17077 * gdb.base/vla-multi.exp: New file.
17079 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17081 * gdb.dwarf2/count.exp: New file.
17083 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17085 * gdb.base/vla-sideeffect.c: New file.
17086 * gdb.base/vla-sideeffect.exp: New file.
17088 2014-04-11 Yao Qi <yao@codesourcery.com>
17090 * gdb.base/completion.exp: Check file exists before running tests
17091 on file completion.
17093 2014-04-10 Pedro Alves <palves@redhat.com>
17095 * gdb.base/cond-eval-mode.c: New file.
17096 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17097 prepare_for_testing to build the new file. Check result of
17099 (test_break, test_watch): New procedures.
17100 (top level): Use them.
17102 2014-04-08 Pierre Muller <muller@sourceware.org>
17104 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17105 Ctrl-V use for mingw hosts.
17107 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17109 * gdb.python/py-value.c: Improve test case.
17110 * gdb.python/py-value.exp: Add new test.
17112 2014-04-07 David Blaikie <dblaikie@gmail.com>
17114 * lib/compiler.c: Identify the clang compiler.
17115 * lib/compiler.cc: Ditto.
17117 2014-04-03 Yao Qi <yao@codesourcery.com>
17119 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17121 2014-04-01 Anton Blanchard <anton@samba.org>
17123 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17126 2014-04-01 Anton Blanchard <anton@samba.org>
17128 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17129 prepare_for_testing.
17131 2014-04-01 Anton Blanchard <anton@samba.org>
17133 * gdb.arch/ppc64-atomic-inst.c: Remove.
17134 * gdb.arch/ppc64-atomic-inst.S: New file.
17135 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17137 2014-03-31 Doug Evans <dje@google.com>
17139 * gdb.base/print-symbol-loading-lib.c: New file.
17140 * gdb.base/print-symbol-loading-main.c: New file.
17141 * gdb.base/print-symbol-loading.exp: New file.
17143 2014-03-31 Yao Qi <yao@codesourcery.com>
17145 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17147 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17149 * gdb.ada/mi_dyn_arr: New testcase.
17151 2014-03-27 Doug Evans <dje@google.com>
17153 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17155 2014-03-27 Yao Qi <yao@codesourcery.com>
17157 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17158 if target is nios2-*-*.
17160 2014-03-26 Yao Qi <yao@codesourcery.com>
17162 * lib/gdb.exp (readline_is_used): New proc.
17163 * gdb.base/completion.exp: Move tests on command complete up.
17164 Skip the rest of tests if readline is not used.
17165 * gdb.ada/complete.exp: Skp the test if readline is not
17167 * gdb.base/filesym.exp: Likewise.
17168 * gdb.base/macscp.exp: Likewise.
17169 * gdb.base/readline-ask.exp: Likewise.
17170 * gdb.base/readline.exp: Likewise.
17171 * gdb.python/py-cmd.exp: Likewise.
17172 * gdb.trace/tfile.exp: Likewise.
17174 2014-03-26 Yao Qi <yao@codesourcery.com>
17176 * gdb.base/macscp.exp: Fix code format issues.
17178 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17180 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17181 * gdb.asm/powerpc64le.inc: New file.
17183 2014-03-25 Pedro Alves <palves@redhat.com>
17184 Doug Evans <dje@google.com>
17186 * gdb.base/source-execution.c: New file.
17187 * gdb.base/source-execution.exp: New file.
17188 * gdb.base/source-execution.gdb: New file.
17190 2014-03-24 Doug Evans <dje@google.com>
17192 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17195 2014-03-24 Hui Zhu <hui@codesourcery.com>
17196 Pedro Alves <palves@redhat.com>
17198 PR breakpoints/16101
17199 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17200 test pass/fail messages. Detect missing support for dprintf when
17201 breakpoints are actually inserted.
17202 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17203 breakpoints are actually inserted.
17204 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17207 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17209 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17211 2014-03-22 Doug Evans <xdje42@gmail.com>
17213 * gdb.python/python.exp (python not supported): Verify multi-line
17214 python command issues an error.
17215 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17216 guile command issues an error.
17218 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17220 * gdb.threads/thread-specific.exp: Handle the lack of usable
17221 $this_breakpoint and $this_thread.
17223 2014-03-21 Hui Zhu <hui@codesourcery.com>
17225 * gdb.base/attach.exp (do_command_attach_tests): New.
17227 2014-03-20 Tom Tromey <tromey@redhat.com>
17228 Pedro Alves <palves@redhat.com>
17231 * gdb.base/condbreak-call-false.c: New file.
17232 * gdb.base/condbreak-call-false.exp: New file.
17234 2014-03-20 Pedro Alves <palves@redhat.com>
17236 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17238 (block_signals, unblock_signals): Delete.
17239 (child_function_2, main): Remove references to deleted variable
17242 2014-03-20 Pedro Alves <palves@redhat.com>
17244 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17245 Use pthread_kill to signal thread 2.
17246 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17247 Adjust to make the test send itself a signal rather than using the
17248 host's "kill" command.
17250 2014-03-20 Pedro Alves <palves@redhat.com>
17252 * gdb.threads/multiple-step-overs.c: New file.
17253 * gdb.threads/multiple-step-overs.exp: New file.
17254 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17255 Adjust expected infrun debug output.
17257 2014-03-20 Pedro Alves <palves@redhat.com>
17259 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17260 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17262 2014-03-20 Pedro Alves <palves@redhat.com>
17264 PR breakpoints/7143
17265 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17266 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17267 of gdb_test_multiple.
17268 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17269 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17271 2014-03-20 Pedro Alves <palves@redhat.com>
17273 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17274 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17276 2014-03-19 Pedro Alves <palves@redhat.com>
17278 * gdb.base/async.exp: Remove early return.
17280 2014-03-19 Pedro Alves <palves@redhat.com>
17282 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17284 2014-03-19 Pedro Alves <palves@redhat.com>
17286 * gdb.base/async.exp (test_background): Expect \r\n after
17287 "completed." in the fail pattern.
17289 2014-03-19 Pedro Alves <palves@redhat.com>
17291 * gdb.base/async.exp (test_background): New procedure.
17292 Use it for all background execution command tests.
17294 2014-03-19 Pedro Alves <palves@redhat.com>
17296 * gdb.base/async.exp: Use prepare_for_testing.
17298 2014-03-19 Pedro Alves <palves@redhat.com>
17300 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17303 2014-03-19 Pedro Alves <palves@redhat.com>
17305 * gdb.base/async.c (main): Add "jump here" and "until here" line
17307 * gdb.base/async.exp (jump_here): New global.
17308 (jump& test): Use it.
17309 (until_here): New global.
17310 (until& test): Use it.
17312 2014-03-19 Pedro Alves <palves@redhat.com>
17314 * gdb.base/async.exp: Don't frob gdb_protocol.
17316 2014-03-18 Doug Evans <xdje42@gmail.com>
17318 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17319 Fix spelling of exec-done-display.
17321 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17324 * gdb.base/gdb-sigterm.c: New file.
17325 * gdb.base/gdb-sigterm.exp: New file.
17327 2014-03-18 Pedro Alves <palves@redhat.com>
17330 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17331 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17334 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17336 * gdb.ada/pckd_arr_ren: New testcase.
17338 2014-03-13 Doug Evans <xdje42@gmail.com>
17341 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17342 collect after discarding symbols.
17344 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17345 Doug Evans <xdje42@gmail.com>
17347 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17348 to history survives a gc.
17350 2014-03-13 Pedro Alves <palves@redhat.com>
17352 * gdb.base/default.exp: Don't test "target procfs".
17354 2014-03-13 Pedro Alves <palves@redhat.com>
17356 * gdb.base/default.exp: Update "target child" and "target procfs"
17357 tests to not expect "Unix".
17359 2014-03-12 Tom Tromey <tromey@redhat.com>
17361 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17362 New procs. Add target-async tests.
17363 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17364 Add target-async tests.
17366 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17368 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17369 'func_start' and 'func_end' for the beginning and end of the
17370 function code, respectively.
17371 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17372 'func_end' instead of 'func' and 'main'.
17374 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17376 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17377 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17378 generate the debug info assembler source.
17380 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17382 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17383 * gdb.dwarf2/arr-subrange.exp: Likewise.
17384 * gdb.dwarf2/dwz.exp: Likewise.
17385 * gdb.dwarf2/method-ptr.exp: Likewise.
17386 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17387 * gdb.dwarf2/subrange.exp: Likewise.
17388 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17389 * gdb.dwarf2/implptrpiece.exp: Likewise.
17390 * gdb.dwarf2/nostaticblock.exp: Likewise.
17392 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17394 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17395 directory to absolute path name arguments.
17397 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17399 * gdb.ada/tagged_access: New testcase.
17401 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17403 * gdb.btrace/data.exp: Update expected output.
17405 2014-03-06 Yao Qi <yao@codesourcery.com>
17407 * gdb.trace/pr16508.exp: New file.
17409 2014-03-05 Pedro Alves <palves@redhat.com>
17412 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17414 (top level): Adjust to use it. Add tests that exercise breakpoint
17415 interaction with the code-cache.
17417 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17419 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17420 test for 'history-append!'.
17422 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17424 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17425 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17426 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17427 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17428 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17429 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17431 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17433 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17434 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17435 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17437 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17439 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17441 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17443 * gdb.dwarf2/arr-stride.c: New file.
17444 * gdb.dwarf2/arr-stride.exp: New file.
17446 2014-02-26 Pedro Alves <palves@redhat.com>
17448 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17449 that won't ever trigger. Make sure that GDB reports the correct
17450 breakpoint that caused the stop.
17452 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17455 * gdb.base/auto-load-script: New file.
17456 * gdb.base/auto-load.c: New file.
17457 * gdb.base/auto-load.exp: New file.
17460 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17462 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17464 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17465 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17467 2014-02-24 Doug Evans <dje@google.com>
17469 * lib/gdb.exp (run_on_host): Log error output if program fails.
17471 2014-02-21 Pedro Alves <palves@redhat.com>
17473 * gdb.threads/step-after-sr-lock.c: Rename to ...
17474 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17475 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17476 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17479 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17482 * gdb.arch/amd64-stap-special-operands.exp: New file.
17483 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17484 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17485 * gdb.arch/amd64-stap-triplet.S: Likewise.
17486 * gdb.arch/amd64-stap-triplet.c: Likewise.
17488 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17490 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17491 in .section pseudo-op.
17493 2014-02-20 lin zuojian <manjian2006@gmail.com>
17494 Joel Brobecker <brobecker@adacore.com>
17495 Doug Evans <xdje42@gmail.com>
17498 * gdb.dwarf2/dw2-icycle.S: New file.
17499 * gdb.dwarf2/dw2-icycle.c: New file.
17500 * gdb.dwarf2/dw2-icycle.exp: New file.
17502 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17504 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17505 operations on gdb.Value objects.
17506 * gdb.python/py-value-cc.exp: Add new test to test operations on
17509 2014-02-18 Doug Evans <dje@google.com>
17511 * Makefile.in (TESTS): New variable.
17512 (expanded_tests, expanded_tests_or_none): New variables
17513 (check-single): Pass $(expanded_tests_or_none) to runtest.
17514 (check-parallel): Only run tests in $(TESTS) if non-empty.
17515 (check/no-matching-tests-found): New rule.
17516 * README: Document TESTS makefile variable.
17518 2014-02-18 Doug Evans <dje@google.com>
17520 * Makefile.in (check-parallel): rm -rf outputs temp.
17522 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17524 Fix "ERROR: no fileid for" in the testsuite.
17525 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17527 2014-02-12 Doug Evans <dje@google.com>
17529 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17530 (MISCELLANEOUS): New variable.
17531 (clean): rm -rf $(MISCELLANEOUS).
17532 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17533 dwp live in the same directory as symlinks, with each symlink pointed
17534 to a differently named file in a different directory.
17536 2014-02-11 Doug Evans <dje@google.com>
17538 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17539 of Tcl file commands.
17541 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17543 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17544 "kill -SIGUSR1 -1".
17546 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17548 * gdb.ada/tick_length_array_enum_idx: New testcase.
17550 2014-02-10 Doug Evans <xdje42@gmail.com>
17552 * configure.ac (AC_OUTPUT): Add gdb.guile.
17553 * configure: Regenerate.
17554 * lib/gdb-guile.exp: New file.
17555 * lib/gdb.exp (get_target_charset): New function.
17556 * gdb.base/help.exp: Update expected output from "apropos apropos".
17557 * gdb.guile/Makefile.in: New file.
17558 * gdb.guile/guile.exp: New file.
17559 * gdb.guile/scm-arch.c: New file.
17560 * gdb.guile/scm-arch.exp: New file.
17561 * gdb.guile/scm-block.c: New file.
17562 * gdb.guile/scm-block.exp: New file.
17563 * gdb.guile/scm-breakpoint.c: New file.
17564 * gdb.guile/scm-breakpoint.exp: New file.
17565 * gdb.guile/scm-disasm.c: New file.
17566 * gdb.guile/scm-disasm.exp: New file.
17567 * gdb.guile/scm-equal.c: New file.
17568 * gdb.guile/scm-equal.exp: New file.
17569 * gdb.guile/scm-error.exp: New file.
17570 * gdb.guile/scm-error.scm: New file.
17571 * gdb.guile/scm-frame-args.c: New file.
17572 * gdb.guile/scm-frame-args.exp: New file.
17573 * gdb.guile/scm-frame-args.scm: New file.
17574 * gdb.guile/scm-frame-inline.c: New file.
17575 * gdb.guile/scm-frame-inline.exp: New file.
17576 * gdb.guile/scm-frame.c: New file.
17577 * gdb.guile/scm-frame.exp: New file.
17578 * gdb.guile/scm-generics.exp: New file.
17579 * gdb.guile/scm-gsmob.exp: New file.
17580 * gdb.guile/scm-iterator.c: New file.
17581 * gdb.guile/scm-iterator.exp: New file.
17582 * gdb.guile/scm-math.c: New file.
17583 * gdb.guile/scm-math.exp: New file.
17584 * gdb.guile/scm-objfile-script-gdb.in: New file.
17585 * gdb.guile/scm-objfile-script.c: New file.
17586 * gdb.guile/scm-objfile-script.exp: New file.
17587 * gdb.guile/scm-objfile.c: New file.
17588 * gdb.guile/scm-objfile.exp: New file.
17589 * gdb.guile/scm-ports.exp: New file.
17590 * gdb.guile/scm-pretty-print.c: New file.
17591 * gdb.guile/scm-pretty-print.exp: New file.
17592 * gdb.guile/scm-pretty-print.scm: New file.
17593 * gdb.guile/scm-section-script.c: New file.
17594 * gdb.guile/scm-section-script.exp: New file.
17595 * gdb.guile/scm-section-script.scm: New file.
17596 * gdb.guile/scm-symbol.c: New file.
17597 * gdb.guile/scm-symbol.exp: New file.
17598 * gdb.guile/scm-symtab-2.c: New file.
17599 * gdb.guile/scm-symtab.c: New file.
17600 * gdb.guile/scm-symtab.exp: New file.
17601 * gdb.guile/scm-type.c: New file.
17602 * gdb.guile/scm-type.exp: New file.
17603 * gdb.guile/scm-value-cc.cc: New file.
17604 * gdb.guile/scm-value-cc.exp: New file.
17605 * gdb.guile/scm-value.c: New file.
17606 * gdb.guile/scm-value.exp: New file.
17607 * gdb.guile/source2.scm: New file.
17608 * gdb.guile/types-module.cc: New file.
17609 * gdb.guile/types-module.exp: New file.
17611 2014-02-10 Yao Qi <yao@codesourcery.com>
17614 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17615 * configure: Regenerated.
17616 * Makefile.in: New file.
17618 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17620 * gdb.python/py-framefilter.exp: Fix typo.
17622 2014-02-08 Yao Qi <yao@codesourcery.com>
17624 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17625 that no =breakpoint-modified is emitted when breakpoints are
17626 modified through MI commands.
17628 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17629 Pedro Alves <palves@redhat.com>
17631 * gdb.threads/step-after-sr-lock.c: New file.
17632 * gdb.threads/step-after-sr-lock.exp: New file.
17634 2014-02-07 Pedro Alves <palves@redhat.com>
17636 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17638 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17640 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17641 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17643 2014-02-06 Doug Evans <xdje42@gmail.com>
17645 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17648 * gdb.gdb/python-interrupts.exp: New file.
17650 2014-02-05 Yao Qi <yao@codesourcery.com>
17652 * gdb.trace/report.exp (use_collected_data): Test the output
17653 of "info threads" and "info inferiors".
17655 2014-02-05 Yao Qi <yao@codesourcery.com>
17659 2013-05-24 Yao Qi <yao@codesourcery.com>
17661 * gdb.trace/tfile.exp: Test inferior and thread.
17663 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17665 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17667 * gdb.base/step-bt.c: Call hello via function pointer to make
17668 sure its first instruction is executed on powerpc64le-linux.
17670 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17672 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17674 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17676 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17677 of the test patterns for use on little-endian systems.
17679 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17681 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17682 (decimal_vector): Fix for little-endian.
17684 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17686 * gdb.arch/sparc-sysstep.exp: New file.
17687 * gdb.arch/sparc-sysstep.c: Likewise.
17689 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17691 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17693 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17695 2014-01-23 Tom Tromey <tromey@redhat.com>
17697 * gdb.ada/array_char_idx: New testcase.
17699 2014-01-23 Tom Tromey <tromey@redhat.com>
17702 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17703 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17706 2014-01-23 Tom Tromey <tromey@redhat.com>
17709 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17710 string from an inferior frame.
17711 * gdb.python/py-framefilter-mi.exp: Update.
17713 2014-01-22 Doug Evans <dje@google.com>
17715 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17717 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17719 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17721 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17723 * gdb.trace/entry-values.exp: Remove excess space character from
17724 regex patterns. Handle s390 call instruction.
17726 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17728 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17729 define "*_start" label. Make "name" static.
17730 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17731 ${name} by references to ${name}_start.
17733 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17735 * gdb.base/info-macros.exp: Remove "debug" from the compile
17738 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17740 * gdb.dlang/demangle.exp: New file.
17742 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17744 * gdb.dlang/primitive-types.exp: New file.
17746 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17748 * configure.ac: Create gdb.dlang/Makefile.
17749 * configure: Regenerate.
17750 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17751 * gdb.dlang/Makefile.in: New file.
17752 * lib/d-support.exp: New file.
17753 * lib/gdb.exp (skip_d_tests): New proc.
17755 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17757 * gdb.btrace/delta.exp: Check reverse stepi.
17758 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17759 * gdb.btrace/finish.exp: New.
17760 * gdb.btrace/next.exp: New.
17761 * gdb.btrace/nexti.exp: New.
17762 * gdb.btrace/record_goto.c: Add comments.
17763 * gdb.btrace/step.exp: New.
17764 * gdb.btrace/stepi.exp: New.
17765 * gdb.btrace/multi-thread-step.c: New.
17766 * gdb.btrace/multi-thread-step.exp: New.
17767 * gdb.btrace/rn-dl-bind.c: New.
17768 * gdb.btrace/rn-dl-bind.exp: New.
17769 * gdb.btrace/data.c: New.
17770 * gdb.btrace/data.exp: New.
17771 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17773 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17775 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17776 * gdb.btrace/exception.exp: Update.
17777 * gdb.btrace/instruction_history.exp: Update.
17778 * gdb.btrace/record_goto.exp: Update.
17779 * gdb.btrace/tailcall.exp: Update.
17780 * gdb.btrace/unknown_functions.exp: Update.
17781 * gdb.btrace/delta.exp: New.
17783 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17785 * gdb.btrace/record_goto.exp: Add backtrace test.
17786 * gdb.btrace/tailcall.exp: Add backtrace test.
17788 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17790 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17791 * gdb.btrace/record_goto.c: New.
17792 * gdb.btrace/record_goto.exp: New.
17793 * gdb.btrace/x86-record_goto.S: New.
17795 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17797 * gdb.btrace/function_call_history.exp: Update tests.
17798 * gdb.btrace/instruction_history.exp: Update tests.
17800 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17802 * gdb.btrace/function_call_history.exp: Fix expected field
17803 order for "record function-call-history".
17804 Add new tests for "record function-call-history /c".
17805 * gdb.btrace/exception.cc: New.
17806 * gdb.btrace/exception.exp: New.
17807 * gdb.btrace/tailcall.exp: New.
17808 * gdb.btrace/x86-tailcall.S: New.
17809 * gdb.btrace/x86-tailcall.c: New.
17810 * gdb.btrace/unknown_functions.c: New.
17811 * gdb.btrace/unknown_functions.exp: New.
17812 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17814 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17816 * gdb.btrace/instruction_history.exp: Update.
17817 * gdb.btrace/function_call_history.exp: Update.
17819 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17821 * gdb.btrace/function_call_history.exp: Fix expected function
17823 * gdb.btrace/instruction_history.exp: Initialize traced.
17824 Remove traced_functions.
17826 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17828 * gdb.btrace/function_call_history.exp: Update
17829 * gdb.btrace/instruction_history.exp: Update.
17831 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17833 * gdb.btrace/enable.exp: Update expected text.
17835 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17837 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17840 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17842 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17844 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17846 * lib/gdb.exp (supports_process_record): Return true for
17847 arm*-linux*. (supports_reverse): Likewise.
17849 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17853 * gdb.python/py-type.c: Enhance test case.
17854 * gdb.python/py-value-cc.cc: Likewise
17855 * gdb.python/py-type.exp: Add new tests.
17856 * gdb.python/py-value-cc.exp: Likewise
17858 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17859 Pedro Alves <palves@redhat.com>
17861 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17862 Make "name" extern.
17863 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17864 references to ${name}_start by references to ${name}.
17866 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17868 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17870 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17872 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17874 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17875 Pedro Alves <palves@redhat.com>
17877 * gdb.mi/mi-info-os.exp: Connect to the target with
17878 mi_gdb_target_load.
17880 2014-01-08 Pedro Alves <palves@redhat.com>
17882 * gdb.threads/reconnect-signal.c: New file.
17883 * gdb.threads/reconnect-signal.exp: New file.
17885 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17887 * gdb.base/source-dir.exp: New file.
17889 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17891 * gdb.ada/mi_interface: New testcase.
17893 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17895 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17896 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17897 gdb.ada/pp-rec-component/pck.ads: New files.
17899 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17901 * gdb.python/py-pp-integral.c: New file.
17902 * gdb.python/py-pp-integral.py: New file.
17903 * gdb.python/py-pp-integral.exp: New file.
17905 For older changes see ChangeLog-1993-2013.
17907 ;; Local Variables:
17908 ;; mode: change-log
17911 ;; version-control: never
17914 Copyright 2014-2019 Free Software Foundation, Inc.
17915 Copying and distribution of this file, with or without modification,
17916 are permitted provided the copyright notice and this notice are preserved.