1 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
8 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
10 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
13 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
15 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
16 broken version of GCC.
18 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
20 * gdb.fortran/info-modules.exp: Rewrite to make use of new
21 sym-info-cmds library.
22 * gdb.fortran/info-types.exp: Likewise.
23 * lib/sym-info-cmds.exp: New file.
25 2019-12-08 Tom de Vries <tdevries@suse.de>
27 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
29 2019-12-07 Keith Seitz <keiths@redhat.com>
31 * gdb.base/corefile-buildid-shlib-shr.c: New file.
32 * gdb.base/corefile-buildid-shlib.c: New file.
33 * gdb.base/corefile-buildid.c: New file.
34 * gdb.base/corefile-buildid.exp: New file.
36 2019-12-06 Tom de Vries <tdevries@suse.de>
38 * gdb.dwarf2/varval.exp: Add decl before def test.
40 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
42 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
44 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
46 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
47 CV and reference conversion for overload resolution.
48 * gdb.cp/rvalue-ref-overload.exp: Test it.
50 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
52 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
53 * gdb.base/frameapply.exp: Test faas without command.
55 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
57 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
59 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
62 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
64 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
65 casting to type with no kind specified.
66 (test_basic_parsing_of_type_kinds): Additional tests for types
67 with no kind specified, and add tests for single/double
68 precision/complex types.
70 2019-12-04 Tom Tromey <tromey@adacore.com>
72 * gdb.base/endianity.c (struct other) <x>: New field.
73 (main): Initialize it.
74 * gdb.base/endianity.exp: Update.
76 2019-12-04 Tom Tromey <tromey@adacore.com>
78 * gdb.ada/scalar_storage/storage.adb: New file.
79 * gdb.ada/scalar_storage/pck.adb: New file.
80 * gdb.ada/scalar_storage/pck.ads: New file.
81 * gdb.ada/scalar_storage.exp: New file.
83 2019-12-04 Tom Tromey <tromey@adacore.com>
85 * gdb.base/endianity.c (struct otherendian) <f>: New field.
86 (main): Initialize it.
87 * gdb.base/endianity.exp: Update.
89 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
91 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
93 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
95 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
96 -symbol-info-module-functions and -symbol-info-module-variables.
98 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
100 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
102 2019-12-01 Richard Bunt <richard.bunt@arm.com>
103 Andrew Burgess <andrew.burgess@embecosm.com>
105 * gdb.fortran/derived-type-striding.exp: New file.
106 * gdb.fortran/derived-type-striding.f90: New file.
107 * gdb.fortran/array-slices.exp: New file.
108 * gdb.fortran/array-slices.f90: New file.
110 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
112 * gdb.base/define.exp: Test . in command names.
113 * gdb.base/setshow.exp: Update test, as . is now part of
116 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
118 * gdb.base/define-prefix.exp: New file.
120 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
122 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
124 (skip_btrace_pt_tests): Likewise.
126 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
128 * gdb.fortran/info-modules.exp: Compile source files in correct
131 2019-11-27 Kevin Buettner <kevinb@redhat.com>
133 * gdb.dwarf2/imported-unit.exp: New file.
134 * gdb.dwarf2/imported-unit.c: New file.
136 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
138 * gdb.mi/mi-fortran-modules-2.f90: New file.
139 * gdb.mi/mi-fortran-modules.exp: New file.
140 * gdb.mi/mi-fortran-modules.f90: New file.
142 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
144 * gdb.mi/mi-sym-info-1.c: New file.
145 * gdb.mi/mi-sym-info-2.c: New file.
146 * gdb.mi/mi-sym-info.exp: New file.
148 2019-11-22 Tom Tromey <tromey@adacore.com>
150 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
151 * gdb.ada/tasks/foo.adb: Add another stopping location.
153 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
155 * gdb.base/endianity.c: New test.
156 * gdb.base/endianity.exp: New file.
158 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
160 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
162 2019-11-21 Tom de Vries <tdevries@suse.de>
165 * gdb.base/ui-redirect.exp: Test output of user-defined command.
167 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
169 * gdb.python/py-progspace.exp: Add missing parentheses on some
172 2019-11-19 Tom Tromey <tom@tromey.com>
174 * gdb.tui/winheight.exp: New file.
176 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
178 * gdb.base/ctf-whatis.c: Delete.
179 * gdb.base/ctf-whatis.exp: Delete.
180 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
182 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
184 * gdb.base/ctf-cvexpr.exp: Delete.
185 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
187 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
189 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
190 the compiler. Clean up header comment a little.
191 * gdb.base/ctf-ptype.exp: Likewise.
192 * gdb.base/ctf-whatis.exp: Likewise.
193 * lib/gdb.exp (skip_ctf_tests): New proc.
195 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
197 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
198 * gdb.tui/corefile-run.exp: New file.
200 2019-11-14 Tom Tromey <tromey@adacore.com>
202 * gdb.base/gdbvars.exp (test_convenience_variables): Add
205 2019-11-12 Tom Tromey <tom@tromey.com>
207 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
208 after any command. Expect prompt after WAIT_FOR is seen.
209 (enter_tui): Enable resize messages.
210 (command): Expect command in output.
211 (get_line): Avoid error when cursor appears to be off-screen.
212 (dump_screen): Include screen size in title.
213 (_do_resize): New proc, from "resize".
214 (resize): Rewrite. Do resize in two steps.
215 * gdb.tui/empty.exp (layouts): Fix entries.
216 (check_boxes): Remove xfail.
217 (check_text): Dump screen on failure.
219 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
221 * gdb.python/py-symbol.exp: Add test for
222 gdb.lookup_static_symbols.
224 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
226 * gdb.python/py-symbol.c: Declare and call function from new
228 * gdb.python/py-symbol.exp: Compile both source files, and add new
229 tests for gdb.lookup_static_symbol.
230 * gdb.python/py-symbol-2.c: New file.
232 2019-11-02 Tom de Vries <tdevries@suse.de>
234 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
235 * gdb.base/anon.exp: Same.
236 * gdb.base/auto-connect-native-target.exp: Same.
237 * gdb.base/call-ar-st.exp: Same.
238 * gdb.base/catch-syscall.exp: Same.
239 * gdb.base/commands.exp: Same.
240 * gdb.base/default.exp: Same.
241 * gdb.base/display.exp: Same.
242 * gdb.base/float.exp: Same.
243 * gdb.base/foll-fork.exp: Same.
244 * gdb.base/help.exp: Same.
245 * gdb.base/info-macros.exp: Same.
246 * gdb.base/info-proc.exp: Same.
247 * gdb.base/info-target.exp: Same.
248 * gdb.base/long_long.exp: Same.
249 * gdb.base/macscp.exp: Same.
250 * gdb.base/memattr.exp: Same.
251 * gdb.base/nofield.exp: Same.
252 * gdb.base/pointers.exp: Same.
253 * gdb.base/printcmds.exp: Same.
254 * gdb.base/ptype.exp: Same.
255 * gdb.base/restore.exp: Same.
256 * gdb.base/return.exp: Same.
257 * gdb.base/scope.exp: Same.
258 * gdb.base/set-noassign.exp: Same.
259 * gdb.base/setshow.exp: Same.
260 * gdb.base/shlib-call.exp: Same.
261 * gdb.base/signals.exp: Same.
262 * gdb.base/sigstep.exp: Same.
263 * gdb.base/skip.exp: Same.
264 * gdb.base/solib-symbol.exp: Same.
265 * gdb.base/stap-probe.exp: Same.
266 * gdb.base/step-line.exp: Same.
267 * gdb.base/step-test.exp: Same.
268 * gdb.base/style.exp: Same.
269 * gdb.base/varargs.exp: Same.
270 * gdb.base/vla-datatypes.exp: Same.
271 * gdb.base/vla-ptr.exp: Same.
272 * gdb.base/vla-sideeffect.exp: Same.
273 * gdb.base/volatile.exp: Same.
274 * gdb.base/watch-cond-infcall.exp: Same.
275 * gdb.base/watchpoint.exp: Same.
277 2019-11-02 Tom de Vries <tdevries@suse.de>
279 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
280 * gdb.cp/cpexprs.exp: Same.
281 * gdb.cp/except-multi-location.exp: Same.
282 * gdb.cp/exceptprint.exp: Same.
283 * gdb.cp/gdb2384.exp: Same.
284 * gdb.cp/inherit.exp: Same.
285 * gdb.cp/m-static.exp: Same.
286 * gdb.cp/meth-typedefs.exp: Same.
287 * gdb.cp/misc.exp: Same.
288 * gdb.cp/namespace.exp: Same.
289 * gdb.cp/non-trivial-retval.exp: Same.
290 * gdb.cp/overload.exp: Same.
291 * gdb.cp/pr17132.exp: Same.
292 * gdb.cp/re-set-overloaded.exp: Same.
293 * gdb.cp/rvalue-ref-types.exp: Same.
294 * gdb.cp/templates.exp: Same.
296 2019-11-01 Luis Machado <luis.machado@linaro.org>
300 * gdb.arch/pr25124.S: New file.
301 * gdb.arch/pr25124.exp: New file.
303 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
305 * gdb.fortran/info-modules.exp: Update expected results, and add
306 additional tests for 'info module functinos', and 'info module
308 * gdb.fortran/info-types.exp: Update expected results.
309 * gdb.fortran/info-types.f90: Extend testcase with additional
310 module variables and functions.
312 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
314 * gdb.fortran/info-modules.exp: New file.
315 * gdb.fortran/info-types.exp: Build with new file.
316 * gdb.fortran/info-types.f90: Include and use new module.
317 * gdb.fortran/info-types-2.f90: New file.
319 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
321 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
322 * gdb.base/settings.exp: Test all settings types using
323 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
324 that now verifies that the value of "maint show" is the same as
325 returned by the settings functions. Test the type of the
326 maintenance settings.
327 * gdb.base/default.exp: Update show_conv_list.
329 2019-10-31 Tom de Vries <tdevries@suse.de>
331 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
333 * gdb.arch/amd64-disp-step.exp: Same.
334 * gdb.asm/asm-source.exp: Same.
335 * gdb.btrace/buffer-size.exp: Same.
336 * gdb.btrace/cpu.exp: Same.
337 * gdb.btrace/enable.exp: Same.
338 * gdb.dwarf2/count.exp: Same.
339 * gdb.dwarf2/dw2-ranges-func.exp: Same.
340 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
341 * gdb.fortran/vla-datatypes.exp: Same.
342 * gdb.fortran/vla-history.exp: Same.
343 * gdb.fortran/vla-ptype.exp: Same.
344 * gdb.fortran/vla-value.exp: Same.
345 * gdb.fortran/whatis_type.exp: Same.
346 * gdb.guile/guile.exp: Same.
347 * gdb.multi/tids.exp: Same.
348 * gdb.python/py-finish-breakpoint.exp: Same.
349 * gdb.python/py-framefilter.exp: Same.
350 * gdb.python/py-pp-registration.exp: Same.
351 * gdb.python/py-xmethods.exp: Same.
352 * gdb.python/python.exp: Same.
353 * gdb.server/connect-with-no-symbol-file.exp: Same.
354 * gdb.server/no-thread-db.exp: Same.
355 * gdb.server/run-without-local-binary.exp: Same.
356 * gdb.stabs/weird.exp: Same.
357 * gdb.threads/attach-many-short-lived-threads.exp: Same.
358 * gdb.threads/thread-find.exp: Same.
359 * gdb.threads/tls-shared.exp: Same.
360 * gdb.threads/tls.exp: Same.
361 * gdb.threads/wp-replication.exp: Same.
362 * gdb.trace/ax.exp: Same.
363 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
365 2019-10-31 Tom de Vries <tdevries@suse.de>
367 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
368 * gdb.ada/array_subscript_addr.exp: Same.
369 * gdb.ada/arrayidx.exp: Same.
370 * gdb.ada/arrayparam.exp: Same.
371 * gdb.ada/arrayptr.exp: Same.
372 * gdb.ada/boolean_expr.exp: Same.
373 * gdb.ada/call_pn.exp: Same.
374 * gdb.ada/complete.exp: Same.
375 * gdb.ada/fixed_cmp.exp: Same.
376 * gdb.ada/fun_addr.exp: Same.
377 * gdb.ada/funcall_param.exp: Same.
378 * gdb.ada/interface.exp: Same.
379 * gdb.ada/mod_from_name.exp: Same.
380 * gdb.ada/null_array.exp: Same.
381 * gdb.ada/packed_array.exp: Same.
382 * gdb.ada/packed_tagged.exp: Same.
383 * gdb.ada/print_chars.exp: Same.
384 * gdb.ada/print_pc.exp: Same.
385 * gdb.ada/ptype_arith_binop.exp: Same.
386 * gdb.ada/ptype_field.exp: Same.
387 * gdb.ada/ptype_tagged_param.exp: Same.
388 * gdb.ada/rec_return.exp: Same.
389 * gdb.ada/ref_tick_size.exp: Same.
390 * gdb.ada/str_ref_cmp.exp: Same.
391 * gdb.ada/taft_type.exp: Same.
392 * gdb.ada/tagged.exp: Same.
393 * gdb.ada/type_coercion.exp: Same.
394 * gdb.ada/uninitialized_vars.exp: Same.
396 2019-10-30 Tom de Vries <tdevries@suse.de>
398 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
400 2019-10-26 Tom de Vries <tdevries@suse.de>
402 * gdb.base/bigcore.c: Fix typos in comments.
403 * gdb.base/ctf-ptype.c: Same.
404 * gdb.base/long_long.c: Same.
405 * gdb.dwarf2/dw2-op-out-param.S: Same.
406 * gdb.python/py-evthreads.c: Same.
407 * gdb.reverse/i387-stack-reverse.c: Same.
408 * gdb.trace/tfile.c: Same.
409 * lib/compiler.c: Same.
410 * lib/compiler.cc: Same.
412 2019-10-25 Tom de Vries <tdevries@suse.de>
414 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
415 gdb_test_multiple calls.
416 * gdb.reverse/sigall-reverse.exp: Same.
417 * gdb.reverse/solib-precsave.exp: Same.
418 * gdb.reverse/solib-reverse.exp: Same.
419 * gdb.reverse/until-precsave.exp: Same.
420 * gdb.reverse/until-reverse.exp: Same.
422 2019-10-24 Tom de Vries <tdevries@suse.de>
424 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
425 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
426 kfail using -wrap pattern flag and convenience variable
429 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
431 * gdb.python/py-progspace.exp: Add tests for the
432 Progspace.block_for_pc method.
434 2019-10-23 Tom Tromey <tom@tromey.com>
436 * configure: Rebuild.
437 * aclocal.m4: Use m4_include, not sinclude.
439 2019-10-21 Tom de Vries <tdevries@suse.de>
441 * gdb.base/infcall-nested-structs.c: Add
442 __attribute__((noinline,noclone)) to all functions.
443 (call_all): Add missing variable initialization. Simplify return value.
444 (breakpt): Increment volatile variable, to prevent call from being
446 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
448 2019-10-17 Tom de Vries <tdevries@suse.de>
450 * gdb.fortran/module.exp: Allow info variables to print info for files
451 other than module.f90.
453 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
455 * gdb.fortran/module.exp: Extend with 'info variables' test.
457 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
459 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
462 2019-10-16 Tom de Vries <tdevries@suse.de>
465 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
467 2019-10-16 Tom de Vries <tdevries@suse.de>
470 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
471 Add KFAIL for PR tdep/25096.
473 2019-10-16 Tom de Vries <tdevries@suse.de>
476 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
478 2019-10-16 Tom de Vries <tdevries@suse.de>
480 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
483 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
485 * gdb.mi/list-thread-groups-available.exp: Read entries one by
486 one instead of increasing timeout.
488 2019-10-13 Tom de Vries <tdevries@suse.de>
491 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
492 * gdb.reverse/sigall-reverse.exp: Same.
493 * gdb.reverse/solib-precsave.exp: Same.
494 * gdb.reverse/solib-reverse.exp: Same.
495 * gdb.reverse/step-precsave.exp: Same.
496 * gdb.reverse/until-precsave.exp: Same.
497 * gdb.reverse/until-reverse.exp: Same.
498 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
500 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
502 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
503 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
504 (cmp_struct_05_01, cmp_struct_static_02_01)
505 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
508 2019-10-10 Tom de Vries <tdevries@suse.de>
511 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
514 2019-10-09 Tom de Vries <tdevries@suse.de>
517 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
519 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
521 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
522 exceptions due to missing debug information.
524 2019-10-07 Tom de Vries <tdevries@suse.de>
526 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
528 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
530 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
531 * gdb.base/annota1.exp: Update to use gdb_test_name.
533 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
535 * gdb.base/ctf-whatis.exp: New file.
536 * gdb.base/ctf-whatis.c: New file.
537 * gdb.base/ctf-ptype.exp: New file.
538 * gdb.base/ctf-ptype.c: New file.
539 * gdb.base/ctf-constvars.exp: New file.
540 * gdb.base/ctf-constvars.c: New file.
541 * gdb.base/ctf-cvexpr.exp: New file.
543 2019-10-04 Tom de Vries <tdevries@suse.de>
545 * gdb.cp/local-static.c (main): Move declaration of int i out of the
548 2019-10-03 Tom Tromey <tom@tromey.com>
551 * gdb.rust/simple.rs (Union2): New type.
553 * gdb.rust/simple.exp: Add test.
555 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
557 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
558 nested function prefix.
560 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
561 Richard Bunt <richard.bunt@arm.com>
562 Andrew Burgess <andrew.burgess@embecosm.com>
564 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
566 * gdb.fortran/nested-funcs.f90: Update expected results.
567 * gdb.fortran/nested-funcs-2.exp: New file.
568 * gdb.fortran/nested-funcs-2.f90: New file.
570 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
572 * gdb.python/py-parameter.exp: Make test names unique.
573 * gdb.python/py-template.exp: Likewise.
574 * gdb.python/py-value.exp: Likewise.
576 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
578 * gdb.base/break-interp.exp: Reduce test name duplication.
579 * gdb.base/call-sc.exp: Likewise.
580 * gdb.base/callfuncs.exp: Likewise.
581 * gdb.base/charset.exp: Likewise.
582 * gdb.base/dump.exp: Likewise.
583 * gdb.base/ena-dis-br.exp: Likewise.
584 * gdb.base/relational.exp: Likewise.
585 * gdb.base/step-over-syscall.exp: Likewise.
586 * gdb.base/structs.exp: Likewise.
588 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
590 * gdb.linespec/explicit.exp: Make test names unique.
591 * gdb.linespec/ls-errs.exp: Likewise.
593 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
595 * gdb.reverse/break-precsave.exp: Make test names unique.
596 * gdb.reverse/break-reverse.exp: Likewise.
597 * gdb.reverse/finish-precsave.exp: Likewise.
598 * gdb.reverse/finish-reverse.exp: Likewise.
599 * gdb.reverse/machinestate-precsave.exp: Likewise.
600 * gdb.reverse/machinestate.exp: Likewise.
601 * gdb.reverse/readv-reverse.exp: Likewise.
602 * gdb.reverse/recvmsg-reverse.exp: Likewise.
603 * gdb.reverse/sigall-precsave.exp: Likewise.
604 * gdb.reverse/sigall-reverse.exp: Likewise.
605 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
606 * gdb.reverse/watch-precsave.exp: Likewise.
607 * gdb.reverse/watch-reverse.exp: Likewise.
609 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
611 * gdb.threads/stop-with-handle.c: New file.
612 * gdb.threads/stop-with-handle.exp: New file.
614 2019-10-03 Tom de Vries <tdevries@suse.de>
617 * gdb.base/list-missing-source.exp: Allowing the "Compilation
618 directory" line to be missing.
620 2019-10-03 Tom de Vries <tdevries@suse.de>
623 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
626 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
628 * gdb.python/py-format-string.c (string.h): New include.
629 (main): Fill a_struct_with_union.the_union.an_int with bytes of
630 the same value, for endianness-independence.
631 * gdb.python/py-format-string.exp (default_regexp_dict)
632 (test_pretty_structs, test_format): Adjust expected output to the
633 changed initialization.
635 2019-10-02 Tom Tromey <tromey@adacore.com>
637 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
639 2019-10-02 Pedro Alves <palves@redhat.com>
640 Andrew Burgess <andrew.burgess@embecosm.com>
642 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
644 (this_version_id) Use ATTRIBUTE_VISIBILITY.
645 (get_version_1): Print this_version_id and its address.
646 Add extern "C" wrappers around interface functions.
647 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
649 (this_version_id) Use ATTRIBUTE_VISIBILITY.
650 (get_version_2): Print this_version_id and its address.
651 Add extern "C" wrappers around interface functions.
652 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
653 <stddef.h> and "print-file-var.h".
654 Add extern "C" wrappers around interface functions.
655 [VERSION_ID_MAIN] (this_version_id): Define.
656 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
657 * gdb.base/print-file-var.h: Add some #defines to simplify setting
658 up extern "C" blocks.
659 * gdb.base/print-file-var.exp (test): New, factored out from top
661 (top level): Test all combinations of attribute hidden or not,
662 dlopen or not, and this_version_id symbol in main file or not.
663 Compile tests as both C++ and C, make test names unique.
665 2019-10-01 Tom Tromey <tom@tromey.com>
667 * gdb.base/style.exp: Test "show logging filename".
669 2019-10-01 Tom Tromey <tom@tromey.com>
671 * lib/gdb-utils.exp (style): Handle "metadata" argument.
672 * gdb.base/style.exp: Add metadata style test.
674 2019-10-01 Tom Tromey <tom@tromey.com>
676 * gdb.base/style.exp: Test "pwd".
678 2019-10-01 Tom Tromey <tom@tromey.com>
680 * gdb.base/style.exp: Update tests.
682 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
684 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
686 (s1): Initialize fields 'four' and 'six' instead of 'three' and
687 'five'. Use an all-ones bit pattern for each.
688 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
689 to its changed values.
691 2019-09-30 Tom Tromey <tromey@adacore.com>
693 * gdb.rust/traits.rs: Disable all warnings.
695 2019-09-29 Tom de Vries <tdevries@suse.de>
697 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
699 2019-09-29 Tom de Vries <tdevries@suse.de>
701 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
703 2019-09-27 Tom de Vries <tdevries@suse.de>
705 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
707 2019-09-27 Tom de Vries <tdevries@suse.de>
710 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
712 2019-09-26 Tom Tromey <tromey@adacore.com>
714 * gdb.ada/py_taft.exp: New file.
715 * gdb.ada/py_taft/main.adb: New file.
716 * gdb.ada/py_taft/pkg.adb: New file.
717 * gdb.ada/py_taft/pkg.ads: New file.
719 2019-09-24 Tom de Vries <tdevries@suse.de>
722 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
724 2019-09-22 Tom de Vries <tdevries@suse.de>
726 * gdb.base/restore.exp: Allow register variables to be optimized out at
729 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
731 * gdb.arch/spu-info.exp: Remove file.
732 * gdb.arch/spu-info.c: Remove file.
733 * gdb.arch/spu-ls.exp: Remove file.
734 * gdb.arch/spu-ls.c: Remove file.
736 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
737 * gdb.asm/spu.inc: Remove file.
739 * gdb.base/dump.exp: Remove support for spu*-*-*.
740 * gdb.base/stack-checking.exp: Likewise.
741 * gdb.base/overlays.exp: Likewise.
742 * gdb.base/ovlymgr.c: Likewise.
743 * gdb.base/spu.ld: Remove file.
745 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
746 * gdb.cp/cpexprs.exp: Likewise.
747 * gdb.cp/exception.exp: Likewise.
748 * gdb.cp/gdb2495.exp: Likewise.
749 * gdb.cp/mb-templates.exp: Likewise.
750 * gdb.cp/pr9167.exp: Likewise.
751 * gdb.cp/userdef.exp: Likewise.
753 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
755 * gdb.cell: Remove directory.
756 * lib/cell.exp: Remove file.
758 2019-09-19 Tom de Vries <tdevries@suse.de>
760 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
762 2019-09-19 Tom de Vries <tdevries@suse.de>
764 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
766 2019-09-19 Tom de Vries <tdevries@suse.de>
768 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
769 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
770 (gdb_target_cmd): ... here.
771 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
774 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
776 * gdb.base/source-dir.exp: Avoid having directory names in test
779 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
781 * gdb.base/source-dir.exp: Add extra test for mapped compilation
784 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
786 * gdb.base/list-missing-source.exp: New file.
788 2019-09-14 Tom de Vries <tdevries@suse.de>
791 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
792 * lib/ada.exp (gnatmake_version_at_least): New proc.
794 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
796 * gdb.base/maint.exp: Use exec_has_index_section.
798 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
800 * gdb.base/maint.exp: Add test for 'maint info sections'.
802 2019-09-12 Tom de Vries <tdevries@suse.de>
804 * gdb.base/store.exp: Allow register variables to be optimized out at
807 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
809 * gdb.ada/rdv_wait.exp: Update to new task names.
810 * gdb.base/task_switch_in_core.exp: Likewise.
811 * gdb.base/info_sources_base.c: Likewise.
813 2019-09-10 Tom Tromey <tromey@adacore.com>
815 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
817 2019-09-10 Tom Tromey <tromey@adacore.com>
819 * gdb.ada/dgopt.exp: New file.
820 * gdb.ada/dgopt/x.adb: New file.
822 2019-09-08 Tom Tromey <tom@tromey.com>
824 * gdb.tui/resize.exp: Remove setup_xfail.
825 * gdb.tui/regs.exp: Remove setup_xfail.
826 * gdb.tui/basic.exp: Remove setup_xfail.
828 2019-09-06 David Blaikie <dblaikie@gmail.com>
830 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
831 * gdb.cp/cplabel.exp: Ditto.
832 * gdb.linespec/ls-errs.exp: Ditto.
834 2019-09-05 Tom de Vries <tdevries@suse.de>
836 * lib/gdb.exp (cmp_file_string): New proc.
837 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
838 runto_main. Verify save breakpoints output.
840 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
842 * gdb.base/info-var.exp: Test info variables without running
843 to main, to avoid expect's buffer overflow.
845 2019-09-03 Tom Tromey <tromey@adacore.com>
847 * gdb.ada/bias.exp: New file.
848 * gdb.ada/bias/bias.adb: New file.
849 * gdb.ada/print_chars.exp: Add regression test.
850 * gdb.ada/print_chars/foo.adb (My_Character): New type.
853 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
855 * gdb.base/argv0-symlink.exp: Run only on native target
858 2019-08-29 Tom de Vries <tdevries@suse.de>
860 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
862 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
864 2019-08-28 Tom de Vries <tdevries@suse.de>
866 * gdb.base/info-var.exp: Allow info variables to print info for files
867 other than info-var-f1.c and info-var-f2.c.
869 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
871 * gdb.fortran/info-types.exp: Add module.
872 * gdb.fortran/info-types.f90: Update expected results.
874 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
876 * gdb.fortran/info-types.exp: New file.
877 * gdb.fortran/info-types.f90: New file.
878 * lib/fortran.exp (fortran_character1): New proc.
880 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
882 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
883 functions'. Reindent as needed.
884 * gdb.base/info-var-f1.c: New file.
885 * gdb.base/info-var-f2.c: New file.
886 * gdb.base/info-var.exp: New file.
887 * gdb.base/info-var.h: New file.
889 2019-08-26 Tom de Vries <tdevries@suse.de>
892 * gdb.cp/no-libstdcxx-probe.exp: New test.
894 2019-08-26 Tom de Vries <tdevries@suse.de>
896 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
897 * tests need to be skipped.
898 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
899 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
900 mi_skip_libstdcxx_probe_tests.
902 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
904 * gdb.python/py-xmethods.exp: Use raw strings when passing
905 arguments to SimpleXMethodMatcher.
907 2019-08-22 Tom de Vries <tdevries@suse.de>
909 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
912 2019-08-21 Pedro Alves <palves@redhat.com>
914 * gdb.base/with.exp: Test "with" with no arguments.
916 2019-08-21 Tom de Vries <tdevries@suse.de>
918 * gdb.base/gdb-caching-proc.exp: Sort files.
920 2019-08-20 Tom de Vries <tdevries@suse.de>
922 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
925 2019-08-16 Tom de Vries <tdevries@suse.de>
927 * gdb.base/compare-sections.exp ("after run to main"): Allow
928 mismatched read-only sections for PIE executables.
930 2019-08-16 Tom Tromey <tom@tromey.com>
932 * lib/tuiterm.exp (_csi_Z): New proc.
933 * gdb.tui/basic.exp: Update window positions.
934 * gdb.tui/empty.exp: Update window positions.
936 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
938 * gdb.base/examine-backward.exp: Correct regexp for
939 "examine 3 bytes backward from ${address_zero}".
941 2019-08-15 Tom Tromey <tom@tromey.com>
943 * gdb.tui/empty.exp: Enable resizing tests.
945 2019-08-15 Tom Tromey <tromey@adacore.com>
947 * gdb.ada/char_enum.exp: Add regression tests.
948 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
950 (Char, Gchar): Update.
951 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
953 2019-08-15 Christian Biesinger <cbiesinger@google.com>
955 * gdb.python/python.exp: Expect a leading underscore on
956 GdbOutput{,Error}File.
958 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
960 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
963 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
965 * gdb.base/batch-preserve-term-settings.exp
966 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
968 2019-08-15 Christian Biesinger <cbiesinger@google.com>
970 * lib/gdb.exp: When running on a mingw target, replace
973 2019-08-14 Alan Hayward <alan.hayward@arm.com>
975 * gdb.arch/aarch64-prologue.c: New test.
976 * gdb.arch/aarch64-prologue.exp: New file.
978 2019-08-13 Tom de Vries <tdevries@suse.de>
980 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
983 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
985 * gdb.python/py-completion.exp: Download the .py file to the host
986 and use its host pathname. Conditionalize tests that use
987 tab completion and manipulate files on the build machine.
988 * gdb.python/py-events.exp: Download the .py file to the host
989 and use its host pathname.
990 * gdb.python/py-evsignal.exp: Likewise.
991 * gdb.python/py-evthreads.exp: Likewise.
992 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
994 * gdb.python/py-framefilter.exp: Download the .py file to the right
995 place on the host. Match Windows pathname syntax.
996 * gdb.python/py-mi-var-info-path-expression.exp: Download the
997 .py file to the host and use its host pathname.
998 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
999 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1000 build pathname. Skip symlink test on Windows host. Add missing
1001 newline at end of file.
1002 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1003 and use its host pathname.
1004 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1005 * gdb.python/py-section-script.exp: Use host location of binfile
1006 on safe-path. Use correct path separator on Windows host.
1007 Reorder alternatives in gdb_test_multiple to prevent matching
1008 the wrong alternative on success.
1009 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1011 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1013 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1014 expect the GDB inferior to no longer immediately stop after
1015 being resumed with "signal SIGINT".
1017 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1019 * gdb.linespec/break-ask.exp: Generalize regexps to match
1020 Windows pathnames too.
1022 2019-08-08 Tom de Vries <tdevries@suse.de>
1025 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1027 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1029 * gdb.base/style.exp: Update tests for help doc new invariants.
1030 * gdb.base/help.exp: Likewise.
1032 2019-08-06 Tom Tromey <tom@tromey.com>
1034 * gdb.base/style.exp: Add disassemble test.
1035 * gdb.base/style.c (some_called_function): New function.
1038 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1040 * gdb.python/py-block.exp: Test dictionary access on blocks.
1042 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1045 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1046 -list-thread-groups --available test when running under
1049 2019-08-05 Tom de Vries <tdevries@suse.de>
1052 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1053 * gdb.base/help.exp: Use with_read1_timeout_factor.
1054 * gdb.base/info-macros.exp: Same.
1055 * gdb.cp/nested-types.exp: Same.
1057 2019-08-05 Tom de Vries <tdevries@suse.de>
1059 * lib/gdb.exp (version_at_least): Factor out of ...
1060 (tcl_version_at_least): ... here.
1061 (gdb_compile): Fail if pie results in non-PIE executable.
1062 (readelf_version, readelf_prints_pie): New proc.
1063 (exec_is_pie): Return -1 if unknown.
1065 2019-08-05 Tom de Vries <tdevries@suse.de>
1067 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1069 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1071 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1073 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1075 * lib/completion-support.exp (test_gdb_complete_none): Skip
1076 tab completion tests if no readline support.
1077 (test_gdb_complete_unique_re): Likewise.
1078 (test_gdb_complete_multiple): Likewise.
1080 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1082 * gdb.base/info_sources.exp: New file.
1083 * gdb.base/info_sources.c: New file.
1084 * gdb.base/info_sources_base.c: New file.
1086 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1088 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1090 (test_exit_status): Add prefix argument.
1092 2019-08-01 Tom de Vries <tdevries@suse.de>
1095 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1096 calling exp_continue for new thread and thread exited messages.
1098 2019-08-01 Tom de Vries <tdevries@suse.de>
1101 * gdb.base/structs.exp: Fix check-read1 timeout using
1103 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1105 2019-08-01 Tom de Vries <tdevries@suse.de>
1108 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1111 2019-08-01 Tom de Vries <tdevries@suse.de>
1114 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1116 2019-07-30 Tom Tromey <tromey@adacore.com>
1118 * gdb.ada/display_nested.exp: New file.
1119 * gdb.ada/display_nested/foo.adb: New file.
1120 * gdb.ada/display_nested/pack.adb: New file.
1121 * gdb.ada/display_nested/pack.ads: New file.
1123 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1125 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1127 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1129 2019-07-30 Tom de Vries <tdevries@suse.de>
1131 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1134 2019-07-30 Tom de Vries <tdevries@suse.de>
1137 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1138 (exec_is_pie): New proc.
1140 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1142 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1144 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1146 * gdb.python/py-objfile.c: Add global and static vars.
1147 * gdb.python/py-objfile.exp: Test new functions Objfile.
1148 lookup_global_symbol and lookup_static_symbol.
1150 2019-07-29 Tom Tromey <tom@tromey.com>
1152 * lib/tuiterm.exp (Term::_csi_@): New proc.
1153 (Term::_csi_X): Don't move cursor.
1155 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1157 * gdb.base/options.exp: Update backtrace - completion to
1158 new option -frame-info.
1159 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1160 Test new 'set print frame-info'. Test backtrace -frame-info
1161 overriding 'set print frame-info'.
1162 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1163 Test new 'set print frame-info'.
1164 Verify consistency of backtrace with and without filters, with and
1165 without -no-filters.
1166 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1169 2019-07-29 Tom de Vries <tdevries@suse.de>
1171 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1174 2019-07-29 Tom de Vries <tdevries@suse.de>
1176 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1177 is a substring of the first for "complete non-unique file name".
1179 2019-07-29 Tom de Vries <tdevries@suse.de>
1181 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1184 2019-07-29 Tom de Vries <tdevries@suse.de>
1186 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1187 Pass prompt_regexp parameter to gdb_test_multiple calls.
1189 2019-07-29 Tom de Vries <tdevries@suse.de>
1191 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1192 print registers" regexps.
1194 2019-07-29 Tom de Vries <tdevries@suse.de>
1196 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1198 2019-07-29 Tom de Vries <tdevries@suse.de>
1201 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1202 (skip_python_tests_prompt): Add prompt_regexp argument to
1203 gdb_test_multiple calls.
1205 2019-07-27 Tom Tromey <tom@tromey.com>
1207 * gdb.tui/main.exp: New file.
1209 2019-07-27 Tom Tromey <tom@tromey.com>
1211 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1213 * gdb.tui/empty.exp: New file.
1215 2019-07-27 Tom Tromey <tom@tromey.com>
1217 * lib/tuiterm.exp (spawn): New proc.
1218 (Term::resize): New proc.
1219 * gdb.tui/resize.exp: New file.
1221 2019-07-27 Tom Tromey <tom@tromey.com>
1223 * gdb.tui/list.exp: New file.
1225 2019-07-27 Tom Tromey <tom@tromey.com>
1227 * gdb.tui/regs.exp: New file.
1229 2019-07-27 Tom Tromey <tom@tromey.com>
1231 * gdb.tui/basic.exp: Add "layout split" test.
1233 2019-07-27 Tom Tromey <tom@tromey.com>
1235 * gdb.tui/basic.exp: Add "layout asm" test.
1237 2019-07-27 Tom Tromey <tom@tromey.com>
1239 * lib/tuiterm.exp: New file.
1240 * gdb.tui/basic.exp: New file.
1242 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1244 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1245 Enable tests associated with this flag. Adjust regex
1246 referencing "foo_low" to now refer to "foo_cold" instead.
1248 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1250 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1251 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1252 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1253 foo_cold. Revise comments to match.
1254 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1255 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1256 were wrapped into this proc; Call do_test in loop from outermost
1258 (foo_low): Rename all occurrences to "foo_cold".
1259 (backtrace from baz): New test.
1260 (x2/i foo_cold): New test.
1261 (info line *foo_cold): New test.
1263 2019-07-26 Tom de Vries <tdevries@suse.de>
1265 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1267 2019-07-25 Tom de Vries <tdevries@suse.de>
1270 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1271 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1272 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1273 (skip_libstdcxx_probe_tests): ... here.
1274 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1276 2019-07-24 Tom de Vries <tdevries@suse.de>
1279 * gdb.objc/basicclass.m: Include stdio.h.
1280 * gdb.objc/nondebug.m: Same.
1281 * gdb.objc/objcdecode.m: Same.
1283 2019-07-24 Tom de Vries <tdevries@suse.de>
1286 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1289 2019-07-24 Tom de Vries <tdevries@suse.de>
1292 * gdb.multi/tids.exp: Update error messages for info threads.
1294 2019-07-24 Tom de Vries <tdevries@suse.de>
1296 * gdb.base/info-types.exp: Allow info types to print info for more than
1299 2019-07-23 Tom de Vries <tdevries@suse.de>
1302 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1303 gdb_spawn_with_cmdline_opts.
1305 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1307 * gdb.arch/arm-cmse-sgstubs.c: New test.
1308 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1310 2019-07-23 Tom de Vries <tdevries@suse.de>
1313 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1314 issuing next command.
1316 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1318 * gdb.ada/info_auto_lang.exp: Update expected results.
1319 * gdb.base/info-types.c: Add additional types to check.
1320 * gdb.base/info-types.exp: Update expected results.
1322 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1324 * gdb.base/info-types.c: New file.
1325 * gdb.base/info-types.exp: New file.
1327 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1329 * gdb.arch/riscv-bp-infcall.c: New file.
1330 * gdb.arch/riscv-bp-infcall.exp: New file.
1332 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1334 PR breakpoints/24541
1335 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1337 2019-07-14 Tom de Vries <tdevries@suse.de>
1340 * gdb.objc/basicclass.exp: Fix unterminated string.
1342 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1343 Andrew Burgess <andrew.burgess@embecosm.com>
1345 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1346 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1348 * gdb.fortran/vla-value.exp: Print elements of an array with
1350 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1353 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1355 * gdb.base/options.exp (expect_string): Dequote strings in
1357 (test-string): Test strings with different quoting and reindent.
1359 2019-07-10 Tom Tromey <tromey@adacore.com>
1361 * gdb.ada/mi_ex_cond.exp: Update expected results.
1362 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1363 * gdb.ada/mi_catch_ex.exp: Update expected results.
1364 * gdb.ada/mi_catch_assert.exp: Update expected results.
1365 * gdb.ada/catch_ex.exp (catch_exception_info)
1366 (catch_exception_entry, catch_assert_entry)
1367 (catch_unhandled_entry): Update.
1368 * gdb.ada/catch_assert_if.exp: Update expected results.
1370 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1371 Stephen Roberts <stephen.roberts@arm.com>
1373 * gdb.base/define.exp: Restore original prompt.
1375 2019-07-09 Pedro Alves <palves@redhat.com>
1377 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1378 breakpoints" output.
1379 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1380 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1381 throw" creates breakpoint.
1382 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1383 'type="catchpoint"'.
1385 2019-07-09 Pedro Alves <palves@redhat.com>
1388 * gdb.cp/except-multi-location-lib.cc: New.
1389 * gdb.cp/except-multi-location-main.cc: New.
1390 * gdb.cp/except-multi-location.exp: New.
1392 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1394 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1395 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1396 argument and update callers.
1398 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1400 * gdb.arch/amd64-break-on-asm-line.S: New file.
1401 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1403 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1405 * gdb.base/printcmds.exp: Test printing C string and
1406 C wide string convenience vars without transiting via the inferior.
1407 Also make test names unique.
1409 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1411 PR breakpoints/25011
1412 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1414 2019-07-04 Pedro Alves <palves@redhat.com>
1416 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1417 body returned ok(0), break(3) or continue(4).
1418 * gdb.testsuite/foreach_with_prefix.exp: New file.
1420 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1422 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1424 2019-07-03 Pedro Alves <palves@redhat.com>
1426 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1429 2019-07-03 Pedro Alves <palves@redhat.com>
1432 * gdb.base/shell.exp: Load completion-support.exp.
1433 Adjust expected error output. Add completion tests.
1435 2019-07-03 Pedro Alves <palves@redhat.com>
1437 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1440 2019-07-03 Pedro Alves <palves@redhat.com>
1442 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1443 (expect_integer): Adjust to expect "-string".
1444 (expect_string): New.
1445 (all_options): Expect "-string".
1446 (test-flag, test-boolean): Adjust to expect "-string".
1447 (test-string): New proc.
1448 (top level): Call it.
1450 2019-07-03 Pedro Alves <palves@redhat.com>
1452 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1453 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1454 the expected output in the success.
1456 2019-07-03 Pedro Alves <palves@redhat.com>
1458 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1459 Split one gdb_test_multiple call in two to avoid a race.
1461 2019-07-03 Pedro Alves <palves@redhat.com>
1463 * gdb.base/with.c: New file.
1464 * gdb.base/with.exp: New file.
1466 2019-07-03 Pedro Alves <palves@redhat.com>
1468 * gdb.base/settings.exp: Replace all references to "maint
1469 test-settings set" with references to "maint set test-settings",
1470 and all references to "maint test-settings show" with references
1471 to "maint show test-settings".
1473 2019-07-03 Pedro Alves <palves@redhat.com>
1475 * gdb.base/settings.exp (test-string): Adjust expected out when
1476 testing "maint test-settings show filename"
1478 2019-07-02 Pedro Alves <palves@redhat.com>
1480 * gdb.base/options.exp (test-info-threads): New procedure.
1481 (top level): Call it.
1483 2019-06-28 Tom Tromey <tromey@adacore.com>
1485 * gdb.dwarf2/ada-linkage-name.c: New file.
1486 * gdb.dwarf2/ada-linkage-name.exp: New file.
1488 2019-06-27 Tom Tromey <tromey@adacore.com>
1491 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1493 2019-06-26 Tom de Vries <tdevries@suse.de>
1495 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1497 2019-06-26 Tom de Vries <tdevries@suse.de>
1499 * gdb.base/index-cache.exp: Add back missing debug option.
1501 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1503 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1505 2019-06-25 Tom de Vries <tdevries@suse.de>
1508 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1510 2019-06-24 Tom de Vries <tdevries@suse.de>
1512 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1514 2019-06-24 Tom de Vries <tdevries@suse.de>
1516 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1517 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1518 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1520 2019-06-24 Tom de Vries <tdevries@suse.de>
1522 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1524 2019-06-21 Tom de Vries <tdevries@suse.de>
1526 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1528 2019-06-21 Tom de Vries <tdevries@suse.de>
1532 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1535 2019-06-19 Tom Tromey <tromey@adacore.com>
1537 * gdb.ada/length_cond.exp: Add intro comment.
1539 2019-06-19 Tom Tromey <tromey@adacore.com>
1541 * gdb.ada/length_cond.exp: New file.
1542 * gdb.ada/length_cond/length_cond.adb: New file.
1543 * gdb.ada/length_cond/pck.adb: New file.
1544 * gdb.ada/length_cond/pck.ads: New file.
1546 2019-06-18 Tom de Vries <tdevries@suse.de>
1548 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1550 2019-06-18 Tom Tromey <tromey@adacore.com>
1552 * gdb.base/list0.h: Add comment explaining control character.
1554 2019-06-18 Tom de Vries <tdevries@suse.de>
1556 * boards/fission.exp: Break up long debug_flags line.
1558 2019-06-16 Tom de Vries <tdevries@suse.de>
1561 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1564 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1567 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1568 improve detection of bug gdb/24541.
1570 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1573 * gdb.base/index-cache.exp (uses_readnow,
1574 expecting_index_cache_use): Define global variable.
1575 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1576 expecting_index_cache_use.
1578 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1579 Andrew Burgess <andrew.burgess@embecosm.com>
1581 * gdb.fortran/pointers.f90: New file.
1582 * gdb.fortran/print_type.exp: New file.
1583 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1584 * gdb.fortran/vla-type.exp: Likewise.
1585 * gdb.fortran/vla-value.exp: Likewise.
1586 * gdb.mi/mi-vla-fortran.exp: Likewise.
1588 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1590 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1591 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1592 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1595 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1597 * gdb.base/annota1.exp: Update expected results.
1598 * gdb.cp/annota2.exp: Likewise.
1599 * gdb.cp/annota3.exp: Likewise.
1601 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1603 * gdb.base/style-logging.exp: Remove path from test name.
1605 2019-06-14 Tom Tromey <tromey@adacore.com>
1608 * gdb.base/style-logging.exp: New file.
1610 2019-06-14 Tom Tromey <tromey@adacore.com>
1612 * gdb.base/symfile-warn.exp: New file.
1613 * gdb.base/symfile-warn.c: New file.
1615 2019-06-14 Tom Tromey <tromey@adacore.com>
1617 * gdb.base/annotate-symlink.exp: New file.
1619 2019-06-14 Tom Tromey <tromey@adacore.com>
1621 * gdb.ada/set_wstr.exp: Add reassignment test.
1623 2019-06-14 Tom Tromey <tromey@adacore.com>
1625 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1626 'unchecked_access and 'unrestricted_access as well.
1628 2019-06-14 Tom Tromey <tromey@adacore.com>
1631 * gdb.ada/vla.exp: Update tests.
1632 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1635 2019-06-13 Pedro Alves <palves@redhat.com>
1637 * gdb.base/settings.exp (test-integer): Test junk after
1640 2019-06-13 Pedro Alves <palves@redhat.com>
1642 * gdb.base/options.exp (test-thread-apply): New.
1643 (top level): Call it.
1645 2019-06-13 Pedro Alves <palves@redhat.com>
1647 * gdb.base/options.exp (test-frame-apply): New.
1648 (top level): Test print commands with different "frame apply"
1651 2019-06-13 Pedro Alves <palves@redhat.com>
1653 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1654 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1655 'max_completions' parameter and handle it.
1656 (test_gdb_completion_offers_commands): New.
1658 2019-06-13 Pedro Alves <palves@redhat.com>
1660 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1662 2019-06-13 Pedro Alves <palves@redhat.com>
1664 * gdb.base/options.exp (test-backtrace): New.
1665 (top level): Call it.
1667 2019-06-13 Pedro Alves <palves@redhat.com>
1669 * gdb.guile/scm-frame-args.exp: Use "set print
1670 raw-frame-arguments" instead of "set print raw frame-arguments".
1671 * gdb.python/py-frame-args.exp: Likewise.
1673 2019-06-13 Pedro Alves <palves@redhat.com>
1675 * gdb.compile/compile.exp: Adjust expected output to option
1678 2019-06-13 Pedro Alves <palves@redhat.com>
1680 * gdb.base/options.exp: Build executable.
1681 (test-print): New procedure.
1682 (top level): Call it, once for "print" and another for "compile
1685 2019-06-13 Pedro Alves <palves@redhat.com>
1687 * gdb.base/options.c: New file.
1688 * gdb.base/options.exp: New file.
1690 2019-06-13 Pedro Alves <palves@redhat.com>
1692 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1693 that "o" is ambiguous.
1695 2019-06-13 Pedro Alves <palves@redhat.com>
1697 * gdb.base/settings.c: New file.
1698 * gdb.base/settings.exp: New file.
1700 2019-06-13 Pedro Alves <palves@redhat.com>
1702 * gdb.base/completion.exp: Fix comment typo.
1704 2019-06-13 Pedro Alves <palves@redhat.com>
1706 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1709 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1711 * gdb.fortran/block-data.f: New.
1712 * gdb.fortran/block-data.exp: New.
1714 2019-06-11 Tom de Vries <tdevries@suse.de>
1717 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1720 2019-06-11 Tom de Vries <tdevries@suse.de>
1723 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1725 2019-06-11 Tom de Vries <tdevries@suse.de>
1727 * boards/readnow.exp: New file.
1729 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1731 * gdb.fortran/vla-sizeof.exp: Update expected results.
1733 2019-06-06 Amos Bird <amosbird@gmail.com>
1735 * gdb.base/annota1.exp (thread_switch): Add test for
1736 thread-exited annotation.
1738 2019-06-06 Tom Tromey <tromey@adacore.com>
1740 * gdb.base/maint.exp: Expect command started/finished output.
1742 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1744 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1746 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1748 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1750 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1751 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1752 * gdb.arch/riscv-unwind-long-insn.c: New file.
1753 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1755 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1757 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1759 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1761 * lib/gdb.exp (help_list_trailer): New regexp variable
1762 factorizing the help trailer message.
1763 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1764 arg to allow to better factorize various tests.
1765 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1766 (test_prefix_command_help): Use help_list_trailer.
1767 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1768 * gdb.guile/scm-cmd.exp: Likewise.
1769 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1770 * gdb.base/help.exp: Use test_user_defined_class_help.
1771 * gdb.base/style.exp: Add tests for styling of help and apropos.
1772 * lib/gdb-utils.exp (style): Add title and highlight styles.
1774 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1776 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1778 * gdb.base/default.exp: Update for new convenience variables.
1780 2019-05-29 Tom Tromey <tromey@adacore.com>
1782 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1783 to "break complete ada" test case's regexp.
1785 2019-05-29 Tom Tromey <tromey@adacore.com>
1788 * gdb.cp/constexpr-field.exp: New file.
1789 * gdb.cp/constexpr-field.cc: New file.
1791 2019-05-29 Tom Tromey <tromey@adacore.com>
1793 * gdb.base/finish.exp (finish_no_print): New proc.
1794 (finish_tests): Call it.
1796 2019-05-24 Tom de Vries <tdevries@suse.de>
1798 * gdb.dwarf2/gdb-add-index.exp: New file.
1800 2019-05-22 Tom Tromey <tromey@adacore.com>
1802 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1803 * gdb.base/style.exp: Use "style".
1804 * lib/gdb-utils.exp (style): New proc.
1806 2019-05-22 Tom de Vries <tdevries@suse.de>
1808 * gdb.base/align.exp: Require c++11.
1810 2019-05-22 Tom de Vries <tdevries@suse.de>
1813 * gdb.python/py-mi-var-info-path-expression.exp: Call
1814 mi_skip_python_tests to check if python is supported.
1816 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1818 * gdb.arch/aarch64-pauth.c: New test.
1819 * gdb.arch/aarch64-pauth.exp: New file.
1821 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1823 * README (Re-running Tests Outside The Testsuite): New section.
1825 2019-05-21 Tom de Vries <tdevries@suse.de>
1827 * gdb.arch/amd64-eval.exp: Require c++11.
1828 * gdb.base/max-depth.exp: Same.
1829 * gdb.compile/compile-cplus-array-decay.exp: Same.
1830 * gdb.cp/meth-typedefs.exp: Same.
1831 * gdb.cp/subtypes.exp: Same.
1832 * gdb.cp/temargs.exp: Same.
1834 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1836 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1838 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1841 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1842 * gdb.fortran/printing-types.exp: Add new test.
1843 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1845 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1848 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1850 * README (Running the Testsuite): Change example.
1851 (Testsuite Parameters): Remove TRANSCRIPT.
1852 * lib/gdb.exp: Remove TRANSCRIPT check.
1854 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1856 * README (Testsuite Parameters): Add replay logging to
1858 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1859 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1860 as a comma separated list.
1861 (gdb_debug_init): Override procedure.
1863 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1865 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1866 (gdb_write_cmd_file): New procedure.
1867 * lib/gdbserver-support.exp (gdbserver_start): Call
1868 gdbserver_write_cmd_file.
1869 (gdbserver_write_cmd_file): New procedure.
1871 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1873 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1874 (delete_breakpoints): Likewise.
1875 (gdb_run_cmd): Likewise.
1876 (gdb_start_cmd): Likewise.
1877 (gdb_starti_cmd): Likewise.
1878 (gdb_internal_error_resync): Likewise.
1879 (gdb_test_multiple): Likewise.
1880 (gdb_reinitialize_dir): Likewise.
1881 (default_gdb_exit): Likewise.
1882 (gdb_file_cmd): Mark kill as optional.
1883 (default_gdb_start): Call gdb_stdin_log_init.
1884 (send_gdb): Call gdb_stdin_log_write.
1885 (rerun_to_main): Mark Y as an answer.
1886 (gdb_stdin_log_init): New function.
1887 (gdb_stdin_log_write): Likewise.
1889 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1891 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1892 * gdb.base/debug-expr.exp: Likewise.
1893 * gdb.base/foll-fork.exp: Likewise.
1894 * gdb.base/foll-vfork.exp: Likewise.
1895 * gdb.base/fork-print-inferior-events.exp: Likewise.
1896 * gdb.base/gdb-sigterm.exp: Likewise.
1897 * gdb.base/gdbinit-history.exp: Likewise.
1898 * gdb.base/osabi.exp: Likewise.
1899 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1900 * gdb.base/ui-redirect.exp: Likewise.
1901 * gdb.gdb/unittest.exp: Likewise.
1902 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1903 * gdb.mi/mi-watch.exp: Likewise.
1904 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1905 * gdb.mi/user-selected-context-sync.exp: Likewise.
1906 * gdb.python/python.exp: Disable debug test when debugging.
1907 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1908 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1910 * gdb.threads/stepi-random-signal.exp: Likewise.
1912 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1914 * Makefile.in: Pass through GDB_DEBUG.
1915 * README (Testsuite Parameters): Add GDB_DEBUG.
1916 (gdb,debug): Add board setting.
1917 * lib/gdb.exp (default_gdb_start): Start debugging.
1918 (gdb_debug_enabled): New procedure.
1919 (gdb_debug_init): Likewise.
1921 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1923 * Makefile.in: Pass through GDB_DEBUG.
1924 * README (Testsuite Parameters): Add GDB_DEBUG.
1925 (gdb,debug): Add board setting.
1926 * lib/gdb.exp (default_gdb_start): Start debugging.
1927 (gdb_debug_enabled): New procedure.
1928 (gdb_debug_init): Likewise.
1930 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1932 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1934 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1936 * gdb.base/ui-redirect.exp: Test redirection.
1938 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1940 * gdb.mi/mi-complete.exp: New file.
1941 * gdb.mi/mi-complete.cc: Likewise.
1943 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1945 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1946 indexed and sliced arrays, and pointers to arrays.
1948 2019-05-14 Tom Tromey <tromey@adacore.com>
1950 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1953 2019-05-14 Tom de Vries <tdevries@suse.de>
1955 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1956 selection entry encoding.
1958 2019-05-10 Tom Tromey <tromey@adacore.com>
1960 * gdb.ada/info_exc.exp: Add "complete" test.
1962 2019-05-09 Tom de Vries <tdevries@suse.de>
1964 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1967 2019-05-09 Tom de Vries <tdevries@suse.de>
1969 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1972 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1974 * gdb.ada/frame_arg_lang.exp: New testcase.
1975 * gdb.ada/frame_arg_lang/bla.adb: New file.
1976 * gdb.ada/frame_arg_lang/pck.ads: New file.
1977 * gdb.ada/frame_arg_lang/pck.adb: New file.
1978 * gdb.ada/frame_arg_lang/foo.c: New file.
1980 2019-05-08 Tom Tromey <tromey@adacore.com>
1982 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1984 2019-05-08 Tom Tromey <tromey@adacore.com>
1986 * gdb.base/ptype-offsets.exp: Update tests.
1988 2019-05-08 Tom Tromey <tromey@adacore.com>
1990 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1992 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1995 2019-05-08 Tom Tromey <tromey@adacore.com>
1997 * gdb.ada/vla.exp: New file.
1998 * gdb.ada/vla/vla.adb: New file.
2000 2019-05-07 Tom de Vries <tdevries@suse.de>
2002 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2004 2019-05-07 Tom de Vries <tdevries@suse.de>
2007 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2010 2019-05-07 Tom de Vries <tdevries@suse.de>
2013 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2014 .debug_aranges section.
2016 2019-05-07 Tom de Vries <tdevries@suse.de>
2019 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2021 2019-05-06 Tom de Vries <tdevries@suse.de>
2023 * lib/gdb.exp (exec_has_index_section): New proc.
2024 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2027 2019-05-04 Tom de Vries <tdevries@suse.de>
2029 * boards/cc-with-debug-names.exp: New file.
2031 2019-05-03 Tom Tromey <tromey@adacore.com>
2033 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2034 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2035 * gdb.ada/char_enum.exp: Add test.
2037 2019-05-03 Tom de Vries <tdevries@suse.de>
2039 * boards/cc-with-gdb-index.exp: New file.
2041 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2043 * gdb.rust/simple.exp: Add new test case.
2044 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2045 (main): Initialise an instance of the new struct.
2047 2019-05-01 Tom Tromey <tromey@adacore.com>
2049 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2051 (NPR): New variable.
2052 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2055 2019-05-01 Tom Tromey <tromey@adacore.com>
2057 * gdb.ada/packed_array_assign.exp: Add packed assignment
2060 2019-05-01 Tom de Vries <tdevries@suse.de>
2062 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2064 2019-05-01 Tom de Vries <tdevries@suse.de>
2066 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2068 2019-04-30 Ali Tamur <tamur@google.com>
2070 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2072 2019-04-30 Tom Tromey <tromey@adacore.com>
2074 * lib/ada.exp (find_ada_tool): New proc.
2075 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2076 * gdb.ada/catch_ex_std.exp: New file.
2077 * gdb.ada/catch_ex_std/foo.adb: New file.
2078 * gdb.ada/catch_ex_std/some_package.adb: New file.
2079 * gdb.ada/catch_ex_std/some_package.ads: New file.
2081 2019-04-30 Tom Tromey <tromey@adacore.com>
2084 * gdb.cp/temargs.cc: Add test code from PR.
2086 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2088 * gdb.fortran/vla-datatypes.exp: Update expected results.
2089 * gdb.fortran/vla-ptype.exp: Likewise.
2090 * gdb.fortran/vla-type.exp: Likewise.
2091 * gdb.fortran/vla-value.exp: Likewise.
2093 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2095 * gdb.fortran/ptr-indentation.exp: Update expected results.
2096 * gdb.fortran/ptype-on-functions.exp: Likewise.
2097 * gdb.fortran/vla-ptr-info.exp: Likewise.
2098 * gdb.fortran/vla-value.exp: Likewise.
2100 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2102 * gdb.fortran/ptype-on-functions.exp: New file.
2103 * gdb.fortran/ptype-on-functions.f90: New file.
2105 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2107 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2110 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2112 * gdb.fortran/complex.exp: Expand.
2113 * gdb.fortran/complex.f: Renamed to...
2114 * gdb.fortran/complex.f90: ...this, and extended to add more
2117 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2119 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2122 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2123 Richard Bunt <richard.bunt@arm.com>
2125 * gdb.base/max-depth.c: New file.
2126 * gdb.base/max-depth.exp: New file.
2127 * gdb.python/py-nested-maps.c: New file.
2128 * gdb.python/py-nested-maps.exp: New file.
2129 * gdb.python/py-nested-maps.py: New file.
2130 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2131 (test_all_common): Call test_max_depth.
2132 * gdb.fortran/max-depth.exp: New file.
2133 * gdb.fortran/max-depth.f90: New file.
2134 * gdb.go/max-depth.exp: New file.
2135 * gdb.go/max-depth.go: New file.
2136 * gdb.modula2/max-depth.exp: New file.
2137 * gdb.modula2/max-depth.c: New file.
2138 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2140 2019-04-29 Tom de Vries <tdevries@suse.de>
2142 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2144 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2146 * gdb.base/callexit.exp: Test may-call-functions off.
2148 2019-04-25 Keith Seitz <keiths@redhat.com>
2151 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2152 (another_incomplete_struct, test_incomplete): New definitions.
2153 (main): Use new definitions.
2154 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2157 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2161 * gdb.base/coredump-filter-build-id.exp: New file.
2163 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2165 * Makefile.in: Pass through GDBSERVER_DEBUG.
2166 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2167 (gdbserver,debug): Add board setting.
2168 * gdb.trace/tspeed.exp: Skip when debugging.
2169 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2170 * lib/gdbserver-support.exp: Likewise
2172 2019-04-24 Tom Tromey <tromey@adacore.com>
2174 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2177 2019-04-24 Tom Tromey <tromey@adacore.com>
2179 * gdb.arch/amd64-eval.exp: Test bitfield return.
2180 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2181 (class Foo) <return_bitfields>: New method.
2184 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2186 * gdb.cp/many-args.cc: New file.
2187 * gdb.cp/many-args.exp: New file.
2189 2019-04-23 Tom de Vries <tdevries@suse.de>
2192 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2194 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2196 * gdb.trace/backtrace.exp: Use nopie flag.
2197 * gdb.trace/circ.exp: Likewise.
2198 * gdb.trace/collection.exp: Likewise.
2199 * gdb.trace/ftrace.exp: Likewise.
2200 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2201 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2202 * gdb.trace/qtro.exp: Likewise.
2203 * gdb.trace/read-memory.exp: Likewise.
2204 * gdb.trace/report.exp: Likewise.
2205 * gdb.trace/tfile.exp: Likewise.
2206 * gdb.trace/tfind.exp: Likewise.
2207 * gdb.trace/unavailable.exp: Likewise.
2209 2019-04-22 Pedro Alves <palves@redhat.com>
2211 * gdb.base/solib-probes-nosharedlibrary.c,
2212 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2214 2019-04-19 Tom Tromey <tromey@adacore.com>
2216 * gdb.ada/ptype_union.c: New file.
2217 * gdb.ada/ptype_union.exp: New file.
2219 2019-04-19 Tom Tromey <tromey@adacore.com>
2222 * gdb.base/list0.h (foo): Add a control-l character.
2224 2019-04-18 Tom de Vries <tdevries@suse.de>
2227 * boards/local-board.exp: Set sysroot to "".
2229 2019-04-18 Tom de Vries <tdevries@suse.de>
2230 Pedro Alves <palves@redhat.com>
2233 * gdb.threads/vfork-follow-child-exec.c: New file.
2234 * gdb.threads/vfork-follow-child-exec.exp: New file.
2235 * gdb.threads/vfork-follow-child-exit.c: New file.
2236 * gdb.threads/vfork-follow-child-exit.exp: New file.
2238 2019-04-15 Leszek Swirski <leszeks@google.com>
2240 * gdb.arch/amd64-eval.cc: New file.
2241 * gdb.arch/amd64-eval.exp: New file.
2243 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2245 * gdb.server/sysroot.c: New test.
2246 * gdb.server/sysroot.exp: New file.
2247 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2250 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2252 * gdb.base/align.exp: Extend test to cover structures containing
2255 2019-04-11 Tom de Vries <tdevries@suse.de>
2257 * boards/cc-with-dwz-m.exp: New file.
2258 * boards/cc-with-dwz.exp: New file.
2259 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2261 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2263 * gdb.base/start-cpp.exp: New file.
2264 * gdb.base/start-cpp.cc: New file.
2266 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2268 * gdb.python/py-thrhandle.exp: Adjust tests to call
2269 thread_from_handle instead of thread_from_thread_handle.
2271 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2273 * gdb.python/py-thrhandle.exp: Add tests for
2274 gdb.InferiorThread.handle.
2276 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2278 * gdb.python/py-function.exp: Check calling helper function from
2280 * lib/gdb.exp (gdb_supported_languages): New proc.
2282 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2284 * gdb.base/complex-parts.c: New file.
2285 * gdb.base/complex-parts.exp: New file.
2287 2019-04-01 Tom Tromey <tromey@adacore.com>
2290 * gdb.dwarf2/dw2-ranges-main.c: New file.
2291 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2292 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2294 2019-03-30 Simon Marchi <simark@simark.ca>
2296 * gdb.base/default.exp: Add values for $_gdb_major and
2299 2019-03-29 Tom Tromey <tromey@adacore.com>
2301 * gdb.base/help.exp: Tighten apropos regexp.
2303 2019-03-29 Keith Seitz <keiths@redhat.com>
2305 * gdb.fortran/array-bounds.exp: New file.
2306 * gdb.fortran/array-bounds.f90: New file.
2308 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2310 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2312 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2314 * gdb.multi/hello.c (main): Increase alarm timer.
2316 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2318 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2319 factor when no hardware watchpoint support.
2321 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2322 Pedro Alves <palves@redhat.com>
2324 * boards/local-board.exp: set sysroot to /.
2326 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2328 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2331 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2333 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2335 (make_container): Initialise new field.
2336 * gdb.python/py-prettyprint.exp: Add new tests.
2337 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2338 <display_hint>: New method.
2340 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2342 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2343 gdb_continue_to_breakpoint more throughout this test.
2344 (run_lang_tests) Supply unique test names, and use
2347 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2349 * gdb.base/finish-pretty.exp: Update expected results.
2350 * gdb.base/pretty-print.c: New file.
2351 * gdb.base/pretty-print.exp: New file.
2353 2019-03-25 Pedro Alves <palves@redhat.com>
2355 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2356 move comments outside list. Append '-i "" eof' section.
2358 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2361 * README: Add pie options.
2362 * gdb.base/break-interp.exp: Ensure pie is disabled.
2363 * gdb.base/dump.exp: Likewise.
2364 * lib/gdb.exp (gdb_compile): Add pie option.
2366 2019-03-19 Tom Tromey <tromey@adacore.com>
2368 * gdb.mi/mi2-cli-display.c: New file.
2369 * gdb.mi/mi2-cli-display.exp: New file.
2371 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2372 Tom Tromey <tromey@adacore.com>
2374 * gdb.ada/ptype_array/pck.adb: New file.
2375 * gdb.ada/ptype_array/pck.ads: New file.
2376 * gdb.ada/ptype_array/foo.adb: New file.
2377 * gdb.ada/ptype_array.exp: New file.
2379 2019-03-14 Tom Tromey <tromey@adacore.com>
2381 * gdb.base/style.exp: Add "set style sources" test.
2383 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2385 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2386 * mi-breakpoint-multiple-locations.exp: ... this.
2387 (make_breakpoints_pattern): New proc.
2388 (do_test): Add mi_version parameter, test -break-insert,
2389 -break-info and =breakpoint-created.
2391 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2393 * config/default.exp: Remove 'load_lib gdb.exp'.
2394 * config/monitor.exp: Likewise.
2395 * config/sid.exp: Likewise.
2396 * config/sim.exp: Likewise.
2397 * config/slite.exp: Likewise.
2398 * config/unix.exp: Likewise.
2399 * gdb.base/default.exp: Remove unhelpful comment.
2401 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2403 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2405 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2407 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2409 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2411 * gdb.fortran/type-kinds.exp: Update expected results.
2413 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2415 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2417 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2419 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2421 (test_basic_parsing_of_type_kinds): Expand types tested.
2422 (test_parsing_invalid_type_kinds): New function.
2424 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2426 * gdb.fortran/intrinsics.exp: New file.
2427 * gdb.fortran/intrinsics.f90: New file.
2428 * gdb.fortran/type-kinds.exp: New file.
2430 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2432 * gdb.fortran/dot-ops.exp: New file.
2434 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2436 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2437 Check upper and lower case logical literals.
2439 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2441 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2442 Remove duplicate tests.
2444 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2446 * lib/gdb.exp (builtin_cd): rename of cd.
2447 (cd): Override builtin.
2449 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2451 * gdb.fortran/function-calls.exp: New file.
2452 * gdb.fortran/function-calls.f90: New test.
2454 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2456 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2457 on user program standard output.
2458 * gdb.fortran/short-circuit-argument-list.f90: Record function
2461 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2463 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2466 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2469 * gdb.base/interrupt-daemon-attach.c,
2470 gdb.base/interrupt-daemon-attach.exp: New test.
2472 2019-02-27 Pedro Alves <palves@redhat.com>
2474 * gdb.base/page.exp: Add tests for "set width/height -1".
2476 2019-02-27 Pedro Alves <palves@redhat.com>
2478 * gdb.base/page.exp: Add tests for "set/show width/height" with
2481 2019-02-27 Tom Tromey <tromey@adacore.com>
2483 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2485 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2488 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2490 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2491 tests for structs with static members.
2493 2019-02-26 Tom Tromey <tromey@adacore.com>
2495 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2496 ValueError, not TypeError.
2498 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2500 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2501 call from main program.
2503 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2505 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2506 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2507 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2508 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2509 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2511 2019-02-22 Keith Seitz <keiths@redhat.com>
2514 * gdb.base/symlink-sourcefile.c: New file.
2515 * gdb.base/symlink-sourcefile.exp: New file.
2517 2019-02-20 Tom Tromey <tom@tromey.com>
2519 * gdb.base/info_qt.exp: Update.
2521 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2523 * gdb.base/source.exp: Move "error in sourced script" code to
2525 * gdb.base/source-error.gdb: Move contents to
2526 source-error-1.gdb. Add new code to source source-error-1.gdb.
2527 * gdb.base/source-error-1.gdb: New file, from previous
2530 2019-02-17 Tom Tromey <tom@tromey.com>
2532 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2534 * gdb.base/style.c (SOME_MACRO): New macro.
2536 2019-02-17 Tom Tromey <tom@tromey.com>
2538 * gdb.base/style.exp: Add line-wrapping tests.
2539 * gdb.base/page.exp: Add test for quitting during pagination.
2541 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2543 * gdb.ada/big_packed_array: New testcase.
2544 * gdb.ada/homonym.exp: Fix incorrect expected output for
2545 "break <homonym__get_value>" test.
2547 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2549 PR breakpoints/21870
2550 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2551 and prepare_for_testing. Add comment.
2552 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2553 redundant cleanup call. Clean up comment.
2555 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2557 PR breakpoints/21870
2558 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2559 * gdb.arch/aarch64-dbreg-contents.c: New file.
2561 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2563 * gdb.ada/mi_ref_changeable: New testcase.
2565 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2567 * gdb.base/attach.exp: Add double attach test.
2569 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2571 * lib/gdb.exp (default_gdb_start): Don't match pagination
2573 (gdb_init): Set stty_init.
2575 2019-01-27 Tom Tromey <tom@tromey.com>
2577 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2580 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2582 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2584 (struct struct_static_02_02): Likewise.
2585 (struct struct_static_02_03): Likewise.
2586 (struct struct_static_02_04): Likewise.
2587 (struct struct_static_04_01): Likewise.
2588 (struct struct_static_04_02): Likewise.
2589 (struct struct_static_04_03): Likewise.
2590 (struct struct_static_04_04): Likewise.
2591 (struct struct_static_06_01): Likewise.
2592 (struct struct_static_06_02): Likewise.
2593 (struct struct_static_06_03): Likewise.
2594 (struct struct_static_06_04): Likewise.
2595 (cmp_struct_static_02_01): Likewise.
2596 (cmp_struct_static_02_02): Likewise.
2597 (cmp_struct_static_02_03): Likewise.
2598 (cmp_struct_static_02_04): Likewise.
2599 (cmp_struct_static_04_01): Likewise.
2600 (cmp_struct_static_04_02): Likewise.
2601 (cmp_struct_static_04_03): Likewise.
2602 (cmp_struct_static_04_04): Likewise.
2603 (cmp_struct_static_06_01): Likewise.
2604 (cmp_struct_static_06_02): Likewise.
2605 (cmp_struct_static_06_03): Likewise.
2606 (cmp_struct_static_06_04): Likewise.
2607 (call_all): Test new structs.
2608 * gdb.base/infcall-nested-structs.exp: Likewise.
2610 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2611 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2613 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2614 * gdb.base/stack-protector.c: New test.
2615 * gdb.base/stack-protector.exp: New file.
2616 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2617 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2619 (gdb_compile): Remove stack protector for GCC and prevent
2622 2019-01-16 Keith Seitz <keiths@redhat.com>
2625 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2627 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2629 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2631 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2633 * gdb.arch/powerpc-vector-regs.c: New file.
2634 * gdb.arch/powerpc-vector-regs.exp: New file.
2636 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2638 * gdb.arch/altivec-regs.exp: Fix the list passed to
2639 gdb_expect_list when testing "info vector".
2641 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2643 * gdb.base/style.exp: Don't include path in testname.
2645 2019-01-10 Keith Seitz <keiths@redhat.com>
2649 * gdb.dwarf2/multidictionary.exp: New file.
2651 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2653 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2654 (test_gnuv3_style_demangling): ... this.
2655 (test_lucid_style_demangling): Remove.
2656 (test_arm_style_demangling): Remove.
2657 (test_hp_style_demangling): Remove.
2658 (do_tests): Remove calls to the above.
2660 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2662 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2665 2019-01-06 Tom Tromey <tom@tromey.com>
2668 * gdb.dwarf2/typedef-void-finish.exp: New file.
2670 2018-12-28 Tom Tromey <tom@tromey.com>
2671 Simon Marchi <simark@simark.ca>
2673 * gdb.base/jit-exec.exp: New file.
2674 * gdb.base/jit-exec.c: New file.
2675 * gdb.base/jit-execd.c: New file.
2677 2018-12-28 Tom Tromey <tom@tromey.com>
2679 * gdb.base/style.exp: Update test to check for address styling.
2681 2018-12-28 Tom Tromey <tom@tromey.com>
2683 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2686 2018-12-28 Tom Tromey <tom@tromey.com>
2688 * gdb.base/style.exp: Add test for version number styling.
2690 2018-12-28 Tom Tromey <tom@tromey.com>
2692 * gdb.base/style.exp: Add test for print_address_symbolic.
2694 2018-12-28 Tom Tromey <tom@tromey.com>
2696 * gdb.base/style.exp: Add test for breakpoint setting.
2698 2018-12-28 Tom Tromey <tom@tromey.com>
2700 * gdb.base/style.exp: Add test for variable names.
2702 2018-12-28 Tom Tromey <tom@tromey.com>
2704 * gdb.base/style.exp: New file.
2705 * gdb.base/style.c: New file.
2707 2018-12-28 Tom Tromey <tom@tromey.com>
2709 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2711 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2712 the TERM environment variable.
2714 2018-12-27 Tom Tromey <tom@tromey.com>
2716 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2719 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2721 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2722 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2724 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2726 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2727 Filename a.adb changed to bp_fun_addr.adb.
2728 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2730 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2732 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2733 non-PIE executables.
2734 * README: Mention the gdb,nopie_flag board setting.
2735 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2737 * gdb.arch/amd64-entry-value.exp: Likewise.
2738 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2739 * gdb.arch/i386-float.exp: Likewise.
2740 * gdb.arch/i386-signal.exp: Likewise.
2741 * gdb.mi/mi-reg-undefined.exp: Likewise.
2743 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2746 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2748 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2750 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2751 Update order of results accordingly.
2753 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2755 * gdb.base/annota1.exp: Update a test regexp.
2757 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2759 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2761 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2763 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2764 (reuse_time): Initialize to REUSE_TIME_CAP.
2765 (check_rc): New function.
2766 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2767 Check pthread_create rc.
2768 (spawner_thread_func): Check pthread_create and pthread_join rc.
2770 2018-12-08 Pedro Alves <palves@redhat.com>
2772 * gdb.base/list.exp (test_forward_search): Rename to ...
2773 (test_forward_reverse_search): ... this. Also test reverse-search
2774 and the forward-search alias.
2776 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2778 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2779 local timeout variable before return, and remove all local timeout
2781 (gdb_load): Likewise.
2783 2018-12-01 Tom de Vries <tdevries@suse.de>
2785 * gdb.base/gdb-caching-proc.exp: New file.
2787 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2789 * Makefile.in (TIMESTAMP): New variable.
2790 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2792 (check-single-racy): Likewise.
2793 (check/%.exp): Likewise.
2794 (check-racy/%.exp): Likewise.
2795 (workers/%.worker): Likewise.
2796 (build-perf): Likewise.
2797 (check-perf): Likewise.
2798 * README: Describe new "TS" and "TS_FORMAT" variables.
2799 * print-ts.py: New file.
2801 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2804 * gdb.python/python.exp: Test command repetition after
2807 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2809 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2810 is correctly aligned.
2812 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2814 * gdb.ada/info_auto_lang.exp: New testcase.
2815 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2816 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2817 * gdb.ada/info_auto_lang/some_c.c: New file.
2819 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2821 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2822 FUNC_lang language syntax.
2824 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2826 * gdb.base/info_minsym.c: New file.
2827 * gdb.base/info_minsym.exp: New file.
2829 2018-11-19 Tom Tromey <tom@tromey.com>
2832 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2833 * gdb.rust/expr.exp: Update expected output. Change one test.
2835 2018-11-19 Tom Tromey <tom@tromey.com>
2837 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2839 2018-11-19 Pedro Alves <palves@redhat.com>
2841 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2842 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2843 see the expected warning.
2845 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2848 * gdb.cp/infcall-nodebug-lib.c: New test.
2849 * gdb.cp/infcall-nodebug-main.c: New test.
2850 * gdb.cp/infcall-nodebug.exp: New file.
2852 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2854 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2857 2018-11-09 Tom de Vries <tdevries@suse.de>
2859 * gdb.base/msym-lang.c: New test.
2860 * gdb.base/msym-lang.exp: New file.
2861 * gdb.base/msym-lang-main.c: New test.
2863 2018-11-08 Tom Tromey <tom@tromey.com>
2867 * gdb.base/warning.exp: New file.
2869 2018-11-08 Jan Beulich <jbeulich@suse.com>
2871 * testsuite/gdb.arch/i386-avx512.c,
2872 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2874 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2876 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2879 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2881 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2882 * gdb.dwarf2/missing-type-name.exp: New file.
2884 2018-11-06 Tom de Vries <tdevries@suse.de>
2886 * gdb.base/many-headers.c: New test.
2887 * gdb.base/many-headers.exp: New file.
2889 2018-11-06 Jim Wilson <jimw@sifive.com>
2891 * gdb.base/code_elim.exp: For riscv, set additional_flags
2892 to include -msmall-data-limit=0.
2894 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2896 * gdb.ada/watch_minus_l: New testcase.
2898 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2900 * gdb.arch/aix-sighandle.c: New file.
2901 * gdb.arch/aix-sighandle.exp: New file.
2903 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2905 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2906 registers being unions.
2908 2018-10-31 Tom de Vries <tdevries@suse.de>
2910 * lib/valgrind.exp: New file.
2911 (vgdb_start, vgdb_stop): New procs, factored out of ...
2912 * gdb.base/valgrind-bt.exp: ... here, ...
2913 * gdb.base/valgrind-disp-step.exp: ... here and ...
2914 * gdb.base/valgrind-infcall.exp: ... here.
2916 2018-10-31 Tom de Vries <tdevries@suse.de>
2918 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2920 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2922 * gdb.dwarf2/void-type.c: New file.
2923 * gdb.dwarf2/void-type.exp: New file.
2925 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2927 * gdb.base/info_qt.c: New file.
2928 * gdb.base/info_qt.exp: New file.
2930 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2932 * gdb.arch/powerpc-htm-regs.c: New file.
2933 * gdb.arch/powerpc-htm-regs.exp: New file.
2935 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2937 * gdb.arch/powerpc-tar.c: New file.
2938 * gdb.arch/powerpc-tar.exp: New file.
2940 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2942 * gdb.arch/powerpc-ppr-dscr.c: New file.
2943 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2945 2018-10-25 Tom de Vries <tdevries@suse.de>
2947 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2949 2018-10-24 Tom de Vries <tdevries@suse.de>
2951 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2952 longer exists error.
2954 2018-10-24 Tom de Vries <tdevries@suse.de>
2956 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2958 2018-10-24 Tom de Vries <tdevries@suse.de>
2960 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2961 --db-attach in valgrind.
2963 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2965 * gdb.arch/riscv-reg-aliases.c: New file.
2966 * gdb.arch/riscv-reg-aliases.exp: New file.
2968 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2970 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2972 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2974 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2976 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2978 * gdb.cp/ovldbreak.exp: Fix regexps.
2980 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2982 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2984 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2987 * gdb.base/restore.exp: New test to check if "restore" with an
2988 invalid file doesn't segfault.
2990 2018-10-18 Tom de Vries <tdevries@suse.de>
2992 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2993 * gdb.ada/excep_handle.exp: Same.
2994 * gdb.ada/mi_string_access.exp: Same.
2995 * gdb.ada/mi_var_union.exp: Same.
2996 * gdb.arch/arc-analyze-prologue.exp: Same.
2997 * gdb.arch/arc-decode-insn.exp: Same.
2998 * gdb.base/readnever.exp: Same.
2999 * gdb.fortran/printing-types.exp: Same.
3000 * gdb.guile/scm-lazy-string.exp: Same.
3002 2018-10-16 Tom de Vries <tdevries@suse.de>
3005 * gdb.base/catch-follow-exec.c: Add copyright notice.
3006 * gdb.base/catch-follow-exec.exp: Rewrite to use
3007 gdb_spawn_with_cmdline_opts. Require gdb-native.
3009 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3011 * gdb.trace/actions-changed.exp: Check for arch support.
3012 * gdb.trace/actions.exp: Likewise.
3013 * gdb.trace/ax.exp: Likewise.
3014 * gdb.trace/backtrace.exp: Likewise.
3015 * gdb.trace/change-loc.exp: Likewise.
3016 * gdb.trace/deltrace.exp: Likewise.
3017 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3018 * gdb.trace/ftrace.exp: Likewise.
3019 * gdb.trace/infotrace.exp: Check for arch support.
3020 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3021 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3022 * gdb.trace/mi-tsv-changed.exp: Likewise.
3023 * gdb.trace/packetlen.exp: Likewise.
3024 * gdb.trace/passc-dyn.exp: Likewise.
3025 * gdb.trace/passcount.exp: Likewise.
3026 * gdb.trace/pending.exp: Likewise.
3027 * gdb.trace/range-stepping.exp: Check for shlib support.
3028 * gdb.trace/report.exp: Check for arch support.
3029 * gdb.trace/save-trace.exp: Likewise.
3030 * gdb.trace/signal.exp: Check for signal support.
3031 * gdb.trace/tfind.exp: Check for arch support.
3032 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3033 * gdb.trace/trace-common.h: Add comment.
3034 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3035 * gdb.trace/trace-enable-disable.exp: Likewise.
3036 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3037 * gdb.trace/tracecmd.exp: Check for arch support.
3038 * gdb.trace/tspeed.exp: Check for shlib and target support.
3039 * gdb.trace/tstatus.exp: Check for arch support.
3040 * gdb.trace/tsv.exp: Likewise.
3041 * gdb.trace/while-dyn.exp: Likewise.
3042 * gdb.trace/while-stepping.exp: Likewise.
3043 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3045 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3047 * gdb.trace/tspeed.exp: Remove nowarnings.
3048 (prepare_for_trace_test): Declare "global ipalib".
3049 * gdb.trace/tspeed.c: Include unistd.h.
3050 (main): Remove superfluous printf argument.
3052 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3054 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3055 directory prefix on the filename.
3057 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3059 * gdb.gdb/unittest.exp: Update expected message informing that
3060 selftests have been disabled.
3061 * gdb.server/unittest.exp: Likewise.
3063 2018-10-09 Tom de Vries <tdevries@suse.de>
3065 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3068 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3071 * gdb.cp/virtbase2.cc: New file.
3072 * gdb.cp/virtbase2.exp: New file.
3074 2018-10-06 Tom Tromey <tom@tromey.com>
3077 * gdb.python/py-inferior.exp: Add architecture test.
3079 2018-10-06 Tom Tromey <tom@tromey.com>
3081 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3082 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3084 2018-10-06 Tom Tromey <tom@tromey.com>
3086 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3087 of a "throw" catchpoint.
3089 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3091 * gdb.base/info-proc.exp: Update string expected from "help info
3094 2018-10-04 Tom Tromey <tom@tromey.com>
3096 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3097 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3098 (test_initial_complaints, test_empty_complaints): Update.
3099 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3101 2018-10-04 Tom Tromey <tom@tromey.com>
3104 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3105 * lib/gdb.exp (gdb_file_cmd): Update.
3106 * gdb.stabs/weird.exp (print_weird_var): Update.
3107 * gdb.server/solib-list.exp: Update.
3108 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3109 * gdb.mi/mi-cli.exp: Update.
3110 * gdb.linespec/linespec.exp: Update.
3111 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3112 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3113 * gdb.cp/cp-relocate.exp: Update.
3114 * gdb.base/sym-file.exp: Update.
3115 * gdb.base/relocate.exp: Update.
3116 * gdb.base/readnever.exp: Update.
3117 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3118 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3119 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3120 * gdb.base/code_elim.exp: Update.
3121 * gdb.base/break-unload-file.exp (test_break): Update.
3122 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3123 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3125 * gdb.base/attach.exp (do_attach_tests): Update.
3126 * gdb.base/sepdebug.exp: Update.
3127 * gdb.python/py-section-script.exp: Update.
3129 2018-10-04 Tom Tromey <tom@tromey.com>
3132 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3133 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3136 2018-10-04 Tom Tromey <tom@tromey.com>
3138 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3139 set width and height to 0.
3140 (test_command_line_attach_run): Use -quiet.
3142 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3144 * lib/gdb.exp (skip_ifunc_tests): New.
3145 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3146 other compile failures.
3147 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3149 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3151 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3152 is_amd64_regs_target.
3154 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3156 * gdb.arch/aarch64-sighandler-regs.c: New test.
3157 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3158 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3160 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3162 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3165 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3167 * gdb.base/frame-selection.exp: New file.
3168 * gdb.base/frame-selection.c: New file.
3170 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3172 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3176 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3178 * gdb.base/large-frame-1.c: New file.
3179 * gdb.base/large-frame-2.c: New file.
3180 * gdb.base/large-frame.exp: New file.
3181 * gdb.base/large-frame.h: New file.
3183 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3186 * gdb.base/write_mem.exp: New test.
3187 * gdb.base/write_mem.c: Likewise.
3189 2018-09-23 Tom Tromey <tom@tromey.com>
3192 * gdb.python/py-parameter.exp: Add test for parameter that throws
3195 2018-09-23 Tom Tromey <tom@tromey.com>
3198 * gdb.python/py-template.exp (test_template_arg): Add test for
3199 negative template argument number.
3201 2018-09-23 Tom Tromey <tom@tromey.com>
3204 * gdb.python/python.exp: Add test for post_event error.
3206 2018-09-23 Tom Tromey <tom@tromey.com>
3209 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3210 convert pointers to int and long.
3212 2018-09-23 Tom Tromey <tom@tromey.com>
3215 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3216 signed-ness conversion tests.
3218 2018-09-23 Tom Tromey <tom@tromey.com>
3221 * gdb.python/py-value.exp (test_float_conversion): New proc.
3224 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3226 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3228 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3230 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3232 * gdb.base/utf8-identifiers.exp: Likewise.
3233 * gdb.cp/cpcompletion.exp: Likewise.
3234 * gdb.linespec/cpcompletion.exp: Likewise.
3235 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3236 * gdb.linespec/cpls-ops.exp: Likewise.
3238 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3239 Chris January <chris.january@arm.com>
3241 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3242 * gdb.fortran/short-circuit-argument-list.exp: New file.
3243 * gdb.fortran/short-circuit-argument-list.f90: New test.
3245 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3247 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3248 "arch=" keyword when executing "-stack-list-frames".
3250 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3252 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3253 "arch=" keyword when executing "-stack-list-frames".
3255 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3257 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3260 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3263 * gdb.python/python.exp: Test gdb.execute("show commands").
3265 2018-09-16 Tom Tromey <tom@tromey.com>
3267 * gdb.base/new-ui.exp (do_execution_tests): Update.
3268 * gdb.base/dbx.exp (test_breakpoints): Update.
3270 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3272 * lib/gdb.exp (gdb_simple_compile): Add proc.
3273 (is_elf_target): Use gdb_simple_compile.
3274 (skip_altivec_tests): Likewise.
3275 (skip_vsx_tests): Likewise.
3276 (skip_tsx_tests): Likewise.
3277 (skip_btrace_tests): Likewise.
3278 (skip_btrace_pt_tests): Likewise.
3279 (gdb_can_simple_compile): Likewise.
3280 (gdb_has_argv0): Likewise.
3281 (gdb_target_symbol_prefix): Likewise.
3282 (target_supports_scheduler_locking): Likewise.
3284 2018-09-13 Tom Tromey <tom@tromey.com>
3286 * Makefile.in (TAGS): Recognize proc_with_prefix and
3289 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3291 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3294 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3296 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3297 and a few other Inferior properties when the Inferior is no
3300 2018-09-13 Tom Tromey <tom@tromey.com>
3303 * gdb.rust/simple.exp: Add test for enum field access error.
3305 2018-09-13 Tom Tromey <tom@tromey.com>
3308 * gdb.rust/simple.rs (EmptyEnum): New type.
3310 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3312 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3314 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3315 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3316 * gdb.python/py-symtab.exp: Update test printing an objfile.
3318 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3320 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3323 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3325 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3326 (support_complex_tests): Use gdb_can_simple_compile.
3327 (is_ilp32_target): Likewise.
3328 (is_lp64_target): Likewise.
3329 (is_64_target): Likewise.
3330 (is_amd64_regs_target): Likewise.
3331 (is_aarch32_target): Likewise.
3332 (gdb_int128_helper): Likewise.
3334 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3336 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3338 2018-09-10 Jerome Guitton <guitton@adacore.com>
3340 * gdb.ada/same_component_name: Add test for case of tagged record
3341 with variable-length fields.
3343 2018-09-10 Xavier Roirand <roirand@adacore.com>
3345 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3346 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3347 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3348 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3350 2018-09-10 Xavier Roirand <roirand@adacore.com>
3352 * gdb.ada/mi_string_access.exp: New testcase.
3353 * gdb.ada/mi_string_access/bar.adb: New file.
3354 * gdb.ada/mi_string_access/pck.adb: New file.
3355 * gdb.ada/mi_string_access/pck.asd: New file.
3357 2018-09-10 Xavier Roirand <roirand@adacore.com>
3359 * gdb.ada/mi_var_union.exp: New testcase.
3360 * gdb.ada/mi_var_union/bar.adb: New file.
3361 * gdb.ada/mi_var_union/pck.adb: New file.
3362 * gdb.ada/mi_var_union/pck.asd: New file.
3364 2018-09-08 Tom Tromey <tom@tromey.com>
3366 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3368 2018-09-08 Tom Tromey <tom@tromey.com>
3371 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3372 (register_pretty_printers): Register new printer.
3373 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3375 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3376 (an_int_type3): New global.
3378 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3380 * gdb.ada/expr_with_funcall: New testcase.
3382 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3384 * gdb.ada/packed_array_assign: New testcase.
3386 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3388 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3389 names, and add test prefixes to make test names unique.
3391 2018-09-05 Tom de Vries <tdevries@suse.de>
3393 * gdb.dwarf2/varval.exp: Add test.
3395 2018-09-04 Gary Benson <gbenson@redhat.com>
3397 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3398 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3400 2018-08-31 Tom Tromey <tom@tromey.com>
3402 * gdb.rust/simple.rs: Rename second variable "v".
3404 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3406 * gdb.base/funcargs.c (use_a): New function.
3407 (recurse): Call use_a.
3409 2018-08-29 Keith Seitz <keiths@redhat.com>
3411 * gdb.compile/compile-cplus-anonymous.cc: New file.
3412 * gdb.compile/compile-cplus-anonymous.exp: New file.
3413 * gdb.compile/compile-cplus-array-decay.cc: New file.
3414 * gdb.compile/compile-cplus-array-decay.exp: New file.
3415 * gdb.compile/compile-cplus-inherit.cc: New file.
3416 * gdb.compile/compile-cplus-inherit.exp: New file.
3417 * gdb.compile/compile-cplus-member.cc: New file.
3418 * gdb.compile/compile-cplus-member.exp: New file.
3419 * gdb.compile/compile-cplus-method.cc: New file.
3420 * gdb.compile/compile-cplus-method.exp: New file.
3421 * gdb.compile/compile-cplus-mod.c: "New" file.
3422 * gdb.compile/compile-cplus-namespace.cc: New file.
3423 * gdb.compile/compile-cplus-namespace.exp: New file.
3424 * gdb.compile/compile-cplus-nested.cc: New file.
3425 * gdb.compile/compile-cplus-nested.exp: New file.
3426 * gdb.compile/compile-cplus-print.c: "New" file.
3427 * gdb.compile/compile-cplus-print.exp: "New" file.
3428 * gdb.compile/compile-cplus-virtual.cc: New file.
3429 * gdb.compile/compile-cplus-virtual.exp: New file.
3430 * gdb.compile/compile-cplus.c: "New" file.
3431 * gdb.compile/compile-cplus.exp: "New" file.
3432 * lib/compile-support.exp: New file.
3434 2018-08-16 Gary Benson <gbenson@redhat.com>
3437 * gdb.base/batch-exit-status.exp: New file.
3438 * gdb.base/batch-exit-status.good-commands: Likewise.
3439 * gdb.base/batch-exit-status.bad-commands: Likewise.
3441 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3443 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3444 (struct struct02): Likewise.
3445 (struct struct03): Likewise.
3446 (struct struct04): Likewise.
3447 (struct struct_01_01): New struct.
3448 (struct struct_01_02): Likewise.
3449 (struct struct_01_03): Likewise.
3450 (struct struct_01_04): Likewise.
3451 (struct struct_02_01): Likewise.
3452 (struct struct_02_02): Likewise.
3453 (struct struct_02_03): Likewise.
3454 (struct struct_02_04): Likewise.
3455 (struct struct_04_01): Likewise.
3456 (struct struct_04_02): Likewise.
3457 (struct struct_04_03): Likewise.
3458 (struct struct_04_04): Likewise.
3459 (struct struct_05_01): Likewise.
3460 (struct struct_05_02): Likewise.
3461 (struct struct_05_03): Likewise.
3462 (struct struct_05_04): Likewise.
3463 (cmp_struct01): Remove function.
3464 (cmp_struct02): Likewise.
3465 (cmp_struct03): Likewise.
3466 (cmp_struct04): Likewise.
3467 (cmp_struct_01_01): Add Function.
3468 (cmp_struct_01_02): Likewise.
3469 (cmp_struct_01_03): Likewise.
3470 (cmp_struct_01_04): Likewise.
3471 (cmp_struct_02_01): Likewise.
3472 (cmp_struct_02_02): Likewise.
3473 (cmp_struct_02_03): Likewise.
3474 (cmp_struct_02_04): Likewise.
3475 (cmp_struct_04_01): Likewise.
3476 (cmp_struct_04_02): Likewise.
3477 (cmp_struct_04_03): Likewise.
3478 (cmp_struct_04_04): Likewise.
3479 (cmp_struct_05_01): Likewise.
3480 (cmp_struct_05_02): Likewise.
3481 (cmp_struct_05_03): Likewise.
3482 (cmp_struct_05_04): Likewise.
3483 (call_all): Add new structs.
3484 * gdb.base/infcall-nested-structs.exp: Likewise.
3486 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3488 * gdb.python/py-framefilter-mi.exp: Update regexp to
3489 check for "arch" field in frame output.
3491 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3493 * gdb.dwarf2/dw2-ranges-func.c: New file.
3494 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3496 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3498 * gdb.base/term.exp: Compare terminal settings with values from
3500 * gdb.base/term.c: Get and set terminal settings.
3502 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3504 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3505 accommodate new "arch" field in frame output.
3506 * gdb.mi/mi-return.exp: Likewise.
3507 * gdb.mi/mi-stack.exp: Likewise.
3508 * gdb.mi/mi-syn-frame.exp: Likewise.
3509 * gdb.mi/user-selected-context-sync.exp: Likewise.
3511 2018-08-19 Michael Spang <spang@google.com>
3514 * gdb.base/gcore-tls-pie.c: New file.
3515 * gdb.base/gcore-tls-pie.exp: New file.
3517 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3519 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3520 * gdb.dwarf2/varval.c: New file.
3521 * gdb.dwarf2/varval.exp: New file.
3523 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3526 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3528 2018-08-16 Keith Seitz <keiths@redhat.com>
3530 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3531 tests expected to pass.
3533 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3535 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3536 -data-disassemble -a.
3537 (test_disassembly_bogus_args): Likewise.
3539 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3541 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3543 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3545 * gdb.base/vla-optimized-out.exp: Add new test.
3547 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3549 * gdb.base/vla-optimized-out-o3.exp: Delete.
3550 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3551 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3554 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3557 * gdb.server/extended-remote-restart.c: New file.
3558 * gdb.server/extended-remote-restart.exp: New file.
3560 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3562 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3563 "set variable index = 42".
3565 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3567 * boards/index-cache-gdb.exp: New file.
3568 * gdb.dwarf2/index-cache.exp: New file.
3569 * gdb.dwarf2/index-cache.c: New file.
3570 * gdb.base/maint.exp: Check if we are using the index cache.
3572 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3574 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3577 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3579 * dg-extract-results.sh: Move to toplevel contrib.
3580 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3581 * Makefile.in (check-parallel-racy): Likewise.
3583 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3585 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3586 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3587 tests if the target supports scheduler locking.
3589 2018-08-04 Tom de Vries <tdevries@suse.de>
3591 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3593 2018-08-02 Tom Tromey <tom@tromey.com>
3596 * gdb.cp/temargs.exp: Test "info address" of a template
3599 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3601 * gdb.python/py-mi-var-info-path-expression.c: New file.
3602 * gdb.python/py-mi-var-info-path-expression.py: New file.
3603 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3605 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3607 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3608 error after "cannot resolve name" string.
3610 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3612 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3614 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3616 2018-07-28 Tom de Vries <tdevries@suse.de>
3618 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3620 2018-07-26 Tom de Vries <tdevries@suse.de>
3622 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3624 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3626 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3629 2018-07-26 Tom de Vries <tdevries@suse.de>
3631 PR breakpoints/23366
3632 * gdb.base/catch-follow-exec.c: New test.
3633 * gdb.base/catch-follow-exec.exp: New file.
3635 2018-07-25 Tom de Vries <tdevries@suse.de>
3637 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3638 vla-optimized-out.c.
3640 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3642 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3643 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3645 2018-07-20 Tom de Vries <tdevries@suse.de>
3647 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3649 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3651 2018-07-19 Tom de Vries <tdevries@suse.de>
3653 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3656 2018-07-18 Tom de Vries <tdevries@suse.de>
3658 * gdb.base/vla-optimized-out.c: New test.
3659 * gdb.base/vla-optimized-out.exp: New file.
3661 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3663 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3664 message "No address associated with hostname" when gdbserver
3665 cannot resolve the hostname.
3667 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3669 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3670 Add some test prefixes to make tests unique.
3672 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3674 * gdb.base/frameapply.c: New file.
3675 * gdb.base/frameapply.exp: New file.
3677 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3679 * gdb.base/skip.exp: Update expected error message.
3681 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3682 Jan Kratochvil <jan.kratochvil@redhat.com>
3683 Paul Fertser <fercerpav@gmail.com>
3684 Tsutomu Seki <sekiriki@gmail.com>
3686 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3688 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3690 * boards/native-gdbserver.exp: Likewise.
3691 * gdb.server/run-without-local-binary.exp: Improve regexp used
3692 for detecting when a remote debugging connection succeeds.
3693 * gdb.server/server-connect.exp: New file.
3694 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3695 Do not prefix the port number with ":".
3696 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3697 support for detecting and using it. Add '$debughost_gdbserver'
3698 to the list of arguments used to start gdbserver. Handle case
3699 when gdbserver cannot resolve a network name.
3701 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3704 * gdb.base/ptype-offsets.cc (struct static_member): New
3706 (main) <stmember>: New variable.
3707 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3708 with a static member in it.
3710 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3712 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3713 watchpoints enabled and disabled.
3715 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3717 * gdb.base/examine-backward.exp: Still run tests around address
3718 0x0, even if address 0x0 is not readable. Update the pattern for
3719 matching address 0x0 in expected output.
3721 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3723 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3726 2018-07-04 Tom de Vries <tdevries@suse.de>
3728 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3730 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3733 * gdb.arch/mips-disassembler-options.exp: New test.
3734 * gdb.arch/mips-disassembler-options.s: New test source.
3736 2018-06-29 Pedro Alves <palves@redhat.com>
3738 * gdb.threads/names.exp: Adjust expected "info threads" output.
3740 2018-06-29 Pedro Alves <palves@redhat.com>
3742 * gdb.opt/inline-break.exp (line number, address): Add "info
3745 2018-06-29 Pedro Alves <palves@redhat.com>
3747 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3748 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3749 number and address and running to them.
3751 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3753 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3755 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3757 * lib/compiler.c: Remove executable permission flag.
3759 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3761 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3763 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3765 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3767 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3769 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3771 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3772 address argument is omitted.
3774 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3776 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3778 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3781 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3782 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3784 2018-06-26 Tom Tromey <tom@tromey.com>
3787 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3788 * gdb.rust/simple.rs (struct SimpleLayout): New.
3790 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3792 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3793 "info registers" output.
3795 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3797 * gdb.base/watchpoint-hw-attach.c: New test.
3798 * gdb.base/watchpoint-hw-attach.exp: New file.
3800 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3802 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3804 * boards/dwarf4-gdb-index.exp: Likewise.
3805 * boards/fission-dwp.exp: Likewise.
3807 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3809 * gdb.base/float128.exp: Add comment and improved fail message
3810 to the failure case of "print large128" test.
3812 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3814 * configure.ac: Remove AC_PREREQ.
3815 * configure: Re-generate.
3817 2018-06-19 Pedro Alves <palves@redhat.com>
3819 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3820 (func_extern_caller): New.
3821 (main): Call func_extern_caller.
3822 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3825 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3828 * gdb.cp/typedef-base.cc: New file.
3829 * gdb.cp/typedef-base.exp: New file.
3831 2018-06-18 Tom de Vries <tdevries@suse.de>
3833 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3835 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3836 Richard Bunt <Richard.Bunt@arm.com>
3838 * gdb.threads/attach-slow-waitpid.c: New file.
3839 * gdb.threads/attach-slow-waitpid.exp: New file.
3840 * gdb.threads/slow-waitpid.c: New file.
3842 2018-06-14 Pedro Alves <palves@redhat.com>
3844 * gdb.base/fork-running-state.c: Include <errno.h>.
3845 (exit_if_relative_exits): New.
3846 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3848 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3851 2018-06-14 Tom de Vries <tdevries@suse.de>
3854 * gdb.base/finish-pretty.c: New test.
3855 * gdb.base/finish-pretty.exp: New file.
3857 2018-06-14 Pedro Alves <palves@redhat.com>
3859 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3860 gdb's expected startup output.
3862 2018-06-14 Pedro Alves <palves@redhat.com>
3864 * lib/selftest-support.exp (selftest_setup): Remove inlined
3867 2018-06-14 Tom de Vries <tdevries@suse.de>
3869 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3870 matching of breakpoint printing.
3872 2018-06-13 Tom de Vries <tdevries@suse.de>
3875 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3876 (fork_child): ... here, and ...
3877 (fork_parent): ... here.
3879 2018-06-12 Tom de Vries <tdevries@suse.de>
3881 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3883 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3884 Stephen Roberts <stephen.roberts@arm.com>
3886 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3887 rewrite test to describe action performed, rather than possible
3890 2018-06-08 Gary Benson <gbenson@redhat.com>
3892 * gdb.threads/check-libthread-db.exp: New file.
3893 * gdb.threads/check-libthread-db.c: Likewise.
3895 2018-06-05 Tom Tromey <tom@tromey.com>
3897 * gdb.base/default.exp: Update expected "show version" output.
3899 2018-06-05 Tom Tromey <tom@tromey.com>
3902 * gdb.cp/static-print-quit.exp: Update.
3903 * lib/gdb.exp (pagination_prompt): Update.
3904 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3905 * gdb.python/python.exp: Update.
3907 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3909 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3911 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3913 * gdb.ada/bp_fun_addr: New testcase.
3915 2018-06-01 Tom Tromey <tom@tromey.com>
3917 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3919 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3920 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3921 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3922 * gdb.base/maint.exp (maint_pass_if): Update.
3924 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3926 * gdb.base/endian.exp: New test.
3927 * gdb.base/endian.c: New test source.
3929 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3932 * gdb.base/bt-selected-frame.c: New file.
3933 * gdb.base/bt-selected-frame.exp: New file.
3934 * lib/gdb.exp (get_current_frame_number): New function.
3936 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3937 Pedro Alves <palves@redhat.com>
3939 * gdb.threads/tls-core.c: Include <stdlib.h>
3940 (thread_proc): Call `abort'.
3941 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3942 (tls_core_test): New procedure, bits factored out from ...
3943 (top level): ... here. Test both native cores and gcore cores.
3945 2018-05-23 Tom Tromey <tom@tromey.com>
3947 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3949 2018-05-23 Tom Tromey <tom@tromey.com>
3951 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3953 (test_short_complaints): Likewise.
3954 (test_empty_complaints): Likewise.
3955 (test_initial_complaints): Update.
3957 2018-05-23 Tom Tromey <tom@tromey.com>
3959 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3961 2018-05-23 Tom Tromey <tom@tromey.com>
3963 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3964 (test_short_complaints): Update.
3966 2018-05-22 Pedro Alves <palves@redhat.com>
3968 * gdb.base/remote.exp: Only gdb_start after compiling the
3969 testcase. Issue "disconnect" before testing "set remote" command
3970 defaults. Issue clean_restart before running to main.
3972 2018-05-22 Pedro Alves <palves@redhat.com>
3974 * gdb.base/remote.exp: Adjust expected output of "show remote
3975 memory-write-packet-size". Add tests for "set remote
3976 memory-write-packet-size 0" and "set remote
3977 memory-write-packet-size fixed/limit".
3979 2018-05-22 Pedro Alves <palves@redhat.com>
3982 * gdb.base/utf8-identifiers.c: New file.
3983 * gdb.base/utf8-identifiers.exp: New file.
3985 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3987 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3989 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3991 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3993 2018-05-18 Tom Tromey <tom@tromey.com>
3995 * gdb.base/ptype-offsets.exp: Update.
3997 2018-05-17 Keith Seitz <keiths@redhat.com>
3999 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4000 in expected breakpoint stop locations.
4001 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4002 move to proper scope to test variable values.
4003 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4004 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4006 (main): Call not_inline_func3.
4007 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4008 inline_func1, inline_func2, and inline_func3. Test that when each
4009 breakpoint is hit, GDB properly reports both the stop location
4010 and the backtrace. Repeat tests for temporary breakpoints.
4012 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4014 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4015 rather then trying to access it in determining whether the PID
4016 of `gdbserver' could have been retrieved.
4018 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4020 * gdb.arch/amd64-init-x87-values.S: New file.
4021 * gdb.arch/amd64-init-x87-values.exp: New file.
4023 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4025 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4027 2018-05-04 Tom Tromey <tom@tromey.com>
4030 * gdb.python/python.exp: Test multi-line execute.
4032 2018-05-04 Tom Tromey <tom@tromey.com>
4035 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4037 2018-05-04 Tom Tromey <tom@tromey.com>
4040 * gdb.base/define.exp: Test defining a user command inside a user
4042 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4044 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4045 Pedro Alves <palves@redhat.com>
4047 PR breakpoints/19806 and support for PR external/20207.
4048 * gdb.base/watchpoint-unaligned.c: New file.
4049 * gdb.base/watchpoint-unaligned.exp: New file.
4051 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4053 * gdb.base/maint.exp: Make test names unique, use
4054 test_prefix_command_help to test 'help maint info', and remove
4055 repeated test of 'help maint'.
4057 2018-05-04 Tom Tromey <tom@tromey.com>
4060 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4063 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4065 * gdb.base/maint.exp: Process output from 'maint print registers'
4068 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4070 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4073 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4075 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4078 2018-05-02 Pedro Alves <palves@redhat.com>
4080 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4081 to_log_command renames.
4082 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4084 2018-05-02 Tom Tromey <tom@tromey.com>
4086 * gdb.python/py-parameter.exp: Set test message.
4088 2018-05-02 Tom Tromey <tom@tromey.com>
4091 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4092 PARAM_ZUINTEGER_UNLIMITED tests.
4094 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4097 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4100 2018-04-30 Tom Tromey <tom@tromey.com>
4102 * gdb.python/py-type.exp: Check align attribute.
4103 * gdb.python/py-type.c: New "aligncheck" global.
4105 2018-04-30 Tom Tromey <tom@tromey.com>
4108 * gdb.dwarf2/dw2-align.exp: New file.
4109 * gdb.cp/align.exp: New file.
4110 * gdb.base/align.exp: New file.
4111 * lib/gdb.exp (gdb_int128_helper): New proc.
4112 (has_int128_c, has_int128_cxx): New caching procs.
4114 2018-04-27 Tom Tromey <tom@tromey.com>
4117 * gdb.rust/simple.exp: Add inclusive range tests.
4119 2018-04-26 Pedro Alves <palves@redhat.com>
4121 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4122 ifunc breakpoint locations correctly of ifunc breakpoints set
4123 while the program resolves the ifunc.
4125 2018-04-26 Pedro Alves <palves@redhat.com>
4127 * gdb.base/gnu-ifunc-final.c: New file.
4128 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4129 * gdb.base/gnu-ifunc.exp (executable): Delete.
4130 (staticexecutable): Adjust.
4131 (lib_opts, exec_opts): Delete.
4132 (make_binsuffix, build, set-break): New procedures.
4133 (misc_tests): New, with tests factored out from the top level.
4134 (top level): Test different combinations of ifunc resolver name,
4135 resolver with and with debug info, and ifunc target with and
4136 without debug info. Wrap static tests with with_target_prefix.
4138 2018-04-26 Pedro Alves <palves@redhat.com>
4140 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4141 return type" warnings.
4143 2018-04-25 Pedro Alves <palves@redhat.com>
4145 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4147 * gdb.base/kill-after-signal.exp: Likewise.
4148 * gdb.threads/kill.exp: Likewise.
4150 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4151 Sergio Durigan Junior <sergiodj@redhat.com>
4152 Pedro Alves <palves@redhat.com>
4154 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4155 regexps to expect for '[Inferior ... detached]' as well.
4156 * gdb.base/attach.exp: Likewise.
4157 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4158 "gdb_continue_to_end".
4159 (test_catch_syscall_with_wrong_args): Likewise.
4160 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4161 ']'. Don't set 'verbose' on.
4162 * gdb.base/foll-vfork.exp: Likewise.
4163 * gdb.base/fork-print-inferior-events.c: New file.
4164 * gdb.base/fork-print-inferior-events.exp: New file.
4165 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4166 '[Inferior ... has been killed]' message.
4167 * gdb.base/kill-after-signal.exp: Likewise.
4168 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4170 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4172 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4173 regexps to expect for '[Inferior ... detached]' as well.
4174 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4176 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4179 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4181 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4183 * gdb.threads/multiple-successive-infcall.c: New test.
4184 * gdb.threads/multiple-successive-infcall.exp: New file.
4186 2018-04-17 Tom Tromey <tom@tromey.com>
4188 * gdb.rust/simple.rs (Union): New type.
4189 (main): New local "u".
4190 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4192 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4194 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4195 number information in output of "whereis" command.
4196 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4198 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4200 * gdb.ada/info_types.exp: Adjust expected output to the line
4201 numbers now printed by "info var/func/type".
4202 * gdb.base/completion.exp: Likewise.
4203 * gdb.base/included.exp: Likewise.
4204 * gdb.cp/cp-relocate.exp: Likewise.
4205 * gdb.cp/cplusfuncs.exp: Likewise.
4206 * gdb.cp/namespace.exp: Likewise.
4207 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4209 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4211 * gdb.btrace/cpu.exp: New.
4213 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4215 * gdb.base/step-indirect-call-thunk.exp: New.
4216 * gdb.base/step-indirect-call-thunk.c: New.
4217 * gdb.reverse/step-indirect-call-thunk.exp: New.
4218 * gdb.reverse/step-indirect-call-thunk.c: New.
4220 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4222 * gdb.base/pie-fork.c: New file.
4223 * gdb.base/pie-fork.exp: New file.
4225 2018-04-11 Tom Tromey <tom@tromey.com>
4227 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4229 2018-04-10 Pedro Alves <palves@redhat.com>
4231 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4232 exits. Instead loop running forever.
4233 (fork_parent): Run forever too.
4235 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4237 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4238 mi_continue_to_line.
4239 * gdb.mi/mi-stack.c (callee4): Add comment.
4241 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4243 * gdb.mi/mi-stack.exp: Fix indentation.
4245 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4248 * gdb.arch/amd64-osabi.exp: New file.
4250 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4253 * gdb.base/osabi.exp: New file.
4255 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4257 * gdb.cp/static-typedef-print.exp: New file.
4258 * gdb.cp/static-typedef-print.cc: New file.
4260 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4262 * gdb.ada/varsize_limit: New testcase.
4264 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4266 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4268 * gdb.ada/notcplusplus: New testcase.
4270 * gdb.base/c-linkage-name.c: New file.
4271 * gdb.base/c-linkage-name.exp: New testcase.
4273 2018-03-26 Tom Tromey <tom@tromey.com>
4275 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4276 * gdb.python/py-framefilter.py (name_error): New global.
4277 (ErrorInName.function): Use name_error.
4279 2018-03-26 Tom Tromey <tom@tromey.com>
4282 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4284 2018-03-23 Keith Seitz <keiths@redhat.com>
4287 * gdb.cp/subtypes.exp: New file.
4288 * gdb.cp/subtypes.h: New file.
4289 * gdb.cp/subtypes.cc: New file.
4290 * gdb.cp/subtypes-2.cc: New file.
4292 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4294 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4295 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4296 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4297 -nostartfiles when compiling the test. Confirm that all registers
4298 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4300 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4302 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4303 option, syntax was wrong anyway.
4304 * gdb.arch/arm-disp-step.exp: Likewise.
4305 * gdb.arch/sparc64-regs.exp: Likewise.
4306 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4307 option, syntax was wrong anyway, switch to use
4308 prepare_for_testing.
4309 * gdb.arch/i386-disp-step.exp: Likewise.
4311 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4313 * gdb.ada/exec_changed.exp: Replace "target_info exists
4314 use_gdb_stub" by "use_gdb_stub".
4315 * gdb.ada/start.exp: Likewise.
4316 * gdb.base/async-shell.exp: Likewise.
4317 * gdb.base/attach-pie-misread.exp: Likewise.
4318 * gdb.base/attach-wait-input.exp: Likewise.
4319 * gdb.base/break-entry.exp: Likewise.
4320 * gdb.base/break-interp.exp: Likewise.
4321 * gdb.base/dprintf-detach.exp: Likewise.
4322 * gdb.base/nostdlib.exp: Likewise.
4323 * gdb.base/solib-nodir.exp: Likewise.
4324 * gdb.base/statistics.exp: Likewise.
4325 * gdb.base/testenv.exp: Likewise.
4326 * gdb.mi/mi-exec-run.exp: Likewise.
4327 * gdb.mi/mi-start.exp: Likewise.
4328 * gdb.multi/dummy-frame-restore.exp: Likewise.
4329 * gdb.multi/multi-arch-exec.exp: Likewise.
4330 * gdb.multi/multi-arch.exp: Likewise.
4331 * gdb.multi/tids.exp: Likewise.
4332 * gdb.multi/watchpoint-multi.exp: Likewise.
4333 * gdb.python/py-events.exp: Likewise.
4334 * gdb.threads/attach-into-signal.exp: Likewise.
4335 * gdb.threads/attach-stopped.exp: Likewise.
4336 * gdb.threads/threadapply.exp: Likewise.
4337 * lib/selftest-support.exp: Likewise.
4339 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4341 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4343 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4345 * gdb.perf/template-breakpoints.cc: New file.
4346 * gdb.perf/template-breakpoints.exp: New file.
4347 * gdb.perf/template-breakpoints.py: New file.
4349 2018-03-19 Tom Tromey <tom@tromey.com>
4351 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4353 * gdb.rust/simple.exp: Test bare identifier form of struct
4356 2018-03-19 Tom Tromey <tom@tromey.com>
4358 * gdb.gdb/observer.exp: Remove.
4360 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4362 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4363 "qualified" option when setting breakpoints.
4364 * gdb.trace/backtrace.exp: Likewise.
4365 * gdb.trace/circ.exp: Likewise.
4366 * gdb.trace/collection.exp: Likewise.
4367 * gdb.trace/disconnected-tracing.exp: Likewise.
4368 * gdb.trace/ftrace-lock.exp: Likewise.
4369 * gdb.trace/ftrace.exp: Likewise.
4370 * gdb.trace/infotrace.exp: Likewise.
4371 * gdb.trace/packetlen.exp: Likewise.
4372 * gdb.trace/passc-dyn.exp: Likewise.
4373 * gdb.trace/qtro.exp: Likewise.
4374 * gdb.trace/read-memory.exp: Likewise.
4375 * gdb.trace/report.exp: Likewise.
4376 * gdb.trace/signal.exp: Likewise.
4377 * gdb.trace/status-stop.exp: Likewise.
4378 * gdb.trace/strace.exp: Likewise.
4379 * gdb.trace/tfind.exp: Likewise.
4380 * gdb.trace/trace-break.exp: Likewise.
4381 * gdb.trace/trace-condition.exp: Likewise.
4382 * gdb.trace/trace-mt.exp: Likewise.
4383 * gdb.trace/tstatus.exp: Likewise.
4384 * gdb.trace/tsv.exp: Likewise.
4385 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4386 * gdb.trace/unavailable.exp: Likewise.
4387 * gdb.trace/while-dyn.exp: Likewise.
4389 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4391 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4392 that libinproctrace is copied to the target.
4394 2018-03-14 Tom Tromey <tom@tromey.com>
4397 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4399 * gdb.base/wchar.exp: Likewise.
4401 2018-03-14 Tom Tromey <tom@tromey.com>
4404 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4407 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4410 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4411 "target" to remote_exec.
4413 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4416 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4417 ${board}_upload): Remove.
4419 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4421 * gdb.cp/watch-cp.cc: New test.
4422 * gdb.cp/watch-cp.exp: New file.
4424 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4426 * gdb.base/infcall-nested-structs.exp: New file.
4427 * gdb.base/infcall-nested-structs.c: New file.
4428 * gdb.base/float.exp: Add riscv support.
4430 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4432 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4433 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4435 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4437 * gdb.server/abspath.exp: New file.
4438 * lib/gdb.exp (with_cwd): New procedure.
4440 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4442 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4444 (gdb_is_target_remote_prompt): New proc.
4445 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4446 (gdb_is_target_native): Pass prompt parameter to
4449 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4451 * gdb.base/load-command.c: New file.
4452 * gdb.base/load-command.exp: New file.
4453 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4454 (gdb_is_target_1): ...this, and generalize for other targets
4456 (gdb_is_target_remote): Use gdb_is_target_1.
4457 (gdb_is_target_native): use gdb_is_target_1.
4459 2018-02-26 Tom Tromey <tom@tromey.com>
4462 * gdb.python/py-framefilter.exp: Update test.
4464 2018-02-26 Tom Tromey <tom@tromey.com>
4466 * gdb.dwarf2/variant.c: New file.
4467 * gdb.dwarf2/variant.exp: New file.
4469 2018-02-26 Tom Tromey <tom@tromey.com>
4471 * gdb.rust/simple.exp: Accept more possible results in enum test.
4473 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4475 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4478 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4480 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4481 name of a variable: $actual_linejj -> $actual_line.
4483 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4485 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4487 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4489 * gdb.btrace/buffer-size.exp: Do not force BTS.
4491 2018-02-14 Pedro Alves <palves@redhat.com>
4493 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4496 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4498 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4501 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4503 * gdb.cp/m-static.exp: Check type of optimized out static
4506 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4508 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4509 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4511 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4512 Leszek Swirski <leszeks@google.com>
4514 * gdb.python/py-prettyprint.c
4515 (struct to_string_returns_value_inner,
4516 struct to_string_returns_value_wrapper): New.
4517 (main): Add tsrvw variable.
4518 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4519 ToStringReturnsValueWrapper): New classes.
4520 (register_pretty_printers): Register new pretty-printers.
4521 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4522 recursive pretty printer.
4523 * gdb.python/py-mi.exp: Likewise.
4525 2018-02-01 Leszek Swirski <leszeks@google.com>
4527 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4528 functions with the same name as an include file are parsed
4531 2018-02-01 Yao Qi <yao.qi@linaro.org>
4533 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4536 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4538 * gdb.arch/powerpc-prologue-frame.s: New file.
4539 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4540 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4542 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4544 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4546 2018-01-30 Pedro Alves <palves@redhat.com>
4549 * gdb.base/interrupt-daemon.c: New.
4550 * gdb.base/interrupt-daemon.exp: New.
4551 * gdb.multi/multi-term-settings.c: New.
4552 * gdb.multi/multi-term-settings.exp: New.
4554 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4556 * gdb.base/break.exp: Save the location where the breakpoint
4557 on break.c:47 was actually inserted when debugging the version
4558 compiled at -O2 and use it in the expected output of the "info
4559 break" test performed soon after.
4561 2018-01-22 Pedro Alves <palves@redhat.com>
4562 Sergio Durigan Junior <sergiodj@redhat.com>
4564 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4565 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4567 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4569 * gdb.base/break-include.c, gdb.base/break-include.inc,
4570 gdb.base/break-include.exp: New files.
4571 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4572 line number now being the actual line number where the breakpoint
4574 * gdb.mi/mi-break.exp: Likewise.
4575 * gdb.mi/mi-reverse.exp: Likewise.
4576 * gdb.mi/mi-simplerun.exp: Ditto.
4578 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4580 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4582 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4584 2018-01-21 Don Breazeal <donb@codesourcery.com>
4585 Andrew Burgess <andrew.burgess@embecosm.com>
4587 * gdb.mi/basics.c: Add new global.
4588 * gdb.mi/mi-frame-regs.exp: New file.
4589 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4592 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4594 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4595 non-parameter, and on an unknown symbol.
4597 2018-01-19 Tom Tromey <tom@tromey.com>
4599 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4600 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4602 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4604 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4605 setrlimit and chdir to int.
4607 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4609 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4611 (my_tend): Likewise.
4612 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4613 rationale of avoiding FP- and vector instructions.
4615 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4617 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4618 "info reg" with "\[ \t\]*".
4619 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4621 * gdb.arch/s390-multiarch.exp: Ditto.
4622 * gdb.base/pc-fp.exp: Ditto.
4623 * gdb.reverse/i386-precsave.exp: Ditto.
4624 * gdb.reverse/i386-reverse.exp: Ditto.
4625 * gdb.reverse/i387-env-reverse.exp: Ditto.
4626 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4628 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4630 * lib/gdb.exp (gdb_compile): Re-enable use of
4631 universal_compile_options for languages other than Rust.
4633 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4635 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4637 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4640 * gdb.base/solib-vanish.exp: New.
4641 * gdb.base/solib-vanish-main.c: New.
4642 * gdb.base/solib-vanish-lib1.c: New.
4643 * gdb.base/solib-vanish-lib2.c: New.
4645 2018-01-17 Yao Qi <yao.qi@linaro.org>
4647 * gdb.compile/compile.exp: Match the address printed for
4648 frame in the output of command "bt".
4650 2018-01-15 Tom Tromey <tom@tromey.com>
4652 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4655 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4657 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4659 (prepare): Return 0 on error, 1 on success.
4661 2018-01-12 Pedro Alves <palves@redhat.com>
4663 * gdb.base/continue-after-aborted-step-over.c: New.
4664 * gdb.base/continue-after-aborted-step-over.exp: New.
4666 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4668 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4669 options when not creating an executable.
4671 2018-01-11 Pedro Alves <palves@redhat.com>
4674 * gdb.server/stop-reply-no-thread.c: New file.
4675 * gdb.server/stop-reply-no-thread.exp: New file.
4677 2018-01-10 Pedro Alves <palves@redhat.com>
4680 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4681 functions too. Test setting breakpoints and printing C functions
4682 with no debug info too.
4683 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4685 2018-01-10 Pedro Alves <palves@redhat.com>
4688 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4691 2018-01-10 Pedro Alves <palves@redhat.com>
4694 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4696 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4698 * gdb.server/unittest.exp: Match the output in non-development
4701 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4703 * gdb.gdb/unittest.exp: Match output in non-development mode.
4705 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4707 * gdb.ada/access_tagged_param.exp: Relax expected output
4708 for value of "ObjL" in "continue" to pck.inspect breakpoint
4711 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4713 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4714 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4716 2018-01-05 Pedro Alves <palves@redhat.com>
4719 * gdb.base/libsegfault.exp: New.
4721 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4724 * gdb.ada/access_tagged_param.exp: New file.
4725 * gdb.ada/access_tagged_param/foo.adb: New file.
4727 2018-01-05 Pedro Alves <palves@redhat.com>
4730 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4731 exercise lower case too, and to exercise both full matching and
4734 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4736 * gdb.ada/rename_subscript_param: New testcase.
4738 2018-01-05 Jerome Guitton <guitton@adacore.com>
4740 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4742 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4744 * gdb.ada/convvar_comp: New testcase.
4746 2018-01-05 Xavier Roirand <roirand@adacore.com>
4748 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4749 (My_Table): New global variable.
4750 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4752 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4755 * gdb.ada/maint_with_ada: New testcase.
4757 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4760 * gdb.ada/bp_c_mixed_case: New testcase.
4762 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4765 * gdb.ada/complete.exp: Add "complete break ada" test.
4767 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4770 * gdb.ada/info_addr_mixed_case: New testcase.
4772 2018-01-03 Xavier Roirand <roirand@adacore.com>
4774 * gdb.ada/excep_handle.exp: New testcase.
4775 * gdb.ada/excep_handle/foo.adb: New file.
4776 * gdb.ada/excep_handle/pck.ads: New file.
4778 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4780 * gdb.base/step-line.c: Add extra empty line in copyright header.
4781 * gdb.base/step-line.inp: Likewise.
4783 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4785 * gdb.ada/dyn_stride.exp: Add slice test.
4787 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4789 * gdb.ada/dyn_stride: New testcase.
4791 2017-12-27 Stafford Horne <shorne@gmail.com>
4793 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4794 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4796 2017-12-27 Stafford Horne <shorne@gmail.com>
4798 * gdb.base/reggroups.c: New file.
4799 * gdb.base/reggroups.exp: New file.
4801 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4803 * gdb.dwarf2/ada-valprint-error.c: New file.
4804 * gdb.dwarf2/ada-valprint-error.exp: New file.
4806 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4808 * gdb.ada/assign_arr: New testcase.
4810 2017-12-18 Xavier Roirand <roirand@adacore.com>
4812 * gdb.ada/funcall_ptr: New testcase.
4814 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4817 * gdb.base/ptype-offsets.cc: New file.
4818 * gdb.base/ptype-offsets.exp: New file.
4820 2017-12-15 Yao Qi <yao.qi@linaro.org>
4822 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4825 2017-12-15 Xavier Roirand <roirand@adacore.com>
4827 * gdb.ada/same_component_name: New testcase.
4829 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4831 * gdb.ada/str_binop_equal: New testcase.
4833 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4835 * gdb.ada/task_switch_in_core: New testcase.
4837 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4839 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4840 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4841 call test_bkpt_qualified.
4842 (test_bkpt_qualified): New proc.
4844 2017-12-13 Pedro Alves <palves@redhat.com>
4846 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4847 Tighten regexp by matching with an anchor.
4849 2017-12-13 Pedro Alves <palves@redhat.com>
4851 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4852 ("expression with namespace"): New set of tests.
4853 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4854 (Nested::Test_NS::qux): New.
4855 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4856 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4858 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4860 * gdb.base/server-del-break.c: New file.
4861 * gdb.base/server-del-break.exp: New file.
4863 2017-12-12 Stafford Horne <shorne@gmail.com>
4865 * gdb.xml/tdesc-regs.exp: Add or1k support.
4867 2017-12-12 Stafford Horne <shorne@gmail.com>
4869 * gdb.base/bp-permanent.c: Define nop of or1k.
4871 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4873 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4874 output with components being reordered.
4876 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4878 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4879 output with components being reordered.
4881 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4882 Pedro Alves <palves@redhat.com>
4884 * gdb.base/maint.exp (check for .gdb_index): Check also for
4886 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4887 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4888 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4889 (.gdb_index used after symbol reloading): Support also .debug_names.
4890 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4892 2017-12-08 Yao Qi <yao.qi@linaro.org>
4894 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4895 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4897 2017-12-08 Yao Qi <yao.qi@linaro.org>
4899 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4900 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4902 2017-12-08 Yao Qi <yao.qi@linaro.org>
4904 * gdb.arch/aarch64-tagged-pointer.c: New file.
4905 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4907 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4909 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4912 2017-12-07 Keith Seitz <keiths@redhat.com>
4914 PR breakpoints/22569
4915 * gdb.linespec/ls-errs.exp: Change expected result of "break
4916 -source this file has spaces.c -line 3".
4917 Check that an explicit source file followed by whitespace is
4918 identified as an invalid explicit location.
4920 2017-12-07 Keith Seitz <keiths@redhat.com>
4922 * gdb.cp/nested-types.cc: New file.
4923 * gdb.cp/nested-types.exp: New file.
4924 * lib/cp-support.exp: Load data-structures.exp library.
4925 (debug_cp_test_ptype_class): New global.
4926 (cp_ptype_class_verbose, next_line): New procedures.
4927 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4928 Add and document new return value.
4929 Switch the list of lines to a queue.
4930 Add support for new `type' key for nested type definitions.
4931 Add debugging/troubleshooting messages.
4932 * lib/data-structures.exp: New file.
4934 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4936 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4937 with proc_with_prefix, don't use with_test_prefix.
4939 2017-12-07 Tom Tromey <tom@tromey.com>
4941 * gdb.base/break.exp: Add test for empty "commands".
4943 2017-12-07 Yao Qi <yao.qi@linaro.org>
4945 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4946 malloc and catch syscall.
4948 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4950 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4951 tests for explicit locations.
4953 2017-12-06 Pedro Alves <palves@redhat.com>
4955 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4956 force-disabling XML descriptions.
4958 2017-12-04 Pedro Alves <palves@redhat.com>
4961 * gdb.arch/amd64-disp-step-avx.S: New file.
4962 * gdb.arch/amd64-disp-step-avx.exp: New file.
4964 2017-12-03 Pedro Alves <palves@redhat.com>
4966 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4968 (parent_function): Print distinct messages when waitpid fails, or
4969 the child exits with a signal, or the child exits for an unhandled
4971 * gdb.threads/process-dies-while-detaching.exp
4972 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4973 it. Wait for both inferior output and GDB's prompt. Use an
4974 indirect spawn id list.
4975 (do_detach): New parameter 'child_exit'. Use it to compute
4976 expected inferior output.
4977 (test_detach, test_detach_watch, test_detach_killed_outside):
4978 Adjust to pass down the expected child exit kind.
4980 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4981 Sergio Durigan Junior <sergiodj@redhat.com>
4982 Pedro Alves <palves@redhat.com>
4984 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4986 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4988 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4989 to 'symbol-file' and 'add-symbol-file' can be
4990 position-independent.
4992 2017-12-01 Yao Qi <yao.qi@linaro.org>
4994 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4995 the URL in copyright header.
4996 * gdb.arch/aarch64-fp.exp: Likewise.
4997 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4998 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4999 * gdb.base/expand-psymtabs.exp: Likewise.
5000 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5001 * gdb.fortran/common-block.exp: Likewise.
5002 * gdb.fortran/common-block.f90: Likewise.
5003 * gdb.fortran/logical.exp: Likewise.
5004 * gdb.fortran/vla-datatypes.f90: Likewise.
5005 * gdb.fortran/vla-sub.f90: Likewise.
5007 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5009 * gdb.ada/repeat_dyn: New testcase.
5011 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5013 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5014 Update for changed thread numbering.
5015 * gdb.cell/bt.exp: Update for changed GDB output.
5017 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5019 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5020 setting isremote by hand.
5021 * boards/dwarf4-gdb-index.exp: Likewise.
5022 * boards/fission.exp: Likewise.
5023 * boards/stabs.exp: Likewise.
5025 2017-11-30 Pedro Alves <palves@redhat.com>
5027 * gdb.linespec/cpls-ops.exp
5028 (check_explicit_skips_function_argument): Extract the underlying
5029 type of size_t instead of hardcoding it.
5031 2017-11-29 Pedro Alves <palves@redhat.com>
5034 * gdb.linespec/cpls-abi-tag.cc: New file.
5035 * gdb.linespec/cpls-abi-tag.exp: New file.
5037 2017-11-29 Pedro Alves <palves@redhat.com>
5039 * gdb.base/langs.exp: Use -qualified.
5040 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5042 * gdb.cp/namespace.exp: Use -qualified.
5043 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5044 (overload-3, template-overload, template-ret-type, const-overload)
5045 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5047 (test_driver): Call them.
5048 * gdb.cp/save-bp-qualified.cc: New.
5049 * gdb.cp/save-bp-qualified.exp: New.
5050 * gdb.linespec/explicit.exp: Test -qualified.
5051 * lib/completion-support.exp (completion::explicit_opts_list): Add
5053 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5055 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5057 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5059 2017-11-29 Tom Tromey <tom@tromey.com>
5061 * gdb.base/relocate.exp: Update invalid argument test.
5062 Add new tests for invalid arguments.
5064 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5066 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5068 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5070 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5072 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5073 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5074 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5076 * gdb.cp/shadow.cc (B.func): Return 0.
5078 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5080 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5081 expected output in gdb_expect call to allow the exception
5082 message to be present as well. Fix syntax confusion to avoid
5083 TCL thinking that exception_name is an array.
5085 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5087 * gdb.arch/spu-info.c: Include <unistd.h>.
5088 (do_signal_test): Fix broken calls to write.
5089 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5090 Fix checks for empty mailboxes. Update signal tests for corrected
5091 do_signal_test routine. Allow nonzero event status.
5092 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5093 * gdb.cell/arch.exp: Use standard_output_file.
5094 * gdb.cell/break.exp: Likewise.
5095 * gdb.cell/bt.exp: Likewise.
5096 * gdb.cell/core.exp: Likewise.
5097 * gdb.cell/dwarfaddr.exp: Likewise.
5098 * gdb.cell/ea-cache.exp: Likewise.
5099 * gdb.cell/ea-standalone.exp: Likewise.
5100 * gdb.cell/f-regs.exp: Likewise.
5101 * gdb.cell/fork.exp: Likewise.
5102 * gdb.cell/gcore.exp: Likewise.
5103 * gdb.cell/mem-access.exp: Likewise.
5104 * gdb.cell/ptype.exp: Likewise.
5105 * gdb.cell/registers.exp: Likewise.
5106 * gdb.cell/sizeof.exp: Likewise.
5107 * gdb.cell/solib-symbol.exp: Likewise.
5108 * gdb.cell/solib.exp: Likewise.
5110 2017-11-25 Pedro Alves <palves@redhat.com>
5112 * gdb.base/complete-empty.exp: New file.
5113 * gdb.base/completion.exp: Adjust.
5115 2017-11-25 Pedro Alves <palves@redhat.com>
5117 * gdb.linespec/cpls-ops.cc: New file.
5118 * gdb.linespec/cpls-ops.exp: New file.
5119 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5120 factored out from ...
5121 (test_complete_prefix_range): ... this.
5123 2017-11-24 Pedro Alves <palves@redhat.com>
5125 * gdb.linespec/cpcompletion.exp: New file.
5126 * gdb.linespec/cpls-hyphen.cc: New file.
5127 * gdb.linespec/cpls.cc: New file.
5128 * gdb.linespec/cpls2.cc: New file.
5129 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5130 test to use test_gdb_complete_unique. Add label completion,
5131 keyword completion and explicit location completion tests.
5132 * lib/completion-support.exp: New file.
5134 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5136 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5137 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5138 when hitting an exception catchpoint.
5140 2017-11-22 Yao Qi <yao.qi@linaro.org>
5142 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5144 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5146 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5147 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5148 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5150 2017-11-22 Yao Qi <yao.qi@linaro.org>
5152 * gdb.base/info-os.exp: Pass pthreads.
5153 * gdb.multi/multi-attach.exp: Likewise.
5155 2017-11-22 Yao Qi <yao.qi@linaro.org>
5157 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5160 2017-11-22 Yao Qi <yao.qi@linaro.org>
5162 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5163 * gdb.base/break-interp.exp: Likewise.
5164 * gdb.base/jit-attach-pie.exp: Likewise.
5166 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5168 * gdb.base/float128.c (large128): New variable.
5169 * gdb.base/float128.exp: Add test to print largest __float128 value.
5171 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5173 * gdb.arch/vsx-regs.exp: Update register content checks.
5175 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5177 * gdb.arch/ppc-longdouble.exp: New file.
5178 * gdb.arch/ppc-longdouble.c: Likewise.
5180 2017-11-21 Pedro Alves <palves@redhat.com>
5182 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5184 2017-11-20 Pedro Alves <palves@redhat.com>
5186 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5187 (long_double_typedef): New typedefs.
5188 Use DEF on double and long double.
5189 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5191 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5192 and 'long_double_ptr_same_size' locals. Use them to decide
5193 whether cast from array/function to float is valid/invalid.
5195 2017-11-17 Tom Tromey <tom@tromey.com>
5197 * gdb.rust/traits.rs: New file.
5198 * gdb.rust/traits.exp: New file.
5200 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5202 * gdb.ada/minsyms: New testcase.
5204 2017-11-16 Pedro Alves <palves@redhat.com>
5206 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5207 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5209 2017-11-16 Pedro Alves <palves@redhat.com>
5211 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5212 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5214 2017-11-16 Pedro Alves <palves@redhat.com>
5216 * gdb.server/reconnect-ctrl-c.c: New file.
5217 * gdb.server/reconnect-ctrl-c.exp: New file.
5219 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5221 * gdb.python/py-rbreak.exp: New file.
5222 * gdb.python/py-rbreak.c: New file.
5223 * gdb.python/py-rbreak-func2.c: New file.
5225 2017-11-16 Pedro Alves <palves@redhat.com>
5227 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5229 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5232 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5234 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5237 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5239 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5242 2017-11-09 Pedro Alves <palves@redhat.com>
5244 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5245 factored out from ...
5246 (top level): ... here, and adjusted to avoid expecting beyond the
5247 prompt in a single gdb_test_multiple.
5249 2017-11-09 Pedro Alves <palves@redhat.com>
5251 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5253 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5254 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5255 * gdb.server/ext-run.exp ("kill" test): Likewise.
5256 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5258 2017-11-09 Pedro Alves <palves@redhat.com>
5260 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5261 match till end of line.
5263 2017-11-09 Pedro Alves <palves@redhat.com>
5265 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5267 2017-11-09 Pedro Alves <palves@redhat.com>
5269 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5270 New procedures, factored out from ...
5271 (top level): ... here, and adjusted to avoid expecting beyond the
5274 2017-11-09 Pedro Alves <palves@redhat.com>
5276 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5277 output. Fix '?' match.
5279 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5281 * gdb.ada/scoped_watch: New testcase.
5282 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5283 which is actually correct.
5284 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5285 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5287 2017-11-08 Pedro Alves <palves@redhat.com>
5289 * gdb.gdb/complaints.exp (test_initial_complaints)
5290 (test_serial_complaints, test_short_complaints): Call
5291 complaint_internal instead of complaint.
5293 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5295 * gdb.threads/tls-core.c: New file.
5296 * gdb.threads/tls-core.exp: Likewise.
5298 2017-11-08 Pedro Alves <palves@redhat.com>
5300 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5301 (p Exported_Capitalized): New test.
5302 (p exported_capitalized): New test.
5304 2017-11-07 Pedro Alves <palves@redhat.com>
5306 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5308 2017-11-07 Pedro Alves <palves@redhat.com>
5310 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5311 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5312 (disable_invalid, disable_inverted, disable_negative): New
5314 ("bad numbers"): New set of tests.
5316 2017-11-07 Pedro Alves <palves@redhat.com>
5318 * gdb.cp/ena-dis-br-range.exp: Add tests.
5320 2017-11-07 Pedro Alves <palves@redhat.com>
5322 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5324 2017-11-07 Xavier Roirand <roirand@adacore.com>
5325 Pedro Alves <palves@redhat.com>
5327 * gdb.base/ena-dis-br.exp: Add reference to
5328 gdb.cp/ena-dis-br-range.exp.
5329 * gdb.cp/ena-dis-br-range.exp: New file.
5330 * gdb.cp/ena-dis-br-range.cc: New file.
5332 2017-11-06 Pedro Alves <palves@redhat.com>
5334 * gdb.base/attach-non-pgrp-leader.c: New.
5335 * gdb.base/attach-non-pgrp-leader.exp: New.
5337 2017-11-06 Pedro Alves <palves@redhat.com>
5339 * configure.ac: No longer check for termio.h and sgtty.h.
5340 * configure: Regenerate.
5341 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5342 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5343 Remove termio and sgtty code.
5345 2017-11-03 Yao Qi <yao.qi@linaro.org>
5347 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5350 2017-11-03 Yao Qi <yao.qi@linaro.org>
5352 * gdb.python/py-thrhandle.exp: Skip it if python is not
5355 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5357 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5358 as a breakpoint command.
5360 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5363 * gdb.python/py-infthread.exp: Test calling
5364 InferiorThread.inferior () multiple times in a row.
5366 2017-10-27 Keith Seitz <keiths@redhat.com>
5368 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5369 Test "info break" for every inlined function breakpoint.
5371 2017-10-27 Yao Qi <yao.qi@linaro.org>
5373 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5375 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5377 * gdb.cp/classes.exp (test_static_members): Test printing
5379 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5380 (Inner::instance, Outer::instance): New.
5382 2017-10-24 Pedro Alves <palves@redhat.com>
5384 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5385 extra console" test in two stages.
5387 2017-10-24 Pedro Alves <palves@redhat.com>
5389 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5391 2017-10-24 Pedro Alves <palves@redhat.com>
5393 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5396 2017-10-24 Pedro Alves <palves@redhat.com>
5398 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5399 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5401 2017-10-24 Pedro Alves <palves@redhat.com>
5403 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5404 parameter and handle it. Don't output read value in test name.
5406 2017-10-24 Pedro Alves <palves@redhat.com>
5408 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5411 2017-10-24 Pedro Alves <palves@redhat.com>
5413 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5414 include the unstable output directory name in the test's name.
5415 (initial_setup_simple) <'set args'>: Use custom test name.
5417 2017-10-24 Pedro Alves <palves@redhat.com>
5419 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5420 with explicit test name.
5422 2017-10-20 Pedro Alves <palves@redhat.com>
5424 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5425 'wait -i'. Use gdb_assert and remote_close.
5427 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5429 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5430 number from variable rather than hard-coded.
5432 2017-10-19 Pedro Alves <palves@redhat.com>
5434 * gdb.base/long-inferior-output.c: New file.
5435 * gdb.base/long-inferior-output.exp: New file.
5437 2017-11-18 Keith Seitz <keiths@redhat.com>
5439 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5442 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5443 Add additional user-defined conversion operator tests.
5445 2017-10-17 Pedro Alves <palves@redhat.com>
5447 * boards/native-stdio-gdbserver.exp: Load "local-board".
5449 2017-10-17 Pedro Alves <palves@redhat.com>
5451 * gdb.base/quit-live.c: New file.
5452 * gdb.base/quit-live.exp: New file.
5454 2017-10-16 Keith Seitz <keiths@redhat.com>
5456 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5457 (class_with_protected_typedef, class_with_private_typedef)
5458 (struct_with_public_typedef, struct_with_protected_typedef)
5459 (struct_with_private_typedef): New classes/structs.
5460 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5461 typedefs and access specifiers.
5463 2017-10-16 Pedro Alves <palves@redhat.com>
5464 Simon Marchi <simon.marchi@polymtl.ca>
5466 * README (Local vs Remote vs Native): New section.
5467 * boards/local-board.exp: New file, with bits factored out from
5469 * boards/native-extended-gdbserver.exp: ... here. Load
5471 * boards/native-gdbserver.exp: Load "local-board".
5472 (${board}_spawn, ${board}_exec): Delete.
5473 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5475 * boards/stdio-gdbserver-base.exp: ... this new file.
5476 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5477 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5479 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5480 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5481 stdio_gdbserver_command.
5482 (${board}_get_remote_address, ${board}_get_comm_port)
5483 (${board}_download, ${board}_upload): Delete.
5484 (get_target_remote_pipe_cmd): New.
5486 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5488 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5489 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5490 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5491 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5492 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5493 remove with_test_prefix.
5495 2017-10-13 Pedro Alves <palves@redhat.com>
5497 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5498 * gdb.base/annota1.exp: Use it instead of is_remote.
5499 * gdb.base/annota3.exp: Use it instead of is_remote.
5500 * gdb.cp/annota2.exp: Use it instead of is_remote.
5501 * gdb.cp/annota3.exp: Use it instead of is_remote.
5502 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5504 2017-10-13 Pedro Alves <palves@redhat.com>
5506 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5507 (test_num_test_vars, run_and_count_vars, find_env)
5508 (test_set_unset_env, test_inherit_env_var): New procedures.
5509 (top level): Use them.
5511 2017-10-13 Pedro Alves <palves@redhat.com>
5513 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5514 also skip on stub-like targets.
5516 2017-10-13 Pedro Alves <palves@redhat.com>
5519 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5520 (top level): Move some tests to ...
5521 (test_not_found): ... this new procedure.
5522 (top level): Call it.
5524 2017-10-13 Pedro Alves <palves@redhat.com>
5526 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5527 expect different "info terminal" output if testing with a
5530 2017-10-13 Pedro Alves <palves@redhat.com>
5531 Simon Marchi <simon.marchi@polymtl.ca>
5534 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5536 2017-10-13 Pedro Alves <palves@redhat.com>
5538 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5541 2017-10-13 Pedro Alves <palves@redhat.com>
5543 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5546 2017-10-13 Pedro Alves <palves@redhat.com>
5548 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5551 2017-10-13 Pedro Alves <palves@redhat.com>
5553 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5555 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5556 instead of is_remote.
5558 2017-10-13 Pedro Alves <palves@redhat.com>
5560 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5561 (top level): Add comment.
5563 2017-10-13 Pedro Alves <palves@redhat.com>
5565 * gdb.base/remote.exp (top level): Fix comment typo and add
5568 2017-10-13 Pedro Alves <palves@redhat.com>
5569 Simon Marchi <simon.marchi@polymtl.ca>
5571 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5572 calls and add comments. Skip test if use_gdb_stub is set.
5573 (top level): Use "set cwd" command instead of "cd" command.
5575 2017-10-13 Pedro Alves <palves@redhat.com>
5577 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5578 is_remote target check.
5580 2017-10-13 Pedro Alves <palves@redhat.com>
5582 * gdb.base/scope.exp: Use build_executable + clean_restart +
5583 gdb_file_cmd instead of prepare_for_testing and no longer skip
5584 "before run" tests on is_remote target boards. Update comments.
5585 * boards/native-extended-gdbserver.exp
5586 (extended_gdbserver_load_last_file): New, factored out from ...
5587 (gdb_load): ... this. Move further below and add comment.
5588 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5590 2017-10-12 Pedro Alves <palves@redhat.com>
5592 * gdb.base/attach.exp: Remove references to gdb64.
5593 * gdb.base/dbx.exp: Remove references to gdb64.
5595 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5596 Pedro Alves <palves@redhat.com>
5598 * gdb.base/label.exp: Remove is_remote target check.
5600 2017-10-12 Pedro Alves <palves@redhat.com>
5602 * gdb.base/auvx.exp (coredir): Update comment.
5603 (top level) <core_works>: Use "set cwd" command instead of "cd"
5606 2017-10-12 Pedro Alves <palves@redhat.com>
5607 Simon Marchi <simon.marchi@polymtl.ca>
5609 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5612 2017-10-12 Pedro Alves <palves@redhat.com>
5613 Simon Marchi <simon.marchi@polymtl.ca>
5615 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5616 Instead skip if there's any gdb_protocol set.
5618 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5619 Pedro Alves <palves@redhat.com>
5621 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5623 2017-10-12 Pedro Alves <palves@redhat.com>
5624 Simon Marchi <simon.marchi@polymtl.ca>
5626 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5627 instead of on dejagnu remote boards.
5629 2017-10-12 Pedro Alves <palves@redhat.com>
5630 Simon Marchi <simon.marchi@polymtl.ca>
5632 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5633 checks. Use build_executable + clean_restart instead of
5634 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5635 of enabling non-stop after starting gdb.
5637 2017-10-12 Pedro Alves <palves@redhat.com>
5639 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5640 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5641 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5642 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5644 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5646 * gdb.arch/arc-tdesc-cpu.exp: New file.
5647 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5649 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5651 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5653 2017-10-10 Pedro Alves <palves@redhat.com>
5655 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5658 2017-10-10 Pedro Alves <palves@redhat.com>
5660 * lib/selftest-support.exp (selftest_setup): Update for
5661 captured_command_loop's prototype change.
5663 2017-10-09 Pedro Alves <palves@redhat.com>
5665 Test both arch1=>arch2 and arch2=>arch1.
5667 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5668 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5670 (append_arch1_options, append_arch2_options, append_arch_options)
5671 (build_executables): New procedures.
5672 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5674 (top level): Add new 'first_arch' testing axis.
5676 2017-10-09 Pedro Alves <palves@redhat.com>
5678 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5680 (thread_start, all_started): New functions.
5681 (main): Spawn new thread and wait until it is scheduled.
5682 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5684 (do_test): Add 'selected_thread' parameter. Run to all_started
5685 instead of main. Explicitly set the breakpoint at main. Switch
5686 to the SELECTED_THREAD thread.
5687 (top level): Test handling the exec event with either the main
5688 thread or the second thread selected.
5690 2017-10-09 Pedro Alves <palves@redhat.com>
5692 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5693 logic. Move STOP marker after the value checks.
5694 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5697 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5699 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5701 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5703 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5704 integer-to-dfp conversion.
5705 * gdb.base/dfp-test.exp: Likewise.
5707 2017-10-04 Pedro Alves <palves@redhat.com>
5709 * gdb.multi/hangout.c: Include <unistd.h>.
5710 (hangout_loop): New function.
5711 (main): Call alarm. Call hangout_loop in a loop.
5712 * gdb.multi/hello.c: Include <unistd.h>.
5713 (hello_loop): New function.
5714 (main): Call alarm. Call hangout_loop in a loop.
5715 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5716 inferior with the other selected.
5718 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5720 * gdb.mi/list-thread-groups-available.exp: New file.
5721 * gdb.mi/list-thread-groups-available.c: New file.
5723 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5725 * gdb.base/set-cwd.exp: Make it available on
5726 native-extended-gdbserver.
5728 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5730 * gdb.base/set-cwd.c: New file.
5731 * gdb.base/set-cwd.exp: Likewise.
5733 2017-10-02 Tom Tromey <tom@tromey.com>
5736 * gdb.rust/simple.rs (main): New variable "fslice".
5737 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5739 2017-10-02 Tom Tromey <tom@tromey.com>
5741 * gdb.rust/simple.exp: Test ptype of a slice.
5743 2017-10-02 Tom Tromey <tom@tromey.com>
5745 * gdb.rust/simple.exp: Test index of slice.
5747 2017-09-27 Tom Tromey <tom@tromey.com>
5749 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5751 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5752 Pedro Alves <palves@redhat.com>
5754 * gdb.base/compare-sections.exp (get value of read-only section): Read
5756 (corrupt read-only section): Likewise and don't set written if patching
5759 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5761 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5764 2017-09-20 Pedro Alves <palves@redhat.com>
5766 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5767 symbol names in gdb's output.
5768 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5770 2017-09-20 Pedro Alves <palves@redhat.com>
5772 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5774 (test_list_ambiguous_symbol): ... this and add a symbol name
5776 (test_list_ambiguous_function): Reimplement on top of
5777 test_list_ambiguous_symbol and also test listing ambiguous
5779 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5780 (ambiguous_fun): ... this.
5781 (ambiguous_var): New.
5782 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5783 (ambiguous_fun): ... this.
5784 (ambiguous_var): New.
5786 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5788 * gdb.base/starti.c: New file.
5789 * gdb.base/starti.exp: New file.
5790 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5792 2017-09-14 Pedro Alves <palves@redhat.com>
5794 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5795 (top level): Use it instead of runto.
5797 2017-09-11 Tom Tromey <tom@tromey.com>
5799 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5801 2017-09-11 Tom Tromey <tom@tromey.com>
5803 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5804 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5806 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5808 * gdb.fortran/printing-types.exp: New file.
5809 * gdb.fortran/printing-types.exp: New file.
5811 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5813 * gdb.fortran/vla-ptype.exp: Fix typos.
5814 * gdb.fortran/vla-value.exp: Same.
5816 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5818 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5819 * gdb.mi/mi-var-child-f.exp: Likewise.
5820 * gdb.mi/mi-vla-fortran.exp: Likewise.
5822 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5823 Christoph Weinmann <christoph.t.weinmann@intel.com>
5824 Bernhard Heckel <bernhard.heckel@intel.com>
5826 * gdb.fortran/ptr-indentation.f90: New file.
5827 * gdb.fortran/ptr-indentation.exp: New file.
5829 2017-09-05 Tom Tromey <tom@tromey.com>
5832 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5834 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5836 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5838 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5840 * gdb.threads/tls-nodebug-pie.c: New file.
5841 * gdb.threads/tls-nodebug-pie.exp: New file.
5843 2017-09-05 Tom Tromey <tom@tromey.com>
5845 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5848 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5850 * gdb.multi/multi-arch-exec.exp: Test with different
5851 "follow-exec-mode" settings.
5852 (do_test): New procedure.
5854 2017-09-04 Pedro Alves <palves@redhat.com>
5856 * gdb.base/func-static.c (S::method const, S::method volatile)
5857 (S::method volatile const): New methods.
5858 (c_s, v_s, cv_s): New instances.
5859 (main): Call method() on them.
5860 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5861 (cannot_resolve): New procedure.
5862 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5863 print-quote-unquoted columns.
5864 (do_test): Test printing each scope too.
5866 2017-09-04 Pedro Alves <palves@redhat.com>
5868 * gdb.base/local-static.exp: Also test with
5869 class::method::variable wholly quoted.
5870 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5872 2017-09-04 Pedro Alves <palves@redhat.com>
5874 * gdb.base/local-static.c: New.
5875 * gdb.base/local-static.cc: New.
5876 * gdb.base/local-static.exp: New.
5878 2017-09-04 Pedro Alves <palves@redhat.com>
5880 * gdb.asm/asm-source.exp: Add casts to int.
5881 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5882 (dataglobal64_1, dataglobal64_2): New globals.
5883 * gdb.base/nodebug.exp: Test different expressions involving the
5884 new globals, with print, whatis and ptype. Add casts to int.
5885 * gdb.base/solib-display.exp: Add casts to int.
5886 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5887 * gdb.cp/m-static.exp: Add cast to int.
5888 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5889 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5890 tls variable with no debug info without a cast. Test with a cast
5892 * gdb.trace/entry-values.exp: Add casts.
5894 2017-09-04 Pedro Alves <palves@redhat.com>
5896 * gdb.base/nodebug.exp: Test that ptype's error about functions
5897 with unknown return type includes the function name too.
5899 2017-09-04 Pedro Alves <palves@redhat.com>
5901 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5902 return type of munmap in infcall.
5903 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5904 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5905 type of ftell in infcall.
5906 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5907 type of getpid in infcall.
5908 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5910 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5911 Bail on failure to extract the pid.
5912 * gdb.base/nodebug.c: #include <stdint.h>.
5913 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5915 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5916 Change expected output of print/whatis/ptype with functions with
5917 no debug info. Test all supported languages. Call
5918 test_call_promotion.
5919 * gdb.compile/compile.exp: Adjust expected output to expect
5921 * gdb.threads/siginfo-threads.exp: Likewise.
5923 2017-09-04 Pedro Alves <palves@redhat.com>
5925 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5926 "prototypes". Test calling float functions via prototyped and
5927 unprototyped function pointers.
5928 (perform_all_tests): New parameter "prototypes". Pass it down.
5929 (top level): Pass down "prototypes" parameter to
5932 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5934 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5935 Test with nested loops.
5937 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5939 * gdb.base/commands.exp: Call the new procedures.
5940 (loop_break_test, loop_continue_test): New procedures.
5942 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5944 * gdb.base/commands.exp: Call new procedure.
5945 (define_if_without_arg_test): New procedure.
5947 2017-09-04 Pedro Alves <palves@redhat.com>
5949 * gdb.base/list-ambiguous.exp: New file.
5950 * gdb.base/list-ambiguous0.c: New file.
5951 * gdb.base/list-ambiguous1.c: New file.
5952 * gdb.base/list.exp (test_list_range): Adjust expected output.
5954 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5956 * gdb.base/share-env-with-gdbserver.c: New file.
5957 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5959 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5961 * gdb.base/commands.exp (gdbvar_simple_if_test,
5962 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5963 progvar_simple_if_test, progvar_simple_while_test,
5964 progvar_complex_if_while_test, user_defined_command_test,
5965 user_defined_command_args_eval,
5966 user_defined_command_args_stack_test,
5967 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5968 temporary_breakpoint_commands,
5969 gdb_test_no_prompt, redefine_hook_test,
5970 redefine_backtrace_test): Remove "global gdb_prompt".
5972 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5974 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5975 New proc, call it from toplevel.
5977 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5980 * gdb.server/normal.c: New file, copied from gdb.base.
5981 * gdb.server/run-without-local-binary.exp: New file.
5983 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5985 * gdb.arch/sparc64-adi.exp: New file.
5986 * gdb.arch/sparc64-adi.c: New file.
5988 2017-08-22 Pedro Alves <palves@redhat.com>
5990 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5991 (top level): Add "list all overloads" tests.
5993 2017-08-22 Tom Tromey <tom@tromey.com>
5995 * gdb.gdb/xfullpath.exp: Remove.
5997 2017-08-21 Pedro Alves <palves@redhat.com>
6000 * gdb.base/symbol-alias.c: New.
6001 * gdb.base/symbol-alias2.c: New.
6002 * gdb.base/symbol-alias.exp: New.
6004 2017-08-21 Pedro Alves <palves@redhat.com>
6006 * gdb.base/dfp-test.c
6007 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6008 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6009 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6010 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6011 * gdb.base/whatis-ptype-typedefs.c: New.
6012 * gdb.base/whatis-ptype-typedefs.exp: New.
6013 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6014 (an_int, an_int_type, an_int_type2): New globals.
6015 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6016 involving typedefs and cast expressions.
6017 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6018 (lookup_typedefs_function): New.
6019 (typedefs_pretty_printers_dict): New.
6020 (top level): Register lookup_typedefs_function in
6021 gdb.pretty_printers.
6023 2017-08-18 Yao Qi <yao.qi@linaro.org>
6025 * gdb.server/unittest.exp: New.
6027 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6030 * gdb.base/environ.exp: Add test to check if 'unset environment'
6033 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6035 * lib/gdb.exp (universal_compile_options): New caching proc.
6036 (gdb_compile): Suppress GCC's coloring of messages.
6038 2017-08-14 Tom Tromey <tom@tromey.com>
6041 * gdb.base/printcmds.exp (test_radices): New function.
6042 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6043 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6044 * lib/gdb.exp (get_integer_valueof): Use p/d.
6046 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6048 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6051 2017-08-05 Tom Tromey <tom@tromey.com>
6053 * gdb.rust/simple.exp: Allow String to appear in a different
6056 2017-07-26 Yao Qi <yao.qi@linaro.org>
6058 * gdb.gdb/unittest.exp: Invoke command
6059 "maintenance check xml-descriptions".
6061 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6063 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6065 (hex128): Drop erroneous calculation of parameters.
6067 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6069 * gdb.python/py-unwind.exp: Disable stack protection when
6072 2017-07-20 Pedro Alves <palves@redhat.com>
6074 * gdb.base/default.exp (set language): Adjust expected output.
6076 2017-07-20 Pedro Alves <palves@redhat.com>
6078 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6079 (test_minsym): ... this, and make static.
6080 (get_pck__foo__bar__minsym): Rename to ...
6081 (get_test_minsym): ... this.
6082 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6083 symbol names and comments.
6084 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6085 (get_test_minsym): ... this.
6086 (pck__foo__bar__minsym__2): Rename to ...
6087 (test_minsym): ... this.
6090 2017-07-17 Pedro Alves <palves@redhat.com>
6092 * gdb.base/completion.exp: Adjust expected output.
6093 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6094 the completer works.
6096 2017-07-17 Pedro Alves <palves@redhat.com>
6098 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6100 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6102 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6104 2017-07-14 Tom Tromey <tom@tromey.com>
6107 * gdb.rust/simple.exp: Add tests.
6109 2017-07-14 Tom Tromey <tom@tromey.com>
6111 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6113 2017-07-14 Pedro Alves <palves@redhat.com>
6115 * gdb.linespec/base/one/thefile.cc (z1): New function.
6116 * gdb.linespec/base/two/thefile.cc (z2): New function.
6117 * gdb.linespec/linespec.exp: Add tests.
6119 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6121 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6122 to mi_create_breakpoint.
6124 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6126 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6127 mi_create_breakpoint.
6129 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6131 * gdb.dlang/demangle.exp: Update for demangling changes.
6133 2017-07-09 Tom Tromey <tom@tromey.com>
6135 * gdb.dwarf2/shortpiece.exp: New file.
6137 2017-07-06 David Blaikie <dblaikie@gmail.com>
6139 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6140 built from fissiont-multi-cu{1,2}.c.
6141 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6142 except putting 'main' and 'func' in separate CUs in the same DWO file.
6143 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6145 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6148 2017-07-06 Pedro Alves <palves@redhat.com>
6150 * gdb.python/py-unwind.exp: Test flushregs.
6152 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6155 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6156 tests for alias commands and trailing whitespace.
6158 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6161 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6164 2017-06-29 Pedro Alves <palves@redhat.com>
6166 * gdb.base/printcmds.exp: Add tests.
6168 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6171 * gdb.base/reread-readsym.exp: New file.
6172 * gdb.base/reread-readsym.c: New file.
6174 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6176 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6179 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6181 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6183 * gdb.arch/powerpc-power9.s: Likewise.
6185 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6187 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6188 on 32-bit x86 targets. Exploit is_*_target macros where
6191 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6193 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6196 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6198 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6199 located in one or more DWARF pieces.
6201 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6203 * lib/gdb.exp (get_endianness): New proc.
6204 * gdb.arch/aarch64-fp.exp: Use it.
6205 * gdb.arch/altivec-regs.exp: Likewise.
6206 * gdb.arch/e500-regs.exp: Likewise.
6207 * gdb.arch/vsx-regs.exp: Likewise.
6208 * gdb.base/dump.exp: Likewise.
6209 * gdb.base/funcargs.exp: Likewise.
6210 * gdb.base/gnu_vector.exp: Likewise.
6211 * gdb.dwarf2/formdata16.exp: Likewise.
6212 * gdb.dwarf2/implptrpiece.exp: Likewise.
6213 * gdb.dwarf2/nonvar-access.exp: Likewise.
6214 * gdb.python/py-inferior.exp: Likewise.
6215 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6217 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6220 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6221 stack value pieces are taken from the LSB end.
6223 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6225 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6226 variable at nonzero offset.
6228 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6230 * gdb.dwarf2/var-access.c: New file.
6231 * gdb.dwarf2/var-access.exp: New test.
6232 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6234 2017-06-12 Tom Tromey <tom@tromey.com>
6236 * gdb.dwarf2/formdata16.exp: Add tests.
6238 2017-06-12 Tom Tromey <tom@tromey.com>
6240 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6242 2017-06-12 Tom Tromey <tom@tromey.com>
6245 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6246 * gdb.arch/vsx-regs.exp: Update tests.
6247 * gdb.arch/s390-vregs.exp (hex128): New proc.
6249 * gdb.arch/altivec-regs.exp: Update tests.
6251 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6253 * gdb.base/startup-with-shell.c: New file.
6254 * gdb.base/startup-with-shell.exp: Likewise.
6256 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6258 * gdb.server/non-existing-program.exp: Update regex in order to
6259 reflect the fact that gdbserver is now using fork_inferior (with a
6260 shell) to startup the inferior.
6262 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6264 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6265 support function calls from GDB.
6267 2017-05-21 Tom Tromey <tom@tromey.com>
6270 * gdb.rust/unsized.exp: New file.
6271 * gdb.rust/unsized.rs: New file.
6273 2017-05-19 Tom Tromey <tom@tromey.com>
6276 * gdb.rust/watch.exp: New file.
6277 * gdb.rust/watch.rs: New file.
6279 2017-05-18 Tom Tromey <tom@tromey.com>
6281 * gdb.rust/simple.exp: Allow Box to be qualified.
6283 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6285 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6287 2017-05-18 Pedro Alves <palves@redhat.com>
6289 * gdb.base/fileio.c (test_write, test_read, test_close)
6290 (test_fstat): Don't print 'ret' in the fail path.
6292 2017-05-18 Pedro Alves <palves@redhat.com>
6294 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6295 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6296 (test_system, test_rename, test_unlink, test_time): Change
6298 * gdb.base/fileio.exp (stop_msg): Adjust.
6300 2017-05-18 Pedro Alves <palves@redhat.com>
6302 * gdb.base/fileio.c (null_str): New global.
6303 (test_stat): Use it.
6304 * gdb.base/fileio.exp: Remove nowarnings.
6306 2017-05-17 Yao Qi <yao.qi@linaro.org>
6308 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6310 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6312 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6314 (top-level): Invoke test_set_inferior_tty.
6316 2017-05-04 Pedro Alves <palves@redhat.com>
6318 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6319 Add parens to print call for Python 3.
6321 2017-05-03 Keith Seitz <keiths@redhat.com>
6323 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6326 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6328 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6331 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6333 * gdb.python/py-record-btrace.exp: Remove test for
6334 gdb.BtraceInstruction.error.
6336 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6338 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6340 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6342 * gdb.python/py-record-btrace-threads.c: New file.
6343 * gdb.python/py-record-btrace-threads.exp: New file.
6345 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6348 * gdb.base/environ.exp: Make test available in all architectures.
6349 Move bits related to "info program" testing to
6350 gdb.base/info-program.exp. Rewrite tests to use the two new
6351 procedures mentione below.
6352 (test_set_show_env_var) New procedure.
6353 (test_set_show_env_var_equal): Likewise.
6354 * gdb.base/info-program.exp: New file.
6356 2017-04-27 Keith Seitz <keiths@redhat.com>
6358 * gdb.cp/oranking.cc (test15): New function.
6359 (main): Call test15 and declare additional variables for testing.
6360 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6361 "p foo101('abc')" tests.
6362 Add tests for cv qualifier overloads.
6363 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6364 "lvalue reference overload" test.
6365 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6366 "print value of f1 on Child&& in f2" test.
6368 2017-04-19 Pedro Alves <palves@redhat.com>
6370 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6372 (top level): Call it.
6373 * lib/gdb.exp (gdb_define_cmd): New procedure.
6375 2017-04-12 Pedro Alves <palves@redhat.com>
6378 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6379 (wchar): New global.
6380 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6381 (do_test_wide_char, wide_char_types_no_program, top level): Add
6384 2017-04-12 Pedro Alves <palves@redhat.com>
6387 * gdb.cp/wide_char_types.c: New file.
6388 * gdb.cp/wide_char_types.exp: New file.
6390 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6393 * gdb.trace/tsv.exp: Add test for "tsave -r".
6395 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6397 * gdb.dlang/watch-loc.c: New file.
6398 * gdb.dlang/watch-loc.exp: New file.
6400 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6402 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6404 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6406 * gdb.arch/arc-analyze-prologue.S: New file.
6407 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6409 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6411 * gdb.arch/arc-decode-insn.S: New file.
6412 * gdb.arch/arc-decode-insn.exp: Likewise.
6414 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6417 * gdb.arch/sparc64-regs.exp: New file.
6418 * gdb.arch/sparc64-regs.S: Likewise.
6420 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6422 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6423 and memory view on Python 3.
6425 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6426 Keith Seitz <keiths@redhat.com>
6429 * gdb.cp/demangle.exp: Add rvalue reference tests.
6430 * gdb.cp/rvalue-ref-casts.cc: New file.
6431 * gdb.cp/rvalue-ref-casts.exp: New file.
6432 * gdb.cp/rvalue-ref-overload.cc: New file.
6433 * gdb.cp/rvalue-ref-overload.exp: New file.
6434 * gdb.cp/rvalue-ref-params.cc: New file.
6435 * gdb.cp/rvalue-ref-params.exp: New file.
6436 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6437 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6438 * gdb.cp/rvalue-ref-types.cc: New file.
6439 * gdb.cp/rvalue-ref-types.exp: New file.
6440 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6441 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6443 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6445 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6448 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6450 * lib/mi-support.exp (mi_gdb_test): Add additional message
6451 for unexpected output.
6453 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6455 * gdb.base/examine-backward.c (Barrier): New character array
6456 constant, to ensure that TestStrings is preceded by a string
6459 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6461 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6462 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6463 and implicit pointer into such a location.
6465 2017-03-16 Doug Evans <dje@google.com>
6467 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6469 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6471 * gdb.cp/m-static.exp: Fix expectation for prototype of
6472 test5.single_constructor and single_constructor::single_constructor.
6474 2017-03-16 Doug Evans <dje@google.com>
6476 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6477 * gdb.guile/scm-lazy-string.c: New file.
6478 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6479 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6480 for pointer, array, typedef lazy strings.
6482 2017-03-16 Doug Evans <dje@google.com>
6484 PR python/17728, python/18439, python/18779
6485 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6486 * gdb.python/py-lazy-string.c (pointer): New typedef.
6487 (main): New locals ptr, array, typedef_ptr.
6488 * gdb.python/py-value.exp: Move lazy string tests to ...
6489 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6490 array, typedef lazy strings.
6492 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6494 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6495 Add optional 'test' parameter.
6497 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6499 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6500 Skip for versions of DejaGnu < 1.5.
6502 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6504 * lib/gdb.exp (dejagnu_version): New proc.
6505 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6506 Use dejagnu_version.
6508 2017-03-10 Keith Seitz <keiths@redhat.com>
6511 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6512 type from destructor regexps.
6513 Add a branch which actually passes the test.
6514 Adjust "ptype t5i" test names.
6516 2017-03-08 Pedro Alves <palves@redhat.com>
6518 * gdb.base/step-over-exit.exp: Add explicit test message.
6520 2017-03-08 Pedro Alves <palves@redhat.com>
6523 * gdb.threads/interrupt-while-step-over.c: New file.
6524 * gdb.threads/interrupt-while-step-over.exp: New file.
6526 2017-03-08 Pedro Alves <palves@redhat.com>
6528 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6529 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6531 2017-03-08 Pedro Alves <palves@redhat.com>
6533 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6534 PKRU as not supported as a PASS.
6536 2017-03-08 Pedro Alves <palves@redhat.com>
6538 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6539 prefix instead of $binfile1/$binfile2.
6540 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6542 * gdb.python/py-completion.exp: Use "load python file" as test
6543 messages instead of unstable path names.
6545 2017-03-08 Pedro Alves <palves@redhat.com>
6546 Jan Kratochvil <jan.kratochvil@redhat.com>
6549 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6551 (top level): Call it.
6553 2017-03-08 Pedro Alves <palves@redhat.com>
6556 * gdb.tui/tui-nl-filtered-output.exp: New file.
6558 2017-03-08 Pedro Alves <palves@redhat.com>
6560 * gdb.base/completion.exp: Move TUI completion tests to ...
6561 * gdb.tui/completion.exp: ... this new file.
6563 2017-03-08 Pedro Alves <palves@redhat.com>
6565 * gdb.base/tui-disasm-long-lines.c,
6566 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6567 gdb.base/tui-layout.exp: Move to ...
6568 * gdb.tui/: ... this new directory.
6570 2017-03-07 Pedro Alves <palves@redhat.com>
6572 * gdb.base/tui-layout.c: New file.
6573 * gdb.base/tui-layout.exp: New file.
6575 2017-03-07 Pedro Alves <palves@redhat.com>
6577 * gdb.base/tui-layout.c: Rename to ...
6578 * gdb.base/tui-disasm-long-lines.c: ... this.
6579 * gdb.base/tui-layout.exp: Rename to ...
6580 * gdb.base/tui-disasm-long-lines.exp: ... this.
6582 2017-03-07 Pedro Alves <palves@redhat.com>
6584 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6586 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6588 * i386-mpx-call.c: New file.
6589 * i386-mpx-call.exp: New file.
6591 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6593 * gdb.arch/powerpc-power.exp: Delete test.
6594 * gdb.arch/powerpc-power.s: Likewise.
6595 * gdb.disasm/disassembler-options.exp: New test.
6596 * gdb.arch/powerpc-altivec.exp: Likewise.
6597 * gdb.arch/powerpc-altivec.s: Likewise.
6598 * gdb.arch/powerpc-altivec2.exp: Likewise.
6599 * gdb.arch/powerpc-altivec2.s: Likewise.
6600 * gdb.arch/powerpc-altivec3.exp: Likewise.
6601 * gdb.arch/powerpc-altivec3.s: Likewise.
6602 * gdb.arch/powerpc-power7.exp: Likewise.
6603 * gdb.arch/powerpc-power7.s: Likewise.
6604 * gdb.arch/powerpc-power8.exp: Likewise.
6605 * gdb.arch/powerpc-power8.s: Likewise.
6606 * gdb.arch/powerpc-power9.exp: Likewise.
6607 * gdb.arch/powerpc-power9.s: Likewise.
6608 * gdb.arch/powerpc-vsx.exp: Likewise.
6609 * gdb.arch/powerpc-vsx.s: Likewise.
6610 * gdb.arch/powerpc-vsx2.exp: Likewise.
6611 * gdb.arch/powerpc-vsx2.s: Likewise.
6612 * gdb.arch/powerpc-vsx3.exp: Likewise.
6613 * gdb.arch/powerpc-vsx3.s: Likewise.
6614 * gdb.arch/arm-disassembler-options.exp: Likewise.
6615 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6616 * gdb.arch/s390-disassembler-options.exp: Likewise.
6618 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6620 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6621 (check_supported_features): ... this. Changed return type to void.
6622 (supports_rdseed): New static global.
6623 (rdseed): Check supports_rdseed.
6624 (initialize): Call check_supported_features.
6626 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6628 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6629 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6631 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6632 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6634 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6636 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6639 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6641 * gdb.dwarf2/formdata16.c: New file.
6642 * gdb.dwarf2/formdata16.exp: New file.
6643 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6645 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6647 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6648 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6649 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6650 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6653 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6655 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6657 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6660 * gdb.base/maint.exp: Add testcases for when the commands do
6663 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6665 * gdb.cp/chained-calls.exp: Use p instead of P.
6667 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6669 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6670 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6672 2017-02-14 Tom Tromey <tom@tromey.com>
6675 * gdb.python/py-events.exp: Add before_prompt event tests.
6677 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6679 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6681 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6683 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6684 (main): Call my_unique_function_name.
6685 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6686 completion of patterns with a single match.
6687 Add missing -re switches to gdb_test_multiple calls.
6689 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6691 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6692 return if core file is not recognized.
6694 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6696 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6699 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6701 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6704 2017-02-10 Tom Tromey <tom@tromey.com>
6706 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6708 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6711 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6713 2017-02-08 Jerome Guitton <guitton@adacore.com>
6715 * gdb.base/define.exp: Add test for command abbreviations
6718 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6720 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6721 * gdb.reverse/insn-reverse-x86.c: New file.
6723 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6726 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6728 2017-02-03 Tom Tromey <tom@tromey.com>
6731 * gdb.rust/simple.exp: Add new tests.
6733 2017-02-02 Pedro Alves <palves@redhat.com>
6735 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6738 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6740 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6741 taking a 2-byte value out of a 4-byte DWARF implicit value on
6743 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6744 logic. Add test cases for DW_OP_implicit.
6746 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6748 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6750 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6752 * gdb.btrace/enable.exp: Call gdb_exit before
6753 skip_gdbserver_tests.
6755 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6757 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6760 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6762 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6763 the test is skipped.
6764 * gdb.btrace/data.exp: Likewise.
6765 * gdb.btrace/delta.exp: Likewise.
6766 * gdb.btrace/dlopen.exp: Likewise.
6767 * gdb.btrace/enable-running.exp: Likewise.
6768 * gdb.btrace/enable.exp: Likewise.
6769 * gdb.btrace/exception.exp: Likewise.
6770 * gdb.btrace/function_call_history.exp: Likewise.
6771 * gdb.btrace/gcore.exp: Likewise.
6772 * gdb.btrace/instruction_history.exp: Likewise.
6773 * gdb.btrace/multi-thread-step.exp: Likewise.
6774 * gdb.btrace/nohist.exp: Likewise.
6775 * gdb.btrace/non-stop.exp: Likewise.
6776 * gdb.btrace/reconnect.exp: Likewise.
6777 * gdb.btrace/record_goto-step.exp: Likewise.
6778 * gdb.btrace/record_goto.exp: Likewise.
6779 * gdb.btrace/rn-dl-bind.exp: Likewise.
6780 * gdb.btrace/segv.exp: Likewise.
6781 * gdb.btrace/step.exp: Likewise.
6782 * gdb.btrace/stepi.exp: Likewise.
6783 * gdb.btrace/tailcall-only.exp: Likewise.
6784 * gdb.btrace/tailcall.exp: Likewise.
6785 * gdb.btrace/tsx.exp: Likewise.
6786 * gdb.btrace/unknown_functions.exp: Likewise.
6787 * gdb.btrace/vdso.exp: Likewise.
6789 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6791 * gdb.btrace/enable-running.c: New.
6792 * gdb.btrace/enable-running.exp: New.
6794 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6796 * gdb.arch/amd64-gs_base.c: New file.
6797 * gdb.arch/amd64-gs_base.exp: New file.
6799 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6801 * lib/memory.exp: Remove spurious empty newlines.
6803 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6805 * gdb.python/py-bad-printers.exp: Load python file using "source".
6806 * gdb.python/py-events.exp: Likewise.
6807 * gdb.python/py-evsignal.exp: Likewise.
6808 * gdb.python/py-evthreads.exp: Likewise.
6809 * gdb.python/py-frame-args.exp: Likewise.
6810 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6811 * gdb.python/py-framefilter-mi.exp: Likewise.
6812 * gdb.python/py-framefilter.exp: Likewise.
6813 * gdb.python/py-mi.exp: Likewise.
6814 * gdb.python/py-pp-maint.exp: Likewise.
6815 * gdb.python/py-pp-registration.exp: Likewise.
6816 * gdb.python/py-prettyprint.exp: Likewise.
6817 (run_lang_tests): Likewise.
6818 * gdb.python/py-typeprint.exp: Likewise.
6820 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6822 * lib/memory.exp: New file.
6823 * lib/gdb.exp: Load memory.exp.
6824 * gdb.base/memattr.exp (delete_memory): Move proc to
6825 lib/memory.exp and rename to delete_memory_regions.
6826 Replace delete_memory with delete_memory_regions.
6827 Cleanup memory regions before tests.
6828 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6831 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6833 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6835 (initialize): New function conditionally defined.
6836 (testcases): Move within conditional block.
6837 (main): Call initialize.
6838 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6839 of gdb.reverse/insn-reverse.c.
6840 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6841 gdb.reverse/insn-reverse.c.
6843 2017-01-26 Yao Qi <yao.qi@linaro.org>
6845 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6846 disassemble on address 0.
6848 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6849 Yao Qi <yao.qi@linaro.org>
6851 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6852 * gdb.dwarf2/implptr-64bit.S: Remove.
6853 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6854 variables in caller's context. Add DW_OP_implicit_value.
6856 2017-01-25 Yao Qi <yao.qi@linaro.org>
6858 * lib/dwarf.exp (Dwarf::_location): Handle
6859 DW_OP_GNU_implicit_pointer with proper size.
6861 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6863 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6864 and add untested calls.
6866 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6868 * gdb.python/python.exp: Check line number against what GDB thinks
6869 the line number is for func1.
6871 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6873 * gdb.dlang/debug-expr.exp: New file.
6875 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6877 Fix test names for the following files:
6879 * gdb.ada/exec_changed.exp
6880 * gdb.ada/info_types.exp
6881 * gdb.arch/aarch64-atomic-inst.exp
6882 * gdb.arch/aarch64-fp.exp
6883 * gdb.arch/altivec-abi.exp
6884 * gdb.arch/altivec-regs.exp
6885 * gdb.arch/amd64-byte.exp
6886 * gdb.arch/amd64-disp-step.exp
6887 * gdb.arch/amd64-dword.exp
6888 * gdb.arch/amd64-entry-value-inline.exp
6889 * gdb.arch/amd64-entry-value-param.exp
6890 * gdb.arch/amd64-entry-value-paramref.exp
6891 * gdb.arch/amd64-entry-value.exp
6892 * gdb.arch/amd64-i386-address.exp
6893 * gdb.arch/amd64-invalid-stack-middle.exp
6894 * gdb.arch/amd64-invalid-stack-top.exp
6895 * gdb.arch/amd64-optimout-repeat.exp
6896 * gdb.arch/amd64-prologue-skip.exp
6897 * gdb.arch/amd64-prologue-xmm.exp
6898 * gdb.arch/amd64-stap-special-operands.exp
6899 * gdb.arch/amd64-stap-wrong-subexp.exp
6900 * gdb.arch/amd64-tailcall-cxx.exp
6901 * gdb.arch/amd64-tailcall-noret.exp
6902 * gdb.arch/amd64-tailcall-ret.exp
6903 * gdb.arch/amd64-tailcall-self.exp
6904 * gdb.arch/amd64-word.exp
6905 * gdb.arch/arm-bl-branch-dest.exp
6906 * gdb.arch/arm-disp-step.exp
6907 * gdb.arch/arm-neon.exp
6908 * gdb.arch/arm-single-step-kernel-helper.exp
6909 * gdb.arch/avr-flash-qualifier.exp
6910 * gdb.arch/disp-step-insn-reloc.exp
6911 * gdb.arch/e500-abi.exp
6912 * gdb.arch/e500-regs.exp
6913 * gdb.arch/ftrace-insn-reloc.exp
6914 * gdb.arch/i386-avx512.exp
6915 * gdb.arch/i386-bp_permanent.exp
6916 * gdb.arch/i386-byte.exp
6917 * gdb.arch/i386-cfi-notcurrent.exp
6918 * gdb.arch/i386-disp-step.exp
6919 * gdb.arch/i386-dr3-watch.exp
6920 * gdb.arch/i386-float.exp
6921 * gdb.arch/i386-gnu-cfi.exp
6922 * gdb.arch/i386-mpx-map.exp
6923 * gdb.arch/i386-mpx-sigsegv.exp
6924 * gdb.arch/i386-mpx-simple_segv.exp
6925 * gdb.arch/i386-mpx.exp
6926 * gdb.arch/i386-permbkpt.exp
6927 * gdb.arch/i386-prologue.exp
6928 * gdb.arch/i386-signal.exp
6929 * gdb.arch/i386-size-overlap.exp
6930 * gdb.arch/i386-unwind.exp
6931 * gdb.arch/i386-word.exp
6932 * gdb.arch/mips-fcr.exp
6933 * gdb.arch/powerpc-d128-regs.exp
6934 * gdb.arch/powerpc-stackless.exp
6935 * gdb.arch/ppc64-atomic-inst.exp
6936 * gdb.arch/s390-stackless.exp
6937 * gdb.arch/s390-tdbregs.exp
6938 * gdb.arch/s390-vregs.exp
6939 * gdb.arch/sparc-sysstep.exp
6940 * gdb.arch/thumb-bx-pc.exp
6941 * gdb.arch/thumb-singlestep.exp
6942 * gdb.arch/thumb2-it.exp
6943 * gdb.arch/vsx-regs.exp
6944 * gdb.asm/asm-source.exp
6945 * gdb.base/a2-run.exp
6946 * gdb.base/advance.exp
6947 * gdb.base/all-bin.exp
6950 * gdb.base/arithmet.exp
6951 * gdb.base/async-shell.exp
6952 * gdb.base/async.exp
6953 * gdb.base/attach-pie-noexec.exp
6954 * gdb.base/attach-twice.exp
6955 * gdb.base/auto-load.exp
6957 * gdb.base/bitfields.exp
6958 * gdb.base/break-always.exp
6959 * gdb.base/break-caller-line.exp
6960 * gdb.base/break-entry.exp
6961 * gdb.base/break-inline.exp
6962 * gdb.base/break-on-linker-gcd-function.exp
6963 * gdb.base/break-probes.exp
6964 * gdb.base/break.exp
6965 * gdb.base/breakpoint-shadow.exp
6966 * gdb.base/call-ar-st.exp
6967 * gdb.base/call-sc.exp
6968 * gdb.base/call-signal-resume.exp
6969 * gdb.base/call-strs.exp
6970 * gdb.base/callfuncs.exp
6971 * gdb.base/catch-fork-static.exp
6972 * gdb.base/catch-gdb-caused-signals.exp
6973 * gdb.base/catch-load.exp
6974 * gdb.base/catch-signal-fork.exp
6975 * gdb.base/catch-signal.exp
6976 * gdb.base/catch-syscall.exp
6977 * gdb.base/charset.exp
6978 * gdb.base/checkpoint.exp
6979 * gdb.base/chng-syms.exp
6980 * gdb.base/code-expr.exp
6981 * gdb.base/code_elim.exp
6982 * gdb.base/commands.exp
6983 * gdb.base/completion.exp
6984 * gdb.base/complex.exp
6985 * gdb.base/cond-expr.exp
6986 * gdb.base/condbreak.exp
6987 * gdb.base/consecutive.exp
6988 * gdb.base/continue-all-already-running.exp
6989 * gdb.base/coredump-filter.exp
6990 * gdb.base/corefile.exp
6992 * gdb.base/debug-expr.exp
6993 * gdb.base/define.exp
6995 * gdb.base/disabled-location.exp
6996 * gdb.base/disasm-end-cu.exp
6997 * gdb.base/disasm-optim.exp
6998 * gdb.base/display.exp
6999 * gdb.base/duplicate-bp.exp
7000 * gdb.base/ena-dis-br.exp
7001 * gdb.base/ending-run.exp
7002 * gdb.base/enumval.exp
7003 * gdb.base/environ.exp
7004 * gdb.base/eu-strip-infcall.exp
7005 * gdb.base/eval-avoid-side-effects.exp
7006 * gdb.base/eval-skip.exp
7007 * gdb.base/exitsignal.exp
7008 * gdb.base/expand-psymtabs.exp
7009 * gdb.base/filesym.exp
7010 * gdb.base/find-unmapped.exp
7011 * gdb.base/finish.exp
7012 * gdb.base/float.exp
7013 * gdb.base/foll-exec-mode.exp
7014 * gdb.base/foll-exec.exp
7015 * gdb.base/foll-fork.exp
7016 * gdb.base/fortran-sym-case.exp
7017 * gdb.base/freebpcmd.exp
7018 * gdb.base/func-ptr.exp
7019 * gdb.base/func-ptrs.exp
7020 * gdb.base/funcargs.exp
7021 * gdb.base/gcore-buffer-overflow.exp
7022 * gdb.base/gcore-relro-pie.exp
7023 * gdb.base/gcore-relro.exp
7024 * gdb.base/gcore.exp
7025 * gdb.base/gdb1090.exp
7026 * gdb.base/gdb11530.exp
7027 * gdb.base/gdb11531.exp
7028 * gdb.base/gdb1821.exp
7029 * gdb.base/gdbindex-stabs.exp
7030 * gdb.base/gdbvars.exp
7031 * gdb.base/hbreak.exp
7032 * gdb.base/hbreak2.exp
7033 * gdb.base/included.exp
7034 * gdb.base/infcall-input.exp
7035 * gdb.base/inferior-died.exp
7036 * gdb.base/infnan.exp
7037 * gdb.base/info-macros.exp
7038 * gdb.base/info-os.exp
7039 * gdb.base/info-proc.exp
7040 * gdb.base/info-shared.exp
7041 * gdb.base/info-target.exp
7042 * gdb.base/infoline.exp
7043 * gdb.base/interp.exp
7044 * gdb.base/interrupt.exp
7045 * gdb.base/jit-reader.exp
7046 * gdb.base/jit-simple.exp
7047 * gdb.base/kill-after-signal.exp
7048 * gdb.base/kill-detach-inferiors-cmd.exp
7049 * gdb.base/label.exp
7050 * gdb.base/langs.exp
7051 * gdb.base/ldbl_e308.exp
7052 * gdb.base/line-symtabs.exp
7053 * gdb.base/linespecs.exp
7055 * gdb.base/long_long.exp
7056 * gdb.base/longest-types.exp
7057 * gdb.base/maint.exp
7058 * gdb.base/max-value-size.exp
7059 * gdb.base/memattr.exp
7060 * gdb.base/mips_pro.exp
7061 * gdb.base/morestack.exp
7062 * gdb.base/moribund-step.exp
7063 * gdb.base/multi-forks.exp
7064 * gdb.base/nested-addr.exp
7065 * gdb.base/nextoverexit.exp
7066 * gdb.base/noreturn-finish.exp
7067 * gdb.base/noreturn-return.exp
7068 * gdb.base/nostdlib.exp
7069 * gdb.base/offsets.exp
7070 * gdb.base/opaque.exp
7071 * gdb.base/pc-fp.exp
7072 * gdb.base/permissions.exp
7073 * gdb.base/print-symbol-loading.exp
7074 * gdb.base/prologue-include.exp
7075 * gdb.base/psymtab.exp
7076 * gdb.base/ptype.exp
7077 * gdb.base/random-signal.exp
7078 * gdb.base/randomize.exp
7079 * gdb.base/range-stepping.exp
7080 * gdb.base/readline-ask.exp
7081 * gdb.base/recpar.exp
7082 * gdb.base/recurse.exp
7083 * gdb.base/relational.exp
7084 * gdb.base/restore.exp
7085 * gdb.base/return-nodebug.exp
7086 * gdb.base/return.exp
7087 * gdb.base/run-after-attach.exp
7088 * gdb.base/save-bp.exp
7089 * gdb.base/scope.exp
7090 * gdb.base/sect-cmd.exp
7091 * gdb.base/set-lang-auto.exp
7092 * gdb.base/set-noassign.exp
7093 * gdb.base/setvar.exp
7094 * gdb.base/sigall.exp
7095 * gdb.base/sigbpt.exp
7096 * gdb.base/siginfo-addr.exp
7097 * gdb.base/siginfo-infcall.exp
7098 * gdb.base/siginfo-obj.exp
7099 * gdb.base/siginfo.exp
7100 * gdb.base/signals-state-child.exp
7101 * gdb.base/signest.exp
7102 * gdb.base/sigstep.exp
7103 * gdb.base/sizeof.exp
7105 * gdb.base/solib-corrupted.exp
7106 * gdb.base/solib-nodir.exp
7107 * gdb.base/solib-search.exp
7108 * gdb.base/stack-checking.exp
7109 * gdb.base/stale-infcall.exp
7110 * gdb.base/stap-probe.exp
7111 * gdb.base/start.exp
7112 * gdb.base/step-break.exp
7113 * gdb.base/step-bt.exp
7114 * gdb.base/step-line.exp
7115 * gdb.base/step-over-exit.exp
7116 * gdb.base/step-over-syscall.exp
7117 * gdb.base/step-resume-infcall.exp
7118 * gdb.base/step-test.exp
7119 * gdb.base/store.exp
7120 * gdb.base/structs3.exp
7121 * gdb.base/sym-file.exp
7122 * gdb.base/symbol-without-target_section.exp
7124 * gdb.base/testenv.exp
7125 * gdb.base/ui-redirect.exp
7126 * gdb.base/until.exp
7127 * gdb.base/unwindonsignal.exp
7128 * gdb.base/value-double-free.exp
7129 * gdb.base/vla-datatypes.exp
7130 * gdb.base/vla-ptr.exp
7131 * gdb.base/vla-sideeffect.exp
7132 * gdb.base/volatile.exp
7133 * gdb.base/watch-cond-infcall.exp
7134 * gdb.base/watch-cond.exp
7135 * gdb.base/watch-non-mem.exp
7136 * gdb.base/watch-read.exp
7137 * gdb.base/watch-vfork.exp
7138 * gdb.base/watchpoint-cond-gone.exp
7139 * gdb.base/watchpoint-delete.exp
7140 * gdb.base/watchpoint-hw-hit-once.exp
7141 * gdb.base/watchpoint-hw.exp
7142 * gdb.base/watchpoint-stops-at-right-insn.exp
7143 * gdb.base/watchpoints.exp
7144 * gdb.base/wchar.exp
7145 * gdb.base/whatis-exp.exp
7146 * gdb.btrace/buffer-size.exp
7147 * gdb.btrace/data.exp
7148 * gdb.btrace/delta.exp
7149 * gdb.btrace/dlopen.exp
7150 * gdb.btrace/enable.exp
7151 * gdb.btrace/exception.exp
7152 * gdb.btrace/function_call_history.exp
7153 * gdb.btrace/gcore.exp
7154 * gdb.btrace/instruction_history.exp
7155 * gdb.btrace/nohist.exp
7156 * gdb.btrace/reconnect.exp
7157 * gdb.btrace/record_goto-step.exp
7158 * gdb.btrace/record_goto.exp
7159 * gdb.btrace/rn-dl-bind.exp
7160 * gdb.btrace/segv.exp
7161 * gdb.btrace/step.exp
7162 * gdb.btrace/stepi.exp
7163 * gdb.btrace/tailcall-only.exp
7164 * gdb.btrace/tailcall.exp
7165 * gdb.btrace/tsx.exp
7166 * gdb.btrace/unknown_functions.exp
7167 * gdb.btrace/vdso.exp
7168 * gdb.compile/compile-ifunc.exp
7169 * gdb.compile/compile-ops.exp
7170 * gdb.compile/compile-print.exp
7171 * gdb.compile/compile-setjmp.exp
7172 * gdb.cp/abstract-origin.exp
7173 * gdb.cp/ambiguous.exp
7174 * gdb.cp/annota2.exp
7175 * gdb.cp/annota3.exp
7176 * gdb.cp/anon-ns.exp
7177 * gdb.cp/anon-struct.exp
7178 * gdb.cp/anon-union.exp
7179 * gdb.cp/arg-reference.exp
7180 * gdb.cp/baseenum.exp
7182 * gdb.cp/breakpoint.exp
7183 * gdb.cp/bs15503.exp
7186 * gdb.cp/chained-calls.exp
7188 * gdb.cp/classes.exp
7189 * gdb.cp/cmpd-minsyms.exp
7190 * gdb.cp/converts.exp
7191 * gdb.cp/cp-relocate.exp
7192 * gdb.cp/cpcompletion.exp
7193 * gdb.cp/cpexprs.exp
7194 * gdb.cp/cplabel.exp
7195 * gdb.cp/cplusfuncs.exp
7196 * gdb.cp/cpsizeof.exp
7198 * gdb.cp/derivation.exp
7199 * gdb.cp/destrprint.exp
7200 * gdb.cp/dispcxx.exp
7201 * gdb.cp/enum-class.exp
7202 * gdb.cp/exception.exp
7203 * gdb.cp/exceptprint.exp
7204 * gdb.cp/expand-psymtabs-cxx.exp
7205 * gdb.cp/expand-sals.exp
7206 * gdb.cp/extern-c.exp
7207 * gdb.cp/filename.exp
7208 * gdb.cp/formatted-ref.exp
7209 * gdb.cp/fpointer.exp
7210 * gdb.cp/gdb1355.exp
7211 * gdb.cp/gdb2495.exp
7213 * gdb.cp/impl-this.exp
7214 * gdb.cp/infcall-dlopen.exp
7215 * gdb.cp/inherit.exp
7216 * gdb.cp/iostream.exp
7220 * gdb.cp/m-static.exp
7221 * gdb.cp/mb-ctor.exp
7222 * gdb.cp/mb-inline.exp
7223 * gdb.cp/mb-templates.exp
7224 * gdb.cp/member-name.exp
7225 * gdb.cp/member-ptr.exp
7226 * gdb.cp/meth-typedefs.exp
7228 * gdb.cp/method2.exp
7229 * gdb.cp/minsym-fallback.exp
7231 * gdb.cp/namelessclass.exp
7232 * gdb.cp/namespace-enum.exp
7233 * gdb.cp/namespace-nested-import.exp
7234 * gdb.cp/namespace.exp
7235 * gdb.cp/nextoverthrow.exp
7236 * gdb.cp/no-dmgl-verbose.exp
7237 * gdb.cp/non-trivial-retval.exp
7238 * gdb.cp/noparam.exp
7240 * gdb.cp/nsimport.exp
7241 * gdb.cp/nsnested.exp
7242 * gdb.cp/nsnoimports.exp
7243 * gdb.cp/nsrecurs.exp
7244 * gdb.cp/nsstress.exp
7245 * gdb.cp/nsusing.exp
7246 * gdb.cp/operator.exp
7247 * gdb.cp/oranking.exp
7248 * gdb.cp/overload-const.exp
7249 * gdb.cp/overload.exp
7250 * gdb.cp/ovldbreak.exp
7252 * gdb.cp/paren-type.exp
7253 * gdb.cp/parse-lang.exp
7254 * gdb.cp/pass-by-ref.exp
7255 * gdb.cp/pr-1023.exp
7256 * gdb.cp/pr-1210.exp
7258 * gdb.cp/pr10687.exp
7259 * gdb.cp/pr12028.exp
7260 * gdb.cp/pr17132.exp
7261 * gdb.cp/pr17494.exp
7265 * gdb.cp/printmethod.exp
7267 * gdb.cp/psymtab-parameter.exp
7268 * gdb.cp/ptype-cv-cp.exp
7269 * gdb.cp/ptype-flags.exp
7270 * gdb.cp/re-set-overloaded.exp
7271 * gdb.cp/ref-types.exp
7273 * gdb.cp/scope-err.exp
7276 * gdb.cp/static-method.exp
7277 * gdb.cp/static-print-quit.exp
7278 * gdb.cp/temargs.exp
7279 * gdb.cp/templates.exp
7280 * gdb.cp/try_catch.exp
7281 * gdb.cp/typedef-operator.exp
7283 * gdb.cp/userdef.exp
7284 * gdb.cp/using-crash.exp
7285 * gdb.cp/var-tag.exp
7286 * gdb.cp/virtbase.exp
7287 * gdb.cp/virtfunc.exp
7288 * gdb.cp/virtfunc2.exp
7289 * gdb.cp/vla-cxx.exp
7290 * gdb.disasm/t01_mov.exp
7291 * gdb.disasm/t02_mova.exp
7292 * gdb.disasm/t03_add.exp
7293 * gdb.disasm/t04_sub.exp
7294 * gdb.disasm/t05_cmp.exp
7295 * gdb.disasm/t06_ari2.exp
7296 * gdb.disasm/t07_ari3.exp
7297 * gdb.disasm/t08_or.exp
7298 * gdb.disasm/t09_xor.exp
7299 * gdb.disasm/t10_and.exp
7300 * gdb.disasm/t11_logs.exp
7301 * gdb.disasm/t12_bit.exp
7302 * gdb.disasm/t13_otr.exp
7303 * gdb.dlang/circular.exp
7304 * gdb.dwarf2/arr-stride.exp
7305 * gdb.dwarf2/arr-subrange.exp
7306 * gdb.dwarf2/atomic-type.exp
7307 * gdb.dwarf2/bad-regnum.exp
7308 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7309 * gdb.dwarf2/callframecfa.exp
7310 * gdb.dwarf2/clztest.exp
7311 * gdb.dwarf2/corrupt.exp
7312 * gdb.dwarf2/data-loc.exp
7313 * gdb.dwarf2/dup-psym.exp
7314 * gdb.dwarf2/dw2-anon-mptr.exp
7315 * gdb.dwarf2/dw2-anonymous-func.exp
7316 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7317 * gdb.dwarf2/dw2-bad-unresolved.exp
7318 * gdb.dwarf2/dw2-basic.exp
7319 * gdb.dwarf2/dw2-canonicalize-type.exp
7320 * gdb.dwarf2/dw2-case-insensitive.exp
7321 * gdb.dwarf2/dw2-common-block.exp
7322 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7323 * gdb.dwarf2/dw2-compressed.exp
7324 * gdb.dwarf2/dw2-const.exp
7325 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7326 * gdb.dwarf2/dw2-cu-size.exp
7327 * gdb.dwarf2/dw2-dup-frame.exp
7328 * gdb.dwarf2/dw2-entry-value.exp
7329 * gdb.dwarf2/dw2-icycle.exp
7330 * gdb.dwarf2/dw2-ifort-parameter.exp
7331 * gdb.dwarf2/dw2-inline-break.exp
7332 * gdb.dwarf2/dw2-inline-param.exp
7333 * gdb.dwarf2/dw2-intercu.exp
7334 * gdb.dwarf2/dw2-intermix.exp
7335 * gdb.dwarf2/dw2-lexical-block-bare.exp
7336 * gdb.dwarf2/dw2-linkage-name-trust.exp
7337 * gdb.dwarf2/dw2-minsym-in-cu.exp
7338 * gdb.dwarf2/dw2-noloc.exp
7339 * gdb.dwarf2/dw2-op-call.exp
7340 * gdb.dwarf2/dw2-op-out-param.exp
7341 * gdb.dwarf2/dw2-opt-structptr.exp
7342 * gdb.dwarf2/dw2-param-error.exp
7343 * gdb.dwarf2/dw2-producer.exp
7344 * gdb.dwarf2/dw2-ranges-base.exp
7345 * gdb.dwarf2/dw2-ref-missing-frame.exp
7346 * gdb.dwarf2/dw2-reg-undefined.exp
7347 * gdb.dwarf2/dw2-regno-invalid.exp
7348 * gdb.dwarf2/dw2-restore.exp
7349 * gdb.dwarf2/dw2-restrict.exp
7350 * gdb.dwarf2/dw2-single-line-discriminators.exp
7351 * gdb.dwarf2/dw2-strp.exp
7352 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7353 * gdb.dwarf2/dw2-unresolved.exp
7354 * gdb.dwarf2/dw2-var-zero-addr.exp
7355 * gdb.dwarf2/dw4-sig-types.exp
7356 * gdb.dwarf2/dwz.exp
7357 * gdb.dwarf2/dynarr-ptr.exp
7358 * gdb.dwarf2/enum-type.exp
7359 * gdb.dwarf2/gdb-index.exp
7360 * gdb.dwarf2/implptr-64bit.exp
7361 * gdb.dwarf2/implptr-optimized-out.exp
7362 * gdb.dwarf2/implptr.exp
7363 * gdb.dwarf2/implref-array.exp
7364 * gdb.dwarf2/implref-const.exp
7365 * gdb.dwarf2/implref-global.exp
7366 * gdb.dwarf2/implref-struct.exp
7367 * gdb.dwarf2/mac-fileno.exp
7368 * gdb.dwarf2/main-subprogram.exp
7369 * gdb.dwarf2/member-ptr-forwardref.exp
7370 * gdb.dwarf2/method-ptr.exp
7371 * gdb.dwarf2/missing-sig-type.exp
7372 * gdb.dwarf2/nonvar-access.exp
7373 * gdb.dwarf2/opaque-type-lookup.exp
7374 * gdb.dwarf2/pieces-optimized-out.exp
7375 * gdb.dwarf2/pieces.exp
7376 * gdb.dwarf2/pr10770.exp
7377 * gdb.dwarf2/pr13961.exp
7378 * gdb.dwarf2/staticvirtual.exp
7379 * gdb.dwarf2/subrange.exp
7380 * gdb.dwarf2/symtab-producer.exp
7381 * gdb.dwarf2/trace-crash.exp
7382 * gdb.dwarf2/typeddwarf.exp
7383 * gdb.dwarf2/valop.exp
7384 * gdb.dwarf2/watch-notconst.exp
7385 * gdb.fortran/array-element.exp
7386 * gdb.fortran/charset.exp
7387 * gdb.fortran/common-block.exp
7388 * gdb.fortran/complex.exp
7389 * gdb.fortran/derived-type-function.exp
7390 * gdb.fortran/derived-type.exp
7391 * gdb.fortran/logical.exp
7392 * gdb.fortran/module.exp
7393 * gdb.fortran/multi-dim.exp
7394 * gdb.fortran/nested-funcs.exp
7395 * gdb.fortran/print-formatted.exp
7396 * gdb.fortran/subarray.exp
7397 * gdb.fortran/vla-alloc-assoc.exp
7398 * gdb.fortran/vla-datatypes.exp
7399 * gdb.fortran/vla-history.exp
7400 * gdb.fortran/vla-ptr-info.exp
7401 * gdb.fortran/vla-ptype-sub.exp
7402 * gdb.fortran/vla-ptype.exp
7403 * gdb.fortran/vla-sizeof.exp
7404 * gdb.fortran/vla-type.exp
7405 * gdb.fortran/vla-value-sub-arbitrary.exp
7406 * gdb.fortran/vla-value-sub-finish.exp
7407 * gdb.fortran/vla-value-sub.exp
7408 * gdb.fortran/vla-value.exp
7409 * gdb.fortran/whatis_type.exp
7411 * gdb.go/handcall.exp
7413 * gdb.go/integers.exp
7414 * gdb.go/methods.exp
7415 * gdb.go/package.exp
7416 * gdb.go/strings.exp
7419 * gdb.guile/scm-arch.exp
7420 * gdb.guile/scm-block.exp
7421 * gdb.guile/scm-breakpoint.exp
7422 * gdb.guile/scm-cmd.exp
7423 * gdb.guile/scm-disasm.exp
7424 * gdb.guile/scm-equal.exp
7425 * gdb.guile/scm-frame-args.exp
7426 * gdb.guile/scm-frame-inline.exp
7427 * gdb.guile/scm-frame.exp
7428 * gdb.guile/scm-iterator.exp
7429 * gdb.guile/scm-math.exp
7430 * gdb.guile/scm-objfile.exp
7431 * gdb.guile/scm-ports.exp
7432 * gdb.guile/scm-symbol.exp
7433 * gdb.guile/scm-symtab.exp
7434 * gdb.guile/scm-value-cc.exp
7435 * gdb.guile/types-module.exp
7436 * gdb.linespec/break-ask.exp
7437 * gdb.linespec/cpexplicit.exp
7438 * gdb.linespec/explicit.exp
7439 * gdb.linespec/keywords.exp
7440 * gdb.linespec/linespec.exp
7441 * gdb.linespec/ls-dollar.exp
7442 * gdb.linespec/ls-errs.exp
7443 * gdb.linespec/skip-two.exp
7444 * gdb.linespec/thread.exp
7445 * gdb.mi/mi-async.exp
7446 * gdb.mi/mi-basics.exp
7447 * gdb.mi/mi-break.exp
7448 * gdb.mi/mi-catch-load.exp
7450 * gdb.mi/mi-cmd-param-changed.exp
7451 * gdb.mi/mi-console.exp
7452 * gdb.mi/mi-detach.exp
7453 * gdb.mi/mi-disassemble.exp
7454 * gdb.mi/mi-eval.exp
7455 * gdb.mi/mi-file-transfer.exp
7456 * gdb.mi/mi-file.exp
7457 * gdb.mi/mi-fill-memory.exp
7458 * gdb.mi/mi-inheritance-syntax-error.exp
7459 * gdb.mi/mi-linespec-err-cp.exp
7460 * gdb.mi/mi-logging.exp
7461 * gdb.mi/mi-memory-changed.exp
7462 * gdb.mi/mi-read-memory.exp
7463 * gdb.mi/mi-record-changed.exp
7464 * gdb.mi/mi-reg-undefined.exp
7465 * gdb.mi/mi-regs.exp
7466 * gdb.mi/mi-return.exp
7467 * gdb.mi/mi-reverse.exp
7468 * gdb.mi/mi-simplerun.exp
7469 * gdb.mi/mi-solib.exp
7470 * gdb.mi/mi-stack.exp
7471 * gdb.mi/mi-stepi.exp
7472 * gdb.mi/mi-syn-frame.exp
7473 * gdb.mi/mi-until.exp
7474 * gdb.mi/mi-var-block.exp
7475 * gdb.mi/mi-var-child.exp
7476 * gdb.mi/mi-var-cmd.exp
7477 * gdb.mi/mi-var-cp.exp
7478 * gdb.mi/mi-var-display.exp
7479 * gdb.mi/mi-var-invalidate.exp
7480 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7481 * gdb.mi/mi-vla-fortran.exp
7482 * gdb.mi/mi-watch.exp
7483 * gdb.mi/mi2-var-child.exp
7484 * gdb.mi/user-selected-context-sync.exp
7485 * gdb.modula2/unbounded-array.exp
7486 * gdb.multi/dummy-frame-restore.exp
7487 * gdb.multi/multi-arch-exec.exp
7488 * gdb.multi/multi-arch.exp
7489 * gdb.multi/tids.exp
7490 * gdb.multi/watchpoint-multi.exp
7491 * gdb.opencl/callfuncs.exp
7492 * gdb.opencl/convs_casts.exp
7493 * gdb.opencl/datatypes.exp
7494 * gdb.opencl/operators.exp
7495 * gdb.opencl/vec_comps.exp
7496 * gdb.opt/clobbered-registers-O2.exp
7497 * gdb.opt/inline-break.exp
7498 * gdb.opt/inline-bt.exp
7499 * gdb.opt/inline-cmds.exp
7500 * gdb.opt/inline-locals.exp
7501 * gdb.pascal/case-insensitive-symbols.exp
7502 * gdb.pascal/floats.exp
7503 * gdb.pascal/gdb11492.exp
7504 * gdb.python/lib-types.exp
7505 * gdb.python/py-arch.exp
7506 * gdb.python/py-as-string.exp
7507 * gdb.python/py-bad-printers.exp
7508 * gdb.python/py-block.exp
7509 * gdb.python/py-breakpoint-create-fail.exp
7510 * gdb.python/py-breakpoint.exp
7511 * gdb.python/py-caller-is.exp
7512 * gdb.python/py-cmd.exp
7513 * gdb.python/py-explore-cc.exp
7514 * gdb.python/py-explore.exp
7515 * gdb.python/py-finish-breakpoint.exp
7516 * gdb.python/py-finish-breakpoint2.exp
7517 * gdb.python/py-frame-args.exp
7518 * gdb.python/py-frame-inline.exp
7519 * gdb.python/py-frame.exp
7520 * gdb.python/py-framefilter-mi.exp
7521 * gdb.python/py-infthread.exp
7522 * gdb.python/py-lazy-string.exp
7523 * gdb.python/py-linetable.exp
7524 * gdb.python/py-mi-events.exp
7525 * gdb.python/py-mi-objfile.exp
7526 * gdb.python/py-mi.exp
7527 * gdb.python/py-objfile.exp
7528 * gdb.python/py-pp-integral.exp
7529 * gdb.python/py-pp-maint.exp
7530 * gdb.python/py-pp-re-notag.exp
7531 * gdb.python/py-pp-registration.exp
7532 * gdb.python/py-recurse-unwind.exp
7533 * gdb.python/py-strfns.exp
7534 * gdb.python/py-symbol.exp
7535 * gdb.python/py-symtab.exp
7536 * gdb.python/py-sync-interp.exp
7537 * gdb.python/py-typeprint.exp
7538 * gdb.python/py-unwind-maint.exp
7539 * gdb.python/py-unwind.exp
7540 * gdb.python/py-value-cc.exp
7541 * gdb.python/py-xmethods.exp
7542 * gdb.reverse/amd64-tailcall-reverse.exp
7543 * gdb.reverse/break-precsave.exp
7544 * gdb.reverse/break-reverse.exp
7545 * gdb.reverse/consecutive-precsave.exp
7546 * gdb.reverse/consecutive-reverse.exp
7547 * gdb.reverse/finish-precsave.exp
7548 * gdb.reverse/finish-reverse-bkpt.exp
7549 * gdb.reverse/finish-reverse.exp
7550 * gdb.reverse/fstatat-reverse.exp
7551 * gdb.reverse/getresuid-reverse.exp
7552 * gdb.reverse/i386-precsave.exp
7553 * gdb.reverse/i386-reverse.exp
7554 * gdb.reverse/i386-sse-reverse.exp
7555 * gdb.reverse/i387-env-reverse.exp
7556 * gdb.reverse/i387-stack-reverse.exp
7557 * gdb.reverse/insn-reverse.exp
7558 * gdb.reverse/machinestate-precsave.exp
7559 * gdb.reverse/machinestate.exp
7560 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7561 * gdb.reverse/pipe-reverse.exp
7562 * gdb.reverse/readv-reverse.exp
7563 * gdb.reverse/recvmsg-reverse.exp
7564 * gdb.reverse/rerun-prec.exp
7565 * gdb.reverse/s390-mvcle.exp
7566 * gdb.reverse/step-precsave.exp
7567 * gdb.reverse/step-reverse.exp
7568 * gdb.reverse/time-reverse.exp
7569 * gdb.reverse/until-precsave.exp
7570 * gdb.reverse/until-reverse.exp
7571 * gdb.reverse/waitpid-reverse.exp
7572 * gdb.reverse/watch-precsave.exp
7573 * gdb.reverse/watch-reverse.exp
7574 * gdb.rust/generics.exp
7575 * gdb.rust/methods.exp
7576 * gdb.rust/modules.exp
7577 * gdb.rust/simple.exp
7578 * gdb.server/connect-with-no-symbol-file.exp
7579 * gdb.server/ext-attach.exp
7580 * gdb.server/ext-restart.exp
7581 * gdb.server/ext-wrapper.exp
7582 * gdb.server/file-transfer.exp
7583 * gdb.server/server-exec-info.exp
7584 * gdb.server/server-kill.exp
7585 * gdb.server/server-mon.exp
7586 * gdb.server/wrapper.exp
7587 * gdb.stabs/exclfwd.exp
7588 * gdb.stabs/gdb11479.exp
7589 * gdb.threads/clone-new-thread-event.exp
7590 * gdb.threads/corethreads.exp
7591 * gdb.threads/current-lwp-dead.exp
7592 * gdb.threads/dlopen-libpthread.exp
7593 * gdb.threads/gcore-thread.exp
7594 * gdb.threads/sigstep-threads.exp
7595 * gdb.threads/watchpoint-fork.exp
7596 * gdb.trace/actions-changed.exp
7597 * gdb.trace/backtrace.exp
7598 * gdb.trace/change-loc.exp
7599 * gdb.trace/circ.exp
7600 * gdb.trace/collection.exp
7601 * gdb.trace/disconnected-tracing.exp
7602 * gdb.trace/ftrace.exp
7603 * gdb.trace/mi-trace-frame-collected.exp
7604 * gdb.trace/mi-trace-unavailable.exp
7605 * gdb.trace/mi-traceframe-changed.exp
7606 * gdb.trace/mi-tsv-changed.exp
7607 * gdb.trace/no-attach-trace.exp
7608 * gdb.trace/passc-dyn.exp
7609 * gdb.trace/qtro.exp
7610 * gdb.trace/range-stepping.exp
7611 * gdb.trace/read-memory.exp
7612 * gdb.trace/save-trace.exp
7613 * gdb.trace/signal.exp
7614 * gdb.trace/status-stop.exp
7615 * gdb.trace/tfile.exp
7616 * gdb.trace/trace-break.exp
7617 * gdb.trace/trace-buffer-size.exp
7618 * gdb.trace/trace-condition.exp
7619 * gdb.trace/tracefile-pseudo-reg.exp
7620 * gdb.trace/tstatus.exp
7621 * gdb.trace/unavailable.exp
7622 * gdb.trace/while-dyn.exp
7623 * gdb.trace/while-stepping.exp
7625 2016-12-22 Doug Evans <xdje42@gmail.com>
7627 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7630 2016-12-19 Yao Qi <yao.qi@linaro.org>
7632 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7633 (test_with_self): Don't call do_steps_and_nexts, and remove
7634 code about stepping into xmalloc.
7636 2016-12-09 Yao Qi <yao.qi@linaro.org>
7638 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7640 2016-12-09 Yao Qi <yao.qi@linaro.org>
7642 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7644 2016-12-09 Pedro Alves <palves@redhat.com>
7646 * gdb.base/all-architectures-0.exp: New file.
7647 * gdb.base/all-architectures-1.exp: New file.
7648 * gdb.base/all-architectures-2.exp: New file.
7649 * gdb.base/all-architectures-3.exp: New file.
7650 * gdb.base/all-architectures-4.exp: New file.
7651 * gdb.base/all-architectures-5.exp: New file.
7652 * gdb.base/all-architectures-6.exp: New file.
7653 * gdb.base/all-architectures-7.exp: New file.
7654 * gdb.base/all-architectures.exp.in: New file.
7656 2016-12-09 Yao Qi <yao.qi@linaro.org>
7658 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7660 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7662 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7664 Remove useless pattern-matching code.
7666 2016-12-02 Pedro Alves <palves@redhat.com>
7668 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7670 (top level): Call it.
7672 2016-12-02 Pedro Alves <palves@redhat.com>
7674 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7676 (top level): Call it.
7678 2016-12-02 Pedro Alves <palves@redhat.com>
7681 * gdb.base/commands.exp (user_defined_command_args_eval): New
7683 (top level): Call it.
7685 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7687 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7690 2016-12-02 Tom Tromey <tom@tromey.com>
7692 * gdb.dwarf2/main-subprogram.c: New file.
7693 * gdb.dwarf2/main-subprogram.exp: New file.
7695 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7697 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7698 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7699 gdb_test_no_output for a couple of cases.
7700 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7702 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7704 Fix test names and standardize compilation error messages throughout
7705 the following files:
7708 * gdb.arch/alpha-step.exp
7709 * gdb.arch/e500-prologue.exp
7710 * gdb.arch/ftrace-insn-reloc.exp
7711 * gdb.arch/gdb1291.exp
7712 * gdb.arch/gdb1431.exp
7713 * gdb.arch/gdb1558.exp
7714 * gdb.arch/i386-dr3-watch.exp
7715 * gdb.arch/i386-sse-stack-align.exp
7716 * gdb.arch/ia64-breakpoint-shadow.exp
7717 * gdb.arch/pa-nullify.exp
7718 * gdb.arch/powerpc-aix-prologue.exp
7719 * gdb.arch/thumb-bx-pc.exp
7720 * gdb.base/annota1.exp
7721 * gdb.base/annota3.exp
7722 * gdb.base/arrayidx.exp
7723 * gdb.base/assign.exp
7724 * gdb.base/attach.exp
7727 * gdb.base/bfp-test.exp
7728 * gdb.base/bigcore.exp
7729 * gdb.base/bitfields2.exp
7730 * gdb.base/break-fun-addr.exp
7731 * gdb.base/break-probes.exp
7732 * gdb.base/call-rt-st.exp
7733 * gdb.base/callexit.exp
7734 * gdb.base/catch-fork-kill.exp
7735 * gdb.base/charset.exp
7736 * gdb.base/checkpoint.exp
7737 * gdb.base/comprdebug.exp
7738 * gdb.base/constvars.exp
7739 * gdb.base/coredump-filter.exp
7740 * gdb.base/cursal.exp
7741 * gdb.base/cvexpr.exp
7742 * gdb.base/detach.exp
7743 * gdb.base/display.exp
7744 * gdb.base/dmsym.exp
7745 * gdb.base/dprintf-pending.exp
7746 * gdb.base/dso2dso.exp
7747 * gdb.base/dtrace-probe.exp
7749 * gdb.base/enum_cond.exp
7750 * gdb.base/exe-lock.exp
7751 * gdb.base/exec-invalid-sysroot.exp
7752 * gdb.base/execl-update-breakpoints.exp
7753 * gdb.base/exprs.exp
7754 * gdb.base/fileio.exp
7756 * gdb.base/finish.exp
7757 * gdb.base/fixsection.exp
7758 * gdb.base/foll-vfork.exp
7759 * gdb.base/frame-args.exp
7760 * gdb.base/gcore.exp
7761 * gdb.base/gdb1250.exp
7762 * gdb.base/global-var-nested-by-dso.exp
7763 * gdb.base/gnu-ifunc.exp
7764 * gdb.base/hashline1.exp
7765 * gdb.base/hashline2.exp
7766 * gdb.base/hashline3.exp
7767 * gdb.base/hbreak-in-shr-unsupported.exp
7769 * gdb.base/infcall-input.exp
7770 * gdb.base/info-fun.exp
7771 * gdb.base/info-shared.exp
7772 * gdb.base/jit-simple.exp
7773 * gdb.base/jit-so.exp
7776 * gdb.base/label.exp
7777 * gdb.base/lineinc.exp
7778 * gdb.base/logical.exp
7779 * gdb.base/longjmp.exp
7780 * gdb.base/macscp.exp
7781 * gdb.base/miscexprs.exp
7782 * gdb.base/new-ui-echo.exp
7783 * gdb.base/new-ui-pending-input.exp
7784 * gdb.base/new-ui.exp
7785 * gdb.base/nodebug.exp
7786 * gdb.base/nofield.exp
7787 * gdb.base/offsets.exp
7788 * gdb.base/overlays.exp
7789 * gdb.base/pending.exp
7790 * gdb.base/pointers.exp
7791 * gdb.base/pr11022.exp
7792 * gdb.base/printcmds.exp
7793 * gdb.base/prologue.exp
7794 * gdb.base/ptr-typedef.exp
7795 * gdb.base/realname-expand.exp
7796 * gdb.base/relativedebug.exp
7797 * gdb.base/relocate.exp
7798 * gdb.base/remote.exp
7799 * gdb.base/reread.exp
7800 * gdb.base/return2.exp
7801 * gdb.base/savedregs.exp
7803 * gdb.base/sepdebug.exp
7804 * gdb.base/sepsymtab.exp
7805 * gdb.base/set-inferior-tty.exp
7806 * gdb.base/setshow.exp
7807 * gdb.base/shlib-call.exp
7808 * gdb.base/sigaltstack.exp
7809 * gdb.base/siginfo-addr.exp
7810 * gdb.base/signals.exp
7811 * gdb.base/signull.exp
7812 * gdb.base/sigrepeat.exp
7813 * gdb.base/so-impl-ld.exp
7814 * gdb.base/solib-display.exp
7815 * gdb.base/solib-overlap.exp
7816 * gdb.base/solib-search.exp
7817 * gdb.base/solib-symbol.exp
7818 * gdb.base/structs.exp
7819 * gdb.base/structs2.exp
7820 * gdb.base/symtab-search-order.exp
7821 * gdb.base/twice.exp
7822 * gdb.base/unload.exp
7823 * gdb.base/varargs.exp
7824 * gdb.base/watchpoint-solib.exp
7825 * gdb.base/watchpoint.exp
7826 * gdb.base/whatis.exp
7827 * gdb.base/wrong_frame_bt_full.exp
7828 * gdb.btrace/dlopen.exp
7829 * gdb.cell/ea-standalone.exp
7830 * gdb.cell/ea-test.exp
7831 * gdb.cp/dispcxx.exp
7832 * gdb.cp/gdb2384.exp
7833 * gdb.cp/method2.exp
7834 * gdb.cp/nextoverthrow.exp
7835 * gdb.cp/pr10728.exp
7836 * gdb.disasm/am33.exp
7837 * gdb.disasm/h8300s.exp
7838 * gdb.disasm/mn10300.exp
7839 * gdb.disasm/sh3.exp
7840 * gdb.dwarf2/dw2-dir-file-name.exp
7841 * gdb.fortran/complex.exp
7842 * gdb.fortran/library-module.exp
7843 * gdb.guile/scm-pretty-print.exp
7844 * gdb.guile/scm-symbol.exp
7845 * gdb.guile/scm-type.exp
7846 * gdb.guile/scm-value.exp
7847 * gdb.linespec/linespec.exp
7850 * gdb.mi/mi-breakpoint-changed.exp
7851 * gdb.mi/mi-dprintf-pending.exp
7852 * gdb.mi/mi-dprintf.exp
7853 * gdb.mi/mi-exit-code.exp
7854 * gdb.mi/mi-pending.exp
7855 * gdb.mi/mi-solib.exp
7856 * gdb.mi/new-ui-mi-sync.exp
7857 * gdb.mi/pr11022.exp
7858 * gdb.mi/user-selected-context-sync.exp
7859 * gdb.opt/solib-intra-step.exp
7860 * gdb.python/py-events.exp
7861 * gdb.python/py-finish-breakpoint.exp
7862 * gdb.python/py-mi.exp
7863 * gdb.python/py-prettyprint.exp
7864 * gdb.python/py-shared.exp
7865 * gdb.python/py-symbol.exp
7866 * gdb.python/py-template.exp
7867 * gdb.python/py-type.exp
7868 * gdb.python/py-value.exp
7869 * gdb.reverse/solib-precsave.exp
7870 * gdb.reverse/solib-reverse.exp
7871 * gdb.server/solib-list.exp
7872 * gdb.stabs/weird.exp
7873 * gdb.threads/reconnect-signal.exp
7874 * gdb.threads/stepi-random-signal.exp
7875 * gdb.trace/actions.exp
7877 * gdb.trace/backtrace.exp
7878 * gdb.trace/change-loc.exp
7879 * gdb.trace/deltrace.exp
7880 * gdb.trace/ftrace-lock.exp
7881 * gdb.trace/ftrace.exp
7882 * gdb.trace/infotrace.exp
7883 * gdb.trace/mi-tracepoint-changed.exp
7884 * gdb.trace/packetlen.exp
7885 * gdb.trace/passcount.exp
7886 * gdb.trace/pending.exp
7887 * gdb.trace/range-stepping.exp
7888 * gdb.trace/report.exp
7889 * gdb.trace/stap-trace.exp
7890 * gdb.trace/tfind.exp
7891 * gdb.trace/trace-break.exp
7892 * gdb.trace/trace-condition.exp
7893 * gdb.trace/trace-enable-disable.exp
7894 * gdb.trace/trace-mt.exp
7895 * gdb.trace/tracecmd.exp
7896 * gdb.trace/tspeed.exp
7900 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7902 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7903 with gdb_test_no_output.
7904 Use command as test name.
7906 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7908 Fix test names starting with uppercase throughout the files.
7910 * gdb.ada/assign_1.exp
7911 * gdb.ada/boolean_expr.exp
7912 * gdb.base/arrayidx.exp
7914 * gdb.base/gcore-buffer-overflow.exp
7915 * gdb.base/testenv.exp
7916 * gdb.compile/compile.exp
7917 * gdb.python/py-framefilter-invalidarg.exp
7918 * gdb.python/py-framefilter.exp
7920 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7922 Fix test names starting with uppercase throughout the files.
7924 * gdb.ada/array_return.exp
7925 * gdb.ada/expr_delims.exp
7926 * gdb.ada/mi_dyn_arr.exp
7927 * gdb.ada/mi_interface.exp
7928 * gdb.ada/mi_var_array.exp
7929 * gdb.ada/watch_arg.exp
7930 * gdb.arch/alpha-step.exp
7931 * gdb.arch/altivec-regs.exp
7932 * gdb.arch/e500-regs.exp
7933 * gdb.arch/powerpc-d128-regs.exp
7934 * gdb.base/arrayidx.exp
7935 * gdb.base/break.exp
7936 * gdb.base/checkpoint.exp
7937 * gdb.base/debug-expr.exp
7938 * gdb.base/dmsym.exp
7939 * gdb.base/radix.exp
7940 * gdb.base/sepdebug.exp
7941 * gdb.base/testenv.exp
7942 * gdb.base/watch_thread_num.exp
7943 * gdb.base/watchpoint-cond-gone.exp
7944 * gdb.cell/break.exp
7945 * gdb.cell/ea-cache.exp
7946 * gdb.compile/compile.exp
7947 * gdb.cp/gdb2495.exp
7948 * gdb.gdb/selftest.exp
7949 * gdb.gdb/xfullpath.exp
7951 * gdb.go/integers.exp
7952 * gdb.objc/basicclass.exp
7953 * gdb.pascal/hello.exp
7954 * gdb.pascal/integers.exp
7955 * gdb.python/py-breakpoint.exp
7956 * gdb.python/py-cmd.exp
7957 * gdb.python/py-linetable.exp
7958 * gdb.python/py-xmethods.exp
7959 * gdb.python/python.exp
7960 * gdb.reverse/consecutive-precsave.exp
7961 * gdb.reverse/finish-precsave.exp
7962 * gdb.reverse/i386-precsave.exp
7963 * gdb.reverse/machinestate-precsave.exp
7964 * gdb.reverse/sigall-precsave.exp
7965 * gdb.reverse/solib-precsave.exp
7966 * gdb.reverse/step-precsave.exp
7967 * gdb.reverse/until-precsave.exp
7968 * gdb.reverse/watch-precsave.exp
7969 * gdb.threads/leader-exit.exp
7970 * gdb.threads/pthreads.exp
7971 * gdb.threads/wp-replication.exp
7972 * gdb.trace/actions.exp
7973 * gdb.trace/mi-tsv-changed.exp
7976 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7978 Fix test names starting with uppercase throughout the files.
7980 * gdb.arch/i386-bp_permanent.exp
7981 * gdb.arch/i386-gnu-cfi.exp
7982 * gdb.base/disasm-end-cu.exp
7983 * gdb.base/macscp.exp
7984 * gdb.base/pending.exp
7985 * gdb.base/watch_thread_num.exp
7986 * gdb.cp/exception.exp
7987 * gdb.cp/gdb2495.exp
7989 * gdb.python/py-evsignal.exp
7990 * gdb.python/python.exp
7991 * gdb.trace/tracecmd.exp
7993 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7995 Fix test names starting with uppercase throughout the files.
7997 * gdb.base/charset.exp
7999 * gdb.base/multi-forks.exp
8000 * gdb.guile/scm-progspace.exp
8001 * gdb.opencl/datatypes.exp
8002 * gdb.python/py-block.exp
8003 * gdb.python/py-function.exp
8004 * gdb.python/py-symbol.exp
8005 * gdb.python/py-symtab.exp
8006 * gdb.python/py-xmethods.exp
8007 * gdb.reverse/break-precsave.exp
8008 * gdb.reverse/break-reverse.exp
8009 * gdb.reverse/consecutive-precsave.exp
8010 * gdb.reverse/consecutive-reverse.exp
8011 * gdb.reverse/finish-precsave.exp
8012 * gdb.reverse/finish-reverse-bkpt.exp
8013 * gdb.reverse/finish-reverse.exp
8014 * gdb.reverse/fstatat-reverse.exp
8015 * gdb.reverse/getresuid-reverse.exp
8016 * gdb.reverse/i386-precsave.exp
8017 * gdb.reverse/i386-reverse.exp
8018 * gdb.reverse/i386-sse-reverse.exp
8019 * gdb.reverse/i387-stack-reverse.exp
8020 * gdb.reverse/insn-reverse.exp
8021 * gdb.reverse/machinestate-precsave.exp
8022 * gdb.reverse/machinestate.exp
8023 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8024 * gdb.reverse/pipe-reverse.exp
8025 * gdb.reverse/readv-reverse.exp
8026 * gdb.reverse/recvmsg-reverse.exp
8027 * gdb.reverse/rerun-prec.exp
8028 * gdb.reverse/s390-mvcle.exp
8029 * gdb.reverse/sigall-precsave.exp
8030 * gdb.reverse/sigall-reverse.exp
8031 * gdb.reverse/solib-precsave.exp
8032 * gdb.reverse/solib-reverse.exp
8033 * gdb.reverse/step-precsave.exp
8034 * gdb.reverse/step-reverse.exp
8035 * gdb.reverse/time-reverse.exp
8036 * gdb.reverse/until-precsave.exp
8037 * gdb.reverse/until-reverse.exp
8038 * gdb.reverse/waitpid-reverse.exp
8039 * gdb.reverse/watch-precsave.exp
8040 * gdb.reverse/watch-reverse.exp
8042 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8044 Fix test names starting with uppercase throughout the files.
8046 * gdb.arch/i386-mpx-simple_segv.exp
8047 * gdb.arch/i386-mpx.exp
8048 * gdb.arch/i386-permbkpt.exp
8049 * gdb.arch/pa-nullify.exp
8050 * gdb.arch/powerpc-d128-regs.exp
8051 * gdb.arch/vsx-regs.exp
8052 * gdb.base/bfp-test.exp
8053 * gdb.base/break.exp
8054 * gdb.base/breakpoint-shadow.exp
8055 * gdb.base/callfuncs.exp
8056 * gdb.base/charset.exp
8057 * gdb.base/commands.exp
8058 * gdb.base/completion.exp
8059 * gdb.base/dfp-test.exp
8061 * gdb.base/ending-run.exp
8063 * gdb.base/expand-psymtabs.exp
8064 * gdb.base/float128.exp
8065 * gdb.base/floatn.exp
8066 * gdb.base/foll-exec-mode.exp
8067 * gdb.base/gdb1056.exp
8068 * gdb.base/gdb11531.exp
8069 * gdb.base/kill-after-signal.exp
8070 * gdb.base/multi-forks.exp
8071 * gdb.base/overlays.exp
8072 * gdb.base/pending.exp
8073 * gdb.base/sepdebug.exp
8074 * gdb.base/testenv.exp
8075 * gdb.base/valgrind-db-attach.exp
8076 * gdb.base/watch_thread_num.exp
8077 * gdb.base/watchpoint-cond-gone.exp
8078 * gdb.base/watchpoint.exp
8079 * gdb.base/watchpoints.exp
8080 * gdb.cp/arg-reference.exp
8081 * gdb.cp/baseenum.exp
8082 * gdb.cp/operator.exp
8084 * gdb.dwarf2/dw2-op-out-param.exp
8085 * gdb.dwarf2/dw2-reg-undefined.exp
8088 * gdb.go/integers.exp
8089 * gdb.go/methods.exp
8090 * gdb.go/package.exp
8091 * gdb.guile/scm-parameter.exp
8092 * gdb.guile/scm-progspace.exp
8093 * gdb.guile/scm-value.exp
8094 * gdb.mi/mi-pending.exp
8095 * gdb.mi/user-selected-context-sync.exp
8096 * gdb.multi/multi-attach.exp
8097 * gdb.multi/tids.exp
8098 * gdb.opt/clobbered-registers-O2.exp
8099 * gdb.pascal/floats.exp
8100 * gdb.pascal/integers.exp
8101 * gdb.python/py-block.exp
8102 * gdb.python/py-events.exp
8103 * gdb.python/py-parameter.exp
8104 * gdb.python/py-symbol.exp
8105 * gdb.python/py-symtab.exp
8106 * gdb.python/py-type.exp
8107 * gdb.python/py-value.exp
8108 * gdb.python/py-xmethods.exp
8109 * gdb.python/python.exp
8110 * gdb.reverse/break-precsave.exp
8111 * gdb.reverse/consecutive-precsave.exp
8112 * gdb.reverse/finish-precsave.exp
8113 * gdb.reverse/i386-precsave.exp
8114 * gdb.reverse/machinestate-precsave.exp
8115 * gdb.reverse/sigall-precsave.exp
8116 * gdb.reverse/solib-precsave.exp
8117 * gdb.reverse/step-precsave.exp
8118 * gdb.reverse/until-precsave.exp
8119 * gdb.reverse/watch-precsave.exp
8120 * gdb.server/ext-attach.exp
8121 * gdb.server/ext-restart.exp
8122 * gdb.server/ext-run.exp
8123 * gdb.server/ext-wrapper.exp
8124 * gdb.stabs/gdb11479.exp
8125 * gdb.stabs/weird.exp
8126 * gdb.threads/attach-many-short-lived-threads.exp
8127 * gdb.threads/kill.exp
8128 * gdb.threads/watchpoint-fork.exp
8130 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8132 Fix test names starting with uppercase throughout all the files below.
8134 * gdb.ada/array_return.exp
8135 * gdb.ada/catch_ex.exp
8136 * gdb.ada/info_exc.exp
8137 * gdb.ada/mi_catch_ex.exp
8138 * gdb.ada/mi_dyn_arr.exp
8139 * gdb.ada/mi_ex_cond.exp
8140 * gdb.ada/mi_exc_info.exp
8141 * gdb.ada/mi_interface.exp
8142 * gdb.ada/mi_task_arg.exp
8143 * gdb.ada/mi_task_info.exp
8144 * gdb.ada/mi_var_array.exp
8145 * gdb.arch/alpha-step.exp
8146 * gdb.arch/amd64-disp-step.exp
8147 * gdb.arch/arm-disp-step.exp
8148 * gdb.arch/disp-step-insn-reloc.exp
8149 * gdb.arch/e500-prologue.exp
8150 * gdb.arch/ftrace-insn-reloc.exp
8151 * gdb.arch/gdb1558.exp
8152 * gdb.arch/i386-bp_permanent.exp
8153 * gdb.arch/i386-disp-step.exp
8154 * gdb.arch/i386-float.exp
8155 * gdb.arch/i386-gnu-cfi.exp
8156 * gdb.arch/ia64-breakpoint-shadow.exp
8157 * gdb.arch/mips16-thunks.exp
8158 * gdb.arch/pa-nullify.exp
8159 * gdb.arch/powerpc-aix-prologue.exp
8160 * gdb.arch/powerpc-power.exp
8161 * gdb.arch/ppc-dfp.exp
8162 * gdb.arch/s390-tdbregs.exp
8163 * gdb.arch/spu-info.exp
8164 * gdb.arch/spu-ls.exp
8165 * gdb.arch/thumb-bx-pc.exp
8166 * gdb.base/advance.exp
8167 * gdb.base/annota-input-while-running.exp
8168 * gdb.base/arrayidx.exp
8169 * gdb.base/asmlabel.exp
8170 * gdb.base/async.exp
8171 * gdb.base/attach-wait-input.exp
8172 * gdb.base/auto-connect-native-target.exp
8173 * gdb.base/batch-preserve-term-settings.exp
8174 * gdb.base/bfp-test.exp
8175 * gdb.base/bigcore.exp
8176 * gdb.base/bp-permanent.exp
8177 * gdb.base/break-always.exp
8178 * gdb.base/break-fun-addr.exp
8179 * gdb.base/break-idempotent.exp
8180 * gdb.base/break-main-file-remove-fail.exp
8181 * gdb.base/break-probes.exp
8182 * gdb.base/break-unload-file.exp
8183 * gdb.base/break.exp
8184 * gdb.base/call-ar-st.exp
8185 * gdb.base/call-rt-st.exp
8186 * gdb.base/call-sc.exp
8187 * gdb.base/call-signal-resume.exp
8188 * gdb.base/call-strs.exp
8189 * gdb.base/callexit.exp
8190 * gdb.base/callfuncs.exp
8191 * gdb.base/catch-gdb-caused-signals.exp
8192 * gdb.base/catch-signal-siginfo-cond.exp
8193 * gdb.base/catch-syscall.exp
8194 * gdb.base/compare-sections.exp
8195 * gdb.base/cond-eval-mode.exp
8196 * gdb.base/condbreak-call-false.exp
8197 * gdb.base/consecutive-step-over.exp
8198 * gdb.base/cursal.exp
8199 * gdb.base/disabled-location.exp
8200 * gdb.base/disasm-end-cu.exp
8201 * gdb.base/display.exp
8202 * gdb.base/double-prompt-target-event-error.exp
8203 * gdb.base/dprintf-bp-same-addr.exp
8204 * gdb.base/dprintf-detach.exp
8205 * gdb.base/dprintf-next.exp
8206 * gdb.base/dprintf-non-stop.exp
8207 * gdb.base/dprintf-pending.exp
8208 * gdb.base/dso2dso.exp
8209 * gdb.base/ending-run.exp
8210 * gdb.base/enum_cond.exp
8211 * gdb.base/examine-backward.exp
8212 * gdb.base/exe-lock.exp
8213 * gdb.base/exec-invalid-sysroot.exp
8214 * gdb.base/execl-update-breakpoints.exp
8215 * gdb.base/execution-termios.exp
8216 * gdb.base/fileio.exp
8217 * gdb.base/fixsection.exp
8218 * gdb.base/foll-exec-mode.exp
8219 * gdb.base/foll-exec.exp
8220 * gdb.base/fork-running-state.exp
8221 * gdb.base/frame-args.exp
8222 * gdb.base/fullpath-expand.exp
8223 * gdb.base/func-ptr.exp
8224 * gdb.base/gcore-relro-pie.exp
8225 * gdb.base/gdb1090.exp
8226 * gdb.base/gdb1555.exp
8227 * gdb.base/global-var-nested-by-dso.exp
8228 * gdb.base/gnu-ifunc.exp
8229 * gdb.base/hbreak-in-shr-unsupported.exp
8230 * gdb.base/hbreak-unmapped.exp
8231 * gdb.base/hook-stop.exp
8232 * gdb.base/infcall-input.exp
8233 * gdb.base/info-fun.exp
8234 * gdb.base/info-shared.exp
8235 * gdb.base/interrupt-noterm.exp
8236 * gdb.base/jit-so.exp
8238 * gdb.base/line-symtabs.exp
8240 * gdb.base/longjmp.exp
8241 * gdb.base/macscp.exp
8242 * gdb.base/max-value-size.exp
8243 * gdb.base/nodebug.exp
8244 * gdb.base/nofield.exp
8245 * gdb.base/overlays.exp
8246 * gdb.base/paginate-after-ctrl-c-running.exp
8247 * gdb.base/paginate-bg-execution.exp
8248 * gdb.base/paginate-inferior-exit.exp
8249 * gdb.base/pending.exp
8250 * gdb.base/pr11022.exp
8251 * gdb.base/printcmds.exp
8252 * gdb.base/ptr-typedef.exp
8253 * gdb.base/ptype.exp
8254 * gdb.base/randomize.exp
8255 * gdb.base/range-stepping.exp
8256 * gdb.base/realname-expand.exp
8257 * gdb.base/relativedebug.exp
8258 * gdb.base/remote.exp
8259 * gdb.base/savedregs.exp
8260 * gdb.base/sepdebug.exp
8261 * gdb.base/set-noassign.exp
8262 * gdb.base/shlib-call.exp
8263 * gdb.base/shreloc.exp
8264 * gdb.base/sigaltstack.exp
8265 * gdb.base/sigbpt.exp
8266 * gdb.base/siginfo-addr.exp
8267 * gdb.base/siginfo-obj.exp
8268 * gdb.base/siginfo-thread.exp
8269 * gdb.base/signest.exp
8270 * gdb.base/signull.exp
8271 * gdb.base/sigrepeat.exp
8273 * gdb.base/so-impl-ld.exp
8274 * gdb.base/solib-corrupted.exp
8275 * gdb.base/solib-disc.exp
8276 * gdb.base/solib-display.exp
8277 * gdb.base/solib-overlap.exp
8278 * gdb.base/solib-search.exp
8279 * gdb.base/solib-symbol.exp
8280 * gdb.base/source-execution.exp
8281 * gdb.base/sss-bp-on-user-bp-2.exp
8282 * gdb.base/sss-bp-on-user-bp.exp
8283 * gdb.base/stack-checking.exp
8284 * gdb.base/stale-infcall.exp
8285 * gdb.base/step-break.exp
8286 * gdb.base/step-line.exp
8287 * gdb.base/step-over-exit.exp
8288 * gdb.base/step-test.exp
8289 * gdb.base/structs.exp
8290 * gdb.base/sym-file.exp
8291 * gdb.base/symtab-search-order.exp
8293 * gdb.base/type-opaque.exp
8294 * gdb.base/unload.exp
8295 * gdb.base/until-nodebug.exp
8296 * gdb.base/until.exp
8297 * gdb.base/unwindonsignal.exp
8298 * gdb.base/watch-cond.exp
8299 * gdb.base/watch-non-mem.exp
8300 * gdb.base/watch_thread_num.exp
8301 * gdb.base/watchpoint-reuse-slot.exp
8302 * gdb.base/watchpoint-solib.exp
8303 * gdb.base/watchpoint.exp
8304 * gdb.btrace/dlopen.exp
8306 * gdb.cell/break.exp
8310 * gdb.cell/dwarfaddr.exp
8311 * gdb.cell/ea-cache.exp
8312 * gdb.cell/ea-standalone.exp
8313 * gdb.cell/ea-test.exp
8314 * gdb.cell/f-regs.exp
8316 * gdb.cell/gcore.exp
8317 * gdb.cell/mem-access.exp
8318 * gdb.cell/ptype.exp
8319 * gdb.cell/registers.exp
8320 * gdb.cell/sizeof.exp
8321 * gdb.cell/solib-symbol.exp
8322 * gdb.cell/solib.exp
8323 * gdb.compile/compile-tls.exp
8324 * gdb.cp/exception.exp
8325 * gdb.cp/gdb2495.exp
8327 * gdb.cp/mb-inline.exp
8328 * gdb.cp/mb-templates.exp
8329 * gdb.cp/pr10687.exp
8331 * gdb.cp/scope-err.exp
8332 * gdb.cp/templates.exp
8333 * gdb.cp/virtfunc.exp
8334 * gdb.dwarf2/dw2-dir-file-name.exp
8335 * gdb.dwarf2/dw2-single-line-discriminators.exp
8336 * gdb.fortran/complex.exp
8337 * gdb.fortran/library-module.exp
8338 * gdb.guile/guile.exp
8339 * gdb.guile/scm-cmd.exp
8340 * gdb.guile/scm-frame-inline.exp
8341 * gdb.guile/scm-objfile.exp
8342 * gdb.guile/scm-pretty-print.exp
8343 * gdb.guile/scm-symbol.exp
8344 * gdb.guile/scm-type.exp
8345 * gdb.guile/scm-value.exp
8346 * gdb.linespec/keywords.exp
8347 * gdb.linespec/ls-errs.exp
8348 * gdb.linespec/macro-relative.exp
8349 * gdb.linespec/thread.exp
8350 * gdb.mi/mi-breakpoint-changed.exp
8351 * gdb.mi/mi-dprintf-pending.exp
8352 * gdb.mi/mi-fullname-deleted.exp
8353 * gdb.mi/mi-logging.exp
8354 * gdb.mi/mi-pending.exp
8355 * gdb.mi/mi-solib.exp
8356 * gdb.mi/new-ui-mi-sync.exp
8357 * gdb.mi/user-selected-context-sync.exp
8358 * gdb.multi/dummy-frame-restore.exp
8359 * gdb.multi/multi-arch-exec.exp
8360 * gdb.multi/remove-inferiors.exp
8361 * gdb.multi/watchpoint-multi-exit.exp
8362 * gdb.opt/solib-intra-step.exp
8363 * gdb.perf/backtrace.exp
8364 * gdb.perf/single-step.exp
8365 * gdb.perf/skip-command.exp
8366 * gdb.perf/skip-prologue.exp
8367 * gdb.perf/solib.exp
8368 * gdb.python/lib-types.exp
8369 * gdb.python/py-as-string.exp
8370 * gdb.python/py-bad-printers.exp
8371 * gdb.python/py-block.exp
8372 * gdb.python/py-breakpoint.exp
8373 * gdb.python/py-cmd.exp
8374 * gdb.python/py-events.exp
8375 * gdb.python/py-evthreads.exp
8376 * gdb.python/py-finish-breakpoint.exp
8377 * gdb.python/py-finish-breakpoint2.exp
8378 * gdb.python/py-frame-inline.exp
8379 * gdb.python/py-frame.exp
8380 * gdb.python/py-inferior.exp
8381 * gdb.python/py-infthread.exp
8382 * gdb.python/py-mi.exp
8383 * gdb.python/py-objfile.exp
8384 * gdb.python/py-pp-maint.exp
8385 * gdb.python/py-pp-registration.exp
8386 * gdb.python/py-prettyprint.exp
8387 * gdb.python/py-recurse-unwind.exp
8388 * gdb.python/py-shared.exp
8389 * gdb.python/py-symbol.exp
8390 * gdb.python/py-symtab.exp
8391 * gdb.python/py-template.exp
8392 * gdb.python/py-type.exp
8393 * gdb.python/py-unwind-maint.exp
8394 * gdb.python/py-unwind.exp
8395 * gdb.python/py-value.exp
8396 * gdb.python/python.exp
8397 * gdb.reverse/finish-reverse-bkpt.exp
8398 * gdb.reverse/insn-reverse.exp
8399 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8400 * gdb.reverse/solib-precsave.exp
8401 * gdb.reverse/solib-reverse.exp
8402 * gdb.stabs/gdb11479.exp
8403 * gdb.stabs/weird.exp
8404 * gdb.threads/fork-child-threads.exp
8405 * gdb.threads/fork-plus-threads.exp
8406 * gdb.threads/fork-thread-pending.exp
8407 * gdb.threads/forking-threads-plus-breakpoint.exp
8408 * gdb.threads/hand-call-in-threads.exp
8409 * gdb.threads/interrupted-hand-call.exp
8410 * gdb.threads/linux-dp.exp
8411 * gdb.threads/local-watch-wrong-thread.exp
8412 * gdb.threads/next-while-other-thread-longjmps.exp
8413 * gdb.threads/non-ldr-exit.exp
8414 * gdb.threads/pending-step.exp
8415 * gdb.threads/print-threads.exp
8416 * gdb.threads/process-dies-while-detaching.exp
8417 * gdb.threads/process-dies-while-handling-bp.exp
8418 * gdb.threads/pthreads.exp
8419 * gdb.threads/queue-signal.exp
8420 * gdb.threads/reconnect-signal.exp
8421 * gdb.threads/signal-command-handle-nopass.exp
8422 * gdb.threads/signal-command-multiple-signals-pending.exp
8423 * gdb.threads/signal-delivered-right-thread.exp
8424 * gdb.threads/signal-sigtrap.exp
8425 * gdb.threads/sigthread.exp
8426 * gdb.threads/staticthreads.exp
8427 * gdb.threads/stepi-random-signal.exp
8428 * gdb.threads/thread-unwindonsignal.exp
8429 * gdb.threads/thread_check.exp
8430 * gdb.threads/thread_events.exp
8431 * gdb.threads/tid-reuse.exp
8432 * gdb.threads/tls-nodebug.exp
8433 * gdb.threads/tls-shared.exp
8434 * gdb.threads/tls-so_extern.exp
8435 * gdb.threads/tls.exp
8436 * gdb.threads/wp-replication.exp
8437 * gdb.trace/actions-changed.exp
8438 * gdb.trace/actions.exp
8439 * gdb.trace/backtrace.exp
8440 * gdb.trace/change-loc.exp
8441 * gdb.trace/collection.exp
8442 * gdb.trace/deltrace.exp
8443 * gdb.trace/disconnected-tracing.exp
8444 * gdb.trace/entry-values.exp
8445 * gdb.trace/ftrace-lock.exp
8446 * gdb.trace/ftrace.exp
8447 * gdb.trace/infotrace.exp
8448 * gdb.trace/mi-trace-frame-collected.exp
8449 * gdb.trace/mi-trace-unavailable.exp
8450 * gdb.trace/mi-traceframe-changed.exp
8451 * gdb.trace/mi-tracepoint-changed.exp
8452 * gdb.trace/mi-tsv-changed.exp
8453 * gdb.trace/no-attach-trace.exp
8454 * gdb.trace/packetlen.exp
8455 * gdb.trace/passc-dyn.exp
8456 * gdb.trace/passcount.exp
8457 * gdb.trace/pending.exp
8458 * gdb.trace/pr16508.exp
8459 * gdb.trace/qtro.exp
8460 * gdb.trace/range-stepping.exp
8461 * gdb.trace/read-memory.exp
8462 * gdb.trace/report.exp
8463 * gdb.trace/save-trace.exp
8464 * gdb.trace/signal.exp
8465 * gdb.trace/stap-trace.exp
8466 * gdb.trace/status-stop.exp
8467 * gdb.trace/strace.exp
8468 * gdb.trace/tfile.exp
8469 * gdb.trace/tfind.exp
8470 * gdb.trace/trace-break.exp
8471 * gdb.trace/trace-condition.exp
8472 * gdb.trace/trace-enable-disable.exp
8473 * gdb.trace/trace-mt.exp
8474 * gdb.trace/tracecmd.exp
8475 * gdb.trace/tracefile-pseudo-reg.exp
8476 * gdb.trace/tspeed.exp
8477 * gdb.trace/tstatus.exp
8479 * gdb.trace/unavailable.exp
8480 * gdb.trace/while-dyn.exp
8481 * gdb.trace/while-stepping.exp
8484 * lib/mi-support.exp
8487 * lib/prelink-support.exp
8488 * lib/selftest-support.exp
8490 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8492 * Makefile.in: Include disable-implicit-rules.mk.
8494 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8496 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8497 non-byte-aligned bit fields.
8499 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8502 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8503 respects the DW_AT_data_bit_offset attribute.
8505 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8507 * gdb.base/default.exp: Fix output of "set language".
8509 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8511 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8512 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8514 * configure.ac: Remove checks for the make program.
8515 * configure: Re-generate.
8517 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8519 * gdb.python/py-recurse-unwind.c (main): Add loop.
8520 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8521 to read_register() and gdb.parse_and_eval(). Make each code
8522 call a separate case that can be individually tested.
8523 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8524 proc. Call cont_and_backtrace for each of the code paths that
8525 we want to test in the unwinder.
8527 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8529 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8530 the definition of struct S.
8532 2016-11-11 Catherine Moore <clm@codesourcery.com>
8534 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8536 2016-11-09 Pedro Alves <palves@redhat.com>
8538 * gdb.base/commands.exp (runto_or_return): New procedure.
8539 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8540 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8541 (progvar_simple_while_test, progvar_complex_if_while_test)
8542 (if_while_breakpoint_command_test)
8543 (infrun_breakpoint_command_test, breakpoint_command_test)
8544 (user_defined_command_test, watchpoint_command_test)
8545 (test_command_prompt_position, redefine_hook_test)
8546 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8547 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8548 multi_line_input and multi_line. Remove gdb_expect and
8549 gdb_stop_suppressing_tests uses.
8550 * lib/gdb.exp (valnum_re): New global.
8551 (multi_line_input): New procedure.
8553 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8555 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8557 (test_setup): Define with proc_with_prefix.
8558 (test_cli_inferior): Likewise.
8559 (test_cli_thread): Likewise.
8560 (test_cli_frame): Likewise.
8561 (test_cli_select_frame): Likewise.
8562 (test_cli_up_down): Likewise.
8563 (test_mi_thread_select): Likewise.
8564 (test_mi_stack_select_frame): Likewise.
8565 (test_cli_in_mi_inferior): Likewise.
8566 (test_cli_in_mi_thread): Likewise.
8567 (test_cli_in_mi_frame): Likewise.
8568 (top level): Do not use with_test_prefix_procname.
8570 2016-11-09 Pedro Alves <palves@redhat.com>
8572 * gdb.base/commands.exp (gdbvar_simple_if_test)
8573 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8574 (progvar_simple_if_test, progvar_simple_while_test)
8575 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8576 (infrun_breakpoint_command_test, breakpoint_command_test)
8577 (user_defined_command_test, watchpoint_command_test)
8578 (test_command_prompt_position, deprecated_command_test)
8579 (bp_deleted_in_command, temporary_breakpoint_commands)
8580 (stray_arg0_test, source_file_with_indented_comment)
8581 (recursive_source_test, if_commands_test)
8582 (error_clears_commands_left, redefine_hook_test)
8583 (redefine_backtrace_test): Use proc_with_prefix.
8584 * lib/gdb.exp (proc_with_prefix): New proc.
8586 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8588 * gdb.base/tui-layout.c: New file.
8589 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8590 disassembly window contains very long lines.
8592 2016-11-08 Tom Tromey <tom@tromey.com>
8594 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8597 2016-11-08 Tom Tromey <tom@tromey.com>
8599 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8602 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8604 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8606 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8608 * gdb.rust/simple.rs: Add test for univariant enums without
8609 discriminants and for encoded struct-like enums.
8611 2016-10-28 Pedro Alves <palves@redhat.com>
8613 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8614 gdb_test_multiple, tighten regexps and match symtabs and line
8615 tables incrementally.
8617 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8619 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8622 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8624 * gdb.base/exec-invalid-sysroot.exp: New file.
8626 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8628 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8630 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8632 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8634 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8636 * gdb.base/killed-outside.exp: Remove $options from a call to
8637 `prepare_for_testing'.
8639 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8641 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8642 Change test message.
8644 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8646 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8649 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8651 * gdb.trace/mi-trace-save.exp: New file.
8653 2016-10-13 Yao Qi <yao.qi@linaro.org>
8655 * gdb.base/code_elim.exp (get_var_address): Remove.
8656 * gdb.base/relocate.exp: Likewise.
8657 * gdb.base/shreloc.exp: Likewise.
8658 * lib/gdb.exp (get_var_address): New.
8660 2016-10-13 Yao Qi <yao.qi@linaro.org>
8662 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8663 floating point tests if $skip_float_test is false.
8665 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8667 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8668 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8670 Add 1 to argc so we guarantee distinct initial/modified argc values.
8672 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8674 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8676 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8678 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8679 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8680 * gdb.arch/vsx-regs.exp: Likewise.
8682 2016-10-07 Yao Qi <yao.qi@linaro.org>
8684 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8686 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8688 * gdb.python/python.exp: Test decode_line("*0").
8690 2016-10-06 Doug Evans <dje@google.com>
8692 * gdb.python/py-value.exp (test_value_creation): Add test for large
8693 unsigned 64-bit value.
8695 2016-10-06 Tom Tromey <tom@tromey.com>
8697 * gdb.compile/compile.exp: Change java tests to rust.
8698 * gdb.base/setshow.exp: Change java tests to rust.
8699 * gdb.base/default.exp: Remove java from language list.
8700 * README (Examples): Update language example.
8701 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8703 * lib/gdb.exp (skip_java_tests): Remove.
8704 * lib/java.exp: Remove.
8707 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8709 * gdb.arch/mips-fcr.exp: New test.
8710 * gdb.arch/mips-fcr.c: Source for the new test.
8712 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8714 * gdb.base/solib-disc.exp: Use `standard_output_file'
8717 2016-10-06 Pedro Alves <palves@redhat.com>
8719 * gdb.base/jit-simple-dl.c: New file.
8720 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8721 * gdb.base/jit-simple.c: ... this.
8722 * gdb.base/jit-simple.exp (jit_run): Delete.
8723 (build_jit): New proc.
8724 (jit_test_reread): Recompile either the main program or the shared
8725 library, depending on what is being tested. Skip changing address
8726 if caller wants to. Compare before/after addresses. If testing
8727 standalone, explicitly load the binary. Test "maint info
8729 (top level): Add "standalone vs shared lib" and "change address"
8730 vs "same address" axes.
8732 2016-10-06 Pedro Alves <palves@redhat.com>
8734 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8737 (jit_test_reread): Use with_test_prefix. Reload the main binary
8738 explicitly. Compare the before/after addresses of the JIT
8741 2016-08-15 Doug Evans <dje@google.com>
8743 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8744 for single bitfields is bool.
8745 * gdb.xml/tdesc-regs.exp: Ditto.
8747 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8749 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8751 2016-10-05 Yao Qi <yao.qi@linaro.org>
8753 * lib/gdb.exp (support_complex_tests): Return zero if
8754 gdb_skip_float_test return true.
8756 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8757 Simon Marchi <simon.marchi@ericsson.com>
8760 * gdb.mi/user-selected-context-sync.exp: New file.
8761 * gdb.mi/user-selected-context-sync.c: New file.
8763 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8764 Simon Marchi <simon.marchi@ericsson.com>
8767 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8768 =thread-select-event check.
8770 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8772 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8773 the compulsory L operand changes.
8774 * gdb.arch/powerpc-power.s: Likewise.
8776 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8778 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8779 * gdb.base/jit-attach-pie.c: New file.
8780 * gdb.base/jit-attach-pie.exp: New file.
8782 2016-09-28 Pedro Alves <palves@redhat.com>
8784 * gdb.base/infcall-input.c: New file.
8785 * gdb.base/infcall-input.exp: New file.
8787 2016-09-22 Yao Qi <yao.qi@linaro.org>
8789 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8790 (gdb_exit): Rename it to ...
8791 (gdbserver_gdb_exit): ... Close GDBserver.
8792 (gdb_exit): New proc, call gdbserver_gdb_exit.
8793 (mi_gdb_exit): Likewise.
8795 2016-09-22 Yao Qi <yao.qi@linaro.org>
8797 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8799 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8802 2016-09-22 Yao Qi <yao.qi@linaro.org>
8804 * lib/gdbserver-support.exp: Check the existence of
8805 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8807 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8809 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8811 2016-09-21 Tom Tromey <tom@tromey.com>
8814 * gdb.base/quit.exp: New file.
8816 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8818 * .gitignore: New file.
8820 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8822 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8825 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8827 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8829 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8831 * gdb.cp/casts.cc (decltype): Move it ...
8832 (main): ... with its call to ...
8833 * gdb.cp/casts03.cc: ... a new file.
8834 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8836 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8838 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8840 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8842 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8843 and sync up the test with tests in gas/testsuite/gas/ppc.
8844 * gdb.arch/powerpc-power.exp: Likewise.
8846 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8848 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8850 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8851 Jan Kratochvil <jan.kratochvil@redhat.com>
8853 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8854 make m1's definition to be different from m2's. Use 'dummy' as an
8855 argument for probe 'two'.
8857 2016-09-10 Jon Beniston <jon@beniston.com>
8859 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8862 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8864 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8865 variable declaration.
8866 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8867 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8868 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8869 received HWCAP as its argument.
8871 2016-09-06 Pedro Alves <palves@redhat.com>
8873 * gdb.base/new-ui-pending-input.c: New file.
8874 * gdb.base/new-ui-pending-input.exp: New file.
8875 * gdb.exp (clear_gdb_spawn_id): New procedure.
8876 (with_spawn_id): Check whether gdb_spawn_id exists before
8877 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8880 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8882 * gdb.base/float128.c: New file.
8883 * gdb.base/float128.exp: Likewise.
8884 * gdb.base/floatn.c: Likewise.
8885 * gdb.base/floatn.exp: Likewise.
8887 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8889 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8891 2016-09-05 Pedro Alves <palves@redhat.com>
8894 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8895 unwinders are immediately called as side effect of "source" or
8896 "disable unwinder" commands.
8897 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8899 2016-09-02 Yao Qi <yao.qi@linaro.org>
8901 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8902 is true and $type is "float" or "double".
8904 2016-09-02 Yao Qi <yao.qi@linaro.org>
8906 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8908 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8909 * gdb.base/call-rt-st.exp: Likewise.
8910 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8911 return value instead of gdb,skip_float_test.
8912 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8913 (do_function_calls): Use its return value instead of
8914 gdb,skip_float_test.
8915 * gdb.base/finish.exp: Likewise.
8916 * gdb.base/funcargs.exp: Likewise.
8917 * gdb.base/return.exp: Likewise.
8918 * gdb.base/return2.exp: Likewise.
8919 * gdb.base/varargs.exp: Likewise.
8920 * lib/gdb.exp (gdb_skip_float_test): Change it to
8921 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8923 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8925 * gdb.multi/tids.exp: Test "thread apply all".
8927 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8929 * gdb.base/default.exp (tty): Remove.
8931 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8933 * gdb.python/py-recurse-unwind.c: New file.
8934 * gdb.python/py-recurse-unwind.py: New file.
8935 * gdb.python/py-recurse-unwind.exp: New file.
8937 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8939 * gdb.base/set-inferior-tty.exp: New file.
8940 * gdb.base/set-inferior-tty.c: New file.
8942 2016-08-23 Pedro Alves <palves@redhat.com>
8945 * gdb.base/new-ui-echo.c: New file.
8946 * gdb.base/new-ui-echo.exp: New file.
8948 2016-08-23 Yao Qi <yao.qi@linaro.org>
8950 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8952 * gdb.server/connect-without-multi-process.exp (do_test):
8955 2016-08-23 Yao Qi <yao.qi@linaro.org>
8957 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8958 standalone_txt. Delete gdb_txt and standalone_txt on host
8959 and target. Spawn the binary on target. Copy files from
8962 2016-08-22 Pedro Alves <palves@redhat.com>
8965 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8966 with_test_prefix. Factor out bits to ...
8967 (test_no_vdso): ... this new procedure.
8969 2016-08-19 Carl Love <cel@us.ibm.com>
8971 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8972 maintaining separate logic for constructing the output path.
8973 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8974 * gdb.arch/ppc-dfp.exp: Likewise.
8975 * gdb.arch/ppc-fp.exp: Likewise.
8976 * gdb.arch/vsx-regs.exp: Likewise.
8977 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8978 binprefix for generating the additional binary files.
8980 2016-08-19 Pedro Alves <palves@redhat.com>
8982 * gdb.trace/mi-trace-frame-collected.exp
8983 (test_trace_frame_collected): On x32, expect two registers.
8985 2016-08-18 Carl Love <cel@us.ibm.com>
8987 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8988 and sync up the test with tests in gas/testsuite/gas/ppc.
8989 * gdb.arch/powerpc-power.exp: Likewise.
8991 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8993 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8994 expected error message.
8996 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8998 * gdb.multi/remove-inferiors.exp: New file.
8999 * gdb.multi/remove-inferiors.c: New file.
9001 2016-08-12 Yao Qi <yao.qi@linaro.org>
9003 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9006 2016-08-10 Pedro Alves <palves@redhat.com>
9009 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9012 2016-08-09 Pedro Alves <palves@redhat.com>
9013 Simon Marchi <simon.marchi@ericsson.com>
9016 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9017 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9019 2016-08-09 Pedro Alves <palves@redhat.com>
9022 * gdb.mi/mi-cmd-error.exp: New file.
9024 2016-08-09 Pedro Alves <palves@redhat.com>
9027 * gdb.base/signals-state-child.c: New file.
9028 * gdb.base/signals-state-child.exp: New file.
9029 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9031 2016-08-09 Pedro Alves <palves@redhat.com>
9033 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9035 2016-08-03 Tom Tromey <tom@tromey.com>
9038 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9040 2016-08-01 Yao Qi <yao.qi@linaro.org>
9042 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9043 variable mode to "multi-process" if $multi_process is 1, otherwise
9044 set it to "single-process".
9046 2016-08-01 Yao Qi <yao.qi@linaro.org>
9048 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9049 * gdb.cp/cpexprs.exp: Likewise.
9050 * gdb.cp/m-static.exp: Likewise.
9052 2016-07-26 Tom Tromey <tom@tromey.com>
9055 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9058 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9060 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9061 selecting assembly source files.
9062 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9063 assembly source files.
9064 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9065 assembly source files.
9066 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9067 selecting assembly source files.
9069 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9071 * gdb.base/new-ui.exp (do_test_invalid_args): New
9074 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9076 * gdb.btrace/reconnect.c: New file.
9077 * gdb.btrace/reconnect.exp: New file.
9079 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9081 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9082 to test_catch_syscall_group.
9083 (test_catch_syscall_group): New.
9085 2016-07-21 Tom Tromey <tom@tromey.com>
9087 * gdb.rust/simple.rs (main): Use empty struct expression.
9088 * gdb.rust/simple.exp: Add tests for empty struct expression.
9090 2016-07-21 Yao Qi <yao.qi@linaro.org>
9092 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9093 if gdb_skip_xml_test is true on some targets.
9095 2016-07-21 Yao Qi <yao.qi@linaro.org>
9097 * gdb.server/solib-list.exp: Unset last_loaded_file.
9099 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9101 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9102 "step into captured_main (args)".
9104 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9106 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9108 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9110 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9112 2016-07-19 Pedro Alves <palves@redhat.com>
9114 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9115 * gdb.opt/inline-bt.exp: Likewise.
9116 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9117 additional_flags=-Winline.
9118 * gdb.opt/inline-locals.exp: Likewise.
9119 * gdb.opt/inline-markers.c (ATTR): Define.
9120 (inlined_fn): Use it.
9122 2016-07-19 Yao Qi <yao.qi@linaro.org>
9124 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9125 (test_with_self): Remove some code. Remove argument executable.
9126 (top-level): Use do_self_tests.
9128 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9129 Don Breazeal <donb@codesourcery.com>
9131 * gdb.base/maint.exp: Escape paths used in regular expressions.
9132 * gdb.stabs/weird.exp: Likewise.
9134 2016-07-13 Tom Tromey <tom@tromey.com>
9136 PR python/15620, PR python/18620:
9137 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9138 (test_bkpt_events): New procs.
9140 2016-07-13 Tom Tromey <tom@tromey.com>
9143 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9145 (test_watchpoints): Likewise.
9146 (test_bkpt_pending): New proc.
9148 2016-07-13 Tom Tromey <tom@tromey.com>
9151 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9154 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9156 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9157 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9158 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9160 (g): Rename g_end_lbl to g_label.
9161 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9163 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9165 2016-07-12 Tom Tromey <tom@tromey.com>
9168 * gdb.python/py-unwind-maint.exp: Update tests.
9170 2016-07-12 Yao Qi <yao.qi@linaro.org>
9172 * lib/selftest-support.exp (selftest_setup): Match the output
9173 when captured_main is inlined.
9175 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9177 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9179 (print this%a, print this%b, print this): New tests.
9180 * gdb.fortran/derived-types.f90 (this): New object and
9183 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9185 * gdb.ada/arraydim.exp: Remove extra directory level in build
9188 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9190 * lib/ada.exp: Remove extra directory level in build directory.
9191 * gdb.ada/cond_lang.exp: Likewise.
9192 * gdb.ada/exec_changed.exp: Likewise.
9193 * gdb.ada/lang_switch.exp: Likewise.
9195 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9197 * simple.rs: Add test for raw pointer subscripting.
9198 * simple.exp: Add test expectations.
9200 2016-07-05 Yao Qi <yao.qi@linaro.org>
9202 * gdb.mi/mi-reverse.exp: Match =record-started output.
9204 2016-07-01 Pedro Alves <palves@redhat.com>
9206 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9208 (jit_reader_test): Test the jit reader's unwinder.
9209 * gdb.base/jithost.c (jit_function_00_code): New global.
9210 (main): Use memcpy to fill in the mmapped code, instead of poking
9211 bytes manually here.
9212 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9214 (read_debug_info): Save the function's range.
9215 (read_sp): New function.
9216 (unwind_frame): Use it. Also unwind RBP.
9217 (get_frame_id): Use read_sp.
9218 (gdb_init_reader): Use calloc instead of malloc.
9219 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9220 parameter. Use gdb_test_multiple.
9222 2016-07-01 Pedro Alves <palves@redhat.com>
9223 Antoine Tremblay <antoine.tremblay@ericsson.com>
9225 * gdb.threads/process-dies-while-detaching.c: New file.
9226 * gdb.threads/process-dies-while-detaching.exp: New file.
9228 2016-07-01 Pedro Alves <palves@redhat.com>
9230 * gdb.multi/watchpoint-multi-exit.c: New file.
9231 * gdb.multi/watchpoint-multi-exit.exp: New file.
9233 2016-06-30 Pedro Alves <palves@redhat.com>
9235 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9236 unset inferior_spawn_id.
9238 2016-06-30 Pedro Alves <palves@redhat.com>
9240 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9241 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9243 2016-06-29 Yao Qi <yao.qi@linaro.org>
9245 * gdb.base/return.c: Add copyright header.
9247 2016-06-29 Tom Tromey <tom@tromey.com>
9250 * gdb.python/py-framefilter.exp: Add tests for setting priority
9251 and disabling of non-existent frame filter.
9253 2016-06-29 Yao Qi <yao.qi@linaro.org>
9255 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9258 2016-06-28 Yao Qi <yao.qi@linaro.org>
9260 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9261 triplets. Start gdb, execute catch syscall, and continue. Check
9262 gdb's output to determine catch syscall is supported.
9264 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9266 * gdb.rust/simple.rs: Add test for returning unit in a function.
9267 * gdb.rust/simple.exp: Add expectation for functions returning
9270 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9272 * gdb.python/py-breakpoint-create-fail.c,
9273 gdb.python/py-breakpoint-create-fail.exp,
9274 gdb.python/py-breakpoint-create-fail.py: New testcase.
9276 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9279 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9280 * gdb.rust/simple.exp: Add test expectations for new NonZero
9283 2016-06-24 David Taylor <dtaylor@emc.com>
9285 * gdb.base/offsets.exp: New file.
9286 * gdb.base/offsets.c: New file.
9288 2016-06-23 Tom Tromey <tom@tromey.com>
9291 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9292 before any filters are loaded.
9294 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9296 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9297 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9299 * gdb.fortran/derived-type-function.exp: New file.
9300 * gdb.fortran/derived-type-function.f90: New file.
9303 2016-06-21 Pedro Alves <palves@redhat.com>
9305 * gdb.base/new-ui.exp: New file.
9306 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9307 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9308 (with_spawn_id): New procedure.
9310 2016-06-21 Pedro Alves <palves@redhat.com>
9312 * gdb.mi/mi-exec-run.exp: New file.
9314 2016-06-21 Pedro Alves <palves@redhat.com>
9316 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9317 breakpoint command's output on the main UI.
9318 (test_break): New procedure, factored out from calls in the top
9320 (top level): Use foreach_with_prefix to test MI as main UI and as
9323 2016-06-21 Pedro Alves <palves@redhat.com>
9325 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9326 (test_awatch_creation_and_listing)
9327 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9328 Remove 'type' parameter.
9329 (test_watchpoint_all): New parameter mi_mode. Remove
9331 (top level): Use foreach_with_prefix, and add main/separate UI MI
9334 2016-06-21 Pedro Alves <palves@redhat.com>
9336 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9337 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9338 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9339 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9340 (gdb_main_spawn_id, mi_spawn_id): Declare and
9342 (mi_create_inferior_pty): New procedure,
9343 factored out from default_mi_gdb_start.
9344 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9346 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9347 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9348 Use mi_create_inferior_pty.
9349 (mi_gdb_start): Use eval to pass down args list.
9351 2016-06-21 Pedro Alves <palves@redhat.com>
9353 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9354 * gdb.opt/inline-cmds.exp: Add MI tests.
9356 2016-06-21 Pedro Alves <palves@redhat.com>
9358 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9360 2016-06-21 Pedro Alves <palves@redhat.com>
9362 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9363 (top level): Use it instead of mi_execute_to.
9365 2016-06-21 Pedro Alves <palves@redhat.com>
9367 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9368 (cont_handler_str): New.
9369 (signal_stop_handler): Set stop_handler_str instead of printing to
9371 (continue_handler): Set cont_handler_str instead of printing to
9373 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9374 mi_send_resuming_command. Print stop_handler_str and
9375 cont_handler_str instead of expecting the python events print
9378 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9380 * gdb.base/jit-reader.exp: New file.
9381 * gdb.base/jithost.c: New file.
9382 * gdb.base/jithost.h: New file.
9383 * gdb.base/jitreader.c : New file.
9384 * gdb.base/jit-protocol.h: New file.
9386 2016-06-17 Yao Qi <yao.qi@linaro.org>
9388 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9389 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9390 and detach-on-fork. Adjust tests.
9391 (top level): Invoke break_cond_on_syscall with combinations of
9392 syscall, follow-fork-mode and detach-on-fork.
9394 2016-06-17 Yao Qi <yao.qi@linaro.org>
9396 * gdb.base/step-over-exit.c: New.
9397 * gdb.base/step-over-exit.exp: New.
9399 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9401 * gdb.base/float.exp: Add target check for nds32*-*-*.
9402 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9404 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9406 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9407 for unsupported target features.
9408 * gdb.base/call-rt-st.exp: Likewise.
9409 * gdb.base/call-sc.exp: Likewise.
9410 * gdb.base/call-signal-resume.exp: Likewise.
9411 * gdb.base/call-strs.exp: Likewise.
9412 * gdb.base/callexit.exp: Likewise.
9413 * gdb.base/callfuncs.exp: Likewise.
9414 * gdb.base/nodebug.exp: Likewise.
9415 * gdb.base/printcmds.exp: Likewise.
9416 * gdb.base/ptype.exp: Likewise.
9417 * gdb.base/structs.exp: Likewise.
9418 * gdb.base/unwindonsignal.exp: Likewise.
9419 * gdb.cp/gdb2495.exp: Likewise.
9420 * gdb.cp/templates.exp: Likewise.
9421 * gdb.cp/virtfunc.exp: Likewise.
9422 * gdb.threads/hand-call-in-threads.exp: Likewise.
9423 * gdb.threads/interrupted-hand-call.exp: Likewise.
9424 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9426 2016-06-10 Tom Tromey <tom@tromey.com>
9429 * gdb.rust/expr.exp: Add test for integer constant larger than
9432 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9434 * gdb.fortran/nested-funcs.exp: New.
9435 * gdb.fortran/nested-funcs.f90: New.
9437 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9439 * gdb.base/examine-backward.c: New file.
9440 * gdb.base/examine-backward.exp: New file.
9442 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9444 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9447 2016-06-02 Tom Tromey <tom@tromey.com>
9450 * gdb.python/py-shared.exp: Add solib_name test.
9452 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9454 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9456 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9459 * gdb.dwarf2/implref.exp: Rename to...
9460 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9461 * gdb.dwarf2/implref-array.c: New file.
9462 * gdb.dwarf2/implref-array.exp: Likewise.
9463 * gdb.dwarf2/implref-global.c: Likewise.
9464 * gdb.dwarf2/implref-global.exp: Likewise.
9465 * gdb.dwarf2/implref-struct.c: Likewise.
9466 * gdb.dwarf2/implref-struct.exp: Likewise.
9468 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9470 * gdb.trace/trace-condition.exp: Add 64bit tests.
9472 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9474 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9476 (main): Adapt to 8 to 64 bits types.
9477 * gdb.trace/trace-condition.exp: Add new tests.
9479 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9481 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9483 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9485 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9486 Move condition tests...
9487 * gdb.trace/trace-condition.exp: Here.
9489 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9491 * gdb.trace/trace-condition.exp: Add counter-case tests.
9493 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9496 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9497 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9499 2016-05-27 Pedro Alves <palves@redhat.com>
9501 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9503 (top level): Call it, and bail out of DejaGnu is known to be bad.
9505 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9507 * gdb.base/whatis.c: Extend the test case.
9508 * gdb.base/whatis.exp: Add additional tests.
9510 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9512 * gdb.fortran/type.f90: Add pointer variable.
9513 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9515 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9517 * gdb.fortran/vla-type.exp: Fix testcase name.
9519 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9521 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9523 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9525 * gdb.fortran/type.f90: Add nested structures.
9526 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9527 * gdb.fortran/derived-type.exp: Adapt expected output.
9528 * gdb.fortran/vla-type.exp: Adapt expected output.
9530 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9532 * gdb.fortran/whatis_type.exp: Adapt expected output.
9534 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9536 * gdb.fortran/print_type.exp: Fix expected output.
9537 * gdb.fortran/whatis_type.exp: Fix expected output.
9539 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9541 * gdb.fortran/whatis_type.exp: Use multi_line.
9543 2016-05-24 Tom Tromey <tom@tromey.com>
9546 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9547 use value as an index.
9549 2016-05-23 Tom Tromey <tom@tromey.com>
9552 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9555 2016-05-24 Pedro Alves <palves@redhat.com>
9558 * gdb.threads/clone-attach-detach.c: New file.
9559 * gdb.threads/clone-attach-detach.exp: New file.
9561 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9563 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9565 2016-05-23 Tom Tromey <tom@tromey.com>
9567 PR python/19438, PR python/18393:
9568 * gdb.python/py-progspace.exp: Add "dir" test.
9569 * gdb.python/py-objfile.exp: Add "dir" test.
9571 2016-05-23 Yao Qi <yao.qi@linaro.org>
9573 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9574 * gdb.arch/thumb2-it.exp: Likewise.
9576 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9578 * gdb.mi/mi-threads-interrupt.c: New file.
9579 * gdb.mi/mi-threads-interrupt.exp: New file.
9581 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9584 * gdb.mi/mi-async-run.exp: New file.
9585 * gdb.mi/mi-async-run.c: New file.
9587 2016-05-17 Tom Tromey <tom@tromey.com>
9588 Manish Goregaokar <manishsmail@gmail.com>
9590 * lib/rust-support.exp: New file.
9591 * lib/gdb.exp (skip_rust_tests): New proc.
9592 (build_executable_from_specs): Handle rust.
9593 * lib/future.exp (gdb_find_rustc): New proc.
9594 (gdb_default_target_compile): Handle rust.
9595 * gdb.rust/expr.exp: New file.
9596 * gdb.rust/generics.exp: New file.
9597 * gdb.rust/generics.rs: New file.
9598 * gdb.rust/methods.exp: New file.
9599 * gdb.rust/methods.rs: New file.
9600 * gdb.rust/modules.exp: New file.
9601 * gdb.rust/modules.rs: New file.
9602 * gdb.rust/simple.exp: New file.
9603 * gdb.rust/simple.rs: New file.
9605 2016-05-17 Tom Tromey <tom@tromey.com>
9607 * gdb.base/default.exp (set language): Add rust.
9609 2016-05-17 Tom Tromey <tom@tromey.com>
9611 * gdb.gdb/unittest.exp: New file.
9613 2016-05-16 Yao Qi <yao.qi@linaro.org>
9615 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9616 shell_prompt. Update shell_prompt_re.
9618 2016-05-12 Doug Evans <dje@google.com>
9621 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9622 $options when building executable.
9623 * gdb.dwarf2/fission-loclists-pie.S: New file.
9624 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9626 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9628 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
9629 of [is_remote target],
9631 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9633 * lib/gdb.exp (use_gdb_stub): New procedure.
9635 2016-05-03 Yunlian Jiang <yunlian@google.com>
9636 Doug Evans <dje@google.com>
9639 * gdb.dwarf2/dwp-sepdebug.c: New file.
9640 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9642 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9644 * gdb.base/detach.exp: Remove is_remote check.
9646 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9648 * gdb.base/annota-input-while-running.exp: Don't check for
9649 [is_remote target]. Enable annotations after running to main.
9650 Remove unused "set test..." line.
9652 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9654 * gdb.trace/trace-enable-disable.exp: New file.
9655 * gdb.trace/trace-enable-disable.c: New file.
9657 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9659 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9660 use it in info sharedlibrary test.
9661 * gdb.trace/ftrace-lock.exp: Likewise.
9662 * gdb.trace/ftrace.exp: Likewise.
9663 * gdb.trace/range-stepping.exp: Likewise.
9664 * gdb.trace/trace-break.exp: Likewise.
9665 * gdb.trace/trace-condition.exp: Likewise.
9666 * gdb.trace/trace-mt.exp: Likewise.
9668 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9670 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9671 (gdb_load_shlib): ... this.
9672 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9674 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9675 * gdb.base/ctxobj.exp: Likewise.
9676 * gdb.base/dprintf-pending.exp: Likewise.
9677 * gdb.base/dso2dso.exp: Likewise.
9678 * gdb.base/fixsection.exp: Likewise.
9679 * gdb.base/gcore-relro.exp: Likewise.
9680 * gdb.base/gdb1555.exp: Likewise.
9681 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9682 * gdb.base/gnu-ifunc.exp: Likewise.
9683 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9684 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9685 * gdb.base/pending.exp: Likewise.
9686 * gdb.base/print-file-var.exp: Likewise.
9687 * gdb.base/print-symbol-loading.exp: Likewise.
9688 * gdb.base/shlib-call.exp: Likewise.
9689 * gdb.base/shreloc.exp: Likewise.
9690 * gdb.base/so-impl-ld.exp: Likewise.
9691 * gdb.base/solib-disc.exp: Likewise.
9692 * gdb.base/solib-nodir.exp: Likewise.
9693 * gdb.base/solib-overlap.exp: Likewise.
9694 * gdb.base/solib-symbol.exp: Likewise.
9695 * gdb.base/solib-weak.exp (do_test): Likewise.
9696 * gdb.base/sym-file.exp: Likewise.
9697 * gdb.base/symtab-search-order.exp: Likewise.
9698 * gdb.base/type-opaque.exp: Likewise.
9699 * gdb.base/unload.exp: Likewise.
9700 * gdb.base/watchpoint-solib.exp: Likewise.
9701 * gdb.compile/compile.exp: Likewise.
9702 * gdb.cp/gdb2384.exp: Likewise.
9703 * gdb.cp/infcall-dlopen.exp: Likewise.
9704 * gdb.cp/re-set-overloaded.exp: Likewise.
9705 * gdb.fortran/library-module.exp: Likewise.
9706 * gdb.opt/solib-intra-step.exp: Likewise.
9707 * gdb.python/py-finish-breakpoint.exp: Likewise.
9708 * gdb.python/py-shared.exp: Likewise.
9709 * gdb.reverse/solib-precsave.exp: Likewise.
9710 * gdb.reverse/solib-reverse.exp: Likewise.
9711 * gdb.server/solib-list.exp: Likewise.
9712 * gdb.threads/dlopen-libpthread.exp: Likewise.
9713 * gdb.threads/tls-shared.exp: Likewise.
9714 * gdb.threads/tls-so_extern.exp: Likewise.
9715 * gdb.trace/change-loc.exp: Likewise.
9716 * gdb.trace/ftrace-lock.exp: Likewise.
9717 * gdb.trace/ftrace.exp: Likewise.
9718 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9719 * gdb.trace/pending.exp: Likewise.
9720 * gdb.trace/range-stepping.exp: Likewise.
9721 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9722 (strace_info_marker): Likewise.
9723 (strace_probe_marker): Likewise.
9724 (strace_trace_on_same_addr): Likewise.
9725 (strace_trace_on_diff_addr): Likewise.
9726 * gdb.trace/trace-break.exp: Likewise.
9727 * gdb.trace/trace-condition.exp: Likewise.
9728 * gdb.trace/trace-mt.exp: Likewise.
9730 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9732 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9733 result of gdb_remote_download.
9734 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9735 * gdb.base/dso2dso.exp: Likewise.
9736 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9737 * gdb.base/print-file-var.exp: Likewise.
9738 * gdb.base/shlib-call.exp: Likewise.
9739 * gdb.base/shreloc.exp: Likewise.
9740 * gdb.base/solib-overlap.exp: Likewise.
9741 * gdb.base/solib-weak.exp (do_test): Likewise.
9742 * gdb.base/unload.exp: Likewise.
9744 2016-04-27 Yao Qi <yao.qi@linaro.org>
9746 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9749 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9751 * vla-type.exp: Print structure from toplevel.
9753 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9755 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9757 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9760 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9762 * gdb.fortran/vla-type.f90: New file.
9763 * gdb.fortran/vla-type.exp: New file.
9765 2016-04-25 Yao Qi <yao.qi@linaro.org>
9767 * gdb.base/branch-to-self.c: New file.
9768 * gdb.base/branch-to-self.exp: New file.
9770 2016-04-22 Yao Qi <yao.qi@linaro.org>
9772 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9775 2016-04-22 Yao Qi <yao.qi@linaro.org>
9777 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9778 * gdb.base/annota3.exp: Likewise.
9780 2016-04-22 Yao Qi <yao.qi@linaro.org>
9782 * gdb.reverse/step-precsave.exp: Do one step and test program
9783 stops in "callee" and do multiple steps until program goes out
9785 * gdb.reverse/step-reverse.exp: Likewise.
9787 2016-04-22 Yao Qi <yao.qi@linaro.org>
9789 * gdb.trace/signal.exp: Also pass if
9790 $tracepoint_hits($i) > $iterations.
9792 2016-04-22 Yao Qi <yao.qi@linaro.org>
9794 * gdb.trace/signal.c: New file.
9795 * gdb.trace/signal.exp: New file.
9797 2016-04-19 Doug Evans <xdje42@gmail.com>
9799 * gdb.base/bad-file.exp: New file.
9801 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9803 * gdb.dwarf2/implref.exp: New file.
9805 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9807 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9808 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9809 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9810 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9811 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9812 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9813 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9814 * lib/fortran.exp (fortran_int4): New procedure.
9815 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9816 (fortran_logical4): Likewise.
9818 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9820 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9822 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9824 * lib/compiler.c: Add Intel specific preprocessor macros.
9825 * lib/compiler.cc: Likewise.
9827 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9829 * gdb.server/connect-with-no-symbol-file.c: New file.
9830 * gdb.server/connect-with-no-symbol-file.exp: New file.
9832 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9834 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9836 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9838 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9839 standard output directory.
9841 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9843 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9845 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9847 * gdb.btrace/instruction_history.c (loop): Add declaration.
9849 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9851 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9853 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9855 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9856 parentheses to print.
9857 (continue_handler): Likewise.
9859 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9861 * gdb.server/solib-list.exp: Remove is_remote check.
9862 Pass shlib= to gdb_compile. Don't link shared library with
9863 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9864 Run binary filename through "readlink -f" on the target.
9866 2016-04-08 Pedro Alves <palves@redhat.com>
9868 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9869 interpreter filename as argument to gdbserver_spawn.
9870 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9871 Return empty if $last_loaded_file does not exist.
9873 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9875 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9876 * gdb.base/jit-main.c: Use exit after usage.
9878 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9880 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9881 GDBHISTSIZE prior to the tests.
9882 * gdb.base/gdbinit-history.exp: Likewise.
9884 2016-04-07 Pedro Alves <palves@redhat.com>
9886 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9887 instead of build_executable. Use gdb_load_shlibs.
9889 2016-04-07 Yao Qi <yao.qi@linaro.org>
9891 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9892 Execute "si" command.
9894 2016-04-07 Yao Qi <yao.qi@linaro.org>
9896 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9897 number instead of the comments on some line.
9899 2016-04-06 Don Breazeal <donb@codesourcery.com>
9901 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9902 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9904 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9906 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9907 standard_output_file. Remove unused binfile variable.
9909 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9911 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9912 * gdb.python/py-mi-objfile.exp: Match "list main" output
9915 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9917 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9920 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9922 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9924 * gdb.trace/ftrace.exp: Likewise.
9925 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9927 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9928 (gdb_load_shlibs): Copy libraries to test directory when testing
9929 natively. Only set solib-search-path if testing remotely.
9930 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9932 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9934 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9935 gdb_download. Use it even if the target is not remote.
9936 * gdb.base/jit.exp (compile_jit_test): Likewise.
9937 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9938 output directory if the destination board is local, otherwise use
9939 the standard remote_download from DejaGnu.
9940 (gdb_download): Remove.
9941 (gdb_load_shlibs): Use gdb_remote_download instead of
9943 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9944 Use gdb_remote_download instead of gdb_download. Use it even if
9945 the target is not remote.
9946 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9947 instead of gdb_download.
9949 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9951 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9952 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9955 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9958 * gdb.base/printcmds.exp: Add artificial arrays tests.
9960 2016-03-31 Pedro Alves <palves@redhat.com>
9963 * gdb.base/jit-main.c: Include unistd.h.
9964 (ATTACH): Define to 0 if not already defined.
9965 (wait_for_gdb, mypid): New globals.
9966 (WAIT_FOR_GDB): New macro.
9967 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9968 some breakpoint locations.
9969 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9971 (one_jit_test): Add REATTACH parameter, and handle it. Use
9972 continue_to_test_location.
9973 (top level): Test attach, and adjusts calls to one_jit_test.
9975 2016-03-31 Pedro Alves <palves@redhat.com>
9978 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9979 BINSUFFIX parameter, and handle it.
9980 (top level): Adjust calls compile_jit_test.
9982 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9985 * gdb.python/py-mi-events-gdb.py: New file.
9986 * gdb.python/py-mi-events.c: New file.
9987 * gdb.python/py-mi-events.exp: New file.
9989 2016-03-30 Yao Qi <yao.qi@linaro.org>
9991 * gdb.reverse/until-precsave.exp: Match function name only.
9992 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9993 Move malloc to a condition block.
9994 * gdb.reverse/until-reverse.exp: Match function name only.
9996 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9998 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9999 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10000 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10001 variable for GPR 0 instead of assuming it is register 0.
10002 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10003 * lib/trace-support.exp: Add s390 registers.
10005 2016-03-29 Yao Qi <yao.qi@linaro.org>
10007 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10009 2016-03-24 Yao Qi <yao.qi@linaro.org>
10011 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10014 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10016 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10017 maintaining separate logic for constructing the output path.
10019 2016-03-16 Don Breazeal <donb@codesourcery.com>
10021 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10022 Retry fork and waitpid on interrupted system call errors.
10023 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10024 Use with_timeout_factor to increase timeout by factor of 10.
10026 2016-03-15 Don Breazeal <donb@codesourcery.com>
10028 * gdb.cp/scope-err.cc: New test program.
10029 * gdb.cp/scope-err.exp: New test script.
10030 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10031 lines and "set breakpoint here" comment.
10032 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10033 Fixed some whitespace and format issues.
10034 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10035 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10037 2016-03-15 Doug Evans <dje@google.com>
10039 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10040 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10041 All callers updated. Add tests for enums, mixed flags register.
10043 2016-03-15 Doug Evans <dje@google.com>
10045 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10046 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10048 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10050 * gdb.base/default.exp: Add $_as_string to the list of expected
10051 convenience functions.
10053 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10055 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10057 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10059 * gdb.python/py-as-string.exp: New file.
10060 * gdb.python/py-as-string.c: New file.
10062 2016-03-09 Pedro Alves <palves@redhat.com>
10064 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10065 signal" -> "Thread NN received signal" output change.
10066 * gdb.threads/ia64-sigill.exp: Likewise.
10067 * gdb.threads/linux-dp.exp: Likewise.
10068 * gdb.threads/manythreads.exp: Likewise.
10069 * gdb.threads/pending-step.exp: Likewise.
10070 * gdb.threads/print-threads.exp: Likewise.
10071 * gdb.threads/sigstep-threads.exp: Likewise.
10072 * gdb.threads/staticthreads.exp: Likewise.
10073 * gdb.threads/tls.exp: Likewise.
10075 2016-03-09 Pedro Alves <palves@redhat.com>
10077 * gdb.base/command-line-input.exp: New file.
10079 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10081 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10082 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10083 * gdb.trace/pending.exp: Accept leading dot before function name.
10084 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10085 * lib/trace-support.exp: Set registers for ppc.
10087 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10089 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10090 use it for disassembly; accept .main in addition to main in backtrace.
10092 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10093 Marcin Kościelnicki <koriakin@0x04.net>
10095 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10096 (gdb_recursion_test_ptr): New global variable.
10097 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10098 gdb_recursion_test.
10099 (gdb_c_test): Ditto.
10101 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10103 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10106 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10108 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10109 (bar): Add bar_start_lbl label.
10110 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10111 of foo/bar for emitting DWARF and tracing.
10113 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10115 * analyze-racy-logs.py: Set executable bit.
10117 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10119 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10120 (CHECK_TARGET_TMP): Likewise.
10121 (check-single-racy): New rule.
10122 (check-parallel-racy): Likewise.
10123 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10124 (do-check-parallel-racy): New rule.
10125 (check-racy/%.exp): Likewise.
10126 * README (Racy testcases): New section.
10127 * analyze-racy-logs.py: New file.
10129 2016-03-03 Doug Evans <dje@google.com>
10131 * gdb.base/skip.exp: Use with_test_prefix.
10133 2016-03-03 Yao Qi <yao.qi@linaro.org>
10135 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10136 Invoke step_over_syscall "clone" and break_cond_on_syscall
10138 * gdb.base/step-over-clone.c: New file.
10140 2016-03-03 Yao Qi <yao.qi@linaro.org>
10142 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10145 2016-03-03 Yao Qi <yao.qi@linaro.org>
10147 * gdb.base/disp-step-fork.c: Rename to ...
10148 * gdb.base/step-over-fork.c: ... it. New file.
10149 * gdb.base/disp-step-vfork.c: Rename to ...
10150 * gdb.base/step-over-vfork.c: ... it. New file.
10151 * gdb.base/disp-step-syscall.exp: Rename to ...
10152 * gdb.base/step-over-syscall.exp: ... it. New file.
10153 (disp_step_cross_syscall): Rename to ...
10154 (step_over_syscall): ... it.
10156 2016-03-03 Yao Qi <yao.qi@linaro.org>
10158 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10159 If target supports condition evaluation on target, invoke
10160 break_cond_on_syscall for fork and vfork.
10162 2016-03-03 Yao Qi <yao.qi@linaro.org>
10164 * gdb.base/disp-step-syscall.exp: Don't invoke
10165 support_displaced_stepping.
10166 (disp_step_cross_syscall): Test with displaced stepping off and
10169 2016-03-03 Yao Qi <yao.qi@linaro.org>
10171 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10174 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10177 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10179 * gdb.fortran/vla-history.exp: Remove breakpoint.
10181 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10183 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10186 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10188 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10191 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10193 * gdb.mi/vla.f90: Nullify pointer after declaration.
10195 2016-03-01 Pedro Alves <palves@redhat.com>
10197 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10199 2016-03-01 Pedro Alves <palves@redhat.com>
10201 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10202 before anything else.
10203 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10205 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10206 before anything else.
10207 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10209 2016-03-01 Pedro Alves <palves@redhat.com>
10211 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10213 2016-03-01 Yao Qi <yao.qi@linaro.org>
10215 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10216 prepare_for_testing.
10218 2016-03-01 Yao Qi <yao.qi@linaro.org>
10220 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10222 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10224 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10225 manually constructing the output path.
10227 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10229 * gdb.arch/s390-stackless.S: New.
10230 * gdb.arch/s390-stackless.exp: New.
10232 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10234 * gdb.dlang/circular.c: New file.
10235 * gdb.dlang/circular.exp: New file.
10237 2016-02-26 Yao Qi <yao.qi@linaro.org>
10239 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10240 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10241 (testcases): Update.
10243 2016-02-26 Yao Qi <yao.qi@linaro.org>
10245 * gdb.reverse/aarch64.c: Rename to ...
10246 * gdb.reverse/insn-reverse.c: ... it.
10247 * gdb.reverse/aarch64.exp: Rename to ...
10248 * gdb.reverse/insn-reverse.exp: ... it.
10250 2016-02-26 Yao Qi <yao.qi@linaro.org>
10252 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10253 (testcase_ftype): New.
10254 (testcases): New array.
10255 (n_testcases): New.
10256 (main): Call each element in testcases.
10257 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10258 (read_testcase): New.
10259 Do the tests in a loop.
10261 2016-02-25 Yao Qi <yao.qi@linaro.org>
10263 * gdb.base/branches.c: Remove.
10265 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10268 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10270 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10272 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10274 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10276 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10277 change x86_64 call_insn to 'callq'.
10279 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10281 * gdb.trace/tfile-avx.c: Move to...
10282 * gdb.trace/tracefile-pseudo-reg.c: Here.
10283 * gdb.trace/tfile-avx.exp: Move to...
10284 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10286 2016-02-24 Gary Benson <gbenson@redhat.com>
10288 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10291 2016-02-23 Doug Evans <dje@google.com>
10293 * gdb.base/skip.c (test_skip): New function.
10294 (end_test_skip_file_and_function): New function.
10295 (test_skip_file_and_function): New function.
10296 * gdb.base/skip1.c (test_skip): New function.
10297 (skip1_test_skip_file_and_function): New function.
10298 * gdb.base/skip.exp: Add tests for new skip options.
10299 * gdb.base/skip-solib.exp: Update expected output.
10300 * gdb.perf/skip-command.cc: New file.
10301 * gdb.perf/skip-command.exp: New file.
10302 * gdb.perf/skip-command.py: New file.
10304 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10306 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10307 info registers pattern.
10309 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10311 * lib/future.exp: Add D support.
10312 (gdb_find_gdc): New proc.
10313 (gdb_default_target_compile): Add D support.
10315 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10317 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10319 (trace_speed_test): Determine the iteration count for a time
10320 between 15..30 seconds.
10322 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10324 * gdb.arch/i386-mpx-sigsegv.c: New file.
10325 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10326 * gdb.arch/i386-mpx-simple_segv.c: New file.
10327 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10329 2016-02-18 Yao Qi <yao.qi@linaro.org>
10331 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10332 Don't call setup_kfail.
10334 2016-02-18 Yao Qi <yao.qi@linaro.org>
10336 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10337 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10339 2016-02-16 Doug Evans <dje@google.com>
10341 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10342 * gdb.base/skip1.c: Ditto.
10343 * gdb.base/skip.exp: Whitespace cleanup.
10345 2016-02-16 Don Breazeal <donb@codesourcery.com>
10348 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10349 Remove kfail for PR remote/19496.
10351 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10353 * lib/gdb.exp (standard_temp_file): Return a path specific to
10354 the runtest invocation.
10356 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10358 * gdb.trace/save-trace.exp: Change relative path to be in the
10359 standard output directory.
10361 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10363 * gdb.arch/i386-prologue.c: Add missing prototypes.
10365 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10367 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10368 * gdb.arch/i386-prologue.exp: Likewise.
10369 * gdb.arch/i386-size.exp: Likewise.
10371 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10373 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10374 define object file path.
10375 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10377 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10378 standard_output_file to define binfile.
10380 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10382 Fix compatibility with recent gfortran-5.3.1.
10383 * gdb.fortran/vla-history.exp (print vla1 allocated)
10384 (print vla2 allocated, print $2, print $3): Remove
10385 (print $4): Rename to ...
10386 (print $2): ... here.
10387 (print $9): Rename to ...
10388 (print $5): ... here.
10389 (print $10): Rename to ...
10390 (print $6): ... here.
10391 * gdb.fortran/vla.f90: Add pvla initialization.
10393 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10395 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10397 * gdb.fortran/vla-value-sub.exp: Likewise.
10399 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10401 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10403 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10405 * i386-biarch-core.exp: Define corefile using
10406 standard_output_file.
10408 2016-02-12 Yao Qi <yao.qi@linaro.org>
10410 * gdb.arch/arm-single-step-kernel-helper.c: New.
10411 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10413 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10415 * gdb.btrace/tailcall-only.exp: New.
10416 * gdb.btrace/tailcall-only.c: New.
10417 * gdb.btrace/x86_64-tailcall-only.S: New.
10418 * gdb.btrace/i686-tailcall-only.S: New.
10420 2016-02-11 Pedro Alves <palves@redhat.com>
10422 * README (Parallel testing): Add missing double quotes.
10424 2016-02-11 Pedro Alves <palves@redhat.com>
10426 * README (Parallel testing): New section.
10427 (GDB_PARALLEL): Rewrite.
10428 (FORCE_PARALLEL): Document.
10430 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10432 * gdb.trace/tfile-avx.c: New test.
10433 * gdb.trace/tfile-avx.exp: New test.
10435 2016-02-09 Keith Seitz <keiths@redhat.com>
10437 PR breakpoints/19546
10438 * gdb.base/infcall-exec.c: New file.
10439 * gdb.base/infcall-exec2.c: New file.
10440 * gdb.base/infcall-exec.exp: New file.
10442 2016-02-09 Keith Seitz <keiths@redhat.com>
10444 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10445 (toplevel): Call test_bkpt_address.
10447 2016-02-09 Keith Seitz <keiths@redhat.com>
10450 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10451 (toplevel): Call test_bkpt_address.
10453 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10455 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10457 * configure: Regenerate.
10459 2016-02-09 Pedro Alves <palves@redhat.com>
10461 PR breakpoints/19548
10462 * gdb.base/execl-update-breakpoints.c (some_function): New
10465 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10466 Tighten expected GDB output.
10468 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10470 * Makefile.in (ALL_SUBDIRS): Remove.
10471 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10472 (distclean maintainer-clean realclean): Likewise.
10473 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10474 * configure: Regenerate.
10475 * gdb.ada/Makefile.in: Delete.
10476 * gdb.arch/Makefile.in: Likewise.
10477 * gdb.asm/Makefile.in: Likewise.
10478 * gdb.base/Makefile.in: Likewise.
10479 * gdb.btrace/Makefile.in: Likewise.
10480 * gdb.cell/Makefile.in: Likewise.
10481 * gdb.compile/Makefile.in: Likewise.
10482 * gdb.cp/Makefile.in: Likewise.
10483 * gdb.disasm/Makefile.in: Likewise.
10484 * gdb.dlang/Makefile.in: Likewise.
10485 * gdb.dwarf2/Makefile.in: Likewise.
10486 * gdb.fortran/Makefile.in: Likewise.
10487 * gdb.gdb/Makefile.in: Likewise.
10488 * gdb.go/Makefile.in: Likewise.
10489 * gdb.guile/Makefile.in: Likewise.
10490 * gdb.java/Makefile.in: Likewise.
10491 * gdb.linespec/Makefile.in: Likewise.
10492 * gdb.mi/Makefile.in: Likewise.
10493 * gdb.modula2/Makefile.in: Likewise.
10494 * gdb.multi/Makefile.in: Likewise.
10495 * gdb.objc/Makefile.in: Likewise.
10496 * gdb.opencl/Makefile.in: Likewise.
10497 * gdb.opt/Makefile.in: Likewise.
10498 * gdb.pascal/Makefile.in: Likewise.
10499 * gdb.perf/Makefile.in: Likewise.
10500 * gdb.python/Makefile.in: Likewise.
10501 * gdb.reverse/Makefile.in: Likewise.
10502 * gdb.server/Makefile.in: Likewise.
10503 * gdb.stabs/Makefile.in: Likewise.
10504 * gdb.threads/Makefile.in: Likewise.
10505 * gdb.trace/Makefile.in: Likewise.
10506 * gdb.xml/Makefile.in: Likewise.
10507 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10509 (standard_output_file): Remove check for GDB_PARALLEL, always
10510 return path in outputs/$subdir/$testname.
10512 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10514 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10515 (site.exp): Assign abs_srcdir to tcl's srcdir.
10517 2016-02-04 Yao Qi <yao.qi@linaro.org>
10519 * gdb.base/foll-exec-mode.c: Include limits.h.
10520 (main): Add parameters argc and argv. Get directory from
10522 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10524 * gdb.base/foll-exec.c: Include limits.h.
10525 (main): Add parameters argc and argv.
10526 Get directory from argv[0].
10527 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10528 Adjust tests on the number of lines as source code changed.
10529 * gdb.base/foll-vfork-exit.c: Include limits.h.
10530 (main): Add one line of statement before vfork.
10531 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10532 (main): Add parameters argc and argv. Get directory from
10534 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10535 (setup_gdb): Set tbreak to skip some source lines.
10536 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10537 (main): Add parameters argc and argv. Get directory from
10539 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10541 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10542 (main): Add parameters argc and argv. Get directory from
10544 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10547 2016-02-01 Doug Evans <dje@google.com>
10549 * gdb.base/skip.exp: Clean up multiple references to same test name.
10551 2016-02-01 Pedro Alves <palves@redhat.com>
10554 * gdb.threads/forking-threads-plus-breakpoint.exp
10555 (displaced_stepping_supported): New global.
10556 (probe_displaced_stepping_support): New procedure.
10557 (do_test): Add 'displaced' parameter, and use it.
10558 (top level): Check for displaced stepping support. Add displaced
10559 stepping on/off testing axis.
10561 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10563 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10564 pointer. Don't perform further tests on the unassociated pointer
10565 if the first test fails.
10567 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10569 * gdb.base/max-value-size.c: New file.
10570 * gdb.base/max-value-size.exp: New file.
10571 * gdb.base/huge.exp: Disable max-value-size for this test.
10573 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10575 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10577 2016-01-28 Yao Qi <yao.qi@linaro.org>
10579 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10581 2016-01-25 Pedro Alves <palves@redhat.com>
10584 * gdb.base/fork-running-state.c: New file.
10585 * gdb.base/fork-running-state.exp: New file.
10587 2016-01-25 Pedro Alves <palves@redhat.com>
10590 * gdb.base/catch-fork-kill.c: New file.
10591 * gdb.base/catch-fork-kill.exp: New file.
10593 2016-01-25 Pedro Alves <palves@redhat.com>
10595 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10596 Delete, moved to lib/gdb.exp.
10597 * gdb.threads/forking-threads-plus-breakpoint.exp
10598 (foreach_with_prefix): Likewise.
10599 * gdb.threads/process-dies-while-handling-bp.exp
10600 (foreach_with_prefix): Likewise.
10601 * lib/gdb.exp (foreach_with_prefix): New procedure.
10603 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10605 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10606 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10608 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10610 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10613 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10614 Pedro Alves <palves@redhat.com>
10616 Fix testsuite compatibility with Guile.
10617 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10620 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10622 Fix testsuite compatibility with Guile.
10623 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10624 (thread 1): New test for backtrace through signal handler.
10626 2016-01-22 Yao Qi <yao.qi@linaro.org>
10629 * gdb.base/multi-forks.c: Include
10630 ../lib/unbuffer_output.c
10631 (main): Call gdb_unbuffer_output.
10633 2016-01-21 Doug Evans <dje@google.com>
10635 * lib/ada.exp (gdb_compile_ada): Fix typo.
10637 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10639 * gdb.base/break-fun-addr.exp: New file.
10640 * gdb.base/break-fun-addr1.c: New file.
10641 * gdb.base/break-fun-addr2.c: New file.
10643 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10645 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10646 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10649 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10651 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10652 when GDB can not set the vector return value. Add more comments
10655 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10657 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10660 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10662 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10664 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10666 * Makefile.in (check-single): Pass --status to runtest.
10667 (check/%.exp): Likewise.
10669 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10671 * Makefile.in (check-parallel): Propagate return code from make
10674 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10676 * gdb.trace/ftrace.exp: Fix expected message on continue.
10677 * gdb.trace/pending.exp: Fix expected message on continue.
10678 * gdb.trace/trace-break.exp: Fix expected message on continue.
10680 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10682 * lib/gdb.exp (gdb_test): Remove unused global references.
10684 2016-01-18 Pedro Alves <palves@redhat.com>
10686 * gdb.base/async-shell.exp: Adjust expected output.
10687 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10688 * gdb.base/siginfo-thread.exp: Adjust expected output.
10689 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10690 * gdb.java/jnpe.exp: Adjust expected output.
10691 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10692 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10693 * gdb.threads/leader-exit.exp: Adjust expected output.
10694 * gdb.threads/manythreads.exp: Adjust expected output.
10695 * gdb.threads/pthreads.exp: Adjust expected output.
10696 * gdb.threads/schedlock.exp: Adjust expected output.
10697 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10698 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10700 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10702 * gdb.threads/sigthread.exp: Adjust expected output.
10703 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10705 2016-01-18 Yao Qi <yao.qi@linaro.org>
10707 * gdb.guile/scm-section-script.c: Replace @progbits with
10709 * gdb.python/py-section-script.c: Likewise.
10711 2016-01-15 Pedro Alves <palves@redhat.com>
10713 * gdb.multi/tids.exp: Test star wildcard ranges.
10715 2016-01-15 Pedro Alves <palves@redhat.com>
10717 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10718 command from "thread apply" invocation.
10719 (thr_apply_info_thr_invalid): Default the expected output to the
10721 (top level): Add tests that use convenience variables. Add tests
10722 for "thread apply" with a valid TID list, but missing the command.
10724 2016-01-13 Pedro Alves <palves@redhat.com>
10726 * gdb.base/default.exp: Expect $_gthread as well.
10727 * gdb.multi/tids.exp: Test $_gthread.
10728 * gdb.threads/thread-specific.exp: Test $_gthread.
10730 2016-01-13 Pedro Alves <palves@redhat.com>
10732 * gdb.multi/tids.exp: Test "info threads -gid".
10734 2016-01-13 Pedro Alves <palves@redhat.com>
10736 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10738 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10740 2016-01-07 Pedro Alves <palves@redhat.com>
10742 * gdb.base/break.exp: Adjust to output changes.
10743 * gdb.base/hbreak2.exp: Likewise.
10744 * gdb.base/sepdebug.exp: Likewise.
10745 * gdb.base/watch_thread_num.exp: Likewise.
10746 * gdb.linespec/keywords.exp: Likewise.
10747 * gdb.multi/info-threads.exp: Likewise.
10748 * gdb.threads/thread-find.exp: Likewise.
10749 * gdb.multi/tids.c: New file.
10750 * gdb.multi/tids.exp: New file.
10752 2016-01-13 Pedro Alves <palves@redhat.com>
10754 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10756 2016-01-13 Pedro Alves <palves@redhat.com>
10758 * gdb.base/default.exp: Expect $_inferior as well.
10759 * gdb.multi/base.exp: Test $_inferior.
10761 2016-01-13 Pedro Alves <palves@redhat.com>
10763 PR breakpoints/19388
10764 * gdb.base/catch-signal-siginfo-cond.c: New file.
10765 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10767 2016-01-12 Josh Stone <jistone@redhat.com>
10768 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10770 * gdb.base/catch-syscall.c (do_execve): New variable.
10771 (main): Conditionally trigger an execve.
10772 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10773 (test_catch_syscall_execve): New, check entry/return across execve.
10774 (do_syscall_tests): Call test_catch_syscall_execve.
10776 2016-01-12 Pedro Alves <palves@redhat.com>
10778 * gdb.base/random-signal.exp (do_test): New procedure, with body
10779 of testcase moved in.
10781 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10782 Pedro Alves <palves@redhat.com>
10784 * gdb.base/funcargs.exp (finish from indirectly called function):
10785 Reintroduce the case for 'First'.
10787 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10788 Pedro Alves <palves@redhat.com>
10790 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10791 (tcatch_vfork_then_child_follow_exec)
10792 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10795 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10797 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10798 and repeats to unlimited.
10799 * gdb.python/py-value.exp: Likewise.
10800 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10801 and repeats to unlimited.
10803 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10805 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10806 and reordering the functions.
10807 * gdb.multi/hangout.c: Likewise.
10808 * gdb.multi/hello.c: Likewise.
10810 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10812 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10814 (SingleStatisticTestResult.report): Use dict.keys instead of
10817 2016-01-06 Pedro Alves <palves@redhat.com>
10819 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10821 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10823 * gdb.btrace/dlopen.exp: New.
10824 * gdb.btrace/dlopen.c: New.
10825 * gdb.btrace/dlopen-dso.c: New.
10827 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10829 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10830 PATTERN argument is optional.
10832 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10834 * lib/ada.exp (target_compile_ada_from_dir): New function.
10835 (gdb_compile_ada): Reimplement avoiding the use of project files.
10836 * gdb.ada/gnat_ada.gpr: Delete.
10837 * gdb.ada/cond_lang.exp: Adjust test to make path before
10839 * gdb.ada/small_reg_param.exp: Likewise.
10841 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10843 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10845 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10847 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10850 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10852 * gdb.base/break.exp: Remove dead code.
10853 * gdb.base/sepdebug.exp: Likewise.
10855 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10857 * gdb.asm/asm-source.exp: Remove HP-UX references.
10858 * gdb.base/annota1.exp: Likewise.
10859 * gdb.base/annota3.exp: Likewise.
10860 * gdb.base/attach.exp: Likewise.
10861 * gdb.base/bigcore.exp: Likewise.
10862 * gdb.base/break.exp: Likewise.
10863 * gdb.base/call-ar-st.exp: Likewise.
10864 * gdb.base/callfuncs.exp: Likewise.
10865 * gdb.base/catch-fork-static.exp: Likewise.
10866 * gdb.base/display.exp: Likewise.
10867 * gdb.base/foll-exec-mode.exp: Likewise.
10868 * gdb.base/foll-exec.exp: Likewise.
10869 * gdb.base/foll-fork.exp: Likewise.
10870 * gdb.base/foll-vfork.exp: Likewise.
10871 * gdb.base/funcargs.exp: Likewise.
10872 * gdb.base/hbreak2.exp: Likewise.
10873 * gdb.base/inferior-died.exp: Likewise.
10874 * gdb.base/interrupt.exp: Likewise.
10875 * gdb.base/multi-forks.exp: Likewise.
10876 * gdb.base/nodebug.exp: Likewise.
10877 * gdb.base/sepdebug.exp: Likewise.
10878 * gdb.base/solib1.c: Likewise.
10879 * gdb.base/step-test.exp: Likewise.
10880 * gdb.mi/non-stop.c: Likewise.
10881 * gdb.mi/pthreads.c: Likewise.
10882 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10883 * gdb.threads/pthreads.c: Likewise.
10884 * gdb.threads/staticthreads.exp: Likewise.
10885 * lib/future.exp: Likewise.
10886 * lib/gdb.exp: Likewise.
10887 * gdb.base/so-indr-cl.c: Remove.
10888 * gdb.base/so-indr-cl.exp: Likewise.
10889 * gdb.base/solib.c: Likewise.
10890 * gdb.base/solib.exp: Likewise.
10891 * gdb.base/solib2.c: Likewise.
10893 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10895 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10896 * gdb.base/call-ar-st.exp: Likewise.
10897 * gdb.base/callfuncs.exp: Likewise.
10898 * gdb.base/condbreak.exp: Likewise.
10899 * gdb.base/constvars.exp: Likewise.
10900 * gdb.base/hbreak2.exp: Likewise.
10901 * gdb.base/langs.exp: Likewise.
10902 * gdb.base/list.exp: Likewise.
10903 * gdb.base/long_long.exp: Likewise.
10904 * gdb.base/ptype.exp: Likewise.
10905 * gdb.base/scope.exp: Likewise.
10906 * gdb.base/signals.exp: Likewise.
10907 * gdb.base/so-impl-ld.exp: Likewise.
10908 * gdb.base/varargs.exp: Likewise.
10909 * gdb.base/volatile.exp: Likewise.
10910 * gdb.base/whatis.exp: Likewise.
10911 * gdb.cp/cplusfuncs.exp: Likewise.
10912 * gdb.cp/inherit.exp: Likewise.
10913 * gdb.cp/local.exp: Likewise.
10914 * gdb.cp/member-ptr.exp: Likewise.
10915 * gdb.cp/method.exp: Likewise.
10916 * gdb.cp/overload.exp: Likewise.
10917 * gdb.cp/templates.exp: Likewise.
10918 * gdb.stabs/weird.exp: Likewise.
10919 * lib/compiler.c: Likewise.
10920 * lib/compiler.cc: Likewise.
10921 * lib/cp-support.exp: Likewise.
10922 * lib/gdb.exp: Likewise.
10924 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10926 * configure.ac: Remove HP-UX case.
10927 * configure: Regenerate.
10929 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10931 * lib/gdb.exp (gdb_compile): Add function doc.
10933 2015-12-17 Pedro Alves <palves@redhat.com>
10936 * gdb.multi/info-threads.exp: New file.
10938 2015-12-15 Yao Qi <yao.qi@linaro.org>
10940 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10943 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10945 * gdb.base/history-duplicates.exp: Skip if no readline support.
10947 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10949 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10951 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10953 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10955 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10957 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10958 ctrl-C if nointerrupts target property is set.
10959 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10960 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10961 * gdb.base/paginate-bg-execution.exp: Likewise.
10962 * gdb.base/paginate-execution-startup.exp: Likewise.
10963 * gdb.base/random-signal.exp: Likewise.
10964 * gdb.base/range-stepping.exp: Likewise.
10965 * gdb.cp/annota2.exp: Likewise.
10966 * gdb.cp/annota3.exp: Likewise.
10967 * gdb.gdb/selftest.exp: Likewise.
10968 * gdb.threads/continue-pending-status.exp: Likewise.
10969 * gdb.threads/leader-exit.exp: Likewise.
10970 * gdb.threads/manythreads.exp: Likewise.
10971 * gdb.threads/pthreads.exp: Likewise.
10972 * gdb.threads/schedlock.exp: Likewise.
10973 * gdb.threads/sigthread.exp: Likewise.
10975 2015-12-11 Don Breazeal <donb@codesourcery.com>
10977 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10979 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10980 * gdb.base/foll-exec.exp (main): Enable for target remote.
10981 * gdb.base/foll-fork.exp (main): Likewise.
10982 * gdb.base/foll-vfork.exp (main): Likewise.
10983 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10984 (proc continue_to_exit_bp_loc): Use clean_restart.
10985 * gdb.base/pie-execl.exp (main): Disable for target remote.
10986 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10987 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10988 * gdb.threads/execl.exp (main): Likewise.
10989 * gdb.threads/fork-child-threads.exp (main): Likewise.
10990 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10992 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10994 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10995 pid.tid style ptids, instead of just tid.
10996 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10997 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10998 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10999 ptids, instead of just tid.
11001 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11003 * gdb.base/list.exp (test_list_forward): Add end of file error
11005 (test_repeat_list_command): Add end of file error test.
11006 (test_list_backwards): Add beginning of file error test.
11008 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11010 * gdb.base/list.exp (test_list_invalid_args): New function,
11011 defined, and called.
11013 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11015 * gdb.base/list.exp (test_list): Make test names unique.
11017 2015-12-11 Yao Qi <yao.qi@linaro.org>
11019 * gdb.base/coremaker2.c: Remove.
11021 2015-12-10 Pedro Alves <palves@redhat.com>
11023 * gdb.multi/base.exp: Remove stale "spaces" references.
11025 2015-12-10 Pedro Alves <palves@redhat.com>
11027 * gdb.multi/base.exp: Don't use nowarnings.
11028 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11029 * gdb.multi/hangout.c: Include stdio.h.
11030 * gdb.multi/hello.c: Include stdlib.h.
11031 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11032 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11033 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11035 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11037 * gdb.dwarf2/dw2-ranges-base.c: New file.
11038 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11039 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11040 support additional line table, and debug ranges generation.
11041 (Dwarf::ranges): New function, generate .debug_ranges.
11042 (Dwarf::lines): Support generating simple line table programs.
11043 (Dwarf::assemble): Initialise new namespace variables.
11045 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11047 * gdb.base/async.exp (proc test_background): Add case for
11048 asynchronous execution not supported.
11050 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11052 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11053 format and change test names to make them unique.
11055 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11056 Pedro Alves <pedro@redhat.com>
11059 Add checking of floatformats setup on x86_64 hosts.
11060 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11061 (smallval, bigval): New labels/constants.
11062 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11063 float" after loading bigval and smallval.
11065 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11067 * gdb.ada/fun_overload_menu.exp: New testcase.
11068 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11070 2015-12-04 Josh Stone <jistone@redhat.com>
11072 * gdb.base/catch-fork-static.exp: New.
11074 2015-12-03 Yao Qi <yao.qi@linaro.org>
11076 * gdb.base/sizeof.c: Don't include stdio.h and
11077 ../lib/unbuffer_output.c.
11078 (main): New variable 'size' and 'value'. Remove printf and
11079 gdb_unbuffer_output. Assign return value to size and value.
11080 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11082 (check_sizeof): Check the result by printing variable 'size'.
11083 (check_valueof): Check the result by printing variable 'value'.
11085 2015-12-01 Yao Qi <yao.qi@linaro.org>
11087 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11088 for aarch64*-*-linux* target.
11090 2015-11-30 Pedro Alves <palves@redhat.com>
11092 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11094 2015-11-30 Pedro Alves <palves@redhat.com>
11096 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11097 Handle non-stop mode vCont replies.
11099 2015-11-30 Pedro Alves <palves@redhat.com>
11101 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11102 prepare_for_testing. Start gdb with "set non-stop on" appended to
11103 GDBFLAGS. Lax expected stop output.
11105 2015-11-27 Yao Qi <yao.qi@linaro.org>
11107 * gdb.arch/arm-neon.exp: New.
11108 * gdb.arch/arm-neon.c: New.
11110 2015-11-27 Yao Qi <yao.qi@linaro.org>
11112 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11114 2015-11-27 Yao Qi <yao.qi@linaro.org>
11116 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11117 frames-invalid annotation.
11119 2015-11-27 Yao Qi <yao.qi@linaro.org>
11121 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11123 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11125 * gdb.threads/names.exp: New file.
11126 * gdb.threads/names.c: New file.
11127 * README: Mention gdb,no_thread_names.
11129 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11132 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11135 2015-11-24 Pedro Alves <palves@redhat.com>
11138 * gdb.base/display.exp: Expect displays to be sorted in ascending
11139 order. Use multi_line.
11140 * gdb.base/solib-display.exp: Likewise.
11142 2015-11-24 Pedro Alves <palves@redhat.com>
11145 * gdb.base/display.exp: Expect displays to be sorted in ascending
11146 order. Use multi_line.
11147 * gdb.base/solib-display.exp: Likewise.
11149 2015-11-24 Pedro Alves <palves@redhat.com>
11152 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11153 threads in ascending order.
11154 * gdb.base/foll-fork.exp: Likewise.
11155 * gdb.base/foll-vfork.exp: Likewise.
11156 * gdb.base/multi-forks.exp: Likewise.
11157 * gdb.mi/mi-nonstop.exp: Likewise.
11158 * gdb.mi/mi-nsintrall.exp: Likewise.
11159 * gdb.multi/base.exp: Likewise.
11160 * gdb.multi/multi-arch.exp: Likewise.
11161 * gdb.python/py-inferior.exp: Likewise.
11162 * gdb.threads/break-while-running.exp: Likewise.
11163 * gdb.threads/execl.exp: Likewise.
11164 * gdb.threads/gcore-thread.exp: Likewise.
11165 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11166 * gdb.threads/kill.exp: Likewise.
11167 * gdb.threads/linux-dp.exp: Likewise.
11168 * gdb.threads/multiple-step-overs.exp: Likewise.
11169 * gdb.threads/next-bp-other-thread.exp: Likewise.
11170 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11171 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11172 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11173 * gdb.threads/thread-find.exp: Likewise.
11174 * gdb.threads/tls.exp: Likewise.
11175 * lib/mi-support.exp (mi_reverse_list): Delete.
11176 (mi_check_thread_states): No longer reverse list.
11178 2015-11-24 Pedro Alves <palves@redhat.com>
11180 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11183 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11185 * gdb.trace/actions.c: Include trace-common.h.
11186 (main): Add a location for a fast tracepoint.
11187 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11188 the normal tracepoints.
11189 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11191 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11193 * save-trace.exp: Factor out code to these...
11194 (gdb_save_tracepoints): New.
11195 (gdb_load_tracepoints): New.
11196 (do_save_load_test): New.
11198 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11200 * gdb.base/asmlabel.exp: New test.
11201 * gdb.base/asmlabel.c: New test case.
11203 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11205 * gdb.base/wrong_frame_bt_full-main.c: New file.
11206 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11207 * gdb.base/wrong_frame_bt_full.exp: New file.
11209 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11211 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11213 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11215 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11216 pstate register when comparing registers values in
11217 sparc64-*-linux-gnu targets to avoid spurious differences.
11219 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11221 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11223 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11225 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11226 as type argument to gdb_compile.
11227 * gdb.base/nested-subp2.exp: Likewise.
11228 * gdb.base/nested-subp3.exp: Likewise.
11230 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11232 * lib/dwarf.exp (_note): Fix left shift of negative value.
11233 * gdb.trace/trace-condition.exp: Likewise.
11235 2015-11-13 Yao Qi <yao.qi@linaro.org>
11237 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11238 comments about d10v.
11239 (test_scalar_returns): Likewise.
11240 * gdb.base/d10v.ld: Remove.
11241 * gdb.base/overlays.exp: Remove the target triplet checking for
11243 * gdb.base/structs.exp (test_struct_returns): Remove the
11244 comments about d10v.
11245 (test_struct_calls): Likewise.
11247 2015-11-13 Yao Qi <yao.qi@linaro.org>
11249 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11250 * gdb.base/gnu_vector.c: Don't include stdio.h.
11251 (main): Don't print res and call add_some_intvecs.
11253 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11255 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11258 (func4): Use FAST_TRACEPOINT_LABEL.
11259 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11262 (thread_function): Use FAST_TRACEPOINT_LABEL.
11263 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11265 (marker): Use FAST_TRACEPOINT_LABEL.
11266 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11267 (pendfunc1): Remove.
11268 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11269 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11271 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11272 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11275 (marker): Use FAST_TRACEPOINT_LABEL.
11276 * gdb.trace/trace-common.h: New header.
11277 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11280 (marker): Use FAST_TRACEPOINT_LABEL.
11281 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11283 (thread_function): Use FAST_TRACEPOINT_LABEL.
11285 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11287 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11289 * gdb.trace/change-loc.exp: Use global pcreg definition.
11290 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11291 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11293 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11294 * gdb.trace/pending.exp: Likewise.
11295 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11296 * gdb.trace/trace-break.exp: Likewise.
11297 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11299 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11300 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11302 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11304 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11306 * gdb.ada/fin_fun_out: New testcase.
11308 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11310 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11311 value associated with DW_AT_byte_size.
11312 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11313 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11316 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11318 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11319 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11321 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11322 gdb.dwarf2/dw2-canonicalize-type.exp,
11323 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11324 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11325 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11326 provided by gdb_target_symbol_prefix_flags_asm.
11327 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11328 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11329 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11330 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11331 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11332 macros where needed). Use this macro for symbols which require
11333 the prefix provided by SYMBOL_PREFIX.
11335 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11337 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11339 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11340 representing expressions, of more than one list element.
11341 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11342 to prepend linker symbol prefix to f.
11343 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11344 table_1 and table_2.
11345 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11346 Likewise, for f and g.
11347 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11349 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11351 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11352 table_1_ptr and table_2_ptr.
11354 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11355 Joel Brobecker <brobecker@adacore.com>
11357 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11359 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11361 * gdb.reverse/s390-mvcle.c: New test.
11362 * gdb.reverse/s390-mvcle.exp: New file.
11363 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11365 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11367 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11369 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11371 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11373 * gdb.reverse/getresuid-reverse.exp: Likewise.
11374 * gdb.reverse/pipe-reverse.exp: Likewise.
11375 * gdb.reverse/readv-reverse.exp: Likewise.
11376 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11377 * gdb.reverse/time-reverse.exp: Likewise.
11378 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11380 2015-10-30 Yao Qi <yao.qi@linaro.org>
11382 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11383 (empty_cycle): Remove.
11384 (main): Don't call empty_cycle. Don't use watch_count_done.
11385 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11386 empty_cycle. Rewrite the code counting HW watchpoints.
11388 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11390 * gdb.reverse/fstatat-reverse.c: New test.
11391 * gdb.reverse/fstatat-reverse.exp: New file.
11392 * gdb.reverse/getresuid-reverse.c: New test.
11393 * gdb.reverse/getresuid-reverse.exp: New file.
11394 * gdb.reverse/pipe-reverse.c: New test.
11395 * gdb.reverse/pipe-reverse.exp: New file.
11396 * gdb.reverse/readv-reverse.c: New test.
11397 * gdb.reverse/readv-reverse.exp: New file.
11398 * gdb.reverse/recvmsg-reverse.c: New test.
11399 * gdb.reverse/recvmsg-reverse.exp: New file.
11400 * gdb.reverse/time-reverse.c: New test.
11401 * gdb.reverse/time-reverse.exp: New file.
11402 * gdb.reverse/waitpid-reverse.c: New test.
11403 * gdb.reverse/waitpid-reverse.exp: New file.
11405 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11407 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11409 2015-10-26 Doug Evans <dje@google.com>
11412 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11413 * gdb.dwarf2/bad-regnum.c: New file.
11414 * gdb.dwarf2/bad-regnum.exp: New file.
11416 2015-10-26 Doug Evans <dje@google.com>
11419 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11422 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11424 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11425 for a change by "Mention language in compile error message".
11427 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11430 * gdb.python/py-type.c (C::a_method): New.
11431 (C::a_const_method): New.
11432 (C::a_static_method): New.
11434 * gdb.python/py-type.exp (test_fields): Test getting fields
11435 from function and method.
11437 2015-10-21 Keven Boell <keven.boell@intel.com>
11439 * gdb.fortran/vla-alloc-assoc.exp: New file.
11440 * gdb.fortran/vla-datatypes.exp: New file.
11441 * gdb.fortran/vla-datatypes.f90: New file.
11442 * gdb.fortran/vla-history.exp: New file.
11443 * gdb.fortran/vla-ptype-sub.exp: New file.
11444 * gdb.fortran/vla-ptype.exp: New file.
11445 * gdb.fortran/vla-sizeof.exp: New file.
11446 * gdb.fortran/vla-sub.f90: New file.
11447 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11448 * gdb.fortran/vla-value-sub-finish.exp: New file.
11449 * gdb.fortran/vla-value-sub.exp: New file.
11450 * gdb.fortran/vla-value.exp: New file.
11451 * gdb.fortran/vla-ptr-info.exp: New file.
11452 * gdb.mi/mi-vla-fortran.exp: New file.
11453 * gdb.mi/vla.f90: New file.
11455 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11457 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11458 of hardwired timeout value.
11460 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11461 Pedro Alves <palves@redhat.com>
11463 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11464 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11466 2015-10-19 Josh Stone <jistone@redhat.com>
11468 * gdb.base/catch-syscall.c: Include <sched.h>.
11469 (unknown_syscall): New variable.
11470 (main): Trigger a vfork and an unknown syscall.
11471 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11472 (unknown_syscall_number): Likewise.
11473 (check_call_to_syscall): Accept an optional syscall pattern.
11474 (check_return_from_syscall): Likewise.
11475 (check_continue): Likewise.
11476 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11477 (test_catch_syscall_skipping_return): New test toggling off 'catch
11478 syscall' to step over the syscall return, then toggling back on.
11479 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11480 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11481 (do_syscall_tests): Call test_catch_syscall_without_args and
11482 test_catch_syscall_mid_vfork.
11483 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11484 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11486 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11488 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11489 print g_vE): Add new pass patterns.
11490 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11491 print various symbol names for vptr fields.
11493 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11495 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11498 2015-10-12 Yao Qi <yao.qi@linaro.org>
11500 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11502 2015-10-12 Yao Qi <yao.qi@linaro.org>
11504 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11505 is aarch64*-*-linux*.
11507 2015-10-12 Yao Qi <yao.qi@linaro.org>
11509 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11510 (can_relocate_bcond_true): ... it.
11511 (can_relocate_bcond_false): New function.
11513 (can_relocate_bl): Likewise.
11514 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11517 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11519 * gdb.base/nested-addr.c: New file.
11520 * gdb.base/nested-addr.exp: New testcase.
11522 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11524 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11525 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11526 its output. Ignore the output of "record goto begin" and instead
11527 check that GDB is replaying.
11529 2015-10-09 Pedro Alves <palves@redhat.com>
11531 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11532 (top level): Use it in the run with no args test.
11534 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11536 * gdb.dlang/properties.exp: New file.
11538 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11540 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11541 whether or not address 0x1000 is mapped on the target.
11543 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11545 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11548 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11550 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11551 instruction-history test.
11553 2015-09-28 Doug Evans <dje@google.com>
11555 * gdb.base/gcore.c (array_func): Add reference to static_array.
11557 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11559 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11562 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11564 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11565 short or char as base type.
11567 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11569 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11570 to allow any size enum.
11572 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11574 * gdb.ada/array_ptr_renaming.exp: New testcase.
11575 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11576 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11578 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11580 * gdb.trace/ftrace-lock.c: New file.
11581 * gdb.trace/ftrace-lock.exp: New file.
11583 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11585 * gdb.arch/insn-reloc.c: New file.
11586 * gdb.arch/ftrace-insn-reloc.exp: New file.
11588 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11590 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11592 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11593 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11594 * gdb.trace/range-stepping.c: Likewise.
11595 * gdb.trace/trace-break.c: Likewise.
11596 * gdb.trace/trace-mt.c (thread_function): Likewise.
11597 * gdb.trace/ftrace.c (marker): Likewise.
11598 * gdb.trace/trace-condition.c (marker): Likewise.
11599 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11600 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11603 2015-09-18 Doug Evans <xdje42@gmail.com>
11605 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11606 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11608 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11610 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11613 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11615 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11616 the pending breakpoint. Remove timeout override for "Run till
11617 MI pending breakpoint on pendfunc3 on thread 2" test.
11619 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11621 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11624 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11626 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11627 in breakpoint filename pattern.
11629 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11631 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11633 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11635 * gdb.linespec/explicit.exp: Check for readline support for
11636 tab-completion tests. Fix obvious typo.
11638 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11640 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11643 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11645 * gdb.btrace/non-stop.c: New.
11646 * gdb.btrace/non-stop.exp: New.
11648 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11649 Yao Qi <yao.qi@linaro.org>
11651 * gdb.trace/trace-condition.c: New file.
11652 * gdb.trace/trace-condition.exp: New file.
11654 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11656 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11657 for testing bytecode compilation.
11659 2015-09-16 Pedro Alves <palves@redhat.com>
11660 Sandra Loosemore <sandra@codesourcery.com>
11662 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11663 (SECONDS): Redefine.
11664 (main): Call pthread_kill and alarm early.
11665 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11667 (test): If the target can't hardware step and doesn't support
11668 displaced stepping, increase the timeout.
11670 2015-09-16 Pedro Alves <palves@redhat.com>
11672 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11673 (enable_debug): New procedures.
11674 (test): Use them. Bail out if waiting for threads fails.
11675 (top level): Bail out if a test fails.
11677 2015-09-16 Yao Qi <yao.qi@linaro.org>
11679 * gdb.asm/asm-source.exp: Set asm-arch for
11680 aarch64*-*-* target.
11681 * gdb.asm/aarch64.inc: New file.
11683 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11685 * gdb.ada/array_of_variable_length.exp: New testcase.
11686 * gdb.ada/array_of_variable_length/foo.adb: New file.
11687 * gdb.ada/array_of_variable_length/pck.adb: New file.
11688 * gdb.ada/array_of_variable_length/pck.ads: New file.
11690 2015-09-15 Doug Evans <dje@google.com>
11692 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11693 of function static local variable.
11695 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11697 * gdb.threads/tls-so_extern.exp: New test file.
11698 * gdb.threads/tls-so_extern.c: New test file.
11699 * gdb.threads/tls-so_extern_main.c: New test file.
11701 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11703 * gdb.opt/solib-intra-step-lib.c: New file.
11704 * gdb.opt/solib-intra-step-main.c: New file.
11705 * gdb.opt/solib-intra-step.exp: New file.
11707 2015-09-15 Pedro Alves <palves@redhat.com>
11709 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11710 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11712 2015-09-14 Pedro Alves <palves@redhat.com>
11714 * gdb.base/hook-stop-continue.c: Delete.
11715 * gdb.base/hook-stop-continue.exp: Delete.
11716 * gdb.base/hook-stop-frame.c: Delete.
11717 * gdb.base/hook-stop-frame.exp: Delete.
11718 * gdb.base/hook-stop.c: New file.
11719 * gdb.base/hook-stop.exp: New file.
11721 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11723 * gdb.ada/access_to_packed_array.exp: New testcase.
11724 * gdb.ada/access_to_packed_array/foo.adb: New file.
11725 * gdb.ada/access_to_packed_array/pack.adb: New file.
11726 * gdb.ada/access_to_packed_array/pack.ads: New file.
11728 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11730 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11733 2015-09-11 Don Breazeal <donb@codesourcery.com>
11735 * gdb.base/foll-exec.c: Add copyright header. Fix
11737 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11738 (do_exec_tests): Use clean_restart in place of zap_session,
11739 and for test initialization. Fix formatting issues. Use
11740 fail in place of perror.
11741 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11742 an expect statement to match an expression with output from
11743 the program under debug.
11744 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11745 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11746 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11747 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11748 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11750 2015-09-09 Doug Evans <dje@google.com>
11752 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11754 2015-09-09 Doug Evans <dje@google.com>
11756 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11758 2015-09-09 Doug Evans <dje@google.com>
11760 * gdb.base/savedregs.exp: Fix typo.
11762 2015-09-09 Pedro Alves <palves@redhat.com>
11764 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11766 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11768 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11769 command actually switches threads. Give up on remaining
11770 tests if target fails to stop at breakpoint.
11772 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11774 * gdb.ada/funcall_char.exp: New testcase.
11775 * gdb.ada/funcall_char/foo.adb: New file.
11777 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11779 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11780 expected outputs. Add two testcases for completing ambiguous
11782 * gdb.ada/complete/aux_pck.adb: New file.
11783 * gdb.ada/complete/aux_pck.ads: New file.
11784 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11785 Ambiguous_Func functions.
11786 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11787 * gdb.ada/complete/pck.adb: Likewise.
11789 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11791 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11792 failures to run the test program under GDB.
11794 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11796 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11799 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11801 * gdb.base/run-after-attach.exp: New test file.
11802 * gdb.base/run-after-attach.c: New test file.
11804 2015-08-26 Don Breazeal <donb@codesourcery.com>
11806 * gdb.base/foll-exec-2.c: New test program.
11807 * gdb.base/foll-exec-2.exp: New test.
11809 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11811 * gdb.base/nested-subp1.exp: New file.
11812 * gdb.base/nested-subp1.c: New file.
11813 * gdb.base/nested-subp2.exp: New file.
11814 * gdb.base/nested-subp2.c: New file.
11815 * gdb.base/nested-subp3.exp: New file.
11816 * gdb.base/nested-subp3.c: New file.
11818 2015-08-24 Pedro Alves <palves@redhat.com>
11820 * gdb.server/connect-without-multi-process.c: New file.
11821 * gdb.server/connect-without-multi-process.exp: New file.
11823 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11825 * gdb.opt/inline-markers.c: Make z int.
11827 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11829 * gdb.opt/inline-markers.c: Make z volatile.
11831 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11833 * gdb.opt/inline-bt.c: New volatile global z.
11834 * gdb.opt/inline-cmds.c: Likewise.
11835 * gdb.opt/inline-locals.c: Likewise.
11836 * gdb.opt/inline-markers.c: New extern global z.
11838 (inline_fn): Likewise.
11840 2015-08-24 Pedro Alves <palves@redhat.com>
11842 * config/m32r-stub.exp: Remove file.
11843 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11844 * gdb.base/call-rt-st.exp: Likewise.
11845 * gdb.base/call-strs.exp: Likewise.
11846 * gdb.base/default.exp: Remove references to h8300-*-hms and
11848 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11850 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11852 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11853 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11854 and "return" use KFAIL when GDB can not read/write the vector
11857 2015-08-21 Gary Benson <gbenson@redhat.com>
11859 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11861 2015-08-20 Pedro Alves <palves@redhat.com>
11863 * gdb.server/solib-list.exp: No longer expect an interior stop in
11866 2015-08-20 Pedro Alves <palves@redhat.com>
11868 * gdb.server/connect-stopped-target.c: New file.
11869 * gdb.server/connect-stopped-target.exp: New file.
11871 2015-08-20 Pedro Alves <palves@redhat.com>
11873 * gdb.dwarf2/comp-unit-lang.exp: New file.
11874 * gdb.dwarf2/comp-unit-lang.c: New file.
11876 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11878 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11879 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11881 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11883 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11884 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11886 2015-08-18 Doug Evans <dje@google.com>
11887 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11889 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11890 skip_python_tests. New arg prompt_regexp.
11891 (skip_python_tests): New function.
11892 * lib/mi-support.exp (mi_skip_python_tests): New function.
11893 * gdb.python/py-mi-objfile-gdb.py: New file.
11894 * gdb.python/py-mi-objfile.c: New file.
11895 * gdb.python/py-mi-objfile.exp: New file.
11897 2015-08-17 Keith Seitz <keiths@redhat.com>
11899 * gdb.linespec/explicit.exp: Move strace test from here ...
11900 * gdb.trace/strace.exp: ... to here.
11902 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11904 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11905 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11907 2015-08-14 Doug Evans <xdje42@gmail.com>
11909 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11910 inferior before selecting a new file.
11912 2015-08-14 Doug Evans <xdje42@gmail.com>
11914 * gdb.mi/mi-disassemble.exp: Update.
11915 * gdb.base/disasm-optim.S: New file.
11916 * gdb.base/disasm-optim.c: New file.
11917 * gdb.base/disasm-optim.h: New file.
11918 * gdb.base/disasm-optim.exp: New file.
11920 2015-08-14 Keith Seitz <keiths@redhat.com>
11922 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11925 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11927 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11929 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11931 * gdb.ada/fun_renaming.exp: New testcase.
11932 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11933 * gdb.ada/fun_renaming/pack.adb: New file.
11934 * gdb.ada/fun_renaming/pack.ads: New file.
11936 2015-08-12 Keith Seitz <keiths@redhat.com>
11938 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11939 gdb_get_line_number.
11941 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11943 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11944 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11945 gdb.base/dso2dso.exp: New files.
11947 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11948 Pedro Alves <palves@redhat.com>
11949 Keith Seitz <keiths@redhat.com>
11951 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11954 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11956 * gdb.base/gdbhistsize-history.exp
11957 (test_histsize_history_setting): Use save_vars.
11958 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11960 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11961 * gdb.base/readline.exp: Use save_vars.
11963 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11965 * lib/gdb.exp (save_vars): New proc.
11967 2015-08-11 Keith Seitz <keiths@redhat.com>
11969 * gdb.base/help.exp: Update help_breakpoint_text.
11971 2015-08-11 Keith Seitz <keiths@redhat.com>
11973 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11974 (at toplevel): Call test_explicit_breakpoints.
11975 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11977 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11978 breakpoint conditions, "-cond".
11980 2015-08-11 Keith Seitz <keiths@redhat.com>
11982 * gdb.linespec/3explicit.c: New file.
11983 * gdb.linespec/cpexplicit.cc: New file.
11984 * gdb.linespec/cpexplicit.exp: New file.
11985 * gdb.linespec/explicit.c: New file.
11986 * gdb.linespec/explicit.exp: New file.
11987 * gdb.linespec/explicit2.c: New file.
11988 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11989 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11990 before using in the matching pattern.
11991 Clarify that `prefix' is a regular expression.
11993 2015-08-11 Keith Seitz <keiths@redhat.com>
11995 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11997 Add tests for missing ",FMT" and ",".
11999 2015-08-10 Doug Evans <dje@google.com>
12000 Keith Seitz <keiths@redhat.com>
12003 * gdb.base/completion.exp: Add location completer tests.
12005 2015-08-07 Pedro Alves <palves@redhat.com>
12007 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12009 (top level): Run do_test with and without displaced stepping.
12011 2015-08-07 Pedro Alves <palves@redhat.com>
12013 * gdb.base/valgrind-disp-step.c: New file.
12014 * gdb.base/valgrind-disp-step.exp: New file.
12016 2015-08-07 Pedro Alves <palves@redhat.com>
12018 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12020 (main): Add alarm. Run an infinite loop instead of calling
12022 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12024 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12026 (main): Add alarm. Run an infinite loop instead of calling
12028 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12031 2015-08-07 Pedro Alves <palves@redhat.com>
12033 * gdb.base/checkpoint-ns.exp: New file.
12034 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12037 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12039 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12040 * gdb.btrace/instruction_history.exp: Update.
12041 * gdb.btrace/tsx.exp: New.
12042 * gdb.btrace/tsx.c: New.
12044 2015-08-06 Pedro Alves <palves@redhat.com>
12046 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12048 * gdb.reverse/until-precsave.exp: Bump timeouts.
12050 2015-08-06 Pedro Alves <palves@redhat.com>
12052 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12054 2015-08-06 Pedro Alves <palves@redhat.com>
12057 * gdb.threads/process-dies-while-handling-bp.c: New file.
12058 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12060 2015-08-06 Pedro Alves <palves@redhat.com>
12062 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12063 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12065 2015-08-05 Pedro Alves <palves@redhat.com>
12067 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12068 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12070 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12072 * gdb.base/bp-permanent.exp: Report test as unsupported if
12073 the target cannot stop at the permanent breakpoint.
12075 2015-08-03 Doug Evans <dje@google.com>
12077 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12080 2015-08-03 Doug Evans <dje@google.com>
12082 * Makefile.in (workers/%.worker, build-perf): New rule.
12083 (GDB_PERFTEST_MODE): New variable.
12084 (check-perf): Use it.
12085 (clean): Clean up gdb.perf parallel build subdirs.
12086 * lib/build-piece.exp: New file.
12087 * lib/gdb.exp (make_gdb_parallel_path): New function
12088 (standard_output_file, standard_temp_file): Call it.
12089 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12091 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12093 2015-08-03 Doug Evans <dje@google.com>
12095 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12096 (LOG_FILE_NAME): New global.
12097 (TextReporter.__init__): Initialize self.txt_sum.
12098 (TextReporter.report): Add support for multiple data-points.
12099 Move report to perftest.sum, put raw data in perftest.log.
12100 (TextReporter.start): Open sum and log files.
12101 (TextReporter.end): Close sum and log files.
12102 * gdb.perf/lib/perftest/testresult.py
12103 (SingleStatisticTestResult.record): Handle multiple data-points.
12105 2015-07-31 Pedro Alves <palves@redhat.com>
12107 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12108 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12109 kill_wait_spawned_process instead of explicit "kill -9".
12110 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12111 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12112 kill_wait_spawned_process.
12113 * gdb.base/attach-twice.exp: Likewise.
12114 * gdb.base/attach.exp: Likewise.
12115 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12117 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12118 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12119 kill_wait_spawned_process.
12120 * gdb.base/valgrind-infcall.exp: Likewise.
12121 * gdb.multi/multi-attach.exp: Likewise.
12122 * gdb.python/py-prompt.exp: Likewise.
12123 * gdb.python/py-sync-interp.exp: Likewise.
12124 * gdb.server/ext-attach.exp: Likewise.
12125 * gdb.threads/attach-into-signal.exp (corefunc): Use
12126 spawn_wait_for_attach, spawn_id_get_pid and
12127 kill_wait_spawned_process.
12128 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12129 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12130 spawn_id_get_pid and kill_wait_spawned_process.
12131 * gdb.threads/attach-stopped.exp (corefunc): Use
12132 spawn_wait_for_attach, spawn_id_get_pid and
12133 kill_wait_spawned_process.
12134 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12135 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12136 kill_wait_spawned_process instead of explicit "kill -9".
12137 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12138 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12139 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12140 processes. Don't map cygwin/windows pids here. Now returns a
12143 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12145 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12146 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12149 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12151 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12153 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12156 2014-05-21 Mark Wielaard <mjw@redhat.com>
12158 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12160 2015-07-30 Pedro Alves <palves@redhat.com>
12162 * linux-low.c (handle_extended_wait): Set the child's last
12163 reported status to TARGET_WAITKIND_STOPPED.
12165 2015-07-30 Pedro Alves <palves@redhat.com>
12168 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12169 only shows inferior 1.
12171 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12172 Pedro Alves <palves@redhat.com>
12175 * gdb.threads/fork-plus-threads.c: New file.
12176 * gdb.threads/fork-plus-threads.exp: New file.
12178 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12180 * gdb.base/batch-preserve-term-settings.exp
12181 (test_terminal_settings_preserved_after_cli_exit): Use
12184 2015-07-29 Pedro Alves <palves@redhat.com>
12185 Don Breazeal <donb@codesourcery.com>
12187 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12188 output from both inferior_spawn_id and gdb_spawn_id.
12190 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12192 * gdb.threads/attach-into-signal.exp (corefunc): Use
12193 with_test_prefix on nested loops, uniquefying the test messages.
12195 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12197 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12200 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12202 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12204 (test_terminal_settings_preserved_after_sigterm): New test.
12206 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12208 * gdb.base/batch-preserve-term-settings.exp
12209 (test_terminal_settings_preserved_after_cli_exit): New test.
12211 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12213 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12214 manipulation of saved_gdbflags.
12215 (test_terminal_settings_preserved): Remove global declaration of
12216 the unused variable pagination_prompt. Remove manipulation of
12217 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12220 2015-07-29 Pedro Alves <palves@redhat.com>
12222 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12224 2015-07-29 Pedro Alves <palves@redhat.com>
12226 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12229 2015-07-29 Pedro Alves <palves@redhat.com>
12231 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12232 (main): Call gdb_unbuffer_output.
12233 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12234 (main): Call gdb_unbuffer_output.
12235 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12236 (main): Call gdb_unbuffer_output.
12237 * gdb.base/call-strs.exp: Adjust to step over the
12238 gdb_unbuffer_output call.
12239 * gdb.base/catch-gdb-caused-signals.c: Include
12240 "../lib/unbuffer_output.c".
12241 (main): Call gdb_unbuffer_output.
12242 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12243 (main): Call gdb_unbuffer_output.
12244 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12245 (main): Call gdb_unbuffer_output.
12246 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12247 (main): Call gdb_unbuffer_output.
12248 * gdb.base/shlib-call.exp: Adjust to step over the
12249 gdb_unbuffer_output call.
12250 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12251 (main): Call gdb_unbuffer_output.
12252 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12253 (main): Call gdb_unbuffer_output.
12254 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12255 (main): Rename to ...
12257 (main): Reimplement.
12258 * gdb.base/varargs.exp: Run to test instead of to main.
12259 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12260 (main): Call gdb_unbuffer_output.
12262 2015-07-29 Pedro Alves <palves@redhat.com>
12264 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12265 factore out from mi_continue_dprintf. For call-style dprintfs,
12266 expect dprintf output out of $inferior_spawn_id.
12267 (mi_continue_dprintf): Use mi_expect_dprintf.
12268 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12269 (main): Call gdb_unbuffer_output.
12271 2015-07-29 Pedro Alves <palves@redhat.com>
12273 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12274 (default_mi_gdb_start): Set inferior_spawn_id instead of
12275 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12277 (mi_gdb_test): Always expect inferior output from both
12278 $inferior_spawn_id and $gdb_spawn_id.
12280 2015-07-29 Pedro Alves <palves@redhat.com>
12282 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12283 send_inferior and $inferior_spawn_id.
12285 2015-07-29 Pedro Alves <palves@redhat.com>
12287 * gdb.gdb/complaints.exp (test_initial_complaints)
12288 (test_serial_complaints, test_short_complaints): Use
12290 (test_empty_complaint): Handle $inferior_spawn_id !=
12293 2015-07-29 Pedro Alves <palves@redhat.com>
12295 * gdb.base/varargs.exp: Use gdb_test_stdio.
12297 2015-07-29 Pedro Alves <palves@redhat.com>
12299 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12301 2015-07-29 Pedro Alves <palves@redhat.com>
12303 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12305 2015-07-29 Pedro Alves <palves@redhat.com>
12307 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12308 parameter into two new parameters, "inf_result" and "gdb_result".
12309 Expect inferior output and gdb output from $inferior_spawn_id and
12310 $gdb_spawn_id, respectively. Adjust all callers.
12312 2015-07-29 Pedro Alves <palves@redhat.com>
12314 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12315 of gdb_test_sequence.
12317 2015-07-29 Pedro Alves <palves@redhat.com>
12319 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12320 (saw_spurious_output): Expect inferior output from
12321 $inferior_spawn_id. Use gdb_test_stdio.
12323 2015-07-29 Pedro Alves <palves@redhat.com>
12325 * gdb.base/dprintf.exp: Use standard_testfile. Change
12326 prepare_for_testing call.
12327 (srcfile): Don't set.
12328 (restart): New procedure.
12329 (test_dprintf): New procecure, use to continue over dprintfs.
12330 (test_call, test_agent): New procedures, tests moved here.
12331 Restart gdb and recreate dprintfs. Adjust expected output.
12333 2015-07-29 Pedro Alves <palves@redhat.com>
12335 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12337 2015-07-29 Pedro Alves <palves@redhat.com>
12339 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12341 2015-07-29 Pedro Alves <palves@redhat.com>
12343 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12346 2015-07-29 Pedro Alves <palves@redhat.com>
12348 * lib/gdb.exp (gdb_test_stdio): New procedure.
12350 2015-07-29 Pedro Alves <palves@redhat.com>
12352 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12354 2015-07-29 Pedro Alves <palves@redhat.com>
12356 * gdb.base/call-signal-resume.exp: Remove check for
12357 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12358 * gdb.base/unwindonsignal.exp: Likewise.
12359 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12360 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12362 2015-07-29 Pedro Alves <palves@redhat.com>
12364 * gdb.base/siginfo-addr.c (pass): New function.
12365 (handler): Call it iff si_addr is correct.
12366 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12367 Set a breakpoint at "pass" and continue to it.
12369 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12371 * gdb.python/py-objfile.exp: Make some tests have unique names.
12372 * gdb.python/py-pp-registration.exp: Likewise.
12374 2015-07-28 Pedro Alves <palves@redhat.com>
12376 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12378 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12380 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12382 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12384 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12386 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12388 * gdb.base/gdb-sigterm-2.exp: New test.
12390 2015-07-25 Doug Evans <xdje42@gmail.com>
12393 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12394 (workers/%.worker, build-perf): New rule.
12395 (GDB_PERFTEST_MODE): New variable.
12396 (check-perf): Use it.
12397 (clean): Clean up gdb.perf parallel build subdirs.
12398 * lib/build-piece.exp: New file.
12399 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12400 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12402 (standard_temp_file): Ditto.
12403 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12406 2015-07-24 Doug Evans <dje@google.com>
12408 * gdb.perf/lib/perftest/utils.py: New file.
12409 * gdb.perf/gm-hello.cc: New file.
12410 * gdb.perf/gm-pervasive-typedef.cc: New file.
12411 * gdb.perf/gm-pervasive-typedef.h: New file.
12412 * gdb.perf/gm-std.cc: New file.
12413 * gdb.perf/gm-std.h: New file.
12414 * gdb.perf/gm-use-cerr.cc: New file.
12415 * gdb.perf/gm-utils.h: New file.
12416 * gdb.perf/gmonster-null-lookup.py: New file.
12417 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12418 * gdb.perf/gmonster-print-cerr.py: New file.
12419 * gdb.perf/gmonster-ptype-string.py: New file.
12420 * gdb.perf/gmonster-runto-main.py: New file.
12421 * gdb.perf/gmonster-select-file.py: New file.
12422 * gdb.perf/gmonster1-null-lookup.exp: New file.
12423 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12424 * gdb.perf/gmonster1-print-cerr.exp: New file.
12425 * gdb.perf/gmonster1-ptype-string.exp: New file.
12426 * gdb.perf/gmonster1-runto-main.exp: New file.
12427 * gdb.perf/gmonster1-select-file.exp: New file.
12428 * gdb.perf/gmonster1.cc: New file.
12429 * gdb.perf/gmonster1.exp: New file.
12430 * gdb.perf/gmonster2-null-lookup.exp: New file.
12431 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12432 * gdb.perf/gmonster2-print-cerr.exp: New file.
12433 * gdb.perf/gmonster2-ptype-string.exp: New file.
12434 * gdb.perf/gmonster2-runto-main.exp: New file.
12435 * gdb.perf/gmonster2-select-file.exp: New file.
12436 * gdb.perf/gmonster2.cc: New file.
12437 * gdb.perf/gmonster2.exp: New file.
12439 2015-07-24 Doug Evans <dje@google.com>
12441 * gdb.perf/README: New file.
12442 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12443 * lib/gen-perf-test.exp: New file.
12445 2015-07-24 Doug Evans <dje@google.com>
12447 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12448 (PerfTest::startup): New function.
12449 (PerfTest::run): Return result of calling body.
12450 (PerfTest::assemble): Rewrite.
12451 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12452 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12453 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12454 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12455 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12457 2015-07-24 Doug Evans <dje@google.com>
12459 * lib/gdb.exp (clean_restart): Make executable optional.
12461 2015-07-24 Doug Evans <dje@google.com>
12463 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12464 compiler_info references.
12465 * gdb.cp/temargs.exp: Ditto.
12466 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12467 (get_compiler_info): Early exit if already computed. Set compiler_info
12468 to "unknown" if there was a problem.
12469 (test_compiler_info): Add function comment. Call get_compiler_info.
12471 2015-07-24 Doug Evans <dje@google.com>
12473 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12474 (workers/%.worker, build-perf): New rule.
12475 (GDB_PERFTEST_MODE): New variable.
12476 (check-perf): Use it.
12477 (clean): Clean up gdb.perf parallel build subdirs.
12478 * lib/build-piece.exp: New file.
12479 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12480 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12482 (standard_temp_file): Ditto.
12483 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12486 2015-07-24 Doug Evans <dje@google.com>
12488 * lib/future.exp (gdb_default_target_compile): New option
12490 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12493 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12495 * gdb.base/catch-syscall.exp: Call gdb_exit before
12498 2015-07-24 Pedro Alves <palves@redhat.com>
12500 * gdb.python/py-events.exp: Accept output between the stop event
12502 * gdb.python/py-evsignal.exp: Likewise.
12503 * gdb.python/py-evthreads.exp: Likewise.
12505 2015-07-24 Pedro Alves <palves@redhat.com>
12508 * gdb.threads/non-ldr-exit.c: New file.
12509 * gdb.threads/non-ldr-exit.exp: New file.
12511 2015-07-24 Yao Qi <yao.qi@linaro.org>
12513 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12514 restarting process.
12516 2015-07-24 Yao Qi <yao.qi@linaro.org>
12518 * gdb.server/ext-restart.exp: New file.
12520 2015-07-24 Yao Qi <yao.qi@linaro.org>
12522 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12524 * gdb.server/ext-wrapper.exp: New file.
12526 2015-07-23 Doug Evans <dje@google.com>
12528 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12529 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12531 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12533 * gdb.ada/var_arr_typedef.exp: New testcase.
12534 * gdb.ada/var_arr_typedef/pack.adb: New file.
12535 * gdb.ada/var_arr_typedef/pack.ads: New file.
12536 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12538 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12540 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12542 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12544 * gdb.arch/i386-biarch-core.exp: Replace istarget
12545 by "complete set gnutarget". Remove expectation for the "core-file"
12548 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12550 Revert the previous commit:
12551 Tests for validate symbol file using build-id.
12553 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12555 Tests for validate symbol file using build-id.
12556 * gdb.base/solib-mismatch-lib.c: New file.
12557 * gdb.base/solib-mismatch-libmod.c: New file.
12558 * gdb.base/solib-mismatch.c: New file.
12559 * gdb.base/solib-mismatch.exp: New file.
12561 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12563 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12565 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12566 * gdb.base/siginfo.exp: Likewise.
12567 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12569 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12571 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12573 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12575 * gdb.trace/range-stepping.exp: Check that the target supports
12578 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12580 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12582 2015-07-14 Pedro Alves <palves@redhat.com>
12584 * gdb.base/killed-outside.exp: New file.
12585 * gdb.base/killed-outside.c: New file.
12587 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12589 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12591 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12593 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12595 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12596 infcall tests instead of setting up for KFAIL.
12598 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12600 * gdb.btrace/record_goto-step.exp: New.
12602 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12605 * gdb.compile/compile.c (struct struct_type): Add volatile to
12607 * gdb.compile/compile.exp
12608 (compile code struct_object.selffield = &struct_object): Skip further
12609 struct_object tests if this one xfails.
12611 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12614 * gdb.trace/ax.exp: Add test.
12616 2015-07-07 Yao Qi <yao.qi@linaro.org>
12618 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12619 instead of istarget "aarch64*-*-*".
12620 * gdb.arch/aarch64-fp.exp: Likewise.
12621 * gdb.base/float.exp: Likewise.
12622 * gdb.reverse/aarch64.exp: Likewise.
12623 * lib/gdb.exp (is_aarch64_target): New proc.
12625 2015-07-07 Yao Qi <yao.qi@linaro.org>
12627 * lib/gdb.exp (is_aarch32_target): New proc.
12628 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12629 instead of "istarget "arm*-*-*"".
12630 * gdb.arch/arm-disp-step.exp: Likewise.
12631 * gdb.arch/thumb-bx-pc.exp: Likewise.
12632 * gdb.arch/thumb-prologue.exp: Likewise.
12633 * gdb.arch/thumb-singlestep.exp: Likewise.
12634 * gdb.base/disp-step-syscall.exp: Likewise.
12635 * gdb.base/float.exp: Likewise.
12637 2015-07-07 Yao Qi <yao.qi@linaro.org>
12639 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12640 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12642 2015-07-07 Yao Qi <yao.qi@linaro.org>
12644 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12645 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12647 * gdb.multi/multi-arch.exp: Likewise.
12649 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12651 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12654 2015-07-07 Yao Qi <yao.qi@linaro.org>
12656 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12658 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12660 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12661 '[' and ']' characters.
12663 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12665 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12667 2015-06-29 Pedro Alves <palves@redhat.com>
12670 * gdb.threads/hand-call-new-thread.c: New file.
12671 * gdb.threads/hand-call-new-thread.c: New file.
12673 2015-06-26 Keith Seitz <keiths@redhat.com>
12674 Doug Evans <dje@google.com>
12677 * gdb.cp/var-tag-2.cc: New file.
12678 * gdb.cp/var-tag-3.cc: New file.
12679 * gdb.cp/var-tag-4.cc: New file.
12680 * gdb.cp/var-tag.cc: New file.
12681 * gdb.cp/var-tag.exp: New file.
12683 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12685 * gdb.base/history-duplicates.exp: New test.
12687 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12689 * gdb.base/completion.exp: Test the completion of the "focus"
12692 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12694 * gdb.arch/amd64-prologue-skip.S: New file.
12695 * gdb.arch/amd64-prologue-skip.exp: New file.
12697 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12699 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12700 is_address_zero_readable check.
12702 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12704 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12705 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12707 2015-06-24 Yao Qi <yao.qi@linaro.org>
12709 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12712 2015-06-24 Yao Qi <yao.qi@linaro.org>
12714 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12715 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12716 * gdb.base/siginfo-thread.exp: Likewise.
12718 2015-06-22 Yao Qi <yao.qi@linaro.org>
12720 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12722 2015-06-22 Yao Qi <yao.qi@linaro.org>
12724 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12726 (skip_hw_watchpoint_tests): Likewise.
12728 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12730 * gdb.base/gdbinit-history.exp: Test the interaction between
12731 setting GDBHISTSIZE and setting the history size via .gdbinit.
12733 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12736 * gdb.base/gdbhistsize-history.exp: New test.
12738 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12740 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12742 * gdb.base/readline.exp: Likewise.
12744 2015-06-17 Yao Qi <yao.qi@linaro.org>
12746 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12749 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12751 * gdb.base/gdbinit-history.exp: Add test case to check that
12752 an unlimited history file does not get truncated on exit.
12754 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12756 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12757 (VECTOR): New macro. Use it...
12758 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12759 ...for these typedefs.
12760 (int8, char1, int1, double1): New typedefs.
12761 (struct just_int2, struct two_int2): New structures.
12762 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12763 (add_structvecs, add_singlevecs): New functions.
12764 (main): Call add_some_intvecs twice.
12765 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12766 the compile and exit upon failure. Try compiling for the "native"
12767 architecture. Test inferior function calls with vector arguments
12768 and vector return value handling with "finish" and "return".
12770 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12772 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12773 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12775 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12777 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12779 PR breakpoints/16465
12780 * gdb.mi/mi-dprintf-pending.c: New file.
12781 * gdb.mi/mi-dprintf-pending.exp: New test.
12782 * gdb.mi/mi-dprintf-pendshr.c: New file.
12784 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12785 Mircea Gherzan <mircea.gherzan@intel.com>
12787 * gdb.arch/i386-mpx-map.c: New file.
12788 * gdb.arch/i386-mpx-map.exp: New File.
12790 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12792 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12793 * gdb.arch/i386-mpx.exp: Indentation fixed.
12795 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12797 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12798 function and improved indentation.
12799 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12800 gdb_test_multiple. Added additional tests to skip the test.
12802 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12804 * gdb.arch/i386-avx512.c: Change path in include file.
12805 * gdb.arch/i386-avx512.exp: Change include dir path
12807 * gdb.arch/i386-mpx.c: Change path in include file.
12808 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12811 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12813 * gdb.compile/compile-print.exp (compile print *vararray@3)
12814 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12816 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12818 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12819 (do not keep jit in memory): ... this.
12820 (expect 5): Change it to ...
12821 (expect no 5): ... this.
12823 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12826 * gdb.mi/mi-detach.exp: New file.
12828 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12831 * gdb.arch/amd64-tailcall-self.S: New file.
12832 * gdb.arch/amd64-tailcall-self.c: New file.
12833 * gdb.arch/amd64-tailcall-self.exp: New file.
12835 2015-05-28 Don Breazeal <donb@codesourcery.com>
12837 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12838 tests for remote targets by checking is_target_gdbserver.
12840 2015-05-27 Doug Evans <dje@google.com>
12842 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12843 * gdb.dwarf2/opaque-type-lookup.c: New file.
12844 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12846 2015-05-26 Doug Evans <dje@google.com>
12848 * gdb.cp/iostream.cc: New file.
12849 * gdb.cp/iostream.exp: New file.
12851 2015-05-26 Doug Evans <dje@google.com>
12853 * gdb.dwarf2/dw2-op-call.exp: Update.
12854 * gdb.dwarf2/dw4-sig-types.exp: Update.
12855 * gdb.dwarf2/implptr.exp: Update.
12856 * gdb.mi/mi-cmd-param-changed.exp: Update.
12858 2015-05-26 Doug Evans <dje@google.com>
12860 * gdb.python/py-lazy-string.c: New file.
12861 * gdb.python/py-lazy-string.exp: New file.
12862 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12863 (main): Update. Add estring3.
12864 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12865 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12867 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12868 Yao Qi <yao.qi@linaro.org>
12870 * gdb.reverse/aarch64.c: New.
12871 * gdb.reverse/aarch64.exp: New.
12873 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12875 * lib/gdb.exp (supports_process_record): Return true for
12877 (supports_reverse): Likewise.
12879 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12881 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12882 Use with_test_prefix.
12884 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12886 * gdb.base/completion.exp: Add test for completion of layout
12889 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12891 * lib/gdb.exp (skip_tui_tests): New proc.
12892 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12894 2015-05-19 Pedro Alves <palves@redhat.com>
12896 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12897 Save the whole env array instead of just HOME. Unset HISTSIZE in
12898 the environment while testing. Restore whole environment
12901 2015-05-16 Doug Evans <xdje42@gmail.com>
12903 * gdb.guile/scm-ports.c: New file.
12904 * gdb.guile/scm-ports.exp: Add memory port tests.
12906 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12908 * gdb.compile/compile-print.c: New file.
12909 * gdb.compile/compile-print.exp: New file.
12911 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12913 * gdb.compile/compile-ops.exp: Cast param to void.
12914 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12915 (compile code struct_object.selffield = &struct_object): Add xfail.
12917 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12919 * gdb.ada/arr_enum_with_gap: New testcase.
12921 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12923 * gdb.ada/byte_packed_arr: New testcase.
12925 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12927 * gdb.ada/pckd_neg: New testcase.
12929 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12932 * gdb.base/gdbinit-history.exp: New test.
12933 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12934 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12936 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12938 * gdb.python/py-xmethods.cc: Enhance test case.
12939 * gdb.python/py-xmethods.exp: New tests.
12940 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12942 (B_indexoper): Likewise.
12943 (global_dm_list) : Add new xmethod worker functions.
12945 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12947 * gdb.base/coredump-filter.exp: Correctly unset
12948 "coredump_var_addr" array.
12950 2015-05-08 Pedro Alves <palves@redhat.com>
12952 * gdb.server/non-existing-program.exp: Unset spawn_id.
12954 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12957 * gdb.python/py-xmethods.exp: Add tests.
12959 2015-05-08 Yao Qi <yao.qi@linaro.org>
12962 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12963 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12964 function set_coredump_filter, and remove remote_exec call.
12965 Remove argument ipid. Callers update.
12966 (top level): Don't get inferior's PID.
12968 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12970 * gdb.base/watch_thread_num.exp: Skip test on targets without
12971 access watchpoints.
12973 2015-05-06 Pedro Alves <palves@redhat.com>
12976 * gdb.server/non-existing-program.exp: New file.
12978 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12980 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12982 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12984 * gdb.ada/out_of_line_in_inlined: New testcase.
12986 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12988 * gdb.ada/var_rec_arr: New testcase.
12990 2015-04-30 Yao Qi <yao.qi@linaro.org>
12992 * gdb.base/break-idempotent.exp: If
12993 skip_hw_watchpoint_multi_tests returns true, skip the tests
12994 on "rwatch" and "awatch".
12996 2015-04-30 Yao Qi <yao.qi@linaro.org>
12998 * gdb.base/relativedebug.exp: Invoke gdb command
12999 "info sharedlibrary", and if libc.so doesn't have debug info,
13002 2015-04-29 Doug Evans <dje@google.com>
13004 * gdb.python/py-xmethods.exp: Add ptype tests.
13005 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13006 get_result_type method.
13008 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13010 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13011 the target does not support hardware watchpoints.
13013 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13015 * gdb.base/break-always.exp: Abort testing if writing to memory
13018 2015-04-28 Doug Evans <dje@google.com>
13020 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13021 * gdb.python/py-pp-registration.exp: ... here. New file.
13022 * gdb.python/py-pp-registration.c: New file.
13023 * gdb.python/py-pp-registration.py: New file.
13025 2015-04-28 Doug Evans <dje@google.com>
13027 * gdb.python/py-bad-printers.c: New file.
13028 * gdb.python/py-bad-printers.py: New file.
13029 * gdb.python/py-bad-printers.exp: New file.
13031 2015-04-28 Sasha Smundak <asmundak@google.com>
13033 * gdb.python/py-type.exp: New test.
13035 2015-04-28 Andy Wingo <wingo@igalia.com>
13037 * gdb.python/py-parameter.exp:
13038 * gdb.guile/scm-parameter.exp: Escape the path that we are
13039 matching against, as it might contain characters that are special
13040 to regular expressions.
13042 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13044 * gdb.ada/rec_comp: New testcase.
13046 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13048 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13051 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13053 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13054 new tests for verilog output.
13056 2015-04-24 Yao Qi <yao.qi@linaro.org>
13058 * boards/remote-gdbserver-on-localhost.exp: New file.
13060 2015-04-23 Pedro Alves <palves@redhat.com>
13062 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13063 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13064 "end of file", remove $inferior_spawn_id from the indirect list.
13066 2015-04-23 Pedro Alves <palves@redhat.com>
13068 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13070 2015-04-23 Pedro Alves <palves@redhat.com>
13072 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13073 on $any_spawn_id instead of only on $gdb_spawn_id.
13075 2015-04-21 Pierre Muller <muller@sourceware.org>
13078 * lib/pascal.exp (gpc_compile): Add new option "class".
13079 (fpc_compile): Likewise.
13080 * gdb.pascal/case-insensitive-symbols.pas: New file.
13081 * gdb.pascal/case-insensitive-symbols.exp: New file.
13083 2015-04-20 Gary Benson <gbenson@redhat.com>
13085 * gdb.base/attach.exp: Fix three extended remote failures.
13087 2015-04-17 Gary Benson <gbenson@redhat.com>
13089 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13090 the main executable over the remote protocol.
13092 2015-04-16 Pedro Alves <palves@redhat.com>
13094 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13095 a new gdbserver if gdbserver_reconnect_p is set.
13097 2015-04-16 Pedro Alves <palves@redhat.com>
13099 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13100 is set, don't exit gdbserver.
13102 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13104 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13105 appropriate .insn, such that an older assembler can be used.
13106 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13107 the z/Architecture instruction set on 31-bit targets as well.
13109 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13111 * gdb.go/handcall.exp: Remove all logic related to the first
13112 breakpoint and rely on go_runto_main instead.
13113 * gdb.go/strings.exp: Likewise.
13114 * gdb.go/unsafe.exp: Likewise.
13115 * gdb.go/hello.exp: Likewise. Also rename the remaining
13116 breakpoint marker to "breakpoint 1".
13117 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13118 * gdb.go/strings.go: Likewise.
13119 * gdb.go/unsafe.go: Likewise.
13120 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13121 "set breakpoint 2 here" and rename the remaining breakpoint marker
13124 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13126 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13127 if itertools.imap is not present.
13128 * gdb.python/py-objfile.exp: Add parentheses.
13129 * gdb.python/py-type.exp: Same.
13130 * gdb.python/py-unwind-maint.py: Same.
13132 2015-04-15 Yao Qi <yao.qi@linaro.org>
13134 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13135 of ":$ptr_size" and set its form explicitly.
13137 2015-04-15 Pedro Alves <palves@redhat.com>
13138 Yao Qi <yao.qi@linaro.org>
13140 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13141 timeout by factor of 4.
13142 (test_regular_watch): Likewise.
13143 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13144 * gdb.reverse/sigall-reverse.exp: Likewise.
13145 * gdb.reverse/until-precsave.exp: Likewise.
13146 * lib/gdb.exp (with_timeout_factor): New proc.
13147 (gdb_expect): Move some code to ...
13148 (get_largest_timeout): ... here. New procedure.
13150 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13152 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13154 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13156 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13157 to write to the .text section.
13159 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13161 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13162 Handle the case of targets that do not provide PID information.
13164 2015-04-13 Yao Qi <yao.qi@linaro.org>
13166 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13167 and use expect instead of gdb_expect.
13169 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13171 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13172 "coredump_var_addr" to avoid naming conflict with other testcases.
13174 2015-04-10 Pedro Alves <palves@redhat.com>
13176 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13177 gdb_test_sequence and gdb_assert.
13179 2015-04-10 Pedro Alves <palves@redhat.com>
13181 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13182 test messages that don't include the breakpoint address.
13184 2015-04-10 Yao Qi <yao.qi@linaro.org>
13186 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13187 false for some offset and width combinations which aren't
13188 supported by linux kernel.
13190 2015-04-10 Pedro Alves <palves@redhat.com>
13192 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13193 procedure, factored out from ...
13194 (top level): ... here. Add "set displaced-stepping" testing axis.
13195 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13196 parameter "displaced". Use it.
13197 (top level): Use foreach and add "set displaced-stepping" testing
13200 2015-04-10 Pedro Alves <palves@redhat.com>
13202 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13204 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13205 both the address of the instruction that triggers the watchpoint
13206 and the address of the instruction immediately after, and use
13207 those addresses for the test. Fix comment.
13209 2015-04-10 Pedro Alves <palves@redhat.com>
13211 * gdb.base/sigstep.exp (breakpoint_to_handler)
13212 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13213 Test "backtrace" in handler.
13214 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13215 (top level): Add new "displaced" test axis to
13216 breakpoint_to_handler, breakpoint_to_handler_entry and
13217 breakpoint_over_handler.
13219 2015-04-10 Pedro Alves <palves@redhat.com>
13222 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13224 2015-04-10 Yao Qi <yao.qi@linaro.org>
13226 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13227 (test_add_rn_pc): New function.
13228 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13229 (top level): Invoke test_add_rn_pc.
13231 2015-04-10 Pedro Alves <palves@redhat.com>
13234 * gdb.base/step-over-no-symbols.exp: New file.
13236 2015-04-09 Andy Wingo <wingo@igalia.com>
13238 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13239 after the Python tests.
13241 2015-04-08 Keith Seitz <keiths@redhat.com>
13244 * gdb.python/py-completion.exp: New tests for completion.
13245 * gdb.python/py-completion.py (CompleteLimit1): New class.
13246 (CompleteLimit2): Likewise.
13247 (CompleteLimit3): Likewise.
13248 (CompleteLimit4): Likewise.
13249 (CompleteLimit5): Likewise.
13250 (CompleteLimit6): Likewise.
13251 (CompleteLimit7): Likewise.
13253 2015-04-08 Pedro Alves <palves@redhat.com>
13257 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13259 (main): Install it as SIGUSR1 handler.
13260 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13261 parameter. Always use "setup" as prefix. Toggle "set
13262 displaced-stepping" off/on depending on global. Don't switch to
13264 (top level): Add displaced stepping "off/on" test axis. Update
13265 "setup" calls. Wrap each subtest with with_test_prefix. Test
13266 continuing with a queued signal in each thread.
13268 2015-04-08 Pedro Alves <palves@redhat.com>
13270 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13271 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13272 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13273 Return early if running to main fails.
13274 * gdb.trace/while-stepping.exp: Likewise.
13276 2015-04-07 Pedro Alves <palves@redhat.com>
13278 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13279 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13280 interact with inferior program.
13282 2015-04-07 Pedro Alves <palves@redhat.com>
13284 * lib/gdb.exp (inferior_spawn_id): New global.
13285 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13286 spawn id after processing the user code.
13287 (default_gdb_start): Set inferior_spawn_id.
13288 (send_inferior): New procedure.
13289 * lib/gdbserver-support.exp (gdbserver_start): Set
13291 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13293 2015-04-07 Pedro Alves <palves@redhat.com>
13295 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13296 * lib/gdbserver-support.exp (gdbserver_start): Make
13297 $server_spawn_id global.
13298 (gdbserver_start): Don't wait for gdbserver's spawn id with
13300 (close_gdbserver): New procedure.
13301 (gdb_exit): Rename the default version and reimplement.
13303 2015-04-07 Pedro Alves <palves@redhat.com>
13305 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13306 append the substituted item, not the original item.
13308 2015-04-07 Pedro Alves <palves@redhat.com>
13310 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13313 2015-04-07 Pedro Alves <palves@redhat.com>
13315 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13316 output appearing once only.
13318 2015-04-07 Pedro Alves <palves@redhat.com>
13320 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13321 that doesn't expect anything. Return early if running to main
13324 2015-04-07 Yao Qi <yao.qi@linaro.org>
13326 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13327 (child_function): Call alarm.
13328 (main): Move call to alarm into the loop.
13329 * gdb.threads/non-stop-fair-events.exp: Build program with
13330 -DTIMEOUT=$timeout.
13332 2015-04-06 Doug Evans <xdje42@gmail.com>
13334 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13335 Fix dest parameter to board_info.
13336 (fpc_compile): Ditto.
13337 (gdb_compile_pascal): Rename dest arg to destfile.
13339 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13341 * gdb.ada/funcall_ref.exp: New file.
13342 * gdb.ada/funcall_ref/foo.adb: New file.
13344 2015-04-02 Yao Qi <yao.qi@linaro.org>
13346 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13349 2015-04-02 Gary Benson <gbenson@redhat.com>
13351 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13353 2015-04-01 Sasha Smundak <asmundak@google.com>
13355 * gdb.python/py-unwind-maint.c: New file.
13356 * gdb.python/py-unwind-maint.exp: New test.
13357 * gdb.python/py-unwind-maint.py: New file.
13358 * gdb.python/py-unwind.c: New file.
13359 * gdb.python/py-unwind.exp: New test.
13360 * gdb.python/py-unwind.py: New test.
13362 2015-04-01 Pedro Alves <palves@redhat.com>
13364 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13365 to fail instead of non-existent $test.
13367 2015-04-01 Pedro Alves <palves@redhat.com>
13369 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13370 GDBFLAGS if not empty.
13372 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13374 * gdb.ada/complete.exp: Remove "multi_line".
13375 * gdb.ada/info_exc.exp: Remove "multi_line".
13376 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13377 * gdb.ada/ptype_field.exp: Remove "multi_line".
13378 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13379 * gdb.ada/tagged.exp: Remove "multi_line".
13380 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13382 * gdb.btrace/delta.exp: Likewise.
13383 * gdb.btrace/exception.exp: Likewise.
13384 * gdb.btrace/function_call_history.exp: Likewise.
13385 * gdb.btrace/instruction_history.exp: Likewise.
13386 * gdb.btrace/nohist.exp: Likewise.
13387 * gdb.btrace/record_goto.exp: Likewise.
13388 * gdb.btrace/segv.exp: Likewise.
13389 * gdb.btrace/stepi.exp: Likewise.
13390 * gdb.btrace/tailcall.exp: Likewise.
13391 * gdb.btrace/unknown_functions.exp: Likewise.
13392 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13393 * lib/gdb.exp: Add the "multi_line" helper.
13395 2015-04-01 Pedro Alves <palves@redhat.com>
13397 * gdb.threads/tid-reuse.c: New file.
13398 * gdb.threads/tid-reuse.exp: New file.
13400 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13403 * gdb.base/coredump-filter.c: New file.
13404 * gdb.base/coredump-filter.exp: Likewise.
13406 2015-03-27 Petr Machata <pmachata@redhat.com>
13408 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13409 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13410 (Dwarf::assemble): Initialize them.
13411 (Dwarf::lines): New function.
13413 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13415 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13416 SYMBOL_PREFIX for x86_64-*-cygwin.
13418 2015-03-26 Andy Wingo <wingo@igalia.com>
13421 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13422 const_value but not a location.
13423 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13424 location defined in non-main CUs are visible.
13426 2015-03-26 Yao Qi <yao.qi@linaro.org>
13429 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13430 Add a line number entry for the same line.
13431 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13432 Add a line number entry for the same line.
13434 2015-03-26 Yao Qi <yao.qi@linaro.org>
13436 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13438 (func): Likewise. Add .Lfunc_1 label.
13439 Use .Lfunc_1 label.
13440 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13443 Use .Lfunc_1 label.
13445 2015-03-26 Yao Qi <yao.qi@linaro.org>
13447 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13448 Call gdb_compile instead to compile each .s files without debug
13451 2015-03-26 Yao Qi <yao.qi@linaro.org>
13453 * gdb.base/savedregs.exp (process_saved_regs): Make
13454 "Saved registers:" optional in the pattern.
13456 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13458 * gdb.btrace/next.exp: Merged into step.exp.
13459 * gdb.btrace/finish.exp: Merged into step.exp.
13460 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13461 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13462 "record goto" and checking the exact replay position.
13463 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13464 check for "Recording format" in "info record" output.
13465 * gdb.btrace/record_goto.exp: Choose test file based on target.
13466 * gdb.btrace/x86-record_goto.S: Renamed into ...
13467 * gdb.btrace/x86_64-record_goto.S: ... this.
13468 * gdb.btrace/i686-record_goto.S: New.
13469 * gdb.btrace/x86-tailcall.S: Renamed into ...
13470 * gdb.btrace/x86_64-tailcall.S: ... this.
13471 * gdb.btrace/i686-tailcall.S: New.
13472 * gdb.btrace/x86-tailcall.c: Renamed into ...
13473 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13474 separate statements. Update test.
13475 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13476 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13477 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13478 * gdb.btrace/tailcall.exp: Choose test file based on target.
13479 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13481 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13483 * gdb.btrace/exception.exp: Increase BTS buffer size.
13485 2015-03-24 Pedro Alves <palves@redhat.com>
13487 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13489 2015-03-24 Pedro Alves <palves@redhat.com>
13491 * gdb.threads/schedlock.exp (test_step): No longer expect that
13492 "set scheduler-locking step" with "next" over a function call runs
13495 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13497 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13499 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13501 PR breakpoints/16466
13502 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13503 * gdb.mi/mi-pending.c (thread_func): New function.
13504 (int main): Add threading support required.
13505 * gdb.mi/mi-pending.exp: Add tests for this issue.
13506 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13507 (pendfunc2): Remove stdio dependency.
13508 * gdb.mi/mi-pendshr2.c: New file.
13510 2015-03-23 Keith Seitz <keiths@redhat.com>
13512 * gdb.linespec/keywords.c: New file.
13513 * gdb.linespec/keywords.exp: New file.
13515 2015-03-23 Keith Seitz <keiths@redhat.com>
13518 * gdb.dwarf2/staticvirtual.exp: New test.
13520 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13522 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13523 * README: Remove HP-UX and gdb.hp.
13525 * configure: Regenerate.
13526 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13527 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13528 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13529 gdb.hp/gdb.defects/Makefile.
13530 * gdb.hp/Makefile.in: File deleted.
13531 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13532 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13533 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13534 * gdb.hp/gdb.aCC/run.c: File deleted.
13535 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13536 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13537 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13538 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13539 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13540 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13541 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13542 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13543 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13544 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13545 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13546 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13547 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13548 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13549 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13550 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13551 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13552 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13553 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13554 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13555 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13556 * gdb.hp/gdb.compat/average.c: File deleted.
13557 * gdb.hp/gdb.compat/sum.c: File deleted.
13558 * gdb.hp/gdb.compat/xdb.c: File deleted.
13559 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13560 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13561 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13562 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13563 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13564 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13565 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13566 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13567 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13568 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13569 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13570 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13571 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13572 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13573 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13574 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13575 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13576 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13577 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13578 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13579 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13580 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13581 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13582 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13583 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13584 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13585 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13586 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13587 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13588 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13589 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13590 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13591 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13592 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13593 * gdb.hp/tools/odump: File deleted.
13595 2015-03-19 Pedro Alves <palves@redhat.com>
13597 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13598 (saw_thread_3): New globals.
13599 (top level): Increment them when an event for the corresponding
13601 (no thread starvation): New test.
13603 2015-03-19 Pedro Alves <palves@redhat.com>
13605 * gdb.threads/continue-pending-status.c: New file.
13606 * gdb.threads/continue-pending-status.exp: New file.
13608 2015-03-18 Pedro Alves <palves@redhat.com>
13610 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13611 Use gdb_is_target_remote instead of is_remote. Use
13612 gdb_test_multiple instead of gdb_expect. Exit early if
13613 gdb_test_multiple hits its internal matches. Tighten stepi tests
13614 expected output. Fail on exit with any signal, instead of just
13617 2015-03-18 Yao Qi <yao.qi@linaro.org>
13620 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13622 * gdb.base/catch-syscall.exp: Don't skip it on
13623 aarch64*-*-linux* target. Remove elements in all_syscalls.
13624 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13626 (setup_all_syscalls): New proc.
13628 2015-03-16 Yao Qi <yao.qi@linaro.org>
13630 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13631 (top level): Skip tests if valid_addr_p returns false for
13634 2015-03-11 Andy Wingo <wingo@igalia.com>
13636 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13638 2015-03-11 Yao Qi <yao.qi@linaro.org>
13640 * gdb.base/catch-syscall.exp: Fix typo in comments.
13642 2015-03-11 Yao Qi <yao.qi@linaro.org>
13644 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13646 2015-03-09 Pedro Alves <palves@redhat.com>
13648 * dg-extract-results.py: Delete.
13650 2015-03-09 Pedro Alves <palves@redhat.com>
13652 Merge dg-extract-results.sh from GCC upstream (r218843).
13654 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13655 * dg-extract-results.sh: Use --text with grep to avoid issues with
13656 binary files. Fall back to cat -v, if that doesn't work.
13658 2015-03-05 Pedro Alves <palves@redhat.com>
13660 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13662 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13664 * lib/mi-support.exp (mi_expect_interrupt): Accept
13665 alternative event for when in all-stop mode.
13667 2015-03-04 Pedro Alves <palves@redhat.com>
13669 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13671 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13673 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13675 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13677 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13678 regexps for GDB's current line display, accept a hex address
13679 preceding the line number.
13681 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13683 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13684 the 'arch1' variable for "s390*-linux*" targets.
13686 2015-03-04 Pedro Alves <palves@redhat.com>
13688 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13689 (main): Pass missing retval argument to pthread_join call.
13691 2015-03-02 Pedro Alves <palves@redhat.com>
13693 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13694 (top level): Call do_test with non-stop as well.
13696 2015-03-02 Pedro Alves <palves@redhat.com>
13698 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13701 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13703 * gdb.arch/s390-vregs.exp: New test.
13704 * gdb.arch/s390-vregs.S: New file.
13706 2015-02-27 Pedro Alves <palves@redhat.com>
13708 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13709 call to catch_command_errors.
13710 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13711 catch_command_errors.
13713 2015-02-27 Pedro Alves <palves@redhat.com>
13715 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13716 "true" for boolean result.
13717 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13720 2015-02-27 Pedro Alves <palves@redhat.com>
13722 * lib/unbuffer_output.c: New file.
13723 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13724 (main): Call gdb_unbuffer_output.
13726 2015-02-27 Yao Qi <yao.qi@linaro.org>
13728 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13731 2015-02-26 Doug Evans <dje@google.com>
13733 * gdb.cp/class2.cc (Dbase, D): New classes.
13734 (main): New local delta.
13735 * gdb.cp/class2.exp: Test printing delta.
13736 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13737 (dynbar): New global.
13738 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13740 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13742 * gdb.compile/compile-ifunc.c: New file.
13743 * gdb.compile/compile-ifunc.exp: New file.
13745 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13747 * gdb.base/structs.exp: Check for correct struct on finish.
13749 2015-02-26 Yao Qi <yao.qi@linaro.org>
13751 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13754 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13756 * gdb.arch/cordic.ko.bz2: New file.
13757 * gdb.arch/cordic.ko.debug.bz2: New file.
13758 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13760 2015-02-25 Yao Qi <yao.qi@linaro.org>
13762 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13763 aarch64*-*-* target.
13765 2015-02-23 Pedro Alves <palves@redhat.com>
13767 * lib/gdb.exp (delete_breakpoints): Rewrite using
13770 2015-02-23 Pedro Alves <palves@redhat.com>
13772 * gdb.base/info-os.c: Include stdlib.h.
13774 2015-02-22 Doug Evans <xdje42@gmail.com>
13777 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13778 is read after symbols have been re-read.
13779 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13780 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13782 2015-02-21 Doug Evans <dje@google.com>
13784 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13786 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13789 * gdb.arch/i386-biarch-core.core.bz2: New file.
13790 * gdb.arch/i386-biarch-core.exp: New file.
13792 2015-02-21 Pedro Alves <palves@redhat.com>
13794 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13797 2015-02-20 Pedro Alves <palves@redhat.com>
13799 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13802 2015-02-20 Pedro Alves <palves@redhat.com>
13804 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13806 2015-02-20 Pedro Alves <palves@redhat.com>
13808 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13809 clean_restart before gdb_target_supports_trace.
13811 2015-02-20 Pedro Alves <palves@redhat.com>
13814 * gdb.threads/clone-thread_db.c: New file.
13815 * gdb.threads/clone-thread_db.exp: New file.
13817 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13819 PR breakpoints/16812
13820 * gdb.base/catch-gdb-caused-signals.c: New file.
13821 * gdb.base/catch-gdb-caused-signals.exp: New file.
13823 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13825 * configure: Regenerated.
13826 * configure.ac: Use GDB_AC_TRANSFORM.
13827 * aclocal.m4: sinclude ../transform.m4.
13829 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13831 * lib/dtrace.exp: New file.
13832 * gdb.base/dtrace-probe.exp: Likewise.
13833 * gdb.base/dtrace-probe.d: Likewise.
13834 * gdb.base/dtrace-probe.c: Likewise.
13835 * lib/pdtrace.in: Likewise.
13836 * configure.ac: Output variables with the transformed names of
13837 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13838 * configure: Regenerated.
13840 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13842 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13843 expected message when trying to access $_probe_* convenience
13844 variables while not on a probe.
13846 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13848 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13850 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13852 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13853 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13855 2015-02-10 Doug Evans <xdje42@gmail.com>
13857 * lib/gdb.exp (gdb_load): Always return a result.
13859 2015-02-10 Pedro Alves <palves@redhat.com>
13861 * gdb.threads/signal-sigtrap.c: New file.
13862 * gdb.threads/signal-sigtrap.exp: New file.
13864 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13866 * gdb.trace/no-attach-trace.c: New file.
13867 * gdb.trace/no-attach-trace.exp: New file.
13869 2015-02-09 Mark Wielaard <mjw@redhat.com>
13871 * gdb.dwarf2/atomic.c: New file.
13872 * gdb.dwarf2/atomic-type.exp: Likewise.
13874 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13876 * gdb.btrace/buffer-size.exp: Update "info record" output.
13877 * gdb.btrace/delta.exp: Update "info record" output.
13878 * gdb.btrace/enable.exp: Update "info record" output.
13879 * gdb.btrace/finish.exp: Update "info record" output.
13880 * gdb.btrace/instruction_history.exp: Update "info record" output.
13881 * gdb.btrace/next.exp: Update "info record" output.
13882 * gdb.btrace/nexti.exp: Update "info record" output.
13883 * gdb.btrace/step.exp: Update "info record" output.
13884 * gdb.btrace/stepi.exp: Update "info record" output.
13885 * gdb.btrace/nohist.exp: Update "info record" output.
13887 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13889 * gdb.btrace/buffer-size: New.
13891 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13893 * gdb.btrace/delta.exp: Update "info record" output.
13894 * gdb.btrace/enable.exp: Update "info record" output.
13895 * gdb.btrace/finish.exp: Update "info record" output.
13896 * gdb.btrace/instruction_history.exp: Update "info record" output.
13897 * gdb.btrace/next.exp: Update "info record" output.
13898 * gdb.btrace/nexti.exp: Update "info record" output.
13899 * gdb.btrace/step.exp: Update "info record" output.
13900 * gdb.btrace/stepi.exp: Update "info record" output.
13901 * gdb.btrace/nohist.exp: Update "info record" output.
13903 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13906 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13908 2015-02-06 Pedro Alves <palves@redhat.com>
13910 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13912 (seconds_left, again): New globals.
13913 (main): Wait seconds_left in a 1-second sleep loop instead of
13914 sleeping 180 seconds. If 'again' is set, reset the seconds
13916 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13917 'again' in the inferior before detaching. Print the seconds left.
13918 (options): New global.
13919 (top level): Build program with -DTIMEOUT=$timeout.
13921 2015-02-06 Pedro Alves <palves@redhat.com>
13923 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13924 determine how many seconds to pass to 'alarm'.
13925 * gdb.base/gdb-sigterm.exp (top level): Build program with
13926 -DTIMEOUT=$timeout.
13927 (do_test): Return success/failure indication. Add more verbose
13928 logging. Don't fail if 200 single steps are seen. Instead, fail
13929 when the test times out.
13930 (passes): New global.
13931 (top level): Break the testing loop if testing fails on any
13932 iteration. Use gdb_assert.
13934 2015-02-04 Don Breazeal <donb@codesourcery.com>
13936 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13937 and initialize them.
13938 (ipc_cleanup): New function.
13939 (main): Don't declare shmid, semid, and msqid. Add a call to
13940 atexit so that we call ipc_cleanup on exit.
13942 2015-02-04 Pedro Alves <palves@redhat.com>
13944 * boards/native-extended-gdbserver.exp: Remove any target variant
13945 specifications from the board name before clearing the isremote
13946 flag from board_info.
13948 2015-01-31 Doug Evans <xdje42@gmail.com>
13950 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13952 2015-01-31 Gary Benson <gbenson@redhat.com>
13954 * gdb.base/completion.exp: Disable completion limiting for
13955 existing tests. Add new tests to check completion limiting.
13956 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13958 2015-01-31 Doug Evans <xdje42@gmail.com>
13960 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13962 2015-01-31 Doug Evans <xdje42@gmail.com>
13964 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13965 entries. Duplicate file section script entries.
13966 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13967 inlined entries. Add test for safe-path rejection.
13968 * gdb.python/py-section-script.c: Add duplicate inlined section script
13969 entries. Duplicate file section script entries.
13970 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13971 inlined entries. Add test for safe-path rejection.
13973 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13975 * gdb.ada/disc_arr_bound: New testcase.
13977 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13979 * gdb.ada/mi_var_array: New testcase.
13981 2015-01-27 Doug Evans <dje@google.com>
13983 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13984 Add test for objfile.filename, objfile.username after objfile
13987 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13989 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13990 the second test to print the name attribute of value
13991 returned by the call to gdb.lookup_type, and adjust
13992 the expected output accordingly.
13994 2015-01-25 Mark Wielaard <mjw@redhat.com>
13996 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13997 * gdb.base/disp-step-fork.c: Include unistd.h.
13998 * gdb.base/siginfo-obj.c: Include stdio.h.
13999 * gdb.base/siginfo-thread.c: Likewise.
14000 * gdb.mi/non-stop.c: Include unistd.h.
14001 * gdb.mi/nsthrexec.c: Include stdio.h.
14002 * gdb.mi/pthreads.c: Include unistd.h.
14003 * gdb.modula2/unbounded1.c (main): Declare returns int.
14004 * gdb.reverse/consecutive-reverse.c: Likewise.
14005 * gdb.threads/create-fail.c: Include unistd.h.
14006 * gdb.threads/killed.c: Likewise.
14007 * gdb.threads/linux-dp.c: Likewise.
14008 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14009 * gdb.threads/non-ldr-exc-2.c: Likewise.
14010 * gdb.threads/non-ldr-exc-3.c: Likewise.
14011 * gdb.threads/non-ldr-exc-4.c: Likewise.
14012 * gdb.threads/pthreads.c: Include unistd.h.
14013 (main): Declare returns int.
14014 * gdb.threads/tls-main.c (foo): New declaration.
14015 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14017 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14019 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14020 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14022 2015-01-15 Mark Wielaard <mjw@redhat.com>
14024 * gdb.base/noreturn-return.c: New file.
14025 * gdb.base/noreturn-return.exp: New file.
14026 * gdb.base/noreturn-finish.c: New file.
14027 * gdb.base/noreturn-finish.exp: New file.
14029 2015-01-23 Pedro Alves <palves@redhat.com>
14031 * gdb.threads/continue-pending-after-query.c: New file.
14032 * gdb.threads/continue-pending-after-query.exp: New file.
14034 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14035 Simon Marchi <simon.marchi@ericsson.com>
14037 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14038 * gdb.base/valgrind-db-attach.exp: Same.
14039 * gdb.base/valgrind-infcall.exp: Same.
14040 * lib/mi-support.exp (default_mi_gdb_start): Same.
14041 * lib/prompt.exp (default_prompt_gdb_start): Same.
14042 * lib/gdb.exp (default_gdb_spawn): Same.
14043 (gdb_interact): New.
14046 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14048 * gdb.compile/compile.exp (pointer to jit function): New test.
14050 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14052 * lib/gdb.exp (supports_process_record): Return true for
14054 (supports_reverse): Likewise.
14056 2015-01-15 Don Breazeal <donb@codesourcery.com>
14058 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14059 instead of checking whether the target board is remote and
14060 use spawn_wait_for_attach instead of exec/sleep.
14061 * gdb.base/attach-twice.exp: Likewise.
14063 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14065 * gdb.ada/var_arr_attrs: New testcase.
14067 2015-01-14 Pedro Alves <palves@redhat.com>
14068 Joel Brobecker <brobecker@adacore.com>
14071 * gdb.base/bp-cmds-execution-x-script.c: New file.
14072 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14073 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14075 2015-01-14 Pedro Alves <palves@redhat.com>
14078 * gdb.base/batch-preserve-term-settings.c: New file.
14079 * gdb.base/batch-preserve-term-settings.exp: New file.
14081 2015-01-13 Doug Evans <dje@google.com>
14083 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14086 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14088 * Makefile.in (clean mostlyclean): Do not delete *.py.
14090 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14092 * gdb.python/py-lookup-type.exp: New file.
14094 2015-01-12 Pedro Alves <palves@redhat.com>
14096 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14097 restore GDBFLAGS before returning.
14099 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14101 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14102 is_amd64_regs_target and is_x86_like_target.
14104 2015-01-11 Doug Evans <xdje42@gmail.com>
14106 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14107 is given without an explicit form.
14108 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14110 * gdb.dwarf/corrupt.exp: Ditto.
14111 * gdb.dwarf2/enum-type.exp: Ditto.
14112 * gdb.trace/entry-values.exp: Ditto.
14113 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14115 2015-01-11 Doug Evans <xdje42@gmail.com>
14118 * gdb.base/maint.exp: Remove references to "maint demangle".
14119 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14120 Add tests for explicitly specifying language to demangle.
14121 * gdb.dlang/demangle.exp: Ditto.
14123 2015-01-09 Pedro Alves <palves@redhat.com>
14125 * gdb.threads/non-stop-fair-events.c: New file.
14126 * gdb.threads/non-stop-fair-events.exp: New file.
14128 2015-01-09 Pedro Alves <palves@redhat.com>
14130 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14131 the global scope. Set a breakpoint after all threads are started
14132 rather than stepping over two source lines. Expect the prompt.
14133 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14136 (main): Use threads_started_barrier to wait for all threads to
14137 start. Main thread no longer calls thread_function. Exit after
14139 (loop): New function.
14140 (thread_function): Wait on threads_started_barrier barrier. Call
14141 'loop' at each iteration.
14142 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14143 threads have started, instead of hardcoding number of "next"
14144 steps. Use an access watchpoint instead of a write watchpoint.
14146 2015-01-09 Pedro Alves <palves@redhat.com>
14148 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14149 (thread_func): Wait on barrier.
14150 (main): Wait for all threads to start before stopping GDB.
14151 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14153 (thread1_func, thread2_func): Wait on barrier.
14154 (main): Wait for all threads to start before stopping GDB.
14155 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14157 (thread1_func, thread2_func): Wait on barrier.
14158 (main): Wait for all threads to start before stopping GDB.
14160 2015-01-09 Pedro Alves <palves@redhat.com>
14162 * gdb.threads/attach-many-short-lived-threads.c: New file.
14163 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14165 2014-01-09 Pedro Alves <palves@redhat.com>
14167 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14168 instead of to thread 2.
14169 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14170 Add barrier around each pthread_create call instead of around all
14172 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14173 Set a break on thread_function and have the child threads hit it
14176 2015-01-09 Pedro Alves <palves@redhat.com>
14178 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14179 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14181 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14182 checking whether the target board is remote.
14183 * gdb.multi/multi-attach.exp: Likewise.
14184 * gdb.python/py-sync-interp.exp: Likewise.
14185 * gdb.server/ext-attach.exp: Likewise.
14186 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14187 tests that need to attach, instead of checking whether the target
14188 board is remote at the top of the file.
14190 2015-01-08 Yao Qi <yao@codesourcery.com>
14192 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14194 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14196 Fix testcase compilation.
14197 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14199 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14201 * gdb.python/py-type.exp: Add a couple test about empty
14202 array creation, and negative-length array creation.
14204 2015-01-02 Doug Evans <xdje42@gmail.com>
14206 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14208 2015-01-02 Doug Evans <dje@google.com>
14210 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14212 2014-12-29 Yao Qi <yao@codesourcery.com>
14214 * gdb.trace/entry-values.exp: Update comments. Rename variable
14215 bar_call_foo to returned_from_foo.
14217 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14220 * gdb.linespec/break-asm-file.c: New file.
14221 * gdb.linespec/break-asm-file.exp: New file.
14222 * gdb.linespec/break-asm-file0.s: New file.
14223 * gdb.linespec/break-asm-file1.s: New file.
14225 2014-12-18 Nigel Stephens <nigel@mips.com>
14226 Maciej W. Rozycki <macro@codesourcery.com>
14228 * gdb.base/float.exp: Handle the new output from "info float" on
14231 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14233 Fix MinGW compilation.
14234 * gdb.compile/compile-ops.exp: Update untested message if
14235 !skip_compile_feature_tests.
14236 * gdb.compile/compile-setjmp.exp: Likewise.
14237 * gdb.compile/compile-tls.exp: Likewise.
14238 * gdb.compile/compile.exp: Likewise.
14239 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14240 supported on this host".
14242 2014-12-16 Doug Evans <xdje42@gmail.com>
14244 * boards/stabs.exp: New file.
14246 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14248 * gdb.base/completion.exp: Adjust to format changes of "maint
14249 print user-registers".
14251 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14254 * gdb.arch/aarch64-fp.c: New file.
14255 * gdb.arch/aarch64-fp.exp: New file.
14257 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14259 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14260 r210637, r210913, r211666, r215400, r215817).
14262 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14263 * dg-extract-results.py: New file.
14264 * dg-extract-results.sh: Use it if the environment seems
14267 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14269 * dg-extract-results.py (parse_run): Handle warnings that
14270 are printed before a test harness is run.
14272 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14274 * dg-extract-results.py (Named): Remove __cmp__ method.
14275 (output_variation): Use a key to sort variation.harnesses.
14277 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14279 * dg-extract-results.py: For Python 3, force sys.stdout to
14280 handle surrogate escape sequences.
14281 (safe_open): New function.
14282 (output_segment, main): Use it.
14284 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14286 * dg-extract-results.py (Prog.result_re): Include options
14289 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14291 * dg-extract-results.py (output_variation): Always sort if
14294 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14296 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14297 as long as we get pagination notifications.
14299 2014-12-15 Jason Merrill <jason@redhat.com>
14301 * Makefile.in (check-gdb.%): Restore.
14302 * README: Mention it.
14304 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14306 * gdb.ada/str_uninit: New testcase.
14308 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14311 * gdb.base/vla-stub-define.c: New file.
14312 * gdb.base/vla-stub.c: New file.
14313 * gdb.base/vla-stub.exp: New file.
14315 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14316 Jan Kratochvil <jan.kratochvil@redhat.com>
14317 Tom Tromey <tromey@redhat.com>
14319 * configure.ac: Add gdb.compile/.
14320 * configure: Regenerate.
14321 * gdb.compile/Makefile.in: New file.
14322 * gdb.compile/compile-ops.exp: New file.
14323 * gdb.compile/compile-ops.c: New file.
14324 * gdb.compile/compile-tls.c: New file.
14325 * gdb.compile/compile-tls.exp: New file.
14326 * gdb.compile/compile-constvar.S: New file.
14327 * gdb.compile/compile-constvar.c: New file.
14328 * gdb.compile/compile-mod.c: New file.
14329 * gdb.compile/compile-nodebug.c: New file.
14330 * gdb.compile/compile-setjmp-mod.c: New file.
14331 * gdb.compile/compile-setjmp.c: New file.
14332 * gdb.compile/compile-setjmp.exp: New file.
14333 * gdb.compile/compile-shlib.c: New file.
14334 * gdb.compile/compile.c: New file.
14335 * gdb.compile/compile.exp: New file.
14336 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14338 2014-12-12 Tom Tromey <tromey@redhat.com>
14340 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14341 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14343 2014-12-12 Doug Evans <dje@google.com>
14345 * lib/gdb-python.exp (get_python_valueof): New function.
14346 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14348 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14350 * gdb.base/completion.exp: Add test for completion of "info
14353 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14355 * gdb.base/func-ptrs.c: New file.
14356 * gdb.base/func-ptrs.exp: New file.
14358 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14360 PR breakpoints/17012
14361 * gdb.base/dprintf-detach.c: New file.
14362 * gdb.base/dprintf-detach.exp: New file.
14364 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14366 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14367 * lib/gdb.exp (target_is_gdbserver): New procedure.
14369 2014-12-08 Doug Evans <dje@google.com>
14371 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14373 2014-12-05 Yao Qi <yao@codesourcery.com>
14375 * gdb.guile/scm-error.exp: Remove the third argument to
14376 gdb_remote_download.
14377 * gdb.guile/scm-frame-args.exp: Likewise.
14378 * gdb.guile/scm-section-script.exp: Likewise.
14380 2014-12-05 Yao Qi <yao@codesourcery.com>
14382 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14384 2014-12-04 Doug Evans <dje@google.com>
14386 * gdb.python/py-objfile.exp: Add tests for
14387 objfile.add_separate_debug_file.
14389 2014-12-04 Doug Evans <dje@google.com>
14391 * lib/gdb.exp (get_build_id): New function.
14392 (build_id_debug_filename_get): Rewrite to use it.
14393 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14395 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14397 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14398 `method(long)', not just 0x0.
14399 * gdb.cp/nsalias.exp: Align code labels to 4.
14400 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14401 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14402 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14403 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14404 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14405 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14407 2014-12-02 Doug Evans <dje@google.com>
14410 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14411 * gdb.cp/anon-ns2.cc: ... here. New file.
14412 * gdb.cp/anon-ns.exp: Update.
14414 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14416 * gdb.python/py-events.py (inferior_call_handler): New.
14417 (register_changed_handler, memory_changed_handler): New.
14418 (test_events.invoke): Register new handlers.
14419 * gdb.python/py-events.exp: Add tests for inferior call,
14420 memory_changed and register_changed events.
14422 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14424 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14425 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14426 if the linker doesn't understand this.
14428 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14430 * gdb.python/python.exp: Change expected reply to help().
14432 2014-12-01 Yao Qi <yao@codesourcery.com>
14434 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14435 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14436 * configure: Re-generated.
14438 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14440 * gdb.cp/chained-calls.cc: New file.
14441 * gdb.cp/chained-calls.exp: New file.
14442 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14444 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14446 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14447 * gdb.dwarf2/symtab-producer.exp: Same.
14448 * gdb.gdb/python-interrupts.exp: Same.
14449 * gdb.gdb/python-selftest.exp: Same.
14450 * gdb.python/py-linetable.exp: Same.
14451 * gdb.python/py-type.exp: Same.
14452 * gdb.python/py-value-cc.exp: Same.
14453 * gdb.python/py-value.exp: Same.
14455 2014-11-28 Yao Qi <yao@codesourcery.com>
14457 * gdb.base/break-probes.exp: Match library name prefixed with
14460 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14462 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14463 test expected output. Add parentheses for the call to print.
14464 Remove L suffix from integers.
14466 2014-11-26 Doug Evans <dje@google.com>
14468 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14470 2014-11-22 Yao Qi <yao@codesourcery.com>
14472 * gdb.trace/entry-values.c: Remove asms.
14473 (foo): Add foo_label.
14474 (bar): Add bar_label.
14475 * gdb.trace/entry-values.exp: Remove code computing foo's
14476 length and bar's length.
14477 (Dwarf::assemble): Invoke function_range for bar and use
14478 MACRO_AT_func for foo.
14480 2014-11-22 Yao Qi <yao@codesourcery.com>
14482 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14483 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14484 Use .Lgcc43_procstart instead of gcc43.
14486 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14488 * gdb.ada/n_arr_bound: New testcase.
14490 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14492 PR breakpoints/10737
14493 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14494 test_catch_syscall_multi_arch.
14495 (test_catch_syscall_multi_arch): New function.
14497 2014-11-20 Doug Evans <xdje42@gmail.com>
14499 * gdb.base/maint.exp: Update expected output.
14501 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14503 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14504 4-byte instruction on S390.
14506 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14508 * gdb.ada/arr_arr: New testcase.
14510 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14512 * gdb.ada/pkd_arr_elem: New Testcase.
14514 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14516 * gdb.reverse/break-precsave: Expect completion message for
14518 * gdb.reverse/consecutive-precsave.exp: Likewise.
14519 * gdb.reverse/finish-precsave.exp: Likewise.
14520 * gdb.reverse/i386-precsave.exp: Likewise.
14521 * gdb.reverse/machinestate-precsave.exp: Likewise.
14522 * gdb.reverse/sigall-precsave.exp: Likewise.
14523 * gdb.reverse/solib-precsave.exp: Likewise.
14524 * gdb.reverse/step-precsave.exp: Likewise.
14525 * gdb.reverse/until-precsave.exp: Likewise.
14526 * gdb.reverse/watch-precsave.exp: Likewise.
14528 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14530 * gdb.base/bp-permanent.c: Include unistd.h.
14531 * gdb.python/py-framefilter-mi.c (main): Add return type.
14532 * gdb.python/py-framefilter.c (main): Likewise.
14533 * gdb.trace/actions-changed.c (main): Likewise.
14535 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14537 * gdb.mi/until.c: Add eye-catchers.
14538 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14541 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14543 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14544 function header variants in break1.c.
14545 * gdb.base/ena-dis-br.exp: Likewise.
14546 * gdb.base/hbreak2.exp: Likewise.
14547 * gdb.reverse/until-precsave.exp: Drop references to removed
14548 non-prototype function header variants in ur1.c.
14549 * gdb.reverse/until-reverse.exp: Likewise.
14551 2014-11-17 Petr Machata <pmachata@redhat.com>
14553 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14554 ${_cu_offset_size} bytes abbrev offset.
14556 2014-11-15 Doug Evans <xdje42@gmail.com>
14559 * gdb.base/line-symtabs.exp: New file.
14560 * gdb.base/line-symtabs.c: New file.
14561 * gdb.base/line-symtabs.h: New file.
14563 2014-11-14 Yao Qi <yao@codesourcery.com>
14565 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14566 (func): Add label func_label.
14567 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14568 Replace low_pc and high_pc with MACRO_AT_range.
14569 Replace name, low_pc and high_pc with MACRO_AT_func.
14571 2014-11-14 Yao Qi <yao@codesourcery.com>
14573 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14574 Replace name, low_pc and high_pc with MACRO_AT_func.
14576 2014-11-14 Yao Qi <yao@codesourcery.com>
14578 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14579 produce debug information.
14580 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14582 2014-11-14 Yao Qi <yao@codesourcery.com>
14584 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14585 object and get function length.
14586 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14587 with MACRO_AT_func.
14588 (top-level): Replace gdb_compile and clean_restart with
14589 prepare_for_testing.
14590 * gdb.dwarf2/main.c (main): Add label main_label.
14592 2014-11-14 Yao Qi <yao@codesourcery.com>
14594 * lib/dwarf.exp (function_range): New procedure.
14595 (Dwarf::_handle_macro_at_func): New procedure.
14596 (Dwarf::_handle_macro_at_range): New procedure.
14597 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14599 2014-11-14 Yao Qi <yao@codesourcery.com>
14601 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14602 (_handle_attribute): New procedure.
14604 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14606 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14607 * gdb.base/call-sc.c (zed): Likewise.
14608 * gdb.base/checkpoint.c (main): Likewise.
14609 * gdb.base/dump.c (main): Likewise.
14610 * gdb.base/gcore.c (main): Likewise.
14611 * gdb.base/huge.c (main): Likewise.
14612 * gdb.base/multi-forks.c (main): Likewise.
14613 * gdb.base/pr10179-a.c (main): Likewise.
14614 * gdb.base/savedregs.c (main): Likewise.
14615 * gdb.base/sigaltstack.c (main): Likewise.
14616 * gdb.base/siginfo.c (main): Likewise.
14617 * gdb.base/structs.c (zed): Likewise.
14618 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14619 * gdb.mi/mi-syn-frame.c (main): Likewise.
14620 * gdb.mi/until.c (foo, main): Likewise.
14621 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14622 * gdb.base/solib-weak.c (foo): Declare.
14623 * gdb.base/attach-twice.c: Include stdio.h.
14624 * gdb.base/weaklib1.c: Likewise.
14625 * gdb.base/weaklib2.c: Likewise.
14626 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14627 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14629 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14630 * gdb.mi/mi-exit-code.c: Likewise.
14631 * gdb.base/break-interp-lib.c: Include string.h.
14632 * gdb.base/coremaker.c: Likewise.
14633 * gdb.base/testenv.c: Likewise.
14634 * gdb.python/py-finish-breakpoint.c: Likewise.
14635 * gdb.base/inferior-died.c: Include sys/wait.h.
14636 * gdb.base/fileio.c: Include time.h.
14637 * gdb.base/async-shell.c: Include unistd.h.
14638 * gdb.base/dprintf-non-stop.c: Likewise.
14639 * gdb.base/info-os.c: Likewise.
14640 * gdb.mi/mi-console.c: Likewise.
14641 * gdb.mi/watch-nonstop.c: Likewise.
14642 * gdb.python/py-events.c: Likewise.
14643 * gdb.base/async.c (baz): Move up before its invocation.
14644 * gdb.base/code_elim2.c (my_global_func): Likewise.
14645 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14646 * gdb.base/advance.c (func2): Likewise.
14648 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14650 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14652 * gdb.base/annota3.c: Likewise.
14653 * gdb.base/async.c: Likewise.
14654 * gdb.base/average.c: Likewise.
14655 * gdb.base/call-ar-st.c: Likewise.
14656 * gdb.base/call-rt-st.c: Likewise.
14657 * gdb.base/call-sc.c: Likewise.
14658 * gdb.base/call-strs.c: Likewise.
14659 * gdb.base/ending-run.c: Likewise.
14660 * gdb.base/execd-prog.c: Likewise.
14661 * gdb.base/exprs.c: Likewise.
14662 * gdb.base/foll-exec.c: Likewise.
14663 * gdb.base/foll-fork.c: Likewise.
14664 * gdb.base/foll-vfork.c: Likewise.
14665 * gdb.base/funcargs.c: Likewise.
14666 * gdb.base/gcore.c: Likewise.
14667 * gdb.base/jump.c: Likewise.
14668 * gdb.base/langs0.c: Likewise.
14669 * gdb.base/langs1.c: Likewise.
14670 * gdb.base/langs2.c: Likewise.
14671 * gdb.base/mips_pro.c: Likewise.
14672 * gdb.base/nodebug.c: Likewise.
14673 * gdb.base/opaque0.c: Likewise.
14674 * gdb.base/opaque1.c: Likewise.
14675 * gdb.base/recurse.c: Likewise.
14676 * gdb.base/run.c: Likewise.
14677 * gdb.base/scope0.c: Likewise.
14678 * gdb.base/scope1.c: Likewise.
14679 * gdb.base/setshow.c: Likewise.
14680 * gdb.base/setvar.c: Likewise.
14681 * gdb.base/shmain.c: Likewise.
14682 * gdb.base/shr1.c: Likewise.
14683 * gdb.base/shr2.c: Likewise.
14684 * gdb.base/sigall.c: Likewise.
14685 * gdb.base/signals.c: Likewise.
14686 * gdb.base/so-indr-cl.c: Likewise.
14687 * gdb.base/solib2.c: Likewise.
14688 * gdb.base/structs.c: Likewise.
14689 * gdb.base/sum.c: Likewise.
14690 * gdb.base/vforked-prog.c: Likewise.
14691 * gdb.base/watchpoint.c: Likewise.
14692 * gdb.reverse/shr2.c: Likewise.
14693 * gdb.reverse/until-reverse.c: Likewise.
14694 * gdb.reverse/ur1.c: Likewise.
14695 * gdb.reverse/watch-reverse.c: Likewise.
14697 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14699 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14701 * gdb.base/sepdebug.exp: Drop references to removed code.
14703 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14705 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14706 variant. Preserve original line numbering.
14707 * gdb.base/list1.c: Likewise.
14709 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14711 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14713 * gdb.base/break1.c: Likewise.
14714 * gdb.base/break.exp: Drop references to removed code.
14716 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14718 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14721 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14723 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14725 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14727 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14728 logic into perform_all_tests() and invoke it with and without
14729 function header prototypes.
14730 (do_function_calls): Remove conditional XFAIL for PR 5318.
14731 (rerun_and_prepare): Remove duplicate code.
14732 (perform_all_tests): New. Main logic moved here.
14734 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14736 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14737 code guarded by #ifdef NO_PROTOTYPES.
14738 (t_double_many_args): Likewise.
14739 (DEF_FUNC_MANY_ARGS_1): Likewise.
14740 (DEF_FUNC_VALUES_1): Likewise.
14741 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14742 guarded by #ifdef PROTOTYPES.
14744 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14746 * gdb.mi/mi-console.c: Add eye-catcher.
14747 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14748 instead of literal line number.
14750 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14752 * gdb.base/shr2.c: Add eye-catcher.
14753 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14756 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14758 * gdb.base/jump.c: Add eye-catchers.
14759 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14762 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14764 * gdb.base/execd-prog.c: Add eye-catchers.
14765 * gdb.base/foll-exec.c: Likewise.
14766 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14769 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14771 * gdb.base/ending-run.c: Add eye-catchers.
14772 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14773 literal line numbers.
14775 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14777 * gdb.base/call-rt-st.c: Add eye-catchers.
14778 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14779 literal line numbers.
14781 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14783 * gdb.base/call-ar-st.c: Add eye-catchers.
14784 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14785 literal line numbers.
14787 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14789 * gdb.base/average.c: Add eye-catchers.
14790 * gdb.base/sum.c: Likewise.
14791 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14792 regexps dynamically.
14794 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14796 * gdb.base/solib1.c: Add eye-catchers.
14797 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14798 literal line numbers.
14800 2014-11-12 Pedro Alves <palves@redhat.com>
14802 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14805 2014-11-12 Pedro Alves <palves@redhat.com>
14807 * gdb.arch/i386-bp_permanent.c: New file.
14808 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14809 (srcfile): Set to i386-bp_permanent.c.
14810 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14811 that stepi does not execute the 'leave' instruction, instead of
14812 testing it does execute.
14813 * gdb.base/bp-permanent.c: New file.
14814 * gdb.base/bp-permanent.exp: New file.
14816 2014-11-10 Doug Evans <xdje42@gmail.com>
14819 * gdb.base/symtab-search-order.exp: New file.
14820 * gdb.base/symtab-search-order.c: New file.
14821 * gdb.base/symtab-search-order-1.c: New file.
14822 * gdb.base/symtab-search-order-shlib-1.c: New file.
14824 2014-11-07 Pedro Alves <palves@redhat.com>
14827 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14830 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14833 * gdb.cp/pr17494.cc: New file.
14834 * gdb.cp/pr17494.exp: New file.
14836 2014-11-02 Yao Qi <yao@codesourcery.com>
14838 * gdb.python/python.exp: Get working directory and match the
14839 output of "set extended-prompt \\w " with it.
14841 2014-10-30 Doug Evans <dje@google.com>
14843 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14845 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14848 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14850 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14851 * gdb.base/realname-expand.exp: Likewise.
14852 * gdb.linespec/macro-relative.exp: Likewise.
14854 2014-10-29 Pedro Alves <palves@redhat.com>
14857 * gdb.threads/schedlock.c (some_function): New function.
14858 (call_function): New global.
14859 (MAYBE_CALL_SOME_FUNCTION): New macro.
14860 (thread_function): Call it.
14861 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14862 and use it instead of a global counter. Adjust all callers.
14863 (get_current_thread): Use "find current thread" for test message
14864 here rather than having all callers pass down the same string.
14865 (goto_loop): New procedure, factored out from ...
14866 (my_continue): ... this.
14867 (step_ten_loops): Change parameter from test message to command to
14869 (list_count): Delete global.
14870 (check_result): New procedure, factored out from duplicate top
14872 (continue tests): Wrap in with_test_prefix.
14873 (test_step): New procedure, factored out from duplicate top level
14875 (top level): Test "step" in combination with all scheduler-locking
14876 modes. Test "next" in combination with all scheduler-locking
14877 modes, and in combination with stepping over a function call or
14879 * gdb.threads/next-bp-other-thread.c: New file.
14880 * gdb.threads/next-bp-other-thread.exp: New file.
14882 2014-10-29 Pedro Alves <palves@redhat.com>
14885 * gdb.python/python.exp: Test a multi-line command that spawns
14886 interactive Python.
14887 * gdb.base/multi-line-starts-subshell.exp: New file.
14889 2014-10-29 Yao Qi <yao@codesourcery.com>
14891 * gdb.base/fileio.exp: Make directories on host.
14893 2014-10-29 Yao Qi <yao@codesourcery.com>
14895 * gdb.base/fileio.c (test_write): Close the file.
14897 2014-10-28 Pedro Alves <palves@redhat.com>
14900 * gdb.base/sigstep.c (no_handler): New global.
14901 (main): If 'no_handler is true, set the signal handlers to
14903 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14904 with_sw_watch and no_handler parameters. Handle them.
14905 (top level) <stepping over handler when stopped at a breakpoint
14906 test>: Add a test axis for testing with a software watchpoint, and
14907 another for testing with the signal handler set to SIG_IGN.
14908 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14909 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14911 2014-10-28 Pedro Alves <palves@redhat.com>
14914 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14915 * gdb.base/sigstep.exp (other_handler_location): New global.
14916 (advance): Support stepping into the signal handler, and running
14917 commands while in the handler.
14918 (in_handler_map): New global.
14919 (top level): In the advance test, add combinations for getting
14920 into the handler with stepping commands, and for running commands
14921 in the handler. Add comment descripting the advancei tests.
14923 2014-10-28 Pedro Alves <palves@redhat.com>
14925 * gdb.base/sigstep.exp: Use build_executable instead of
14926 prepare_for_testing.
14927 (top level): Move code that starts GDB, runs to main and creates a
14929 (restart): ... this new procedure.
14930 (top level): Move backtrace from signal handler test to ...
14931 (validate_backtrace): ... this new procedure.
14932 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14933 with_test_prefix. Always restart GDB.
14934 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14935 with_test_prefix. Always restart GDB. No need to delete
14936 breakpoints after the test.
14937 (test_skip_handler): Remove prefix parameter.
14938 (skip_over_handler, breakpoint_to_handler)
14939 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14940 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14941 restart GDB. No need to delete breakpoints after the test.
14942 (top level): Use foreach to call the test procedures with
14943 different commands.
14945 2014-10-28 Pedro Alves <palves@redhat.com>
14947 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14948 instead of GNATS numbers.
14949 * gdb.base/sigbpt.exp: Likewise.
14950 * gdb.base/siginfo.exp: Likewise.
14951 * gdb.base/sigstep.exp: Likewise.
14953 2014-10-27 Pedro Alves <palves@redhat.com>
14955 * gdb.base/sigstep.c (dummy): New global.
14956 (main): Issue a couple writes to the new global.
14957 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14959 (skip_over_handler): Use test_skip_handler.
14960 (top level): Call skip_over_handler for stepi and nexti too.
14961 (breakpoint_over_handler): Use test_skip_handler.
14962 (top level): Call breakpoint_over_handler for stepi and nexti too.
14964 2014-10-27 Yao Qi <yao@codesourcery.com>
14966 * gdb.trace/tfile.c (adjust_function_address)
14967 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14968 function descriptor.
14970 2014-10-24 Don Breazeal <donb@codesourcery.com>
14972 * gdb.base/foll-fork.exp (test_follow_fork,
14973 catch_fork_child_follow): Check for updated fork messages emitted
14975 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14976 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14977 vfork_and_exec_child_follow_through_step): Check for updated vfork
14978 messages emitted from infrun.c.
14980 2014-10-24 Pedro Alves <palves@redhat.com>
14982 * gdb.base/corefile.exp: Remove references to ultrix.
14983 * gdb.base/interrupt.exp: Likewise.
14984 * gdb.base/whatis.exp: Likewise.
14985 * gdb.gdb/selftest.exp: Likewise.
14986 * gdb.threads/manythreads.exp: Likewise.
14987 * gdb.threads/print-threads.exp: Likewise.
14988 * gdb.threads/pthreads.exp:: Likewise.
14989 * gdb.threads/schedlock.exp: Likewise.
14991 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14993 * gdb.cp/non-trivial-retval.cc: Add a test case.
14994 * gdb.cp/non-trivial-retval.exp: Add a test.
14996 2014-10-20 Yao Qi <yao@codesourcery.com>
14998 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14999 * gdb.python/py-objfile-script-gdb.py: New file.
15000 * gdb.python/py-objfile-script.exp: Update reference to
15001 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15002 of remote_download. Remove the dest file.
15004 2014-10-20 Yao Qi <yao@codesourcery.com>
15006 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15007 * gdb.base/step-line.exp: Likewise.
15008 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15009 * gdb.dwarf2/dw2-basic.exp: Likewise.
15010 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15011 * gdb.dwarf2/dw2-filename.exp: Likewise.
15012 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15013 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15014 * gdb.dwarf2/dw2-producer.exp: Likewise.
15015 * gdb.dwarf2/mac-fileno.exp: Likewise.
15016 * gdb.python/py-frame-args.exp: Likewise.
15017 * gdb.python/py-framefilter.exp: Likewise.
15018 * gdb.python/py-mi.exp: Likewise.
15019 * gdb.python/py-objfile-script.exp: Likewise
15020 * gdb.python/py-pp-integral.exp: Likewise.
15021 * gdb.python/py-pp-re-notag.exp: Likewise.
15022 * gdb.python/py-prettyprint.exp: Likewise.
15023 * gdb.python/py-section-script.exp: Likewise.
15024 * gdb.python/py-typeprint.exp: Likewise.
15025 * gdb.python/py-xmethods.exp: Likewise.
15026 * gdb.stabs/weird.exp: Likewise.
15027 * gdb.xml/tdesc-regs.exp: Likewise.
15029 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15031 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15032 (out_cu): Use addr_len for the size of addresses.
15033 (out_line): Likewise. Size DW_LNE_set_address instruction
15034 according to addr_len.
15035 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15036 (FUNC): Add START_INSNS to definition.
15038 2014-10-18 Yao Qi <yao@codesourcery.com>
15040 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15041 gdb_has_argv0 return true.
15042 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15043 check [target_info exists noargs], check [gdb_has_argv0]
15045 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15046 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15049 2014-10-17 Doug Evans <dje@google.com>
15051 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15053 * gdb.python/py-events.py: Add clear_objfiles event.
15055 2014-10-17 Doug Evans <dje@google.com>
15057 * gdb.python/py-objfile.exp: Test progspace attribute.
15059 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15061 * gdb.guile/scm-breakpoint.exp: Do not assume any
15062 directory separators when matching source file paths.
15063 * gdb.python/py-breakpoint.exp: Likewise.
15064 * gdb.reverse/break-precsave.exp: Likewise.
15065 * gdb.reverse/break-reverse.exp: Likewise.
15066 * gdb.reverse/consecutive-precsave.exp: Likewise.
15067 * gdb.reverse/finish-precsave.exp: Likewise.
15068 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15069 * gdb.reverse/finish-reverse.exp: Likewise.
15070 * gdb.reverse/i386-precsave.exp: Likewise.
15071 * gdb.reverse/i387-env-reverse.exp: Likewise.
15072 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15073 * gdb.reverse/machinestate-precsave.exp: Likewise.
15074 * gdb.reverse/machinestate.exp: Likewise.
15075 * gdb.reverse/sigall-precsave.exp: Likewise.
15076 * gdb.reverse/solib-precsave.exp: Likewise.
15077 * gdb.reverse/step-precsave.exp: Likewise.
15078 * gdb.reverse/until-precsave.exp: Likewise.
15079 * gdb.reverse/watch-precsave.exp: Likewise.
15080 * gdb.reverse/watch-reverse.exp: Likewise.
15082 2014-10-17 Yao Qi <yao@codesourcery.com>
15084 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15085 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15087 2014-10-17 Pedro Alves <palves@redhat.com>
15090 * gdb.base/bg-execution-repeat.c: New file.
15091 * gdb.base/bg-execution-repeat.exp: New file.
15093 2014-10-17 Pedro Alves <palves@redhat.com>
15096 * gdb.base/continue-all-already-running.c: New file.
15097 * gdb.base/continue-all-already-running.exp: New file.
15099 2014-10-17 Pedro Alves <palves@redhat.com>
15102 * gdb.base/annota-input-while-running.c: New file.
15103 * gdb.base/annota-input-while-running.exp: New file.
15105 2014-10-17 Pedro Alves <palves@redhat.com>
15107 * gdb.base/callfuncs.exp: emove references to osf.
15108 * gdb.base/sigall.exp: Likewise.
15109 * gdb.gdb/selftest.exp: Likewise.
15110 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15111 * gdb.mi/non-stop.c: Likewise.
15112 * gdb.mi/pthreads.c: Likewise.
15113 * gdb.reverse/sigall-precsave.exp: Likewise.
15114 * gdb.reverse/sigall-reverse.exp: Likewise.
15115 * gdb.threads/pthreads.c: Likewise.
15116 * gdb.threads/pthreads.exp: Likewise.
15118 2014-10-17 Yao Qi <yao@codesourcery.com>
15120 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15121 check 'target_info exists noargs'.
15122 (test_command_prompt_position): Likewise.
15123 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15125 (progvar_simple_while_test): Likewise.
15126 (progvar_complex_if_while_test): Likewise.
15127 (if_while_breakpoint_command_test): Likewise.
15128 (infrun_breakpoint_command_test): Likewise.
15129 (breakpoint_command_test): Likewise.
15130 (watchpoint_command_test): Likewise.
15131 (bp_deleted_in_command_test): Likewise.
15132 (temporary_breakpoint_commands): Likewise.
15134 2014-10-16 Yao Qi <yao@codesourcery.com>
15136 * gdb.base/remotetimeout.exp: Remove noargs checking.
15138 2014-10-15 Pedro Alves <palves@redhat.com>
15140 PR breakpoints/9649
15141 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15142 * gdb.base/breakpoint-in-ro-region.exp
15143 (probe_target_hardware_step): New procedure.
15144 (top level): Probe hardware stepping and hardware breakpoint
15145 support. Test stepping through a read-only region, with both
15146 "breakpoint auto-hw" on and off and both "always-inserted" on and
15149 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15151 * gdb.dlang/demangle.exp: Update for demangling changes.
15153 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15155 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15156 * gdb.cp/non-trivial-retval.exp: Add new tests.
15158 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15162 * gdb.cp/non-trivial-retval.cc: New file.
15163 * gdb.cp/non-trivial-retval.exp: New file.
15165 2014-10-15 Yao Qi <yao@codesourcery.com>
15167 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15170 2014-10-15 Yao Qi <yao@codesourcery.com>
15172 * gdb.python/py-symbol.exp: Match file base name if host is
15173 remote, otherwise match file name with dir name.
15174 * gdb.python/py-symtab.exp: Likewise.
15175 * gdb.python/python.exp: Likewise.
15177 2014-10-15 Yao Qi <yao@codesourcery.com>
15179 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15181 * gdb.python/py-symtab.exp: Likewise.
15182 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15185 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15187 * gdb.ada/addr_arith: New testcase.
15189 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15191 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15192 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15193 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15194 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15196 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15198 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15199 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15200 * gdb.arch/stap-eval-lang-ada.exp: New file.
15202 2014-10-14 Yao Qi <yao@codesourcery.com>
15204 * gdb.mi/mi-var-child.c (nothing1): New function.
15205 (nothing2): New function.
15206 (do_children_tests): Set function pointers by nothing1 and
15208 * gdb.mi/mi-var-child.exp: Step over new added statements.
15209 Update test to match the new output.
15210 * gdb.mi/var-cmd.c (nothing1): New function.
15211 (nothing2): New function.
15212 (do_children_tests): Set function pointers by nothing1 and
15214 * gdb.mi/mi-var-display.exp: Update test to match output.
15215 Step to the line specified by $line_dct_nothing.
15216 Increase the number of lines to step.
15218 2014-10-14 Yao Qi <yao@codesourcery.com>
15220 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15222 * gdb.mi/mi2-var-child.exp: Likewise.
15224 2014-10-13 Doug Evans <dje@google.com>
15226 * gdb.python/py-objfile.exp: Change name of file name test.
15228 2014-10-13 Doug Evans <dje@google.com>
15230 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15231 from the start of the CU.
15233 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15234 Yao Qi <yao@codesourcery.com>
15236 Fix "save breakpoints" for "catch" command.
15237 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15238 Remove -nonewline. Match also the added "main" line.
15240 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15242 Fix "save breakpoints" for "disable $bpnum" command.
15243 * gdb.base/save-bp.c (main): Add label.
15244 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15246 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15248 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15250 2014-10-11 Yao Qi <yao@codesourcery.com>
15252 * gdb.server/server-kill.exp: Execute command
15253 "set remote trace-status-packet on" before "tstatus".
15255 2014-10-11 Yao Qi <yao@codesourcery.com>
15257 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15258 (main): Call getppid.
15259 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15260 and continue to it. Read variable "server_pid".
15262 2014-10-11 Yao Qi <yao@codesourcery.com>
15264 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15266 2014-10-11 Yao Qi <yao@codesourcery.com>
15268 * gdb.threads/thread-find.exp: Don't execute command
15270 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15271 * gdb.threads/linux-dp.exp: Don't check the condition
15272 $threads_created equals to zero.
15274 2014-10-10 Pedro Alves <palves@redhat.com>
15276 * gdb.base/bigcore.exp: Remove references to IRIX.
15277 * gdb.base/funcargs.exp: Likewise.
15278 * gdb.base/interrupt.exp: Likewise.
15279 * gdb.base/mips_pro.exp: Likewise.
15280 * gdb.base/nodebug.exp: Likewise.
15281 * gdb.base/setvar.exp: Likewise.
15282 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15284 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15285 Pedro Alves <palves@redhat.com>
15288 * gdb.base/vdso-warning.c: New file.
15289 * gdb.base/vdso-warning.exp: New file.
15291 2014-10-02 Doug Evans <dje@google.com>
15293 * gdb.base/structs.c (main): Don't run forever.
15295 2014-10-02 Pedro Alves <palves@redhat.com>
15297 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15298 (top level) <stop threads 1, stop threads 2>: Use it.
15300 2014-10-02 Pedro Alves <palves@redhat.com>
15302 * gdb.threads/break-while-running.exp (test): Add new
15303 'update_thread_list' argument. Skip "info threads" if false.
15304 (top level): Add new 'update_thread_list' axis.
15306 2014-10-02 Pedro Alves <palves@redhat.com>
15308 PR breakpoints/17431
15309 * gdb.base/execl-update-breakpoints.c: New file.
15310 * gdb.base/execl-update-breakpoints.exp: New file.
15312 2014-10-01 Pedro Alves <palves@redhat.com>
15314 * gdb.base/breakpoint-in-ro-region.c: New file.
15315 * gdb.base/breakpoint-in-ro-region.exp: New file.
15317 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15319 * gdb.mi/mi-exit-code.exp: New file.
15320 * gdb.mi/mi-exit-code.c: New file.
15322 2014-09-30 Yao Qi <yao@codesourcery.com>
15324 * lib/prelink-support.exp (build_executable_own_libs): Error if
15325 the target isn't native.
15327 2014-09-30 Yao Qi <yao@codesourcery.com>
15329 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15332 2014-09-22 Pedro Alves <palves@redhat.com>
15334 * gdb.threads/break-while-running.exp: New file.
15335 * gdb.threads/break-while-running.c: New file.
15337 2014-09-19 Yao Qi <yao@codesourcery.com>
15339 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15340 Invoke test. Restart GDB with --readnow and invoke test again.
15342 2014-09-19 Yao Qi <yao@codesourcery.com>
15344 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15345 proc set_breakpoint_on_gcd_function. Invoke
15346 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15347 invoke set_breakpoint_on_gcd_function again.
15349 2014-09-18 Doug Evans <dje@google.com>
15351 * gdb.dwarf2/symtab-producer.exp: New file.
15353 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15355 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15356 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15357 * gdb.base/global-var-nested-by-dso.c: Likewise.
15358 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15360 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15361 Pedro Alves <palves@redhat.com>
15363 * gdb.base/watch-bitfields.exp: Pass string other than test file
15364 name to prepare_for_testing.
15365 (watch): New procedure.
15366 (expect_watchpoint): Use with_test_prefix.
15367 (top level): Factor out tests to ...
15368 (test_watch_location, test_regular_watch): ... these new
15369 procedures, and use with_test_prefix and gdb_continue_to_end.
15371 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15373 PR breakpoints/12526
15374 * gdb.base/watch-bitfields.exp: New file.
15375 * gdb.base/watch-bitfields.c: New file.
15377 2014-09-16 Pedro Alves <palves@redhat.com>
15379 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15380 software and hardware addresses, not software address against
15383 2014-09-16 Pedro Alves <palves@redhat.com>
15385 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15386 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15388 2014-09-16 Pedro Alves <palves@redhat.com>
15390 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15392 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15393 "*-*-vxworks*" throughout.
15394 * gdb.base/break.exp: Likewise.
15395 * gdb.base/default.exp: Likewise.
15396 * gdb.base/scope.exp: Likewise.
15397 * gdb.base/sepdebug.exp: Likewise.
15398 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15400 * gdb.base/run.c: Likewise.
15401 * gdb.base/sepdebug.c: Likewise.
15402 * gdb.hp/gdb.aCC/run.c: Likewise.
15403 * gdb.reverse/until-reverse.c: Likewise.
15404 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15406 2014-09-16 Yao Qi <yao@codesourcery.com>
15408 * boards/local-remote-host-native.exp: New file.
15410 2014-09-14 Doug Evans <xdje42@gmail.com>
15412 * gdb.threads/queue-signal.c (thread_count): New variable.
15413 (thread_count_mutex, thread_count_condvar): New variables.
15414 (incr_thread_count, wait_all_threads_running): New functions.
15415 (main): Wait for all threads to be in their thread functions.
15417 2014-09-13 Doug Evans <xdje42@gmail.com>
15419 * gdb.threads/queue-signal.c: New file.
15420 * gdb.threads/queue-signal.exp: New file.
15422 2014-09-13 Doug Evans <xdje42@gmail.com>
15424 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15425 be consistent with what default_gdb_init uses.
15426 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15427 the plain text of the prompt. Add some logging printfs.
15428 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15430 2014-09-12 Pedro Alves <palves@redhat.com>
15432 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15433 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15434 * gdb.arch/i386-size-overlap.exp: Likewise.
15435 * gdb.arch/i386-size.exp: Likewise.
15436 * gdb.arch/i386-unwind.exp: Likewise.
15437 * gdb.base/a2-run.exp: Likewise.
15438 * gdb.base/break.exp: Likewise.
15439 * gdb.base/charset.exp: Likewise.
15440 * gdb.base/chng-syms.exp: Likewise.
15441 * gdb.base/commands.exp: Likewise.
15442 * gdb.base/dbx.exp: Likewise.
15443 * gdb.base/find.exp: Likewise.
15444 * gdb.base/funcargs.exp: Likewise.
15445 * gdb.base/jit-simple.exp: Likewise.
15446 * gdb.base/reread.exp: Likewise.
15447 * gdb.base/sepdebug.exp: Likewise.
15448 * gdb.base/step-bt.exp: Likewise.
15449 * gdb.cp/mb-inline.exp: Likewise.
15450 * gdb.cp/mb-templates.exp: Likewise.
15451 * gdb.objc/basicclass.exp: Likewise.
15452 * gdb.threads/killed.exp: Likewise.
15454 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15457 * gdb.arch/powerpc-stackless.S: New file.
15458 * gdb.arch/powerpc-stackless.exp: New file.
15460 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15462 * gdb.base/attach.c: Include unistd.h.
15463 (main): Call alarm. Add label postloop.
15464 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15465 gdb_breakpoint, gdb_continue_to_breakpoint.
15466 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15468 2014-09-11 Pedro Alves <palves@redhat.com>
15471 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15472 * gdb.base/attach.exp (test_command_line_attach_run): New
15474 (top level): Call it.
15476 2014-09-11 Pedro Alves <palves@redhat.com>
15478 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15479 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15480 (do_command_attach_tests): Use spawn_wait_for_attach.
15481 * gdb.base/solib-overlap.exp: Likewise.
15482 * gdb.multi/multi-attach.exp: Likewise.
15483 * gdb.python/py-prompt.exp: Likewise.
15484 * gdb.python/py-sync-interp.exp: Likewise.
15485 * gdb.server/ext-attach.exp: Likewise.
15487 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15489 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15490 command in testcase. Simplify testcase.
15492 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15494 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15496 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15498 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15500 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15502 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15504 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15506 * gdb.dwarf2/dynarr-ptr.c: New file.
15507 * gdb.dwarf2/dynarr-ptr.exp: New file.
15509 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15511 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15512 of 30 rather than hardcoding 120 for a slow test case. Take the
15513 `gdb,timeout' target setting into account for this calculation.
15514 Don't extend the timeout for the test cases that don't need it.
15516 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15518 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15519 a factor of 2 for a slow test case. Take the `gdb,timeout'
15520 target setting into account for this calculation.
15521 * gdb.reverse/until-precsave.exp: Increase the timeout by
15522 a factor of 15 and 3 respectively rather than adding 120
15523 for a pair of slow test cases. Take the `gdb,timeout'
15524 target setting into account for this calculation.
15526 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15528 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15529 timeout, don't pass one down to gdb_expect.
15530 (gdb_expect): Rework timeout selection.
15532 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15534 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15535 exception on timeout.
15536 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15537 (gdbserver_start_extended): Catch any `gdbserver_start' error
15539 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15540 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15541 `gdbserver_gdb_load' error exceptions.
15543 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15545 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15546 120 on waiting for the TCP socket to open.
15548 2014-09-09 Doug Evans <xdje42@gmail.com>
15550 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15551 _caller_matches, _any_caller_is, _any_caller_matches.
15553 2014-09-09 Doug Evans <xdje42@gmail.com>
15555 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15557 2014-09-09 Yao Qi <yao@codesourcery.com>
15559 * gdb.mi/mi-var-display.exp: Set print symbol off.
15561 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15564 * gdb.base/commands.exp: Add tests to verify user-defined
15565 commands with empty bodies.
15566 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15567 python commands in `show user command`.
15568 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15569 scheme commands in `show user command`.
15571 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15574 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15575 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15576 * gdb.python/py-framefilter-invalidarg.exp: New file.
15577 * gdb.python/py-framefilter-invalidarg.py: New file.
15579 2014-09-06 Doug Evans <xdje42@gmail.com>
15582 * gdb.python/py-caller-is.c: New file.
15583 * gdb.python/py-caller-is.exp: New file.
15585 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15588 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15589 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15591 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15594 * gdb.fortran/print-formatted.exp: New file.
15595 * gdb.fortran/print-formatted.f90: Likewise.
15597 2014-09-03 Sasha Smundak <asmundak@google.com>
15599 * gdb.python/py-frame.exp: Test Frame.read_register.
15601 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15604 * gdb.python/py-completion.exp: New file.
15605 * gdb.python/py-completion.py: Likewise.
15607 2014-08-28 Doug Evans <dje@google.com>
15609 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15610 eax,etc. are live with values set by gdb and thus the compiler can't
15612 * gdb.arch/i386-pseudo.c (main): Ditto.
15614 2014-08-27 Doug Evans <dje@google.com>
15616 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15618 2014-08-25 Doug Evans <dje@google.com>
15620 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15623 2014-08-25 Doug Evans <dje@google.com>
15625 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15627 2014-08-24 Yao Qi <yao@codesourcery.com>
15629 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15631 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15633 2014-08-22 Doug Evans <dje@google.com>
15636 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15637 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15638 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15640 2014-08-22 Yao Qi <yao@codesourcery.com>
15642 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15643 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15644 * gdb.python/python.exp: Likewise. Use .py file on the host
15645 instead of the build.
15647 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15649 * gdb.threads/gcore-stale-thread.c: New file.
15650 * gdb.threads/gcore-stale-thread.exp: New file.
15652 2014-08-21 Pedro Alves <palves@redhat.com>
15654 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15655 * gdb.base/gcore-relro-pie.exp: Likewise.
15656 * gdb.base/gcore-relro.exp: Likewise.
15657 * gdb.base/gcore.exp: Likewise.
15658 * gdb.base/print-symbol-loading.exp: Likewise.
15659 * gdb.threads/gcore-thread.exp: Likewise.
15660 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15662 2014-08-20 Pedro Alves <palves@redhat.com>
15663 Jan Kratochvil <jan.kratochvil@redhat.com>
15665 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15667 (EXPECT): Handle READ1 being set.
15668 (all): Depend on EXTRA_RULES.
15669 (check-read1, expect-read1, read1.so, read1): New rules.
15670 * README (Testsuite Parameters): Document the READ1 make variable.
15671 (Race detection): New section.
15672 * configure: Regenerate.
15673 * configure.ac: If build==host==target, and running under a
15674 GNU/glibc system, add read1 to the extra Makefile rules.
15675 (EXTRA_RULES): AC_SUBST it.
15676 * lib/read1.c: New file.
15678 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15680 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15681 the handling of variables declared as a typedef to an array
15682 which a DW_AT_data_location attribute.
15684 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15685 Pedro Alves <palves@redhat.com>
15689 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15692 2014-08-19 Pedro Alves <palves@redhat.com>
15694 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15696 2014-08-19 Yao Qi <yao@codesourcery.com>
15698 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15701 2014-08-18 David Blaikie <dblaikie@gmail.com>
15703 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15705 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15707 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15708 attribute in array range.
15710 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15712 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15714 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15717 * gdb.cp/pr17132.cc: New file.
15718 * gdb.cp/pr17132.exp: New file.
15720 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15722 * gdb.python/py-xmethods.py (A_getarrayind)
15723 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15724 Use 'print' with function call syntax.
15725 (E_method_matcher.match): Fix tab vs space indentation mixup.
15727 2014-08-15 Yao Qi <yao@codesourcery.com>
15729 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15732 2014-08-15 Yao Qi <yao@codesourcery.com>
15734 * gdb.cp/casts.exp: Set print symbol off.
15735 * gdb.cp/class2.exp: Likewise.
15736 * gdb.cp/overload.exp: Likewise.
15737 * gdb.cp/templates.exp: Likewise.
15739 2014-08-11 Doug Evans <dje@google.com>
15741 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15742 (test_load_shlib): Update.
15744 2014-08-09 Yao Qi <yao@codesourcery.com>
15746 * gdb.base/display.exp: Invoke is_address_zero_readable.
15747 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15748 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15749 * gdb.base/hbreak-unmapped.exp: Return if
15750 is_address_zero_readable returns true.
15751 * gdb.base/signest.exp: Likewise.
15752 * gdb.base/signull.exp: Likewise.
15753 * gdb.base/sigbpt.exp: Likewise.
15754 * gdb.guile/scm-disasm.exp: Do the test if
15755 is_address_zero_readable returns false.
15756 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15757 * gdb.python/py-arch.exp: Likewise.
15758 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15759 * lib/gdb.exp (is_address_zero_readable): New proc.
15761 2014-08-09 Yao Qi <yao@codesourcery.com>
15764 * gdb.mi/mi-var-display.exp: Make test messages unique.
15766 2014-08-04 Tom Tromey <tromey@redhat.com>
15768 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15771 2014-08-04 Tom Tromey <tromey@redhat.com>
15773 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15776 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15778 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15779 inner_vla_struct_object_size.
15780 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15783 2014-07-30 Pedro Alves <palves@redhat.com>
15785 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15788 2014-07-29 Yao Qi <yao@codesourcery.com>
15791 * gdb.base/until-nodebug.exp: New.
15793 2014-07-28 Doug Evans <xdje42@gmail.com>
15796 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15797 previously existing parameter, and previously ambiguously spelled
15800 2014-07-28 Will Newton <will.newton@linaro.org>
15802 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15804 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15805 Doug Evans <xdje42@gmail.com>
15808 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15810 2014-07-25 Pedro Alves <palves@redhat.com>
15812 * gdb.threads/signal-command-handle-nopass.c: New file.
15813 * gdb.threads/signal-command-handle-nopass.exp: New file.
15814 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15815 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15816 * gdb.threads/signal-delivered-right-thread.c: New file.
15817 * gdb.threads/signal-delivered-right-thread.exp: New file.
15819 2014-07-25 Pedro Alves <palves@redhat.com>
15821 * gdb.base/double-prompt-target-event-error.exp
15822 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15824 (cancel_pagination_in_target_event): Rework double prompt
15826 * gdb.base/paginate-after-ctrl-c-running.exp
15827 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15829 * gdb.base/paginate-bg-execution.exp
15830 (test_bg_execution_pagination_return)
15831 (test_bg_execution_pagination_cancel): Remove '-notransfer
15833 * gdb.base/paginate-execution-startup.exp
15834 (test_fg_execution_pagination_return)
15835 (test_fg_execution_pagination_cancel): Remove '-notransfer
15837 * gdb.base/paginate-inferior-exit.exp
15838 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15840 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15841 * lib/gdb.exp (pagination_prompt): Run text through
15843 (gdb_test_multiple): Match $pagination_prompt instead of
15845 (string_to_regexp): Move to lib/gdb-utils.exp.
15847 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15849 * gdb.arch/amd64-entry-value-paramref.S: New file.
15850 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15851 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15852 * gdb.arch/amd64-optimout-repeat.S: New file.
15853 * gdb.arch/amd64-optimout-repeat.c: New file.
15854 * gdb.arch/amd64-optimout-repeat.exp: New file.
15856 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15859 * gdb.base/statistics.exp: New file.
15861 2014-07-17 Doug Evans <dje@google.com>
15864 * gdb.base/maint.exp: Update testing of per-command stats.
15866 2014-07-16 Pedro Alves <palves@redhat.com>
15868 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15869 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15870 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15871 (tfile_write_buf): New functions.
15872 (add_memory_block): Rewrite using the above.
15873 (adjust_function_address): New function.
15874 (FUNCTION_ADDRESS): New macro.
15875 (write_basic_trace_file): Remove short_x local, and use
15876 tfile_write_16. Change type of func_addr local to unsigned long
15877 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15878 here. Cast argument of add_memory_block to char pointer.
15879 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15880 (main): Remove parameters.
15881 * gdb.trace/tfile.exp: Remove nowarnings.
15883 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15885 * gdb.base/debug-expr.exp: Test string evaluation with
15886 "debug expression" on.
15888 2014-07-15 Pedro Alves <palves@redhat.com>
15890 * gdb.base/reread.exp: Use clean_restart.
15892 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15894 * gdb.arch/avr-flash-qualifer.c: New.
15895 * gdb.arch/avr-flash-qualifer.exp: New.
15897 2014-07-14 Pedro Alves <palves@redhat.com>
15899 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15900 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15902 2014-07-14 Pedro Alves <palves@redhat.com>
15904 * gdb.base/double-prompt-target-event-error.c: New file.
15905 * gdb.base/double-prompt-target-event-error.exp: New file.
15907 2014-07-14 Pedro Alves <palves@redhat.com>
15910 * gdb.base/paginate-inferior-exit.c: New file.
15911 * gdb.base/paginate-inferior-exit.exp: New file.
15913 2014-07-14 Pedro Alves <palves@redhat.com>
15916 * gdb.base/paginate-bg-execution.c: New file.
15917 * gdb.base/paginate-bg-execution.exp: New file.
15919 2014-07-14 Pedro Alves <palves@redhat.com>
15922 * gdb.base/paginate-execution-startup.c: New file.
15923 * gdb.base/paginate-execution-startup.exp: New file.
15924 * lib/gdb.exp (pagination_prompt): New global.
15925 (default_gdb_spawn): New procedure, factored out from
15927 (default_gdb_start): Adjust to call default_gdb_spawn.
15928 (gdb_spawn): New procedure.
15930 2014-07-14 Pedro Alves <palves@redhat.com>
15932 * lib/gdb.exp (gdb_assert): New procedure.
15933 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15935 2014-07-14 Pedro Alves <palves@redhat.com>
15937 * gdb.base/execution-termios.c: New file.
15938 * gdb.base/execution-termios.exp: New file.
15940 2014-07-14 Tom Tromey <tromey@redhat.com>
15942 * gdb.cp/vla-cxx.cc: New file.
15943 * gdb.cp/vla-cxx.exp: New file.
15945 2014-07-14 Tom Tromey <tromey@redhat.com>
15947 * gdb.reverse/rerun-prec.c: New file.
15948 * gdb.reverse/rerun-prec.exp: New file.
15950 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15951 Maciej W. Rozycki <macro@codesourcery.com>
15953 * lib/gdb-utils.exp: New file.
15954 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15955 inline `gdb_init_command' processing.
15956 (gdb_start_cmd): Likewise.
15957 * lib/mi-support.exp (mi_run_cmd): Likewise.
15958 * README: Document `gdb_init_command' and `gdb_init_commands'.
15960 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15962 Fix false FAIL running under a very long directory name.
15963 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15964 and "set print elements 10000". Twice.
15966 2014-07-11 Yao Qi <yao@codesourcery.com>
15968 * gdb.base/exprs.exp: "set print symbol off".
15970 2014-07-11 Pedro Alves <palves@redhat.com>
15972 * gdb.threads/kill.c: New file.
15973 * gdb.threads/kill.exp: New file.
15975 2014-07-10 Yao Qi <yao@codesourcery.com>
15977 * gdb.trace/tfile.c (write_basic_trace_file)
15978 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15979 address written to trace file.
15981 2014-07-09 Pedro Alves <palves@redhat.com>
15983 * gdb.base/attach-wait-input.exp: New file.
15984 * gdb.base/attach-wait-input.c: New file.
15986 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15988 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15989 setting up test structures.
15990 (main): Call new test function.
15991 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15992 test function, continue into test function and walk test
15995 2014-07-02 Yao Qi <yao@codesourcery.com>
15997 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15998 'bar_start' at the beginning of functions 'foo' and 'bar'
16000 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16001 instead of 'foo' and 'bar'.
16003 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16005 * gdb.btrace/segv.exp: New.
16006 * gdb.btrace/segv.c: New.
16008 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16010 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16013 2014-06-30 Mark Wielaard <mjw@redhat.com>
16015 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16016 vulture, vilify, villar): New volatile array constants.
16017 (vindictive, vegetation): New const volatile array constants.
16018 * gdb.base/volatile.exp: Test volatile and const volatile array
16021 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16023 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16024 target lacks support for awatch, rwatch, or hbreak.
16026 2014-06-27 Yao Qi <yao@codesourcery.com>
16028 * gdb.multi/dummy-frame-restore.exp: New.
16029 * gdb.multi/dummy-frame-restore.c: New.
16031 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16033 * gdb.btrace/gcore.exp: New.
16035 2014-06-23 Pedro Alves <palves@redhat.com>
16037 * gdb.base/watchpoint-reuse-slot.c: New file.
16038 * gdb.base/watchpoint-reuse-slot.exp: New file.
16040 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16042 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16043 progspace's filename in 'info', 'enable' and 'disable' command
16046 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16048 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16049 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16050 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16052 2014-06-20 Gary Benson <gbenson@redhat.com>
16054 * gdb.arch/i386-avx.exp: Fix include file location.
16055 * gdb.arch/i386-sse.exp: Likewise.
16057 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16059 * gdb.dlang/expression.exp: New file.
16061 2014-06-19 Pedro Alves <palves@redhat.com>
16063 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16065 (top level): ... here. Iterate running tests under different
16066 scheduler-locking settings.
16068 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16070 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16071 to DW_FORM_addr and use non-zero addresses.
16073 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16076 * gdb.python/py-xmethods.cc: Add global function call counters and
16077 increment them in their respective functions. Remove "cout"
16079 * gdb.python/py-xmethods.exp: Make tests check the global function
16080 call counters instead of depending on inferior IO.
16082 2014-06-18 Don Breazeal <donb@codesourcery.com>
16084 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16086 (explicit_fork_parent_follow): Deleted procedure.
16087 (explicit_fork_child_follow): Deleted procedure.
16088 (test_follow_fork): New procedure.
16089 (do_fork_tests): Replace calls to deleted procedures with
16090 calls to test_follow_fork and reset GDB for subsequent
16093 2014-06-17 Yao Qi <yao@codesourcery.com>
16095 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16098 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16100 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16101 Initialize ptr and S explicitly.
16102 (skip_type_update_when_not_use_rtti_test): Likewise.
16104 2014-06-16 Keith Seitz <keiths@redhat.com>
16107 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16108 the inferior is started.
16110 2014-06-16 Pedro Alves <palves@redhat.com>
16112 * gdb.base/break-main-file-remove-fail.c: New file.
16113 * gdb.base/break-main-file-remove-fail.exp: New file.
16114 * gdb.base/break-unload-file.exp: Use build_executable instead of
16115 prepare_for_testing.
16116 (test_break): New parameter "initial_load". Handle it.
16117 (top level): Add initial_load cmdline/file axis.
16119 2014-06-12 Tom Tromey <tromey@redhat.com>
16121 * gdb.base/completion.exp: Don't use directory name in test.
16123 2014-06-09 Gary Benson <gbenson@redhat.com>
16125 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16126 separate the always-available ANSI-standard signals from the
16127 signals that require checking.
16129 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16133 2014-06-07 Keith Seitz <keiths@redhat.com>
16137 * gdb.cp/var-tag.cc: New file.
16138 * gdb.cp/var-tag.exp: New file.
16139 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16140 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16141 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16142 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16144 2014-06-06 Doug Evans <xdje42@gmail.com>
16146 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16148 2014-06-06 Pedro Alves <palves@redhat.com>
16150 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16151 in target debug output instead of looking at RSP packets,
16152 disabling the test on any target that uses hardware stepping.
16155 2014-06-06 Pedro Alves <palves@redhat.com>
16157 * gdb.base/break-unload-file.exp: Fix typo.
16159 2014-06-06 Yao Qi <yao@codesourcery.com>
16161 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16162 from "jit_function" to "^jit_function".
16164 2014-06-06 Yao Qi <yao@codesourcery.com>
16166 * gdb.base/async.c (foo): Add one statement.
16167 * gdb.base/async.exp: Get the next instruction address and
16168 match the output of "nexti" by instruction address. Match
16169 the hex address in the output of "finish".
16171 2014-06-06 Gary Benson <gbenson@redhat.com>
16173 * gdb.base/call-signals.c: Remove preprocessor conditionals
16174 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16175 SIGSEGV and SIGTERM.
16176 * gdb.base/sigall.c: Likewise.
16177 * gdb.base/unwindonsignal.c: Likewise.
16178 * gdb.reverse/sigall-reverse.c: Likewise.
16180 2014-06-06 Yao Qi <yao@codesourcery.com>
16182 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16183 readable, skip the test.
16185 2014-06-06 Yao Qi <yao@codesourcery.com>
16187 * gdb.threads/staticthreads.c (thread_function): Move the line
16188 setting breakpoint on forward.
16189 * gdb.threads/staticthreads.exp: Update comments.
16191 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16193 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16194 "history-append! type error".
16196 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16198 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16199 erroneous dprintf expected input.
16201 2014-06-04 Doug Evans <xdje42@gmail.com>
16203 * gdb.guile/scm-generics.exp: Delete.
16205 2014-06-04 Doug Evans <xdje42@gmail.com>
16207 * gdb.guile/scm-breakpoint.exp: Update.
16208 Add tests for breakpoint registration.
16210 2014-06-04 Tom Tromey <tromey@redhat.com>
16212 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16214 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16215 inner_vla_struct, vla_union types. Initialize objects of those
16216 types and compute their sizes.
16218 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16219 Hui Zhu <hui@codesourcery.com>
16221 * gdb.base/fileio.exp: Add test for shell not available as well as
16223 * gdb.base/fileio.c (test_system): Check for shell twice.
16225 2014-06-04 Yao Qi <yao@codesourcery.com>
16227 * gdb.base/auto-connect-native-target.exp: Remove redundant
16228 space from the regexp pattern.
16230 2014-06-04 Yao Qi <yao@codesourcery.com>
16232 * gdb.base/default.exp: Replace "child" with "native" in
16235 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16237 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16238 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16239 * gdb.python/py-xmethods.py: Python script supporting the
16240 new testcase and tests.
16242 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16243 Pedro Alves <palves@redhat.com>
16245 PR breakpoints/17000
16246 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16247 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16249 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16251 * gdb.base/subst.exp: Add tests to verify partial path matching
16254 2014-06-03 Pedro Alves <palves@redhat.com>
16256 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16257 target that doesn't use software single-stepping.
16259 2014-06-03 Pedro Alves <palves@redhat.com>
16261 PR breakpoints/17000
16262 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16263 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16265 2014-06-02 Doug Evans <xdje42@gmail.com>
16267 * gdb.guile/scm-parameter.exp: New file.
16269 2014-06-02 Doug Evans <xdje42@gmail.com>
16271 * gdb.guile/scm-cmd.c: New file.
16272 * gdb.guile/scm-cmd.exp: New file.
16274 2014-06-02 Doug Evans <xdje42@gmail.com>
16276 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16277 pretty-printer lookup.
16278 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16279 (make-pp_s-printer): Call it.
16280 (make-pretty-printer-from-dict): New function.
16281 (lookup-pretty-printer-maker-from-dict): New function.
16282 (*pretty-printer*): Simplify.
16283 (make-objfile-pp_s-printer): New function.
16284 (install-objfile-pretty-printers!): New function.
16285 (make-progspace-pp_s-printer): New function.
16286 (install-progspace-pretty-printers!): New function.
16287 * gdb.guile/scm-progspace.c: New file.
16288 * gdb.guile/scm-progspace.exp: New file.
16290 2014-06-02 Pedro Alves <palves@redhat.com>
16292 * gdb.base/dprintf-bp-same-addr.c: New file.
16293 * gdb.base/dprintf-bp-same-addr.exp: New file.
16295 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16297 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16298 * gdb.arch/powerpc-power.s: Likewise.
16300 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16302 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16304 2014-06-01 Yao Qi <yao@codesourcery.com>
16306 * gdb.base/watchpoint.exp (test_watch_location): Check null
16307 pointer can be dereferenced. If not, do the test, otherwise
16310 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16312 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16314 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16316 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16318 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16319 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16320 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16321 * gdb.arch/amd64-invalid-stack-top.c: New file.
16322 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16324 2014-05-30 Pedro Alves <palves@redhat.com>
16326 PR breakpoints/17000
16327 * gdb.base/sss-bp-on-user-bp.c: New file.
16328 * gdb.base/sss-bp-on-user-bp.exp: New file.
16330 2014-05-30 David Blaikie <dblaikie@gmail.com>
16332 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16333 gnu_inline semantics via attribute.
16334 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16335 source explicitly specifies the required semantics.
16337 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16339 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16341 2014-05-29 Pedro Alves <palves@redhat.com>
16342 Tom Tromey <tromey@redhat.com>
16344 * gdb.base/async-shell.exp: Don't enable target-async.
16345 * gdb.base/async.exp
16346 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16348 (top level): Don't test with "target-async".
16349 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16350 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16351 * gdb.base/inferior-died.exp: Don't enable target-async.
16352 * gdb.base/interrupt-noterm.exp: Likewise.
16353 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16354 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16355 * gdb.mi/mi-nonstop.exp: Likewise.
16356 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16357 * gdb.mi/mi-nsintrall.exp: Likewise.
16358 * gdb.mi/mi-nsmoribund.exp: Likewise.
16359 * gdb.mi/mi-nsthrexec.exp: Likewise.
16360 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16361 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16362 * gdb.python/py-evsignal.exp: Don't enable target-async.
16363 * gdb.python/py-evthreads.exp: Likewise.
16364 * gdb.python/py-prompt.exp: Likewise.
16365 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16366 * gdb.server/solib-list.exp: Don't enable target-async.
16367 * gdb.threads/thread-specific-bp.exp: Likewise.
16368 * lib/mi-support.exp: Adjust to use mi-async.
16370 2014-05-29 Pedro Alves <palves@redhat.com>
16373 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16374 reason, even in sync mode.
16376 2014-05-29 Pedro Alves <palves@redhat.com>
16377 Hui Zhu <hui@codesourcery.com>
16380 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16381 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16382 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16383 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16385 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16387 * config/monitor.exp (gdb_target_monitor): Replace use of
16388 "set remotebaud" by "set serial baud".
16390 2014-05-26 Andy Wingo <wingo@igalia.com>
16392 * gdb.guile/scm-breakpoint.exp:
16393 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16394 properties instead of gdb-object-properties.
16396 2014-05-26 Yao Qi <yao@codesourcery.com>
16398 * gdb.server/no-thread-db.exp: Specify source file name
16399 explicitly when setting a breakpoint.
16401 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16403 * gdb.btrace/vdso.c: New.
16404 * gdb.btrace/vdso.exp: New.
16406 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16408 * gdb.base/gcore.exp (capture_command_output): Move ...
16409 * lib/gdb.exp (capture_command_output): ... here.
16411 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16413 * gdb.btrace/data.exp: Test memory access during btrace replay.
16415 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16417 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16419 2014-05-21 Pedro Alves <palves@redhat.com>
16422 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16423 (top level): Test that output related to execution commands is
16424 sent to the console with CLI commands, but not with MI commands.
16425 Test that breakpoint events are always mirrored to the console.
16426 Also expect the new source line to be output after a "next" in
16427 async mode too. Make it a pass/fail test.
16428 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16430 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16432 2014-05-21 Pedro Alves <palves@redhat.com>
16434 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16435 Use them to test variations of "list" after reaching a breakpoint.
16436 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16437 Test "list" with listsize 10 after reaching a breakpoint.
16438 * gdb.python/python.exp (decode_line current location line
16439 number): Adjust expected line number.
16441 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16443 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16444 behavior for $args, pass it directly to "run".
16446 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16448 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16451 2014-05-21 Pedro Alves <palves@redhat.com>
16453 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16454 auto-connect-native-target off".
16455 * gdb.base/auto-connect-native-target.c: New file.
16456 * gdb.base/auto-connect-native-target.exp: New file.
16458 2014-05-21 Pedro Alves <palves@redhat.com>
16460 * gdb.base/default.exp: Test "target native" instead of "target
16463 2014-05-21 Mark Wielaard <mjw@redhat.com>
16465 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16467 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16469 Fix TLS access for -static -pthread.
16470 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16471 <HAVE_TLS> (thread_function, main): Initialize it.
16472 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16474 <$have_tls != "">: Check TLSVAR.
16476 2014-05-21 Pedro Alves <palves@redhat.com>
16478 * gdb.base/dcache-line-read-error.c: New.
16479 * gdb.base/dcache-line-read-error.exp: New.
16481 2014-05-20 Pedro Alves <palves@redhat.com>
16483 * gdb.base/compare-sections.c: New file.
16484 * gdb.base/compare-sections.exp: New file.
16486 2014-05-20 Pedro Alves <palves@redhat.com>
16488 * gdb.base/break-idempotent.c: New file.
16489 * gdb.base/break-idempotent.exp: New file.
16491 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16493 * gdb.btrace/nohist.exp: New.
16495 2014-05-20 Yao Qi <yao@codesourcery.com>
16497 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16498 gdb.reverse directory and gdb_reverse_timeout exists in board
16500 * README: Document gdb_reverse_timeout.
16502 2014-05-20 Yao Qi <yao@codesourcery.com>
16504 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16505 'test_file_name'. Treat args as a string instead of a list.
16506 (gdb_init): Rename argument 'args' by 'test_file_name'.
16508 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16510 * gdb.arch/powerpc-power.exp: New file.
16511 * gdb.arch/powerpc-power.s: New file.
16513 2014-05-16 Doug Evans <dje@google.com>
16515 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16516 * gdb.base/completion.exp: Check that all expected files exist
16517 before doing file completion.
16519 2014-05-16 Doug Evans <dje@google.com>
16521 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16523 (do_syscall_tests_without_xml): Update.
16525 2014-05-16 Pedro Alves <palves@redhat.com>
16527 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16528 instead of "unknown output after running".
16530 2014-05-16 Yao Qi <yao@codesourcery.com>
16532 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16533 file1.txt from host at the end.
16534 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16536 2014-05-15 Doug Evans <dje@google.com>
16538 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16539 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16540 loading file. Add test for TU lookup.
16542 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16544 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16545 calling "-exec-arguments" or "set args" before running the
16548 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16550 * lib/mi-support.exp (mi_expect_stop): Expect message for
16551 inferiors that exit with non-zero exit code.
16553 2014-05-14 Yao Qi <yao@codesourcery.com>
16555 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16556 match absolute path on remote host.
16557 (test_file_list_exec_source_files): Remove "/" from the
16560 2014-05-14 Yao Qi <yao@codesourcery.com>
16562 * boards/local-remote-host-notty.exp (${board}_file): New
16565 2014-05-07 Kyle McMartin <kyle@redhat.com>
16567 Pushed by Joel Brobecker <brobecker@adacore.com>.
16568 * gdb.arch/aarch64-atomic-inst.c: New file.
16569 * gdb.arch/aarch64-atomic-inst.exp: New file.
16571 2014-05-07 Yao Qi <yao@codesourcery.com>
16573 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16574 in current context" too.
16576 2014-05-05 Keith Seitz <keiths@redhat.com>
16578 * gdb.linespec/ls-dollar.exp: Add test for linespec
16579 file:convenience_variable.
16581 2014-05-05 Yao Qi <yao@codesourcery.com>
16583 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16584 traceframes into tfile and ctf trace files. Read data from
16585 trace file and test collected data.
16586 (gdb_collect_locals_test): Likewise.
16587 (gdb_unavailable_registers_test): Likewise.
16588 (gdb_unavailable_floats): Likewise.
16589 (gdb_collect_globals_test): Likewise.
16590 (top-level): Append "ctf" to trace_file_targets if GDB
16593 2014-05-05 Yao Qi <yao@codesourcery.com>
16595 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16597 (gdb_collect_args_test_1): ... it. New proc.
16598 (gdb_collect_locals_test): Move some code to ...
16599 (gdb_collect_locals_test_1): ... it. New proc.
16600 (gdb_unavailable_registers_test): Move some code to ...
16601 (gdb_unavailable_registers_test_1): ... it. New proc.
16602 (gdb_unavailable_floats): Move some code to ...
16603 (gdb_unavailable_floats_1): ... it. New proc.
16605 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16607 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16608 probes to test for bitness recognition.
16609 * gdb.arch/amd64-stap-optional-prefix.exp
16610 (test_probe_value_without_reg): New procedure.
16611 Add code to test for different kinds of bitness.
16613 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16615 PR breakpoints/16889
16616 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16617 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16619 2014-05-01 Pedro Alves <palves@redhat.com>
16621 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16622 gdb_file_cmd if no file is specified.
16623 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16624 last_loaded_file to set the remote exec-file.
16626 2014-05-01 Pedro Alves <palves@redhat.com>
16628 * boards/local-remote-host.exp: New file.
16630 2014-05-01 Pedro Alves <palves@redhat.com>
16632 * boards/local-remote-host.exp: Rename to ...
16633 * boards/local-remote-host-notty.exp: ... this.
16635 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16637 * gdb.ada/dyn_arrayidx: New testcase.
16639 2014-04-26 Yao Qi <yao@codesourcery.com>
16641 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16642 and compute the length of function main. Save it in
16644 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16645 (top-level): Use gdb_compile to compile objects into
16646 executable and restart GDB. Remove invocation to
16647 prepare_for_testing.
16649 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16650 Pedro Alves <palves@redhat.com>
16653 * gdb.multi/multi-attach.c: New file.
16654 * gdb.multi/multi-attach.exp: New file.
16656 2014-04-25 Pedro Alves <palves@redhat.com>
16658 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16660 (top level): Test that "set remote conditional-breakpoints-packet
16661 off" works as intended.
16662 * gdb.base/dprintf.exp: Test that "set remote
16663 breakpoint-commands-packet off" works as intended.
16664 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16666 (top level): Call it.
16667 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16668 remote fast-tracepoints-packet off" works as intended.
16669 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16670 * lib/gdb.exp (gdb_is_target_remote): ... here.
16672 2014-04-24 David Blaikie <dblaikie@gmail.com>
16674 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16675 ensure clang would not discard them.
16676 * gdb.base/gdbvars.c: Ditto.
16677 * gdb.base/memattr.c: Ditto.
16678 * gdb.base/whatis.c: Ditto.
16679 * gdb.python/py-prettyprint.c: Ditto.
16680 * gdb.trace/actions.c: Ditto.
16681 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16682 ensure clang would not discard it.
16684 2014-04-24 David Blaikie <dblaikie@gmail.com>
16686 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16687 clang to emit the full definition of type required by the test
16688 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16690 2014-04-24 David Blaikie <dblaikie@gmail.com>
16692 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16693 coax Clang into emitting the definition of the type.
16694 * gdb.cp/pr10728-x.h (y): Ditto.
16695 * gdb.cp/pr10728-y.cc (y): Ditto.
16697 2014-04-24 David Blaikie <dblaikie@gmail.com>
16699 * gdb.base/label.exp: XFAIL label related tests under Clang.
16700 * gdb.cp/cplabel.exp: Ditto.
16701 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16702 under Clang those using labels.
16704 2014-04-25 Yao Qi <yao@codesourcery.com>
16706 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16708 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16709 partial_label and double_label.
16711 2014-04-24 David Blaikie <dblaikie@gmail.com>
16713 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16715 2014-04-24 David Blaikie <dblaikie@gmail.com>
16717 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16718 of the function to work across GCC and Clang.
16719 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16720 pointer types (const void ** const V void **).
16722 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16723 Walfred Tedeschi <walfred.tedeschi@intel.com>
16725 * Makefile.in (EXECUTABLES): Added i386-avx512.
16726 * gdb.arch/i386-avx512.c: New file.
16727 * gdb.arch/i386-avx512.exp: Likewise.
16729 2014-04-23 Keith Seitz <keiths@redhat.com>
16731 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16732 (mi_make_breakpoint_table): New procedure.
16733 (mi_create_breakpoint): Use mi_make_breakpoint
16734 and return the result.
16735 (mi_make_breakpoint): New procedure.
16736 (mi_build_kv_pairs): New procedure.
16738 * gdb.mi/mi-break.exp: Remove unused globals,
16739 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16740 All callers updated.
16741 * gdb.mi/mi-dprintf.exp: Use variable to track command
16743 Update all callers of mi_create_breakpoint and use
16744 mi_make_breakpoint_table.
16745 Remove any unused global variables.
16746 * gdb.mi/mi-nonstop.exp: Likewise.
16747 * gdb.mi/mi-nsintrall.exp: Likewise.
16748 * gdb.mi/mi-nsmoribund.exp: Likewise.
16749 * gdb.mi/mi-nsthrexec.exp: Likewise.
16750 * gdb.mi/mi-reverse.exp: Likewise.
16751 * gdb.mi/mi-simplerun.exp: Likewise.
16752 * gdb.mi/mi-stepn.exp: Likewise.
16753 * gdb.mi/mi-syn-frame.exp: Likewise.
16754 * gdb.mi/mi-until.exp: Likewise.
16755 * gdb.mi/mi-var-cp.exp: Likewise.
16756 * gdb.mi/mi-var-display.exp: Likewise.
16757 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16758 * gdb.mi/mi2-var-child.exp: Likewise.
16759 * gdb.mi/mi-vla-c99.exp: Likewise.
16760 * lib/mi-support.exp: Likewise.
16762 From Ian Lance Taylor <iant@cygnus.com>:
16763 * lib/gdb.exp (parse_args): New procedure.
16765 2014-04-23 Pedro Alves <palves@redhat.com>
16767 * gdb.base/break-unload-file.c: New file.
16768 * gdb.base/break-unload-file.exp: New file.
16769 * gdb.base/sym-file-lib.c (baz): New function.
16770 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16772 (load): Store the segment's mapped size.
16773 (unload): New function.
16774 (unload_shlib): New function.
16775 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16776 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16777 set a breakpoint at baz, and call it.
16778 * gdb.base/sym-file.exp: New tests for stale breakpoint
16781 2014-04-23 Pedro Alves <palves@redhat.com>
16783 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16784 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16785 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16786 * gdb.base/hbreak-unmapped.c: New file.
16787 * gdb.base/hbreak-unmapped.exp: New file.
16788 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16789 * lib/gdb.exp (gdb_is_target_remote): ... here.
16791 2014-04-22 Pedro Alves <palves@redhat.com>
16793 * gdb.base/consecutive-step-over.c: New file.
16794 * gdb.base/consecutive-step-over.exp: New file.
16796 2014-04-22 Pedro Alves <palves@redhat.com>
16798 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16799 instead of send_gdb/gdb_expect.
16801 2014-04-22 Yao Qi <yao@codesourcery.com>
16803 * lib/trace-support.exp (generate_tracefile): New procedure.
16804 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16806 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16807 if generate_tracefile returns 1.
16809 2014-04-18 Tom Tromey <palves@redhat.com>
16810 Pedro alves <tromey@redhat.com>
16813 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16814 with a backtrace limit.
16815 * gdb.python/py-frame-inline.exp: Test running to an inline
16816 function with a backtrace limit, and printing the newest frame.
16817 * gdb.python/py-frame-inline.c (main): Call f.
16819 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16821 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16823 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16825 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16826 Drop prefix from unsupported source file path.
16828 2014-04-17 Yao Qi <yao@codesourcery.com>
16830 * lib/gdb.exp (with_target_charset): New proc.
16831 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16832 with_target_charset.
16833 (test_print_strings): Likewise.
16834 (test_repeat_bytes): Likewise.
16835 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16838 2014-04-16 Keith Seitz <keiths@redhat.com>
16841 * gdb.dwarf2/corrupt.c: New file.
16842 * gdb.dwarf2/corrupt.exp: New file.
16844 2014-04-16 Keith Seitz <keiths@redhat.com>
16847 * gdb.cp/namelessclass.cc: New file.
16848 * gdb.cp/namelessclass.exp: New file.
16849 * gdb.cp/namelessclass.S: New file.
16851 2014-04-16 Doug Evans <dje@google.com>
16853 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16855 (gdbserver_default_get_comm_port): New function.
16856 (gdbserver_start): Check if board file provided
16857 "gdbserver,get_comm_port" and use it if so.
16858 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16859 (gdb,socketport): Set to "stdio".
16860 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16861 (stdio_gdbserver_template): Delete.
16862 (${board}_get_remote_address): Update.
16863 (${board}_build_remote_cmd): Delete.
16864 (${board}_get_comm_port): New function.
16865 (${board}_spawn): Update.
16866 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16868 (${board}_get_remote_address): Update.
16869 (${board}_get_comm_port): New function.
16871 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16873 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16874 appearing in any order.
16876 2014-04-15 Doug Evans <dje@google.com>
16878 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16879 uninitialized value of "description".
16881 2014-04-15 Keith Seitz <keiths@redhat.com>
16883 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16884 Remove unused globals.
16885 (test_running_the_program): Likewise.
16886 (test_controlled_execution): Likewise.
16887 (test_controlling_breakpoints): Likewise.
16888 (test_program_termination): Likewise.
16890 2014-04-15 Keith Seitz <keiths@redhat.com>
16892 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16894 (test_rbreak_creation_and_listing): Likewise.
16895 (test_ignore_count): Likewise.
16896 (test_error): Likewise.
16898 2014-04-15 Pedro Alves <palves@redhat.com>
16900 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16901 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16903 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16904 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16905 to sym-file-loader.c.
16906 (struct library): Forward declare.
16907 (load_shlib, lookup_function): Change prototypes.
16908 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16909 (translate_offset): Remove declarations.
16910 (get_text_addr): New declaration.
16911 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16912 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16914 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16915 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16916 here from sym-file-loader.h.
16917 (struct library): New structure.
16918 (load_shlib, lookup_function): Change prototypes and adjust to
16919 work with a struct library.
16920 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16921 (translate_offset): Make static.
16922 (get_text_addr): New function.
16923 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16925 2014-04-15 Pedro Alves <palves@redhat.com>
16927 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16929 2014-04-15 Pedro Alves <palves@redhat.com>
16931 * gdb.base/sym-file-loader.c: Include <limits.h>.
16932 (SELF_LINK): New define.
16933 (get_origin): New function.
16934 (load_shlib): Use it.
16935 * gdb.base/sym-file.exp: Don't early return if the target is
16936 remote. Use runto_main, and issue fail is that fails. Use
16938 (shlib_name): Delete.
16939 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16941 2014-04-15 Pedro Alves <palves@redhat.com>
16943 * gdb.base/sym-file.exp: Remove regex characters from test
16944 message. Don't refer to breakpoint numbers in test messages.
16946 2014-04-14 Keith Seitz <keiths@redhat.com>
16949 * gdb.cp/var-tag.cc: New file.
16950 * gdb.cp/var-tag.exp: New file.
16951 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16952 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16953 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16954 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16956 2014-04-14 Tom Tromey <tromey@redhat.com>
16958 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16959 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16961 * gdb.cp/enum-class.exp: New file.
16962 * gdb.cp/enum-class.cc: New file.
16964 2014-04-14 Tom Tromey <tromey@redhat.com>
16966 * gdb.dwarf2/enum-type.exp: New file.
16968 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16970 * gdb.mi/mi-vla-c99.exp: New file.
16971 * gdb.mi/vla.c: New file.
16973 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16975 * gdb.base/vla-datatypes.c: New file.
16976 * gdb.base/vla-datatypes.exp: New file.
16978 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16980 * gdb.base/vla-ptr.c: New file.
16981 * gdb.base/vla-ptr.exp: New file.
16983 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16985 * gdb.dwarf2/count.exp: New file.
16987 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16989 * gdb.base/vla-sideeffect.c: New file.
16990 * gdb.base/vla-sideeffect.exp: New file.
16992 2014-04-14 David Blaikie <dblaikie@gmail.com>
16994 * gdb.mi/non-stop.c: Add return value for non-void function return
16996 * gdb.threads/staticthreads.c: Ditto.
16998 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16999 Doug Evans <xdje42@gmail.com>
17001 * gdb.guile/scm-value.c: Improve test case.
17002 * gdb.guile/scm-value.exp: Add new test.
17004 2014-04-11 David Blaikie <dblaikie@gmail.com>
17006 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17007 override Clang's default.
17009 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17011 Revert the following changes (regressions):
17013 * gdb.base/vla-sideeffect.c: New file.
17014 * gdb.base/vla-sideeffect.exp: New file.
17016 * gdb.dwarf2/count.exp: New file.
17018 * gdb.base/vla-multi.c: New file.
17019 * gdb.base/vla-multi.exp: New file.
17021 * gdb.base/vla-ptr.c: New file.
17022 * gdb.base/vla-ptr.exp: New file.
17024 * gdb.base/vla-datatypes.c: New file.
17025 * gdb.base/vla-datatypes.exp: New file.
17027 * gdb.mi/mi-vla-c99.exp: New file.
17028 * gdb.mi/vla.c: New file.
17030 2014-04-11 Keith Seitz <keiths@redhat.com>
17033 * gdb.cp/cpsizeof.exp: New file.
17034 * gdb.cp/cpsizeof.cc: New file.
17036 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17038 * gdb.mi/mi-vla-c99.exp: New file.
17039 * gdb.mi/vla.c: New file.
17041 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17043 * gdb.base/vla-datatypes.c: New file.
17044 * gdb.base/vla-datatypes.exp: New file.
17046 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17048 * gdb.base/vla-ptr.c: New file.
17049 * gdb.base/vla-ptr.exp: New file.
17051 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17053 * gdb.base/vla-multi.c: New file.
17054 * gdb.base/vla-multi.exp: New file.
17056 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17058 * gdb.dwarf2/count.exp: New file.
17060 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17062 * gdb.base/vla-sideeffect.c: New file.
17063 * gdb.base/vla-sideeffect.exp: New file.
17065 2014-04-11 Yao Qi <yao@codesourcery.com>
17067 * gdb.base/completion.exp: Check file exists before running tests
17068 on file completion.
17070 2014-04-10 Pedro Alves <palves@redhat.com>
17072 * gdb.base/cond-eval-mode.c: New file.
17073 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17074 prepare_for_testing to build the new file. Check result of
17076 (test_break, test_watch): New procedures.
17077 (top level): Use them.
17079 2014-04-08 Pierre Muller <muller@sourceware.org>
17081 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17082 Ctrl-V use for mingw hosts.
17084 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17086 * gdb.python/py-value.c: Improve test case.
17087 * gdb.python/py-value.exp: Add new test.
17089 2014-04-07 David Blaikie <dblaikie@gmail.com>
17091 * lib/compiler.c: Identify the clang compiler.
17092 * lib/compiler.cc: Ditto.
17094 2014-04-03 Yao Qi <yao@codesourcery.com>
17096 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17098 2014-04-01 Anton Blanchard <anton@samba.org>
17100 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17103 2014-04-01 Anton Blanchard <anton@samba.org>
17105 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17106 prepare_for_testing.
17108 2014-04-01 Anton Blanchard <anton@samba.org>
17110 * gdb.arch/ppc64-atomic-inst.c: Remove.
17111 * gdb.arch/ppc64-atomic-inst.S: New file.
17112 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17114 2014-03-31 Doug Evans <dje@google.com>
17116 * gdb.base/print-symbol-loading-lib.c: New file.
17117 * gdb.base/print-symbol-loading-main.c: New file.
17118 * gdb.base/print-symbol-loading.exp: New file.
17120 2014-03-31 Yao Qi <yao@codesourcery.com>
17122 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17124 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17126 * gdb.ada/mi_dyn_arr: New testcase.
17128 2014-03-27 Doug Evans <dje@google.com>
17130 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17132 2014-03-27 Yao Qi <yao@codesourcery.com>
17134 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17135 if target is nios2-*-*.
17137 2014-03-26 Yao Qi <yao@codesourcery.com>
17139 * lib/gdb.exp (readline_is_used): New proc.
17140 * gdb.base/completion.exp: Move tests on command complete up.
17141 Skip the rest of tests if readline is not used.
17142 * gdb.ada/complete.exp: Skp the test if readline is not
17144 * gdb.base/filesym.exp: Likewise.
17145 * gdb.base/macscp.exp: Likewise.
17146 * gdb.base/readline-ask.exp: Likewise.
17147 * gdb.base/readline.exp: Likewise.
17148 * gdb.python/py-cmd.exp: Likewise.
17149 * gdb.trace/tfile.exp: Likewise.
17151 2014-03-26 Yao Qi <yao@codesourcery.com>
17153 * gdb.base/macscp.exp: Fix code format issues.
17155 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17157 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17158 * gdb.asm/powerpc64le.inc: New file.
17160 2014-03-25 Pedro Alves <palves@redhat.com>
17161 Doug Evans <dje@google.com>
17163 * gdb.base/source-execution.c: New file.
17164 * gdb.base/source-execution.exp: New file.
17165 * gdb.base/source-execution.gdb: New file.
17167 2014-03-24 Doug Evans <dje@google.com>
17169 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17172 2014-03-24 Hui Zhu <hui@codesourcery.com>
17173 Pedro Alves <palves@redhat.com>
17175 PR breakpoints/16101
17176 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17177 test pass/fail messages. Detect missing support for dprintf when
17178 breakpoints are actually inserted.
17179 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17180 breakpoints are actually inserted.
17181 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17184 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17186 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17188 2014-03-22 Doug Evans <xdje42@gmail.com>
17190 * gdb.python/python.exp (python not supported): Verify multi-line
17191 python command issues an error.
17192 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17193 guile command issues an error.
17195 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17197 * gdb.threads/thread-specific.exp: Handle the lack of usable
17198 $this_breakpoint and $this_thread.
17200 2014-03-21 Hui Zhu <hui@codesourcery.com>
17202 * gdb.base/attach.exp (do_command_attach_tests): New.
17204 2014-03-20 Tom Tromey <tromey@redhat.com>
17205 Pedro Alves <palves@redhat.com>
17208 * gdb.base/condbreak-call-false.c: New file.
17209 * gdb.base/condbreak-call-false.exp: New file.
17211 2014-03-20 Pedro Alves <palves@redhat.com>
17213 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17215 (block_signals, unblock_signals): Delete.
17216 (child_function_2, main): Remove references to deleted variable
17219 2014-03-20 Pedro Alves <palves@redhat.com>
17221 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17222 Use pthread_kill to signal thread 2.
17223 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17224 Adjust to make the test send itself a signal rather than using the
17225 host's "kill" command.
17227 2014-03-20 Pedro Alves <palves@redhat.com>
17229 * gdb.threads/multiple-step-overs.c: New file.
17230 * gdb.threads/multiple-step-overs.exp: New file.
17231 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17232 Adjust expected infrun debug output.
17234 2014-03-20 Pedro Alves <palves@redhat.com>
17236 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17237 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17239 2014-03-20 Pedro Alves <palves@redhat.com>
17241 PR breakpoints/7143
17242 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17243 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17244 of gdb_test_multiple.
17245 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17246 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17248 2014-03-20 Pedro Alves <palves@redhat.com>
17250 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17251 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17253 2014-03-19 Pedro Alves <palves@redhat.com>
17255 * gdb.base/async.exp: Remove early return.
17257 2014-03-19 Pedro Alves <palves@redhat.com>
17259 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17261 2014-03-19 Pedro Alves <palves@redhat.com>
17263 * gdb.base/async.exp (test_background): Expect \r\n after
17264 "completed." in the fail pattern.
17266 2014-03-19 Pedro Alves <palves@redhat.com>
17268 * gdb.base/async.exp (test_background): New procedure.
17269 Use it for all background execution command tests.
17271 2014-03-19 Pedro Alves <palves@redhat.com>
17273 * gdb.base/async.exp: Use prepare_for_testing.
17275 2014-03-19 Pedro Alves <palves@redhat.com>
17277 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17280 2014-03-19 Pedro Alves <palves@redhat.com>
17282 * gdb.base/async.c (main): Add "jump here" and "until here" line
17284 * gdb.base/async.exp (jump_here): New global.
17285 (jump& test): Use it.
17286 (until_here): New global.
17287 (until& test): Use it.
17289 2014-03-19 Pedro Alves <palves@redhat.com>
17291 * gdb.base/async.exp: Don't frob gdb_protocol.
17293 2014-03-18 Doug Evans <xdje42@gmail.com>
17295 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17296 Fix spelling of exec-done-display.
17298 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17301 * gdb.base/gdb-sigterm.c: New file.
17302 * gdb.base/gdb-sigterm.exp: New file.
17304 2014-03-18 Pedro Alves <palves@redhat.com>
17307 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17308 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17311 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17313 * gdb.ada/pckd_arr_ren: New testcase.
17315 2014-03-13 Doug Evans <xdje42@gmail.com>
17318 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17319 collect after discarding symbols.
17321 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17322 Doug Evans <xdje42@gmail.com>
17324 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17325 to history survives a gc.
17327 2014-03-13 Pedro Alves <palves@redhat.com>
17329 * gdb.base/default.exp: Don't test "target procfs".
17331 2014-03-13 Pedro Alves <palves@redhat.com>
17333 * gdb.base/default.exp: Update "target child" and "target procfs"
17334 tests to not expect "Unix".
17336 2014-03-12 Tom Tromey <tromey@redhat.com>
17338 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17339 New procs. Add target-async tests.
17340 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17341 Add target-async tests.
17343 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17345 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17346 'func_start' and 'func_end' for the beginning and end of the
17347 function code, respectively.
17348 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17349 'func_end' instead of 'func' and 'main'.
17351 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17353 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17354 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17355 generate the debug info assembler source.
17357 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17359 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17360 * gdb.dwarf2/arr-subrange.exp: Likewise.
17361 * gdb.dwarf2/dwz.exp: Likewise.
17362 * gdb.dwarf2/method-ptr.exp: Likewise.
17363 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17364 * gdb.dwarf2/subrange.exp: Likewise.
17365 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17366 * gdb.dwarf2/implptrpiece.exp: Likewise.
17367 * gdb.dwarf2/nostaticblock.exp: Likewise.
17369 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17371 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17372 directory to absolute path name arguments.
17374 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17376 * gdb.ada/tagged_access: New testcase.
17378 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17380 * gdb.btrace/data.exp: Update expected output.
17382 2014-03-06 Yao Qi <yao@codesourcery.com>
17384 * gdb.trace/pr16508.exp: New file.
17386 2014-03-05 Pedro Alves <palves@redhat.com>
17389 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17391 (top level): Adjust to use it. Add tests that exercise breakpoint
17392 interaction with the code-cache.
17394 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17396 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17397 test for 'history-append!'.
17399 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17401 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17402 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17403 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17404 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17405 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17406 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17408 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17410 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17411 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17412 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17414 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17416 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17418 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17420 * gdb.dwarf2/arr-stride.c: New file.
17421 * gdb.dwarf2/arr-stride.exp: New file.
17423 2014-02-26 Pedro Alves <palves@redhat.com>
17425 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17426 that won't ever trigger. Make sure that GDB reports the correct
17427 breakpoint that caused the stop.
17429 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17432 * gdb.base/auto-load-script: New file.
17433 * gdb.base/auto-load.c: New file.
17434 * gdb.base/auto-load.exp: New file.
17437 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17439 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17441 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17442 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17444 2014-02-24 Doug Evans <dje@google.com>
17446 * lib/gdb.exp (run_on_host): Log error output if program fails.
17448 2014-02-21 Pedro Alves <palves@redhat.com>
17450 * gdb.threads/step-after-sr-lock.c: Rename to ...
17451 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17452 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17453 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17456 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17459 * gdb.arch/amd64-stap-special-operands.exp: New file.
17460 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17461 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17462 * gdb.arch/amd64-stap-triplet.S: Likewise.
17463 * gdb.arch/amd64-stap-triplet.c: Likewise.
17465 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17467 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17468 in .section pseudo-op.
17470 2014-02-20 lin zuojian <manjian2006@gmail.com>
17471 Joel Brobecker <brobecker@adacore.com>
17472 Doug Evans <xdje42@gmail.com>
17475 * gdb.dwarf2/dw2-icycle.S: New file.
17476 * gdb.dwarf2/dw2-icycle.c: New file.
17477 * gdb.dwarf2/dw2-icycle.exp: New file.
17479 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17481 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17482 operations on gdb.Value objects.
17483 * gdb.python/py-value-cc.exp: Add new test to test operations on
17486 2014-02-18 Doug Evans <dje@google.com>
17488 * Makefile.in (TESTS): New variable.
17489 (expanded_tests, expanded_tests_or_none): New variables
17490 (check-single): Pass $(expanded_tests_or_none) to runtest.
17491 (check-parallel): Only run tests in $(TESTS) if non-empty.
17492 (check/no-matching-tests-found): New rule.
17493 * README: Document TESTS makefile variable.
17495 2014-02-18 Doug Evans <dje@google.com>
17497 * Makefile.in (check-parallel): rm -rf outputs temp.
17499 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17501 Fix "ERROR: no fileid for" in the testsuite.
17502 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17504 2014-02-12 Doug Evans <dje@google.com>
17506 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17507 (MISCELLANEOUS): New variable.
17508 (clean): rm -rf $(MISCELLANEOUS).
17509 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17510 dwp live in the same directory as symlinks, with each symlink pointed
17511 to a differently named file in a different directory.
17513 2014-02-11 Doug Evans <dje@google.com>
17515 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17516 of Tcl file commands.
17518 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17520 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17521 "kill -SIGUSR1 -1".
17523 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17525 * gdb.ada/tick_length_array_enum_idx: New testcase.
17527 2014-02-10 Doug Evans <xdje42@gmail.com>
17529 * configure.ac (AC_OUTPUT): Add gdb.guile.
17530 * configure: Regenerate.
17531 * lib/gdb-guile.exp: New file.
17532 * lib/gdb.exp (get_target_charset): New function.
17533 * gdb.base/help.exp: Update expected output from "apropos apropos".
17534 * gdb.guile/Makefile.in: New file.
17535 * gdb.guile/guile.exp: New file.
17536 * gdb.guile/scm-arch.c: New file.
17537 * gdb.guile/scm-arch.exp: New file.
17538 * gdb.guile/scm-block.c: New file.
17539 * gdb.guile/scm-block.exp: New file.
17540 * gdb.guile/scm-breakpoint.c: New file.
17541 * gdb.guile/scm-breakpoint.exp: New file.
17542 * gdb.guile/scm-disasm.c: New file.
17543 * gdb.guile/scm-disasm.exp: New file.
17544 * gdb.guile/scm-equal.c: New file.
17545 * gdb.guile/scm-equal.exp: New file.
17546 * gdb.guile/scm-error.exp: New file.
17547 * gdb.guile/scm-error.scm: New file.
17548 * gdb.guile/scm-frame-args.c: New file.
17549 * gdb.guile/scm-frame-args.exp: New file.
17550 * gdb.guile/scm-frame-args.scm: New file.
17551 * gdb.guile/scm-frame-inline.c: New file.
17552 * gdb.guile/scm-frame-inline.exp: New file.
17553 * gdb.guile/scm-frame.c: New file.
17554 * gdb.guile/scm-frame.exp: New file.
17555 * gdb.guile/scm-generics.exp: New file.
17556 * gdb.guile/scm-gsmob.exp: New file.
17557 * gdb.guile/scm-iterator.c: New file.
17558 * gdb.guile/scm-iterator.exp: New file.
17559 * gdb.guile/scm-math.c: New file.
17560 * gdb.guile/scm-math.exp: New file.
17561 * gdb.guile/scm-objfile-script-gdb.in: New file.
17562 * gdb.guile/scm-objfile-script.c: New file.
17563 * gdb.guile/scm-objfile-script.exp: New file.
17564 * gdb.guile/scm-objfile.c: New file.
17565 * gdb.guile/scm-objfile.exp: New file.
17566 * gdb.guile/scm-ports.exp: New file.
17567 * gdb.guile/scm-pretty-print.c: New file.
17568 * gdb.guile/scm-pretty-print.exp: New file.
17569 * gdb.guile/scm-pretty-print.scm: New file.
17570 * gdb.guile/scm-section-script.c: New file.
17571 * gdb.guile/scm-section-script.exp: New file.
17572 * gdb.guile/scm-section-script.scm: New file.
17573 * gdb.guile/scm-symbol.c: New file.
17574 * gdb.guile/scm-symbol.exp: New file.
17575 * gdb.guile/scm-symtab-2.c: New file.
17576 * gdb.guile/scm-symtab.c: New file.
17577 * gdb.guile/scm-symtab.exp: New file.
17578 * gdb.guile/scm-type.c: New file.
17579 * gdb.guile/scm-type.exp: New file.
17580 * gdb.guile/scm-value-cc.cc: New file.
17581 * gdb.guile/scm-value-cc.exp: New file.
17582 * gdb.guile/scm-value.c: New file.
17583 * gdb.guile/scm-value.exp: New file.
17584 * gdb.guile/source2.scm: New file.
17585 * gdb.guile/types-module.cc: New file.
17586 * gdb.guile/types-module.exp: New file.
17588 2014-02-10 Yao Qi <yao@codesourcery.com>
17591 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17592 * configure: Regenerated.
17593 * Makefile.in: New file.
17595 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17597 * gdb.python/py-framefilter.exp: Fix typo.
17599 2014-02-08 Yao Qi <yao@codesourcery.com>
17601 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17602 that no =breakpoint-modified is emitted when breakpoints are
17603 modified through MI commands.
17605 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17606 Pedro Alves <palves@redhat.com>
17608 * gdb.threads/step-after-sr-lock.c: New file.
17609 * gdb.threads/step-after-sr-lock.exp: New file.
17611 2014-02-07 Pedro Alves <palves@redhat.com>
17613 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17615 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17617 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17618 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17620 2014-02-06 Doug Evans <xdje42@gmail.com>
17622 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17625 * gdb.gdb/python-interrupts.exp: New file.
17627 2014-02-05 Yao Qi <yao@codesourcery.com>
17629 * gdb.trace/report.exp (use_collected_data): Test the output
17630 of "info threads" and "info inferiors".
17632 2014-02-05 Yao Qi <yao@codesourcery.com>
17636 2013-05-24 Yao Qi <yao@codesourcery.com>
17638 * gdb.trace/tfile.exp: Test inferior and thread.
17640 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17642 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17644 * gdb.base/step-bt.c: Call hello via function pointer to make
17645 sure its first instruction is executed on powerpc64le-linux.
17647 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17649 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17651 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17653 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17654 of the test patterns for use on little-endian systems.
17656 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17658 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17659 (decimal_vector): Fix for little-endian.
17661 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17663 * gdb.arch/sparc-sysstep.exp: New file.
17664 * gdb.arch/sparc-sysstep.c: Likewise.
17666 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17668 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17670 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17672 2014-01-23 Tom Tromey <tromey@redhat.com>
17674 * gdb.ada/array_char_idx: New testcase.
17676 2014-01-23 Tom Tromey <tromey@redhat.com>
17679 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17680 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17683 2014-01-23 Tom Tromey <tromey@redhat.com>
17686 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17687 string from an inferior frame.
17688 * gdb.python/py-framefilter-mi.exp: Update.
17690 2014-01-22 Doug Evans <dje@google.com>
17692 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17694 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17696 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17698 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17700 * gdb.trace/entry-values.exp: Remove excess space character from
17701 regex patterns. Handle s390 call instruction.
17703 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17705 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17706 define "*_start" label. Make "name" static.
17707 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17708 ${name} by references to ${name}_start.
17710 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17712 * gdb.base/info-macros.exp: Remove "debug" from the compile
17715 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17717 * gdb.dlang/demangle.exp: New file.
17719 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17721 * gdb.dlang/primitive-types.exp: New file.
17723 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17725 * configure.ac: Create gdb.dlang/Makefile.
17726 * configure: Regenerate.
17727 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17728 * gdb.dlang/Makefile.in: New file.
17729 * lib/d-support.exp: New file.
17730 * lib/gdb.exp (skip_d_tests): New proc.
17732 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17734 * gdb.btrace/delta.exp: Check reverse stepi.
17735 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17736 * gdb.btrace/finish.exp: New.
17737 * gdb.btrace/next.exp: New.
17738 * gdb.btrace/nexti.exp: New.
17739 * gdb.btrace/record_goto.c: Add comments.
17740 * gdb.btrace/step.exp: New.
17741 * gdb.btrace/stepi.exp: New.
17742 * gdb.btrace/multi-thread-step.c: New.
17743 * gdb.btrace/multi-thread-step.exp: New.
17744 * gdb.btrace/rn-dl-bind.c: New.
17745 * gdb.btrace/rn-dl-bind.exp: New.
17746 * gdb.btrace/data.c: New.
17747 * gdb.btrace/data.exp: New.
17748 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17750 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17752 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17753 * gdb.btrace/exception.exp: Update.
17754 * gdb.btrace/instruction_history.exp: Update.
17755 * gdb.btrace/record_goto.exp: Update.
17756 * gdb.btrace/tailcall.exp: Update.
17757 * gdb.btrace/unknown_functions.exp: Update.
17758 * gdb.btrace/delta.exp: New.
17760 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17762 * gdb.btrace/record_goto.exp: Add backtrace test.
17763 * gdb.btrace/tailcall.exp: Add backtrace test.
17765 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17767 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17768 * gdb.btrace/record_goto.c: New.
17769 * gdb.btrace/record_goto.exp: New.
17770 * gdb.btrace/x86-record_goto.S: New.
17772 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17774 * gdb.btrace/function_call_history.exp: Update tests.
17775 * gdb.btrace/instruction_history.exp: Update tests.
17777 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17779 * gdb.btrace/function_call_history.exp: Fix expected field
17780 order for "record function-call-history".
17781 Add new tests for "record function-call-history /c".
17782 * gdb.btrace/exception.cc: New.
17783 * gdb.btrace/exception.exp: New.
17784 * gdb.btrace/tailcall.exp: New.
17785 * gdb.btrace/x86-tailcall.S: New.
17786 * gdb.btrace/x86-tailcall.c: New.
17787 * gdb.btrace/unknown_functions.c: New.
17788 * gdb.btrace/unknown_functions.exp: New.
17789 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17791 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17793 * gdb.btrace/instruction_history.exp: Update.
17794 * gdb.btrace/function_call_history.exp: Update.
17796 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17798 * gdb.btrace/function_call_history.exp: Fix expected function
17800 * gdb.btrace/instruction_history.exp: Initialize traced.
17801 Remove traced_functions.
17803 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17805 * gdb.btrace/function_call_history.exp: Update
17806 * gdb.btrace/instruction_history.exp: Update.
17808 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17810 * gdb.btrace/enable.exp: Update expected text.
17812 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17814 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17817 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17819 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17821 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17823 * lib/gdb.exp (supports_process_record): Return true for
17824 arm*-linux*. (supports_reverse): Likewise.
17826 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17830 * gdb.python/py-type.c: Enhance test case.
17831 * gdb.python/py-value-cc.cc: Likewise
17832 * gdb.python/py-type.exp: Add new tests.
17833 * gdb.python/py-value-cc.exp: Likewise
17835 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17836 Pedro Alves <palves@redhat.com>
17838 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17839 Make "name" extern.
17840 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17841 references to ${name}_start by references to ${name}.
17843 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17845 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17847 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17849 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17851 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17852 Pedro Alves <palves@redhat.com>
17854 * gdb.mi/mi-info-os.exp: Connect to the target with
17855 mi_gdb_target_load.
17857 2014-01-08 Pedro Alves <palves@redhat.com>
17859 * gdb.threads/reconnect-signal.c: New file.
17860 * gdb.threads/reconnect-signal.exp: New file.
17862 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17864 * gdb.base/source-dir.exp: New file.
17866 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17868 * gdb.ada/mi_interface: New testcase.
17870 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17872 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17873 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17874 gdb.ada/pp-rec-component/pck.ads: New files.
17876 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17878 * gdb.python/py-pp-integral.c: New file.
17879 * gdb.python/py-pp-integral.py: New file.
17880 * gdb.python/py-pp-integral.exp: New file.
17882 For older changes see ChangeLog-1993-2013.
17884 ;; Local Variables:
17885 ;; mode: change-log
17888 ;; version-control: never
17891 Copyright 2014-2019 Free Software Foundation, Inc.
17892 Copying and distribution of this file, with or without modification,
17893 are permitted provided the copyright notice and this notice are preserved.