Core file build-id support
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-12-07 Keith Seitz <keiths@redhat.com>
2
3 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4 * gdb.base/corefile-buildid-shlib.c: New file.
5 * gdb.base/corefile-buildid.c: New file.
6 * gdb.base/corefile-buildid.exp: New file.
7
8 2019-12-06 Tom de Vries <tdevries@suse.de>
9
10 * gdb.dwarf2/varval.exp: Add decl before def test.
11
12 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
13
14 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
15
16 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
17
18 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
19 CV and reference conversion for overload resolution.
20 * gdb.cp/rvalue-ref-overload.exp: Test it.
21
22 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
23
24 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
25 * gdb.base/frameapply.exp: Test faas without command.
26
27 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
28
29 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
30 Fortran tests.
31 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
32 order.
33
34 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
35
36 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
37 casting to type with no kind specified.
38 (test_basic_parsing_of_type_kinds): Additional tests for types
39 with no kind specified, and add tests for single/double
40 precision/complex types.
41
42 2019-12-04 Tom Tromey <tromey@adacore.com>
43
44 * gdb.base/endianity.c (struct other) <x>: New field.
45 (main): Initialize it.
46 * gdb.base/endianity.exp: Update.
47
48 2019-12-04 Tom Tromey <tromey@adacore.com>
49
50 * gdb.ada/scalar_storage/storage.adb: New file.
51 * gdb.ada/scalar_storage/pck.adb: New file.
52 * gdb.ada/scalar_storage/pck.ads: New file.
53 * gdb.ada/scalar_storage.exp: New file.
54
55 2019-12-04 Tom Tromey <tromey@adacore.com>
56
57 * gdb.base/endianity.c (struct otherendian) <f>: New field.
58 (main): Initialize it.
59 * gdb.base/endianity.exp: Update.
60
61 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
62
63 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
64
65 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
66
67 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
68 -symbol-info-module-functions and -symbol-info-module-variables.
69
70 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
71
72 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
73
74 2019-12-01 Richard Bunt <richard.bunt@arm.com>
75 Andrew Burgess <andrew.burgess@embecosm.com>
76
77 * gdb.fortran/derived-type-striding.exp: New file.
78 * gdb.fortran/derived-type-striding.f90: New file.
79 * gdb.fortran/array-slices.exp: New file.
80 * gdb.fortran/array-slices.f90: New file.
81
82 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
83
84 * gdb.base/define.exp: Test . in command names.
85 * gdb.base/setshow.exp: Update test, as . is now part of
86 command name.
87
88 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
89
90 * gdb.base/define-prefix.exp: New file.
91
92 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
93
94 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
95 compile.
96 (skip_btrace_pt_tests): Likewise.
97
98 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
99
100 * gdb.fortran/info-modules.exp: Compile source files in correct
101 order.
102
103 2019-11-27 Kevin Buettner <kevinb@redhat.com>
104
105 * gdb.dwarf2/imported-unit.exp: New file.
106 * gdb.dwarf2/imported-unit.c: New file.
107
108 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
109
110 * gdb.mi/mi-fortran-modules-2.f90: New file.
111 * gdb.mi/mi-fortran-modules.exp: New file.
112 * gdb.mi/mi-fortran-modules.f90: New file.
113
114 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
115
116 * gdb.mi/mi-sym-info-1.c: New file.
117 * gdb.mi/mi-sym-info-2.c: New file.
118 * gdb.mi/mi-sym-info.exp: New file.
119
120 2019-11-22 Tom Tromey <tromey@adacore.com>
121
122 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
123 * gdb.ada/tasks/foo.adb: Add another stopping location.
124
125 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
126
127 * gdb.base/endianity.c: New test.
128 * gdb.base/endianity.exp: New file.
129
130 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
131
132 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
133
134 2019-11-21 Tom de Vries <tdevries@suse.de>
135
136 PR gdb/24956
137 * gdb.base/ui-redirect.exp: Test output of user-defined command.
138
139 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
140
141 * gdb.python/py-progspace.exp: Add missing parentheses on some
142 'print' commands.
143
144 2019-11-19 Tom Tromey <tom@tromey.com>
145
146 * gdb.tui/winheight.exp: New file.
147
148 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
149
150 * gdb.base/ctf-whatis.c: Delete.
151 * gdb.base/ctf-whatis.exp: Delete.
152 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
153
154 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
155
156 * gdb.base/ctf-cvexpr.exp: Delete.
157 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
158
159 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
160
161 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
162 the compiler. Clean up header comment a little.
163 * gdb.base/ctf-ptype.exp: Likewise.
164 * gdb.base/ctf-whatis.exp: Likewise.
165 * lib/gdb.exp (skip_ctf_tests): New proc.
166
167 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
168
169 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
170 * gdb.tui/corefile-run.exp: New file.
171
172 2019-11-14 Tom Tromey <tromey@adacore.com>
173
174 * gdb.base/gdbvars.exp (test_convenience_variables): Add
175 regression tests.
176
177 2019-11-12 Tom Tromey <tom@tromey.com>
178
179 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
180 after any command. Expect prompt after WAIT_FOR is seen.
181 (enter_tui): Enable resize messages.
182 (command): Expect command in output.
183 (get_line): Avoid error when cursor appears to be off-screen.
184 (dump_screen): Include screen size in title.
185 (_do_resize): New proc, from "resize".
186 (resize): Rewrite. Do resize in two steps.
187 * gdb.tui/empty.exp (layouts): Fix entries.
188 (check_boxes): Remove xfail.
189 (check_text): Dump screen on failure.
190
191 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
192
193 * gdb.python/py-symbol.exp: Add test for
194 gdb.lookup_static_symbols.
195
196 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
197
198 * gdb.python/py-symbol.c: Declare and call function from new
199 py-symbol-2.c file.
200 * gdb.python/py-symbol.exp: Compile both source files, and add new
201 tests for gdb.lookup_static_symbol.
202 * gdb.python/py-symbol-2.c: New file.
203
204 2019-11-02 Tom de Vries <tdevries@suse.de>
205
206 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
207 * gdb.base/anon.exp: Same.
208 * gdb.base/auto-connect-native-target.exp: Same.
209 * gdb.base/call-ar-st.exp: Same.
210 * gdb.base/catch-syscall.exp: Same.
211 * gdb.base/commands.exp: Same.
212 * gdb.base/default.exp: Same.
213 * gdb.base/display.exp: Same.
214 * gdb.base/float.exp: Same.
215 * gdb.base/foll-fork.exp: Same.
216 * gdb.base/help.exp: Same.
217 * gdb.base/info-macros.exp: Same.
218 * gdb.base/info-proc.exp: Same.
219 * gdb.base/info-target.exp: Same.
220 * gdb.base/long_long.exp: Same.
221 * gdb.base/macscp.exp: Same.
222 * gdb.base/memattr.exp: Same.
223 * gdb.base/nofield.exp: Same.
224 * gdb.base/pointers.exp: Same.
225 * gdb.base/printcmds.exp: Same.
226 * gdb.base/ptype.exp: Same.
227 * gdb.base/restore.exp: Same.
228 * gdb.base/return.exp: Same.
229 * gdb.base/scope.exp: Same.
230 * gdb.base/set-noassign.exp: Same.
231 * gdb.base/setshow.exp: Same.
232 * gdb.base/shlib-call.exp: Same.
233 * gdb.base/signals.exp: Same.
234 * gdb.base/sigstep.exp: Same.
235 * gdb.base/skip.exp: Same.
236 * gdb.base/solib-symbol.exp: Same.
237 * gdb.base/stap-probe.exp: Same.
238 * gdb.base/step-line.exp: Same.
239 * gdb.base/step-test.exp: Same.
240 * gdb.base/style.exp: Same.
241 * gdb.base/varargs.exp: Same.
242 * gdb.base/vla-datatypes.exp: Same.
243 * gdb.base/vla-ptr.exp: Same.
244 * gdb.base/vla-sideeffect.exp: Same.
245 * gdb.base/volatile.exp: Same.
246 * gdb.base/watch-cond-infcall.exp: Same.
247 * gdb.base/watchpoint.exp: Same.
248
249 2019-11-02 Tom de Vries <tdevries@suse.de>
250
251 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
252 * gdb.cp/cpexprs.exp: Same.
253 * gdb.cp/except-multi-location.exp: Same.
254 * gdb.cp/exceptprint.exp: Same.
255 * gdb.cp/gdb2384.exp: Same.
256 * gdb.cp/inherit.exp: Same.
257 * gdb.cp/m-static.exp: Same.
258 * gdb.cp/meth-typedefs.exp: Same.
259 * gdb.cp/misc.exp: Same.
260 * gdb.cp/namespace.exp: Same.
261 * gdb.cp/non-trivial-retval.exp: Same.
262 * gdb.cp/overload.exp: Same.
263 * gdb.cp/pr17132.exp: Same.
264 * gdb.cp/re-set-overloaded.exp: Same.
265 * gdb.cp/rvalue-ref-types.exp: Same.
266 * gdb.cp/templates.exp: Same.
267
268 2019-11-01 Luis Machado <luis.machado@linaro.org>
269
270 PR gdb/25124
271
272 * gdb.arch/pr25124.S: New file.
273 * gdb.arch/pr25124.exp: New file.
274
275 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
276
277 * gdb.fortran/info-modules.exp: Update expected results, and add
278 additional tests for 'info module functinos', and 'info module
279 variables'.
280 * gdb.fortran/info-types.exp: Update expected results.
281 * gdb.fortran/info-types.f90: Extend testcase with additional
282 module variables and functions.
283
284 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
285
286 * gdb.fortran/info-modules.exp: New file.
287 * gdb.fortran/info-types.exp: Build with new file.
288 * gdb.fortran/info-types.f90: Include and use new module.
289 * gdb.fortran/info-types-2.f90: New file.
290
291 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
292
293 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
294 * gdb.base/settings.exp: Test all settings types using
295 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
296 that now verifies that the value of "maint show" is the same as
297 returned by the settings functions. Test the type of the
298 maintenance settings.
299 * gdb.base/default.exp: Update show_conv_list.
300
301 2019-10-31 Tom de Vries <tdevries@suse.de>
302
303 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
304 gdb_test.
305 * gdb.arch/amd64-disp-step.exp: Same.
306 * gdb.asm/asm-source.exp: Same.
307 * gdb.btrace/buffer-size.exp: Same.
308 * gdb.btrace/cpu.exp: Same.
309 * gdb.btrace/enable.exp: Same.
310 * gdb.dwarf2/count.exp: Same.
311 * gdb.dwarf2/dw2-ranges-func.exp: Same.
312 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
313 * gdb.fortran/vla-datatypes.exp: Same.
314 * gdb.fortran/vla-history.exp: Same.
315 * gdb.fortran/vla-ptype.exp: Same.
316 * gdb.fortran/vla-value.exp: Same.
317 * gdb.fortran/whatis_type.exp: Same.
318 * gdb.guile/guile.exp: Same.
319 * gdb.multi/tids.exp: Same.
320 * gdb.python/py-finish-breakpoint.exp: Same.
321 * gdb.python/py-framefilter.exp: Same.
322 * gdb.python/py-pp-registration.exp: Same.
323 * gdb.python/py-xmethods.exp: Same.
324 * gdb.python/python.exp: Same.
325 * gdb.server/connect-with-no-symbol-file.exp: Same.
326 * gdb.server/no-thread-db.exp: Same.
327 * gdb.server/run-without-local-binary.exp: Same.
328 * gdb.stabs/weird.exp: Same.
329 * gdb.threads/attach-many-short-lived-threads.exp: Same.
330 * gdb.threads/thread-find.exp: Same.
331 * gdb.threads/tls-shared.exp: Same.
332 * gdb.threads/tls.exp: Same.
333 * gdb.threads/wp-replication.exp: Same.
334 * gdb.trace/ax.exp: Same.
335 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
336
337 2019-10-31 Tom de Vries <tdevries@suse.de>
338
339 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
340 * gdb.ada/array_subscript_addr.exp: Same.
341 * gdb.ada/arrayidx.exp: Same.
342 * gdb.ada/arrayparam.exp: Same.
343 * gdb.ada/arrayptr.exp: Same.
344 * gdb.ada/boolean_expr.exp: Same.
345 * gdb.ada/call_pn.exp: Same.
346 * gdb.ada/complete.exp: Same.
347 * gdb.ada/fixed_cmp.exp: Same.
348 * gdb.ada/fun_addr.exp: Same.
349 * gdb.ada/funcall_param.exp: Same.
350 * gdb.ada/interface.exp: Same.
351 * gdb.ada/mod_from_name.exp: Same.
352 * gdb.ada/null_array.exp: Same.
353 * gdb.ada/packed_array.exp: Same.
354 * gdb.ada/packed_tagged.exp: Same.
355 * gdb.ada/print_chars.exp: Same.
356 * gdb.ada/print_pc.exp: Same.
357 * gdb.ada/ptype_arith_binop.exp: Same.
358 * gdb.ada/ptype_field.exp: Same.
359 * gdb.ada/ptype_tagged_param.exp: Same.
360 * gdb.ada/rec_return.exp: Same.
361 * gdb.ada/ref_tick_size.exp: Same.
362 * gdb.ada/str_ref_cmp.exp: Same.
363 * gdb.ada/taft_type.exp: Same.
364 * gdb.ada/tagged.exp: Same.
365 * gdb.ada/type_coercion.exp: Same.
366 * gdb.ada/uninitialized_vars.exp: Same.
367
368 2019-10-30 Tom de Vries <tdevries@suse.de>
369
370 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
371
372 2019-10-26 Tom de Vries <tdevries@suse.de>
373
374 * gdb.base/bigcore.c: Fix typos in comments.
375 * gdb.base/ctf-ptype.c: Same.
376 * gdb.base/long_long.c: Same.
377 * gdb.dwarf2/dw2-op-out-param.S: Same.
378 * gdb.python/py-evthreads.c: Same.
379 * gdb.reverse/i387-stack-reverse.c: Same.
380 * gdb.trace/tfile.c: Same.
381 * lib/compiler.c: Same.
382 * lib/compiler.cc: Same.
383
384 2019-10-25 Tom de Vries <tdevries@suse.de>
385
386 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
387 gdb_test_multiple calls.
388 * gdb.reverse/sigall-reverse.exp: Same.
389 * gdb.reverse/solib-precsave.exp: Same.
390 * gdb.reverse/solib-reverse.exp: Same.
391 * gdb.reverse/until-precsave.exp: Same.
392 * gdb.reverse/until-reverse.exp: Same.
393
394 2019-10-24 Tom de Vries <tdevries@suse.de>
395
396 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
397 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
398 kfail using -wrap pattern flag and convenience variable
399 gdb_test_name.
400
401 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
402
403 * gdb.python/py-progspace.exp: Add tests for the
404 Progspace.block_for_pc method.
405
406 2019-10-23 Tom Tromey <tom@tromey.com>
407
408 * configure: Rebuild.
409 * aclocal.m4: Use m4_include, not sinclude.
410
411 2019-10-21 Tom de Vries <tdevries@suse.de>
412
413 * gdb.base/infcall-nested-structs.c: Add
414 __attribute__((noinline,noclone)) to all functions.
415 (call_all): Add missing variable initialization. Simplify return value.
416 (breakpt): Increment volatile variable, to prevent call from being
417 optimized out.
418 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
419
420 2019-10-17 Tom de Vries <tdevries@suse.de>
421
422 * gdb.fortran/module.exp: Allow info variables to print info for files
423 other than module.f90.
424
425 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
426
427 * gdb.fortran/module.exp: Extend with 'info variables' test.
428
429 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
430
431 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
432 F77_FOR_TARGET.
433
434 2019-10-16 Tom de Vries <tdevries@suse.de>
435
436 PR tdep/25096
437 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
438
439 2019-10-16 Tom de Vries <tdevries@suse.de>
440
441 PR tdep/24104
442 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
443 Add KFAIL for PR tdep/25096.
444
445 2019-10-16 Tom de Vries <tdevries@suse.de>
446
447 PR testsuite/25059
448 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
449
450 2019-10-16 Tom de Vries <tdevries@suse.de>
451
452 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
453 as signed.
454
455 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
456
457 * gdb.mi/list-thread-groups-available.exp: Read entries one by
458 one instead of increasing timeout.
459
460 2019-10-13 Tom de Vries <tdevries@suse.de>
461
462 PR record/25038
463 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
464 * gdb.reverse/sigall-reverse.exp: Same.
465 * gdb.reverse/solib-precsave.exp: Same.
466 * gdb.reverse/solib-reverse.exp: Same.
467 * gdb.reverse/step-precsave.exp: Same.
468 * gdb.reverse/until-precsave.exp: Same.
469 * gdb.reverse/until-reverse.exp: Same.
470 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
471
472 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
473
474 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
475 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
476 (cmp_struct_05_01, cmp_struct_static_02_01)
477 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
478 comparisons.
479
480 2019-10-10 Tom de Vries <tdevries@suse.de>
481
482 PR testsuite/24888
483 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
484 gnatlink.
485
486 2019-10-09 Tom de Vries <tdevries@suse.de>
487
488 PR testsuite/25048
489 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
490
491 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
492
493 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
494 exceptions due to missing debug information.
495
496 2019-10-07 Tom de Vries <tdevries@suse.de>
497
498 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
499
500 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
501
502 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
503 * gdb.base/annota1.exp: Update to use gdb_test_name.
504
505 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
506
507 * gdb.base/ctf-whatis.exp: New file.
508 * gdb.base/ctf-whatis.c: New file.
509 * gdb.base/ctf-ptype.exp: New file.
510 * gdb.base/ctf-ptype.c: New file.
511 * gdb.base/ctf-constvars.exp: New file.
512 * gdb.base/ctf-constvars.c: New file.
513 * gdb.base/ctf-cvexpr.exp: New file.
514
515 2019-10-04 Tom de Vries <tdevries@suse.de>
516
517 * gdb.cp/local-static.c (main): Move declaration of int i out of the
518 for loop.
519
520 2019-10-03 Tom Tromey <tom@tromey.com>
521
522 PR rust/24976:
523 * gdb.rust/simple.rs (Union2): New type.
524 (main): Use Union2.
525 * gdb.rust/simple.exp: Add test.
526
527 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
528
529 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
530 nested function prefix.
531
532 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
533 Richard Bunt <richard.bunt@arm.com>
534 Andrew Burgess <andrew.burgess@embecosm.com>
535
536 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
537 nested functions.
538 * gdb.fortran/nested-funcs.f90: Update expected results.
539 * gdb.fortran/nested-funcs-2.exp: New file.
540 * gdb.fortran/nested-funcs-2.f90: New file.
541
542 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
543
544 * gdb.python/py-parameter.exp: Make test names unique.
545 * gdb.python/py-template.exp: Likewise.
546 * gdb.python/py-value.exp: Likewise.
547
548 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
549
550 * gdb.base/break-interp.exp: Reduce test name duplication.
551 * gdb.base/call-sc.exp: Likewise.
552 * gdb.base/callfuncs.exp: Likewise.
553 * gdb.base/charset.exp: Likewise.
554 * gdb.base/dump.exp: Likewise.
555 * gdb.base/ena-dis-br.exp: Likewise.
556 * gdb.base/relational.exp: Likewise.
557 * gdb.base/step-over-syscall.exp: Likewise.
558 * gdb.base/structs.exp: Likewise.
559
560 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
561
562 * gdb.linespec/explicit.exp: Make test names unique.
563 * gdb.linespec/ls-errs.exp: Likewise.
564
565 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
566
567 * gdb.reverse/break-precsave.exp: Make test names unique.
568 * gdb.reverse/break-reverse.exp: Likewise.
569 * gdb.reverse/finish-precsave.exp: Likewise.
570 * gdb.reverse/finish-reverse.exp: Likewise.
571 * gdb.reverse/machinestate-precsave.exp: Likewise.
572 * gdb.reverse/machinestate.exp: Likewise.
573 * gdb.reverse/readv-reverse.exp: Likewise.
574 * gdb.reverse/recvmsg-reverse.exp: Likewise.
575 * gdb.reverse/sigall-precsave.exp: Likewise.
576 * gdb.reverse/sigall-reverse.exp: Likewise.
577 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
578 * gdb.reverse/watch-precsave.exp: Likewise.
579 * gdb.reverse/watch-reverse.exp: Likewise.
580
581 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
582
583 * gdb.threads/stop-with-handle.c: New file.
584 * gdb.threads/stop-with-handle.exp: New file.
585
586 2019-10-03 Tom de Vries <tdevries@suse.de>
587
588 PR testsuite/25059
589 * gdb.base/list-missing-source.exp: Allowing the "Compilation
590 directory" line to be missing.
591
592 2019-10-03 Tom de Vries <tdevries@suse.de>
593
594 PR testsuite/25059
595 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
596 type optional.
597
598 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
599
600 * gdb.python/py-format-string.c (string.h): New include.
601 (main): Fill a_struct_with_union.the_union.an_int with bytes of
602 the same value, for endianness-independence.
603 * gdb.python/py-format-string.exp (default_regexp_dict)
604 (test_pretty_structs, test_format): Adjust expected output to the
605 changed initialization.
606
607 2019-10-02 Tom Tromey <tromey@adacore.com>
608
609 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
610
611 2019-10-02 Pedro Alves <palves@redhat.com>
612 Andrew Burgess <andrew.burgess@embecosm.com>
613
614 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
615 "print-file-var.h".
616 (this_version_id) Use ATTRIBUTE_VISIBILITY.
617 (get_version_1): Print this_version_id and its address.
618 Add extern "C" wrappers around interface functions.
619 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
620 "print-file-var.h".
621 (this_version_id) Use ATTRIBUTE_VISIBILITY.
622 (get_version_2): Print this_version_id and its address.
623 Add extern "C" wrappers around interface functions.
624 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
625 <stddef.h> and "print-file-var.h".
626 Add extern "C" wrappers around interface functions.
627 [VERSION_ID_MAIN] (this_version_id): Define.
628 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
629 * gdb.base/print-file-var.h: Add some #defines to simplify setting
630 up extern "C" blocks.
631 * gdb.base/print-file-var.exp (test): New, factored out from top
632 level.
633 (top level): Test all combinations of attribute hidden or not,
634 dlopen or not, and this_version_id symbol in main file or not.
635 Compile tests as both C++ and C, make test names unique.
636
637 2019-10-01 Tom Tromey <tom@tromey.com>
638
639 * gdb.base/style.exp: Test "show logging filename".
640
641 2019-10-01 Tom Tromey <tom@tromey.com>
642
643 * lib/gdb-utils.exp (style): Handle "metadata" argument.
644 * gdb.base/style.exp: Add metadata style test.
645
646 2019-10-01 Tom Tromey <tom@tromey.com>
647
648 * gdb.base/style.exp: Test "pwd".
649
650 2019-10-01 Tom Tromey <tom@tromey.com>
651
652 * gdb.base/style.exp: Update tests.
653
654 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
655
656 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
657 'six' to unsigned.
658 (s1): Initialize fields 'four' and 'six' instead of 'three' and
659 'five'. Use an all-ones bit pattern for each.
660 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
661 to its changed values.
662
663 2019-09-30 Tom Tromey <tromey@adacore.com>
664
665 * gdb.rust/traits.rs: Disable all warnings.
666
667 2019-09-29 Tom de Vries <tdevries@suse.de>
668
669 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
670
671 2019-09-29 Tom de Vries <tdevries@suse.de>
672
673 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
674
675 2019-09-27 Tom de Vries <tdevries@suse.de>
676
677 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
678
679 2019-09-27 Tom de Vries <tdevries@suse.de>
680
681 PR record/23188
682 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
683
684 2019-09-26 Tom Tromey <tromey@adacore.com>
685
686 * gdb.ada/py_taft.exp: New file.
687 * gdb.ada/py_taft/main.adb: New file.
688 * gdb.ada/py_taft/pkg.adb: New file.
689 * gdb.ada/py_taft/pkg.ads: New file.
690
691 2019-09-24 Tom de Vries <tdevries@suse.de>
692
693 PR gdb/24598
694 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
695
696 2019-09-22 Tom de Vries <tdevries@suse.de>
697
698 * gdb.base/restore.exp: Allow register variables to be optimized out at
699 -O0.
700
701 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
702
703 * gdb.arch/spu-info.exp: Remove file.
704 * gdb.arch/spu-info.c: Remove file.
705 * gdb.arch/spu-ls.exp: Remove file.
706 * gdb.arch/spu-ls.c: Remove file.
707
708 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
709 * gdb.asm/spu.inc: Remove file.
710
711 * gdb.base/dump.exp: Remove support for spu*-*-*.
712 * gdb.base/stack-checking.exp: Likewise.
713 * gdb.base/overlays.exp: Likewise.
714 * gdb.base/ovlymgr.c: Likewise.
715 * gdb.base/spu.ld: Remove file.
716
717 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
718 * gdb.cp/cpexprs.exp: Likewise.
719 * gdb.cp/exception.exp: Likewise.
720 * gdb.cp/gdb2495.exp: Likewise.
721 * gdb.cp/mb-templates.exp: Likewise.
722 * gdb.cp/pr9167.exp: Likewise.
723 * gdb.cp/userdef.exp: Likewise.
724
725 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
726
727 * gdb.cell: Remove directory.
728 * lib/cell.exp: Remove file.
729
730 2019-09-19 Tom de Vries <tdevries@suse.de>
731
732 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
733
734 2019-09-19 Tom de Vries <tdevries@suse.de>
735
736 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
737
738 2019-09-19 Tom de Vries <tdevries@suse.de>
739
740 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
741 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
742 (gdb_target_cmd): ... here.
743 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
744 value 2.
745
746 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
747
748 * gdb.base/source-dir.exp: Avoid having directory names in test
749 names.
750
751 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
752
753 * gdb.base/source-dir.exp: Add extra test for mapped compilation
754 directory.
755
756 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
757
758 * gdb.base/list-missing-source.exp: New file.
759
760 2019-09-14 Tom de Vries <tdevries@suse.de>
761
762 PR teststuite/24599
763 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
764 * lib/ada.exp (gnatmake_version_at_least): New proc.
765
766 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
767
768 * gdb.base/maint.exp: Use exec_has_index_section.
769
770 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
771
772 * gdb.base/maint.exp: Add test for 'maint info sections'.
773
774 2019-09-12 Tom de Vries <tdevries@suse.de>
775
776 * gdb.base/store.exp: Allow register variables to be optimized out at
777 -O0.
778
779 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
780
781 * gdb.ada/rdv_wait.exp: Update to new task names.
782 * gdb.base/task_switch_in_core.exp: Likewise.
783 * gdb.base/info_sources_base.c: Likewise.
784
785 2019-09-10 Tom Tromey <tromey@adacore.com>
786
787 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
788
789 2019-09-10 Tom Tromey <tromey@adacore.com>
790
791 * gdb.ada/dgopt.exp: New file.
792 * gdb.ada/dgopt/x.adb: New file.
793
794 2019-09-08 Tom Tromey <tom@tromey.com>
795
796 * gdb.tui/resize.exp: Remove setup_xfail.
797 * gdb.tui/regs.exp: Remove setup_xfail.
798 * gdb.tui/basic.exp: Remove setup_xfail.
799
800 2019-09-06 David Blaikie <dblaikie@gmail.com>
801
802 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
803 * gdb.cp/cplabel.exp: Ditto.
804 * gdb.linespec/ls-errs.exp: Ditto.
805
806 2019-09-05 Tom de Vries <tdevries@suse.de>
807
808 * lib/gdb.exp (cmp_file_string): New proc.
809 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
810 runto_main. Verify save breakpoints output.
811
812 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
813
814 * gdb.base/info-var.exp: Test info variables without running
815 to main, to avoid expect's buffer overflow.
816
817 2019-09-03 Tom Tromey <tromey@adacore.com>
818
819 * gdb.ada/bias.exp: New file.
820 * gdb.ada/bias/bias.adb: New file.
821 * gdb.ada/print_chars.exp: Add regression test.
822 * gdb.ada/print_chars/foo.adb (My_Character): New type.
823 (MC): New variable.
824
825 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
826
827 * gdb.base/argv0-symlink.exp: Run only on native target
828 and local host.
829
830 2019-08-29 Tom de Vries <tdevries@suse.de>
831
832 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
833 diverse debug info.
834 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
835
836 2019-08-28 Tom de Vries <tdevries@suse.de>
837
838 * gdb.base/info-var.exp: Allow info variables to print info for files
839 other than info-var-f1.c and info-var-f2.c.
840
841 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
842
843 * gdb.fortran/info-types.exp: Add module.
844 * gdb.fortran/info-types.f90: Update expected results.
845
846 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
847
848 * gdb.fortran/info-types.exp: New file.
849 * gdb.fortran/info-types.f90: New file.
850 * lib/fortran.exp (fortran_character1): New proc.
851
852 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
853
854 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
855 functions'. Reindent as needed.
856 * gdb.base/info-var-f1.c: New file.
857 * gdb.base/info-var-f2.c: New file.
858 * gdb.base/info-var.exp: New file.
859 * gdb.base/info-var.h: New file.
860
861 2019-08-26 Tom de Vries <tdevries@suse.de>
862
863 PR c++/24852
864 * gdb.cp/no-libstdcxx-probe.exp: New test.
865
866 2019-08-26 Tom de Vries <tdevries@suse.de>
867
868 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
869 * tests need to be skipped.
870 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
871 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
872 mi_skip_libstdcxx_probe_tests.
873
874 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
875
876 * gdb.python/py-xmethods.exp: Use raw strings when passing
877 arguments to SimpleXMethodMatcher.
878
879 2019-08-22 Tom de Vries <tdevries@suse.de>
880
881 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
882 more informative.
883
884 2019-08-21 Pedro Alves <palves@redhat.com>
885
886 * gdb.base/with.exp: Test "with" with no arguments.
887
888 2019-08-21 Tom de Vries <tdevries@suse.de>
889
890 * gdb.base/gdb-caching-proc.exp: Sort files.
891
892 2019-08-20 Tom de Vries <tdevries@suse.de>
893
894 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
895 compilation.
896
897 2019-08-16 Tom de Vries <tdevries@suse.de>
898
899 * gdb.base/compare-sections.exp ("after run to main"): Allow
900 mismatched read-only sections for PIE executables.
901
902 2019-08-16 Tom Tromey <tom@tromey.com>
903
904 * lib/tuiterm.exp (_csi_Z): New proc.
905 * gdb.tui/basic.exp: Update window positions.
906 * gdb.tui/empty.exp: Update window positions.
907
908 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
909
910 * gdb.base/examine-backward.exp: Correct regexp for
911 "examine 3 bytes backward from ${address_zero}".
912
913 2019-08-15 Tom Tromey <tom@tromey.com>
914
915 * gdb.tui/empty.exp: Enable resizing tests.
916
917 2019-08-15 Tom Tromey <tromey@adacore.com>
918
919 * gdb.ada/char_enum.exp: Add regression tests.
920 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
921 and '0'.
922 (Char, Gchar): Update.
923 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
924
925 2019-08-15 Christian Biesinger <cbiesinger@google.com>
926
927 * gdb.python/python.exp: Expect a leading underscore on
928 GdbOutput{,Error}File.
929
930 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
931
932 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
933 Windows host.
934
935 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
936
937 * gdb.base/batch-preserve-term-settings.exp
938 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
939
940 2019-08-15 Christian Biesinger <cbiesinger@google.com>
941
942 * lib/gdb.exp: When running on a mingw target, replace
943 /x/ with x:/.
944
945 2019-08-14 Alan Hayward <alan.hayward@arm.com>
946
947 * gdb.arch/aarch64-prologue.c: New test.
948 * gdb.arch/aarch64-prologue.exp: New file.
949
950 2019-08-13 Tom de Vries <tdevries@suse.de>
951
952 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
953 Thread.
954
955 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
956
957 * gdb.python/py-completion.exp: Download the .py file to the host
958 and use its host pathname. Conditionalize tests that use
959 tab completion and manipulate files on the build machine.
960 * gdb.python/py-events.exp: Download the .py file to the host
961 and use its host pathname.
962 * gdb.python/py-evsignal.exp: Likewise.
963 * gdb.python/py-evthreads.exp: Likewise.
964 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
965 pathname syntax.
966 * gdb.python/py-framefilter.exp: Download the .py file to the right
967 place on the host. Match Windows pathname syntax.
968 * gdb.python/py-mi-var-info-path-expression.exp: Download the
969 .py file to the host and use its host pathname.
970 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
971 * gdb.python/py-objfile.exp: Expect a host pathname, not a
972 build pathname. Skip symlink test on Windows host. Add missing
973 newline at end of file.
974 * gdb.python/py-pp-maint.exp: Download the .py file to the host
975 and use its host pathname.
976 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
977 * gdb.python/py-section-script.exp: Use host location of binfile
978 on safe-path. Use correct path separator on Windows host.
979 Reorder alternatives in gdb_test_multiple to prevent matching
980 the wrong alternative on success.
981 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
982
983 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
984
985 * gdb.gdb/selftest.exp (test_with_self): Update test to now
986 expect the GDB inferior to no longer immediately stop after
987 being resumed with "signal SIGINT".
988
989 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
990
991 * gdb.linespec/break-ask.exp: Generalize regexps to match
992 Windows pathnames too.
993
994 2019-08-08 Tom de Vries <tdevries@suse.de>
995
996 PR testsuite/24862
997 * lib/tuiterm.exp (_accept): Fix CSI regexp.
998
999 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1000
1001 * gdb.base/style.exp: Update tests for help doc new invariants.
1002 * gdb.base/help.exp: Likewise.
1003
1004 2019-08-06 Tom Tromey <tom@tromey.com>
1005
1006 * gdb.base/style.exp: Add disassemble test.
1007 * gdb.base/style.c (some_called_function): New function.
1008 (main): Use it.
1009
1010 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1011
1012 * gdb.python/py-block.exp: Test dictionary access on blocks.
1013
1014 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1015
1016 PR gdb/24863
1017 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1018 -list-thread-groups --available test when running under
1019 check-read1.
1020
1021 2019-08-05 Tom de Vries <tdevries@suse.de>
1022
1023 PR testsuite/24863
1024 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1025 * gdb.base/help.exp: Use with_read1_timeout_factor.
1026 * gdb.base/info-macros.exp: Same.
1027 * gdb.cp/nested-types.exp: Same.
1028
1029 2019-08-05 Tom de Vries <tdevries@suse.de>
1030
1031 * lib/gdb.exp (version_at_least): Factor out of ...
1032 (tcl_version_at_least): ... here.
1033 (gdb_compile): Fail if pie results in non-PIE executable.
1034 (readelf_version, readelf_prints_pie): New proc.
1035 (exec_is_pie): Return -1 if unknown.
1036
1037 2019-08-05 Tom de Vries <tdevries@suse.de>
1038
1039 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1040
1041 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1042
1043 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1044
1045 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1046
1047 * lib/completion-support.exp (test_gdb_complete_none): Skip
1048 tab completion tests if no readline support.
1049 (test_gdb_complete_unique_re): Likewise.
1050 (test_gdb_complete_multiple): Likewise.
1051
1052 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1053
1054 * gdb.base/info_sources.exp: New file.
1055 * gdb.base/info_sources.c: New file.
1056 * gdb.base/info_sources_base.c: New file.
1057
1058 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1059
1060 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1061 prefix argument.
1062 (test_exit_status): Add prefix argument.
1063
1064 2019-08-01 Tom de Vries <tdevries@suse.de>
1065
1066 PR testsuite/24863
1067 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1068 calling exp_continue for new thread and thread exited messages.
1069
1070 2019-08-01 Tom de Vries <tdevries@suse.de>
1071
1072 PR testsuite/24863
1073 * gdb.base/structs.exp: Fix check-read1 timeout using
1074 gdb_test_sequence.
1075 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1076
1077 2019-08-01 Tom de Vries <tdevries@suse.de>
1078
1079 PR testsuite/24863
1080 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1081 line.
1082
1083 2019-08-01 Tom de Vries <tdevries@suse.de>
1084
1085 PR testsuite/24863
1086 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1087
1088 2019-07-30 Tom Tromey <tromey@adacore.com>
1089
1090 * gdb.ada/display_nested.exp: New file.
1091 * gdb.ada/display_nested/foo.adb: New file.
1092 * gdb.ada/display_nested/pack.adb: New file.
1093 * gdb.ada/display_nested/pack.ads: New file.
1094
1095 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1096
1097 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1098 namespace.
1099 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1100
1101 2019-07-30 Tom de Vries <tdevries@suse.de>
1102
1103 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1104 instead.
1105
1106 2019-07-30 Tom de Vries <tdevries@suse.de>
1107
1108 PR testsuite/24834
1109 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1110 (exec_is_pie): New proc.
1111
1112 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1113
1114 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1115
1116 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1117
1118 * gdb.python/py-objfile.c: Add global and static vars.
1119 * gdb.python/py-objfile.exp: Test new functions Objfile.
1120 lookup_global_symbol and lookup_static_symbol.
1121
1122 2019-07-29 Tom Tromey <tom@tromey.com>
1123
1124 * lib/tuiterm.exp (Term::_csi_@): New proc.
1125 (Term::_csi_X): Don't move cursor.
1126
1127 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1128
1129 * gdb.base/options.exp: Update backtrace - completion to
1130 new option -frame-info.
1131 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1132 Test new 'set print frame-info'. Test backtrace -frame-info
1133 overriding 'set print frame-info'.
1134 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1135 Test new 'set print frame-info'.
1136 Verify consistency of backtrace with and without filters, with and
1137 without -no-filters.
1138 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1139 default.
1140
1141 2019-07-29 Tom de Vries <tdevries@suse.de>
1142
1143 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1144 no arguments".
1145
1146 2019-07-29 Tom de Vries <tdevries@suse.de>
1147
1148 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1149 is a substring of the first for "complete non-unique file name".
1150
1151 2019-07-29 Tom de Vries <tdevries@suse.de>
1152
1153 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1154 with ".*".
1155
1156 2019-07-29 Tom de Vries <tdevries@suse.de>
1157
1158 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1159 Pass prompt_regexp parameter to gdb_test_multiple calls.
1160
1161 2019-07-29 Tom de Vries <tdevries@suse.de>
1162
1163 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1164 print registers" regexps.
1165
1166 2019-07-29 Tom de Vries <tdevries@suse.de>
1167
1168 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1169
1170 2019-07-29 Tom de Vries <tdevries@suse.de>
1171
1172 PR gdb/24855
1173 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1174 (skip_python_tests_prompt): Add prompt_regexp argument to
1175 gdb_test_multiple calls.
1176
1177 2019-07-27 Tom Tromey <tom@tromey.com>
1178
1179 * gdb.tui/main.exp: New file.
1180
1181 2019-07-27 Tom Tromey <tom@tromey.com>
1182
1183 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1184 optional.
1185 * gdb.tui/empty.exp: New file.
1186
1187 2019-07-27 Tom Tromey <tom@tromey.com>
1188
1189 * lib/tuiterm.exp (spawn): New proc.
1190 (Term::resize): New proc.
1191 * gdb.tui/resize.exp: New file.
1192
1193 2019-07-27 Tom Tromey <tom@tromey.com>
1194
1195 * gdb.tui/list.exp: New file.
1196
1197 2019-07-27 Tom Tromey <tom@tromey.com>
1198
1199 * gdb.tui/regs.exp: New file.
1200
1201 2019-07-27 Tom Tromey <tom@tromey.com>
1202
1203 * gdb.tui/basic.exp: Add "layout split" test.
1204
1205 2019-07-27 Tom Tromey <tom@tromey.com>
1206
1207 * gdb.tui/basic.exp: Add "layout asm" test.
1208
1209 2019-07-27 Tom Tromey <tom@tromey.com>
1210
1211 * lib/tuiterm.exp: New file.
1212 * gdb.tui/basic.exp: New file.
1213
1214 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1215
1216 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1217 Enable tests associated with this flag. Adjust regex
1218 referencing "foo_low" to now refer to "foo_cold" instead.
1219
1220 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1221
1222 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1223 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1224 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1225 foo_cold. Revise comments to match.
1226 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1227 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1228 were wrapped into this proc; Call do_test in loop from outermost
1229 level.
1230 (foo_low): Rename all occurrences to "foo_cold".
1231 (backtrace from baz): New test.
1232 (x2/i foo_cold): New test.
1233 (info line *foo_cold): New test.
1234
1235 2019-07-26 Tom de Vries <tdevries@suse.de>
1236
1237 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1238
1239 2019-07-25 Tom de Vries <tdevries@suse.de>
1240
1241 PR testsuite/24830
1242 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1243 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1244 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1245 (skip_libstdcxx_probe_tests): ... here.
1246 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1247
1248 2019-07-24 Tom de Vries <tdevries@suse.de>
1249
1250 PR testsuite/24807
1251 * gdb.objc/basicclass.m: Include stdio.h.
1252 * gdb.objc/nondebug.m: Same.
1253 * gdb.objc/objcdecode.m: Same.
1254
1255 2019-07-24 Tom de Vries <tdevries@suse.de>
1256
1257 PR testsuite/24612
1258 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1259 additional_flags.
1260
1261 2019-07-24 Tom de Vries <tdevries@suse.de>
1262
1263 PR testsuite/24831
1264 * gdb.multi/tids.exp: Update error messages for info threads.
1265
1266 2019-07-24 Tom de Vries <tdevries@suse.de>
1267
1268 * gdb.base/info-types.exp: Allow info types to print info for more than
1269 one file.
1270
1271 2019-07-23 Tom de Vries <tdevries@suse.de>
1272
1273 PR testsuite/24842
1274 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1275 gdb_spawn_with_cmdline_opts.
1276
1277 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1278
1279 * gdb.arch/arm-cmse-sgstubs.c: New test.
1280 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1281
1282 2019-07-23 Tom de Vries <tdevries@suse.de>
1283
1284 PR testsuite/24711
1285 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1286 issuing next command.
1287
1288 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1289
1290 * gdb.ada/info_auto_lang.exp: Update expected results.
1291 * gdb.base/info-types.c: Add additional types to check.
1292 * gdb.base/info-types.exp: Update expected results.
1293
1294 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1295
1296 * gdb.base/info-types.c: New file.
1297 * gdb.base/info-types.exp: New file.
1298
1299 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1300
1301 * gdb.arch/riscv-bp-infcall.c: New file.
1302 * gdb.arch/riscv-bp-infcall.exp: New file.
1303
1304 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1305
1306 PR breakpoints/24541
1307 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1308
1309 2019-07-14 Tom de Vries <tdevries@suse.de>
1310
1311 PR testsuite/24760
1312 * gdb.objc/basicclass.exp: Fix unterminated string.
1313
1314 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1315 Andrew Burgess <andrew.burgess@embecosm.com>
1316
1317 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1318 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1319 negative bounds.
1320 * gdb.fortran/vla-value.exp: Print elements of an array with
1321 negative bounds.
1322 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1323 testing.
1324
1325 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1326
1327 * gdb.base/options.exp (expect_string): Dequote strings in
1328 results.
1329 (test-string): Test strings with different quoting and reindent.
1330
1331 2019-07-10 Tom Tromey <tromey@adacore.com>
1332
1333 * gdb.ada/mi_ex_cond.exp: Update expected results.
1334 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1335 * gdb.ada/mi_catch_ex.exp: Update expected results.
1336 * gdb.ada/mi_catch_assert.exp: Update expected results.
1337 * gdb.ada/catch_ex.exp (catch_exception_info)
1338 (catch_exception_entry, catch_assert_entry)
1339 (catch_unhandled_entry): Update.
1340 * gdb.ada/catch_assert_if.exp: Update expected results.
1341
1342 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1343 Stephen Roberts <stephen.roberts@arm.com>
1344
1345 * gdb.base/define.exp: Restore original prompt.
1346
1347 2019-07-09 Pedro Alves <palves@redhat.com>
1348
1349 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1350 breakpoints" output.
1351 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1352 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1353 throw" creates breakpoint.
1354 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1355 'type="catchpoint"'.
1356
1357 2019-07-09 Pedro Alves <palves@redhat.com>
1358
1359 PR c++/15468
1360 * gdb.cp/except-multi-location-lib.cc: New.
1361 * gdb.cp/except-multi-location-main.cc: New.
1362 * gdb.cp/except-multi-location.exp: New.
1363
1364 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1365
1366 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1367 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1368 argument and update callers.
1369
1370 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1371
1372 * gdb.arch/amd64-break-on-asm-line.S: New file.
1373 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1374
1375 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1376
1377 * gdb.base/printcmds.exp: Test printing C string and
1378 C wide string convenience vars without transiting via the inferior.
1379 Also make test names unique.
1380
1381 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1382
1383 PR breakpoints/25011
1384 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1385
1386 2019-07-04 Pedro Alves <palves@redhat.com>
1387
1388 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1389 body returned ok(0), break(3) or continue(4).
1390 * gdb.testsuite/foreach_with_prefix.exp: New file.
1391
1392 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1393
1394 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1395
1396 2019-07-03 Pedro Alves <palves@redhat.com>
1397
1398 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1399 "return -code".
1400
1401 2019-07-03 Pedro Alves <palves@redhat.com>
1402
1403 PR cli/24732
1404 * gdb.base/shell.exp: Load completion-support.exp.
1405 Adjust expected error output. Add completion tests.
1406
1407 2019-07-03 Pedro Alves <palves@redhat.com>
1408
1409 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1410 string_to_regexp.
1411
1412 2019-07-03 Pedro Alves <palves@redhat.com>
1413
1414 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1415 (expect_integer): Adjust to expect "-string".
1416 (expect_string): New.
1417 (all_options): Expect "-string".
1418 (test-flag, test-boolean): Adjust to expect "-string".
1419 (test-string): New proc.
1420 (top level): Call it.
1421
1422 2019-07-03 Pedro Alves <palves@redhat.com>
1423
1424 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1425 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1426 the expected output in the success.
1427
1428 2019-07-03 Pedro Alves <palves@redhat.com>
1429
1430 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1431 Split one gdb_test_multiple call in two to avoid a race.
1432
1433 2019-07-03 Pedro Alves <palves@redhat.com>
1434
1435 * gdb.base/with.c: New file.
1436 * gdb.base/with.exp: New file.
1437
1438 2019-07-03 Pedro Alves <palves@redhat.com>
1439
1440 * gdb.base/settings.exp: Replace all references to "maint
1441 test-settings set" with references to "maint set test-settings",
1442 and all references to "maint test-settings show" with references
1443 to "maint show test-settings".
1444
1445 2019-07-03 Pedro Alves <palves@redhat.com>
1446
1447 * gdb.base/settings.exp (test-string): Adjust expected out when
1448 testing "maint test-settings show filename"
1449
1450 2019-07-02 Pedro Alves <palves@redhat.com>
1451
1452 * gdb.base/options.exp (test-info-threads): New procedure.
1453 (top level): Call it.
1454
1455 2019-06-28 Tom Tromey <tromey@adacore.com>
1456
1457 * gdb.dwarf2/ada-linkage-name.c: New file.
1458 * gdb.dwarf2/ada-linkage-name.exp: New file.
1459
1460 2019-06-27 Tom Tromey <tromey@adacore.com>
1461
1462 PR c++/20020:
1463 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1464
1465 2019-06-26 Tom de Vries <tdevries@suse.de>
1466
1467 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1468
1469 2019-06-26 Tom de Vries <tdevries@suse.de>
1470
1471 * gdb.base/index-cache.exp: Add back missing debug option.
1472
1473 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1474
1475 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1476
1477 2019-06-25 Tom de Vries <tdevries@suse.de>
1478
1479 PR testsuite/24727
1480 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1481
1482 2019-06-24 Tom de Vries <tdevries@suse.de>
1483
1484 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1485
1486 2019-06-24 Tom de Vries <tdevries@suse.de>
1487
1488 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1489 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1490 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1491
1492 2019-06-24 Tom de Vries <tdevries@suse.de>
1493
1494 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1495
1496 2019-06-21 Tom de Vries <tdevries@suse.de>
1497
1498 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1499
1500 2019-06-21 Tom de Vries <tdevries@suse.de>
1501
1502 PR testsuite/24518
1503 PR ada/24713
1504 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1505 index.
1506
1507 2019-06-19 Tom Tromey <tromey@adacore.com>
1508
1509 * gdb.ada/length_cond.exp: Add intro comment.
1510
1511 2019-06-19 Tom Tromey <tromey@adacore.com>
1512
1513 * gdb.ada/length_cond.exp: New file.
1514 * gdb.ada/length_cond/length_cond.adb: New file.
1515 * gdb.ada/length_cond/pck.adb: New file.
1516 * gdb.ada/length_cond/pck.ads: New file.
1517
1518 2019-06-18 Tom de Vries <tdevries@suse.de>
1519
1520 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1521
1522 2019-06-18 Tom Tromey <tromey@adacore.com>
1523
1524 * gdb.base/list0.h: Add comment explaining control character.
1525
1526 2019-06-18 Tom de Vries <tdevries@suse.de>
1527
1528 * boards/fission.exp: Break up long debug_flags line.
1529
1530 2019-06-16 Tom de Vries <tdevries@suse.de>
1531
1532 PR gdb/24445
1533 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1534 generated index.
1535
1536 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1537
1538 PR gdb/24686
1539 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1540 improve detection of bug gdb/24541.
1541
1542 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1543
1544 PR gdb/24669
1545 * gdb.base/index-cache.exp (uses_readnow,
1546 expecting_index_cache_use): Define global variable.
1547 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1548 expecting_index_cache_use.
1549
1550 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1551 Andrew Burgess <andrew.burgess@embecosm.com>
1552
1553 * gdb.fortran/pointers.f90: New file.
1554 * gdb.fortran/print_type.exp: New file.
1555 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1556 * gdb.fortran/vla-type.exp: Likewise.
1557 * gdb.fortran/vla-value.exp: Likewise.
1558 * gdb.mi/mi-vla-fortran.exp: Likewise.
1559
1560 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1561
1562 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1563 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1564 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1565 as a stop reason.
1566
1567 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1568
1569 * gdb.base/annota1.exp: Update expected results.
1570 * gdb.cp/annota2.exp: Likewise.
1571 * gdb.cp/annota3.exp: Likewise.
1572
1573 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1574
1575 * gdb.base/style-logging.exp: Remove path from test name.
1576
1577 2019-06-14 Tom Tromey <tromey@adacore.com>
1578
1579 PR gdb/24502:
1580 * gdb.base/style-logging.exp: New file.
1581
1582 2019-06-14 Tom Tromey <tromey@adacore.com>
1583
1584 * gdb.base/symfile-warn.exp: New file.
1585 * gdb.base/symfile-warn.c: New file.
1586
1587 2019-06-14 Tom Tromey <tromey@adacore.com>
1588
1589 * gdb.base/annotate-symlink.exp: New file.
1590
1591 2019-06-14 Tom Tromey <tromey@adacore.com>
1592
1593 * gdb.ada/set_wstr.exp: Add reassignment test.
1594
1595 2019-06-14 Tom Tromey <tromey@adacore.com>
1596
1597 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1598 'unchecked_access and 'unrestricted_access as well.
1599
1600 2019-06-14 Tom Tromey <tromey@adacore.com>
1601
1602 PR ada/24539:
1603 * gdb.ada/vla.exp: Update tests.
1604 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1605 pragma.
1606
1607 2019-06-13 Pedro Alves <palves@redhat.com>
1608
1609 * gdb.base/settings.exp (test-integer): Test junk after
1610 "unlimited".
1611
1612 2019-06-13 Pedro Alves <palves@redhat.com>
1613
1614 * gdb.base/options.exp (test-thread-apply): New.
1615 (top level): Call it.
1616
1617 2019-06-13 Pedro Alves <palves@redhat.com>
1618
1619 * gdb.base/options.exp (test-frame-apply): New.
1620 (top level): Test print commands with different "frame apply"
1621 prefixes.
1622
1623 2019-06-13 Pedro Alves <palves@redhat.com>
1624
1625 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1626 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1627 'max_completions' parameter and handle it.
1628 (test_gdb_completion_offers_commands): New.
1629
1630 2019-06-13 Pedro Alves <palves@redhat.com>
1631
1632 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1633
1634 2019-06-13 Pedro Alves <palves@redhat.com>
1635
1636 * gdb.base/options.exp (test-backtrace): New.
1637 (top level): Call it.
1638
1639 2019-06-13 Pedro Alves <palves@redhat.com>
1640
1641 * gdb.guile/scm-frame-args.exp: Use "set print
1642 raw-frame-arguments" instead of "set print raw frame-arguments".
1643 * gdb.python/py-frame-args.exp: Likewise.
1644
1645 2019-06-13 Pedro Alves <palves@redhat.com>
1646
1647 * gdb.compile/compile.exp: Adjust expected output to option
1648 processing changes.
1649
1650 2019-06-13 Pedro Alves <palves@redhat.com>
1651
1652 * gdb.base/options.exp: Build executable.
1653 (test-print): New procedure.
1654 (top level): Call it, once for "print" and another for "compile
1655 print".
1656
1657 2019-06-13 Pedro Alves <palves@redhat.com>
1658
1659 * gdb.base/options.c: New file.
1660 * gdb.base/options.exp: New file.
1661
1662 2019-06-13 Pedro Alves <palves@redhat.com>
1663
1664 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1665 that "o" is ambiguous.
1666
1667 2019-06-13 Pedro Alves <palves@redhat.com>
1668
1669 * gdb.base/settings.c: New file.
1670 * gdb.base/settings.exp: New file.
1671
1672 2019-06-13 Pedro Alves <palves@redhat.com>
1673
1674 * gdb.base/completion.exp: Fix comment typo.
1675
1676 2019-06-13 Pedro Alves <palves@redhat.com>
1677
1678 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1679 foo --1" test.
1680
1681 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1682
1683 * gdb.fortran/block-data.f: New.
1684 * gdb.fortran/block-data.exp: New.
1685
1686 2019-06-11 Tom de Vries <tdevries@suse.de>
1687
1688 PR testsuite/24521
1689 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1690 message.
1691
1692 2019-06-11 Tom de Vries <tdevries@suse.de>
1693
1694 PR testsuite/24521
1695 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1696
1697 2019-06-11 Tom de Vries <tdevries@suse.de>
1698
1699 * boards/readnow.exp: New file.
1700
1701 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1702
1703 * gdb.fortran/vla-sizeof.exp: Update expected results.
1704
1705 2019-06-06 Amos Bird <amosbird@gmail.com>
1706
1707 * gdb.base/annota1.exp (thread_switch): Add test for
1708 thread-exited annotation.
1709
1710 2019-06-06 Tom Tromey <tromey@adacore.com>
1711
1712 * gdb.base/maint.exp: Expect command started/finished output.
1713
1714 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1715
1716 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1717 comment.
1718 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1719
1720 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1721
1722 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1723 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1724 * gdb.arch/riscv-unwind-long-insn.c: New file.
1725 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1726
1727 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1728
1729 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1730
1731 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1732
1733 * lib/gdb.exp (help_list_trailer): New regexp variable
1734 factorizing the help trailer message.
1735 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1736 arg to allow to better factorize various tests.
1737 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1738 (test_prefix_command_help): Use help_list_trailer.
1739 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1740 * gdb.guile/scm-cmd.exp: Likewise.
1741 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1742 * gdb.base/help.exp: Use test_user_defined_class_help.
1743 * gdb.base/style.exp: Add tests for styling of help and apropos.
1744 * lib/gdb-utils.exp (style): Add title and highlight styles.
1745
1746 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1747
1748 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1749 $_shell_exitsignal.
1750 * gdb.base/default.exp: Update for new convenience variables.
1751
1752 2019-05-29 Tom Tromey <tromey@adacore.com>
1753
1754 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1755 to "break complete ada" test case's regexp.
1756
1757 2019-05-29 Tom Tromey <tromey@adacore.com>
1758
1759 PR c++/20020:
1760 * gdb.cp/constexpr-field.exp: New file.
1761 * gdb.cp/constexpr-field.cc: New file.
1762
1763 2019-05-29 Tom Tromey <tromey@adacore.com>
1764
1765 * gdb.base/finish.exp (finish_no_print): New proc.
1766 (finish_tests): Call it.
1767
1768 2019-05-24 Tom de Vries <tdevries@suse.de>
1769
1770 * gdb.dwarf2/gdb-add-index.exp: New file.
1771
1772 2019-05-22 Tom Tromey <tromey@adacore.com>
1773
1774 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1775 * gdb.base/style.exp: Use "style".
1776 * lib/gdb-utils.exp (style): New proc.
1777
1778 2019-05-22 Tom de Vries <tdevries@suse.de>
1779
1780 * gdb.base/align.exp: Require c++11.
1781
1782 2019-05-22 Tom de Vries <tdevries@suse.de>
1783
1784 PR testsuite/24586
1785 * gdb.python/py-mi-var-info-path-expression.exp: Call
1786 mi_skip_python_tests to check if python is supported.
1787
1788 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1789
1790 * gdb.arch/aarch64-pauth.c: New test.
1791 * gdb.arch/aarch64-pauth.exp: New file.
1792
1793 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1794
1795 * README (Re-running Tests Outside The Testsuite): New section.
1796
1797 2019-05-21 Tom de Vries <tdevries@suse.de>
1798
1799 * gdb.arch/amd64-eval.exp: Require c++11.
1800 * gdb.base/max-depth.exp: Same.
1801 * gdb.compile/compile-cplus-array-decay.exp: Same.
1802 * gdb.cp/meth-typedefs.exp: Same.
1803 * gdb.cp/subtypes.exp: Same.
1804 * gdb.cp/temargs.exp: Same.
1805
1806 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1807
1808 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1809
1810 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1811
1812 PR gdb/18644
1813 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1814 * gdb.fortran/printing-types.exp: Add new test.
1815 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1816 testing.
1817 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1818 setup_kfail call.
1819
1820 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1821
1822 * README (Running the Testsuite): Change example.
1823 (Testsuite Parameters): Remove TRANSCRIPT.
1824 * lib/gdb.exp: Remove TRANSCRIPT check.
1825
1826 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1827
1828 * README (Testsuite Parameters): Add replay logging to
1829 GDBSERVER_DEBUG.
1830 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1831 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1832 as a comma separated list.
1833 (gdb_debug_init): Override procedure.
1834
1835 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1836
1837 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1838 (gdb_write_cmd_file): New procedure.
1839 * lib/gdbserver-support.exp (gdbserver_start): Call
1840 gdbserver_write_cmd_file.
1841 (gdbserver_write_cmd_file): New procedure.
1842
1843 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1844
1845 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1846 (delete_breakpoints): Likewise.
1847 (gdb_run_cmd): Likewise.
1848 (gdb_start_cmd): Likewise.
1849 (gdb_starti_cmd): Likewise.
1850 (gdb_internal_error_resync): Likewise.
1851 (gdb_test_multiple): Likewise.
1852 (gdb_reinitialize_dir): Likewise.
1853 (default_gdb_exit): Likewise.
1854 (gdb_file_cmd): Mark kill as optional.
1855 (default_gdb_start): Call gdb_stdin_log_init.
1856 (send_gdb): Call gdb_stdin_log_write.
1857 (rerun_to_main): Mark Y as an answer.
1858 (gdb_stdin_log_init): New function.
1859 (gdb_stdin_log_write): Likewise.
1860
1861 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1862
1863 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1864 * gdb.base/debug-expr.exp: Likewise.
1865 * gdb.base/foll-fork.exp: Likewise.
1866 * gdb.base/foll-vfork.exp: Likewise.
1867 * gdb.base/fork-print-inferior-events.exp: Likewise.
1868 * gdb.base/gdb-sigterm.exp: Likewise.
1869 * gdb.base/gdbinit-history.exp: Likewise.
1870 * gdb.base/osabi.exp: Likewise.
1871 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1872 * gdb.base/ui-redirect.exp: Likewise.
1873 * gdb.gdb/unittest.exp: Likewise.
1874 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1875 * gdb.mi/mi-watch.exp: Likewise.
1876 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1877 * gdb.mi/user-selected-context-sync.exp: Likewise.
1878 * gdb.python/python.exp: Disable debug test when debugging.
1879 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1880 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1881 Likewise.
1882 * gdb.threads/stepi-random-signal.exp: Likewise.
1883
1884 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1885
1886 * Makefile.in: Pass through GDB_DEBUG.
1887 * README (Testsuite Parameters): Add GDB_DEBUG.
1888 (gdb,debug): Add board setting.
1889 * lib/gdb.exp (default_gdb_start): Start debugging.
1890 (gdb_debug_enabled): New procedure.
1891 (gdb_debug_init): Likewise.
1892
1893 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1894
1895 * Makefile.in: Pass through GDB_DEBUG.
1896 * README (Testsuite Parameters): Add GDB_DEBUG.
1897 (gdb,debug): Add board setting.
1898 * lib/gdb.exp (default_gdb_start): Start debugging.
1899 (gdb_debug_enabled): New procedure.
1900 (gdb_debug_init): Likewise.
1901
1902 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1903
1904 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1905
1906 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1907
1908 * gdb.base/ui-redirect.exp: Test redirection.
1909
1910 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1911
1912 * gdb.mi/mi-complete.exp: New file.
1913 * gdb.mi/mi-complete.cc: Likewise.
1914
1915 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1916
1917 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1918 indexed and sliced arrays, and pointers to arrays.
1919
1920 2019-05-14 Tom Tromey <tromey@adacore.com>
1921
1922 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1923 styling test.
1924
1925 2019-05-14 Tom de Vries <tdevries@suse.de>
1926
1927 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1928 selection entry encoding.
1929
1930 2019-05-10 Tom Tromey <tromey@adacore.com>
1931
1932 * gdb.ada/info_exc.exp: Add "complete" test.
1933
1934 2019-05-09 Tom de Vries <tdevries@suse.de>
1935
1936 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1937 CU-relative.
1938
1939 2019-05-09 Tom de Vries <tdevries@suse.de>
1940
1941 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1942 CU-relative.
1943
1944 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1945
1946 * gdb.ada/frame_arg_lang.exp: New testcase.
1947 * gdb.ada/frame_arg_lang/bla.adb: New file.
1948 * gdb.ada/frame_arg_lang/pck.ads: New file.
1949 * gdb.ada/frame_arg_lang/pck.adb: New file.
1950 * gdb.ada/frame_arg_lang/foo.c: New file.
1951
1952 2019-05-08 Tom Tromey <tromey@adacore.com>
1953
1954 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1955
1956 2019-05-08 Tom Tromey <tromey@adacore.com>
1957
1958 * gdb.base/ptype-offsets.exp: Update tests.
1959
1960 2019-05-08 Tom Tromey <tromey@adacore.com>
1961
1962 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1963 cases.
1964 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1965 "short".
1966
1967 2019-05-08 Tom Tromey <tromey@adacore.com>
1968
1969 * gdb.ada/vla.exp: New file.
1970 * gdb.ada/vla/vla.adb: New file.
1971
1972 2019-05-07 Tom de Vries <tdevries@suse.de>
1973
1974 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1975
1976 2019-05-07 Tom de Vries <tdevries@suse.de>
1977
1978 PR testsuite/24522
1979 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1980 section.
1981
1982 2019-05-07 Tom de Vries <tdevries@suse.de>
1983
1984 PR testsuite/24522
1985 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1986 .debug_aranges section.
1987
1988 2019-05-07 Tom de Vries <tdevries@suse.de>
1989
1990 PR testsuite/24159
1991 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1992
1993 2019-05-06 Tom de Vries <tdevries@suse.de>
1994
1995 * lib/gdb.exp (exec_has_index_section): New proc.
1996 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1997 section.
1998
1999 2019-05-04 Tom de Vries <tdevries@suse.de>
2000
2001 * boards/cc-with-debug-names.exp: New file.
2002
2003 2019-05-03 Tom Tromey <tromey@adacore.com>
2004
2005 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2006 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2007 * gdb.ada/char_enum.exp: Add test.
2008
2009 2019-05-03 Tom de Vries <tdevries@suse.de>
2010
2011 * boards/cc-with-gdb-index.exp: New file.
2012
2013 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2014
2015 * gdb.rust/simple.exp: Add new test case.
2016 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2017 (main): Initialise an instance of the new struct.
2018
2019 2019-05-01 Tom Tromey <tromey@adacore.com>
2020
2021 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2022 record.
2023 (NPR): New variable.
2024 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2025 test.
2026
2027 2019-05-01 Tom Tromey <tromey@adacore.com>
2028
2029 * gdb.ada/packed_array_assign.exp: Add packed assignment
2030 regression test.
2031
2032 2019-05-01 Tom de Vries <tdevries@suse.de>
2033
2034 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2035
2036 2019-05-01 Tom de Vries <tdevries@suse.de>
2037
2038 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2039
2040 2019-04-30 Ali Tamur <tamur@google.com>
2041
2042 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2043
2044 2019-04-30 Tom Tromey <tromey@adacore.com>
2045
2046 * lib/ada.exp (find_ada_tool): New proc.
2047 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2048 * gdb.ada/catch_ex_std.exp: New file.
2049 * gdb.ada/catch_ex_std/foo.adb: New file.
2050 * gdb.ada/catch_ex_std/some_package.adb: New file.
2051 * gdb.ada/catch_ex_std/some_package.ads: New file.
2052
2053 2019-04-30 Tom Tromey <tromey@adacore.com>
2054
2055 PR c++/24470:
2056 * gdb.cp/temargs.cc: Add test code from PR.
2057
2058 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2059
2060 * gdb.fortran/vla-datatypes.exp: Update expected results.
2061 * gdb.fortran/vla-ptype.exp: Likewise.
2062 * gdb.fortran/vla-type.exp: Likewise.
2063 * gdb.fortran/vla-value.exp: Likewise.
2064
2065 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2066
2067 * gdb.fortran/ptr-indentation.exp: Update expected results.
2068 * gdb.fortran/ptype-on-functions.exp: Likewise.
2069 * gdb.fortran/vla-ptr-info.exp: Likewise.
2070 * gdb.fortran/vla-value.exp: Likewise.
2071
2072 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2073
2074 * gdb.fortran/ptype-on-functions.exp: New file.
2075 * gdb.fortran/ptype-on-functions.f90: New file.
2076
2077 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2078
2079 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2080 case void string.
2081
2082 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2083
2084 * gdb.fortran/complex.exp: Expand.
2085 * gdb.fortran/complex.f: Renamed to...
2086 * gdb.fortran/complex.f90: ...this, and extended to add more
2087 complex values.
2088
2089 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2090
2091 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2092 MODULO, CMPLX.
2093
2094 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2095 Richard Bunt <richard.bunt@arm.com>
2096
2097 * gdb.base/max-depth.c: New file.
2098 * gdb.base/max-depth.exp: New file.
2099 * gdb.python/py-nested-maps.c: New file.
2100 * gdb.python/py-nested-maps.exp: New file.
2101 * gdb.python/py-nested-maps.py: New file.
2102 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2103 (test_all_common): Call test_max_depth.
2104 * gdb.fortran/max-depth.exp: New file.
2105 * gdb.fortran/max-depth.f90: New file.
2106 * gdb.go/max-depth.exp: New file.
2107 * gdb.go/max-depth.go: New file.
2108 * gdb.modula2/max-depth.exp: New file.
2109 * gdb.modula2/max-depth.c: New file.
2110 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2111
2112 2019-04-29 Tom de Vries <tdevries@suse.de>
2113
2114 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2115
2116 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2117
2118 * gdb.base/callexit.exp: Test may-call-functions off.
2119
2120 2019-04-25 Keith Seitz <keiths@redhat.com>
2121
2122 PR c++/24367
2123 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2124 (another_incomplete_struct, test_incomplete): New definitions.
2125 (main): Use new definitions.
2126 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2127 functions.
2128
2129 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2130
2131 PR corefiles/11608
2132 PR corefiles/18187
2133 * gdb.base/coredump-filter-build-id.exp: New file.
2134
2135 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2136
2137 * Makefile.in: Pass through GDBSERVER_DEBUG.
2138 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2139 (gdbserver,debug): Add board setting.
2140 * gdb.trace/tspeed.exp: Skip when debugging.
2141 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2142 * lib/gdbserver-support.exp: Likewise
2143
2144 2019-04-24 Tom Tromey <tromey@adacore.com>
2145
2146 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2147 Rust.
2148
2149 2019-04-24 Tom Tromey <tromey@adacore.com>
2150
2151 * gdb.arch/amd64-eval.exp: Test bitfield return.
2152 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2153 (class Foo) <return_bitfields>: New method.
2154 (main): Call it.
2155
2156 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2157
2158 * gdb.cp/many-args.cc: New file.
2159 * gdb.cp/many-args.exp: New file.
2160
2161 2019-04-23 Tom de Vries <tdevries@suse.de>
2162
2163 PR gdb/24433
2164 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2165
2166 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2167
2168 * gdb.trace/backtrace.exp: Use nopie flag.
2169 * gdb.trace/circ.exp: Likewise.
2170 * gdb.trace/collection.exp: Likewise.
2171 * gdb.trace/ftrace.exp: Likewise.
2172 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2173 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2174 * gdb.trace/qtro.exp: Likewise.
2175 * gdb.trace/read-memory.exp: Likewise.
2176 * gdb.trace/report.exp: Likewise.
2177 * gdb.trace/tfile.exp: Likewise.
2178 * gdb.trace/tfind.exp: Likewise.
2179 * gdb.trace/unavailable.exp: Likewise.
2180
2181 2019-04-22 Pedro Alves <palves@redhat.com>
2182
2183 * gdb.base/solib-probes-nosharedlibrary.c,
2184 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2185
2186 2019-04-19 Tom Tromey <tromey@adacore.com>
2187
2188 * gdb.ada/ptype_union.c: New file.
2189 * gdb.ada/ptype_union.exp: New file.
2190
2191 2019-04-19 Tom Tromey <tromey@adacore.com>
2192
2193 PR symtab/24423:
2194 * gdb.base/list0.h (foo): Add a control-l character.
2195
2196 2019-04-18 Tom de Vries <tdevries@suse.de>
2197
2198 PR gdb/24433
2199 * boards/local-board.exp: Set sysroot to "".
2200
2201 2019-04-18 Tom de Vries <tdevries@suse.de>
2202 Pedro Alves <palves@redhat.com>
2203
2204 PR gdb/24454
2205 * gdb.threads/vfork-follow-child-exec.c: New file.
2206 * gdb.threads/vfork-follow-child-exec.exp: New file.
2207 * gdb.threads/vfork-follow-child-exit.c: New file.
2208 * gdb.threads/vfork-follow-child-exit.exp: New file.
2209
2210 2019-04-15 Leszek Swirski <leszeks@google.com>
2211
2212 * gdb.arch/amd64-eval.cc: New file.
2213 * gdb.arch/amd64-eval.exp: New file.
2214
2215 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2216
2217 * gdb.server/sysroot.c: New test.
2218 * gdb.server/sysroot.exp: New file.
2219 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2220 matching param.
2221
2222 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2223
2224 * gdb.base/align.exp: Extend test to cover structures containing
2225 only static fields.
2226
2227 2019-04-11 Tom de Vries <tdevries@suse.de>
2228
2229 * boards/cc-with-dwz-m.exp: New file.
2230 * boards/cc-with-dwz.exp: New file.
2231 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2232
2233 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2234
2235 * gdb.base/start-cpp.exp: New file.
2236 * gdb.base/start-cpp.cc: New file.
2237
2238 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2239
2240 * gdb.python/py-thrhandle.exp: Adjust tests to call
2241 thread_from_handle instead of thread_from_thread_handle.
2242
2243 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2244
2245 * gdb.python/py-thrhandle.exp: Add tests for
2246 gdb.InferiorThread.handle.
2247
2248 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2249
2250 * gdb.python/py-function.exp: Check calling helper function from
2251 all languages.
2252 * lib/gdb.exp (gdb_supported_languages): New proc.
2253
2254 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2255
2256 * gdb.base/complex-parts.c: New file.
2257 * gdb.base/complex-parts.exp: New file.
2258
2259 2019-04-01 Tom Tromey <tromey@adacore.com>
2260
2261 PR symtab/23331:
2262 * gdb.dwarf2/dw2-ranges-main.c: New file.
2263 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2264 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2265
2266 2019-03-30 Simon Marchi <simark@simark.ca>
2267
2268 * gdb.base/default.exp: Add values for $_gdb_major and
2269 $_gdb_minor.
2270
2271 2019-03-29 Tom Tromey <tromey@adacore.com>
2272
2273 * gdb.base/help.exp: Tighten apropos regexp.
2274
2275 2019-03-29 Keith Seitz <keiths@redhat.com>
2276
2277 * gdb.fortran/array-bounds.exp: New file.
2278 * gdb.fortran/array-bounds.f90: New file.
2279
2280 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2281
2282 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2283
2284 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2285
2286 * gdb.multi/hello.c (main): Increase alarm timer.
2287
2288 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2289
2290 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2291 factor when no hardware watchpoint support.
2292
2293 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2294 Pedro Alves <palves@redhat.com>
2295
2296 * boards/local-board.exp: set sysroot to /.
2297
2298 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2299
2300 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2301 in child.
2302
2303 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2304
2305 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2306 field.
2307 (make_container): Initialise new field.
2308 * gdb.python/py-prettyprint.exp: Add new tests.
2309 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2310 <display_hint>: New method.
2311
2312 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2313
2314 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2315 gdb_continue_to_breakpoint more throughout this test.
2316 (run_lang_tests) Supply unique test names, and use
2317 gdb_test_no_output.
2318
2319 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2320
2321 * gdb.base/finish-pretty.exp: Update expected results.
2322 * gdb.base/pretty-print.c: New file.
2323 * gdb.base/pretty-print.exp: New file.
2324
2325 2019-03-25 Pedro Alves <palves@redhat.com>
2326
2327 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2328 move comments outside list. Append '-i "" eof' section.
2329
2330 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2331
2332 PR testsuite/25016
2333 * README: Add pie options.
2334 * gdb.base/break-interp.exp: Ensure pie is disabled.
2335 * gdb.base/dump.exp: Likewise.
2336 * lib/gdb.exp (gdb_compile): Add pie option.
2337
2338 2019-03-19 Tom Tromey <tromey@adacore.com>
2339
2340 * gdb.mi/mi2-cli-display.c: New file.
2341 * gdb.mi/mi2-cli-display.exp: New file.
2342
2343 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2344 Tom Tromey <tromey@adacore.com>
2345
2346 * gdb.ada/ptype_array/pck.adb: New file.
2347 * gdb.ada/ptype_array/pck.ads: New file.
2348 * gdb.ada/ptype_array/foo.adb: New file.
2349 * gdb.ada/ptype_array.exp: New file.
2350
2351 2019-03-14 Tom Tromey <tromey@adacore.com>
2352
2353 * gdb.base/style.exp: Add "set style sources" test.
2354
2355 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2356
2357 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2358 * mi-breakpoint-multiple-locations.exp: ... this.
2359 (make_breakpoints_pattern): New proc.
2360 (do_test): Add mi_version parameter, test -break-insert,
2361 -break-info and =breakpoint-created.
2362
2363 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2364
2365 * config/default.exp: Remove 'load_lib gdb.exp'.
2366 * config/monitor.exp: Likewise.
2367 * config/sid.exp: Likewise.
2368 * config/sim.exp: Likewise.
2369 * config/slite.exp: Likewise.
2370 * config/unix.exp: Likewise.
2371 * gdb.base/default.exp: Remove unhelpful comment.
2372
2373 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2374
2375 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2376
2377 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2378
2379 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2380
2381 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2382
2383 * gdb.fortran/type-kinds.exp: Update expected results.
2384
2385 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2386
2387 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2388
2389 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2390
2391 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2392 function.
2393 (test_basic_parsing_of_type_kinds): Expand types tested.
2394 (test_parsing_invalid_type_kinds): New function.
2395
2396 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2397
2398 * gdb.fortran/intrinsics.exp: New file.
2399 * gdb.fortran/intrinsics.f90: New file.
2400 * gdb.fortran/type-kinds.exp: New file.
2401
2402 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2403
2404 * gdb.fortran/dot-ops.exp: New file.
2405
2406 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2407
2408 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2409 Check upper and lower case logical literals.
2410
2411 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2412
2413 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2414 Remove duplicate tests.
2415
2416 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2417
2418 * lib/gdb.exp (builtin_cd): rename of cd.
2419 (cd): Override builtin.
2420
2421 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2422
2423 * gdb.fortran/function-calls.exp: New file.
2424 * gdb.fortran/function-calls.f90: New test.
2425
2426 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2427
2428 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2429 on user program standard output.
2430 * gdb.fortran/short-circuit-argument-list.f90: Record function
2431 calls.
2432
2433 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2434
2435 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2436 failure.
2437
2438 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2439
2440 PR gdb/8527
2441 * gdb.base/interrupt-daemon-attach.c,
2442 gdb.base/interrupt-daemon-attach.exp: New test.
2443
2444 2019-02-27 Pedro Alves <palves@redhat.com>
2445
2446 * gdb.base/page.exp: Add tests for "set width/height -1".
2447
2448 2019-02-27 Pedro Alves <palves@redhat.com>
2449
2450 * gdb.base/page.exp: Add tests for "set/show width/height" with
2451 "infinite" values.
2452
2453 2019-02-27 Tom Tromey <tromey@adacore.com>
2454
2455 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2456 2.4.
2457 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2458 workaround.
2459
2460 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2461
2462 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2463 tests for structs with static members.
2464
2465 2019-02-26 Tom Tromey <tromey@adacore.com>
2466
2467 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2468 ValueError, not TypeError.
2469
2470 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2471
2472 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2473 call from main program.
2474
2475 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2476
2477 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2478 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2479 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2480 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2481 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2482
2483 2019-02-22 Keith Seitz <keiths@redhat.com>
2484
2485 PR symtab/23853
2486 * gdb.base/symlink-sourcefile.c: New file.
2487 * gdb.base/symlink-sourcefile.exp: New file.
2488
2489 2019-02-20 Tom Tromey <tom@tromey.com>
2490
2491 * gdb.base/info_qt.exp: Update.
2492
2493 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2494
2495 * gdb.base/source.exp: Move "error in sourced script" code to
2496 the end.
2497 * gdb.base/source-error.gdb: Move contents to
2498 source-error-1.gdb. Add new code to source source-error-1.gdb.
2499 * gdb.base/source-error-1.gdb: New file, from previous
2500 source-error.gdb.
2501
2502 2019-02-17 Tom Tromey <tom@tromey.com>
2503
2504 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2505 for macro styling.
2506 * gdb.base/style.c (SOME_MACRO): New macro.
2507
2508 2019-02-17 Tom Tromey <tom@tromey.com>
2509
2510 * gdb.base/style.exp: Add line-wrapping tests.
2511 * gdb.base/page.exp: Add test for quitting during pagination.
2512
2513 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2514
2515 * gdb.ada/big_packed_array: New testcase.
2516 * gdb.ada/homonym.exp: Fix incorrect expected output for
2517 "break <homonym__get_value>" test.
2518
2519 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2520
2521 PR breakpoints/21870
2522 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2523 and prepare_for_testing. Add comment.
2524 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2525 redundant cleanup call. Clean up comment.
2526
2527 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2528
2529 PR breakpoints/21870
2530 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2531 * gdb.arch/aarch64-dbreg-contents.c: New file.
2532
2533 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2534
2535 * gdb.ada/mi_ref_changeable: New testcase.
2536
2537 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2538
2539 * gdb.base/attach.exp: Add double attach test.
2540
2541 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2542
2543 * lib/gdb.exp (default_gdb_start): Don't match pagination
2544 prompt.
2545 (gdb_init): Set stty_init.
2546
2547 2019-01-27 Tom Tromey <tom@tromey.com>
2548
2549 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2550 skip_python_tests.
2551
2552 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2553
2554 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2555 New structure.
2556 (struct struct_static_02_02): Likewise.
2557 (struct struct_static_02_03): Likewise.
2558 (struct struct_static_02_04): Likewise.
2559 (struct struct_static_04_01): Likewise.
2560 (struct struct_static_04_02): Likewise.
2561 (struct struct_static_04_03): Likewise.
2562 (struct struct_static_04_04): Likewise.
2563 (struct struct_static_06_01): Likewise.
2564 (struct struct_static_06_02): Likewise.
2565 (struct struct_static_06_03): Likewise.
2566 (struct struct_static_06_04): Likewise.
2567 (cmp_struct_static_02_01): Likewise.
2568 (cmp_struct_static_02_02): Likewise.
2569 (cmp_struct_static_02_03): Likewise.
2570 (cmp_struct_static_02_04): Likewise.
2571 (cmp_struct_static_04_01): Likewise.
2572 (cmp_struct_static_04_02): Likewise.
2573 (cmp_struct_static_04_03): Likewise.
2574 (cmp_struct_static_04_04): Likewise.
2575 (cmp_struct_static_06_01): Likewise.
2576 (cmp_struct_static_06_02): Likewise.
2577 (cmp_struct_static_06_03): Likewise.
2578 (cmp_struct_static_06_04): Likewise.
2579 (call_all): Test new structs.
2580 * gdb.base/infcall-nested-structs.exp: Likewise.
2581
2582 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2583 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2584
2585 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2586 * gdb.base/stack-protector.c: New test.
2587 * gdb.base/stack-protector.exp: New file.
2588 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2589 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2590 option.
2591 (gdb_compile): Remove stack protector for GCC and prevent
2592 recursion.
2593
2594 2019-01-16 Keith Seitz <keiths@redhat.com>
2595
2596 PR gdb/23773
2597 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2598
2599 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2600
2601 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2602 aliases.
2603 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2604 tests.
2605 * gdb.arch/powerpc-vector-regs.c: New file.
2606 * gdb.arch/powerpc-vector-regs.exp: New file.
2607
2608 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2609
2610 * gdb.arch/altivec-regs.exp: Fix the list passed to
2611 gdb_expect_list when testing "info vector".
2612
2613 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2614
2615 * gdb.base/style.exp: Don't include path in testname.
2616
2617 2019-01-10 Keith Seitz <keiths@redhat.com>
2618
2619 PR gdb/23712
2620 PR symtab/23010
2621 * gdb.dwarf2/multidictionary.exp: New file.
2622
2623 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2624
2625 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2626 (test_gnuv3_style_demangling): ... this.
2627 (test_lucid_style_demangling): Remove.
2628 (test_arm_style_demangling): Remove.
2629 (test_hp_style_demangling): Remove.
2630 (do_tests): Remove calls to the above.
2631
2632 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2633
2634 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2635 case.
2636
2637 2019-01-06 Tom Tromey <tom@tromey.com>
2638
2639 PR gdb/28155:
2640 * gdb.dwarf2/typedef-void-finish.exp: New file.
2641
2642 2018-12-28 Tom Tromey <tom@tromey.com>
2643 Simon Marchi <simark@simark.ca>
2644
2645 * gdb.base/jit-exec.exp: New file.
2646 * gdb.base/jit-exec.c: New file.
2647 * gdb.base/jit-execd.c: New file.
2648
2649 2018-12-28 Tom Tromey <tom@tromey.com>
2650
2651 * gdb.base/style.exp: Update test to check for address styling.
2652
2653 2018-12-28 Tom Tromey <tom@tromey.com>
2654
2655 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2656 message.
2657
2658 2018-12-28 Tom Tromey <tom@tromey.com>
2659
2660 * gdb.base/style.exp: Add test for version number styling.
2661
2662 2018-12-28 Tom Tromey <tom@tromey.com>
2663
2664 * gdb.base/style.exp: Add test for print_address_symbolic.
2665
2666 2018-12-28 Tom Tromey <tom@tromey.com>
2667
2668 * gdb.base/style.exp: Add test for breakpoint setting.
2669
2670 2018-12-28 Tom Tromey <tom@tromey.com>
2671
2672 * gdb.base/style.exp: Add test for variable names.
2673
2674 2018-12-28 Tom Tromey <tom@tromey.com>
2675
2676 * gdb.base/style.exp: New file.
2677 * gdb.base/style.c: New file.
2678
2679 2018-12-28 Tom Tromey <tom@tromey.com>
2680
2681 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2682 "dumb".
2683 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2684 the TERM environment variable.
2685
2686 2018-12-27 Tom Tromey <tom@tromey.com>
2687
2688 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2689 pagination test.
2690
2691 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2692
2693 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2694 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2695
2696 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2697
2698 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2699 Filename a.adb changed to bp_fun_addr.adb.
2700 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2701
2702 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2703
2704 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2705 non-PIE executables.
2706 * README: Mention the gdb,nopie_flag board setting.
2707 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2708 non-PIE executable.
2709 * gdb.arch/amd64-entry-value.exp: Likewise.
2710 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2711 * gdb.arch/i386-float.exp: Likewise.
2712 * gdb.arch/i386-signal.exp: Likewise.
2713 * gdb.mi/mi-reg-undefined.exp: Likewise.
2714
2715 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2716
2717 PR gdb/23974
2718 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2719
2720 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2721
2722 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2723 Update order of results accordingly.
2724
2725 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2726
2727 * gdb.base/annota1.exp: Update a test regexp.
2728
2729 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2730
2731 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2732
2733 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2734
2735 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2736 (reuse_time): Initialize to REUSE_TIME_CAP.
2737 (check_rc): New function.
2738 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2739 Check pthread_create rc.
2740 (spawner_thread_func): Check pthread_create and pthread_join rc.
2741
2742 2018-12-08 Pedro Alves <palves@redhat.com>
2743
2744 * gdb.base/list.exp (test_forward_search): Rename to ...
2745 (test_forward_reverse_search): ... this. Also test reverse-search
2746 and the forward-search alias.
2747
2748 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2749
2750 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2751 local timeout variable before return, and remove all local timeout
2752 variable entirely.
2753 (gdb_load): Likewise.
2754
2755 2018-12-01 Tom de Vries <tdevries@suse.de>
2756
2757 * gdb.base/gdb-caching-proc.exp: New file.
2758
2759 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2760
2761 * Makefile.in (TIMESTAMP): New variable.
2762 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2763 command.
2764 (check-single-racy): Likewise.
2765 (check/%.exp): Likewise.
2766 (check-racy/%.exp): Likewise.
2767 (workers/%.worker): Likewise.
2768 (build-perf): Likewise.
2769 (check-perf): Likewise.
2770 * README: Describe new "TS" and "TS_FORMAT" variables.
2771 * print-ts.py: New file.
2772
2773 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2774
2775 PR python/23714
2776 * gdb.python/python.exp: Test command repetition after
2777 gdb.execute.
2778
2779 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2780
2781 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2782 is correctly aligned.
2783
2784 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2785
2786 * gdb.ada/info_auto_lang.exp: New testcase.
2787 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2788 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2789 * gdb.ada/info_auto_lang/some_c.c: New file.
2790
2791 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2792
2793 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2794 FUNC_lang language syntax.
2795
2796 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2797
2798 * gdb.base/info_minsym.c: New file.
2799 * gdb.base/info_minsym.exp: New file.
2800
2801 2018-11-19 Tom Tromey <tom@tromey.com>
2802
2803 PR rust/23625:
2804 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2805 * gdb.rust/expr.exp: Update expected output. Change one test.
2806
2807 2018-11-19 Tom Tromey <tom@tromey.com>
2808
2809 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2810
2811 2018-11-19 Pedro Alves <palves@redhat.com>
2812
2813 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2814 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2815 see the expected warning.
2816
2817 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2818
2819 PR gdb/22736:
2820 * gdb.cp/infcall-nodebug-lib.c: New test.
2821 * gdb.cp/infcall-nodebug-main.c: New test.
2822 * gdb.cp/infcall-nodebug.exp: New file.
2823
2824 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2825
2826 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2827 completer tests.
2828
2829 2018-11-09 Tom de Vries <tdevries@suse.de>
2830
2831 * gdb.base/msym-lang.c: New test.
2832 * gdb.base/msym-lang.exp: New file.
2833 * gdb.base/msym-lang-main.c: New test.
2834
2835 2018-11-08 Tom Tromey <tom@tromey.com>
2836
2837 PR gdb/23555:
2838 PR gdb/23838:
2839 * gdb.base/warning.exp: New file.
2840
2841 2018-11-08 Jan Beulich <jbeulich@suse.com>
2842
2843 * testsuite/gdb.arch/i386-avx512.c,
2844 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2845
2846 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2847
2848 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2849 point hardware.
2850
2851 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2852
2853 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2854 * gdb.dwarf2/missing-type-name.exp: New file.
2855
2856 2018-11-06 Tom de Vries <tdevries@suse.de>
2857
2858 * gdb.base/many-headers.c: New test.
2859 * gdb.base/many-headers.exp: New file.
2860
2861 2018-11-06 Jim Wilson <jimw@sifive.com>
2862
2863 * gdb.base/code_elim.exp: For riscv, set additional_flags
2864 to include -msmall-data-limit=0.
2865
2866 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2867
2868 * gdb.ada/watch_minus_l: New testcase.
2869
2870 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2871
2872 * gdb.arch/aix-sighandle.c: New file.
2873 * gdb.arch/aix-sighandle.exp: New file.
2874
2875 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2876
2877 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2878 registers being unions.
2879
2880 2018-10-31 Tom de Vries <tdevries@suse.de>
2881
2882 * lib/valgrind.exp: New file.
2883 (vgdb_start, vgdb_stop): New procs, factored out of ...
2884 * gdb.base/valgrind-bt.exp: ... here, ...
2885 * gdb.base/valgrind-disp-step.exp: ... here and ...
2886 * gdb.base/valgrind-infcall.exp: ... here.
2887
2888 2018-10-31 Tom de Vries <tdevries@suse.de>
2889
2890 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2891
2892 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2893
2894 * gdb.dwarf2/void-type.c: New file.
2895 * gdb.dwarf2/void-type.exp: New file.
2896
2897 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2898
2899 * gdb.base/info_qt.c: New file.
2900 * gdb.base/info_qt.exp: New file.
2901
2902 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2903
2904 * gdb.arch/powerpc-htm-regs.c: New file.
2905 * gdb.arch/powerpc-htm-regs.exp: New file.
2906
2907 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2908
2909 * gdb.arch/powerpc-tar.c: New file.
2910 * gdb.arch/powerpc-tar.exp: New file.
2911
2912 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2913
2914 * gdb.arch/powerpc-ppr-dscr.c: New file.
2915 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2916
2917 2018-10-25 Tom de Vries <tdevries@suse.de>
2918
2919 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2920
2921 2018-10-24 Tom de Vries <tdevries@suse.de>
2922
2923 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2924 longer exists error.
2925
2926 2018-10-24 Tom de Vries <tdevries@suse.de>
2927
2928 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2929
2930 2018-10-24 Tom de Vries <tdevries@suse.de>
2931
2932 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2933 --db-attach in valgrind.
2934
2935 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2936
2937 * gdb.arch/riscv-reg-aliases.c: New file.
2938 * gdb.arch/riscv-reg-aliases.exp: New file.
2939
2940 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2941
2942 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2943
2944 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2945
2946 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2947
2948 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2949
2950 * gdb.cp/ovldbreak.exp: Fix regexps.
2951
2952 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2953
2954 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2955
2956 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2957
2958 PR cli/23785
2959 * gdb.base/restore.exp: New test to check if "restore" with an
2960 invalid file doesn't segfault.
2961
2962 2018-10-18 Tom de Vries <tdevries@suse.de>
2963
2964 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2965 * gdb.ada/excep_handle.exp: Same.
2966 * gdb.ada/mi_string_access.exp: Same.
2967 * gdb.ada/mi_var_union.exp: Same.
2968 * gdb.arch/arc-analyze-prologue.exp: Same.
2969 * gdb.arch/arc-decode-insn.exp: Same.
2970 * gdb.base/readnever.exp: Same.
2971 * gdb.fortran/printing-types.exp: Same.
2972 * gdb.guile/scm-lazy-string.exp: Same.
2973
2974 2018-10-16 Tom de Vries <tdevries@suse.de>
2975
2976 PR gdb/23730
2977 * gdb.base/catch-follow-exec.c: Add copyright notice.
2978 * gdb.base/catch-follow-exec.exp: Rewrite to use
2979 gdb_spawn_with_cmdline_opts. Require gdb-native.
2980
2981 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2982
2983 * gdb.trace/actions-changed.exp: Check for arch support.
2984 * gdb.trace/actions.exp: Likewise.
2985 * gdb.trace/ax.exp: Likewise.
2986 * gdb.trace/backtrace.exp: Likewise.
2987 * gdb.trace/change-loc.exp: Likewise.
2988 * gdb.trace/deltrace.exp: Likewise.
2989 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2990 * gdb.trace/ftrace.exp: Likewise.
2991 * gdb.trace/infotrace.exp: Check for arch support.
2992 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2993 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2994 * gdb.trace/mi-tsv-changed.exp: Likewise.
2995 * gdb.trace/packetlen.exp: Likewise.
2996 * gdb.trace/passc-dyn.exp: Likewise.
2997 * gdb.trace/passcount.exp: Likewise.
2998 * gdb.trace/pending.exp: Likewise.
2999 * gdb.trace/range-stepping.exp: Check for shlib support.
3000 * gdb.trace/report.exp: Check for arch support.
3001 * gdb.trace/save-trace.exp: Likewise.
3002 * gdb.trace/signal.exp: Check for signal support.
3003 * gdb.trace/tfind.exp: Check for arch support.
3004 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3005 * gdb.trace/trace-common.h: Add comment.
3006 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3007 * gdb.trace/trace-enable-disable.exp: Likewise.
3008 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3009 * gdb.trace/tracecmd.exp: Check for arch support.
3010 * gdb.trace/tspeed.exp: Check for shlib and target support.
3011 * gdb.trace/tstatus.exp: Check for arch support.
3012 * gdb.trace/tsv.exp: Likewise.
3013 * gdb.trace/while-dyn.exp: Likewise.
3014 * gdb.trace/while-stepping.exp: Likewise.
3015 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3016
3017 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3018
3019 * gdb.trace/tspeed.exp: Remove nowarnings.
3020 (prepare_for_trace_test): Declare "global ipalib".
3021 * gdb.trace/tspeed.c: Include unistd.h.
3022 (main): Remove superfluous printf argument.
3023
3024 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3025
3026 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3027 directory prefix on the filename.
3028
3029 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3030
3031 * gdb.gdb/unittest.exp: Update expected message informing that
3032 selftests have been disabled.
3033 * gdb.server/unittest.exp: Likewise.
3034
3035 2018-10-09 Tom de Vries <tdevries@suse.de>
3036
3037 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3038 with runto_main.
3039
3040 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3041
3042 PR c++/16841
3043 * gdb.cp/virtbase2.cc: New file.
3044 * gdb.cp/virtbase2.exp: New file.
3045
3046 2018-10-06 Tom Tromey <tom@tromey.com>
3047
3048 PR python/19399:
3049 * gdb.python/py-inferior.exp: Add architecture test.
3050
3051 2018-10-06 Tom Tromey <tom@tromey.com>
3052
3053 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3054 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3055
3056 2018-10-06 Tom Tromey <tom@tromey.com>
3057
3058 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3059 of a "throw" catchpoint.
3060
3061 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3062
3063 * gdb.base/info-proc.exp: Update string expected from "help info
3064 proc".
3065
3066 2018-10-04 Tom Tromey <tom@tromey.com>
3067
3068 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3069 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3070 (test_initial_complaints, test_empty_complaints): Update.
3071 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3072
3073 2018-10-04 Tom Tromey <tom@tromey.com>
3074
3075 PR cli/19551:
3076 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3077 * lib/gdb.exp (gdb_file_cmd): Update.
3078 * gdb.stabs/weird.exp (print_weird_var): Update.
3079 * gdb.server/solib-list.exp: Update.
3080 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3081 * gdb.mi/mi-cli.exp: Update.
3082 * gdb.linespec/linespec.exp: Update.
3083 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3084 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3085 * gdb.cp/cp-relocate.exp: Update.
3086 * gdb.base/sym-file.exp: Update.
3087 * gdb.base/relocate.exp: Update.
3088 * gdb.base/readnever.exp: Update.
3089 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3090 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3091 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3092 * gdb.base/code_elim.exp: Update.
3093 * gdb.base/break-unload-file.exp (test_break): Update.
3094 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3095 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3096 Update.
3097 * gdb.base/attach.exp (do_attach_tests): Update.
3098 * gdb.base/sepdebug.exp: Update.
3099 * gdb.python/py-section-script.exp: Update.
3100
3101 2018-10-04 Tom Tromey <tom@tromey.com>
3102
3103 PR cli/22234:
3104 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3105 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3106 output.
3107
3108 2018-10-04 Tom Tromey <tom@tromey.com>
3109
3110 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3111 set width and height to 0.
3112 (test_command_line_attach_run): Use -quiet.
3113
3114 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3115
3116 * lib/gdb.exp (skip_ifunc_tests): New.
3117 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3118 other compile failures.
3119 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3120
3121 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3122
3123 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3124 is_amd64_regs_target.
3125
3126 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3127
3128 * gdb.arch/aarch64-sighandler-regs.c: New test.
3129 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3130 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3131
3132 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3133
3134 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3135 assembly.
3136
3137 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3138
3139 * gdb.base/frame-selection.exp: New file.
3140 * gdb.base/frame-selection.c: New file.
3141
3142 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3143
3144 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3145 pthread barrier.
3146 (main): Likewise.
3147
3148 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3149
3150 * gdb.base/large-frame-1.c: New file.
3151 * gdb.base/large-frame-2.c: New file.
3152 * gdb.base/large-frame.exp: New file.
3153 * gdb.base/large-frame.h: New file.
3154
3155 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3156
3157 PR gdb/20948
3158 * gdb.base/write_mem.exp: New test.
3159 * gdb.base/write_mem.c: Likewise.
3160
3161 2018-09-23 Tom Tromey <tom@tromey.com>
3162
3163 PR python/18852:
3164 * gdb.python/py-parameter.exp: Add test for parameter that throws
3165 on "set".
3166
3167 2018-09-23 Tom Tromey <tom@tromey.com>
3168
3169 PR python/17284:
3170 * gdb.python/py-template.exp (test_template_arg): Add test for
3171 negative template argument number.
3172
3173 2018-09-23 Tom Tromey <tom@tromey.com>
3174
3175 PR python/14062:
3176 * gdb.python/python.exp: Add test for post_event error.
3177
3178 2018-09-23 Tom Tromey <tom@tromey.com>
3179
3180 PR python/18170:
3181 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3182 convert pointers to int and long.
3183
3184 2018-09-23 Tom Tromey <tom@tromey.com>
3185
3186 PR python/20126:
3187 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3188 signed-ness conversion tests.
3189
3190 2018-09-23 Tom Tromey <tom@tromey.com>
3191
3192 PR python/18352;
3193 * gdb.python/py-value.exp (test_float_conversion): New proc.
3194 Use it.
3195
3196 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3197
3198 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3199
3200 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3201
3202 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3203 no readline.
3204 * gdb.base/utf8-identifiers.exp: Likewise.
3205 * gdb.cp/cpcompletion.exp: Likewise.
3206 * gdb.linespec/cpcompletion.exp: Likewise.
3207 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3208 * gdb.linespec/cpls-ops.exp: Likewise.
3209
3210 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3211 Chris January <chris.january@arm.com>
3212
3213 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3214 * gdb.fortran/short-circuit-argument-list.exp: New file.
3215 * gdb.fortran/short-circuit-argument-list.f90: New test.
3216
3217 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3218
3219 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3220 "arch=" keyword when executing "-stack-list-frames".
3221
3222 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3223
3224 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3225 "arch=" keyword when executing "-stack-list-frames".
3226
3227 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3228
3229 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3230 break ada".
3231
3232 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3233
3234 PR python/23669
3235 * gdb.python/python.exp: Test gdb.execute("show commands").
3236
3237 2018-09-16 Tom Tromey <tom@tromey.com>
3238
3239 * gdb.base/new-ui.exp (do_execution_tests): Update.
3240 * gdb.base/dbx.exp (test_breakpoints): Update.
3241
3242 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3243
3244 * lib/gdb.exp (gdb_simple_compile): Add proc.
3245 (is_elf_target): Use gdb_simple_compile.
3246 (skip_altivec_tests): Likewise.
3247 (skip_vsx_tests): Likewise.
3248 (skip_tsx_tests): Likewise.
3249 (skip_btrace_tests): Likewise.
3250 (skip_btrace_pt_tests): Likewise.
3251 (gdb_can_simple_compile): Likewise.
3252 (gdb_has_argv0): Likewise.
3253 (gdb_target_symbol_prefix): Likewise.
3254 (target_supports_scheduler_locking): Likewise.
3255
3256 2018-09-13 Tom Tromey <tom@tromey.com>
3257
3258 * Makefile.in (TAGS): Recognize proc_with_prefix and
3259 gdb_caching_proc.
3260
3261 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3262
3263 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3264 method.
3265
3266 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3267
3268 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3269 and a few other Inferior properties when the Inferior is no
3270 longer valid.
3271
3272 2018-09-13 Tom Tromey <tom@tromey.com>
3273
3274 PR rust/23650:
3275 * gdb.rust/simple.exp: Add test for enum field access error.
3276
3277 2018-09-13 Tom Tromey <tom@tromey.com>
3278
3279 PR rust/23626:
3280 * gdb.rust/simple.rs (EmptyEnum): New type.
3281 (main): Use it.
3282 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3283
3284 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3285
3286 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3287 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3288 * gdb.python/py-symtab.exp: Update test printing an objfile.
3289
3290 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3291
3292 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3293 object.
3294
3295 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3296
3297 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3298 (support_complex_tests): Use gdb_can_simple_compile.
3299 (is_ilp32_target): Likewise.
3300 (is_lp64_target): Likewise.
3301 (is_64_target): Likewise.
3302 (is_amd64_regs_target): Likewise.
3303 (is_aarch32_target): Likewise.
3304 (gdb_int128_helper): Likewise.
3305
3306 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3307
3308 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3309
3310 2018-09-10 Jerome Guitton <guitton@adacore.com>
3311
3312 * gdb.ada/same_component_name: Add test for case of tagged record
3313 with variable-length fields.
3314
3315 2018-09-10 Xavier Roirand <roirand@adacore.com>
3316
3317 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3318 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3319 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3320 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3321
3322 2018-09-10 Xavier Roirand <roirand@adacore.com>
3323
3324 * gdb.ada/mi_string_access.exp: New testcase.
3325 * gdb.ada/mi_string_access/bar.adb: New file.
3326 * gdb.ada/mi_string_access/pck.adb: New file.
3327 * gdb.ada/mi_string_access/pck.asd: New file.
3328
3329 2018-09-10 Xavier Roirand <roirand@adacore.com>
3330
3331 * gdb.ada/mi_var_union.exp: New testcase.
3332 * gdb.ada/mi_var_union/bar.adb: New file.
3333 * gdb.ada/mi_var_union/pck.adb: New file.
3334 * gdb.ada/mi_var_union/pck.asd: New file.
3335
3336 2018-09-08 Tom Tromey <tom@tromey.com>
3337
3338 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3339
3340 2018-09-08 Tom Tromey <tom@tromey.com>
3341
3342 PR python/16047:
3343 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3344 (register_pretty_printers): Register new printer.
3345 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3346 test.
3347 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3348 (an_int_type3): New global.
3349
3350 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3351
3352 * gdb.ada/expr_with_funcall: New testcase.
3353
3354 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3355
3356 * gdb.ada/packed_array_assign: New testcase.
3357
3358 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3359
3360 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3361 names, and add test prefixes to make test names unique.
3362
3363 2018-09-05 Tom de Vries <tdevries@suse.de>
3364
3365 * gdb.dwarf2/varval.exp: Add test.
3366
3367 2018-09-04 Gary Benson <gbenson@redhat.com>
3368
3369 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3370 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3371
3372 2018-08-31 Tom Tromey <tom@tromey.com>
3373
3374 * gdb.rust/simple.rs: Rename second variable "v".
3375
3376 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3377
3378 * gdb.base/funcargs.c (use_a): New function.
3379 (recurse): Call use_a.
3380
3381 2018-08-29 Keith Seitz <keiths@redhat.com>
3382
3383 * gdb.compile/compile-cplus-anonymous.cc: New file.
3384 * gdb.compile/compile-cplus-anonymous.exp: New file.
3385 * gdb.compile/compile-cplus-array-decay.cc: New file.
3386 * gdb.compile/compile-cplus-array-decay.exp: New file.
3387 * gdb.compile/compile-cplus-inherit.cc: New file.
3388 * gdb.compile/compile-cplus-inherit.exp: New file.
3389 * gdb.compile/compile-cplus-member.cc: New file.
3390 * gdb.compile/compile-cplus-member.exp: New file.
3391 * gdb.compile/compile-cplus-method.cc: New file.
3392 * gdb.compile/compile-cplus-method.exp: New file.
3393 * gdb.compile/compile-cplus-mod.c: "New" file.
3394 * gdb.compile/compile-cplus-namespace.cc: New file.
3395 * gdb.compile/compile-cplus-namespace.exp: New file.
3396 * gdb.compile/compile-cplus-nested.cc: New file.
3397 * gdb.compile/compile-cplus-nested.exp: New file.
3398 * gdb.compile/compile-cplus-print.c: "New" file.
3399 * gdb.compile/compile-cplus-print.exp: "New" file.
3400 * gdb.compile/compile-cplus-virtual.cc: New file.
3401 * gdb.compile/compile-cplus-virtual.exp: New file.
3402 * gdb.compile/compile-cplus.c: "New" file.
3403 * gdb.compile/compile-cplus.exp: "New" file.
3404 * lib/compile-support.exp: New file.
3405
3406 2018-08-16 Gary Benson <gbenson@redhat.com>
3407
3408 PR gdb/13000:
3409 * gdb.base/batch-exit-status.exp: New file.
3410 * gdb.base/batch-exit-status.good-commands: Likewise.
3411 * gdb.base/batch-exit-status.bad-commands: Likewise.
3412
3413 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3414
3415 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3416 (struct struct02): Likewise.
3417 (struct struct03): Likewise.
3418 (struct struct04): Likewise.
3419 (struct struct_01_01): New struct.
3420 (struct struct_01_02): Likewise.
3421 (struct struct_01_03): Likewise.
3422 (struct struct_01_04): Likewise.
3423 (struct struct_02_01): Likewise.
3424 (struct struct_02_02): Likewise.
3425 (struct struct_02_03): Likewise.
3426 (struct struct_02_04): Likewise.
3427 (struct struct_04_01): Likewise.
3428 (struct struct_04_02): Likewise.
3429 (struct struct_04_03): Likewise.
3430 (struct struct_04_04): Likewise.
3431 (struct struct_05_01): Likewise.
3432 (struct struct_05_02): Likewise.
3433 (struct struct_05_03): Likewise.
3434 (struct struct_05_04): Likewise.
3435 (cmp_struct01): Remove function.
3436 (cmp_struct02): Likewise.
3437 (cmp_struct03): Likewise.
3438 (cmp_struct04): Likewise.
3439 (cmp_struct_01_01): Add Function.
3440 (cmp_struct_01_02): Likewise.
3441 (cmp_struct_01_03): Likewise.
3442 (cmp_struct_01_04): Likewise.
3443 (cmp_struct_02_01): Likewise.
3444 (cmp_struct_02_02): Likewise.
3445 (cmp_struct_02_03): Likewise.
3446 (cmp_struct_02_04): Likewise.
3447 (cmp_struct_04_01): Likewise.
3448 (cmp_struct_04_02): Likewise.
3449 (cmp_struct_04_03): Likewise.
3450 (cmp_struct_04_04): Likewise.
3451 (cmp_struct_05_01): Likewise.
3452 (cmp_struct_05_02): Likewise.
3453 (cmp_struct_05_03): Likewise.
3454 (cmp_struct_05_04): Likewise.
3455 (call_all): Add new structs.
3456 * gdb.base/infcall-nested-structs.exp: Likewise.
3457
3458 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3459
3460 * gdb.python/py-framefilter-mi.exp: Update regexp to
3461 check for "arch" field in frame output.
3462
3463 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3464
3465 * gdb.dwarf2/dw2-ranges-func.c: New file.
3466 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3467
3468 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3469
3470 * gdb.base/term.exp: Compare terminal settings with values from
3471 the inferior.
3472 * gdb.base/term.c: Get and set terminal settings.
3473
3474 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3475
3476 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3477 accommodate new "arch" field in frame output.
3478 * gdb.mi/mi-return.exp: Likewise.
3479 * gdb.mi/mi-stack.exp: Likewise.
3480 * gdb.mi/mi-syn-frame.exp: Likewise.
3481 * gdb.mi/user-selected-context-sync.exp: Likewise.
3482
3483 2018-08-19 Michael Spang <spang@google.com>
3484
3485 PR gdb/11786
3486 * gdb.base/gcore-tls-pie.c: New file.
3487 * gdb.base/gcore-tls-pie.exp: New file.
3488
3489 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3490
3491 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3492 * gdb.dwarf2/varval.c: New file.
3493 * gdb.dwarf2/varval.exp: New file.
3494
3495 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3496
3497 PR gdb/18931
3498 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3499
3500 2018-08-16 Keith Seitz <keiths@redhat.com>
3501
3502 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3503 tests expected to pass.
3504
3505 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3506
3507 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3508 -data-disassemble -a.
3509 (test_disassembly_bogus_args): Likewise.
3510
3511 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3512
3513 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3514
3515 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3516
3517 * gdb.base/vla-optimized-out.exp: Add new test.
3518
3519 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3520
3521 * gdb.base/vla-optimized-out-o3.exp: Delete.
3522 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3523 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3524 deleted tests.
3525
3526 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3527
3528 PR gdb/18050:
3529 * gdb.server/extended-remote-restart.c: New file.
3530 * gdb.server/extended-remote-restart.exp: New file.
3531
3532 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3533
3534 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3535 "set variable index = 42".
3536
3537 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3538
3539 * boards/index-cache-gdb.exp: New file.
3540 * gdb.dwarf2/index-cache.exp: New file.
3541 * gdb.dwarf2/index-cache.c: New file.
3542 * gdb.base/maint.exp: Check if we are using the index cache.
3543
3544 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3545
3546 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3547 MAKEFLAGS.
3548
3549 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3550
3551 * dg-extract-results.sh: Move to toplevel contrib.
3552 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3553 * Makefile.in (check-parallel-racy): Likewise.
3554
3555 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3556
3557 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3558 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3559 tests if the target supports scheduler locking.
3560
3561 2018-08-04 Tom de Vries <tdevries@suse.de>
3562
3563 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3564
3565 2018-08-02 Tom Tromey <tom@tromey.com>
3566
3567 PR symtab/16842.
3568 * gdb.cp/temargs.exp: Test "info address" of a template
3569 parameter.
3570
3571 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3572
3573 * gdb.python/py-mi-var-info-path-expression.c: New file.
3574 * gdb.python/py-mi-var-info-path-expression.py: New file.
3575 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3576
3577 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3578
3579 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3580 error after "cannot resolve name" string.
3581
3582 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3583
3584 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3585 started.
3586 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3587
3588 2018-07-28 Tom de Vries <tdevries@suse.de>
3589
3590 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3591
3592 2018-07-26 Tom de Vries <tdevries@suse.de>
3593
3594 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3595
3596 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3597
3598 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3599 is visible.
3600
3601 2018-07-26 Tom de Vries <tdevries@suse.de>
3602
3603 PR breakpoints/23366
3604 * gdb.base/catch-follow-exec.c: New test.
3605 * gdb.base/catch-follow-exec.exp: New file.
3606
3607 2018-07-25 Tom de Vries <tdevries@suse.de>
3608
3609 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3610 vla-optimized-out.c.
3611
3612 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3613
3614 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3615 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3616
3617 2018-07-20 Tom de Vries <tdevries@suse.de>
3618
3619 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3620 NOCLONE macro.
3621 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3622
3623 2018-07-19 Tom de Vries <tdevries@suse.de>
3624
3625 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3626 regular expression.
3627
3628 2018-07-18 Tom de Vries <tdevries@suse.de>
3629
3630 * gdb.base/vla-optimized-out.c: New test.
3631 * gdb.base/vla-optimized-out.exp: New file.
3632
3633 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3634
3635 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3636 message "No address associated with hostname" when gdbserver
3637 cannot resolve the hostname.
3638
3639 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3640
3641 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3642 Add some test prefixes to make tests unique.
3643
3644 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3645
3646 * gdb.base/frameapply.c: New file.
3647 * gdb.base/frameapply.exp: New file.
3648
3649 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3650
3651 * gdb.base/skip.exp: Update expected error message.
3652
3653 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3654 Jan Kratochvil <jan.kratochvil@redhat.com>
3655 Paul Fertser <fercerpav@gmail.com>
3656 Tsutomu Seki <sekiriki@gmail.com>
3657
3658 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3659 parameter.
3660 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3661 by default.
3662 * boards/native-gdbserver.exp: Likewise.
3663 * gdb.server/run-without-local-binary.exp: Improve regexp used
3664 for detecting when a remote debugging connection succeeds.
3665 * gdb.server/server-connect.exp: New file.
3666 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3667 Do not prefix the port number with ":".
3668 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3669 support for detecting and using it. Add '$debughost_gdbserver'
3670 to the list of arguments used to start gdbserver. Handle case
3671 when gdbserver cannot resolve a network name.
3672
3673 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3674
3675 PR c++/23373
3676 * gdb.base/ptype-offsets.cc (struct static_member): New
3677 struct.
3678 (main) <stmember>: New variable.
3679 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3680 with a static member in it.
3681
3682 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3683
3684 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3685 watchpoints enabled and disabled.
3686
3687 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3688
3689 * gdb.base/examine-backward.exp: Still run tests around address
3690 0x0, even if address 0x0 is not readable. Update the pattern for
3691 matching address 0x0 in expected output.
3692
3693 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3694
3695 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3696 malloc/free.
3697
3698 2018-07-04 Tom de Vries <tdevries@suse.de>
3699
3700 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3701
3702 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3703
3704 PR tdep/8282
3705 * gdb.arch/mips-disassembler-options.exp: New test.
3706 * gdb.arch/mips-disassembler-options.s: New test source.
3707
3708 2018-06-29 Pedro Alves <palves@redhat.com>
3709
3710 * gdb.threads/names.exp: Adjust expected "info threads" output.
3711
3712 2018-06-29 Pedro Alves <palves@redhat.com>
3713
3714 * gdb.opt/inline-break.exp (line number, address): Add "info
3715 break" tests.
3716
3717 2018-06-29 Pedro Alves <palves@redhat.com>
3718
3719 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3720 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3721 number and address and running to them.
3722
3723 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3724
3725 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3726
3727 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3728
3729 * lib/compiler.c: Remove executable permission flag.
3730
3731 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3732
3733 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3734 code.
3735 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3736
3737 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3738
3739 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3740
3741 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3742
3743 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3744 address argument is omitted.
3745
3746 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3747
3748 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3749
3750 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3751
3752 PR gdb/21695
3753 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3754 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3755
3756 2018-06-26 Tom Tromey <tom@tromey.com>
3757
3758 PR rust/22574:
3759 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3760 * gdb.rust/simple.rs (struct SimpleLayout): New.
3761
3762 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3763
3764 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3765 "info registers" output.
3766
3767 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3768
3769 * gdb.base/watchpoint-hw-attach.c: New test.
3770 * gdb.base/watchpoint-hw-attach.exp: New file.
3771
3772 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3773
3774 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3775 through /bin/sh.
3776 * boards/dwarf4-gdb-index.exp: Likewise.
3777 * boards/fission-dwp.exp: Likewise.
3778
3779 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3780
3781 * gdb.base/float128.exp: Add comment and improved fail message
3782 to the failure case of "print large128" test.
3783
3784 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3785
3786 * configure.ac: Remove AC_PREREQ.
3787 * configure: Re-generate.
3788
3789 2018-06-19 Pedro Alves <palves@redhat.com>
3790
3791 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3792 (func_extern_caller): New.
3793 (main): Call func_extern_caller.
3794 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3795 logic change.
3796
3797 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3798
3799 PR gdb/16841
3800 * gdb.cp/typedef-base.cc: New file.
3801 * gdb.cp/typedef-base.exp: New file.
3802
3803 2018-06-18 Tom de Vries <tdevries@suse.de>
3804
3805 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3806
3807 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3808 Richard Bunt <Richard.Bunt@arm.com>
3809
3810 * gdb.threads/attach-slow-waitpid.c: New file.
3811 * gdb.threads/attach-slow-waitpid.exp: New file.
3812 * gdb.threads/slow-waitpid.c: New file.
3813
3814 2018-06-14 Pedro Alves <palves@redhat.com>
3815
3816 * gdb.base/fork-running-state.c: Include <errno.h>.
3817 (exit_if_relative_exits): New.
3818 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3819 exits.
3820 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3821 child exits.
3822
3823 2018-06-14 Tom de Vries <tdevries@suse.de>
3824
3825 PR cli/22573
3826 * gdb.base/finish-pretty.c: New test.
3827 * gdb.base/finish-pretty.exp: New file.
3828
3829 2018-06-14 Pedro Alves <palves@redhat.com>
3830
3831 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3832 gdb's expected startup output.
3833
3834 2018-06-14 Pedro Alves <palves@redhat.com>
3835
3836 * lib/selftest-support.exp (selftest_setup): Remove inlined
3837 function handling.
3838
3839 2018-06-14 Tom de Vries <tdevries@suse.de>
3840
3841 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3842 matching of breakpoint printing.
3843
3844 2018-06-13 Tom de Vries <tdevries@suse.de>
3845
3846 PR testsuite/23269
3847 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3848 (fork_child): ... here, and ...
3849 (fork_parent): ... here.
3850
3851 2018-06-12 Tom de Vries <tdevries@suse.de>
3852
3853 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3854
3855 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3856 Stephen Roberts <stephen.roberts@arm.com>
3857
3858 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3859 rewrite test to describe action performed, rather than possible
3860 failure.
3861
3862 2018-06-08 Gary Benson <gbenson@redhat.com>
3863
3864 * gdb.threads/check-libthread-db.exp: New file.
3865 * gdb.threads/check-libthread-db.c: Likewise.
3866
3867 2018-06-05 Tom Tromey <tom@tromey.com>
3868
3869 * gdb.base/default.exp: Update expected "show version" output.
3870
3871 2018-06-05 Tom Tromey <tom@tromey.com>
3872
3873 PR cli/12326:
3874 * gdb.cp/static-print-quit.exp: Update.
3875 * lib/gdb.exp (pagination_prompt): Update.
3876 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3877 * gdb.python/python.exp: Update.
3878
3879 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3880
3881 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3882
3883 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3884
3885 * gdb.ada/bp_fun_addr: New testcase.
3886
3887 2018-06-01 Tom Tromey <tom@tromey.com>
3888
3889 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3890 results.
3891 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3892 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3893 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3894 * gdb.base/maint.exp (maint_pass_if): Update.
3895
3896 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3897
3898 * gdb.base/endian.exp: New test.
3899 * gdb.base/endian.c: New test source.
3900
3901 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3902
3903 PR gdb/23203
3904 * gdb.base/bt-selected-frame.c: New file.
3905 * gdb.base/bt-selected-frame.exp: New file.
3906 * lib/gdb.exp (get_current_frame_number): New function.
3907
3908 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3909 Pedro Alves <palves@redhat.com>
3910
3911 * gdb.threads/tls-core.c: Include <stdlib.h>
3912 (thread_proc): Call `abort'.
3913 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3914 (tls_core_test): New procedure, bits factored out from ...
3915 (top level): ... here. Test both native cores and gcore cores.
3916
3917 2018-05-23 Tom Tromey <tom@tromey.com>
3918
3919 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3920
3921 2018-05-23 Tom Tromey <tom@tromey.com>
3922
3923 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3924 symfile_complaints.
3925 (test_short_complaints): Likewise.
3926 (test_empty_complaints): Likewise.
3927 (test_initial_complaints): Update.
3928
3929 2018-05-23 Tom Tromey <tom@tromey.com>
3930
3931 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3932
3933 2018-05-23 Tom Tromey <tom@tromey.com>
3934
3935 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3936 (test_short_complaints): Update.
3937
3938 2018-05-22 Pedro Alves <palves@redhat.com>
3939
3940 * gdb.base/remote.exp: Only gdb_start after compiling the
3941 testcase. Issue "disconnect" before testing "set remote" command
3942 defaults. Issue clean_restart before running to main.
3943
3944 2018-05-22 Pedro Alves <palves@redhat.com>
3945
3946 * gdb.base/remote.exp: Adjust expected output of "show remote
3947 memory-write-packet-size". Add tests for "set remote
3948 memory-write-packet-size 0" and "set remote
3949 memory-write-packet-size fixed/limit".
3950
3951 2018-05-22 Pedro Alves <palves@redhat.com>
3952
3953 PR gdb/22973
3954 * gdb.base/utf8-identifiers.c: New file.
3955 * gdb.base/utf8-identifiers.exp: New file.
3956
3957 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3958
3959 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3960
3961 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3962
3963 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3964
3965 2018-05-18 Tom Tromey <tom@tromey.com>
3966
3967 * gdb.base/ptype-offsets.exp: Update.
3968
3969 2018-05-17 Keith Seitz <keiths@redhat.com>
3970
3971 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3972 in expected breakpoint stop locations.
3973 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3974 move to proper scope to test variable values.
3975 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3976 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3977 New functions.
3978 (main): Call not_inline_func3.
3979 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3980 inline_func1, inline_func2, and inline_func3. Test that when each
3981 breakpoint is hit, GDB properly reports both the stop location
3982 and the backtrace. Repeat tests for temporary breakpoints.
3983
3984 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3985
3986 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3987 rather then trying to access it in determining whether the PID
3988 of `gdbserver' could have been retrieved.
3989
3990 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3991
3992 * gdb.arch/amd64-init-x87-values.S: New file.
3993 * gdb.arch/amd64-init-x87-values.exp: New file.
3994
3995 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3996
3997 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3998
3999 2018-05-04 Tom Tromey <tom@tromey.com>
4000
4001 PR python/22730:
4002 * gdb.python/python.exp: Test multi-line execute.
4003
4004 2018-05-04 Tom Tromey <tom@tromey.com>
4005
4006 PR python/22731:
4007 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4008
4009 2018-05-04 Tom Tromey <tom@tromey.com>
4010
4011 PR gdb/11750:
4012 * gdb.base/define.exp: Test defining a user command inside a user
4013 command.
4014 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4015
4016 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4017 Pedro Alves <palves@redhat.com>
4018
4019 PR breakpoints/19806 and support for PR external/20207.
4020 * gdb.base/watchpoint-unaligned.c: New file.
4021 * gdb.base/watchpoint-unaligned.exp: New file.
4022
4023 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4024
4025 * gdb.base/maint.exp: Make test names unique, use
4026 test_prefix_command_help to test 'help maint info', and remove
4027 repeated test of 'help maint'.
4028
4029 2018-05-04 Tom Tromey <tom@tromey.com>
4030
4031 PR gdb/22619:
4032 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4033 behavior.
4034
4035 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4036
4037 * gdb.base/maint.exp: Process output from 'maint print registers'
4038 line at a time.
4039
4040 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4041
4042 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4043 timeout.
4044
4045 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4046
4047 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4048 filter pattern.
4049
4050 2018-05-02 Pedro Alves <palves@redhat.com>
4051
4052 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4053 to_log_command renames.
4054 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4055
4056 2018-05-02 Tom Tromey <tom@tromey.com>
4057
4058 * gdb.python/py-parameter.exp: Set test message.
4059
4060 2018-05-02 Tom Tromey <tom@tromey.com>
4061
4062 PR python/20084:
4063 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4064 PARAM_ZUINTEGER_UNLIMITED tests.
4065
4066 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4067
4068 PR rust/23124
4069 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4070 when casting.
4071
4072 2018-04-30 Tom Tromey <tom@tromey.com>
4073
4074 * gdb.python/py-type.exp: Check align attribute.
4075 * gdb.python/py-type.c: New "aligncheck" global.
4076
4077 2018-04-30 Tom Tromey <tom@tromey.com>
4078
4079 PR exp/17095:
4080 * gdb.dwarf2/dw2-align.exp: New file.
4081 * gdb.cp/align.exp: New file.
4082 * gdb.base/align.exp: New file.
4083 * lib/gdb.exp (gdb_int128_helper): New proc.
4084 (has_int128_c, has_int128_cxx): New caching procs.
4085
4086 2018-04-27 Tom Tromey <tom@tromey.com>
4087
4088 PR rust/22545:
4089 * gdb.rust/simple.exp: Add inclusive range tests.
4090
4091 2018-04-26 Pedro Alves <palves@redhat.com>
4092
4093 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4094 ifunc breakpoint locations correctly of ifunc breakpoints set
4095 while the program resolves the ifunc.
4096
4097 2018-04-26 Pedro Alves <palves@redhat.com>
4098
4099 * gdb.base/gnu-ifunc-final.c: New file.
4100 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4101 * gdb.base/gnu-ifunc.exp (executable): Delete.
4102 (staticexecutable): Adjust.
4103 (lib_opts, exec_opts): Delete.
4104 (make_binsuffix, build, set-break): New procedures.
4105 (misc_tests): New, with tests factored out from the top level.
4106 (top level): Test different combinations of ifunc resolver name,
4107 resolver with and with debug info, and ifunc target with and
4108 without debug info. Wrap static tests with with_target_prefix.
4109
4110 2018-04-26 Pedro Alves <palves@redhat.com>
4111
4112 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4113 return type" warnings.
4114
4115 2018-04-25 Pedro Alves <palves@redhat.com>
4116
4117 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4118 killed".
4119 * gdb.base/kill-after-signal.exp: Likewise.
4120 * gdb.threads/kill.exp: Likewise.
4121
4122 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4123 Sergio Durigan Junior <sergiodj@redhat.com>
4124 Pedro Alves <palves@redhat.com>
4125
4126 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4127 regexps to expect for '[Inferior ... detached]' as well.
4128 * gdb.base/attach.exp: Likewise.
4129 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4130 "gdb_continue_to_end".
4131 (test_catch_syscall_with_wrong_args): Likewise.
4132 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4133 ']'. Don't set 'verbose' on.
4134 * gdb.base/foll-vfork.exp: Likewise.
4135 * gdb.base/fork-print-inferior-events.c: New file.
4136 * gdb.base/fork-print-inferior-events.exp: New file.
4137 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4138 '[Inferior ... has been killed]' message.
4139 * gdb.base/kill-after-signal.exp: Likewise.
4140 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4141 detach message.
4142 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4143 message.
4144 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4145 regexps to expect for '[Inferior ... detached]' as well.
4146 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4147
4148 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4149
4150 PR gdb/23104
4151 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4152
4153 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4154
4155 * gdb.threads/multiple-successive-infcall.c: New test.
4156 * gdb.threads/multiple-successive-infcall.exp: New file.
4157
4158 2018-04-17 Tom Tromey <tom@tromey.com>
4159
4160 * gdb.rust/simple.rs (Union): New type.
4161 (main): New local "u".
4162 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4163
4164 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4165
4166 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4167 number information in output of "whereis" command.
4168 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4169
4170 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4171
4172 * gdb.ada/info_types.exp: Adjust expected output to the line
4173 numbers now printed by "info var/func/type".
4174 * gdb.base/completion.exp: Likewise.
4175 * gdb.base/included.exp: Likewise.
4176 * gdb.cp/cp-relocate.exp: Likewise.
4177 * gdb.cp/cplusfuncs.exp: Likewise.
4178 * gdb.cp/namespace.exp: Likewise.
4179 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4180
4181 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4182
4183 * gdb.btrace/cpu.exp: New.
4184
4185 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4186
4187 * gdb.base/step-indirect-call-thunk.exp: New.
4188 * gdb.base/step-indirect-call-thunk.c: New.
4189 * gdb.reverse/step-indirect-call-thunk.exp: New.
4190 * gdb.reverse/step-indirect-call-thunk.c: New.
4191
4192 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4193
4194 * gdb.base/pie-fork.c: New file.
4195 * gdb.base/pie-fork.exp: New file.
4196
4197 2018-04-11 Tom Tromey <tom@tromey.com>
4198
4199 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4200
4201 2018-04-10 Pedro Alves <palves@redhat.com>
4202
4203 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4204 exits. Instead loop running forever.
4205 (fork_parent): Run forever too.
4206
4207 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4208
4209 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4210 mi_continue_to_line.
4211 * gdb.mi/mi-stack.c (callee4): Add comment.
4212
4213 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4214
4215 * gdb.mi/mi-stack.exp: Fix indentation.
4216
4217 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4218
4219 PR gdb/22979
4220 * gdb.arch/amd64-osabi.exp: New file.
4221
4222 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4223
4224 PR gdb/22980
4225 * gdb.base/osabi.exp: New file.
4226
4227 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4228
4229 * gdb.cp/static-typedef-print.exp: New file.
4230 * gdb.cp/static-typedef-print.cc: New file.
4231
4232 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4233
4234 * gdb.ada/varsize_limit: New testcase.
4235
4236 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4237
4238 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4239
4240 * gdb.ada/notcplusplus: New testcase.
4241
4242 * gdb.base/c-linkage-name.c: New file.
4243 * gdb.base/c-linkage-name.exp: New testcase.
4244
4245 2018-03-26 Tom Tromey <tom@tromey.com>
4246
4247 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4248 * gdb.python/py-framefilter.py (name_error): New global.
4249 (ErrorInName.function): Use name_error.
4250
4251 2018-03-26 Tom Tromey <tom@tromey.com>
4252
4253 PR backtrace/15582:
4254 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4255
4256 2018-03-23 Keith Seitz <keiths@redhat.com>
4257
4258 PR c++/22968
4259 * gdb.cp/subtypes.exp: New file.
4260 * gdb.cp/subtypes.h: New file.
4261 * gdb.cp/subtypes.cc: New file.
4262 * gdb.cp/subtypes-2.cc: New file.
4263
4264 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4265
4266 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4267 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4268 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4269 -nostartfiles when compiling the test. Confirm that all registers
4270 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4271
4272 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4273
4274 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4275 option, syntax was wrong anyway.
4276 * gdb.arch/arm-disp-step.exp: Likewise.
4277 * gdb.arch/sparc64-regs.exp: Likewise.
4278 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4279 option, syntax was wrong anyway, switch to use
4280 prepare_for_testing.
4281 * gdb.arch/i386-disp-step.exp: Likewise.
4282
4283 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4284
4285 * gdb.ada/exec_changed.exp: Replace "target_info exists
4286 use_gdb_stub" by "use_gdb_stub".
4287 * gdb.ada/start.exp: Likewise.
4288 * gdb.base/async-shell.exp: Likewise.
4289 * gdb.base/attach-pie-misread.exp: Likewise.
4290 * gdb.base/attach-wait-input.exp: Likewise.
4291 * gdb.base/break-entry.exp: Likewise.
4292 * gdb.base/break-interp.exp: Likewise.
4293 * gdb.base/dprintf-detach.exp: Likewise.
4294 * gdb.base/nostdlib.exp: Likewise.
4295 * gdb.base/solib-nodir.exp: Likewise.
4296 * gdb.base/statistics.exp: Likewise.
4297 * gdb.base/testenv.exp: Likewise.
4298 * gdb.mi/mi-exec-run.exp: Likewise.
4299 * gdb.mi/mi-start.exp: Likewise.
4300 * gdb.multi/dummy-frame-restore.exp: Likewise.
4301 * gdb.multi/multi-arch-exec.exp: Likewise.
4302 * gdb.multi/multi-arch.exp: Likewise.
4303 * gdb.multi/tids.exp: Likewise.
4304 * gdb.multi/watchpoint-multi.exp: Likewise.
4305 * gdb.python/py-events.exp: Likewise.
4306 * gdb.threads/attach-into-signal.exp: Likewise.
4307 * gdb.threads/attach-stopped.exp: Likewise.
4308 * gdb.threads/threadapply.exp: Likewise.
4309 * lib/selftest-support.exp: Likewise.
4310
4311 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4312
4313 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4314
4315 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4316
4317 * gdb.perf/template-breakpoints.cc: New file.
4318 * gdb.perf/template-breakpoints.exp: New file.
4319 * gdb.perf/template-breakpoints.py: New file.
4320
4321 2018-03-19 Tom Tromey <tom@tromey.com>
4322
4323 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4324 y0.
4325 * gdb.rust/simple.exp: Test bare identifier form of struct
4326 initializer.
4327
4328 2018-03-19 Tom Tromey <tom@tromey.com>
4329
4330 * gdb.gdb/observer.exp: Remove.
4331
4332 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4333
4334 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4335 "qualified" option when setting breakpoints.
4336 * gdb.trace/backtrace.exp: Likewise.
4337 * gdb.trace/circ.exp: Likewise.
4338 * gdb.trace/collection.exp: Likewise.
4339 * gdb.trace/disconnected-tracing.exp: Likewise.
4340 * gdb.trace/ftrace-lock.exp: Likewise.
4341 * gdb.trace/ftrace.exp: Likewise.
4342 * gdb.trace/infotrace.exp: Likewise.
4343 * gdb.trace/packetlen.exp: Likewise.
4344 * gdb.trace/passc-dyn.exp: Likewise.
4345 * gdb.trace/qtro.exp: Likewise.
4346 * gdb.trace/read-memory.exp: Likewise.
4347 * gdb.trace/report.exp: Likewise.
4348 * gdb.trace/signal.exp: Likewise.
4349 * gdb.trace/status-stop.exp: Likewise.
4350 * gdb.trace/strace.exp: Likewise.
4351 * gdb.trace/tfind.exp: Likewise.
4352 * gdb.trace/trace-break.exp: Likewise.
4353 * gdb.trace/trace-condition.exp: Likewise.
4354 * gdb.trace/trace-mt.exp: Likewise.
4355 * gdb.trace/tstatus.exp: Likewise.
4356 * gdb.trace/tsv.exp: Likewise.
4357 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4358 * gdb.trace/unavailable.exp: Likewise.
4359 * gdb.trace/while-dyn.exp: Likewise.
4360
4361 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4362
4363 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4364 that libinproctrace is copied to the target.
4365
4366 2018-03-14 Tom Tromey <tom@tromey.com>
4367
4368 PR cli/14977:
4369 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4370 a null pointer.
4371 * gdb.base/wchar.exp: Likewise.
4372
4373 2018-03-14 Tom Tromey <tom@tromey.com>
4374
4375 PR cli/19918:
4376 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4377 flag.
4378
4379 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4380
4381 PR gdb/22841
4382 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4383 "target" to remote_exec.
4384
4385 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4386
4387 PR gdb/22841
4388 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4389 ${board}_upload): Remove.
4390
4391 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4392
4393 * gdb.cp/watch-cp.cc: New test.
4394 * gdb.cp/watch-cp.exp: New file.
4395
4396 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4397
4398 * gdb.base/infcall-nested-structs.exp: New file.
4399 * gdb.base/infcall-nested-structs.c: New file.
4400 * gdb.base/float.exp: Add riscv support.
4401
4402 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4403
4404 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4405 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4406
4407 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4408
4409 * gdb.server/abspath.exp: New file.
4410 * lib/gdb.exp (with_cwd): New procedure.
4411
4412 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4413
4414 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4415 use it.
4416 (gdb_is_target_remote_prompt): New proc.
4417 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4418 (gdb_is_target_native): Pass prompt parameter to
4419 gdb_is_target_1.
4420
4421 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4422
4423 * gdb.base/load-command.c: New file.
4424 * gdb.base/load-command.exp: New file.
4425 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4426 (gdb_is_target_1): ...this, and generalize for other targets
4427 than just remote.
4428 (gdb_is_target_remote): Use gdb_is_target_1.
4429 (gdb_is_target_native): use gdb_is_target_1.
4430
4431 2018-02-26 Tom Tromey <tom@tromey.com>
4432
4433 PR python/16497:
4434 * gdb.python/py-framefilter.exp: Update test.
4435
4436 2018-02-26 Tom Tromey <tom@tromey.com>
4437
4438 * gdb.dwarf2/variant.c: New file.
4439 * gdb.dwarf2/variant.exp: New file.
4440
4441 2018-02-26 Tom Tromey <tom@tromey.com>
4442
4443 * gdb.rust/simple.exp: Accept more possible results in enum test.
4444
4445 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4446
4447 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4448 parentheses.
4449
4450 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4451
4452 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4453 name of a variable: $actual_linejj -> $actual_line.
4454
4455 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4456
4457 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4458
4459 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4460
4461 * gdb.btrace/buffer-size.exp: Do not force BTS.
4462
4463 2018-02-14 Pedro Alves <palves@redhat.com>
4464
4465 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4466 getting a "Quit".
4467
4468 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4469
4470 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4471 Fix test name.
4472
4473 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4474
4475 * gdb.cp/m-static.exp: Check type of optimized out static
4476 member.
4477
4478 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4479
4480 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4481 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4482
4483 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4484 Leszek Swirski <leszeks@google.com>
4485
4486 * gdb.python/py-prettyprint.c
4487 (struct to_string_returns_value_inner,
4488 struct to_string_returns_value_wrapper): New.
4489 (main): Add tsrvw variable.
4490 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4491 ToStringReturnsValueWrapper): New classes.
4492 (register_pretty_printers): Register new pretty-printers.
4493 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4494 recursive pretty printer.
4495 * gdb.python/py-mi.exp: Likewise.
4496
4497 2018-02-01 Leszek Swirski <leszeks@google.com>
4498
4499 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4500 functions with the same name as an include file are parsed
4501 correctly.
4502
4503 2018-02-01 Yao Qi <yao.qi@linaro.org>
4504
4505 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4506 "\[^\r\n\]*".
4507
4508 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4509
4510 * gdb.arch/powerpc-prologue-frame.s: New file.
4511 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4512 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4513
4514 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4515
4516 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4517
4518 2018-01-30 Pedro Alves <palves@redhat.com>
4519
4520 PR gdb/13211
4521 * gdb.base/interrupt-daemon.c: New.
4522 * gdb.base/interrupt-daemon.exp: New.
4523 * gdb.multi/multi-term-settings.c: New.
4524 * gdb.multi/multi-term-settings.exp: New.
4525
4526 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4527
4528 * gdb.base/break.exp: Save the location where the breakpoint
4529 on break.c:47 was actually inserted when debugging the version
4530 compiled at -O2 and use it in the expected output of the "info
4531 break" test performed soon after.
4532
4533 2018-01-22 Pedro Alves <palves@redhat.com>
4534 Sergio Durigan Junior <sergiodj@redhat.com>
4535
4536 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4537 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4538
4539 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4540
4541 * gdb.base/break-include.c, gdb.base/break-include.inc,
4542 gdb.base/break-include.exp: New files.
4543 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4544 line number now being the actual line number where the breakpoint
4545 was inserted.
4546 * gdb.mi/mi-break.exp: Likewise.
4547 * gdb.mi/mi-reverse.exp: Likewise.
4548 * gdb.mi/mi-simplerun.exp: Ditto.
4549
4550 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4551
4552 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4553 varobj.
4554 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4555
4556 2018-01-21 Don Breazeal <donb@codesourcery.com>
4557 Andrew Burgess <andrew.burgess@embecosm.com>
4558
4559 * gdb.mi/basics.c: Add new global.
4560 * gdb.mi/mi-frame-regs.exp: New file.
4561 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4562 case.
4563
4564 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4565
4566 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4567 non-parameter, and on an unknown symbol.
4568
4569 2018-01-19 Tom Tromey <tom@tromey.com>
4570
4571 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4572 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4573
4574 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4575
4576 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4577 setrlimit and chdir to int.
4578
4579 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4580
4581 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4582 function.
4583 (my_tend): Likewise.
4584 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4585 rationale of avoiding FP- and vector instructions.
4586
4587 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4588
4589 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4590 "info reg" with "\[ \t\]*".
4591 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4592 "\[ \t\]+".
4593 * gdb.arch/s390-multiarch.exp: Ditto.
4594 * gdb.base/pc-fp.exp: Ditto.
4595 * gdb.reverse/i386-precsave.exp: Ditto.
4596 * gdb.reverse/i386-reverse.exp: Ditto.
4597 * gdb.reverse/i387-env-reverse.exp: Ditto.
4598 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4599
4600 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4601
4602 * lib/gdb.exp (gdb_compile): Re-enable use of
4603 universal_compile_options for languages other than Rust.
4604
4605 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4606
4607 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4608
4609 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4610
4611 PR gdb/16577
4612 * gdb.base/solib-vanish.exp: New.
4613 * gdb.base/solib-vanish-main.c: New.
4614 * gdb.base/solib-vanish-lib1.c: New.
4615 * gdb.base/solib-vanish-lib2.c: New.
4616
4617 2018-01-17 Yao Qi <yao.qi@linaro.org>
4618
4619 * gdb.compile/compile.exp: Match the address printed for
4620 frame in the output of command "bt".
4621
4622 2018-01-15 Tom Tromey <tom@tromey.com>
4623
4624 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4625 compute sp_reg.
4626
4627 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4628
4629 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4630 to prepare.
4631 (prepare): Return 0 on error, 1 on success.
4632
4633 2018-01-12 Pedro Alves <palves@redhat.com>
4634
4635 * gdb.base/continue-after-aborted-step-over.c: New.
4636 * gdb.base/continue-after-aborted-step-over.exp: New.
4637
4638 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4639
4640 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4641 options when not creating an executable.
4642
4643 2018-01-11 Pedro Alves <palves@redhat.com>
4644
4645 PR remote/22597
4646 * gdb.server/stop-reply-no-thread.c: New file.
4647 * gdb.server/stop-reply-no-thread.exp: New file.
4648
4649 2018-01-10 Pedro Alves <palves@redhat.com>
4650
4651 PR gdb/22670
4652 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4653 functions too. Test setting breakpoints and printing C functions
4654 with no debug info too.
4655 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4656
4657 2018-01-10 Pedro Alves <palves@redhat.com>
4658
4659 PR gdb/22670
4660 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4661 a fail.
4662
4663 2018-01-10 Pedro Alves <palves@redhat.com>
4664
4665 PR gdb/22670
4666 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4667
4668 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4669
4670 * gdb.server/unittest.exp: Match the output in non-development
4671 mode.
4672
4673 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4674
4675 * gdb.gdb/unittest.exp: Match output in non-development mode.
4676
4677 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4678
4679 * gdb.ada/access_tagged_param.exp: Relax expected output
4680 for value of "ObjL" in "continue" to pck.inspect breakpoint
4681 test.
4682
4683 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4684
4685 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4686 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4687
4688 2018-01-05 Pedro Alves <palves@redhat.com>
4689
4690 PR gdb/18653
4691 * gdb.base/libsegfault.exp: New.
4692
4693 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4694
4695 PR gdb/22670
4696 * gdb.ada/access_tagged_param.exp: New file.
4697 * gdb.ada/access_tagged_param/foo.adb: New file.
4698
4699 2018-01-05 Pedro Alves <palves@redhat.com>
4700
4701 PR gdb/22670
4702 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4703 exercise lower case too, and to exercise both full matching and
4704 wild matching.
4705
4706 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4707
4708 * gdb.ada/rename_subscript_param: New testcase.
4709
4710 2018-01-05 Jerome Guitton <guitton@adacore.com>
4711
4712 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4713
4714 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4715
4716 * gdb.ada/convvar_comp: New testcase.
4717
4718 2018-01-05 Xavier Roirand <roirand@adacore.com>
4719
4720 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4721 (My_Table): New global variable.
4722 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4723
4724 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4725
4726 PR gdb/22670
4727 * gdb.ada/maint_with_ada: New testcase.
4728
4729 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4730
4731 PR gdb/22670
4732 * gdb.ada/bp_c_mixed_case: New testcase.
4733
4734 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4735
4736 PR gdb/22670
4737 * gdb.ada/complete.exp: Add "complete break ada" test.
4738
4739 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4740
4741 PR gdb/22670
4742 * gdb.ada/info_addr_mixed_case: New testcase.
4743
4744 2018-01-03 Xavier Roirand <roirand@adacore.com>
4745
4746 * gdb.ada/excep_handle.exp: New testcase.
4747 * gdb.ada/excep_handle/foo.adb: New file.
4748 * gdb.ada/excep_handle/pck.ads: New file.
4749
4750 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4751
4752 * gdb.base/step-line.c: Add extra empty line in copyright header.
4753 * gdb.base/step-line.inp: Likewise.
4754
4755 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4756
4757 * gdb.ada/dyn_stride.exp: Add slice test.
4758
4759 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4760
4761 * gdb.ada/dyn_stride: New testcase.
4762
4763 2017-12-27 Stafford Horne <shorne@gmail.com>
4764
4765 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4766 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4767
4768 2017-12-27 Stafford Horne <shorne@gmail.com>
4769
4770 * gdb.base/reggroups.c: New file.
4771 * gdb.base/reggroups.exp: New file.
4772
4773 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4774
4775 * gdb.dwarf2/ada-valprint-error.c: New file.
4776 * gdb.dwarf2/ada-valprint-error.exp: New file.
4777
4778 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4779
4780 * gdb.ada/assign_arr: New testcase.
4781
4782 2017-12-18 Xavier Roirand <roirand@adacore.com>
4783
4784 * gdb.ada/funcall_ptr: New testcase.
4785
4786 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4787
4788 PR cli/16224
4789 * gdb.base/ptype-offsets.cc: New file.
4790 * gdb.base/ptype-offsets.exp: New file.
4791
4792 2017-12-15 Yao Qi <yao.qi@linaro.org>
4793
4794 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4795 if XML is disabled.
4796
4797 2017-12-15 Xavier Roirand <roirand@adacore.com>
4798
4799 * gdb.ada/same_component_name: New testcase.
4800
4801 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4802
4803 * gdb.ada/str_binop_equal: New testcase.
4804
4805 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4806
4807 * gdb.ada/task_switch_in_core: New testcase.
4808
4809 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4810
4811 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4812 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4813 call test_bkpt_qualified.
4814 (test_bkpt_qualified): New proc.
4815
4816 2017-12-13 Pedro Alves <palves@redhat.com>
4817
4818 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4819 Tighten regexp by matching with an anchor.
4820
4821 2017-12-13 Pedro Alves <palves@redhat.com>
4822
4823 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4824 ("expression with namespace"): New set of tests.
4825 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4826 (Nested::Test_NS::qux): New.
4827 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4828 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4829
4830 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4831
4832 * gdb.base/server-del-break.c: New file.
4833 * gdb.base/server-del-break.exp: New file.
4834
4835 2017-12-12 Stafford Horne <shorne@gmail.com>
4836
4837 * gdb.xml/tdesc-regs.exp: Add or1k support.
4838
4839 2017-12-12 Stafford Horne <shorne@gmail.com>
4840
4841 * gdb.base/bp-permanent.c: Define nop of or1k.
4842
4843 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4844
4845 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4846 output with components being reordered.
4847
4848 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4849
4850 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4851 output with components being reordered.
4852
4853 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4854 Pedro Alves <palves@redhat.com>
4855
4856 * gdb.base/maint.exp (check for .gdb_index): Check also for
4857 .debug_names.
4858 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4859 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4860 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4861 (.gdb_index used after symbol reloading): Support also .debug_names.
4862 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4863
4864 2017-12-08 Yao Qi <yao.qi@linaro.org>
4865
4866 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4867 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4868
4869 2017-12-08 Yao Qi <yao.qi@linaro.org>
4870
4871 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4872 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4873
4874 2017-12-08 Yao Qi <yao.qi@linaro.org>
4875
4876 * gdb.arch/aarch64-tagged-pointer.c: New file.
4877 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4878
4879 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4880
4881 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4882 "int".
4883
4884 2017-12-07 Keith Seitz <keiths@redhat.com>
4885
4886 PR breakpoints/22569
4887 * gdb.linespec/ls-errs.exp: Change expected result of "break
4888 -source this file has spaces.c -line 3".
4889 Check that an explicit source file followed by whitespace is
4890 identified as an invalid explicit location.
4891
4892 2017-12-07 Keith Seitz <keiths@redhat.com>
4893
4894 * gdb.cp/nested-types.cc: New file.
4895 * gdb.cp/nested-types.exp: New file.
4896 * lib/cp-support.exp: Load data-structures.exp library.
4897 (debug_cp_test_ptype_class): New global.
4898 (cp_ptype_class_verbose, next_line): New procedures.
4899 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4900 Add and document new return value.
4901 Switch the list of lines to a queue.
4902 Add support for new `type' key for nested type definitions.
4903 Add debugging/troubleshooting messages.
4904 * lib/data-structures.exp: New file.
4905
4906 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4907
4908 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4909 with proc_with_prefix, don't use with_test_prefix.
4910
4911 2017-12-07 Tom Tromey <tom@tromey.com>
4912
4913 * gdb.base/break.exp: Add test for empty "commands".
4914
4915 2017-12-07 Yao Qi <yao.qi@linaro.org>
4916
4917 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4918 malloc and catch syscall.
4919
4920 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4921
4922 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4923 tests for explicit locations.
4924
4925 2017-12-06 Pedro Alves <palves@redhat.com>
4926
4927 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4928 force-disabling XML descriptions.
4929
4930 2017-12-04 Pedro Alves <palves@redhat.com>
4931
4932 PR gdb/22499
4933 * gdb.arch/amd64-disp-step-avx.S: New file.
4934 * gdb.arch/amd64-disp-step-avx.exp: New file.
4935
4936 2017-12-03 Pedro Alves <palves@redhat.com>
4937
4938 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4939 and <string.h>.
4940 (parent_function): Print distinct messages when waitpid fails, or
4941 the child exits with a signal, or the child exits for an unhandled
4942 reason.
4943 * gdb.threads/process-dies-while-detaching.exp
4944 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4945 it. Wait for both inferior output and GDB's prompt. Use an
4946 indirect spawn id list.
4947 (do_detach): New parameter 'child_exit'. Use it to compute
4948 expected inferior output.
4949 (test_detach, test_detach_watch, test_detach_killed_outside):
4950 Adjust to pass down the expected child exit kind.
4951
4952 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4953 Sergio Durigan Junior <sergiodj@redhat.com>
4954 Pedro Alves <palves@redhat.com>
4955
4956 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4957
4958 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4959
4960 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4961 to 'symbol-file' and 'add-symbol-file' can be
4962 position-independent.
4963
4964 2017-12-01 Yao Qi <yao.qi@linaro.org>
4965
4966 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4967 the URL in copyright header.
4968 * gdb.arch/aarch64-fp.exp: Likewise.
4969 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4970 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4971 * gdb.base/expand-psymtabs.exp: Likewise.
4972 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4973 * gdb.fortran/common-block.exp: Likewise.
4974 * gdb.fortran/common-block.f90: Likewise.
4975 * gdb.fortran/logical.exp: Likewise.
4976 * gdb.fortran/vla-datatypes.f90: Likewise.
4977 * gdb.fortran/vla-sub.f90: Likewise.
4978
4979 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4980
4981 * gdb.ada/repeat_dyn: New testcase.
4982
4983 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4984
4985 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4986 Update for changed thread numbering.
4987 * gdb.cell/bt.exp: Update for changed GDB output.
4988
4989 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4990
4991 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4992 setting isremote by hand.
4993 * boards/dwarf4-gdb-index.exp: Likewise.
4994 * boards/fission.exp: Likewise.
4995 * boards/stabs.exp: Likewise.
4996
4997 2017-11-30 Pedro Alves <palves@redhat.com>
4998
4999 * gdb.linespec/cpls-ops.exp
5000 (check_explicit_skips_function_argument): Extract the underlying
5001 type of size_t instead of hardcoding it.
5002
5003 2017-11-29 Pedro Alves <palves@redhat.com>
5004
5005 PR c++/19436
5006 * gdb.linespec/cpls-abi-tag.cc: New file.
5007 * gdb.linespec/cpls-abi-tag.exp: New file.
5008
5009 2017-11-29 Pedro Alves <palves@redhat.com>
5010
5011 * gdb.base/langs.exp: Use -qualified.
5012 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5013 it.
5014 * gdb.cp/namespace.exp: Use -qualified.
5015 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5016 (overload-3, template-overload, template-ret-type, const-overload)
5017 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5018 procedures.
5019 (test_driver): Call them.
5020 * gdb.cp/save-bp-qualified.cc: New.
5021 * gdb.cp/save-bp-qualified.exp: New.
5022 * gdb.linespec/explicit.exp: Test -qualified.
5023 * lib/completion-support.exp (completion::explicit_opts_list): Add
5024 "-qualified".
5025 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5026
5027 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5028
5029 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5030
5031 2017-11-29 Tom Tromey <tom@tromey.com>
5032
5033 * gdb.base/relocate.exp: Update invalid argument test.
5034 Add new tests for invalid arguments.
5035
5036 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5037
5038 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5039 Return 0 as a long.
5040 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5041
5042 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5043
5044 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5045 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5046 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5047 func ().
5048 * gdb.cp/shadow.cc (B.func): Return 0.
5049
5050 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5051
5052 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5053 expected output in gdb_expect call to allow the exception
5054 message to be present as well. Fix syntax confusion to avoid
5055 TCL thinking that exception_name is an array.
5056
5057 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5058
5059 * gdb.arch/spu-info.c: Include <unistd.h>.
5060 (do_signal_test): Fix broken calls to write.
5061 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5062 Fix checks for empty mailboxes. Update signal tests for corrected
5063 do_signal_test routine. Allow nonzero event status.
5064 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5065 * gdb.cell/arch.exp: Use standard_output_file.
5066 * gdb.cell/break.exp: Likewise.
5067 * gdb.cell/bt.exp: Likewise.
5068 * gdb.cell/core.exp: Likewise.
5069 * gdb.cell/dwarfaddr.exp: Likewise.
5070 * gdb.cell/ea-cache.exp: Likewise.
5071 * gdb.cell/ea-standalone.exp: Likewise.
5072 * gdb.cell/f-regs.exp: Likewise.
5073 * gdb.cell/fork.exp: Likewise.
5074 * gdb.cell/gcore.exp: Likewise.
5075 * gdb.cell/mem-access.exp: Likewise.
5076 * gdb.cell/ptype.exp: Likewise.
5077 * gdb.cell/registers.exp: Likewise.
5078 * gdb.cell/sizeof.exp: Likewise.
5079 * gdb.cell/solib-symbol.exp: Likewise.
5080 * gdb.cell/solib.exp: Likewise.
5081
5082 2017-11-25 Pedro Alves <palves@redhat.com>
5083
5084 * gdb.base/complete-empty.exp: New file.
5085 * gdb.base/completion.exp: Adjust.
5086
5087 2017-11-25 Pedro Alves <palves@redhat.com>
5088
5089 * gdb.linespec/cpls-ops.cc: New file.
5090 * gdb.linespec/cpls-ops.exp: New file.
5091 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5092 factored out from ...
5093 (test_complete_prefix_range): ... this.
5094
5095 2017-11-24 Pedro Alves <palves@redhat.com>
5096
5097 * gdb.linespec/cpcompletion.exp: New file.
5098 * gdb.linespec/cpls-hyphen.cc: New file.
5099 * gdb.linespec/cpls.cc: New file.
5100 * gdb.linespec/cpls2.cc: New file.
5101 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5102 test to use test_gdb_complete_unique. Add label completion,
5103 keyword completion and explicit location completion tests.
5104 * lib/completion-support.exp: New file.
5105
5106 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5107
5108 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5109 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5110 when hitting an exception catchpoint.
5111
5112 2017-11-22 Yao Qi <yao.qi@linaro.org>
5113
5114 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5115
5116 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5117
5118 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5119 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5120 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5121
5122 2017-11-22 Yao Qi <yao.qi@linaro.org>
5123
5124 * gdb.base/info-os.exp: Pass pthreads.
5125 * gdb.multi/multi-attach.exp: Likewise.
5126
5127 2017-11-22 Yao Qi <yao.qi@linaro.org>
5128
5129 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5130 compiler.
5131
5132 2017-11-22 Yao Qi <yao.qi@linaro.org>
5133
5134 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5135 * gdb.base/break-interp.exp: Likewise.
5136 * gdb.base/jit-attach-pie.exp: Likewise.
5137
5138 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5139
5140 * gdb.base/float128.c (large128): New variable.
5141 * gdb.base/float128.exp: Add test to print largest __float128 value.
5142
5143 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5144
5145 * gdb.arch/vsx-regs.exp: Update register content checks.
5146
5147 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5148
5149 * gdb.arch/ppc-longdouble.exp: New file.
5150 * gdb.arch/ppc-longdouble.c: Likewise.
5151
5152 2017-11-21 Pedro Alves <palves@redhat.com>
5153
5154 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5155
5156 2017-11-20 Pedro Alves <palves@redhat.com>
5157
5158 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5159 (long_double_typedef): New typedefs.
5160 Use DEF on double and long double.
5161 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5162 cases.
5163 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5164 and 'long_double_ptr_same_size' locals. Use them to decide
5165 whether cast from array/function to float is valid/invalid.
5166
5167 2017-11-17 Tom Tromey <tom@tromey.com>
5168
5169 * gdb.rust/traits.rs: New file.
5170 * gdb.rust/traits.exp: New file.
5171
5172 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5173
5174 * gdb.ada/minsyms: New testcase.
5175
5176 2017-11-16 Pedro Alves <palves@redhat.com>
5177
5178 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5179 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5180
5181 2017-11-16 Pedro Alves <palves@redhat.com>
5182
5183 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5184 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5185
5186 2017-11-16 Pedro Alves <palves@redhat.com>
5187
5188 * gdb.server/reconnect-ctrl-c.c: New file.
5189 * gdb.server/reconnect-ctrl-c.exp: New file.
5190
5191 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5192
5193 * gdb.python/py-rbreak.exp: New file.
5194 * gdb.python/py-rbreak.c: New file.
5195 * gdb.python/py-rbreak-func2.c: New file.
5196
5197 2017-11-16 Pedro Alves <palves@redhat.com>
5198
5199 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5200 pattern.
5201 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5202 GDB.
5203
5204 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5205
5206 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5207 regex.
5208
5209 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5210
5211 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5212 test names.
5213
5214 2017-11-09 Pedro Alves <palves@redhat.com>
5215
5216 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5217 factored out from ...
5218 (top level): ... here, and adjusted to avoid expecting beyond the
5219 prompt in a single gdb_test_multiple.
5220
5221 2017-11-09 Pedro Alves <palves@redhat.com>
5222
5223 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5224 output.
5225 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5226 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5227 * gdb.server/ext-run.exp ("kill" test): Likewise.
5228 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5229
5230 2017-11-09 Pedro Alves <palves@redhat.com>
5231
5232 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5233 match till end of line.
5234
5235 2017-11-09 Pedro Alves <palves@redhat.com>
5236
5237 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5238
5239 2017-11-09 Pedro Alves <palves@redhat.com>
5240
5241 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5242 New procedures, factored out from ...
5243 (top level): ... here, and adjusted to avoid expecting beyond the
5244 prompt in one go.
5245
5246 2017-11-09 Pedro Alves <palves@redhat.com>
5247
5248 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5249 output. Fix '?' match.
5250
5251 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5252
5253 * gdb.ada/scoped_watch: New testcase.
5254 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5255 which is actually correct.
5256 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5257 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5258
5259 2017-11-08 Pedro Alves <palves@redhat.com>
5260
5261 * gdb.gdb/complaints.exp (test_initial_complaints)
5262 (test_serial_complaints, test_short_complaints): Call
5263 complaint_internal instead of complaint.
5264
5265 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5266
5267 * gdb.threads/tls-core.c: New file.
5268 * gdb.threads/tls-core.exp: Likewise.
5269
5270 2017-11-08 Pedro Alves <palves@redhat.com>
5271
5272 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5273 (p Exported_Capitalized): New test.
5274 (p exported_capitalized): New test.
5275
5276 2017-11-07 Pedro Alves <palves@redhat.com>
5277
5278 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5279
5280 2017-11-07 Pedro Alves <palves@redhat.com>
5281
5282 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5283 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5284 (disable_invalid, disable_inverted, disable_negative): New
5285 procedures.
5286 ("bad numbers"): New set of tests.
5287
5288 2017-11-07 Pedro Alves <palves@redhat.com>
5289
5290 * gdb.cp/ena-dis-br-range.exp: Add tests.
5291
5292 2017-11-07 Pedro Alves <palves@redhat.com>
5293
5294 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5295
5296 2017-11-07 Xavier Roirand <roirand@adacore.com>
5297 Pedro Alves <palves@redhat.com>
5298
5299 * gdb.base/ena-dis-br.exp: Add reference to
5300 gdb.cp/ena-dis-br-range.exp.
5301 * gdb.cp/ena-dis-br-range.exp: New file.
5302 * gdb.cp/ena-dis-br-range.cc: New file.
5303
5304 2017-11-06 Pedro Alves <palves@redhat.com>
5305
5306 * gdb.base/attach-non-pgrp-leader.c: New.
5307 * gdb.base/attach-non-pgrp-leader.exp: New.
5308
5309 2017-11-06 Pedro Alves <palves@redhat.com>
5310
5311 * configure.ac: No longer check for termio.h and sgtty.h.
5312 * configure: Regenerate.
5313 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5314 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5315 Remove termio and sgtty code.
5316
5317 2017-11-03 Yao Qi <yao.qi@linaro.org>
5318
5319 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5320 in GDB is disabled.
5321
5322 2017-11-03 Yao Qi <yao.qi@linaro.org>
5323
5324 * gdb.python/py-thrhandle.exp: Skip it if python is not
5325 enabled.
5326
5327 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5328
5329 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5330 as a breakpoint command.
5331
5332 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5333
5334 PR python/21213
5335 * gdb.python/py-infthread.exp: Test calling
5336 InferiorThread.inferior () multiple times in a row.
5337
5338 2017-10-27 Keith Seitz <keiths@redhat.com>
5339
5340 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5341 Test "info break" for every inlined function breakpoint.
5342
5343 2017-10-27 Yao Qi <yao.qi@linaro.org>
5344
5345 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5346
5347 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5348
5349 * gdb.cp/classes.exp (test_static_members): Test printing
5350 Outer::instance.
5351 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5352 (Inner::instance, Outer::instance): New.
5353
5354 2017-10-24 Pedro Alves <palves@redhat.com>
5355
5356 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5357 extra console" test in two stages.
5358
5359 2017-10-24 Pedro Alves <palves@redhat.com>
5360
5361 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5362
5363 2017-10-24 Pedro Alves <palves@redhat.com>
5364
5365 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5366 loop.
5367
5368 2017-10-24 Pedro Alves <palves@redhat.com>
5369
5370 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5371 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5372
5373 2017-10-24 Pedro Alves <palves@redhat.com>
5374
5375 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5376 parameter and handle it. Don't output read value in test name.
5377
5378 2017-10-24 Pedro Alves <palves@redhat.com>
5379
5380 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5381 custom test name.
5382
5383 2017-10-24 Pedro Alves <palves@redhat.com>
5384
5385 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5386 include the unstable output directory name in the test's name.
5387 (initial_setup_simple) <'set args'>: Use custom test name.
5388
5389 2017-10-24 Pedro Alves <palves@redhat.com>
5390
5391 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5392 with explicit test name.
5393
5394 2017-10-20 Pedro Alves <palves@redhat.com>
5395
5396 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5397 'wait -i'. Use gdb_assert and remote_close.
5398
5399 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5400
5401 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5402 number from variable rather than hard-coded.
5403
5404 2017-10-19 Pedro Alves <palves@redhat.com>
5405
5406 * gdb.base/long-inferior-output.c: New file.
5407 * gdb.base/long-inferior-output.exp: New file.
5408
5409 2017-11-18 Keith Seitz <keiths@redhat.com>
5410
5411 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5412 method.
5413 (main): Call it.
5414 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5415 Add additional user-defined conversion operator tests.
5416
5417 2017-10-17 Pedro Alves <palves@redhat.com>
5418
5419 * boards/native-stdio-gdbserver.exp: Load "local-board".
5420
5421 2017-10-17 Pedro Alves <palves@redhat.com>
5422
5423 * gdb.base/quit-live.c: New file.
5424 * gdb.base/quit-live.exp: New file.
5425
5426 2017-10-16 Keith Seitz <keiths@redhat.com>
5427
5428 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5429 (class_with_protected_typedef, class_with_private_typedef)
5430 (struct_with_public_typedef, struct_with_protected_typedef)
5431 (struct_with_private_typedef): New classes/structs.
5432 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5433 typedefs and access specifiers.
5434
5435 2017-10-16 Pedro Alves <palves@redhat.com>
5436 Simon Marchi <simon.marchi@polymtl.ca>
5437
5438 * README (Local vs Remote vs Native): New section.
5439 * boards/local-board.exp: New file, with bits factored out from
5440 ...
5441 * boards/native-extended-gdbserver.exp: ... here. Load
5442 "local-board".
5443 * boards/native-gdbserver.exp: Load "local-board".
5444 (${board}_spawn, ${board}_exec): Delete.
5445 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5446 ...
5447 * boards/stdio-gdbserver-base.exp: ... this new file.
5448 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5449 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5450 procedure.
5451 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5452 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5453 stdio_gdbserver_command.
5454 (${board}_get_remote_address, ${board}_get_comm_port)
5455 (${board}_download, ${board}_upload): Delete.
5456 (get_target_remote_pipe_cmd): New.
5457
5458 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5459
5460 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5461 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5462 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5463 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5464 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5465 remove with_test_prefix.
5466
5467 2017-10-13 Pedro Alves <palves@redhat.com>
5468
5469 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5470 * gdb.base/annota1.exp: Use it instead of is_remote.
5471 * gdb.base/annota3.exp: Use it instead of is_remote.
5472 * gdb.cp/annota2.exp: Use it instead of is_remote.
5473 * gdb.cp/annota3.exp: Use it instead of is_remote.
5474 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5475
5476 2017-10-13 Pedro Alves <palves@redhat.com>
5477
5478 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5479 (test_num_test_vars, run_and_count_vars, find_env)
5480 (test_set_unset_env, test_inherit_env_var): New procedures.
5481 (top level): Use them.
5482
5483 2017-10-13 Pedro Alves <palves@redhat.com>
5484
5485 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5486 also skip on stub-like targets.
5487
5488 2017-10-13 Pedro Alves <palves@redhat.com>
5489
5490 PR gdb/22293
5491 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5492 (top level): Move some tests to ...
5493 (test_not_found): ... this new procedure.
5494 (top level): Call it.
5495
5496 2017-10-13 Pedro Alves <palves@redhat.com>
5497
5498 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5499 expect different "info terminal" output if testing with a
5500 non-native target.
5501
5502 2017-10-13 Pedro Alves <palves@redhat.com>
5503 Simon Marchi <simon.marchi@polymtl.ca>
5504
5505 PR python/12966
5506 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5507
5508 2017-10-13 Pedro Alves <palves@redhat.com>
5509
5510 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5511 already.
5512
5513 2017-10-13 Pedro Alves <palves@redhat.com>
5514
5515 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5516 is_remote.
5517
5518 2017-10-13 Pedro Alves <palves@redhat.com>
5519
5520 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5521 is_remote.
5522
5523 2017-10-13 Pedro Alves <palves@redhat.com>
5524
5525 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5526 is set.
5527 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5528 instead of is_remote.
5529
5530 2017-10-13 Pedro Alves <palves@redhat.com>
5531
5532 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5533 (top level): Add comment.
5534
5535 2017-10-13 Pedro Alves <palves@redhat.com>
5536
5537 * gdb.base/remote.exp (top level): Fix comment typo and add
5538 missing return.
5539
5540 2017-10-13 Pedro Alves <palves@redhat.com>
5541 Simon Marchi <simon.marchi@polymtl.ca>
5542
5543 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5544 calls and add comments. Skip test if use_gdb_stub is set.
5545 (top level): Use "set cwd" command instead of "cd" command.
5546
5547 2017-10-13 Pedro Alves <palves@redhat.com>
5548
5549 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5550 is_remote target check.
5551
5552 2017-10-13 Pedro Alves <palves@redhat.com>
5553
5554 * gdb.base/scope.exp: Use build_executable + clean_restart +
5555 gdb_file_cmd instead of prepare_for_testing and no longer skip
5556 "before run" tests on is_remote target boards. Update comments.
5557 * boards/native-extended-gdbserver.exp
5558 (extended_gdbserver_load_last_file): New, factored out from ...
5559 (gdb_load): ... this. Move further below and add comment.
5560 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5561
5562 2017-10-12 Pedro Alves <palves@redhat.com>
5563
5564 * gdb.base/attach.exp: Remove references to gdb64.
5565 * gdb.base/dbx.exp: Remove references to gdb64.
5566
5567 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5568 Pedro Alves <palves@redhat.com>
5569
5570 * gdb.base/label.exp: Remove is_remote target check.
5571
5572 2017-10-12 Pedro Alves <palves@redhat.com>
5573
5574 * gdb.base/auvx.exp (coredir): Update comment.
5575 (top level) <core_works>: Use "set cwd" command instead of "cd"
5576 command.
5577
5578 2017-10-12 Pedro Alves <palves@redhat.com>
5579 Simon Marchi <simon.marchi@polymtl.ca>
5580
5581 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5582 target boards.
5583
5584 2017-10-12 Pedro Alves <palves@redhat.com>
5585 Simon Marchi <simon.marchi@polymtl.ca>
5586
5587 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5588 Instead skip if there's any gdb_protocol set.
5589
5590 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5591 Pedro Alves <palves@redhat.com>
5592
5593 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5594
5595 2017-10-12 Pedro Alves <palves@redhat.com>
5596 Simon Marchi <simon.marchi@polymtl.ca>
5597
5598 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5599 instead of on dejagnu remote boards.
5600
5601 2017-10-12 Pedro Alves <palves@redhat.com>
5602 Simon Marchi <simon.marchi@polymtl.ca>
5603
5604 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5605 checks. Use build_executable + clean_restart instead of
5606 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5607 of enabling non-stop after starting gdb.
5608
5609 2017-10-12 Pedro Alves <palves@redhat.com>
5610
5611 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5612 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5613 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5614 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5615
5616 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5617
5618 * gdb.arch/arc-tdesc-cpu.exp: New file.
5619 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5620
5621 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5622
5623 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5624
5625 2017-10-10 Pedro Alves <palves@redhat.com>
5626
5627 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5628 expect CLI output.
5629
5630 2017-10-10 Pedro Alves <palves@redhat.com>
5631
5632 * lib/selftest-support.exp (selftest_setup): Update for
5633 captured_command_loop's prototype change.
5634
5635 2017-10-09 Pedro Alves <palves@redhat.com>
5636
5637 Test both arch1=>arch2 and arch2=>arch1.
5638
5639 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5640 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5641 factored out to...
5642 (append_arch1_options, append_arch2_options, append_arch_options)
5643 (build_executables): New procedures.
5644 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5645 local.
5646 (top level): Add new 'first_arch' testing axis.
5647
5648 2017-10-09 Pedro Alves <palves@redhat.com>
5649
5650 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5651 (barrier): New.
5652 (thread_start, all_started): New functions.
5653 (main): Spawn new thread and wait until it is scheduled.
5654 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5655 option.
5656 (do_test): Add 'selected_thread' parameter. Run to all_started
5657 instead of main. Explicitly set the breakpoint at main. Switch
5658 to the SELECTED_THREAD thread.
5659 (top level): Test handling the exec event with either the main
5660 thread or the second thread selected.
5661
5662 2017-10-09 Pedro Alves <palves@redhat.com>
5663
5664 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5665 logic. Move STOP marker after the value checks.
5666 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5667 regexp.
5668
5669 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5670
5671 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5672
5673 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5674
5675 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5676 integer-to-dfp conversion.
5677 * gdb.base/dfp-test.exp: Likewise.
5678
5679 2017-10-04 Pedro Alves <palves@redhat.com>
5680
5681 * gdb.multi/hangout.c: Include <unistd.h>.
5682 (hangout_loop): New function.
5683 (main): Call alarm. Call hangout_loop in a loop.
5684 * gdb.multi/hello.c: Include <unistd.h>.
5685 (hello_loop): New function.
5686 (main): Call alarm. Call hangout_loop in a loop.
5687 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5688 inferior with the other selected.
5689
5690 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5691
5692 * gdb.mi/list-thread-groups-available.exp: New file.
5693 * gdb.mi/list-thread-groups-available.c: New file.
5694
5695 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5696
5697 * gdb.base/set-cwd.exp: Make it available on
5698 native-extended-gdbserver.
5699
5700 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5701
5702 * gdb.base/set-cwd.c: New file.
5703 * gdb.base/set-cwd.exp: Likewise.
5704
5705 2017-10-02 Tom Tromey <tom@tromey.com>
5706
5707 PR rust/22236:
5708 * gdb.rust/simple.rs (main): New variable "fslice".
5709 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5710
5711 2017-10-02 Tom Tromey <tom@tromey.com>
5712
5713 * gdb.rust/simple.exp: Test ptype of a slice.
5714
5715 2017-10-02 Tom Tromey <tom@tromey.com>
5716
5717 * gdb.rust/simple.exp: Test index of slice.
5718
5719 2017-09-27 Tom Tromey <tom@tromey.com>
5720
5721 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5722
5723 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5724 Pedro Alves <palves@redhat.com>
5725
5726 * gdb.base/compare-sections.exp (get value of read-only section): Read
5727 as unsigned value.
5728 (corrupt read-only section): Likewise and don't set written if patching
5729 failed.
5730
5731 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5732
5733 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5734 files.
5735
5736 2017-09-20 Pedro Alves <palves@redhat.com>
5737
5738 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5739 symbol names in gdb's output.
5740 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5741
5742 2017-09-20 Pedro Alves <palves@redhat.com>
5743
5744 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5745 Rename to ...
5746 (test_list_ambiguous_symbol): ... this and add a symbol name
5747 parameter. Adjust.
5748 (test_list_ambiguous_function): Reimplement on top of
5749 test_list_ambiguous_symbol and also test listing ambiguous
5750 variables.
5751 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5752 (ambiguous_fun): ... this.
5753 (ambiguous_var): New.
5754 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5755 (ambiguous_fun): ... this.
5756 (ambiguous_var): New.
5757
5758 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5759
5760 * gdb.base/starti.c: New file.
5761 * gdb.base/starti.exp: New file.
5762 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5763
5764 2017-09-14 Pedro Alves <palves@redhat.com>
5765
5766 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5767 (top level): Use it instead of runto.
5768
5769 2017-09-11 Tom Tromey <tom@tromey.com>
5770
5771 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5772
5773 2017-09-11 Tom Tromey <tom@tromey.com>
5774
5775 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5776 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5777
5778 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5779
5780 * gdb.fortran/printing-types.exp: New file.
5781 * gdb.fortran/printing-types.exp: New file.
5782
5783 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5784
5785 * gdb.fortran/vla-ptype.exp: Fix typos.
5786 * gdb.fortran/vla-value.exp: Same.
5787
5788 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5789
5790 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5791 * gdb.mi/mi-var-child-f.exp: Likewise.
5792 * gdb.mi/mi-vla-fortran.exp: Likewise.
5793
5794 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5795 Christoph Weinmann <christoph.t.weinmann@intel.com>
5796 Bernhard Heckel <bernhard.heckel@intel.com>
5797
5798 * gdb.fortran/ptr-indentation.f90: New file.
5799 * gdb.fortran/ptr-indentation.exp: New file.
5800
5801 2017-09-05 Tom Tromey <tom@tromey.com>
5802
5803 PR gdb/22010:
5804 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5805
5806 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5807
5808 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5809
5810 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5811
5812 * gdb.threads/tls-nodebug-pie.c: New file.
5813 * gdb.threads/tls-nodebug-pie.exp: New file.
5814
5815 2017-09-05 Tom Tromey <tom@tromey.com>
5816
5817 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5818 for rust.
5819
5820 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5821
5822 * gdb.multi/multi-arch-exec.exp: Test with different
5823 "follow-exec-mode" settings.
5824 (do_test): New procedure.
5825
5826 2017-09-04 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.base/func-static.c (S::method const, S::method volatile)
5829 (S::method volatile const): New methods.
5830 (c_s, v_s, cv_s): New instances.
5831 (main): Call method() on them.
5832 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5833 (cannot_resolve): New procedure.
5834 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5835 print-quote-unquoted columns.
5836 (do_test): Test printing each scope too.
5837
5838 2017-09-04 Pedro Alves <palves@redhat.com>
5839
5840 * gdb.base/local-static.exp: Also test with
5841 class::method::variable wholly quoted.
5842 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5843
5844 2017-09-04 Pedro Alves <palves@redhat.com>
5845
5846 * gdb.base/local-static.c: New.
5847 * gdb.base/local-static.cc: New.
5848 * gdb.base/local-static.exp: New.
5849
5850 2017-09-04 Pedro Alves <palves@redhat.com>
5851
5852 * gdb.asm/asm-source.exp: Add casts to int.
5853 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5854 (dataglobal64_1, dataglobal64_2): New globals.
5855 * gdb.base/nodebug.exp: Test different expressions involving the
5856 new globals, with print, whatis and ptype. Add casts to int.
5857 * gdb.base/solib-display.exp: Add casts to int.
5858 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5859 * gdb.cp/m-static.exp: Add cast to int.
5860 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5861 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5862 tls variable with no debug info without a cast. Test with a cast
5863 to int too.
5864 * gdb.trace/entry-values.exp: Add casts.
5865
5866 2017-09-04 Pedro Alves <palves@redhat.com>
5867
5868 * gdb.base/nodebug.exp: Test that ptype's error about functions
5869 with unknown return type includes the function name too.
5870
5871 2017-09-04 Pedro Alves <palves@redhat.com>
5872
5873 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5874 return type of munmap in infcall.
5875 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5876 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5877 type of ftell in infcall.
5878 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5879 type of getpid in infcall.
5880 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5881 infcall.
5882 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5883 Bail on failure to extract the pid.
5884 * gdb.base/nodebug.c: #include <stdint.h>.
5885 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5886 New functions.
5887 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5888 Change expected output of print/whatis/ptype with functions with
5889 no debug info. Test all supported languages. Call
5890 test_call_promotion.
5891 * gdb.compile/compile.exp: Adjust expected output to expect
5892 warning.
5893 * gdb.threads/siginfo-threads.exp: Likewise.
5894
5895 2017-09-04 Pedro Alves <palves@redhat.com>
5896
5897 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5898 "prototypes". Test calling float functions via prototyped and
5899 unprototyped function pointers.
5900 (perform_all_tests): New parameter "prototypes". Pass it down.
5901 (top level): Pass down "prototypes" parameter to
5902 perform_all_tests.
5903
5904 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5905
5906 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5907 Test with nested loops.
5908
5909 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5910
5911 * gdb.base/commands.exp: Call the new procedures.
5912 (loop_break_test, loop_continue_test): New procedures.
5913
5914 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5915
5916 * gdb.base/commands.exp: Call new procedure.
5917 (define_if_without_arg_test): New procedure.
5918
5919 2017-09-04 Pedro Alves <palves@redhat.com>
5920
5921 * gdb.base/list-ambiguous.exp: New file.
5922 * gdb.base/list-ambiguous0.c: New file.
5923 * gdb.base/list-ambiguous1.c: New file.
5924 * gdb.base/list.exp (test_list_range): Adjust expected output.
5925
5926 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5927
5928 * gdb.base/share-env-with-gdbserver.c: New file.
5929 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5930
5931 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5932
5933 * gdb.base/commands.exp (gdbvar_simple_if_test,
5934 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5935 progvar_simple_if_test, progvar_simple_while_test,
5936 progvar_complex_if_while_test, user_defined_command_test,
5937 user_defined_command_args_eval,
5938 user_defined_command_args_stack_test,
5939 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5940 temporary_breakpoint_commands,
5941 gdb_test_no_prompt, redefine_hook_test,
5942 redefine_backtrace_test): Remove "global gdb_prompt".
5943
5944 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5945
5946 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5947 New proc, call it from toplevel.
5948
5949 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5950
5951 PR remote/21852
5952 * gdb.server/normal.c: New file, copied from gdb.base.
5953 * gdb.server/run-without-local-binary.exp: New file.
5954
5955 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5956
5957 * gdb.arch/sparc64-adi.exp: New file.
5958 * gdb.arch/sparc64-adi.c: New file.
5959
5960 2017-08-22 Pedro Alves <palves@redhat.com>
5961
5962 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5963 (top level): Add "list all overloads" tests.
5964
5965 2017-08-22 Tom Tromey <tom@tromey.com>
5966
5967 * gdb.gdb/xfullpath.exp: Remove.
5968
5969 2017-08-21 Pedro Alves <palves@redhat.com>
5970
5971 PR gdb/19487
5972 * gdb.base/symbol-alias.c: New.
5973 * gdb.base/symbol-alias2.c: New.
5974 * gdb.base/symbol-alias.exp: New.
5975
5976 2017-08-21 Pedro Alves <palves@redhat.com>
5977
5978 * gdb.base/dfp-test.c
5979 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5980 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5981 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5982 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5983 * gdb.base/whatis-ptype-typedefs.c: New.
5984 * gdb.base/whatis-ptype-typedefs.exp: New.
5985 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5986 (an_int, an_int_type, an_int_type2): New globals.
5987 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5988 involving typedefs and cast expressions.
5989 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5990 (lookup_typedefs_function): New.
5991 (typedefs_pretty_printers_dict): New.
5992 (top level): Register lookup_typedefs_function in
5993 gdb.pretty_printers.
5994
5995 2017-08-18 Yao Qi <yao.qi@linaro.org>
5996
5997 * gdb.server/unittest.exp: New.
5998
5999 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6000
6001 PR gdb/21954
6002 * gdb.base/environ.exp: Add test to check if 'unset environment'
6003 works.
6004
6005 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6006
6007 * lib/gdb.exp (universal_compile_options): New caching proc.
6008 (gdb_compile): Suppress GCC's coloring of messages.
6009
6010 2017-08-14 Tom Tromey <tom@tromey.com>
6011
6012 PR gdb/21675:
6013 * gdb.base/printcmds.exp (test_radices): New function.
6014 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6015 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6016 * lib/gdb.exp (get_integer_valueof): Use p/d.
6017
6018 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6019
6020 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6021 characters.
6022
6023 2017-08-05 Tom Tromey <tom@tromey.com>
6024
6025 * gdb.rust/simple.exp: Allow String to appear in a different
6026 namespace.
6027
6028 2017-07-26 Yao Qi <yao.qi@linaro.org>
6029
6030 * gdb.gdb/unittest.exp: Invoke command
6031 "maintenance check xml-descriptions".
6032
6033 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6034
6035 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6036 calling context.
6037 (hex128): Drop erroneous calculation of parameters.
6038
6039 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6040
6041 * gdb.python/py-unwind.exp: Disable stack protection when
6042 building test file.
6043
6044 2017-07-20 Pedro Alves <palves@redhat.com>
6045
6046 * gdb.base/default.exp (set language): Adjust expected output.
6047
6048 2017-07-20 Pedro Alves <palves@redhat.com>
6049
6050 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6051 (test_minsym): ... this, and make static.
6052 (get_pck__foo__bar__minsym): Rename to ...
6053 (get_test_minsym): ... this.
6054 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6055 symbol names and comments.
6056 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6057 (get_test_minsym): ... this.
6058 (pck__foo__bar__minsym__2): Rename to ...
6059 (test_minsym): ... this.
6060 (main): Adjust.
6061
6062 2017-07-17 Pedro Alves <palves@redhat.com>
6063
6064 * gdb.base/completion.exp: Adjust expected output.
6065 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6066 the completer works.
6067
6068 2017-07-17 Pedro Alves <palves@redhat.com>
6069
6070 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6071
6072 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6073
6074 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6075
6076 2017-07-14 Tom Tromey <tom@tromey.com>
6077
6078 PR rust/21764:
6079 * gdb.rust/simple.exp: Add tests.
6080
6081 2017-07-14 Tom Tromey <tom@tromey.com>
6082
6083 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6084
6085 2017-07-14 Pedro Alves <palves@redhat.com>
6086
6087 * gdb.linespec/base/one/thefile.cc (z1): New function.
6088 * gdb.linespec/base/two/thefile.cc (z2): New function.
6089 * gdb.linespec/linespec.exp: Add tests.
6090
6091 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6092
6093 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6094 to mi_create_breakpoint.
6095
6096 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6097
6098 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6099 mi_create_breakpoint.
6100
6101 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6102
6103 * gdb.dlang/demangle.exp: Update for demangling changes.
6104
6105 2017-07-09 Tom Tromey <tom@tromey.com>
6106
6107 * gdb.dwarf2/shortpiece.exp: New file.
6108
6109 2017-07-06 David Blaikie <dblaikie@gmail.com>
6110
6111 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6112 built from fissiont-multi-cu{1,2}.c.
6113 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6114 except putting 'main' and 'func' in separate CUs in the same DWO file.
6115 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6116 test.
6117 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6118 test.
6119
6120 2017-07-06 Pedro Alves <palves@redhat.com>
6121
6122 * gdb.python/py-unwind.exp: Test flushregs.
6123
6124 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6125
6126 PR cli/21688
6127 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6128 tests for alias commands and trailing whitespace.
6129
6130 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6131
6132 PR cli/21688
6133 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6134 procedure. Call it.
6135
6136 2017-06-29 Pedro Alves <palves@redhat.com>
6137
6138 * gdb.base/printcmds.exp: Add tests.
6139
6140 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6141
6142 PR gdb/21337
6143 * gdb.base/reread-readsym.exp: New file.
6144 * gdb.base/reread-readsym.c: New file.
6145
6146 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6147
6148 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6149 subpattern.
6150
6151 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6152
6153 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6154 extended mnemonic.
6155 * gdb.arch/powerpc-power9.s: Likewise.
6156
6157 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6158
6159 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6160 on 32-bit x86 targets. Exploit is_*_target macros where
6161 appropriate.
6162
6163 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6164
6165 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6166 register pieces.
6167
6168 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6169
6170 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6171 located in one or more DWARF pieces.
6172
6173 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6174
6175 * lib/gdb.exp (get_endianness): New proc.
6176 * gdb.arch/aarch64-fp.exp: Use it.
6177 * gdb.arch/altivec-regs.exp: Likewise.
6178 * gdb.arch/e500-regs.exp: Likewise.
6179 * gdb.arch/vsx-regs.exp: Likewise.
6180 * gdb.base/dump.exp: Likewise.
6181 * gdb.base/funcargs.exp: Likewise.
6182 * gdb.base/gnu_vector.exp: Likewise.
6183 * gdb.dwarf2/formdata16.exp: Likewise.
6184 * gdb.dwarf2/implptrpiece.exp: Likewise.
6185 * gdb.dwarf2/nonvar-access.exp: Likewise.
6186 * gdb.python/py-inferior.exp: Likewise.
6187 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6188
6189 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6190
6191 PR gdb/21226
6192 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6193 stack value pieces are taken from the LSB end.
6194
6195 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6196
6197 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6198 variable at nonzero offset.
6199
6200 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6201
6202 * gdb.dwarf2/var-access.c: New file.
6203 * gdb.dwarf2/var-access.exp: New test.
6204 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6205
6206 2017-06-12 Tom Tromey <tom@tromey.com>
6207
6208 * gdb.dwarf2/formdata16.exp: Add tests.
6209
6210 2017-06-12 Tom Tromey <tom@tromey.com>
6211
6212 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6213
6214 2017-06-12 Tom Tromey <tom@tromey.com>
6215
6216 PR exp/16225:
6217 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6218 * gdb.arch/vsx-regs.exp: Update tests.
6219 * gdb.arch/s390-vregs.exp (hex128): New proc.
6220 Update test.
6221 * gdb.arch/altivec-regs.exp: Update tests.
6222
6223 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6224
6225 * gdb.base/startup-with-shell.c: New file.
6226 * gdb.base/startup-with-shell.exp: Likewise.
6227
6228 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6229
6230 * gdb.server/non-existing-program.exp: Update regex in order to
6231 reflect the fact that gdbserver is now using fork_inferior (with a
6232 shell) to startup the inferior.
6233
6234 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6235
6236 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6237 support function calls from GDB.
6238
6239 2017-05-21 Tom Tromey <tom@tromey.com>
6240
6241 PR rust/21466:
6242 * gdb.rust/unsized.exp: New file.
6243 * gdb.rust/unsized.rs: New file.
6244
6245 2017-05-19 Tom Tromey <tom@tromey.com>
6246
6247 PR rust/21484:
6248 * gdb.rust/watch.exp: New file.
6249 * gdb.rust/watch.rs: New file.
6250
6251 2017-05-18 Tom Tromey <tom@tromey.com>
6252
6253 * gdb.rust/simple.exp: Allow Box to be qualified.
6254
6255 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6256
6257 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6258
6259 2017-05-18 Pedro Alves <palves@redhat.com>
6260
6261 * gdb.base/fileio.c (test_write, test_read, test_close)
6262 (test_fstat): Don't print 'ret' in the fail path.
6263
6264 2017-05-18 Pedro Alves <palves@redhat.com>
6265
6266 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6267 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6268 (test_system, test_rename, test_unlink, test_time): Change
6269 prototypes.
6270 * gdb.base/fileio.exp (stop_msg): Adjust.
6271
6272 2017-05-18 Pedro Alves <palves@redhat.com>
6273
6274 * gdb.base/fileio.c (null_str): New global.
6275 (test_stat): Use it.
6276 * gdb.base/fileio.exp: Remove nowarnings.
6277
6278 2017-05-17 Yao Qi <yao.qi@linaro.org>
6279
6280 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6281
6282 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6283
6284 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6285 argument command.
6286 (top-level): Invoke test_set_inferior_tty.
6287
6288 2017-05-04 Pedro Alves <palves@redhat.com>
6289
6290 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6291 Add parens to print call for Python 3.
6292
6293 2017-05-03 Keith Seitz <keiths@redhat.com>
6294
6295 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6296 (main): Call it.
6297
6298 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6299
6300 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6301 to prev and next.
6302
6303 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6304
6305 * gdb.python/py-record-btrace.exp: Remove test for
6306 gdb.BtraceInstruction.error.
6307
6308 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6309
6310 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6311
6312 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6313
6314 * gdb.python/py-record-btrace-threads.c: New file.
6315 * gdb.python/py-record-btrace-threads.exp: New file.
6316
6317 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6318
6319 PR testsuite/8595
6320 * gdb.base/environ.exp: Make test available in all architectures.
6321 Move bits related to "info program" testing to
6322 gdb.base/info-program.exp. Rewrite tests to use the two new
6323 procedures mentione below.
6324 (test_set_show_env_var) New procedure.
6325 (test_set_show_env_var_equal): Likewise.
6326 * gdb.base/info-program.exp: New file.
6327
6328 2017-04-27 Keith Seitz <keiths@redhat.com>
6329
6330 * gdb.cp/oranking.cc (test15): New function.
6331 (main): Call test15 and declare additional variables for testing.
6332 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6333 "p foo101('abc')" tests.
6334 Add tests for cv qualifier overloads.
6335 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6336 "lvalue reference overload" test.
6337 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6338 "print value of f1 on Child&& in f2" test.
6339
6340 2017-04-19 Pedro Alves <palves@redhat.com>
6341
6342 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6343 procedure.
6344 (top level): Call it.
6345 * lib/gdb.exp (gdb_define_cmd): New procedure.
6346
6347 2017-04-12 Pedro Alves <palves@redhat.com>
6348
6349 PR gdb/21323
6350 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6351 (wchar): New global.
6352 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6353 (do_test_wide_char, wide_char_types_no_program, top level): Add
6354 wchar_t testing.
6355
6356 2017-04-12 Pedro Alves <palves@redhat.com>
6357
6358 PR c++/21323
6359 * gdb.cp/wide_char_types.c: New file.
6360 * gdb.cp/wide_char_types.exp: New file.
6361
6362 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6363
6364 PR gdb/21352
6365 * gdb.trace/tsv.exp: Add test for "tsave -r".
6366
6367 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6368
6369 * gdb.dlang/watch-loc.c: New file.
6370 * gdb.dlang/watch-loc.exp: New file.
6371
6372 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6373
6374 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6375
6376 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6377
6378 * gdb.arch/arc-analyze-prologue.S: New file.
6379 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6380
6381 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6382
6383 * gdb.arch/arc-decode-insn.S: New file.
6384 * gdb.arch/arc-decode-insn.exp: Likewise.
6385
6386 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6387
6388 PR tdep/20928
6389 * gdb.arch/sparc64-regs.exp: New file.
6390 * gdb.arch/sparc64-regs.S: Likewise.
6391
6392 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6393
6394 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6395 and memory view on Python 3.
6396
6397 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6398 Keith Seitz <keiths@redhat.com>
6399
6400 PR gdb/14441
6401 * gdb.cp/demangle.exp: Add rvalue reference tests.
6402 * gdb.cp/rvalue-ref-casts.cc: New file.
6403 * gdb.cp/rvalue-ref-casts.exp: New file.
6404 * gdb.cp/rvalue-ref-overload.cc: New file.
6405 * gdb.cp/rvalue-ref-overload.exp: New file.
6406 * gdb.cp/rvalue-ref-params.cc: New file.
6407 * gdb.cp/rvalue-ref-params.exp: New file.
6408 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6409 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6410 * gdb.cp/rvalue-ref-types.cc: New file.
6411 * gdb.cp/rvalue-ref-types.exp: New file.
6412 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6413 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6414
6415 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6416
6417 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6418 New procedure.
6419
6420 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6421
6422 * lib/mi-support.exp (mi_gdb_test): Add additional message
6423 for unexpected output.
6424
6425 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6426
6427 * gdb.base/examine-backward.c (Barrier): New character array
6428 constant, to ensure that TestStrings is preceded by a string
6429 terminator.
6430
6431 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6432
6433 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6434 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6435 and implicit pointer into such a location.
6436
6437 2017-03-16 Doug Evans <dje@google.com>
6438
6439 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6440
6441 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6442
6443 * gdb.cp/m-static.exp: Fix expectation for prototype of
6444 test5.single_constructor and single_constructor::single_constructor.
6445
6446 2017-03-16 Doug Evans <dje@google.com>
6447
6448 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6449 * gdb.guile/scm-lazy-string.c: New file.
6450 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6451 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6452 for pointer, array, typedef lazy strings.
6453
6454 2017-03-16 Doug Evans <dje@google.com>
6455
6456 PR python/17728, python/18439, python/18779
6457 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6458 * gdb.python/py-lazy-string.c (pointer): New typedef.
6459 (main): New locals ptr, array, typedef_ptr.
6460 * gdb.python/py-value.exp: Move lazy string tests to ...
6461 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6462 array, typedef lazy strings.
6463
6464 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6465
6466 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6467 Add optional 'test' parameter.
6468
6469 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6470
6471 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6472 Skip for versions of DejaGnu < 1.5.
6473
6474 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6475
6476 * lib/gdb.exp (dejagnu_version): New proc.
6477 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6478 Use dejagnu_version.
6479
6480 2017-03-10 Keith Seitz <keiths@redhat.com>
6481
6482 PR c++/8128
6483 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6484 type from destructor regexps.
6485 Add a branch which actually passes the test.
6486 Adjust "ptype t5i" test names.
6487
6488 2017-03-08 Pedro Alves <palves@redhat.com>
6489
6490 * gdb.base/step-over-exit.exp: Add explicit test message.
6491
6492 2017-03-08 Pedro Alves <palves@redhat.com>
6493
6494 PR gdb/18360
6495 * gdb.threads/interrupt-while-step-over.c: New file.
6496 * gdb.threads/interrupt-while-step-over.exp: New file.
6497
6498 2017-03-08 Pedro Alves <palves@redhat.com>
6499
6500 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6501 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6502
6503 2017-03-08 Pedro Alves <palves@redhat.com>
6504
6505 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6506 PKRU as not supported as a PASS.
6507
6508 2017-03-08 Pedro Alves <palves@redhat.com>
6509
6510 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6511 prefix instead of $binfile1/$binfile2.
6512 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6513 in test message.
6514 * gdb.python/py-completion.exp: Use "load python file" as test
6515 messages instead of unstable path names.
6516
6517 2017-03-08 Pedro Alves <palves@redhat.com>
6518 Jan Kratochvil <jan.kratochvil@redhat.com>
6519
6520 PR cli/21218
6521 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6522 New proc.
6523 (top level): Call it.
6524
6525 2017-03-08 Pedro Alves <palves@redhat.com>
6526
6527 PR tui/21216
6528 * gdb.tui/tui-nl-filtered-output.exp: New file.
6529
6530 2017-03-08 Pedro Alves <palves@redhat.com>
6531
6532 * gdb.base/completion.exp: Move TUI completion tests to ...
6533 * gdb.tui/completion.exp: ... this new file.
6534
6535 2017-03-08 Pedro Alves <palves@redhat.com>
6536
6537 * gdb.base/tui-disasm-long-lines.c,
6538 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6539 gdb.base/tui-layout.exp: Move to ...
6540 * gdb.tui/: ... this new directory.
6541
6542 2017-03-07 Pedro Alves <palves@redhat.com>
6543
6544 * gdb.base/tui-layout.c: New file.
6545 * gdb.base/tui-layout.exp: New file.
6546
6547 2017-03-07 Pedro Alves <palves@redhat.com>
6548
6549 * gdb.base/tui-layout.c: Rename to ...
6550 * gdb.base/tui-disasm-long-lines.c: ... this.
6551 * gdb.base/tui-layout.exp: Rename to ...
6552 * gdb.base/tui-disasm-long-lines.exp: ... this.
6553
6554 2017-03-07 Pedro Alves <palves@redhat.com>
6555
6556 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6557
6558 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6559
6560 * i386-mpx-call.c: New file.
6561 * i386-mpx-call.exp: New file.
6562
6563 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6564
6565 * gdb.arch/powerpc-power.exp: Delete test.
6566 * gdb.arch/powerpc-power.s: Likewise.
6567 * gdb.disasm/disassembler-options.exp: New test.
6568 * gdb.arch/powerpc-altivec.exp: Likewise.
6569 * gdb.arch/powerpc-altivec.s: Likewise.
6570 * gdb.arch/powerpc-altivec2.exp: Likewise.
6571 * gdb.arch/powerpc-altivec2.s: Likewise.
6572 * gdb.arch/powerpc-altivec3.exp: Likewise.
6573 * gdb.arch/powerpc-altivec3.s: Likewise.
6574 * gdb.arch/powerpc-power7.exp: Likewise.
6575 * gdb.arch/powerpc-power7.s: Likewise.
6576 * gdb.arch/powerpc-power8.exp: Likewise.
6577 * gdb.arch/powerpc-power8.s: Likewise.
6578 * gdb.arch/powerpc-power9.exp: Likewise.
6579 * gdb.arch/powerpc-power9.s: Likewise.
6580 * gdb.arch/powerpc-vsx.exp: Likewise.
6581 * gdb.arch/powerpc-vsx.s: Likewise.
6582 * gdb.arch/powerpc-vsx2.exp: Likewise.
6583 * gdb.arch/powerpc-vsx2.s: Likewise.
6584 * gdb.arch/powerpc-vsx3.exp: Likewise.
6585 * gdb.arch/powerpc-vsx3.s: Likewise.
6586 * gdb.arch/arm-disassembler-options.exp: Likewise.
6587 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6588 * gdb.arch/s390-disassembler-options.exp: Likewise.
6589
6590 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6591
6592 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6593 (check_supported_features): ... this. Changed return type to void.
6594 (supports_rdseed): New static global.
6595 (rdseed): Check supports_rdseed.
6596 (initialize): Call check_supported_features.
6597
6598 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6599
6600 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6601 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6602 and lqarx/stqcx.
6603 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6604 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6605
6606 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6607
6608 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6609 uppercase.
6610
6611 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6612
6613 * gdb.dwarf2/formdata16.c: New file.
6614 * gdb.dwarf2/formdata16.exp: New file.
6615 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6616
6617 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6618
6619 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6620 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6621 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6622 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6623 DW_AT_GNU_*.
6624
6625 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6626
6627 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6628
6629 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6630
6631 PR gdb/21164
6632 * gdb.base/maint.exp: Add testcases for when the commands do
6633 not have arguments.
6634
6635 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6636
6637 * gdb.cp/chained-calls.exp: Use p instead of P.
6638
6639 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6640
6641 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6642 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6643
6644 2017-02-14 Tom Tromey <tom@tromey.com>
6645
6646 PR python/13598:
6647 * gdb.python/py-events.exp: Add before_prompt event tests.
6648
6649 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6650
6651 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6652
6653 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6654
6655 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6656 (main): Call my_unique_function_name.
6657 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6658 completion of patterns with a single match.
6659 Add missing -re switches to gdb_test_multiple calls.
6660
6661 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6662
6663 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6664 return if core file is not recognized.
6665
6666 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6667
6668 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6669 and extra UIs.
6670
6671 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6672
6673 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6674 proc_with_prefix.
6675
6676 2017-02-10 Tom Tromey <tom@tromey.com>
6677
6678 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6679
6680 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6681
6682 PR gdb/21122
6683 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6684
6685 2017-02-08 Jerome Guitton <guitton@adacore.com>
6686
6687 * gdb.base/define.exp: Add test for command abbreviations
6688 in define.
6689
6690 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6691
6692 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6693 * gdb.reverse/insn-reverse-x86.c: New file.
6694
6695 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6696
6697 PR tdep/20936
6698 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6699
6700 2017-02-03 Tom Tromey <tom@tromey.com>
6701
6702 PR rust/21097:
6703 * gdb.rust/simple.exp: Add new tests.
6704
6705 2017-02-02 Pedro Alves <palves@redhat.com>
6706
6707 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6708 tests.
6709
6710 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6711
6712 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6713 taking a 2-byte value out of a 4-byte DWARF implicit value on
6714 big-endian targets.
6715 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6716 logic. Add test cases for DW_OP_implicit.
6717
6718 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6719
6720 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6721
6722 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6723
6724 * gdb.btrace/enable.exp: Call gdb_exit before
6725 skip_gdbserver_tests.
6726
6727 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6728
6729 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6730 GDBFLAGS.
6731
6732 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6733
6734 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6735 the test is skipped.
6736 * gdb.btrace/data.exp: Likewise.
6737 * gdb.btrace/delta.exp: Likewise.
6738 * gdb.btrace/dlopen.exp: Likewise.
6739 * gdb.btrace/enable-running.exp: Likewise.
6740 * gdb.btrace/enable.exp: Likewise.
6741 * gdb.btrace/exception.exp: Likewise.
6742 * gdb.btrace/function_call_history.exp: Likewise.
6743 * gdb.btrace/gcore.exp: Likewise.
6744 * gdb.btrace/instruction_history.exp: Likewise.
6745 * gdb.btrace/multi-thread-step.exp: Likewise.
6746 * gdb.btrace/nohist.exp: Likewise.
6747 * gdb.btrace/non-stop.exp: Likewise.
6748 * gdb.btrace/reconnect.exp: Likewise.
6749 * gdb.btrace/record_goto-step.exp: Likewise.
6750 * gdb.btrace/record_goto.exp: Likewise.
6751 * gdb.btrace/rn-dl-bind.exp: Likewise.
6752 * gdb.btrace/segv.exp: Likewise.
6753 * gdb.btrace/step.exp: Likewise.
6754 * gdb.btrace/stepi.exp: Likewise.
6755 * gdb.btrace/tailcall-only.exp: Likewise.
6756 * gdb.btrace/tailcall.exp: Likewise.
6757 * gdb.btrace/tsx.exp: Likewise.
6758 * gdb.btrace/unknown_functions.exp: Likewise.
6759 * gdb.btrace/vdso.exp: Likewise.
6760
6761 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6762
6763 * gdb.btrace/enable-running.c: New.
6764 * gdb.btrace/enable-running.exp: New.
6765
6766 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6767
6768 * gdb.arch/amd64-gs_base.c: New file.
6769 * gdb.arch/amd64-gs_base.exp: New file.
6770
6771 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6772
6773 * lib/memory.exp: Remove spurious empty newlines.
6774
6775 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6776
6777 * gdb.python/py-bad-printers.exp: Load python file using "source".
6778 * gdb.python/py-events.exp: Likewise.
6779 * gdb.python/py-evsignal.exp: Likewise.
6780 * gdb.python/py-evthreads.exp: Likewise.
6781 * gdb.python/py-frame-args.exp: Likewise.
6782 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6783 * gdb.python/py-framefilter-mi.exp: Likewise.
6784 * gdb.python/py-framefilter.exp: Likewise.
6785 * gdb.python/py-mi.exp: Likewise.
6786 * gdb.python/py-pp-maint.exp: Likewise.
6787 * gdb.python/py-pp-registration.exp: Likewise.
6788 * gdb.python/py-prettyprint.exp: Likewise.
6789 (run_lang_tests): Likewise.
6790 * gdb.python/py-typeprint.exp: Likewise.
6791
6792 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6793
6794 * lib/memory.exp: New file.
6795 * lib/gdb.exp: Load memory.exp.
6796 * gdb.base/memattr.exp (delete_memory): Move proc to
6797 lib/memory.exp and rename to delete_memory_regions.
6798 Replace delete_memory with delete_memory_regions.
6799 Cleanup memory regions before tests.
6800 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6801 before tests.
6802
6803 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6804
6805 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6806 files.
6807 (initialize): New function conditionally defined.
6808 (testcases): Move within conditional block.
6809 (main): Call initialize.
6810 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6811 of gdb.reverse/insn-reverse.c.
6812 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6813 gdb.reverse/insn-reverse.c.
6814
6815 2017-01-26 Yao Qi <yao.qi@linaro.org>
6816
6817 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6818 disassemble on address 0.
6819
6820 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6821 Yao Qi <yao.qi@linaro.org>
6822
6823 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6824 * gdb.dwarf2/implptr-64bit.S: Remove.
6825 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6826 variables in caller's context. Add DW_OP_implicit_value.
6827
6828 2017-01-25 Yao Qi <yao.qi@linaro.org>
6829
6830 * lib/dwarf.exp (Dwarf::_location): Handle
6831 DW_OP_GNU_implicit_pointer with proper size.
6832
6833 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6834
6835 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6836 and add untested calls.
6837
6838 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6839
6840 * gdb.python/python.exp: Check line number against what GDB thinks
6841 the line number is for func1.
6842
6843 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6844
6845 * gdb.dlang/debug-expr.exp: New file.
6846
6847 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6848
6849 Fix test names for the following files:
6850
6851 * gdb.ada/exec_changed.exp
6852 * gdb.ada/info_types.exp
6853 * gdb.arch/aarch64-atomic-inst.exp
6854 * gdb.arch/aarch64-fp.exp
6855 * gdb.arch/altivec-abi.exp
6856 * gdb.arch/altivec-regs.exp
6857 * gdb.arch/amd64-byte.exp
6858 * gdb.arch/amd64-disp-step.exp
6859 * gdb.arch/amd64-dword.exp
6860 * gdb.arch/amd64-entry-value-inline.exp
6861 * gdb.arch/amd64-entry-value-param.exp
6862 * gdb.arch/amd64-entry-value-paramref.exp
6863 * gdb.arch/amd64-entry-value.exp
6864 * gdb.arch/amd64-i386-address.exp
6865 * gdb.arch/amd64-invalid-stack-middle.exp
6866 * gdb.arch/amd64-invalid-stack-top.exp
6867 * gdb.arch/amd64-optimout-repeat.exp
6868 * gdb.arch/amd64-prologue-skip.exp
6869 * gdb.arch/amd64-prologue-xmm.exp
6870 * gdb.arch/amd64-stap-special-operands.exp
6871 * gdb.arch/amd64-stap-wrong-subexp.exp
6872 * gdb.arch/amd64-tailcall-cxx.exp
6873 * gdb.arch/amd64-tailcall-noret.exp
6874 * gdb.arch/amd64-tailcall-ret.exp
6875 * gdb.arch/amd64-tailcall-self.exp
6876 * gdb.arch/amd64-word.exp
6877 * gdb.arch/arm-bl-branch-dest.exp
6878 * gdb.arch/arm-disp-step.exp
6879 * gdb.arch/arm-neon.exp
6880 * gdb.arch/arm-single-step-kernel-helper.exp
6881 * gdb.arch/avr-flash-qualifier.exp
6882 * gdb.arch/disp-step-insn-reloc.exp
6883 * gdb.arch/e500-abi.exp
6884 * gdb.arch/e500-regs.exp
6885 * gdb.arch/ftrace-insn-reloc.exp
6886 * gdb.arch/i386-avx512.exp
6887 * gdb.arch/i386-bp_permanent.exp
6888 * gdb.arch/i386-byte.exp
6889 * gdb.arch/i386-cfi-notcurrent.exp
6890 * gdb.arch/i386-disp-step.exp
6891 * gdb.arch/i386-dr3-watch.exp
6892 * gdb.arch/i386-float.exp
6893 * gdb.arch/i386-gnu-cfi.exp
6894 * gdb.arch/i386-mpx-map.exp
6895 * gdb.arch/i386-mpx-sigsegv.exp
6896 * gdb.arch/i386-mpx-simple_segv.exp
6897 * gdb.arch/i386-mpx.exp
6898 * gdb.arch/i386-permbkpt.exp
6899 * gdb.arch/i386-prologue.exp
6900 * gdb.arch/i386-signal.exp
6901 * gdb.arch/i386-size-overlap.exp
6902 * gdb.arch/i386-unwind.exp
6903 * gdb.arch/i386-word.exp
6904 * gdb.arch/mips-fcr.exp
6905 * gdb.arch/powerpc-d128-regs.exp
6906 * gdb.arch/powerpc-stackless.exp
6907 * gdb.arch/ppc64-atomic-inst.exp
6908 * gdb.arch/s390-stackless.exp
6909 * gdb.arch/s390-tdbregs.exp
6910 * gdb.arch/s390-vregs.exp
6911 * gdb.arch/sparc-sysstep.exp
6912 * gdb.arch/thumb-bx-pc.exp
6913 * gdb.arch/thumb-singlestep.exp
6914 * gdb.arch/thumb2-it.exp
6915 * gdb.arch/vsx-regs.exp
6916 * gdb.asm/asm-source.exp
6917 * gdb.base/a2-run.exp
6918 * gdb.base/advance.exp
6919 * gdb.base/all-bin.exp
6920 * gdb.base/anon.exp
6921 * gdb.base/args.exp
6922 * gdb.base/arithmet.exp
6923 * gdb.base/async-shell.exp
6924 * gdb.base/async.exp
6925 * gdb.base/attach-pie-noexec.exp
6926 * gdb.base/attach-twice.exp
6927 * gdb.base/auto-load.exp
6928 * gdb.base/bang.exp
6929 * gdb.base/bitfields.exp
6930 * gdb.base/break-always.exp
6931 * gdb.base/break-caller-line.exp
6932 * gdb.base/break-entry.exp
6933 * gdb.base/break-inline.exp
6934 * gdb.base/break-on-linker-gcd-function.exp
6935 * gdb.base/break-probes.exp
6936 * gdb.base/break.exp
6937 * gdb.base/breakpoint-shadow.exp
6938 * gdb.base/call-ar-st.exp
6939 * gdb.base/call-sc.exp
6940 * gdb.base/call-signal-resume.exp
6941 * gdb.base/call-strs.exp
6942 * gdb.base/callfuncs.exp
6943 * gdb.base/catch-fork-static.exp
6944 * gdb.base/catch-gdb-caused-signals.exp
6945 * gdb.base/catch-load.exp
6946 * gdb.base/catch-signal-fork.exp
6947 * gdb.base/catch-signal.exp
6948 * gdb.base/catch-syscall.exp
6949 * gdb.base/charset.exp
6950 * gdb.base/checkpoint.exp
6951 * gdb.base/chng-syms.exp
6952 * gdb.base/code-expr.exp
6953 * gdb.base/code_elim.exp
6954 * gdb.base/commands.exp
6955 * gdb.base/completion.exp
6956 * gdb.base/complex.exp
6957 * gdb.base/cond-expr.exp
6958 * gdb.base/condbreak.exp
6959 * gdb.base/consecutive.exp
6960 * gdb.base/continue-all-already-running.exp
6961 * gdb.base/coredump-filter.exp
6962 * gdb.base/corefile.exp
6963 * gdb.base/dbx.exp
6964 * gdb.base/debug-expr.exp
6965 * gdb.base/define.exp
6966 * gdb.base/del.exp
6967 * gdb.base/disabled-location.exp
6968 * gdb.base/disasm-end-cu.exp
6969 * gdb.base/disasm-optim.exp
6970 * gdb.base/display.exp
6971 * gdb.base/duplicate-bp.exp
6972 * gdb.base/ena-dis-br.exp
6973 * gdb.base/ending-run.exp
6974 * gdb.base/enumval.exp
6975 * gdb.base/environ.exp
6976 * gdb.base/eu-strip-infcall.exp
6977 * gdb.base/eval-avoid-side-effects.exp
6978 * gdb.base/eval-skip.exp
6979 * gdb.base/exitsignal.exp
6980 * gdb.base/expand-psymtabs.exp
6981 * gdb.base/filesym.exp
6982 * gdb.base/find-unmapped.exp
6983 * gdb.base/finish.exp
6984 * gdb.base/float.exp
6985 * gdb.base/foll-exec-mode.exp
6986 * gdb.base/foll-exec.exp
6987 * gdb.base/foll-fork.exp
6988 * gdb.base/fortran-sym-case.exp
6989 * gdb.base/freebpcmd.exp
6990 * gdb.base/func-ptr.exp
6991 * gdb.base/func-ptrs.exp
6992 * gdb.base/funcargs.exp
6993 * gdb.base/gcore-buffer-overflow.exp
6994 * gdb.base/gcore-relro-pie.exp
6995 * gdb.base/gcore-relro.exp
6996 * gdb.base/gcore.exp
6997 * gdb.base/gdb1090.exp
6998 * gdb.base/gdb11530.exp
6999 * gdb.base/gdb11531.exp
7000 * gdb.base/gdb1821.exp
7001 * gdb.base/gdbindex-stabs.exp
7002 * gdb.base/gdbvars.exp
7003 * gdb.base/hbreak.exp
7004 * gdb.base/hbreak2.exp
7005 * gdb.base/included.exp
7006 * gdb.base/infcall-input.exp
7007 * gdb.base/inferior-died.exp
7008 * gdb.base/infnan.exp
7009 * gdb.base/info-macros.exp
7010 * gdb.base/info-os.exp
7011 * gdb.base/info-proc.exp
7012 * gdb.base/info-shared.exp
7013 * gdb.base/info-target.exp
7014 * gdb.base/infoline.exp
7015 * gdb.base/interp.exp
7016 * gdb.base/interrupt.exp
7017 * gdb.base/jit-reader.exp
7018 * gdb.base/jit-simple.exp
7019 * gdb.base/kill-after-signal.exp
7020 * gdb.base/kill-detach-inferiors-cmd.exp
7021 * gdb.base/label.exp
7022 * gdb.base/langs.exp
7023 * gdb.base/ldbl_e308.exp
7024 * gdb.base/line-symtabs.exp
7025 * gdb.base/linespecs.exp
7026 * gdb.base/list.exp
7027 * gdb.base/long_long.exp
7028 * gdb.base/longest-types.exp
7029 * gdb.base/maint.exp
7030 * gdb.base/max-value-size.exp
7031 * gdb.base/memattr.exp
7032 * gdb.base/mips_pro.exp
7033 * gdb.base/morestack.exp
7034 * gdb.base/moribund-step.exp
7035 * gdb.base/multi-forks.exp
7036 * gdb.base/nested-addr.exp
7037 * gdb.base/nextoverexit.exp
7038 * gdb.base/noreturn-finish.exp
7039 * gdb.base/noreturn-return.exp
7040 * gdb.base/nostdlib.exp
7041 * gdb.base/offsets.exp
7042 * gdb.base/opaque.exp
7043 * gdb.base/pc-fp.exp
7044 * gdb.base/permissions.exp
7045 * gdb.base/print-symbol-loading.exp
7046 * gdb.base/prologue-include.exp
7047 * gdb.base/psymtab.exp
7048 * gdb.base/ptype.exp
7049 * gdb.base/random-signal.exp
7050 * gdb.base/randomize.exp
7051 * gdb.base/range-stepping.exp
7052 * gdb.base/readline-ask.exp
7053 * gdb.base/recpar.exp
7054 * gdb.base/recurse.exp
7055 * gdb.base/relational.exp
7056 * gdb.base/restore.exp
7057 * gdb.base/return-nodebug.exp
7058 * gdb.base/return.exp
7059 * gdb.base/run-after-attach.exp
7060 * gdb.base/save-bp.exp
7061 * gdb.base/scope.exp
7062 * gdb.base/sect-cmd.exp
7063 * gdb.base/set-lang-auto.exp
7064 * gdb.base/set-noassign.exp
7065 * gdb.base/setvar.exp
7066 * gdb.base/sigall.exp
7067 * gdb.base/sigbpt.exp
7068 * gdb.base/siginfo-addr.exp
7069 * gdb.base/siginfo-infcall.exp
7070 * gdb.base/siginfo-obj.exp
7071 * gdb.base/siginfo.exp
7072 * gdb.base/signals-state-child.exp
7073 * gdb.base/signest.exp
7074 * gdb.base/sigstep.exp
7075 * gdb.base/sizeof.exp
7076 * gdb.base/skip.exp
7077 * gdb.base/solib-corrupted.exp
7078 * gdb.base/solib-nodir.exp
7079 * gdb.base/solib-search.exp
7080 * gdb.base/stack-checking.exp
7081 * gdb.base/stale-infcall.exp
7082 * gdb.base/stap-probe.exp
7083 * gdb.base/start.exp
7084 * gdb.base/step-break.exp
7085 * gdb.base/step-bt.exp
7086 * gdb.base/step-line.exp
7087 * gdb.base/step-over-exit.exp
7088 * gdb.base/step-over-syscall.exp
7089 * gdb.base/step-resume-infcall.exp
7090 * gdb.base/step-test.exp
7091 * gdb.base/store.exp
7092 * gdb.base/structs3.exp
7093 * gdb.base/sym-file.exp
7094 * gdb.base/symbol-without-target_section.exp
7095 * gdb.base/term.exp
7096 * gdb.base/testenv.exp
7097 * gdb.base/ui-redirect.exp
7098 * gdb.base/until.exp
7099 * gdb.base/unwindonsignal.exp
7100 * gdb.base/value-double-free.exp
7101 * gdb.base/vla-datatypes.exp
7102 * gdb.base/vla-ptr.exp
7103 * gdb.base/vla-sideeffect.exp
7104 * gdb.base/volatile.exp
7105 * gdb.base/watch-cond-infcall.exp
7106 * gdb.base/watch-cond.exp
7107 * gdb.base/watch-non-mem.exp
7108 * gdb.base/watch-read.exp
7109 * gdb.base/watch-vfork.exp
7110 * gdb.base/watchpoint-cond-gone.exp
7111 * gdb.base/watchpoint-delete.exp
7112 * gdb.base/watchpoint-hw-hit-once.exp
7113 * gdb.base/watchpoint-hw.exp
7114 * gdb.base/watchpoint-stops-at-right-insn.exp
7115 * gdb.base/watchpoints.exp
7116 * gdb.base/wchar.exp
7117 * gdb.base/whatis-exp.exp
7118 * gdb.btrace/buffer-size.exp
7119 * gdb.btrace/data.exp
7120 * gdb.btrace/delta.exp
7121 * gdb.btrace/dlopen.exp
7122 * gdb.btrace/enable.exp
7123 * gdb.btrace/exception.exp
7124 * gdb.btrace/function_call_history.exp
7125 * gdb.btrace/gcore.exp
7126 * gdb.btrace/instruction_history.exp
7127 * gdb.btrace/nohist.exp
7128 * gdb.btrace/reconnect.exp
7129 * gdb.btrace/record_goto-step.exp
7130 * gdb.btrace/record_goto.exp
7131 * gdb.btrace/rn-dl-bind.exp
7132 * gdb.btrace/segv.exp
7133 * gdb.btrace/step.exp
7134 * gdb.btrace/stepi.exp
7135 * gdb.btrace/tailcall-only.exp
7136 * gdb.btrace/tailcall.exp
7137 * gdb.btrace/tsx.exp
7138 * gdb.btrace/unknown_functions.exp
7139 * gdb.btrace/vdso.exp
7140 * gdb.compile/compile-ifunc.exp
7141 * gdb.compile/compile-ops.exp
7142 * gdb.compile/compile-print.exp
7143 * gdb.compile/compile-setjmp.exp
7144 * gdb.cp/abstract-origin.exp
7145 * gdb.cp/ambiguous.exp
7146 * gdb.cp/annota2.exp
7147 * gdb.cp/annota3.exp
7148 * gdb.cp/anon-ns.exp
7149 * gdb.cp/anon-struct.exp
7150 * gdb.cp/anon-union.exp
7151 * gdb.cp/arg-reference.exp
7152 * gdb.cp/baseenum.exp
7153 * gdb.cp/bool.exp
7154 * gdb.cp/breakpoint.exp
7155 * gdb.cp/bs15503.exp
7156 * gdb.cp/call-c.exp
7157 * gdb.cp/casts.exp
7158 * gdb.cp/chained-calls.exp
7159 * gdb.cp/class2.exp
7160 * gdb.cp/classes.exp
7161 * gdb.cp/cmpd-minsyms.exp
7162 * gdb.cp/converts.exp
7163 * gdb.cp/cp-relocate.exp
7164 * gdb.cp/cpcompletion.exp
7165 * gdb.cp/cpexprs.exp
7166 * gdb.cp/cplabel.exp
7167 * gdb.cp/cplusfuncs.exp
7168 * gdb.cp/cpsizeof.exp
7169 * gdb.cp/ctti.exp
7170 * gdb.cp/derivation.exp
7171 * gdb.cp/destrprint.exp
7172 * gdb.cp/dispcxx.exp
7173 * gdb.cp/enum-class.exp
7174 * gdb.cp/exception.exp
7175 * gdb.cp/exceptprint.exp
7176 * gdb.cp/expand-psymtabs-cxx.exp
7177 * gdb.cp/expand-sals.exp
7178 * gdb.cp/extern-c.exp
7179 * gdb.cp/filename.exp
7180 * gdb.cp/formatted-ref.exp
7181 * gdb.cp/fpointer.exp
7182 * gdb.cp/gdb1355.exp
7183 * gdb.cp/gdb2495.exp
7184 * gdb.cp/hang.exp
7185 * gdb.cp/impl-this.exp
7186 * gdb.cp/infcall-dlopen.exp
7187 * gdb.cp/inherit.exp
7188 * gdb.cp/iostream.exp
7189 * gdb.cp/koenig.exp
7190 * gdb.cp/local.exp
7191 * gdb.cp/m-data.exp
7192 * gdb.cp/m-static.exp
7193 * gdb.cp/mb-ctor.exp
7194 * gdb.cp/mb-inline.exp
7195 * gdb.cp/mb-templates.exp
7196 * gdb.cp/member-name.exp
7197 * gdb.cp/member-ptr.exp
7198 * gdb.cp/meth-typedefs.exp
7199 * gdb.cp/method.exp
7200 * gdb.cp/method2.exp
7201 * gdb.cp/minsym-fallback.exp
7202 * gdb.cp/misc.exp
7203 * gdb.cp/namelessclass.exp
7204 * gdb.cp/namespace-enum.exp
7205 * gdb.cp/namespace-nested-import.exp
7206 * gdb.cp/namespace.exp
7207 * gdb.cp/nextoverthrow.exp
7208 * gdb.cp/no-dmgl-verbose.exp
7209 * gdb.cp/non-trivial-retval.exp
7210 * gdb.cp/noparam.exp
7211 * gdb.cp/nsdecl.exp
7212 * gdb.cp/nsimport.exp
7213 * gdb.cp/nsnested.exp
7214 * gdb.cp/nsnoimports.exp
7215 * gdb.cp/nsrecurs.exp
7216 * gdb.cp/nsstress.exp
7217 * gdb.cp/nsusing.exp
7218 * gdb.cp/operator.exp
7219 * gdb.cp/oranking.exp
7220 * gdb.cp/overload-const.exp
7221 * gdb.cp/overload.exp
7222 * gdb.cp/ovldbreak.exp
7223 * gdb.cp/ovsrch.exp
7224 * gdb.cp/paren-type.exp
7225 * gdb.cp/parse-lang.exp
7226 * gdb.cp/pass-by-ref.exp
7227 * gdb.cp/pr-1023.exp
7228 * gdb.cp/pr-1210.exp
7229 * gdb.cp/pr-574.exp
7230 * gdb.cp/pr10687.exp
7231 * gdb.cp/pr12028.exp
7232 * gdb.cp/pr17132.exp
7233 * gdb.cp/pr17494.exp
7234 * gdb.cp/pr9067.exp
7235 * gdb.cp/pr9167.exp
7236 * gdb.cp/pr9631.exp
7237 * gdb.cp/printmethod.exp
7238 * gdb.cp/psmang.exp
7239 * gdb.cp/psymtab-parameter.exp
7240 * gdb.cp/ptype-cv-cp.exp
7241 * gdb.cp/ptype-flags.exp
7242 * gdb.cp/re-set-overloaded.exp
7243 * gdb.cp/ref-types.exp
7244 * gdb.cp/rtti.exp
7245 * gdb.cp/scope-err.exp
7246 * gdb.cp/shadow.exp
7247 * gdb.cp/smartp.exp
7248 * gdb.cp/static-method.exp
7249 * gdb.cp/static-print-quit.exp
7250 * gdb.cp/temargs.exp
7251 * gdb.cp/templates.exp
7252 * gdb.cp/try_catch.exp
7253 * gdb.cp/typedef-operator.exp
7254 * gdb.cp/typeid.exp
7255 * gdb.cp/userdef.exp
7256 * gdb.cp/using-crash.exp
7257 * gdb.cp/var-tag.exp
7258 * gdb.cp/virtbase.exp
7259 * gdb.cp/virtfunc.exp
7260 * gdb.cp/virtfunc2.exp
7261 * gdb.cp/vla-cxx.exp
7262 * gdb.disasm/t01_mov.exp
7263 * gdb.disasm/t02_mova.exp
7264 * gdb.disasm/t03_add.exp
7265 * gdb.disasm/t04_sub.exp
7266 * gdb.disasm/t05_cmp.exp
7267 * gdb.disasm/t06_ari2.exp
7268 * gdb.disasm/t07_ari3.exp
7269 * gdb.disasm/t08_or.exp
7270 * gdb.disasm/t09_xor.exp
7271 * gdb.disasm/t10_and.exp
7272 * gdb.disasm/t11_logs.exp
7273 * gdb.disasm/t12_bit.exp
7274 * gdb.disasm/t13_otr.exp
7275 * gdb.dlang/circular.exp
7276 * gdb.dwarf2/arr-stride.exp
7277 * gdb.dwarf2/arr-subrange.exp
7278 * gdb.dwarf2/atomic-type.exp
7279 * gdb.dwarf2/bad-regnum.exp
7280 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7281 * gdb.dwarf2/callframecfa.exp
7282 * gdb.dwarf2/clztest.exp
7283 * gdb.dwarf2/corrupt.exp
7284 * gdb.dwarf2/data-loc.exp
7285 * gdb.dwarf2/dup-psym.exp
7286 * gdb.dwarf2/dw2-anon-mptr.exp
7287 * gdb.dwarf2/dw2-anonymous-func.exp
7288 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7289 * gdb.dwarf2/dw2-bad-unresolved.exp
7290 * gdb.dwarf2/dw2-basic.exp
7291 * gdb.dwarf2/dw2-canonicalize-type.exp
7292 * gdb.dwarf2/dw2-case-insensitive.exp
7293 * gdb.dwarf2/dw2-common-block.exp
7294 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7295 * gdb.dwarf2/dw2-compressed.exp
7296 * gdb.dwarf2/dw2-const.exp
7297 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7298 * gdb.dwarf2/dw2-cu-size.exp
7299 * gdb.dwarf2/dw2-dup-frame.exp
7300 * gdb.dwarf2/dw2-entry-value.exp
7301 * gdb.dwarf2/dw2-icycle.exp
7302 * gdb.dwarf2/dw2-ifort-parameter.exp
7303 * gdb.dwarf2/dw2-inline-break.exp
7304 * gdb.dwarf2/dw2-inline-param.exp
7305 * gdb.dwarf2/dw2-intercu.exp
7306 * gdb.dwarf2/dw2-intermix.exp
7307 * gdb.dwarf2/dw2-lexical-block-bare.exp
7308 * gdb.dwarf2/dw2-linkage-name-trust.exp
7309 * gdb.dwarf2/dw2-minsym-in-cu.exp
7310 * gdb.dwarf2/dw2-noloc.exp
7311 * gdb.dwarf2/dw2-op-call.exp
7312 * gdb.dwarf2/dw2-op-out-param.exp
7313 * gdb.dwarf2/dw2-opt-structptr.exp
7314 * gdb.dwarf2/dw2-param-error.exp
7315 * gdb.dwarf2/dw2-producer.exp
7316 * gdb.dwarf2/dw2-ranges-base.exp
7317 * gdb.dwarf2/dw2-ref-missing-frame.exp
7318 * gdb.dwarf2/dw2-reg-undefined.exp
7319 * gdb.dwarf2/dw2-regno-invalid.exp
7320 * gdb.dwarf2/dw2-restore.exp
7321 * gdb.dwarf2/dw2-restrict.exp
7322 * gdb.dwarf2/dw2-single-line-discriminators.exp
7323 * gdb.dwarf2/dw2-strp.exp
7324 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7325 * gdb.dwarf2/dw2-unresolved.exp
7326 * gdb.dwarf2/dw2-var-zero-addr.exp
7327 * gdb.dwarf2/dw4-sig-types.exp
7328 * gdb.dwarf2/dwz.exp
7329 * gdb.dwarf2/dynarr-ptr.exp
7330 * gdb.dwarf2/enum-type.exp
7331 * gdb.dwarf2/gdb-index.exp
7332 * gdb.dwarf2/implptr-64bit.exp
7333 * gdb.dwarf2/implptr-optimized-out.exp
7334 * gdb.dwarf2/implptr.exp
7335 * gdb.dwarf2/implref-array.exp
7336 * gdb.dwarf2/implref-const.exp
7337 * gdb.dwarf2/implref-global.exp
7338 * gdb.dwarf2/implref-struct.exp
7339 * gdb.dwarf2/mac-fileno.exp
7340 * gdb.dwarf2/main-subprogram.exp
7341 * gdb.dwarf2/member-ptr-forwardref.exp
7342 * gdb.dwarf2/method-ptr.exp
7343 * gdb.dwarf2/missing-sig-type.exp
7344 * gdb.dwarf2/nonvar-access.exp
7345 * gdb.dwarf2/opaque-type-lookup.exp
7346 * gdb.dwarf2/pieces-optimized-out.exp
7347 * gdb.dwarf2/pieces.exp
7348 * gdb.dwarf2/pr10770.exp
7349 * gdb.dwarf2/pr13961.exp
7350 * gdb.dwarf2/staticvirtual.exp
7351 * gdb.dwarf2/subrange.exp
7352 * gdb.dwarf2/symtab-producer.exp
7353 * gdb.dwarf2/trace-crash.exp
7354 * gdb.dwarf2/typeddwarf.exp
7355 * gdb.dwarf2/valop.exp
7356 * gdb.dwarf2/watch-notconst.exp
7357 * gdb.fortran/array-element.exp
7358 * gdb.fortran/charset.exp
7359 * gdb.fortran/common-block.exp
7360 * gdb.fortran/complex.exp
7361 * gdb.fortran/derived-type-function.exp
7362 * gdb.fortran/derived-type.exp
7363 * gdb.fortran/logical.exp
7364 * gdb.fortran/module.exp
7365 * gdb.fortran/multi-dim.exp
7366 * gdb.fortran/nested-funcs.exp
7367 * gdb.fortran/print-formatted.exp
7368 * gdb.fortran/subarray.exp
7369 * gdb.fortran/vla-alloc-assoc.exp
7370 * gdb.fortran/vla-datatypes.exp
7371 * gdb.fortran/vla-history.exp
7372 * gdb.fortran/vla-ptr-info.exp
7373 * gdb.fortran/vla-ptype-sub.exp
7374 * gdb.fortran/vla-ptype.exp
7375 * gdb.fortran/vla-sizeof.exp
7376 * gdb.fortran/vla-type.exp
7377 * gdb.fortran/vla-value-sub-arbitrary.exp
7378 * gdb.fortran/vla-value-sub-finish.exp
7379 * gdb.fortran/vla-value-sub.exp
7380 * gdb.fortran/vla-value.exp
7381 * gdb.fortran/whatis_type.exp
7382 * gdb.go/chan.exp
7383 * gdb.go/handcall.exp
7384 * gdb.go/hello.exp
7385 * gdb.go/integers.exp
7386 * gdb.go/methods.exp
7387 * gdb.go/package.exp
7388 * gdb.go/strings.exp
7389 * gdb.go/types.exp
7390 * gdb.go/unsafe.exp
7391 * gdb.guile/scm-arch.exp
7392 * gdb.guile/scm-block.exp
7393 * gdb.guile/scm-breakpoint.exp
7394 * gdb.guile/scm-cmd.exp
7395 * gdb.guile/scm-disasm.exp
7396 * gdb.guile/scm-equal.exp
7397 * gdb.guile/scm-frame-args.exp
7398 * gdb.guile/scm-frame-inline.exp
7399 * gdb.guile/scm-frame.exp
7400 * gdb.guile/scm-iterator.exp
7401 * gdb.guile/scm-math.exp
7402 * gdb.guile/scm-objfile.exp
7403 * gdb.guile/scm-ports.exp
7404 * gdb.guile/scm-symbol.exp
7405 * gdb.guile/scm-symtab.exp
7406 * gdb.guile/scm-value-cc.exp
7407 * gdb.guile/types-module.exp
7408 * gdb.linespec/break-ask.exp
7409 * gdb.linespec/cpexplicit.exp
7410 * gdb.linespec/explicit.exp
7411 * gdb.linespec/keywords.exp
7412 * gdb.linespec/linespec.exp
7413 * gdb.linespec/ls-dollar.exp
7414 * gdb.linespec/ls-errs.exp
7415 * gdb.linespec/skip-two.exp
7416 * gdb.linespec/thread.exp
7417 * gdb.mi/mi-async.exp
7418 * gdb.mi/mi-basics.exp
7419 * gdb.mi/mi-break.exp
7420 * gdb.mi/mi-catch-load.exp
7421 * gdb.mi/mi-cli.exp
7422 * gdb.mi/mi-cmd-param-changed.exp
7423 * gdb.mi/mi-console.exp
7424 * gdb.mi/mi-detach.exp
7425 * gdb.mi/mi-disassemble.exp
7426 * gdb.mi/mi-eval.exp
7427 * gdb.mi/mi-file-transfer.exp
7428 * gdb.mi/mi-file.exp
7429 * gdb.mi/mi-fill-memory.exp
7430 * gdb.mi/mi-inheritance-syntax-error.exp
7431 * gdb.mi/mi-linespec-err-cp.exp
7432 * gdb.mi/mi-logging.exp
7433 * gdb.mi/mi-memory-changed.exp
7434 * gdb.mi/mi-read-memory.exp
7435 * gdb.mi/mi-record-changed.exp
7436 * gdb.mi/mi-reg-undefined.exp
7437 * gdb.mi/mi-regs.exp
7438 * gdb.mi/mi-return.exp
7439 * gdb.mi/mi-reverse.exp
7440 * gdb.mi/mi-simplerun.exp
7441 * gdb.mi/mi-solib.exp
7442 * gdb.mi/mi-stack.exp
7443 * gdb.mi/mi-stepi.exp
7444 * gdb.mi/mi-syn-frame.exp
7445 * gdb.mi/mi-until.exp
7446 * gdb.mi/mi-var-block.exp
7447 * gdb.mi/mi-var-child.exp
7448 * gdb.mi/mi-var-cmd.exp
7449 * gdb.mi/mi-var-cp.exp
7450 * gdb.mi/mi-var-display.exp
7451 * gdb.mi/mi-var-invalidate.exp
7452 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7453 * gdb.mi/mi-vla-fortran.exp
7454 * gdb.mi/mi-watch.exp
7455 * gdb.mi/mi2-var-child.exp
7456 * gdb.mi/user-selected-context-sync.exp
7457 * gdb.modula2/unbounded-array.exp
7458 * gdb.multi/dummy-frame-restore.exp
7459 * gdb.multi/multi-arch-exec.exp
7460 * gdb.multi/multi-arch.exp
7461 * gdb.multi/tids.exp
7462 * gdb.multi/watchpoint-multi.exp
7463 * gdb.opencl/callfuncs.exp
7464 * gdb.opencl/convs_casts.exp
7465 * gdb.opencl/datatypes.exp
7466 * gdb.opencl/operators.exp
7467 * gdb.opencl/vec_comps.exp
7468 * gdb.opt/clobbered-registers-O2.exp
7469 * gdb.opt/inline-break.exp
7470 * gdb.opt/inline-bt.exp
7471 * gdb.opt/inline-cmds.exp
7472 * gdb.opt/inline-locals.exp
7473 * gdb.pascal/case-insensitive-symbols.exp
7474 * gdb.pascal/floats.exp
7475 * gdb.pascal/gdb11492.exp
7476 * gdb.python/lib-types.exp
7477 * gdb.python/py-arch.exp
7478 * gdb.python/py-as-string.exp
7479 * gdb.python/py-bad-printers.exp
7480 * gdb.python/py-block.exp
7481 * gdb.python/py-breakpoint-create-fail.exp
7482 * gdb.python/py-breakpoint.exp
7483 * gdb.python/py-caller-is.exp
7484 * gdb.python/py-cmd.exp
7485 * gdb.python/py-explore-cc.exp
7486 * gdb.python/py-explore.exp
7487 * gdb.python/py-finish-breakpoint.exp
7488 * gdb.python/py-finish-breakpoint2.exp
7489 * gdb.python/py-frame-args.exp
7490 * gdb.python/py-frame-inline.exp
7491 * gdb.python/py-frame.exp
7492 * gdb.python/py-framefilter-mi.exp
7493 * gdb.python/py-infthread.exp
7494 * gdb.python/py-lazy-string.exp
7495 * gdb.python/py-linetable.exp
7496 * gdb.python/py-mi-events.exp
7497 * gdb.python/py-mi-objfile.exp
7498 * gdb.python/py-mi.exp
7499 * gdb.python/py-objfile.exp
7500 * gdb.python/py-pp-integral.exp
7501 * gdb.python/py-pp-maint.exp
7502 * gdb.python/py-pp-re-notag.exp
7503 * gdb.python/py-pp-registration.exp
7504 * gdb.python/py-recurse-unwind.exp
7505 * gdb.python/py-strfns.exp
7506 * gdb.python/py-symbol.exp
7507 * gdb.python/py-symtab.exp
7508 * gdb.python/py-sync-interp.exp
7509 * gdb.python/py-typeprint.exp
7510 * gdb.python/py-unwind-maint.exp
7511 * gdb.python/py-unwind.exp
7512 * gdb.python/py-value-cc.exp
7513 * gdb.python/py-xmethods.exp
7514 * gdb.reverse/amd64-tailcall-reverse.exp
7515 * gdb.reverse/break-precsave.exp
7516 * gdb.reverse/break-reverse.exp
7517 * gdb.reverse/consecutive-precsave.exp
7518 * gdb.reverse/consecutive-reverse.exp
7519 * gdb.reverse/finish-precsave.exp
7520 * gdb.reverse/finish-reverse-bkpt.exp
7521 * gdb.reverse/finish-reverse.exp
7522 * gdb.reverse/fstatat-reverse.exp
7523 * gdb.reverse/getresuid-reverse.exp
7524 * gdb.reverse/i386-precsave.exp
7525 * gdb.reverse/i386-reverse.exp
7526 * gdb.reverse/i386-sse-reverse.exp
7527 * gdb.reverse/i387-env-reverse.exp
7528 * gdb.reverse/i387-stack-reverse.exp
7529 * gdb.reverse/insn-reverse.exp
7530 * gdb.reverse/machinestate-precsave.exp
7531 * gdb.reverse/machinestate.exp
7532 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7533 * gdb.reverse/pipe-reverse.exp
7534 * gdb.reverse/readv-reverse.exp
7535 * gdb.reverse/recvmsg-reverse.exp
7536 * gdb.reverse/rerun-prec.exp
7537 * gdb.reverse/s390-mvcle.exp
7538 * gdb.reverse/step-precsave.exp
7539 * gdb.reverse/step-reverse.exp
7540 * gdb.reverse/time-reverse.exp
7541 * gdb.reverse/until-precsave.exp
7542 * gdb.reverse/until-reverse.exp
7543 * gdb.reverse/waitpid-reverse.exp
7544 * gdb.reverse/watch-precsave.exp
7545 * gdb.reverse/watch-reverse.exp
7546 * gdb.rust/generics.exp
7547 * gdb.rust/methods.exp
7548 * gdb.rust/modules.exp
7549 * gdb.rust/simple.exp
7550 * gdb.server/connect-with-no-symbol-file.exp
7551 * gdb.server/ext-attach.exp
7552 * gdb.server/ext-restart.exp
7553 * gdb.server/ext-wrapper.exp
7554 * gdb.server/file-transfer.exp
7555 * gdb.server/server-exec-info.exp
7556 * gdb.server/server-kill.exp
7557 * gdb.server/server-mon.exp
7558 * gdb.server/wrapper.exp
7559 * gdb.stabs/exclfwd.exp
7560 * gdb.stabs/gdb11479.exp
7561 * gdb.threads/clone-new-thread-event.exp
7562 * gdb.threads/corethreads.exp
7563 * gdb.threads/current-lwp-dead.exp
7564 * gdb.threads/dlopen-libpthread.exp
7565 * gdb.threads/gcore-thread.exp
7566 * gdb.threads/sigstep-threads.exp
7567 * gdb.threads/watchpoint-fork.exp
7568 * gdb.trace/actions-changed.exp
7569 * gdb.trace/backtrace.exp
7570 * gdb.trace/change-loc.exp
7571 * gdb.trace/circ.exp
7572 * gdb.trace/collection.exp
7573 * gdb.trace/disconnected-tracing.exp
7574 * gdb.trace/ftrace.exp
7575 * gdb.trace/mi-trace-frame-collected.exp
7576 * gdb.trace/mi-trace-unavailable.exp
7577 * gdb.trace/mi-traceframe-changed.exp
7578 * gdb.trace/mi-tsv-changed.exp
7579 * gdb.trace/no-attach-trace.exp
7580 * gdb.trace/passc-dyn.exp
7581 * gdb.trace/qtro.exp
7582 * gdb.trace/range-stepping.exp
7583 * gdb.trace/read-memory.exp
7584 * gdb.trace/save-trace.exp
7585 * gdb.trace/signal.exp
7586 * gdb.trace/status-stop.exp
7587 * gdb.trace/tfile.exp
7588 * gdb.trace/trace-break.exp
7589 * gdb.trace/trace-buffer-size.exp
7590 * gdb.trace/trace-condition.exp
7591 * gdb.trace/tracefile-pseudo-reg.exp
7592 * gdb.trace/tstatus.exp
7593 * gdb.trace/unavailable.exp
7594 * gdb.trace/while-dyn.exp
7595 * gdb.trace/while-stepping.exp
7596
7597 2016-12-22 Doug Evans <xdje42@gmail.com>
7598
7599 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7600 and msymbols.
7601
7602 2016-12-19 Yao Qi <yao.qi@linaro.org>
7603
7604 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7605 (test_with_self): Don't call do_steps_and_nexts, and remove
7606 code about stepping into xmalloc.
7607
7608 2016-12-09 Yao Qi <yao.qi@linaro.org>
7609
7610 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7611
7612 2016-12-09 Yao Qi <yao.qi@linaro.org>
7613
7614 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7615
7616 2016-12-09 Pedro Alves <palves@redhat.com>
7617
7618 * gdb.base/all-architectures-0.exp: New file.
7619 * gdb.base/all-architectures-1.exp: New file.
7620 * gdb.base/all-architectures-2.exp: New file.
7621 * gdb.base/all-architectures-3.exp: New file.
7622 * gdb.base/all-architectures-4.exp: New file.
7623 * gdb.base/all-architectures-5.exp: New file.
7624 * gdb.base/all-architectures-6.exp: New file.
7625 * gdb.base/all-architectures-7.exp: New file.
7626 * gdb.base/all-architectures.exp.in: New file.
7627
7628 2016-12-09 Yao Qi <yao.qi@linaro.org>
7629
7630 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7631
7632 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7633
7634 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7635 possible.
7636 Remove useless pattern-matching code.
7637
7638 2016-12-02 Pedro Alves <palves@redhat.com>
7639
7640 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7641 procedure.
7642 (top level): Call it.
7643
7644 2016-12-02 Pedro Alves <palves@redhat.com>
7645
7646 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7647 New procedure.
7648 (top level): Call it.
7649
7650 2016-12-02 Pedro Alves <palves@redhat.com>
7651
7652 PR cli/20559
7653 * gdb.base/commands.exp (user_defined_command_args_eval): New
7654 procedure.
7655 (top level): Call it.
7656
7657 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7658
7659 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7660 timeout handling.
7661
7662 2016-12-02 Tom Tromey <tom@tromey.com>
7663
7664 * gdb.dwarf2/main-subprogram.c: New file.
7665 * gdb.dwarf2/main-subprogram.exp: New file.
7666
7667 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7668
7669 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7670 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7671 gdb_test_no_output for a couple of cases.
7672 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7673
7674 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7675
7676 Fix test names and standardize compilation error messages throughout
7677 the following files:
7678
7679 * gdb.ada/start.exp
7680 * gdb.arch/alpha-step.exp
7681 * gdb.arch/e500-prologue.exp
7682 * gdb.arch/ftrace-insn-reloc.exp
7683 * gdb.arch/gdb1291.exp
7684 * gdb.arch/gdb1431.exp
7685 * gdb.arch/gdb1558.exp
7686 * gdb.arch/i386-dr3-watch.exp
7687 * gdb.arch/i386-sse-stack-align.exp
7688 * gdb.arch/ia64-breakpoint-shadow.exp
7689 * gdb.arch/pa-nullify.exp
7690 * gdb.arch/powerpc-aix-prologue.exp
7691 * gdb.arch/thumb-bx-pc.exp
7692 * gdb.base/annota1.exp
7693 * gdb.base/annota3.exp
7694 * gdb.base/arrayidx.exp
7695 * gdb.base/assign.exp
7696 * gdb.base/attach.exp
7697 * gdb.base/auxv.exp
7698 * gdb.base/bang.exp
7699 * gdb.base/bfp-test.exp
7700 * gdb.base/bigcore.exp
7701 * gdb.base/bitfields2.exp
7702 * gdb.base/break-fun-addr.exp
7703 * gdb.base/break-probes.exp
7704 * gdb.base/call-rt-st.exp
7705 * gdb.base/callexit.exp
7706 * gdb.base/catch-fork-kill.exp
7707 * gdb.base/charset.exp
7708 * gdb.base/checkpoint.exp
7709 * gdb.base/comprdebug.exp
7710 * gdb.base/constvars.exp
7711 * gdb.base/coredump-filter.exp
7712 * gdb.base/cursal.exp
7713 * gdb.base/cvexpr.exp
7714 * gdb.base/detach.exp
7715 * gdb.base/display.exp
7716 * gdb.base/dmsym.exp
7717 * gdb.base/dprintf-pending.exp
7718 * gdb.base/dso2dso.exp
7719 * gdb.base/dtrace-probe.exp
7720 * gdb.base/dump.exp
7721 * gdb.base/enum_cond.exp
7722 * gdb.base/exe-lock.exp
7723 * gdb.base/exec-invalid-sysroot.exp
7724 * gdb.base/execl-update-breakpoints.exp
7725 * gdb.base/exprs.exp
7726 * gdb.base/fileio.exp
7727 * gdb.base/find.exp
7728 * gdb.base/finish.exp
7729 * gdb.base/fixsection.exp
7730 * gdb.base/foll-vfork.exp
7731 * gdb.base/frame-args.exp
7732 * gdb.base/gcore.exp
7733 * gdb.base/gdb1250.exp
7734 * gdb.base/global-var-nested-by-dso.exp
7735 * gdb.base/gnu-ifunc.exp
7736 * gdb.base/hashline1.exp
7737 * gdb.base/hashline2.exp
7738 * gdb.base/hashline3.exp
7739 * gdb.base/hbreak-in-shr-unsupported.exp
7740 * gdb.base/huge.exp
7741 * gdb.base/infcall-input.exp
7742 * gdb.base/info-fun.exp
7743 * gdb.base/info-shared.exp
7744 * gdb.base/jit-simple.exp
7745 * gdb.base/jit-so.exp
7746 * gdb.base/jit.exp
7747 * gdb.base/jump.exp
7748 * gdb.base/label.exp
7749 * gdb.base/lineinc.exp
7750 * gdb.base/logical.exp
7751 * gdb.base/longjmp.exp
7752 * gdb.base/macscp.exp
7753 * gdb.base/miscexprs.exp
7754 * gdb.base/new-ui-echo.exp
7755 * gdb.base/new-ui-pending-input.exp
7756 * gdb.base/new-ui.exp
7757 * gdb.base/nodebug.exp
7758 * gdb.base/nofield.exp
7759 * gdb.base/offsets.exp
7760 * gdb.base/overlays.exp
7761 * gdb.base/pending.exp
7762 * gdb.base/pointers.exp
7763 * gdb.base/pr11022.exp
7764 * gdb.base/printcmds.exp
7765 * gdb.base/prologue.exp
7766 * gdb.base/ptr-typedef.exp
7767 * gdb.base/realname-expand.exp
7768 * gdb.base/relativedebug.exp
7769 * gdb.base/relocate.exp
7770 * gdb.base/remote.exp
7771 * gdb.base/reread.exp
7772 * gdb.base/return2.exp
7773 * gdb.base/savedregs.exp
7774 * gdb.base/sep.exp
7775 * gdb.base/sepdebug.exp
7776 * gdb.base/sepsymtab.exp
7777 * gdb.base/set-inferior-tty.exp
7778 * gdb.base/setshow.exp
7779 * gdb.base/shlib-call.exp
7780 * gdb.base/sigaltstack.exp
7781 * gdb.base/siginfo-addr.exp
7782 * gdb.base/signals.exp
7783 * gdb.base/signull.exp
7784 * gdb.base/sigrepeat.exp
7785 * gdb.base/so-impl-ld.exp
7786 * gdb.base/solib-display.exp
7787 * gdb.base/solib-overlap.exp
7788 * gdb.base/solib-search.exp
7789 * gdb.base/solib-symbol.exp
7790 * gdb.base/structs.exp
7791 * gdb.base/structs2.exp
7792 * gdb.base/symtab-search-order.exp
7793 * gdb.base/twice.exp
7794 * gdb.base/unload.exp
7795 * gdb.base/varargs.exp
7796 * gdb.base/watchpoint-solib.exp
7797 * gdb.base/watchpoint.exp
7798 * gdb.base/whatis.exp
7799 * gdb.base/wrong_frame_bt_full.exp
7800 * gdb.btrace/dlopen.exp
7801 * gdb.cell/ea-standalone.exp
7802 * gdb.cell/ea-test.exp
7803 * gdb.cp/dispcxx.exp
7804 * gdb.cp/gdb2384.exp
7805 * gdb.cp/method2.exp
7806 * gdb.cp/nextoverthrow.exp
7807 * gdb.cp/pr10728.exp
7808 * gdb.disasm/am33.exp
7809 * gdb.disasm/h8300s.exp
7810 * gdb.disasm/mn10300.exp
7811 * gdb.disasm/sh3.exp
7812 * gdb.dwarf2/dw2-dir-file-name.exp
7813 * gdb.fortran/complex.exp
7814 * gdb.fortran/library-module.exp
7815 * gdb.guile/scm-pretty-print.exp
7816 * gdb.guile/scm-symbol.exp
7817 * gdb.guile/scm-type.exp
7818 * gdb.guile/scm-value.exp
7819 * gdb.linespec/linespec.exp
7820 * gdb.mi/gdb701.exp
7821 * gdb.mi/gdb792.exp
7822 * gdb.mi/mi-breakpoint-changed.exp
7823 * gdb.mi/mi-dprintf-pending.exp
7824 * gdb.mi/mi-dprintf.exp
7825 * gdb.mi/mi-exit-code.exp
7826 * gdb.mi/mi-pending.exp
7827 * gdb.mi/mi-solib.exp
7828 * gdb.mi/new-ui-mi-sync.exp
7829 * gdb.mi/pr11022.exp
7830 * gdb.mi/user-selected-context-sync.exp
7831 * gdb.opt/solib-intra-step.exp
7832 * gdb.python/py-events.exp
7833 * gdb.python/py-finish-breakpoint.exp
7834 * gdb.python/py-mi.exp
7835 * gdb.python/py-prettyprint.exp
7836 * gdb.python/py-shared.exp
7837 * gdb.python/py-symbol.exp
7838 * gdb.python/py-template.exp
7839 * gdb.python/py-type.exp
7840 * gdb.python/py-value.exp
7841 * gdb.reverse/solib-precsave.exp
7842 * gdb.reverse/solib-reverse.exp
7843 * gdb.server/solib-list.exp
7844 * gdb.stabs/weird.exp
7845 * gdb.threads/reconnect-signal.exp
7846 * gdb.threads/stepi-random-signal.exp
7847 * gdb.trace/actions.exp
7848 * gdb.trace/ax.exp
7849 * gdb.trace/backtrace.exp
7850 * gdb.trace/change-loc.exp
7851 * gdb.trace/deltrace.exp
7852 * gdb.trace/ftrace-lock.exp
7853 * gdb.trace/ftrace.exp
7854 * gdb.trace/infotrace.exp
7855 * gdb.trace/mi-tracepoint-changed.exp
7856 * gdb.trace/packetlen.exp
7857 * gdb.trace/passcount.exp
7858 * gdb.trace/pending.exp
7859 * gdb.trace/range-stepping.exp
7860 * gdb.trace/report.exp
7861 * gdb.trace/stap-trace.exp
7862 * gdb.trace/tfind.exp
7863 * gdb.trace/trace-break.exp
7864 * gdb.trace/trace-condition.exp
7865 * gdb.trace/trace-enable-disable.exp
7866 * gdb.trace/trace-mt.exp
7867 * gdb.trace/tracecmd.exp
7868 * gdb.trace/tspeed.exp
7869 * gdb.trace/tsv.exp
7870 * lib/perftest.exp
7871
7872 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7873
7874 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7875 with gdb_test_no_output.
7876 Use command as test name.
7877
7878 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7879
7880 Fix test names starting with uppercase throughout the files.
7881
7882 * gdb.ada/assign_1.exp
7883 * gdb.ada/boolean_expr.exp
7884 * gdb.base/arrayidx.exp
7885 * gdb.base/del.exp
7886 * gdb.base/gcore-buffer-overflow.exp
7887 * gdb.base/testenv.exp
7888 * gdb.compile/compile.exp
7889 * gdb.python/py-framefilter-invalidarg.exp
7890 * gdb.python/py-framefilter.exp
7891
7892 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7893
7894 Fix test names starting with uppercase throughout the files.
7895
7896 * gdb.ada/array_return.exp
7897 * gdb.ada/expr_delims.exp
7898 * gdb.ada/mi_dyn_arr.exp
7899 * gdb.ada/mi_interface.exp
7900 * gdb.ada/mi_var_array.exp
7901 * gdb.ada/watch_arg.exp
7902 * gdb.arch/alpha-step.exp
7903 * gdb.arch/altivec-regs.exp
7904 * gdb.arch/e500-regs.exp
7905 * gdb.arch/powerpc-d128-regs.exp
7906 * gdb.base/arrayidx.exp
7907 * gdb.base/break.exp
7908 * gdb.base/checkpoint.exp
7909 * gdb.base/debug-expr.exp
7910 * gdb.base/dmsym.exp
7911 * gdb.base/radix.exp
7912 * gdb.base/sepdebug.exp
7913 * gdb.base/testenv.exp
7914 * gdb.base/watch_thread_num.exp
7915 * gdb.base/watchpoint-cond-gone.exp
7916 * gdb.cell/break.exp
7917 * gdb.cell/ea-cache.exp
7918 * gdb.compile/compile.exp
7919 * gdb.cp/gdb2495.exp
7920 * gdb.gdb/selftest.exp
7921 * gdb.gdb/xfullpath.exp
7922 * gdb.go/hello.exp
7923 * gdb.go/integers.exp
7924 * gdb.objc/basicclass.exp
7925 * gdb.pascal/hello.exp
7926 * gdb.pascal/integers.exp
7927 * gdb.python/py-breakpoint.exp
7928 * gdb.python/py-cmd.exp
7929 * gdb.python/py-linetable.exp
7930 * gdb.python/py-xmethods.exp
7931 * gdb.python/python.exp
7932 * gdb.reverse/consecutive-precsave.exp
7933 * gdb.reverse/finish-precsave.exp
7934 * gdb.reverse/i386-precsave.exp
7935 * gdb.reverse/machinestate-precsave.exp
7936 * gdb.reverse/sigall-precsave.exp
7937 * gdb.reverse/solib-precsave.exp
7938 * gdb.reverse/step-precsave.exp
7939 * gdb.reverse/until-precsave.exp
7940 * gdb.reverse/watch-precsave.exp
7941 * gdb.threads/leader-exit.exp
7942 * gdb.threads/pthreads.exp
7943 * gdb.threads/wp-replication.exp
7944 * gdb.trace/actions.exp
7945 * gdb.trace/mi-tsv-changed.exp
7946 * gdb.trace/tsv.exp
7947
7948 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7949
7950 Fix test names starting with uppercase throughout the files.
7951
7952 * gdb.arch/i386-bp_permanent.exp
7953 * gdb.arch/i386-gnu-cfi.exp
7954 * gdb.base/disasm-end-cu.exp
7955 * gdb.base/macscp.exp
7956 * gdb.base/pending.exp
7957 * gdb.base/watch_thread_num.exp
7958 * gdb.cp/exception.exp
7959 * gdb.cp/gdb2495.exp
7960 * gdb.cp/local.exp
7961 * gdb.python/py-evsignal.exp
7962 * gdb.python/python.exp
7963 * gdb.trace/tracecmd.exp
7964
7965 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7966
7967 Fix test names starting with uppercase throughout the files.
7968
7969 * gdb.base/charset.exp
7970 * gdb.base/eval.exp
7971 * gdb.base/multi-forks.exp
7972 * gdb.guile/scm-progspace.exp
7973 * gdb.opencl/datatypes.exp
7974 * gdb.python/py-block.exp
7975 * gdb.python/py-function.exp
7976 * gdb.python/py-symbol.exp
7977 * gdb.python/py-symtab.exp
7978 * gdb.python/py-xmethods.exp
7979 * gdb.reverse/break-precsave.exp
7980 * gdb.reverse/break-reverse.exp
7981 * gdb.reverse/consecutive-precsave.exp
7982 * gdb.reverse/consecutive-reverse.exp
7983 * gdb.reverse/finish-precsave.exp
7984 * gdb.reverse/finish-reverse-bkpt.exp
7985 * gdb.reverse/finish-reverse.exp
7986 * gdb.reverse/fstatat-reverse.exp
7987 * gdb.reverse/getresuid-reverse.exp
7988 * gdb.reverse/i386-precsave.exp
7989 * gdb.reverse/i386-reverse.exp
7990 * gdb.reverse/i386-sse-reverse.exp
7991 * gdb.reverse/i387-stack-reverse.exp
7992 * gdb.reverse/insn-reverse.exp
7993 * gdb.reverse/machinestate-precsave.exp
7994 * gdb.reverse/machinestate.exp
7995 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7996 * gdb.reverse/pipe-reverse.exp
7997 * gdb.reverse/readv-reverse.exp
7998 * gdb.reverse/recvmsg-reverse.exp
7999 * gdb.reverse/rerun-prec.exp
8000 * gdb.reverse/s390-mvcle.exp
8001 * gdb.reverse/sigall-precsave.exp
8002 * gdb.reverse/sigall-reverse.exp
8003 * gdb.reverse/solib-precsave.exp
8004 * gdb.reverse/solib-reverse.exp
8005 * gdb.reverse/step-precsave.exp
8006 * gdb.reverse/step-reverse.exp
8007 * gdb.reverse/time-reverse.exp
8008 * gdb.reverse/until-precsave.exp
8009 * gdb.reverse/until-reverse.exp
8010 * gdb.reverse/waitpid-reverse.exp
8011 * gdb.reverse/watch-precsave.exp
8012 * gdb.reverse/watch-reverse.exp
8013
8014 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8015
8016 Fix test names starting with uppercase throughout the files.
8017
8018 * gdb.arch/i386-mpx-simple_segv.exp
8019 * gdb.arch/i386-mpx.exp
8020 * gdb.arch/i386-permbkpt.exp
8021 * gdb.arch/pa-nullify.exp
8022 * gdb.arch/powerpc-d128-regs.exp
8023 * gdb.arch/vsx-regs.exp
8024 * gdb.base/bfp-test.exp
8025 * gdb.base/break.exp
8026 * gdb.base/breakpoint-shadow.exp
8027 * gdb.base/callfuncs.exp
8028 * gdb.base/charset.exp
8029 * gdb.base/commands.exp
8030 * gdb.base/completion.exp
8031 * gdb.base/dfp-test.exp
8032 * gdb.base/echo.exp
8033 * gdb.base/ending-run.exp
8034 * gdb.base/eval.exp
8035 * gdb.base/expand-psymtabs.exp
8036 * gdb.base/float128.exp
8037 * gdb.base/floatn.exp
8038 * gdb.base/foll-exec-mode.exp
8039 * gdb.base/gdb1056.exp
8040 * gdb.base/gdb11531.exp
8041 * gdb.base/kill-after-signal.exp
8042 * gdb.base/multi-forks.exp
8043 * gdb.base/overlays.exp
8044 * gdb.base/pending.exp
8045 * gdb.base/sepdebug.exp
8046 * gdb.base/testenv.exp
8047 * gdb.base/valgrind-db-attach.exp
8048 * gdb.base/watch_thread_num.exp
8049 * gdb.base/watchpoint-cond-gone.exp
8050 * gdb.base/watchpoint.exp
8051 * gdb.base/watchpoints.exp
8052 * gdb.cp/arg-reference.exp
8053 * gdb.cp/baseenum.exp
8054 * gdb.cp/operator.exp
8055 * gdb.cp/shadow.exp
8056 * gdb.dwarf2/dw2-op-out-param.exp
8057 * gdb.dwarf2/dw2-reg-undefined.exp
8058 * gdb.go/chan.exp
8059 * gdb.go/hello.exp
8060 * gdb.go/integers.exp
8061 * gdb.go/methods.exp
8062 * gdb.go/package.exp
8063 * gdb.guile/scm-parameter.exp
8064 * gdb.guile/scm-progspace.exp
8065 * gdb.guile/scm-value.exp
8066 * gdb.mi/mi-pending.exp
8067 * gdb.mi/user-selected-context-sync.exp
8068 * gdb.multi/multi-attach.exp
8069 * gdb.multi/tids.exp
8070 * gdb.opt/clobbered-registers-O2.exp
8071 * gdb.pascal/floats.exp
8072 * gdb.pascal/integers.exp
8073 * gdb.python/py-block.exp
8074 * gdb.python/py-events.exp
8075 * gdb.python/py-parameter.exp
8076 * gdb.python/py-symbol.exp
8077 * gdb.python/py-symtab.exp
8078 * gdb.python/py-type.exp
8079 * gdb.python/py-value.exp
8080 * gdb.python/py-xmethods.exp
8081 * gdb.python/python.exp
8082 * gdb.reverse/break-precsave.exp
8083 * gdb.reverse/consecutive-precsave.exp
8084 * gdb.reverse/finish-precsave.exp
8085 * gdb.reverse/i386-precsave.exp
8086 * gdb.reverse/machinestate-precsave.exp
8087 * gdb.reverse/sigall-precsave.exp
8088 * gdb.reverse/solib-precsave.exp
8089 * gdb.reverse/step-precsave.exp
8090 * gdb.reverse/until-precsave.exp
8091 * gdb.reverse/watch-precsave.exp
8092 * gdb.server/ext-attach.exp
8093 * gdb.server/ext-restart.exp
8094 * gdb.server/ext-run.exp
8095 * gdb.server/ext-wrapper.exp
8096 * gdb.stabs/gdb11479.exp
8097 * gdb.stabs/weird.exp
8098 * gdb.threads/attach-many-short-lived-threads.exp
8099 * gdb.threads/kill.exp
8100 * gdb.threads/watchpoint-fork.exp
8101
8102 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8103
8104 Fix test names starting with uppercase throughout all the files below.
8105
8106 * gdb.ada/array_return.exp
8107 * gdb.ada/catch_ex.exp
8108 * gdb.ada/info_exc.exp
8109 * gdb.ada/mi_catch_ex.exp
8110 * gdb.ada/mi_dyn_arr.exp
8111 * gdb.ada/mi_ex_cond.exp
8112 * gdb.ada/mi_exc_info.exp
8113 * gdb.ada/mi_interface.exp
8114 * gdb.ada/mi_task_arg.exp
8115 * gdb.ada/mi_task_info.exp
8116 * gdb.ada/mi_var_array.exp
8117 * gdb.arch/alpha-step.exp
8118 * gdb.arch/amd64-disp-step.exp
8119 * gdb.arch/arm-disp-step.exp
8120 * gdb.arch/disp-step-insn-reloc.exp
8121 * gdb.arch/e500-prologue.exp
8122 * gdb.arch/ftrace-insn-reloc.exp
8123 * gdb.arch/gdb1558.exp
8124 * gdb.arch/i386-bp_permanent.exp
8125 * gdb.arch/i386-disp-step.exp
8126 * gdb.arch/i386-float.exp
8127 * gdb.arch/i386-gnu-cfi.exp
8128 * gdb.arch/ia64-breakpoint-shadow.exp
8129 * gdb.arch/mips16-thunks.exp
8130 * gdb.arch/pa-nullify.exp
8131 * gdb.arch/powerpc-aix-prologue.exp
8132 * gdb.arch/powerpc-power.exp
8133 * gdb.arch/ppc-dfp.exp
8134 * gdb.arch/s390-tdbregs.exp
8135 * gdb.arch/spu-info.exp
8136 * gdb.arch/spu-ls.exp
8137 * gdb.arch/thumb-bx-pc.exp
8138 * gdb.base/advance.exp
8139 * gdb.base/annota-input-while-running.exp
8140 * gdb.base/arrayidx.exp
8141 * gdb.base/asmlabel.exp
8142 * gdb.base/async.exp
8143 * gdb.base/attach-wait-input.exp
8144 * gdb.base/auto-connect-native-target.exp
8145 * gdb.base/batch-preserve-term-settings.exp
8146 * gdb.base/bfp-test.exp
8147 * gdb.base/bigcore.exp
8148 * gdb.base/bp-permanent.exp
8149 * gdb.base/break-always.exp
8150 * gdb.base/break-fun-addr.exp
8151 * gdb.base/break-idempotent.exp
8152 * gdb.base/break-main-file-remove-fail.exp
8153 * gdb.base/break-probes.exp
8154 * gdb.base/break-unload-file.exp
8155 * gdb.base/break.exp
8156 * gdb.base/call-ar-st.exp
8157 * gdb.base/call-rt-st.exp
8158 * gdb.base/call-sc.exp
8159 * gdb.base/call-signal-resume.exp
8160 * gdb.base/call-strs.exp
8161 * gdb.base/callexit.exp
8162 * gdb.base/callfuncs.exp
8163 * gdb.base/catch-gdb-caused-signals.exp
8164 * gdb.base/catch-signal-siginfo-cond.exp
8165 * gdb.base/catch-syscall.exp
8166 * gdb.base/compare-sections.exp
8167 * gdb.base/cond-eval-mode.exp
8168 * gdb.base/condbreak-call-false.exp
8169 * gdb.base/consecutive-step-over.exp
8170 * gdb.base/cursal.exp
8171 * gdb.base/disabled-location.exp
8172 * gdb.base/disasm-end-cu.exp
8173 * gdb.base/display.exp
8174 * gdb.base/double-prompt-target-event-error.exp
8175 * gdb.base/dprintf-bp-same-addr.exp
8176 * gdb.base/dprintf-detach.exp
8177 * gdb.base/dprintf-next.exp
8178 * gdb.base/dprintf-non-stop.exp
8179 * gdb.base/dprintf-pending.exp
8180 * gdb.base/dso2dso.exp
8181 * gdb.base/ending-run.exp
8182 * gdb.base/enum_cond.exp
8183 * gdb.base/examine-backward.exp
8184 * gdb.base/exe-lock.exp
8185 * gdb.base/exec-invalid-sysroot.exp
8186 * gdb.base/execl-update-breakpoints.exp
8187 * gdb.base/execution-termios.exp
8188 * gdb.base/fileio.exp
8189 * gdb.base/fixsection.exp
8190 * gdb.base/foll-exec-mode.exp
8191 * gdb.base/foll-exec.exp
8192 * gdb.base/fork-running-state.exp
8193 * gdb.base/frame-args.exp
8194 * gdb.base/fullpath-expand.exp
8195 * gdb.base/func-ptr.exp
8196 * gdb.base/gcore-relro-pie.exp
8197 * gdb.base/gdb1090.exp
8198 * gdb.base/gdb1555.exp
8199 * gdb.base/global-var-nested-by-dso.exp
8200 * gdb.base/gnu-ifunc.exp
8201 * gdb.base/hbreak-in-shr-unsupported.exp
8202 * gdb.base/hbreak-unmapped.exp
8203 * gdb.base/hook-stop.exp
8204 * gdb.base/infcall-input.exp
8205 * gdb.base/info-fun.exp
8206 * gdb.base/info-shared.exp
8207 * gdb.base/interrupt-noterm.exp
8208 * gdb.base/jit-so.exp
8209 * gdb.base/jit.exp
8210 * gdb.base/line-symtabs.exp
8211 * gdb.base/list.exp
8212 * gdb.base/longjmp.exp
8213 * gdb.base/macscp.exp
8214 * gdb.base/max-value-size.exp
8215 * gdb.base/nodebug.exp
8216 * gdb.base/nofield.exp
8217 * gdb.base/overlays.exp
8218 * gdb.base/paginate-after-ctrl-c-running.exp
8219 * gdb.base/paginate-bg-execution.exp
8220 * gdb.base/paginate-inferior-exit.exp
8221 * gdb.base/pending.exp
8222 * gdb.base/pr11022.exp
8223 * gdb.base/printcmds.exp
8224 * gdb.base/ptr-typedef.exp
8225 * gdb.base/ptype.exp
8226 * gdb.base/randomize.exp
8227 * gdb.base/range-stepping.exp
8228 * gdb.base/realname-expand.exp
8229 * gdb.base/relativedebug.exp
8230 * gdb.base/remote.exp
8231 * gdb.base/savedregs.exp
8232 * gdb.base/sepdebug.exp
8233 * gdb.base/set-noassign.exp
8234 * gdb.base/shlib-call.exp
8235 * gdb.base/shreloc.exp
8236 * gdb.base/sigaltstack.exp
8237 * gdb.base/sigbpt.exp
8238 * gdb.base/siginfo-addr.exp
8239 * gdb.base/siginfo-obj.exp
8240 * gdb.base/siginfo-thread.exp
8241 * gdb.base/signest.exp
8242 * gdb.base/signull.exp
8243 * gdb.base/sigrepeat.exp
8244 * gdb.base/skip.exp
8245 * gdb.base/so-impl-ld.exp
8246 * gdb.base/solib-corrupted.exp
8247 * gdb.base/solib-disc.exp
8248 * gdb.base/solib-display.exp
8249 * gdb.base/solib-overlap.exp
8250 * gdb.base/solib-search.exp
8251 * gdb.base/solib-symbol.exp
8252 * gdb.base/source-execution.exp
8253 * gdb.base/sss-bp-on-user-bp-2.exp
8254 * gdb.base/sss-bp-on-user-bp.exp
8255 * gdb.base/stack-checking.exp
8256 * gdb.base/stale-infcall.exp
8257 * gdb.base/step-break.exp
8258 * gdb.base/step-line.exp
8259 * gdb.base/step-over-exit.exp
8260 * gdb.base/step-test.exp
8261 * gdb.base/structs.exp
8262 * gdb.base/sym-file.exp
8263 * gdb.base/symtab-search-order.exp
8264 * gdb.base/term.exp
8265 * gdb.base/type-opaque.exp
8266 * gdb.base/unload.exp
8267 * gdb.base/until-nodebug.exp
8268 * gdb.base/until.exp
8269 * gdb.base/unwindonsignal.exp
8270 * gdb.base/watch-cond.exp
8271 * gdb.base/watch-non-mem.exp
8272 * gdb.base/watch_thread_num.exp
8273 * gdb.base/watchpoint-reuse-slot.exp
8274 * gdb.base/watchpoint-solib.exp
8275 * gdb.base/watchpoint.exp
8276 * gdb.btrace/dlopen.exp
8277 * gdb.cell/arch.exp
8278 * gdb.cell/break.exp
8279 * gdb.cell/bt.exp
8280 * gdb.cell/core.exp
8281 * gdb.cell/data.exp
8282 * gdb.cell/dwarfaddr.exp
8283 * gdb.cell/ea-cache.exp
8284 * gdb.cell/ea-standalone.exp
8285 * gdb.cell/ea-test.exp
8286 * gdb.cell/f-regs.exp
8287 * gdb.cell/fork.exp
8288 * gdb.cell/gcore.exp
8289 * gdb.cell/mem-access.exp
8290 * gdb.cell/ptype.exp
8291 * gdb.cell/registers.exp
8292 * gdb.cell/sizeof.exp
8293 * gdb.cell/solib-symbol.exp
8294 * gdb.cell/solib.exp
8295 * gdb.compile/compile-tls.exp
8296 * gdb.cp/exception.exp
8297 * gdb.cp/gdb2495.exp
8298 * gdb.cp/local.exp
8299 * gdb.cp/mb-inline.exp
8300 * gdb.cp/mb-templates.exp
8301 * gdb.cp/pr10687.exp
8302 * gdb.cp/pr9167.exp
8303 * gdb.cp/scope-err.exp
8304 * gdb.cp/templates.exp
8305 * gdb.cp/virtfunc.exp
8306 * gdb.dwarf2/dw2-dir-file-name.exp
8307 * gdb.dwarf2/dw2-single-line-discriminators.exp
8308 * gdb.fortran/complex.exp
8309 * gdb.fortran/library-module.exp
8310 * gdb.guile/guile.exp
8311 * gdb.guile/scm-cmd.exp
8312 * gdb.guile/scm-frame-inline.exp
8313 * gdb.guile/scm-objfile.exp
8314 * gdb.guile/scm-pretty-print.exp
8315 * gdb.guile/scm-symbol.exp
8316 * gdb.guile/scm-type.exp
8317 * gdb.guile/scm-value.exp
8318 * gdb.linespec/keywords.exp
8319 * gdb.linespec/ls-errs.exp
8320 * gdb.linespec/macro-relative.exp
8321 * gdb.linespec/thread.exp
8322 * gdb.mi/mi-breakpoint-changed.exp
8323 * gdb.mi/mi-dprintf-pending.exp
8324 * gdb.mi/mi-fullname-deleted.exp
8325 * gdb.mi/mi-logging.exp
8326 * gdb.mi/mi-pending.exp
8327 * gdb.mi/mi-solib.exp
8328 * gdb.mi/new-ui-mi-sync.exp
8329 * gdb.mi/user-selected-context-sync.exp
8330 * gdb.multi/dummy-frame-restore.exp
8331 * gdb.multi/multi-arch-exec.exp
8332 * gdb.multi/remove-inferiors.exp
8333 * gdb.multi/watchpoint-multi-exit.exp
8334 * gdb.opt/solib-intra-step.exp
8335 * gdb.perf/backtrace.exp
8336 * gdb.perf/single-step.exp
8337 * gdb.perf/skip-command.exp
8338 * gdb.perf/skip-prologue.exp
8339 * gdb.perf/solib.exp
8340 * gdb.python/lib-types.exp
8341 * gdb.python/py-as-string.exp
8342 * gdb.python/py-bad-printers.exp
8343 * gdb.python/py-block.exp
8344 * gdb.python/py-breakpoint.exp
8345 * gdb.python/py-cmd.exp
8346 * gdb.python/py-events.exp
8347 * gdb.python/py-evthreads.exp
8348 * gdb.python/py-finish-breakpoint.exp
8349 * gdb.python/py-finish-breakpoint2.exp
8350 * gdb.python/py-frame-inline.exp
8351 * gdb.python/py-frame.exp
8352 * gdb.python/py-inferior.exp
8353 * gdb.python/py-infthread.exp
8354 * gdb.python/py-mi.exp
8355 * gdb.python/py-objfile.exp
8356 * gdb.python/py-pp-maint.exp
8357 * gdb.python/py-pp-registration.exp
8358 * gdb.python/py-prettyprint.exp
8359 * gdb.python/py-recurse-unwind.exp
8360 * gdb.python/py-shared.exp
8361 * gdb.python/py-symbol.exp
8362 * gdb.python/py-symtab.exp
8363 * gdb.python/py-template.exp
8364 * gdb.python/py-type.exp
8365 * gdb.python/py-unwind-maint.exp
8366 * gdb.python/py-unwind.exp
8367 * gdb.python/py-value.exp
8368 * gdb.python/python.exp
8369 * gdb.reverse/finish-reverse-bkpt.exp
8370 * gdb.reverse/insn-reverse.exp
8371 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8372 * gdb.reverse/solib-precsave.exp
8373 * gdb.reverse/solib-reverse.exp
8374 * gdb.stabs/gdb11479.exp
8375 * gdb.stabs/weird.exp
8376 * gdb.threads/fork-child-threads.exp
8377 * gdb.threads/fork-plus-threads.exp
8378 * gdb.threads/fork-thread-pending.exp
8379 * gdb.threads/forking-threads-plus-breakpoint.exp
8380 * gdb.threads/hand-call-in-threads.exp
8381 * gdb.threads/interrupted-hand-call.exp
8382 * gdb.threads/linux-dp.exp
8383 * gdb.threads/local-watch-wrong-thread.exp
8384 * gdb.threads/next-while-other-thread-longjmps.exp
8385 * gdb.threads/non-ldr-exit.exp
8386 * gdb.threads/pending-step.exp
8387 * gdb.threads/print-threads.exp
8388 * gdb.threads/process-dies-while-detaching.exp
8389 * gdb.threads/process-dies-while-handling-bp.exp
8390 * gdb.threads/pthreads.exp
8391 * gdb.threads/queue-signal.exp
8392 * gdb.threads/reconnect-signal.exp
8393 * gdb.threads/signal-command-handle-nopass.exp
8394 * gdb.threads/signal-command-multiple-signals-pending.exp
8395 * gdb.threads/signal-delivered-right-thread.exp
8396 * gdb.threads/signal-sigtrap.exp
8397 * gdb.threads/sigthread.exp
8398 * gdb.threads/staticthreads.exp
8399 * gdb.threads/stepi-random-signal.exp
8400 * gdb.threads/thread-unwindonsignal.exp
8401 * gdb.threads/thread_check.exp
8402 * gdb.threads/thread_events.exp
8403 * gdb.threads/tid-reuse.exp
8404 * gdb.threads/tls-nodebug.exp
8405 * gdb.threads/tls-shared.exp
8406 * gdb.threads/tls-so_extern.exp
8407 * gdb.threads/tls.exp
8408 * gdb.threads/wp-replication.exp
8409 * gdb.trace/actions-changed.exp
8410 * gdb.trace/actions.exp
8411 * gdb.trace/backtrace.exp
8412 * gdb.trace/change-loc.exp
8413 * gdb.trace/collection.exp
8414 * gdb.trace/deltrace.exp
8415 * gdb.trace/disconnected-tracing.exp
8416 * gdb.trace/entry-values.exp
8417 * gdb.trace/ftrace-lock.exp
8418 * gdb.trace/ftrace.exp
8419 * gdb.trace/infotrace.exp
8420 * gdb.trace/mi-trace-frame-collected.exp
8421 * gdb.trace/mi-trace-unavailable.exp
8422 * gdb.trace/mi-traceframe-changed.exp
8423 * gdb.trace/mi-tracepoint-changed.exp
8424 * gdb.trace/mi-tsv-changed.exp
8425 * gdb.trace/no-attach-trace.exp
8426 * gdb.trace/packetlen.exp
8427 * gdb.trace/passc-dyn.exp
8428 * gdb.trace/passcount.exp
8429 * gdb.trace/pending.exp
8430 * gdb.trace/pr16508.exp
8431 * gdb.trace/qtro.exp
8432 * gdb.trace/range-stepping.exp
8433 * gdb.trace/read-memory.exp
8434 * gdb.trace/report.exp
8435 * gdb.trace/save-trace.exp
8436 * gdb.trace/signal.exp
8437 * gdb.trace/stap-trace.exp
8438 * gdb.trace/status-stop.exp
8439 * gdb.trace/strace.exp
8440 * gdb.trace/tfile.exp
8441 * gdb.trace/tfind.exp
8442 * gdb.trace/trace-break.exp
8443 * gdb.trace/trace-condition.exp
8444 * gdb.trace/trace-enable-disable.exp
8445 * gdb.trace/trace-mt.exp
8446 * gdb.trace/tracecmd.exp
8447 * gdb.trace/tracefile-pseudo-reg.exp
8448 * gdb.trace/tspeed.exp
8449 * gdb.trace/tstatus.exp
8450 * gdb.trace/tsv.exp
8451 * gdb.trace/unavailable.exp
8452 * gdb.trace/while-dyn.exp
8453 * gdb.trace/while-stepping.exp
8454 * lib/gdb-guile.exp
8455 * lib/gdb.exp
8456 * lib/mi-support.exp
8457 * lib/pascal.exp
8458 * lib/perftest.exp
8459 * lib/prelink-support.exp
8460 * lib/selftest-support.exp
8461
8462 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8463
8464 * Makefile.in: Include disable-implicit-rules.mk.
8465
8466 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8467
8468 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8469 non-byte-aligned bit fields.
8470
8471 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8472
8473 PR gdb/12616
8474 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8475 respects the DW_AT_data_bit_offset attribute.
8476
8477 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8478
8479 * gdb.base/default.exp: Fix output of "set language".
8480
8481 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8482
8483 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8484 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8485 make.
8486 * configure.ac: Remove checks for the make program.
8487 * configure: Re-generate.
8488
8489 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8490
8491 * gdb.python/py-recurse-unwind.c (main): Add loop.
8492 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8493 to read_register() and gdb.parse_and_eval(). Make each code
8494 call a separate case that can be individually tested.
8495 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8496 proc. Call cont_and_backtrace for each of the code paths that
8497 we want to test in the unwinder.
8498
8499 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8500
8501 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8502 the definition of struct S.
8503
8504 2016-11-11 Catherine Moore <clm@codesourcery.com>
8505
8506 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8507
8508 2016-11-09 Pedro Alves <palves@redhat.com>
8509
8510 * gdb.base/commands.exp (runto_or_return): New procedure.
8511 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8512 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8513 (progvar_simple_while_test, progvar_complex_if_while_test)
8514 (if_while_breakpoint_command_test)
8515 (infrun_breakpoint_command_test, breakpoint_command_test)
8516 (user_defined_command_test, watchpoint_command_test)
8517 (test_command_prompt_position, redefine_hook_test)
8518 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8519 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8520 multi_line_input and multi_line. Remove gdb_expect and
8521 gdb_stop_suppressing_tests uses.
8522 * lib/gdb.exp (valnum_re): New global.
8523 (multi_line_input): New procedure.
8524
8525 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8526
8527 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8528 Remove.
8529 (test_setup): Define with proc_with_prefix.
8530 (test_cli_inferior): Likewise.
8531 (test_cli_thread): Likewise.
8532 (test_cli_frame): Likewise.
8533 (test_cli_select_frame): Likewise.
8534 (test_cli_up_down): Likewise.
8535 (test_mi_thread_select): Likewise.
8536 (test_mi_stack_select_frame): Likewise.
8537 (test_cli_in_mi_inferior): Likewise.
8538 (test_cli_in_mi_thread): Likewise.
8539 (test_cli_in_mi_frame): Likewise.
8540 (top level): Do not use with_test_prefix_procname.
8541
8542 2016-11-09 Pedro Alves <palves@redhat.com>
8543
8544 * gdb.base/commands.exp (gdbvar_simple_if_test)
8545 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8546 (progvar_simple_if_test, progvar_simple_while_test)
8547 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8548 (infrun_breakpoint_command_test, breakpoint_command_test)
8549 (user_defined_command_test, watchpoint_command_test)
8550 (test_command_prompt_position, deprecated_command_test)
8551 (bp_deleted_in_command, temporary_breakpoint_commands)
8552 (stray_arg0_test, source_file_with_indented_comment)
8553 (recursive_source_test, if_commands_test)
8554 (error_clears_commands_left, redefine_hook_test)
8555 (redefine_backtrace_test): Use proc_with_prefix.
8556 * lib/gdb.exp (proc_with_prefix): New proc.
8557
8558 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8559
8560 * gdb.base/tui-layout.c: New file.
8561 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8562 disassembly window contains very long lines.
8563
8564 2016-11-08 Tom Tromey <tom@tromey.com>
8565
8566 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8567 depend on Python 2.
8568
8569 2016-11-08 Tom Tromey <tom@tromey.com>
8570
8571 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8572 New method.
8573
8574 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8575
8576 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8577
8578 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8579
8580 * gdb.rust/simple.rs: Add test for univariant enums without
8581 discriminants and for encoded struct-like enums.
8582
8583 2016-10-28 Pedro Alves <palves@redhat.com>
8584
8585 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8586 gdb_test_multiple, tighten regexps and match symtabs and line
8587 tables incrementally.
8588
8589 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8590
8591 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8592 general.
8593
8594 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8595
8596 * gdb.base/exec-invalid-sysroot.exp: New file.
8597
8598 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8599
8600 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8601
8602 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8603
8604 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8605
8606 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8607
8608 * gdb.base/killed-outside.exp: Remove $options from a call to
8609 `prepare_for_testing'.
8610
8611 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8612
8613 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8614 Change test message.
8615
8616 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8617
8618 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8619 Update comment.
8620
8621 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8622
8623 * gdb.trace/mi-trace-save.exp: New file.
8624
8625 2016-10-13 Yao Qi <yao.qi@linaro.org>
8626
8627 * gdb.base/code_elim.exp (get_var_address): Remove.
8628 * gdb.base/relocate.exp: Likewise.
8629 * gdb.base/shreloc.exp: Likewise.
8630 * lib/gdb.exp (get_var_address): New.
8631
8632 2016-10-13 Yao Qi <yao.qi@linaro.org>
8633
8634 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8635 floating point tests if $skip_float_test is false.
8636
8637 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8638
8639 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8640 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8641 argc values.
8642 Add 1 to argc so we guarantee distinct initial/modified argc values.
8643
8644 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8645
8646 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8647
8648 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8649
8650 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8651 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8652 * gdb.arch/vsx-regs.exp: Likewise.
8653
8654 2016-10-07 Yao Qi <yao.qi@linaro.org>
8655
8656 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8657
8658 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8659
8660 * gdb.python/python.exp: Test decode_line("*0").
8661
8662 2016-10-06 Doug Evans <dje@google.com>
8663
8664 * gdb.python/py-value.exp (test_value_creation): Add test for large
8665 unsigned 64-bit value.
8666
8667 2016-10-06 Tom Tromey <tom@tromey.com>
8668
8669 * gdb.compile/compile.exp: Change java tests to rust.
8670 * gdb.base/setshow.exp: Change java tests to rust.
8671 * gdb.base/default.exp: Remove java from language list.
8672 * README (Examples): Update language example.
8673 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8674 test.
8675 * lib/gdb.exp (skip_java_tests): Remove.
8676 * lib/java.exp: Remove.
8677 * gdb.java: Remove.
8678
8679 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8680
8681 * gdb.arch/mips-fcr.exp: New test.
8682 * gdb.arch/mips-fcr.c: Source for the new test.
8683
8684 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8685
8686 * gdb.base/solib-disc.exp: Use `standard_output_file'
8687 throughout.
8688
8689 2016-10-06 Pedro Alves <palves@redhat.com>
8690
8691 * gdb.base/jit-simple-dl.c: New file.
8692 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8693 * gdb.base/jit-simple.c: ... this.
8694 * gdb.base/jit-simple.exp (jit_run): Delete.
8695 (build_jit): New proc.
8696 (jit_test_reread): Recompile either the main program or the shared
8697 library, depending on what is being tested. Skip changing address
8698 if caller wants to. Compare before/after addresses. If testing
8699 standalone, explicitly load the binary. Test "maint info
8700 breakpoints".
8701 (top level): Add "standalone vs shared lib" and "change address"
8702 vs "same address" axes.
8703
8704 2016-10-06 Pedro Alves <palves@redhat.com>
8705
8706 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8707 call.
8708 (jit_run): Delete.
8709 (jit_test_reread): Use with_test_prefix. Reload the main binary
8710 explicitly. Compare the before/after addresses of the JIT
8711 descriptor.
8712
8713 2016-08-15 Doug Evans <dje@google.com>
8714
8715 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8716 for single bitfields is bool.
8717 * gdb.xml/tdesc-regs.exp: Ditto.
8718
8719 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8720
8721 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8722
8723 2016-10-05 Yao Qi <yao.qi@linaro.org>
8724
8725 * lib/gdb.exp (support_complex_tests): Return zero if
8726 gdb_skip_float_test return true.
8727
8728 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8729 Simon Marchi <simon.marchi@ericsson.com>
8730
8731 PR gdb/20487
8732 * gdb.mi/user-selected-context-sync.exp: New file.
8733 * gdb.mi/user-selected-context-sync.c: New file.
8734
8735 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8736 Simon Marchi <simon.marchi@ericsson.com>
8737
8738 PR gdb/20487
8739 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8740 =thread-select-event check.
8741
8742 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8743
8744 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8745 the compulsory L operand changes.
8746 * gdb.arch/powerpc-power.s: Likewise.
8747
8748 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8749
8750 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8751 * gdb.base/jit-attach-pie.c: New file.
8752 * gdb.base/jit-attach-pie.exp: New file.
8753
8754 2016-09-28 Pedro Alves <palves@redhat.com>
8755
8756 * gdb.base/infcall-input.c: New file.
8757 * gdb.base/infcall-input.exp: New file.
8758
8759 2016-09-22 Yao Qi <yao.qi@linaro.org>
8760
8761 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8762 (gdb_exit): Rename it to ...
8763 (gdbserver_gdb_exit): ... Close GDBserver.
8764 (gdb_exit): New proc, call gdbserver_gdb_exit.
8765 (mi_gdb_exit): Likewise.
8766
8767 2016-09-22 Yao Qi <yao.qi@linaro.org>
8768
8769 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8770 path.
8771 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8772 Remove duplication.
8773
8774 2016-09-22 Yao Qi <yao.qi@linaro.org>
8775
8776 * lib/gdbserver-support.exp: Check the existence of
8777 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8778
8779 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8780
8781 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8782
8783 2016-09-21 Tom Tromey <tom@tromey.com>
8784
8785 PR gdb/20604:
8786 * gdb.base/quit.exp: New file.
8787
8788 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8789
8790 * .gitignore: New file.
8791
8792 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8793
8794 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8795 throughout.
8796
8797 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8798
8799 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8800
8801 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8802
8803 * gdb.cp/casts.cc (decltype): Move it ...
8804 (main): ... with its call to ...
8805 * gdb.cp/casts03.cc: ... a new file.
8806 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8807
8808 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8809
8810 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8811
8812 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8813
8814 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8815 and sync up the test with tests in gas/testsuite/gas/ppc.
8816 * gdb.arch/powerpc-power.exp: Likewise.
8817
8818 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8819
8820 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8821
8822 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8823 Jan Kratochvil <jan.kratochvil@redhat.com>
8824
8825 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8826 make m1's definition to be different from m2's. Use 'dummy' as an
8827 argument for probe 'two'.
8828
8829 2016-09-10 Jon Beniston <jon@beniston.com>
8830
8831 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8832 for sim target.
8833
8834 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8835
8836 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8837 variable declaration.
8838 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8839 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8840 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8841 received HWCAP as its argument.
8842
8843 2016-09-06 Pedro Alves <palves@redhat.com>
8844
8845 * gdb.base/new-ui-pending-input.c: New file.
8846 * gdb.base/new-ui-pending-input.exp: New file.
8847 * gdb.exp (clear_gdb_spawn_id): New procedure.
8848 (with_spawn_id): Check whether gdb_spawn_id exists before
8849 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8850 on exit.
8851
8852 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8853
8854 * gdb.base/float128.c: New file.
8855 * gdb.base/float128.exp: Likewise.
8856 * gdb.base/floatn.c: Likewise.
8857 * gdb.base/floatn.exp: Likewise.
8858
8859 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8860
8861 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8862
8863 2016-09-05 Pedro Alves <palves@redhat.com>
8864
8865 PR backtrace/19927
8866 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8867 unwinders are immediately called as side effect of "source" or
8868 "disable unwinder" commands.
8869 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8870
8871 2016-09-02 Yao Qi <yao.qi@linaro.org>
8872
8873 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8874 is true and $type is "float" or "double".
8875
8876 2016-09-02 Yao Qi <yao.qi@linaro.org>
8877
8878 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8879 true.
8880 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8881 * gdb.base/call-rt-st.exp: Likewise.
8882 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8883 return value instead of gdb,skip_float_test.
8884 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8885 (do_function_calls): Use its return value instead of
8886 gdb,skip_float_test.
8887 * gdb.base/finish.exp: Likewise.
8888 * gdb.base/funcargs.exp: Likewise.
8889 * gdb.base/return.exp: Likewise.
8890 * gdb.base/return2.exp: Likewise.
8891 * gdb.base/varargs.exp: Likewise.
8892 * lib/gdb.exp (gdb_skip_float_test): Change it to
8893 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8894
8895 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8896
8897 * gdb.multi/tids.exp: Test "thread apply all".
8898
8899 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8900
8901 * gdb.base/default.exp (tty): Remove.
8902
8903 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8904
8905 * gdb.python/py-recurse-unwind.c: New file.
8906 * gdb.python/py-recurse-unwind.py: New file.
8907 * gdb.python/py-recurse-unwind.exp: New file.
8908
8909 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8910
8911 * gdb.base/set-inferior-tty.exp: New file.
8912 * gdb.base/set-inferior-tty.c: New file.
8913
8914 2016-08-23 Pedro Alves <palves@redhat.com>
8915
8916 PR gdb/20494
8917 * gdb.base/new-ui-echo.c: New file.
8918 * gdb.base/new-ui-echo.exp: New file.
8919
8920 2016-08-23 Yao Qi <yao.qi@linaro.org>
8921
8922 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8923 gdbserver_spawn.
8924 * gdb.server/connect-without-multi-process.exp (do_test):
8925 Likewise.
8926
8927 2016-08-23 Yao Qi <yao.qi@linaro.org>
8928
8929 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8930 standalone_txt. Delete gdb_txt and standalone_txt on host
8931 and target. Spawn the binary on target. Copy files from
8932 target to host.
8933
8934 2016-08-22 Pedro Alves <palves@redhat.com>
8935
8936 PR gdb/20505
8937 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8938 with_test_prefix. Factor out bits to ...
8939 (test_no_vdso): ... this new procedure.
8940
8941 2016-08-19 Carl Love <cel@us.ibm.com>
8942
8943 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8944 maintaining separate logic for constructing the output path.
8945 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8946 * gdb.arch/ppc-dfp.exp: Likewise.
8947 * gdb.arch/ppc-fp.exp: Likewise.
8948 * gdb.arch/vsx-regs.exp: Likewise.
8949 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8950 binprefix for generating the additional binary files.
8951
8952 2016-08-19 Pedro Alves <palves@redhat.com>
8953
8954 * gdb.trace/mi-trace-frame-collected.exp
8955 (test_trace_frame_collected): On x32, expect two registers.
8956
8957 2016-08-18 Carl Love <cel@us.ibm.com>
8958
8959 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8960 and sync up the test with tests in gas/testsuite/gas/ppc.
8961 * gdb.arch/powerpc-power.exp: Likewise.
8962
8963 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8964
8965 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8966 expected error message.
8967
8968 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8969
8970 * gdb.multi/remove-inferiors.exp: New file.
8971 * gdb.multi/remove-inferiors.c: New file.
8972
8973 2016-08-12 Yao Qi <yao.qi@linaro.org>
8974
8975 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8976 argument list.
8977
8978 2016-08-10 Pedro Alves <palves@redhat.com>
8979
8980 PR gdb/19187
8981 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8982 setup_kfails.
8983
8984 2016-08-09 Pedro Alves <palves@redhat.com>
8985 Simon Marchi <simon.marchi@ericsson.com>
8986
8987 PR gdb/20418
8988 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8989 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8990
8991 2016-08-09 Pedro Alves <palves@redhat.com>
8992
8993 PR mi/20431
8994 * gdb.mi/mi-cmd-error.exp: New file.
8995
8996 2016-08-09 Pedro Alves <palves@redhat.com>
8997
8998 PR gdb/18653
8999 * gdb.base/signals-state-child.c: New file.
9000 * gdb.base/signals-state-child.exp: New file.
9001 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9002
9003 2016-08-09 Pedro Alves <palves@redhat.com>
9004
9005 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9006
9007 2016-08-03 Tom Tromey <tom@tromey.com>
9008
9009 PR python/18565:
9010 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9011
9012 2016-08-01 Yao Qi <yao.qi@linaro.org>
9013
9014 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9015 variable mode to "multi-process" if $multi_process is 1, otherwise
9016 set it to "single-process".
9017
9018 2016-08-01 Yao Qi <yao.qi@linaro.org>
9019
9020 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9021 * gdb.cp/cpexprs.exp: Likewise.
9022 * gdb.cp/m-static.exp: Likewise.
9023
9024 2016-07-26 Tom Tromey <tom@tromey.com>
9025
9026 PR python/20190:
9027 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9028 test.
9029
9030 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9031
9032 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9033 selecting assembly source files.
9034 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9035 assembly source files.
9036 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9037 assembly source files.
9038 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9039 selecting assembly source files.
9040
9041 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9042
9043 * gdb.base/new-ui.exp (do_test_invalid_args): New
9044 procedure.
9045
9046 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9047
9048 * gdb.btrace/reconnect.c: New file.
9049 * gdb.btrace/reconnect.exp: New file.
9050
9051 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9052
9053 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9054 to test_catch_syscall_group.
9055 (test_catch_syscall_group): New.
9056
9057 2016-07-21 Tom Tromey <tom@tromey.com>
9058
9059 * gdb.rust/simple.rs (main): Use empty struct expression.
9060 * gdb.rust/simple.exp: Add tests for empty struct expression.
9061
9062 2016-07-21 Yao Qi <yao.qi@linaro.org>
9063
9064 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9065 if gdb_skip_xml_test is true on some targets.
9066
9067 2016-07-21 Yao Qi <yao.qi@linaro.org>
9068
9069 * gdb.server/solib-list.exp: Unset last_loaded_file.
9070
9071 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9072
9073 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9074 "step into captured_main (args)".
9075
9076 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9077
9078 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9079
9080 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9081
9082 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9083
9084 2016-07-19 Pedro Alves <palves@redhat.com>
9085
9086 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9087 * gdb.opt/inline-bt.exp: Likewise.
9088 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9089 additional_flags=-Winline.
9090 * gdb.opt/inline-locals.exp: Likewise.
9091 * gdb.opt/inline-markers.c (ATTR): Define.
9092 (inlined_fn): Use it.
9093
9094 2016-07-19 Yao Qi <yao.qi@linaro.org>
9095
9096 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9097 (test_with_self): Remove some code. Remove argument executable.
9098 (top-level): Use do_self_tests.
9099
9100 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9101 Don Breazeal <donb@codesourcery.com>
9102
9103 * gdb.base/maint.exp: Escape paths used in regular expressions.
9104 * gdb.stabs/weird.exp: Likewise.
9105
9106 2016-07-13 Tom Tromey <tom@tromey.com>
9107
9108 PR python/15620, PR python/18620:
9109 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9110 (test_bkpt_events): New procs.
9111
9112 2016-07-13 Tom Tromey <tom@tromey.com>
9113
9114 PR python/17698:
9115 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9116 test.
9117 (test_watchpoints): Likewise.
9118 (test_bkpt_pending): New proc.
9119
9120 2016-07-13 Tom Tromey <tom@tromey.com>
9121
9122 PR cli/18053:
9123 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9124 completion test.
9125
9126 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9127
9128 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9129 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9130 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9131 f_label.
9132 (g): Rename g_end_lbl to g_label.
9133 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9134 low_pc and high_pc.
9135 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9136
9137 2016-07-12 Tom Tromey <tom@tromey.com>
9138
9139 PR python/19293:
9140 * gdb.python/py-unwind-maint.exp: Update tests.
9141
9142 2016-07-12 Yao Qi <yao.qi@linaro.org>
9143
9144 * lib/selftest-support.exp (selftest_setup): Match the output
9145 when captured_main is inlined.
9146
9147 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9148
9149 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9150 New variables.
9151 (print this%a, print this%b, print this): New tests.
9152 * gdb.fortran/derived-types.f90 (this): New object and
9153 initialization.
9154
9155 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9156
9157 * gdb.ada/arraydim.exp: Remove extra directory level in build
9158 directory.
9159
9160 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9161
9162 * lib/ada.exp: Remove extra directory level in build directory.
9163 * gdb.ada/cond_lang.exp: Likewise.
9164 * gdb.ada/exec_changed.exp: Likewise.
9165 * gdb.ada/lang_switch.exp: Likewise.
9166
9167 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9168
9169 * simple.rs: Add test for raw pointer subscripting.
9170 * simple.exp: Add test expectations.
9171
9172 2016-07-05 Yao Qi <yao.qi@linaro.org>
9173
9174 * gdb.mi/mi-reverse.exp: Match =record-started output.
9175
9176 2016-07-01 Pedro Alves <palves@redhat.com>
9177
9178 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9179 procedure.
9180 (jit_reader_test): Test the jit reader's unwinder.
9181 * gdb.base/jithost.c (jit_function_00_code): New global.
9182 (main): Use memcpy to fill in the mmapped code, instead of poking
9183 bytes manually here.
9184 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9185 value.
9186 (read_debug_info): Save the function's range.
9187 (read_sp): New function.
9188 (unwind_frame): Use it. Also unwind RBP.
9189 (get_frame_id): Use read_sp.
9190 (gdb_init_reader): Use calloc instead of malloc.
9191 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9192 parameter. Use gdb_test_multiple.
9193
9194 2016-07-01 Pedro Alves <palves@redhat.com>
9195 Antoine Tremblay <antoine.tremblay@ericsson.com>
9196
9197 * gdb.threads/process-dies-while-detaching.c: New file.
9198 * gdb.threads/process-dies-while-detaching.exp: New file.
9199
9200 2016-07-01 Pedro Alves <palves@redhat.com>
9201
9202 * gdb.multi/watchpoint-multi-exit.c: New file.
9203 * gdb.multi/watchpoint-multi-exit.exp: New file.
9204
9205 2016-06-30 Pedro Alves <palves@redhat.com>
9206
9207 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9208 unset inferior_spawn_id.
9209
9210 2016-06-30 Pedro Alves <palves@redhat.com>
9211
9212 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9213 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9214
9215 2016-06-29 Yao Qi <yao.qi@linaro.org>
9216
9217 * gdb.base/return.c: Add copyright header.
9218
9219 2016-06-29 Tom Tromey <tom@tromey.com>
9220
9221 PR python/20129:
9222 * gdb.python/py-framefilter.exp: Add tests for setting priority
9223 and disabling of non-existent frame filter.
9224
9225 2016-06-29 Yao Qi <yao.qi@linaro.org>
9226
9227 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9228 0x0f07ff.
9229
9230 2016-06-28 Yao Qi <yao.qi@linaro.org>
9231
9232 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9233 triplets. Start gdb, execute catch syscall, and continue. Check
9234 gdb's output to determine catch syscall is supported.
9235
9236 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9237
9238 * gdb.rust/simple.rs: Add test for returning unit in a function.
9239 * gdb.rust/simple.exp: Add expectation for functions returning
9240 unit.
9241
9242 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9243
9244 * gdb.python/py-breakpoint-create-fail.c,
9245 gdb.python/py-breakpoint-create-fail.exp,
9246 gdb.python/py-breakpoint-create-fail.py: New testcase.
9247
9248 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9249
9250 PR gdb/20239
9251 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9252 * gdb.rust/simple.exp: Add test expectations for new NonZero
9253 tests.
9254
9255 2016-06-24 David Taylor <dtaylor@emc.com>
9256
9257 * gdb.base/offsets.exp: New file.
9258 * gdb.base/offsets.c: New file.
9259
9260 2016-06-23 Tom Tromey <tom@tromey.com>
9261
9262 PR gdb/16483:
9263 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9264 before any filters are loaded.
9265
9266 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9267
9268 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9269 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9270 structs.
9271 * gdb.fortran/derived-type-function.exp: New file.
9272 * gdb.fortran/derived-type-function.f90: New file.
9273
9274
9275 2016-06-21 Pedro Alves <palves@redhat.com>
9276
9277 * gdb.base/new-ui.exp: New file.
9278 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9279 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9280 (with_spawn_id): New procedure.
9281
9282 2016-06-21 Pedro Alves <palves@redhat.com>
9283
9284 * gdb.mi/mi-exec-run.exp: New file.
9285
9286 2016-06-21 Pedro Alves <palves@redhat.com>
9287
9288 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9289 breakpoint command's output on the main UI.
9290 (test_break): New procedure, factored out from calls in the top
9291 level.
9292 (top level): Use foreach_with_prefix to test MI as main UI and as
9293 separate UI.
9294
9295 2016-06-21 Pedro Alves <palves@redhat.com>
9296
9297 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9298 (test_awatch_creation_and_listing)
9299 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9300 Remove 'type' parameter.
9301 (test_watchpoint_all): New parameter mi_mode. Remove
9302 with_test_prefix.
9303 (top level): Use foreach_with_prefix, and add main/separate UI MI
9304 testing axis.
9305
9306 2016-06-21 Pedro Alves <palves@redhat.com>
9307
9308 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9309 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9310 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9311 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9312 (gdb_main_spawn_id, mi_spawn_id): Declare and
9313 comment.
9314 (mi_create_inferior_pty): New procedure,
9315 factored out from default_mi_gdb_start.
9316 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9317 procedures.
9318 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9319 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9320 Use mi_create_inferior_pty.
9321 (mi_gdb_start): Use eval to pass down args list.
9322
9323 2016-06-21 Pedro Alves <palves@redhat.com>
9324
9325 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9326 * gdb.opt/inline-cmds.exp: Add MI tests.
9327
9328 2016-06-21 Pedro Alves <palves@redhat.com>
9329
9330 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9331
9332 2016-06-21 Pedro Alves <palves@redhat.com>
9333
9334 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9335 (top level): Use it instead of mi_execute_to.
9336
9337 2016-06-21 Pedro Alves <palves@redhat.com>
9338
9339 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9340 (cont_handler_str): New.
9341 (signal_stop_handler): Set stop_handler_str instead of printing to
9342 stdout.
9343 (continue_handler): Set cont_handler_str instead of printing to
9344 stdout.
9345 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9346 mi_send_resuming_command. Print stop_handler_str and
9347 cont_handler_str instead of expecting the python events print
9348 directly.
9349
9350 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9351
9352 * gdb.base/jit-reader.exp: New file.
9353 * gdb.base/jithost.c: New file.
9354 * gdb.base/jithost.h: New file.
9355 * gdb.base/jitreader.c : New file.
9356 * gdb.base/jit-protocol.h: New file.
9357
9358 2016-06-17 Yao Qi <yao.qi@linaro.org>
9359
9360 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9361 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9362 and detach-on-fork. Adjust tests.
9363 (top level): Invoke break_cond_on_syscall with combinations of
9364 syscall, follow-fork-mode and detach-on-fork.
9365
9366 2016-06-17 Yao Qi <yao.qi@linaro.org>
9367
9368 * gdb.base/step-over-exit.c: New.
9369 * gdb.base/step-over-exit.exp: New.
9370
9371 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9372
9373 * gdb.base/float.exp: Add target check for nds32*-*-*.
9374 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9375
9376 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9377
9378 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9379 for unsupported target features.
9380 * gdb.base/call-rt-st.exp: Likewise.
9381 * gdb.base/call-sc.exp: Likewise.
9382 * gdb.base/call-signal-resume.exp: Likewise.
9383 * gdb.base/call-strs.exp: Likewise.
9384 * gdb.base/callexit.exp: Likewise.
9385 * gdb.base/callfuncs.exp: Likewise.
9386 * gdb.base/nodebug.exp: Likewise.
9387 * gdb.base/printcmds.exp: Likewise.
9388 * gdb.base/ptype.exp: Likewise.
9389 * gdb.base/structs.exp: Likewise.
9390 * gdb.base/unwindonsignal.exp: Likewise.
9391 * gdb.cp/gdb2495.exp: Likewise.
9392 * gdb.cp/templates.exp: Likewise.
9393 * gdb.cp/virtfunc.exp: Likewise.
9394 * gdb.threads/hand-call-in-threads.exp: Likewise.
9395 * gdb.threads/interrupted-hand-call.exp: Likewise.
9396 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9397
9398 2016-06-10 Tom Tromey <tom@tromey.com>
9399
9400 PR rust/20110:
9401 * gdb.rust/expr.exp: Add test for integer constant larger than
9402 i32.
9403
9404 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9405
9406 * gdb.fortran/nested-funcs.exp: New.
9407 * gdb.fortran/nested-funcs.f90: New.
9408
9409 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9410
9411 * gdb.base/examine-backward.c: New file.
9412 * gdb.base/examine-backward.exp: New file.
9413
9414 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9415
9416 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9417 matching.
9418
9419 2016-06-02 Tom Tromey <tom@tromey.com>
9420
9421 PR python/18984:
9422 * gdb.python/py-shared.exp: Add solib_name test.
9423
9424 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9425
9426 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9427
9428 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9429
9430 PR c++/19893
9431 * gdb.dwarf2/implref.exp: Rename to...
9432 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9433 * gdb.dwarf2/implref-array.c: New file.
9434 * gdb.dwarf2/implref-array.exp: Likewise.
9435 * gdb.dwarf2/implref-global.c: Likewise.
9436 * gdb.dwarf2/implref-global.exp: Likewise.
9437 * gdb.dwarf2/implref-struct.c: Likewise.
9438 * gdb.dwarf2/implref-struct.exp: Likewise.
9439
9440 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9441
9442 * gdb.trace/trace-condition.exp: Add 64bit tests.
9443
9444 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9445
9446 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9447 bits types.
9448 (main): Adapt to 8 to 64 bits types.
9449 * gdb.trace/trace-condition.exp: Add new tests.
9450
9451 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9452
9453 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9454
9455 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9456
9457 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9458 Move condition tests...
9459 * gdb.trace/trace-condition.exp: Here.
9460
9461 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9462
9463 * gdb.trace/trace-condition.exp: Add counter-case tests.
9464
9465 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9466
9467 PR c++/15231
9468 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9469 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9470
9471 2016-05-27 Pedro Alves <palves@redhat.com>
9472
9473 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9474 New procedure.
9475 (top level): Call it, and bail out of DejaGnu is known to be bad.
9476
9477 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9478
9479 * gdb.base/whatis.c: Extend the test case.
9480 * gdb.base/whatis.exp: Add additional tests.
9481
9482 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9483
9484 * gdb.fortran/type.f90: Add pointer variable.
9485 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9486
9487 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9488
9489 * gdb.fortran/vla-type.exp: Fix testcase name.
9490
9491 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9492
9493 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9494
9495 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9496
9497 * gdb.fortran/type.f90: Add nested structures.
9498 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9499 * gdb.fortran/derived-type.exp: Adapt expected output.
9500 * gdb.fortran/vla-type.exp: Adapt expected output.
9501
9502 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9503
9504 * gdb.fortran/whatis_type.exp: Adapt expected output.
9505
9506 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9507
9508 * gdb.fortran/print_type.exp: Fix expected output.
9509 * gdb.fortran/whatis_type.exp: Fix expected output.
9510
9511 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9512
9513 * gdb.fortran/whatis_type.exp: Use multi_line.
9514
9515 2016-05-24 Tom Tromey <tom@tromey.com>
9516
9517 PR python/17386:
9518 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9519 use value as an index.
9520
9521 2016-05-23 Tom Tromey <tom@tromey.com>
9522
9523 PR python/17981:
9524 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9525 no-breakpoint case.
9526
9527 2016-05-24 Pedro Alves <palves@redhat.com>
9528
9529 PR gdb/19828
9530 * gdb.threads/clone-attach-detach.c: New file.
9531 * gdb.threads/clone-attach-detach.exp: New file.
9532
9533 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9534
9535 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9536
9537 2016-05-23 Tom Tromey <tom@tromey.com>
9538
9539 PR python/19438, PR python/18393:
9540 * gdb.python/py-progspace.exp: Add "dir" test.
9541 * gdb.python/py-objfile.exp: Add "dir" test.
9542
9543 2016-05-23 Yao Qi <yao.qi@linaro.org>
9544
9545 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9546 * gdb.arch/thumb2-it.exp: Likewise.
9547
9548 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9549
9550 * gdb.mi/mi-threads-interrupt.c: New file.
9551 * gdb.mi/mi-threads-interrupt.exp: New file.
9552
9553 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9554
9555 PR gdb/18077
9556 * gdb.mi/mi-async-run.exp: New file.
9557 * gdb.mi/mi-async-run.c: New file.
9558
9559 2016-05-17 Tom Tromey <tom@tromey.com>
9560 Manish Goregaokar <manishsmail@gmail.com>
9561
9562 * lib/rust-support.exp: New file.
9563 * lib/gdb.exp (skip_rust_tests): New proc.
9564 (build_executable_from_specs): Handle rust.
9565 * lib/future.exp (gdb_find_rustc): New proc.
9566 (gdb_default_target_compile): Handle rust.
9567 * gdb.rust/expr.exp: New file.
9568 * gdb.rust/generics.exp: New file.
9569 * gdb.rust/generics.rs: New file.
9570 * gdb.rust/methods.exp: New file.
9571 * gdb.rust/methods.rs: New file.
9572 * gdb.rust/modules.exp: New file.
9573 * gdb.rust/modules.rs: New file.
9574 * gdb.rust/simple.exp: New file.
9575 * gdb.rust/simple.rs: New file.
9576
9577 2016-05-17 Tom Tromey <tom@tromey.com>
9578
9579 * gdb.base/default.exp (set language): Add rust.
9580
9581 2016-05-17 Tom Tromey <tom@tromey.com>
9582
9583 * gdb.gdb/unittest.exp: New file.
9584
9585 2016-05-16 Yao Qi <yao.qi@linaro.org>
9586
9587 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9588 shell_prompt. Update shell_prompt_re.
9589
9590 2016-05-12 Doug Evans <dje@google.com>
9591
9592 PR symtab/19999
9593 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9594 $options when building executable.
9595 * gdb.dwarf2/fission-loclists-pie.S: New file.
9596 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9597
9598 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9599
9600 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9601 of [is_remote target],
9602
9603 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9604
9605 * lib/gdb.exp (use_gdb_stub): New procedure.
9606
9607 2016-05-03 Yunlian Jiang <yunlian@google.com>
9608 Doug Evans <dje@google.com>
9609
9610 PR symtab/19914
9611 * gdb.dwarf2/dwp-sepdebug.c: New file.
9612 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9613
9614 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9615
9616 * gdb.base/detach.exp: Remove is_remote check.
9617
9618 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9619
9620 * gdb.base/annota-input-while-running.exp: Don't check for
9621 [is_remote target]. Enable annotations after running to main.
9622 Remove unused "set test..." line.
9623
9624 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9625
9626 * gdb.trace/trace-enable-disable.exp: New file.
9627 * gdb.trace/trace-enable-disable.c: New file.
9628
9629 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9630
9631 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9632 use it in info sharedlibrary test.
9633 * gdb.trace/ftrace-lock.exp: Likewise.
9634 * gdb.trace/ftrace.exp: Likewise.
9635 * gdb.trace/range-stepping.exp: Likewise.
9636 * gdb.trace/trace-break.exp: Likewise.
9637 * gdb.trace/trace-condition.exp: Likewise.
9638 * gdb.trace/trace-mt.exp: Likewise.
9639
9640 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9641
9642 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9643 (gdb_load_shlib): ... this.
9644 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9645 gdb_load_shlib.
9646 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9647 * gdb.base/ctxobj.exp: Likewise.
9648 * gdb.base/dprintf-pending.exp: Likewise.
9649 * gdb.base/dso2dso.exp: Likewise.
9650 * gdb.base/fixsection.exp: Likewise.
9651 * gdb.base/gcore-relro.exp: Likewise.
9652 * gdb.base/gdb1555.exp: Likewise.
9653 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9654 * gdb.base/gnu-ifunc.exp: Likewise.
9655 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9656 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9657 * gdb.base/pending.exp: Likewise.
9658 * gdb.base/print-file-var.exp: Likewise.
9659 * gdb.base/print-symbol-loading.exp: Likewise.
9660 * gdb.base/shlib-call.exp: Likewise.
9661 * gdb.base/shreloc.exp: Likewise.
9662 * gdb.base/so-impl-ld.exp: Likewise.
9663 * gdb.base/solib-disc.exp: Likewise.
9664 * gdb.base/solib-nodir.exp: Likewise.
9665 * gdb.base/solib-overlap.exp: Likewise.
9666 * gdb.base/solib-symbol.exp: Likewise.
9667 * gdb.base/solib-weak.exp (do_test): Likewise.
9668 * gdb.base/sym-file.exp: Likewise.
9669 * gdb.base/symtab-search-order.exp: Likewise.
9670 * gdb.base/type-opaque.exp: Likewise.
9671 * gdb.base/unload.exp: Likewise.
9672 * gdb.base/watchpoint-solib.exp: Likewise.
9673 * gdb.compile/compile.exp: Likewise.
9674 * gdb.cp/gdb2384.exp: Likewise.
9675 * gdb.cp/infcall-dlopen.exp: Likewise.
9676 * gdb.cp/re-set-overloaded.exp: Likewise.
9677 * gdb.fortran/library-module.exp: Likewise.
9678 * gdb.opt/solib-intra-step.exp: Likewise.
9679 * gdb.python/py-finish-breakpoint.exp: Likewise.
9680 * gdb.python/py-shared.exp: Likewise.
9681 * gdb.reverse/solib-precsave.exp: Likewise.
9682 * gdb.reverse/solib-reverse.exp: Likewise.
9683 * gdb.server/solib-list.exp: Likewise.
9684 * gdb.threads/dlopen-libpthread.exp: Likewise.
9685 * gdb.threads/tls-shared.exp: Likewise.
9686 * gdb.threads/tls-so_extern.exp: Likewise.
9687 * gdb.trace/change-loc.exp: Likewise.
9688 * gdb.trace/ftrace-lock.exp: Likewise.
9689 * gdb.trace/ftrace.exp: Likewise.
9690 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9691 * gdb.trace/pending.exp: Likewise.
9692 * gdb.trace/range-stepping.exp: Likewise.
9693 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9694 (strace_info_marker): Likewise.
9695 (strace_probe_marker): Likewise.
9696 (strace_trace_on_same_addr): Likewise.
9697 (strace_trace_on_diff_addr): Likewise.
9698 * gdb.trace/trace-break.exp: Likewise.
9699 * gdb.trace/trace-condition.exp: Likewise.
9700 * gdb.trace/trace-mt.exp: Likewise.
9701
9702 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9703
9704 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9705 result of gdb_remote_download.
9706 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9707 * gdb.base/dso2dso.exp: Likewise.
9708 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9709 * gdb.base/print-file-var.exp: Likewise.
9710 * gdb.base/shlib-call.exp: Likewise.
9711 * gdb.base/shreloc.exp: Likewise.
9712 * gdb.base/solib-overlap.exp: Likewise.
9713 * gdb.base/solib-weak.exp (do_test): Likewise.
9714 * gdb.base/unload.exp: Likewise.
9715
9716 2016-04-27 Yao Qi <yao.qi@linaro.org>
9717
9718 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9719 exists.
9720
9721 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9722
9723 * vla-type.exp: Print structure from toplevel.
9724
9725 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9726
9727 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9728 of dynamic types.
9729 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9730 of dynamic types.
9731
9732 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9733
9734 * gdb.fortran/vla-type.f90: New file.
9735 * gdb.fortran/vla-type.exp: New file.
9736
9737 2016-04-25 Yao Qi <yao.qi@linaro.org>
9738
9739 * gdb.base/branch-to-self.c: New file.
9740 * gdb.base/branch-to-self.exp: New file.
9741
9742 2016-04-22 Yao Qi <yao.qi@linaro.org>
9743
9744 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9745 more after $hex.
9746
9747 2016-04-22 Yao Qi <yao.qi@linaro.org>
9748
9749 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9750 * gdb.base/annota3.exp: Likewise.
9751
9752 2016-04-22 Yao Qi <yao.qi@linaro.org>
9753
9754 * gdb.reverse/step-precsave.exp: Do one step and test program
9755 stops in "callee" and do multiple steps until program goes out
9756 of "callee".
9757 * gdb.reverse/step-reverse.exp: Likewise.
9758
9759 2016-04-22 Yao Qi <yao.qi@linaro.org>
9760
9761 * gdb.trace/signal.exp: Also pass if
9762 $tracepoint_hits($i) > $iterations.
9763
9764 2016-04-22 Yao Qi <yao.qi@linaro.org>
9765
9766 * gdb.trace/signal.c: New file.
9767 * gdb.trace/signal.exp: New file.
9768
9769 2016-04-19 Doug Evans <xdje42@gmail.com>
9770
9771 * gdb.base/bad-file.exp: New file.
9772
9773 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9774
9775 * gdb.dwarf2/implref.exp: New file.
9776
9777 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9778
9779 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9780 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9781 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9782 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9783 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9784 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9785 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9786 * lib/fortran.exp (fortran_int4): New procedure.
9787 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9788 (fortran_logical4): Likewise.
9789
9790 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9791
9792 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9793
9794 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9795
9796 * lib/compiler.c: Add Intel specific preprocessor macros.
9797 * lib/compiler.cc: Likewise.
9798
9799 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9800
9801 * gdb.server/connect-with-no-symbol-file.c: New file.
9802 * gdb.server/connect-with-no-symbol-file.exp: New file.
9803
9804 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9805
9806 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9807
9808 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9809
9810 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9811 standard output directory.
9812
9813 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9814
9815 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9816
9817 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9818
9819 * gdb.btrace/instruction_history.c (loop): Add declaration.
9820
9821 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9822
9823 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9824
9825 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9826
9827 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9828 parentheses to print.
9829 (continue_handler): Likewise.
9830
9831 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9832
9833 * gdb.server/solib-list.exp: Remove is_remote check.
9834 Pass shlib= to gdb_compile. Don't link shared library with
9835 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9836 Run binary filename through "readlink -f" on the target.
9837
9838 2016-04-08 Pedro Alves <palves@redhat.com>
9839
9840 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9841 interpreter filename as argument to gdbserver_spawn.
9842 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9843 Return empty if $last_loaded_file does not exist.
9844
9845 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9846
9847 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9848 * gdb.base/jit-main.c: Use exit after usage.
9849
9850 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9851
9852 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9853 GDBHISTSIZE prior to the tests.
9854 * gdb.base/gdbinit-history.exp: Likewise.
9855
9856 2016-04-07 Pedro Alves <palves@redhat.com>
9857
9858 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9859 instead of build_executable. Use gdb_load_shlibs.
9860
9861 2016-04-07 Yao Qi <yao.qi@linaro.org>
9862
9863 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9864 Execute "si" command.
9865
9866 2016-04-07 Yao Qi <yao.qi@linaro.org>
9867
9868 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9869 number instead of the comments on some line.
9870
9871 2016-04-06 Don Breazeal <donb@codesourcery.com>
9872
9873 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9874 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9875
9876 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9877
9878 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9879 standard_output_file. Remove unused binfile variable.
9880
9881 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9882
9883 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9884 * gdb.python/py-mi-objfile.exp: Match "list main" output
9885 in console format.
9886
9887 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9888
9889 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9890 absolute.
9891
9892 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9893
9894 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9895 absolute.
9896 * gdb.trace/ftrace.exp: Likewise.
9897 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9898 targets as well.
9899 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9900 (gdb_load_shlibs): Copy libraries to test directory when testing
9901 natively. Only set solib-search-path if testing remotely.
9902 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9903
9904 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9905
9906 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9907 gdb_download. Use it even if the target is not remote.
9908 * gdb.base/jit.exp (compile_jit_test): Likewise.
9909 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9910 output directory if the destination board is local, otherwise use
9911 the standard remote_download from DejaGnu.
9912 (gdb_download): Remove.
9913 (gdb_load_shlibs): Use gdb_remote_download instead of
9914 gdb_download.
9915 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9916 Use gdb_remote_download instead of gdb_download. Use it even if
9917 the target is not remote.
9918 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9919 instead of gdb_download.
9920
9921 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9922
9923 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9924 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9925 run.
9926
9927 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9928
9929 PR gdb/19820
9930 * gdb.base/printcmds.exp: Add artificial arrays tests.
9931
9932 2016-03-31 Pedro Alves <palves@redhat.com>
9933
9934 PR gdb/19858
9935 * gdb.base/jit-main.c: Include unistd.h.
9936 (ATTACH): Define to 0 if not already defined.
9937 (wait_for_gdb, mypid): New globals.
9938 (WAIT_FOR_GDB): New macro.
9939 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9940 some breakpoint locations.
9941 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9942 New procedures.
9943 (one_jit_test): Add REATTACH parameter, and handle it. Use
9944 continue_to_test_location.
9945 (top level): Test attach, and adjusts calls to one_jit_test.
9946
9947 2016-03-31 Pedro Alves <palves@redhat.com>
9948
9949 PR gdb/19858
9950 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9951 BINSUFFIX parameter, and handle it.
9952 (top level): Adjust calls compile_jit_test.
9953
9954 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9955
9956 PR python/19743
9957 * gdb.python/py-mi-events-gdb.py: New file.
9958 * gdb.python/py-mi-events.c: New file.
9959 * gdb.python/py-mi-events.exp: New file.
9960
9961 2016-03-30 Yao Qi <yao.qi@linaro.org>
9962
9963 * gdb.reverse/until-precsave.exp: Match function name only.
9964 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9965 Move malloc to a condition block.
9966 * gdb.reverse/until-reverse.exp: Match function name only.
9967
9968 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9969
9970 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9971 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9972 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9973 variable for GPR 0 instead of assuming it is register 0.
9974 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9975 * lib/trace-support.exp: Add s390 registers.
9976
9977 2016-03-29 Yao Qi <yao.qi@linaro.org>
9978
9979 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9980
9981 2016-03-24 Yao Qi <yao.qi@linaro.org>
9982
9983 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9984 test message.
9985
9986 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9987
9988 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9989 maintaining separate logic for constructing the output path.
9990
9991 2016-03-16 Don Breazeal <donb@codesourcery.com>
9992
9993 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9994 Retry fork and waitpid on interrupted system call errors.
9995 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9996 Use with_timeout_factor to increase timeout by factor of 10.
9997
9998 2016-03-15 Don Breazeal <donb@codesourcery.com>
9999
10000 * gdb.cp/scope-err.cc: New test program.
10001 * gdb.cp/scope-err.exp: New test script.
10002 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10003 lines and "set breakpoint here" comment.
10004 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10005 Fixed some whitespace and format issues.
10006 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10007 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10008
10009 2016-03-15 Doug Evans <dje@google.com>
10010
10011 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10012 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10013 All callers updated. Add tests for enums, mixed flags register.
10014
10015 2016-03-15 Doug Evans <dje@google.com>
10016
10017 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10018 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10019
10020 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10021
10022 * gdb.base/default.exp: Add $_as_string to the list of expected
10023 convenience functions.
10024
10025 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10026
10027 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10028
10029 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10030
10031 * gdb.python/py-as-string.exp: New file.
10032 * gdb.python/py-as-string.c: New file.
10033
10034 2016-03-09 Pedro Alves <palves@redhat.com>
10035
10036 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10037 signal" -> "Thread NN received signal" output change.
10038 * gdb.threads/ia64-sigill.exp: Likewise.
10039 * gdb.threads/linux-dp.exp: Likewise.
10040 * gdb.threads/manythreads.exp: Likewise.
10041 * gdb.threads/pending-step.exp: Likewise.
10042 * gdb.threads/print-threads.exp: Likewise.
10043 * gdb.threads/sigstep-threads.exp: Likewise.
10044 * gdb.threads/staticthreads.exp: Likewise.
10045 * gdb.threads/tls.exp: Likewise.
10046
10047 2016-03-09 Pedro Alves <palves@redhat.com>
10048
10049 * gdb.base/command-line-input.exp: New file.
10050
10051 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10052
10053 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10054 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10055 * gdb.trace/pending.exp: Accept leading dot before function name.
10056 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10057 * lib/trace-support.exp: Set registers for ppc.
10058
10059 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10060
10061 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10062 use it for disassembly; accept .main in addition to main in backtrace.
10063
10064 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10065 Marcin Kościelnicki <koriakin@0x04.net>
10066
10067 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10068 (gdb_recursion_test_ptr): New global variable.
10069 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10070 gdb_recursion_test.
10071 (gdb_c_test): Ditto.
10072
10073 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10074
10075 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10076 ordering.
10077
10078 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10079
10080 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10081 (bar): Add bar_start_lbl label.
10082 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10083 of foo/bar for emitting DWARF and tracing.
10084
10085 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10086
10087 * analyze-racy-logs.py: Set executable bit.
10088
10089 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10090
10091 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10092 (CHECK_TARGET_TMP): Likewise.
10093 (check-single-racy): New rule.
10094 (check-parallel-racy): Likewise.
10095 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10096 (do-check-parallel-racy): New rule.
10097 (check-racy/%.exp): Likewise.
10098 * README (Racy testcases): New section.
10099 * analyze-racy-logs.py: New file.
10100
10101 2016-03-03 Doug Evans <dje@google.com>
10102
10103 * gdb.base/skip.exp: Use with_test_prefix.
10104
10105 2016-03-03 Yao Qi <yao.qi@linaro.org>
10106
10107 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10108 Invoke step_over_syscall "clone" and break_cond_on_syscall
10109 "clone".
10110 * gdb.base/step-over-clone.c: New file.
10111
10112 2016-03-03 Yao Qi <yao.qi@linaro.org>
10113
10114 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10115 code format.
10116
10117 2016-03-03 Yao Qi <yao.qi@linaro.org>
10118
10119 * gdb.base/disp-step-fork.c: Rename to ...
10120 * gdb.base/step-over-fork.c: ... it. New file.
10121 * gdb.base/disp-step-vfork.c: Rename to ...
10122 * gdb.base/step-over-vfork.c: ... it. New file.
10123 * gdb.base/disp-step-syscall.exp: Rename to ...
10124 * gdb.base/step-over-syscall.exp: ... it. New file.
10125 (disp_step_cross_syscall): Rename to ...
10126 (step_over_syscall): ... it.
10127
10128 2016-03-03 Yao Qi <yao.qi@linaro.org>
10129
10130 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10131 If target supports condition evaluation on target, invoke
10132 break_cond_on_syscall for fork and vfork.
10133
10134 2016-03-03 Yao Qi <yao.qi@linaro.org>
10135
10136 * gdb.base/disp-step-syscall.exp: Don't invoke
10137 support_displaced_stepping.
10138 (disp_step_cross_syscall): Test with displaced stepping off and
10139 on if supported.
10140
10141 2016-03-03 Yao Qi <yao.qi@linaro.org>
10142
10143 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10144 proc.
10145 (setup): New proc.
10146 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10147 and setup.
10148
10149 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10150
10151 * gdb.fortran/vla-history.exp: Remove breakpoint.
10152
10153 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10154
10155 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10156 exceeds timeout.
10157
10158 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10159
10160 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10161 breakpoint.
10162
10163 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10164
10165 * gdb.mi/vla.f90: Nullify pointer after declaration.
10166
10167 2016-03-01 Pedro Alves <palves@redhat.com>
10168
10169 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10170
10171 2016-03-01 Pedro Alves <palves@redhat.com>
10172
10173 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10174 before anything else.
10175 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10176 _GNU_SOURCE here.
10177 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10178 before anything else.
10179 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10180
10181 2016-03-01 Pedro Alves <palves@redhat.com>
10182
10183 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10184
10185 2016-03-01 Yao Qi <yao.qi@linaro.org>
10186
10187 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10188 prepare_for_testing.
10189
10190 2016-03-01 Yao Qi <yao.qi@linaro.org>
10191
10192 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10193
10194 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10195
10196 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10197 manually constructing the output path.
10198
10199 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10200
10201 * gdb.arch/s390-stackless.S: New.
10202 * gdb.arch/s390-stackless.exp: New.
10203
10204 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10205
10206 * gdb.dlang/circular.c: New file.
10207 * gdb.dlang/circular.exp: New file.
10208
10209 2016-02-26 Yao Qi <yao.qi@linaro.org>
10210
10211 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10212 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10213 (testcases): Update.
10214
10215 2016-02-26 Yao Qi <yao.qi@linaro.org>
10216
10217 * gdb.reverse/aarch64.c: Rename to ...
10218 * gdb.reverse/insn-reverse.c: ... it.
10219 * gdb.reverse/aarch64.exp: Rename to ...
10220 * gdb.reverse/insn-reverse.exp: ... it.
10221
10222 2016-02-26 Yao Qi <yao.qi@linaro.org>
10223
10224 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10225 (testcase_ftype): New.
10226 (testcases): New array.
10227 (n_testcases): New.
10228 (main): Call each element in testcases.
10229 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10230 (read_testcase): New.
10231 Do the tests in a loop.
10232
10233 2016-02-25 Yao Qi <yao.qi@linaro.org>
10234
10235 * gdb.base/branches.c: Remove.
10236
10237 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10238
10239 PR gdb/13808
10240 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10241
10242 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10243
10244 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10245
10246 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10247
10248 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10249 change x86_64 call_insn to 'callq'.
10250
10251 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10252
10253 * gdb.trace/tfile-avx.c: Move to...
10254 * gdb.trace/tracefile-pseudo-reg.c: Here.
10255 * gdb.trace/tfile-avx.exp: Move to...
10256 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10257
10258 2016-02-24 Gary Benson <gbenson@redhat.com>
10259
10260 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10261 message on attach.
10262
10263 2016-02-23 Doug Evans <dje@google.com>
10264
10265 * gdb.base/skip.c (test_skip): New function.
10266 (end_test_skip_file_and_function): New function.
10267 (test_skip_file_and_function): New function.
10268 * gdb.base/skip1.c (test_skip): New function.
10269 (skip1_test_skip_file_and_function): New function.
10270 * gdb.base/skip.exp: Add tests for new skip options.
10271 * gdb.base/skip-solib.exp: Update expected output.
10272 * gdb.perf/skip-command.cc: New file.
10273 * gdb.perf/skip-command.exp: New file.
10274 * gdb.perf/skip-command.py: New file.
10275
10276 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10277
10278 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10279 info registers pattern.
10280
10281 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10282
10283 * lib/future.exp: Add D support.
10284 (gdb_find_gdc): New proc.
10285 (gdb_default_target_compile): Add D support.
10286
10287 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10288
10289 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10290 user+system time.
10291 (trace_speed_test): Determine the iteration count for a time
10292 between 15..30 seconds.
10293
10294 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10295
10296 * gdb.arch/i386-mpx-sigsegv.c: New file.
10297 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10298 * gdb.arch/i386-mpx-simple_segv.c: New file.
10299 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10300
10301 2016-02-18 Yao Qi <yao.qi@linaro.org>
10302
10303 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10304 Don't call setup_kfail.
10305
10306 2016-02-18 Yao Qi <yao.qi@linaro.org>
10307
10308 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10309 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10310
10311 2016-02-16 Doug Evans <dje@google.com>
10312
10313 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10314 * gdb.base/skip1.c: Ditto.
10315 * gdb.base/skip.exp: Whitespace cleanup.
10316
10317 2016-02-16 Don Breazeal <donb@codesourcery.com>
10318
10319 PR remote/19496
10320 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10321 Remove kfail for PR remote/19496.
10322
10323 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10324
10325 * lib/gdb.exp (standard_temp_file): Return a path specific to
10326 the runtest invocation.
10327
10328 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10329
10330 * gdb.trace/save-trace.exp: Change relative path to be in the
10331 standard output directory.
10332
10333 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10334
10335 * gdb.arch/i386-prologue.c: Add missing prototypes.
10336
10337 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10338
10339 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10340 * gdb.arch/i386-prologue.exp: Likewise.
10341 * gdb.arch/i386-size.exp: Likewise.
10342
10343 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10344
10345 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10346 define object file path.
10347 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10348 file path.
10349 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10350 standard_output_file to define binfile.
10351
10352 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10353
10354 Fix compatibility with recent gfortran-5.3.1.
10355 * gdb.fortran/vla-history.exp (print vla1 allocated)
10356 (print vla2 allocated, print $2, print $3): Remove
10357 (print $4): Rename to ...
10358 (print $2): ... here.
10359 (print $9): Rename to ...
10360 (print $5): ... here.
10361 (print $10): Rename to ...
10362 (print $6): ... here.
10363 * gdb.fortran/vla.f90: Add pvla initialization.
10364
10365 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10366
10367 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10368 New test.
10369 * gdb.fortran/vla-value-sub.exp: Likewise.
10370
10371 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10372
10373 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10374
10375 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10376
10377 * i386-biarch-core.exp: Define corefile using
10378 standard_output_file.
10379
10380 2016-02-12 Yao Qi <yao.qi@linaro.org>
10381
10382 * gdb.arch/arm-single-step-kernel-helper.c: New.
10383 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10384
10385 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10386
10387 * gdb.btrace/tailcall-only.exp: New.
10388 * gdb.btrace/tailcall-only.c: New.
10389 * gdb.btrace/x86_64-tailcall-only.S: New.
10390 * gdb.btrace/i686-tailcall-only.S: New.
10391
10392 2016-02-11 Pedro Alves <palves@redhat.com>
10393
10394 * README (Parallel testing): Add missing double quotes.
10395
10396 2016-02-11 Pedro Alves <palves@redhat.com>
10397
10398 * README (Parallel testing): New section.
10399 (GDB_PARALLEL): Rewrite.
10400 (FORCE_PARALLEL): Document.
10401
10402 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10403
10404 * gdb.trace/tfile-avx.c: New test.
10405 * gdb.trace/tfile-avx.exp: New test.
10406
10407 2016-02-09 Keith Seitz <keiths@redhat.com>
10408
10409 PR breakpoints/19546
10410 * gdb.base/infcall-exec.c: New file.
10411 * gdb.base/infcall-exec2.c: New file.
10412 * gdb.base/infcall-exec.exp: New file.
10413
10414 2016-02-09 Keith Seitz <keiths@redhat.com>
10415
10416 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10417 (toplevel): Call test_bkpt_address.
10418
10419 2016-02-09 Keith Seitz <keiths@redhat.com>
10420
10421 PR python/19506
10422 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10423 (toplevel): Call test_bkpt_address.
10424
10425 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10426
10427 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10428 to AC_OUTPUT.
10429 * configure: Regenerate.
10430
10431 2016-02-09 Pedro Alves <palves@redhat.com>
10432
10433 PR breakpoints/19548
10434 * gdb.base/execl-update-breakpoints.c (some_function): New
10435 function.
10436 (main): Call it.
10437 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10438 Tighten expected GDB output.
10439
10440 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10441
10442 * Makefile.in (ALL_SUBDIRS): Remove.
10443 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10444 (distclean maintainer-clean realclean): Likewise.
10445 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10446 * configure: Regenerate.
10447 * gdb.ada/Makefile.in: Delete.
10448 * gdb.arch/Makefile.in: Likewise.
10449 * gdb.asm/Makefile.in: Likewise.
10450 * gdb.base/Makefile.in: Likewise.
10451 * gdb.btrace/Makefile.in: Likewise.
10452 * gdb.cell/Makefile.in: Likewise.
10453 * gdb.compile/Makefile.in: Likewise.
10454 * gdb.cp/Makefile.in: Likewise.
10455 * gdb.disasm/Makefile.in: Likewise.
10456 * gdb.dlang/Makefile.in: Likewise.
10457 * gdb.dwarf2/Makefile.in: Likewise.
10458 * gdb.fortran/Makefile.in: Likewise.
10459 * gdb.gdb/Makefile.in: Likewise.
10460 * gdb.go/Makefile.in: Likewise.
10461 * gdb.guile/Makefile.in: Likewise.
10462 * gdb.java/Makefile.in: Likewise.
10463 * gdb.linespec/Makefile.in: Likewise.
10464 * gdb.mi/Makefile.in: Likewise.
10465 * gdb.modula2/Makefile.in: Likewise.
10466 * gdb.multi/Makefile.in: Likewise.
10467 * gdb.objc/Makefile.in: Likewise.
10468 * gdb.opencl/Makefile.in: Likewise.
10469 * gdb.opt/Makefile.in: Likewise.
10470 * gdb.pascal/Makefile.in: Likewise.
10471 * gdb.perf/Makefile.in: Likewise.
10472 * gdb.python/Makefile.in: Likewise.
10473 * gdb.reverse/Makefile.in: Likewise.
10474 * gdb.server/Makefile.in: Likewise.
10475 * gdb.stabs/Makefile.in: Likewise.
10476 * gdb.threads/Makefile.in: Likewise.
10477 * gdb.trace/Makefile.in: Likewise.
10478 * gdb.xml/Makefile.in: Likewise.
10479 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10480 GDB_PARALLEL.
10481 (standard_output_file): Remove check for GDB_PARALLEL, always
10482 return path in outputs/$subdir/$testname.
10483
10484 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10485
10486 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10487 (site.exp): Assign abs_srcdir to tcl's srcdir.
10488
10489 2016-02-04 Yao Qi <yao.qi@linaro.org>
10490
10491 * gdb.base/foll-exec-mode.c: Include limits.h.
10492 (main): Add parameters argc and argv. Get directory from
10493 argv[0].
10494 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10495 compilation.
10496 * gdb.base/foll-exec.c: Include limits.h.
10497 (main): Add parameters argc and argv.
10498 Get directory from argv[0].
10499 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10500 Adjust tests on the number of lines as source code changed.
10501 * gdb.base/foll-vfork-exit.c: Include limits.h.
10502 (main): Add one line of statement before vfork.
10503 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10504 (main): Add parameters argc and argv. Get directory from
10505 argv[0].
10506 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10507 (setup_gdb): Set tbreak to skip some source lines.
10508 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10509 (main): Add parameters argc and argv. Get directory from
10510 argv[0].
10511 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10512 compilation.
10513 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10514 (main): Add parameters argc and argv. Get directory from
10515 argv[0].
10516 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10517 compilation.
10518
10519 2016-02-01 Doug Evans <dje@google.com>
10520
10521 * gdb.base/skip.exp: Clean up multiple references to same test name.
10522
10523 2016-02-01 Pedro Alves <palves@redhat.com>
10524
10525 PR remote/19496
10526 * gdb.threads/forking-threads-plus-breakpoint.exp
10527 (displaced_stepping_supported): New global.
10528 (probe_displaced_stepping_support): New procedure.
10529 (do_test): Add 'displaced' parameter, and use it.
10530 (top level): Check for displaced stepping support. Add displaced
10531 stepping on/off testing axis.
10532
10533 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10534
10535 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10536 pointer. Don't perform further tests on the unassociated pointer
10537 if the first test fails.
10538
10539 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10540
10541 * gdb.base/max-value-size.c: New file.
10542 * gdb.base/max-value-size.exp: New file.
10543 * gdb.base/huge.exp: Disable max-value-size for this test.
10544
10545 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10546
10547 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10548
10549 2016-01-28 Yao Qi <yao.qi@linaro.org>
10550
10551 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10552
10553 2016-01-25 Pedro Alves <palves@redhat.com>
10554
10555 PR threads/19461
10556 * gdb.base/fork-running-state.c: New file.
10557 * gdb.base/fork-running-state.exp: New file.
10558
10559 2016-01-25 Pedro Alves <palves@redhat.com>
10560
10561 PR gdb/19494
10562 * gdb.base/catch-fork-kill.c: New file.
10563 * gdb.base/catch-fork-kill.exp: New file.
10564
10565 2016-01-25 Pedro Alves <palves@redhat.com>
10566
10567 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10568 Delete, moved to lib/gdb.exp.
10569 * gdb.threads/forking-threads-plus-breakpoint.exp
10570 (foreach_with_prefix): Likewise.
10571 * gdb.threads/process-dies-while-handling-bp.exp
10572 (foreach_with_prefix): Likewise.
10573 * lib/gdb.exp (foreach_with_prefix): New procedure.
10574
10575 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10576
10577 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10578 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10579
10580 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10581
10582 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10583 endian targets.
10584
10585 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10586 Pedro Alves <palves@redhat.com>
10587
10588 Fix testsuite compatibility with Guile.
10589 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10590 number.
10591
10592 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10593
10594 Fix testsuite compatibility with Guile.
10595 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10596 (thread 1): New test for backtrace through signal handler.
10597
10598 2016-01-22 Yao Qi <yao.qi@linaro.org>
10599
10600 PR testsuite/19491
10601 * gdb.base/multi-forks.c: Include
10602 ../lib/unbuffer_output.c
10603 (main): Call gdb_unbuffer_output.
10604
10605 2016-01-21 Doug Evans <dje@google.com>
10606
10607 * lib/ada.exp (gdb_compile_ada): Fix typo.
10608
10609 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10610
10611 * gdb.base/break-fun-addr.exp: New file.
10612 * gdb.base/break-fun-addr1.c: New file.
10613 * gdb.base/break-fun-addr2.c: New file.
10614
10615 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10616
10617 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10618 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10619 enum flag values.
10620
10621 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10622
10623 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10624 when GDB can not set the vector return value. Add more comments
10625 for clarification.
10626
10627 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10628
10629 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10630 command.
10631
10632 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10633
10634 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10635
10636 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10637
10638 * Makefile.in (check-single): Pass --status to runtest.
10639 (check/%.exp): Likewise.
10640
10641 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10642
10643 * Makefile.in (check-parallel): Propagate return code from make
10644 do-check-parallel.
10645
10646 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10647
10648 * gdb.trace/ftrace.exp: Fix expected message on continue.
10649 * gdb.trace/pending.exp: Fix expected message on continue.
10650 * gdb.trace/trace-break.exp: Fix expected message on continue.
10651
10652 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10653
10654 * lib/gdb.exp (gdb_test): Remove unused global references.
10655
10656 2016-01-18 Pedro Alves <palves@redhat.com>
10657
10658 * gdb.base/async-shell.exp: Adjust expected output.
10659 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10660 * gdb.base/siginfo-thread.exp: Adjust expected output.
10661 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10662 * gdb.java/jnpe.exp: Adjust expected output.
10663 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10664 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10665 * gdb.threads/leader-exit.exp: Adjust expected output.
10666 * gdb.threads/manythreads.exp: Adjust expected output.
10667 * gdb.threads/pthreads.exp: Adjust expected output.
10668 * gdb.threads/schedlock.exp: Adjust expected output.
10669 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10670 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10671 expected output.
10672 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10673 output.
10674 * gdb.threads/sigthread.exp: Adjust expected output.
10675 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10676
10677 2016-01-18 Yao Qi <yao.qi@linaro.org>
10678
10679 * gdb.guile/scm-section-script.c: Replace @progbits with
10680 %progbits.
10681 * gdb.python/py-section-script.c: Likewise.
10682
10683 2016-01-15 Pedro Alves <palves@redhat.com>
10684
10685 * gdb.multi/tids.exp: Test star wildcard ranges.
10686
10687 2016-01-15 Pedro Alves <palves@redhat.com>
10688
10689 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10690 command from "thread apply" invocation.
10691 (thr_apply_info_thr_invalid): Default the expected output to the
10692 input tid list.
10693 (top level): Add tests that use convenience variables. Add tests
10694 for "thread apply" with a valid TID list, but missing the command.
10695
10696 2016-01-13 Pedro Alves <palves@redhat.com>
10697
10698 * gdb.base/default.exp: Expect $_gthread as well.
10699 * gdb.multi/tids.exp: Test $_gthread.
10700 * gdb.threads/thread-specific.exp: Test $_gthread.
10701
10702 2016-01-13 Pedro Alves <palves@redhat.com>
10703
10704 * gdb.multi/tids.exp: Test "info threads -gid".
10705
10706 2016-01-13 Pedro Alves <palves@redhat.com>
10707
10708 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10709 Breakpoint.thread.
10710 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10711
10712 2016-01-07 Pedro Alves <palves@redhat.com>
10713
10714 * gdb.base/break.exp: Adjust to output changes.
10715 * gdb.base/hbreak2.exp: Likewise.
10716 * gdb.base/sepdebug.exp: Likewise.
10717 * gdb.base/watch_thread_num.exp: Likewise.
10718 * gdb.linespec/keywords.exp: Likewise.
10719 * gdb.multi/info-threads.exp: Likewise.
10720 * gdb.threads/thread-find.exp: Likewise.
10721 * gdb.multi/tids.c: New file.
10722 * gdb.multi/tids.exp: New file.
10723
10724 2016-01-13 Pedro Alves <palves@redhat.com>
10725
10726 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10727
10728 2016-01-13 Pedro Alves <palves@redhat.com>
10729
10730 * gdb.base/default.exp: Expect $_inferior as well.
10731 * gdb.multi/base.exp: Test $_inferior.
10732
10733 2016-01-13 Pedro Alves <palves@redhat.com>
10734
10735 PR breakpoints/19388
10736 * gdb.base/catch-signal-siginfo-cond.c: New file.
10737 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10738
10739 2016-01-12 Josh Stone <jistone@redhat.com>
10740 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10741
10742 * gdb.base/catch-syscall.c (do_execve): New variable.
10743 (main): Conditionally trigger an execve.
10744 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10745 (test_catch_syscall_execve): New, check entry/return across execve.
10746 (do_syscall_tests): Call test_catch_syscall_execve.
10747
10748 2016-01-12 Pedro Alves <palves@redhat.com>
10749
10750 * gdb.base/random-signal.exp (do_test): New procedure, with body
10751 of testcase moved in.
10752
10753 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10754 Pedro Alves <palves@redhat.com>
10755
10756 * gdb.base/funcargs.exp (finish from indirectly called function):
10757 Reintroduce the case for 'First'.
10758
10759 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10760 Pedro Alves <palves@redhat.com>
10761
10762 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10763 (tcatch_vfork_then_child_follow_exec)
10764 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10765 identification.
10766
10767 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10768
10769 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10770 and repeats to unlimited.
10771 * gdb.python/py-value.exp: Likewise.
10772 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10773 and repeats to unlimited.
10774
10775 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10776
10777 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10778 and reordering the functions.
10779 * gdb.multi/hangout.c: Likewise.
10780 * gdb.multi/hello.c: Likewise.
10781
10782 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10783
10784 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10785 absolute.
10786 (SingleStatisticTestResult.report): Use dict.keys instead of
10787 dict.iterkeys.
10788
10789 2016-01-06 Pedro Alves <palves@redhat.com>
10790
10791 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10792
10793 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10794
10795 * gdb.btrace/dlopen.exp: New.
10796 * gdb.btrace/dlopen.c: New.
10797 * gdb.btrace/dlopen-dso.c: New.
10798
10799 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10800
10801 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10802 PATTERN argument is optional.
10803
10804 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10805
10806 * lib/ada.exp (target_compile_ada_from_dir): New function.
10807 (gdb_compile_ada): Reimplement avoiding the use of project files.
10808 * gdb.ada/gnat_ada.gpr: Delete.
10809 * gdb.ada/cond_lang.exp: Adjust test to make path before
10810 filename optional.
10811 * gdb.ada/small_reg_param.exp: Likewise.
10812
10813 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10814
10815 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10816
10817 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10818
10819 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10820 case.
10821
10822 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10823
10824 * gdb.base/break.exp: Remove dead code.
10825 * gdb.base/sepdebug.exp: Likewise.
10826
10827 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10828
10829 * gdb.asm/asm-source.exp: Remove HP-UX references.
10830 * gdb.base/annota1.exp: Likewise.
10831 * gdb.base/annota3.exp: Likewise.
10832 * gdb.base/attach.exp: Likewise.
10833 * gdb.base/bigcore.exp: Likewise.
10834 * gdb.base/break.exp: Likewise.
10835 * gdb.base/call-ar-st.exp: Likewise.
10836 * gdb.base/callfuncs.exp: Likewise.
10837 * gdb.base/catch-fork-static.exp: Likewise.
10838 * gdb.base/display.exp: Likewise.
10839 * gdb.base/foll-exec-mode.exp: Likewise.
10840 * gdb.base/foll-exec.exp: Likewise.
10841 * gdb.base/foll-fork.exp: Likewise.
10842 * gdb.base/foll-vfork.exp: Likewise.
10843 * gdb.base/funcargs.exp: Likewise.
10844 * gdb.base/hbreak2.exp: Likewise.
10845 * gdb.base/inferior-died.exp: Likewise.
10846 * gdb.base/interrupt.exp: Likewise.
10847 * gdb.base/multi-forks.exp: Likewise.
10848 * gdb.base/nodebug.exp: Likewise.
10849 * gdb.base/sepdebug.exp: Likewise.
10850 * gdb.base/solib1.c: Likewise.
10851 * gdb.base/step-test.exp: Likewise.
10852 * gdb.mi/non-stop.c: Likewise.
10853 * gdb.mi/pthreads.c: Likewise.
10854 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10855 * gdb.threads/pthreads.c: Likewise.
10856 * gdb.threads/staticthreads.exp: Likewise.
10857 * lib/future.exp: Likewise.
10858 * lib/gdb.exp: Likewise.
10859 * gdb.base/so-indr-cl.c: Remove.
10860 * gdb.base/so-indr-cl.exp: Likewise.
10861 * gdb.base/solib.c: Likewise.
10862 * gdb.base/solib.exp: Likewise.
10863 * gdb.base/solib2.c: Likewise.
10864
10865 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10866
10867 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10868 * gdb.base/call-ar-st.exp: Likewise.
10869 * gdb.base/callfuncs.exp: Likewise.
10870 * gdb.base/condbreak.exp: Likewise.
10871 * gdb.base/constvars.exp: Likewise.
10872 * gdb.base/hbreak2.exp: Likewise.
10873 * gdb.base/langs.exp: Likewise.
10874 * gdb.base/list.exp: Likewise.
10875 * gdb.base/long_long.exp: Likewise.
10876 * gdb.base/ptype.exp: Likewise.
10877 * gdb.base/scope.exp: Likewise.
10878 * gdb.base/signals.exp: Likewise.
10879 * gdb.base/so-impl-ld.exp: Likewise.
10880 * gdb.base/varargs.exp: Likewise.
10881 * gdb.base/volatile.exp: Likewise.
10882 * gdb.base/whatis.exp: Likewise.
10883 * gdb.cp/cplusfuncs.exp: Likewise.
10884 * gdb.cp/inherit.exp: Likewise.
10885 * gdb.cp/local.exp: Likewise.
10886 * gdb.cp/member-ptr.exp: Likewise.
10887 * gdb.cp/method.exp: Likewise.
10888 * gdb.cp/overload.exp: Likewise.
10889 * gdb.cp/templates.exp: Likewise.
10890 * gdb.stabs/weird.exp: Likewise.
10891 * lib/compiler.c: Likewise.
10892 * lib/compiler.cc: Likewise.
10893 * lib/cp-support.exp: Likewise.
10894 * lib/gdb.exp: Likewise.
10895
10896 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10897
10898 * configure.ac: Remove HP-UX case.
10899 * configure: Regenerate.
10900
10901 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10902
10903 * lib/gdb.exp (gdb_compile): Add function doc.
10904
10905 2015-12-17 Pedro Alves <palves@redhat.com>
10906
10907 PR threads/19354
10908 * gdb.multi/info-threads.exp: New file.
10909
10910 2015-12-15 Yao Qi <yao.qi@linaro.org>
10911
10912 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10913 is aarch64*-*-*.
10914
10915 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10916
10917 * gdb.base/history-duplicates.exp: Skip if no readline support.
10918
10919 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10920
10921 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10922
10923 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10924
10925 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10926
10927 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10928
10929 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10930 ctrl-C if nointerrupts target property is set.
10931 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10932 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10933 * gdb.base/paginate-bg-execution.exp: Likewise.
10934 * gdb.base/paginate-execution-startup.exp: Likewise.
10935 * gdb.base/random-signal.exp: Likewise.
10936 * gdb.base/range-stepping.exp: Likewise.
10937 * gdb.cp/annota2.exp: Likewise.
10938 * gdb.cp/annota3.exp: Likewise.
10939 * gdb.gdb/selftest.exp: Likewise.
10940 * gdb.threads/continue-pending-status.exp: Likewise.
10941 * gdb.threads/leader-exit.exp: Likewise.
10942 * gdb.threads/manythreads.exp: Likewise.
10943 * gdb.threads/pthreads.exp: Likewise.
10944 * gdb.threads/schedlock.exp: Likewise.
10945 * gdb.threads/sigthread.exp: Likewise.
10946
10947 2015-12-11 Don Breazeal <donb@codesourcery.com>
10948
10949 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10950 remote.
10951 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10952 * gdb.base/foll-exec.exp (main): Enable for target remote.
10953 * gdb.base/foll-fork.exp (main): Likewise.
10954 * gdb.base/foll-vfork.exp (main): Likewise.
10955 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10956 (proc continue_to_exit_bp_loc): Use clean_restart.
10957 * gdb.base/pie-execl.exp (main): Disable for target remote.
10958 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10959 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10960 * gdb.threads/execl.exp (main): Likewise.
10961 * gdb.threads/fork-child-threads.exp (main): Likewise.
10962 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10963 remote.
10964 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10965 remote.
10966 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10967 pid.tid style ptids, instead of just tid.
10968 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10969 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10970 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10971 ptids, instead of just tid.
10972
10973 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10974
10975 * gdb.base/list.exp (test_list_forward): Add end of file error
10976 test.
10977 (test_repeat_list_command): Add end of file error test.
10978 (test_list_backwards): Add beginning of file error test.
10979
10980 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10981
10982 * gdb.base/list.exp (test_list_invalid_args): New function,
10983 defined, and called.
10984
10985 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10986
10987 * gdb.base/list.exp (test_list): Make test names unique.
10988
10989 2015-12-11 Yao Qi <yao.qi@linaro.org>
10990
10991 * gdb.base/coremaker2.c: Remove.
10992
10993 2015-12-10 Pedro Alves <palves@redhat.com>
10994
10995 * gdb.multi/base.exp: Remove stale "spaces" references.
10996
10997 2015-12-10 Pedro Alves <palves@redhat.com>
10998
10999 * gdb.multi/base.exp: Don't use nowarnings.
11000 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11001 * gdb.multi/hangout.c: Include stdio.h.
11002 * gdb.multi/hello.c: Include stdlib.h.
11003 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11004 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11005 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11006
11007 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11008
11009 * gdb.dwarf2/dw2-ranges-base.c: New file.
11010 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11011 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11012 support additional line table, and debug ranges generation.
11013 (Dwarf::ranges): New function, generate .debug_ranges.
11014 (Dwarf::lines): Support generating simple line table programs.
11015 (Dwarf::assemble): Initialise new namespace variables.
11016
11017 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11018
11019 * gdb.base/async.exp (proc test_background): Add case for
11020 asynchronous execution not supported.
11021
11022 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11023
11024 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11025 format and change test names to make them unique.
11026
11027 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11028 Pedro Alves <pedro@redhat.com>
11029
11030 PR gdb/18702
11031 Add checking of floatformats setup on x86_64 hosts.
11032 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11033 (smallval, bigval): New labels/constants.
11034 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11035 float" after loading bigval and smallval.
11036
11037 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11038
11039 * gdb.ada/fun_overload_menu.exp: New testcase.
11040 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11041
11042 2015-12-04 Josh Stone <jistone@redhat.com>
11043
11044 * gdb.base/catch-fork-static.exp: New.
11045
11046 2015-12-03 Yao Qi <yao.qi@linaro.org>
11047
11048 * gdb.base/sizeof.c: Don't include stdio.h and
11049 ../lib/unbuffer_output.c.
11050 (main): New variable 'size' and 'value'. Remove printf and
11051 gdb_unbuffer_output. Assign return value to size and value.
11052 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11053 at the beginning.
11054 (check_sizeof): Check the result by printing variable 'size'.
11055 (check_valueof): Check the result by printing variable 'value'.
11056
11057 2015-12-01 Yao Qi <yao.qi@linaro.org>
11058
11059 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11060 for aarch64*-*-linux* target.
11061
11062 2015-11-30 Pedro Alves <palves@redhat.com>
11063
11064 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11065
11066 2015-11-30 Pedro Alves <palves@redhat.com>
11067
11068 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11069 Handle non-stop mode vCont replies.
11070
11071 2015-11-30 Pedro Alves <palves@redhat.com>
11072
11073 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11074 prepare_for_testing. Start gdb with "set non-stop on" appended to
11075 GDBFLAGS. Lax expected stop output.
11076
11077 2015-11-27 Yao Qi <yao.qi@linaro.org>
11078
11079 * gdb.arch/arm-neon.exp: New.
11080 * gdb.arch/arm-neon.c: New.
11081
11082 2015-11-27 Yao Qi <yao.qi@linaro.org>
11083
11084 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11085
11086 2015-11-27 Yao Qi <yao.qi@linaro.org>
11087
11088 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11089 frames-invalid annotation.
11090
11091 2015-11-27 Yao Qi <yao.qi@linaro.org>
11092
11093 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11094
11095 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11096
11097 * gdb.threads/names.exp: New file.
11098 * gdb.threads/names.c: New file.
11099 * README: Mention gdb,no_thread_names.
11100
11101 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11102
11103 PR 19297
11104 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11105 support" error.
11106
11107 2015-11-24 Pedro Alves <palves@redhat.com>
11108
11109 PR 17539
11110 * gdb.base/display.exp: Expect displays to be sorted in ascending
11111 order. Use multi_line.
11112 * gdb.base/solib-display.exp: Likewise.
11113
11114 2015-11-24 Pedro Alves <palves@redhat.com>
11115
11116 PR 17539
11117 * gdb.base/display.exp: Expect displays to be sorted in ascending
11118 order. Use multi_line.
11119 * gdb.base/solib-display.exp: Likewise.
11120
11121 2015-11-24 Pedro Alves <palves@redhat.com>
11122
11123 PR 17539
11124 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11125 threads in ascending order.
11126 * gdb.base/foll-fork.exp: Likewise.
11127 * gdb.base/foll-vfork.exp: Likewise.
11128 * gdb.base/multi-forks.exp: Likewise.
11129 * gdb.mi/mi-nonstop.exp: Likewise.
11130 * gdb.mi/mi-nsintrall.exp: Likewise.
11131 * gdb.multi/base.exp: Likewise.
11132 * gdb.multi/multi-arch.exp: Likewise.
11133 * gdb.python/py-inferior.exp: Likewise.
11134 * gdb.threads/break-while-running.exp: Likewise.
11135 * gdb.threads/execl.exp: Likewise.
11136 * gdb.threads/gcore-thread.exp: Likewise.
11137 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11138 * gdb.threads/kill.exp: Likewise.
11139 * gdb.threads/linux-dp.exp: Likewise.
11140 * gdb.threads/multiple-step-overs.exp: Likewise.
11141 * gdb.threads/next-bp-other-thread.exp: Likewise.
11142 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11143 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11144 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11145 * gdb.threads/thread-find.exp: Likewise.
11146 * gdb.threads/tls.exp: Likewise.
11147 * lib/mi-support.exp (mi_reverse_list): Delete.
11148 (mi_check_thread_states): No longer reverse list.
11149
11150 2015-11-24 Pedro Alves <palves@redhat.com>
11151
11152 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11153 use lowercase.
11154
11155 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11156
11157 * gdb.trace/actions.c: Include trace-common.h.
11158 (main): Add a location for a fast tracepoint.
11159 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11160 the normal tracepoints.
11161 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11162
11163 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11164
11165 * save-trace.exp: Factor out code to these...
11166 (gdb_save_tracepoints): New.
11167 (gdb_load_tracepoints): New.
11168 (do_save_load_test): New.
11169
11170 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11171
11172 * gdb.base/asmlabel.exp: New test.
11173 * gdb.base/asmlabel.c: New test case.
11174
11175 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11176
11177 * gdb.base/wrong_frame_bt_full-main.c: New file.
11178 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11179 * gdb.base/wrong_frame_bt_full.exp: New file.
11180
11181 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11182
11183 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11184
11185 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11186
11187 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11188 pstate register when comparing registers values in
11189 sparc64-*-linux-gnu targets to avoid spurious differences.
11190
11191 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11192
11193 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11194
11195 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11196
11197 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11198 as type argument to gdb_compile.
11199 * gdb.base/nested-subp2.exp: Likewise.
11200 * gdb.base/nested-subp3.exp: Likewise.
11201
11202 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11203
11204 * lib/dwarf.exp (_note): Fix left shift of negative value.
11205 * gdb.trace/trace-condition.exp: Likewise.
11206
11207 2015-11-13 Yao Qi <yao.qi@linaro.org>
11208
11209 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11210 comments about d10v.
11211 (test_scalar_returns): Likewise.
11212 * gdb.base/d10v.ld: Remove.
11213 * gdb.base/overlays.exp: Remove the target triplet checking for
11214 d10v-*-*.
11215 * gdb.base/structs.exp (test_struct_returns): Remove the
11216 comments about d10v.
11217 (test_struct_calls): Likewise.
11218
11219 2015-11-13 Yao Qi <yao.qi@linaro.org>
11220
11221 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11222 * gdb.base/gnu_vector.c: Don't include stdio.h.
11223 (main): Don't print res and call add_some_intvecs.
11224
11225 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11226
11227 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11228 macro.
11229 (func5): Removed.
11230 (func4): Use FAST_TRACEPOINT_LABEL.
11231 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11232 macro.
11233 (func): Removed.
11234 (thread_function): Use FAST_TRACEPOINT_LABEL.
11235 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11236 (func): Remove.
11237 (marker): Use FAST_TRACEPOINT_LABEL.
11238 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11239 (pendfunc1): Remove.
11240 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11241 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11242 (foo): Remove.
11243 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11244 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11245 macro.
11246 (func): Remove.
11247 (marker): Use FAST_TRACEPOINT_LABEL.
11248 * gdb.trace/trace-common.h: New header.
11249 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11250 macro.
11251 (func): Remove.
11252 (marker): Use FAST_TRACEPOINT_LABEL.
11253 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11254 (func): Remove.
11255 (thread_function): Use FAST_TRACEPOINT_LABEL.
11256
11257 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11258
11259 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11260 in front.
11261 * gdb.trace/change-loc.exp: Use global pcreg definition.
11262 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11263 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11264 in front.
11265 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11266 * gdb.trace/pending.exp: Likewise.
11267 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11268 * gdb.trace/trace-break.exp: Likewise.
11269 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11270 in front.
11271 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11272 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11273 in front.
11274 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11275
11276 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11277
11278 * gdb.ada/fin_fun_out: New testcase.
11279
11280 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11281
11282 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11283 value associated with DW_AT_byte_size.
11284 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11285 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11286 DW_AT_upper_bound.
11287
11288 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11289
11290 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11291 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11292 version.
11293 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11294 gdb.dwarf2/dw2-canonicalize-type.exp,
11295 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11296 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11297 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11298 provided by gdb_target_symbol_prefix_flags_asm.
11299 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11300 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11301 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11302 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11303 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11304 macros where needed). Use this macro for symbols which require
11305 the prefix provided by SYMBOL_PREFIX.
11306
11307 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11308
11309 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11310 New procs.
11311 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11312 representing expressions, of more than one list element.
11313 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11314 to prepend linker symbol prefix to f.
11315 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11316 table_1 and table_2.
11317 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11318 Likewise, for f and g.
11319 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11320 for ptr.
11321 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11322 for main.
11323 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11324 table_1_ptr and table_2_ptr.
11325
11326 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11327 Joel Brobecker <brobecker@adacore.com>
11328
11329 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11330
11331 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11332
11333 * gdb.reverse/s390-mvcle.c: New test.
11334 * gdb.reverse/s390-mvcle.exp: New file.
11335 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11336
11337 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11338
11339 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11340
11341 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11342
11343 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11344 reaching marker2.
11345 * gdb.reverse/getresuid-reverse.exp: Likewise.
11346 * gdb.reverse/pipe-reverse.exp: Likewise.
11347 * gdb.reverse/readv-reverse.exp: Likewise.
11348 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11349 * gdb.reverse/time-reverse.exp: Likewise.
11350 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11351
11352 2015-10-30 Yao Qi <yao.qi@linaro.org>
11353
11354 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11355 (empty_cycle): Remove.
11356 (main): Don't call empty_cycle. Don't use watch_count_done.
11357 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11358 empty_cycle. Rewrite the code counting HW watchpoints.
11359
11360 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11361
11362 * gdb.reverse/fstatat-reverse.c: New test.
11363 * gdb.reverse/fstatat-reverse.exp: New file.
11364 * gdb.reverse/getresuid-reverse.c: New test.
11365 * gdb.reverse/getresuid-reverse.exp: New file.
11366 * gdb.reverse/pipe-reverse.c: New test.
11367 * gdb.reverse/pipe-reverse.exp: New file.
11368 * gdb.reverse/readv-reverse.c: New test.
11369 * gdb.reverse/readv-reverse.exp: New file.
11370 * gdb.reverse/recvmsg-reverse.c: New test.
11371 * gdb.reverse/recvmsg-reverse.exp: New file.
11372 * gdb.reverse/time-reverse.c: New test.
11373 * gdb.reverse/time-reverse.exp: New file.
11374 * gdb.reverse/waitpid-reverse.c: New test.
11375 * gdb.reverse/waitpid-reverse.exp: New file.
11376
11377 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11378
11379 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11380
11381 2015-10-26 Doug Evans <dje@google.com>
11382
11383 PR symtab/17391
11384 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11385 * gdb.dwarf2/bad-regnum.c: New file.
11386 * gdb.dwarf2/bad-regnum.exp: New file.
11387
11388 2015-10-26 Doug Evans <dje@google.com>
11389
11390 PR python/18938
11391 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11392 file.
11393
11394 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11395
11396 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11397 for a change by "Mention language in compile error message".
11398
11399 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11400
11401 PR python/18073
11402 * gdb.python/py-type.c (C::a_method): New.
11403 (C::a_const_method): New.
11404 (C::a_static_method): New.
11405 (a_function): New.
11406 * gdb.python/py-type.exp (test_fields): Test getting fields
11407 from function and method.
11408
11409 2015-10-21 Keven Boell <keven.boell@intel.com>
11410
11411 * gdb.fortran/vla-alloc-assoc.exp: New file.
11412 * gdb.fortran/vla-datatypes.exp: New file.
11413 * gdb.fortran/vla-datatypes.f90: New file.
11414 * gdb.fortran/vla-history.exp: New file.
11415 * gdb.fortran/vla-ptype-sub.exp: New file.
11416 * gdb.fortran/vla-ptype.exp: New file.
11417 * gdb.fortran/vla-sizeof.exp: New file.
11418 * gdb.fortran/vla-sub.f90: New file.
11419 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11420 * gdb.fortran/vla-value-sub-finish.exp: New file.
11421 * gdb.fortran/vla-value-sub.exp: New file.
11422 * gdb.fortran/vla-value.exp: New file.
11423 * gdb.fortran/vla-ptr-info.exp: New file.
11424 * gdb.mi/mi-vla-fortran.exp: New file.
11425 * gdb.mi/vla.f90: New file.
11426
11427 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11428
11429 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11430 of hardwired timeout value.
11431
11432 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11433 Pedro Alves <palves@redhat.com>
11434
11435 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11436 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11437
11438 2015-10-19 Josh Stone <jistone@redhat.com>
11439
11440 * gdb.base/catch-syscall.c: Include <sched.h>.
11441 (unknown_syscall): New variable.
11442 (main): Trigger a vfork and an unknown syscall.
11443 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11444 (unknown_syscall_number): Likewise.
11445 (check_call_to_syscall): Accept an optional syscall pattern.
11446 (check_return_from_syscall): Likewise.
11447 (check_continue): Likewise.
11448 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11449 (test_catch_syscall_skipping_return): New test toggling off 'catch
11450 syscall' to step over the syscall return, then toggling back on.
11451 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11452 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11453 (do_syscall_tests): Call test_catch_syscall_without_args and
11454 test_catch_syscall_mid_vfork.
11455 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11456 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11457
11458 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11459
11460 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11461 print g_vE): Add new pass patterns.
11462 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11463 print various symbol names for vptr fields.
11464
11465 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11466
11467 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11468 results.
11469
11470 2015-10-12 Yao Qi <yao.qi@linaro.org>
11471
11472 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11473
11474 2015-10-12 Yao Qi <yao.qi@linaro.org>
11475
11476 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11477 is aarch64*-*-linux*.
11478
11479 2015-10-12 Yao Qi <yao.qi@linaro.org>
11480
11481 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11482 (can_relocate_bcond_true): ... it.
11483 (can_relocate_bcond_false): New function.
11484 (foo): Likewise.
11485 (can_relocate_bl): Likewise.
11486 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11487 can_relocate_bl.
11488
11489 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11490
11491 * gdb.base/nested-addr.c: New file.
11492 * gdb.base/nested-addr.exp: New testcase.
11493
11494 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11495
11496 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11497 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11498 its output. Ignore the output of "record goto begin" and instead
11499 check that GDB is replaying.
11500
11501 2015-10-09 Pedro Alves <palves@redhat.com>
11502
11503 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11504 (top level): Use it in the run with no args test.
11505
11506 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11507
11508 * gdb.dlang/properties.exp: New file.
11509
11510 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11511
11512 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11513 whether or not address 0x1000 is mapped on the target.
11514
11515 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11516
11517 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11518 build.
11519
11520 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11521
11522 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11523 instruction-history test.
11524
11525 2015-09-28 Doug Evans <dje@google.com>
11526
11527 * gdb.base/gcore.c (array_func): Add reference to static_array.
11528
11529 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11530
11531 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11532 source line.
11533
11534 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11535
11536 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11537 short or char as base type.
11538
11539 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11540
11541 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11542 to allow any size enum.
11543
11544 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11545
11546 * gdb.ada/array_ptr_renaming.exp: New testcase.
11547 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11548 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11549
11550 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11551
11552 * gdb.trace/ftrace-lock.c: New file.
11553 * gdb.trace/ftrace-lock.exp: New file.
11554
11555 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11556
11557 * gdb.arch/insn-reloc.c: New file.
11558 * gdb.arch/ftrace-insn-reloc.exp: New file.
11559
11560 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11561
11562 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11563 instruction.
11564 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11565 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11566 * gdb.trace/range-stepping.c: Likewise.
11567 * gdb.trace/trace-break.c: Likewise.
11568 * gdb.trace/trace-mt.c (thread_function): Likewise.
11569 * gdb.trace/ftrace.c (marker): Likewise.
11570 * gdb.trace/trace-condition.c (marker): Likewise.
11571 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11572 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11573 is_aarch64_target.
11574
11575 2015-09-18 Doug Evans <xdje42@gmail.com>
11576
11577 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11578 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11579
11580 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11581
11582 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11583 the breakpoint.
11584
11585 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11586
11587 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11588 the pending breakpoint. Remove timeout override for "Run till
11589 MI pending breakpoint on pendfunc3 on thread 2" test.
11590
11591 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11592
11593 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11594 filename pattern.
11595
11596 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11597
11598 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11599 in breakpoint filename pattern.
11600
11601 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11602
11603 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11604
11605 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11606
11607 * gdb.linespec/explicit.exp: Check for readline support for
11608 tab-completion tests. Fix obvious typo.
11609
11610 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11611
11612 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11613 and replay.
11614
11615 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11616
11617 * gdb.btrace/non-stop.c: New.
11618 * gdb.btrace/non-stop.exp: New.
11619
11620 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11621 Yao Qi <yao.qi@linaro.org>
11622
11623 * gdb.trace/trace-condition.c: New file.
11624 * gdb.trace/trace-condition.exp: New file.
11625
11626 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11627
11628 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11629 for testing bytecode compilation.
11630
11631 2015-09-16 Pedro Alves <palves@redhat.com>
11632 Sandra Loosemore <sandra@codesourcery.com>
11633
11634 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11635 (SECONDS): Redefine.
11636 (main): Call pthread_kill and alarm early.
11637 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11638 support.
11639 (test): If the target can't hardware step and doesn't support
11640 displaced stepping, increase the timeout.
11641
11642 2015-09-16 Pedro Alves <palves@redhat.com>
11643
11644 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11645 (enable_debug): New procedures.
11646 (test): Use them. Bail out if waiting for threads fails.
11647 (top level): Bail out if a test fails.
11648
11649 2015-09-16 Yao Qi <yao.qi@linaro.org>
11650
11651 * gdb.asm/asm-source.exp: Set asm-arch for
11652 aarch64*-*-* target.
11653 * gdb.asm/aarch64.inc: New file.
11654
11655 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11656
11657 * gdb.ada/array_of_variable_length.exp: New testcase.
11658 * gdb.ada/array_of_variable_length/foo.adb: New file.
11659 * gdb.ada/array_of_variable_length/pck.adb: New file.
11660 * gdb.ada/array_of_variable_length/pck.ads: New file.
11661
11662 2015-09-15 Doug Evans <dje@google.com>
11663
11664 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11665 of function static local variable.
11666
11667 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11668
11669 * gdb.threads/tls-so_extern.exp: New test file.
11670 * gdb.threads/tls-so_extern.c: New test file.
11671 * gdb.threads/tls-so_extern_main.c: New test file.
11672
11673 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11674
11675 * gdb.opt/solib-intra-step-lib.c: New file.
11676 * gdb.opt/solib-intra-step-main.c: New file.
11677 * gdb.opt/solib-intra-step.exp: New file.
11678
11679 2015-09-15 Pedro Alves <palves@redhat.com>
11680
11681 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11682 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11683
11684 2015-09-14 Pedro Alves <palves@redhat.com>
11685
11686 * gdb.base/hook-stop-continue.c: Delete.
11687 * gdb.base/hook-stop-continue.exp: Delete.
11688 * gdb.base/hook-stop-frame.c: Delete.
11689 * gdb.base/hook-stop-frame.exp: Delete.
11690 * gdb.base/hook-stop.c: New file.
11691 * gdb.base/hook-stop.exp: New file.
11692
11693 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11694
11695 * gdb.ada/access_to_packed_array.exp: New testcase.
11696 * gdb.ada/access_to_packed_array/foo.adb: New file.
11697 * gdb.ada/access_to_packed_array/pack.adb: New file.
11698 * gdb.ada/access_to_packed_array/pack.ads: New file.
11699
11700 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11701
11702 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11703 buffer size test.
11704
11705 2015-09-11 Don Breazeal <donb@codesourcery.com>
11706
11707 * gdb.base/foll-exec.c: Add copyright header. Fix
11708 formatting issues.
11709 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11710 (do_exec_tests): Use clean_restart in place of zap_session,
11711 and for test initialization. Fix formatting issues. Use
11712 fail in place of perror.
11713 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11714 an expect statement to match an expression with output from
11715 the program under debug.
11716 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11717 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11718 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11719 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11720 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11721
11722 2015-09-09 Doug Evans <dje@google.com>
11723
11724 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11725
11726 2015-09-09 Doug Evans <dje@google.com>
11727
11728 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11729
11730 2015-09-09 Doug Evans <dje@google.com>
11731
11732 * gdb.base/savedregs.exp: Fix typo.
11733
11734 2015-09-09 Pedro Alves <palves@redhat.com>
11735
11736 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11737
11738 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11739
11740 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11741 command actually switches threads. Give up on remaining
11742 tests if target fails to stop at breakpoint.
11743
11744 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11745
11746 * gdb.ada/funcall_char.exp: New testcase.
11747 * gdb.ada/funcall_char/foo.adb: New file.
11748
11749 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11750
11751 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11752 expected outputs. Add two testcases for completing ambiguous
11753 functions.
11754 * gdb.ada/complete/aux_pck.adb: New file.
11755 * gdb.ada/complete/aux_pck.ads: New file.
11756 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11757 Ambiguous_Func functions.
11758 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11759 * gdb.ada/complete/pck.adb: Likewise.
11760
11761 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11762
11763 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11764 failures to run the test program under GDB.
11765
11766 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11767
11768 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11769 to C.
11770
11771 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11772
11773 * gdb.base/run-after-attach.exp: New test file.
11774 * gdb.base/run-after-attach.c: New test file.
11775
11776 2015-08-26 Don Breazeal <donb@codesourcery.com>
11777
11778 * gdb.base/foll-exec-2.c: New test program.
11779 * gdb.base/foll-exec-2.exp: New test.
11780
11781 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11782
11783 * gdb.base/nested-subp1.exp: New file.
11784 * gdb.base/nested-subp1.c: New file.
11785 * gdb.base/nested-subp2.exp: New file.
11786 * gdb.base/nested-subp2.c: New file.
11787 * gdb.base/nested-subp3.exp: New file.
11788 * gdb.base/nested-subp3.c: New file.
11789
11790 2015-08-24 Pedro Alves <palves@redhat.com>
11791
11792 * gdb.server/connect-without-multi-process.c: New file.
11793 * gdb.server/connect-without-multi-process.exp: New file.
11794
11795 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11796
11797 * gdb.opt/inline-markers.c: Make z int.
11798
11799 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11800
11801 * gdb.opt/inline-markers.c: Make z volatile.
11802
11803 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11804
11805 * gdb.opt/inline-bt.c: New volatile global z.
11806 * gdb.opt/inline-cmds.c: Likewise.
11807 * gdb.opt/inline-locals.c: Likewise.
11808 * gdb.opt/inline-markers.c: New extern global z.
11809 (marker): Use z.
11810 (inline_fn): Likewise.
11811
11812 2015-08-24 Pedro Alves <palves@redhat.com>
11813
11814 * config/m32r-stub.exp: Remove file.
11815 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11816 * gdb.base/call-rt-st.exp: Likewise.
11817 * gdb.base/call-strs.exp: Likewise.
11818 * gdb.base/default.exp: Remove references to h8300-*-hms and
11819 *-*-udi*.
11820 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11821
11822 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11823
11824 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11825 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11826 and "return" use KFAIL when GDB can not read/write the vector
11827 return value.
11828
11829 2015-08-21 Gary Benson <gbenson@redhat.com>
11830
11831 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11832
11833 2015-08-20 Pedro Alves <palves@redhat.com>
11834
11835 * gdb.server/solib-list.exp: No longer expect an interior stop in
11836 non-stop mode.
11837
11838 2015-08-20 Pedro Alves <palves@redhat.com>
11839
11840 * gdb.server/connect-stopped-target.c: New file.
11841 * gdb.server/connect-stopped-target.exp: New file.
11842
11843 2015-08-20 Pedro Alves <palves@redhat.com>
11844
11845 * gdb.dwarf2/comp-unit-lang.exp: New file.
11846 * gdb.dwarf2/comp-unit-lang.c: New file.
11847
11848 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11849
11850 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11851 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11852
11853 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11854
11855 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11856 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11857
11858 2015-08-18 Doug Evans <dje@google.com>
11859 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11860
11861 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11862 skip_python_tests. New arg prompt_regexp.
11863 (skip_python_tests): New function.
11864 * lib/mi-support.exp (mi_skip_python_tests): New function.
11865 * gdb.python/py-mi-objfile-gdb.py: New file.
11866 * gdb.python/py-mi-objfile.c: New file.
11867 * gdb.python/py-mi-objfile.exp: New file.
11868
11869 2015-08-17 Keith Seitz <keiths@redhat.com>
11870
11871 * gdb.linespec/explicit.exp: Move strace test from here ...
11872 * gdb.trace/strace.exp: ... to here.
11873
11874 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11875
11876 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11877 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11878
11879 2015-08-14 Doug Evans <xdje42@gmail.com>
11880
11881 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11882 inferior before selecting a new file.
11883
11884 2015-08-14 Doug Evans <xdje42@gmail.com>
11885
11886 * gdb.mi/mi-disassemble.exp: Update.
11887 * gdb.base/disasm-optim.S: New file.
11888 * gdb.base/disasm-optim.c: New file.
11889 * gdb.base/disasm-optim.h: New file.
11890 * gdb.base/disasm-optim.exp: New file.
11891
11892 2015-08-14 Keith Seitz <keiths@redhat.com>
11893
11894 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11895 "evaluated-by".
11896
11897 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11898
11899 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11900
11901 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11902
11903 * gdb.ada/fun_renaming.exp: New testcase.
11904 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11905 * gdb.ada/fun_renaming/pack.adb: New file.
11906 * gdb.ada/fun_renaming/pack.ads: New file.
11907
11908 2015-08-12 Keith Seitz <keiths@redhat.com>
11909
11910 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11911 gdb_get_line_number.
11912
11913 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11914
11915 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11916 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11917 gdb.base/dso2dso.exp: New files.
11918
11919 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11920 Pedro Alves <palves@redhat.com>
11921 Keith Seitz <keiths@redhat.com>
11922
11923 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11924 GDBFLAGS.
11925
11926 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11927
11928 * gdb.base/gdbhistsize-history.exp
11929 (test_histsize_history_setting): Use save_vars.
11930 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11931 Use save_vars.
11932 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11933 * gdb.base/readline.exp: Use save_vars.
11934
11935 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11936
11937 * lib/gdb.exp (save_vars): New proc.
11938
11939 2015-08-11 Keith Seitz <keiths@redhat.com>
11940
11941 * gdb.base/help.exp: Update help_breakpoint_text.
11942
11943 2015-08-11 Keith Seitz <keiths@redhat.com>
11944
11945 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11946 (at toplevel): Call test_explicit_breakpoints.
11947 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11948 breakpoints.
11949 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11950 breakpoint conditions, "-cond".
11951
11952 2015-08-11 Keith Seitz <keiths@redhat.com>
11953
11954 * gdb.linespec/3explicit.c: New file.
11955 * gdb.linespec/cpexplicit.cc: New file.
11956 * gdb.linespec/cpexplicit.exp: New file.
11957 * gdb.linespec/explicit.c: New file.
11958 * gdb.linespec/explicit.exp: New file.
11959 * gdb.linespec/explicit2.c: New file.
11960 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11961 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11962 before using in the matching pattern.
11963 Clarify that `prefix' is a regular expression.
11964
11965 2015-08-11 Keith Seitz <keiths@redhat.com>
11966
11967 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11968 test.
11969 Add tests for missing ",FMT" and ",".
11970
11971 2015-08-10 Doug Evans <dje@google.com>
11972 Keith Seitz <keiths@redhat.com>
11973
11974 PR gdb/17960
11975 * gdb.base/completion.exp: Add location completer tests.
11976
11977 2015-08-07 Pedro Alves <palves@redhat.com>
11978
11979 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11980 tests here.
11981 (top level): Run do_test with and without displaced stepping.
11982
11983 2015-08-07 Pedro Alves <palves@redhat.com>
11984
11985 * gdb.base/valgrind-disp-step.c: New file.
11986 * gdb.base/valgrind-disp-step.exp: New file.
11987
11988 2015-08-07 Pedro Alves <palves@redhat.com>
11989
11990 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11991 Delete function.
11992 (main): Add alarm. Run an infinite loop instead of calling
11993 wait_threads.
11994 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11995 comment.
11996 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11997 Delete function.
11998 (main): Add alarm. Run an infinite loop instead of calling
11999 wait_threads.
12000 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12001 comment.
12002
12003 2015-08-07 Pedro Alves <palves@redhat.com>
12004
12005 * gdb.base/checkpoint-ns.exp: New file.
12006 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12007 standard_testfile.
12008
12009 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12010
12011 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12012 * gdb.btrace/instruction_history.exp: Update.
12013 * gdb.btrace/tsx.exp: New.
12014 * gdb.btrace/tsx.c: New.
12015
12016 2015-08-06 Pedro Alves <palves@redhat.com>
12017
12018 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12019 increase timeout.
12020 * gdb.reverse/until-precsave.exp: Bump timeouts.
12021
12022 2015-08-06 Pedro Alves <palves@redhat.com>
12023
12024 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12025
12026 2015-08-06 Pedro Alves <palves@redhat.com>
12027
12028 PR gdb/18749
12029 * gdb.threads/process-dies-while-handling-bp.c: New file.
12030 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12031
12032 2015-08-06 Pedro Alves <palves@redhat.com>
12033
12034 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12035 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12036
12037 2015-08-05 Pedro Alves <palves@redhat.com>
12038
12039 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12040 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12041
12042 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12043
12044 * gdb.base/bp-permanent.exp: Report test as unsupported if
12045 the target cannot stop at the permanent breakpoint.
12046
12047 2015-08-03 Doug Evans <dje@google.com>
12048
12049 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12050 10000.
12051
12052 2015-08-03 Doug Evans <dje@google.com>
12053
12054 * Makefile.in (workers/%.worker, build-perf): New rule.
12055 (GDB_PERFTEST_MODE): New variable.
12056 (check-perf): Use it.
12057 (clean): Clean up gdb.perf parallel build subdirs.
12058 * lib/build-piece.exp: New file.
12059 * lib/gdb.exp (make_gdb_parallel_path): New function
12060 (standard_output_file, standard_temp_file): Call it.
12061 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12062 of $GDB_PARALLEL.
12063 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12064
12065 2015-08-03 Doug Evans <dje@google.com>
12066
12067 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12068 (LOG_FILE_NAME): New global.
12069 (TextReporter.__init__): Initialize self.txt_sum.
12070 (TextReporter.report): Add support for multiple data-points.
12071 Move report to perftest.sum, put raw data in perftest.log.
12072 (TextReporter.start): Open sum and log files.
12073 (TextReporter.end): Close sum and log files.
12074 * gdb.perf/lib/perftest/testresult.py
12075 (SingleStatisticTestResult.record): Handle multiple data-points.
12076
12077 2015-07-31 Pedro Alves <palves@redhat.com>
12078
12079 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12080 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12081 kill_wait_spawned_process instead of explicit "kill -9".
12082 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12083 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12084 kill_wait_spawned_process.
12085 * gdb.base/attach-twice.exp: Likewise.
12086 * gdb.base/attach.exp: Likewise.
12087 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12088 gdb_test_multiple.
12089 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12090 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12091 kill_wait_spawned_process.
12092 * gdb.base/valgrind-infcall.exp: Likewise.
12093 * gdb.multi/multi-attach.exp: Likewise.
12094 * gdb.python/py-prompt.exp: Likewise.
12095 * gdb.python/py-sync-interp.exp: Likewise.
12096 * gdb.server/ext-attach.exp: Likewise.
12097 * gdb.threads/attach-into-signal.exp (corefunc): Use
12098 spawn_wait_for_attach, spawn_id_get_pid and
12099 kill_wait_spawned_process.
12100 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12101 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12102 spawn_id_get_pid and kill_wait_spawned_process.
12103 * gdb.threads/attach-stopped.exp (corefunc): Use
12104 spawn_wait_for_attach, spawn_id_get_pid and
12105 kill_wait_spawned_process.
12106 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12107 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12108 kill_wait_spawned_process instead of explicit "kill -9".
12109 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12110 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12111 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12112 processes. Don't map cygwin/windows pids here. Now returns a
12113 spawn id list.
12114
12115 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12116
12117 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12118 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12119 correct patch.
12120
12121 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12122
12123 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12124
12125 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12126
12127 Reapply:
12128 2014-05-21 Mark Wielaard <mjw@redhat.com>
12129
12130 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12131
12132 2015-07-30 Pedro Alves <palves@redhat.com>
12133
12134 * linux-low.c (handle_extended_wait): Set the child's last
12135 reported status to TARGET_WAITKIND_STOPPED.
12136
12137 2015-07-30 Pedro Alves <palves@redhat.com>
12138
12139 PR threads/18600
12140 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12141 only shows inferior 1.
12142
12143 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12144 Pedro Alves <palves@redhat.com>
12145
12146 PR threads/18600
12147 * gdb.threads/fork-plus-threads.c: New file.
12148 * gdb.threads/fork-plus-threads.exp: New file.
12149
12150 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12151
12152 * gdb.base/batch-preserve-term-settings.exp
12153 (test_terminal_settings_preserved_after_cli_exit): Use
12154 send_quit_command.
12155
12156 2015-07-29 Pedro Alves <palves@redhat.com>
12157 Don Breazeal <donb@codesourcery.com>
12158
12159 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12160 output from both inferior_spawn_id and gdb_spawn_id.
12161
12162 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12163
12164 * gdb.threads/attach-into-signal.exp (corefunc): Use
12165 with_test_prefix on nested loops, uniquefying the test messages.
12166
12167 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12168
12169 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12170 commit.
12171
12172 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12173
12174 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12175 New proc.
12176 (test_terminal_settings_preserved_after_sigterm): New test.
12177
12178 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12179
12180 * gdb.base/batch-preserve-term-settings.exp
12181 (test_terminal_settings_preserved_after_cli_exit): New test.
12182
12183 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12184
12185 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12186 manipulation of saved_gdbflags.
12187 (test_terminal_settings_preserved): Remove global declaration of
12188 the unused variable pagination_prompt. Remove manipulation of
12189 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12190 GDBFLAGS.
12191
12192 2015-07-29 Pedro Alves <palves@redhat.com>
12193
12194 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12195
12196 2015-07-29 Pedro Alves <palves@redhat.com>
12197
12198 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12199 at the top.
12200
12201 2015-07-29 Pedro Alves <palves@redhat.com>
12202
12203 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12204 (main): Call gdb_unbuffer_output.
12205 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12206 (main): Call gdb_unbuffer_output.
12207 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12208 (main): Call gdb_unbuffer_output.
12209 * gdb.base/call-strs.exp: Adjust to step over the
12210 gdb_unbuffer_output call.
12211 * gdb.base/catch-gdb-caused-signals.c: Include
12212 "../lib/unbuffer_output.c".
12213 (main): Call gdb_unbuffer_output.
12214 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12215 (main): Call gdb_unbuffer_output.
12216 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12217 (main): Call gdb_unbuffer_output.
12218 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12219 (main): Call gdb_unbuffer_output.
12220 * gdb.base/shlib-call.exp: Adjust to step over the
12221 gdb_unbuffer_output call.
12222 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12223 (main): Call gdb_unbuffer_output.
12224 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12225 (main): Call gdb_unbuffer_output.
12226 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12227 (main): Rename to ...
12228 (test): ... this.
12229 (main): Reimplement.
12230 * gdb.base/varargs.exp: Run to test instead of to main.
12231 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12232 (main): Call gdb_unbuffer_output.
12233
12234 2015-07-29 Pedro Alves <palves@redhat.com>
12235
12236 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12237 factore out from mi_continue_dprintf. For call-style dprintfs,
12238 expect dprintf output out of $inferior_spawn_id.
12239 (mi_continue_dprintf): Use mi_expect_dprintf.
12240 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12241 (main): Call gdb_unbuffer_output.
12242
12243 2015-07-29 Pedro Alves <palves@redhat.com>
12244
12245 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12246 (default_mi_gdb_start): Set inferior_spawn_id instead of
12247 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12248 gdb_spawn_id.
12249 (mi_gdb_test): Always expect inferior output from both
12250 $inferior_spawn_id and $gdb_spawn_id.
12251
12252 2015-07-29 Pedro Alves <palves@redhat.com>
12253
12254 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12255 send_inferior and $inferior_spawn_id.
12256
12257 2015-07-29 Pedro Alves <palves@redhat.com>
12258
12259 * gdb.gdb/complaints.exp (test_initial_complaints)
12260 (test_serial_complaints, test_short_complaints): Use
12261 gdb_test_stdio.
12262 (test_empty_complaint): Handle $inferior_spawn_id !=
12263 $gdb_spawn_id.
12264
12265 2015-07-29 Pedro Alves <palves@redhat.com>
12266
12267 * gdb.base/varargs.exp: Use gdb_test_stdio.
12268
12269 2015-07-29 Pedro Alves <palves@redhat.com>
12270
12271 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12272
12273 2015-07-29 Pedro Alves <palves@redhat.com>
12274
12275 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12276
12277 2015-07-29 Pedro Alves <palves@redhat.com>
12278
12279 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12280 parameter into two new parameters, "inf_result" and "gdb_result".
12281 Expect inferior output and gdb output from $inferior_spawn_id and
12282 $gdb_spawn_id, respectively. Adjust all callers.
12283
12284 2015-07-29 Pedro Alves <palves@redhat.com>
12285
12286 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12287 of gdb_test_sequence.
12288
12289 2015-07-29 Pedro Alves <palves@redhat.com>
12290
12291 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12292 (saw_spurious_output): Expect inferior output from
12293 $inferior_spawn_id. Use gdb_test_stdio.
12294
12295 2015-07-29 Pedro Alves <palves@redhat.com>
12296
12297 * gdb.base/dprintf.exp: Use standard_testfile. Change
12298 prepare_for_testing call.
12299 (srcfile): Don't set.
12300 (restart): New procedure.
12301 (test_dprintf): New procecure, use to continue over dprintfs.
12302 (test_call, test_agent): New procedures, tests moved here.
12303 Restart gdb and recreate dprintfs. Adjust expected output.
12304
12305 2015-07-29 Pedro Alves <palves@redhat.com>
12306
12307 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12308
12309 2015-07-29 Pedro Alves <palves@redhat.com>
12310
12311 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12312
12313 2015-07-29 Pedro Alves <palves@redhat.com>
12314
12315 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12316 gdb_test_stdio.
12317
12318 2015-07-29 Pedro Alves <palves@redhat.com>
12319
12320 * lib/gdb.exp (gdb_test_stdio): New procedure.
12321
12322 2015-07-29 Pedro Alves <palves@redhat.com>
12323
12324 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12325
12326 2015-07-29 Pedro Alves <palves@redhat.com>
12327
12328 * gdb.base/call-signal-resume.exp: Remove check for
12329 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12330 * gdb.base/unwindonsignal.exp: Likewise.
12331 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12332 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12333
12334 2015-07-29 Pedro Alves <palves@redhat.com>
12335
12336 * gdb.base/siginfo-addr.c (pass): New function.
12337 (handler): Call it iff si_addr is correct.
12338 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12339 Set a breakpoint at "pass" and continue to it.
12340
12341 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12342
12343 * gdb.python/py-objfile.exp: Make some tests have unique names.
12344 * gdb.python/py-pp-registration.exp: Likewise.
12345
12346 2015-07-28 Pedro Alves <palves@redhat.com>
12347
12348 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12349
12350 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12351
12352 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12353
12354 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12355
12356 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12357
12358 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12359
12360 * gdb.base/gdb-sigterm-2.exp: New test.
12361
12362 2015-07-25 Doug Evans <xdje42@gmail.com>
12363
12364 Revert:
12365 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12366 (workers/%.worker, build-perf): New rule.
12367 (GDB_PERFTEST_MODE): New variable.
12368 (check-perf): Use it.
12369 (clean): Clean up gdb.perf parallel build subdirs.
12370 * lib/build-piece.exp: New file.
12371 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12372 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12373 name.
12374 (standard_temp_file): Ditto.
12375 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12376 of $GDB_PARALLEL.
12377
12378 2015-07-24 Doug Evans <dje@google.com>
12379
12380 * gdb.perf/lib/perftest/utils.py: New file.
12381 * gdb.perf/gm-hello.cc: New file.
12382 * gdb.perf/gm-pervasive-typedef.cc: New file.
12383 * gdb.perf/gm-pervasive-typedef.h: New file.
12384 * gdb.perf/gm-std.cc: New file.
12385 * gdb.perf/gm-std.h: New file.
12386 * gdb.perf/gm-use-cerr.cc: New file.
12387 * gdb.perf/gm-utils.h: New file.
12388 * gdb.perf/gmonster-null-lookup.py: New file.
12389 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12390 * gdb.perf/gmonster-print-cerr.py: New file.
12391 * gdb.perf/gmonster-ptype-string.py: New file.
12392 * gdb.perf/gmonster-runto-main.py: New file.
12393 * gdb.perf/gmonster-select-file.py: New file.
12394 * gdb.perf/gmonster1-null-lookup.exp: New file.
12395 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12396 * gdb.perf/gmonster1-print-cerr.exp: New file.
12397 * gdb.perf/gmonster1-ptype-string.exp: New file.
12398 * gdb.perf/gmonster1-runto-main.exp: New file.
12399 * gdb.perf/gmonster1-select-file.exp: New file.
12400 * gdb.perf/gmonster1.cc: New file.
12401 * gdb.perf/gmonster1.exp: New file.
12402 * gdb.perf/gmonster2-null-lookup.exp: New file.
12403 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12404 * gdb.perf/gmonster2-print-cerr.exp: New file.
12405 * gdb.perf/gmonster2-ptype-string.exp: New file.
12406 * gdb.perf/gmonster2-runto-main.exp: New file.
12407 * gdb.perf/gmonster2-select-file.exp: New file.
12408 * gdb.perf/gmonster2.cc: New file.
12409 * gdb.perf/gmonster2.exp: New file.
12410
12411 2015-07-24 Doug Evans <dje@google.com>
12412
12413 * gdb.perf/README: New file.
12414 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12415 * lib/gen-perf-test.exp: New file.
12416
12417 2015-07-24 Doug Evans <dje@google.com>
12418
12419 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12420 (PerfTest::startup): New function.
12421 (PerfTest::run): Return result of calling body.
12422 (PerfTest::assemble): Rewrite.
12423 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12424 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12425 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12426 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12427 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12428
12429 2015-07-24 Doug Evans <dje@google.com>
12430
12431 * lib/gdb.exp (clean_restart): Make executable optional.
12432
12433 2015-07-24 Doug Evans <dje@google.com>
12434
12435 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12436 compiler_info references.
12437 * gdb.cp/temargs.exp: Ditto.
12438 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12439 (get_compiler_info): Early exit if already computed. Set compiler_info
12440 to "unknown" if there was a problem.
12441 (test_compiler_info): Add function comment. Call get_compiler_info.
12442
12443 2015-07-24 Doug Evans <dje@google.com>
12444
12445 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12446 (workers/%.worker, build-perf): New rule.
12447 (GDB_PERFTEST_MODE): New variable.
12448 (check-perf): Use it.
12449 (clean): Clean up gdb.perf parallel build subdirs.
12450 * lib/build-piece.exp: New file.
12451 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12452 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12453 name.
12454 (standard_temp_file): Ditto.
12455 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12456 of $GDB_PARALLEL.
12457
12458 2015-07-24 Doug Evans <dje@google.com>
12459
12460 * lib/future.exp (gdb_default_target_compile): New option
12461 "early_flags".
12462 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12463 --as-needed.
12464
12465 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12466
12467 * gdb.base/catch-syscall.exp: Call gdb_exit before
12468 gdb_skip_xml_test.
12469
12470 2015-07-24 Pedro Alves <palves@redhat.com>
12471
12472 * gdb.python/py-events.exp: Accept output between the stop event
12473 and the prompt.
12474 * gdb.python/py-evsignal.exp: Likewise.
12475 * gdb.python/py-evthreads.exp: Likewise.
12476
12477 2015-07-24 Pedro Alves <palves@redhat.com>
12478
12479 PR gdb/18717
12480 * gdb.threads/non-ldr-exit.c: New file.
12481 * gdb.threads/non-ldr-exit.exp: New file.
12482
12483 2015-07-24 Yao Qi <yao.qi@linaro.org>
12484
12485 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12486 restarting process.
12487
12488 2015-07-24 Yao Qi <yao.qi@linaro.org>
12489
12490 * gdb.server/ext-restart.exp: New file.
12491
12492 2015-07-24 Yao Qi <yao.qi@linaro.org>
12493
12494 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12495 argument options.
12496 * gdb.server/ext-wrapper.exp: New file.
12497
12498 2015-07-23 Doug Evans <dje@google.com>
12499
12500 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12501 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12502
12503 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12504
12505 * gdb.ada/var_arr_typedef.exp: New testcase.
12506 * gdb.ada/var_arr_typedef/pack.adb: New file.
12507 * gdb.ada/var_arr_typedef/pack.ads: New file.
12508 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12509
12510 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12511
12512 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12513
12514 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12515
12516 * gdb.arch/i386-biarch-core.exp: Replace istarget
12517 by "complete set gnutarget". Remove expectation for the "core-file"
12518 command.
12519
12520 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12521
12522 Revert the previous commit:
12523 Tests for validate symbol file using build-id.
12524
12525 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12526
12527 Tests for validate symbol file using build-id.
12528 * gdb.base/solib-mismatch-lib.c: New file.
12529 * gdb.base/solib-mismatch-libmod.c: New file.
12530 * gdb.base/solib-mismatch.c: New file.
12531 * gdb.base/solib-mismatch.exp: New file.
12532
12533 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12534
12535 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12536 nios2-*-linux*.
12537 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12538 * gdb.base/siginfo.exp: Likewise.
12539 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12540
12541 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12542
12543 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12544 Move it to ...
12545 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12546 ... here.
12547 * gdb.trace/range-stepping.exp: Check that the target supports
12548 range stepping.
12549
12550 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12551
12552 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12553
12554 2015-07-14 Pedro Alves <palves@redhat.com>
12555
12556 * gdb.base/killed-outside.exp: New file.
12557 * gdb.base/killed-outside.c: New file.
12558
12559 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12560
12561 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12562 (n at main): New.
12563 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12564
12565 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12566
12567 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12568 infcall tests instead of setting up for KFAIL.
12569
12570 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12571
12572 * gdb.btrace/record_goto-step.exp: New.
12573
12574 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12575
12576 PR compile/18484
12577 * gdb.compile/compile.c (struct struct_type): Add volatile to
12578 selffield's type.
12579 * gdb.compile/compile.exp
12580 (compile code struct_object.selffield = &struct_object): Skip further
12581 struct_object tests if this one xfails.
12582
12583 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12584
12585 PR exp/18617
12586 * gdb.trace/ax.exp: Add test.
12587
12588 2015-07-07 Yao Qi <yao.qi@linaro.org>
12589
12590 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12591 instead of istarget "aarch64*-*-*".
12592 * gdb.arch/aarch64-fp.exp: Likewise.
12593 * gdb.base/float.exp: Likewise.
12594 * gdb.reverse/aarch64.exp: Likewise.
12595 * lib/gdb.exp (is_aarch64_target): New proc.
12596
12597 2015-07-07 Yao Qi <yao.qi@linaro.org>
12598
12599 * lib/gdb.exp (is_aarch32_target): New proc.
12600 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12601 instead of "istarget "arm*-*-*"".
12602 * gdb.arch/arm-disp-step.exp: Likewise.
12603 * gdb.arch/thumb-bx-pc.exp: Likewise.
12604 * gdb.arch/thumb-prologue.exp: Likewise.
12605 * gdb.arch/thumb-singlestep.exp: Likewise.
12606 * gdb.base/disp-step-syscall.exp: Likewise.
12607 * gdb.base/float.exp: Likewise.
12608
12609 2015-07-07 Yao Qi <yao.qi@linaro.org>
12610
12611 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12612 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12613
12614 2015-07-07 Yao Qi <yao.qi@linaro.org>
12615
12616 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12617 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12618 if it exists.
12619 * gdb.multi/multi-arch.exp: Likewise.
12620
12621 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12622
12623 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12624 print.
12625
12626 2015-07-07 Yao Qi <yao.qi@linaro.org>
12627
12628 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12629
12630 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12631
12632 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12633 '[' and ']' characters.
12634
12635 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12636
12637 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12638
12639 2015-06-29 Pedro Alves <palves@redhat.com>
12640
12641 PR threads/18127
12642 * gdb.threads/hand-call-new-thread.c: New file.
12643 * gdb.threads/hand-call-new-thread.c: New file.
12644
12645 2015-06-26 Keith Seitz <keiths@redhat.com>
12646 Doug Evans <dje@google.com>
12647
12648 PR 16253
12649 * gdb.cp/var-tag-2.cc: New file.
12650 * gdb.cp/var-tag-3.cc: New file.
12651 * gdb.cp/var-tag-4.cc: New file.
12652 * gdb.cp/var-tag.cc: New file.
12653 * gdb.cp/var-tag.exp: New file.
12654
12655 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12656
12657 * gdb.base/history-duplicates.exp: New test.
12658
12659 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12660
12661 * gdb.base/completion.exp: Test the completion of the "focus"
12662 command.
12663
12664 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12665
12666 * gdb.arch/amd64-prologue-skip.S: New file.
12667 * gdb.arch/amd64-prologue-skip.exp: New file.
12668
12669 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12670
12671 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12672 is_address_zero_readable check.
12673
12674 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12675
12676 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12677 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12678
12679 2015-06-24 Yao Qi <yao.qi@linaro.org>
12680
12681 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12682 linux targets.
12683
12684 2015-06-24 Yao Qi <yao.qi@linaro.org>
12685
12686 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12687 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12688 * gdb.base/siginfo-thread.exp: Likewise.
12689
12690 2015-06-22 Yao Qi <yao.qi@linaro.org>
12691
12692 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12693
12694 2015-06-22 Yao Qi <yao.qi@linaro.org>
12695
12696 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12697 aarch64*-*-*.
12698 (skip_hw_watchpoint_tests): Likewise.
12699
12700 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12701
12702 * gdb.base/gdbinit-history.exp: Test the interaction between
12703 setting GDBHISTSIZE and setting the history size via .gdbinit.
12704
12705 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12706
12707 PR gdb/16999
12708 * gdb.base/gdbhistsize-history.exp: New test.
12709
12710 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12711
12712 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12713 with GDBHISTSIZE.
12714 * gdb.base/readline.exp: Likewise.
12715
12716 2015-06-17 Yao Qi <yao.qi@linaro.org>
12717
12718 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12719 line.
12720
12721 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12722
12723 * gdb.base/gdbinit-history.exp: Add test case to check that
12724 an unlimited history file does not get truncated on exit.
12725
12726 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12727
12728 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12729 (VECTOR): New macro. Use it...
12730 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12731 ...for these typedefs.
12732 (int8, char1, int1, double1): New typedefs.
12733 (struct just_int2, struct two_int2): New structures.
12734 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12735 (add_structvecs, add_singlevecs): New functions.
12736 (main): Call add_some_intvecs twice.
12737 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12738 the compile and exit upon failure. Try compiling for the "native"
12739 architecture. Test inferior function calls with vector arguments
12740 and vector return value handling with "finish" and "return".
12741
12742 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12743
12744 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12745 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12746 PE file.
12747 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12748
12749 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12750
12751 PR breakpoints/16465
12752 * gdb.mi/mi-dprintf-pending.c: New file.
12753 * gdb.mi/mi-dprintf-pending.exp: New test.
12754 * gdb.mi/mi-dprintf-pendshr.c: New file.
12755
12756 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12757 Mircea Gherzan <mircea.gherzan@intel.com>
12758
12759 * gdb.arch/i386-mpx-map.c: New file.
12760 * gdb.arch/i386-mpx-map.exp: New File.
12761
12762 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12763
12764 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12765 * gdb.arch/i386-mpx.exp: Indentation fixed.
12766
12767 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12768
12769 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12770 function and improved indentation.
12771 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12772 gdb_test_multiple. Added additional tests to skip the test.
12773
12774 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12775
12776 * gdb.arch/i386-avx512.c: Change path in include file.
12777 * gdb.arch/i386-avx512.exp: Change include dir path
12778 compilation flag.
12779 * gdb.arch/i386-mpx.c: Change path in include file.
12780 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12781 flag.
12782
12783 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12784
12785 * gdb.compile/compile-print.exp (compile print *vararray@3)
12786 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12787
12788 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12789
12790 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12791 (do not keep jit in memory): ... this.
12792 (expect 5): Change it to ...
12793 (expect no 5): ... this.
12794
12795 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12796
12797 PR gdb/15564
12798 * gdb.mi/mi-detach.exp: New file.
12799
12800 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12801
12802 PR symtab/18392
12803 * gdb.arch/amd64-tailcall-self.S: New file.
12804 * gdb.arch/amd64-tailcall-self.c: New file.
12805 * gdb.arch/amd64-tailcall-self.exp: New file.
12806
12807 2015-05-28 Don Breazeal <donb@codesourcery.com>
12808
12809 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12810 tests for remote targets by checking is_target_gdbserver.
12811
12812 2015-05-27 Doug Evans <dje@google.com>
12813
12814 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12815 * gdb.dwarf2/opaque-type-lookup.c: New file.
12816 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12817
12818 2015-05-26 Doug Evans <dje@google.com>
12819
12820 * gdb.cp/iostream.cc: New file.
12821 * gdb.cp/iostream.exp: New file.
12822
12823 2015-05-26 Doug Evans <dje@google.com>
12824
12825 * gdb.dwarf2/dw2-op-call.exp: Update.
12826 * gdb.dwarf2/dw4-sig-types.exp: Update.
12827 * gdb.dwarf2/implptr.exp: Update.
12828 * gdb.mi/mi-cmd-param-changed.exp: Update.
12829
12830 2015-05-26 Doug Evans <dje@google.com>
12831
12832 * gdb.python/py-lazy-string.c: New file.
12833 * gdb.python/py-lazy-string.exp: New file.
12834 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12835 (main): Update. Add estring3.
12836 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12837 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12838
12839 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12840 Yao Qi <yao.qi@linaro.org>
12841
12842 * gdb.reverse/aarch64.c: New.
12843 * gdb.reverse/aarch64.exp: New.
12844
12845 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12846
12847 * lib/gdb.exp (supports_process_record): Return true for
12848 aarch64*-linux*.
12849 (supports_reverse): Likewise.
12850
12851 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12852
12853 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12854 Use with_test_prefix.
12855
12856 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12857
12858 * gdb.base/completion.exp: Add test for completion of layout
12859 names.
12860
12861 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12862
12863 * lib/gdb.exp (skip_tui_tests): New proc.
12864 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12865
12866 2015-05-19 Pedro Alves <palves@redhat.com>
12867
12868 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12869 Save the whole env array instead of just HOME. Unset HISTSIZE in
12870 the environment while testing. Restore whole environment
12871 afterwards.
12872
12873 2015-05-16 Doug Evans <xdje42@gmail.com>
12874
12875 * gdb.guile/scm-ports.c: New file.
12876 * gdb.guile/scm-ports.exp: Add memory port tests.
12877
12878 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12879
12880 * gdb.compile/compile-print.c: New file.
12881 * gdb.compile/compile-print.exp: New file.
12882
12883 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12884
12885 * gdb.compile/compile-ops.exp: Cast param to void.
12886 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12887 (compile code struct_object.selffield = &struct_object): Add xfail.
12888
12889 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12890
12891 * gdb.ada/arr_enum_with_gap: New testcase.
12892
12893 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12894
12895 * gdb.ada/byte_packed_arr: New testcase.
12896
12897 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12898
12899 * gdb.ada/pckd_neg: New testcase.
12900
12901 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12902
12903 PR gdb/17820
12904 * gdb.base/gdbinit-history.exp: New test.
12905 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12906 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12907
12908 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12909
12910 * gdb.python/py-xmethods.cc: Enhance test case.
12911 * gdb.python/py-xmethods.exp: New tests.
12912 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12913 function.
12914 (B_indexoper): Likewise.
12915 (global_dm_list) : Add new xmethod worker functions.
12916
12917 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12918
12919 * gdb.base/coredump-filter.exp: Correctly unset
12920 "coredump_var_addr" array.
12921
12922 2015-05-08 Pedro Alves <palves@redhat.com>
12923
12924 * gdb.server/non-existing-program.exp: Unset spawn_id.
12925
12926 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12927
12928 PR python/18291
12929 * gdb.python/py-xmethods.exp: Add tests.
12930
12931 2015-05-08 Yao Qi <yao.qi@linaro.org>
12932
12933 PR gdb/18208
12934 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12935 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12936 function set_coredump_filter, and remove remote_exec call.
12937 Remove argument ipid. Callers update.
12938 (top level): Don't get inferior's PID.
12939
12940 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12941
12942 * gdb.base/watch_thread_num.exp: Skip test on targets without
12943 access watchpoints.
12944
12945 2015-05-06 Pedro Alves <palves@redhat.com>
12946
12947 PR server/18081
12948 * gdb.server/non-existing-program.exp: New file.
12949
12950 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12951
12952 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12953
12954 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12955
12956 * gdb.ada/out_of_line_in_inlined: New testcase.
12957
12958 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12959
12960 * gdb.ada/var_rec_arr: New testcase.
12961
12962 2015-04-30 Yao Qi <yao.qi@linaro.org>
12963
12964 * gdb.base/break-idempotent.exp: If
12965 skip_hw_watchpoint_multi_tests returns true, skip the tests
12966 on "rwatch" and "awatch".
12967
12968 2015-04-30 Yao Qi <yao.qi@linaro.org>
12969
12970 * gdb.base/relativedebug.exp: Invoke gdb command
12971 "info sharedlibrary", and if libc.so doesn't have debug info,
12972 skip the test.
12973
12974 2015-04-29 Doug Evans <dje@google.com>
12975
12976 * gdb.python/py-xmethods.exp: Add ptype tests.
12977 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12978 get_result_type method.
12979
12980 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12981
12982 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12983 the target does not support hardware watchpoints.
12984
12985 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12986
12987 * gdb.base/break-always.exp: Abort testing if writing to memory
12988 causes an error.
12989
12990 2015-04-28 Doug Evans <dje@google.com>
12991
12992 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12993 * gdb.python/py-pp-registration.exp: ... here. New file.
12994 * gdb.python/py-pp-registration.c: New file.
12995 * gdb.python/py-pp-registration.py: New file.
12996
12997 2015-04-28 Doug Evans <dje@google.com>
12998
12999 * gdb.python/py-bad-printers.c: New file.
13000 * gdb.python/py-bad-printers.py: New file.
13001 * gdb.python/py-bad-printers.exp: New file.
13002
13003 2015-04-28 Sasha Smundak <asmundak@google.com>
13004
13005 * gdb.python/py-type.exp: New test.
13006
13007 2015-04-28 Andy Wingo <wingo@igalia.com>
13008
13009 * gdb.python/py-parameter.exp:
13010 * gdb.guile/scm-parameter.exp: Escape the path that we are
13011 matching against, as it might contain characters that are special
13012 to regular expressions.
13013
13014 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13015
13016 * gdb.ada/rec_comp: New testcase.
13017
13018 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13019
13020 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13021 before using it.
13022
13023 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13024
13025 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13026 new tests for verilog output.
13027
13028 2015-04-24 Yao Qi <yao.qi@linaro.org>
13029
13030 * boards/remote-gdbserver-on-localhost.exp: New file.
13031
13032 2015-04-23 Pedro Alves <palves@redhat.com>
13033
13034 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13035 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13036 "end of file", remove $inferior_spawn_id from the indirect list.
13037
13038 2015-04-23 Pedro Alves <palves@redhat.com>
13039
13040 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13041
13042 2015-04-23 Pedro Alves <palves@redhat.com>
13043
13044 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13045 on $any_spawn_id instead of only on $gdb_spawn_id.
13046
13047 2015-04-21 Pierre Muller <muller@sourceware.org>
13048
13049 PR pascal/17815
13050 * lib/pascal.exp (gpc_compile): Add new option "class".
13051 (fpc_compile): Likewise.
13052 * gdb.pascal/case-insensitive-symbols.pas: New file.
13053 * gdb.pascal/case-insensitive-symbols.exp: New file.
13054
13055 2015-04-20 Gary Benson <gbenson@redhat.com>
13056
13057 * gdb.base/attach.exp: Fix three extended remote failures.
13058
13059 2015-04-17 Gary Benson <gbenson@redhat.com>
13060
13061 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13062 the main executable over the remote protocol.
13063
13064 2015-04-16 Pedro Alves <palves@redhat.com>
13065
13066 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13067 a new gdbserver if gdbserver_reconnect_p is set.
13068
13069 2015-04-16 Pedro Alves <palves@redhat.com>
13070
13071 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13072 is set, don't exit gdbserver.
13073
13074 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13075
13076 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13077 appropriate .insn, such that an older assembler can be used.
13078 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13079 the z/Architecture instruction set on 31-bit targets as well.
13080
13081 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13082
13083 * gdb.go/handcall.exp: Remove all logic related to the first
13084 breakpoint and rely on go_runto_main instead.
13085 * gdb.go/strings.exp: Likewise.
13086 * gdb.go/unsafe.exp: Likewise.
13087 * gdb.go/hello.exp: Likewise. Also rename the remaining
13088 breakpoint marker to "breakpoint 1".
13089 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13090 * gdb.go/strings.go: Likewise.
13091 * gdb.go/unsafe.go: Likewise.
13092 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13093 "set breakpoint 2 here" and rename the remaining breakpoint marker
13094 to "breakpoint 1".
13095
13096 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13097
13098 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13099 if itertools.imap is not present.
13100 * gdb.python/py-objfile.exp: Add parentheses.
13101 * gdb.python/py-type.exp: Same.
13102 * gdb.python/py-unwind-maint.py: Same.
13103
13104 2015-04-15 Yao Qi <yao.qi@linaro.org>
13105
13106 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13107 of ":$ptr_size" and set its form explicitly.
13108
13109 2015-04-15 Pedro Alves <palves@redhat.com>
13110 Yao Qi <yao.qi@linaro.org>
13111
13112 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13113 timeout by factor of 4.
13114 (test_regular_watch): Likewise.
13115 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13116 * gdb.reverse/sigall-reverse.exp: Likewise.
13117 * gdb.reverse/until-precsave.exp: Likewise.
13118 * lib/gdb.exp (with_timeout_factor): New proc.
13119 (gdb_expect): Move some code to ...
13120 (get_largest_timeout): ... here. New procedure.
13121
13122 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13123
13124 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13125
13126 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13127
13128 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13129 to write to the .text section.
13130
13131 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13132
13133 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13134 Handle the case of targets that do not provide PID information.
13135
13136 2015-04-13 Yao Qi <yao.qi@linaro.org>
13137
13138 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13139 and use expect instead of gdb_expect.
13140
13141 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13142
13143 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13144 "coredump_var_addr" to avoid naming conflict with other testcases.
13145
13146 2015-04-10 Pedro Alves <palves@redhat.com>
13147
13148 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13149 gdb_test_sequence and gdb_assert.
13150
13151 2015-04-10 Pedro Alves <palves@redhat.com>
13152
13153 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13154 test messages that don't include the breakpoint address.
13155
13156 2015-04-10 Yao Qi <yao.qi@linaro.org>
13157
13158 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13159 false for some offset and width combinations which aren't
13160 supported by linux kernel.
13161
13162 2015-04-10 Pedro Alves <palves@redhat.com>
13163
13164 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13165 procedure, factored out from ...
13166 (top level): ... here. Add "set displaced-stepping" testing axis.
13167 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13168 parameter "displaced". Use it.
13169 (top level): Use foreach and add "set displaced-stepping" testing
13170 axis.
13171
13172 2015-04-10 Pedro Alves <palves@redhat.com>
13173
13174 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13175 Remove comment.
13176 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13177 both the address of the instruction that triggers the watchpoint
13178 and the address of the instruction immediately after, and use
13179 those addresses for the test. Fix comment.
13180
13181 2015-04-10 Pedro Alves <palves@redhat.com>
13182
13183 * gdb.base/sigstep.exp (breakpoint_to_handler)
13184 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13185 Test "backtrace" in handler.
13186 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13187 (top level): Add new "displaced" test axis to
13188 breakpoint_to_handler, breakpoint_to_handler_entry and
13189 breakpoint_over_handler.
13190
13191 2015-04-10 Pedro Alves <palves@redhat.com>
13192
13193 PR gdb/18216
13194 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13195
13196 2015-04-10 Yao Qi <yao.qi@linaro.org>
13197
13198 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13199 (test_add_rn_pc): New function.
13200 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13201 (top level): Invoke test_add_rn_pc.
13202
13203 2015-04-10 Pedro Alves <palves@redhat.com>
13204
13205 PR gdb/13858
13206 * gdb.base/step-over-no-symbols.exp: New file.
13207
13208 2015-04-09 Andy Wingo <wingo@igalia.com>
13209
13210 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13211 after the Python tests.
13212
13213 2015-04-08 Keith Seitz <keiths@redhat.com>
13214
13215 PR python/16699
13216 * gdb.python/py-completion.exp: New tests for completion.
13217 * gdb.python/py-completion.py (CompleteLimit1): New class.
13218 (CompleteLimit2): Likewise.
13219 (CompleteLimit3): Likewise.
13220 (CompleteLimit4): Likewise.
13221 (CompleteLimit5): Likewise.
13222 (CompleteLimit6): Likewise.
13223 (CompleteLimit7): Likewise.
13224
13225 2015-04-08 Pedro Alves <palves@redhat.com>
13226
13227 PR gdb/18214
13228 PR gdb/18216
13229 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13230 function.
13231 (main): Install it as SIGUSR1 handler.
13232 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13233 parameter. Always use "setup" as prefix. Toggle "set
13234 displaced-stepping" off/on depending on global. Don't switch to
13235 thread 1 here.
13236 (top level): Add displaced stepping "off/on" test axis. Update
13237 "setup" calls. Wrap each subtest with with_test_prefix. Test
13238 continuing with a queued signal in each thread.
13239
13240 2015-04-08 Pedro Alves <palves@redhat.com>
13241
13242 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13243 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13244 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13245 Return early if running to main fails.
13246 * gdb.trace/while-stepping.exp: Likewise.
13247
13248 2015-04-07 Pedro Alves <palves@redhat.com>
13249
13250 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13251 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13252 interact with inferior program.
13253
13254 2015-04-07 Pedro Alves <palves@redhat.com>
13255
13256 * lib/gdb.exp (inferior_spawn_id): New global.
13257 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13258 spawn id after processing the user code.
13259 (default_gdb_start): Set inferior_spawn_id.
13260 (send_inferior): New procedure.
13261 * lib/gdbserver-support.exp (gdbserver_start): Set
13262 inferior_spawn_id.
13263 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13264
13265 2015-04-07 Pedro Alves <palves@redhat.com>
13266
13267 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13268 * lib/gdbserver-support.exp (gdbserver_start): Make
13269 $server_spawn_id global.
13270 (gdbserver_start): Don't wait for gdbserver's spawn id with
13271 expect_background.
13272 (close_gdbserver): New procedure.
13273 (gdb_exit): Rename the default version and reimplement.
13274
13275 2015-04-07 Pedro Alves <palves@redhat.com>
13276
13277 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13278 append the substituted item, not the original item.
13279
13280 2015-04-07 Pedro Alves <palves@redhat.com>
13281
13282 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13283 gdb_expect.
13284
13285 2015-04-07 Pedro Alves <palves@redhat.com>
13286
13287 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13288 output appearing once only.
13289
13290 2015-04-07 Pedro Alves <palves@redhat.com>
13291
13292 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13293 that doesn't expect anything. Return early if running to main
13294 fails.
13295
13296 2015-04-07 Yao Qi <yao.qi@linaro.org>
13297
13298 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13299 (child_function): Call alarm.
13300 (main): Move call to alarm into the loop.
13301 * gdb.threads/non-stop-fair-events.exp: Build program with
13302 -DTIMEOUT=$timeout.
13303
13304 2015-04-06 Doug Evans <xdje42@gmail.com>
13305
13306 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13307 Fix dest parameter to board_info.
13308 (fpc_compile): Ditto.
13309 (gdb_compile_pascal): Rename dest arg to destfile.
13310
13311 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13312
13313 * gdb.ada/funcall_ref.exp: New file.
13314 * gdb.ada/funcall_ref/foo.adb: New file.
13315
13316 2015-04-02 Yao Qi <yao.qi@linaro.org>
13317
13318 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13319 is remote.
13320
13321 2015-04-02 Gary Benson <gbenson@redhat.com>
13322
13323 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13324
13325 2015-04-01 Sasha Smundak <asmundak@google.com>
13326
13327 * gdb.python/py-unwind-maint.c: New file.
13328 * gdb.python/py-unwind-maint.exp: New test.
13329 * gdb.python/py-unwind-maint.py: New file.
13330 * gdb.python/py-unwind.c: New file.
13331 * gdb.python/py-unwind.exp: New test.
13332 * gdb.python/py-unwind.py: New test.
13333
13334 2015-04-01 Pedro Alves <palves@redhat.com>
13335
13336 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13337 to fail instead of non-existent $test.
13338
13339 2015-04-01 Pedro Alves <palves@redhat.com>
13340
13341 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13342 GDBFLAGS if not empty.
13343
13344 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13345
13346 * gdb.ada/complete.exp: Remove "multi_line".
13347 * gdb.ada/info_exc.exp: Remove "multi_line".
13348 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13349 * gdb.ada/ptype_field.exp: Remove "multi_line".
13350 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13351 * gdb.ada/tagged.exp: Remove "multi_line".
13352 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13353 [multi_line ...]
13354 * gdb.btrace/delta.exp: Likewise.
13355 * gdb.btrace/exception.exp: Likewise.
13356 * gdb.btrace/function_call_history.exp: Likewise.
13357 * gdb.btrace/instruction_history.exp: Likewise.
13358 * gdb.btrace/nohist.exp: Likewise.
13359 * gdb.btrace/record_goto.exp: Likewise.
13360 * gdb.btrace/segv.exp: Likewise.
13361 * gdb.btrace/stepi.exp: Likewise.
13362 * gdb.btrace/tailcall.exp: Likewise.
13363 * gdb.btrace/unknown_functions.exp: Likewise.
13364 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13365 * lib/gdb.exp: Add the "multi_line" helper.
13366
13367 2015-04-01 Pedro Alves <palves@redhat.com>
13368
13369 * gdb.threads/tid-reuse.c: New file.
13370 * gdb.threads/tid-reuse.exp: New file.
13371
13372 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13373
13374 PR corefiles/16092
13375 * gdb.base/coredump-filter.c: New file.
13376 * gdb.base/coredump-filter.exp: Likewise.
13377
13378 2015-03-27 Petr Machata <pmachata@redhat.com>
13379
13380 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13381 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13382 (Dwarf::assemble): Initialize them.
13383 (Dwarf::lines): New function.
13384
13385 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13386
13387 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13388 SYMBOL_PREFIX for x86_64-*-cygwin.
13389
13390 2015-03-26 Andy Wingo <wingo@igalia.com>
13391
13392 PR symtab/18148
13393 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13394 const_value but not a location.
13395 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13396 location defined in non-main CUs are visible.
13397
13398 2015-03-26 Yao Qi <yao.qi@linaro.org>
13399
13400 PR testsuite/18139
13401 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13402 Add a line number entry for the same line.
13403 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13404 Add a line number entry for the same line.
13405
13406 2015-03-26 Yao Qi <yao.qi@linaro.org>
13407
13408 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13409 .int 0.
13410 (func): Likewise. Add .Lfunc_1 label.
13411 Use .Lfunc_1 label.
13412 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13413 .int 0.
13414 (func): Likewise.
13415 Use .Lfunc_1 label.
13416
13417 2015-03-26 Yao Qi <yao.qi@linaro.org>
13418
13419 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13420 Call gdb_compile instead to compile each .s files without debug
13421 information.
13422
13423 2015-03-26 Yao Qi <yao.qi@linaro.org>
13424
13425 * gdb.base/savedregs.exp (process_saved_regs): Make
13426 "Saved registers:" optional in the pattern.
13427
13428 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13429
13430 * gdb.btrace/next.exp: Merged into step.exp.
13431 * gdb.btrace/finish.exp: Merged into step.exp.
13432 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13433 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13434 "record goto" and checking the exact replay position.
13435 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13436 check for "Recording format" in "info record" output.
13437 * gdb.btrace/record_goto.exp: Choose test file based on target.
13438 * gdb.btrace/x86-record_goto.S: Renamed into ...
13439 * gdb.btrace/x86_64-record_goto.S: ... this.
13440 * gdb.btrace/i686-record_goto.S: New.
13441 * gdb.btrace/x86-tailcall.S: Renamed into ...
13442 * gdb.btrace/x86_64-tailcall.S: ... this.
13443 * gdb.btrace/i686-tailcall.S: New.
13444 * gdb.btrace/x86-tailcall.c: Renamed into ...
13445 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13446 separate statements. Update test.
13447 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13448 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13449 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13450 * gdb.btrace/tailcall.exp: Choose test file based on target.
13451 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13452
13453 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13454
13455 * gdb.btrace/exception.exp: Increase BTS buffer size.
13456
13457 2015-03-24 Pedro Alves <palves@redhat.com>
13458
13459 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13460
13461 2015-03-24 Pedro Alves <palves@redhat.com>
13462
13463 * gdb.threads/schedlock.exp (test_step): No longer expect that
13464 "set scheduler-locking step" with "next" over a function call runs
13465 threads unlocked.
13466
13467 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13468
13469 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13470
13471 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13472
13473 PR breakpoints/16466
13474 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13475 * gdb.mi/mi-pending.c (thread_func): New function.
13476 (int main): Add threading support required.
13477 * gdb.mi/mi-pending.exp: Add tests for this issue.
13478 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13479 (pendfunc2): Remove stdio dependency.
13480 * gdb.mi/mi-pendshr2.c: New file.
13481
13482 2015-03-23 Keith Seitz <keiths@redhat.com>
13483
13484 * gdb.linespec/keywords.c: New file.
13485 * gdb.linespec/keywords.exp: New file.
13486
13487 2015-03-23 Keith Seitz <keiths@redhat.com>
13488
13489 PR gdb/18021
13490 * gdb.dwarf2/staticvirtual.exp: New test.
13491
13492 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13493
13494 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13495 * README: Remove HP-UX and gdb.hp.
13496 (configuration):
13497 * configure: Regenerate.
13498 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13499 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13500 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13501 gdb.hp/gdb.defects/Makefile.
13502 * gdb.hp/Makefile.in: File deleted.
13503 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13504 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13505 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13506 * gdb.hp/gdb.aCC/run.c: File deleted.
13507 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13508 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13509 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13510 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13511 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13512 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13513 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13514 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13515 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13516 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13517 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13518 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13519 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13520 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13521 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13522 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13523 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13524 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13525 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13526 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13527 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13528 * gdb.hp/gdb.compat/average.c: File deleted.
13529 * gdb.hp/gdb.compat/sum.c: File deleted.
13530 * gdb.hp/gdb.compat/xdb.c: File deleted.
13531 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13532 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13533 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13534 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13535 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13536 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13537 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13538 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13539 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13540 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13541 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13542 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13543 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13544 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13545 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13546 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13547 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13548 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13549 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13550 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13551 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13552 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13553 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13554 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13555 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13556 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13557 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13558 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13559 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13560 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13561 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13562 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13563 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13564 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13565 * gdb.hp/tools/odump: File deleted.
13566
13567 2015-03-19 Pedro Alves <palves@redhat.com>
13568
13569 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13570 (saw_thread_3): New globals.
13571 (top level): Increment them when an event for the corresponding
13572 thread is seen.
13573 (no thread starvation): New test.
13574
13575 2015-03-19 Pedro Alves <palves@redhat.com>
13576
13577 * gdb.threads/continue-pending-status.c: New file.
13578 * gdb.threads/continue-pending-status.exp: New file.
13579
13580 2015-03-18 Pedro Alves <palves@redhat.com>
13581
13582 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13583 Use gdb_is_target_remote instead of is_remote. Use
13584 gdb_test_multiple instead of gdb_expect. Exit early if
13585 gdb_test_multiple hits its internal matches. Tighten stepi tests
13586 expected output. Fail on exit with any signal, instead of just
13587 SIGILL.
13588
13589 2015-03-18 Yao Qi <yao.qi@linaro.org>
13590
13591 PR tdep/18107
13592 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13593 variable.
13594 * gdb.base/catch-syscall.exp: Don't skip it on
13595 aarch64*-*-linux* target. Remove elements in all_syscalls.
13596 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13597 target.
13598 (setup_all_syscalls): New proc.
13599
13600 2015-03-16 Yao Qi <yao.qi@linaro.org>
13601
13602 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13603 (top level): Skip tests if valid_addr_p returns false for
13604 $cmd1 or $cmd2.
13605
13606 2015-03-11 Andy Wingo <wingo@igalia.com>
13607
13608 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13609
13610 2015-03-11 Yao Qi <yao.qi@linaro.org>
13611
13612 * gdb.base/catch-syscall.exp: Fix typo in comments.
13613
13614 2015-03-11 Yao Qi <yao.qi@linaro.org>
13615
13616 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13617
13618 2015-03-09 Pedro Alves <palves@redhat.com>
13619
13620 * dg-extract-results.py: Delete.
13621
13622 2015-03-09 Pedro Alves <palves@redhat.com>
13623
13624 Merge dg-extract-results.sh from GCC upstream (r218843).
13625
13626 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13627 * dg-extract-results.sh: Use --text with grep to avoid issues with
13628 binary files. Fall back to cat -v, if that doesn't work.
13629
13630 2015-03-05 Pedro Alves <palves@redhat.com>
13631
13632 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13633
13634 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13635
13636 * lib/mi-support.exp (mi_expect_interrupt): Accept
13637 alternative event for when in all-stop mode.
13638
13639 2015-03-04 Pedro Alves <palves@redhat.com>
13640
13641 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13642
13643 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13644
13645 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13646
13647 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13648
13649 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13650 regexps for GDB's current line display, accept a hex address
13651 preceding the line number.
13652
13653 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13654
13655 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13656 the 'arch1' variable for "s390*-linux*" targets.
13657
13658 2015-03-04 Pedro Alves <palves@redhat.com>
13659
13660 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13661 (main): Pass missing retval argument to pthread_join call.
13662
13663 2015-03-02 Pedro Alves <palves@redhat.com>
13664
13665 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13666 (top level): Call do_test with non-stop as well.
13667
13668 2015-03-02 Pedro Alves <palves@redhat.com>
13669
13670 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13671 -1.
13672
13673 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13674
13675 * gdb.arch/s390-vregs.exp: New test.
13676 * gdb.arch/s390-vregs.S: New file.
13677
13678 2015-02-27 Pedro Alves <palves@redhat.com>
13679
13680 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13681 call to catch_command_errors.
13682 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13683 catch_command_errors.
13684
13685 2015-02-27 Pedro Alves <palves@redhat.com>
13686
13687 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13688 "true" for boolean result.
13689 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13690 prototype of main.
13691
13692 2015-02-27 Pedro Alves <palves@redhat.com>
13693
13694 * lib/unbuffer_output.c: New file.
13695 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13696 (main): Call gdb_unbuffer_output.
13697
13698 2015-02-27 Yao Qi <yao.qi@linaro.org>
13699
13700 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13701 target.
13702
13703 2015-02-26 Doug Evans <dje@google.com>
13704
13705 * gdb.cp/class2.cc (Dbase, D): New classes.
13706 (main): New local delta.
13707 * gdb.cp/class2.exp: Test printing delta.
13708 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13709 (dynbar): New global.
13710 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13711
13712 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13713
13714 * gdb.compile/compile-ifunc.c: New file.
13715 * gdb.compile/compile-ifunc.exp: New file.
13716
13717 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13718
13719 * gdb.base/structs.exp: Check for correct struct on finish.
13720
13721 2015-02-26 Yao Qi <yao.qi@linaro.org>
13722
13723 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13724 is zero.
13725
13726 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13727
13728 * gdb.arch/cordic.ko.bz2: New file.
13729 * gdb.arch/cordic.ko.debug.bz2: New file.
13730 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13731
13732 2015-02-25 Yao Qi <yao.qi@linaro.org>
13733
13734 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13735 aarch64*-*-* target.
13736
13737 2015-02-23 Pedro Alves <palves@redhat.com>
13738
13739 * lib/gdb.exp (delete_breakpoints): Rewrite using
13740 gdb_test_multiple.
13741
13742 2015-02-23 Pedro Alves <palves@redhat.com>
13743
13744 * gdb.base/info-os.c: Include stdlib.h.
13745
13746 2015-02-22 Doug Evans <xdje42@gmail.com>
13747
13748 PR symtab/17855
13749 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13750 is read after symbols have been re-read.
13751 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13752 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13753
13754 2015-02-21 Doug Evans <dje@google.com>
13755
13756 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13757
13758 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13759
13760 PR corefiles/17808
13761 * gdb.arch/i386-biarch-core.core.bz2: New file.
13762 * gdb.arch/i386-biarch-core.exp: New file.
13763
13764 2015-02-21 Pedro Alves <palves@redhat.com>
13765
13766 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13767 runto_main fails.
13768
13769 2015-02-20 Pedro Alves <palves@redhat.com>
13770
13771 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13772 info probes.
13773
13774 2015-02-20 Pedro Alves <palves@redhat.com>
13775
13776 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13777
13778 2015-02-20 Pedro Alves <palves@redhat.com>
13779
13780 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13781 clean_restart before gdb_target_supports_trace.
13782
13783 2015-02-20 Pedro Alves <palves@redhat.com>
13784
13785 PR threads/18006
13786 * gdb.threads/clone-thread_db.c: New file.
13787 * gdb.threads/clone-thread_db.exp: New file.
13788
13789 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13790
13791 PR breakpoints/16812
13792 * gdb.base/catch-gdb-caused-signals.c: New file.
13793 * gdb.base/catch-gdb-caused-signals.exp: New file.
13794
13795 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13796
13797 * configure: Regenerated.
13798 * configure.ac: Use GDB_AC_TRANSFORM.
13799 * aclocal.m4: sinclude ../transform.m4.
13800
13801 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13802
13803 * lib/dtrace.exp: New file.
13804 * gdb.base/dtrace-probe.exp: Likewise.
13805 * gdb.base/dtrace-probe.d: Likewise.
13806 * gdb.base/dtrace-probe.c: Likewise.
13807 * lib/pdtrace.in: Likewise.
13808 * configure.ac: Output variables with the transformed names of
13809 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13810 * configure: Regenerated.
13811
13812 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13813
13814 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13815 expected message when trying to access $_probe_* convenience
13816 variables while not on a probe.
13817
13818 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13819
13820 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13821
13822 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13823
13824 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13825 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13826
13827 2015-02-10 Doug Evans <xdje42@gmail.com>
13828
13829 * lib/gdb.exp (gdb_load): Always return a result.
13830
13831 2015-02-10 Pedro Alves <palves@redhat.com>
13832
13833 * gdb.threads/signal-sigtrap.c: New file.
13834 * gdb.threads/signal-sigtrap.exp: New file.
13835
13836 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13837
13838 * gdb.trace/no-attach-trace.c: New file.
13839 * gdb.trace/no-attach-trace.exp: New file.
13840
13841 2015-02-09 Mark Wielaard <mjw@redhat.com>
13842
13843 * gdb.dwarf2/atomic.c: New file.
13844 * gdb.dwarf2/atomic-type.exp: Likewise.
13845
13846 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13847
13848 * gdb.btrace/buffer-size.exp: Update "info record" output.
13849 * gdb.btrace/delta.exp: Update "info record" output.
13850 * gdb.btrace/enable.exp: Update "info record" output.
13851 * gdb.btrace/finish.exp: Update "info record" output.
13852 * gdb.btrace/instruction_history.exp: Update "info record" output.
13853 * gdb.btrace/next.exp: Update "info record" output.
13854 * gdb.btrace/nexti.exp: Update "info record" output.
13855 * gdb.btrace/step.exp: Update "info record" output.
13856 * gdb.btrace/stepi.exp: Update "info record" output.
13857 * gdb.btrace/nohist.exp: Update "info record" output.
13858
13859 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13860
13861 * gdb.btrace/buffer-size: New.
13862
13863 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13864
13865 * gdb.btrace/delta.exp: Update "info record" output.
13866 * gdb.btrace/enable.exp: Update "info record" output.
13867 * gdb.btrace/finish.exp: Update "info record" output.
13868 * gdb.btrace/instruction_history.exp: Update "info record" output.
13869 * gdb.btrace/next.exp: Update "info record" output.
13870 * gdb.btrace/nexti.exp: Update "info record" output.
13871 * gdb.btrace/step.exp: Update "info record" output.
13872 * gdb.btrace/stepi.exp: Update "info record" output.
13873 * gdb.btrace/nohist.exp: Update "info record" output.
13874
13875 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13876
13877 PR gdb/15678
13878 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13879
13880 2015-02-06 Pedro Alves <palves@redhat.com>
13881
13882 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13883 macro.
13884 (seconds_left, again): New globals.
13885 (main): Wait seconds_left in a 1-second sleep loop instead of
13886 sleeping 180 seconds. If 'again' is set, reset the seconds
13887 counter.
13888 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13889 'again' in the inferior before detaching. Print the seconds left.
13890 (options): New global.
13891 (top level): Build program with -DTIMEOUT=$timeout.
13892
13893 2015-02-06 Pedro Alves <palves@redhat.com>
13894
13895 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13896 determine how many seconds to pass to 'alarm'.
13897 * gdb.base/gdb-sigterm.exp (top level): Build program with
13898 -DTIMEOUT=$timeout.
13899 (do_test): Return success/failure indication. Add more verbose
13900 logging. Don't fail if 200 single steps are seen. Instead, fail
13901 when the test times out.
13902 (passes): New global.
13903 (top level): Break the testing loop if testing fails on any
13904 iteration. Use gdb_assert.
13905
13906 2015-02-04 Don Breazeal <donb@codesourcery.com>
13907
13908 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13909 and initialize them.
13910 (ipc_cleanup): New function.
13911 (main): Don't declare shmid, semid, and msqid. Add a call to
13912 atexit so that we call ipc_cleanup on exit.
13913
13914 2015-02-04 Pedro Alves <palves@redhat.com>
13915
13916 * boards/native-extended-gdbserver.exp: Remove any target variant
13917 specifications from the board name before clearing the isremote
13918 flag from board_info.
13919
13920 2015-01-31 Doug Evans <xdje42@gmail.com>
13921
13922 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13923
13924 2015-01-31 Gary Benson <gbenson@redhat.com>
13925
13926 * gdb.base/completion.exp: Disable completion limiting for
13927 existing tests. Add new tests to check completion limiting.
13928 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13929
13930 2015-01-31 Doug Evans <xdje42@gmail.com>
13931
13932 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13933
13934 2015-01-31 Doug Evans <xdje42@gmail.com>
13935
13936 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13937 entries. Duplicate file section script entries.
13938 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13939 inlined entries. Add test for safe-path rejection.
13940 * gdb.python/py-section-script.c: Add duplicate inlined section script
13941 entries. Duplicate file section script entries.
13942 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13943 inlined entries. Add test for safe-path rejection.
13944
13945 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13946
13947 * gdb.ada/disc_arr_bound: New testcase.
13948
13949 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13950
13951 * gdb.ada/mi_var_array: New testcase.
13952
13953 2015-01-27 Doug Evans <dje@google.com>
13954
13955 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13956 Add test for objfile.filename, objfile.username after objfile
13957 has been unloaded.
13958
13959 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13960
13961 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13962 the second test to print the name attribute of value
13963 returned by the call to gdb.lookup_type, and adjust
13964 the expected output accordingly.
13965
13966 2015-01-25 Mark Wielaard <mjw@redhat.com>
13967
13968 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13969 * gdb.base/disp-step-fork.c: Include unistd.h.
13970 * gdb.base/siginfo-obj.c: Include stdio.h.
13971 * gdb.base/siginfo-thread.c: Likewise.
13972 * gdb.mi/non-stop.c: Include unistd.h.
13973 * gdb.mi/nsthrexec.c: Include stdio.h.
13974 * gdb.mi/pthreads.c: Include unistd.h.
13975 * gdb.modula2/unbounded1.c (main): Declare returns int.
13976 * gdb.reverse/consecutive-reverse.c: Likewise.
13977 * gdb.threads/create-fail.c: Include unistd.h.
13978 * gdb.threads/killed.c: Likewise.
13979 * gdb.threads/linux-dp.c: Likewise.
13980 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13981 * gdb.threads/non-ldr-exc-2.c: Likewise.
13982 * gdb.threads/non-ldr-exc-3.c: Likewise.
13983 * gdb.threads/non-ldr-exc-4.c: Likewise.
13984 * gdb.threads/pthreads.c: Include unistd.h.
13985 (main): Declare returns int.
13986 * gdb.threads/tls-main.c (foo): New declaration.
13987 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13988
13989 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13990
13991 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13992 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13993
13994 2015-01-15 Mark Wielaard <mjw@redhat.com>
13995
13996 * gdb.base/noreturn-return.c: New file.
13997 * gdb.base/noreturn-return.exp: New file.
13998 * gdb.base/noreturn-finish.c: New file.
13999 * gdb.base/noreturn-finish.exp: New file.
14000
14001 2015-01-23 Pedro Alves <palves@redhat.com>
14002
14003 * gdb.threads/continue-pending-after-query.c: New file.
14004 * gdb.threads/continue-pending-after-query.exp: New file.
14005
14006 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14007 Simon Marchi <simon.marchi@ericsson.com>
14008
14009 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14010 * gdb.base/valgrind-db-attach.exp: Same.
14011 * gdb.base/valgrind-infcall.exp: Same.
14012 * lib/mi-support.exp (default_mi_gdb_start): Same.
14013 * lib/prompt.exp (default_prompt_gdb_start): Same.
14014 * lib/gdb.exp (default_gdb_spawn): Same.
14015 (gdb_interact): New.
14016
14017
14018 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14019
14020 * gdb.compile/compile.exp (pointer to jit function): New test.
14021
14022 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14023
14024 * lib/gdb.exp (supports_process_record): Return true for
14025 powerpc*-*-linux*.
14026 (supports_reverse): Likewise.
14027
14028 2015-01-15 Don Breazeal <donb@codesourcery.com>
14029
14030 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14031 instead of checking whether the target board is remote and
14032 use spawn_wait_for_attach instead of exec/sleep.
14033 * gdb.base/attach-twice.exp: Likewise.
14034
14035 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14036
14037 * gdb.ada/var_arr_attrs: New testcase.
14038
14039 2015-01-14 Pedro Alves <palves@redhat.com>
14040 Joel Brobecker <brobecker@adacore.com>
14041
14042 PR gdb/17525
14043 * gdb.base/bp-cmds-execution-x-script.c: New file.
14044 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14045 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14046
14047 2015-01-14 Pedro Alves <palves@redhat.com>
14048
14049 PR cli/17828
14050 * gdb.base/batch-preserve-term-settings.c: New file.
14051 * gdb.base/batch-preserve-term-settings.exp: New file.
14052
14053 2015-01-13 Doug Evans <dje@google.com>
14054
14055 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14056 binary.
14057
14058 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14059
14060 * Makefile.in (clean mostlyclean): Do not delete *.py.
14061
14062 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14063
14064 * gdb.python/py-lookup-type.exp: New file.
14065
14066 2015-01-12 Pedro Alves <palves@redhat.com>
14067
14068 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14069 restore GDBFLAGS before returning.
14070
14071 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14072
14073 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14074 is_amd64_regs_target and is_x86_like_target.
14075
14076 2015-01-11 Doug Evans <xdje42@gmail.com>
14077
14078 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14079 is given without an explicit form.
14080 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14081 attributes.
14082 * gdb.dwarf/corrupt.exp: Ditto.
14083 * gdb.dwarf2/enum-type.exp: Ditto.
14084 * gdb.trace/entry-values.exp: Ditto.
14085 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14086
14087 2015-01-11 Doug Evans <xdje42@gmail.com>
14088
14089 PR gdb/15830
14090 * gdb.base/maint.exp: Remove references to "maint demangle".
14091 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14092 Add tests for explicitly specifying language to demangle.
14093 * gdb.dlang/demangle.exp: Ditto.
14094
14095 2015-01-09 Pedro Alves <palves@redhat.com>
14096
14097 * gdb.threads/non-stop-fair-events.c: New file.
14098 * gdb.threads/non-stop-fair-events.exp: New file.
14099
14100 2015-01-09 Pedro Alves <palves@redhat.com>
14101
14102 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14103 the global scope. Set a breakpoint after all threads are started
14104 rather than stepping over two source lines. Expect the prompt.
14105 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14106 global.
14107 (NUM): Now 15.
14108 (main): Use threads_started_barrier to wait for all threads to
14109 start. Main thread no longer calls thread_function. Exit after
14110 180 seconds.
14111 (loop): New function.
14112 (thread_function): Wait on threads_started_barrier barrier. Call
14113 'loop' at each iteration.
14114 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14115 threads have started, instead of hardcoding number of "next"
14116 steps. Use an access watchpoint instead of a write watchpoint.
14117
14118 2015-01-09 Pedro Alves <palves@redhat.com>
14119
14120 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14121 (thread_func): Wait on barrier.
14122 (main): Wait for all threads to start before stopping GDB.
14123 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14124 global.
14125 (thread1_func, thread2_func): Wait on barrier.
14126 (main): Wait for all threads to start before stopping GDB.
14127 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14128 New global.
14129 (thread1_func, thread2_func): Wait on barrier.
14130 (main): Wait for all threads to start before stopping GDB.
14131
14132 2015-01-09 Pedro Alves <palves@redhat.com>
14133
14134 * gdb.threads/attach-many-short-lived-threads.c: New file.
14135 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14136
14137 2014-01-09 Pedro Alves <palves@redhat.com>
14138
14139 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14140 instead of to thread 2.
14141 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14142 Add barrier around each pthread_create call instead of around all
14143 calls.
14144 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14145 Set a break on thread_function and have the child threads hit it
14146 one at at a time.
14147
14148 2015-01-09 Pedro Alves <palves@redhat.com>
14149
14150 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14151 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14152 false.
14153 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14154 checking whether the target board is remote.
14155 * gdb.multi/multi-attach.exp: Likewise.
14156 * gdb.python/py-sync-interp.exp: Likewise.
14157 * gdb.server/ext-attach.exp: Likewise.
14158 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14159 tests that need to attach, instead of checking whether the target
14160 board is remote at the top of the file.
14161
14162 2015-01-08 Yao Qi <yao@codesourcery.com>
14163
14164 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14165
14166 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14167
14168 Fix testcase compilation.
14169 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14170
14171 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14172
14173 * gdb.python/py-type.exp: Add a couple test about empty
14174 array creation, and negative-length array creation.
14175
14176 2015-01-02 Doug Evans <xdje42@gmail.com>
14177
14178 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14179
14180 2015-01-02 Doug Evans <dje@google.com>
14181
14182 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14183
14184 2014-12-29 Yao Qi <yao@codesourcery.com>
14185
14186 * gdb.trace/entry-values.exp: Update comments. Rename variable
14187 bar_call_foo to returned_from_foo.
14188
14189 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14190
14191 PR gdb/17394
14192 * gdb.linespec/break-asm-file.c: New file.
14193 * gdb.linespec/break-asm-file.exp: New file.
14194 * gdb.linespec/break-asm-file0.s: New file.
14195 * gdb.linespec/break-asm-file1.s: New file.
14196
14197 2014-12-18 Nigel Stephens <nigel@mips.com>
14198 Maciej W. Rozycki <macro@codesourcery.com>
14199
14200 * gdb.base/float.exp: Handle the new output from "info float" on
14201 MIPS targets.
14202
14203 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14204
14205 Fix MinGW compilation.
14206 * gdb.compile/compile-ops.exp: Update untested message if
14207 !skip_compile_feature_tests.
14208 * gdb.compile/compile-setjmp.exp: Likewise.
14209 * gdb.compile/compile-tls.exp: Likewise.
14210 * gdb.compile/compile.exp: Likewise.
14211 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14212 supported on this host".
14213
14214 2014-12-16 Doug Evans <xdje42@gmail.com>
14215
14216 * boards/stabs.exp: New file.
14217
14218 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14219
14220 * gdb.base/completion.exp: Adjust to format changes of "maint
14221 print user-registers".
14222
14223 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14224
14225 PR server/17457
14226 * gdb.arch/aarch64-fp.c: New file.
14227 * gdb.arch/aarch64-fp.exp: New file.
14228
14229 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14230
14231 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14232 r210637, r210913, r211666, r215400, r215817).
14233
14234 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14235 * dg-extract-results.py: New file.
14236 * dg-extract-results.sh: Use it if the environment seems
14237 suitable.
14238
14239 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14240
14241 * dg-extract-results.py (parse_run): Handle warnings that
14242 are printed before a test harness is run.
14243
14244 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14245
14246 * dg-extract-results.py (Named): Remove __cmp__ method.
14247 (output_variation): Use a key to sort variation.harnesses.
14248
14249 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14250
14251 * dg-extract-results.py: For Python 3, force sys.stdout to
14252 handle surrogate escape sequences.
14253 (safe_open): New function.
14254 (output_segment, main): Use it.
14255
14256 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14257
14258 * dg-extract-results.py (Prog.result_re): Include options
14259 in test name.
14260
14261 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14262
14263 * dg-extract-results.py (output_variation): Always sort if
14264 do_sum.
14265
14266 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14267
14268 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14269 as long as we get pagination notifications.
14270
14271 2014-12-15 Jason Merrill <jason@redhat.com>
14272
14273 * Makefile.in (check-gdb.%): Restore.
14274 * README: Mention it.
14275
14276 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14277
14278 * gdb.ada/str_uninit: New testcase.
14279
14280 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14281
14282 PR symtab/17642
14283 * gdb.base/vla-stub-define.c: New file.
14284 * gdb.base/vla-stub.c: New file.
14285 * gdb.base/vla-stub.exp: New file.
14286
14287 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14288 Jan Kratochvil <jan.kratochvil@redhat.com>
14289 Tom Tromey <tromey@redhat.com>
14290
14291 * configure.ac: Add gdb.compile/.
14292 * configure: Regenerate.
14293 * gdb.compile/Makefile.in: New file.
14294 * gdb.compile/compile-ops.exp: New file.
14295 * gdb.compile/compile-ops.c: New file.
14296 * gdb.compile/compile-tls.c: New file.
14297 * gdb.compile/compile-tls.exp: New file.
14298 * gdb.compile/compile-constvar.S: New file.
14299 * gdb.compile/compile-constvar.c: New file.
14300 * gdb.compile/compile-mod.c: New file.
14301 * gdb.compile/compile-nodebug.c: New file.
14302 * gdb.compile/compile-setjmp-mod.c: New file.
14303 * gdb.compile/compile-setjmp.c: New file.
14304 * gdb.compile/compile-setjmp.exp: New file.
14305 * gdb.compile/compile-shlib.c: New file.
14306 * gdb.compile/compile.c: New file.
14307 * gdb.compile/compile.exp: New file.
14308 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14309
14310 2014-12-12 Tom Tromey <tromey@redhat.com>
14311
14312 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14313 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14314
14315 2014-12-12 Doug Evans <dje@google.com>
14316
14317 * lib/gdb-python.exp (get_python_valueof): New function.
14318 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14319
14320 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14321
14322 * gdb.base/completion.exp: Add test for completion of "info
14323 registers ".
14324
14325 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14326
14327 * gdb.base/func-ptrs.c: New file.
14328 * gdb.base/func-ptrs.exp: New file.
14329
14330 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14331
14332 PR breakpoints/17012
14333 * gdb.base/dprintf-detach.c: New file.
14334 * gdb.base/dprintf-detach.exp: New file.
14335
14336 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14337
14338 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14339 * lib/gdb.exp (target_is_gdbserver): New procedure.
14340
14341 2014-12-08 Doug Evans <dje@google.com>
14342
14343 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14344
14345 2014-12-05 Yao Qi <yao@codesourcery.com>
14346
14347 * gdb.guile/scm-error.exp: Remove the third argument to
14348 gdb_remote_download.
14349 * gdb.guile/scm-frame-args.exp: Likewise.
14350 * gdb.guile/scm-section-script.exp: Likewise.
14351
14352 2014-12-05 Yao Qi <yao@codesourcery.com>
14353
14354 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14355
14356 2014-12-04 Doug Evans <dje@google.com>
14357
14358 * gdb.python/py-objfile.exp: Add tests for
14359 objfile.add_separate_debug_file.
14360
14361 2014-12-04 Doug Evans <dje@google.com>
14362
14363 * lib/gdb.exp (get_build_id): New function.
14364 (build_id_debug_filename_get): Rewrite to use it.
14365 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14366
14367 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14368
14369 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14370 `method(long)', not just 0x0.
14371 * gdb.cp/nsalias.exp: Align code labels to 4.
14372 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14373 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14374 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14375 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14376 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14377 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14378
14379 2014-12-02 Doug Evans <dje@google.com>
14380
14381 PR symtab/17602
14382 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14383 * gdb.cp/anon-ns2.cc: ... here. New file.
14384 * gdb.cp/anon-ns.exp: Update.
14385
14386 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14387
14388 * gdb.python/py-events.py (inferior_call_handler): New.
14389 (register_changed_handler, memory_changed_handler): New.
14390 (test_events.invoke): Register new handlers.
14391 * gdb.python/py-events.exp: Add tests for inferior call,
14392 memory_changed and register_changed events.
14393
14394 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14395
14396 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14397 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14398 if the linker doesn't understand this.
14399
14400 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14401
14402 * gdb.python/python.exp: Change expected reply to help().
14403
14404 2014-12-01 Yao Qi <yao@codesourcery.com>
14405
14406 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14407 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14408 * configure: Re-generated.
14409
14410 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14411
14412 * gdb.cp/chained-calls.cc: New file.
14413 * gdb.cp/chained-calls.exp: New file.
14414 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14415
14416 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14417
14418 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14419 * gdb.dwarf2/symtab-producer.exp: Same.
14420 * gdb.gdb/python-interrupts.exp: Same.
14421 * gdb.gdb/python-selftest.exp: Same.
14422 * gdb.python/py-linetable.exp: Same.
14423 * gdb.python/py-type.exp: Same.
14424 * gdb.python/py-value-cc.exp: Same.
14425 * gdb.python/py-value.exp: Same.
14426
14427 2014-11-28 Yao Qi <yao@codesourcery.com>
14428
14429 * gdb.base/break-probes.exp: Match library name prefixed with
14430 sysroot.
14431
14432 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14433
14434 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14435 test expected output. Add parentheses for the call to print.
14436 Remove L suffix from integers.
14437
14438 2014-11-26 Doug Evans <dje@google.com>
14439
14440 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14441
14442 2014-11-22 Yao Qi <yao@codesourcery.com>
14443
14444 * gdb.trace/entry-values.c: Remove asms.
14445 (foo): Add foo_label.
14446 (bar): Add bar_label.
14447 * gdb.trace/entry-values.exp: Remove code computing foo's
14448 length and bar's length.
14449 (Dwarf::assemble): Invoke function_range for bar and use
14450 MACRO_AT_func for foo.
14451
14452 2014-11-22 Yao Qi <yao@codesourcery.com>
14453
14454 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14455 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14456 Use .Lgcc43_procstart instead of gcc43.
14457
14458 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14459
14460 * gdb.ada/n_arr_bound: New testcase.
14461
14462 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14463
14464 PR breakpoints/10737
14465 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14466 test_catch_syscall_multi_arch.
14467 (test_catch_syscall_multi_arch): New function.
14468
14469 2014-11-20 Doug Evans <xdje42@gmail.com>
14470
14471 * gdb.base/maint.exp: Update expected output.
14472
14473 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14474
14475 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14476 4-byte instruction on S390.
14477
14478 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14479
14480 * gdb.ada/arr_arr: New testcase.
14481
14482 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14483
14484 * gdb.ada/pkd_arr_elem: New Testcase.
14485
14486 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14487
14488 * gdb.reverse/break-precsave: Expect completion message for
14489 core file reads.
14490 * gdb.reverse/consecutive-precsave.exp: Likewise.
14491 * gdb.reverse/finish-precsave.exp: Likewise.
14492 * gdb.reverse/i386-precsave.exp: Likewise.
14493 * gdb.reverse/machinestate-precsave.exp: Likewise.
14494 * gdb.reverse/sigall-precsave.exp: Likewise.
14495 * gdb.reverse/solib-precsave.exp: Likewise.
14496 * gdb.reverse/step-precsave.exp: Likewise.
14497 * gdb.reverse/until-precsave.exp: Likewise.
14498 * gdb.reverse/watch-precsave.exp: Likewise.
14499
14500 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14501
14502 * gdb.base/bp-permanent.c: Include unistd.h.
14503 * gdb.python/py-framefilter-mi.c (main): Add return type.
14504 * gdb.python/py-framefilter.c (main): Likewise.
14505 * gdb.trace/actions-changed.c (main): Likewise.
14506
14507 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14508
14509 * gdb.mi/until.c: Add eye-catchers.
14510 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14511 line numbers.
14512
14513 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14514
14515 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14516 function header variants in break1.c.
14517 * gdb.base/ena-dis-br.exp: Likewise.
14518 * gdb.base/hbreak2.exp: Likewise.
14519 * gdb.reverse/until-precsave.exp: Drop references to removed
14520 non-prototype function header variants in ur1.c.
14521 * gdb.reverse/until-reverse.exp: Likewise.
14522
14523 2014-11-17 Petr Machata <pmachata@redhat.com>
14524
14525 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14526 ${_cu_offset_size} bytes abbrev offset.
14527
14528 2014-11-15 Doug Evans <xdje42@gmail.com>
14529
14530 PR symtab/17559
14531 * gdb.base/line-symtabs.exp: New file.
14532 * gdb.base/line-symtabs.c: New file.
14533 * gdb.base/line-symtabs.h: New file.
14534
14535 2014-11-14 Yao Qi <yao@codesourcery.com>
14536
14537 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14538 (func): Add label func_label.
14539 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14540 Replace low_pc and high_pc with MACRO_AT_range.
14541 Replace name, low_pc and high_pc with MACRO_AT_func.
14542
14543 2014-11-14 Yao Qi <yao@codesourcery.com>
14544
14545 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14546 Replace name, low_pc and high_pc with MACRO_AT_func.
14547
14548 2014-11-14 Yao Qi <yao@codesourcery.com>
14549
14550 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14551 produce debug information.
14552 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14553
14554 2014-11-14 Yao Qi <yao@codesourcery.com>
14555
14556 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14557 object and get function length.
14558 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14559 with MACRO_AT_func.
14560 (top-level): Replace gdb_compile and clean_restart with
14561 prepare_for_testing.
14562 * gdb.dwarf2/main.c (main): Add label main_label.
14563
14564 2014-11-14 Yao Qi <yao@codesourcery.com>
14565
14566 * lib/dwarf.exp (function_range): New procedure.
14567 (Dwarf::_handle_macro_at_func): New procedure.
14568 (Dwarf::_handle_macro_at_range): New procedure.
14569 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14570
14571 2014-11-14 Yao Qi <yao@codesourcery.com>
14572
14573 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14574 (_handle_attribute): New procedure.
14575
14576 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14577
14578 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14579 * gdb.base/call-sc.c (zed): Likewise.
14580 * gdb.base/checkpoint.c (main): Likewise.
14581 * gdb.base/dump.c (main): Likewise.
14582 * gdb.base/gcore.c (main): Likewise.
14583 * gdb.base/huge.c (main): Likewise.
14584 * gdb.base/multi-forks.c (main): Likewise.
14585 * gdb.base/pr10179-a.c (main): Likewise.
14586 * gdb.base/savedregs.c (main): Likewise.
14587 * gdb.base/sigaltstack.c (main): Likewise.
14588 * gdb.base/siginfo.c (main): Likewise.
14589 * gdb.base/structs.c (zed): Likewise.
14590 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14591 * gdb.mi/mi-syn-frame.c (main): Likewise.
14592 * gdb.mi/until.c (foo, main): Likewise.
14593 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14594 * gdb.base/solib-weak.c (foo): Declare.
14595 * gdb.base/attach-twice.c: Include stdio.h.
14596 * gdb.base/weaklib1.c: Likewise.
14597 * gdb.base/weaklib2.c: Likewise.
14598 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14599 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14600 unistd.h.
14601 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14602 * gdb.mi/mi-exit-code.c: Likewise.
14603 * gdb.base/break-interp-lib.c: Include string.h.
14604 * gdb.base/coremaker.c: Likewise.
14605 * gdb.base/testenv.c: Likewise.
14606 * gdb.python/py-finish-breakpoint.c: Likewise.
14607 * gdb.base/inferior-died.c: Include sys/wait.h.
14608 * gdb.base/fileio.c: Include time.h.
14609 * gdb.base/async-shell.c: Include unistd.h.
14610 * gdb.base/dprintf-non-stop.c: Likewise.
14611 * gdb.base/info-os.c: Likewise.
14612 * gdb.mi/mi-console.c: Likewise.
14613 * gdb.mi/watch-nonstop.c: Likewise.
14614 * gdb.python/py-events.c: Likewise.
14615 * gdb.base/async.c (baz): Move up before its invocation.
14616 * gdb.base/code_elim2.c (my_global_func): Likewise.
14617 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14618 * gdb.base/advance.c (func2): Likewise.
14619
14620 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14621
14622 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14623 variant.
14624 * gdb.base/annota3.c: Likewise.
14625 * gdb.base/async.c: Likewise.
14626 * gdb.base/average.c: Likewise.
14627 * gdb.base/call-ar-st.c: Likewise.
14628 * gdb.base/call-rt-st.c: Likewise.
14629 * gdb.base/call-sc.c: Likewise.
14630 * gdb.base/call-strs.c: Likewise.
14631 * gdb.base/ending-run.c: Likewise.
14632 * gdb.base/execd-prog.c: Likewise.
14633 * gdb.base/exprs.c: Likewise.
14634 * gdb.base/foll-exec.c: Likewise.
14635 * gdb.base/foll-fork.c: Likewise.
14636 * gdb.base/foll-vfork.c: Likewise.
14637 * gdb.base/funcargs.c: Likewise.
14638 * gdb.base/gcore.c: Likewise.
14639 * gdb.base/jump.c: Likewise.
14640 * gdb.base/langs0.c: Likewise.
14641 * gdb.base/langs1.c: Likewise.
14642 * gdb.base/langs2.c: Likewise.
14643 * gdb.base/mips_pro.c: Likewise.
14644 * gdb.base/nodebug.c: Likewise.
14645 * gdb.base/opaque0.c: Likewise.
14646 * gdb.base/opaque1.c: Likewise.
14647 * gdb.base/recurse.c: Likewise.
14648 * gdb.base/run.c: Likewise.
14649 * gdb.base/scope0.c: Likewise.
14650 * gdb.base/scope1.c: Likewise.
14651 * gdb.base/setshow.c: Likewise.
14652 * gdb.base/setvar.c: Likewise.
14653 * gdb.base/shmain.c: Likewise.
14654 * gdb.base/shr1.c: Likewise.
14655 * gdb.base/shr2.c: Likewise.
14656 * gdb.base/sigall.c: Likewise.
14657 * gdb.base/signals.c: Likewise.
14658 * gdb.base/so-indr-cl.c: Likewise.
14659 * gdb.base/solib2.c: Likewise.
14660 * gdb.base/structs.c: Likewise.
14661 * gdb.base/sum.c: Likewise.
14662 * gdb.base/vforked-prog.c: Likewise.
14663 * gdb.base/watchpoint.c: Likewise.
14664 * gdb.reverse/shr2.c: Likewise.
14665 * gdb.reverse/until-reverse.c: Likewise.
14666 * gdb.reverse/ur1.c: Likewise.
14667 * gdb.reverse/watch-reverse.c: Likewise.
14668
14669 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14670
14671 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14672 variant.
14673 * gdb.base/sepdebug.exp: Drop references to removed code.
14674
14675 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14676
14677 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14678 variant. Preserve original line numbering.
14679 * gdb.base/list1.c: Likewise.
14680
14681 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14682
14683 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14684 variant.
14685 * gdb.base/break1.c: Likewise.
14686 * gdb.base/break.exp: Drop references to removed code.
14687
14688 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14689
14690 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14691 variant.
14692
14693 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14694
14695 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14696
14697 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14698
14699 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14700 logic into perform_all_tests() and invoke it with and without
14701 function header prototypes.
14702 (do_function_calls): Remove conditional XFAIL for PR 5318.
14703 (rerun_and_prepare): Remove duplicate code.
14704 (perform_all_tests): New. Main logic moved here.
14705
14706 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14707
14708 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14709 code guarded by #ifdef NO_PROTOTYPES.
14710 (t_double_many_args): Likewise.
14711 (DEF_FUNC_MANY_ARGS_1): Likewise.
14712 (DEF_FUNC_VALUES_1): Likewise.
14713 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14714 guarded by #ifdef PROTOTYPES.
14715
14716 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14717
14718 * gdb.mi/mi-console.c: Add eye-catcher.
14719 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14720 instead of literal line number.
14721
14722 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14723
14724 * gdb.base/shr2.c: Add eye-catcher.
14725 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14726 line number.
14727
14728 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14729
14730 * gdb.base/jump.c: Add eye-catchers.
14731 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14732 numbers.
14733
14734 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14735
14736 * gdb.base/execd-prog.c: Add eye-catchers.
14737 * gdb.base/foll-exec.c: Likewise.
14738 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14739 line numbers.
14740
14741 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14742
14743 * gdb.base/ending-run.c: Add eye-catchers.
14744 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14745 literal line numbers.
14746
14747 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14748
14749 * gdb.base/call-rt-st.c: Add eye-catchers.
14750 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14751 literal line numbers.
14752
14753 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14754
14755 * gdb.base/call-ar-st.c: Add eye-catchers.
14756 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14757 literal line numbers.
14758
14759 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14760
14761 * gdb.base/average.c: Add eye-catchers.
14762 * gdb.base/sum.c: Likewise.
14763 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14764 regexps dynamically.
14765
14766 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14767
14768 * gdb.base/solib1.c: Add eye-catchers.
14769 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14770 literal line numbers.
14771
14772 2014-11-12 Pedro Alves <palves@redhat.com>
14773
14774 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14775 leader has exited.
14776
14777 2014-11-12 Pedro Alves <palves@redhat.com>
14778
14779 * gdb.arch/i386-bp_permanent.c: New file.
14780 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14781 (srcfile): Set to i386-bp_permanent.c.
14782 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14783 that stepi does not execute the 'leave' instruction, instead of
14784 testing it does execute.
14785 * gdb.base/bp-permanent.c: New file.
14786 * gdb.base/bp-permanent.exp: New file.
14787
14788 2014-11-10 Doug Evans <xdje42@gmail.com>
14789
14790 PR symtab/17564
14791 * gdb.base/symtab-search-order.exp: New file.
14792 * gdb.base/symtab-search-order.c: New file.
14793 * gdb.base/symtab-search-order-1.c: New file.
14794 * gdb.base/symtab-search-order-shlib-1.c: New file.
14795
14796 2014-11-07 Pedro Alves <palves@redhat.com>
14797
14798 PR gdb/17511
14799 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14800 i?86-*-linux*.
14801
14802 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14803
14804 PR c++/17494
14805 * gdb.cp/pr17494.cc: New file.
14806 * gdb.cp/pr17494.exp: New file.
14807
14808 2014-11-02 Yao Qi <yao@codesourcery.com>
14809
14810 * gdb.python/python.exp: Get working directory and match the
14811 output of "set extended-prompt \\w " with it.
14812
14813 2014-10-30 Doug Evans <dje@google.com>
14814
14815 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14816 in objfiles.
14817 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14818 in progspaces.
14819
14820 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14821
14822 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14823 * gdb.base/realname-expand.exp: Likewise.
14824 * gdb.linespec/macro-relative.exp: Likewise.
14825
14826 2014-10-29 Pedro Alves <palves@redhat.com>
14827
14828 PR gdb/17408
14829 * gdb.threads/schedlock.c (some_function): New function.
14830 (call_function): New global.
14831 (MAYBE_CALL_SOME_FUNCTION): New macro.
14832 (thread_function): Call it.
14833 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14834 and use it instead of a global counter. Adjust all callers.
14835 (get_current_thread): Use "find current thread" for test message
14836 here rather than having all callers pass down the same string.
14837 (goto_loop): New procedure, factored out from ...
14838 (my_continue): ... this.
14839 (step_ten_loops): Change parameter from test message to command to
14840 use. Adjust.
14841 (list_count): Delete global.
14842 (check_result): New procedure, factored out from duplicate top
14843 level code.
14844 (continue tests): Wrap in with_test_prefix.
14845 (test_step): New procedure, factored out from duplicate top level
14846 code.
14847 (top level): Test "step" in combination with all scheduler-locking
14848 modes. Test "next" in combination with all scheduler-locking
14849 modes, and in combination with stepping over a function call or
14850 not.
14851 * gdb.threads/next-bp-other-thread.c: New file.
14852 * gdb.threads/next-bp-other-thread.exp: New file.
14853
14854 2014-10-29 Pedro Alves <palves@redhat.com>
14855
14856 PR python/17372
14857 * gdb.python/python.exp: Test a multi-line command that spawns
14858 interactive Python.
14859 * gdb.base/multi-line-starts-subshell.exp: New file.
14860
14861 2014-10-29 Yao Qi <yao@codesourcery.com>
14862
14863 * gdb.base/fileio.exp: Make directories on host.
14864
14865 2014-10-29 Yao Qi <yao@codesourcery.com>
14866
14867 * gdb.base/fileio.c (test_write): Close the file.
14868
14869 2014-10-28 Pedro Alves <palves@redhat.com>
14870
14871 PR gdb/12623
14872 * gdb.base/sigstep.c (no_handler): New global.
14873 (main): If 'no_handler is true, set the signal handlers to
14874 SIG_IGN.
14875 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14876 with_sw_watch and no_handler parameters. Handle them.
14877 (top level) <stepping over handler when stopped at a breakpoint
14878 test>: Add a test axis for testing with a software watchpoint, and
14879 another for testing with the signal handler set to SIG_IGN.
14880 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14881 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14882
14883 2014-10-28 Pedro Alves <palves@redhat.com>
14884
14885 PR gdb/17511
14886 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14887 * gdb.base/sigstep.exp (other_handler_location): New global.
14888 (advance): Support stepping into the signal handler, and running
14889 commands while in the handler.
14890 (in_handler_map): New global.
14891 (top level): In the advance test, add combinations for getting
14892 into the handler with stepping commands, and for running commands
14893 in the handler. Add comment descripting the advancei tests.
14894
14895 2014-10-28 Pedro Alves <palves@redhat.com>
14896
14897 * gdb.base/sigstep.exp: Use build_executable instead of
14898 prepare_for_testing.
14899 (top level): Move code that starts GDB, runs to main and creates a
14900 display to ...
14901 (restart): ... this new procedure.
14902 (top level): Move backtrace from signal handler test to ...
14903 (validate_backtrace): ... this new procedure.
14904 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14905 with_test_prefix. Always restart GDB.
14906 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14907 with_test_prefix. Always restart GDB. No need to delete
14908 breakpoints after the test.
14909 (test_skip_handler): Remove prefix parameter.
14910 (skip_over_handler, breakpoint_to_handler)
14911 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14912 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14913 restart GDB. No need to delete breakpoints after the test.
14914 (top level): Use foreach to call the test procedures with
14915 different commands.
14916
14917 2014-10-28 Pedro Alves <palves@redhat.com>
14918
14919 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14920 instead of GNATS numbers.
14921 * gdb.base/sigbpt.exp: Likewise.
14922 * gdb.base/siginfo.exp: Likewise.
14923 * gdb.base/sigstep.exp: Likewise.
14924
14925 2014-10-27 Pedro Alves <palves@redhat.com>
14926
14927 * gdb.base/sigstep.c (dummy): New global.
14928 (main): Issue a couple writes to the new global.
14929 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14930 procedures.
14931 (skip_over_handler): Use test_skip_handler.
14932 (top level): Call skip_over_handler for stepi and nexti too.
14933 (breakpoint_over_handler): Use test_skip_handler.
14934 (top level): Call breakpoint_over_handler for stepi and nexti too.
14935
14936 2014-10-27 Yao Qi <yao@codesourcery.com>
14937
14938 * gdb.trace/tfile.c (adjust_function_address)
14939 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14940 function descriptor.
14941
14942 2014-10-24 Don Breazeal <donb@codesourcery.com>
14943
14944 * gdb.base/foll-fork.exp (test_follow_fork,
14945 catch_fork_child_follow): Check for updated fork messages emitted
14946 from infrun.c.
14947 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14948 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14949 vfork_and_exec_child_follow_through_step): Check for updated vfork
14950 messages emitted from infrun.c.
14951
14952 2014-10-24 Pedro Alves <palves@redhat.com>
14953
14954 * gdb.base/corefile.exp: Remove references to ultrix.
14955 * gdb.base/interrupt.exp: Likewise.
14956 * gdb.base/whatis.exp: Likewise.
14957 * gdb.gdb/selftest.exp: Likewise.
14958 * gdb.threads/manythreads.exp: Likewise.
14959 * gdb.threads/print-threads.exp: Likewise.
14960 * gdb.threads/pthreads.exp:: Likewise.
14961 * gdb.threads/schedlock.exp: Likewise.
14962
14963 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14964
14965 * gdb.cp/non-trivial-retval.cc: Add a test case.
14966 * gdb.cp/non-trivial-retval.exp: Add a test.
14967
14968 2014-10-20 Yao Qi <yao@codesourcery.com>
14969
14970 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14971 * gdb.python/py-objfile-script-gdb.py: New file.
14972 * gdb.python/py-objfile-script.exp: Update reference to
14973 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14974 of remote_download. Remove the dest file.
14975
14976 2014-10-20 Yao Qi <yao@codesourcery.com>
14977
14978 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14979 * gdb.base/step-line.exp: Likewise.
14980 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14981 * gdb.dwarf2/dw2-basic.exp: Likewise.
14982 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14983 * gdb.dwarf2/dw2-filename.exp: Likewise.
14984 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14985 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14986 * gdb.dwarf2/dw2-producer.exp: Likewise.
14987 * gdb.dwarf2/mac-fileno.exp: Likewise.
14988 * gdb.python/py-frame-args.exp: Likewise.
14989 * gdb.python/py-framefilter.exp: Likewise.
14990 * gdb.python/py-mi.exp: Likewise.
14991 * gdb.python/py-objfile-script.exp: Likewise
14992 * gdb.python/py-pp-integral.exp: Likewise.
14993 * gdb.python/py-pp-re-notag.exp: Likewise.
14994 * gdb.python/py-prettyprint.exp: Likewise.
14995 * gdb.python/py-section-script.exp: Likewise.
14996 * gdb.python/py-typeprint.exp: Likewise.
14997 * gdb.python/py-xmethods.exp: Likewise.
14998 * gdb.stabs/weird.exp: Likewise.
14999 * gdb.xml/tdesc-regs.exp: Likewise.
15000
15001 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15002
15003 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15004 (out_cu): Use addr_len for the size of addresses.
15005 (out_line): Likewise. Size DW_LNE_set_address instruction
15006 according to addr_len.
15007 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15008 (FUNC): Add START_INSNS to definition.
15009
15010 2014-10-18 Yao Qi <yao@codesourcery.com>
15011
15012 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15013 gdb_has_argv0 return true.
15014 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15015 check [target_info exists noargs], check [gdb_has_argv0]
15016 instead.
15017 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15018 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15019 procedures.
15020
15021 2014-10-17 Doug Evans <dje@google.com>
15022
15023 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15024 event.
15025 * gdb.python/py-events.py: Add clear_objfiles event.
15026
15027 2014-10-17 Doug Evans <dje@google.com>
15028
15029 * gdb.python/py-objfile.exp: Test progspace attribute.
15030
15031 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15032
15033 * gdb.guile/scm-breakpoint.exp: Do not assume any
15034 directory separators when matching source file paths.
15035 * gdb.python/py-breakpoint.exp: Likewise.
15036 * gdb.reverse/break-precsave.exp: Likewise.
15037 * gdb.reverse/break-reverse.exp: Likewise.
15038 * gdb.reverse/consecutive-precsave.exp: Likewise.
15039 * gdb.reverse/finish-precsave.exp: Likewise.
15040 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15041 * gdb.reverse/finish-reverse.exp: Likewise.
15042 * gdb.reverse/i386-precsave.exp: Likewise.
15043 * gdb.reverse/i387-env-reverse.exp: Likewise.
15044 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15045 * gdb.reverse/machinestate-precsave.exp: Likewise.
15046 * gdb.reverse/machinestate.exp: Likewise.
15047 * gdb.reverse/sigall-precsave.exp: Likewise.
15048 * gdb.reverse/solib-precsave.exp: Likewise.
15049 * gdb.reverse/step-precsave.exp: Likewise.
15050 * gdb.reverse/until-precsave.exp: Likewise.
15051 * gdb.reverse/watch-precsave.exp: Likewise.
15052 * gdb.reverse/watch-reverse.exp: Likewise.
15053
15054 2014-10-17 Yao Qi <yao@codesourcery.com>
15055
15056 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15057 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15058
15059 2014-10-17 Pedro Alves <palves@redhat.com>
15060
15061 PR gdb/17471
15062 * gdb.base/bg-execution-repeat.c: New file.
15063 * gdb.base/bg-execution-repeat.exp: New file.
15064
15065 2014-10-17 Pedro Alves <palves@redhat.com>
15066
15067 PR gdb/17300
15068 * gdb.base/continue-all-already-running.c: New file.
15069 * gdb.base/continue-all-already-running.exp: New file.
15070
15071 2014-10-17 Pedro Alves <palves@redhat.com>
15072
15073 PR gdb/17472
15074 * gdb.base/annota-input-while-running.c: New file.
15075 * gdb.base/annota-input-while-running.exp: New file.
15076
15077 2014-10-17 Pedro Alves <palves@redhat.com>
15078
15079 * gdb.base/callfuncs.exp: emove references to osf.
15080 * gdb.base/sigall.exp: Likewise.
15081 * gdb.gdb/selftest.exp: Likewise.
15082 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15083 * gdb.mi/non-stop.c: Likewise.
15084 * gdb.mi/pthreads.c: Likewise.
15085 * gdb.reverse/sigall-precsave.exp: Likewise.
15086 * gdb.reverse/sigall-reverse.exp: Likewise.
15087 * gdb.threads/pthreads.c: Likewise.
15088 * gdb.threads/pthreads.exp: Likewise.
15089
15090 2014-10-17 Yao Qi <yao@codesourcery.com>
15091
15092 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15093 check 'target_info exists noargs'.
15094 (test_command_prompt_position): Likewise.
15095 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15096 Remove "set args".
15097 (progvar_simple_while_test): Likewise.
15098 (progvar_complex_if_while_test): Likewise.
15099 (if_while_breakpoint_command_test): Likewise.
15100 (infrun_breakpoint_command_test): Likewise.
15101 (breakpoint_command_test): Likewise.
15102 (watchpoint_command_test): Likewise.
15103 (bp_deleted_in_command_test): Likewise.
15104 (temporary_breakpoint_commands): Likewise.
15105
15106 2014-10-16 Yao Qi <yao@codesourcery.com>
15107
15108 * gdb.base/remotetimeout.exp: Remove noargs checking.
15109
15110 2014-10-15 Pedro Alves <palves@redhat.com>
15111
15112 PR breakpoints/9649
15113 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15114 * gdb.base/breakpoint-in-ro-region.exp
15115 (probe_target_hardware_step): New procedure.
15116 (top level): Probe hardware stepping and hardware breakpoint
15117 support. Test stepping through a read-only region, with both
15118 "breakpoint auto-hw" on and off and both "always-inserted" on and
15119 off.
15120
15121 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15122
15123 * gdb.dlang/demangle.exp: Update for demangling changes.
15124
15125 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15126
15127 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15128 * gdb.cp/non-trivial-retval.exp: Add new tests.
15129
15130 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15131
15132 PR c++/13403
15133 PR c++/15154
15134 * gdb.cp/non-trivial-retval.cc: New file.
15135 * gdb.cp/non-trivial-retval.exp: New file.
15136
15137 2014-10-15 Yao Qi <yao@codesourcery.com>
15138
15139 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15140 remote host.
15141
15142 2014-10-15 Yao Qi <yao@codesourcery.com>
15143
15144 * gdb.python/py-symbol.exp: Match file base name if host is
15145 remote, otherwise match file name with dir name.
15146 * gdb.python/py-symtab.exp: Likewise.
15147 * gdb.python/python.exp: Likewise.
15148
15149 2014-10-15 Yao Qi <yao@codesourcery.com>
15150
15151 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15152 pattern.
15153 * gdb.python/py-symtab.exp: Likewise.
15154 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15155 locationn.
15156
15157 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15158
15159 * gdb.ada/addr_arith: New testcase.
15160
15161 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15162
15163 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15164 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15165 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15166 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15167
15168 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15169
15170 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15171 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15172 * gdb.arch/stap-eval-lang-ada.exp: New file.
15173
15174 2014-10-14 Yao Qi <yao@codesourcery.com>
15175
15176 * gdb.mi/mi-var-child.c (nothing1): New function.
15177 (nothing2): New function.
15178 (do_children_tests): Set function pointers by nothing1 and
15179 nothing2.
15180 * gdb.mi/mi-var-child.exp: Step over new added statements.
15181 Update test to match the new output.
15182 * gdb.mi/var-cmd.c (nothing1): New function.
15183 (nothing2): New function.
15184 (do_children_tests): Set function pointers by nothing1 and
15185 nothing2.
15186 * gdb.mi/mi-var-display.exp: Update test to match output.
15187 Step to the line specified by $line_dct_nothing.
15188 Increase the number of lines to step.
15189
15190 2014-10-14 Yao Qi <yao@codesourcery.com>
15191
15192 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15193 tests.
15194 * gdb.mi/mi2-var-child.exp: Likewise.
15195
15196 2014-10-13 Doug Evans <dje@google.com>
15197
15198 * gdb.python/py-objfile.exp: Change name of file name test.
15199
15200 2014-10-13 Doug Evans <dje@google.com>
15201
15202 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15203 from the start of the CU.
15204
15205 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15206 Yao Qi <yao@codesourcery.com>
15207
15208 Fix "save breakpoints" for "catch" command.
15209 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15210 Remove -nonewline. Match also the added "main" line.
15211
15212 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15213
15214 Fix "save breakpoints" for "disable $bpnum" command.
15215 * gdb.base/save-bp.c (main): Add label.
15216 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15217
15218 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15219
15220 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15221
15222 2014-10-11 Yao Qi <yao@codesourcery.com>
15223
15224 * gdb.server/server-kill.exp: Execute command
15225 "set remote trace-status-packet on" before "tstatus".
15226
15227 2014-10-11 Yao Qi <yao@codesourcery.com>
15228
15229 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15230 (main): Call getppid.
15231 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15232 and continue to it. Read variable "server_pid".
15233
15234 2014-10-11 Yao Qi <yao@codesourcery.com>
15235
15236 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15237
15238 2014-10-11 Yao Qi <yao@codesourcery.com>
15239
15240 * gdb.threads/thread-find.exp: Don't execute command
15241 "info threads".
15242 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15243 * gdb.threads/linux-dp.exp: Don't check the condition
15244 $threads_created equals to zero.
15245
15246 2014-10-10 Pedro Alves <palves@redhat.com>
15247
15248 * gdb.base/bigcore.exp: Remove references to IRIX.
15249 * gdb.base/funcargs.exp: Likewise.
15250 * gdb.base/interrupt.exp: Likewise.
15251 * gdb.base/mips_pro.exp: Likewise.
15252 * gdb.base/nodebug.exp: Likewise.
15253 * gdb.base/setvar.exp: Likewise.
15254 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15255
15256 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15257 Pedro Alves <palves@redhat.com>
15258
15259 PR symtab/14466
15260 * gdb.base/vdso-warning.c: New file.
15261 * gdb.base/vdso-warning.exp: New file.
15262
15263 2014-10-02 Doug Evans <dje@google.com>
15264
15265 * gdb.base/structs.c (main): Don't run forever.
15266
15267 2014-10-02 Pedro Alves <palves@redhat.com>
15268
15269 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15270 (top level) <stop threads 1, stop threads 2>: Use it.
15271
15272 2014-10-02 Pedro Alves <palves@redhat.com>
15273
15274 * gdb.threads/break-while-running.exp (test): Add new
15275 'update_thread_list' argument. Skip "info threads" if false.
15276 (top level): Add new 'update_thread_list' axis.
15277
15278 2014-10-02 Pedro Alves <palves@redhat.com>
15279
15280 PR breakpoints/17431
15281 * gdb.base/execl-update-breakpoints.c: New file.
15282 * gdb.base/execl-update-breakpoints.exp: New file.
15283
15284 2014-10-01 Pedro Alves <palves@redhat.com>
15285
15286 * gdb.base/breakpoint-in-ro-region.c: New file.
15287 * gdb.base/breakpoint-in-ro-region.exp: New file.
15288
15289 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15290
15291 * gdb.mi/mi-exit-code.exp: New file.
15292 * gdb.mi/mi-exit-code.c: New file.
15293
15294 2014-09-30 Yao Qi <yao@codesourcery.com>
15295
15296 * lib/prelink-support.exp (build_executable_own_libs): Error if
15297 the target isn't native.
15298
15299 2014-09-30 Yao Qi <yao@codesourcery.com>
15300
15301 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15302 false.
15303
15304 2014-09-22 Pedro Alves <palves@redhat.com>
15305
15306 * gdb.threads/break-while-running.exp: New file.
15307 * gdb.threads/break-while-running.c: New file.
15308
15309 2014-09-19 Yao Qi <yao@codesourcery.com>
15310
15311 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15312 Invoke test. Restart GDB with --readnow and invoke test again.
15313
15314 2014-09-19 Yao Qi <yao@codesourcery.com>
15315
15316 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15317 proc set_breakpoint_on_gcd_function. Invoke
15318 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15319 invoke set_breakpoint_on_gcd_function again.
15320
15321 2014-09-18 Doug Evans <dje@google.com>
15322
15323 * gdb.dwarf2/symtab-producer.exp: New file.
15324
15325 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15326
15327 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15328 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15329 * gdb.base/global-var-nested-by-dso.c: Likewise.
15330 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15331
15332 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15333 Pedro Alves <palves@redhat.com>
15334
15335 * gdb.base/watch-bitfields.exp: Pass string other than test file
15336 name to prepare_for_testing.
15337 (watch): New procedure.
15338 (expect_watchpoint): Use with_test_prefix.
15339 (top level): Factor out tests to ...
15340 (test_watch_location, test_regular_watch): ... these new
15341 procedures, and use with_test_prefix and gdb_continue_to_end.
15342
15343 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15344
15345 PR breakpoints/12526
15346 * gdb.base/watch-bitfields.exp: New file.
15347 * gdb.base/watch-bitfields.c: New file.
15348
15349 2014-09-16 Pedro Alves <palves@redhat.com>
15350
15351 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15352 software and hardware addresses, not software address against
15353 itself.
15354
15355 2014-09-16 Pedro Alves <palves@redhat.com>
15356
15357 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15358 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15359
15360 2014-09-16 Pedro Alves <palves@redhat.com>
15361
15362 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15363 files.
15364 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15365 "*-*-vxworks*" throughout.
15366 * gdb.base/break.exp: Likewise.
15367 * gdb.base/default.exp: Likewise.
15368 * gdb.base/scope.exp: Likewise.
15369 * gdb.base/sepdebug.exp: Likewise.
15370 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15371 throughout.
15372 * gdb.base/run.c: Likewise.
15373 * gdb.base/sepdebug.c: Likewise.
15374 * gdb.hp/gdb.aCC/run.c: Likewise.
15375 * gdb.reverse/until-reverse.c: Likewise.
15376 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15377
15378 2014-09-16 Yao Qi <yao@codesourcery.com>
15379
15380 * boards/local-remote-host-native.exp: New file.
15381
15382 2014-09-14 Doug Evans <xdje42@gmail.com>
15383
15384 * gdb.threads/queue-signal.c (thread_count): New variable.
15385 (thread_count_mutex, thread_count_condvar): New variables.
15386 (incr_thread_count, wait_all_threads_running): New functions.
15387 (main): Wait for all threads to be in their thread functions.
15388
15389 2014-09-13 Doug Evans <xdje42@gmail.com>
15390
15391 * gdb.threads/queue-signal.c: New file.
15392 * gdb.threads/queue-signal.exp: New file.
15393
15394 2014-09-13 Doug Evans <xdje42@gmail.com>
15395
15396 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15397 be consistent with what default_gdb_init uses.
15398 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15399 the plain text of the prompt. Add some logging printfs.
15400 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15401
15402 2014-09-12 Pedro Alves <palves@redhat.com>
15403
15404 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15405 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15406 * gdb.arch/i386-size-overlap.exp: Likewise.
15407 * gdb.arch/i386-size.exp: Likewise.
15408 * gdb.arch/i386-unwind.exp: Likewise.
15409 * gdb.base/a2-run.exp: Likewise.
15410 * gdb.base/break.exp: Likewise.
15411 * gdb.base/charset.exp: Likewise.
15412 * gdb.base/chng-syms.exp: Likewise.
15413 * gdb.base/commands.exp: Likewise.
15414 * gdb.base/dbx.exp: Likewise.
15415 * gdb.base/find.exp: Likewise.
15416 * gdb.base/funcargs.exp: Likewise.
15417 * gdb.base/jit-simple.exp: Likewise.
15418 * gdb.base/reread.exp: Likewise.
15419 * gdb.base/sepdebug.exp: Likewise.
15420 * gdb.base/step-bt.exp: Likewise.
15421 * gdb.cp/mb-inline.exp: Likewise.
15422 * gdb.cp/mb-templates.exp: Likewise.
15423 * gdb.objc/basicclass.exp: Likewise.
15424 * gdb.threads/killed.exp: Likewise.
15425
15426 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15427
15428 PR tdep/17379
15429 * gdb.arch/powerpc-stackless.S: New file.
15430 * gdb.arch/powerpc-stackless.exp: New file.
15431
15432 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15433
15434 * gdb.base/attach.c: Include unistd.h.
15435 (main): Call alarm. Add label postloop.
15436 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15437 gdb_breakpoint, gdb_continue_to_breakpoint.
15438 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15439
15440 2014-09-11 Pedro Alves <palves@redhat.com>
15441
15442 PR gdb/17347
15443 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15444 * gdb.base/attach.exp (test_command_line_attach_run): New
15445 procedure.
15446 (top level): Call it.
15447
15448 2014-09-11 Pedro Alves <palves@redhat.com>
15449
15450 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15451 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15452 (do_command_attach_tests): Use spawn_wait_for_attach.
15453 * gdb.base/solib-overlap.exp: Likewise.
15454 * gdb.multi/multi-attach.exp: Likewise.
15455 * gdb.python/py-prompt.exp: Likewise.
15456 * gdb.python/py-sync-interp.exp: Likewise.
15457 * gdb.server/ext-attach.exp: Likewise.
15458
15459 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15460
15461 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15462 command in testcase. Simplify testcase.
15463
15464 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15465
15466 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15467
15468 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15469
15470 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15471
15472 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15473
15474 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15475
15476 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15477
15478 * gdb.dwarf2/dynarr-ptr.c: New file.
15479 * gdb.dwarf2/dynarr-ptr.exp: New file.
15480
15481 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15482
15483 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15484 of 30 rather than hardcoding 120 for a slow test case. Take the
15485 `gdb,timeout' target setting into account for this calculation.
15486 Don't extend the timeout for the test cases that don't need it.
15487
15488 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15489
15490 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15491 a factor of 2 for a slow test case. Take the `gdb,timeout'
15492 target setting into account for this calculation.
15493 * gdb.reverse/until-precsave.exp: Increase the timeout by
15494 a factor of 15 and 3 respectively rather than adding 120
15495 for a pair of slow test cases. Take the `gdb,timeout'
15496 target setting into account for this calculation.
15497
15498 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15499
15500 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15501 timeout, don't pass one down to gdb_expect.
15502 (gdb_expect): Rework timeout selection.
15503
15504 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15505
15506 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15507 exception on timeout.
15508 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15509 (gdbserver_start_extended): Catch any `gdbserver_start' error
15510 exceptions.
15511 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15512 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15513 `gdbserver_gdb_load' error exceptions.
15514
15515 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15516
15517 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15518 120 on waiting for the TCP socket to open.
15519
15520 2014-09-09 Doug Evans <xdje42@gmail.com>
15521
15522 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15523 _caller_matches, _any_caller_is, _any_caller_matches.
15524
15525 2014-09-09 Doug Evans <xdje42@gmail.com>
15526
15527 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15528
15529 2014-09-09 Yao Qi <yao@codesourcery.com>
15530
15531 * gdb.mi/mi-var-display.exp: Set print symbol off.
15532
15533 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15534
15535 PR gdb/17035
15536 * gdb.base/commands.exp: Add tests to verify user-defined
15537 commands with empty bodies.
15538 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15539 python commands in `show user command`.
15540 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15541 scheme commands in `show user command`.
15542
15543 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15544
15545 PR python/17355
15546 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15547 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15548 * gdb.python/py-framefilter-invalidarg.exp: New file.
15549 * gdb.python/py-framefilter-invalidarg.py: New file.
15550
15551 2014-09-06 Doug Evans <xdje42@gmail.com>
15552
15553 PR 15276
15554 * gdb.python/py-caller-is.c: New file.
15555 * gdb.python/py-caller-is.exp: New file.
15556
15557 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15558
15559 PR gdb/17235
15560 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15561 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15562
15563 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15564
15565 PR fortran/17237
15566 * gdb.fortran/print-formatted.exp: New file.
15567 * gdb.fortran/print-formatted.f90: Likewise.
15568
15569 2014-09-03 Sasha Smundak <asmundak@google.com>
15570
15571 * gdb.python/py-frame.exp: Test Frame.read_register.
15572
15573 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15574
15575 PR python/16699
15576 * gdb.python/py-completion.exp: New file.
15577 * gdb.python/py-completion.py: Likewise.
15578
15579 2014-08-28 Doug Evans <dje@google.com>
15580
15581 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15582 eax,etc. are live with values set by gdb and thus the compiler can't
15583 use them.
15584 * gdb.arch/i386-pseudo.c (main): Ditto.
15585
15586 2014-08-27 Doug Evans <dje@google.com>
15587
15588 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15589
15590 2014-08-25 Doug Evans <dje@google.com>
15591
15592 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15593 (main): Ditto.
15594
15595 2014-08-25 Doug Evans <dje@google.com>
15596
15597 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15598
15599 2014-08-24 Yao Qi <yao@codesourcery.com>
15600
15601 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15602 symbol off.
15603 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15604
15605 2014-08-22 Doug Evans <dje@google.com>
15606
15607 PR 17276
15608 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15609 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15610 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15611
15612 2014-08-22 Yao Qi <yao@codesourcery.com>
15613
15614 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15615 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15616 * gdb.python/python.exp: Likewise. Use .py file on the host
15617 instead of the build.
15618
15619 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15620
15621 * gdb.threads/gcore-stale-thread.c: New file.
15622 * gdb.threads/gcore-stale-thread.exp: New file.
15623
15624 2014-08-21 Pedro Alves <palves@redhat.com>
15625
15626 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15627 * gdb.base/gcore-relro-pie.exp: Likewise.
15628 * gdb.base/gcore-relro.exp: Likewise.
15629 * gdb.base/gcore.exp: Likewise.
15630 * gdb.base/print-symbol-loading.exp: Likewise.
15631 * gdb.threads/gcore-thread.exp: Likewise.
15632 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15633
15634 2014-08-20 Pedro Alves <palves@redhat.com>
15635 Jan Kratochvil <jan.kratochvil@redhat.com>
15636
15637 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15638 configure.
15639 (EXPECT): Handle READ1 being set.
15640 (all): Depend on EXTRA_RULES.
15641 (check-read1, expect-read1, read1.so, read1): New rules.
15642 * README (Testsuite Parameters): Document the READ1 make variable.
15643 (Race detection): New section.
15644 * configure: Regenerate.
15645 * configure.ac: If build==host==target, and running under a
15646 GNU/glibc system, add read1 to the extra Makefile rules.
15647 (EXTRA_RULES): AC_SUBST it.
15648 * lib/read1.c: New file.
15649
15650 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15651
15652 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15653 the handling of variables declared as a typedef to an array
15654 which a DW_AT_data_location attribute.
15655
15656 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15657 Pedro Alves <palves@redhat.com>
15658
15659 PR symtab/14604
15660 PR symtab/14605
15661 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15662 gdb_test.
15663
15664 2014-08-19 Pedro Alves <palves@redhat.com>
15665
15666 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15667
15668 2014-08-19 Yao Qi <yao@codesourcery.com>
15669
15670 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15671 right line.
15672
15673 2014-08-18 David Blaikie <dblaikie@gmail.com>
15674
15675 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15676
15677 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15678
15679 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15680 attribute in array range.
15681
15682 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15683
15684 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15685
15686 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15687
15688 PR c++/17132
15689 * gdb.cp/pr17132.cc: New file.
15690 * gdb.cp/pr17132.exp: New file.
15691
15692 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15693
15694 * gdb.python/py-xmethods.py (A_getarrayind)
15695 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15696 Use 'print' with function call syntax.
15697 (E_method_matcher.match): Fix tab vs space indentation mixup.
15698
15699 2014-08-15 Yao Qi <yao@codesourcery.com>
15700
15701 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15702 false.
15703
15704 2014-08-15 Yao Qi <yao@codesourcery.com>
15705
15706 * gdb.cp/casts.exp: Set print symbol off.
15707 * gdb.cp/class2.exp: Likewise.
15708 * gdb.cp/overload.exp: Likewise.
15709 * gdb.cp/templates.exp: Likewise.
15710
15711 2014-08-11 Doug Evans <dje@google.com>
15712
15713 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15714 (test_load_shlib): Update.
15715
15716 2014-08-09 Yao Qi <yao@codesourcery.com>
15717
15718 * gdb.base/display.exp: Invoke is_address_zero_readable.
15719 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15720 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15721 * gdb.base/hbreak-unmapped.exp: Return if
15722 is_address_zero_readable returns true.
15723 * gdb.base/signest.exp: Likewise.
15724 * gdb.base/signull.exp: Likewise.
15725 * gdb.base/sigbpt.exp: Likewise.
15726 * gdb.guile/scm-disasm.exp: Do the test if
15727 is_address_zero_readable returns false.
15728 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15729 * gdb.python/py-arch.exp: Likewise.
15730 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15731 * lib/gdb.exp (is_address_zero_readable): New proc.
15732
15733 2014-08-09 Yao Qi <yao@codesourcery.com>
15734
15735 PR testsuite/13443
15736 * gdb.mi/mi-var-display.exp: Make test messages unique.
15737
15738 2014-08-04 Tom Tromey <tromey@redhat.com>
15739
15740 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15741 target 0".
15742
15743 2014-08-04 Tom Tromey <tromey@redhat.com>
15744
15745 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15746 "target_resume".
15747
15748 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15749
15750 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15751 inner_vla_struct_object_size.
15752 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15753 as xfail.
15754
15755 2014-07-30 Pedro Alves <palves@redhat.com>
15756
15757 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15758 comment.
15759
15760 2014-07-29 Yao Qi <yao@codesourcery.com>
15761
15762 PR gdb/17206
15763 * gdb.base/until-nodebug.exp: New.
15764
15765 2014-07-28 Doug Evans <xdje42@gmail.com>
15766
15767 PR guile/17203
15768 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15769 previously existing parameter, and previously ambiguously spelled
15770 parameter.
15771
15772 2014-07-28 Will Newton <will.newton@linaro.org>
15773
15774 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15775
15776 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15777 Doug Evans <xdje42@gmail.com>
15778
15779 PR guile/17146
15780 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15781
15782 2014-07-25 Pedro Alves <palves@redhat.com>
15783
15784 * gdb.threads/signal-command-handle-nopass.c: New file.
15785 * gdb.threads/signal-command-handle-nopass.exp: New file.
15786 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15787 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15788 * gdb.threads/signal-delivered-right-thread.c: New file.
15789 * gdb.threads/signal-delivered-right-thread.exp: New file.
15790
15791 2014-07-25 Pedro Alves <palves@redhat.com>
15792
15793 * gdb.base/double-prompt-target-event-error.exp
15794 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15795 match.
15796 (cancel_pagination_in_target_event): Rework double prompt
15797 detection.
15798 * gdb.base/paginate-after-ctrl-c-running.exp
15799 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15800 <return>' match.
15801 * gdb.base/paginate-bg-execution.exp
15802 (test_bg_execution_pagination_return)
15803 (test_bg_execution_pagination_cancel): Remove '-notransfer
15804 <return>' matches.
15805 * gdb.base/paginate-execution-startup.exp
15806 (test_fg_execution_pagination_return)
15807 (test_fg_execution_pagination_cancel): Remove '-notransfer
15808 <return>' matches.
15809 * gdb.base/paginate-inferior-exit.exp
15810 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15811 match.
15812 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15813 * lib/gdb.exp (pagination_prompt): Run text through
15814 string_to_regexp.
15815 (gdb_test_multiple): Match $pagination_prompt instead of
15816 "<return>".
15817 (string_to_regexp): Move to lib/gdb-utils.exp.
15818
15819 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15820
15821 * gdb.arch/amd64-entry-value-paramref.S: New file.
15822 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15823 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15824 * gdb.arch/amd64-optimout-repeat.S: New file.
15825 * gdb.arch/amd64-optimout-repeat.c: New file.
15826 * gdb.arch/amd64-optimout-repeat.exp: New file.
15827
15828 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15829
15830 PR gdb/17170
15831 * gdb.base/statistics.exp: New file.
15832
15833 2014-07-17 Doug Evans <dje@google.com>
15834
15835 PR gdb/17170
15836 * gdb.base/maint.exp: Update testing of per-command stats.
15837
15838 2014-07-16 Pedro Alves <palves@redhat.com>
15839
15840 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15841 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15842 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15843 (tfile_write_buf): New functions.
15844 (add_memory_block): Rewrite using the above.
15845 (adjust_function_address): New function.
15846 (FUNCTION_ADDRESS): New macro.
15847 (write_basic_trace_file): Remove short_x local, and use
15848 tfile_write_16. Change type of func_addr local to unsigned long
15849 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15850 here. Cast argument of add_memory_block to char pointer.
15851 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15852 (main): Remove parameters.
15853 * gdb.trace/tfile.exp: Remove nowarnings.
15854
15855 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15856
15857 * gdb.base/debug-expr.exp: Test string evaluation with
15858 "debug expression" on.
15859
15860 2014-07-15 Pedro Alves <palves@redhat.com>
15861
15862 * gdb.base/reread.exp: Use clean_restart.
15863
15864 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15865
15866 * gdb.arch/avr-flash-qualifer.c: New.
15867 * gdb.arch/avr-flash-qualifer.exp: New.
15868
15869 2014-07-14 Pedro Alves <palves@redhat.com>
15870
15871 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15872 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15873
15874 2014-07-14 Pedro Alves <palves@redhat.com>
15875
15876 * gdb.base/double-prompt-target-event-error.c: New file.
15877 * gdb.base/double-prompt-target-event-error.exp: New file.
15878
15879 2014-07-14 Pedro Alves <palves@redhat.com>
15880
15881 PR gdb/17072
15882 * gdb.base/paginate-inferior-exit.c: New file.
15883 * gdb.base/paginate-inferior-exit.exp: New file.
15884
15885 2014-07-14 Pedro Alves <palves@redhat.com>
15886
15887 PR gdb/17072
15888 * gdb.base/paginate-bg-execution.c: New file.
15889 * gdb.base/paginate-bg-execution.exp: New file.
15890
15891 2014-07-14 Pedro Alves <palves@redhat.com>
15892
15893 PR gdb/17072
15894 * gdb.base/paginate-execution-startup.c: New file.
15895 * gdb.base/paginate-execution-startup.exp: New file.
15896 * lib/gdb.exp (pagination_prompt): New global.
15897 (default_gdb_spawn): New procedure, factored out from
15898 default_gdb_spawn.
15899 (default_gdb_start): Adjust to call default_gdb_spawn.
15900 (gdb_spawn): New procedure.
15901
15902 2014-07-14 Pedro Alves <palves@redhat.com>
15903
15904 * lib/gdb.exp (gdb_assert): New procedure.
15905 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15906
15907 2014-07-14 Pedro Alves <palves@redhat.com>
15908
15909 * gdb.base/execution-termios.c: New file.
15910 * gdb.base/execution-termios.exp: New file.
15911
15912 2014-07-14 Tom Tromey <tromey@redhat.com>
15913
15914 * gdb.cp/vla-cxx.cc: New file.
15915 * gdb.cp/vla-cxx.exp: New file.
15916
15917 2014-07-14 Tom Tromey <tromey@redhat.com>
15918
15919 * gdb.reverse/rerun-prec.c: New file.
15920 * gdb.reverse/rerun-prec.exp: New file.
15921
15922 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15923 Maciej W. Rozycki <macro@codesourcery.com>
15924
15925 * lib/gdb-utils.exp: New file.
15926 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15927 inline `gdb_init_command' processing.
15928 (gdb_start_cmd): Likewise.
15929 * lib/mi-support.exp (mi_run_cmd): Likewise.
15930 * README: Document `gdb_init_command' and `gdb_init_commands'.
15931
15932 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15933
15934 Fix false FAIL running under a very long directory name.
15935 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15936 and "set print elements 10000". Twice.
15937
15938 2014-07-11 Yao Qi <yao@codesourcery.com>
15939
15940 * gdb.base/exprs.exp: "set print symbol off".
15941
15942 2014-07-11 Pedro Alves <palves@redhat.com>
15943
15944 * gdb.threads/kill.c: New file.
15945 * gdb.threads/kill.exp: New file.
15946
15947 2014-07-10 Yao Qi <yao@codesourcery.com>
15948
15949 * gdb.trace/tfile.c (write_basic_trace_file)
15950 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15951 address written to trace file.
15952
15953 2014-07-09 Pedro Alves <palves@redhat.com>
15954
15955 * gdb.base/attach-wait-input.exp: New file.
15956 * gdb.base/attach-wait-input.c: New file.
15957
15958 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15959
15960 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15961 setting up test structures.
15962 (main): Call new test function.
15963 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15964 test function, continue into test function and walk test
15965 structures.
15966
15967 2014-07-02 Yao Qi <yao@codesourcery.com>
15968
15969 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15970 'bar_start' at the beginning of functions 'foo' and 'bar'
15971 respectively.
15972 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15973 instead of 'foo' and 'bar'.
15974
15975 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15976
15977 * gdb.btrace/segv.exp: New.
15978 * gdb.btrace/segv.c: New.
15979
15980 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15981
15982 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15983 instruction.
15984
15985 2014-06-30 Mark Wielaard <mjw@redhat.com>
15986
15987 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15988 vulture, vilify, villar): New volatile array constants.
15989 (vindictive, vegetation): New const volatile array constants.
15990 * gdb.base/volatile.exp: Test volatile and const volatile array
15991 types.
15992
15993 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15994
15995 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15996 target lacks support for awatch, rwatch, or hbreak.
15997
15998 2014-06-27 Yao Qi <yao@codesourcery.com>
15999
16000 * gdb.multi/dummy-frame-restore.exp: New.
16001 * gdb.multi/dummy-frame-restore.c: New.
16002
16003 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16004
16005 * gdb.btrace/gcore.exp: New.
16006
16007 2014-06-23 Pedro Alves <palves@redhat.com>
16008
16009 * gdb.base/watchpoint-reuse-slot.c: New file.
16010 * gdb.base/watchpoint-reuse-slot.exp: New file.
16011
16012 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16013
16014 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16015 progspace's filename in 'info', 'enable' and 'disable' command
16016 tests.
16017
16018 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16019
16020 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16021 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16022 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16023
16024 2014-06-20 Gary Benson <gbenson@redhat.com>
16025
16026 * gdb.arch/i386-avx.exp: Fix include file location.
16027 * gdb.arch/i386-sse.exp: Likewise.
16028
16029 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16030
16031 * gdb.dlang/expression.exp: New file.
16032
16033 2014-06-19 Pedro Alves <palves@redhat.com>
16034
16035 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16036 out from ...
16037 (top level): ... here. Iterate running tests under different
16038 scheduler-locking settings.
16039
16040 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16041
16042 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16043 to DW_FORM_addr and use non-zero addresses.
16044
16045 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16046
16047 PR gdb/17017
16048 * gdb.python/py-xmethods.cc: Add global function call counters and
16049 increment them in their respective functions. Remove "cout"
16050 statements.
16051 * gdb.python/py-xmethods.exp: Make tests check the global function
16052 call counters instead of depending on inferior IO.
16053
16054 2014-06-18 Don Breazeal <donb@codesourcery.com>
16055
16056 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16057 Deleted procedure.
16058 (explicit_fork_parent_follow): Deleted procedure.
16059 (explicit_fork_child_follow): Deleted procedure.
16060 (test_follow_fork): New procedure.
16061 (do_fork_tests): Replace calls to deleted procedures with
16062 calls to test_follow_fork and reset GDB for subsequent
16063 procedure calls.
16064
16065 2014-06-17 Yao Qi <yao@codesourcery.com>
16066
16067 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16068 CP1252.
16069
16070 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16071
16072 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16073 Initialize ptr and S explicitly.
16074 (skip_type_update_when_not_use_rtti_test): Likewise.
16075
16076 2014-06-16 Keith Seitz <keiths@redhat.com>
16077
16078 PR mi/15863
16079 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16080 the inferior is started.
16081
16082 2014-06-16 Pedro Alves <palves@redhat.com>
16083
16084 * gdb.base/break-main-file-remove-fail.c: New file.
16085 * gdb.base/break-main-file-remove-fail.exp: New file.
16086 * gdb.base/break-unload-file.exp: Use build_executable instead of
16087 prepare_for_testing.
16088 (test_break): New parameter "initial_load". Handle it.
16089 (top level): Add initial_load cmdline/file axis.
16090
16091 2014-06-12 Tom Tromey <tromey@redhat.com>
16092
16093 * gdb.base/completion.exp: Don't use directory name in test.
16094
16095 2014-06-09 Gary Benson <gbenson@redhat.com>
16096
16097 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16098 separate the always-available ANSI-standard signals from the
16099 signals that require checking.
16100 (main): Likewise.
16101 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16102 Likewise.
16103 (main): Likewise.
16104
16105 2014-06-07 Keith Seitz <keiths@redhat.com>
16106
16107 Revert:
16108 PR c++/16253
16109 * gdb.cp/var-tag.cc: New file.
16110 * gdb.cp/var-tag.exp: New file.
16111 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16112 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16113 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16114 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16115
16116 2014-06-06 Doug Evans <xdje42@gmail.com>
16117
16118 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16119
16120 2014-06-06 Pedro Alves <palves@redhat.com>
16121
16122 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16123 in target debug output instead of looking at RSP packets,
16124 disabling the test on any target that uses hardware stepping.
16125 Update comments.
16126
16127 2014-06-06 Pedro Alves <palves@redhat.com>
16128
16129 * gdb.base/break-unload-file.exp: Fix typo.
16130
16131 2014-06-06 Yao Qi <yao@codesourcery.com>
16132
16133 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16134 from "jit_function" to "^jit_function".
16135
16136 2014-06-06 Yao Qi <yao@codesourcery.com>
16137
16138 * gdb.base/async.c (foo): Add one statement.
16139 * gdb.base/async.exp: Get the next instruction address and
16140 match the output of "nexti" by instruction address. Match
16141 the hex address in the output of "finish".
16142
16143 2014-06-06 Gary Benson <gbenson@redhat.com>
16144
16145 * gdb.base/call-signals.c: Remove preprocessor conditionals
16146 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16147 SIGSEGV and SIGTERM.
16148 * gdb.base/sigall.c: Likewise.
16149 * gdb.base/unwindonsignal.c: Likewise.
16150 * gdb.reverse/sigall-reverse.c: Likewise.
16151
16152 2014-06-06 Yao Qi <yao@codesourcery.com>
16153
16154 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16155 readable, skip the test.
16156
16157 2014-06-06 Yao Qi <yao@codesourcery.com>
16158
16159 * gdb.threads/staticthreads.c (thread_function): Move the line
16160 setting breakpoint on forward.
16161 * gdb.threads/staticthreads.exp: Update comments.
16162
16163 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16164
16165 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16166 "history-append! type error".
16167
16168 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16169
16170 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16171 erroneous dprintf expected input.
16172
16173 2014-06-04 Doug Evans <xdje42@gmail.com>
16174
16175 * gdb.guile/scm-generics.exp: Delete.
16176
16177 2014-06-04 Doug Evans <xdje42@gmail.com>
16178
16179 * gdb.guile/scm-breakpoint.exp: Update.
16180 Add tests for breakpoint registration.
16181
16182 2014-06-04 Tom Tromey <tromey@redhat.com>
16183
16184 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16185 VLA-in-union.
16186 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16187 inner_vla_struct, vla_union types. Initialize objects of those
16188 types and compute their sizes.
16189
16190 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16191 Hui Zhu <hui@codesourcery.com>
16192
16193 * gdb.base/fileio.exp: Add test for shell not available as well as
16194 available.
16195 * gdb.base/fileio.c (test_system): Check for shell twice.
16196
16197 2014-06-04 Yao Qi <yao@codesourcery.com>
16198
16199 * gdb.base/auto-connect-native-target.exp: Remove redundant
16200 space from the regexp pattern.
16201
16202 2014-06-04 Yao Qi <yao@codesourcery.com>
16203
16204 * gdb.base/default.exp: Replace "child" with "native" in
16205 regexp pattern.
16206
16207 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16208
16209 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16210 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16211 * gdb.python/py-xmethods.py: Python script supporting the
16212 new testcase and tests.
16213
16214 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16215 Pedro Alves <palves@redhat.com>
16216
16217 PR breakpoints/17000
16218 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16219 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16220
16221 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16222
16223 * gdb.base/subst.exp: Add tests to verify partial path matching
16224 output.
16225
16226 2014-06-03 Pedro Alves <palves@redhat.com>
16227
16228 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16229 target that doesn't use software single-stepping.
16230
16231 2014-06-03 Pedro Alves <palves@redhat.com>
16232
16233 PR breakpoints/17000
16234 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16235 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16236
16237 2014-06-02 Doug Evans <xdje42@gmail.com>
16238
16239 * gdb.guile/scm-parameter.exp: New file.
16240
16241 2014-06-02 Doug Evans <xdje42@gmail.com>
16242
16243 * gdb.guile/scm-cmd.c: New file.
16244 * gdb.guile/scm-cmd.exp: New file.
16245
16246 2014-06-02 Doug Evans <xdje42@gmail.com>
16247
16248 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16249 pretty-printer lookup.
16250 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16251 (make-pp_s-printer): Call it.
16252 (make-pretty-printer-from-dict): New function.
16253 (lookup-pretty-printer-maker-from-dict): New function.
16254 (*pretty-printer*): Simplify.
16255 (make-objfile-pp_s-printer): New function.
16256 (install-objfile-pretty-printers!): New function.
16257 (make-progspace-pp_s-printer): New function.
16258 (install-progspace-pretty-printers!): New function.
16259 * gdb.guile/scm-progspace.c: New file.
16260 * gdb.guile/scm-progspace.exp: New file.
16261
16262 2014-06-02 Pedro Alves <palves@redhat.com>
16263
16264 * gdb.base/dprintf-bp-same-addr.c: New file.
16265 * gdb.base/dprintf-bp-same-addr.exp: New file.
16266
16267 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16268
16269 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16270 * gdb.arch/powerpc-power.s: Likewise.
16271
16272 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16273
16274 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16275
16276 2014-06-01 Yao Qi <yao@codesourcery.com>
16277
16278 * gdb.base/watchpoint.exp (test_watch_location): Check null
16279 pointer can be dereferenced. If not, do the test, otherwise
16280 skip it.
16281
16282 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16283
16284 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16285 results.
16286 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16287
16288 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16289
16290 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16291 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16292 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16293 * gdb.arch/amd64-invalid-stack-top.c: New file.
16294 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16295
16296 2014-05-30 Pedro Alves <palves@redhat.com>
16297
16298 PR breakpoints/17000
16299 * gdb.base/sss-bp-on-user-bp.c: New file.
16300 * gdb.base/sss-bp-on-user-bp.exp: New file.
16301
16302 2014-05-30 David Blaikie <dblaikie@gmail.com>
16303
16304 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16305 gnu_inline semantics via attribute.
16306 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16307 source explicitly specifies the required semantics.
16308
16309 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16310
16311 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16312
16313 2014-05-29 Pedro Alves <palves@redhat.com>
16314 Tom Tromey <tromey@redhat.com>
16315
16316 * gdb.base/async-shell.exp: Don't enable target-async.
16317 * gdb.base/async.exp
16318 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16319 parameter. Adjust.
16320 (top level): Don't test with "target-async".
16321 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16322 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16323 * gdb.base/inferior-died.exp: Don't enable target-async.
16324 * gdb.base/interrupt-noterm.exp: Likewise.
16325 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16326 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16327 * gdb.mi/mi-nonstop.exp: Likewise.
16328 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16329 * gdb.mi/mi-nsintrall.exp: Likewise.
16330 * gdb.mi/mi-nsmoribund.exp: Likewise.
16331 * gdb.mi/mi-nsthrexec.exp: Likewise.
16332 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16333 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16334 * gdb.python/py-evsignal.exp: Don't enable target-async.
16335 * gdb.python/py-evthreads.exp: Likewise.
16336 * gdb.python/py-prompt.exp: Likewise.
16337 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16338 * gdb.server/solib-list.exp: Don't enable target-async.
16339 * gdb.threads/thread-specific-bp.exp: Likewise.
16340 * lib/mi-support.exp: Adjust to use mi-async.
16341
16342 2014-05-29 Pedro Alves <palves@redhat.com>
16343
16344 PR gdb/13860
16345 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16346 reason, even in sync mode.
16347
16348 2014-05-29 Pedro Alves <palves@redhat.com>
16349 Hui Zhu <hui@codesourcery.com>
16350
16351 PR PR15693
16352 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16353 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16354 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16355 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16356
16357 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16358
16359 * config/monitor.exp (gdb_target_monitor): Replace use of
16360 "set remotebaud" by "set serial baud".
16361
16362 2014-05-26 Andy Wingo <wingo@igalia.com>
16363
16364 * gdb.guile/scm-breakpoint.exp:
16365 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16366 properties instead of gdb-object-properties.
16367
16368 2014-05-26 Yao Qi <yao@codesourcery.com>
16369
16370 * gdb.server/no-thread-db.exp: Specify source file name
16371 explicitly when setting a breakpoint.
16372
16373 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16374
16375 * gdb.btrace/vdso.c: New.
16376 * gdb.btrace/vdso.exp: New.
16377
16378 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16379
16380 * gdb.base/gcore.exp (capture_command_output): Move ...
16381 * lib/gdb.exp (capture_command_output): ... here.
16382
16383 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16384
16385 * gdb.btrace/data.exp: Test memory access during btrace replay.
16386
16387 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16388
16389 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16390
16391 2014-05-21 Pedro Alves <palves@redhat.com>
16392
16393 PR gdb/13860
16394 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16395 (top level): Test that output related to execution commands is
16396 sent to the console with CLI commands, but not with MI commands.
16397 Test that breakpoint events are always mirrored to the console.
16398 Also expect the new source line to be output after a "next" in
16399 async mode too. Make it a pass/fail test.
16400 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16401 output.
16402 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16403
16404 2014-05-21 Pedro Alves <palves@redhat.com>
16405
16406 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16407 Use them to test variations of "list" after reaching a breakpoint.
16408 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16409 Test "list" with listsize 10 after reaching a breakpoint.
16410 * gdb.python/python.exp (decode_line current location line
16411 number): Adjust expected line number.
16412
16413 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16414
16415 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16416 behavior for $args, pass it directly to "run".
16417
16418 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16419
16420 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16421 30000 to 65536.
16422
16423 2014-05-21 Pedro Alves <palves@redhat.com>
16424
16425 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16426 auto-connect-native-target off".
16427 * gdb.base/auto-connect-native-target.c: New file.
16428 * gdb.base/auto-connect-native-target.exp: New file.
16429
16430 2014-05-21 Pedro Alves <palves@redhat.com>
16431
16432 * gdb.base/default.exp: Test "target native" instead of "target
16433 child".
16434
16435 2014-05-21 Mark Wielaard <mjw@redhat.com>
16436
16437 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16438
16439 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16440
16441 Fix TLS access for -static -pthread.
16442 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16443 <HAVE_TLS> (thread_function, main): Initialize it.
16444 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16445 Add clean_restart.
16446 <$have_tls != "">: Check TLSVAR.
16447
16448 2014-05-21 Pedro Alves <palves@redhat.com>
16449
16450 * gdb.base/dcache-line-read-error.c: New.
16451 * gdb.base/dcache-line-read-error.exp: New.
16452
16453 2014-05-20 Pedro Alves <palves@redhat.com>
16454
16455 * gdb.base/compare-sections.c: New file.
16456 * gdb.base/compare-sections.exp: New file.
16457
16458 2014-05-20 Pedro Alves <palves@redhat.com>
16459
16460 * gdb.base/break-idempotent.c: New file.
16461 * gdb.base/break-idempotent.exp: New file.
16462
16463 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16464
16465 * gdb.btrace/nohist.exp: New.
16466
16467 2014-05-20 Yao Qi <yao@codesourcery.com>
16468
16469 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16470 gdb.reverse directory and gdb_reverse_timeout exists in board
16471 setting.
16472 * README: Document gdb_reverse_timeout.
16473
16474 2014-05-20 Yao Qi <yao@codesourcery.com>
16475
16476 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16477 'test_file_name'. Treat args as a string instead of a list.
16478 (gdb_init): Rename argument 'args' by 'test_file_name'.
16479
16480 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16481
16482 * gdb.arch/powerpc-power.exp: New file.
16483 * gdb.arch/powerpc-power.s: New file.
16484
16485 2014-05-16 Doug Evans <dje@google.com>
16486
16487 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16488 * gdb.base/completion.exp: Check that all expected files exist
16489 before doing file completion.
16490
16491 2014-05-16 Doug Evans <dje@google.com>
16492
16493 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16494 Update.
16495 (do_syscall_tests_without_xml): Update.
16496
16497 2014-05-16 Pedro Alves <palves@redhat.com>
16498
16499 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16500 instead of "unknown output after running".
16501
16502 2014-05-16 Yao Qi <yao@codesourcery.com>
16503
16504 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16505 file1.txt from host at the end.
16506 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16507
16508 2014-05-15 Doug Evans <dje@google.com>
16509
16510 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16511 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16512 loading file. Add test for TU lookup.
16513
16514 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16515
16516 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16517 calling "-exec-arguments" or "set args" before running the
16518 inferior.
16519
16520 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16521
16522 * lib/mi-support.exp (mi_expect_stop): Expect message for
16523 inferiors that exit with non-zero exit code.
16524
16525 2014-05-14 Yao Qi <yao@codesourcery.com>
16526
16527 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16528 match absolute path on remote host.
16529 (test_file_list_exec_source_files): Remove "/" from the
16530 pattern.
16531
16532 2014-05-14 Yao Qi <yao@codesourcery.com>
16533
16534 * boards/local-remote-host-notty.exp (${board}_file): New
16535 proc.
16536
16537 2014-05-07 Kyle McMartin <kyle@redhat.com>
16538
16539 Pushed by Joel Brobecker <brobecker@adacore.com>.
16540 * gdb.arch/aarch64-atomic-inst.c: New file.
16541 * gdb.arch/aarch64-atomic-inst.exp: New file.
16542
16543 2014-05-07 Yao Qi <yao@codesourcery.com>
16544
16545 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16546 in current context" too.
16547
16548 2014-05-05 Keith Seitz <keiths@redhat.com>
16549
16550 * gdb.linespec/ls-dollar.exp: Add test for linespec
16551 file:convenience_variable.
16552
16553 2014-05-05 Yao Qi <yao@codesourcery.com>
16554
16555 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16556 traceframes into tfile and ctf trace files. Read data from
16557 trace file and test collected data.
16558 (gdb_collect_locals_test): Likewise.
16559 (gdb_unavailable_registers_test): Likewise.
16560 (gdb_unavailable_floats): Likewise.
16561 (gdb_collect_globals_test): Likewise.
16562 (top-level): Append "ctf" to trace_file_targets if GDB
16563 supports.
16564
16565 2014-05-05 Yao Qi <yao@codesourcery.com>
16566
16567 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16568 code to ...
16569 (gdb_collect_args_test_1): ... it. New proc.
16570 (gdb_collect_locals_test): Move some code to ...
16571 (gdb_collect_locals_test_1): ... it. New proc.
16572 (gdb_unavailable_registers_test): Move some code to ...
16573 (gdb_unavailable_registers_test_1): ... it. New proc.
16574 (gdb_unavailable_floats): Move some code to ...
16575 (gdb_unavailable_floats_1): ... it. New proc.
16576
16577 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16578
16579 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16580 probes to test for bitness recognition.
16581 * gdb.arch/amd64-stap-optional-prefix.exp
16582 (test_probe_value_without_reg): New procedure.
16583 Add code to test for different kinds of bitness.
16584
16585 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16586
16587 PR breakpoints/16889
16588 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16589 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16590
16591 2014-05-01 Pedro Alves <palves@redhat.com>
16592
16593 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16594 gdb_file_cmd if no file is specified.
16595 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16596 last_loaded_file to set the remote exec-file.
16597
16598 2014-05-01 Pedro Alves <palves@redhat.com>
16599
16600 * boards/local-remote-host.exp: New file.
16601
16602 2014-05-01 Pedro Alves <palves@redhat.com>
16603
16604 * boards/local-remote-host.exp: Rename to ...
16605 * boards/local-remote-host-notty.exp: ... this.
16606
16607 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16608
16609 * gdb.ada/dyn_arrayidx: New testcase.
16610
16611 2014-04-26 Yao Qi <yao@codesourcery.com>
16612
16613 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16614 and compute the length of function main. Save it in
16615 $main_length.
16616 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16617 (top-level): Use gdb_compile to compile objects into
16618 executable and restart GDB. Remove invocation to
16619 prepare_for_testing.
16620
16621 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16622 Pedro Alves <palves@redhat.com>
16623
16624 PR server/16255
16625 * gdb.multi/multi-attach.c: New file.
16626 * gdb.multi/multi-attach.exp: New file.
16627
16628 2014-04-25 Pedro Alves <palves@redhat.com>
16629
16630 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16631 user.
16632 (top level): Test that "set remote conditional-breakpoints-packet
16633 off" works as intended.
16634 * gdb.base/dprintf.exp: Test that "set remote
16635 breakpoint-commands-packet off" works as intended.
16636 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16637 New function.
16638 (top level): Call it.
16639 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16640 remote fast-tracepoints-packet off" works as intended.
16641 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16642 * lib/gdb.exp (gdb_is_target_remote): ... here.
16643
16644 2014-04-24 David Blaikie <dblaikie@gmail.com>
16645
16646 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16647 ensure clang would not discard them.
16648 * gdb.base/gdbvars.c: Ditto.
16649 * gdb.base/memattr.c: Ditto.
16650 * gdb.base/whatis.c: Ditto.
16651 * gdb.python/py-prettyprint.c: Ditto.
16652 * gdb.trace/actions.c: Ditto.
16653 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16654 ensure clang would not discard it.
16655
16656 2014-04-24 David Blaikie <dblaikie@gmail.com>
16657
16658 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16659 clang to emit the full definition of type required by the test
16660 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16661
16662 2014-04-24 David Blaikie <dblaikie@gmail.com>
16663
16664 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16665 coax Clang into emitting the definition of the type.
16666 * gdb.cp/pr10728-x.h (y): Ditto.
16667 * gdb.cp/pr10728-y.cc (y): Ditto.
16668
16669 2014-04-24 David Blaikie <dblaikie@gmail.com>
16670
16671 * gdb.base/label.exp: XFAIL label related tests under Clang.
16672 * gdb.cp/cplabel.exp: Ditto.
16673 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16674 under Clang those using labels.
16675
16676 2014-04-25 Yao Qi <yao@codesourcery.com>
16677
16678 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16679 double_label.
16680 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16681 partial_label and double_label.
16682
16683 2014-04-24 David Blaikie <dblaikie@gmail.com>
16684
16685 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16686
16687 2014-04-24 David Blaikie <dblaikie@gmail.com>
16688
16689 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16690 of the function to work across GCC and Clang.
16691 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16692 pointer types (const void ** const V void **).
16693
16694 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16695 Walfred Tedeschi <walfred.tedeschi@intel.com>
16696
16697 * Makefile.in (EXECUTABLES): Added i386-avx512.
16698 * gdb.arch/i386-avx512.c: New file.
16699 * gdb.arch/i386-avx512.exp: Likewise.
16700
16701 2014-04-23 Keith Seitz <keiths@redhat.com>
16702
16703 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16704 (mi_make_breakpoint_table): New procedure.
16705 (mi_create_breakpoint): Use mi_make_breakpoint
16706 and return the result.
16707 (mi_make_breakpoint): New procedure.
16708 (mi_build_kv_pairs): New procedure.
16709
16710 * gdb.mi/mi-break.exp: Remove unused globals,
16711 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16712 All callers updated.
16713 * gdb.mi/mi-dprintf.exp: Use variable to track command
16714 number.
16715 Update all callers of mi_create_breakpoint and use
16716 mi_make_breakpoint_table.
16717 Remove any unused global variables.
16718 * gdb.mi/mi-nonstop.exp: Likewise.
16719 * gdb.mi/mi-nsintrall.exp: Likewise.
16720 * gdb.mi/mi-nsmoribund.exp: Likewise.
16721 * gdb.mi/mi-nsthrexec.exp: Likewise.
16722 * gdb.mi/mi-reverse.exp: Likewise.
16723 * gdb.mi/mi-simplerun.exp: Likewise.
16724 * gdb.mi/mi-stepn.exp: Likewise.
16725 * gdb.mi/mi-syn-frame.exp: Likewise.
16726 * gdb.mi/mi-until.exp: Likewise.
16727 * gdb.mi/mi-var-cp.exp: Likewise.
16728 * gdb.mi/mi-var-display.exp: Likewise.
16729 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16730 * gdb.mi/mi2-var-child.exp: Likewise.
16731 * gdb.mi/mi-vla-c99.exp: Likewise.
16732 * lib/mi-support.exp: Likewise.
16733
16734 From Ian Lance Taylor <iant@cygnus.com>:
16735 * lib/gdb.exp (parse_args): New procedure.
16736
16737 2014-04-23 Pedro Alves <palves@redhat.com>
16738
16739 * gdb.base/break-unload-file.c: New file.
16740 * gdb.base/break-unload-file.exp: New file.
16741 * gdb.base/sym-file-lib.c (baz): New function.
16742 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16743 field.
16744 (load): Store the segment's mapped size.
16745 (unload): New function.
16746 (unload_shlib): New function.
16747 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16748 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16749 set a breakpoint at baz, and call it.
16750 * gdb.base/sym-file.exp: New tests for stale breakpoint
16751 instructions.
16752
16753 2014-04-23 Pedro Alves <palves@redhat.com>
16754
16755 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16756 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16757 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16758 * gdb.base/hbreak-unmapped.c: New file.
16759 * gdb.base/hbreak-unmapped.exp: New file.
16760 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16761 * lib/gdb.exp (gdb_is_target_remote): ... here.
16762
16763 2014-04-22 Pedro Alves <palves@redhat.com>
16764
16765 * gdb.base/consecutive-step-over.c: New file.
16766 * gdb.base/consecutive-step-over.exp: New file.
16767
16768 2014-04-22 Pedro Alves <palves@redhat.com>
16769
16770 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16771 instead of send_gdb/gdb_expect.
16772
16773 2014-04-22 Yao Qi <yao@codesourcery.com>
16774
16775 * lib/trace-support.exp (generate_tracefile): New procedure.
16776 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16777 return 0.
16778 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16779 if generate_tracefile returns 1.
16780
16781 2014-04-18 Tom Tromey <palves@redhat.com>
16782 Pedro alves <tromey@redhat.com>
16783
16784 PR backtrace/15558
16785 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16786 with a backtrace limit.
16787 * gdb.python/py-frame-inline.exp: Test running to an inline
16788 function with a backtrace limit, and printing the newest frame.
16789 * gdb.python/py-frame-inline.c (main): Call f.
16790
16791 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16792
16793 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16794
16795 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16796
16797 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16798 Drop prefix from unsupported source file path.
16799
16800 2014-04-17 Yao Qi <yao@codesourcery.com>
16801
16802 * lib/gdb.exp (with_target_charset): New proc.
16803 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16804 with_target_charset.
16805 (test_print_strings): Likewise.
16806 (test_repeat_bytes): Likewise.
16807 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16808 for some tests.
16809
16810 2014-04-16 Keith Seitz <keiths@redhat.com>
16811
16812 PR gdb/15827
16813 * gdb.dwarf2/corrupt.c: New file.
16814 * gdb.dwarf2/corrupt.exp: New file.
16815
16816 2014-04-16 Keith Seitz <keiths@redhat.com>
16817
16818 PR c++/16597
16819 * gdb.cp/namelessclass.cc: New file.
16820 * gdb.cp/namelessclass.exp: New file.
16821 * gdb.cp/namelessclass.S: New file.
16822
16823 2014-04-16 Doug Evans <dje@google.com>
16824
16825 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16826 Add comment.
16827 (gdbserver_default_get_comm_port): New function.
16828 (gdbserver_start): Check if board file provided
16829 "gdbserver,get_comm_port" and use it if so.
16830 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16831 (gdb,socketport): Set to "stdio".
16832 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16833 (stdio_gdbserver_template): Delete.
16834 (${board}_get_remote_address): Update.
16835 (${board}_build_remote_cmd): Delete.
16836 (${board}_get_comm_port): New function.
16837 (${board}_spawn): Update.
16838 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16839 Delete.
16840 (${board}_get_remote_address): Update.
16841 (${board}_get_comm_port): New function.
16842
16843 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16844
16845 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16846 appearing in any order.
16847
16848 2014-04-15 Doug Evans <dje@google.com>
16849
16850 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16851 uninitialized value of "description".
16852
16853 2014-04-15 Keith Seitz <keiths@redhat.com>
16854
16855 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16856 Remove unused globals.
16857 (test_running_the_program): Likewise.
16858 (test_controlled_execution): Likewise.
16859 (test_controlling_breakpoints): Likewise.
16860 (test_program_termination): Likewise.
16861
16862 2014-04-15 Keith Seitz <keiths@redhat.com>
16863
16864 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16865 unused globals.
16866 (test_rbreak_creation_and_listing): Likewise.
16867 (test_ignore_count): Likewise.
16868 (test_error): Likewise.
16869
16870 2014-04-15 Pedro Alves <palves@redhat.com>
16871
16872 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16873 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16874 sym-file-loader.c.
16875 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16876 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16877 to sym-file-loader.c.
16878 (struct library): Forward declare.
16879 (load_shlib, lookup_function): Change prototypes.
16880 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16881 (translate_offset): Remove declarations.
16882 (get_text_addr): New declaration.
16883 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16884 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16885 sym-file-loader.h.
16886 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16887 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16888 here from sym-file-loader.h.
16889 (struct library): New structure.
16890 (load_shlib, lookup_function): Change prototypes and adjust to
16891 work with a struct library.
16892 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16893 (translate_offset): Make static.
16894 (get_text_addr): New function.
16895 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16896
16897 2014-04-15 Pedro Alves <palves@redhat.com>
16898
16899 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16900
16901 2014-04-15 Pedro Alves <palves@redhat.com>
16902
16903 * gdb.base/sym-file-loader.c: Include <limits.h>.
16904 (SELF_LINK): New define.
16905 (get_origin): New function.
16906 (load_shlib): Use it.
16907 * gdb.base/sym-file.exp: Don't early return if the target is
16908 remote. Use runto_main, and issue fail is that fails. Use
16909 gdb_load_shlibs.
16910 (shlib_name): Delete.
16911 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16912
16913 2014-04-15 Pedro Alves <palves@redhat.com>
16914
16915 * gdb.base/sym-file.exp: Remove regex characters from test
16916 message. Don't refer to breakpoint numbers in test messages.
16917
16918 2014-04-14 Keith Seitz <keiths@redhat.com>
16919
16920 PR c++/16253
16921 * gdb.cp/var-tag.cc: New file.
16922 * gdb.cp/var-tag.exp: New file.
16923 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16924 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16925 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16926 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16927
16928 2014-04-14 Tom Tromey <tromey@redhat.com>
16929
16930 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16931 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16932 type.
16933 * gdb.cp/enum-class.exp: New file.
16934 * gdb.cp/enum-class.cc: New file.
16935
16936 2014-04-14 Tom Tromey <tromey@redhat.com>
16937
16938 * gdb.dwarf2/enum-type.exp: New file.
16939
16940 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16941
16942 * gdb.mi/mi-vla-c99.exp: New file.
16943 * gdb.mi/vla.c: New file.
16944
16945 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16946
16947 * gdb.base/vla-datatypes.c: New file.
16948 * gdb.base/vla-datatypes.exp: New file.
16949
16950 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16951
16952 * gdb.base/vla-ptr.c: New file.
16953 * gdb.base/vla-ptr.exp: New file.
16954
16955 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16956
16957 * gdb.dwarf2/count.exp: New file.
16958
16959 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16960
16961 * gdb.base/vla-sideeffect.c: New file.
16962 * gdb.base/vla-sideeffect.exp: New file.
16963
16964 2014-04-14 David Blaikie <dblaikie@gmail.com>
16965
16966 * gdb.mi/non-stop.c: Add return value for non-void function return
16967 statement.
16968 * gdb.threads/staticthreads.c: Ditto.
16969
16970 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16971 Doug Evans <xdje42@gmail.com>
16972
16973 * gdb.guile/scm-value.c: Improve test case.
16974 * gdb.guile/scm-value.exp: Add new test.
16975
16976 2014-04-11 David Blaikie <dblaikie@gmail.com>
16977
16978 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16979 override Clang's default.
16980
16981 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16982
16983 Revert the following changes (regressions):
16984
16985 * gdb.base/vla-sideeffect.c: New file.
16986 * gdb.base/vla-sideeffect.exp: New file.
16987
16988 * gdb.dwarf2/count.exp: New file.
16989
16990 * gdb.base/vla-multi.c: New file.
16991 * gdb.base/vla-multi.exp: New file.
16992
16993 * gdb.base/vla-ptr.c: New file.
16994 * gdb.base/vla-ptr.exp: New file.
16995
16996 * gdb.base/vla-datatypes.c: New file.
16997 * gdb.base/vla-datatypes.exp: New file.
16998
16999 * gdb.mi/mi-vla-c99.exp: New file.
17000 * gdb.mi/vla.c: New file.
17001
17002 2014-04-11 Keith Seitz <keiths@redhat.com>
17003
17004 PR c++/16675
17005 * gdb.cp/cpsizeof.exp: New file.
17006 * gdb.cp/cpsizeof.cc: New file.
17007
17008 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17009
17010 * gdb.mi/mi-vla-c99.exp: New file.
17011 * gdb.mi/vla.c: New file.
17012
17013 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17014
17015 * gdb.base/vla-datatypes.c: New file.
17016 * gdb.base/vla-datatypes.exp: New file.
17017
17018 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17019
17020 * gdb.base/vla-ptr.c: New file.
17021 * gdb.base/vla-ptr.exp: New file.
17022
17023 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17024
17025 * gdb.base/vla-multi.c: New file.
17026 * gdb.base/vla-multi.exp: New file.
17027
17028 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17029
17030 * gdb.dwarf2/count.exp: New file.
17031
17032 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17033
17034 * gdb.base/vla-sideeffect.c: New file.
17035 * gdb.base/vla-sideeffect.exp: New file.
17036
17037 2014-04-11 Yao Qi <yao@codesourcery.com>
17038
17039 * gdb.base/completion.exp: Check file exists before running tests
17040 on file completion.
17041
17042 2014-04-10 Pedro Alves <palves@redhat.com>
17043
17044 * gdb.base/cond-eval-mode.c: New file.
17045 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17046 prepare_for_testing to build the new file. Check result of
17047 runto_main.
17048 (test_break, test_watch): New procedures.
17049 (top level): Use them.
17050
17051 2014-04-08 Pierre Muller <muller@sourceware.org>
17052
17053 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17054 Ctrl-V use for mingw hosts.
17055
17056 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17057
17058 * gdb.python/py-value.c: Improve test case.
17059 * gdb.python/py-value.exp: Add new test.
17060
17061 2014-04-07 David Blaikie <dblaikie@gmail.com>
17062
17063 * lib/compiler.c: Identify the clang compiler.
17064 * lib/compiler.cc: Ditto.
17065
17066 2014-04-03 Yao Qi <yao@codesourcery.com>
17067
17068 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17069
17070 2014-04-01 Anton Blanchard <anton@samba.org>
17071
17072 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17073 messages unique.
17074
17075 2014-04-01 Anton Blanchard <anton@samba.org>
17076
17077 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17078 prepare_for_testing.
17079
17080 2014-04-01 Anton Blanchard <anton@samba.org>
17081
17082 * gdb.arch/ppc64-atomic-inst.c: Remove.
17083 * gdb.arch/ppc64-atomic-inst.S: New file.
17084 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17085
17086 2014-03-31 Doug Evans <dje@google.com>
17087
17088 * gdb.base/print-symbol-loading-lib.c: New file.
17089 * gdb.base/print-symbol-loading-main.c: New file.
17090 * gdb.base/print-symbol-loading.exp: New file.
17091
17092 2014-03-31 Yao Qi <yao@codesourcery.com>
17093
17094 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17095
17096 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17097
17098 * gdb.ada/mi_dyn_arr: New testcase.
17099
17100 2014-03-27 Doug Evans <dje@google.com>
17101
17102 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17103
17104 2014-03-27 Yao Qi <yao@codesourcery.com>
17105
17106 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17107 if target is nios2-*-*.
17108
17109 2014-03-26 Yao Qi <yao@codesourcery.com>
17110
17111 * lib/gdb.exp (readline_is_used): New proc.
17112 * gdb.base/completion.exp: Move tests on command complete up.
17113 Skip the rest of tests if readline is not used.
17114 * gdb.ada/complete.exp: Skp the test if readline is not
17115 used.
17116 * gdb.base/filesym.exp: Likewise.
17117 * gdb.base/macscp.exp: Likewise.
17118 * gdb.base/readline-ask.exp: Likewise.
17119 * gdb.base/readline.exp: Likewise.
17120 * gdb.python/py-cmd.exp: Likewise.
17121 * gdb.trace/tfile.exp: Likewise.
17122
17123 2014-03-26 Yao Qi <yao@codesourcery.com>
17124
17125 * gdb.base/macscp.exp: Fix code format issues.
17126
17127 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17128
17129 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17130 * gdb.asm/powerpc64le.inc: New file.
17131
17132 2014-03-25 Pedro Alves <palves@redhat.com>
17133 Doug Evans <dje@google.com>
17134
17135 * gdb.base/source-execution.c: New file.
17136 * gdb.base/source-execution.exp: New file.
17137 * gdb.base/source-execution.gdb: New file.
17138
17139 2014-03-24 Doug Evans <dje@google.com>
17140
17141 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17142 using fission.
17143
17144 2014-03-24 Hui Zhu <hui@codesourcery.com>
17145 Pedro Alves <palves@redhat.com>
17146
17147 PR breakpoints/16101
17148 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17149 test pass/fail messages. Detect missing support for dprintf when
17150 breakpoints are actually inserted.
17151 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17152 breakpoints are actually inserted.
17153 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17154 fails.
17155
17156 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17157
17158 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17159
17160 2014-03-22 Doug Evans <xdje42@gmail.com>
17161
17162 * gdb.python/python.exp (python not supported): Verify multi-line
17163 python command issues an error.
17164 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17165 guile command issues an error.
17166
17167 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17168
17169 * gdb.threads/thread-specific.exp: Handle the lack of usable
17170 $this_breakpoint and $this_thread.
17171
17172 2014-03-21 Hui Zhu <hui@codesourcery.com>
17173
17174 * gdb.base/attach.exp (do_command_attach_tests): New.
17175
17176 2014-03-20 Tom Tromey <tromey@redhat.com>
17177 Pedro Alves <palves@redhat.com>
17178
17179 PR cli/15718
17180 * gdb.base/condbreak-call-false.c: New file.
17181 * gdb.base/condbreak-call-false.exp: New file.
17182
17183 2014-03-20 Pedro Alves <palves@redhat.com>
17184
17185 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17186 Delete.
17187 (block_signals, unblock_signals): Delete.
17188 (child_function_2, main): Remove references to deleted variable
17189 and functions.
17190
17191 2014-03-20 Pedro Alves <palves@redhat.com>
17192
17193 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17194 Use pthread_kill to signal thread 2.
17195 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17196 Adjust to make the test send itself a signal rather than using the
17197 host's "kill" command.
17198
17199 2014-03-20 Pedro Alves <palves@redhat.com>
17200
17201 * gdb.threads/multiple-step-overs.c: New file.
17202 * gdb.threads/multiple-step-overs.exp: New file.
17203 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17204 Adjust expected infrun debug output.
17205
17206 2014-03-20 Pedro Alves <palves@redhat.com>
17207
17208 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17209 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17210
17211 2014-03-20 Pedro Alves <palves@redhat.com>
17212
17213 PR breakpoints/7143
17214 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17215 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17216 of gdb_test_multiple.
17217 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17218 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17219
17220 2014-03-20 Pedro Alves <palves@redhat.com>
17221
17222 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17223 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17224
17225 2014-03-19 Pedro Alves <palves@redhat.com>
17226
17227 * gdb.base/async.exp: Remove early return.
17228
17229 2014-03-19 Pedro Alves <palves@redhat.com>
17230
17231 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17232
17233 2014-03-19 Pedro Alves <palves@redhat.com>
17234
17235 * gdb.base/async.exp (test_background): Expect \r\n after
17236 "completed." in the fail pattern.
17237
17238 2014-03-19 Pedro Alves <palves@redhat.com>
17239
17240 * gdb.base/async.exp (test_background): New procedure.
17241 Use it for all background execution command tests.
17242
17243 2014-03-19 Pedro Alves <palves@redhat.com>
17244
17245 * gdb.base/async.exp: Use prepare_for_testing.
17246
17247 2014-03-19 Pedro Alves <palves@redhat.com>
17248
17249 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17250 the same line.
17251
17252 2014-03-19 Pedro Alves <palves@redhat.com>
17253
17254 * gdb.base/async.c (main): Add "jump here" and "until here" line
17255 marker comments.
17256 * gdb.base/async.exp (jump_here): New global.
17257 (jump& test): Use it.
17258 (until_here): New global.
17259 (until& test): Use it.
17260
17261 2014-03-19 Pedro Alves <palves@redhat.com>
17262
17263 * gdb.base/async.exp: Don't frob gdb_protocol.
17264
17265 2014-03-18 Doug Evans <xdje42@gmail.com>
17266
17267 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17268 Fix spelling of exec-done-display.
17269
17270 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17271
17272 PR gdb/15358
17273 * gdb.base/gdb-sigterm.c: New file.
17274 * gdb.base/gdb-sigterm.exp: New file.
17275
17276 2014-03-18 Pedro Alves <palves@redhat.com>
17277
17278 PR gdb/13860
17279 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17280 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17281 solib-event.
17282
17283 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17284
17285 * gdb.ada/pckd_arr_ren: New testcase.
17286
17287 2014-03-13 Doug Evans <xdje42@gmail.com>
17288
17289 PR guile/16612
17290 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17291 collect after discarding symbols.
17292
17293 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17294 Doug Evans <xdje42@gmail.com>
17295
17296 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17297 to history survives a gc.
17298
17299 2014-03-13 Pedro Alves <palves@redhat.com>
17300
17301 * gdb.base/default.exp: Don't test "target procfs".
17302
17303 2014-03-13 Pedro Alves <palves@redhat.com>
17304
17305 * gdb.base/default.exp: Update "target child" and "target procfs"
17306 tests to not expect "Unix".
17307
17308 2014-03-12 Tom Tromey <tromey@redhat.com>
17309
17310 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17311 New procs. Add target-async tests.
17312 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17313 Add target-async tests.
17314
17315 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17316
17317 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17318 'func_start' and 'func_end' for the beginning and end of the
17319 function code, respectively.
17320 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17321 'func_end' instead of 'func' and 'main'.
17322
17323 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17324
17325 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17326 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17327 generate the debug info assembler source.
17328
17329 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17330
17331 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17332 * gdb.dwarf2/arr-subrange.exp: Likewise.
17333 * gdb.dwarf2/dwz.exp: Likewise.
17334 * gdb.dwarf2/method-ptr.exp: Likewise.
17335 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17336 * gdb.dwarf2/subrange.exp: Likewise.
17337 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17338 * gdb.dwarf2/implptrpiece.exp: Likewise.
17339 * gdb.dwarf2/nostaticblock.exp: Likewise.
17340
17341 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17342
17343 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17344 directory to absolute path name arguments.
17345
17346 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17347
17348 * gdb.ada/tagged_access: New testcase.
17349
17350 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17351
17352 * gdb.btrace/data.exp: Update expected output.
17353
17354 2014-03-06 Yao Qi <yao@codesourcery.com>
17355
17356 * gdb.trace/pr16508.exp: New file.
17357
17358 2014-03-05 Pedro Alves <palves@redhat.com>
17359
17360 PR gdb/16575
17361 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17362 procedure.
17363 (top level): Adjust to use it. Add tests that exercise breakpoint
17364 interaction with the code-cache.
17365
17366 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17367
17368 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17369 test for 'history-append!'.
17370
17371 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17372
17373 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17374 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17375 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17376 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17377 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17378 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17379
17380 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17381
17382 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17383 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17384 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17385
17386 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17387
17388 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17389
17390 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17391
17392 * gdb.dwarf2/arr-stride.c: New file.
17393 * gdb.dwarf2/arr-stride.exp: New file.
17394
17395 2014-02-26 Pedro Alves <palves@redhat.com>
17396
17397 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17398 that won't ever trigger. Make sure that GDB reports the correct
17399 breakpoint that caused the stop.
17400
17401 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17402
17403 PR gdb/16626
17404 * gdb.base/auto-load-script: New file.
17405 * gdb.base/auto-load.c: New file.
17406 * gdb.base/auto-load.exp: New file.
17407
17408 PR gdb/16626
17409 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17410
17411 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17412
17413 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17414 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17415
17416 2014-02-24 Doug Evans <dje@google.com>
17417
17418 * lib/gdb.exp (run_on_host): Log error output if program fails.
17419
17420 2014-02-21 Pedro Alves <palves@redhat.com>
17421
17422 * gdb.threads/step-after-sr-lock.c: Rename to ...
17423 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17424 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17425 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17426 ... this.
17427
17428 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17429
17430 PR tdep/16397
17431 * gdb.arch/amd64-stap-special-operands.exp: New file.
17432 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17433 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17434 * gdb.arch/amd64-stap-triplet.S: Likewise.
17435 * gdb.arch/amd64-stap-triplet.c: Likewise.
17436
17437 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17438
17439 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17440 in .section pseudo-op.
17441
17442 2014-02-20 lin zuojian <manjian2006@gmail.com>
17443 Joel Brobecker <brobecker@adacore.com>
17444 Doug Evans <xdje42@gmail.com>
17445
17446 PR symtab/16581
17447 * gdb.dwarf2/dw2-icycle.S: New file.
17448 * gdb.dwarf2/dw2-icycle.c: New file.
17449 * gdb.dwarf2/dw2-icycle.exp: New file.
17450
17451 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17452
17453 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17454 operations on gdb.Value objects.
17455 * gdb.python/py-value-cc.exp: Add new test to test operations on
17456 gdb.Value objects.
17457
17458 2014-02-18 Doug Evans <dje@google.com>
17459
17460 * Makefile.in (TESTS): New variable.
17461 (expanded_tests, expanded_tests_or_none): New variables
17462 (check-single): Pass $(expanded_tests_or_none) to runtest.
17463 (check-parallel): Only run tests in $(TESTS) if non-empty.
17464 (check/no-matching-tests-found): New rule.
17465 * README: Document TESTS makefile variable.
17466
17467 2014-02-18 Doug Evans <dje@google.com>
17468
17469 * Makefile.in (check-parallel): rm -rf outputs temp.
17470
17471 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17472
17473 Fix "ERROR: no fileid for" in the testsuite.
17474 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17475
17476 2014-02-12 Doug Evans <dje@google.com>
17477
17478 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17479 (MISCELLANEOUS): New variable.
17480 (clean): rm -rf $(MISCELLANEOUS).
17481 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17482 dwp live in the same directory as symlinks, with each symlink pointed
17483 to a differently named file in a different directory.
17484
17485 2014-02-11 Doug Evans <dje@google.com>
17486
17487 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17488 of Tcl file commands.
17489
17490 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17491
17492 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17493 "kill -SIGUSR1 -1".
17494
17495 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17496
17497 * gdb.ada/tick_length_array_enum_idx: New testcase.
17498
17499 2014-02-10 Doug Evans <xdje42@gmail.com>
17500
17501 * configure.ac (AC_OUTPUT): Add gdb.guile.
17502 * configure: Regenerate.
17503 * lib/gdb-guile.exp: New file.
17504 * lib/gdb.exp (get_target_charset): New function.
17505 * gdb.base/help.exp: Update expected output from "apropos apropos".
17506 * gdb.guile/Makefile.in: New file.
17507 * gdb.guile/guile.exp: New file.
17508 * gdb.guile/scm-arch.c: New file.
17509 * gdb.guile/scm-arch.exp: New file.
17510 * gdb.guile/scm-block.c: New file.
17511 * gdb.guile/scm-block.exp: New file.
17512 * gdb.guile/scm-breakpoint.c: New file.
17513 * gdb.guile/scm-breakpoint.exp: New file.
17514 * gdb.guile/scm-disasm.c: New file.
17515 * gdb.guile/scm-disasm.exp: New file.
17516 * gdb.guile/scm-equal.c: New file.
17517 * gdb.guile/scm-equal.exp: New file.
17518 * gdb.guile/scm-error.exp: New file.
17519 * gdb.guile/scm-error.scm: New file.
17520 * gdb.guile/scm-frame-args.c: New file.
17521 * gdb.guile/scm-frame-args.exp: New file.
17522 * gdb.guile/scm-frame-args.scm: New file.
17523 * gdb.guile/scm-frame-inline.c: New file.
17524 * gdb.guile/scm-frame-inline.exp: New file.
17525 * gdb.guile/scm-frame.c: New file.
17526 * gdb.guile/scm-frame.exp: New file.
17527 * gdb.guile/scm-generics.exp: New file.
17528 * gdb.guile/scm-gsmob.exp: New file.
17529 * gdb.guile/scm-iterator.c: New file.
17530 * gdb.guile/scm-iterator.exp: New file.
17531 * gdb.guile/scm-math.c: New file.
17532 * gdb.guile/scm-math.exp: New file.
17533 * gdb.guile/scm-objfile-script-gdb.in: New file.
17534 * gdb.guile/scm-objfile-script.c: New file.
17535 * gdb.guile/scm-objfile-script.exp: New file.
17536 * gdb.guile/scm-objfile.c: New file.
17537 * gdb.guile/scm-objfile.exp: New file.
17538 * gdb.guile/scm-ports.exp: New file.
17539 * gdb.guile/scm-pretty-print.c: New file.
17540 * gdb.guile/scm-pretty-print.exp: New file.
17541 * gdb.guile/scm-pretty-print.scm: New file.
17542 * gdb.guile/scm-section-script.c: New file.
17543 * gdb.guile/scm-section-script.exp: New file.
17544 * gdb.guile/scm-section-script.scm: New file.
17545 * gdb.guile/scm-symbol.c: New file.
17546 * gdb.guile/scm-symbol.exp: New file.
17547 * gdb.guile/scm-symtab-2.c: New file.
17548 * gdb.guile/scm-symtab.c: New file.
17549 * gdb.guile/scm-symtab.exp: New file.
17550 * gdb.guile/scm-type.c: New file.
17551 * gdb.guile/scm-type.exp: New file.
17552 * gdb.guile/scm-value-cc.cc: New file.
17553 * gdb.guile/scm-value-cc.exp: New file.
17554 * gdb.guile/scm-value.c: New file.
17555 * gdb.guile/scm-value.exp: New file.
17556 * gdb.guile/source2.scm: New file.
17557 * gdb.guile/types-module.cc: New file.
17558 * gdb.guile/types-module.exp: New file.
17559
17560 2014-02-10 Yao Qi <yao@codesourcery.com>
17561
17562 PR testsuite/16543
17563 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17564 * configure: Regenerated.
17565 * Makefile.in: New file.
17566
17567 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17568
17569 * gdb.python/py-framefilter.exp: Fix typo.
17570
17571 2014-02-08 Yao Qi <yao@codesourcery.com>
17572
17573 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17574 that no =breakpoint-modified is emitted when breakpoints are
17575 modified through MI commands.
17576
17577 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17578 Pedro Alves <palves@redhat.com>
17579
17580 * gdb.threads/step-after-sr-lock.c: New file.
17581 * gdb.threads/step-after-sr-lock.exp: New file.
17582
17583 2014-02-07 Pedro Alves <palves@redhat.com>
17584
17585 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17586
17587 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17588
17589 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17590 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17591
17592 2014-02-06 Doug Evans <xdje42@gmail.com>
17593
17594 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17595 output.
17596
17597 * gdb.gdb/python-interrupts.exp: New file.
17598
17599 2014-02-05 Yao Qi <yao@codesourcery.com>
17600
17601 * gdb.trace/report.exp (use_collected_data): Test the output
17602 of "info threads" and "info inferiors".
17603
17604 2014-02-05 Yao Qi <yao@codesourcery.com>
17605
17606 Revert this patch:
17607
17608 2013-05-24 Yao Qi <yao@codesourcery.com>
17609
17610 * gdb.trace/tfile.exp: Test inferior and thread.
17611
17612 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17613
17614 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17615 on a function.
17616 * gdb.base/step-bt.c: Call hello via function pointer to make
17617 sure its first instruction is executed on powerpc64le-linux.
17618
17619 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17620
17621 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17622
17623 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17624
17625 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17626 of the test patterns for use on little-endian systems.
17627
17628 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17629
17630 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17631 (decimal_vector): Fix for little-endian.
17632
17633 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17634
17635 * gdb.arch/sparc-sysstep.exp: New file.
17636 * gdb.arch/sparc-sysstep.c: Likewise.
17637
17638 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17639
17640 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17641
17642 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17643
17644 2014-01-23 Tom Tromey <tromey@redhat.com>
17645
17646 * gdb.ada/array_char_idx: New testcase.
17647
17648 2014-01-23 Tom Tromey <tromey@redhat.com>
17649
17650 PR python/16487:
17651 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17652 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17653 classes.
17654
17655 2014-01-23 Tom Tromey <tromey@redhat.com>
17656
17657 PR python/16491:
17658 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17659 string from an inferior frame.
17660 * gdb.python/py-framefilter-mi.exp: Update.
17661
17662 2014-01-22 Doug Evans <dje@google.com>
17663
17664 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17665
17666 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17667
17668 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17669
17670 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17671
17672 * gdb.trace/entry-values.exp: Remove excess space character from
17673 regex patterns. Handle s390 call instruction.
17674
17675 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17676
17677 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17678 define "*_start" label. Make "name" static.
17679 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17680 ${name} by references to ${name}_start.
17681
17682 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17683
17684 * gdb.base/info-macros.exp: Remove "debug" from the compile
17685 options.
17686
17687 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17688
17689 * gdb.dlang/demangle.exp: New file.
17690
17691 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17692
17693 * gdb.dlang/primitive-types.exp: New file.
17694
17695 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17696
17697 * configure.ac: Create gdb.dlang/Makefile.
17698 * configure: Regenerate.
17699 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17700 * gdb.dlang/Makefile.in: New file.
17701 * lib/d-support.exp: New file.
17702 * lib/gdb.exp (skip_d_tests): New proc.
17703
17704 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17705
17706 * gdb.btrace/delta.exp: Check reverse stepi.
17707 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17708 * gdb.btrace/finish.exp: New.
17709 * gdb.btrace/next.exp: New.
17710 * gdb.btrace/nexti.exp: New.
17711 * gdb.btrace/record_goto.c: Add comments.
17712 * gdb.btrace/step.exp: New.
17713 * gdb.btrace/stepi.exp: New.
17714 * gdb.btrace/multi-thread-step.c: New.
17715 * gdb.btrace/multi-thread-step.exp: New.
17716 * gdb.btrace/rn-dl-bind.c: New.
17717 * gdb.btrace/rn-dl-bind.exp: New.
17718 * gdb.btrace/data.c: New.
17719 * gdb.btrace/data.exp: New.
17720 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17721
17722 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17723
17724 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17725 * gdb.btrace/exception.exp: Update.
17726 * gdb.btrace/instruction_history.exp: Update.
17727 * gdb.btrace/record_goto.exp: Update.
17728 * gdb.btrace/tailcall.exp: Update.
17729 * gdb.btrace/unknown_functions.exp: Update.
17730 * gdb.btrace/delta.exp: New.
17731
17732 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17733
17734 * gdb.btrace/record_goto.exp: Add backtrace test.
17735 * gdb.btrace/tailcall.exp: Add backtrace test.
17736
17737 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17738
17739 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17740 * gdb.btrace/record_goto.c: New.
17741 * gdb.btrace/record_goto.exp: New.
17742 * gdb.btrace/x86-record_goto.S: New.
17743
17744 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17745
17746 * gdb.btrace/function_call_history.exp: Update tests.
17747 * gdb.btrace/instruction_history.exp: Update tests.
17748
17749 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17750
17751 * gdb.btrace/function_call_history.exp: Fix expected field
17752 order for "record function-call-history".
17753 Add new tests for "record function-call-history /c".
17754 * gdb.btrace/exception.cc: New.
17755 * gdb.btrace/exception.exp: New.
17756 * gdb.btrace/tailcall.exp: New.
17757 * gdb.btrace/x86-tailcall.S: New.
17758 * gdb.btrace/x86-tailcall.c: New.
17759 * gdb.btrace/unknown_functions.c: New.
17760 * gdb.btrace/unknown_functions.exp: New.
17761 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17762
17763 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17764
17765 * gdb.btrace/instruction_history.exp: Update.
17766 * gdb.btrace/function_call_history.exp: Update.
17767
17768 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17769
17770 * gdb.btrace/function_call_history.exp: Fix expected function
17771 trace.
17772 * gdb.btrace/instruction_history.exp: Initialize traced.
17773 Remove traced_functions.
17774
17775 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17776
17777 * gdb.btrace/function_call_history.exp: Update
17778 * gdb.btrace/instruction_history.exp: Update.
17779
17780 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17781
17782 * gdb.btrace/enable.exp: Update expected text.
17783
17784 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17785
17786 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17787 bytes.
17788
17789 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17790
17791 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17792
17793 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17794
17795 * lib/gdb.exp (supports_process_record): Return true for
17796 arm*-linux*. (supports_reverse): Likewise.
17797
17798 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17799
17800 PR python/15464
17801 PR python/16113
17802 * gdb.python/py-type.c: Enhance test case.
17803 * gdb.python/py-value-cc.cc: Likewise
17804 * gdb.python/py-type.exp: Add new tests.
17805 * gdb.python/py-value-cc.exp: Likewise
17806
17807 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17808 Pedro Alves <palves@redhat.com>
17809
17810 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17811 Make "name" extern.
17812 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17813 references to ${name}_start by references to ${name}.
17814
17815 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17816
17817 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17818
17819 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17820
17821 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17822
17823 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17824 Pedro Alves <palves@redhat.com>
17825
17826 * gdb.mi/mi-info-os.exp: Connect to the target with
17827 mi_gdb_target_load.
17828
17829 2014-01-08 Pedro Alves <palves@redhat.com>
17830
17831 * gdb.threads/reconnect-signal.c: New file.
17832 * gdb.threads/reconnect-signal.exp: New file.
17833
17834 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17835
17836 * gdb.base/source-dir.exp: New file.
17837
17838 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17839
17840 * gdb.ada/mi_interface: New testcase.
17841
17842 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17843
17844 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17845 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17846 gdb.ada/pp-rec-component/pck.ads: New files.
17847
17848 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17849
17850 * gdb.python/py-pp-integral.c: New file.
17851 * gdb.python/py-pp-integral.py: New file.
17852 * gdb.python/py-pp-integral.exp: New file.
17853
17854 For older changes see ChangeLog-1993-2013.
17855 \f
17856 ;; Local Variables:
17857 ;; mode: change-log
17858 ;; left-margin: 8
17859 ;; fill-column: 74
17860 ;; version-control: never
17861 ;; End:
17862
17863 Copyright 2014-2019 Free Software Foundation, Inc.
17864 Copying and distribution of this file, with or without modification,
17865 are permitted provided the copyright notice and this notice are preserved.
This page took 0.500824 seconds and 5 git commands to generate.