Fix scripted probe breakpoints
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-12-10 George Barrett <bob@bob131.so>
2
3 Test scripted probe breakpoints.
4 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5 * gdb.python/py-breakpoint.c (main): Likewise.
6 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
7 specifier test.
8 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
9
10 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
11
12 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
13 an rvalue parameter.
14 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
15 parameter.
16
17 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
18
19 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
20 modules.
21
22 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
23
24 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
25 broken version of GCC.
26
27 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
28
29 * gdb.fortran/info-modules.exp: Rewrite to make use of new
30 sym-info-cmds library.
31 * gdb.fortran/info-types.exp: Likewise.
32 * lib/sym-info-cmds.exp: New file.
33
34 2019-12-08 Tom de Vries <tdevries@suse.de>
35
36 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
37
38 2019-12-07 Keith Seitz <keiths@redhat.com>
39
40 * gdb.base/corefile-buildid-shlib-shr.c: New file.
41 * gdb.base/corefile-buildid-shlib.c: New file.
42 * gdb.base/corefile-buildid.c: New file.
43 * gdb.base/corefile-buildid.exp: New file.
44
45 2019-12-06 Tom de Vries <tdevries@suse.de>
46
47 * gdb.dwarf2/varval.exp: Add decl before def test.
48
49 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
50
51 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
52
53 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
54
55 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
56 CV and reference conversion for overload resolution.
57 * gdb.cp/rvalue-ref-overload.exp: Test it.
58
59 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
60
61 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
62 * gdb.base/frameapply.exp: Test faas without command.
63
64 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
65
66 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
67 Fortran tests.
68 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
69 order.
70
71 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
72
73 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
74 casting to type with no kind specified.
75 (test_basic_parsing_of_type_kinds): Additional tests for types
76 with no kind specified, and add tests for single/double
77 precision/complex types.
78
79 2019-12-04 Tom Tromey <tromey@adacore.com>
80
81 * gdb.base/endianity.c (struct other) <x>: New field.
82 (main): Initialize it.
83 * gdb.base/endianity.exp: Update.
84
85 2019-12-04 Tom Tromey <tromey@adacore.com>
86
87 * gdb.ada/scalar_storage/storage.adb: New file.
88 * gdb.ada/scalar_storage/pck.adb: New file.
89 * gdb.ada/scalar_storage/pck.ads: New file.
90 * gdb.ada/scalar_storage.exp: New file.
91
92 2019-12-04 Tom Tromey <tromey@adacore.com>
93
94 * gdb.base/endianity.c (struct otherendian) <f>: New field.
95 (main): Initialize it.
96 * gdb.base/endianity.exp: Update.
97
98 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
99
100 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
101
102 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
103
104 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
105 -symbol-info-module-functions and -symbol-info-module-variables.
106
107 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
108
109 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
110
111 2019-12-01 Richard Bunt <richard.bunt@arm.com>
112 Andrew Burgess <andrew.burgess@embecosm.com>
113
114 * gdb.fortran/derived-type-striding.exp: New file.
115 * gdb.fortran/derived-type-striding.f90: New file.
116 * gdb.fortran/array-slices.exp: New file.
117 * gdb.fortran/array-slices.f90: New file.
118
119 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
120
121 * gdb.base/define.exp: Test . in command names.
122 * gdb.base/setshow.exp: Update test, as . is now part of
123 command name.
124
125 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
126
127 * gdb.base/define-prefix.exp: New file.
128
129 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
130
131 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
132 compile.
133 (skip_btrace_pt_tests): Likewise.
134
135 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 * gdb.fortran/info-modules.exp: Compile source files in correct
138 order.
139
140 2019-11-27 Kevin Buettner <kevinb@redhat.com>
141
142 * gdb.dwarf2/imported-unit.exp: New file.
143 * gdb.dwarf2/imported-unit.c: New file.
144
145 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
146
147 * gdb.mi/mi-fortran-modules-2.f90: New file.
148 * gdb.mi/mi-fortran-modules.exp: New file.
149 * gdb.mi/mi-fortran-modules.f90: New file.
150
151 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
152
153 * gdb.mi/mi-sym-info-1.c: New file.
154 * gdb.mi/mi-sym-info-2.c: New file.
155 * gdb.mi/mi-sym-info.exp: New file.
156
157 2019-11-22 Tom Tromey <tromey@adacore.com>
158
159 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
160 * gdb.ada/tasks/foo.adb: Add another stopping location.
161
162 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
163
164 * gdb.base/endianity.c: New test.
165 * gdb.base/endianity.exp: New file.
166
167 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
168
169 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
170
171 2019-11-21 Tom de Vries <tdevries@suse.de>
172
173 PR gdb/24956
174 * gdb.base/ui-redirect.exp: Test output of user-defined command.
175
176 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
177
178 * gdb.python/py-progspace.exp: Add missing parentheses on some
179 'print' commands.
180
181 2019-11-19 Tom Tromey <tom@tromey.com>
182
183 * gdb.tui/winheight.exp: New file.
184
185 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
186
187 * gdb.base/ctf-whatis.c: Delete.
188 * gdb.base/ctf-whatis.exp: Delete.
189 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
190
191 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
192
193 * gdb.base/ctf-cvexpr.exp: Delete.
194 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
195
196 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
197
198 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
199 the compiler. Clean up header comment a little.
200 * gdb.base/ctf-ptype.exp: Likewise.
201 * gdb.base/ctf-whatis.exp: Likewise.
202 * lib/gdb.exp (skip_ctf_tests): New proc.
203
204 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
205
206 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
207 * gdb.tui/corefile-run.exp: New file.
208
209 2019-11-14 Tom Tromey <tromey@adacore.com>
210
211 * gdb.base/gdbvars.exp (test_convenience_variables): Add
212 regression tests.
213
214 2019-11-12 Tom Tromey <tom@tromey.com>
215
216 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
217 after any command. Expect prompt after WAIT_FOR is seen.
218 (enter_tui): Enable resize messages.
219 (command): Expect command in output.
220 (get_line): Avoid error when cursor appears to be off-screen.
221 (dump_screen): Include screen size in title.
222 (_do_resize): New proc, from "resize".
223 (resize): Rewrite. Do resize in two steps.
224 * gdb.tui/empty.exp (layouts): Fix entries.
225 (check_boxes): Remove xfail.
226 (check_text): Dump screen on failure.
227
228 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
229
230 * gdb.python/py-symbol.exp: Add test for
231 gdb.lookup_static_symbols.
232
233 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
234
235 * gdb.python/py-symbol.c: Declare and call function from new
236 py-symbol-2.c file.
237 * gdb.python/py-symbol.exp: Compile both source files, and add new
238 tests for gdb.lookup_static_symbol.
239 * gdb.python/py-symbol-2.c: New file.
240
241 2019-11-02 Tom de Vries <tdevries@suse.de>
242
243 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
244 * gdb.base/anon.exp: Same.
245 * gdb.base/auto-connect-native-target.exp: Same.
246 * gdb.base/call-ar-st.exp: Same.
247 * gdb.base/catch-syscall.exp: Same.
248 * gdb.base/commands.exp: Same.
249 * gdb.base/default.exp: Same.
250 * gdb.base/display.exp: Same.
251 * gdb.base/float.exp: Same.
252 * gdb.base/foll-fork.exp: Same.
253 * gdb.base/help.exp: Same.
254 * gdb.base/info-macros.exp: Same.
255 * gdb.base/info-proc.exp: Same.
256 * gdb.base/info-target.exp: Same.
257 * gdb.base/long_long.exp: Same.
258 * gdb.base/macscp.exp: Same.
259 * gdb.base/memattr.exp: Same.
260 * gdb.base/nofield.exp: Same.
261 * gdb.base/pointers.exp: Same.
262 * gdb.base/printcmds.exp: Same.
263 * gdb.base/ptype.exp: Same.
264 * gdb.base/restore.exp: Same.
265 * gdb.base/return.exp: Same.
266 * gdb.base/scope.exp: Same.
267 * gdb.base/set-noassign.exp: Same.
268 * gdb.base/setshow.exp: Same.
269 * gdb.base/shlib-call.exp: Same.
270 * gdb.base/signals.exp: Same.
271 * gdb.base/sigstep.exp: Same.
272 * gdb.base/skip.exp: Same.
273 * gdb.base/solib-symbol.exp: Same.
274 * gdb.base/stap-probe.exp: Same.
275 * gdb.base/step-line.exp: Same.
276 * gdb.base/step-test.exp: Same.
277 * gdb.base/style.exp: Same.
278 * gdb.base/varargs.exp: Same.
279 * gdb.base/vla-datatypes.exp: Same.
280 * gdb.base/vla-ptr.exp: Same.
281 * gdb.base/vla-sideeffect.exp: Same.
282 * gdb.base/volatile.exp: Same.
283 * gdb.base/watch-cond-infcall.exp: Same.
284 * gdb.base/watchpoint.exp: Same.
285
286 2019-11-02 Tom de Vries <tdevries@suse.de>
287
288 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
289 * gdb.cp/cpexprs.exp: Same.
290 * gdb.cp/except-multi-location.exp: Same.
291 * gdb.cp/exceptprint.exp: Same.
292 * gdb.cp/gdb2384.exp: Same.
293 * gdb.cp/inherit.exp: Same.
294 * gdb.cp/m-static.exp: Same.
295 * gdb.cp/meth-typedefs.exp: Same.
296 * gdb.cp/misc.exp: Same.
297 * gdb.cp/namespace.exp: Same.
298 * gdb.cp/non-trivial-retval.exp: Same.
299 * gdb.cp/overload.exp: Same.
300 * gdb.cp/pr17132.exp: Same.
301 * gdb.cp/re-set-overloaded.exp: Same.
302 * gdb.cp/rvalue-ref-types.exp: Same.
303 * gdb.cp/templates.exp: Same.
304
305 2019-11-01 Luis Machado <luis.machado@linaro.org>
306
307 PR gdb/25124
308
309 * gdb.arch/pr25124.S: New file.
310 * gdb.arch/pr25124.exp: New file.
311
312 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
313
314 * gdb.fortran/info-modules.exp: Update expected results, and add
315 additional tests for 'info module functinos', and 'info module
316 variables'.
317 * gdb.fortran/info-types.exp: Update expected results.
318 * gdb.fortran/info-types.f90: Extend testcase with additional
319 module variables and functions.
320
321 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
322
323 * gdb.fortran/info-modules.exp: New file.
324 * gdb.fortran/info-types.exp: Build with new file.
325 * gdb.fortran/info-types.f90: Include and use new module.
326 * gdb.fortran/info-types-2.f90: New file.
327
328 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
329
330 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
331 * gdb.base/settings.exp: Test all settings types using
332 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
333 that now verifies that the value of "maint show" is the same as
334 returned by the settings functions. Test the type of the
335 maintenance settings.
336 * gdb.base/default.exp: Update show_conv_list.
337
338 2019-10-31 Tom de Vries <tdevries@suse.de>
339
340 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
341 gdb_test.
342 * gdb.arch/amd64-disp-step.exp: Same.
343 * gdb.asm/asm-source.exp: Same.
344 * gdb.btrace/buffer-size.exp: Same.
345 * gdb.btrace/cpu.exp: Same.
346 * gdb.btrace/enable.exp: Same.
347 * gdb.dwarf2/count.exp: Same.
348 * gdb.dwarf2/dw2-ranges-func.exp: Same.
349 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
350 * gdb.fortran/vla-datatypes.exp: Same.
351 * gdb.fortran/vla-history.exp: Same.
352 * gdb.fortran/vla-ptype.exp: Same.
353 * gdb.fortran/vla-value.exp: Same.
354 * gdb.fortran/whatis_type.exp: Same.
355 * gdb.guile/guile.exp: Same.
356 * gdb.multi/tids.exp: Same.
357 * gdb.python/py-finish-breakpoint.exp: Same.
358 * gdb.python/py-framefilter.exp: Same.
359 * gdb.python/py-pp-registration.exp: Same.
360 * gdb.python/py-xmethods.exp: Same.
361 * gdb.python/python.exp: Same.
362 * gdb.server/connect-with-no-symbol-file.exp: Same.
363 * gdb.server/no-thread-db.exp: Same.
364 * gdb.server/run-without-local-binary.exp: Same.
365 * gdb.stabs/weird.exp: Same.
366 * gdb.threads/attach-many-short-lived-threads.exp: Same.
367 * gdb.threads/thread-find.exp: Same.
368 * gdb.threads/tls-shared.exp: Same.
369 * gdb.threads/tls.exp: Same.
370 * gdb.threads/wp-replication.exp: Same.
371 * gdb.trace/ax.exp: Same.
372 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
373
374 2019-10-31 Tom de Vries <tdevries@suse.de>
375
376 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
377 * gdb.ada/array_subscript_addr.exp: Same.
378 * gdb.ada/arrayidx.exp: Same.
379 * gdb.ada/arrayparam.exp: Same.
380 * gdb.ada/arrayptr.exp: Same.
381 * gdb.ada/boolean_expr.exp: Same.
382 * gdb.ada/call_pn.exp: Same.
383 * gdb.ada/complete.exp: Same.
384 * gdb.ada/fixed_cmp.exp: Same.
385 * gdb.ada/fun_addr.exp: Same.
386 * gdb.ada/funcall_param.exp: Same.
387 * gdb.ada/interface.exp: Same.
388 * gdb.ada/mod_from_name.exp: Same.
389 * gdb.ada/null_array.exp: Same.
390 * gdb.ada/packed_array.exp: Same.
391 * gdb.ada/packed_tagged.exp: Same.
392 * gdb.ada/print_chars.exp: Same.
393 * gdb.ada/print_pc.exp: Same.
394 * gdb.ada/ptype_arith_binop.exp: Same.
395 * gdb.ada/ptype_field.exp: Same.
396 * gdb.ada/ptype_tagged_param.exp: Same.
397 * gdb.ada/rec_return.exp: Same.
398 * gdb.ada/ref_tick_size.exp: Same.
399 * gdb.ada/str_ref_cmp.exp: Same.
400 * gdb.ada/taft_type.exp: Same.
401 * gdb.ada/tagged.exp: Same.
402 * gdb.ada/type_coercion.exp: Same.
403 * gdb.ada/uninitialized_vars.exp: Same.
404
405 2019-10-30 Tom de Vries <tdevries@suse.de>
406
407 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
408
409 2019-10-26 Tom de Vries <tdevries@suse.de>
410
411 * gdb.base/bigcore.c: Fix typos in comments.
412 * gdb.base/ctf-ptype.c: Same.
413 * gdb.base/long_long.c: Same.
414 * gdb.dwarf2/dw2-op-out-param.S: Same.
415 * gdb.python/py-evthreads.c: Same.
416 * gdb.reverse/i387-stack-reverse.c: Same.
417 * gdb.trace/tfile.c: Same.
418 * lib/compiler.c: Same.
419 * lib/compiler.cc: Same.
420
421 2019-10-25 Tom de Vries <tdevries@suse.de>
422
423 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
424 gdb_test_multiple calls.
425 * gdb.reverse/sigall-reverse.exp: Same.
426 * gdb.reverse/solib-precsave.exp: Same.
427 * gdb.reverse/solib-reverse.exp: Same.
428 * gdb.reverse/until-precsave.exp: Same.
429 * gdb.reverse/until-reverse.exp: Same.
430
431 2019-10-24 Tom de Vries <tdevries@suse.de>
432
433 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
434 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
435 kfail using -wrap pattern flag and convenience variable
436 gdb_test_name.
437
438 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
439
440 * gdb.python/py-progspace.exp: Add tests for the
441 Progspace.block_for_pc method.
442
443 2019-10-23 Tom Tromey <tom@tromey.com>
444
445 * configure: Rebuild.
446 * aclocal.m4: Use m4_include, not sinclude.
447
448 2019-10-21 Tom de Vries <tdevries@suse.de>
449
450 * gdb.base/infcall-nested-structs.c: Add
451 __attribute__((noinline,noclone)) to all functions.
452 (call_all): Add missing variable initialization. Simplify return value.
453 (breakpt): Increment volatile variable, to prevent call from being
454 optimized out.
455 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
456
457 2019-10-17 Tom de Vries <tdevries@suse.de>
458
459 * gdb.fortran/module.exp: Allow info variables to print info for files
460 other than module.f90.
461
462 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
463
464 * gdb.fortran/module.exp: Extend with 'info variables' test.
465
466 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
467
468 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
469 F77_FOR_TARGET.
470
471 2019-10-16 Tom de Vries <tdevries@suse.de>
472
473 PR tdep/25096
474 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
475
476 2019-10-16 Tom de Vries <tdevries@suse.de>
477
478 PR tdep/24104
479 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
480 Add KFAIL for PR tdep/25096.
481
482 2019-10-16 Tom de Vries <tdevries@suse.de>
483
484 PR testsuite/25059
485 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
486
487 2019-10-16 Tom de Vries <tdevries@suse.de>
488
489 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
490 as signed.
491
492 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
493
494 * gdb.mi/list-thread-groups-available.exp: Read entries one by
495 one instead of increasing timeout.
496
497 2019-10-13 Tom de Vries <tdevries@suse.de>
498
499 PR record/25038
500 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
501 * gdb.reverse/sigall-reverse.exp: Same.
502 * gdb.reverse/solib-precsave.exp: Same.
503 * gdb.reverse/solib-reverse.exp: Same.
504 * gdb.reverse/step-precsave.exp: Same.
505 * gdb.reverse/until-precsave.exp: Same.
506 * gdb.reverse/until-reverse.exp: Same.
507 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
508
509 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
510
511 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
512 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
513 (cmp_struct_05_01, cmp_struct_static_02_01)
514 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
515 comparisons.
516
517 2019-10-10 Tom de Vries <tdevries@suse.de>
518
519 PR testsuite/24888
520 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
521 gnatlink.
522
523 2019-10-09 Tom de Vries <tdevries@suse.de>
524
525 PR testsuite/25048
526 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
527
528 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
529
530 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
531 exceptions due to missing debug information.
532
533 2019-10-07 Tom de Vries <tdevries@suse.de>
534
535 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
536
537 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
538
539 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
540 * gdb.base/annota1.exp: Update to use gdb_test_name.
541
542 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
543
544 * gdb.base/ctf-whatis.exp: New file.
545 * gdb.base/ctf-whatis.c: New file.
546 * gdb.base/ctf-ptype.exp: New file.
547 * gdb.base/ctf-ptype.c: New file.
548 * gdb.base/ctf-constvars.exp: New file.
549 * gdb.base/ctf-constvars.c: New file.
550 * gdb.base/ctf-cvexpr.exp: New file.
551
552 2019-10-04 Tom de Vries <tdevries@suse.de>
553
554 * gdb.cp/local-static.c (main): Move declaration of int i out of the
555 for loop.
556
557 2019-10-03 Tom Tromey <tom@tromey.com>
558
559 PR rust/24976:
560 * gdb.rust/simple.rs (Union2): New type.
561 (main): Use Union2.
562 * gdb.rust/simple.exp: Add test.
563
564 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
565
566 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
567 nested function prefix.
568
569 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
570 Richard Bunt <richard.bunt@arm.com>
571 Andrew Burgess <andrew.burgess@embecosm.com>
572
573 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
574 nested functions.
575 * gdb.fortran/nested-funcs.f90: Update expected results.
576 * gdb.fortran/nested-funcs-2.exp: New file.
577 * gdb.fortran/nested-funcs-2.f90: New file.
578
579 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
580
581 * gdb.python/py-parameter.exp: Make test names unique.
582 * gdb.python/py-template.exp: Likewise.
583 * gdb.python/py-value.exp: Likewise.
584
585 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
586
587 * gdb.base/break-interp.exp: Reduce test name duplication.
588 * gdb.base/call-sc.exp: Likewise.
589 * gdb.base/callfuncs.exp: Likewise.
590 * gdb.base/charset.exp: Likewise.
591 * gdb.base/dump.exp: Likewise.
592 * gdb.base/ena-dis-br.exp: Likewise.
593 * gdb.base/relational.exp: Likewise.
594 * gdb.base/step-over-syscall.exp: Likewise.
595 * gdb.base/structs.exp: Likewise.
596
597 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
598
599 * gdb.linespec/explicit.exp: Make test names unique.
600 * gdb.linespec/ls-errs.exp: Likewise.
601
602 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
603
604 * gdb.reverse/break-precsave.exp: Make test names unique.
605 * gdb.reverse/break-reverse.exp: Likewise.
606 * gdb.reverse/finish-precsave.exp: Likewise.
607 * gdb.reverse/finish-reverse.exp: Likewise.
608 * gdb.reverse/machinestate-precsave.exp: Likewise.
609 * gdb.reverse/machinestate.exp: Likewise.
610 * gdb.reverse/readv-reverse.exp: Likewise.
611 * gdb.reverse/recvmsg-reverse.exp: Likewise.
612 * gdb.reverse/sigall-precsave.exp: Likewise.
613 * gdb.reverse/sigall-reverse.exp: Likewise.
614 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
615 * gdb.reverse/watch-precsave.exp: Likewise.
616 * gdb.reverse/watch-reverse.exp: Likewise.
617
618 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
619
620 * gdb.threads/stop-with-handle.c: New file.
621 * gdb.threads/stop-with-handle.exp: New file.
622
623 2019-10-03 Tom de Vries <tdevries@suse.de>
624
625 PR testsuite/25059
626 * gdb.base/list-missing-source.exp: Allowing the "Compilation
627 directory" line to be missing.
628
629 2019-10-03 Tom de Vries <tdevries@suse.de>
630
631 PR testsuite/25059
632 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
633 type optional.
634
635 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
636
637 * gdb.python/py-format-string.c (string.h): New include.
638 (main): Fill a_struct_with_union.the_union.an_int with bytes of
639 the same value, for endianness-independence.
640 * gdb.python/py-format-string.exp (default_regexp_dict)
641 (test_pretty_structs, test_format): Adjust expected output to the
642 changed initialization.
643
644 2019-10-02 Tom Tromey <tromey@adacore.com>
645
646 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
647
648 2019-10-02 Pedro Alves <palves@redhat.com>
649 Andrew Burgess <andrew.burgess@embecosm.com>
650
651 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
652 "print-file-var.h".
653 (this_version_id) Use ATTRIBUTE_VISIBILITY.
654 (get_version_1): Print this_version_id and its address.
655 Add extern "C" wrappers around interface functions.
656 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
657 "print-file-var.h".
658 (this_version_id) Use ATTRIBUTE_VISIBILITY.
659 (get_version_2): Print this_version_id and its address.
660 Add extern "C" wrappers around interface functions.
661 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
662 <stddef.h> and "print-file-var.h".
663 Add extern "C" wrappers around interface functions.
664 [VERSION_ID_MAIN] (this_version_id): Define.
665 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
666 * gdb.base/print-file-var.h: Add some #defines to simplify setting
667 up extern "C" blocks.
668 * gdb.base/print-file-var.exp (test): New, factored out from top
669 level.
670 (top level): Test all combinations of attribute hidden or not,
671 dlopen or not, and this_version_id symbol in main file or not.
672 Compile tests as both C++ and C, make test names unique.
673
674 2019-10-01 Tom Tromey <tom@tromey.com>
675
676 * gdb.base/style.exp: Test "show logging filename".
677
678 2019-10-01 Tom Tromey <tom@tromey.com>
679
680 * lib/gdb-utils.exp (style): Handle "metadata" argument.
681 * gdb.base/style.exp: Add metadata style test.
682
683 2019-10-01 Tom Tromey <tom@tromey.com>
684
685 * gdb.base/style.exp: Test "pwd".
686
687 2019-10-01 Tom Tromey <tom@tromey.com>
688
689 * gdb.base/style.exp: Update tests.
690
691 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
692
693 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
694 'six' to unsigned.
695 (s1): Initialize fields 'four' and 'six' instead of 'three' and
696 'five'. Use an all-ones bit pattern for each.
697 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
698 to its changed values.
699
700 2019-09-30 Tom Tromey <tromey@adacore.com>
701
702 * gdb.rust/traits.rs: Disable all warnings.
703
704 2019-09-29 Tom de Vries <tdevries@suse.de>
705
706 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
707
708 2019-09-29 Tom de Vries <tdevries@suse.de>
709
710 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
711
712 2019-09-27 Tom de Vries <tdevries@suse.de>
713
714 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
715
716 2019-09-27 Tom de Vries <tdevries@suse.de>
717
718 PR record/23188
719 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
720
721 2019-09-26 Tom Tromey <tromey@adacore.com>
722
723 * gdb.ada/py_taft.exp: New file.
724 * gdb.ada/py_taft/main.adb: New file.
725 * gdb.ada/py_taft/pkg.adb: New file.
726 * gdb.ada/py_taft/pkg.ads: New file.
727
728 2019-09-24 Tom de Vries <tdevries@suse.de>
729
730 PR gdb/24598
731 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
732
733 2019-09-22 Tom de Vries <tdevries@suse.de>
734
735 * gdb.base/restore.exp: Allow register variables to be optimized out at
736 -O0.
737
738 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
739
740 * gdb.arch/spu-info.exp: Remove file.
741 * gdb.arch/spu-info.c: Remove file.
742 * gdb.arch/spu-ls.exp: Remove file.
743 * gdb.arch/spu-ls.c: Remove file.
744
745 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
746 * gdb.asm/spu.inc: Remove file.
747
748 * gdb.base/dump.exp: Remove support for spu*-*-*.
749 * gdb.base/stack-checking.exp: Likewise.
750 * gdb.base/overlays.exp: Likewise.
751 * gdb.base/ovlymgr.c: Likewise.
752 * gdb.base/spu.ld: Remove file.
753
754 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
755 * gdb.cp/cpexprs.exp: Likewise.
756 * gdb.cp/exception.exp: Likewise.
757 * gdb.cp/gdb2495.exp: Likewise.
758 * gdb.cp/mb-templates.exp: Likewise.
759 * gdb.cp/pr9167.exp: Likewise.
760 * gdb.cp/userdef.exp: Likewise.
761
762 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
763
764 * gdb.cell: Remove directory.
765 * lib/cell.exp: Remove file.
766
767 2019-09-19 Tom de Vries <tdevries@suse.de>
768
769 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
770
771 2019-09-19 Tom de Vries <tdevries@suse.de>
772
773 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
774
775 2019-09-19 Tom de Vries <tdevries@suse.de>
776
777 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
778 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
779 (gdb_target_cmd): ... here.
780 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
781 value 2.
782
783 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
784
785 * gdb.base/source-dir.exp: Avoid having directory names in test
786 names.
787
788 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
789
790 * gdb.base/source-dir.exp: Add extra test for mapped compilation
791 directory.
792
793 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
794
795 * gdb.base/list-missing-source.exp: New file.
796
797 2019-09-14 Tom de Vries <tdevries@suse.de>
798
799 PR teststuite/24599
800 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
801 * lib/ada.exp (gnatmake_version_at_least): New proc.
802
803 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
804
805 * gdb.base/maint.exp: Use exec_has_index_section.
806
807 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
808
809 * gdb.base/maint.exp: Add test for 'maint info sections'.
810
811 2019-09-12 Tom de Vries <tdevries@suse.de>
812
813 * gdb.base/store.exp: Allow register variables to be optimized out at
814 -O0.
815
816 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
817
818 * gdb.ada/rdv_wait.exp: Update to new task names.
819 * gdb.base/task_switch_in_core.exp: Likewise.
820 * gdb.base/info_sources_base.c: Likewise.
821
822 2019-09-10 Tom Tromey <tromey@adacore.com>
823
824 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
825
826 2019-09-10 Tom Tromey <tromey@adacore.com>
827
828 * gdb.ada/dgopt.exp: New file.
829 * gdb.ada/dgopt/x.adb: New file.
830
831 2019-09-08 Tom Tromey <tom@tromey.com>
832
833 * gdb.tui/resize.exp: Remove setup_xfail.
834 * gdb.tui/regs.exp: Remove setup_xfail.
835 * gdb.tui/basic.exp: Remove setup_xfail.
836
837 2019-09-06 David Blaikie <dblaikie@gmail.com>
838
839 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
840 * gdb.cp/cplabel.exp: Ditto.
841 * gdb.linespec/ls-errs.exp: Ditto.
842
843 2019-09-05 Tom de Vries <tdevries@suse.de>
844
845 * lib/gdb.exp (cmp_file_string): New proc.
846 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
847 runto_main. Verify save breakpoints output.
848
849 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
850
851 * gdb.base/info-var.exp: Test info variables without running
852 to main, to avoid expect's buffer overflow.
853
854 2019-09-03 Tom Tromey <tromey@adacore.com>
855
856 * gdb.ada/bias.exp: New file.
857 * gdb.ada/bias/bias.adb: New file.
858 * gdb.ada/print_chars.exp: Add regression test.
859 * gdb.ada/print_chars/foo.adb (My_Character): New type.
860 (MC): New variable.
861
862 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
863
864 * gdb.base/argv0-symlink.exp: Run only on native target
865 and local host.
866
867 2019-08-29 Tom de Vries <tdevries@suse.de>
868
869 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
870 diverse debug info.
871 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
872
873 2019-08-28 Tom de Vries <tdevries@suse.de>
874
875 * gdb.base/info-var.exp: Allow info variables to print info for files
876 other than info-var-f1.c and info-var-f2.c.
877
878 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
879
880 * gdb.fortran/info-types.exp: Add module.
881 * gdb.fortran/info-types.f90: Update expected results.
882
883 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
884
885 * gdb.fortran/info-types.exp: New file.
886 * gdb.fortran/info-types.f90: New file.
887 * lib/fortran.exp (fortran_character1): New proc.
888
889 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
890
891 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
892 functions'. Reindent as needed.
893 * gdb.base/info-var-f1.c: New file.
894 * gdb.base/info-var-f2.c: New file.
895 * gdb.base/info-var.exp: New file.
896 * gdb.base/info-var.h: New file.
897
898 2019-08-26 Tom de Vries <tdevries@suse.de>
899
900 PR c++/24852
901 * gdb.cp/no-libstdcxx-probe.exp: New test.
902
903 2019-08-26 Tom de Vries <tdevries@suse.de>
904
905 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
906 * tests need to be skipped.
907 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
908 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
909 mi_skip_libstdcxx_probe_tests.
910
911 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
912
913 * gdb.python/py-xmethods.exp: Use raw strings when passing
914 arguments to SimpleXMethodMatcher.
915
916 2019-08-22 Tom de Vries <tdevries@suse.de>
917
918 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
919 more informative.
920
921 2019-08-21 Pedro Alves <palves@redhat.com>
922
923 * gdb.base/with.exp: Test "with" with no arguments.
924
925 2019-08-21 Tom de Vries <tdevries@suse.de>
926
927 * gdb.base/gdb-caching-proc.exp: Sort files.
928
929 2019-08-20 Tom de Vries <tdevries@suse.de>
930
931 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
932 compilation.
933
934 2019-08-16 Tom de Vries <tdevries@suse.de>
935
936 * gdb.base/compare-sections.exp ("after run to main"): Allow
937 mismatched read-only sections for PIE executables.
938
939 2019-08-16 Tom Tromey <tom@tromey.com>
940
941 * lib/tuiterm.exp (_csi_Z): New proc.
942 * gdb.tui/basic.exp: Update window positions.
943 * gdb.tui/empty.exp: Update window positions.
944
945 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
946
947 * gdb.base/examine-backward.exp: Correct regexp for
948 "examine 3 bytes backward from ${address_zero}".
949
950 2019-08-15 Tom Tromey <tom@tromey.com>
951
952 * gdb.tui/empty.exp: Enable resizing tests.
953
954 2019-08-15 Tom Tromey <tromey@adacore.com>
955
956 * gdb.ada/char_enum.exp: Add regression tests.
957 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
958 and '0'.
959 (Char, Gchar): Update.
960 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
961
962 2019-08-15 Christian Biesinger <cbiesinger@google.com>
963
964 * gdb.python/python.exp: Expect a leading underscore on
965 GdbOutput{,Error}File.
966
967 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
968
969 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
970 Windows host.
971
972 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
973
974 * gdb.base/batch-preserve-term-settings.exp
975 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
976
977 2019-08-15 Christian Biesinger <cbiesinger@google.com>
978
979 * lib/gdb.exp: When running on a mingw target, replace
980 /x/ with x:/.
981
982 2019-08-14 Alan Hayward <alan.hayward@arm.com>
983
984 * gdb.arch/aarch64-prologue.c: New test.
985 * gdb.arch/aarch64-prologue.exp: New file.
986
987 2019-08-13 Tom de Vries <tdevries@suse.de>
988
989 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
990 Thread.
991
992 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
993
994 * gdb.python/py-completion.exp: Download the .py file to the host
995 and use its host pathname. Conditionalize tests that use
996 tab completion and manipulate files on the build machine.
997 * gdb.python/py-events.exp: Download the .py file to the host
998 and use its host pathname.
999 * gdb.python/py-evsignal.exp: Likewise.
1000 * gdb.python/py-evthreads.exp: Likewise.
1001 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1002 pathname syntax.
1003 * gdb.python/py-framefilter.exp: Download the .py file to the right
1004 place on the host. Match Windows pathname syntax.
1005 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1006 .py file to the host and use its host pathname.
1007 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1008 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1009 build pathname. Skip symlink test on Windows host. Add missing
1010 newline at end of file.
1011 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1012 and use its host pathname.
1013 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1014 * gdb.python/py-section-script.exp: Use host location of binfile
1015 on safe-path. Use correct path separator on Windows host.
1016 Reorder alternatives in gdb_test_multiple to prevent matching
1017 the wrong alternative on success.
1018 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1019
1020 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1021
1022 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1023 expect the GDB inferior to no longer immediately stop after
1024 being resumed with "signal SIGINT".
1025
1026 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1027
1028 * gdb.linespec/break-ask.exp: Generalize regexps to match
1029 Windows pathnames too.
1030
1031 2019-08-08 Tom de Vries <tdevries@suse.de>
1032
1033 PR testsuite/24862
1034 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1035
1036 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1037
1038 * gdb.base/style.exp: Update tests for help doc new invariants.
1039 * gdb.base/help.exp: Likewise.
1040
1041 2019-08-06 Tom Tromey <tom@tromey.com>
1042
1043 * gdb.base/style.exp: Add disassemble test.
1044 * gdb.base/style.c (some_called_function): New function.
1045 (main): Use it.
1046
1047 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1048
1049 * gdb.python/py-block.exp: Test dictionary access on blocks.
1050
1051 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1052
1053 PR gdb/24863
1054 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1055 -list-thread-groups --available test when running under
1056 check-read1.
1057
1058 2019-08-05 Tom de Vries <tdevries@suse.de>
1059
1060 PR testsuite/24863
1061 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1062 * gdb.base/help.exp: Use with_read1_timeout_factor.
1063 * gdb.base/info-macros.exp: Same.
1064 * gdb.cp/nested-types.exp: Same.
1065
1066 2019-08-05 Tom de Vries <tdevries@suse.de>
1067
1068 * lib/gdb.exp (version_at_least): Factor out of ...
1069 (tcl_version_at_least): ... here.
1070 (gdb_compile): Fail if pie results in non-PIE executable.
1071 (readelf_version, readelf_prints_pie): New proc.
1072 (exec_is_pie): Return -1 if unknown.
1073
1074 2019-08-05 Tom de Vries <tdevries@suse.de>
1075
1076 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1077
1078 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1079
1080 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1081
1082 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1083
1084 * lib/completion-support.exp (test_gdb_complete_none): Skip
1085 tab completion tests if no readline support.
1086 (test_gdb_complete_unique_re): Likewise.
1087 (test_gdb_complete_multiple): Likewise.
1088
1089 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1090
1091 * gdb.base/info_sources.exp: New file.
1092 * gdb.base/info_sources.c: New file.
1093 * gdb.base/info_sources_base.c: New file.
1094
1095 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1096
1097 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1098 prefix argument.
1099 (test_exit_status): Add prefix argument.
1100
1101 2019-08-01 Tom de Vries <tdevries@suse.de>
1102
1103 PR testsuite/24863
1104 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1105 calling exp_continue for new thread and thread exited messages.
1106
1107 2019-08-01 Tom de Vries <tdevries@suse.de>
1108
1109 PR testsuite/24863
1110 * gdb.base/structs.exp: Fix check-read1 timeout using
1111 gdb_test_sequence.
1112 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1113
1114 2019-08-01 Tom de Vries <tdevries@suse.de>
1115
1116 PR testsuite/24863
1117 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1118 line.
1119
1120 2019-08-01 Tom de Vries <tdevries@suse.de>
1121
1122 PR testsuite/24863
1123 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1124
1125 2019-07-30 Tom Tromey <tromey@adacore.com>
1126
1127 * gdb.ada/display_nested.exp: New file.
1128 * gdb.ada/display_nested/foo.adb: New file.
1129 * gdb.ada/display_nested/pack.adb: New file.
1130 * gdb.ada/display_nested/pack.ads: New file.
1131
1132 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1133
1134 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1135 namespace.
1136 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1137
1138 2019-07-30 Tom de Vries <tdevries@suse.de>
1139
1140 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1141 instead.
1142
1143 2019-07-30 Tom de Vries <tdevries@suse.de>
1144
1145 PR testsuite/24834
1146 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1147 (exec_is_pie): New proc.
1148
1149 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1150
1151 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1152
1153 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1154
1155 * gdb.python/py-objfile.c: Add global and static vars.
1156 * gdb.python/py-objfile.exp: Test new functions Objfile.
1157 lookup_global_symbol and lookup_static_symbol.
1158
1159 2019-07-29 Tom Tromey <tom@tromey.com>
1160
1161 * lib/tuiterm.exp (Term::_csi_@): New proc.
1162 (Term::_csi_X): Don't move cursor.
1163
1164 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1165
1166 * gdb.base/options.exp: Update backtrace - completion to
1167 new option -frame-info.
1168 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1169 Test new 'set print frame-info'. Test backtrace -frame-info
1170 overriding 'set print frame-info'.
1171 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1172 Test new 'set print frame-info'.
1173 Verify consistency of backtrace with and without filters, with and
1174 without -no-filters.
1175 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1176 default.
1177
1178 2019-07-29 Tom de Vries <tdevries@suse.de>
1179
1180 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1181 no arguments".
1182
1183 2019-07-29 Tom de Vries <tdevries@suse.de>
1184
1185 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1186 is a substring of the first for "complete non-unique file name".
1187
1188 2019-07-29 Tom de Vries <tdevries@suse.de>
1189
1190 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1191 with ".*".
1192
1193 2019-07-29 Tom de Vries <tdevries@suse.de>
1194
1195 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1196 Pass prompt_regexp parameter to gdb_test_multiple calls.
1197
1198 2019-07-29 Tom de Vries <tdevries@suse.de>
1199
1200 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1201 print registers" regexps.
1202
1203 2019-07-29 Tom de Vries <tdevries@suse.de>
1204
1205 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1206
1207 2019-07-29 Tom de Vries <tdevries@suse.de>
1208
1209 PR gdb/24855
1210 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1211 (skip_python_tests_prompt): Add prompt_regexp argument to
1212 gdb_test_multiple calls.
1213
1214 2019-07-27 Tom Tromey <tom@tromey.com>
1215
1216 * gdb.tui/main.exp: New file.
1217
1218 2019-07-27 Tom Tromey <tom@tromey.com>
1219
1220 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1221 optional.
1222 * gdb.tui/empty.exp: New file.
1223
1224 2019-07-27 Tom Tromey <tom@tromey.com>
1225
1226 * lib/tuiterm.exp (spawn): New proc.
1227 (Term::resize): New proc.
1228 * gdb.tui/resize.exp: New file.
1229
1230 2019-07-27 Tom Tromey <tom@tromey.com>
1231
1232 * gdb.tui/list.exp: New file.
1233
1234 2019-07-27 Tom Tromey <tom@tromey.com>
1235
1236 * gdb.tui/regs.exp: New file.
1237
1238 2019-07-27 Tom Tromey <tom@tromey.com>
1239
1240 * gdb.tui/basic.exp: Add "layout split" test.
1241
1242 2019-07-27 Tom Tromey <tom@tromey.com>
1243
1244 * gdb.tui/basic.exp: Add "layout asm" test.
1245
1246 2019-07-27 Tom Tromey <tom@tromey.com>
1247
1248 * lib/tuiterm.exp: New file.
1249 * gdb.tui/basic.exp: New file.
1250
1251 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1252
1253 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1254 Enable tests associated with this flag. Adjust regex
1255 referencing "foo_low" to now refer to "foo_cold" instead.
1256
1257 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1258
1259 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1260 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1261 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1262 foo_cold. Revise comments to match.
1263 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1264 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1265 were wrapped into this proc; Call do_test in loop from outermost
1266 level.
1267 (foo_low): Rename all occurrences to "foo_cold".
1268 (backtrace from baz): New test.
1269 (x2/i foo_cold): New test.
1270 (info line *foo_cold): New test.
1271
1272 2019-07-26 Tom de Vries <tdevries@suse.de>
1273
1274 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1275
1276 2019-07-25 Tom de Vries <tdevries@suse.de>
1277
1278 PR testsuite/24830
1279 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1280 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1281 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1282 (skip_libstdcxx_probe_tests): ... here.
1283 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1284
1285 2019-07-24 Tom de Vries <tdevries@suse.de>
1286
1287 PR testsuite/24807
1288 * gdb.objc/basicclass.m: Include stdio.h.
1289 * gdb.objc/nondebug.m: Same.
1290 * gdb.objc/objcdecode.m: Same.
1291
1292 2019-07-24 Tom de Vries <tdevries@suse.de>
1293
1294 PR testsuite/24612
1295 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1296 additional_flags.
1297
1298 2019-07-24 Tom de Vries <tdevries@suse.de>
1299
1300 PR testsuite/24831
1301 * gdb.multi/tids.exp: Update error messages for info threads.
1302
1303 2019-07-24 Tom de Vries <tdevries@suse.de>
1304
1305 * gdb.base/info-types.exp: Allow info types to print info for more than
1306 one file.
1307
1308 2019-07-23 Tom de Vries <tdevries@suse.de>
1309
1310 PR testsuite/24842
1311 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1312 gdb_spawn_with_cmdline_opts.
1313
1314 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1315
1316 * gdb.arch/arm-cmse-sgstubs.c: New test.
1317 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1318
1319 2019-07-23 Tom de Vries <tdevries@suse.de>
1320
1321 PR testsuite/24711
1322 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1323 issuing next command.
1324
1325 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1326
1327 * gdb.ada/info_auto_lang.exp: Update expected results.
1328 * gdb.base/info-types.c: Add additional types to check.
1329 * gdb.base/info-types.exp: Update expected results.
1330
1331 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1332
1333 * gdb.base/info-types.c: New file.
1334 * gdb.base/info-types.exp: New file.
1335
1336 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1337
1338 * gdb.arch/riscv-bp-infcall.c: New file.
1339 * gdb.arch/riscv-bp-infcall.exp: New file.
1340
1341 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1342
1343 PR breakpoints/24541
1344 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1345
1346 2019-07-14 Tom de Vries <tdevries@suse.de>
1347
1348 PR testsuite/24760
1349 * gdb.objc/basicclass.exp: Fix unterminated string.
1350
1351 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1352 Andrew Burgess <andrew.burgess@embecosm.com>
1353
1354 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1355 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1356 negative bounds.
1357 * gdb.fortran/vla-value.exp: Print elements of an array with
1358 negative bounds.
1359 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1360 testing.
1361
1362 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1363
1364 * gdb.base/options.exp (expect_string): Dequote strings in
1365 results.
1366 (test-string): Test strings with different quoting and reindent.
1367
1368 2019-07-10 Tom Tromey <tromey@adacore.com>
1369
1370 * gdb.ada/mi_ex_cond.exp: Update expected results.
1371 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1372 * gdb.ada/mi_catch_ex.exp: Update expected results.
1373 * gdb.ada/mi_catch_assert.exp: Update expected results.
1374 * gdb.ada/catch_ex.exp (catch_exception_info)
1375 (catch_exception_entry, catch_assert_entry)
1376 (catch_unhandled_entry): Update.
1377 * gdb.ada/catch_assert_if.exp: Update expected results.
1378
1379 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1380 Stephen Roberts <stephen.roberts@arm.com>
1381
1382 * gdb.base/define.exp: Restore original prompt.
1383
1384 2019-07-09 Pedro Alves <palves@redhat.com>
1385
1386 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1387 breakpoints" output.
1388 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1389 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1390 throw" creates breakpoint.
1391 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1392 'type="catchpoint"'.
1393
1394 2019-07-09 Pedro Alves <palves@redhat.com>
1395
1396 PR c++/15468
1397 * gdb.cp/except-multi-location-lib.cc: New.
1398 * gdb.cp/except-multi-location-main.cc: New.
1399 * gdb.cp/except-multi-location.exp: New.
1400
1401 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1402
1403 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1404 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1405 argument and update callers.
1406
1407 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1408
1409 * gdb.arch/amd64-break-on-asm-line.S: New file.
1410 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1411
1412 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1413
1414 * gdb.base/printcmds.exp: Test printing C string and
1415 C wide string convenience vars without transiting via the inferior.
1416 Also make test names unique.
1417
1418 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1419
1420 PR breakpoints/25011
1421 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1422
1423 2019-07-04 Pedro Alves <palves@redhat.com>
1424
1425 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1426 body returned ok(0), break(3) or continue(4).
1427 * gdb.testsuite/foreach_with_prefix.exp: New file.
1428
1429 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1430
1431 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1432
1433 2019-07-03 Pedro Alves <palves@redhat.com>
1434
1435 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1436 "return -code".
1437
1438 2019-07-03 Pedro Alves <palves@redhat.com>
1439
1440 PR cli/24732
1441 * gdb.base/shell.exp: Load completion-support.exp.
1442 Adjust expected error output. Add completion tests.
1443
1444 2019-07-03 Pedro Alves <palves@redhat.com>
1445
1446 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1447 string_to_regexp.
1448
1449 2019-07-03 Pedro Alves <palves@redhat.com>
1450
1451 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1452 (expect_integer): Adjust to expect "-string".
1453 (expect_string): New.
1454 (all_options): Expect "-string".
1455 (test-flag, test-boolean): Adjust to expect "-string".
1456 (test-string): New proc.
1457 (top level): Call it.
1458
1459 2019-07-03 Pedro Alves <palves@redhat.com>
1460
1461 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1462 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1463 the expected output in the success.
1464
1465 2019-07-03 Pedro Alves <palves@redhat.com>
1466
1467 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1468 Split one gdb_test_multiple call in two to avoid a race.
1469
1470 2019-07-03 Pedro Alves <palves@redhat.com>
1471
1472 * gdb.base/with.c: New file.
1473 * gdb.base/with.exp: New file.
1474
1475 2019-07-03 Pedro Alves <palves@redhat.com>
1476
1477 * gdb.base/settings.exp: Replace all references to "maint
1478 test-settings set" with references to "maint set test-settings",
1479 and all references to "maint test-settings show" with references
1480 to "maint show test-settings".
1481
1482 2019-07-03 Pedro Alves <palves@redhat.com>
1483
1484 * gdb.base/settings.exp (test-string): Adjust expected out when
1485 testing "maint test-settings show filename"
1486
1487 2019-07-02 Pedro Alves <palves@redhat.com>
1488
1489 * gdb.base/options.exp (test-info-threads): New procedure.
1490 (top level): Call it.
1491
1492 2019-06-28 Tom Tromey <tromey@adacore.com>
1493
1494 * gdb.dwarf2/ada-linkage-name.c: New file.
1495 * gdb.dwarf2/ada-linkage-name.exp: New file.
1496
1497 2019-06-27 Tom Tromey <tromey@adacore.com>
1498
1499 PR c++/20020:
1500 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1501
1502 2019-06-26 Tom de Vries <tdevries@suse.de>
1503
1504 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1505
1506 2019-06-26 Tom de Vries <tdevries@suse.de>
1507
1508 * gdb.base/index-cache.exp: Add back missing debug option.
1509
1510 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1511
1512 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1513
1514 2019-06-25 Tom de Vries <tdevries@suse.de>
1515
1516 PR testsuite/24727
1517 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1518
1519 2019-06-24 Tom de Vries <tdevries@suse.de>
1520
1521 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1522
1523 2019-06-24 Tom de Vries <tdevries@suse.de>
1524
1525 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1526 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1527 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1528
1529 2019-06-24 Tom de Vries <tdevries@suse.de>
1530
1531 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1532
1533 2019-06-21 Tom de Vries <tdevries@suse.de>
1534
1535 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1536
1537 2019-06-21 Tom de Vries <tdevries@suse.de>
1538
1539 PR testsuite/24518
1540 PR ada/24713
1541 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1542 index.
1543
1544 2019-06-19 Tom Tromey <tromey@adacore.com>
1545
1546 * gdb.ada/length_cond.exp: Add intro comment.
1547
1548 2019-06-19 Tom Tromey <tromey@adacore.com>
1549
1550 * gdb.ada/length_cond.exp: New file.
1551 * gdb.ada/length_cond/length_cond.adb: New file.
1552 * gdb.ada/length_cond/pck.adb: New file.
1553 * gdb.ada/length_cond/pck.ads: New file.
1554
1555 2019-06-18 Tom de Vries <tdevries@suse.de>
1556
1557 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1558
1559 2019-06-18 Tom Tromey <tromey@adacore.com>
1560
1561 * gdb.base/list0.h: Add comment explaining control character.
1562
1563 2019-06-18 Tom de Vries <tdevries@suse.de>
1564
1565 * boards/fission.exp: Break up long debug_flags line.
1566
1567 2019-06-16 Tom de Vries <tdevries@suse.de>
1568
1569 PR gdb/24445
1570 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1571 generated index.
1572
1573 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1574
1575 PR gdb/24686
1576 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1577 improve detection of bug gdb/24541.
1578
1579 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1580
1581 PR gdb/24669
1582 * gdb.base/index-cache.exp (uses_readnow,
1583 expecting_index_cache_use): Define global variable.
1584 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1585 expecting_index_cache_use.
1586
1587 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1588 Andrew Burgess <andrew.burgess@embecosm.com>
1589
1590 * gdb.fortran/pointers.f90: New file.
1591 * gdb.fortran/print_type.exp: New file.
1592 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1593 * gdb.fortran/vla-type.exp: Likewise.
1594 * gdb.fortran/vla-value.exp: Likewise.
1595 * gdb.mi/mi-vla-fortran.exp: Likewise.
1596
1597 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1598
1599 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1600 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1601 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1602 as a stop reason.
1603
1604 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1605
1606 * gdb.base/annota1.exp: Update expected results.
1607 * gdb.cp/annota2.exp: Likewise.
1608 * gdb.cp/annota3.exp: Likewise.
1609
1610 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1611
1612 * gdb.base/style-logging.exp: Remove path from test name.
1613
1614 2019-06-14 Tom Tromey <tromey@adacore.com>
1615
1616 PR gdb/24502:
1617 * gdb.base/style-logging.exp: New file.
1618
1619 2019-06-14 Tom Tromey <tromey@adacore.com>
1620
1621 * gdb.base/symfile-warn.exp: New file.
1622 * gdb.base/symfile-warn.c: New file.
1623
1624 2019-06-14 Tom Tromey <tromey@adacore.com>
1625
1626 * gdb.base/annotate-symlink.exp: New file.
1627
1628 2019-06-14 Tom Tromey <tromey@adacore.com>
1629
1630 * gdb.ada/set_wstr.exp: Add reassignment test.
1631
1632 2019-06-14 Tom Tromey <tromey@adacore.com>
1633
1634 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1635 'unchecked_access and 'unrestricted_access as well.
1636
1637 2019-06-14 Tom Tromey <tromey@adacore.com>
1638
1639 PR ada/24539:
1640 * gdb.ada/vla.exp: Update tests.
1641 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1642 pragma.
1643
1644 2019-06-13 Pedro Alves <palves@redhat.com>
1645
1646 * gdb.base/settings.exp (test-integer): Test junk after
1647 "unlimited".
1648
1649 2019-06-13 Pedro Alves <palves@redhat.com>
1650
1651 * gdb.base/options.exp (test-thread-apply): New.
1652 (top level): Call it.
1653
1654 2019-06-13 Pedro Alves <palves@redhat.com>
1655
1656 * gdb.base/options.exp (test-frame-apply): New.
1657 (top level): Test print commands with different "frame apply"
1658 prefixes.
1659
1660 2019-06-13 Pedro Alves <palves@redhat.com>
1661
1662 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1663 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1664 'max_completions' parameter and handle it.
1665 (test_gdb_completion_offers_commands): New.
1666
1667 2019-06-13 Pedro Alves <palves@redhat.com>
1668
1669 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1670
1671 2019-06-13 Pedro Alves <palves@redhat.com>
1672
1673 * gdb.base/options.exp (test-backtrace): New.
1674 (top level): Call it.
1675
1676 2019-06-13 Pedro Alves <palves@redhat.com>
1677
1678 * gdb.guile/scm-frame-args.exp: Use "set print
1679 raw-frame-arguments" instead of "set print raw frame-arguments".
1680 * gdb.python/py-frame-args.exp: Likewise.
1681
1682 2019-06-13 Pedro Alves <palves@redhat.com>
1683
1684 * gdb.compile/compile.exp: Adjust expected output to option
1685 processing changes.
1686
1687 2019-06-13 Pedro Alves <palves@redhat.com>
1688
1689 * gdb.base/options.exp: Build executable.
1690 (test-print): New procedure.
1691 (top level): Call it, once for "print" and another for "compile
1692 print".
1693
1694 2019-06-13 Pedro Alves <palves@redhat.com>
1695
1696 * gdb.base/options.c: New file.
1697 * gdb.base/options.exp: New file.
1698
1699 2019-06-13 Pedro Alves <palves@redhat.com>
1700
1701 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1702 that "o" is ambiguous.
1703
1704 2019-06-13 Pedro Alves <palves@redhat.com>
1705
1706 * gdb.base/settings.c: New file.
1707 * gdb.base/settings.exp: New file.
1708
1709 2019-06-13 Pedro Alves <palves@redhat.com>
1710
1711 * gdb.base/completion.exp: Fix comment typo.
1712
1713 2019-06-13 Pedro Alves <palves@redhat.com>
1714
1715 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1716 foo --1" test.
1717
1718 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1719
1720 * gdb.fortran/block-data.f: New.
1721 * gdb.fortran/block-data.exp: New.
1722
1723 2019-06-11 Tom de Vries <tdevries@suse.de>
1724
1725 PR testsuite/24521
1726 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1727 message.
1728
1729 2019-06-11 Tom de Vries <tdevries@suse.de>
1730
1731 PR testsuite/24521
1732 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1733
1734 2019-06-11 Tom de Vries <tdevries@suse.de>
1735
1736 * boards/readnow.exp: New file.
1737
1738 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1739
1740 * gdb.fortran/vla-sizeof.exp: Update expected results.
1741
1742 2019-06-06 Amos Bird <amosbird@gmail.com>
1743
1744 * gdb.base/annota1.exp (thread_switch): Add test for
1745 thread-exited annotation.
1746
1747 2019-06-06 Tom Tromey <tromey@adacore.com>
1748
1749 * gdb.base/maint.exp: Expect command started/finished output.
1750
1751 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1752
1753 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1754 comment.
1755 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1756
1757 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1758
1759 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1760 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1761 * gdb.arch/riscv-unwind-long-insn.c: New file.
1762 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1763
1764 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1765
1766 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1767
1768 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1769
1770 * lib/gdb.exp (help_list_trailer): New regexp variable
1771 factorizing the help trailer message.
1772 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1773 arg to allow to better factorize various tests.
1774 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1775 (test_prefix_command_help): Use help_list_trailer.
1776 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1777 * gdb.guile/scm-cmd.exp: Likewise.
1778 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1779 * gdb.base/help.exp: Use test_user_defined_class_help.
1780 * gdb.base/style.exp: Add tests for styling of help and apropos.
1781 * lib/gdb-utils.exp (style): Add title and highlight styles.
1782
1783 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1784
1785 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1786 $_shell_exitsignal.
1787 * gdb.base/default.exp: Update for new convenience variables.
1788
1789 2019-05-29 Tom Tromey <tromey@adacore.com>
1790
1791 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1792 to "break complete ada" test case's regexp.
1793
1794 2019-05-29 Tom Tromey <tromey@adacore.com>
1795
1796 PR c++/20020:
1797 * gdb.cp/constexpr-field.exp: New file.
1798 * gdb.cp/constexpr-field.cc: New file.
1799
1800 2019-05-29 Tom Tromey <tromey@adacore.com>
1801
1802 * gdb.base/finish.exp (finish_no_print): New proc.
1803 (finish_tests): Call it.
1804
1805 2019-05-24 Tom de Vries <tdevries@suse.de>
1806
1807 * gdb.dwarf2/gdb-add-index.exp: New file.
1808
1809 2019-05-22 Tom Tromey <tromey@adacore.com>
1810
1811 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1812 * gdb.base/style.exp: Use "style".
1813 * lib/gdb-utils.exp (style): New proc.
1814
1815 2019-05-22 Tom de Vries <tdevries@suse.de>
1816
1817 * gdb.base/align.exp: Require c++11.
1818
1819 2019-05-22 Tom de Vries <tdevries@suse.de>
1820
1821 PR testsuite/24586
1822 * gdb.python/py-mi-var-info-path-expression.exp: Call
1823 mi_skip_python_tests to check if python is supported.
1824
1825 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1826
1827 * gdb.arch/aarch64-pauth.c: New test.
1828 * gdb.arch/aarch64-pauth.exp: New file.
1829
1830 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1831
1832 * README (Re-running Tests Outside The Testsuite): New section.
1833
1834 2019-05-21 Tom de Vries <tdevries@suse.de>
1835
1836 * gdb.arch/amd64-eval.exp: Require c++11.
1837 * gdb.base/max-depth.exp: Same.
1838 * gdb.compile/compile-cplus-array-decay.exp: Same.
1839 * gdb.cp/meth-typedefs.exp: Same.
1840 * gdb.cp/subtypes.exp: Same.
1841 * gdb.cp/temargs.exp: Same.
1842
1843 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1844
1845 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1846
1847 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1848
1849 PR gdb/18644
1850 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1851 * gdb.fortran/printing-types.exp: Add new test.
1852 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1853 testing.
1854 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1855 setup_kfail call.
1856
1857 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1858
1859 * README (Running the Testsuite): Change example.
1860 (Testsuite Parameters): Remove TRANSCRIPT.
1861 * lib/gdb.exp: Remove TRANSCRIPT check.
1862
1863 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1864
1865 * README (Testsuite Parameters): Add replay logging to
1866 GDBSERVER_DEBUG.
1867 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1868 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1869 as a comma separated list.
1870 (gdb_debug_init): Override procedure.
1871
1872 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1873
1874 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1875 (gdb_write_cmd_file): New procedure.
1876 * lib/gdbserver-support.exp (gdbserver_start): Call
1877 gdbserver_write_cmd_file.
1878 (gdbserver_write_cmd_file): New procedure.
1879
1880 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1881
1882 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1883 (delete_breakpoints): Likewise.
1884 (gdb_run_cmd): Likewise.
1885 (gdb_start_cmd): Likewise.
1886 (gdb_starti_cmd): Likewise.
1887 (gdb_internal_error_resync): Likewise.
1888 (gdb_test_multiple): Likewise.
1889 (gdb_reinitialize_dir): Likewise.
1890 (default_gdb_exit): Likewise.
1891 (gdb_file_cmd): Mark kill as optional.
1892 (default_gdb_start): Call gdb_stdin_log_init.
1893 (send_gdb): Call gdb_stdin_log_write.
1894 (rerun_to_main): Mark Y as an answer.
1895 (gdb_stdin_log_init): New function.
1896 (gdb_stdin_log_write): Likewise.
1897
1898 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1899
1900 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1901 * gdb.base/debug-expr.exp: Likewise.
1902 * gdb.base/foll-fork.exp: Likewise.
1903 * gdb.base/foll-vfork.exp: Likewise.
1904 * gdb.base/fork-print-inferior-events.exp: Likewise.
1905 * gdb.base/gdb-sigterm.exp: Likewise.
1906 * gdb.base/gdbinit-history.exp: Likewise.
1907 * gdb.base/osabi.exp: Likewise.
1908 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1909 * gdb.base/ui-redirect.exp: Likewise.
1910 * gdb.gdb/unittest.exp: Likewise.
1911 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1912 * gdb.mi/mi-watch.exp: Likewise.
1913 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1914 * gdb.mi/user-selected-context-sync.exp: Likewise.
1915 * gdb.python/python.exp: Disable debug test when debugging.
1916 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1917 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1918 Likewise.
1919 * gdb.threads/stepi-random-signal.exp: Likewise.
1920
1921 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1922
1923 * Makefile.in: Pass through GDB_DEBUG.
1924 * README (Testsuite Parameters): Add GDB_DEBUG.
1925 (gdb,debug): Add board setting.
1926 * lib/gdb.exp (default_gdb_start): Start debugging.
1927 (gdb_debug_enabled): New procedure.
1928 (gdb_debug_init): Likewise.
1929
1930 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1931
1932 * Makefile.in: Pass through GDB_DEBUG.
1933 * README (Testsuite Parameters): Add GDB_DEBUG.
1934 (gdb,debug): Add board setting.
1935 * lib/gdb.exp (default_gdb_start): Start debugging.
1936 (gdb_debug_enabled): New procedure.
1937 (gdb_debug_init): Likewise.
1938
1939 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1940
1941 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1942
1943 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1944
1945 * gdb.base/ui-redirect.exp: Test redirection.
1946
1947 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1948
1949 * gdb.mi/mi-complete.exp: New file.
1950 * gdb.mi/mi-complete.cc: Likewise.
1951
1952 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1953
1954 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1955 indexed and sliced arrays, and pointers to arrays.
1956
1957 2019-05-14 Tom Tromey <tromey@adacore.com>
1958
1959 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1960 styling test.
1961
1962 2019-05-14 Tom de Vries <tdevries@suse.de>
1963
1964 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1965 selection entry encoding.
1966
1967 2019-05-10 Tom Tromey <tromey@adacore.com>
1968
1969 * gdb.ada/info_exc.exp: Add "complete" test.
1970
1971 2019-05-09 Tom de Vries <tdevries@suse.de>
1972
1973 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1974 CU-relative.
1975
1976 2019-05-09 Tom de Vries <tdevries@suse.de>
1977
1978 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1979 CU-relative.
1980
1981 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1982
1983 * gdb.ada/frame_arg_lang.exp: New testcase.
1984 * gdb.ada/frame_arg_lang/bla.adb: New file.
1985 * gdb.ada/frame_arg_lang/pck.ads: New file.
1986 * gdb.ada/frame_arg_lang/pck.adb: New file.
1987 * gdb.ada/frame_arg_lang/foo.c: New file.
1988
1989 2019-05-08 Tom Tromey <tromey@adacore.com>
1990
1991 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1992
1993 2019-05-08 Tom Tromey <tromey@adacore.com>
1994
1995 * gdb.base/ptype-offsets.exp: Update tests.
1996
1997 2019-05-08 Tom Tromey <tromey@adacore.com>
1998
1999 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2000 cases.
2001 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2002 "short".
2003
2004 2019-05-08 Tom Tromey <tromey@adacore.com>
2005
2006 * gdb.ada/vla.exp: New file.
2007 * gdb.ada/vla/vla.adb: New file.
2008
2009 2019-05-07 Tom de Vries <tdevries@suse.de>
2010
2011 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2012
2013 2019-05-07 Tom de Vries <tdevries@suse.de>
2014
2015 PR testsuite/24522
2016 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2017 section.
2018
2019 2019-05-07 Tom de Vries <tdevries@suse.de>
2020
2021 PR testsuite/24522
2022 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2023 .debug_aranges section.
2024
2025 2019-05-07 Tom de Vries <tdevries@suse.de>
2026
2027 PR testsuite/24159
2028 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2029
2030 2019-05-06 Tom de Vries <tdevries@suse.de>
2031
2032 * lib/gdb.exp (exec_has_index_section): New proc.
2033 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2034 section.
2035
2036 2019-05-04 Tom de Vries <tdevries@suse.de>
2037
2038 * boards/cc-with-debug-names.exp: New file.
2039
2040 2019-05-03 Tom Tromey <tromey@adacore.com>
2041
2042 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2043 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2044 * gdb.ada/char_enum.exp: Add test.
2045
2046 2019-05-03 Tom de Vries <tdevries@suse.de>
2047
2048 * boards/cc-with-gdb-index.exp: New file.
2049
2050 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2051
2052 * gdb.rust/simple.exp: Add new test case.
2053 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2054 (main): Initialise an instance of the new struct.
2055
2056 2019-05-01 Tom Tromey <tromey@adacore.com>
2057
2058 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2059 record.
2060 (NPR): New variable.
2061 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2062 test.
2063
2064 2019-05-01 Tom Tromey <tromey@adacore.com>
2065
2066 * gdb.ada/packed_array_assign.exp: Add packed assignment
2067 regression test.
2068
2069 2019-05-01 Tom de Vries <tdevries@suse.de>
2070
2071 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2072
2073 2019-05-01 Tom de Vries <tdevries@suse.de>
2074
2075 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2076
2077 2019-04-30 Ali Tamur <tamur@google.com>
2078
2079 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2080
2081 2019-04-30 Tom Tromey <tromey@adacore.com>
2082
2083 * lib/ada.exp (find_ada_tool): New proc.
2084 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2085 * gdb.ada/catch_ex_std.exp: New file.
2086 * gdb.ada/catch_ex_std/foo.adb: New file.
2087 * gdb.ada/catch_ex_std/some_package.adb: New file.
2088 * gdb.ada/catch_ex_std/some_package.ads: New file.
2089
2090 2019-04-30 Tom Tromey <tromey@adacore.com>
2091
2092 PR c++/24470:
2093 * gdb.cp/temargs.cc: Add test code from PR.
2094
2095 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2096
2097 * gdb.fortran/vla-datatypes.exp: Update expected results.
2098 * gdb.fortran/vla-ptype.exp: Likewise.
2099 * gdb.fortran/vla-type.exp: Likewise.
2100 * gdb.fortran/vla-value.exp: Likewise.
2101
2102 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2103
2104 * gdb.fortran/ptr-indentation.exp: Update expected results.
2105 * gdb.fortran/ptype-on-functions.exp: Likewise.
2106 * gdb.fortran/vla-ptr-info.exp: Likewise.
2107 * gdb.fortran/vla-value.exp: Likewise.
2108
2109 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2110
2111 * gdb.fortran/ptype-on-functions.exp: New file.
2112 * gdb.fortran/ptype-on-functions.f90: New file.
2113
2114 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2115
2116 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2117 case void string.
2118
2119 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2120
2121 * gdb.fortran/complex.exp: Expand.
2122 * gdb.fortran/complex.f: Renamed to...
2123 * gdb.fortran/complex.f90: ...this, and extended to add more
2124 complex values.
2125
2126 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2127
2128 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2129 MODULO, CMPLX.
2130
2131 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2132 Richard Bunt <richard.bunt@arm.com>
2133
2134 * gdb.base/max-depth.c: New file.
2135 * gdb.base/max-depth.exp: New file.
2136 * gdb.python/py-nested-maps.c: New file.
2137 * gdb.python/py-nested-maps.exp: New file.
2138 * gdb.python/py-nested-maps.py: New file.
2139 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2140 (test_all_common): Call test_max_depth.
2141 * gdb.fortran/max-depth.exp: New file.
2142 * gdb.fortran/max-depth.f90: New file.
2143 * gdb.go/max-depth.exp: New file.
2144 * gdb.go/max-depth.go: New file.
2145 * gdb.modula2/max-depth.exp: New file.
2146 * gdb.modula2/max-depth.c: New file.
2147 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2148
2149 2019-04-29 Tom de Vries <tdevries@suse.de>
2150
2151 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2152
2153 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2154
2155 * gdb.base/callexit.exp: Test may-call-functions off.
2156
2157 2019-04-25 Keith Seitz <keiths@redhat.com>
2158
2159 PR c++/24367
2160 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2161 (another_incomplete_struct, test_incomplete): New definitions.
2162 (main): Use new definitions.
2163 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2164 functions.
2165
2166 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2167
2168 PR corefiles/11608
2169 PR corefiles/18187
2170 * gdb.base/coredump-filter-build-id.exp: New file.
2171
2172 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2173
2174 * Makefile.in: Pass through GDBSERVER_DEBUG.
2175 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2176 (gdbserver,debug): Add board setting.
2177 * gdb.trace/tspeed.exp: Skip when debugging.
2178 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2179 * lib/gdbserver-support.exp: Likewise
2180
2181 2019-04-24 Tom Tromey <tromey@adacore.com>
2182
2183 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2184 Rust.
2185
2186 2019-04-24 Tom Tromey <tromey@adacore.com>
2187
2188 * gdb.arch/amd64-eval.exp: Test bitfield return.
2189 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2190 (class Foo) <return_bitfields>: New method.
2191 (main): Call it.
2192
2193 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2194
2195 * gdb.cp/many-args.cc: New file.
2196 * gdb.cp/many-args.exp: New file.
2197
2198 2019-04-23 Tom de Vries <tdevries@suse.de>
2199
2200 PR gdb/24433
2201 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2202
2203 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2204
2205 * gdb.trace/backtrace.exp: Use nopie flag.
2206 * gdb.trace/circ.exp: Likewise.
2207 * gdb.trace/collection.exp: Likewise.
2208 * gdb.trace/ftrace.exp: Likewise.
2209 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2210 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2211 * gdb.trace/qtro.exp: Likewise.
2212 * gdb.trace/read-memory.exp: Likewise.
2213 * gdb.trace/report.exp: Likewise.
2214 * gdb.trace/tfile.exp: Likewise.
2215 * gdb.trace/tfind.exp: Likewise.
2216 * gdb.trace/unavailable.exp: Likewise.
2217
2218 2019-04-22 Pedro Alves <palves@redhat.com>
2219
2220 * gdb.base/solib-probes-nosharedlibrary.c,
2221 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2222
2223 2019-04-19 Tom Tromey <tromey@adacore.com>
2224
2225 * gdb.ada/ptype_union.c: New file.
2226 * gdb.ada/ptype_union.exp: New file.
2227
2228 2019-04-19 Tom Tromey <tromey@adacore.com>
2229
2230 PR symtab/24423:
2231 * gdb.base/list0.h (foo): Add a control-l character.
2232
2233 2019-04-18 Tom de Vries <tdevries@suse.de>
2234
2235 PR gdb/24433
2236 * boards/local-board.exp: Set sysroot to "".
2237
2238 2019-04-18 Tom de Vries <tdevries@suse.de>
2239 Pedro Alves <palves@redhat.com>
2240
2241 PR gdb/24454
2242 * gdb.threads/vfork-follow-child-exec.c: New file.
2243 * gdb.threads/vfork-follow-child-exec.exp: New file.
2244 * gdb.threads/vfork-follow-child-exit.c: New file.
2245 * gdb.threads/vfork-follow-child-exit.exp: New file.
2246
2247 2019-04-15 Leszek Swirski <leszeks@google.com>
2248
2249 * gdb.arch/amd64-eval.cc: New file.
2250 * gdb.arch/amd64-eval.exp: New file.
2251
2252 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2253
2254 * gdb.server/sysroot.c: New test.
2255 * gdb.server/sysroot.exp: New file.
2256 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2257 matching param.
2258
2259 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2260
2261 * gdb.base/align.exp: Extend test to cover structures containing
2262 only static fields.
2263
2264 2019-04-11 Tom de Vries <tdevries@suse.de>
2265
2266 * boards/cc-with-dwz-m.exp: New file.
2267 * boards/cc-with-dwz.exp: New file.
2268 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2269
2270 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2271
2272 * gdb.base/start-cpp.exp: New file.
2273 * gdb.base/start-cpp.cc: New file.
2274
2275 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2276
2277 * gdb.python/py-thrhandle.exp: Adjust tests to call
2278 thread_from_handle instead of thread_from_thread_handle.
2279
2280 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2281
2282 * gdb.python/py-thrhandle.exp: Add tests for
2283 gdb.InferiorThread.handle.
2284
2285 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2286
2287 * gdb.python/py-function.exp: Check calling helper function from
2288 all languages.
2289 * lib/gdb.exp (gdb_supported_languages): New proc.
2290
2291 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2292
2293 * gdb.base/complex-parts.c: New file.
2294 * gdb.base/complex-parts.exp: New file.
2295
2296 2019-04-01 Tom Tromey <tromey@adacore.com>
2297
2298 PR symtab/23331:
2299 * gdb.dwarf2/dw2-ranges-main.c: New file.
2300 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2301 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2302
2303 2019-03-30 Simon Marchi <simark@simark.ca>
2304
2305 * gdb.base/default.exp: Add values for $_gdb_major and
2306 $_gdb_minor.
2307
2308 2019-03-29 Tom Tromey <tromey@adacore.com>
2309
2310 * gdb.base/help.exp: Tighten apropos regexp.
2311
2312 2019-03-29 Keith Seitz <keiths@redhat.com>
2313
2314 * gdb.fortran/array-bounds.exp: New file.
2315 * gdb.fortran/array-bounds.f90: New file.
2316
2317 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2318
2319 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2320
2321 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2322
2323 * gdb.multi/hello.c (main): Increase alarm timer.
2324
2325 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2326
2327 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2328 factor when no hardware watchpoint support.
2329
2330 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2331 Pedro Alves <palves@redhat.com>
2332
2333 * boards/local-board.exp: set sysroot to /.
2334
2335 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2336
2337 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2338 in child.
2339
2340 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2341
2342 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2343 field.
2344 (make_container): Initialise new field.
2345 * gdb.python/py-prettyprint.exp: Add new tests.
2346 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2347 <display_hint>: New method.
2348
2349 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2350
2351 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2352 gdb_continue_to_breakpoint more throughout this test.
2353 (run_lang_tests) Supply unique test names, and use
2354 gdb_test_no_output.
2355
2356 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2357
2358 * gdb.base/finish-pretty.exp: Update expected results.
2359 * gdb.base/pretty-print.c: New file.
2360 * gdb.base/pretty-print.exp: New file.
2361
2362 2019-03-25 Pedro Alves <palves@redhat.com>
2363
2364 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2365 move comments outside list. Append '-i "" eof' section.
2366
2367 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2368
2369 PR testsuite/25016
2370 * README: Add pie options.
2371 * gdb.base/break-interp.exp: Ensure pie is disabled.
2372 * gdb.base/dump.exp: Likewise.
2373 * lib/gdb.exp (gdb_compile): Add pie option.
2374
2375 2019-03-19 Tom Tromey <tromey@adacore.com>
2376
2377 * gdb.mi/mi2-cli-display.c: New file.
2378 * gdb.mi/mi2-cli-display.exp: New file.
2379
2380 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2381 Tom Tromey <tromey@adacore.com>
2382
2383 * gdb.ada/ptype_array/pck.adb: New file.
2384 * gdb.ada/ptype_array/pck.ads: New file.
2385 * gdb.ada/ptype_array/foo.adb: New file.
2386 * gdb.ada/ptype_array.exp: New file.
2387
2388 2019-03-14 Tom Tromey <tromey@adacore.com>
2389
2390 * gdb.base/style.exp: Add "set style sources" test.
2391
2392 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2393
2394 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2395 * mi-breakpoint-multiple-locations.exp: ... this.
2396 (make_breakpoints_pattern): New proc.
2397 (do_test): Add mi_version parameter, test -break-insert,
2398 -break-info and =breakpoint-created.
2399
2400 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2401
2402 * config/default.exp: Remove 'load_lib gdb.exp'.
2403 * config/monitor.exp: Likewise.
2404 * config/sid.exp: Likewise.
2405 * config/sim.exp: Likewise.
2406 * config/slite.exp: Likewise.
2407 * config/unix.exp: Likewise.
2408 * gdb.base/default.exp: Remove unhelpful comment.
2409
2410 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2411
2412 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2413
2414 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2415
2416 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2417
2418 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2419
2420 * gdb.fortran/type-kinds.exp: Update expected results.
2421
2422 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2423
2424 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2425
2426 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2427
2428 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2429 function.
2430 (test_basic_parsing_of_type_kinds): Expand types tested.
2431 (test_parsing_invalid_type_kinds): New function.
2432
2433 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2434
2435 * gdb.fortran/intrinsics.exp: New file.
2436 * gdb.fortran/intrinsics.f90: New file.
2437 * gdb.fortran/type-kinds.exp: New file.
2438
2439 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2440
2441 * gdb.fortran/dot-ops.exp: New file.
2442
2443 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2444
2445 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2446 Check upper and lower case logical literals.
2447
2448 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2449
2450 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2451 Remove duplicate tests.
2452
2453 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2454
2455 * lib/gdb.exp (builtin_cd): rename of cd.
2456 (cd): Override builtin.
2457
2458 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2459
2460 * gdb.fortran/function-calls.exp: New file.
2461 * gdb.fortran/function-calls.f90: New test.
2462
2463 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2464
2465 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2466 on user program standard output.
2467 * gdb.fortran/short-circuit-argument-list.f90: Record function
2468 calls.
2469
2470 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2471
2472 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2473 failure.
2474
2475 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2476
2477 PR gdb/8527
2478 * gdb.base/interrupt-daemon-attach.c,
2479 gdb.base/interrupt-daemon-attach.exp: New test.
2480
2481 2019-02-27 Pedro Alves <palves@redhat.com>
2482
2483 * gdb.base/page.exp: Add tests for "set width/height -1".
2484
2485 2019-02-27 Pedro Alves <palves@redhat.com>
2486
2487 * gdb.base/page.exp: Add tests for "set/show width/height" with
2488 "infinite" values.
2489
2490 2019-02-27 Tom Tromey <tromey@adacore.com>
2491
2492 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2493 2.4.
2494 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2495 workaround.
2496
2497 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2498
2499 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2500 tests for structs with static members.
2501
2502 2019-02-26 Tom Tromey <tromey@adacore.com>
2503
2504 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2505 ValueError, not TypeError.
2506
2507 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2508
2509 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2510 call from main program.
2511
2512 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2513
2514 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2515 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2516 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2517 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2518 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2519
2520 2019-02-22 Keith Seitz <keiths@redhat.com>
2521
2522 PR symtab/23853
2523 * gdb.base/symlink-sourcefile.c: New file.
2524 * gdb.base/symlink-sourcefile.exp: New file.
2525
2526 2019-02-20 Tom Tromey <tom@tromey.com>
2527
2528 * gdb.base/info_qt.exp: Update.
2529
2530 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2531
2532 * gdb.base/source.exp: Move "error in sourced script" code to
2533 the end.
2534 * gdb.base/source-error.gdb: Move contents to
2535 source-error-1.gdb. Add new code to source source-error-1.gdb.
2536 * gdb.base/source-error-1.gdb: New file, from previous
2537 source-error.gdb.
2538
2539 2019-02-17 Tom Tromey <tom@tromey.com>
2540
2541 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2542 for macro styling.
2543 * gdb.base/style.c (SOME_MACRO): New macro.
2544
2545 2019-02-17 Tom Tromey <tom@tromey.com>
2546
2547 * gdb.base/style.exp: Add line-wrapping tests.
2548 * gdb.base/page.exp: Add test for quitting during pagination.
2549
2550 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2551
2552 * gdb.ada/big_packed_array: New testcase.
2553 * gdb.ada/homonym.exp: Fix incorrect expected output for
2554 "break <homonym__get_value>" test.
2555
2556 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2557
2558 PR breakpoints/21870
2559 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2560 and prepare_for_testing. Add comment.
2561 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2562 redundant cleanup call. Clean up comment.
2563
2564 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2565
2566 PR breakpoints/21870
2567 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2568 * gdb.arch/aarch64-dbreg-contents.c: New file.
2569
2570 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2571
2572 * gdb.ada/mi_ref_changeable: New testcase.
2573
2574 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2575
2576 * gdb.base/attach.exp: Add double attach test.
2577
2578 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2579
2580 * lib/gdb.exp (default_gdb_start): Don't match pagination
2581 prompt.
2582 (gdb_init): Set stty_init.
2583
2584 2019-01-27 Tom Tromey <tom@tromey.com>
2585
2586 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2587 skip_python_tests.
2588
2589 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2590
2591 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2592 New structure.
2593 (struct struct_static_02_02): Likewise.
2594 (struct struct_static_02_03): Likewise.
2595 (struct struct_static_02_04): Likewise.
2596 (struct struct_static_04_01): Likewise.
2597 (struct struct_static_04_02): Likewise.
2598 (struct struct_static_04_03): Likewise.
2599 (struct struct_static_04_04): Likewise.
2600 (struct struct_static_06_01): Likewise.
2601 (struct struct_static_06_02): Likewise.
2602 (struct struct_static_06_03): Likewise.
2603 (struct struct_static_06_04): Likewise.
2604 (cmp_struct_static_02_01): Likewise.
2605 (cmp_struct_static_02_02): Likewise.
2606 (cmp_struct_static_02_03): Likewise.
2607 (cmp_struct_static_02_04): Likewise.
2608 (cmp_struct_static_04_01): Likewise.
2609 (cmp_struct_static_04_02): Likewise.
2610 (cmp_struct_static_04_03): Likewise.
2611 (cmp_struct_static_04_04): Likewise.
2612 (cmp_struct_static_06_01): Likewise.
2613 (cmp_struct_static_06_02): Likewise.
2614 (cmp_struct_static_06_03): Likewise.
2615 (cmp_struct_static_06_04): Likewise.
2616 (call_all): Test new structs.
2617 * gdb.base/infcall-nested-structs.exp: Likewise.
2618
2619 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2620 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2621
2622 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2623 * gdb.base/stack-protector.c: New test.
2624 * gdb.base/stack-protector.exp: New file.
2625 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2626 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2627 option.
2628 (gdb_compile): Remove stack protector for GCC and prevent
2629 recursion.
2630
2631 2019-01-16 Keith Seitz <keiths@redhat.com>
2632
2633 PR gdb/23773
2634 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2635
2636 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2637
2638 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2639 aliases.
2640 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2641 tests.
2642 * gdb.arch/powerpc-vector-regs.c: New file.
2643 * gdb.arch/powerpc-vector-regs.exp: New file.
2644
2645 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2646
2647 * gdb.arch/altivec-regs.exp: Fix the list passed to
2648 gdb_expect_list when testing "info vector".
2649
2650 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2651
2652 * gdb.base/style.exp: Don't include path in testname.
2653
2654 2019-01-10 Keith Seitz <keiths@redhat.com>
2655
2656 PR gdb/23712
2657 PR symtab/23010
2658 * gdb.dwarf2/multidictionary.exp: New file.
2659
2660 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2661
2662 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2663 (test_gnuv3_style_demangling): ... this.
2664 (test_lucid_style_demangling): Remove.
2665 (test_arm_style_demangling): Remove.
2666 (test_hp_style_demangling): Remove.
2667 (do_tests): Remove calls to the above.
2668
2669 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2670
2671 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2672 case.
2673
2674 2019-01-06 Tom Tromey <tom@tromey.com>
2675
2676 PR gdb/28155:
2677 * gdb.dwarf2/typedef-void-finish.exp: New file.
2678
2679 2018-12-28 Tom Tromey <tom@tromey.com>
2680 Simon Marchi <simark@simark.ca>
2681
2682 * gdb.base/jit-exec.exp: New file.
2683 * gdb.base/jit-exec.c: New file.
2684 * gdb.base/jit-execd.c: New file.
2685
2686 2018-12-28 Tom Tromey <tom@tromey.com>
2687
2688 * gdb.base/style.exp: Update test to check for address styling.
2689
2690 2018-12-28 Tom Tromey <tom@tromey.com>
2691
2692 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2693 message.
2694
2695 2018-12-28 Tom Tromey <tom@tromey.com>
2696
2697 * gdb.base/style.exp: Add test for version number styling.
2698
2699 2018-12-28 Tom Tromey <tom@tromey.com>
2700
2701 * gdb.base/style.exp: Add test for print_address_symbolic.
2702
2703 2018-12-28 Tom Tromey <tom@tromey.com>
2704
2705 * gdb.base/style.exp: Add test for breakpoint setting.
2706
2707 2018-12-28 Tom Tromey <tom@tromey.com>
2708
2709 * gdb.base/style.exp: Add test for variable names.
2710
2711 2018-12-28 Tom Tromey <tom@tromey.com>
2712
2713 * gdb.base/style.exp: New file.
2714 * gdb.base/style.c: New file.
2715
2716 2018-12-28 Tom Tromey <tom@tromey.com>
2717
2718 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2719 "dumb".
2720 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2721 the TERM environment variable.
2722
2723 2018-12-27 Tom Tromey <tom@tromey.com>
2724
2725 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2726 pagination test.
2727
2728 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2729
2730 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2731 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2732
2733 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2734
2735 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2736 Filename a.adb changed to bp_fun_addr.adb.
2737 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2738
2739 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2740
2741 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2742 non-PIE executables.
2743 * README: Mention the gdb,nopie_flag board setting.
2744 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2745 non-PIE executable.
2746 * gdb.arch/amd64-entry-value.exp: Likewise.
2747 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2748 * gdb.arch/i386-float.exp: Likewise.
2749 * gdb.arch/i386-signal.exp: Likewise.
2750 * gdb.mi/mi-reg-undefined.exp: Likewise.
2751
2752 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2753
2754 PR gdb/23974
2755 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2756
2757 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2758
2759 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2760 Update order of results accordingly.
2761
2762 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2763
2764 * gdb.base/annota1.exp: Update a test regexp.
2765
2766 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2767
2768 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2769
2770 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2771
2772 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2773 (reuse_time): Initialize to REUSE_TIME_CAP.
2774 (check_rc): New function.
2775 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2776 Check pthread_create rc.
2777 (spawner_thread_func): Check pthread_create and pthread_join rc.
2778
2779 2018-12-08 Pedro Alves <palves@redhat.com>
2780
2781 * gdb.base/list.exp (test_forward_search): Rename to ...
2782 (test_forward_reverse_search): ... this. Also test reverse-search
2783 and the forward-search alias.
2784
2785 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2786
2787 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2788 local timeout variable before return, and remove all local timeout
2789 variable entirely.
2790 (gdb_load): Likewise.
2791
2792 2018-12-01 Tom de Vries <tdevries@suse.de>
2793
2794 * gdb.base/gdb-caching-proc.exp: New file.
2795
2796 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2797
2798 * Makefile.in (TIMESTAMP): New variable.
2799 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2800 command.
2801 (check-single-racy): Likewise.
2802 (check/%.exp): Likewise.
2803 (check-racy/%.exp): Likewise.
2804 (workers/%.worker): Likewise.
2805 (build-perf): Likewise.
2806 (check-perf): Likewise.
2807 * README: Describe new "TS" and "TS_FORMAT" variables.
2808 * print-ts.py: New file.
2809
2810 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2811
2812 PR python/23714
2813 * gdb.python/python.exp: Test command repetition after
2814 gdb.execute.
2815
2816 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2817
2818 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2819 is correctly aligned.
2820
2821 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2822
2823 * gdb.ada/info_auto_lang.exp: New testcase.
2824 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2825 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2826 * gdb.ada/info_auto_lang/some_c.c: New file.
2827
2828 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2829
2830 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2831 FUNC_lang language syntax.
2832
2833 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2834
2835 * gdb.base/info_minsym.c: New file.
2836 * gdb.base/info_minsym.exp: New file.
2837
2838 2018-11-19 Tom Tromey <tom@tromey.com>
2839
2840 PR rust/23625:
2841 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2842 * gdb.rust/expr.exp: Update expected output. Change one test.
2843
2844 2018-11-19 Tom Tromey <tom@tromey.com>
2845
2846 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2847
2848 2018-11-19 Pedro Alves <palves@redhat.com>
2849
2850 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2851 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2852 see the expected warning.
2853
2854 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2855
2856 PR gdb/22736:
2857 * gdb.cp/infcall-nodebug-lib.c: New test.
2858 * gdb.cp/infcall-nodebug-main.c: New test.
2859 * gdb.cp/infcall-nodebug.exp: New file.
2860
2861 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2862
2863 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2864 completer tests.
2865
2866 2018-11-09 Tom de Vries <tdevries@suse.de>
2867
2868 * gdb.base/msym-lang.c: New test.
2869 * gdb.base/msym-lang.exp: New file.
2870 * gdb.base/msym-lang-main.c: New test.
2871
2872 2018-11-08 Tom Tromey <tom@tromey.com>
2873
2874 PR gdb/23555:
2875 PR gdb/23838:
2876 * gdb.base/warning.exp: New file.
2877
2878 2018-11-08 Jan Beulich <jbeulich@suse.com>
2879
2880 * testsuite/gdb.arch/i386-avx512.c,
2881 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2882
2883 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2884
2885 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2886 point hardware.
2887
2888 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2889
2890 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2891 * gdb.dwarf2/missing-type-name.exp: New file.
2892
2893 2018-11-06 Tom de Vries <tdevries@suse.de>
2894
2895 * gdb.base/many-headers.c: New test.
2896 * gdb.base/many-headers.exp: New file.
2897
2898 2018-11-06 Jim Wilson <jimw@sifive.com>
2899
2900 * gdb.base/code_elim.exp: For riscv, set additional_flags
2901 to include -msmall-data-limit=0.
2902
2903 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2904
2905 * gdb.ada/watch_minus_l: New testcase.
2906
2907 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2908
2909 * gdb.arch/aix-sighandle.c: New file.
2910 * gdb.arch/aix-sighandle.exp: New file.
2911
2912 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2913
2914 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2915 registers being unions.
2916
2917 2018-10-31 Tom de Vries <tdevries@suse.de>
2918
2919 * lib/valgrind.exp: New file.
2920 (vgdb_start, vgdb_stop): New procs, factored out of ...
2921 * gdb.base/valgrind-bt.exp: ... here, ...
2922 * gdb.base/valgrind-disp-step.exp: ... here and ...
2923 * gdb.base/valgrind-infcall.exp: ... here.
2924
2925 2018-10-31 Tom de Vries <tdevries@suse.de>
2926
2927 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2928
2929 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2930
2931 * gdb.dwarf2/void-type.c: New file.
2932 * gdb.dwarf2/void-type.exp: New file.
2933
2934 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2935
2936 * gdb.base/info_qt.c: New file.
2937 * gdb.base/info_qt.exp: New file.
2938
2939 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2940
2941 * gdb.arch/powerpc-htm-regs.c: New file.
2942 * gdb.arch/powerpc-htm-regs.exp: New file.
2943
2944 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2945
2946 * gdb.arch/powerpc-tar.c: New file.
2947 * gdb.arch/powerpc-tar.exp: New file.
2948
2949 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2950
2951 * gdb.arch/powerpc-ppr-dscr.c: New file.
2952 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2953
2954 2018-10-25 Tom de Vries <tdevries@suse.de>
2955
2956 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2957
2958 2018-10-24 Tom de Vries <tdevries@suse.de>
2959
2960 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2961 longer exists error.
2962
2963 2018-10-24 Tom de Vries <tdevries@suse.de>
2964
2965 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2966
2967 2018-10-24 Tom de Vries <tdevries@suse.de>
2968
2969 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2970 --db-attach in valgrind.
2971
2972 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2973
2974 * gdb.arch/riscv-reg-aliases.c: New file.
2975 * gdb.arch/riscv-reg-aliases.exp: New file.
2976
2977 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2978
2979 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2980
2981 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2982
2983 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2984
2985 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2986
2987 * gdb.cp/ovldbreak.exp: Fix regexps.
2988
2989 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2990
2991 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2992
2993 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2994
2995 PR cli/23785
2996 * gdb.base/restore.exp: New test to check if "restore" with an
2997 invalid file doesn't segfault.
2998
2999 2018-10-18 Tom de Vries <tdevries@suse.de>
3000
3001 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3002 * gdb.ada/excep_handle.exp: Same.
3003 * gdb.ada/mi_string_access.exp: Same.
3004 * gdb.ada/mi_var_union.exp: Same.
3005 * gdb.arch/arc-analyze-prologue.exp: Same.
3006 * gdb.arch/arc-decode-insn.exp: Same.
3007 * gdb.base/readnever.exp: Same.
3008 * gdb.fortran/printing-types.exp: Same.
3009 * gdb.guile/scm-lazy-string.exp: Same.
3010
3011 2018-10-16 Tom de Vries <tdevries@suse.de>
3012
3013 PR gdb/23730
3014 * gdb.base/catch-follow-exec.c: Add copyright notice.
3015 * gdb.base/catch-follow-exec.exp: Rewrite to use
3016 gdb_spawn_with_cmdline_opts. Require gdb-native.
3017
3018 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3019
3020 * gdb.trace/actions-changed.exp: Check for arch support.
3021 * gdb.trace/actions.exp: Likewise.
3022 * gdb.trace/ax.exp: Likewise.
3023 * gdb.trace/backtrace.exp: Likewise.
3024 * gdb.trace/change-loc.exp: Likewise.
3025 * gdb.trace/deltrace.exp: Likewise.
3026 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3027 * gdb.trace/ftrace.exp: Likewise.
3028 * gdb.trace/infotrace.exp: Check for arch support.
3029 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3030 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3031 * gdb.trace/mi-tsv-changed.exp: Likewise.
3032 * gdb.trace/packetlen.exp: Likewise.
3033 * gdb.trace/passc-dyn.exp: Likewise.
3034 * gdb.trace/passcount.exp: Likewise.
3035 * gdb.trace/pending.exp: Likewise.
3036 * gdb.trace/range-stepping.exp: Check for shlib support.
3037 * gdb.trace/report.exp: Check for arch support.
3038 * gdb.trace/save-trace.exp: Likewise.
3039 * gdb.trace/signal.exp: Check for signal support.
3040 * gdb.trace/tfind.exp: Check for arch support.
3041 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3042 * gdb.trace/trace-common.h: Add comment.
3043 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3044 * gdb.trace/trace-enable-disable.exp: Likewise.
3045 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3046 * gdb.trace/tracecmd.exp: Check for arch support.
3047 * gdb.trace/tspeed.exp: Check for shlib and target support.
3048 * gdb.trace/tstatus.exp: Check for arch support.
3049 * gdb.trace/tsv.exp: Likewise.
3050 * gdb.trace/while-dyn.exp: Likewise.
3051 * gdb.trace/while-stepping.exp: Likewise.
3052 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3053
3054 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3055
3056 * gdb.trace/tspeed.exp: Remove nowarnings.
3057 (prepare_for_trace_test): Declare "global ipalib".
3058 * gdb.trace/tspeed.c: Include unistd.h.
3059 (main): Remove superfluous printf argument.
3060
3061 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3062
3063 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3064 directory prefix on the filename.
3065
3066 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3067
3068 * gdb.gdb/unittest.exp: Update expected message informing that
3069 selftests have been disabled.
3070 * gdb.server/unittest.exp: Likewise.
3071
3072 2018-10-09 Tom de Vries <tdevries@suse.de>
3073
3074 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3075 with runto_main.
3076
3077 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3078
3079 PR c++/16841
3080 * gdb.cp/virtbase2.cc: New file.
3081 * gdb.cp/virtbase2.exp: New file.
3082
3083 2018-10-06 Tom Tromey <tom@tromey.com>
3084
3085 PR python/19399:
3086 * gdb.python/py-inferior.exp: Add architecture test.
3087
3088 2018-10-06 Tom Tromey <tom@tromey.com>
3089
3090 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3091 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3092
3093 2018-10-06 Tom Tromey <tom@tromey.com>
3094
3095 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3096 of a "throw" catchpoint.
3097
3098 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3099
3100 * gdb.base/info-proc.exp: Update string expected from "help info
3101 proc".
3102
3103 2018-10-04 Tom Tromey <tom@tromey.com>
3104
3105 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3106 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3107 (test_initial_complaints, test_empty_complaints): Update.
3108 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3109
3110 2018-10-04 Tom Tromey <tom@tromey.com>
3111
3112 PR cli/19551:
3113 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3114 * lib/gdb.exp (gdb_file_cmd): Update.
3115 * gdb.stabs/weird.exp (print_weird_var): Update.
3116 * gdb.server/solib-list.exp: Update.
3117 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3118 * gdb.mi/mi-cli.exp: Update.
3119 * gdb.linespec/linespec.exp: Update.
3120 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3121 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3122 * gdb.cp/cp-relocate.exp: Update.
3123 * gdb.base/sym-file.exp: Update.
3124 * gdb.base/relocate.exp: Update.
3125 * gdb.base/readnever.exp: Update.
3126 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3127 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3128 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3129 * gdb.base/code_elim.exp: Update.
3130 * gdb.base/break-unload-file.exp (test_break): Update.
3131 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3132 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3133 Update.
3134 * gdb.base/attach.exp (do_attach_tests): Update.
3135 * gdb.base/sepdebug.exp: Update.
3136 * gdb.python/py-section-script.exp: Update.
3137
3138 2018-10-04 Tom Tromey <tom@tromey.com>
3139
3140 PR cli/22234:
3141 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3142 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3143 output.
3144
3145 2018-10-04 Tom Tromey <tom@tromey.com>
3146
3147 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3148 set width and height to 0.
3149 (test_command_line_attach_run): Use -quiet.
3150
3151 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3152
3153 * lib/gdb.exp (skip_ifunc_tests): New.
3154 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3155 other compile failures.
3156 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3157
3158 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3159
3160 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3161 is_amd64_regs_target.
3162
3163 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3164
3165 * gdb.arch/aarch64-sighandler-regs.c: New test.
3166 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3167 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3168
3169 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3170
3171 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3172 assembly.
3173
3174 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3175
3176 * gdb.base/frame-selection.exp: New file.
3177 * gdb.base/frame-selection.c: New file.
3178
3179 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3180
3181 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3182 pthread barrier.
3183 (main): Likewise.
3184
3185 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3186
3187 * gdb.base/large-frame-1.c: New file.
3188 * gdb.base/large-frame-2.c: New file.
3189 * gdb.base/large-frame.exp: New file.
3190 * gdb.base/large-frame.h: New file.
3191
3192 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3193
3194 PR gdb/20948
3195 * gdb.base/write_mem.exp: New test.
3196 * gdb.base/write_mem.c: Likewise.
3197
3198 2018-09-23 Tom Tromey <tom@tromey.com>
3199
3200 PR python/18852:
3201 * gdb.python/py-parameter.exp: Add test for parameter that throws
3202 on "set".
3203
3204 2018-09-23 Tom Tromey <tom@tromey.com>
3205
3206 PR python/17284:
3207 * gdb.python/py-template.exp (test_template_arg): Add test for
3208 negative template argument number.
3209
3210 2018-09-23 Tom Tromey <tom@tromey.com>
3211
3212 PR python/14062:
3213 * gdb.python/python.exp: Add test for post_event error.
3214
3215 2018-09-23 Tom Tromey <tom@tromey.com>
3216
3217 PR python/18170:
3218 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3219 convert pointers to int and long.
3220
3221 2018-09-23 Tom Tromey <tom@tromey.com>
3222
3223 PR python/20126:
3224 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3225 signed-ness conversion tests.
3226
3227 2018-09-23 Tom Tromey <tom@tromey.com>
3228
3229 PR python/18352;
3230 * gdb.python/py-value.exp (test_float_conversion): New proc.
3231 Use it.
3232
3233 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3234
3235 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3236
3237 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3238
3239 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3240 no readline.
3241 * gdb.base/utf8-identifiers.exp: Likewise.
3242 * gdb.cp/cpcompletion.exp: Likewise.
3243 * gdb.linespec/cpcompletion.exp: Likewise.
3244 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3245 * gdb.linespec/cpls-ops.exp: Likewise.
3246
3247 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3248 Chris January <chris.january@arm.com>
3249
3250 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3251 * gdb.fortran/short-circuit-argument-list.exp: New file.
3252 * gdb.fortran/short-circuit-argument-list.f90: New test.
3253
3254 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3255
3256 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3257 "arch=" keyword when executing "-stack-list-frames".
3258
3259 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3260
3261 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3262 "arch=" keyword when executing "-stack-list-frames".
3263
3264 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3265
3266 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3267 break ada".
3268
3269 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3270
3271 PR python/23669
3272 * gdb.python/python.exp: Test gdb.execute("show commands").
3273
3274 2018-09-16 Tom Tromey <tom@tromey.com>
3275
3276 * gdb.base/new-ui.exp (do_execution_tests): Update.
3277 * gdb.base/dbx.exp (test_breakpoints): Update.
3278
3279 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3280
3281 * lib/gdb.exp (gdb_simple_compile): Add proc.
3282 (is_elf_target): Use gdb_simple_compile.
3283 (skip_altivec_tests): Likewise.
3284 (skip_vsx_tests): Likewise.
3285 (skip_tsx_tests): Likewise.
3286 (skip_btrace_tests): Likewise.
3287 (skip_btrace_pt_tests): Likewise.
3288 (gdb_can_simple_compile): Likewise.
3289 (gdb_has_argv0): Likewise.
3290 (gdb_target_symbol_prefix): Likewise.
3291 (target_supports_scheduler_locking): Likewise.
3292
3293 2018-09-13 Tom Tromey <tom@tromey.com>
3294
3295 * Makefile.in (TAGS): Recognize proc_with_prefix and
3296 gdb_caching_proc.
3297
3298 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3299
3300 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3301 method.
3302
3303 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3304
3305 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3306 and a few other Inferior properties when the Inferior is no
3307 longer valid.
3308
3309 2018-09-13 Tom Tromey <tom@tromey.com>
3310
3311 PR rust/23650:
3312 * gdb.rust/simple.exp: Add test for enum field access error.
3313
3314 2018-09-13 Tom Tromey <tom@tromey.com>
3315
3316 PR rust/23626:
3317 * gdb.rust/simple.rs (EmptyEnum): New type.
3318 (main): Use it.
3319 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3320
3321 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3322
3323 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3324 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3325 * gdb.python/py-symtab.exp: Update test printing an objfile.
3326
3327 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3328
3329 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3330 object.
3331
3332 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3333
3334 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3335 (support_complex_tests): Use gdb_can_simple_compile.
3336 (is_ilp32_target): Likewise.
3337 (is_lp64_target): Likewise.
3338 (is_64_target): Likewise.
3339 (is_amd64_regs_target): Likewise.
3340 (is_aarch32_target): Likewise.
3341 (gdb_int128_helper): Likewise.
3342
3343 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3344
3345 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3346
3347 2018-09-10 Jerome Guitton <guitton@adacore.com>
3348
3349 * gdb.ada/same_component_name: Add test for case of tagged record
3350 with variable-length fields.
3351
3352 2018-09-10 Xavier Roirand <roirand@adacore.com>
3353
3354 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3355 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3356 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3357 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3358
3359 2018-09-10 Xavier Roirand <roirand@adacore.com>
3360
3361 * gdb.ada/mi_string_access.exp: New testcase.
3362 * gdb.ada/mi_string_access/bar.adb: New file.
3363 * gdb.ada/mi_string_access/pck.adb: New file.
3364 * gdb.ada/mi_string_access/pck.asd: New file.
3365
3366 2018-09-10 Xavier Roirand <roirand@adacore.com>
3367
3368 * gdb.ada/mi_var_union.exp: New testcase.
3369 * gdb.ada/mi_var_union/bar.adb: New file.
3370 * gdb.ada/mi_var_union/pck.adb: New file.
3371 * gdb.ada/mi_var_union/pck.asd: New file.
3372
3373 2018-09-08 Tom Tromey <tom@tromey.com>
3374
3375 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3376
3377 2018-09-08 Tom Tromey <tom@tromey.com>
3378
3379 PR python/16047:
3380 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3381 (register_pretty_printers): Register new printer.
3382 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3383 test.
3384 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3385 (an_int_type3): New global.
3386
3387 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3388
3389 * gdb.ada/expr_with_funcall: New testcase.
3390
3391 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3392
3393 * gdb.ada/packed_array_assign: New testcase.
3394
3395 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3396
3397 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3398 names, and add test prefixes to make test names unique.
3399
3400 2018-09-05 Tom de Vries <tdevries@suse.de>
3401
3402 * gdb.dwarf2/varval.exp: Add test.
3403
3404 2018-09-04 Gary Benson <gbenson@redhat.com>
3405
3406 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3407 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3408
3409 2018-08-31 Tom Tromey <tom@tromey.com>
3410
3411 * gdb.rust/simple.rs: Rename second variable "v".
3412
3413 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3414
3415 * gdb.base/funcargs.c (use_a): New function.
3416 (recurse): Call use_a.
3417
3418 2018-08-29 Keith Seitz <keiths@redhat.com>
3419
3420 * gdb.compile/compile-cplus-anonymous.cc: New file.
3421 * gdb.compile/compile-cplus-anonymous.exp: New file.
3422 * gdb.compile/compile-cplus-array-decay.cc: New file.
3423 * gdb.compile/compile-cplus-array-decay.exp: New file.
3424 * gdb.compile/compile-cplus-inherit.cc: New file.
3425 * gdb.compile/compile-cplus-inherit.exp: New file.
3426 * gdb.compile/compile-cplus-member.cc: New file.
3427 * gdb.compile/compile-cplus-member.exp: New file.
3428 * gdb.compile/compile-cplus-method.cc: New file.
3429 * gdb.compile/compile-cplus-method.exp: New file.
3430 * gdb.compile/compile-cplus-mod.c: "New" file.
3431 * gdb.compile/compile-cplus-namespace.cc: New file.
3432 * gdb.compile/compile-cplus-namespace.exp: New file.
3433 * gdb.compile/compile-cplus-nested.cc: New file.
3434 * gdb.compile/compile-cplus-nested.exp: New file.
3435 * gdb.compile/compile-cplus-print.c: "New" file.
3436 * gdb.compile/compile-cplus-print.exp: "New" file.
3437 * gdb.compile/compile-cplus-virtual.cc: New file.
3438 * gdb.compile/compile-cplus-virtual.exp: New file.
3439 * gdb.compile/compile-cplus.c: "New" file.
3440 * gdb.compile/compile-cplus.exp: "New" file.
3441 * lib/compile-support.exp: New file.
3442
3443 2018-08-16 Gary Benson <gbenson@redhat.com>
3444
3445 PR gdb/13000:
3446 * gdb.base/batch-exit-status.exp: New file.
3447 * gdb.base/batch-exit-status.good-commands: Likewise.
3448 * gdb.base/batch-exit-status.bad-commands: Likewise.
3449
3450 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3451
3452 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3453 (struct struct02): Likewise.
3454 (struct struct03): Likewise.
3455 (struct struct04): Likewise.
3456 (struct struct_01_01): New struct.
3457 (struct struct_01_02): Likewise.
3458 (struct struct_01_03): Likewise.
3459 (struct struct_01_04): Likewise.
3460 (struct struct_02_01): Likewise.
3461 (struct struct_02_02): Likewise.
3462 (struct struct_02_03): Likewise.
3463 (struct struct_02_04): Likewise.
3464 (struct struct_04_01): Likewise.
3465 (struct struct_04_02): Likewise.
3466 (struct struct_04_03): Likewise.
3467 (struct struct_04_04): Likewise.
3468 (struct struct_05_01): Likewise.
3469 (struct struct_05_02): Likewise.
3470 (struct struct_05_03): Likewise.
3471 (struct struct_05_04): Likewise.
3472 (cmp_struct01): Remove function.
3473 (cmp_struct02): Likewise.
3474 (cmp_struct03): Likewise.
3475 (cmp_struct04): Likewise.
3476 (cmp_struct_01_01): Add Function.
3477 (cmp_struct_01_02): Likewise.
3478 (cmp_struct_01_03): Likewise.
3479 (cmp_struct_01_04): Likewise.
3480 (cmp_struct_02_01): Likewise.
3481 (cmp_struct_02_02): Likewise.
3482 (cmp_struct_02_03): Likewise.
3483 (cmp_struct_02_04): Likewise.
3484 (cmp_struct_04_01): Likewise.
3485 (cmp_struct_04_02): Likewise.
3486 (cmp_struct_04_03): Likewise.
3487 (cmp_struct_04_04): Likewise.
3488 (cmp_struct_05_01): Likewise.
3489 (cmp_struct_05_02): Likewise.
3490 (cmp_struct_05_03): Likewise.
3491 (cmp_struct_05_04): Likewise.
3492 (call_all): Add new structs.
3493 * gdb.base/infcall-nested-structs.exp: Likewise.
3494
3495 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3496
3497 * gdb.python/py-framefilter-mi.exp: Update regexp to
3498 check for "arch" field in frame output.
3499
3500 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3501
3502 * gdb.dwarf2/dw2-ranges-func.c: New file.
3503 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3504
3505 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3506
3507 * gdb.base/term.exp: Compare terminal settings with values from
3508 the inferior.
3509 * gdb.base/term.c: Get and set terminal settings.
3510
3511 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3512
3513 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3514 accommodate new "arch" field in frame output.
3515 * gdb.mi/mi-return.exp: Likewise.
3516 * gdb.mi/mi-stack.exp: Likewise.
3517 * gdb.mi/mi-syn-frame.exp: Likewise.
3518 * gdb.mi/user-selected-context-sync.exp: Likewise.
3519
3520 2018-08-19 Michael Spang <spang@google.com>
3521
3522 PR gdb/11786
3523 * gdb.base/gcore-tls-pie.c: New file.
3524 * gdb.base/gcore-tls-pie.exp: New file.
3525
3526 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3527
3528 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3529 * gdb.dwarf2/varval.c: New file.
3530 * gdb.dwarf2/varval.exp: New file.
3531
3532 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3533
3534 PR gdb/18931
3535 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3536
3537 2018-08-16 Keith Seitz <keiths@redhat.com>
3538
3539 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3540 tests expected to pass.
3541
3542 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3543
3544 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3545 -data-disassemble -a.
3546 (test_disassembly_bogus_args): Likewise.
3547
3548 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3549
3550 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3551
3552 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3553
3554 * gdb.base/vla-optimized-out.exp: Add new test.
3555
3556 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3557
3558 * gdb.base/vla-optimized-out-o3.exp: Delete.
3559 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3560 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3561 deleted tests.
3562
3563 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3564
3565 PR gdb/18050:
3566 * gdb.server/extended-remote-restart.c: New file.
3567 * gdb.server/extended-remote-restart.exp: New file.
3568
3569 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3570
3571 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3572 "set variable index = 42".
3573
3574 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3575
3576 * boards/index-cache-gdb.exp: New file.
3577 * gdb.dwarf2/index-cache.exp: New file.
3578 * gdb.dwarf2/index-cache.c: New file.
3579 * gdb.base/maint.exp: Check if we are using the index cache.
3580
3581 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3582
3583 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3584 MAKEFLAGS.
3585
3586 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3587
3588 * dg-extract-results.sh: Move to toplevel contrib.
3589 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3590 * Makefile.in (check-parallel-racy): Likewise.
3591
3592 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3593
3594 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3595 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3596 tests if the target supports scheduler locking.
3597
3598 2018-08-04 Tom de Vries <tdevries@suse.de>
3599
3600 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3601
3602 2018-08-02 Tom Tromey <tom@tromey.com>
3603
3604 PR symtab/16842.
3605 * gdb.cp/temargs.exp: Test "info address" of a template
3606 parameter.
3607
3608 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3609
3610 * gdb.python/py-mi-var-info-path-expression.c: New file.
3611 * gdb.python/py-mi-var-info-path-expression.py: New file.
3612 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3613
3614 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3615
3616 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3617 error after "cannot resolve name" string.
3618
3619 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3620
3621 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3622 started.
3623 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3624
3625 2018-07-28 Tom de Vries <tdevries@suse.de>
3626
3627 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3628
3629 2018-07-26 Tom de Vries <tdevries@suse.de>
3630
3631 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3632
3633 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3634
3635 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3636 is visible.
3637
3638 2018-07-26 Tom de Vries <tdevries@suse.de>
3639
3640 PR breakpoints/23366
3641 * gdb.base/catch-follow-exec.c: New test.
3642 * gdb.base/catch-follow-exec.exp: New file.
3643
3644 2018-07-25 Tom de Vries <tdevries@suse.de>
3645
3646 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3647 vla-optimized-out.c.
3648
3649 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3650
3651 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3652 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3653
3654 2018-07-20 Tom de Vries <tdevries@suse.de>
3655
3656 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3657 NOCLONE macro.
3658 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3659
3660 2018-07-19 Tom de Vries <tdevries@suse.de>
3661
3662 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3663 regular expression.
3664
3665 2018-07-18 Tom de Vries <tdevries@suse.de>
3666
3667 * gdb.base/vla-optimized-out.c: New test.
3668 * gdb.base/vla-optimized-out.exp: New file.
3669
3670 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3671
3672 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3673 message "No address associated with hostname" when gdbserver
3674 cannot resolve the hostname.
3675
3676 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3677
3678 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3679 Add some test prefixes to make tests unique.
3680
3681 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3682
3683 * gdb.base/frameapply.c: New file.
3684 * gdb.base/frameapply.exp: New file.
3685
3686 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3687
3688 * gdb.base/skip.exp: Update expected error message.
3689
3690 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3691 Jan Kratochvil <jan.kratochvil@redhat.com>
3692 Paul Fertser <fercerpav@gmail.com>
3693 Tsutomu Seki <sekiriki@gmail.com>
3694
3695 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3696 parameter.
3697 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3698 by default.
3699 * boards/native-gdbserver.exp: Likewise.
3700 * gdb.server/run-without-local-binary.exp: Improve regexp used
3701 for detecting when a remote debugging connection succeeds.
3702 * gdb.server/server-connect.exp: New file.
3703 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3704 Do not prefix the port number with ":".
3705 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3706 support for detecting and using it. Add '$debughost_gdbserver'
3707 to the list of arguments used to start gdbserver. Handle case
3708 when gdbserver cannot resolve a network name.
3709
3710 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3711
3712 PR c++/23373
3713 * gdb.base/ptype-offsets.cc (struct static_member): New
3714 struct.
3715 (main) <stmember>: New variable.
3716 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3717 with a static member in it.
3718
3719 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3720
3721 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3722 watchpoints enabled and disabled.
3723
3724 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3725
3726 * gdb.base/examine-backward.exp: Still run tests around address
3727 0x0, even if address 0x0 is not readable. Update the pattern for
3728 matching address 0x0 in expected output.
3729
3730 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3731
3732 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3733 malloc/free.
3734
3735 2018-07-04 Tom de Vries <tdevries@suse.de>
3736
3737 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3738
3739 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3740
3741 PR tdep/8282
3742 * gdb.arch/mips-disassembler-options.exp: New test.
3743 * gdb.arch/mips-disassembler-options.s: New test source.
3744
3745 2018-06-29 Pedro Alves <palves@redhat.com>
3746
3747 * gdb.threads/names.exp: Adjust expected "info threads" output.
3748
3749 2018-06-29 Pedro Alves <palves@redhat.com>
3750
3751 * gdb.opt/inline-break.exp (line number, address): Add "info
3752 break" tests.
3753
3754 2018-06-29 Pedro Alves <palves@redhat.com>
3755
3756 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3757 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3758 number and address and running to them.
3759
3760 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3761
3762 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3763
3764 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3765
3766 * lib/compiler.c: Remove executable permission flag.
3767
3768 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3769
3770 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3771 code.
3772 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3773
3774 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3775
3776 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3777
3778 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3779
3780 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3781 address argument is omitted.
3782
3783 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3784
3785 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3786
3787 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3788
3789 PR gdb/21695
3790 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3791 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3792
3793 2018-06-26 Tom Tromey <tom@tromey.com>
3794
3795 PR rust/22574:
3796 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3797 * gdb.rust/simple.rs (struct SimpleLayout): New.
3798
3799 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3800
3801 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3802 "info registers" output.
3803
3804 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3805
3806 * gdb.base/watchpoint-hw-attach.c: New test.
3807 * gdb.base/watchpoint-hw-attach.exp: New file.
3808
3809 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3810
3811 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3812 through /bin/sh.
3813 * boards/dwarf4-gdb-index.exp: Likewise.
3814 * boards/fission-dwp.exp: Likewise.
3815
3816 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3817
3818 * gdb.base/float128.exp: Add comment and improved fail message
3819 to the failure case of "print large128" test.
3820
3821 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3822
3823 * configure.ac: Remove AC_PREREQ.
3824 * configure: Re-generate.
3825
3826 2018-06-19 Pedro Alves <palves@redhat.com>
3827
3828 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3829 (func_extern_caller): New.
3830 (main): Call func_extern_caller.
3831 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3832 logic change.
3833
3834 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3835
3836 PR gdb/16841
3837 * gdb.cp/typedef-base.cc: New file.
3838 * gdb.cp/typedef-base.exp: New file.
3839
3840 2018-06-18 Tom de Vries <tdevries@suse.de>
3841
3842 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3843
3844 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3845 Richard Bunt <Richard.Bunt@arm.com>
3846
3847 * gdb.threads/attach-slow-waitpid.c: New file.
3848 * gdb.threads/attach-slow-waitpid.exp: New file.
3849 * gdb.threads/slow-waitpid.c: New file.
3850
3851 2018-06-14 Pedro Alves <palves@redhat.com>
3852
3853 * gdb.base/fork-running-state.c: Include <errno.h>.
3854 (exit_if_relative_exits): New.
3855 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3856 exits.
3857 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3858 child exits.
3859
3860 2018-06-14 Tom de Vries <tdevries@suse.de>
3861
3862 PR cli/22573
3863 * gdb.base/finish-pretty.c: New test.
3864 * gdb.base/finish-pretty.exp: New file.
3865
3866 2018-06-14 Pedro Alves <palves@redhat.com>
3867
3868 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3869 gdb's expected startup output.
3870
3871 2018-06-14 Pedro Alves <palves@redhat.com>
3872
3873 * lib/selftest-support.exp (selftest_setup): Remove inlined
3874 function handling.
3875
3876 2018-06-14 Tom de Vries <tdevries@suse.de>
3877
3878 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3879 matching of breakpoint printing.
3880
3881 2018-06-13 Tom de Vries <tdevries@suse.de>
3882
3883 PR testsuite/23269
3884 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3885 (fork_child): ... here, and ...
3886 (fork_parent): ... here.
3887
3888 2018-06-12 Tom de Vries <tdevries@suse.de>
3889
3890 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3891
3892 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3893 Stephen Roberts <stephen.roberts@arm.com>
3894
3895 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3896 rewrite test to describe action performed, rather than possible
3897 failure.
3898
3899 2018-06-08 Gary Benson <gbenson@redhat.com>
3900
3901 * gdb.threads/check-libthread-db.exp: New file.
3902 * gdb.threads/check-libthread-db.c: Likewise.
3903
3904 2018-06-05 Tom Tromey <tom@tromey.com>
3905
3906 * gdb.base/default.exp: Update expected "show version" output.
3907
3908 2018-06-05 Tom Tromey <tom@tromey.com>
3909
3910 PR cli/12326:
3911 * gdb.cp/static-print-quit.exp: Update.
3912 * lib/gdb.exp (pagination_prompt): Update.
3913 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3914 * gdb.python/python.exp: Update.
3915
3916 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3917
3918 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3919
3920 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3921
3922 * gdb.ada/bp_fun_addr: New testcase.
3923
3924 2018-06-01 Tom Tromey <tom@tromey.com>
3925
3926 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3927 results.
3928 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3929 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3930 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3931 * gdb.base/maint.exp (maint_pass_if): Update.
3932
3933 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3934
3935 * gdb.base/endian.exp: New test.
3936 * gdb.base/endian.c: New test source.
3937
3938 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3939
3940 PR gdb/23203
3941 * gdb.base/bt-selected-frame.c: New file.
3942 * gdb.base/bt-selected-frame.exp: New file.
3943 * lib/gdb.exp (get_current_frame_number): New function.
3944
3945 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3946 Pedro Alves <palves@redhat.com>
3947
3948 * gdb.threads/tls-core.c: Include <stdlib.h>
3949 (thread_proc): Call `abort'.
3950 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3951 (tls_core_test): New procedure, bits factored out from ...
3952 (top level): ... here. Test both native cores and gcore cores.
3953
3954 2018-05-23 Tom Tromey <tom@tromey.com>
3955
3956 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3957
3958 2018-05-23 Tom Tromey <tom@tromey.com>
3959
3960 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3961 symfile_complaints.
3962 (test_short_complaints): Likewise.
3963 (test_empty_complaints): Likewise.
3964 (test_initial_complaints): Update.
3965
3966 2018-05-23 Tom Tromey <tom@tromey.com>
3967
3968 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3969
3970 2018-05-23 Tom Tromey <tom@tromey.com>
3971
3972 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3973 (test_short_complaints): Update.
3974
3975 2018-05-22 Pedro Alves <palves@redhat.com>
3976
3977 * gdb.base/remote.exp: Only gdb_start after compiling the
3978 testcase. Issue "disconnect" before testing "set remote" command
3979 defaults. Issue clean_restart before running to main.
3980
3981 2018-05-22 Pedro Alves <palves@redhat.com>
3982
3983 * gdb.base/remote.exp: Adjust expected output of "show remote
3984 memory-write-packet-size". Add tests for "set remote
3985 memory-write-packet-size 0" and "set remote
3986 memory-write-packet-size fixed/limit".
3987
3988 2018-05-22 Pedro Alves <palves@redhat.com>
3989
3990 PR gdb/22973
3991 * gdb.base/utf8-identifiers.c: New file.
3992 * gdb.base/utf8-identifiers.exp: New file.
3993
3994 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3995
3996 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3997
3998 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3999
4000 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4001
4002 2018-05-18 Tom Tromey <tom@tromey.com>
4003
4004 * gdb.base/ptype-offsets.exp: Update.
4005
4006 2018-05-17 Keith Seitz <keiths@redhat.com>
4007
4008 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4009 in expected breakpoint stop locations.
4010 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4011 move to proper scope to test variable values.
4012 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4013 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4014 New functions.
4015 (main): Call not_inline_func3.
4016 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4017 inline_func1, inline_func2, and inline_func3. Test that when each
4018 breakpoint is hit, GDB properly reports both the stop location
4019 and the backtrace. Repeat tests for temporary breakpoints.
4020
4021 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4022
4023 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4024 rather then trying to access it in determining whether the PID
4025 of `gdbserver' could have been retrieved.
4026
4027 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4028
4029 * gdb.arch/amd64-init-x87-values.S: New file.
4030 * gdb.arch/amd64-init-x87-values.exp: New file.
4031
4032 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4033
4034 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4035
4036 2018-05-04 Tom Tromey <tom@tromey.com>
4037
4038 PR python/22730:
4039 * gdb.python/python.exp: Test multi-line execute.
4040
4041 2018-05-04 Tom Tromey <tom@tromey.com>
4042
4043 PR python/22731:
4044 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4045
4046 2018-05-04 Tom Tromey <tom@tromey.com>
4047
4048 PR gdb/11750:
4049 * gdb.base/define.exp: Test defining a user command inside a user
4050 command.
4051 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4052
4053 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4054 Pedro Alves <palves@redhat.com>
4055
4056 PR breakpoints/19806 and support for PR external/20207.
4057 * gdb.base/watchpoint-unaligned.c: New file.
4058 * gdb.base/watchpoint-unaligned.exp: New file.
4059
4060 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4061
4062 * gdb.base/maint.exp: Make test names unique, use
4063 test_prefix_command_help to test 'help maint info', and remove
4064 repeated test of 'help maint'.
4065
4066 2018-05-04 Tom Tromey <tom@tromey.com>
4067
4068 PR gdb/22619:
4069 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4070 behavior.
4071
4072 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4073
4074 * gdb.base/maint.exp: Process output from 'maint print registers'
4075 line at a time.
4076
4077 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4078
4079 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4080 timeout.
4081
4082 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4083
4084 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4085 filter pattern.
4086
4087 2018-05-02 Pedro Alves <palves@redhat.com>
4088
4089 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4090 to_log_command renames.
4091 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4092
4093 2018-05-02 Tom Tromey <tom@tromey.com>
4094
4095 * gdb.python/py-parameter.exp: Set test message.
4096
4097 2018-05-02 Tom Tromey <tom@tromey.com>
4098
4099 PR python/20084:
4100 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4101 PARAM_ZUINTEGER_UNLIMITED tests.
4102
4103 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4104
4105 PR rust/23124
4106 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4107 when casting.
4108
4109 2018-04-30 Tom Tromey <tom@tromey.com>
4110
4111 * gdb.python/py-type.exp: Check align attribute.
4112 * gdb.python/py-type.c: New "aligncheck" global.
4113
4114 2018-04-30 Tom Tromey <tom@tromey.com>
4115
4116 PR exp/17095:
4117 * gdb.dwarf2/dw2-align.exp: New file.
4118 * gdb.cp/align.exp: New file.
4119 * gdb.base/align.exp: New file.
4120 * lib/gdb.exp (gdb_int128_helper): New proc.
4121 (has_int128_c, has_int128_cxx): New caching procs.
4122
4123 2018-04-27 Tom Tromey <tom@tromey.com>
4124
4125 PR rust/22545:
4126 * gdb.rust/simple.exp: Add inclusive range tests.
4127
4128 2018-04-26 Pedro Alves <palves@redhat.com>
4129
4130 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4131 ifunc breakpoint locations correctly of ifunc breakpoints set
4132 while the program resolves the ifunc.
4133
4134 2018-04-26 Pedro Alves <palves@redhat.com>
4135
4136 * gdb.base/gnu-ifunc-final.c: New file.
4137 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4138 * gdb.base/gnu-ifunc.exp (executable): Delete.
4139 (staticexecutable): Adjust.
4140 (lib_opts, exec_opts): Delete.
4141 (make_binsuffix, build, set-break): New procedures.
4142 (misc_tests): New, with tests factored out from the top level.
4143 (top level): Test different combinations of ifunc resolver name,
4144 resolver with and with debug info, and ifunc target with and
4145 without debug info. Wrap static tests with with_target_prefix.
4146
4147 2018-04-26 Pedro Alves <palves@redhat.com>
4148
4149 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4150 return type" warnings.
4151
4152 2018-04-25 Pedro Alves <palves@redhat.com>
4153
4154 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4155 killed".
4156 * gdb.base/kill-after-signal.exp: Likewise.
4157 * gdb.threads/kill.exp: Likewise.
4158
4159 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4160 Sergio Durigan Junior <sergiodj@redhat.com>
4161 Pedro Alves <palves@redhat.com>
4162
4163 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4164 regexps to expect for '[Inferior ... detached]' as well.
4165 * gdb.base/attach.exp: Likewise.
4166 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4167 "gdb_continue_to_end".
4168 (test_catch_syscall_with_wrong_args): Likewise.
4169 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4170 ']'. Don't set 'verbose' on.
4171 * gdb.base/foll-vfork.exp: Likewise.
4172 * gdb.base/fork-print-inferior-events.c: New file.
4173 * gdb.base/fork-print-inferior-events.exp: New file.
4174 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4175 '[Inferior ... has been killed]' message.
4176 * gdb.base/kill-after-signal.exp: Likewise.
4177 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4178 detach message.
4179 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4180 message.
4181 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4182 regexps to expect for '[Inferior ... detached]' as well.
4183 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4184
4185 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4186
4187 PR gdb/23104
4188 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4189
4190 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4191
4192 * gdb.threads/multiple-successive-infcall.c: New test.
4193 * gdb.threads/multiple-successive-infcall.exp: New file.
4194
4195 2018-04-17 Tom Tromey <tom@tromey.com>
4196
4197 * gdb.rust/simple.rs (Union): New type.
4198 (main): New local "u".
4199 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4200
4201 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4202
4203 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4204 number information in output of "whereis" command.
4205 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4206
4207 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4208
4209 * gdb.ada/info_types.exp: Adjust expected output to the line
4210 numbers now printed by "info var/func/type".
4211 * gdb.base/completion.exp: Likewise.
4212 * gdb.base/included.exp: Likewise.
4213 * gdb.cp/cp-relocate.exp: Likewise.
4214 * gdb.cp/cplusfuncs.exp: Likewise.
4215 * gdb.cp/namespace.exp: Likewise.
4216 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4217
4218 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4219
4220 * gdb.btrace/cpu.exp: New.
4221
4222 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4223
4224 * gdb.base/step-indirect-call-thunk.exp: New.
4225 * gdb.base/step-indirect-call-thunk.c: New.
4226 * gdb.reverse/step-indirect-call-thunk.exp: New.
4227 * gdb.reverse/step-indirect-call-thunk.c: New.
4228
4229 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4230
4231 * gdb.base/pie-fork.c: New file.
4232 * gdb.base/pie-fork.exp: New file.
4233
4234 2018-04-11 Tom Tromey <tom@tromey.com>
4235
4236 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4237
4238 2018-04-10 Pedro Alves <palves@redhat.com>
4239
4240 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4241 exits. Instead loop running forever.
4242 (fork_parent): Run forever too.
4243
4244 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4245
4246 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4247 mi_continue_to_line.
4248 * gdb.mi/mi-stack.c (callee4): Add comment.
4249
4250 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4251
4252 * gdb.mi/mi-stack.exp: Fix indentation.
4253
4254 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4255
4256 PR gdb/22979
4257 * gdb.arch/amd64-osabi.exp: New file.
4258
4259 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4260
4261 PR gdb/22980
4262 * gdb.base/osabi.exp: New file.
4263
4264 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4265
4266 * gdb.cp/static-typedef-print.exp: New file.
4267 * gdb.cp/static-typedef-print.cc: New file.
4268
4269 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4270
4271 * gdb.ada/varsize_limit: New testcase.
4272
4273 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4274
4275 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4276
4277 * gdb.ada/notcplusplus: New testcase.
4278
4279 * gdb.base/c-linkage-name.c: New file.
4280 * gdb.base/c-linkage-name.exp: New testcase.
4281
4282 2018-03-26 Tom Tromey <tom@tromey.com>
4283
4284 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4285 * gdb.python/py-framefilter.py (name_error): New global.
4286 (ErrorInName.function): Use name_error.
4287
4288 2018-03-26 Tom Tromey <tom@tromey.com>
4289
4290 PR backtrace/15582:
4291 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4292
4293 2018-03-23 Keith Seitz <keiths@redhat.com>
4294
4295 PR c++/22968
4296 * gdb.cp/subtypes.exp: New file.
4297 * gdb.cp/subtypes.h: New file.
4298 * gdb.cp/subtypes.cc: New file.
4299 * gdb.cp/subtypes-2.cc: New file.
4300
4301 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4302
4303 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4304 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4305 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4306 -nostartfiles when compiling the test. Confirm that all registers
4307 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4308
4309 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4310
4311 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4312 option, syntax was wrong anyway.
4313 * gdb.arch/arm-disp-step.exp: Likewise.
4314 * gdb.arch/sparc64-regs.exp: Likewise.
4315 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4316 option, syntax was wrong anyway, switch to use
4317 prepare_for_testing.
4318 * gdb.arch/i386-disp-step.exp: Likewise.
4319
4320 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4321
4322 * gdb.ada/exec_changed.exp: Replace "target_info exists
4323 use_gdb_stub" by "use_gdb_stub".
4324 * gdb.ada/start.exp: Likewise.
4325 * gdb.base/async-shell.exp: Likewise.
4326 * gdb.base/attach-pie-misread.exp: Likewise.
4327 * gdb.base/attach-wait-input.exp: Likewise.
4328 * gdb.base/break-entry.exp: Likewise.
4329 * gdb.base/break-interp.exp: Likewise.
4330 * gdb.base/dprintf-detach.exp: Likewise.
4331 * gdb.base/nostdlib.exp: Likewise.
4332 * gdb.base/solib-nodir.exp: Likewise.
4333 * gdb.base/statistics.exp: Likewise.
4334 * gdb.base/testenv.exp: Likewise.
4335 * gdb.mi/mi-exec-run.exp: Likewise.
4336 * gdb.mi/mi-start.exp: Likewise.
4337 * gdb.multi/dummy-frame-restore.exp: Likewise.
4338 * gdb.multi/multi-arch-exec.exp: Likewise.
4339 * gdb.multi/multi-arch.exp: Likewise.
4340 * gdb.multi/tids.exp: Likewise.
4341 * gdb.multi/watchpoint-multi.exp: Likewise.
4342 * gdb.python/py-events.exp: Likewise.
4343 * gdb.threads/attach-into-signal.exp: Likewise.
4344 * gdb.threads/attach-stopped.exp: Likewise.
4345 * gdb.threads/threadapply.exp: Likewise.
4346 * lib/selftest-support.exp: Likewise.
4347
4348 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4349
4350 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4351
4352 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4353
4354 * gdb.perf/template-breakpoints.cc: New file.
4355 * gdb.perf/template-breakpoints.exp: New file.
4356 * gdb.perf/template-breakpoints.py: New file.
4357
4358 2018-03-19 Tom Tromey <tom@tromey.com>
4359
4360 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4361 y0.
4362 * gdb.rust/simple.exp: Test bare identifier form of struct
4363 initializer.
4364
4365 2018-03-19 Tom Tromey <tom@tromey.com>
4366
4367 * gdb.gdb/observer.exp: Remove.
4368
4369 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4370
4371 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4372 "qualified" option when setting breakpoints.
4373 * gdb.trace/backtrace.exp: Likewise.
4374 * gdb.trace/circ.exp: Likewise.
4375 * gdb.trace/collection.exp: Likewise.
4376 * gdb.trace/disconnected-tracing.exp: Likewise.
4377 * gdb.trace/ftrace-lock.exp: Likewise.
4378 * gdb.trace/ftrace.exp: Likewise.
4379 * gdb.trace/infotrace.exp: Likewise.
4380 * gdb.trace/packetlen.exp: Likewise.
4381 * gdb.trace/passc-dyn.exp: Likewise.
4382 * gdb.trace/qtro.exp: Likewise.
4383 * gdb.trace/read-memory.exp: Likewise.
4384 * gdb.trace/report.exp: Likewise.
4385 * gdb.trace/signal.exp: Likewise.
4386 * gdb.trace/status-stop.exp: Likewise.
4387 * gdb.trace/strace.exp: Likewise.
4388 * gdb.trace/tfind.exp: Likewise.
4389 * gdb.trace/trace-break.exp: Likewise.
4390 * gdb.trace/trace-condition.exp: Likewise.
4391 * gdb.trace/trace-mt.exp: Likewise.
4392 * gdb.trace/tstatus.exp: Likewise.
4393 * gdb.trace/tsv.exp: Likewise.
4394 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4395 * gdb.trace/unavailable.exp: Likewise.
4396 * gdb.trace/while-dyn.exp: Likewise.
4397
4398 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4399
4400 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4401 that libinproctrace is copied to the target.
4402
4403 2018-03-14 Tom Tromey <tom@tromey.com>
4404
4405 PR cli/14977:
4406 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4407 a null pointer.
4408 * gdb.base/wchar.exp: Likewise.
4409
4410 2018-03-14 Tom Tromey <tom@tromey.com>
4411
4412 PR cli/19918:
4413 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4414 flag.
4415
4416 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4417
4418 PR gdb/22841
4419 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4420 "target" to remote_exec.
4421
4422 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4423
4424 PR gdb/22841
4425 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4426 ${board}_upload): Remove.
4427
4428 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4429
4430 * gdb.cp/watch-cp.cc: New test.
4431 * gdb.cp/watch-cp.exp: New file.
4432
4433 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4434
4435 * gdb.base/infcall-nested-structs.exp: New file.
4436 * gdb.base/infcall-nested-structs.c: New file.
4437 * gdb.base/float.exp: Add riscv support.
4438
4439 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4440
4441 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4442 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4443
4444 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4445
4446 * gdb.server/abspath.exp: New file.
4447 * lib/gdb.exp (with_cwd): New procedure.
4448
4449 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4450
4451 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4452 use it.
4453 (gdb_is_target_remote_prompt): New proc.
4454 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4455 (gdb_is_target_native): Pass prompt parameter to
4456 gdb_is_target_1.
4457
4458 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4459
4460 * gdb.base/load-command.c: New file.
4461 * gdb.base/load-command.exp: New file.
4462 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4463 (gdb_is_target_1): ...this, and generalize for other targets
4464 than just remote.
4465 (gdb_is_target_remote): Use gdb_is_target_1.
4466 (gdb_is_target_native): use gdb_is_target_1.
4467
4468 2018-02-26 Tom Tromey <tom@tromey.com>
4469
4470 PR python/16497:
4471 * gdb.python/py-framefilter.exp: Update test.
4472
4473 2018-02-26 Tom Tromey <tom@tromey.com>
4474
4475 * gdb.dwarf2/variant.c: New file.
4476 * gdb.dwarf2/variant.exp: New file.
4477
4478 2018-02-26 Tom Tromey <tom@tromey.com>
4479
4480 * gdb.rust/simple.exp: Accept more possible results in enum test.
4481
4482 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4483
4484 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4485 parentheses.
4486
4487 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4488
4489 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4490 name of a variable: $actual_linejj -> $actual_line.
4491
4492 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4493
4494 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4495
4496 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4497
4498 * gdb.btrace/buffer-size.exp: Do not force BTS.
4499
4500 2018-02-14 Pedro Alves <palves@redhat.com>
4501
4502 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4503 getting a "Quit".
4504
4505 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4506
4507 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4508 Fix test name.
4509
4510 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4511
4512 * gdb.cp/m-static.exp: Check type of optimized out static
4513 member.
4514
4515 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4516
4517 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4518 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4519
4520 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4521 Leszek Swirski <leszeks@google.com>
4522
4523 * gdb.python/py-prettyprint.c
4524 (struct to_string_returns_value_inner,
4525 struct to_string_returns_value_wrapper): New.
4526 (main): Add tsrvw variable.
4527 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4528 ToStringReturnsValueWrapper): New classes.
4529 (register_pretty_printers): Register new pretty-printers.
4530 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4531 recursive pretty printer.
4532 * gdb.python/py-mi.exp: Likewise.
4533
4534 2018-02-01 Leszek Swirski <leszeks@google.com>
4535
4536 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4537 functions with the same name as an include file are parsed
4538 correctly.
4539
4540 2018-02-01 Yao Qi <yao.qi@linaro.org>
4541
4542 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4543 "\[^\r\n\]*".
4544
4545 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4546
4547 * gdb.arch/powerpc-prologue-frame.s: New file.
4548 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4549 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4550
4551 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4552
4553 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4554
4555 2018-01-30 Pedro Alves <palves@redhat.com>
4556
4557 PR gdb/13211
4558 * gdb.base/interrupt-daemon.c: New.
4559 * gdb.base/interrupt-daemon.exp: New.
4560 * gdb.multi/multi-term-settings.c: New.
4561 * gdb.multi/multi-term-settings.exp: New.
4562
4563 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4564
4565 * gdb.base/break.exp: Save the location where the breakpoint
4566 on break.c:47 was actually inserted when debugging the version
4567 compiled at -O2 and use it in the expected output of the "info
4568 break" test performed soon after.
4569
4570 2018-01-22 Pedro Alves <palves@redhat.com>
4571 Sergio Durigan Junior <sergiodj@redhat.com>
4572
4573 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4574 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4575
4576 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4577
4578 * gdb.base/break-include.c, gdb.base/break-include.inc,
4579 gdb.base/break-include.exp: New files.
4580 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4581 line number now being the actual line number where the breakpoint
4582 was inserted.
4583 * gdb.mi/mi-break.exp: Likewise.
4584 * gdb.mi/mi-reverse.exp: Likewise.
4585 * gdb.mi/mi-simplerun.exp: Ditto.
4586
4587 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4588
4589 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4590 varobj.
4591 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4592
4593 2018-01-21 Don Breazeal <donb@codesourcery.com>
4594 Andrew Burgess <andrew.burgess@embecosm.com>
4595
4596 * gdb.mi/basics.c: Add new global.
4597 * gdb.mi/mi-frame-regs.exp: New file.
4598 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4599 case.
4600
4601 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4602
4603 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4604 non-parameter, and on an unknown symbol.
4605
4606 2018-01-19 Tom Tromey <tom@tromey.com>
4607
4608 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4609 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4610
4611 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4612
4613 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4614 setrlimit and chdir to int.
4615
4616 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4617
4618 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4619 function.
4620 (my_tend): Likewise.
4621 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4622 rationale of avoiding FP- and vector instructions.
4623
4624 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4625
4626 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4627 "info reg" with "\[ \t\]*".
4628 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4629 "\[ \t\]+".
4630 * gdb.arch/s390-multiarch.exp: Ditto.
4631 * gdb.base/pc-fp.exp: Ditto.
4632 * gdb.reverse/i386-precsave.exp: Ditto.
4633 * gdb.reverse/i386-reverse.exp: Ditto.
4634 * gdb.reverse/i387-env-reverse.exp: Ditto.
4635 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4636
4637 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4638
4639 * lib/gdb.exp (gdb_compile): Re-enable use of
4640 universal_compile_options for languages other than Rust.
4641
4642 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4643
4644 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4645
4646 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4647
4648 PR gdb/16577
4649 * gdb.base/solib-vanish.exp: New.
4650 * gdb.base/solib-vanish-main.c: New.
4651 * gdb.base/solib-vanish-lib1.c: New.
4652 * gdb.base/solib-vanish-lib2.c: New.
4653
4654 2018-01-17 Yao Qi <yao.qi@linaro.org>
4655
4656 * gdb.compile/compile.exp: Match the address printed for
4657 frame in the output of command "bt".
4658
4659 2018-01-15 Tom Tromey <tom@tromey.com>
4660
4661 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4662 compute sp_reg.
4663
4664 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4665
4666 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4667 to prepare.
4668 (prepare): Return 0 on error, 1 on success.
4669
4670 2018-01-12 Pedro Alves <palves@redhat.com>
4671
4672 * gdb.base/continue-after-aborted-step-over.c: New.
4673 * gdb.base/continue-after-aborted-step-over.exp: New.
4674
4675 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4676
4677 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4678 options when not creating an executable.
4679
4680 2018-01-11 Pedro Alves <palves@redhat.com>
4681
4682 PR remote/22597
4683 * gdb.server/stop-reply-no-thread.c: New file.
4684 * gdb.server/stop-reply-no-thread.exp: New file.
4685
4686 2018-01-10 Pedro Alves <palves@redhat.com>
4687
4688 PR gdb/22670
4689 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4690 functions too. Test setting breakpoints and printing C functions
4691 with no debug info too.
4692 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4693
4694 2018-01-10 Pedro Alves <palves@redhat.com>
4695
4696 PR gdb/22670
4697 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4698 a fail.
4699
4700 2018-01-10 Pedro Alves <palves@redhat.com>
4701
4702 PR gdb/22670
4703 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4704
4705 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4706
4707 * gdb.server/unittest.exp: Match the output in non-development
4708 mode.
4709
4710 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4711
4712 * gdb.gdb/unittest.exp: Match output in non-development mode.
4713
4714 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4715
4716 * gdb.ada/access_tagged_param.exp: Relax expected output
4717 for value of "ObjL" in "continue" to pck.inspect breakpoint
4718 test.
4719
4720 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4721
4722 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4723 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4724
4725 2018-01-05 Pedro Alves <palves@redhat.com>
4726
4727 PR gdb/18653
4728 * gdb.base/libsegfault.exp: New.
4729
4730 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4731
4732 PR gdb/22670
4733 * gdb.ada/access_tagged_param.exp: New file.
4734 * gdb.ada/access_tagged_param/foo.adb: New file.
4735
4736 2018-01-05 Pedro Alves <palves@redhat.com>
4737
4738 PR gdb/22670
4739 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4740 exercise lower case too, and to exercise both full matching and
4741 wild matching.
4742
4743 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4744
4745 * gdb.ada/rename_subscript_param: New testcase.
4746
4747 2018-01-05 Jerome Guitton <guitton@adacore.com>
4748
4749 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4750
4751 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4752
4753 * gdb.ada/convvar_comp: New testcase.
4754
4755 2018-01-05 Xavier Roirand <roirand@adacore.com>
4756
4757 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4758 (My_Table): New global variable.
4759 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4760
4761 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4762
4763 PR gdb/22670
4764 * gdb.ada/maint_with_ada: New testcase.
4765
4766 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4767
4768 PR gdb/22670
4769 * gdb.ada/bp_c_mixed_case: New testcase.
4770
4771 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4772
4773 PR gdb/22670
4774 * gdb.ada/complete.exp: Add "complete break ada" test.
4775
4776 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4777
4778 PR gdb/22670
4779 * gdb.ada/info_addr_mixed_case: New testcase.
4780
4781 2018-01-03 Xavier Roirand <roirand@adacore.com>
4782
4783 * gdb.ada/excep_handle.exp: New testcase.
4784 * gdb.ada/excep_handle/foo.adb: New file.
4785 * gdb.ada/excep_handle/pck.ads: New file.
4786
4787 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4788
4789 * gdb.base/step-line.c: Add extra empty line in copyright header.
4790 * gdb.base/step-line.inp: Likewise.
4791
4792 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4793
4794 * gdb.ada/dyn_stride.exp: Add slice test.
4795
4796 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4797
4798 * gdb.ada/dyn_stride: New testcase.
4799
4800 2017-12-27 Stafford Horne <shorne@gmail.com>
4801
4802 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4803 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4804
4805 2017-12-27 Stafford Horne <shorne@gmail.com>
4806
4807 * gdb.base/reggroups.c: New file.
4808 * gdb.base/reggroups.exp: New file.
4809
4810 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4811
4812 * gdb.dwarf2/ada-valprint-error.c: New file.
4813 * gdb.dwarf2/ada-valprint-error.exp: New file.
4814
4815 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4816
4817 * gdb.ada/assign_arr: New testcase.
4818
4819 2017-12-18 Xavier Roirand <roirand@adacore.com>
4820
4821 * gdb.ada/funcall_ptr: New testcase.
4822
4823 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4824
4825 PR cli/16224
4826 * gdb.base/ptype-offsets.cc: New file.
4827 * gdb.base/ptype-offsets.exp: New file.
4828
4829 2017-12-15 Yao Qi <yao.qi@linaro.org>
4830
4831 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4832 if XML is disabled.
4833
4834 2017-12-15 Xavier Roirand <roirand@adacore.com>
4835
4836 * gdb.ada/same_component_name: New testcase.
4837
4838 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4839
4840 * gdb.ada/str_binop_equal: New testcase.
4841
4842 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4843
4844 * gdb.ada/task_switch_in_core: New testcase.
4845
4846 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4847
4848 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4849 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4850 call test_bkpt_qualified.
4851 (test_bkpt_qualified): New proc.
4852
4853 2017-12-13 Pedro Alves <palves@redhat.com>
4854
4855 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4856 Tighten regexp by matching with an anchor.
4857
4858 2017-12-13 Pedro Alves <palves@redhat.com>
4859
4860 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4861 ("expression with namespace"): New set of tests.
4862 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4863 (Nested::Test_NS::qux): New.
4864 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4865 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4866
4867 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4868
4869 * gdb.base/server-del-break.c: New file.
4870 * gdb.base/server-del-break.exp: New file.
4871
4872 2017-12-12 Stafford Horne <shorne@gmail.com>
4873
4874 * gdb.xml/tdesc-regs.exp: Add or1k support.
4875
4876 2017-12-12 Stafford Horne <shorne@gmail.com>
4877
4878 * gdb.base/bp-permanent.c: Define nop of or1k.
4879
4880 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4881
4882 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4883 output with components being reordered.
4884
4885 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4886
4887 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4888 output with components being reordered.
4889
4890 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4891 Pedro Alves <palves@redhat.com>
4892
4893 * gdb.base/maint.exp (check for .gdb_index): Check also for
4894 .debug_names.
4895 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4896 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4897 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4898 (.gdb_index used after symbol reloading): Support also .debug_names.
4899 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4900
4901 2017-12-08 Yao Qi <yao.qi@linaro.org>
4902
4903 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4904 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4905
4906 2017-12-08 Yao Qi <yao.qi@linaro.org>
4907
4908 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4909 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4910
4911 2017-12-08 Yao Qi <yao.qi@linaro.org>
4912
4913 * gdb.arch/aarch64-tagged-pointer.c: New file.
4914 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4915
4916 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4917
4918 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4919 "int".
4920
4921 2017-12-07 Keith Seitz <keiths@redhat.com>
4922
4923 PR breakpoints/22569
4924 * gdb.linespec/ls-errs.exp: Change expected result of "break
4925 -source this file has spaces.c -line 3".
4926 Check that an explicit source file followed by whitespace is
4927 identified as an invalid explicit location.
4928
4929 2017-12-07 Keith Seitz <keiths@redhat.com>
4930
4931 * gdb.cp/nested-types.cc: New file.
4932 * gdb.cp/nested-types.exp: New file.
4933 * lib/cp-support.exp: Load data-structures.exp library.
4934 (debug_cp_test_ptype_class): New global.
4935 (cp_ptype_class_verbose, next_line): New procedures.
4936 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4937 Add and document new return value.
4938 Switch the list of lines to a queue.
4939 Add support for new `type' key for nested type definitions.
4940 Add debugging/troubleshooting messages.
4941 * lib/data-structures.exp: New file.
4942
4943 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4944
4945 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4946 with proc_with_prefix, don't use with_test_prefix.
4947
4948 2017-12-07 Tom Tromey <tom@tromey.com>
4949
4950 * gdb.base/break.exp: Add test for empty "commands".
4951
4952 2017-12-07 Yao Qi <yao.qi@linaro.org>
4953
4954 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4955 malloc and catch syscall.
4956
4957 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4958
4959 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4960 tests for explicit locations.
4961
4962 2017-12-06 Pedro Alves <palves@redhat.com>
4963
4964 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4965 force-disabling XML descriptions.
4966
4967 2017-12-04 Pedro Alves <palves@redhat.com>
4968
4969 PR gdb/22499
4970 * gdb.arch/amd64-disp-step-avx.S: New file.
4971 * gdb.arch/amd64-disp-step-avx.exp: New file.
4972
4973 2017-12-03 Pedro Alves <palves@redhat.com>
4974
4975 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4976 and <string.h>.
4977 (parent_function): Print distinct messages when waitpid fails, or
4978 the child exits with a signal, or the child exits for an unhandled
4979 reason.
4980 * gdb.threads/process-dies-while-detaching.exp
4981 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4982 it. Wait for both inferior output and GDB's prompt. Use an
4983 indirect spawn id list.
4984 (do_detach): New parameter 'child_exit'. Use it to compute
4985 expected inferior output.
4986 (test_detach, test_detach_watch, test_detach_killed_outside):
4987 Adjust to pass down the expected child exit kind.
4988
4989 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4990 Sergio Durigan Junior <sergiodj@redhat.com>
4991 Pedro Alves <palves@redhat.com>
4992
4993 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4994
4995 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4996
4997 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4998 to 'symbol-file' and 'add-symbol-file' can be
4999 position-independent.
5000
5001 2017-12-01 Yao Qi <yao.qi@linaro.org>
5002
5003 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5004 the URL in copyright header.
5005 * gdb.arch/aarch64-fp.exp: Likewise.
5006 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5007 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5008 * gdb.base/expand-psymtabs.exp: Likewise.
5009 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5010 * gdb.fortran/common-block.exp: Likewise.
5011 * gdb.fortran/common-block.f90: Likewise.
5012 * gdb.fortran/logical.exp: Likewise.
5013 * gdb.fortran/vla-datatypes.f90: Likewise.
5014 * gdb.fortran/vla-sub.f90: Likewise.
5015
5016 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5017
5018 * gdb.ada/repeat_dyn: New testcase.
5019
5020 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5021
5022 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5023 Update for changed thread numbering.
5024 * gdb.cell/bt.exp: Update for changed GDB output.
5025
5026 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5027
5028 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5029 setting isremote by hand.
5030 * boards/dwarf4-gdb-index.exp: Likewise.
5031 * boards/fission.exp: Likewise.
5032 * boards/stabs.exp: Likewise.
5033
5034 2017-11-30 Pedro Alves <palves@redhat.com>
5035
5036 * gdb.linespec/cpls-ops.exp
5037 (check_explicit_skips_function_argument): Extract the underlying
5038 type of size_t instead of hardcoding it.
5039
5040 2017-11-29 Pedro Alves <palves@redhat.com>
5041
5042 PR c++/19436
5043 * gdb.linespec/cpls-abi-tag.cc: New file.
5044 * gdb.linespec/cpls-abi-tag.exp: New file.
5045
5046 2017-11-29 Pedro Alves <palves@redhat.com>
5047
5048 * gdb.base/langs.exp: Use -qualified.
5049 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5050 it.
5051 * gdb.cp/namespace.exp: Use -qualified.
5052 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5053 (overload-3, template-overload, template-ret-type, const-overload)
5054 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5055 procedures.
5056 (test_driver): Call them.
5057 * gdb.cp/save-bp-qualified.cc: New.
5058 * gdb.cp/save-bp-qualified.exp: New.
5059 * gdb.linespec/explicit.exp: Test -qualified.
5060 * lib/completion-support.exp (completion::explicit_opts_list): Add
5061 "-qualified".
5062 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5063
5064 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5065
5066 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5067
5068 2017-11-29 Tom Tromey <tom@tromey.com>
5069
5070 * gdb.base/relocate.exp: Update invalid argument test.
5071 Add new tests for invalid arguments.
5072
5073 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5074
5075 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5076 Return 0 as a long.
5077 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5078
5079 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5080
5081 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5082 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5083 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5084 func ().
5085 * gdb.cp/shadow.cc (B.func): Return 0.
5086
5087 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5088
5089 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5090 expected output in gdb_expect call to allow the exception
5091 message to be present as well. Fix syntax confusion to avoid
5092 TCL thinking that exception_name is an array.
5093
5094 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5095
5096 * gdb.arch/spu-info.c: Include <unistd.h>.
5097 (do_signal_test): Fix broken calls to write.
5098 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5099 Fix checks for empty mailboxes. Update signal tests for corrected
5100 do_signal_test routine. Allow nonzero event status.
5101 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5102 * gdb.cell/arch.exp: Use standard_output_file.
5103 * gdb.cell/break.exp: Likewise.
5104 * gdb.cell/bt.exp: Likewise.
5105 * gdb.cell/core.exp: Likewise.
5106 * gdb.cell/dwarfaddr.exp: Likewise.
5107 * gdb.cell/ea-cache.exp: Likewise.
5108 * gdb.cell/ea-standalone.exp: Likewise.
5109 * gdb.cell/f-regs.exp: Likewise.
5110 * gdb.cell/fork.exp: Likewise.
5111 * gdb.cell/gcore.exp: Likewise.
5112 * gdb.cell/mem-access.exp: Likewise.
5113 * gdb.cell/ptype.exp: Likewise.
5114 * gdb.cell/registers.exp: Likewise.
5115 * gdb.cell/sizeof.exp: Likewise.
5116 * gdb.cell/solib-symbol.exp: Likewise.
5117 * gdb.cell/solib.exp: Likewise.
5118
5119 2017-11-25 Pedro Alves <palves@redhat.com>
5120
5121 * gdb.base/complete-empty.exp: New file.
5122 * gdb.base/completion.exp: Adjust.
5123
5124 2017-11-25 Pedro Alves <palves@redhat.com>
5125
5126 * gdb.linespec/cpls-ops.cc: New file.
5127 * gdb.linespec/cpls-ops.exp: New file.
5128 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5129 factored out from ...
5130 (test_complete_prefix_range): ... this.
5131
5132 2017-11-24 Pedro Alves <palves@redhat.com>
5133
5134 * gdb.linespec/cpcompletion.exp: New file.
5135 * gdb.linespec/cpls-hyphen.cc: New file.
5136 * gdb.linespec/cpls.cc: New file.
5137 * gdb.linespec/cpls2.cc: New file.
5138 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5139 test to use test_gdb_complete_unique. Add label completion,
5140 keyword completion and explicit location completion tests.
5141 * lib/completion-support.exp: New file.
5142
5143 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5144
5145 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5146 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5147 when hitting an exception catchpoint.
5148
5149 2017-11-22 Yao Qi <yao.qi@linaro.org>
5150
5151 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5152
5153 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5154
5155 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5156 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5157 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5158
5159 2017-11-22 Yao Qi <yao.qi@linaro.org>
5160
5161 * gdb.base/info-os.exp: Pass pthreads.
5162 * gdb.multi/multi-attach.exp: Likewise.
5163
5164 2017-11-22 Yao Qi <yao.qi@linaro.org>
5165
5166 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5167 compiler.
5168
5169 2017-11-22 Yao Qi <yao.qi@linaro.org>
5170
5171 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5172 * gdb.base/break-interp.exp: Likewise.
5173 * gdb.base/jit-attach-pie.exp: Likewise.
5174
5175 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5176
5177 * gdb.base/float128.c (large128): New variable.
5178 * gdb.base/float128.exp: Add test to print largest __float128 value.
5179
5180 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5181
5182 * gdb.arch/vsx-regs.exp: Update register content checks.
5183
5184 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5185
5186 * gdb.arch/ppc-longdouble.exp: New file.
5187 * gdb.arch/ppc-longdouble.c: Likewise.
5188
5189 2017-11-21 Pedro Alves <palves@redhat.com>
5190
5191 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5192
5193 2017-11-20 Pedro Alves <palves@redhat.com>
5194
5195 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5196 (long_double_typedef): New typedefs.
5197 Use DEF on double and long double.
5198 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5199 cases.
5200 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5201 and 'long_double_ptr_same_size' locals. Use them to decide
5202 whether cast from array/function to float is valid/invalid.
5203
5204 2017-11-17 Tom Tromey <tom@tromey.com>
5205
5206 * gdb.rust/traits.rs: New file.
5207 * gdb.rust/traits.exp: New file.
5208
5209 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5210
5211 * gdb.ada/minsyms: New testcase.
5212
5213 2017-11-16 Pedro Alves <palves@redhat.com>
5214
5215 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5216 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5217
5218 2017-11-16 Pedro Alves <palves@redhat.com>
5219
5220 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5221 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5222
5223 2017-11-16 Pedro Alves <palves@redhat.com>
5224
5225 * gdb.server/reconnect-ctrl-c.c: New file.
5226 * gdb.server/reconnect-ctrl-c.exp: New file.
5227
5228 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5229
5230 * gdb.python/py-rbreak.exp: New file.
5231 * gdb.python/py-rbreak.c: New file.
5232 * gdb.python/py-rbreak-func2.c: New file.
5233
5234 2017-11-16 Pedro Alves <palves@redhat.com>
5235
5236 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5237 pattern.
5238 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5239 GDB.
5240
5241 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5242
5243 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5244 regex.
5245
5246 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5247
5248 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5249 test names.
5250
5251 2017-11-09 Pedro Alves <palves@redhat.com>
5252
5253 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5254 factored out from ...
5255 (top level): ... here, and adjusted to avoid expecting beyond the
5256 prompt in a single gdb_test_multiple.
5257
5258 2017-11-09 Pedro Alves <palves@redhat.com>
5259
5260 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5261 output.
5262 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5263 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5264 * gdb.server/ext-run.exp ("kill" test): Likewise.
5265 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5266
5267 2017-11-09 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5270 match till end of line.
5271
5272 2017-11-09 Pedro Alves <palves@redhat.com>
5273
5274 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5275
5276 2017-11-09 Pedro Alves <palves@redhat.com>
5277
5278 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5279 New procedures, factored out from ...
5280 (top level): ... here, and adjusted to avoid expecting beyond the
5281 prompt in one go.
5282
5283 2017-11-09 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5286 output. Fix '?' match.
5287
5288 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5289
5290 * gdb.ada/scoped_watch: New testcase.
5291 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5292 which is actually correct.
5293 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5294 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5295
5296 2017-11-08 Pedro Alves <palves@redhat.com>
5297
5298 * gdb.gdb/complaints.exp (test_initial_complaints)
5299 (test_serial_complaints, test_short_complaints): Call
5300 complaint_internal instead of complaint.
5301
5302 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5303
5304 * gdb.threads/tls-core.c: New file.
5305 * gdb.threads/tls-core.exp: Likewise.
5306
5307 2017-11-08 Pedro Alves <palves@redhat.com>
5308
5309 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5310 (p Exported_Capitalized): New test.
5311 (p exported_capitalized): New test.
5312
5313 2017-11-07 Pedro Alves <palves@redhat.com>
5314
5315 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5316
5317 2017-11-07 Pedro Alves <palves@redhat.com>
5318
5319 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5320 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5321 (disable_invalid, disable_inverted, disable_negative): New
5322 procedures.
5323 ("bad numbers"): New set of tests.
5324
5325 2017-11-07 Pedro Alves <palves@redhat.com>
5326
5327 * gdb.cp/ena-dis-br-range.exp: Add tests.
5328
5329 2017-11-07 Pedro Alves <palves@redhat.com>
5330
5331 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5332
5333 2017-11-07 Xavier Roirand <roirand@adacore.com>
5334 Pedro Alves <palves@redhat.com>
5335
5336 * gdb.base/ena-dis-br.exp: Add reference to
5337 gdb.cp/ena-dis-br-range.exp.
5338 * gdb.cp/ena-dis-br-range.exp: New file.
5339 * gdb.cp/ena-dis-br-range.cc: New file.
5340
5341 2017-11-06 Pedro Alves <palves@redhat.com>
5342
5343 * gdb.base/attach-non-pgrp-leader.c: New.
5344 * gdb.base/attach-non-pgrp-leader.exp: New.
5345
5346 2017-11-06 Pedro Alves <palves@redhat.com>
5347
5348 * configure.ac: No longer check for termio.h and sgtty.h.
5349 * configure: Regenerate.
5350 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5351 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5352 Remove termio and sgtty code.
5353
5354 2017-11-03 Yao Qi <yao.qi@linaro.org>
5355
5356 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5357 in GDB is disabled.
5358
5359 2017-11-03 Yao Qi <yao.qi@linaro.org>
5360
5361 * gdb.python/py-thrhandle.exp: Skip it if python is not
5362 enabled.
5363
5364 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5365
5366 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5367 as a breakpoint command.
5368
5369 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5370
5371 PR python/21213
5372 * gdb.python/py-infthread.exp: Test calling
5373 InferiorThread.inferior () multiple times in a row.
5374
5375 2017-10-27 Keith Seitz <keiths@redhat.com>
5376
5377 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5378 Test "info break" for every inlined function breakpoint.
5379
5380 2017-10-27 Yao Qi <yao.qi@linaro.org>
5381
5382 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5383
5384 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5385
5386 * gdb.cp/classes.exp (test_static_members): Test printing
5387 Outer::instance.
5388 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5389 (Inner::instance, Outer::instance): New.
5390
5391 2017-10-24 Pedro Alves <palves@redhat.com>
5392
5393 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5394 extra console" test in two stages.
5395
5396 2017-10-24 Pedro Alves <palves@redhat.com>
5397
5398 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5399
5400 2017-10-24 Pedro Alves <palves@redhat.com>
5401
5402 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5403 loop.
5404
5405 2017-10-24 Pedro Alves <palves@redhat.com>
5406
5407 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5408 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5409
5410 2017-10-24 Pedro Alves <palves@redhat.com>
5411
5412 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5413 parameter and handle it. Don't output read value in test name.
5414
5415 2017-10-24 Pedro Alves <palves@redhat.com>
5416
5417 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5418 custom test name.
5419
5420 2017-10-24 Pedro Alves <palves@redhat.com>
5421
5422 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5423 include the unstable output directory name in the test's name.
5424 (initial_setup_simple) <'set args'>: Use custom test name.
5425
5426 2017-10-24 Pedro Alves <palves@redhat.com>
5427
5428 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5429 with explicit test name.
5430
5431 2017-10-20 Pedro Alves <palves@redhat.com>
5432
5433 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5434 'wait -i'. Use gdb_assert and remote_close.
5435
5436 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5437
5438 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5439 number from variable rather than hard-coded.
5440
5441 2017-10-19 Pedro Alves <palves@redhat.com>
5442
5443 * gdb.base/long-inferior-output.c: New file.
5444 * gdb.base/long-inferior-output.exp: New file.
5445
5446 2017-11-18 Keith Seitz <keiths@redhat.com>
5447
5448 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5449 method.
5450 (main): Call it.
5451 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5452 Add additional user-defined conversion operator tests.
5453
5454 2017-10-17 Pedro Alves <palves@redhat.com>
5455
5456 * boards/native-stdio-gdbserver.exp: Load "local-board".
5457
5458 2017-10-17 Pedro Alves <palves@redhat.com>
5459
5460 * gdb.base/quit-live.c: New file.
5461 * gdb.base/quit-live.exp: New file.
5462
5463 2017-10-16 Keith Seitz <keiths@redhat.com>
5464
5465 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5466 (class_with_protected_typedef, class_with_private_typedef)
5467 (struct_with_public_typedef, struct_with_protected_typedef)
5468 (struct_with_private_typedef): New classes/structs.
5469 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5470 typedefs and access specifiers.
5471
5472 2017-10-16 Pedro Alves <palves@redhat.com>
5473 Simon Marchi <simon.marchi@polymtl.ca>
5474
5475 * README (Local vs Remote vs Native): New section.
5476 * boards/local-board.exp: New file, with bits factored out from
5477 ...
5478 * boards/native-extended-gdbserver.exp: ... here. Load
5479 "local-board".
5480 * boards/native-gdbserver.exp: Load "local-board".
5481 (${board}_spawn, ${board}_exec): Delete.
5482 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5483 ...
5484 * boards/stdio-gdbserver-base.exp: ... this new file.
5485 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5486 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5487 procedure.
5488 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5489 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5490 stdio_gdbserver_command.
5491 (${board}_get_remote_address, ${board}_get_comm_port)
5492 (${board}_download, ${board}_upload): Delete.
5493 (get_target_remote_pipe_cmd): New.
5494
5495 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5496
5497 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5498 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5499 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5500 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5501 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5502 remove with_test_prefix.
5503
5504 2017-10-13 Pedro Alves <palves@redhat.com>
5505
5506 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5507 * gdb.base/annota1.exp: Use it instead of is_remote.
5508 * gdb.base/annota3.exp: Use it instead of is_remote.
5509 * gdb.cp/annota2.exp: Use it instead of is_remote.
5510 * gdb.cp/annota3.exp: Use it instead of is_remote.
5511 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5512
5513 2017-10-13 Pedro Alves <palves@redhat.com>
5514
5515 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5516 (test_num_test_vars, run_and_count_vars, find_env)
5517 (test_set_unset_env, test_inherit_env_var): New procedures.
5518 (top level): Use them.
5519
5520 2017-10-13 Pedro Alves <palves@redhat.com>
5521
5522 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5523 also skip on stub-like targets.
5524
5525 2017-10-13 Pedro Alves <palves@redhat.com>
5526
5527 PR gdb/22293
5528 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5529 (top level): Move some tests to ...
5530 (test_not_found): ... this new procedure.
5531 (top level): Call it.
5532
5533 2017-10-13 Pedro Alves <palves@redhat.com>
5534
5535 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5536 expect different "info terminal" output if testing with a
5537 non-native target.
5538
5539 2017-10-13 Pedro Alves <palves@redhat.com>
5540 Simon Marchi <simon.marchi@polymtl.ca>
5541
5542 PR python/12966
5543 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5544
5545 2017-10-13 Pedro Alves <palves@redhat.com>
5546
5547 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5548 already.
5549
5550 2017-10-13 Pedro Alves <palves@redhat.com>
5551
5552 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5553 is_remote.
5554
5555 2017-10-13 Pedro Alves <palves@redhat.com>
5556
5557 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5558 is_remote.
5559
5560 2017-10-13 Pedro Alves <palves@redhat.com>
5561
5562 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5563 is set.
5564 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5565 instead of is_remote.
5566
5567 2017-10-13 Pedro Alves <palves@redhat.com>
5568
5569 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5570 (top level): Add comment.
5571
5572 2017-10-13 Pedro Alves <palves@redhat.com>
5573
5574 * gdb.base/remote.exp (top level): Fix comment typo and add
5575 missing return.
5576
5577 2017-10-13 Pedro Alves <palves@redhat.com>
5578 Simon Marchi <simon.marchi@polymtl.ca>
5579
5580 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5581 calls and add comments. Skip test if use_gdb_stub is set.
5582 (top level): Use "set cwd" command instead of "cd" command.
5583
5584 2017-10-13 Pedro Alves <palves@redhat.com>
5585
5586 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5587 is_remote target check.
5588
5589 2017-10-13 Pedro Alves <palves@redhat.com>
5590
5591 * gdb.base/scope.exp: Use build_executable + clean_restart +
5592 gdb_file_cmd instead of prepare_for_testing and no longer skip
5593 "before run" tests on is_remote target boards. Update comments.
5594 * boards/native-extended-gdbserver.exp
5595 (extended_gdbserver_load_last_file): New, factored out from ...
5596 (gdb_load): ... this. Move further below and add comment.
5597 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5598
5599 2017-10-12 Pedro Alves <palves@redhat.com>
5600
5601 * gdb.base/attach.exp: Remove references to gdb64.
5602 * gdb.base/dbx.exp: Remove references to gdb64.
5603
5604 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5605 Pedro Alves <palves@redhat.com>
5606
5607 * gdb.base/label.exp: Remove is_remote target check.
5608
5609 2017-10-12 Pedro Alves <palves@redhat.com>
5610
5611 * gdb.base/auvx.exp (coredir): Update comment.
5612 (top level) <core_works>: Use "set cwd" command instead of "cd"
5613 command.
5614
5615 2017-10-12 Pedro Alves <palves@redhat.com>
5616 Simon Marchi <simon.marchi@polymtl.ca>
5617
5618 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5619 target boards.
5620
5621 2017-10-12 Pedro Alves <palves@redhat.com>
5622 Simon Marchi <simon.marchi@polymtl.ca>
5623
5624 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5625 Instead skip if there's any gdb_protocol set.
5626
5627 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5628 Pedro Alves <palves@redhat.com>
5629
5630 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5631
5632 2017-10-12 Pedro Alves <palves@redhat.com>
5633 Simon Marchi <simon.marchi@polymtl.ca>
5634
5635 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5636 instead of on dejagnu remote boards.
5637
5638 2017-10-12 Pedro Alves <palves@redhat.com>
5639 Simon Marchi <simon.marchi@polymtl.ca>
5640
5641 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5642 checks. Use build_executable + clean_restart instead of
5643 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5644 of enabling non-stop after starting gdb.
5645
5646 2017-10-12 Pedro Alves <palves@redhat.com>
5647
5648 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5649 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5650 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5651 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5652
5653 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5654
5655 * gdb.arch/arc-tdesc-cpu.exp: New file.
5656 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5657
5658 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5659
5660 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5661
5662 2017-10-10 Pedro Alves <palves@redhat.com>
5663
5664 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5665 expect CLI output.
5666
5667 2017-10-10 Pedro Alves <palves@redhat.com>
5668
5669 * lib/selftest-support.exp (selftest_setup): Update for
5670 captured_command_loop's prototype change.
5671
5672 2017-10-09 Pedro Alves <palves@redhat.com>
5673
5674 Test both arch1=>arch2 and arch2=>arch1.
5675
5676 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5677 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5678 factored out to...
5679 (append_arch1_options, append_arch2_options, append_arch_options)
5680 (build_executables): New procedures.
5681 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5682 local.
5683 (top level): Add new 'first_arch' testing axis.
5684
5685 2017-10-09 Pedro Alves <palves@redhat.com>
5686
5687 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5688 (barrier): New.
5689 (thread_start, all_started): New functions.
5690 (main): Spawn new thread and wait until it is scheduled.
5691 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5692 option.
5693 (do_test): Add 'selected_thread' parameter. Run to all_started
5694 instead of main. Explicitly set the breakpoint at main. Switch
5695 to the SELECTED_THREAD thread.
5696 (top level): Test handling the exec event with either the main
5697 thread or the second thread selected.
5698
5699 2017-10-09 Pedro Alves <palves@redhat.com>
5700
5701 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5702 logic. Move STOP marker after the value checks.
5703 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5704 regexp.
5705
5706 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5707
5708 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5709
5710 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5711
5712 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5713 integer-to-dfp conversion.
5714 * gdb.base/dfp-test.exp: Likewise.
5715
5716 2017-10-04 Pedro Alves <palves@redhat.com>
5717
5718 * gdb.multi/hangout.c: Include <unistd.h>.
5719 (hangout_loop): New function.
5720 (main): Call alarm. Call hangout_loop in a loop.
5721 * gdb.multi/hello.c: Include <unistd.h>.
5722 (hello_loop): New function.
5723 (main): Call alarm. Call hangout_loop in a loop.
5724 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5725 inferior with the other selected.
5726
5727 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5728
5729 * gdb.mi/list-thread-groups-available.exp: New file.
5730 * gdb.mi/list-thread-groups-available.c: New file.
5731
5732 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5733
5734 * gdb.base/set-cwd.exp: Make it available on
5735 native-extended-gdbserver.
5736
5737 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5738
5739 * gdb.base/set-cwd.c: New file.
5740 * gdb.base/set-cwd.exp: Likewise.
5741
5742 2017-10-02 Tom Tromey <tom@tromey.com>
5743
5744 PR rust/22236:
5745 * gdb.rust/simple.rs (main): New variable "fslice".
5746 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5747
5748 2017-10-02 Tom Tromey <tom@tromey.com>
5749
5750 * gdb.rust/simple.exp: Test ptype of a slice.
5751
5752 2017-10-02 Tom Tromey <tom@tromey.com>
5753
5754 * gdb.rust/simple.exp: Test index of slice.
5755
5756 2017-09-27 Tom Tromey <tom@tromey.com>
5757
5758 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5759
5760 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5761 Pedro Alves <palves@redhat.com>
5762
5763 * gdb.base/compare-sections.exp (get value of read-only section): Read
5764 as unsigned value.
5765 (corrupt read-only section): Likewise and don't set written if patching
5766 failed.
5767
5768 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5769
5770 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5771 files.
5772
5773 2017-09-20 Pedro Alves <palves@redhat.com>
5774
5775 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5776 symbol names in gdb's output.
5777 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5778
5779 2017-09-20 Pedro Alves <palves@redhat.com>
5780
5781 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5782 Rename to ...
5783 (test_list_ambiguous_symbol): ... this and add a symbol name
5784 parameter. Adjust.
5785 (test_list_ambiguous_function): Reimplement on top of
5786 test_list_ambiguous_symbol and also test listing ambiguous
5787 variables.
5788 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5789 (ambiguous_fun): ... this.
5790 (ambiguous_var): New.
5791 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5792 (ambiguous_fun): ... this.
5793 (ambiguous_var): New.
5794
5795 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5796
5797 * gdb.base/starti.c: New file.
5798 * gdb.base/starti.exp: New file.
5799 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5800
5801 2017-09-14 Pedro Alves <palves@redhat.com>
5802
5803 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5804 (top level): Use it instead of runto.
5805
5806 2017-09-11 Tom Tromey <tom@tromey.com>
5807
5808 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5809
5810 2017-09-11 Tom Tromey <tom@tromey.com>
5811
5812 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5813 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5814
5815 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5816
5817 * gdb.fortran/printing-types.exp: New file.
5818 * gdb.fortran/printing-types.exp: New file.
5819
5820 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5821
5822 * gdb.fortran/vla-ptype.exp: Fix typos.
5823 * gdb.fortran/vla-value.exp: Same.
5824
5825 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5826
5827 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5828 * gdb.mi/mi-var-child-f.exp: Likewise.
5829 * gdb.mi/mi-vla-fortran.exp: Likewise.
5830
5831 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5832 Christoph Weinmann <christoph.t.weinmann@intel.com>
5833 Bernhard Heckel <bernhard.heckel@intel.com>
5834
5835 * gdb.fortran/ptr-indentation.f90: New file.
5836 * gdb.fortran/ptr-indentation.exp: New file.
5837
5838 2017-09-05 Tom Tromey <tom@tromey.com>
5839
5840 PR gdb/22010:
5841 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5842
5843 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5844
5845 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5846
5847 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5848
5849 * gdb.threads/tls-nodebug-pie.c: New file.
5850 * gdb.threads/tls-nodebug-pie.exp: New file.
5851
5852 2017-09-05 Tom Tromey <tom@tromey.com>
5853
5854 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5855 for rust.
5856
5857 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5858
5859 * gdb.multi/multi-arch-exec.exp: Test with different
5860 "follow-exec-mode" settings.
5861 (do_test): New procedure.
5862
5863 2017-09-04 Pedro Alves <palves@redhat.com>
5864
5865 * gdb.base/func-static.c (S::method const, S::method volatile)
5866 (S::method volatile const): New methods.
5867 (c_s, v_s, cv_s): New instances.
5868 (main): Call method() on them.
5869 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5870 (cannot_resolve): New procedure.
5871 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5872 print-quote-unquoted columns.
5873 (do_test): Test printing each scope too.
5874
5875 2017-09-04 Pedro Alves <palves@redhat.com>
5876
5877 * gdb.base/local-static.exp: Also test with
5878 class::method::variable wholly quoted.
5879 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5880
5881 2017-09-04 Pedro Alves <palves@redhat.com>
5882
5883 * gdb.base/local-static.c: New.
5884 * gdb.base/local-static.cc: New.
5885 * gdb.base/local-static.exp: New.
5886
5887 2017-09-04 Pedro Alves <palves@redhat.com>
5888
5889 * gdb.asm/asm-source.exp: Add casts to int.
5890 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5891 (dataglobal64_1, dataglobal64_2): New globals.
5892 * gdb.base/nodebug.exp: Test different expressions involving the
5893 new globals, with print, whatis and ptype. Add casts to int.
5894 * gdb.base/solib-display.exp: Add casts to int.
5895 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5896 * gdb.cp/m-static.exp: Add cast to int.
5897 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5898 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5899 tls variable with no debug info without a cast. Test with a cast
5900 to int too.
5901 * gdb.trace/entry-values.exp: Add casts.
5902
5903 2017-09-04 Pedro Alves <palves@redhat.com>
5904
5905 * gdb.base/nodebug.exp: Test that ptype's error about functions
5906 with unknown return type includes the function name too.
5907
5908 2017-09-04 Pedro Alves <palves@redhat.com>
5909
5910 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5911 return type of munmap in infcall.
5912 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5913 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5914 type of ftell in infcall.
5915 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5916 type of getpid in infcall.
5917 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5918 infcall.
5919 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5920 Bail on failure to extract the pid.
5921 * gdb.base/nodebug.c: #include <stdint.h>.
5922 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5923 New functions.
5924 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5925 Change expected output of print/whatis/ptype with functions with
5926 no debug info. Test all supported languages. Call
5927 test_call_promotion.
5928 * gdb.compile/compile.exp: Adjust expected output to expect
5929 warning.
5930 * gdb.threads/siginfo-threads.exp: Likewise.
5931
5932 2017-09-04 Pedro Alves <palves@redhat.com>
5933
5934 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5935 "prototypes". Test calling float functions via prototyped and
5936 unprototyped function pointers.
5937 (perform_all_tests): New parameter "prototypes". Pass it down.
5938 (top level): Pass down "prototypes" parameter to
5939 perform_all_tests.
5940
5941 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5942
5943 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5944 Test with nested loops.
5945
5946 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5947
5948 * gdb.base/commands.exp: Call the new procedures.
5949 (loop_break_test, loop_continue_test): New procedures.
5950
5951 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5952
5953 * gdb.base/commands.exp: Call new procedure.
5954 (define_if_without_arg_test): New procedure.
5955
5956 2017-09-04 Pedro Alves <palves@redhat.com>
5957
5958 * gdb.base/list-ambiguous.exp: New file.
5959 * gdb.base/list-ambiguous0.c: New file.
5960 * gdb.base/list-ambiguous1.c: New file.
5961 * gdb.base/list.exp (test_list_range): Adjust expected output.
5962
5963 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5964
5965 * gdb.base/share-env-with-gdbserver.c: New file.
5966 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5967
5968 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5969
5970 * gdb.base/commands.exp (gdbvar_simple_if_test,
5971 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5972 progvar_simple_if_test, progvar_simple_while_test,
5973 progvar_complex_if_while_test, user_defined_command_test,
5974 user_defined_command_args_eval,
5975 user_defined_command_args_stack_test,
5976 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5977 temporary_breakpoint_commands,
5978 gdb_test_no_prompt, redefine_hook_test,
5979 redefine_backtrace_test): Remove "global gdb_prompt".
5980
5981 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5982
5983 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5984 New proc, call it from toplevel.
5985
5986 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5987
5988 PR remote/21852
5989 * gdb.server/normal.c: New file, copied from gdb.base.
5990 * gdb.server/run-without-local-binary.exp: New file.
5991
5992 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5993
5994 * gdb.arch/sparc64-adi.exp: New file.
5995 * gdb.arch/sparc64-adi.c: New file.
5996
5997 2017-08-22 Pedro Alves <palves@redhat.com>
5998
5999 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6000 (top level): Add "list all overloads" tests.
6001
6002 2017-08-22 Tom Tromey <tom@tromey.com>
6003
6004 * gdb.gdb/xfullpath.exp: Remove.
6005
6006 2017-08-21 Pedro Alves <palves@redhat.com>
6007
6008 PR gdb/19487
6009 * gdb.base/symbol-alias.c: New.
6010 * gdb.base/symbol-alias2.c: New.
6011 * gdb.base/symbol-alias.exp: New.
6012
6013 2017-08-21 Pedro Alves <palves@redhat.com>
6014
6015 * gdb.base/dfp-test.c
6016 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6017 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6018 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6019 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6020 * gdb.base/whatis-ptype-typedefs.c: New.
6021 * gdb.base/whatis-ptype-typedefs.exp: New.
6022 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6023 (an_int, an_int_type, an_int_type2): New globals.
6024 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6025 involving typedefs and cast expressions.
6026 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6027 (lookup_typedefs_function): New.
6028 (typedefs_pretty_printers_dict): New.
6029 (top level): Register lookup_typedefs_function in
6030 gdb.pretty_printers.
6031
6032 2017-08-18 Yao Qi <yao.qi@linaro.org>
6033
6034 * gdb.server/unittest.exp: New.
6035
6036 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6037
6038 PR gdb/21954
6039 * gdb.base/environ.exp: Add test to check if 'unset environment'
6040 works.
6041
6042 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6043
6044 * lib/gdb.exp (universal_compile_options): New caching proc.
6045 (gdb_compile): Suppress GCC's coloring of messages.
6046
6047 2017-08-14 Tom Tromey <tom@tromey.com>
6048
6049 PR gdb/21675:
6050 * gdb.base/printcmds.exp (test_radices): New function.
6051 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6052 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6053 * lib/gdb.exp (get_integer_valueof): Use p/d.
6054
6055 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6056
6057 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6058 characters.
6059
6060 2017-08-05 Tom Tromey <tom@tromey.com>
6061
6062 * gdb.rust/simple.exp: Allow String to appear in a different
6063 namespace.
6064
6065 2017-07-26 Yao Qi <yao.qi@linaro.org>
6066
6067 * gdb.gdb/unittest.exp: Invoke command
6068 "maintenance check xml-descriptions".
6069
6070 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6071
6072 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6073 calling context.
6074 (hex128): Drop erroneous calculation of parameters.
6075
6076 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6077
6078 * gdb.python/py-unwind.exp: Disable stack protection when
6079 building test file.
6080
6081 2017-07-20 Pedro Alves <palves@redhat.com>
6082
6083 * gdb.base/default.exp (set language): Adjust expected output.
6084
6085 2017-07-20 Pedro Alves <palves@redhat.com>
6086
6087 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6088 (test_minsym): ... this, and make static.
6089 (get_pck__foo__bar__minsym): Rename to ...
6090 (get_test_minsym): ... this.
6091 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6092 symbol names and comments.
6093 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6094 (get_test_minsym): ... this.
6095 (pck__foo__bar__minsym__2): Rename to ...
6096 (test_minsym): ... this.
6097 (main): Adjust.
6098
6099 2017-07-17 Pedro Alves <palves@redhat.com>
6100
6101 * gdb.base/completion.exp: Adjust expected output.
6102 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6103 the completer works.
6104
6105 2017-07-17 Pedro Alves <palves@redhat.com>
6106
6107 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6108
6109 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6110
6111 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6112
6113 2017-07-14 Tom Tromey <tom@tromey.com>
6114
6115 PR rust/21764:
6116 * gdb.rust/simple.exp: Add tests.
6117
6118 2017-07-14 Tom Tromey <tom@tromey.com>
6119
6120 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6121
6122 2017-07-14 Pedro Alves <palves@redhat.com>
6123
6124 * gdb.linespec/base/one/thefile.cc (z1): New function.
6125 * gdb.linespec/base/two/thefile.cc (z2): New function.
6126 * gdb.linespec/linespec.exp: Add tests.
6127
6128 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6129
6130 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6131 to mi_create_breakpoint.
6132
6133 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6134
6135 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6136 mi_create_breakpoint.
6137
6138 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6139
6140 * gdb.dlang/demangle.exp: Update for demangling changes.
6141
6142 2017-07-09 Tom Tromey <tom@tromey.com>
6143
6144 * gdb.dwarf2/shortpiece.exp: New file.
6145
6146 2017-07-06 David Blaikie <dblaikie@gmail.com>
6147
6148 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6149 built from fissiont-multi-cu{1,2}.c.
6150 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6151 except putting 'main' and 'func' in separate CUs in the same DWO file.
6152 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6153 test.
6154 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6155 test.
6156
6157 2017-07-06 Pedro Alves <palves@redhat.com>
6158
6159 * gdb.python/py-unwind.exp: Test flushregs.
6160
6161 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6162
6163 PR cli/21688
6164 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6165 tests for alias commands and trailing whitespace.
6166
6167 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6168
6169 PR cli/21688
6170 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6171 procedure. Call it.
6172
6173 2017-06-29 Pedro Alves <palves@redhat.com>
6174
6175 * gdb.base/printcmds.exp: Add tests.
6176
6177 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6178
6179 PR gdb/21337
6180 * gdb.base/reread-readsym.exp: New file.
6181 * gdb.base/reread-readsym.c: New file.
6182
6183 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6184
6185 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6186 subpattern.
6187
6188 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6189
6190 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6191 extended mnemonic.
6192 * gdb.arch/powerpc-power9.s: Likewise.
6193
6194 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6195
6196 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6197 on 32-bit x86 targets. Exploit is_*_target macros where
6198 appropriate.
6199
6200 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6201
6202 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6203 register pieces.
6204
6205 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6206
6207 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6208 located in one or more DWARF pieces.
6209
6210 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6211
6212 * lib/gdb.exp (get_endianness): New proc.
6213 * gdb.arch/aarch64-fp.exp: Use it.
6214 * gdb.arch/altivec-regs.exp: Likewise.
6215 * gdb.arch/e500-regs.exp: Likewise.
6216 * gdb.arch/vsx-regs.exp: Likewise.
6217 * gdb.base/dump.exp: Likewise.
6218 * gdb.base/funcargs.exp: Likewise.
6219 * gdb.base/gnu_vector.exp: Likewise.
6220 * gdb.dwarf2/formdata16.exp: Likewise.
6221 * gdb.dwarf2/implptrpiece.exp: Likewise.
6222 * gdb.dwarf2/nonvar-access.exp: Likewise.
6223 * gdb.python/py-inferior.exp: Likewise.
6224 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6225
6226 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6227
6228 PR gdb/21226
6229 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6230 stack value pieces are taken from the LSB end.
6231
6232 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6233
6234 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6235 variable at nonzero offset.
6236
6237 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6238
6239 * gdb.dwarf2/var-access.c: New file.
6240 * gdb.dwarf2/var-access.exp: New test.
6241 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6242
6243 2017-06-12 Tom Tromey <tom@tromey.com>
6244
6245 * gdb.dwarf2/formdata16.exp: Add tests.
6246
6247 2017-06-12 Tom Tromey <tom@tromey.com>
6248
6249 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6250
6251 2017-06-12 Tom Tromey <tom@tromey.com>
6252
6253 PR exp/16225:
6254 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6255 * gdb.arch/vsx-regs.exp: Update tests.
6256 * gdb.arch/s390-vregs.exp (hex128): New proc.
6257 Update test.
6258 * gdb.arch/altivec-regs.exp: Update tests.
6259
6260 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6261
6262 * gdb.base/startup-with-shell.c: New file.
6263 * gdb.base/startup-with-shell.exp: Likewise.
6264
6265 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6266
6267 * gdb.server/non-existing-program.exp: Update regex in order to
6268 reflect the fact that gdbserver is now using fork_inferior (with a
6269 shell) to startup the inferior.
6270
6271 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6272
6273 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6274 support function calls from GDB.
6275
6276 2017-05-21 Tom Tromey <tom@tromey.com>
6277
6278 PR rust/21466:
6279 * gdb.rust/unsized.exp: New file.
6280 * gdb.rust/unsized.rs: New file.
6281
6282 2017-05-19 Tom Tromey <tom@tromey.com>
6283
6284 PR rust/21484:
6285 * gdb.rust/watch.exp: New file.
6286 * gdb.rust/watch.rs: New file.
6287
6288 2017-05-18 Tom Tromey <tom@tromey.com>
6289
6290 * gdb.rust/simple.exp: Allow Box to be qualified.
6291
6292 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6293
6294 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6295
6296 2017-05-18 Pedro Alves <palves@redhat.com>
6297
6298 * gdb.base/fileio.c (test_write, test_read, test_close)
6299 (test_fstat): Don't print 'ret' in the fail path.
6300
6301 2017-05-18 Pedro Alves <palves@redhat.com>
6302
6303 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6304 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6305 (test_system, test_rename, test_unlink, test_time): Change
6306 prototypes.
6307 * gdb.base/fileio.exp (stop_msg): Adjust.
6308
6309 2017-05-18 Pedro Alves <palves@redhat.com>
6310
6311 * gdb.base/fileio.c (null_str): New global.
6312 (test_stat): Use it.
6313 * gdb.base/fileio.exp: Remove nowarnings.
6314
6315 2017-05-17 Yao Qi <yao.qi@linaro.org>
6316
6317 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6318
6319 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6320
6321 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6322 argument command.
6323 (top-level): Invoke test_set_inferior_tty.
6324
6325 2017-05-04 Pedro Alves <palves@redhat.com>
6326
6327 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6328 Add parens to print call for Python 3.
6329
6330 2017-05-03 Keith Seitz <keiths@redhat.com>
6331
6332 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6333 (main): Call it.
6334
6335 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6336
6337 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6338 to prev and next.
6339
6340 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6341
6342 * gdb.python/py-record-btrace.exp: Remove test for
6343 gdb.BtraceInstruction.error.
6344
6345 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6346
6347 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6348
6349 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6350
6351 * gdb.python/py-record-btrace-threads.c: New file.
6352 * gdb.python/py-record-btrace-threads.exp: New file.
6353
6354 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6355
6356 PR testsuite/8595
6357 * gdb.base/environ.exp: Make test available in all architectures.
6358 Move bits related to "info program" testing to
6359 gdb.base/info-program.exp. Rewrite tests to use the two new
6360 procedures mentione below.
6361 (test_set_show_env_var) New procedure.
6362 (test_set_show_env_var_equal): Likewise.
6363 * gdb.base/info-program.exp: New file.
6364
6365 2017-04-27 Keith Seitz <keiths@redhat.com>
6366
6367 * gdb.cp/oranking.cc (test15): New function.
6368 (main): Call test15 and declare additional variables for testing.
6369 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6370 "p foo101('abc')" tests.
6371 Add tests for cv qualifier overloads.
6372 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6373 "lvalue reference overload" test.
6374 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6375 "print value of f1 on Child&& in f2" test.
6376
6377 2017-04-19 Pedro Alves <palves@redhat.com>
6378
6379 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6380 procedure.
6381 (top level): Call it.
6382 * lib/gdb.exp (gdb_define_cmd): New procedure.
6383
6384 2017-04-12 Pedro Alves <palves@redhat.com>
6385
6386 PR gdb/21323
6387 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6388 (wchar): New global.
6389 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6390 (do_test_wide_char, wide_char_types_no_program, top level): Add
6391 wchar_t testing.
6392
6393 2017-04-12 Pedro Alves <palves@redhat.com>
6394
6395 PR c++/21323
6396 * gdb.cp/wide_char_types.c: New file.
6397 * gdb.cp/wide_char_types.exp: New file.
6398
6399 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6400
6401 PR gdb/21352
6402 * gdb.trace/tsv.exp: Add test for "tsave -r".
6403
6404 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6405
6406 * gdb.dlang/watch-loc.c: New file.
6407 * gdb.dlang/watch-loc.exp: New file.
6408
6409 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6410
6411 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6412
6413 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6414
6415 * gdb.arch/arc-analyze-prologue.S: New file.
6416 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6417
6418 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6419
6420 * gdb.arch/arc-decode-insn.S: New file.
6421 * gdb.arch/arc-decode-insn.exp: Likewise.
6422
6423 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6424
6425 PR tdep/20928
6426 * gdb.arch/sparc64-regs.exp: New file.
6427 * gdb.arch/sparc64-regs.S: Likewise.
6428
6429 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6430
6431 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6432 and memory view on Python 3.
6433
6434 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6435 Keith Seitz <keiths@redhat.com>
6436
6437 PR gdb/14441
6438 * gdb.cp/demangle.exp: Add rvalue reference tests.
6439 * gdb.cp/rvalue-ref-casts.cc: New file.
6440 * gdb.cp/rvalue-ref-casts.exp: New file.
6441 * gdb.cp/rvalue-ref-overload.cc: New file.
6442 * gdb.cp/rvalue-ref-overload.exp: New file.
6443 * gdb.cp/rvalue-ref-params.cc: New file.
6444 * gdb.cp/rvalue-ref-params.exp: New file.
6445 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6446 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6447 * gdb.cp/rvalue-ref-types.cc: New file.
6448 * gdb.cp/rvalue-ref-types.exp: New file.
6449 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6450 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6451
6452 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6453
6454 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6455 New procedure.
6456
6457 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6458
6459 * lib/mi-support.exp (mi_gdb_test): Add additional message
6460 for unexpected output.
6461
6462 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6463
6464 * gdb.base/examine-backward.c (Barrier): New character array
6465 constant, to ensure that TestStrings is preceded by a string
6466 terminator.
6467
6468 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6469
6470 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6471 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6472 and implicit pointer into such a location.
6473
6474 2017-03-16 Doug Evans <dje@google.com>
6475
6476 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6477
6478 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6479
6480 * gdb.cp/m-static.exp: Fix expectation for prototype of
6481 test5.single_constructor and single_constructor::single_constructor.
6482
6483 2017-03-16 Doug Evans <dje@google.com>
6484
6485 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6486 * gdb.guile/scm-lazy-string.c: New file.
6487 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6488 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6489 for pointer, array, typedef lazy strings.
6490
6491 2017-03-16 Doug Evans <dje@google.com>
6492
6493 PR python/17728, python/18439, python/18779
6494 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6495 * gdb.python/py-lazy-string.c (pointer): New typedef.
6496 (main): New locals ptr, array, typedef_ptr.
6497 * gdb.python/py-value.exp: Move lazy string tests to ...
6498 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6499 array, typedef lazy strings.
6500
6501 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6502
6503 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6504 Add optional 'test' parameter.
6505
6506 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6507
6508 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6509 Skip for versions of DejaGnu < 1.5.
6510
6511 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6512
6513 * lib/gdb.exp (dejagnu_version): New proc.
6514 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6515 Use dejagnu_version.
6516
6517 2017-03-10 Keith Seitz <keiths@redhat.com>
6518
6519 PR c++/8128
6520 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6521 type from destructor regexps.
6522 Add a branch which actually passes the test.
6523 Adjust "ptype t5i" test names.
6524
6525 2017-03-08 Pedro Alves <palves@redhat.com>
6526
6527 * gdb.base/step-over-exit.exp: Add explicit test message.
6528
6529 2017-03-08 Pedro Alves <palves@redhat.com>
6530
6531 PR gdb/18360
6532 * gdb.threads/interrupt-while-step-over.c: New file.
6533 * gdb.threads/interrupt-while-step-over.exp: New file.
6534
6535 2017-03-08 Pedro Alves <palves@redhat.com>
6536
6537 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6538 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6539
6540 2017-03-08 Pedro Alves <palves@redhat.com>
6541
6542 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6543 PKRU as not supported as a PASS.
6544
6545 2017-03-08 Pedro Alves <palves@redhat.com>
6546
6547 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6548 prefix instead of $binfile1/$binfile2.
6549 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6550 in test message.
6551 * gdb.python/py-completion.exp: Use "load python file" as test
6552 messages instead of unstable path names.
6553
6554 2017-03-08 Pedro Alves <palves@redhat.com>
6555 Jan Kratochvil <jan.kratochvil@redhat.com>
6556
6557 PR cli/21218
6558 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6559 New proc.
6560 (top level): Call it.
6561
6562 2017-03-08 Pedro Alves <palves@redhat.com>
6563
6564 PR tui/21216
6565 * gdb.tui/tui-nl-filtered-output.exp: New file.
6566
6567 2017-03-08 Pedro Alves <palves@redhat.com>
6568
6569 * gdb.base/completion.exp: Move TUI completion tests to ...
6570 * gdb.tui/completion.exp: ... this new file.
6571
6572 2017-03-08 Pedro Alves <palves@redhat.com>
6573
6574 * gdb.base/tui-disasm-long-lines.c,
6575 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6576 gdb.base/tui-layout.exp: Move to ...
6577 * gdb.tui/: ... this new directory.
6578
6579 2017-03-07 Pedro Alves <palves@redhat.com>
6580
6581 * gdb.base/tui-layout.c: New file.
6582 * gdb.base/tui-layout.exp: New file.
6583
6584 2017-03-07 Pedro Alves <palves@redhat.com>
6585
6586 * gdb.base/tui-layout.c: Rename to ...
6587 * gdb.base/tui-disasm-long-lines.c: ... this.
6588 * gdb.base/tui-layout.exp: Rename to ...
6589 * gdb.base/tui-disasm-long-lines.exp: ... this.
6590
6591 2017-03-07 Pedro Alves <palves@redhat.com>
6592
6593 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6594
6595 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6596
6597 * i386-mpx-call.c: New file.
6598 * i386-mpx-call.exp: New file.
6599
6600 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6601
6602 * gdb.arch/powerpc-power.exp: Delete test.
6603 * gdb.arch/powerpc-power.s: Likewise.
6604 * gdb.disasm/disassembler-options.exp: New test.
6605 * gdb.arch/powerpc-altivec.exp: Likewise.
6606 * gdb.arch/powerpc-altivec.s: Likewise.
6607 * gdb.arch/powerpc-altivec2.exp: Likewise.
6608 * gdb.arch/powerpc-altivec2.s: Likewise.
6609 * gdb.arch/powerpc-altivec3.exp: Likewise.
6610 * gdb.arch/powerpc-altivec3.s: Likewise.
6611 * gdb.arch/powerpc-power7.exp: Likewise.
6612 * gdb.arch/powerpc-power7.s: Likewise.
6613 * gdb.arch/powerpc-power8.exp: Likewise.
6614 * gdb.arch/powerpc-power8.s: Likewise.
6615 * gdb.arch/powerpc-power9.exp: Likewise.
6616 * gdb.arch/powerpc-power9.s: Likewise.
6617 * gdb.arch/powerpc-vsx.exp: Likewise.
6618 * gdb.arch/powerpc-vsx.s: Likewise.
6619 * gdb.arch/powerpc-vsx2.exp: Likewise.
6620 * gdb.arch/powerpc-vsx2.s: Likewise.
6621 * gdb.arch/powerpc-vsx3.exp: Likewise.
6622 * gdb.arch/powerpc-vsx3.s: Likewise.
6623 * gdb.arch/arm-disassembler-options.exp: Likewise.
6624 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6625 * gdb.arch/s390-disassembler-options.exp: Likewise.
6626
6627 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6628
6629 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6630 (check_supported_features): ... this. Changed return type to void.
6631 (supports_rdseed): New static global.
6632 (rdseed): Check supports_rdseed.
6633 (initialize): Call check_supported_features.
6634
6635 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6636
6637 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6638 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6639 and lqarx/stqcx.
6640 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6641 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6642
6643 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6644
6645 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6646 uppercase.
6647
6648 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6649
6650 * gdb.dwarf2/formdata16.c: New file.
6651 * gdb.dwarf2/formdata16.exp: New file.
6652 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6653
6654 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6655
6656 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6657 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6658 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6659 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6660 DW_AT_GNU_*.
6661
6662 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6663
6664 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6665
6666 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6667
6668 PR gdb/21164
6669 * gdb.base/maint.exp: Add testcases for when the commands do
6670 not have arguments.
6671
6672 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6673
6674 * gdb.cp/chained-calls.exp: Use p instead of P.
6675
6676 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6677
6678 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6679 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6680
6681 2017-02-14 Tom Tromey <tom@tromey.com>
6682
6683 PR python/13598:
6684 * gdb.python/py-events.exp: Add before_prompt event tests.
6685
6686 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6687
6688 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6689
6690 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6691
6692 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6693 (main): Call my_unique_function_name.
6694 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6695 completion of patterns with a single match.
6696 Add missing -re switches to gdb_test_multiple calls.
6697
6698 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6699
6700 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6701 return if core file is not recognized.
6702
6703 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6704
6705 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6706 and extra UIs.
6707
6708 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6709
6710 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6711 proc_with_prefix.
6712
6713 2017-02-10 Tom Tromey <tom@tromey.com>
6714
6715 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6716
6717 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6718
6719 PR gdb/21122
6720 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6721
6722 2017-02-08 Jerome Guitton <guitton@adacore.com>
6723
6724 * gdb.base/define.exp: Add test for command abbreviations
6725 in define.
6726
6727 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6728
6729 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6730 * gdb.reverse/insn-reverse-x86.c: New file.
6731
6732 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6733
6734 PR tdep/20936
6735 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6736
6737 2017-02-03 Tom Tromey <tom@tromey.com>
6738
6739 PR rust/21097:
6740 * gdb.rust/simple.exp: Add new tests.
6741
6742 2017-02-02 Pedro Alves <palves@redhat.com>
6743
6744 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6745 tests.
6746
6747 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6748
6749 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6750 taking a 2-byte value out of a 4-byte DWARF implicit value on
6751 big-endian targets.
6752 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6753 logic. Add test cases for DW_OP_implicit.
6754
6755 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6756
6757 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6758
6759 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6760
6761 * gdb.btrace/enable.exp: Call gdb_exit before
6762 skip_gdbserver_tests.
6763
6764 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6765
6766 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6767 GDBFLAGS.
6768
6769 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6770
6771 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6772 the test is skipped.
6773 * gdb.btrace/data.exp: Likewise.
6774 * gdb.btrace/delta.exp: Likewise.
6775 * gdb.btrace/dlopen.exp: Likewise.
6776 * gdb.btrace/enable-running.exp: Likewise.
6777 * gdb.btrace/enable.exp: Likewise.
6778 * gdb.btrace/exception.exp: Likewise.
6779 * gdb.btrace/function_call_history.exp: Likewise.
6780 * gdb.btrace/gcore.exp: Likewise.
6781 * gdb.btrace/instruction_history.exp: Likewise.
6782 * gdb.btrace/multi-thread-step.exp: Likewise.
6783 * gdb.btrace/nohist.exp: Likewise.
6784 * gdb.btrace/non-stop.exp: Likewise.
6785 * gdb.btrace/reconnect.exp: Likewise.
6786 * gdb.btrace/record_goto-step.exp: Likewise.
6787 * gdb.btrace/record_goto.exp: Likewise.
6788 * gdb.btrace/rn-dl-bind.exp: Likewise.
6789 * gdb.btrace/segv.exp: Likewise.
6790 * gdb.btrace/step.exp: Likewise.
6791 * gdb.btrace/stepi.exp: Likewise.
6792 * gdb.btrace/tailcall-only.exp: Likewise.
6793 * gdb.btrace/tailcall.exp: Likewise.
6794 * gdb.btrace/tsx.exp: Likewise.
6795 * gdb.btrace/unknown_functions.exp: Likewise.
6796 * gdb.btrace/vdso.exp: Likewise.
6797
6798 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6799
6800 * gdb.btrace/enable-running.c: New.
6801 * gdb.btrace/enable-running.exp: New.
6802
6803 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6804
6805 * gdb.arch/amd64-gs_base.c: New file.
6806 * gdb.arch/amd64-gs_base.exp: New file.
6807
6808 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6809
6810 * lib/memory.exp: Remove spurious empty newlines.
6811
6812 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6813
6814 * gdb.python/py-bad-printers.exp: Load python file using "source".
6815 * gdb.python/py-events.exp: Likewise.
6816 * gdb.python/py-evsignal.exp: Likewise.
6817 * gdb.python/py-evthreads.exp: Likewise.
6818 * gdb.python/py-frame-args.exp: Likewise.
6819 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6820 * gdb.python/py-framefilter-mi.exp: Likewise.
6821 * gdb.python/py-framefilter.exp: Likewise.
6822 * gdb.python/py-mi.exp: Likewise.
6823 * gdb.python/py-pp-maint.exp: Likewise.
6824 * gdb.python/py-pp-registration.exp: Likewise.
6825 * gdb.python/py-prettyprint.exp: Likewise.
6826 (run_lang_tests): Likewise.
6827 * gdb.python/py-typeprint.exp: Likewise.
6828
6829 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6830
6831 * lib/memory.exp: New file.
6832 * lib/gdb.exp: Load memory.exp.
6833 * gdb.base/memattr.exp (delete_memory): Move proc to
6834 lib/memory.exp and rename to delete_memory_regions.
6835 Replace delete_memory with delete_memory_regions.
6836 Cleanup memory regions before tests.
6837 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6838 before tests.
6839
6840 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6841
6842 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6843 files.
6844 (initialize): New function conditionally defined.
6845 (testcases): Move within conditional block.
6846 (main): Call initialize.
6847 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6848 of gdb.reverse/insn-reverse.c.
6849 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6850 gdb.reverse/insn-reverse.c.
6851
6852 2017-01-26 Yao Qi <yao.qi@linaro.org>
6853
6854 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6855 disassemble on address 0.
6856
6857 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6858 Yao Qi <yao.qi@linaro.org>
6859
6860 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6861 * gdb.dwarf2/implptr-64bit.S: Remove.
6862 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6863 variables in caller's context. Add DW_OP_implicit_value.
6864
6865 2017-01-25 Yao Qi <yao.qi@linaro.org>
6866
6867 * lib/dwarf.exp (Dwarf::_location): Handle
6868 DW_OP_GNU_implicit_pointer with proper size.
6869
6870 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6871
6872 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6873 and add untested calls.
6874
6875 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6876
6877 * gdb.python/python.exp: Check line number against what GDB thinks
6878 the line number is for func1.
6879
6880 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6881
6882 * gdb.dlang/debug-expr.exp: New file.
6883
6884 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6885
6886 Fix test names for the following files:
6887
6888 * gdb.ada/exec_changed.exp
6889 * gdb.ada/info_types.exp
6890 * gdb.arch/aarch64-atomic-inst.exp
6891 * gdb.arch/aarch64-fp.exp
6892 * gdb.arch/altivec-abi.exp
6893 * gdb.arch/altivec-regs.exp
6894 * gdb.arch/amd64-byte.exp
6895 * gdb.arch/amd64-disp-step.exp
6896 * gdb.arch/amd64-dword.exp
6897 * gdb.arch/amd64-entry-value-inline.exp
6898 * gdb.arch/amd64-entry-value-param.exp
6899 * gdb.arch/amd64-entry-value-paramref.exp
6900 * gdb.arch/amd64-entry-value.exp
6901 * gdb.arch/amd64-i386-address.exp
6902 * gdb.arch/amd64-invalid-stack-middle.exp
6903 * gdb.arch/amd64-invalid-stack-top.exp
6904 * gdb.arch/amd64-optimout-repeat.exp
6905 * gdb.arch/amd64-prologue-skip.exp
6906 * gdb.arch/amd64-prologue-xmm.exp
6907 * gdb.arch/amd64-stap-special-operands.exp
6908 * gdb.arch/amd64-stap-wrong-subexp.exp
6909 * gdb.arch/amd64-tailcall-cxx.exp
6910 * gdb.arch/amd64-tailcall-noret.exp
6911 * gdb.arch/amd64-tailcall-ret.exp
6912 * gdb.arch/amd64-tailcall-self.exp
6913 * gdb.arch/amd64-word.exp
6914 * gdb.arch/arm-bl-branch-dest.exp
6915 * gdb.arch/arm-disp-step.exp
6916 * gdb.arch/arm-neon.exp
6917 * gdb.arch/arm-single-step-kernel-helper.exp
6918 * gdb.arch/avr-flash-qualifier.exp
6919 * gdb.arch/disp-step-insn-reloc.exp
6920 * gdb.arch/e500-abi.exp
6921 * gdb.arch/e500-regs.exp
6922 * gdb.arch/ftrace-insn-reloc.exp
6923 * gdb.arch/i386-avx512.exp
6924 * gdb.arch/i386-bp_permanent.exp
6925 * gdb.arch/i386-byte.exp
6926 * gdb.arch/i386-cfi-notcurrent.exp
6927 * gdb.arch/i386-disp-step.exp
6928 * gdb.arch/i386-dr3-watch.exp
6929 * gdb.arch/i386-float.exp
6930 * gdb.arch/i386-gnu-cfi.exp
6931 * gdb.arch/i386-mpx-map.exp
6932 * gdb.arch/i386-mpx-sigsegv.exp
6933 * gdb.arch/i386-mpx-simple_segv.exp
6934 * gdb.arch/i386-mpx.exp
6935 * gdb.arch/i386-permbkpt.exp
6936 * gdb.arch/i386-prologue.exp
6937 * gdb.arch/i386-signal.exp
6938 * gdb.arch/i386-size-overlap.exp
6939 * gdb.arch/i386-unwind.exp
6940 * gdb.arch/i386-word.exp
6941 * gdb.arch/mips-fcr.exp
6942 * gdb.arch/powerpc-d128-regs.exp
6943 * gdb.arch/powerpc-stackless.exp
6944 * gdb.arch/ppc64-atomic-inst.exp
6945 * gdb.arch/s390-stackless.exp
6946 * gdb.arch/s390-tdbregs.exp
6947 * gdb.arch/s390-vregs.exp
6948 * gdb.arch/sparc-sysstep.exp
6949 * gdb.arch/thumb-bx-pc.exp
6950 * gdb.arch/thumb-singlestep.exp
6951 * gdb.arch/thumb2-it.exp
6952 * gdb.arch/vsx-regs.exp
6953 * gdb.asm/asm-source.exp
6954 * gdb.base/a2-run.exp
6955 * gdb.base/advance.exp
6956 * gdb.base/all-bin.exp
6957 * gdb.base/anon.exp
6958 * gdb.base/args.exp
6959 * gdb.base/arithmet.exp
6960 * gdb.base/async-shell.exp
6961 * gdb.base/async.exp
6962 * gdb.base/attach-pie-noexec.exp
6963 * gdb.base/attach-twice.exp
6964 * gdb.base/auto-load.exp
6965 * gdb.base/bang.exp
6966 * gdb.base/bitfields.exp
6967 * gdb.base/break-always.exp
6968 * gdb.base/break-caller-line.exp
6969 * gdb.base/break-entry.exp
6970 * gdb.base/break-inline.exp
6971 * gdb.base/break-on-linker-gcd-function.exp
6972 * gdb.base/break-probes.exp
6973 * gdb.base/break.exp
6974 * gdb.base/breakpoint-shadow.exp
6975 * gdb.base/call-ar-st.exp
6976 * gdb.base/call-sc.exp
6977 * gdb.base/call-signal-resume.exp
6978 * gdb.base/call-strs.exp
6979 * gdb.base/callfuncs.exp
6980 * gdb.base/catch-fork-static.exp
6981 * gdb.base/catch-gdb-caused-signals.exp
6982 * gdb.base/catch-load.exp
6983 * gdb.base/catch-signal-fork.exp
6984 * gdb.base/catch-signal.exp
6985 * gdb.base/catch-syscall.exp
6986 * gdb.base/charset.exp
6987 * gdb.base/checkpoint.exp
6988 * gdb.base/chng-syms.exp
6989 * gdb.base/code-expr.exp
6990 * gdb.base/code_elim.exp
6991 * gdb.base/commands.exp
6992 * gdb.base/completion.exp
6993 * gdb.base/complex.exp
6994 * gdb.base/cond-expr.exp
6995 * gdb.base/condbreak.exp
6996 * gdb.base/consecutive.exp
6997 * gdb.base/continue-all-already-running.exp
6998 * gdb.base/coredump-filter.exp
6999 * gdb.base/corefile.exp
7000 * gdb.base/dbx.exp
7001 * gdb.base/debug-expr.exp
7002 * gdb.base/define.exp
7003 * gdb.base/del.exp
7004 * gdb.base/disabled-location.exp
7005 * gdb.base/disasm-end-cu.exp
7006 * gdb.base/disasm-optim.exp
7007 * gdb.base/display.exp
7008 * gdb.base/duplicate-bp.exp
7009 * gdb.base/ena-dis-br.exp
7010 * gdb.base/ending-run.exp
7011 * gdb.base/enumval.exp
7012 * gdb.base/environ.exp
7013 * gdb.base/eu-strip-infcall.exp
7014 * gdb.base/eval-avoid-side-effects.exp
7015 * gdb.base/eval-skip.exp
7016 * gdb.base/exitsignal.exp
7017 * gdb.base/expand-psymtabs.exp
7018 * gdb.base/filesym.exp
7019 * gdb.base/find-unmapped.exp
7020 * gdb.base/finish.exp
7021 * gdb.base/float.exp
7022 * gdb.base/foll-exec-mode.exp
7023 * gdb.base/foll-exec.exp
7024 * gdb.base/foll-fork.exp
7025 * gdb.base/fortran-sym-case.exp
7026 * gdb.base/freebpcmd.exp
7027 * gdb.base/func-ptr.exp
7028 * gdb.base/func-ptrs.exp
7029 * gdb.base/funcargs.exp
7030 * gdb.base/gcore-buffer-overflow.exp
7031 * gdb.base/gcore-relro-pie.exp
7032 * gdb.base/gcore-relro.exp
7033 * gdb.base/gcore.exp
7034 * gdb.base/gdb1090.exp
7035 * gdb.base/gdb11530.exp
7036 * gdb.base/gdb11531.exp
7037 * gdb.base/gdb1821.exp
7038 * gdb.base/gdbindex-stabs.exp
7039 * gdb.base/gdbvars.exp
7040 * gdb.base/hbreak.exp
7041 * gdb.base/hbreak2.exp
7042 * gdb.base/included.exp
7043 * gdb.base/infcall-input.exp
7044 * gdb.base/inferior-died.exp
7045 * gdb.base/infnan.exp
7046 * gdb.base/info-macros.exp
7047 * gdb.base/info-os.exp
7048 * gdb.base/info-proc.exp
7049 * gdb.base/info-shared.exp
7050 * gdb.base/info-target.exp
7051 * gdb.base/infoline.exp
7052 * gdb.base/interp.exp
7053 * gdb.base/interrupt.exp
7054 * gdb.base/jit-reader.exp
7055 * gdb.base/jit-simple.exp
7056 * gdb.base/kill-after-signal.exp
7057 * gdb.base/kill-detach-inferiors-cmd.exp
7058 * gdb.base/label.exp
7059 * gdb.base/langs.exp
7060 * gdb.base/ldbl_e308.exp
7061 * gdb.base/line-symtabs.exp
7062 * gdb.base/linespecs.exp
7063 * gdb.base/list.exp
7064 * gdb.base/long_long.exp
7065 * gdb.base/longest-types.exp
7066 * gdb.base/maint.exp
7067 * gdb.base/max-value-size.exp
7068 * gdb.base/memattr.exp
7069 * gdb.base/mips_pro.exp
7070 * gdb.base/morestack.exp
7071 * gdb.base/moribund-step.exp
7072 * gdb.base/multi-forks.exp
7073 * gdb.base/nested-addr.exp
7074 * gdb.base/nextoverexit.exp
7075 * gdb.base/noreturn-finish.exp
7076 * gdb.base/noreturn-return.exp
7077 * gdb.base/nostdlib.exp
7078 * gdb.base/offsets.exp
7079 * gdb.base/opaque.exp
7080 * gdb.base/pc-fp.exp
7081 * gdb.base/permissions.exp
7082 * gdb.base/print-symbol-loading.exp
7083 * gdb.base/prologue-include.exp
7084 * gdb.base/psymtab.exp
7085 * gdb.base/ptype.exp
7086 * gdb.base/random-signal.exp
7087 * gdb.base/randomize.exp
7088 * gdb.base/range-stepping.exp
7089 * gdb.base/readline-ask.exp
7090 * gdb.base/recpar.exp
7091 * gdb.base/recurse.exp
7092 * gdb.base/relational.exp
7093 * gdb.base/restore.exp
7094 * gdb.base/return-nodebug.exp
7095 * gdb.base/return.exp
7096 * gdb.base/run-after-attach.exp
7097 * gdb.base/save-bp.exp
7098 * gdb.base/scope.exp
7099 * gdb.base/sect-cmd.exp
7100 * gdb.base/set-lang-auto.exp
7101 * gdb.base/set-noassign.exp
7102 * gdb.base/setvar.exp
7103 * gdb.base/sigall.exp
7104 * gdb.base/sigbpt.exp
7105 * gdb.base/siginfo-addr.exp
7106 * gdb.base/siginfo-infcall.exp
7107 * gdb.base/siginfo-obj.exp
7108 * gdb.base/siginfo.exp
7109 * gdb.base/signals-state-child.exp
7110 * gdb.base/signest.exp
7111 * gdb.base/sigstep.exp
7112 * gdb.base/sizeof.exp
7113 * gdb.base/skip.exp
7114 * gdb.base/solib-corrupted.exp
7115 * gdb.base/solib-nodir.exp
7116 * gdb.base/solib-search.exp
7117 * gdb.base/stack-checking.exp
7118 * gdb.base/stale-infcall.exp
7119 * gdb.base/stap-probe.exp
7120 * gdb.base/start.exp
7121 * gdb.base/step-break.exp
7122 * gdb.base/step-bt.exp
7123 * gdb.base/step-line.exp
7124 * gdb.base/step-over-exit.exp
7125 * gdb.base/step-over-syscall.exp
7126 * gdb.base/step-resume-infcall.exp
7127 * gdb.base/step-test.exp
7128 * gdb.base/store.exp
7129 * gdb.base/structs3.exp
7130 * gdb.base/sym-file.exp
7131 * gdb.base/symbol-without-target_section.exp
7132 * gdb.base/term.exp
7133 * gdb.base/testenv.exp
7134 * gdb.base/ui-redirect.exp
7135 * gdb.base/until.exp
7136 * gdb.base/unwindonsignal.exp
7137 * gdb.base/value-double-free.exp
7138 * gdb.base/vla-datatypes.exp
7139 * gdb.base/vla-ptr.exp
7140 * gdb.base/vla-sideeffect.exp
7141 * gdb.base/volatile.exp
7142 * gdb.base/watch-cond-infcall.exp
7143 * gdb.base/watch-cond.exp
7144 * gdb.base/watch-non-mem.exp
7145 * gdb.base/watch-read.exp
7146 * gdb.base/watch-vfork.exp
7147 * gdb.base/watchpoint-cond-gone.exp
7148 * gdb.base/watchpoint-delete.exp
7149 * gdb.base/watchpoint-hw-hit-once.exp
7150 * gdb.base/watchpoint-hw.exp
7151 * gdb.base/watchpoint-stops-at-right-insn.exp
7152 * gdb.base/watchpoints.exp
7153 * gdb.base/wchar.exp
7154 * gdb.base/whatis-exp.exp
7155 * gdb.btrace/buffer-size.exp
7156 * gdb.btrace/data.exp
7157 * gdb.btrace/delta.exp
7158 * gdb.btrace/dlopen.exp
7159 * gdb.btrace/enable.exp
7160 * gdb.btrace/exception.exp
7161 * gdb.btrace/function_call_history.exp
7162 * gdb.btrace/gcore.exp
7163 * gdb.btrace/instruction_history.exp
7164 * gdb.btrace/nohist.exp
7165 * gdb.btrace/reconnect.exp
7166 * gdb.btrace/record_goto-step.exp
7167 * gdb.btrace/record_goto.exp
7168 * gdb.btrace/rn-dl-bind.exp
7169 * gdb.btrace/segv.exp
7170 * gdb.btrace/step.exp
7171 * gdb.btrace/stepi.exp
7172 * gdb.btrace/tailcall-only.exp
7173 * gdb.btrace/tailcall.exp
7174 * gdb.btrace/tsx.exp
7175 * gdb.btrace/unknown_functions.exp
7176 * gdb.btrace/vdso.exp
7177 * gdb.compile/compile-ifunc.exp
7178 * gdb.compile/compile-ops.exp
7179 * gdb.compile/compile-print.exp
7180 * gdb.compile/compile-setjmp.exp
7181 * gdb.cp/abstract-origin.exp
7182 * gdb.cp/ambiguous.exp
7183 * gdb.cp/annota2.exp
7184 * gdb.cp/annota3.exp
7185 * gdb.cp/anon-ns.exp
7186 * gdb.cp/anon-struct.exp
7187 * gdb.cp/anon-union.exp
7188 * gdb.cp/arg-reference.exp
7189 * gdb.cp/baseenum.exp
7190 * gdb.cp/bool.exp
7191 * gdb.cp/breakpoint.exp
7192 * gdb.cp/bs15503.exp
7193 * gdb.cp/call-c.exp
7194 * gdb.cp/casts.exp
7195 * gdb.cp/chained-calls.exp
7196 * gdb.cp/class2.exp
7197 * gdb.cp/classes.exp
7198 * gdb.cp/cmpd-minsyms.exp
7199 * gdb.cp/converts.exp
7200 * gdb.cp/cp-relocate.exp
7201 * gdb.cp/cpcompletion.exp
7202 * gdb.cp/cpexprs.exp
7203 * gdb.cp/cplabel.exp
7204 * gdb.cp/cplusfuncs.exp
7205 * gdb.cp/cpsizeof.exp
7206 * gdb.cp/ctti.exp
7207 * gdb.cp/derivation.exp
7208 * gdb.cp/destrprint.exp
7209 * gdb.cp/dispcxx.exp
7210 * gdb.cp/enum-class.exp
7211 * gdb.cp/exception.exp
7212 * gdb.cp/exceptprint.exp
7213 * gdb.cp/expand-psymtabs-cxx.exp
7214 * gdb.cp/expand-sals.exp
7215 * gdb.cp/extern-c.exp
7216 * gdb.cp/filename.exp
7217 * gdb.cp/formatted-ref.exp
7218 * gdb.cp/fpointer.exp
7219 * gdb.cp/gdb1355.exp
7220 * gdb.cp/gdb2495.exp
7221 * gdb.cp/hang.exp
7222 * gdb.cp/impl-this.exp
7223 * gdb.cp/infcall-dlopen.exp
7224 * gdb.cp/inherit.exp
7225 * gdb.cp/iostream.exp
7226 * gdb.cp/koenig.exp
7227 * gdb.cp/local.exp
7228 * gdb.cp/m-data.exp
7229 * gdb.cp/m-static.exp
7230 * gdb.cp/mb-ctor.exp
7231 * gdb.cp/mb-inline.exp
7232 * gdb.cp/mb-templates.exp
7233 * gdb.cp/member-name.exp
7234 * gdb.cp/member-ptr.exp
7235 * gdb.cp/meth-typedefs.exp
7236 * gdb.cp/method.exp
7237 * gdb.cp/method2.exp
7238 * gdb.cp/minsym-fallback.exp
7239 * gdb.cp/misc.exp
7240 * gdb.cp/namelessclass.exp
7241 * gdb.cp/namespace-enum.exp
7242 * gdb.cp/namespace-nested-import.exp
7243 * gdb.cp/namespace.exp
7244 * gdb.cp/nextoverthrow.exp
7245 * gdb.cp/no-dmgl-verbose.exp
7246 * gdb.cp/non-trivial-retval.exp
7247 * gdb.cp/noparam.exp
7248 * gdb.cp/nsdecl.exp
7249 * gdb.cp/nsimport.exp
7250 * gdb.cp/nsnested.exp
7251 * gdb.cp/nsnoimports.exp
7252 * gdb.cp/nsrecurs.exp
7253 * gdb.cp/nsstress.exp
7254 * gdb.cp/nsusing.exp
7255 * gdb.cp/operator.exp
7256 * gdb.cp/oranking.exp
7257 * gdb.cp/overload-const.exp
7258 * gdb.cp/overload.exp
7259 * gdb.cp/ovldbreak.exp
7260 * gdb.cp/ovsrch.exp
7261 * gdb.cp/paren-type.exp
7262 * gdb.cp/parse-lang.exp
7263 * gdb.cp/pass-by-ref.exp
7264 * gdb.cp/pr-1023.exp
7265 * gdb.cp/pr-1210.exp
7266 * gdb.cp/pr-574.exp
7267 * gdb.cp/pr10687.exp
7268 * gdb.cp/pr12028.exp
7269 * gdb.cp/pr17132.exp
7270 * gdb.cp/pr17494.exp
7271 * gdb.cp/pr9067.exp
7272 * gdb.cp/pr9167.exp
7273 * gdb.cp/pr9631.exp
7274 * gdb.cp/printmethod.exp
7275 * gdb.cp/psmang.exp
7276 * gdb.cp/psymtab-parameter.exp
7277 * gdb.cp/ptype-cv-cp.exp
7278 * gdb.cp/ptype-flags.exp
7279 * gdb.cp/re-set-overloaded.exp
7280 * gdb.cp/ref-types.exp
7281 * gdb.cp/rtti.exp
7282 * gdb.cp/scope-err.exp
7283 * gdb.cp/shadow.exp
7284 * gdb.cp/smartp.exp
7285 * gdb.cp/static-method.exp
7286 * gdb.cp/static-print-quit.exp
7287 * gdb.cp/temargs.exp
7288 * gdb.cp/templates.exp
7289 * gdb.cp/try_catch.exp
7290 * gdb.cp/typedef-operator.exp
7291 * gdb.cp/typeid.exp
7292 * gdb.cp/userdef.exp
7293 * gdb.cp/using-crash.exp
7294 * gdb.cp/var-tag.exp
7295 * gdb.cp/virtbase.exp
7296 * gdb.cp/virtfunc.exp
7297 * gdb.cp/virtfunc2.exp
7298 * gdb.cp/vla-cxx.exp
7299 * gdb.disasm/t01_mov.exp
7300 * gdb.disasm/t02_mova.exp
7301 * gdb.disasm/t03_add.exp
7302 * gdb.disasm/t04_sub.exp
7303 * gdb.disasm/t05_cmp.exp
7304 * gdb.disasm/t06_ari2.exp
7305 * gdb.disasm/t07_ari3.exp
7306 * gdb.disasm/t08_or.exp
7307 * gdb.disasm/t09_xor.exp
7308 * gdb.disasm/t10_and.exp
7309 * gdb.disasm/t11_logs.exp
7310 * gdb.disasm/t12_bit.exp
7311 * gdb.disasm/t13_otr.exp
7312 * gdb.dlang/circular.exp
7313 * gdb.dwarf2/arr-stride.exp
7314 * gdb.dwarf2/arr-subrange.exp
7315 * gdb.dwarf2/atomic-type.exp
7316 * gdb.dwarf2/bad-regnum.exp
7317 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7318 * gdb.dwarf2/callframecfa.exp
7319 * gdb.dwarf2/clztest.exp
7320 * gdb.dwarf2/corrupt.exp
7321 * gdb.dwarf2/data-loc.exp
7322 * gdb.dwarf2/dup-psym.exp
7323 * gdb.dwarf2/dw2-anon-mptr.exp
7324 * gdb.dwarf2/dw2-anonymous-func.exp
7325 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7326 * gdb.dwarf2/dw2-bad-unresolved.exp
7327 * gdb.dwarf2/dw2-basic.exp
7328 * gdb.dwarf2/dw2-canonicalize-type.exp
7329 * gdb.dwarf2/dw2-case-insensitive.exp
7330 * gdb.dwarf2/dw2-common-block.exp
7331 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7332 * gdb.dwarf2/dw2-compressed.exp
7333 * gdb.dwarf2/dw2-const.exp
7334 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7335 * gdb.dwarf2/dw2-cu-size.exp
7336 * gdb.dwarf2/dw2-dup-frame.exp
7337 * gdb.dwarf2/dw2-entry-value.exp
7338 * gdb.dwarf2/dw2-icycle.exp
7339 * gdb.dwarf2/dw2-ifort-parameter.exp
7340 * gdb.dwarf2/dw2-inline-break.exp
7341 * gdb.dwarf2/dw2-inline-param.exp
7342 * gdb.dwarf2/dw2-intercu.exp
7343 * gdb.dwarf2/dw2-intermix.exp
7344 * gdb.dwarf2/dw2-lexical-block-bare.exp
7345 * gdb.dwarf2/dw2-linkage-name-trust.exp
7346 * gdb.dwarf2/dw2-minsym-in-cu.exp
7347 * gdb.dwarf2/dw2-noloc.exp
7348 * gdb.dwarf2/dw2-op-call.exp
7349 * gdb.dwarf2/dw2-op-out-param.exp
7350 * gdb.dwarf2/dw2-opt-structptr.exp
7351 * gdb.dwarf2/dw2-param-error.exp
7352 * gdb.dwarf2/dw2-producer.exp
7353 * gdb.dwarf2/dw2-ranges-base.exp
7354 * gdb.dwarf2/dw2-ref-missing-frame.exp
7355 * gdb.dwarf2/dw2-reg-undefined.exp
7356 * gdb.dwarf2/dw2-regno-invalid.exp
7357 * gdb.dwarf2/dw2-restore.exp
7358 * gdb.dwarf2/dw2-restrict.exp
7359 * gdb.dwarf2/dw2-single-line-discriminators.exp
7360 * gdb.dwarf2/dw2-strp.exp
7361 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7362 * gdb.dwarf2/dw2-unresolved.exp
7363 * gdb.dwarf2/dw2-var-zero-addr.exp
7364 * gdb.dwarf2/dw4-sig-types.exp
7365 * gdb.dwarf2/dwz.exp
7366 * gdb.dwarf2/dynarr-ptr.exp
7367 * gdb.dwarf2/enum-type.exp
7368 * gdb.dwarf2/gdb-index.exp
7369 * gdb.dwarf2/implptr-64bit.exp
7370 * gdb.dwarf2/implptr-optimized-out.exp
7371 * gdb.dwarf2/implptr.exp
7372 * gdb.dwarf2/implref-array.exp
7373 * gdb.dwarf2/implref-const.exp
7374 * gdb.dwarf2/implref-global.exp
7375 * gdb.dwarf2/implref-struct.exp
7376 * gdb.dwarf2/mac-fileno.exp
7377 * gdb.dwarf2/main-subprogram.exp
7378 * gdb.dwarf2/member-ptr-forwardref.exp
7379 * gdb.dwarf2/method-ptr.exp
7380 * gdb.dwarf2/missing-sig-type.exp
7381 * gdb.dwarf2/nonvar-access.exp
7382 * gdb.dwarf2/opaque-type-lookup.exp
7383 * gdb.dwarf2/pieces-optimized-out.exp
7384 * gdb.dwarf2/pieces.exp
7385 * gdb.dwarf2/pr10770.exp
7386 * gdb.dwarf2/pr13961.exp
7387 * gdb.dwarf2/staticvirtual.exp
7388 * gdb.dwarf2/subrange.exp
7389 * gdb.dwarf2/symtab-producer.exp
7390 * gdb.dwarf2/trace-crash.exp
7391 * gdb.dwarf2/typeddwarf.exp
7392 * gdb.dwarf2/valop.exp
7393 * gdb.dwarf2/watch-notconst.exp
7394 * gdb.fortran/array-element.exp
7395 * gdb.fortran/charset.exp
7396 * gdb.fortran/common-block.exp
7397 * gdb.fortran/complex.exp
7398 * gdb.fortran/derived-type-function.exp
7399 * gdb.fortran/derived-type.exp
7400 * gdb.fortran/logical.exp
7401 * gdb.fortran/module.exp
7402 * gdb.fortran/multi-dim.exp
7403 * gdb.fortran/nested-funcs.exp
7404 * gdb.fortran/print-formatted.exp
7405 * gdb.fortran/subarray.exp
7406 * gdb.fortran/vla-alloc-assoc.exp
7407 * gdb.fortran/vla-datatypes.exp
7408 * gdb.fortran/vla-history.exp
7409 * gdb.fortran/vla-ptr-info.exp
7410 * gdb.fortran/vla-ptype-sub.exp
7411 * gdb.fortran/vla-ptype.exp
7412 * gdb.fortran/vla-sizeof.exp
7413 * gdb.fortran/vla-type.exp
7414 * gdb.fortran/vla-value-sub-arbitrary.exp
7415 * gdb.fortran/vla-value-sub-finish.exp
7416 * gdb.fortran/vla-value-sub.exp
7417 * gdb.fortran/vla-value.exp
7418 * gdb.fortran/whatis_type.exp
7419 * gdb.go/chan.exp
7420 * gdb.go/handcall.exp
7421 * gdb.go/hello.exp
7422 * gdb.go/integers.exp
7423 * gdb.go/methods.exp
7424 * gdb.go/package.exp
7425 * gdb.go/strings.exp
7426 * gdb.go/types.exp
7427 * gdb.go/unsafe.exp
7428 * gdb.guile/scm-arch.exp
7429 * gdb.guile/scm-block.exp
7430 * gdb.guile/scm-breakpoint.exp
7431 * gdb.guile/scm-cmd.exp
7432 * gdb.guile/scm-disasm.exp
7433 * gdb.guile/scm-equal.exp
7434 * gdb.guile/scm-frame-args.exp
7435 * gdb.guile/scm-frame-inline.exp
7436 * gdb.guile/scm-frame.exp
7437 * gdb.guile/scm-iterator.exp
7438 * gdb.guile/scm-math.exp
7439 * gdb.guile/scm-objfile.exp
7440 * gdb.guile/scm-ports.exp
7441 * gdb.guile/scm-symbol.exp
7442 * gdb.guile/scm-symtab.exp
7443 * gdb.guile/scm-value-cc.exp
7444 * gdb.guile/types-module.exp
7445 * gdb.linespec/break-ask.exp
7446 * gdb.linespec/cpexplicit.exp
7447 * gdb.linespec/explicit.exp
7448 * gdb.linespec/keywords.exp
7449 * gdb.linespec/linespec.exp
7450 * gdb.linespec/ls-dollar.exp
7451 * gdb.linespec/ls-errs.exp
7452 * gdb.linespec/skip-two.exp
7453 * gdb.linespec/thread.exp
7454 * gdb.mi/mi-async.exp
7455 * gdb.mi/mi-basics.exp
7456 * gdb.mi/mi-break.exp
7457 * gdb.mi/mi-catch-load.exp
7458 * gdb.mi/mi-cli.exp
7459 * gdb.mi/mi-cmd-param-changed.exp
7460 * gdb.mi/mi-console.exp
7461 * gdb.mi/mi-detach.exp
7462 * gdb.mi/mi-disassemble.exp
7463 * gdb.mi/mi-eval.exp
7464 * gdb.mi/mi-file-transfer.exp
7465 * gdb.mi/mi-file.exp
7466 * gdb.mi/mi-fill-memory.exp
7467 * gdb.mi/mi-inheritance-syntax-error.exp
7468 * gdb.mi/mi-linespec-err-cp.exp
7469 * gdb.mi/mi-logging.exp
7470 * gdb.mi/mi-memory-changed.exp
7471 * gdb.mi/mi-read-memory.exp
7472 * gdb.mi/mi-record-changed.exp
7473 * gdb.mi/mi-reg-undefined.exp
7474 * gdb.mi/mi-regs.exp
7475 * gdb.mi/mi-return.exp
7476 * gdb.mi/mi-reverse.exp
7477 * gdb.mi/mi-simplerun.exp
7478 * gdb.mi/mi-solib.exp
7479 * gdb.mi/mi-stack.exp
7480 * gdb.mi/mi-stepi.exp
7481 * gdb.mi/mi-syn-frame.exp
7482 * gdb.mi/mi-until.exp
7483 * gdb.mi/mi-var-block.exp
7484 * gdb.mi/mi-var-child.exp
7485 * gdb.mi/mi-var-cmd.exp
7486 * gdb.mi/mi-var-cp.exp
7487 * gdb.mi/mi-var-display.exp
7488 * gdb.mi/mi-var-invalidate.exp
7489 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7490 * gdb.mi/mi-vla-fortran.exp
7491 * gdb.mi/mi-watch.exp
7492 * gdb.mi/mi2-var-child.exp
7493 * gdb.mi/user-selected-context-sync.exp
7494 * gdb.modula2/unbounded-array.exp
7495 * gdb.multi/dummy-frame-restore.exp
7496 * gdb.multi/multi-arch-exec.exp
7497 * gdb.multi/multi-arch.exp
7498 * gdb.multi/tids.exp
7499 * gdb.multi/watchpoint-multi.exp
7500 * gdb.opencl/callfuncs.exp
7501 * gdb.opencl/convs_casts.exp
7502 * gdb.opencl/datatypes.exp
7503 * gdb.opencl/operators.exp
7504 * gdb.opencl/vec_comps.exp
7505 * gdb.opt/clobbered-registers-O2.exp
7506 * gdb.opt/inline-break.exp
7507 * gdb.opt/inline-bt.exp
7508 * gdb.opt/inline-cmds.exp
7509 * gdb.opt/inline-locals.exp
7510 * gdb.pascal/case-insensitive-symbols.exp
7511 * gdb.pascal/floats.exp
7512 * gdb.pascal/gdb11492.exp
7513 * gdb.python/lib-types.exp
7514 * gdb.python/py-arch.exp
7515 * gdb.python/py-as-string.exp
7516 * gdb.python/py-bad-printers.exp
7517 * gdb.python/py-block.exp
7518 * gdb.python/py-breakpoint-create-fail.exp
7519 * gdb.python/py-breakpoint.exp
7520 * gdb.python/py-caller-is.exp
7521 * gdb.python/py-cmd.exp
7522 * gdb.python/py-explore-cc.exp
7523 * gdb.python/py-explore.exp
7524 * gdb.python/py-finish-breakpoint.exp
7525 * gdb.python/py-finish-breakpoint2.exp
7526 * gdb.python/py-frame-args.exp
7527 * gdb.python/py-frame-inline.exp
7528 * gdb.python/py-frame.exp
7529 * gdb.python/py-framefilter-mi.exp
7530 * gdb.python/py-infthread.exp
7531 * gdb.python/py-lazy-string.exp
7532 * gdb.python/py-linetable.exp
7533 * gdb.python/py-mi-events.exp
7534 * gdb.python/py-mi-objfile.exp
7535 * gdb.python/py-mi.exp
7536 * gdb.python/py-objfile.exp
7537 * gdb.python/py-pp-integral.exp
7538 * gdb.python/py-pp-maint.exp
7539 * gdb.python/py-pp-re-notag.exp
7540 * gdb.python/py-pp-registration.exp
7541 * gdb.python/py-recurse-unwind.exp
7542 * gdb.python/py-strfns.exp
7543 * gdb.python/py-symbol.exp
7544 * gdb.python/py-symtab.exp
7545 * gdb.python/py-sync-interp.exp
7546 * gdb.python/py-typeprint.exp
7547 * gdb.python/py-unwind-maint.exp
7548 * gdb.python/py-unwind.exp
7549 * gdb.python/py-value-cc.exp
7550 * gdb.python/py-xmethods.exp
7551 * gdb.reverse/amd64-tailcall-reverse.exp
7552 * gdb.reverse/break-precsave.exp
7553 * gdb.reverse/break-reverse.exp
7554 * gdb.reverse/consecutive-precsave.exp
7555 * gdb.reverse/consecutive-reverse.exp
7556 * gdb.reverse/finish-precsave.exp
7557 * gdb.reverse/finish-reverse-bkpt.exp
7558 * gdb.reverse/finish-reverse.exp
7559 * gdb.reverse/fstatat-reverse.exp
7560 * gdb.reverse/getresuid-reverse.exp
7561 * gdb.reverse/i386-precsave.exp
7562 * gdb.reverse/i386-reverse.exp
7563 * gdb.reverse/i386-sse-reverse.exp
7564 * gdb.reverse/i387-env-reverse.exp
7565 * gdb.reverse/i387-stack-reverse.exp
7566 * gdb.reverse/insn-reverse.exp
7567 * gdb.reverse/machinestate-precsave.exp
7568 * gdb.reverse/machinestate.exp
7569 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7570 * gdb.reverse/pipe-reverse.exp
7571 * gdb.reverse/readv-reverse.exp
7572 * gdb.reverse/recvmsg-reverse.exp
7573 * gdb.reverse/rerun-prec.exp
7574 * gdb.reverse/s390-mvcle.exp
7575 * gdb.reverse/step-precsave.exp
7576 * gdb.reverse/step-reverse.exp
7577 * gdb.reverse/time-reverse.exp
7578 * gdb.reverse/until-precsave.exp
7579 * gdb.reverse/until-reverse.exp
7580 * gdb.reverse/waitpid-reverse.exp
7581 * gdb.reverse/watch-precsave.exp
7582 * gdb.reverse/watch-reverse.exp
7583 * gdb.rust/generics.exp
7584 * gdb.rust/methods.exp
7585 * gdb.rust/modules.exp
7586 * gdb.rust/simple.exp
7587 * gdb.server/connect-with-no-symbol-file.exp
7588 * gdb.server/ext-attach.exp
7589 * gdb.server/ext-restart.exp
7590 * gdb.server/ext-wrapper.exp
7591 * gdb.server/file-transfer.exp
7592 * gdb.server/server-exec-info.exp
7593 * gdb.server/server-kill.exp
7594 * gdb.server/server-mon.exp
7595 * gdb.server/wrapper.exp
7596 * gdb.stabs/exclfwd.exp
7597 * gdb.stabs/gdb11479.exp
7598 * gdb.threads/clone-new-thread-event.exp
7599 * gdb.threads/corethreads.exp
7600 * gdb.threads/current-lwp-dead.exp
7601 * gdb.threads/dlopen-libpthread.exp
7602 * gdb.threads/gcore-thread.exp
7603 * gdb.threads/sigstep-threads.exp
7604 * gdb.threads/watchpoint-fork.exp
7605 * gdb.trace/actions-changed.exp
7606 * gdb.trace/backtrace.exp
7607 * gdb.trace/change-loc.exp
7608 * gdb.trace/circ.exp
7609 * gdb.trace/collection.exp
7610 * gdb.trace/disconnected-tracing.exp
7611 * gdb.trace/ftrace.exp
7612 * gdb.trace/mi-trace-frame-collected.exp
7613 * gdb.trace/mi-trace-unavailable.exp
7614 * gdb.trace/mi-traceframe-changed.exp
7615 * gdb.trace/mi-tsv-changed.exp
7616 * gdb.trace/no-attach-trace.exp
7617 * gdb.trace/passc-dyn.exp
7618 * gdb.trace/qtro.exp
7619 * gdb.trace/range-stepping.exp
7620 * gdb.trace/read-memory.exp
7621 * gdb.trace/save-trace.exp
7622 * gdb.trace/signal.exp
7623 * gdb.trace/status-stop.exp
7624 * gdb.trace/tfile.exp
7625 * gdb.trace/trace-break.exp
7626 * gdb.trace/trace-buffer-size.exp
7627 * gdb.trace/trace-condition.exp
7628 * gdb.trace/tracefile-pseudo-reg.exp
7629 * gdb.trace/tstatus.exp
7630 * gdb.trace/unavailable.exp
7631 * gdb.trace/while-dyn.exp
7632 * gdb.trace/while-stepping.exp
7633
7634 2016-12-22 Doug Evans <xdje42@gmail.com>
7635
7636 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7637 and msymbols.
7638
7639 2016-12-19 Yao Qi <yao.qi@linaro.org>
7640
7641 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7642 (test_with_self): Don't call do_steps_and_nexts, and remove
7643 code about stepping into xmalloc.
7644
7645 2016-12-09 Yao Qi <yao.qi@linaro.org>
7646
7647 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7648
7649 2016-12-09 Yao Qi <yao.qi@linaro.org>
7650
7651 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7652
7653 2016-12-09 Pedro Alves <palves@redhat.com>
7654
7655 * gdb.base/all-architectures-0.exp: New file.
7656 * gdb.base/all-architectures-1.exp: New file.
7657 * gdb.base/all-architectures-2.exp: New file.
7658 * gdb.base/all-architectures-3.exp: New file.
7659 * gdb.base/all-architectures-4.exp: New file.
7660 * gdb.base/all-architectures-5.exp: New file.
7661 * gdb.base/all-architectures-6.exp: New file.
7662 * gdb.base/all-architectures-7.exp: New file.
7663 * gdb.base/all-architectures.exp.in: New file.
7664
7665 2016-12-09 Yao Qi <yao.qi@linaro.org>
7666
7667 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7668
7669 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7670
7671 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7672 possible.
7673 Remove useless pattern-matching code.
7674
7675 2016-12-02 Pedro Alves <palves@redhat.com>
7676
7677 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7678 procedure.
7679 (top level): Call it.
7680
7681 2016-12-02 Pedro Alves <palves@redhat.com>
7682
7683 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7684 New procedure.
7685 (top level): Call it.
7686
7687 2016-12-02 Pedro Alves <palves@redhat.com>
7688
7689 PR cli/20559
7690 * gdb.base/commands.exp (user_defined_command_args_eval): New
7691 procedure.
7692 (top level): Call it.
7693
7694 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7695
7696 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7697 timeout handling.
7698
7699 2016-12-02 Tom Tromey <tom@tromey.com>
7700
7701 * gdb.dwarf2/main-subprogram.c: New file.
7702 * gdb.dwarf2/main-subprogram.exp: New file.
7703
7704 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7705
7706 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7707 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7708 gdb_test_no_output for a couple of cases.
7709 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7710
7711 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7712
7713 Fix test names and standardize compilation error messages throughout
7714 the following files:
7715
7716 * gdb.ada/start.exp
7717 * gdb.arch/alpha-step.exp
7718 * gdb.arch/e500-prologue.exp
7719 * gdb.arch/ftrace-insn-reloc.exp
7720 * gdb.arch/gdb1291.exp
7721 * gdb.arch/gdb1431.exp
7722 * gdb.arch/gdb1558.exp
7723 * gdb.arch/i386-dr3-watch.exp
7724 * gdb.arch/i386-sse-stack-align.exp
7725 * gdb.arch/ia64-breakpoint-shadow.exp
7726 * gdb.arch/pa-nullify.exp
7727 * gdb.arch/powerpc-aix-prologue.exp
7728 * gdb.arch/thumb-bx-pc.exp
7729 * gdb.base/annota1.exp
7730 * gdb.base/annota3.exp
7731 * gdb.base/arrayidx.exp
7732 * gdb.base/assign.exp
7733 * gdb.base/attach.exp
7734 * gdb.base/auxv.exp
7735 * gdb.base/bang.exp
7736 * gdb.base/bfp-test.exp
7737 * gdb.base/bigcore.exp
7738 * gdb.base/bitfields2.exp
7739 * gdb.base/break-fun-addr.exp
7740 * gdb.base/break-probes.exp
7741 * gdb.base/call-rt-st.exp
7742 * gdb.base/callexit.exp
7743 * gdb.base/catch-fork-kill.exp
7744 * gdb.base/charset.exp
7745 * gdb.base/checkpoint.exp
7746 * gdb.base/comprdebug.exp
7747 * gdb.base/constvars.exp
7748 * gdb.base/coredump-filter.exp
7749 * gdb.base/cursal.exp
7750 * gdb.base/cvexpr.exp
7751 * gdb.base/detach.exp
7752 * gdb.base/display.exp
7753 * gdb.base/dmsym.exp
7754 * gdb.base/dprintf-pending.exp
7755 * gdb.base/dso2dso.exp
7756 * gdb.base/dtrace-probe.exp
7757 * gdb.base/dump.exp
7758 * gdb.base/enum_cond.exp
7759 * gdb.base/exe-lock.exp
7760 * gdb.base/exec-invalid-sysroot.exp
7761 * gdb.base/execl-update-breakpoints.exp
7762 * gdb.base/exprs.exp
7763 * gdb.base/fileio.exp
7764 * gdb.base/find.exp
7765 * gdb.base/finish.exp
7766 * gdb.base/fixsection.exp
7767 * gdb.base/foll-vfork.exp
7768 * gdb.base/frame-args.exp
7769 * gdb.base/gcore.exp
7770 * gdb.base/gdb1250.exp
7771 * gdb.base/global-var-nested-by-dso.exp
7772 * gdb.base/gnu-ifunc.exp
7773 * gdb.base/hashline1.exp
7774 * gdb.base/hashline2.exp
7775 * gdb.base/hashline3.exp
7776 * gdb.base/hbreak-in-shr-unsupported.exp
7777 * gdb.base/huge.exp
7778 * gdb.base/infcall-input.exp
7779 * gdb.base/info-fun.exp
7780 * gdb.base/info-shared.exp
7781 * gdb.base/jit-simple.exp
7782 * gdb.base/jit-so.exp
7783 * gdb.base/jit.exp
7784 * gdb.base/jump.exp
7785 * gdb.base/label.exp
7786 * gdb.base/lineinc.exp
7787 * gdb.base/logical.exp
7788 * gdb.base/longjmp.exp
7789 * gdb.base/macscp.exp
7790 * gdb.base/miscexprs.exp
7791 * gdb.base/new-ui-echo.exp
7792 * gdb.base/new-ui-pending-input.exp
7793 * gdb.base/new-ui.exp
7794 * gdb.base/nodebug.exp
7795 * gdb.base/nofield.exp
7796 * gdb.base/offsets.exp
7797 * gdb.base/overlays.exp
7798 * gdb.base/pending.exp
7799 * gdb.base/pointers.exp
7800 * gdb.base/pr11022.exp
7801 * gdb.base/printcmds.exp
7802 * gdb.base/prologue.exp
7803 * gdb.base/ptr-typedef.exp
7804 * gdb.base/realname-expand.exp
7805 * gdb.base/relativedebug.exp
7806 * gdb.base/relocate.exp
7807 * gdb.base/remote.exp
7808 * gdb.base/reread.exp
7809 * gdb.base/return2.exp
7810 * gdb.base/savedregs.exp
7811 * gdb.base/sep.exp
7812 * gdb.base/sepdebug.exp
7813 * gdb.base/sepsymtab.exp
7814 * gdb.base/set-inferior-tty.exp
7815 * gdb.base/setshow.exp
7816 * gdb.base/shlib-call.exp
7817 * gdb.base/sigaltstack.exp
7818 * gdb.base/siginfo-addr.exp
7819 * gdb.base/signals.exp
7820 * gdb.base/signull.exp
7821 * gdb.base/sigrepeat.exp
7822 * gdb.base/so-impl-ld.exp
7823 * gdb.base/solib-display.exp
7824 * gdb.base/solib-overlap.exp
7825 * gdb.base/solib-search.exp
7826 * gdb.base/solib-symbol.exp
7827 * gdb.base/structs.exp
7828 * gdb.base/structs2.exp
7829 * gdb.base/symtab-search-order.exp
7830 * gdb.base/twice.exp
7831 * gdb.base/unload.exp
7832 * gdb.base/varargs.exp
7833 * gdb.base/watchpoint-solib.exp
7834 * gdb.base/watchpoint.exp
7835 * gdb.base/whatis.exp
7836 * gdb.base/wrong_frame_bt_full.exp
7837 * gdb.btrace/dlopen.exp
7838 * gdb.cell/ea-standalone.exp
7839 * gdb.cell/ea-test.exp
7840 * gdb.cp/dispcxx.exp
7841 * gdb.cp/gdb2384.exp
7842 * gdb.cp/method2.exp
7843 * gdb.cp/nextoverthrow.exp
7844 * gdb.cp/pr10728.exp
7845 * gdb.disasm/am33.exp
7846 * gdb.disasm/h8300s.exp
7847 * gdb.disasm/mn10300.exp
7848 * gdb.disasm/sh3.exp
7849 * gdb.dwarf2/dw2-dir-file-name.exp
7850 * gdb.fortran/complex.exp
7851 * gdb.fortran/library-module.exp
7852 * gdb.guile/scm-pretty-print.exp
7853 * gdb.guile/scm-symbol.exp
7854 * gdb.guile/scm-type.exp
7855 * gdb.guile/scm-value.exp
7856 * gdb.linespec/linespec.exp
7857 * gdb.mi/gdb701.exp
7858 * gdb.mi/gdb792.exp
7859 * gdb.mi/mi-breakpoint-changed.exp
7860 * gdb.mi/mi-dprintf-pending.exp
7861 * gdb.mi/mi-dprintf.exp
7862 * gdb.mi/mi-exit-code.exp
7863 * gdb.mi/mi-pending.exp
7864 * gdb.mi/mi-solib.exp
7865 * gdb.mi/new-ui-mi-sync.exp
7866 * gdb.mi/pr11022.exp
7867 * gdb.mi/user-selected-context-sync.exp
7868 * gdb.opt/solib-intra-step.exp
7869 * gdb.python/py-events.exp
7870 * gdb.python/py-finish-breakpoint.exp
7871 * gdb.python/py-mi.exp
7872 * gdb.python/py-prettyprint.exp
7873 * gdb.python/py-shared.exp
7874 * gdb.python/py-symbol.exp
7875 * gdb.python/py-template.exp
7876 * gdb.python/py-type.exp
7877 * gdb.python/py-value.exp
7878 * gdb.reverse/solib-precsave.exp
7879 * gdb.reverse/solib-reverse.exp
7880 * gdb.server/solib-list.exp
7881 * gdb.stabs/weird.exp
7882 * gdb.threads/reconnect-signal.exp
7883 * gdb.threads/stepi-random-signal.exp
7884 * gdb.trace/actions.exp
7885 * gdb.trace/ax.exp
7886 * gdb.trace/backtrace.exp
7887 * gdb.trace/change-loc.exp
7888 * gdb.trace/deltrace.exp
7889 * gdb.trace/ftrace-lock.exp
7890 * gdb.trace/ftrace.exp
7891 * gdb.trace/infotrace.exp
7892 * gdb.trace/mi-tracepoint-changed.exp
7893 * gdb.trace/packetlen.exp
7894 * gdb.trace/passcount.exp
7895 * gdb.trace/pending.exp
7896 * gdb.trace/range-stepping.exp
7897 * gdb.trace/report.exp
7898 * gdb.trace/stap-trace.exp
7899 * gdb.trace/tfind.exp
7900 * gdb.trace/trace-break.exp
7901 * gdb.trace/trace-condition.exp
7902 * gdb.trace/trace-enable-disable.exp
7903 * gdb.trace/trace-mt.exp
7904 * gdb.trace/tracecmd.exp
7905 * gdb.trace/tspeed.exp
7906 * gdb.trace/tsv.exp
7907 * lib/perftest.exp
7908
7909 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7910
7911 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7912 with gdb_test_no_output.
7913 Use command as test name.
7914
7915 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7916
7917 Fix test names starting with uppercase throughout the files.
7918
7919 * gdb.ada/assign_1.exp
7920 * gdb.ada/boolean_expr.exp
7921 * gdb.base/arrayidx.exp
7922 * gdb.base/del.exp
7923 * gdb.base/gcore-buffer-overflow.exp
7924 * gdb.base/testenv.exp
7925 * gdb.compile/compile.exp
7926 * gdb.python/py-framefilter-invalidarg.exp
7927 * gdb.python/py-framefilter.exp
7928
7929 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7930
7931 Fix test names starting with uppercase throughout the files.
7932
7933 * gdb.ada/array_return.exp
7934 * gdb.ada/expr_delims.exp
7935 * gdb.ada/mi_dyn_arr.exp
7936 * gdb.ada/mi_interface.exp
7937 * gdb.ada/mi_var_array.exp
7938 * gdb.ada/watch_arg.exp
7939 * gdb.arch/alpha-step.exp
7940 * gdb.arch/altivec-regs.exp
7941 * gdb.arch/e500-regs.exp
7942 * gdb.arch/powerpc-d128-regs.exp
7943 * gdb.base/arrayidx.exp
7944 * gdb.base/break.exp
7945 * gdb.base/checkpoint.exp
7946 * gdb.base/debug-expr.exp
7947 * gdb.base/dmsym.exp
7948 * gdb.base/radix.exp
7949 * gdb.base/sepdebug.exp
7950 * gdb.base/testenv.exp
7951 * gdb.base/watch_thread_num.exp
7952 * gdb.base/watchpoint-cond-gone.exp
7953 * gdb.cell/break.exp
7954 * gdb.cell/ea-cache.exp
7955 * gdb.compile/compile.exp
7956 * gdb.cp/gdb2495.exp
7957 * gdb.gdb/selftest.exp
7958 * gdb.gdb/xfullpath.exp
7959 * gdb.go/hello.exp
7960 * gdb.go/integers.exp
7961 * gdb.objc/basicclass.exp
7962 * gdb.pascal/hello.exp
7963 * gdb.pascal/integers.exp
7964 * gdb.python/py-breakpoint.exp
7965 * gdb.python/py-cmd.exp
7966 * gdb.python/py-linetable.exp
7967 * gdb.python/py-xmethods.exp
7968 * gdb.python/python.exp
7969 * gdb.reverse/consecutive-precsave.exp
7970 * gdb.reverse/finish-precsave.exp
7971 * gdb.reverse/i386-precsave.exp
7972 * gdb.reverse/machinestate-precsave.exp
7973 * gdb.reverse/sigall-precsave.exp
7974 * gdb.reverse/solib-precsave.exp
7975 * gdb.reverse/step-precsave.exp
7976 * gdb.reverse/until-precsave.exp
7977 * gdb.reverse/watch-precsave.exp
7978 * gdb.threads/leader-exit.exp
7979 * gdb.threads/pthreads.exp
7980 * gdb.threads/wp-replication.exp
7981 * gdb.trace/actions.exp
7982 * gdb.trace/mi-tsv-changed.exp
7983 * gdb.trace/tsv.exp
7984
7985 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7986
7987 Fix test names starting with uppercase throughout the files.
7988
7989 * gdb.arch/i386-bp_permanent.exp
7990 * gdb.arch/i386-gnu-cfi.exp
7991 * gdb.base/disasm-end-cu.exp
7992 * gdb.base/macscp.exp
7993 * gdb.base/pending.exp
7994 * gdb.base/watch_thread_num.exp
7995 * gdb.cp/exception.exp
7996 * gdb.cp/gdb2495.exp
7997 * gdb.cp/local.exp
7998 * gdb.python/py-evsignal.exp
7999 * gdb.python/python.exp
8000 * gdb.trace/tracecmd.exp
8001
8002 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8003
8004 Fix test names starting with uppercase throughout the files.
8005
8006 * gdb.base/charset.exp
8007 * gdb.base/eval.exp
8008 * gdb.base/multi-forks.exp
8009 * gdb.guile/scm-progspace.exp
8010 * gdb.opencl/datatypes.exp
8011 * gdb.python/py-block.exp
8012 * gdb.python/py-function.exp
8013 * gdb.python/py-symbol.exp
8014 * gdb.python/py-symtab.exp
8015 * gdb.python/py-xmethods.exp
8016 * gdb.reverse/break-precsave.exp
8017 * gdb.reverse/break-reverse.exp
8018 * gdb.reverse/consecutive-precsave.exp
8019 * gdb.reverse/consecutive-reverse.exp
8020 * gdb.reverse/finish-precsave.exp
8021 * gdb.reverse/finish-reverse-bkpt.exp
8022 * gdb.reverse/finish-reverse.exp
8023 * gdb.reverse/fstatat-reverse.exp
8024 * gdb.reverse/getresuid-reverse.exp
8025 * gdb.reverse/i386-precsave.exp
8026 * gdb.reverse/i386-reverse.exp
8027 * gdb.reverse/i386-sse-reverse.exp
8028 * gdb.reverse/i387-stack-reverse.exp
8029 * gdb.reverse/insn-reverse.exp
8030 * gdb.reverse/machinestate-precsave.exp
8031 * gdb.reverse/machinestate.exp
8032 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8033 * gdb.reverse/pipe-reverse.exp
8034 * gdb.reverse/readv-reverse.exp
8035 * gdb.reverse/recvmsg-reverse.exp
8036 * gdb.reverse/rerun-prec.exp
8037 * gdb.reverse/s390-mvcle.exp
8038 * gdb.reverse/sigall-precsave.exp
8039 * gdb.reverse/sigall-reverse.exp
8040 * gdb.reverse/solib-precsave.exp
8041 * gdb.reverse/solib-reverse.exp
8042 * gdb.reverse/step-precsave.exp
8043 * gdb.reverse/step-reverse.exp
8044 * gdb.reverse/time-reverse.exp
8045 * gdb.reverse/until-precsave.exp
8046 * gdb.reverse/until-reverse.exp
8047 * gdb.reverse/waitpid-reverse.exp
8048 * gdb.reverse/watch-precsave.exp
8049 * gdb.reverse/watch-reverse.exp
8050
8051 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8052
8053 Fix test names starting with uppercase throughout the files.
8054
8055 * gdb.arch/i386-mpx-simple_segv.exp
8056 * gdb.arch/i386-mpx.exp
8057 * gdb.arch/i386-permbkpt.exp
8058 * gdb.arch/pa-nullify.exp
8059 * gdb.arch/powerpc-d128-regs.exp
8060 * gdb.arch/vsx-regs.exp
8061 * gdb.base/bfp-test.exp
8062 * gdb.base/break.exp
8063 * gdb.base/breakpoint-shadow.exp
8064 * gdb.base/callfuncs.exp
8065 * gdb.base/charset.exp
8066 * gdb.base/commands.exp
8067 * gdb.base/completion.exp
8068 * gdb.base/dfp-test.exp
8069 * gdb.base/echo.exp
8070 * gdb.base/ending-run.exp
8071 * gdb.base/eval.exp
8072 * gdb.base/expand-psymtabs.exp
8073 * gdb.base/float128.exp
8074 * gdb.base/floatn.exp
8075 * gdb.base/foll-exec-mode.exp
8076 * gdb.base/gdb1056.exp
8077 * gdb.base/gdb11531.exp
8078 * gdb.base/kill-after-signal.exp
8079 * gdb.base/multi-forks.exp
8080 * gdb.base/overlays.exp
8081 * gdb.base/pending.exp
8082 * gdb.base/sepdebug.exp
8083 * gdb.base/testenv.exp
8084 * gdb.base/valgrind-db-attach.exp
8085 * gdb.base/watch_thread_num.exp
8086 * gdb.base/watchpoint-cond-gone.exp
8087 * gdb.base/watchpoint.exp
8088 * gdb.base/watchpoints.exp
8089 * gdb.cp/arg-reference.exp
8090 * gdb.cp/baseenum.exp
8091 * gdb.cp/operator.exp
8092 * gdb.cp/shadow.exp
8093 * gdb.dwarf2/dw2-op-out-param.exp
8094 * gdb.dwarf2/dw2-reg-undefined.exp
8095 * gdb.go/chan.exp
8096 * gdb.go/hello.exp
8097 * gdb.go/integers.exp
8098 * gdb.go/methods.exp
8099 * gdb.go/package.exp
8100 * gdb.guile/scm-parameter.exp
8101 * gdb.guile/scm-progspace.exp
8102 * gdb.guile/scm-value.exp
8103 * gdb.mi/mi-pending.exp
8104 * gdb.mi/user-selected-context-sync.exp
8105 * gdb.multi/multi-attach.exp
8106 * gdb.multi/tids.exp
8107 * gdb.opt/clobbered-registers-O2.exp
8108 * gdb.pascal/floats.exp
8109 * gdb.pascal/integers.exp
8110 * gdb.python/py-block.exp
8111 * gdb.python/py-events.exp
8112 * gdb.python/py-parameter.exp
8113 * gdb.python/py-symbol.exp
8114 * gdb.python/py-symtab.exp
8115 * gdb.python/py-type.exp
8116 * gdb.python/py-value.exp
8117 * gdb.python/py-xmethods.exp
8118 * gdb.python/python.exp
8119 * gdb.reverse/break-precsave.exp
8120 * gdb.reverse/consecutive-precsave.exp
8121 * gdb.reverse/finish-precsave.exp
8122 * gdb.reverse/i386-precsave.exp
8123 * gdb.reverse/machinestate-precsave.exp
8124 * gdb.reverse/sigall-precsave.exp
8125 * gdb.reverse/solib-precsave.exp
8126 * gdb.reverse/step-precsave.exp
8127 * gdb.reverse/until-precsave.exp
8128 * gdb.reverse/watch-precsave.exp
8129 * gdb.server/ext-attach.exp
8130 * gdb.server/ext-restart.exp
8131 * gdb.server/ext-run.exp
8132 * gdb.server/ext-wrapper.exp
8133 * gdb.stabs/gdb11479.exp
8134 * gdb.stabs/weird.exp
8135 * gdb.threads/attach-many-short-lived-threads.exp
8136 * gdb.threads/kill.exp
8137 * gdb.threads/watchpoint-fork.exp
8138
8139 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8140
8141 Fix test names starting with uppercase throughout all the files below.
8142
8143 * gdb.ada/array_return.exp
8144 * gdb.ada/catch_ex.exp
8145 * gdb.ada/info_exc.exp
8146 * gdb.ada/mi_catch_ex.exp
8147 * gdb.ada/mi_dyn_arr.exp
8148 * gdb.ada/mi_ex_cond.exp
8149 * gdb.ada/mi_exc_info.exp
8150 * gdb.ada/mi_interface.exp
8151 * gdb.ada/mi_task_arg.exp
8152 * gdb.ada/mi_task_info.exp
8153 * gdb.ada/mi_var_array.exp
8154 * gdb.arch/alpha-step.exp
8155 * gdb.arch/amd64-disp-step.exp
8156 * gdb.arch/arm-disp-step.exp
8157 * gdb.arch/disp-step-insn-reloc.exp
8158 * gdb.arch/e500-prologue.exp
8159 * gdb.arch/ftrace-insn-reloc.exp
8160 * gdb.arch/gdb1558.exp
8161 * gdb.arch/i386-bp_permanent.exp
8162 * gdb.arch/i386-disp-step.exp
8163 * gdb.arch/i386-float.exp
8164 * gdb.arch/i386-gnu-cfi.exp
8165 * gdb.arch/ia64-breakpoint-shadow.exp
8166 * gdb.arch/mips16-thunks.exp
8167 * gdb.arch/pa-nullify.exp
8168 * gdb.arch/powerpc-aix-prologue.exp
8169 * gdb.arch/powerpc-power.exp
8170 * gdb.arch/ppc-dfp.exp
8171 * gdb.arch/s390-tdbregs.exp
8172 * gdb.arch/spu-info.exp
8173 * gdb.arch/spu-ls.exp
8174 * gdb.arch/thumb-bx-pc.exp
8175 * gdb.base/advance.exp
8176 * gdb.base/annota-input-while-running.exp
8177 * gdb.base/arrayidx.exp
8178 * gdb.base/asmlabel.exp
8179 * gdb.base/async.exp
8180 * gdb.base/attach-wait-input.exp
8181 * gdb.base/auto-connect-native-target.exp
8182 * gdb.base/batch-preserve-term-settings.exp
8183 * gdb.base/bfp-test.exp
8184 * gdb.base/bigcore.exp
8185 * gdb.base/bp-permanent.exp
8186 * gdb.base/break-always.exp
8187 * gdb.base/break-fun-addr.exp
8188 * gdb.base/break-idempotent.exp
8189 * gdb.base/break-main-file-remove-fail.exp
8190 * gdb.base/break-probes.exp
8191 * gdb.base/break-unload-file.exp
8192 * gdb.base/break.exp
8193 * gdb.base/call-ar-st.exp
8194 * gdb.base/call-rt-st.exp
8195 * gdb.base/call-sc.exp
8196 * gdb.base/call-signal-resume.exp
8197 * gdb.base/call-strs.exp
8198 * gdb.base/callexit.exp
8199 * gdb.base/callfuncs.exp
8200 * gdb.base/catch-gdb-caused-signals.exp
8201 * gdb.base/catch-signal-siginfo-cond.exp
8202 * gdb.base/catch-syscall.exp
8203 * gdb.base/compare-sections.exp
8204 * gdb.base/cond-eval-mode.exp
8205 * gdb.base/condbreak-call-false.exp
8206 * gdb.base/consecutive-step-over.exp
8207 * gdb.base/cursal.exp
8208 * gdb.base/disabled-location.exp
8209 * gdb.base/disasm-end-cu.exp
8210 * gdb.base/display.exp
8211 * gdb.base/double-prompt-target-event-error.exp
8212 * gdb.base/dprintf-bp-same-addr.exp
8213 * gdb.base/dprintf-detach.exp
8214 * gdb.base/dprintf-next.exp
8215 * gdb.base/dprintf-non-stop.exp
8216 * gdb.base/dprintf-pending.exp
8217 * gdb.base/dso2dso.exp
8218 * gdb.base/ending-run.exp
8219 * gdb.base/enum_cond.exp
8220 * gdb.base/examine-backward.exp
8221 * gdb.base/exe-lock.exp
8222 * gdb.base/exec-invalid-sysroot.exp
8223 * gdb.base/execl-update-breakpoints.exp
8224 * gdb.base/execution-termios.exp
8225 * gdb.base/fileio.exp
8226 * gdb.base/fixsection.exp
8227 * gdb.base/foll-exec-mode.exp
8228 * gdb.base/foll-exec.exp
8229 * gdb.base/fork-running-state.exp
8230 * gdb.base/frame-args.exp
8231 * gdb.base/fullpath-expand.exp
8232 * gdb.base/func-ptr.exp
8233 * gdb.base/gcore-relro-pie.exp
8234 * gdb.base/gdb1090.exp
8235 * gdb.base/gdb1555.exp
8236 * gdb.base/global-var-nested-by-dso.exp
8237 * gdb.base/gnu-ifunc.exp
8238 * gdb.base/hbreak-in-shr-unsupported.exp
8239 * gdb.base/hbreak-unmapped.exp
8240 * gdb.base/hook-stop.exp
8241 * gdb.base/infcall-input.exp
8242 * gdb.base/info-fun.exp
8243 * gdb.base/info-shared.exp
8244 * gdb.base/interrupt-noterm.exp
8245 * gdb.base/jit-so.exp
8246 * gdb.base/jit.exp
8247 * gdb.base/line-symtabs.exp
8248 * gdb.base/list.exp
8249 * gdb.base/longjmp.exp
8250 * gdb.base/macscp.exp
8251 * gdb.base/max-value-size.exp
8252 * gdb.base/nodebug.exp
8253 * gdb.base/nofield.exp
8254 * gdb.base/overlays.exp
8255 * gdb.base/paginate-after-ctrl-c-running.exp
8256 * gdb.base/paginate-bg-execution.exp
8257 * gdb.base/paginate-inferior-exit.exp
8258 * gdb.base/pending.exp
8259 * gdb.base/pr11022.exp
8260 * gdb.base/printcmds.exp
8261 * gdb.base/ptr-typedef.exp
8262 * gdb.base/ptype.exp
8263 * gdb.base/randomize.exp
8264 * gdb.base/range-stepping.exp
8265 * gdb.base/realname-expand.exp
8266 * gdb.base/relativedebug.exp
8267 * gdb.base/remote.exp
8268 * gdb.base/savedregs.exp
8269 * gdb.base/sepdebug.exp
8270 * gdb.base/set-noassign.exp
8271 * gdb.base/shlib-call.exp
8272 * gdb.base/shreloc.exp
8273 * gdb.base/sigaltstack.exp
8274 * gdb.base/sigbpt.exp
8275 * gdb.base/siginfo-addr.exp
8276 * gdb.base/siginfo-obj.exp
8277 * gdb.base/siginfo-thread.exp
8278 * gdb.base/signest.exp
8279 * gdb.base/signull.exp
8280 * gdb.base/sigrepeat.exp
8281 * gdb.base/skip.exp
8282 * gdb.base/so-impl-ld.exp
8283 * gdb.base/solib-corrupted.exp
8284 * gdb.base/solib-disc.exp
8285 * gdb.base/solib-display.exp
8286 * gdb.base/solib-overlap.exp
8287 * gdb.base/solib-search.exp
8288 * gdb.base/solib-symbol.exp
8289 * gdb.base/source-execution.exp
8290 * gdb.base/sss-bp-on-user-bp-2.exp
8291 * gdb.base/sss-bp-on-user-bp.exp
8292 * gdb.base/stack-checking.exp
8293 * gdb.base/stale-infcall.exp
8294 * gdb.base/step-break.exp
8295 * gdb.base/step-line.exp
8296 * gdb.base/step-over-exit.exp
8297 * gdb.base/step-test.exp
8298 * gdb.base/structs.exp
8299 * gdb.base/sym-file.exp
8300 * gdb.base/symtab-search-order.exp
8301 * gdb.base/term.exp
8302 * gdb.base/type-opaque.exp
8303 * gdb.base/unload.exp
8304 * gdb.base/until-nodebug.exp
8305 * gdb.base/until.exp
8306 * gdb.base/unwindonsignal.exp
8307 * gdb.base/watch-cond.exp
8308 * gdb.base/watch-non-mem.exp
8309 * gdb.base/watch_thread_num.exp
8310 * gdb.base/watchpoint-reuse-slot.exp
8311 * gdb.base/watchpoint-solib.exp
8312 * gdb.base/watchpoint.exp
8313 * gdb.btrace/dlopen.exp
8314 * gdb.cell/arch.exp
8315 * gdb.cell/break.exp
8316 * gdb.cell/bt.exp
8317 * gdb.cell/core.exp
8318 * gdb.cell/data.exp
8319 * gdb.cell/dwarfaddr.exp
8320 * gdb.cell/ea-cache.exp
8321 * gdb.cell/ea-standalone.exp
8322 * gdb.cell/ea-test.exp
8323 * gdb.cell/f-regs.exp
8324 * gdb.cell/fork.exp
8325 * gdb.cell/gcore.exp
8326 * gdb.cell/mem-access.exp
8327 * gdb.cell/ptype.exp
8328 * gdb.cell/registers.exp
8329 * gdb.cell/sizeof.exp
8330 * gdb.cell/solib-symbol.exp
8331 * gdb.cell/solib.exp
8332 * gdb.compile/compile-tls.exp
8333 * gdb.cp/exception.exp
8334 * gdb.cp/gdb2495.exp
8335 * gdb.cp/local.exp
8336 * gdb.cp/mb-inline.exp
8337 * gdb.cp/mb-templates.exp
8338 * gdb.cp/pr10687.exp
8339 * gdb.cp/pr9167.exp
8340 * gdb.cp/scope-err.exp
8341 * gdb.cp/templates.exp
8342 * gdb.cp/virtfunc.exp
8343 * gdb.dwarf2/dw2-dir-file-name.exp
8344 * gdb.dwarf2/dw2-single-line-discriminators.exp
8345 * gdb.fortran/complex.exp
8346 * gdb.fortran/library-module.exp
8347 * gdb.guile/guile.exp
8348 * gdb.guile/scm-cmd.exp
8349 * gdb.guile/scm-frame-inline.exp
8350 * gdb.guile/scm-objfile.exp
8351 * gdb.guile/scm-pretty-print.exp
8352 * gdb.guile/scm-symbol.exp
8353 * gdb.guile/scm-type.exp
8354 * gdb.guile/scm-value.exp
8355 * gdb.linespec/keywords.exp
8356 * gdb.linespec/ls-errs.exp
8357 * gdb.linespec/macro-relative.exp
8358 * gdb.linespec/thread.exp
8359 * gdb.mi/mi-breakpoint-changed.exp
8360 * gdb.mi/mi-dprintf-pending.exp
8361 * gdb.mi/mi-fullname-deleted.exp
8362 * gdb.mi/mi-logging.exp
8363 * gdb.mi/mi-pending.exp
8364 * gdb.mi/mi-solib.exp
8365 * gdb.mi/new-ui-mi-sync.exp
8366 * gdb.mi/user-selected-context-sync.exp
8367 * gdb.multi/dummy-frame-restore.exp
8368 * gdb.multi/multi-arch-exec.exp
8369 * gdb.multi/remove-inferiors.exp
8370 * gdb.multi/watchpoint-multi-exit.exp
8371 * gdb.opt/solib-intra-step.exp
8372 * gdb.perf/backtrace.exp
8373 * gdb.perf/single-step.exp
8374 * gdb.perf/skip-command.exp
8375 * gdb.perf/skip-prologue.exp
8376 * gdb.perf/solib.exp
8377 * gdb.python/lib-types.exp
8378 * gdb.python/py-as-string.exp
8379 * gdb.python/py-bad-printers.exp
8380 * gdb.python/py-block.exp
8381 * gdb.python/py-breakpoint.exp
8382 * gdb.python/py-cmd.exp
8383 * gdb.python/py-events.exp
8384 * gdb.python/py-evthreads.exp
8385 * gdb.python/py-finish-breakpoint.exp
8386 * gdb.python/py-finish-breakpoint2.exp
8387 * gdb.python/py-frame-inline.exp
8388 * gdb.python/py-frame.exp
8389 * gdb.python/py-inferior.exp
8390 * gdb.python/py-infthread.exp
8391 * gdb.python/py-mi.exp
8392 * gdb.python/py-objfile.exp
8393 * gdb.python/py-pp-maint.exp
8394 * gdb.python/py-pp-registration.exp
8395 * gdb.python/py-prettyprint.exp
8396 * gdb.python/py-recurse-unwind.exp
8397 * gdb.python/py-shared.exp
8398 * gdb.python/py-symbol.exp
8399 * gdb.python/py-symtab.exp
8400 * gdb.python/py-template.exp
8401 * gdb.python/py-type.exp
8402 * gdb.python/py-unwind-maint.exp
8403 * gdb.python/py-unwind.exp
8404 * gdb.python/py-value.exp
8405 * gdb.python/python.exp
8406 * gdb.reverse/finish-reverse-bkpt.exp
8407 * gdb.reverse/insn-reverse.exp
8408 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8409 * gdb.reverse/solib-precsave.exp
8410 * gdb.reverse/solib-reverse.exp
8411 * gdb.stabs/gdb11479.exp
8412 * gdb.stabs/weird.exp
8413 * gdb.threads/fork-child-threads.exp
8414 * gdb.threads/fork-plus-threads.exp
8415 * gdb.threads/fork-thread-pending.exp
8416 * gdb.threads/forking-threads-plus-breakpoint.exp
8417 * gdb.threads/hand-call-in-threads.exp
8418 * gdb.threads/interrupted-hand-call.exp
8419 * gdb.threads/linux-dp.exp
8420 * gdb.threads/local-watch-wrong-thread.exp
8421 * gdb.threads/next-while-other-thread-longjmps.exp
8422 * gdb.threads/non-ldr-exit.exp
8423 * gdb.threads/pending-step.exp
8424 * gdb.threads/print-threads.exp
8425 * gdb.threads/process-dies-while-detaching.exp
8426 * gdb.threads/process-dies-while-handling-bp.exp
8427 * gdb.threads/pthreads.exp
8428 * gdb.threads/queue-signal.exp
8429 * gdb.threads/reconnect-signal.exp
8430 * gdb.threads/signal-command-handle-nopass.exp
8431 * gdb.threads/signal-command-multiple-signals-pending.exp
8432 * gdb.threads/signal-delivered-right-thread.exp
8433 * gdb.threads/signal-sigtrap.exp
8434 * gdb.threads/sigthread.exp
8435 * gdb.threads/staticthreads.exp
8436 * gdb.threads/stepi-random-signal.exp
8437 * gdb.threads/thread-unwindonsignal.exp
8438 * gdb.threads/thread_check.exp
8439 * gdb.threads/thread_events.exp
8440 * gdb.threads/tid-reuse.exp
8441 * gdb.threads/tls-nodebug.exp
8442 * gdb.threads/tls-shared.exp
8443 * gdb.threads/tls-so_extern.exp
8444 * gdb.threads/tls.exp
8445 * gdb.threads/wp-replication.exp
8446 * gdb.trace/actions-changed.exp
8447 * gdb.trace/actions.exp
8448 * gdb.trace/backtrace.exp
8449 * gdb.trace/change-loc.exp
8450 * gdb.trace/collection.exp
8451 * gdb.trace/deltrace.exp
8452 * gdb.trace/disconnected-tracing.exp
8453 * gdb.trace/entry-values.exp
8454 * gdb.trace/ftrace-lock.exp
8455 * gdb.trace/ftrace.exp
8456 * gdb.trace/infotrace.exp
8457 * gdb.trace/mi-trace-frame-collected.exp
8458 * gdb.trace/mi-trace-unavailable.exp
8459 * gdb.trace/mi-traceframe-changed.exp
8460 * gdb.trace/mi-tracepoint-changed.exp
8461 * gdb.trace/mi-tsv-changed.exp
8462 * gdb.trace/no-attach-trace.exp
8463 * gdb.trace/packetlen.exp
8464 * gdb.trace/passc-dyn.exp
8465 * gdb.trace/passcount.exp
8466 * gdb.trace/pending.exp
8467 * gdb.trace/pr16508.exp
8468 * gdb.trace/qtro.exp
8469 * gdb.trace/range-stepping.exp
8470 * gdb.trace/read-memory.exp
8471 * gdb.trace/report.exp
8472 * gdb.trace/save-trace.exp
8473 * gdb.trace/signal.exp
8474 * gdb.trace/stap-trace.exp
8475 * gdb.trace/status-stop.exp
8476 * gdb.trace/strace.exp
8477 * gdb.trace/tfile.exp
8478 * gdb.trace/tfind.exp
8479 * gdb.trace/trace-break.exp
8480 * gdb.trace/trace-condition.exp
8481 * gdb.trace/trace-enable-disable.exp
8482 * gdb.trace/trace-mt.exp
8483 * gdb.trace/tracecmd.exp
8484 * gdb.trace/tracefile-pseudo-reg.exp
8485 * gdb.trace/tspeed.exp
8486 * gdb.trace/tstatus.exp
8487 * gdb.trace/tsv.exp
8488 * gdb.trace/unavailable.exp
8489 * gdb.trace/while-dyn.exp
8490 * gdb.trace/while-stepping.exp
8491 * lib/gdb-guile.exp
8492 * lib/gdb.exp
8493 * lib/mi-support.exp
8494 * lib/pascal.exp
8495 * lib/perftest.exp
8496 * lib/prelink-support.exp
8497 * lib/selftest-support.exp
8498
8499 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8500
8501 * Makefile.in: Include disable-implicit-rules.mk.
8502
8503 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8504
8505 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8506 non-byte-aligned bit fields.
8507
8508 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8509
8510 PR gdb/12616
8511 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8512 respects the DW_AT_data_bit_offset attribute.
8513
8514 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8515
8516 * gdb.base/default.exp: Fix output of "set language".
8517
8518 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8519
8520 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8521 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8522 make.
8523 * configure.ac: Remove checks for the make program.
8524 * configure: Re-generate.
8525
8526 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8527
8528 * gdb.python/py-recurse-unwind.c (main): Add loop.
8529 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8530 to read_register() and gdb.parse_and_eval(). Make each code
8531 call a separate case that can be individually tested.
8532 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8533 proc. Call cont_and_backtrace for each of the code paths that
8534 we want to test in the unwinder.
8535
8536 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8537
8538 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8539 the definition of struct S.
8540
8541 2016-11-11 Catherine Moore <clm@codesourcery.com>
8542
8543 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8544
8545 2016-11-09 Pedro Alves <palves@redhat.com>
8546
8547 * gdb.base/commands.exp (runto_or_return): New procedure.
8548 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8549 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8550 (progvar_simple_while_test, progvar_complex_if_while_test)
8551 (if_while_breakpoint_command_test)
8552 (infrun_breakpoint_command_test, breakpoint_command_test)
8553 (user_defined_command_test, watchpoint_command_test)
8554 (test_command_prompt_position, redefine_hook_test)
8555 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8556 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8557 multi_line_input and multi_line. Remove gdb_expect and
8558 gdb_stop_suppressing_tests uses.
8559 * lib/gdb.exp (valnum_re): New global.
8560 (multi_line_input): New procedure.
8561
8562 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8563
8564 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8565 Remove.
8566 (test_setup): Define with proc_with_prefix.
8567 (test_cli_inferior): Likewise.
8568 (test_cli_thread): Likewise.
8569 (test_cli_frame): Likewise.
8570 (test_cli_select_frame): Likewise.
8571 (test_cli_up_down): Likewise.
8572 (test_mi_thread_select): Likewise.
8573 (test_mi_stack_select_frame): Likewise.
8574 (test_cli_in_mi_inferior): Likewise.
8575 (test_cli_in_mi_thread): Likewise.
8576 (test_cli_in_mi_frame): Likewise.
8577 (top level): Do not use with_test_prefix_procname.
8578
8579 2016-11-09 Pedro Alves <palves@redhat.com>
8580
8581 * gdb.base/commands.exp (gdbvar_simple_if_test)
8582 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8583 (progvar_simple_if_test, progvar_simple_while_test)
8584 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8585 (infrun_breakpoint_command_test, breakpoint_command_test)
8586 (user_defined_command_test, watchpoint_command_test)
8587 (test_command_prompt_position, deprecated_command_test)
8588 (bp_deleted_in_command, temporary_breakpoint_commands)
8589 (stray_arg0_test, source_file_with_indented_comment)
8590 (recursive_source_test, if_commands_test)
8591 (error_clears_commands_left, redefine_hook_test)
8592 (redefine_backtrace_test): Use proc_with_prefix.
8593 * lib/gdb.exp (proc_with_prefix): New proc.
8594
8595 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8596
8597 * gdb.base/tui-layout.c: New file.
8598 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8599 disassembly window contains very long lines.
8600
8601 2016-11-08 Tom Tromey <tom@tromey.com>
8602
8603 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8604 depend on Python 2.
8605
8606 2016-11-08 Tom Tromey <tom@tromey.com>
8607
8608 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8609 New method.
8610
8611 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8612
8613 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8614
8615 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8616
8617 * gdb.rust/simple.rs: Add test for univariant enums without
8618 discriminants and for encoded struct-like enums.
8619
8620 2016-10-28 Pedro Alves <palves@redhat.com>
8621
8622 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8623 gdb_test_multiple, tighten regexps and match symtabs and line
8624 tables incrementally.
8625
8626 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8627
8628 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8629 general.
8630
8631 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8632
8633 * gdb.base/exec-invalid-sysroot.exp: New file.
8634
8635 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8636
8637 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8638
8639 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8640
8641 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8642
8643 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8644
8645 * gdb.base/killed-outside.exp: Remove $options from a call to
8646 `prepare_for_testing'.
8647
8648 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8649
8650 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8651 Change test message.
8652
8653 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8654
8655 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8656 Update comment.
8657
8658 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8659
8660 * gdb.trace/mi-trace-save.exp: New file.
8661
8662 2016-10-13 Yao Qi <yao.qi@linaro.org>
8663
8664 * gdb.base/code_elim.exp (get_var_address): Remove.
8665 * gdb.base/relocate.exp: Likewise.
8666 * gdb.base/shreloc.exp: Likewise.
8667 * lib/gdb.exp (get_var_address): New.
8668
8669 2016-10-13 Yao Qi <yao.qi@linaro.org>
8670
8671 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8672 floating point tests if $skip_float_test is false.
8673
8674 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8675
8676 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8677 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8678 argc values.
8679 Add 1 to argc so we guarantee distinct initial/modified argc values.
8680
8681 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8682
8683 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8684
8685 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8686
8687 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8688 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8689 * gdb.arch/vsx-regs.exp: Likewise.
8690
8691 2016-10-07 Yao Qi <yao.qi@linaro.org>
8692
8693 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8694
8695 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8696
8697 * gdb.python/python.exp: Test decode_line("*0").
8698
8699 2016-10-06 Doug Evans <dje@google.com>
8700
8701 * gdb.python/py-value.exp (test_value_creation): Add test for large
8702 unsigned 64-bit value.
8703
8704 2016-10-06 Tom Tromey <tom@tromey.com>
8705
8706 * gdb.compile/compile.exp: Change java tests to rust.
8707 * gdb.base/setshow.exp: Change java tests to rust.
8708 * gdb.base/default.exp: Remove java from language list.
8709 * README (Examples): Update language example.
8710 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8711 test.
8712 * lib/gdb.exp (skip_java_tests): Remove.
8713 * lib/java.exp: Remove.
8714 * gdb.java: Remove.
8715
8716 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8717
8718 * gdb.arch/mips-fcr.exp: New test.
8719 * gdb.arch/mips-fcr.c: Source for the new test.
8720
8721 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8722
8723 * gdb.base/solib-disc.exp: Use `standard_output_file'
8724 throughout.
8725
8726 2016-10-06 Pedro Alves <palves@redhat.com>
8727
8728 * gdb.base/jit-simple-dl.c: New file.
8729 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8730 * gdb.base/jit-simple.c: ... this.
8731 * gdb.base/jit-simple.exp (jit_run): Delete.
8732 (build_jit): New proc.
8733 (jit_test_reread): Recompile either the main program or the shared
8734 library, depending on what is being tested. Skip changing address
8735 if caller wants to. Compare before/after addresses. If testing
8736 standalone, explicitly load the binary. Test "maint info
8737 breakpoints".
8738 (top level): Add "standalone vs shared lib" and "change address"
8739 vs "same address" axes.
8740
8741 2016-10-06 Pedro Alves <palves@redhat.com>
8742
8743 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8744 call.
8745 (jit_run): Delete.
8746 (jit_test_reread): Use with_test_prefix. Reload the main binary
8747 explicitly. Compare the before/after addresses of the JIT
8748 descriptor.
8749
8750 2016-08-15 Doug Evans <dje@google.com>
8751
8752 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8753 for single bitfields is bool.
8754 * gdb.xml/tdesc-regs.exp: Ditto.
8755
8756 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8757
8758 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8759
8760 2016-10-05 Yao Qi <yao.qi@linaro.org>
8761
8762 * lib/gdb.exp (support_complex_tests): Return zero if
8763 gdb_skip_float_test return true.
8764
8765 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8766 Simon Marchi <simon.marchi@ericsson.com>
8767
8768 PR gdb/20487
8769 * gdb.mi/user-selected-context-sync.exp: New file.
8770 * gdb.mi/user-selected-context-sync.c: New file.
8771
8772 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8773 Simon Marchi <simon.marchi@ericsson.com>
8774
8775 PR gdb/20487
8776 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8777 =thread-select-event check.
8778
8779 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8780
8781 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8782 the compulsory L operand changes.
8783 * gdb.arch/powerpc-power.s: Likewise.
8784
8785 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8786
8787 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8788 * gdb.base/jit-attach-pie.c: New file.
8789 * gdb.base/jit-attach-pie.exp: New file.
8790
8791 2016-09-28 Pedro Alves <palves@redhat.com>
8792
8793 * gdb.base/infcall-input.c: New file.
8794 * gdb.base/infcall-input.exp: New file.
8795
8796 2016-09-22 Yao Qi <yao.qi@linaro.org>
8797
8798 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8799 (gdb_exit): Rename it to ...
8800 (gdbserver_gdb_exit): ... Close GDBserver.
8801 (gdb_exit): New proc, call gdbserver_gdb_exit.
8802 (mi_gdb_exit): Likewise.
8803
8804 2016-09-22 Yao Qi <yao.qi@linaro.org>
8805
8806 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8807 path.
8808 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8809 Remove duplication.
8810
8811 2016-09-22 Yao Qi <yao.qi@linaro.org>
8812
8813 * lib/gdbserver-support.exp: Check the existence of
8814 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8815
8816 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8817
8818 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8819
8820 2016-09-21 Tom Tromey <tom@tromey.com>
8821
8822 PR gdb/20604:
8823 * gdb.base/quit.exp: New file.
8824
8825 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8826
8827 * .gitignore: New file.
8828
8829 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8830
8831 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8832 throughout.
8833
8834 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8835
8836 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8837
8838 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8839
8840 * gdb.cp/casts.cc (decltype): Move it ...
8841 (main): ... with its call to ...
8842 * gdb.cp/casts03.cc: ... a new file.
8843 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8844
8845 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8846
8847 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8848
8849 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8850
8851 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8852 and sync up the test with tests in gas/testsuite/gas/ppc.
8853 * gdb.arch/powerpc-power.exp: Likewise.
8854
8855 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8856
8857 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8858
8859 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8860 Jan Kratochvil <jan.kratochvil@redhat.com>
8861
8862 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8863 make m1's definition to be different from m2's. Use 'dummy' as an
8864 argument for probe 'two'.
8865
8866 2016-09-10 Jon Beniston <jon@beniston.com>
8867
8868 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8869 for sim target.
8870
8871 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8872
8873 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8874 variable declaration.
8875 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8876 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8877 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8878 received HWCAP as its argument.
8879
8880 2016-09-06 Pedro Alves <palves@redhat.com>
8881
8882 * gdb.base/new-ui-pending-input.c: New file.
8883 * gdb.base/new-ui-pending-input.exp: New file.
8884 * gdb.exp (clear_gdb_spawn_id): New procedure.
8885 (with_spawn_id): Check whether gdb_spawn_id exists before
8886 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8887 on exit.
8888
8889 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8890
8891 * gdb.base/float128.c: New file.
8892 * gdb.base/float128.exp: Likewise.
8893 * gdb.base/floatn.c: Likewise.
8894 * gdb.base/floatn.exp: Likewise.
8895
8896 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8897
8898 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8899
8900 2016-09-05 Pedro Alves <palves@redhat.com>
8901
8902 PR backtrace/19927
8903 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8904 unwinders are immediately called as side effect of "source" or
8905 "disable unwinder" commands.
8906 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8907
8908 2016-09-02 Yao Qi <yao.qi@linaro.org>
8909
8910 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8911 is true and $type is "float" or "double".
8912
8913 2016-09-02 Yao Qi <yao.qi@linaro.org>
8914
8915 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8916 true.
8917 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8918 * gdb.base/call-rt-st.exp: Likewise.
8919 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8920 return value instead of gdb,skip_float_test.
8921 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8922 (do_function_calls): Use its return value instead of
8923 gdb,skip_float_test.
8924 * gdb.base/finish.exp: Likewise.
8925 * gdb.base/funcargs.exp: Likewise.
8926 * gdb.base/return.exp: Likewise.
8927 * gdb.base/return2.exp: Likewise.
8928 * gdb.base/varargs.exp: Likewise.
8929 * lib/gdb.exp (gdb_skip_float_test): Change it to
8930 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8931
8932 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8933
8934 * gdb.multi/tids.exp: Test "thread apply all".
8935
8936 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8937
8938 * gdb.base/default.exp (tty): Remove.
8939
8940 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8941
8942 * gdb.python/py-recurse-unwind.c: New file.
8943 * gdb.python/py-recurse-unwind.py: New file.
8944 * gdb.python/py-recurse-unwind.exp: New file.
8945
8946 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8947
8948 * gdb.base/set-inferior-tty.exp: New file.
8949 * gdb.base/set-inferior-tty.c: New file.
8950
8951 2016-08-23 Pedro Alves <palves@redhat.com>
8952
8953 PR gdb/20494
8954 * gdb.base/new-ui-echo.c: New file.
8955 * gdb.base/new-ui-echo.exp: New file.
8956
8957 2016-08-23 Yao Qi <yao.qi@linaro.org>
8958
8959 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8960 gdbserver_spawn.
8961 * gdb.server/connect-without-multi-process.exp (do_test):
8962 Likewise.
8963
8964 2016-08-23 Yao Qi <yao.qi@linaro.org>
8965
8966 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8967 standalone_txt. Delete gdb_txt and standalone_txt on host
8968 and target. Spawn the binary on target. Copy files from
8969 target to host.
8970
8971 2016-08-22 Pedro Alves <palves@redhat.com>
8972
8973 PR gdb/20505
8974 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8975 with_test_prefix. Factor out bits to ...
8976 (test_no_vdso): ... this new procedure.
8977
8978 2016-08-19 Carl Love <cel@us.ibm.com>
8979
8980 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8981 maintaining separate logic for constructing the output path.
8982 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8983 * gdb.arch/ppc-dfp.exp: Likewise.
8984 * gdb.arch/ppc-fp.exp: Likewise.
8985 * gdb.arch/vsx-regs.exp: Likewise.
8986 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8987 binprefix for generating the additional binary files.
8988
8989 2016-08-19 Pedro Alves <palves@redhat.com>
8990
8991 * gdb.trace/mi-trace-frame-collected.exp
8992 (test_trace_frame_collected): On x32, expect two registers.
8993
8994 2016-08-18 Carl Love <cel@us.ibm.com>
8995
8996 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8997 and sync up the test with tests in gas/testsuite/gas/ppc.
8998 * gdb.arch/powerpc-power.exp: Likewise.
8999
9000 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9001
9002 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9003 expected error message.
9004
9005 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9006
9007 * gdb.multi/remove-inferiors.exp: New file.
9008 * gdb.multi/remove-inferiors.c: New file.
9009
9010 2016-08-12 Yao Qi <yao.qi@linaro.org>
9011
9012 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9013 argument list.
9014
9015 2016-08-10 Pedro Alves <palves@redhat.com>
9016
9017 PR gdb/19187
9018 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9019 setup_kfails.
9020
9021 2016-08-09 Pedro Alves <palves@redhat.com>
9022 Simon Marchi <simon.marchi@ericsson.com>
9023
9024 PR gdb/20418
9025 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9026 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9027
9028 2016-08-09 Pedro Alves <palves@redhat.com>
9029
9030 PR mi/20431
9031 * gdb.mi/mi-cmd-error.exp: New file.
9032
9033 2016-08-09 Pedro Alves <palves@redhat.com>
9034
9035 PR gdb/18653
9036 * gdb.base/signals-state-child.c: New file.
9037 * gdb.base/signals-state-child.exp: New file.
9038 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9039
9040 2016-08-09 Pedro Alves <palves@redhat.com>
9041
9042 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9043
9044 2016-08-03 Tom Tromey <tom@tromey.com>
9045
9046 PR python/18565:
9047 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9048
9049 2016-08-01 Yao Qi <yao.qi@linaro.org>
9050
9051 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9052 variable mode to "multi-process" if $multi_process is 1, otherwise
9053 set it to "single-process".
9054
9055 2016-08-01 Yao Qi <yao.qi@linaro.org>
9056
9057 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9058 * gdb.cp/cpexprs.exp: Likewise.
9059 * gdb.cp/m-static.exp: Likewise.
9060
9061 2016-07-26 Tom Tromey <tom@tromey.com>
9062
9063 PR python/20190:
9064 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9065 test.
9066
9067 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9068
9069 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9070 selecting assembly source files.
9071 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9072 assembly source files.
9073 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9074 assembly source files.
9075 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9076 selecting assembly source files.
9077
9078 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9079
9080 * gdb.base/new-ui.exp (do_test_invalid_args): New
9081 procedure.
9082
9083 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9084
9085 * gdb.btrace/reconnect.c: New file.
9086 * gdb.btrace/reconnect.exp: New file.
9087
9088 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9089
9090 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9091 to test_catch_syscall_group.
9092 (test_catch_syscall_group): New.
9093
9094 2016-07-21 Tom Tromey <tom@tromey.com>
9095
9096 * gdb.rust/simple.rs (main): Use empty struct expression.
9097 * gdb.rust/simple.exp: Add tests for empty struct expression.
9098
9099 2016-07-21 Yao Qi <yao.qi@linaro.org>
9100
9101 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9102 if gdb_skip_xml_test is true on some targets.
9103
9104 2016-07-21 Yao Qi <yao.qi@linaro.org>
9105
9106 * gdb.server/solib-list.exp: Unset last_loaded_file.
9107
9108 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9109
9110 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9111 "step into captured_main (args)".
9112
9113 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9114
9115 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9116
9117 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9118
9119 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9120
9121 2016-07-19 Pedro Alves <palves@redhat.com>
9122
9123 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9124 * gdb.opt/inline-bt.exp: Likewise.
9125 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9126 additional_flags=-Winline.
9127 * gdb.opt/inline-locals.exp: Likewise.
9128 * gdb.opt/inline-markers.c (ATTR): Define.
9129 (inlined_fn): Use it.
9130
9131 2016-07-19 Yao Qi <yao.qi@linaro.org>
9132
9133 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9134 (test_with_self): Remove some code. Remove argument executable.
9135 (top-level): Use do_self_tests.
9136
9137 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9138 Don Breazeal <donb@codesourcery.com>
9139
9140 * gdb.base/maint.exp: Escape paths used in regular expressions.
9141 * gdb.stabs/weird.exp: Likewise.
9142
9143 2016-07-13 Tom Tromey <tom@tromey.com>
9144
9145 PR python/15620, PR python/18620:
9146 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9147 (test_bkpt_events): New procs.
9148
9149 2016-07-13 Tom Tromey <tom@tromey.com>
9150
9151 PR python/17698:
9152 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9153 test.
9154 (test_watchpoints): Likewise.
9155 (test_bkpt_pending): New proc.
9156
9157 2016-07-13 Tom Tromey <tom@tromey.com>
9158
9159 PR cli/18053:
9160 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9161 completion test.
9162
9163 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9164
9165 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9166 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9167 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9168 f_label.
9169 (g): Rename g_end_lbl to g_label.
9170 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9171 low_pc and high_pc.
9172 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9173
9174 2016-07-12 Tom Tromey <tom@tromey.com>
9175
9176 PR python/19293:
9177 * gdb.python/py-unwind-maint.exp: Update tests.
9178
9179 2016-07-12 Yao Qi <yao.qi@linaro.org>
9180
9181 * lib/selftest-support.exp (selftest_setup): Match the output
9182 when captured_main is inlined.
9183
9184 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9185
9186 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9187 New variables.
9188 (print this%a, print this%b, print this): New tests.
9189 * gdb.fortran/derived-types.f90 (this): New object and
9190 initialization.
9191
9192 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9193
9194 * gdb.ada/arraydim.exp: Remove extra directory level in build
9195 directory.
9196
9197 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9198
9199 * lib/ada.exp: Remove extra directory level in build directory.
9200 * gdb.ada/cond_lang.exp: Likewise.
9201 * gdb.ada/exec_changed.exp: Likewise.
9202 * gdb.ada/lang_switch.exp: Likewise.
9203
9204 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9205
9206 * simple.rs: Add test for raw pointer subscripting.
9207 * simple.exp: Add test expectations.
9208
9209 2016-07-05 Yao Qi <yao.qi@linaro.org>
9210
9211 * gdb.mi/mi-reverse.exp: Match =record-started output.
9212
9213 2016-07-01 Pedro Alves <palves@redhat.com>
9214
9215 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9216 procedure.
9217 (jit_reader_test): Test the jit reader's unwinder.
9218 * gdb.base/jithost.c (jit_function_00_code): New global.
9219 (main): Use memcpy to fill in the mmapped code, instead of poking
9220 bytes manually here.
9221 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9222 value.
9223 (read_debug_info): Save the function's range.
9224 (read_sp): New function.
9225 (unwind_frame): Use it. Also unwind RBP.
9226 (get_frame_id): Use read_sp.
9227 (gdb_init_reader): Use calloc instead of malloc.
9228 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9229 parameter. Use gdb_test_multiple.
9230
9231 2016-07-01 Pedro Alves <palves@redhat.com>
9232 Antoine Tremblay <antoine.tremblay@ericsson.com>
9233
9234 * gdb.threads/process-dies-while-detaching.c: New file.
9235 * gdb.threads/process-dies-while-detaching.exp: New file.
9236
9237 2016-07-01 Pedro Alves <palves@redhat.com>
9238
9239 * gdb.multi/watchpoint-multi-exit.c: New file.
9240 * gdb.multi/watchpoint-multi-exit.exp: New file.
9241
9242 2016-06-30 Pedro Alves <palves@redhat.com>
9243
9244 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9245 unset inferior_spawn_id.
9246
9247 2016-06-30 Pedro Alves <palves@redhat.com>
9248
9249 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9250 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9251
9252 2016-06-29 Yao Qi <yao.qi@linaro.org>
9253
9254 * gdb.base/return.c: Add copyright header.
9255
9256 2016-06-29 Tom Tromey <tom@tromey.com>
9257
9258 PR python/20129:
9259 * gdb.python/py-framefilter.exp: Add tests for setting priority
9260 and disabling of non-existent frame filter.
9261
9262 2016-06-29 Yao Qi <yao.qi@linaro.org>
9263
9264 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9265 0x0f07ff.
9266
9267 2016-06-28 Yao Qi <yao.qi@linaro.org>
9268
9269 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9270 triplets. Start gdb, execute catch syscall, and continue. Check
9271 gdb's output to determine catch syscall is supported.
9272
9273 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9274
9275 * gdb.rust/simple.rs: Add test for returning unit in a function.
9276 * gdb.rust/simple.exp: Add expectation for functions returning
9277 unit.
9278
9279 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9280
9281 * gdb.python/py-breakpoint-create-fail.c,
9282 gdb.python/py-breakpoint-create-fail.exp,
9283 gdb.python/py-breakpoint-create-fail.py: New testcase.
9284
9285 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9286
9287 PR gdb/20239
9288 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9289 * gdb.rust/simple.exp: Add test expectations for new NonZero
9290 tests.
9291
9292 2016-06-24 David Taylor <dtaylor@emc.com>
9293
9294 * gdb.base/offsets.exp: New file.
9295 * gdb.base/offsets.c: New file.
9296
9297 2016-06-23 Tom Tromey <tom@tromey.com>
9298
9299 PR gdb/16483:
9300 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9301 before any filters are loaded.
9302
9303 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9304
9305 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9306 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9307 structs.
9308 * gdb.fortran/derived-type-function.exp: New file.
9309 * gdb.fortran/derived-type-function.f90: New file.
9310
9311
9312 2016-06-21 Pedro Alves <palves@redhat.com>
9313
9314 * gdb.base/new-ui.exp: New file.
9315 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9316 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9317 (with_spawn_id): New procedure.
9318
9319 2016-06-21 Pedro Alves <palves@redhat.com>
9320
9321 * gdb.mi/mi-exec-run.exp: New file.
9322
9323 2016-06-21 Pedro Alves <palves@redhat.com>
9324
9325 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9326 breakpoint command's output on the main UI.
9327 (test_break): New procedure, factored out from calls in the top
9328 level.
9329 (top level): Use foreach_with_prefix to test MI as main UI and as
9330 separate UI.
9331
9332 2016-06-21 Pedro Alves <palves@redhat.com>
9333
9334 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9335 (test_awatch_creation_and_listing)
9336 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9337 Remove 'type' parameter.
9338 (test_watchpoint_all): New parameter mi_mode. Remove
9339 with_test_prefix.
9340 (top level): Use foreach_with_prefix, and add main/separate UI MI
9341 testing axis.
9342
9343 2016-06-21 Pedro Alves <palves@redhat.com>
9344
9345 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9346 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9347 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9348 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9349 (gdb_main_spawn_id, mi_spawn_id): Declare and
9350 comment.
9351 (mi_create_inferior_pty): New procedure,
9352 factored out from default_mi_gdb_start.
9353 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9354 procedures.
9355 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9356 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9357 Use mi_create_inferior_pty.
9358 (mi_gdb_start): Use eval to pass down args list.
9359
9360 2016-06-21 Pedro Alves <palves@redhat.com>
9361
9362 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9363 * gdb.opt/inline-cmds.exp: Add MI tests.
9364
9365 2016-06-21 Pedro Alves <palves@redhat.com>
9366
9367 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9368
9369 2016-06-21 Pedro Alves <palves@redhat.com>
9370
9371 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9372 (top level): Use it instead of mi_execute_to.
9373
9374 2016-06-21 Pedro Alves <palves@redhat.com>
9375
9376 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9377 (cont_handler_str): New.
9378 (signal_stop_handler): Set stop_handler_str instead of printing to
9379 stdout.
9380 (continue_handler): Set cont_handler_str instead of printing to
9381 stdout.
9382 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9383 mi_send_resuming_command. Print stop_handler_str and
9384 cont_handler_str instead of expecting the python events print
9385 directly.
9386
9387 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9388
9389 * gdb.base/jit-reader.exp: New file.
9390 * gdb.base/jithost.c: New file.
9391 * gdb.base/jithost.h: New file.
9392 * gdb.base/jitreader.c : New file.
9393 * gdb.base/jit-protocol.h: New file.
9394
9395 2016-06-17 Yao Qi <yao.qi@linaro.org>
9396
9397 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9398 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9399 and detach-on-fork. Adjust tests.
9400 (top level): Invoke break_cond_on_syscall with combinations of
9401 syscall, follow-fork-mode and detach-on-fork.
9402
9403 2016-06-17 Yao Qi <yao.qi@linaro.org>
9404
9405 * gdb.base/step-over-exit.c: New.
9406 * gdb.base/step-over-exit.exp: New.
9407
9408 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9409
9410 * gdb.base/float.exp: Add target check for nds32*-*-*.
9411 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9412
9413 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9414
9415 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9416 for unsupported target features.
9417 * gdb.base/call-rt-st.exp: Likewise.
9418 * gdb.base/call-sc.exp: Likewise.
9419 * gdb.base/call-signal-resume.exp: Likewise.
9420 * gdb.base/call-strs.exp: Likewise.
9421 * gdb.base/callexit.exp: Likewise.
9422 * gdb.base/callfuncs.exp: Likewise.
9423 * gdb.base/nodebug.exp: Likewise.
9424 * gdb.base/printcmds.exp: Likewise.
9425 * gdb.base/ptype.exp: Likewise.
9426 * gdb.base/structs.exp: Likewise.
9427 * gdb.base/unwindonsignal.exp: Likewise.
9428 * gdb.cp/gdb2495.exp: Likewise.
9429 * gdb.cp/templates.exp: Likewise.
9430 * gdb.cp/virtfunc.exp: Likewise.
9431 * gdb.threads/hand-call-in-threads.exp: Likewise.
9432 * gdb.threads/interrupted-hand-call.exp: Likewise.
9433 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9434
9435 2016-06-10 Tom Tromey <tom@tromey.com>
9436
9437 PR rust/20110:
9438 * gdb.rust/expr.exp: Add test for integer constant larger than
9439 i32.
9440
9441 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9442
9443 * gdb.fortran/nested-funcs.exp: New.
9444 * gdb.fortran/nested-funcs.f90: New.
9445
9446 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9447
9448 * gdb.base/examine-backward.c: New file.
9449 * gdb.base/examine-backward.exp: New file.
9450
9451 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9452
9453 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9454 matching.
9455
9456 2016-06-02 Tom Tromey <tom@tromey.com>
9457
9458 PR python/18984:
9459 * gdb.python/py-shared.exp: Add solib_name test.
9460
9461 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9462
9463 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9464
9465 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9466
9467 PR c++/19893
9468 * gdb.dwarf2/implref.exp: Rename to...
9469 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9470 * gdb.dwarf2/implref-array.c: New file.
9471 * gdb.dwarf2/implref-array.exp: Likewise.
9472 * gdb.dwarf2/implref-global.c: Likewise.
9473 * gdb.dwarf2/implref-global.exp: Likewise.
9474 * gdb.dwarf2/implref-struct.c: Likewise.
9475 * gdb.dwarf2/implref-struct.exp: Likewise.
9476
9477 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9478
9479 * gdb.trace/trace-condition.exp: Add 64bit tests.
9480
9481 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9482
9483 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9484 bits types.
9485 (main): Adapt to 8 to 64 bits types.
9486 * gdb.trace/trace-condition.exp: Add new tests.
9487
9488 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9489
9490 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9491
9492 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9493
9494 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9495 Move condition tests...
9496 * gdb.trace/trace-condition.exp: Here.
9497
9498 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9499
9500 * gdb.trace/trace-condition.exp: Add counter-case tests.
9501
9502 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9503
9504 PR c++/15231
9505 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9506 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9507
9508 2016-05-27 Pedro Alves <palves@redhat.com>
9509
9510 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9511 New procedure.
9512 (top level): Call it, and bail out of DejaGnu is known to be bad.
9513
9514 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9515
9516 * gdb.base/whatis.c: Extend the test case.
9517 * gdb.base/whatis.exp: Add additional tests.
9518
9519 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9520
9521 * gdb.fortran/type.f90: Add pointer variable.
9522 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9523
9524 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9525
9526 * gdb.fortran/vla-type.exp: Fix testcase name.
9527
9528 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9529
9530 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9531
9532 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9533
9534 * gdb.fortran/type.f90: Add nested structures.
9535 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9536 * gdb.fortran/derived-type.exp: Adapt expected output.
9537 * gdb.fortran/vla-type.exp: Adapt expected output.
9538
9539 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9540
9541 * gdb.fortran/whatis_type.exp: Adapt expected output.
9542
9543 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9544
9545 * gdb.fortran/print_type.exp: Fix expected output.
9546 * gdb.fortran/whatis_type.exp: Fix expected output.
9547
9548 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9549
9550 * gdb.fortran/whatis_type.exp: Use multi_line.
9551
9552 2016-05-24 Tom Tromey <tom@tromey.com>
9553
9554 PR python/17386:
9555 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9556 use value as an index.
9557
9558 2016-05-23 Tom Tromey <tom@tromey.com>
9559
9560 PR python/17981:
9561 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9562 no-breakpoint case.
9563
9564 2016-05-24 Pedro Alves <palves@redhat.com>
9565
9566 PR gdb/19828
9567 * gdb.threads/clone-attach-detach.c: New file.
9568 * gdb.threads/clone-attach-detach.exp: New file.
9569
9570 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9571
9572 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9573
9574 2016-05-23 Tom Tromey <tom@tromey.com>
9575
9576 PR python/19438, PR python/18393:
9577 * gdb.python/py-progspace.exp: Add "dir" test.
9578 * gdb.python/py-objfile.exp: Add "dir" test.
9579
9580 2016-05-23 Yao Qi <yao.qi@linaro.org>
9581
9582 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9583 * gdb.arch/thumb2-it.exp: Likewise.
9584
9585 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9586
9587 * gdb.mi/mi-threads-interrupt.c: New file.
9588 * gdb.mi/mi-threads-interrupt.exp: New file.
9589
9590 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9591
9592 PR gdb/18077
9593 * gdb.mi/mi-async-run.exp: New file.
9594 * gdb.mi/mi-async-run.c: New file.
9595
9596 2016-05-17 Tom Tromey <tom@tromey.com>
9597 Manish Goregaokar <manishsmail@gmail.com>
9598
9599 * lib/rust-support.exp: New file.
9600 * lib/gdb.exp (skip_rust_tests): New proc.
9601 (build_executable_from_specs): Handle rust.
9602 * lib/future.exp (gdb_find_rustc): New proc.
9603 (gdb_default_target_compile): Handle rust.
9604 * gdb.rust/expr.exp: New file.
9605 * gdb.rust/generics.exp: New file.
9606 * gdb.rust/generics.rs: New file.
9607 * gdb.rust/methods.exp: New file.
9608 * gdb.rust/methods.rs: New file.
9609 * gdb.rust/modules.exp: New file.
9610 * gdb.rust/modules.rs: New file.
9611 * gdb.rust/simple.exp: New file.
9612 * gdb.rust/simple.rs: New file.
9613
9614 2016-05-17 Tom Tromey <tom@tromey.com>
9615
9616 * gdb.base/default.exp (set language): Add rust.
9617
9618 2016-05-17 Tom Tromey <tom@tromey.com>
9619
9620 * gdb.gdb/unittest.exp: New file.
9621
9622 2016-05-16 Yao Qi <yao.qi@linaro.org>
9623
9624 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9625 shell_prompt. Update shell_prompt_re.
9626
9627 2016-05-12 Doug Evans <dje@google.com>
9628
9629 PR symtab/19999
9630 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9631 $options when building executable.
9632 * gdb.dwarf2/fission-loclists-pie.S: New file.
9633 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9634
9635 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9636
9637 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9638 of [is_remote target],
9639
9640 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9641
9642 * lib/gdb.exp (use_gdb_stub): New procedure.
9643
9644 2016-05-03 Yunlian Jiang <yunlian@google.com>
9645 Doug Evans <dje@google.com>
9646
9647 PR symtab/19914
9648 * gdb.dwarf2/dwp-sepdebug.c: New file.
9649 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9650
9651 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9652
9653 * gdb.base/detach.exp: Remove is_remote check.
9654
9655 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9656
9657 * gdb.base/annota-input-while-running.exp: Don't check for
9658 [is_remote target]. Enable annotations after running to main.
9659 Remove unused "set test..." line.
9660
9661 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9662
9663 * gdb.trace/trace-enable-disable.exp: New file.
9664 * gdb.trace/trace-enable-disable.c: New file.
9665
9666 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9667
9668 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9669 use it in info sharedlibrary test.
9670 * gdb.trace/ftrace-lock.exp: Likewise.
9671 * gdb.trace/ftrace.exp: Likewise.
9672 * gdb.trace/range-stepping.exp: Likewise.
9673 * gdb.trace/trace-break.exp: Likewise.
9674 * gdb.trace/trace-condition.exp: Likewise.
9675 * gdb.trace/trace-mt.exp: Likewise.
9676
9677 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9678
9679 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9680 (gdb_load_shlib): ... this.
9681 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9682 gdb_load_shlib.
9683 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9684 * gdb.base/ctxobj.exp: Likewise.
9685 * gdb.base/dprintf-pending.exp: Likewise.
9686 * gdb.base/dso2dso.exp: Likewise.
9687 * gdb.base/fixsection.exp: Likewise.
9688 * gdb.base/gcore-relro.exp: Likewise.
9689 * gdb.base/gdb1555.exp: Likewise.
9690 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9691 * gdb.base/gnu-ifunc.exp: Likewise.
9692 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9693 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9694 * gdb.base/pending.exp: Likewise.
9695 * gdb.base/print-file-var.exp: Likewise.
9696 * gdb.base/print-symbol-loading.exp: Likewise.
9697 * gdb.base/shlib-call.exp: Likewise.
9698 * gdb.base/shreloc.exp: Likewise.
9699 * gdb.base/so-impl-ld.exp: Likewise.
9700 * gdb.base/solib-disc.exp: Likewise.
9701 * gdb.base/solib-nodir.exp: Likewise.
9702 * gdb.base/solib-overlap.exp: Likewise.
9703 * gdb.base/solib-symbol.exp: Likewise.
9704 * gdb.base/solib-weak.exp (do_test): Likewise.
9705 * gdb.base/sym-file.exp: Likewise.
9706 * gdb.base/symtab-search-order.exp: Likewise.
9707 * gdb.base/type-opaque.exp: Likewise.
9708 * gdb.base/unload.exp: Likewise.
9709 * gdb.base/watchpoint-solib.exp: Likewise.
9710 * gdb.compile/compile.exp: Likewise.
9711 * gdb.cp/gdb2384.exp: Likewise.
9712 * gdb.cp/infcall-dlopen.exp: Likewise.
9713 * gdb.cp/re-set-overloaded.exp: Likewise.
9714 * gdb.fortran/library-module.exp: Likewise.
9715 * gdb.opt/solib-intra-step.exp: Likewise.
9716 * gdb.python/py-finish-breakpoint.exp: Likewise.
9717 * gdb.python/py-shared.exp: Likewise.
9718 * gdb.reverse/solib-precsave.exp: Likewise.
9719 * gdb.reverse/solib-reverse.exp: Likewise.
9720 * gdb.server/solib-list.exp: Likewise.
9721 * gdb.threads/dlopen-libpthread.exp: Likewise.
9722 * gdb.threads/tls-shared.exp: Likewise.
9723 * gdb.threads/tls-so_extern.exp: Likewise.
9724 * gdb.trace/change-loc.exp: Likewise.
9725 * gdb.trace/ftrace-lock.exp: Likewise.
9726 * gdb.trace/ftrace.exp: Likewise.
9727 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9728 * gdb.trace/pending.exp: Likewise.
9729 * gdb.trace/range-stepping.exp: Likewise.
9730 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9731 (strace_info_marker): Likewise.
9732 (strace_probe_marker): Likewise.
9733 (strace_trace_on_same_addr): Likewise.
9734 (strace_trace_on_diff_addr): Likewise.
9735 * gdb.trace/trace-break.exp: Likewise.
9736 * gdb.trace/trace-condition.exp: Likewise.
9737 * gdb.trace/trace-mt.exp: Likewise.
9738
9739 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9740
9741 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9742 result of gdb_remote_download.
9743 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9744 * gdb.base/dso2dso.exp: Likewise.
9745 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9746 * gdb.base/print-file-var.exp: Likewise.
9747 * gdb.base/shlib-call.exp: Likewise.
9748 * gdb.base/shreloc.exp: Likewise.
9749 * gdb.base/solib-overlap.exp: Likewise.
9750 * gdb.base/solib-weak.exp (do_test): Likewise.
9751 * gdb.base/unload.exp: Likewise.
9752
9753 2016-04-27 Yao Qi <yao.qi@linaro.org>
9754
9755 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9756 exists.
9757
9758 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9759
9760 * vla-type.exp: Print structure from toplevel.
9761
9762 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9763
9764 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9765 of dynamic types.
9766 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9767 of dynamic types.
9768
9769 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9770
9771 * gdb.fortran/vla-type.f90: New file.
9772 * gdb.fortran/vla-type.exp: New file.
9773
9774 2016-04-25 Yao Qi <yao.qi@linaro.org>
9775
9776 * gdb.base/branch-to-self.c: New file.
9777 * gdb.base/branch-to-self.exp: New file.
9778
9779 2016-04-22 Yao Qi <yao.qi@linaro.org>
9780
9781 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9782 more after $hex.
9783
9784 2016-04-22 Yao Qi <yao.qi@linaro.org>
9785
9786 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9787 * gdb.base/annota3.exp: Likewise.
9788
9789 2016-04-22 Yao Qi <yao.qi@linaro.org>
9790
9791 * gdb.reverse/step-precsave.exp: Do one step and test program
9792 stops in "callee" and do multiple steps until program goes out
9793 of "callee".
9794 * gdb.reverse/step-reverse.exp: Likewise.
9795
9796 2016-04-22 Yao Qi <yao.qi@linaro.org>
9797
9798 * gdb.trace/signal.exp: Also pass if
9799 $tracepoint_hits($i) > $iterations.
9800
9801 2016-04-22 Yao Qi <yao.qi@linaro.org>
9802
9803 * gdb.trace/signal.c: New file.
9804 * gdb.trace/signal.exp: New file.
9805
9806 2016-04-19 Doug Evans <xdje42@gmail.com>
9807
9808 * gdb.base/bad-file.exp: New file.
9809
9810 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9811
9812 * gdb.dwarf2/implref.exp: New file.
9813
9814 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9815
9816 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9817 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9818 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9819 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9820 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9821 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9822 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9823 * lib/fortran.exp (fortran_int4): New procedure.
9824 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9825 (fortran_logical4): Likewise.
9826
9827 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9828
9829 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9830
9831 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9832
9833 * lib/compiler.c: Add Intel specific preprocessor macros.
9834 * lib/compiler.cc: Likewise.
9835
9836 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9837
9838 * gdb.server/connect-with-no-symbol-file.c: New file.
9839 * gdb.server/connect-with-no-symbol-file.exp: New file.
9840
9841 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9842
9843 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9844
9845 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9846
9847 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9848 standard output directory.
9849
9850 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9851
9852 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9853
9854 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9855
9856 * gdb.btrace/instruction_history.c (loop): Add declaration.
9857
9858 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9859
9860 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9861
9862 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9863
9864 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9865 parentheses to print.
9866 (continue_handler): Likewise.
9867
9868 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9869
9870 * gdb.server/solib-list.exp: Remove is_remote check.
9871 Pass shlib= to gdb_compile. Don't link shared library with
9872 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9873 Run binary filename through "readlink -f" on the target.
9874
9875 2016-04-08 Pedro Alves <palves@redhat.com>
9876
9877 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9878 interpreter filename as argument to gdbserver_spawn.
9879 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9880 Return empty if $last_loaded_file does not exist.
9881
9882 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9883
9884 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9885 * gdb.base/jit-main.c: Use exit after usage.
9886
9887 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9888
9889 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9890 GDBHISTSIZE prior to the tests.
9891 * gdb.base/gdbinit-history.exp: Likewise.
9892
9893 2016-04-07 Pedro Alves <palves@redhat.com>
9894
9895 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9896 instead of build_executable. Use gdb_load_shlibs.
9897
9898 2016-04-07 Yao Qi <yao.qi@linaro.org>
9899
9900 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9901 Execute "si" command.
9902
9903 2016-04-07 Yao Qi <yao.qi@linaro.org>
9904
9905 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9906 number instead of the comments on some line.
9907
9908 2016-04-06 Don Breazeal <donb@codesourcery.com>
9909
9910 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9911 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9912
9913 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9914
9915 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9916 standard_output_file. Remove unused binfile variable.
9917
9918 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9919
9920 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9921 * gdb.python/py-mi-objfile.exp: Match "list main" output
9922 in console format.
9923
9924 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9925
9926 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9927 absolute.
9928
9929 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9930
9931 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9932 absolute.
9933 * gdb.trace/ftrace.exp: Likewise.
9934 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9935 targets as well.
9936 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9937 (gdb_load_shlibs): Copy libraries to test directory when testing
9938 natively. Only set solib-search-path if testing remotely.
9939 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9940
9941 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9942
9943 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9944 gdb_download. Use it even if the target is not remote.
9945 * gdb.base/jit.exp (compile_jit_test): Likewise.
9946 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9947 output directory if the destination board is local, otherwise use
9948 the standard remote_download from DejaGnu.
9949 (gdb_download): Remove.
9950 (gdb_load_shlibs): Use gdb_remote_download instead of
9951 gdb_download.
9952 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9953 Use gdb_remote_download instead of gdb_download. Use it even if
9954 the target is not remote.
9955 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9956 instead of gdb_download.
9957
9958 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9959
9960 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9961 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9962 run.
9963
9964 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9965
9966 PR gdb/19820
9967 * gdb.base/printcmds.exp: Add artificial arrays tests.
9968
9969 2016-03-31 Pedro Alves <palves@redhat.com>
9970
9971 PR gdb/19858
9972 * gdb.base/jit-main.c: Include unistd.h.
9973 (ATTACH): Define to 0 if not already defined.
9974 (wait_for_gdb, mypid): New globals.
9975 (WAIT_FOR_GDB): New macro.
9976 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9977 some breakpoint locations.
9978 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9979 New procedures.
9980 (one_jit_test): Add REATTACH parameter, and handle it. Use
9981 continue_to_test_location.
9982 (top level): Test attach, and adjusts calls to one_jit_test.
9983
9984 2016-03-31 Pedro Alves <palves@redhat.com>
9985
9986 PR gdb/19858
9987 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9988 BINSUFFIX parameter, and handle it.
9989 (top level): Adjust calls compile_jit_test.
9990
9991 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9992
9993 PR python/19743
9994 * gdb.python/py-mi-events-gdb.py: New file.
9995 * gdb.python/py-mi-events.c: New file.
9996 * gdb.python/py-mi-events.exp: New file.
9997
9998 2016-03-30 Yao Qi <yao.qi@linaro.org>
9999
10000 * gdb.reverse/until-precsave.exp: Match function name only.
10001 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10002 Move malloc to a condition block.
10003 * gdb.reverse/until-reverse.exp: Match function name only.
10004
10005 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10006
10007 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10008 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10009 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10010 variable for GPR 0 instead of assuming it is register 0.
10011 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10012 * lib/trace-support.exp: Add s390 registers.
10013
10014 2016-03-29 Yao Qi <yao.qi@linaro.org>
10015
10016 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10017
10018 2016-03-24 Yao Qi <yao.qi@linaro.org>
10019
10020 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10021 test message.
10022
10023 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10024
10025 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10026 maintaining separate logic for constructing the output path.
10027
10028 2016-03-16 Don Breazeal <donb@codesourcery.com>
10029
10030 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10031 Retry fork and waitpid on interrupted system call errors.
10032 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10033 Use with_timeout_factor to increase timeout by factor of 10.
10034
10035 2016-03-15 Don Breazeal <donb@codesourcery.com>
10036
10037 * gdb.cp/scope-err.cc: New test program.
10038 * gdb.cp/scope-err.exp: New test script.
10039 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10040 lines and "set breakpoint here" comment.
10041 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10042 Fixed some whitespace and format issues.
10043 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10044 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10045
10046 2016-03-15 Doug Evans <dje@google.com>
10047
10048 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10049 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10050 All callers updated. Add tests for enums, mixed flags register.
10051
10052 2016-03-15 Doug Evans <dje@google.com>
10053
10054 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10055 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10056
10057 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10058
10059 * gdb.base/default.exp: Add $_as_string to the list of expected
10060 convenience functions.
10061
10062 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10063
10064 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10065
10066 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10067
10068 * gdb.python/py-as-string.exp: New file.
10069 * gdb.python/py-as-string.c: New file.
10070
10071 2016-03-09 Pedro Alves <palves@redhat.com>
10072
10073 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10074 signal" -> "Thread NN received signal" output change.
10075 * gdb.threads/ia64-sigill.exp: Likewise.
10076 * gdb.threads/linux-dp.exp: Likewise.
10077 * gdb.threads/manythreads.exp: Likewise.
10078 * gdb.threads/pending-step.exp: Likewise.
10079 * gdb.threads/print-threads.exp: Likewise.
10080 * gdb.threads/sigstep-threads.exp: Likewise.
10081 * gdb.threads/staticthreads.exp: Likewise.
10082 * gdb.threads/tls.exp: Likewise.
10083
10084 2016-03-09 Pedro Alves <palves@redhat.com>
10085
10086 * gdb.base/command-line-input.exp: New file.
10087
10088 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10089
10090 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10091 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10092 * gdb.trace/pending.exp: Accept leading dot before function name.
10093 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10094 * lib/trace-support.exp: Set registers for ppc.
10095
10096 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10097
10098 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10099 use it for disassembly; accept .main in addition to main in backtrace.
10100
10101 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10102 Marcin Kościelnicki <koriakin@0x04.net>
10103
10104 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10105 (gdb_recursion_test_ptr): New global variable.
10106 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10107 gdb_recursion_test.
10108 (gdb_c_test): Ditto.
10109
10110 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10111
10112 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10113 ordering.
10114
10115 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10116
10117 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10118 (bar): Add bar_start_lbl label.
10119 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10120 of foo/bar for emitting DWARF and tracing.
10121
10122 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10123
10124 * analyze-racy-logs.py: Set executable bit.
10125
10126 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10127
10128 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10129 (CHECK_TARGET_TMP): Likewise.
10130 (check-single-racy): New rule.
10131 (check-parallel-racy): Likewise.
10132 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10133 (do-check-parallel-racy): New rule.
10134 (check-racy/%.exp): Likewise.
10135 * README (Racy testcases): New section.
10136 * analyze-racy-logs.py: New file.
10137
10138 2016-03-03 Doug Evans <dje@google.com>
10139
10140 * gdb.base/skip.exp: Use with_test_prefix.
10141
10142 2016-03-03 Yao Qi <yao.qi@linaro.org>
10143
10144 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10145 Invoke step_over_syscall "clone" and break_cond_on_syscall
10146 "clone".
10147 * gdb.base/step-over-clone.c: New file.
10148
10149 2016-03-03 Yao Qi <yao.qi@linaro.org>
10150
10151 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10152 code format.
10153
10154 2016-03-03 Yao Qi <yao.qi@linaro.org>
10155
10156 * gdb.base/disp-step-fork.c: Rename to ...
10157 * gdb.base/step-over-fork.c: ... it. New file.
10158 * gdb.base/disp-step-vfork.c: Rename to ...
10159 * gdb.base/step-over-vfork.c: ... it. New file.
10160 * gdb.base/disp-step-syscall.exp: Rename to ...
10161 * gdb.base/step-over-syscall.exp: ... it. New file.
10162 (disp_step_cross_syscall): Rename to ...
10163 (step_over_syscall): ... it.
10164
10165 2016-03-03 Yao Qi <yao.qi@linaro.org>
10166
10167 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10168 If target supports condition evaluation on target, invoke
10169 break_cond_on_syscall for fork and vfork.
10170
10171 2016-03-03 Yao Qi <yao.qi@linaro.org>
10172
10173 * gdb.base/disp-step-syscall.exp: Don't invoke
10174 support_displaced_stepping.
10175 (disp_step_cross_syscall): Test with displaced stepping off and
10176 on if supported.
10177
10178 2016-03-03 Yao Qi <yao.qi@linaro.org>
10179
10180 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10181 proc.
10182 (setup): New proc.
10183 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10184 and setup.
10185
10186 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10187
10188 * gdb.fortran/vla-history.exp: Remove breakpoint.
10189
10190 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10191
10192 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10193 exceeds timeout.
10194
10195 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10196
10197 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10198 breakpoint.
10199
10200 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10201
10202 * gdb.mi/vla.f90: Nullify pointer after declaration.
10203
10204 2016-03-01 Pedro Alves <palves@redhat.com>
10205
10206 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10207
10208 2016-03-01 Pedro Alves <palves@redhat.com>
10209
10210 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10211 before anything else.
10212 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10213 _GNU_SOURCE here.
10214 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10215 before anything else.
10216 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10217
10218 2016-03-01 Pedro Alves <palves@redhat.com>
10219
10220 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10221
10222 2016-03-01 Yao Qi <yao.qi@linaro.org>
10223
10224 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10225 prepare_for_testing.
10226
10227 2016-03-01 Yao Qi <yao.qi@linaro.org>
10228
10229 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10230
10231 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10232
10233 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10234 manually constructing the output path.
10235
10236 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10237
10238 * gdb.arch/s390-stackless.S: New.
10239 * gdb.arch/s390-stackless.exp: New.
10240
10241 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10242
10243 * gdb.dlang/circular.c: New file.
10244 * gdb.dlang/circular.exp: New file.
10245
10246 2016-02-26 Yao Qi <yao.qi@linaro.org>
10247
10248 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10249 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10250 (testcases): Update.
10251
10252 2016-02-26 Yao Qi <yao.qi@linaro.org>
10253
10254 * gdb.reverse/aarch64.c: Rename to ...
10255 * gdb.reverse/insn-reverse.c: ... it.
10256 * gdb.reverse/aarch64.exp: Rename to ...
10257 * gdb.reverse/insn-reverse.exp: ... it.
10258
10259 2016-02-26 Yao Qi <yao.qi@linaro.org>
10260
10261 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10262 (testcase_ftype): New.
10263 (testcases): New array.
10264 (n_testcases): New.
10265 (main): Call each element in testcases.
10266 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10267 (read_testcase): New.
10268 Do the tests in a loop.
10269
10270 2016-02-25 Yao Qi <yao.qi@linaro.org>
10271
10272 * gdb.base/branches.c: Remove.
10273
10274 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10275
10276 PR gdb/13808
10277 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10278
10279 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10280
10281 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10282
10283 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10284
10285 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10286 change x86_64 call_insn to 'callq'.
10287
10288 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10289
10290 * gdb.trace/tfile-avx.c: Move to...
10291 * gdb.trace/tracefile-pseudo-reg.c: Here.
10292 * gdb.trace/tfile-avx.exp: Move to...
10293 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10294
10295 2016-02-24 Gary Benson <gbenson@redhat.com>
10296
10297 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10298 message on attach.
10299
10300 2016-02-23 Doug Evans <dje@google.com>
10301
10302 * gdb.base/skip.c (test_skip): New function.
10303 (end_test_skip_file_and_function): New function.
10304 (test_skip_file_and_function): New function.
10305 * gdb.base/skip1.c (test_skip): New function.
10306 (skip1_test_skip_file_and_function): New function.
10307 * gdb.base/skip.exp: Add tests for new skip options.
10308 * gdb.base/skip-solib.exp: Update expected output.
10309 * gdb.perf/skip-command.cc: New file.
10310 * gdb.perf/skip-command.exp: New file.
10311 * gdb.perf/skip-command.py: New file.
10312
10313 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10314
10315 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10316 info registers pattern.
10317
10318 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10319
10320 * lib/future.exp: Add D support.
10321 (gdb_find_gdc): New proc.
10322 (gdb_default_target_compile): Add D support.
10323
10324 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10325
10326 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10327 user+system time.
10328 (trace_speed_test): Determine the iteration count for a time
10329 between 15..30 seconds.
10330
10331 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10332
10333 * gdb.arch/i386-mpx-sigsegv.c: New file.
10334 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10335 * gdb.arch/i386-mpx-simple_segv.c: New file.
10336 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10337
10338 2016-02-18 Yao Qi <yao.qi@linaro.org>
10339
10340 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10341 Don't call setup_kfail.
10342
10343 2016-02-18 Yao Qi <yao.qi@linaro.org>
10344
10345 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10346 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10347
10348 2016-02-16 Doug Evans <dje@google.com>
10349
10350 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10351 * gdb.base/skip1.c: Ditto.
10352 * gdb.base/skip.exp: Whitespace cleanup.
10353
10354 2016-02-16 Don Breazeal <donb@codesourcery.com>
10355
10356 PR remote/19496
10357 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10358 Remove kfail for PR remote/19496.
10359
10360 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10361
10362 * lib/gdb.exp (standard_temp_file): Return a path specific to
10363 the runtest invocation.
10364
10365 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10366
10367 * gdb.trace/save-trace.exp: Change relative path to be in the
10368 standard output directory.
10369
10370 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10371
10372 * gdb.arch/i386-prologue.c: Add missing prototypes.
10373
10374 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10375
10376 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10377 * gdb.arch/i386-prologue.exp: Likewise.
10378 * gdb.arch/i386-size.exp: Likewise.
10379
10380 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10381
10382 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10383 define object file path.
10384 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10385 file path.
10386 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10387 standard_output_file to define binfile.
10388
10389 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10390
10391 Fix compatibility with recent gfortran-5.3.1.
10392 * gdb.fortran/vla-history.exp (print vla1 allocated)
10393 (print vla2 allocated, print $2, print $3): Remove
10394 (print $4): Rename to ...
10395 (print $2): ... here.
10396 (print $9): Rename to ...
10397 (print $5): ... here.
10398 (print $10): Rename to ...
10399 (print $6): ... here.
10400 * gdb.fortran/vla.f90: Add pvla initialization.
10401
10402 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10403
10404 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10405 New test.
10406 * gdb.fortran/vla-value-sub.exp: Likewise.
10407
10408 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10409
10410 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10411
10412 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10413
10414 * i386-biarch-core.exp: Define corefile using
10415 standard_output_file.
10416
10417 2016-02-12 Yao Qi <yao.qi@linaro.org>
10418
10419 * gdb.arch/arm-single-step-kernel-helper.c: New.
10420 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10421
10422 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10423
10424 * gdb.btrace/tailcall-only.exp: New.
10425 * gdb.btrace/tailcall-only.c: New.
10426 * gdb.btrace/x86_64-tailcall-only.S: New.
10427 * gdb.btrace/i686-tailcall-only.S: New.
10428
10429 2016-02-11 Pedro Alves <palves@redhat.com>
10430
10431 * README (Parallel testing): Add missing double quotes.
10432
10433 2016-02-11 Pedro Alves <palves@redhat.com>
10434
10435 * README (Parallel testing): New section.
10436 (GDB_PARALLEL): Rewrite.
10437 (FORCE_PARALLEL): Document.
10438
10439 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10440
10441 * gdb.trace/tfile-avx.c: New test.
10442 * gdb.trace/tfile-avx.exp: New test.
10443
10444 2016-02-09 Keith Seitz <keiths@redhat.com>
10445
10446 PR breakpoints/19546
10447 * gdb.base/infcall-exec.c: New file.
10448 * gdb.base/infcall-exec2.c: New file.
10449 * gdb.base/infcall-exec.exp: New file.
10450
10451 2016-02-09 Keith Seitz <keiths@redhat.com>
10452
10453 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10454 (toplevel): Call test_bkpt_address.
10455
10456 2016-02-09 Keith Seitz <keiths@redhat.com>
10457
10458 PR python/19506
10459 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10460 (toplevel): Call test_bkpt_address.
10461
10462 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10463
10464 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10465 to AC_OUTPUT.
10466 * configure: Regenerate.
10467
10468 2016-02-09 Pedro Alves <palves@redhat.com>
10469
10470 PR breakpoints/19548
10471 * gdb.base/execl-update-breakpoints.c (some_function): New
10472 function.
10473 (main): Call it.
10474 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10475 Tighten expected GDB output.
10476
10477 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10478
10479 * Makefile.in (ALL_SUBDIRS): Remove.
10480 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10481 (distclean maintainer-clean realclean): Likewise.
10482 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10483 * configure: Regenerate.
10484 * gdb.ada/Makefile.in: Delete.
10485 * gdb.arch/Makefile.in: Likewise.
10486 * gdb.asm/Makefile.in: Likewise.
10487 * gdb.base/Makefile.in: Likewise.
10488 * gdb.btrace/Makefile.in: Likewise.
10489 * gdb.cell/Makefile.in: Likewise.
10490 * gdb.compile/Makefile.in: Likewise.
10491 * gdb.cp/Makefile.in: Likewise.
10492 * gdb.disasm/Makefile.in: Likewise.
10493 * gdb.dlang/Makefile.in: Likewise.
10494 * gdb.dwarf2/Makefile.in: Likewise.
10495 * gdb.fortran/Makefile.in: Likewise.
10496 * gdb.gdb/Makefile.in: Likewise.
10497 * gdb.go/Makefile.in: Likewise.
10498 * gdb.guile/Makefile.in: Likewise.
10499 * gdb.java/Makefile.in: Likewise.
10500 * gdb.linespec/Makefile.in: Likewise.
10501 * gdb.mi/Makefile.in: Likewise.
10502 * gdb.modula2/Makefile.in: Likewise.
10503 * gdb.multi/Makefile.in: Likewise.
10504 * gdb.objc/Makefile.in: Likewise.
10505 * gdb.opencl/Makefile.in: Likewise.
10506 * gdb.opt/Makefile.in: Likewise.
10507 * gdb.pascal/Makefile.in: Likewise.
10508 * gdb.perf/Makefile.in: Likewise.
10509 * gdb.python/Makefile.in: Likewise.
10510 * gdb.reverse/Makefile.in: Likewise.
10511 * gdb.server/Makefile.in: Likewise.
10512 * gdb.stabs/Makefile.in: Likewise.
10513 * gdb.threads/Makefile.in: Likewise.
10514 * gdb.trace/Makefile.in: Likewise.
10515 * gdb.xml/Makefile.in: Likewise.
10516 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10517 GDB_PARALLEL.
10518 (standard_output_file): Remove check for GDB_PARALLEL, always
10519 return path in outputs/$subdir/$testname.
10520
10521 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10522
10523 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10524 (site.exp): Assign abs_srcdir to tcl's srcdir.
10525
10526 2016-02-04 Yao Qi <yao.qi@linaro.org>
10527
10528 * gdb.base/foll-exec-mode.c: Include limits.h.
10529 (main): Add parameters argc and argv. Get directory from
10530 argv[0].
10531 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10532 compilation.
10533 * gdb.base/foll-exec.c: Include limits.h.
10534 (main): Add parameters argc and argv.
10535 Get directory from argv[0].
10536 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10537 Adjust tests on the number of lines as source code changed.
10538 * gdb.base/foll-vfork-exit.c: Include limits.h.
10539 (main): Add one line of statement before vfork.
10540 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10541 (main): Add parameters argc and argv. Get directory from
10542 argv[0].
10543 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10544 (setup_gdb): Set tbreak to skip some source lines.
10545 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10546 (main): Add parameters argc and argv. Get directory from
10547 argv[0].
10548 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10549 compilation.
10550 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10551 (main): Add parameters argc and argv. Get directory from
10552 argv[0].
10553 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10554 compilation.
10555
10556 2016-02-01 Doug Evans <dje@google.com>
10557
10558 * gdb.base/skip.exp: Clean up multiple references to same test name.
10559
10560 2016-02-01 Pedro Alves <palves@redhat.com>
10561
10562 PR remote/19496
10563 * gdb.threads/forking-threads-plus-breakpoint.exp
10564 (displaced_stepping_supported): New global.
10565 (probe_displaced_stepping_support): New procedure.
10566 (do_test): Add 'displaced' parameter, and use it.
10567 (top level): Check for displaced stepping support. Add displaced
10568 stepping on/off testing axis.
10569
10570 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10571
10572 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10573 pointer. Don't perform further tests on the unassociated pointer
10574 if the first test fails.
10575
10576 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10577
10578 * gdb.base/max-value-size.c: New file.
10579 * gdb.base/max-value-size.exp: New file.
10580 * gdb.base/huge.exp: Disable max-value-size for this test.
10581
10582 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10583
10584 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10585
10586 2016-01-28 Yao Qi <yao.qi@linaro.org>
10587
10588 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10589
10590 2016-01-25 Pedro Alves <palves@redhat.com>
10591
10592 PR threads/19461
10593 * gdb.base/fork-running-state.c: New file.
10594 * gdb.base/fork-running-state.exp: New file.
10595
10596 2016-01-25 Pedro Alves <palves@redhat.com>
10597
10598 PR gdb/19494
10599 * gdb.base/catch-fork-kill.c: New file.
10600 * gdb.base/catch-fork-kill.exp: New file.
10601
10602 2016-01-25 Pedro Alves <palves@redhat.com>
10603
10604 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10605 Delete, moved to lib/gdb.exp.
10606 * gdb.threads/forking-threads-plus-breakpoint.exp
10607 (foreach_with_prefix): Likewise.
10608 * gdb.threads/process-dies-while-handling-bp.exp
10609 (foreach_with_prefix): Likewise.
10610 * lib/gdb.exp (foreach_with_prefix): New procedure.
10611
10612 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10613
10614 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10615 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10616
10617 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10618
10619 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10620 endian targets.
10621
10622 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10623 Pedro Alves <palves@redhat.com>
10624
10625 Fix testsuite compatibility with Guile.
10626 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10627 number.
10628
10629 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10630
10631 Fix testsuite compatibility with Guile.
10632 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10633 (thread 1): New test for backtrace through signal handler.
10634
10635 2016-01-22 Yao Qi <yao.qi@linaro.org>
10636
10637 PR testsuite/19491
10638 * gdb.base/multi-forks.c: Include
10639 ../lib/unbuffer_output.c
10640 (main): Call gdb_unbuffer_output.
10641
10642 2016-01-21 Doug Evans <dje@google.com>
10643
10644 * lib/ada.exp (gdb_compile_ada): Fix typo.
10645
10646 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10647
10648 * gdb.base/break-fun-addr.exp: New file.
10649 * gdb.base/break-fun-addr1.c: New file.
10650 * gdb.base/break-fun-addr2.c: New file.
10651
10652 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10653
10654 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10655 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10656 enum flag values.
10657
10658 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10659
10660 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10661 when GDB can not set the vector return value. Add more comments
10662 for clarification.
10663
10664 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10665
10666 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10667 command.
10668
10669 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10670
10671 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10672
10673 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10674
10675 * Makefile.in (check-single): Pass --status to runtest.
10676 (check/%.exp): Likewise.
10677
10678 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10679
10680 * Makefile.in (check-parallel): Propagate return code from make
10681 do-check-parallel.
10682
10683 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10684
10685 * gdb.trace/ftrace.exp: Fix expected message on continue.
10686 * gdb.trace/pending.exp: Fix expected message on continue.
10687 * gdb.trace/trace-break.exp: Fix expected message on continue.
10688
10689 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10690
10691 * lib/gdb.exp (gdb_test): Remove unused global references.
10692
10693 2016-01-18 Pedro Alves <palves@redhat.com>
10694
10695 * gdb.base/async-shell.exp: Adjust expected output.
10696 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10697 * gdb.base/siginfo-thread.exp: Adjust expected output.
10698 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10699 * gdb.java/jnpe.exp: Adjust expected output.
10700 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10701 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10702 * gdb.threads/leader-exit.exp: Adjust expected output.
10703 * gdb.threads/manythreads.exp: Adjust expected output.
10704 * gdb.threads/pthreads.exp: Adjust expected output.
10705 * gdb.threads/schedlock.exp: Adjust expected output.
10706 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10707 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10708 expected output.
10709 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10710 output.
10711 * gdb.threads/sigthread.exp: Adjust expected output.
10712 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10713
10714 2016-01-18 Yao Qi <yao.qi@linaro.org>
10715
10716 * gdb.guile/scm-section-script.c: Replace @progbits with
10717 %progbits.
10718 * gdb.python/py-section-script.c: Likewise.
10719
10720 2016-01-15 Pedro Alves <palves@redhat.com>
10721
10722 * gdb.multi/tids.exp: Test star wildcard ranges.
10723
10724 2016-01-15 Pedro Alves <palves@redhat.com>
10725
10726 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10727 command from "thread apply" invocation.
10728 (thr_apply_info_thr_invalid): Default the expected output to the
10729 input tid list.
10730 (top level): Add tests that use convenience variables. Add tests
10731 for "thread apply" with a valid TID list, but missing the command.
10732
10733 2016-01-13 Pedro Alves <palves@redhat.com>
10734
10735 * gdb.base/default.exp: Expect $_gthread as well.
10736 * gdb.multi/tids.exp: Test $_gthread.
10737 * gdb.threads/thread-specific.exp: Test $_gthread.
10738
10739 2016-01-13 Pedro Alves <palves@redhat.com>
10740
10741 * gdb.multi/tids.exp: Test "info threads -gid".
10742
10743 2016-01-13 Pedro Alves <palves@redhat.com>
10744
10745 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10746 Breakpoint.thread.
10747 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10748
10749 2016-01-07 Pedro Alves <palves@redhat.com>
10750
10751 * gdb.base/break.exp: Adjust to output changes.
10752 * gdb.base/hbreak2.exp: Likewise.
10753 * gdb.base/sepdebug.exp: Likewise.
10754 * gdb.base/watch_thread_num.exp: Likewise.
10755 * gdb.linespec/keywords.exp: Likewise.
10756 * gdb.multi/info-threads.exp: Likewise.
10757 * gdb.threads/thread-find.exp: Likewise.
10758 * gdb.multi/tids.c: New file.
10759 * gdb.multi/tids.exp: New file.
10760
10761 2016-01-13 Pedro Alves <palves@redhat.com>
10762
10763 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10764
10765 2016-01-13 Pedro Alves <palves@redhat.com>
10766
10767 * gdb.base/default.exp: Expect $_inferior as well.
10768 * gdb.multi/base.exp: Test $_inferior.
10769
10770 2016-01-13 Pedro Alves <palves@redhat.com>
10771
10772 PR breakpoints/19388
10773 * gdb.base/catch-signal-siginfo-cond.c: New file.
10774 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10775
10776 2016-01-12 Josh Stone <jistone@redhat.com>
10777 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10778
10779 * gdb.base/catch-syscall.c (do_execve): New variable.
10780 (main): Conditionally trigger an execve.
10781 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10782 (test_catch_syscall_execve): New, check entry/return across execve.
10783 (do_syscall_tests): Call test_catch_syscall_execve.
10784
10785 2016-01-12 Pedro Alves <palves@redhat.com>
10786
10787 * gdb.base/random-signal.exp (do_test): New procedure, with body
10788 of testcase moved in.
10789
10790 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10791 Pedro Alves <palves@redhat.com>
10792
10793 * gdb.base/funcargs.exp (finish from indirectly called function):
10794 Reintroduce the case for 'First'.
10795
10796 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10797 Pedro Alves <palves@redhat.com>
10798
10799 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10800 (tcatch_vfork_then_child_follow_exec)
10801 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10802 identification.
10803
10804 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10805
10806 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10807 and repeats to unlimited.
10808 * gdb.python/py-value.exp: Likewise.
10809 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10810 and repeats to unlimited.
10811
10812 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10813
10814 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10815 and reordering the functions.
10816 * gdb.multi/hangout.c: Likewise.
10817 * gdb.multi/hello.c: Likewise.
10818
10819 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10820
10821 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10822 absolute.
10823 (SingleStatisticTestResult.report): Use dict.keys instead of
10824 dict.iterkeys.
10825
10826 2016-01-06 Pedro Alves <palves@redhat.com>
10827
10828 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10829
10830 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10831
10832 * gdb.btrace/dlopen.exp: New.
10833 * gdb.btrace/dlopen.c: New.
10834 * gdb.btrace/dlopen-dso.c: New.
10835
10836 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10837
10838 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10839 PATTERN argument is optional.
10840
10841 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10842
10843 * lib/ada.exp (target_compile_ada_from_dir): New function.
10844 (gdb_compile_ada): Reimplement avoiding the use of project files.
10845 * gdb.ada/gnat_ada.gpr: Delete.
10846 * gdb.ada/cond_lang.exp: Adjust test to make path before
10847 filename optional.
10848 * gdb.ada/small_reg_param.exp: Likewise.
10849
10850 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10851
10852 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10853
10854 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10855
10856 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10857 case.
10858
10859 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10860
10861 * gdb.base/break.exp: Remove dead code.
10862 * gdb.base/sepdebug.exp: Likewise.
10863
10864 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10865
10866 * gdb.asm/asm-source.exp: Remove HP-UX references.
10867 * gdb.base/annota1.exp: Likewise.
10868 * gdb.base/annota3.exp: Likewise.
10869 * gdb.base/attach.exp: Likewise.
10870 * gdb.base/bigcore.exp: Likewise.
10871 * gdb.base/break.exp: Likewise.
10872 * gdb.base/call-ar-st.exp: Likewise.
10873 * gdb.base/callfuncs.exp: Likewise.
10874 * gdb.base/catch-fork-static.exp: Likewise.
10875 * gdb.base/display.exp: Likewise.
10876 * gdb.base/foll-exec-mode.exp: Likewise.
10877 * gdb.base/foll-exec.exp: Likewise.
10878 * gdb.base/foll-fork.exp: Likewise.
10879 * gdb.base/foll-vfork.exp: Likewise.
10880 * gdb.base/funcargs.exp: Likewise.
10881 * gdb.base/hbreak2.exp: Likewise.
10882 * gdb.base/inferior-died.exp: Likewise.
10883 * gdb.base/interrupt.exp: Likewise.
10884 * gdb.base/multi-forks.exp: Likewise.
10885 * gdb.base/nodebug.exp: Likewise.
10886 * gdb.base/sepdebug.exp: Likewise.
10887 * gdb.base/solib1.c: Likewise.
10888 * gdb.base/step-test.exp: Likewise.
10889 * gdb.mi/non-stop.c: Likewise.
10890 * gdb.mi/pthreads.c: Likewise.
10891 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10892 * gdb.threads/pthreads.c: Likewise.
10893 * gdb.threads/staticthreads.exp: Likewise.
10894 * lib/future.exp: Likewise.
10895 * lib/gdb.exp: Likewise.
10896 * gdb.base/so-indr-cl.c: Remove.
10897 * gdb.base/so-indr-cl.exp: Likewise.
10898 * gdb.base/solib.c: Likewise.
10899 * gdb.base/solib.exp: Likewise.
10900 * gdb.base/solib2.c: Likewise.
10901
10902 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10903
10904 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10905 * gdb.base/call-ar-st.exp: Likewise.
10906 * gdb.base/callfuncs.exp: Likewise.
10907 * gdb.base/condbreak.exp: Likewise.
10908 * gdb.base/constvars.exp: Likewise.
10909 * gdb.base/hbreak2.exp: Likewise.
10910 * gdb.base/langs.exp: Likewise.
10911 * gdb.base/list.exp: Likewise.
10912 * gdb.base/long_long.exp: Likewise.
10913 * gdb.base/ptype.exp: Likewise.
10914 * gdb.base/scope.exp: Likewise.
10915 * gdb.base/signals.exp: Likewise.
10916 * gdb.base/so-impl-ld.exp: Likewise.
10917 * gdb.base/varargs.exp: Likewise.
10918 * gdb.base/volatile.exp: Likewise.
10919 * gdb.base/whatis.exp: Likewise.
10920 * gdb.cp/cplusfuncs.exp: Likewise.
10921 * gdb.cp/inherit.exp: Likewise.
10922 * gdb.cp/local.exp: Likewise.
10923 * gdb.cp/member-ptr.exp: Likewise.
10924 * gdb.cp/method.exp: Likewise.
10925 * gdb.cp/overload.exp: Likewise.
10926 * gdb.cp/templates.exp: Likewise.
10927 * gdb.stabs/weird.exp: Likewise.
10928 * lib/compiler.c: Likewise.
10929 * lib/compiler.cc: Likewise.
10930 * lib/cp-support.exp: Likewise.
10931 * lib/gdb.exp: Likewise.
10932
10933 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10934
10935 * configure.ac: Remove HP-UX case.
10936 * configure: Regenerate.
10937
10938 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10939
10940 * lib/gdb.exp (gdb_compile): Add function doc.
10941
10942 2015-12-17 Pedro Alves <palves@redhat.com>
10943
10944 PR threads/19354
10945 * gdb.multi/info-threads.exp: New file.
10946
10947 2015-12-15 Yao Qi <yao.qi@linaro.org>
10948
10949 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10950 is aarch64*-*-*.
10951
10952 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10953
10954 * gdb.base/history-duplicates.exp: Skip if no readline support.
10955
10956 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10957
10958 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10959
10960 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10961
10962 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10963
10964 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10965
10966 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10967 ctrl-C if nointerrupts target property is set.
10968 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10969 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10970 * gdb.base/paginate-bg-execution.exp: Likewise.
10971 * gdb.base/paginate-execution-startup.exp: Likewise.
10972 * gdb.base/random-signal.exp: Likewise.
10973 * gdb.base/range-stepping.exp: Likewise.
10974 * gdb.cp/annota2.exp: Likewise.
10975 * gdb.cp/annota3.exp: Likewise.
10976 * gdb.gdb/selftest.exp: Likewise.
10977 * gdb.threads/continue-pending-status.exp: Likewise.
10978 * gdb.threads/leader-exit.exp: Likewise.
10979 * gdb.threads/manythreads.exp: Likewise.
10980 * gdb.threads/pthreads.exp: Likewise.
10981 * gdb.threads/schedlock.exp: Likewise.
10982 * gdb.threads/sigthread.exp: Likewise.
10983
10984 2015-12-11 Don Breazeal <donb@codesourcery.com>
10985
10986 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10987 remote.
10988 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10989 * gdb.base/foll-exec.exp (main): Enable for target remote.
10990 * gdb.base/foll-fork.exp (main): Likewise.
10991 * gdb.base/foll-vfork.exp (main): Likewise.
10992 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10993 (proc continue_to_exit_bp_loc): Use clean_restart.
10994 * gdb.base/pie-execl.exp (main): Disable for target remote.
10995 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10996 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10997 * gdb.threads/execl.exp (main): Likewise.
10998 * gdb.threads/fork-child-threads.exp (main): Likewise.
10999 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11000 remote.
11001 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11002 remote.
11003 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11004 pid.tid style ptids, instead of just tid.
11005 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11006 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11007 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11008 ptids, instead of just tid.
11009
11010 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11011
11012 * gdb.base/list.exp (test_list_forward): Add end of file error
11013 test.
11014 (test_repeat_list_command): Add end of file error test.
11015 (test_list_backwards): Add beginning of file error test.
11016
11017 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11018
11019 * gdb.base/list.exp (test_list_invalid_args): New function,
11020 defined, and called.
11021
11022 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11023
11024 * gdb.base/list.exp (test_list): Make test names unique.
11025
11026 2015-12-11 Yao Qi <yao.qi@linaro.org>
11027
11028 * gdb.base/coremaker2.c: Remove.
11029
11030 2015-12-10 Pedro Alves <palves@redhat.com>
11031
11032 * gdb.multi/base.exp: Remove stale "spaces" references.
11033
11034 2015-12-10 Pedro Alves <palves@redhat.com>
11035
11036 * gdb.multi/base.exp: Don't use nowarnings.
11037 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11038 * gdb.multi/hangout.c: Include stdio.h.
11039 * gdb.multi/hello.c: Include stdlib.h.
11040 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11041 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11042 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11043
11044 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11045
11046 * gdb.dwarf2/dw2-ranges-base.c: New file.
11047 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11048 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11049 support additional line table, and debug ranges generation.
11050 (Dwarf::ranges): New function, generate .debug_ranges.
11051 (Dwarf::lines): Support generating simple line table programs.
11052 (Dwarf::assemble): Initialise new namespace variables.
11053
11054 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11055
11056 * gdb.base/async.exp (proc test_background): Add case for
11057 asynchronous execution not supported.
11058
11059 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11060
11061 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11062 format and change test names to make them unique.
11063
11064 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11065 Pedro Alves <pedro@redhat.com>
11066
11067 PR gdb/18702
11068 Add checking of floatformats setup on x86_64 hosts.
11069 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11070 (smallval, bigval): New labels/constants.
11071 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11072 float" after loading bigval and smallval.
11073
11074 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11075
11076 * gdb.ada/fun_overload_menu.exp: New testcase.
11077 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11078
11079 2015-12-04 Josh Stone <jistone@redhat.com>
11080
11081 * gdb.base/catch-fork-static.exp: New.
11082
11083 2015-12-03 Yao Qi <yao.qi@linaro.org>
11084
11085 * gdb.base/sizeof.c: Don't include stdio.h and
11086 ../lib/unbuffer_output.c.
11087 (main): New variable 'size' and 'value'. Remove printf and
11088 gdb_unbuffer_output. Assign return value to size and value.
11089 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11090 at the beginning.
11091 (check_sizeof): Check the result by printing variable 'size'.
11092 (check_valueof): Check the result by printing variable 'value'.
11093
11094 2015-12-01 Yao Qi <yao.qi@linaro.org>
11095
11096 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11097 for aarch64*-*-linux* target.
11098
11099 2015-11-30 Pedro Alves <palves@redhat.com>
11100
11101 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11102
11103 2015-11-30 Pedro Alves <palves@redhat.com>
11104
11105 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11106 Handle non-stop mode vCont replies.
11107
11108 2015-11-30 Pedro Alves <palves@redhat.com>
11109
11110 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11111 prepare_for_testing. Start gdb with "set non-stop on" appended to
11112 GDBFLAGS. Lax expected stop output.
11113
11114 2015-11-27 Yao Qi <yao.qi@linaro.org>
11115
11116 * gdb.arch/arm-neon.exp: New.
11117 * gdb.arch/arm-neon.c: New.
11118
11119 2015-11-27 Yao Qi <yao.qi@linaro.org>
11120
11121 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11122
11123 2015-11-27 Yao Qi <yao.qi@linaro.org>
11124
11125 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11126 frames-invalid annotation.
11127
11128 2015-11-27 Yao Qi <yao.qi@linaro.org>
11129
11130 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11131
11132 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11133
11134 * gdb.threads/names.exp: New file.
11135 * gdb.threads/names.c: New file.
11136 * README: Mention gdb,no_thread_names.
11137
11138 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11139
11140 PR 19297
11141 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11142 support" error.
11143
11144 2015-11-24 Pedro Alves <palves@redhat.com>
11145
11146 PR 17539
11147 * gdb.base/display.exp: Expect displays to be sorted in ascending
11148 order. Use multi_line.
11149 * gdb.base/solib-display.exp: Likewise.
11150
11151 2015-11-24 Pedro Alves <palves@redhat.com>
11152
11153 PR 17539
11154 * gdb.base/display.exp: Expect displays to be sorted in ascending
11155 order. Use multi_line.
11156 * gdb.base/solib-display.exp: Likewise.
11157
11158 2015-11-24 Pedro Alves <palves@redhat.com>
11159
11160 PR 17539
11161 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11162 threads in ascending order.
11163 * gdb.base/foll-fork.exp: Likewise.
11164 * gdb.base/foll-vfork.exp: Likewise.
11165 * gdb.base/multi-forks.exp: Likewise.
11166 * gdb.mi/mi-nonstop.exp: Likewise.
11167 * gdb.mi/mi-nsintrall.exp: Likewise.
11168 * gdb.multi/base.exp: Likewise.
11169 * gdb.multi/multi-arch.exp: Likewise.
11170 * gdb.python/py-inferior.exp: Likewise.
11171 * gdb.threads/break-while-running.exp: Likewise.
11172 * gdb.threads/execl.exp: Likewise.
11173 * gdb.threads/gcore-thread.exp: Likewise.
11174 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11175 * gdb.threads/kill.exp: Likewise.
11176 * gdb.threads/linux-dp.exp: Likewise.
11177 * gdb.threads/multiple-step-overs.exp: Likewise.
11178 * gdb.threads/next-bp-other-thread.exp: Likewise.
11179 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11180 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11181 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11182 * gdb.threads/thread-find.exp: Likewise.
11183 * gdb.threads/tls.exp: Likewise.
11184 * lib/mi-support.exp (mi_reverse_list): Delete.
11185 (mi_check_thread_states): No longer reverse list.
11186
11187 2015-11-24 Pedro Alves <palves@redhat.com>
11188
11189 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11190 use lowercase.
11191
11192 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11193
11194 * gdb.trace/actions.c: Include trace-common.h.
11195 (main): Add a location for a fast tracepoint.
11196 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11197 the normal tracepoints.
11198 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11199
11200 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11201
11202 * save-trace.exp: Factor out code to these...
11203 (gdb_save_tracepoints): New.
11204 (gdb_load_tracepoints): New.
11205 (do_save_load_test): New.
11206
11207 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11208
11209 * gdb.base/asmlabel.exp: New test.
11210 * gdb.base/asmlabel.c: New test case.
11211
11212 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11213
11214 * gdb.base/wrong_frame_bt_full-main.c: New file.
11215 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11216 * gdb.base/wrong_frame_bt_full.exp: New file.
11217
11218 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11219
11220 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11221
11222 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11223
11224 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11225 pstate register when comparing registers values in
11226 sparc64-*-linux-gnu targets to avoid spurious differences.
11227
11228 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11229
11230 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11231
11232 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11233
11234 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11235 as type argument to gdb_compile.
11236 * gdb.base/nested-subp2.exp: Likewise.
11237 * gdb.base/nested-subp3.exp: Likewise.
11238
11239 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11240
11241 * lib/dwarf.exp (_note): Fix left shift of negative value.
11242 * gdb.trace/trace-condition.exp: Likewise.
11243
11244 2015-11-13 Yao Qi <yao.qi@linaro.org>
11245
11246 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11247 comments about d10v.
11248 (test_scalar_returns): Likewise.
11249 * gdb.base/d10v.ld: Remove.
11250 * gdb.base/overlays.exp: Remove the target triplet checking for
11251 d10v-*-*.
11252 * gdb.base/structs.exp (test_struct_returns): Remove the
11253 comments about d10v.
11254 (test_struct_calls): Likewise.
11255
11256 2015-11-13 Yao Qi <yao.qi@linaro.org>
11257
11258 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11259 * gdb.base/gnu_vector.c: Don't include stdio.h.
11260 (main): Don't print res and call add_some_intvecs.
11261
11262 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11263
11264 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11265 macro.
11266 (func5): Removed.
11267 (func4): Use FAST_TRACEPOINT_LABEL.
11268 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11269 macro.
11270 (func): Removed.
11271 (thread_function): Use FAST_TRACEPOINT_LABEL.
11272 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11273 (func): Remove.
11274 (marker): Use FAST_TRACEPOINT_LABEL.
11275 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11276 (pendfunc1): Remove.
11277 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11278 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11279 (foo): Remove.
11280 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11281 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11282 macro.
11283 (func): Remove.
11284 (marker): Use FAST_TRACEPOINT_LABEL.
11285 * gdb.trace/trace-common.h: New header.
11286 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11287 macro.
11288 (func): Remove.
11289 (marker): Use FAST_TRACEPOINT_LABEL.
11290 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11291 (func): Remove.
11292 (thread_function): Use FAST_TRACEPOINT_LABEL.
11293
11294 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11295
11296 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11297 in front.
11298 * gdb.trace/change-loc.exp: Use global pcreg definition.
11299 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11300 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11301 in front.
11302 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11303 * gdb.trace/pending.exp: Likewise.
11304 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11305 * gdb.trace/trace-break.exp: Likewise.
11306 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11307 in front.
11308 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11309 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11310 in front.
11311 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11312
11313 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11314
11315 * gdb.ada/fin_fun_out: New testcase.
11316
11317 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11318
11319 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11320 value associated with DW_AT_byte_size.
11321 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11322 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11323 DW_AT_upper_bound.
11324
11325 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11326
11327 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11328 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11329 version.
11330 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11331 gdb.dwarf2/dw2-canonicalize-type.exp,
11332 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11333 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11334 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11335 provided by gdb_target_symbol_prefix_flags_asm.
11336 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11337 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11338 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11339 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11340 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11341 macros where needed). Use this macro for symbols which require
11342 the prefix provided by SYMBOL_PREFIX.
11343
11344 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11345
11346 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11347 New procs.
11348 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11349 representing expressions, of more than one list element.
11350 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11351 to prepend linker symbol prefix to f.
11352 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11353 table_1 and table_2.
11354 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11355 Likewise, for f and g.
11356 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11357 for ptr.
11358 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11359 for main.
11360 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11361 table_1_ptr and table_2_ptr.
11362
11363 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11364 Joel Brobecker <brobecker@adacore.com>
11365
11366 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11367
11368 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11369
11370 * gdb.reverse/s390-mvcle.c: New test.
11371 * gdb.reverse/s390-mvcle.exp: New file.
11372 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11373
11374 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11375
11376 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11377
11378 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11379
11380 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11381 reaching marker2.
11382 * gdb.reverse/getresuid-reverse.exp: Likewise.
11383 * gdb.reverse/pipe-reverse.exp: Likewise.
11384 * gdb.reverse/readv-reverse.exp: Likewise.
11385 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11386 * gdb.reverse/time-reverse.exp: Likewise.
11387 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11388
11389 2015-10-30 Yao Qi <yao.qi@linaro.org>
11390
11391 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11392 (empty_cycle): Remove.
11393 (main): Don't call empty_cycle. Don't use watch_count_done.
11394 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11395 empty_cycle. Rewrite the code counting HW watchpoints.
11396
11397 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11398
11399 * gdb.reverse/fstatat-reverse.c: New test.
11400 * gdb.reverse/fstatat-reverse.exp: New file.
11401 * gdb.reverse/getresuid-reverse.c: New test.
11402 * gdb.reverse/getresuid-reverse.exp: New file.
11403 * gdb.reverse/pipe-reverse.c: New test.
11404 * gdb.reverse/pipe-reverse.exp: New file.
11405 * gdb.reverse/readv-reverse.c: New test.
11406 * gdb.reverse/readv-reverse.exp: New file.
11407 * gdb.reverse/recvmsg-reverse.c: New test.
11408 * gdb.reverse/recvmsg-reverse.exp: New file.
11409 * gdb.reverse/time-reverse.c: New test.
11410 * gdb.reverse/time-reverse.exp: New file.
11411 * gdb.reverse/waitpid-reverse.c: New test.
11412 * gdb.reverse/waitpid-reverse.exp: New file.
11413
11414 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11415
11416 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11417
11418 2015-10-26 Doug Evans <dje@google.com>
11419
11420 PR symtab/17391
11421 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11422 * gdb.dwarf2/bad-regnum.c: New file.
11423 * gdb.dwarf2/bad-regnum.exp: New file.
11424
11425 2015-10-26 Doug Evans <dje@google.com>
11426
11427 PR python/18938
11428 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11429 file.
11430
11431 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11432
11433 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11434 for a change by "Mention language in compile error message".
11435
11436 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11437
11438 PR python/18073
11439 * gdb.python/py-type.c (C::a_method): New.
11440 (C::a_const_method): New.
11441 (C::a_static_method): New.
11442 (a_function): New.
11443 * gdb.python/py-type.exp (test_fields): Test getting fields
11444 from function and method.
11445
11446 2015-10-21 Keven Boell <keven.boell@intel.com>
11447
11448 * gdb.fortran/vla-alloc-assoc.exp: New file.
11449 * gdb.fortran/vla-datatypes.exp: New file.
11450 * gdb.fortran/vla-datatypes.f90: New file.
11451 * gdb.fortran/vla-history.exp: New file.
11452 * gdb.fortran/vla-ptype-sub.exp: New file.
11453 * gdb.fortran/vla-ptype.exp: New file.
11454 * gdb.fortran/vla-sizeof.exp: New file.
11455 * gdb.fortran/vla-sub.f90: New file.
11456 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11457 * gdb.fortran/vla-value-sub-finish.exp: New file.
11458 * gdb.fortran/vla-value-sub.exp: New file.
11459 * gdb.fortran/vla-value.exp: New file.
11460 * gdb.fortran/vla-ptr-info.exp: New file.
11461 * gdb.mi/mi-vla-fortran.exp: New file.
11462 * gdb.mi/vla.f90: New file.
11463
11464 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11465
11466 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11467 of hardwired timeout value.
11468
11469 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11470 Pedro Alves <palves@redhat.com>
11471
11472 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11473 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11474
11475 2015-10-19 Josh Stone <jistone@redhat.com>
11476
11477 * gdb.base/catch-syscall.c: Include <sched.h>.
11478 (unknown_syscall): New variable.
11479 (main): Trigger a vfork and an unknown syscall.
11480 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11481 (unknown_syscall_number): Likewise.
11482 (check_call_to_syscall): Accept an optional syscall pattern.
11483 (check_return_from_syscall): Likewise.
11484 (check_continue): Likewise.
11485 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11486 (test_catch_syscall_skipping_return): New test toggling off 'catch
11487 syscall' to step over the syscall return, then toggling back on.
11488 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11489 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11490 (do_syscall_tests): Call test_catch_syscall_without_args and
11491 test_catch_syscall_mid_vfork.
11492 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11493 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11494
11495 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11496
11497 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11498 print g_vE): Add new pass patterns.
11499 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11500 print various symbol names for vptr fields.
11501
11502 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11503
11504 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11505 results.
11506
11507 2015-10-12 Yao Qi <yao.qi@linaro.org>
11508
11509 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11510
11511 2015-10-12 Yao Qi <yao.qi@linaro.org>
11512
11513 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11514 is aarch64*-*-linux*.
11515
11516 2015-10-12 Yao Qi <yao.qi@linaro.org>
11517
11518 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11519 (can_relocate_bcond_true): ... it.
11520 (can_relocate_bcond_false): New function.
11521 (foo): Likewise.
11522 (can_relocate_bl): Likewise.
11523 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11524 can_relocate_bl.
11525
11526 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11527
11528 * gdb.base/nested-addr.c: New file.
11529 * gdb.base/nested-addr.exp: New testcase.
11530
11531 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11532
11533 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11534 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11535 its output. Ignore the output of "record goto begin" and instead
11536 check that GDB is replaying.
11537
11538 2015-10-09 Pedro Alves <palves@redhat.com>
11539
11540 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11541 (top level): Use it in the run with no args test.
11542
11543 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11544
11545 * gdb.dlang/properties.exp: New file.
11546
11547 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11548
11549 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11550 whether or not address 0x1000 is mapped on the target.
11551
11552 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11553
11554 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11555 build.
11556
11557 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11558
11559 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11560 instruction-history test.
11561
11562 2015-09-28 Doug Evans <dje@google.com>
11563
11564 * gdb.base/gcore.c (array_func): Add reference to static_array.
11565
11566 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11567
11568 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11569 source line.
11570
11571 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11572
11573 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11574 short or char as base type.
11575
11576 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11577
11578 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11579 to allow any size enum.
11580
11581 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11582
11583 * gdb.ada/array_ptr_renaming.exp: New testcase.
11584 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11585 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11586
11587 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11588
11589 * gdb.trace/ftrace-lock.c: New file.
11590 * gdb.trace/ftrace-lock.exp: New file.
11591
11592 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11593
11594 * gdb.arch/insn-reloc.c: New file.
11595 * gdb.arch/ftrace-insn-reloc.exp: New file.
11596
11597 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11598
11599 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11600 instruction.
11601 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11602 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11603 * gdb.trace/range-stepping.c: Likewise.
11604 * gdb.trace/trace-break.c: Likewise.
11605 * gdb.trace/trace-mt.c (thread_function): Likewise.
11606 * gdb.trace/ftrace.c (marker): Likewise.
11607 * gdb.trace/trace-condition.c (marker): Likewise.
11608 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11609 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11610 is_aarch64_target.
11611
11612 2015-09-18 Doug Evans <xdje42@gmail.com>
11613
11614 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11615 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11616
11617 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11618
11619 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11620 the breakpoint.
11621
11622 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11623
11624 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11625 the pending breakpoint. Remove timeout override for "Run till
11626 MI pending breakpoint on pendfunc3 on thread 2" test.
11627
11628 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11629
11630 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11631 filename pattern.
11632
11633 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11634
11635 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11636 in breakpoint filename pattern.
11637
11638 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11639
11640 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11641
11642 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11643
11644 * gdb.linespec/explicit.exp: Check for readline support for
11645 tab-completion tests. Fix obvious typo.
11646
11647 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11648
11649 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11650 and replay.
11651
11652 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11653
11654 * gdb.btrace/non-stop.c: New.
11655 * gdb.btrace/non-stop.exp: New.
11656
11657 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11658 Yao Qi <yao.qi@linaro.org>
11659
11660 * gdb.trace/trace-condition.c: New file.
11661 * gdb.trace/trace-condition.exp: New file.
11662
11663 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11664
11665 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11666 for testing bytecode compilation.
11667
11668 2015-09-16 Pedro Alves <palves@redhat.com>
11669 Sandra Loosemore <sandra@codesourcery.com>
11670
11671 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11672 (SECONDS): Redefine.
11673 (main): Call pthread_kill and alarm early.
11674 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11675 support.
11676 (test): If the target can't hardware step and doesn't support
11677 displaced stepping, increase the timeout.
11678
11679 2015-09-16 Pedro Alves <palves@redhat.com>
11680
11681 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11682 (enable_debug): New procedures.
11683 (test): Use them. Bail out if waiting for threads fails.
11684 (top level): Bail out if a test fails.
11685
11686 2015-09-16 Yao Qi <yao.qi@linaro.org>
11687
11688 * gdb.asm/asm-source.exp: Set asm-arch for
11689 aarch64*-*-* target.
11690 * gdb.asm/aarch64.inc: New file.
11691
11692 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11693
11694 * gdb.ada/array_of_variable_length.exp: New testcase.
11695 * gdb.ada/array_of_variable_length/foo.adb: New file.
11696 * gdb.ada/array_of_variable_length/pck.adb: New file.
11697 * gdb.ada/array_of_variable_length/pck.ads: New file.
11698
11699 2015-09-15 Doug Evans <dje@google.com>
11700
11701 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11702 of function static local variable.
11703
11704 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11705
11706 * gdb.threads/tls-so_extern.exp: New test file.
11707 * gdb.threads/tls-so_extern.c: New test file.
11708 * gdb.threads/tls-so_extern_main.c: New test file.
11709
11710 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11711
11712 * gdb.opt/solib-intra-step-lib.c: New file.
11713 * gdb.opt/solib-intra-step-main.c: New file.
11714 * gdb.opt/solib-intra-step.exp: New file.
11715
11716 2015-09-15 Pedro Alves <palves@redhat.com>
11717
11718 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11719 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11720
11721 2015-09-14 Pedro Alves <palves@redhat.com>
11722
11723 * gdb.base/hook-stop-continue.c: Delete.
11724 * gdb.base/hook-stop-continue.exp: Delete.
11725 * gdb.base/hook-stop-frame.c: Delete.
11726 * gdb.base/hook-stop-frame.exp: Delete.
11727 * gdb.base/hook-stop.c: New file.
11728 * gdb.base/hook-stop.exp: New file.
11729
11730 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11731
11732 * gdb.ada/access_to_packed_array.exp: New testcase.
11733 * gdb.ada/access_to_packed_array/foo.adb: New file.
11734 * gdb.ada/access_to_packed_array/pack.adb: New file.
11735 * gdb.ada/access_to_packed_array/pack.ads: New file.
11736
11737 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11738
11739 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11740 buffer size test.
11741
11742 2015-09-11 Don Breazeal <donb@codesourcery.com>
11743
11744 * gdb.base/foll-exec.c: Add copyright header. Fix
11745 formatting issues.
11746 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11747 (do_exec_tests): Use clean_restart in place of zap_session,
11748 and for test initialization. Fix formatting issues. Use
11749 fail in place of perror.
11750 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11751 an expect statement to match an expression with output from
11752 the program under debug.
11753 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11754 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11755 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11756 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11757 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11758
11759 2015-09-09 Doug Evans <dje@google.com>
11760
11761 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11762
11763 2015-09-09 Doug Evans <dje@google.com>
11764
11765 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11766
11767 2015-09-09 Doug Evans <dje@google.com>
11768
11769 * gdb.base/savedregs.exp: Fix typo.
11770
11771 2015-09-09 Pedro Alves <palves@redhat.com>
11772
11773 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11774
11775 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11776
11777 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11778 command actually switches threads. Give up on remaining
11779 tests if target fails to stop at breakpoint.
11780
11781 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11782
11783 * gdb.ada/funcall_char.exp: New testcase.
11784 * gdb.ada/funcall_char/foo.adb: New file.
11785
11786 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11787
11788 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11789 expected outputs. Add two testcases for completing ambiguous
11790 functions.
11791 * gdb.ada/complete/aux_pck.adb: New file.
11792 * gdb.ada/complete/aux_pck.ads: New file.
11793 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11794 Ambiguous_Func functions.
11795 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11796 * gdb.ada/complete/pck.adb: Likewise.
11797
11798 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11799
11800 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11801 failures to run the test program under GDB.
11802
11803 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11804
11805 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11806 to C.
11807
11808 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11809
11810 * gdb.base/run-after-attach.exp: New test file.
11811 * gdb.base/run-after-attach.c: New test file.
11812
11813 2015-08-26 Don Breazeal <donb@codesourcery.com>
11814
11815 * gdb.base/foll-exec-2.c: New test program.
11816 * gdb.base/foll-exec-2.exp: New test.
11817
11818 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11819
11820 * gdb.base/nested-subp1.exp: New file.
11821 * gdb.base/nested-subp1.c: New file.
11822 * gdb.base/nested-subp2.exp: New file.
11823 * gdb.base/nested-subp2.c: New file.
11824 * gdb.base/nested-subp3.exp: New file.
11825 * gdb.base/nested-subp3.c: New file.
11826
11827 2015-08-24 Pedro Alves <palves@redhat.com>
11828
11829 * gdb.server/connect-without-multi-process.c: New file.
11830 * gdb.server/connect-without-multi-process.exp: New file.
11831
11832 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11833
11834 * gdb.opt/inline-markers.c: Make z int.
11835
11836 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11837
11838 * gdb.opt/inline-markers.c: Make z volatile.
11839
11840 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11841
11842 * gdb.opt/inline-bt.c: New volatile global z.
11843 * gdb.opt/inline-cmds.c: Likewise.
11844 * gdb.opt/inline-locals.c: Likewise.
11845 * gdb.opt/inline-markers.c: New extern global z.
11846 (marker): Use z.
11847 (inline_fn): Likewise.
11848
11849 2015-08-24 Pedro Alves <palves@redhat.com>
11850
11851 * config/m32r-stub.exp: Remove file.
11852 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11853 * gdb.base/call-rt-st.exp: Likewise.
11854 * gdb.base/call-strs.exp: Likewise.
11855 * gdb.base/default.exp: Remove references to h8300-*-hms and
11856 *-*-udi*.
11857 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11858
11859 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11860
11861 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11862 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11863 and "return" use KFAIL when GDB can not read/write the vector
11864 return value.
11865
11866 2015-08-21 Gary Benson <gbenson@redhat.com>
11867
11868 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11869
11870 2015-08-20 Pedro Alves <palves@redhat.com>
11871
11872 * gdb.server/solib-list.exp: No longer expect an interior stop in
11873 non-stop mode.
11874
11875 2015-08-20 Pedro Alves <palves@redhat.com>
11876
11877 * gdb.server/connect-stopped-target.c: New file.
11878 * gdb.server/connect-stopped-target.exp: New file.
11879
11880 2015-08-20 Pedro Alves <palves@redhat.com>
11881
11882 * gdb.dwarf2/comp-unit-lang.exp: New file.
11883 * gdb.dwarf2/comp-unit-lang.c: New file.
11884
11885 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11886
11887 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11888 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11889
11890 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11891
11892 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11893 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11894
11895 2015-08-18 Doug Evans <dje@google.com>
11896 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11897
11898 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11899 skip_python_tests. New arg prompt_regexp.
11900 (skip_python_tests): New function.
11901 * lib/mi-support.exp (mi_skip_python_tests): New function.
11902 * gdb.python/py-mi-objfile-gdb.py: New file.
11903 * gdb.python/py-mi-objfile.c: New file.
11904 * gdb.python/py-mi-objfile.exp: New file.
11905
11906 2015-08-17 Keith Seitz <keiths@redhat.com>
11907
11908 * gdb.linespec/explicit.exp: Move strace test from here ...
11909 * gdb.trace/strace.exp: ... to here.
11910
11911 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11912
11913 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11914 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11915
11916 2015-08-14 Doug Evans <xdje42@gmail.com>
11917
11918 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11919 inferior before selecting a new file.
11920
11921 2015-08-14 Doug Evans <xdje42@gmail.com>
11922
11923 * gdb.mi/mi-disassemble.exp: Update.
11924 * gdb.base/disasm-optim.S: New file.
11925 * gdb.base/disasm-optim.c: New file.
11926 * gdb.base/disasm-optim.h: New file.
11927 * gdb.base/disasm-optim.exp: New file.
11928
11929 2015-08-14 Keith Seitz <keiths@redhat.com>
11930
11931 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11932 "evaluated-by".
11933
11934 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11935
11936 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11937
11938 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11939
11940 * gdb.ada/fun_renaming.exp: New testcase.
11941 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11942 * gdb.ada/fun_renaming/pack.adb: New file.
11943 * gdb.ada/fun_renaming/pack.ads: New file.
11944
11945 2015-08-12 Keith Seitz <keiths@redhat.com>
11946
11947 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11948 gdb_get_line_number.
11949
11950 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11951
11952 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11953 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11954 gdb.base/dso2dso.exp: New files.
11955
11956 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11957 Pedro Alves <palves@redhat.com>
11958 Keith Seitz <keiths@redhat.com>
11959
11960 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11961 GDBFLAGS.
11962
11963 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11964
11965 * gdb.base/gdbhistsize-history.exp
11966 (test_histsize_history_setting): Use save_vars.
11967 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11968 Use save_vars.
11969 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11970 * gdb.base/readline.exp: Use save_vars.
11971
11972 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11973
11974 * lib/gdb.exp (save_vars): New proc.
11975
11976 2015-08-11 Keith Seitz <keiths@redhat.com>
11977
11978 * gdb.base/help.exp: Update help_breakpoint_text.
11979
11980 2015-08-11 Keith Seitz <keiths@redhat.com>
11981
11982 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11983 (at toplevel): Call test_explicit_breakpoints.
11984 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11985 breakpoints.
11986 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11987 breakpoint conditions, "-cond".
11988
11989 2015-08-11 Keith Seitz <keiths@redhat.com>
11990
11991 * gdb.linespec/3explicit.c: New file.
11992 * gdb.linespec/cpexplicit.cc: New file.
11993 * gdb.linespec/cpexplicit.exp: New file.
11994 * gdb.linespec/explicit.c: New file.
11995 * gdb.linespec/explicit.exp: New file.
11996 * gdb.linespec/explicit2.c: New file.
11997 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11998 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11999 before using in the matching pattern.
12000 Clarify that `prefix' is a regular expression.
12001
12002 2015-08-11 Keith Seitz <keiths@redhat.com>
12003
12004 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12005 test.
12006 Add tests for missing ",FMT" and ",".
12007
12008 2015-08-10 Doug Evans <dje@google.com>
12009 Keith Seitz <keiths@redhat.com>
12010
12011 PR gdb/17960
12012 * gdb.base/completion.exp: Add location completer tests.
12013
12014 2015-08-07 Pedro Alves <palves@redhat.com>
12015
12016 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12017 tests here.
12018 (top level): Run do_test with and without displaced stepping.
12019
12020 2015-08-07 Pedro Alves <palves@redhat.com>
12021
12022 * gdb.base/valgrind-disp-step.c: New file.
12023 * gdb.base/valgrind-disp-step.exp: New file.
12024
12025 2015-08-07 Pedro Alves <palves@redhat.com>
12026
12027 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12028 Delete function.
12029 (main): Add alarm. Run an infinite loop instead of calling
12030 wait_threads.
12031 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12032 comment.
12033 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12034 Delete function.
12035 (main): Add alarm. Run an infinite loop instead of calling
12036 wait_threads.
12037 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12038 comment.
12039
12040 2015-08-07 Pedro Alves <palves@redhat.com>
12041
12042 * gdb.base/checkpoint-ns.exp: New file.
12043 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12044 standard_testfile.
12045
12046 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12047
12048 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12049 * gdb.btrace/instruction_history.exp: Update.
12050 * gdb.btrace/tsx.exp: New.
12051 * gdb.btrace/tsx.c: New.
12052
12053 2015-08-06 Pedro Alves <palves@redhat.com>
12054
12055 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12056 increase timeout.
12057 * gdb.reverse/until-precsave.exp: Bump timeouts.
12058
12059 2015-08-06 Pedro Alves <palves@redhat.com>
12060
12061 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12062
12063 2015-08-06 Pedro Alves <palves@redhat.com>
12064
12065 PR gdb/18749
12066 * gdb.threads/process-dies-while-handling-bp.c: New file.
12067 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12068
12069 2015-08-06 Pedro Alves <palves@redhat.com>
12070
12071 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12072 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12073
12074 2015-08-05 Pedro Alves <palves@redhat.com>
12075
12076 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12077 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12078
12079 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12080
12081 * gdb.base/bp-permanent.exp: Report test as unsupported if
12082 the target cannot stop at the permanent breakpoint.
12083
12084 2015-08-03 Doug Evans <dje@google.com>
12085
12086 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12087 10000.
12088
12089 2015-08-03 Doug Evans <dje@google.com>
12090
12091 * Makefile.in (workers/%.worker, build-perf): New rule.
12092 (GDB_PERFTEST_MODE): New variable.
12093 (check-perf): Use it.
12094 (clean): Clean up gdb.perf parallel build subdirs.
12095 * lib/build-piece.exp: New file.
12096 * lib/gdb.exp (make_gdb_parallel_path): New function
12097 (standard_output_file, standard_temp_file): Call it.
12098 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12099 of $GDB_PARALLEL.
12100 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12101
12102 2015-08-03 Doug Evans <dje@google.com>
12103
12104 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12105 (LOG_FILE_NAME): New global.
12106 (TextReporter.__init__): Initialize self.txt_sum.
12107 (TextReporter.report): Add support for multiple data-points.
12108 Move report to perftest.sum, put raw data in perftest.log.
12109 (TextReporter.start): Open sum and log files.
12110 (TextReporter.end): Close sum and log files.
12111 * gdb.perf/lib/perftest/testresult.py
12112 (SingleStatisticTestResult.record): Handle multiple data-points.
12113
12114 2015-07-31 Pedro Alves <palves@redhat.com>
12115
12116 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12117 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12118 kill_wait_spawned_process instead of explicit "kill -9".
12119 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12120 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12121 kill_wait_spawned_process.
12122 * gdb.base/attach-twice.exp: Likewise.
12123 * gdb.base/attach.exp: Likewise.
12124 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12125 gdb_test_multiple.
12126 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12127 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12128 kill_wait_spawned_process.
12129 * gdb.base/valgrind-infcall.exp: Likewise.
12130 * gdb.multi/multi-attach.exp: Likewise.
12131 * gdb.python/py-prompt.exp: Likewise.
12132 * gdb.python/py-sync-interp.exp: Likewise.
12133 * gdb.server/ext-attach.exp: Likewise.
12134 * gdb.threads/attach-into-signal.exp (corefunc): Use
12135 spawn_wait_for_attach, spawn_id_get_pid and
12136 kill_wait_spawned_process.
12137 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12138 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12139 spawn_id_get_pid and kill_wait_spawned_process.
12140 * gdb.threads/attach-stopped.exp (corefunc): Use
12141 spawn_wait_for_attach, spawn_id_get_pid and
12142 kill_wait_spawned_process.
12143 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12144 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12145 kill_wait_spawned_process instead of explicit "kill -9".
12146 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12147 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12148 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12149 processes. Don't map cygwin/windows pids here. Now returns a
12150 spawn id list.
12151
12152 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12153
12154 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12155 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12156 correct patch.
12157
12158 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12159
12160 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12161
12162 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12163
12164 Reapply:
12165 2014-05-21 Mark Wielaard <mjw@redhat.com>
12166
12167 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12168
12169 2015-07-30 Pedro Alves <palves@redhat.com>
12170
12171 * linux-low.c (handle_extended_wait): Set the child's last
12172 reported status to TARGET_WAITKIND_STOPPED.
12173
12174 2015-07-30 Pedro Alves <palves@redhat.com>
12175
12176 PR threads/18600
12177 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12178 only shows inferior 1.
12179
12180 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12181 Pedro Alves <palves@redhat.com>
12182
12183 PR threads/18600
12184 * gdb.threads/fork-plus-threads.c: New file.
12185 * gdb.threads/fork-plus-threads.exp: New file.
12186
12187 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12188
12189 * gdb.base/batch-preserve-term-settings.exp
12190 (test_terminal_settings_preserved_after_cli_exit): Use
12191 send_quit_command.
12192
12193 2015-07-29 Pedro Alves <palves@redhat.com>
12194 Don Breazeal <donb@codesourcery.com>
12195
12196 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12197 output from both inferior_spawn_id and gdb_spawn_id.
12198
12199 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12200
12201 * gdb.threads/attach-into-signal.exp (corefunc): Use
12202 with_test_prefix on nested loops, uniquefying the test messages.
12203
12204 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12205
12206 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12207 commit.
12208
12209 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12210
12211 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12212 New proc.
12213 (test_terminal_settings_preserved_after_sigterm): New test.
12214
12215 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12216
12217 * gdb.base/batch-preserve-term-settings.exp
12218 (test_terminal_settings_preserved_after_cli_exit): New test.
12219
12220 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12221
12222 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12223 manipulation of saved_gdbflags.
12224 (test_terminal_settings_preserved): Remove global declaration of
12225 the unused variable pagination_prompt. Remove manipulation of
12226 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12227 GDBFLAGS.
12228
12229 2015-07-29 Pedro Alves <palves@redhat.com>
12230
12231 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12232
12233 2015-07-29 Pedro Alves <palves@redhat.com>
12234
12235 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12236 at the top.
12237
12238 2015-07-29 Pedro Alves <palves@redhat.com>
12239
12240 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12241 (main): Call gdb_unbuffer_output.
12242 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12243 (main): Call gdb_unbuffer_output.
12244 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12245 (main): Call gdb_unbuffer_output.
12246 * gdb.base/call-strs.exp: Adjust to step over the
12247 gdb_unbuffer_output call.
12248 * gdb.base/catch-gdb-caused-signals.c: Include
12249 "../lib/unbuffer_output.c".
12250 (main): Call gdb_unbuffer_output.
12251 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12252 (main): Call gdb_unbuffer_output.
12253 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12254 (main): Call gdb_unbuffer_output.
12255 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12256 (main): Call gdb_unbuffer_output.
12257 * gdb.base/shlib-call.exp: Adjust to step over the
12258 gdb_unbuffer_output call.
12259 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12260 (main): Call gdb_unbuffer_output.
12261 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12262 (main): Call gdb_unbuffer_output.
12263 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12264 (main): Rename to ...
12265 (test): ... this.
12266 (main): Reimplement.
12267 * gdb.base/varargs.exp: Run to test instead of to main.
12268 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12269 (main): Call gdb_unbuffer_output.
12270
12271 2015-07-29 Pedro Alves <palves@redhat.com>
12272
12273 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12274 factore out from mi_continue_dprintf. For call-style dprintfs,
12275 expect dprintf output out of $inferior_spawn_id.
12276 (mi_continue_dprintf): Use mi_expect_dprintf.
12277 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12278 (main): Call gdb_unbuffer_output.
12279
12280 2015-07-29 Pedro Alves <palves@redhat.com>
12281
12282 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12283 (default_mi_gdb_start): Set inferior_spawn_id instead of
12284 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12285 gdb_spawn_id.
12286 (mi_gdb_test): Always expect inferior output from both
12287 $inferior_spawn_id and $gdb_spawn_id.
12288
12289 2015-07-29 Pedro Alves <palves@redhat.com>
12290
12291 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12292 send_inferior and $inferior_spawn_id.
12293
12294 2015-07-29 Pedro Alves <palves@redhat.com>
12295
12296 * gdb.gdb/complaints.exp (test_initial_complaints)
12297 (test_serial_complaints, test_short_complaints): Use
12298 gdb_test_stdio.
12299 (test_empty_complaint): Handle $inferior_spawn_id !=
12300 $gdb_spawn_id.
12301
12302 2015-07-29 Pedro Alves <palves@redhat.com>
12303
12304 * gdb.base/varargs.exp: Use gdb_test_stdio.
12305
12306 2015-07-29 Pedro Alves <palves@redhat.com>
12307
12308 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12309
12310 2015-07-29 Pedro Alves <palves@redhat.com>
12311
12312 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12313
12314 2015-07-29 Pedro Alves <palves@redhat.com>
12315
12316 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12317 parameter into two new parameters, "inf_result" and "gdb_result".
12318 Expect inferior output and gdb output from $inferior_spawn_id and
12319 $gdb_spawn_id, respectively. Adjust all callers.
12320
12321 2015-07-29 Pedro Alves <palves@redhat.com>
12322
12323 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12324 of gdb_test_sequence.
12325
12326 2015-07-29 Pedro Alves <palves@redhat.com>
12327
12328 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12329 (saw_spurious_output): Expect inferior output from
12330 $inferior_spawn_id. Use gdb_test_stdio.
12331
12332 2015-07-29 Pedro Alves <palves@redhat.com>
12333
12334 * gdb.base/dprintf.exp: Use standard_testfile. Change
12335 prepare_for_testing call.
12336 (srcfile): Don't set.
12337 (restart): New procedure.
12338 (test_dprintf): New procecure, use to continue over dprintfs.
12339 (test_call, test_agent): New procedures, tests moved here.
12340 Restart gdb and recreate dprintfs. Adjust expected output.
12341
12342 2015-07-29 Pedro Alves <palves@redhat.com>
12343
12344 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12345
12346 2015-07-29 Pedro Alves <palves@redhat.com>
12347
12348 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12349
12350 2015-07-29 Pedro Alves <palves@redhat.com>
12351
12352 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12353 gdb_test_stdio.
12354
12355 2015-07-29 Pedro Alves <palves@redhat.com>
12356
12357 * lib/gdb.exp (gdb_test_stdio): New procedure.
12358
12359 2015-07-29 Pedro Alves <palves@redhat.com>
12360
12361 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12362
12363 2015-07-29 Pedro Alves <palves@redhat.com>
12364
12365 * gdb.base/call-signal-resume.exp: Remove check for
12366 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12367 * gdb.base/unwindonsignal.exp: Likewise.
12368 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12369 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12370
12371 2015-07-29 Pedro Alves <palves@redhat.com>
12372
12373 * gdb.base/siginfo-addr.c (pass): New function.
12374 (handler): Call it iff si_addr is correct.
12375 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12376 Set a breakpoint at "pass" and continue to it.
12377
12378 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12379
12380 * gdb.python/py-objfile.exp: Make some tests have unique names.
12381 * gdb.python/py-pp-registration.exp: Likewise.
12382
12383 2015-07-28 Pedro Alves <palves@redhat.com>
12384
12385 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12386
12387 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12388
12389 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12390
12391 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12392
12393 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12394
12395 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12396
12397 * gdb.base/gdb-sigterm-2.exp: New test.
12398
12399 2015-07-25 Doug Evans <xdje42@gmail.com>
12400
12401 Revert:
12402 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12403 (workers/%.worker, build-perf): New rule.
12404 (GDB_PERFTEST_MODE): New variable.
12405 (check-perf): Use it.
12406 (clean): Clean up gdb.perf parallel build subdirs.
12407 * lib/build-piece.exp: New file.
12408 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12409 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12410 name.
12411 (standard_temp_file): Ditto.
12412 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12413 of $GDB_PARALLEL.
12414
12415 2015-07-24 Doug Evans <dje@google.com>
12416
12417 * gdb.perf/lib/perftest/utils.py: New file.
12418 * gdb.perf/gm-hello.cc: New file.
12419 * gdb.perf/gm-pervasive-typedef.cc: New file.
12420 * gdb.perf/gm-pervasive-typedef.h: New file.
12421 * gdb.perf/gm-std.cc: New file.
12422 * gdb.perf/gm-std.h: New file.
12423 * gdb.perf/gm-use-cerr.cc: New file.
12424 * gdb.perf/gm-utils.h: New file.
12425 * gdb.perf/gmonster-null-lookup.py: New file.
12426 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12427 * gdb.perf/gmonster-print-cerr.py: New file.
12428 * gdb.perf/gmonster-ptype-string.py: New file.
12429 * gdb.perf/gmonster-runto-main.py: New file.
12430 * gdb.perf/gmonster-select-file.py: New file.
12431 * gdb.perf/gmonster1-null-lookup.exp: New file.
12432 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12433 * gdb.perf/gmonster1-print-cerr.exp: New file.
12434 * gdb.perf/gmonster1-ptype-string.exp: New file.
12435 * gdb.perf/gmonster1-runto-main.exp: New file.
12436 * gdb.perf/gmonster1-select-file.exp: New file.
12437 * gdb.perf/gmonster1.cc: New file.
12438 * gdb.perf/gmonster1.exp: New file.
12439 * gdb.perf/gmonster2-null-lookup.exp: New file.
12440 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12441 * gdb.perf/gmonster2-print-cerr.exp: New file.
12442 * gdb.perf/gmonster2-ptype-string.exp: New file.
12443 * gdb.perf/gmonster2-runto-main.exp: New file.
12444 * gdb.perf/gmonster2-select-file.exp: New file.
12445 * gdb.perf/gmonster2.cc: New file.
12446 * gdb.perf/gmonster2.exp: New file.
12447
12448 2015-07-24 Doug Evans <dje@google.com>
12449
12450 * gdb.perf/README: New file.
12451 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12452 * lib/gen-perf-test.exp: New file.
12453
12454 2015-07-24 Doug Evans <dje@google.com>
12455
12456 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12457 (PerfTest::startup): New function.
12458 (PerfTest::run): Return result of calling body.
12459 (PerfTest::assemble): Rewrite.
12460 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12461 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12462 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12463 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12464 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12465
12466 2015-07-24 Doug Evans <dje@google.com>
12467
12468 * lib/gdb.exp (clean_restart): Make executable optional.
12469
12470 2015-07-24 Doug Evans <dje@google.com>
12471
12472 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12473 compiler_info references.
12474 * gdb.cp/temargs.exp: Ditto.
12475 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12476 (get_compiler_info): Early exit if already computed. Set compiler_info
12477 to "unknown" if there was a problem.
12478 (test_compiler_info): Add function comment. Call get_compiler_info.
12479
12480 2015-07-24 Doug Evans <dje@google.com>
12481
12482 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12483 (workers/%.worker, build-perf): New rule.
12484 (GDB_PERFTEST_MODE): New variable.
12485 (check-perf): Use it.
12486 (clean): Clean up gdb.perf parallel build subdirs.
12487 * lib/build-piece.exp: New file.
12488 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12489 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12490 name.
12491 (standard_temp_file): Ditto.
12492 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12493 of $GDB_PARALLEL.
12494
12495 2015-07-24 Doug Evans <dje@google.com>
12496
12497 * lib/future.exp (gdb_default_target_compile): New option
12498 "early_flags".
12499 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12500 --as-needed.
12501
12502 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12503
12504 * gdb.base/catch-syscall.exp: Call gdb_exit before
12505 gdb_skip_xml_test.
12506
12507 2015-07-24 Pedro Alves <palves@redhat.com>
12508
12509 * gdb.python/py-events.exp: Accept output between the stop event
12510 and the prompt.
12511 * gdb.python/py-evsignal.exp: Likewise.
12512 * gdb.python/py-evthreads.exp: Likewise.
12513
12514 2015-07-24 Pedro Alves <palves@redhat.com>
12515
12516 PR gdb/18717
12517 * gdb.threads/non-ldr-exit.c: New file.
12518 * gdb.threads/non-ldr-exit.exp: New file.
12519
12520 2015-07-24 Yao Qi <yao.qi@linaro.org>
12521
12522 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12523 restarting process.
12524
12525 2015-07-24 Yao Qi <yao.qi@linaro.org>
12526
12527 * gdb.server/ext-restart.exp: New file.
12528
12529 2015-07-24 Yao Qi <yao.qi@linaro.org>
12530
12531 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12532 argument options.
12533 * gdb.server/ext-wrapper.exp: New file.
12534
12535 2015-07-23 Doug Evans <dje@google.com>
12536
12537 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12538 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12539
12540 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12541
12542 * gdb.ada/var_arr_typedef.exp: New testcase.
12543 * gdb.ada/var_arr_typedef/pack.adb: New file.
12544 * gdb.ada/var_arr_typedef/pack.ads: New file.
12545 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12546
12547 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12548
12549 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12550
12551 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12552
12553 * gdb.arch/i386-biarch-core.exp: Replace istarget
12554 by "complete set gnutarget". Remove expectation for the "core-file"
12555 command.
12556
12557 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12558
12559 Revert the previous commit:
12560 Tests for validate symbol file using build-id.
12561
12562 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12563
12564 Tests for validate symbol file using build-id.
12565 * gdb.base/solib-mismatch-lib.c: New file.
12566 * gdb.base/solib-mismatch-libmod.c: New file.
12567 * gdb.base/solib-mismatch.c: New file.
12568 * gdb.base/solib-mismatch.exp: New file.
12569
12570 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12571
12572 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12573 nios2-*-linux*.
12574 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12575 * gdb.base/siginfo.exp: Likewise.
12576 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12577
12578 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12579
12580 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12581 Move it to ...
12582 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12583 ... here.
12584 * gdb.trace/range-stepping.exp: Check that the target supports
12585 range stepping.
12586
12587 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12588
12589 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12590
12591 2015-07-14 Pedro Alves <palves@redhat.com>
12592
12593 * gdb.base/killed-outside.exp: New file.
12594 * gdb.base/killed-outside.c: New file.
12595
12596 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12597
12598 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12599 (n at main): New.
12600 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12601
12602 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12603
12604 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12605 infcall tests instead of setting up for KFAIL.
12606
12607 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12608
12609 * gdb.btrace/record_goto-step.exp: New.
12610
12611 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12612
12613 PR compile/18484
12614 * gdb.compile/compile.c (struct struct_type): Add volatile to
12615 selffield's type.
12616 * gdb.compile/compile.exp
12617 (compile code struct_object.selffield = &struct_object): Skip further
12618 struct_object tests if this one xfails.
12619
12620 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12621
12622 PR exp/18617
12623 * gdb.trace/ax.exp: Add test.
12624
12625 2015-07-07 Yao Qi <yao.qi@linaro.org>
12626
12627 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12628 instead of istarget "aarch64*-*-*".
12629 * gdb.arch/aarch64-fp.exp: Likewise.
12630 * gdb.base/float.exp: Likewise.
12631 * gdb.reverse/aarch64.exp: Likewise.
12632 * lib/gdb.exp (is_aarch64_target): New proc.
12633
12634 2015-07-07 Yao Qi <yao.qi@linaro.org>
12635
12636 * lib/gdb.exp (is_aarch32_target): New proc.
12637 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12638 instead of "istarget "arm*-*-*"".
12639 * gdb.arch/arm-disp-step.exp: Likewise.
12640 * gdb.arch/thumb-bx-pc.exp: Likewise.
12641 * gdb.arch/thumb-prologue.exp: Likewise.
12642 * gdb.arch/thumb-singlestep.exp: Likewise.
12643 * gdb.base/disp-step-syscall.exp: Likewise.
12644 * gdb.base/float.exp: Likewise.
12645
12646 2015-07-07 Yao Qi <yao.qi@linaro.org>
12647
12648 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12649 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12650
12651 2015-07-07 Yao Qi <yao.qi@linaro.org>
12652
12653 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12654 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12655 if it exists.
12656 * gdb.multi/multi-arch.exp: Likewise.
12657
12658 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12659
12660 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12661 print.
12662
12663 2015-07-07 Yao Qi <yao.qi@linaro.org>
12664
12665 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12666
12667 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12668
12669 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12670 '[' and ']' characters.
12671
12672 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12673
12674 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12675
12676 2015-06-29 Pedro Alves <palves@redhat.com>
12677
12678 PR threads/18127
12679 * gdb.threads/hand-call-new-thread.c: New file.
12680 * gdb.threads/hand-call-new-thread.c: New file.
12681
12682 2015-06-26 Keith Seitz <keiths@redhat.com>
12683 Doug Evans <dje@google.com>
12684
12685 PR 16253
12686 * gdb.cp/var-tag-2.cc: New file.
12687 * gdb.cp/var-tag-3.cc: New file.
12688 * gdb.cp/var-tag-4.cc: New file.
12689 * gdb.cp/var-tag.cc: New file.
12690 * gdb.cp/var-tag.exp: New file.
12691
12692 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12693
12694 * gdb.base/history-duplicates.exp: New test.
12695
12696 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12697
12698 * gdb.base/completion.exp: Test the completion of the "focus"
12699 command.
12700
12701 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12702
12703 * gdb.arch/amd64-prologue-skip.S: New file.
12704 * gdb.arch/amd64-prologue-skip.exp: New file.
12705
12706 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12707
12708 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12709 is_address_zero_readable check.
12710
12711 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12712
12713 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12714 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12715
12716 2015-06-24 Yao Qi <yao.qi@linaro.org>
12717
12718 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12719 linux targets.
12720
12721 2015-06-24 Yao Qi <yao.qi@linaro.org>
12722
12723 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12724 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12725 * gdb.base/siginfo-thread.exp: Likewise.
12726
12727 2015-06-22 Yao Qi <yao.qi@linaro.org>
12728
12729 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12730
12731 2015-06-22 Yao Qi <yao.qi@linaro.org>
12732
12733 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12734 aarch64*-*-*.
12735 (skip_hw_watchpoint_tests): Likewise.
12736
12737 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12738
12739 * gdb.base/gdbinit-history.exp: Test the interaction between
12740 setting GDBHISTSIZE and setting the history size via .gdbinit.
12741
12742 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12743
12744 PR gdb/16999
12745 * gdb.base/gdbhistsize-history.exp: New test.
12746
12747 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12748
12749 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12750 with GDBHISTSIZE.
12751 * gdb.base/readline.exp: Likewise.
12752
12753 2015-06-17 Yao Qi <yao.qi@linaro.org>
12754
12755 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12756 line.
12757
12758 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12759
12760 * gdb.base/gdbinit-history.exp: Add test case to check that
12761 an unlimited history file does not get truncated on exit.
12762
12763 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12764
12765 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12766 (VECTOR): New macro. Use it...
12767 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12768 ...for these typedefs.
12769 (int8, char1, int1, double1): New typedefs.
12770 (struct just_int2, struct two_int2): New structures.
12771 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12772 (add_structvecs, add_singlevecs): New functions.
12773 (main): Call add_some_intvecs twice.
12774 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12775 the compile and exit upon failure. Try compiling for the "native"
12776 architecture. Test inferior function calls with vector arguments
12777 and vector return value handling with "finish" and "return".
12778
12779 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12780
12781 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12782 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12783 PE file.
12784 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12785
12786 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12787
12788 PR breakpoints/16465
12789 * gdb.mi/mi-dprintf-pending.c: New file.
12790 * gdb.mi/mi-dprintf-pending.exp: New test.
12791 * gdb.mi/mi-dprintf-pendshr.c: New file.
12792
12793 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12794 Mircea Gherzan <mircea.gherzan@intel.com>
12795
12796 * gdb.arch/i386-mpx-map.c: New file.
12797 * gdb.arch/i386-mpx-map.exp: New File.
12798
12799 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12800
12801 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12802 * gdb.arch/i386-mpx.exp: Indentation fixed.
12803
12804 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12805
12806 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12807 function and improved indentation.
12808 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12809 gdb_test_multiple. Added additional tests to skip the test.
12810
12811 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12812
12813 * gdb.arch/i386-avx512.c: Change path in include file.
12814 * gdb.arch/i386-avx512.exp: Change include dir path
12815 compilation flag.
12816 * gdb.arch/i386-mpx.c: Change path in include file.
12817 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12818 flag.
12819
12820 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12821
12822 * gdb.compile/compile-print.exp (compile print *vararray@3)
12823 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12824
12825 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12826
12827 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12828 (do not keep jit in memory): ... this.
12829 (expect 5): Change it to ...
12830 (expect no 5): ... this.
12831
12832 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12833
12834 PR gdb/15564
12835 * gdb.mi/mi-detach.exp: New file.
12836
12837 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12838
12839 PR symtab/18392
12840 * gdb.arch/amd64-tailcall-self.S: New file.
12841 * gdb.arch/amd64-tailcall-self.c: New file.
12842 * gdb.arch/amd64-tailcall-self.exp: New file.
12843
12844 2015-05-28 Don Breazeal <donb@codesourcery.com>
12845
12846 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12847 tests for remote targets by checking is_target_gdbserver.
12848
12849 2015-05-27 Doug Evans <dje@google.com>
12850
12851 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12852 * gdb.dwarf2/opaque-type-lookup.c: New file.
12853 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12854
12855 2015-05-26 Doug Evans <dje@google.com>
12856
12857 * gdb.cp/iostream.cc: New file.
12858 * gdb.cp/iostream.exp: New file.
12859
12860 2015-05-26 Doug Evans <dje@google.com>
12861
12862 * gdb.dwarf2/dw2-op-call.exp: Update.
12863 * gdb.dwarf2/dw4-sig-types.exp: Update.
12864 * gdb.dwarf2/implptr.exp: Update.
12865 * gdb.mi/mi-cmd-param-changed.exp: Update.
12866
12867 2015-05-26 Doug Evans <dje@google.com>
12868
12869 * gdb.python/py-lazy-string.c: New file.
12870 * gdb.python/py-lazy-string.exp: New file.
12871 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12872 (main): Update. Add estring3.
12873 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12874 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12875
12876 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12877 Yao Qi <yao.qi@linaro.org>
12878
12879 * gdb.reverse/aarch64.c: New.
12880 * gdb.reverse/aarch64.exp: New.
12881
12882 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12883
12884 * lib/gdb.exp (supports_process_record): Return true for
12885 aarch64*-linux*.
12886 (supports_reverse): Likewise.
12887
12888 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12889
12890 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12891 Use with_test_prefix.
12892
12893 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12894
12895 * gdb.base/completion.exp: Add test for completion of layout
12896 names.
12897
12898 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12899
12900 * lib/gdb.exp (skip_tui_tests): New proc.
12901 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12902
12903 2015-05-19 Pedro Alves <palves@redhat.com>
12904
12905 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12906 Save the whole env array instead of just HOME. Unset HISTSIZE in
12907 the environment while testing. Restore whole environment
12908 afterwards.
12909
12910 2015-05-16 Doug Evans <xdje42@gmail.com>
12911
12912 * gdb.guile/scm-ports.c: New file.
12913 * gdb.guile/scm-ports.exp: Add memory port tests.
12914
12915 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12916
12917 * gdb.compile/compile-print.c: New file.
12918 * gdb.compile/compile-print.exp: New file.
12919
12920 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12921
12922 * gdb.compile/compile-ops.exp: Cast param to void.
12923 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12924 (compile code struct_object.selffield = &struct_object): Add xfail.
12925
12926 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12927
12928 * gdb.ada/arr_enum_with_gap: New testcase.
12929
12930 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12931
12932 * gdb.ada/byte_packed_arr: New testcase.
12933
12934 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12935
12936 * gdb.ada/pckd_neg: New testcase.
12937
12938 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12939
12940 PR gdb/17820
12941 * gdb.base/gdbinit-history.exp: New test.
12942 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12943 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12944
12945 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12946
12947 * gdb.python/py-xmethods.cc: Enhance test case.
12948 * gdb.python/py-xmethods.exp: New tests.
12949 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12950 function.
12951 (B_indexoper): Likewise.
12952 (global_dm_list) : Add new xmethod worker functions.
12953
12954 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12955
12956 * gdb.base/coredump-filter.exp: Correctly unset
12957 "coredump_var_addr" array.
12958
12959 2015-05-08 Pedro Alves <palves@redhat.com>
12960
12961 * gdb.server/non-existing-program.exp: Unset spawn_id.
12962
12963 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12964
12965 PR python/18291
12966 * gdb.python/py-xmethods.exp: Add tests.
12967
12968 2015-05-08 Yao Qi <yao.qi@linaro.org>
12969
12970 PR gdb/18208
12971 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12972 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12973 function set_coredump_filter, and remove remote_exec call.
12974 Remove argument ipid. Callers update.
12975 (top level): Don't get inferior's PID.
12976
12977 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12978
12979 * gdb.base/watch_thread_num.exp: Skip test on targets without
12980 access watchpoints.
12981
12982 2015-05-06 Pedro Alves <palves@redhat.com>
12983
12984 PR server/18081
12985 * gdb.server/non-existing-program.exp: New file.
12986
12987 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12988
12989 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12990
12991 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12992
12993 * gdb.ada/out_of_line_in_inlined: New testcase.
12994
12995 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12996
12997 * gdb.ada/var_rec_arr: New testcase.
12998
12999 2015-04-30 Yao Qi <yao.qi@linaro.org>
13000
13001 * gdb.base/break-idempotent.exp: If
13002 skip_hw_watchpoint_multi_tests returns true, skip the tests
13003 on "rwatch" and "awatch".
13004
13005 2015-04-30 Yao Qi <yao.qi@linaro.org>
13006
13007 * gdb.base/relativedebug.exp: Invoke gdb command
13008 "info sharedlibrary", and if libc.so doesn't have debug info,
13009 skip the test.
13010
13011 2015-04-29 Doug Evans <dje@google.com>
13012
13013 * gdb.python/py-xmethods.exp: Add ptype tests.
13014 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13015 get_result_type method.
13016
13017 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13018
13019 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13020 the target does not support hardware watchpoints.
13021
13022 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13023
13024 * gdb.base/break-always.exp: Abort testing if writing to memory
13025 causes an error.
13026
13027 2015-04-28 Doug Evans <dje@google.com>
13028
13029 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13030 * gdb.python/py-pp-registration.exp: ... here. New file.
13031 * gdb.python/py-pp-registration.c: New file.
13032 * gdb.python/py-pp-registration.py: New file.
13033
13034 2015-04-28 Doug Evans <dje@google.com>
13035
13036 * gdb.python/py-bad-printers.c: New file.
13037 * gdb.python/py-bad-printers.py: New file.
13038 * gdb.python/py-bad-printers.exp: New file.
13039
13040 2015-04-28 Sasha Smundak <asmundak@google.com>
13041
13042 * gdb.python/py-type.exp: New test.
13043
13044 2015-04-28 Andy Wingo <wingo@igalia.com>
13045
13046 * gdb.python/py-parameter.exp:
13047 * gdb.guile/scm-parameter.exp: Escape the path that we are
13048 matching against, as it might contain characters that are special
13049 to regular expressions.
13050
13051 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13052
13053 * gdb.ada/rec_comp: New testcase.
13054
13055 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13056
13057 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13058 before using it.
13059
13060 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13061
13062 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13063 new tests for verilog output.
13064
13065 2015-04-24 Yao Qi <yao.qi@linaro.org>
13066
13067 * boards/remote-gdbserver-on-localhost.exp: New file.
13068
13069 2015-04-23 Pedro Alves <palves@redhat.com>
13070
13071 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13072 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13073 "end of file", remove $inferior_spawn_id from the indirect list.
13074
13075 2015-04-23 Pedro Alves <palves@redhat.com>
13076
13077 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13078
13079 2015-04-23 Pedro Alves <palves@redhat.com>
13080
13081 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13082 on $any_spawn_id instead of only on $gdb_spawn_id.
13083
13084 2015-04-21 Pierre Muller <muller@sourceware.org>
13085
13086 PR pascal/17815
13087 * lib/pascal.exp (gpc_compile): Add new option "class".
13088 (fpc_compile): Likewise.
13089 * gdb.pascal/case-insensitive-symbols.pas: New file.
13090 * gdb.pascal/case-insensitive-symbols.exp: New file.
13091
13092 2015-04-20 Gary Benson <gbenson@redhat.com>
13093
13094 * gdb.base/attach.exp: Fix three extended remote failures.
13095
13096 2015-04-17 Gary Benson <gbenson@redhat.com>
13097
13098 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13099 the main executable over the remote protocol.
13100
13101 2015-04-16 Pedro Alves <palves@redhat.com>
13102
13103 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13104 a new gdbserver if gdbserver_reconnect_p is set.
13105
13106 2015-04-16 Pedro Alves <palves@redhat.com>
13107
13108 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13109 is set, don't exit gdbserver.
13110
13111 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13112
13113 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13114 appropriate .insn, such that an older assembler can be used.
13115 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13116 the z/Architecture instruction set on 31-bit targets as well.
13117
13118 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13119
13120 * gdb.go/handcall.exp: Remove all logic related to the first
13121 breakpoint and rely on go_runto_main instead.
13122 * gdb.go/strings.exp: Likewise.
13123 * gdb.go/unsafe.exp: Likewise.
13124 * gdb.go/hello.exp: Likewise. Also rename the remaining
13125 breakpoint marker to "breakpoint 1".
13126 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13127 * gdb.go/strings.go: Likewise.
13128 * gdb.go/unsafe.go: Likewise.
13129 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13130 "set breakpoint 2 here" and rename the remaining breakpoint marker
13131 to "breakpoint 1".
13132
13133 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13134
13135 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13136 if itertools.imap is not present.
13137 * gdb.python/py-objfile.exp: Add parentheses.
13138 * gdb.python/py-type.exp: Same.
13139 * gdb.python/py-unwind-maint.py: Same.
13140
13141 2015-04-15 Yao Qi <yao.qi@linaro.org>
13142
13143 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13144 of ":$ptr_size" and set its form explicitly.
13145
13146 2015-04-15 Pedro Alves <palves@redhat.com>
13147 Yao Qi <yao.qi@linaro.org>
13148
13149 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13150 timeout by factor of 4.
13151 (test_regular_watch): Likewise.
13152 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13153 * gdb.reverse/sigall-reverse.exp: Likewise.
13154 * gdb.reverse/until-precsave.exp: Likewise.
13155 * lib/gdb.exp (with_timeout_factor): New proc.
13156 (gdb_expect): Move some code to ...
13157 (get_largest_timeout): ... here. New procedure.
13158
13159 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13160
13161 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13162
13163 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13164
13165 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13166 to write to the .text section.
13167
13168 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13169
13170 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13171 Handle the case of targets that do not provide PID information.
13172
13173 2015-04-13 Yao Qi <yao.qi@linaro.org>
13174
13175 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13176 and use expect instead of gdb_expect.
13177
13178 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13179
13180 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13181 "coredump_var_addr" to avoid naming conflict with other testcases.
13182
13183 2015-04-10 Pedro Alves <palves@redhat.com>
13184
13185 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13186 gdb_test_sequence and gdb_assert.
13187
13188 2015-04-10 Pedro Alves <palves@redhat.com>
13189
13190 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13191 test messages that don't include the breakpoint address.
13192
13193 2015-04-10 Yao Qi <yao.qi@linaro.org>
13194
13195 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13196 false for some offset and width combinations which aren't
13197 supported by linux kernel.
13198
13199 2015-04-10 Pedro Alves <palves@redhat.com>
13200
13201 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13202 procedure, factored out from ...
13203 (top level): ... here. Add "set displaced-stepping" testing axis.
13204 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13205 parameter "displaced". Use it.
13206 (top level): Use foreach and add "set displaced-stepping" testing
13207 axis.
13208
13209 2015-04-10 Pedro Alves <palves@redhat.com>
13210
13211 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13212 Remove comment.
13213 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13214 both the address of the instruction that triggers the watchpoint
13215 and the address of the instruction immediately after, and use
13216 those addresses for the test. Fix comment.
13217
13218 2015-04-10 Pedro Alves <palves@redhat.com>
13219
13220 * gdb.base/sigstep.exp (breakpoint_to_handler)
13221 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13222 Test "backtrace" in handler.
13223 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13224 (top level): Add new "displaced" test axis to
13225 breakpoint_to_handler, breakpoint_to_handler_entry and
13226 breakpoint_over_handler.
13227
13228 2015-04-10 Pedro Alves <palves@redhat.com>
13229
13230 PR gdb/18216
13231 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13232
13233 2015-04-10 Yao Qi <yao.qi@linaro.org>
13234
13235 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13236 (test_add_rn_pc): New function.
13237 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13238 (top level): Invoke test_add_rn_pc.
13239
13240 2015-04-10 Pedro Alves <palves@redhat.com>
13241
13242 PR gdb/13858
13243 * gdb.base/step-over-no-symbols.exp: New file.
13244
13245 2015-04-09 Andy Wingo <wingo@igalia.com>
13246
13247 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13248 after the Python tests.
13249
13250 2015-04-08 Keith Seitz <keiths@redhat.com>
13251
13252 PR python/16699
13253 * gdb.python/py-completion.exp: New tests for completion.
13254 * gdb.python/py-completion.py (CompleteLimit1): New class.
13255 (CompleteLimit2): Likewise.
13256 (CompleteLimit3): Likewise.
13257 (CompleteLimit4): Likewise.
13258 (CompleteLimit5): Likewise.
13259 (CompleteLimit6): Likewise.
13260 (CompleteLimit7): Likewise.
13261
13262 2015-04-08 Pedro Alves <palves@redhat.com>
13263
13264 PR gdb/18214
13265 PR gdb/18216
13266 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13267 function.
13268 (main): Install it as SIGUSR1 handler.
13269 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13270 parameter. Always use "setup" as prefix. Toggle "set
13271 displaced-stepping" off/on depending on global. Don't switch to
13272 thread 1 here.
13273 (top level): Add displaced stepping "off/on" test axis. Update
13274 "setup" calls. Wrap each subtest with with_test_prefix. Test
13275 continuing with a queued signal in each thread.
13276
13277 2015-04-08 Pedro Alves <palves@redhat.com>
13278
13279 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13280 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13281 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13282 Return early if running to main fails.
13283 * gdb.trace/while-stepping.exp: Likewise.
13284
13285 2015-04-07 Pedro Alves <palves@redhat.com>
13286
13287 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13288 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13289 interact with inferior program.
13290
13291 2015-04-07 Pedro Alves <palves@redhat.com>
13292
13293 * lib/gdb.exp (inferior_spawn_id): New global.
13294 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13295 spawn id after processing the user code.
13296 (default_gdb_start): Set inferior_spawn_id.
13297 (send_inferior): New procedure.
13298 * lib/gdbserver-support.exp (gdbserver_start): Set
13299 inferior_spawn_id.
13300 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13301
13302 2015-04-07 Pedro Alves <palves@redhat.com>
13303
13304 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13305 * lib/gdbserver-support.exp (gdbserver_start): Make
13306 $server_spawn_id global.
13307 (gdbserver_start): Don't wait for gdbserver's spawn id with
13308 expect_background.
13309 (close_gdbserver): New procedure.
13310 (gdb_exit): Rename the default version and reimplement.
13311
13312 2015-04-07 Pedro Alves <palves@redhat.com>
13313
13314 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13315 append the substituted item, not the original item.
13316
13317 2015-04-07 Pedro Alves <palves@redhat.com>
13318
13319 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13320 gdb_expect.
13321
13322 2015-04-07 Pedro Alves <palves@redhat.com>
13323
13324 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13325 output appearing once only.
13326
13327 2015-04-07 Pedro Alves <palves@redhat.com>
13328
13329 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13330 that doesn't expect anything. Return early if running to main
13331 fails.
13332
13333 2015-04-07 Yao Qi <yao.qi@linaro.org>
13334
13335 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13336 (child_function): Call alarm.
13337 (main): Move call to alarm into the loop.
13338 * gdb.threads/non-stop-fair-events.exp: Build program with
13339 -DTIMEOUT=$timeout.
13340
13341 2015-04-06 Doug Evans <xdje42@gmail.com>
13342
13343 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13344 Fix dest parameter to board_info.
13345 (fpc_compile): Ditto.
13346 (gdb_compile_pascal): Rename dest arg to destfile.
13347
13348 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13349
13350 * gdb.ada/funcall_ref.exp: New file.
13351 * gdb.ada/funcall_ref/foo.adb: New file.
13352
13353 2015-04-02 Yao Qi <yao.qi@linaro.org>
13354
13355 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13356 is remote.
13357
13358 2015-04-02 Gary Benson <gbenson@redhat.com>
13359
13360 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13361
13362 2015-04-01 Sasha Smundak <asmundak@google.com>
13363
13364 * gdb.python/py-unwind-maint.c: New file.
13365 * gdb.python/py-unwind-maint.exp: New test.
13366 * gdb.python/py-unwind-maint.py: New file.
13367 * gdb.python/py-unwind.c: New file.
13368 * gdb.python/py-unwind.exp: New test.
13369 * gdb.python/py-unwind.py: New test.
13370
13371 2015-04-01 Pedro Alves <palves@redhat.com>
13372
13373 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13374 to fail instead of non-existent $test.
13375
13376 2015-04-01 Pedro Alves <palves@redhat.com>
13377
13378 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13379 GDBFLAGS if not empty.
13380
13381 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13382
13383 * gdb.ada/complete.exp: Remove "multi_line".
13384 * gdb.ada/info_exc.exp: Remove "multi_line".
13385 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13386 * gdb.ada/ptype_field.exp: Remove "multi_line".
13387 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13388 * gdb.ada/tagged.exp: Remove "multi_line".
13389 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13390 [multi_line ...]
13391 * gdb.btrace/delta.exp: Likewise.
13392 * gdb.btrace/exception.exp: Likewise.
13393 * gdb.btrace/function_call_history.exp: Likewise.
13394 * gdb.btrace/instruction_history.exp: Likewise.
13395 * gdb.btrace/nohist.exp: Likewise.
13396 * gdb.btrace/record_goto.exp: Likewise.
13397 * gdb.btrace/segv.exp: Likewise.
13398 * gdb.btrace/stepi.exp: Likewise.
13399 * gdb.btrace/tailcall.exp: Likewise.
13400 * gdb.btrace/unknown_functions.exp: Likewise.
13401 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13402 * lib/gdb.exp: Add the "multi_line" helper.
13403
13404 2015-04-01 Pedro Alves <palves@redhat.com>
13405
13406 * gdb.threads/tid-reuse.c: New file.
13407 * gdb.threads/tid-reuse.exp: New file.
13408
13409 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13410
13411 PR corefiles/16092
13412 * gdb.base/coredump-filter.c: New file.
13413 * gdb.base/coredump-filter.exp: Likewise.
13414
13415 2015-03-27 Petr Machata <pmachata@redhat.com>
13416
13417 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13418 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13419 (Dwarf::assemble): Initialize them.
13420 (Dwarf::lines): New function.
13421
13422 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13423
13424 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13425 SYMBOL_PREFIX for x86_64-*-cygwin.
13426
13427 2015-03-26 Andy Wingo <wingo@igalia.com>
13428
13429 PR symtab/18148
13430 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13431 const_value but not a location.
13432 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13433 location defined in non-main CUs are visible.
13434
13435 2015-03-26 Yao Qi <yao.qi@linaro.org>
13436
13437 PR testsuite/18139
13438 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13439 Add a line number entry for the same line.
13440 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13441 Add a line number entry for the same line.
13442
13443 2015-03-26 Yao Qi <yao.qi@linaro.org>
13444
13445 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13446 .int 0.
13447 (func): Likewise. Add .Lfunc_1 label.
13448 Use .Lfunc_1 label.
13449 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13450 .int 0.
13451 (func): Likewise.
13452 Use .Lfunc_1 label.
13453
13454 2015-03-26 Yao Qi <yao.qi@linaro.org>
13455
13456 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13457 Call gdb_compile instead to compile each .s files without debug
13458 information.
13459
13460 2015-03-26 Yao Qi <yao.qi@linaro.org>
13461
13462 * gdb.base/savedregs.exp (process_saved_regs): Make
13463 "Saved registers:" optional in the pattern.
13464
13465 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13466
13467 * gdb.btrace/next.exp: Merged into step.exp.
13468 * gdb.btrace/finish.exp: Merged into step.exp.
13469 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13470 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13471 "record goto" and checking the exact replay position.
13472 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13473 check for "Recording format" in "info record" output.
13474 * gdb.btrace/record_goto.exp: Choose test file based on target.
13475 * gdb.btrace/x86-record_goto.S: Renamed into ...
13476 * gdb.btrace/x86_64-record_goto.S: ... this.
13477 * gdb.btrace/i686-record_goto.S: New.
13478 * gdb.btrace/x86-tailcall.S: Renamed into ...
13479 * gdb.btrace/x86_64-tailcall.S: ... this.
13480 * gdb.btrace/i686-tailcall.S: New.
13481 * gdb.btrace/x86-tailcall.c: Renamed into ...
13482 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13483 separate statements. Update test.
13484 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13485 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13486 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13487 * gdb.btrace/tailcall.exp: Choose test file based on target.
13488 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13489
13490 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13491
13492 * gdb.btrace/exception.exp: Increase BTS buffer size.
13493
13494 2015-03-24 Pedro Alves <palves@redhat.com>
13495
13496 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13497
13498 2015-03-24 Pedro Alves <palves@redhat.com>
13499
13500 * gdb.threads/schedlock.exp (test_step): No longer expect that
13501 "set scheduler-locking step" with "next" over a function call runs
13502 threads unlocked.
13503
13504 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13505
13506 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13507
13508 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13509
13510 PR breakpoints/16466
13511 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13512 * gdb.mi/mi-pending.c (thread_func): New function.
13513 (int main): Add threading support required.
13514 * gdb.mi/mi-pending.exp: Add tests for this issue.
13515 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13516 (pendfunc2): Remove stdio dependency.
13517 * gdb.mi/mi-pendshr2.c: New file.
13518
13519 2015-03-23 Keith Seitz <keiths@redhat.com>
13520
13521 * gdb.linespec/keywords.c: New file.
13522 * gdb.linespec/keywords.exp: New file.
13523
13524 2015-03-23 Keith Seitz <keiths@redhat.com>
13525
13526 PR gdb/18021
13527 * gdb.dwarf2/staticvirtual.exp: New test.
13528
13529 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13530
13531 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13532 * README: Remove HP-UX and gdb.hp.
13533 (configuration):
13534 * configure: Regenerate.
13535 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13536 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13537 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13538 gdb.hp/gdb.defects/Makefile.
13539 * gdb.hp/Makefile.in: File deleted.
13540 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13541 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13542 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13543 * gdb.hp/gdb.aCC/run.c: File deleted.
13544 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13545 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13546 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13547 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13548 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13549 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13550 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13551 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13552 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13553 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13554 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13555 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13556 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13557 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13558 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13559 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13560 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13561 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13562 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13563 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13564 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13565 * gdb.hp/gdb.compat/average.c: File deleted.
13566 * gdb.hp/gdb.compat/sum.c: File deleted.
13567 * gdb.hp/gdb.compat/xdb.c: File deleted.
13568 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13569 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13570 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13571 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13572 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13573 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13574 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13575 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13576 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13577 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13578 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13579 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13580 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13581 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13582 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13583 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13584 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13585 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13586 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13587 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13588 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13589 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13590 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13591 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13592 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13593 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13594 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13595 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13596 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13597 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13598 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13599 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13600 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13601 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13602 * gdb.hp/tools/odump: File deleted.
13603
13604 2015-03-19 Pedro Alves <palves@redhat.com>
13605
13606 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13607 (saw_thread_3): New globals.
13608 (top level): Increment them when an event for the corresponding
13609 thread is seen.
13610 (no thread starvation): New test.
13611
13612 2015-03-19 Pedro Alves <palves@redhat.com>
13613
13614 * gdb.threads/continue-pending-status.c: New file.
13615 * gdb.threads/continue-pending-status.exp: New file.
13616
13617 2015-03-18 Pedro Alves <palves@redhat.com>
13618
13619 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13620 Use gdb_is_target_remote instead of is_remote. Use
13621 gdb_test_multiple instead of gdb_expect. Exit early if
13622 gdb_test_multiple hits its internal matches. Tighten stepi tests
13623 expected output. Fail on exit with any signal, instead of just
13624 SIGILL.
13625
13626 2015-03-18 Yao Qi <yao.qi@linaro.org>
13627
13628 PR tdep/18107
13629 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13630 variable.
13631 * gdb.base/catch-syscall.exp: Don't skip it on
13632 aarch64*-*-linux* target. Remove elements in all_syscalls.
13633 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13634 target.
13635 (setup_all_syscalls): New proc.
13636
13637 2015-03-16 Yao Qi <yao.qi@linaro.org>
13638
13639 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13640 (top level): Skip tests if valid_addr_p returns false for
13641 $cmd1 or $cmd2.
13642
13643 2015-03-11 Andy Wingo <wingo@igalia.com>
13644
13645 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13646
13647 2015-03-11 Yao Qi <yao.qi@linaro.org>
13648
13649 * gdb.base/catch-syscall.exp: Fix typo in comments.
13650
13651 2015-03-11 Yao Qi <yao.qi@linaro.org>
13652
13653 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13654
13655 2015-03-09 Pedro Alves <palves@redhat.com>
13656
13657 * dg-extract-results.py: Delete.
13658
13659 2015-03-09 Pedro Alves <palves@redhat.com>
13660
13661 Merge dg-extract-results.sh from GCC upstream (r218843).
13662
13663 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13664 * dg-extract-results.sh: Use --text with grep to avoid issues with
13665 binary files. Fall back to cat -v, if that doesn't work.
13666
13667 2015-03-05 Pedro Alves <palves@redhat.com>
13668
13669 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13670
13671 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13672
13673 * lib/mi-support.exp (mi_expect_interrupt): Accept
13674 alternative event for when in all-stop mode.
13675
13676 2015-03-04 Pedro Alves <palves@redhat.com>
13677
13678 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13679
13680 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13681
13682 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13683
13684 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13685
13686 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13687 regexps for GDB's current line display, accept a hex address
13688 preceding the line number.
13689
13690 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13691
13692 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13693 the 'arch1' variable for "s390*-linux*" targets.
13694
13695 2015-03-04 Pedro Alves <palves@redhat.com>
13696
13697 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13698 (main): Pass missing retval argument to pthread_join call.
13699
13700 2015-03-02 Pedro Alves <palves@redhat.com>
13701
13702 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13703 (top level): Call do_test with non-stop as well.
13704
13705 2015-03-02 Pedro Alves <palves@redhat.com>
13706
13707 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13708 -1.
13709
13710 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13711
13712 * gdb.arch/s390-vregs.exp: New test.
13713 * gdb.arch/s390-vregs.S: New file.
13714
13715 2015-02-27 Pedro Alves <palves@redhat.com>
13716
13717 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13718 call to catch_command_errors.
13719 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13720 catch_command_errors.
13721
13722 2015-02-27 Pedro Alves <palves@redhat.com>
13723
13724 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13725 "true" for boolean result.
13726 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13727 prototype of main.
13728
13729 2015-02-27 Pedro Alves <palves@redhat.com>
13730
13731 * lib/unbuffer_output.c: New file.
13732 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13733 (main): Call gdb_unbuffer_output.
13734
13735 2015-02-27 Yao Qi <yao.qi@linaro.org>
13736
13737 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13738 target.
13739
13740 2015-02-26 Doug Evans <dje@google.com>
13741
13742 * gdb.cp/class2.cc (Dbase, D): New classes.
13743 (main): New local delta.
13744 * gdb.cp/class2.exp: Test printing delta.
13745 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13746 (dynbar): New global.
13747 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13748
13749 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13750
13751 * gdb.compile/compile-ifunc.c: New file.
13752 * gdb.compile/compile-ifunc.exp: New file.
13753
13754 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13755
13756 * gdb.base/structs.exp: Check for correct struct on finish.
13757
13758 2015-02-26 Yao Qi <yao.qi@linaro.org>
13759
13760 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13761 is zero.
13762
13763 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13764
13765 * gdb.arch/cordic.ko.bz2: New file.
13766 * gdb.arch/cordic.ko.debug.bz2: New file.
13767 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13768
13769 2015-02-25 Yao Qi <yao.qi@linaro.org>
13770
13771 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13772 aarch64*-*-* target.
13773
13774 2015-02-23 Pedro Alves <palves@redhat.com>
13775
13776 * lib/gdb.exp (delete_breakpoints): Rewrite using
13777 gdb_test_multiple.
13778
13779 2015-02-23 Pedro Alves <palves@redhat.com>
13780
13781 * gdb.base/info-os.c: Include stdlib.h.
13782
13783 2015-02-22 Doug Evans <xdje42@gmail.com>
13784
13785 PR symtab/17855
13786 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13787 is read after symbols have been re-read.
13788 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13789 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13790
13791 2015-02-21 Doug Evans <dje@google.com>
13792
13793 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13794
13795 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13796
13797 PR corefiles/17808
13798 * gdb.arch/i386-biarch-core.core.bz2: New file.
13799 * gdb.arch/i386-biarch-core.exp: New file.
13800
13801 2015-02-21 Pedro Alves <palves@redhat.com>
13802
13803 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13804 runto_main fails.
13805
13806 2015-02-20 Pedro Alves <palves@redhat.com>
13807
13808 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13809 info probes.
13810
13811 2015-02-20 Pedro Alves <palves@redhat.com>
13812
13813 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13814
13815 2015-02-20 Pedro Alves <palves@redhat.com>
13816
13817 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13818 clean_restart before gdb_target_supports_trace.
13819
13820 2015-02-20 Pedro Alves <palves@redhat.com>
13821
13822 PR threads/18006
13823 * gdb.threads/clone-thread_db.c: New file.
13824 * gdb.threads/clone-thread_db.exp: New file.
13825
13826 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13827
13828 PR breakpoints/16812
13829 * gdb.base/catch-gdb-caused-signals.c: New file.
13830 * gdb.base/catch-gdb-caused-signals.exp: New file.
13831
13832 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13833
13834 * configure: Regenerated.
13835 * configure.ac: Use GDB_AC_TRANSFORM.
13836 * aclocal.m4: sinclude ../transform.m4.
13837
13838 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13839
13840 * lib/dtrace.exp: New file.
13841 * gdb.base/dtrace-probe.exp: Likewise.
13842 * gdb.base/dtrace-probe.d: Likewise.
13843 * gdb.base/dtrace-probe.c: Likewise.
13844 * lib/pdtrace.in: Likewise.
13845 * configure.ac: Output variables with the transformed names of
13846 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13847 * configure: Regenerated.
13848
13849 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13850
13851 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13852 expected message when trying to access $_probe_* convenience
13853 variables while not on a probe.
13854
13855 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13856
13857 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13858
13859 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13860
13861 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13862 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13863
13864 2015-02-10 Doug Evans <xdje42@gmail.com>
13865
13866 * lib/gdb.exp (gdb_load): Always return a result.
13867
13868 2015-02-10 Pedro Alves <palves@redhat.com>
13869
13870 * gdb.threads/signal-sigtrap.c: New file.
13871 * gdb.threads/signal-sigtrap.exp: New file.
13872
13873 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13874
13875 * gdb.trace/no-attach-trace.c: New file.
13876 * gdb.trace/no-attach-trace.exp: New file.
13877
13878 2015-02-09 Mark Wielaard <mjw@redhat.com>
13879
13880 * gdb.dwarf2/atomic.c: New file.
13881 * gdb.dwarf2/atomic-type.exp: Likewise.
13882
13883 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13884
13885 * gdb.btrace/buffer-size.exp: Update "info record" output.
13886 * gdb.btrace/delta.exp: Update "info record" output.
13887 * gdb.btrace/enable.exp: Update "info record" output.
13888 * gdb.btrace/finish.exp: Update "info record" output.
13889 * gdb.btrace/instruction_history.exp: Update "info record" output.
13890 * gdb.btrace/next.exp: Update "info record" output.
13891 * gdb.btrace/nexti.exp: Update "info record" output.
13892 * gdb.btrace/step.exp: Update "info record" output.
13893 * gdb.btrace/stepi.exp: Update "info record" output.
13894 * gdb.btrace/nohist.exp: Update "info record" output.
13895
13896 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13897
13898 * gdb.btrace/buffer-size: New.
13899
13900 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13901
13902 * gdb.btrace/delta.exp: Update "info record" output.
13903 * gdb.btrace/enable.exp: Update "info record" output.
13904 * gdb.btrace/finish.exp: Update "info record" output.
13905 * gdb.btrace/instruction_history.exp: Update "info record" output.
13906 * gdb.btrace/next.exp: Update "info record" output.
13907 * gdb.btrace/nexti.exp: Update "info record" output.
13908 * gdb.btrace/step.exp: Update "info record" output.
13909 * gdb.btrace/stepi.exp: Update "info record" output.
13910 * gdb.btrace/nohist.exp: Update "info record" output.
13911
13912 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13913
13914 PR gdb/15678
13915 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13916
13917 2015-02-06 Pedro Alves <palves@redhat.com>
13918
13919 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13920 macro.
13921 (seconds_left, again): New globals.
13922 (main): Wait seconds_left in a 1-second sleep loop instead of
13923 sleeping 180 seconds. If 'again' is set, reset the seconds
13924 counter.
13925 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13926 'again' in the inferior before detaching. Print the seconds left.
13927 (options): New global.
13928 (top level): Build program with -DTIMEOUT=$timeout.
13929
13930 2015-02-06 Pedro Alves <palves@redhat.com>
13931
13932 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13933 determine how many seconds to pass to 'alarm'.
13934 * gdb.base/gdb-sigterm.exp (top level): Build program with
13935 -DTIMEOUT=$timeout.
13936 (do_test): Return success/failure indication. Add more verbose
13937 logging. Don't fail if 200 single steps are seen. Instead, fail
13938 when the test times out.
13939 (passes): New global.
13940 (top level): Break the testing loop if testing fails on any
13941 iteration. Use gdb_assert.
13942
13943 2015-02-04 Don Breazeal <donb@codesourcery.com>
13944
13945 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13946 and initialize them.
13947 (ipc_cleanup): New function.
13948 (main): Don't declare shmid, semid, and msqid. Add a call to
13949 atexit so that we call ipc_cleanup on exit.
13950
13951 2015-02-04 Pedro Alves <palves@redhat.com>
13952
13953 * boards/native-extended-gdbserver.exp: Remove any target variant
13954 specifications from the board name before clearing the isremote
13955 flag from board_info.
13956
13957 2015-01-31 Doug Evans <xdje42@gmail.com>
13958
13959 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13960
13961 2015-01-31 Gary Benson <gbenson@redhat.com>
13962
13963 * gdb.base/completion.exp: Disable completion limiting for
13964 existing tests. Add new tests to check completion limiting.
13965 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13966
13967 2015-01-31 Doug Evans <xdje42@gmail.com>
13968
13969 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13970
13971 2015-01-31 Doug Evans <xdje42@gmail.com>
13972
13973 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13974 entries. Duplicate file section script entries.
13975 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13976 inlined entries. Add test for safe-path rejection.
13977 * gdb.python/py-section-script.c: Add duplicate inlined section script
13978 entries. Duplicate file section script entries.
13979 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13980 inlined entries. Add test for safe-path rejection.
13981
13982 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13983
13984 * gdb.ada/disc_arr_bound: New testcase.
13985
13986 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13987
13988 * gdb.ada/mi_var_array: New testcase.
13989
13990 2015-01-27 Doug Evans <dje@google.com>
13991
13992 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13993 Add test for objfile.filename, objfile.username after objfile
13994 has been unloaded.
13995
13996 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13997
13998 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13999 the second test to print the name attribute of value
14000 returned by the call to gdb.lookup_type, and adjust
14001 the expected output accordingly.
14002
14003 2015-01-25 Mark Wielaard <mjw@redhat.com>
14004
14005 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14006 * gdb.base/disp-step-fork.c: Include unistd.h.
14007 * gdb.base/siginfo-obj.c: Include stdio.h.
14008 * gdb.base/siginfo-thread.c: Likewise.
14009 * gdb.mi/non-stop.c: Include unistd.h.
14010 * gdb.mi/nsthrexec.c: Include stdio.h.
14011 * gdb.mi/pthreads.c: Include unistd.h.
14012 * gdb.modula2/unbounded1.c (main): Declare returns int.
14013 * gdb.reverse/consecutive-reverse.c: Likewise.
14014 * gdb.threads/create-fail.c: Include unistd.h.
14015 * gdb.threads/killed.c: Likewise.
14016 * gdb.threads/linux-dp.c: Likewise.
14017 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14018 * gdb.threads/non-ldr-exc-2.c: Likewise.
14019 * gdb.threads/non-ldr-exc-3.c: Likewise.
14020 * gdb.threads/non-ldr-exc-4.c: Likewise.
14021 * gdb.threads/pthreads.c: Include unistd.h.
14022 (main): Declare returns int.
14023 * gdb.threads/tls-main.c (foo): New declaration.
14024 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14025
14026 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14027
14028 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14029 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14030
14031 2015-01-15 Mark Wielaard <mjw@redhat.com>
14032
14033 * gdb.base/noreturn-return.c: New file.
14034 * gdb.base/noreturn-return.exp: New file.
14035 * gdb.base/noreturn-finish.c: New file.
14036 * gdb.base/noreturn-finish.exp: New file.
14037
14038 2015-01-23 Pedro Alves <palves@redhat.com>
14039
14040 * gdb.threads/continue-pending-after-query.c: New file.
14041 * gdb.threads/continue-pending-after-query.exp: New file.
14042
14043 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14044 Simon Marchi <simon.marchi@ericsson.com>
14045
14046 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14047 * gdb.base/valgrind-db-attach.exp: Same.
14048 * gdb.base/valgrind-infcall.exp: Same.
14049 * lib/mi-support.exp (default_mi_gdb_start): Same.
14050 * lib/prompt.exp (default_prompt_gdb_start): Same.
14051 * lib/gdb.exp (default_gdb_spawn): Same.
14052 (gdb_interact): New.
14053
14054
14055 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14056
14057 * gdb.compile/compile.exp (pointer to jit function): New test.
14058
14059 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14060
14061 * lib/gdb.exp (supports_process_record): Return true for
14062 powerpc*-*-linux*.
14063 (supports_reverse): Likewise.
14064
14065 2015-01-15 Don Breazeal <donb@codesourcery.com>
14066
14067 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14068 instead of checking whether the target board is remote and
14069 use spawn_wait_for_attach instead of exec/sleep.
14070 * gdb.base/attach-twice.exp: Likewise.
14071
14072 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14073
14074 * gdb.ada/var_arr_attrs: New testcase.
14075
14076 2015-01-14 Pedro Alves <palves@redhat.com>
14077 Joel Brobecker <brobecker@adacore.com>
14078
14079 PR gdb/17525
14080 * gdb.base/bp-cmds-execution-x-script.c: New file.
14081 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14082 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14083
14084 2015-01-14 Pedro Alves <palves@redhat.com>
14085
14086 PR cli/17828
14087 * gdb.base/batch-preserve-term-settings.c: New file.
14088 * gdb.base/batch-preserve-term-settings.exp: New file.
14089
14090 2015-01-13 Doug Evans <dje@google.com>
14091
14092 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14093 binary.
14094
14095 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14096
14097 * Makefile.in (clean mostlyclean): Do not delete *.py.
14098
14099 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14100
14101 * gdb.python/py-lookup-type.exp: New file.
14102
14103 2015-01-12 Pedro Alves <palves@redhat.com>
14104
14105 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14106 restore GDBFLAGS before returning.
14107
14108 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14109
14110 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14111 is_amd64_regs_target and is_x86_like_target.
14112
14113 2015-01-11 Doug Evans <xdje42@gmail.com>
14114
14115 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14116 is given without an explicit form.
14117 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14118 attributes.
14119 * gdb.dwarf/corrupt.exp: Ditto.
14120 * gdb.dwarf2/enum-type.exp: Ditto.
14121 * gdb.trace/entry-values.exp: Ditto.
14122 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14123
14124 2015-01-11 Doug Evans <xdje42@gmail.com>
14125
14126 PR gdb/15830
14127 * gdb.base/maint.exp: Remove references to "maint demangle".
14128 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14129 Add tests for explicitly specifying language to demangle.
14130 * gdb.dlang/demangle.exp: Ditto.
14131
14132 2015-01-09 Pedro Alves <palves@redhat.com>
14133
14134 * gdb.threads/non-stop-fair-events.c: New file.
14135 * gdb.threads/non-stop-fair-events.exp: New file.
14136
14137 2015-01-09 Pedro Alves <palves@redhat.com>
14138
14139 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14140 the global scope. Set a breakpoint after all threads are started
14141 rather than stepping over two source lines. Expect the prompt.
14142 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14143 global.
14144 (NUM): Now 15.
14145 (main): Use threads_started_barrier to wait for all threads to
14146 start. Main thread no longer calls thread_function. Exit after
14147 180 seconds.
14148 (loop): New function.
14149 (thread_function): Wait on threads_started_barrier barrier. Call
14150 'loop' at each iteration.
14151 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14152 threads have started, instead of hardcoding number of "next"
14153 steps. Use an access watchpoint instead of a write watchpoint.
14154
14155 2015-01-09 Pedro Alves <palves@redhat.com>
14156
14157 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14158 (thread_func): Wait on barrier.
14159 (main): Wait for all threads to start before stopping GDB.
14160 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14161 global.
14162 (thread1_func, thread2_func): Wait on barrier.
14163 (main): Wait for all threads to start before stopping GDB.
14164 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14165 New global.
14166 (thread1_func, thread2_func): Wait on barrier.
14167 (main): Wait for all threads to start before stopping GDB.
14168
14169 2015-01-09 Pedro Alves <palves@redhat.com>
14170
14171 * gdb.threads/attach-many-short-lived-threads.c: New file.
14172 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14173
14174 2014-01-09 Pedro Alves <palves@redhat.com>
14175
14176 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14177 instead of to thread 2.
14178 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14179 Add barrier around each pthread_create call instead of around all
14180 calls.
14181 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14182 Set a break on thread_function and have the child threads hit it
14183 one at at a time.
14184
14185 2015-01-09 Pedro Alves <palves@redhat.com>
14186
14187 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14188 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14189 false.
14190 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14191 checking whether the target board is remote.
14192 * gdb.multi/multi-attach.exp: Likewise.
14193 * gdb.python/py-sync-interp.exp: Likewise.
14194 * gdb.server/ext-attach.exp: Likewise.
14195 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14196 tests that need to attach, instead of checking whether the target
14197 board is remote at the top of the file.
14198
14199 2015-01-08 Yao Qi <yao@codesourcery.com>
14200
14201 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14202
14203 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14204
14205 Fix testcase compilation.
14206 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14207
14208 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14209
14210 * gdb.python/py-type.exp: Add a couple test about empty
14211 array creation, and negative-length array creation.
14212
14213 2015-01-02 Doug Evans <xdje42@gmail.com>
14214
14215 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14216
14217 2015-01-02 Doug Evans <dje@google.com>
14218
14219 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14220
14221 2014-12-29 Yao Qi <yao@codesourcery.com>
14222
14223 * gdb.trace/entry-values.exp: Update comments. Rename variable
14224 bar_call_foo to returned_from_foo.
14225
14226 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14227
14228 PR gdb/17394
14229 * gdb.linespec/break-asm-file.c: New file.
14230 * gdb.linespec/break-asm-file.exp: New file.
14231 * gdb.linespec/break-asm-file0.s: New file.
14232 * gdb.linespec/break-asm-file1.s: New file.
14233
14234 2014-12-18 Nigel Stephens <nigel@mips.com>
14235 Maciej W. Rozycki <macro@codesourcery.com>
14236
14237 * gdb.base/float.exp: Handle the new output from "info float" on
14238 MIPS targets.
14239
14240 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14241
14242 Fix MinGW compilation.
14243 * gdb.compile/compile-ops.exp: Update untested message if
14244 !skip_compile_feature_tests.
14245 * gdb.compile/compile-setjmp.exp: Likewise.
14246 * gdb.compile/compile-tls.exp: Likewise.
14247 * gdb.compile/compile.exp: Likewise.
14248 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14249 supported on this host".
14250
14251 2014-12-16 Doug Evans <xdje42@gmail.com>
14252
14253 * boards/stabs.exp: New file.
14254
14255 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14256
14257 * gdb.base/completion.exp: Adjust to format changes of "maint
14258 print user-registers".
14259
14260 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14261
14262 PR server/17457
14263 * gdb.arch/aarch64-fp.c: New file.
14264 * gdb.arch/aarch64-fp.exp: New file.
14265
14266 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14267
14268 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14269 r210637, r210913, r211666, r215400, r215817).
14270
14271 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14272 * dg-extract-results.py: New file.
14273 * dg-extract-results.sh: Use it if the environment seems
14274 suitable.
14275
14276 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14277
14278 * dg-extract-results.py (parse_run): Handle warnings that
14279 are printed before a test harness is run.
14280
14281 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14282
14283 * dg-extract-results.py (Named): Remove __cmp__ method.
14284 (output_variation): Use a key to sort variation.harnesses.
14285
14286 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14287
14288 * dg-extract-results.py: For Python 3, force sys.stdout to
14289 handle surrogate escape sequences.
14290 (safe_open): New function.
14291 (output_segment, main): Use it.
14292
14293 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14294
14295 * dg-extract-results.py (Prog.result_re): Include options
14296 in test name.
14297
14298 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14299
14300 * dg-extract-results.py (output_variation): Always sort if
14301 do_sum.
14302
14303 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14304
14305 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14306 as long as we get pagination notifications.
14307
14308 2014-12-15 Jason Merrill <jason@redhat.com>
14309
14310 * Makefile.in (check-gdb.%): Restore.
14311 * README: Mention it.
14312
14313 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14314
14315 * gdb.ada/str_uninit: New testcase.
14316
14317 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14318
14319 PR symtab/17642
14320 * gdb.base/vla-stub-define.c: New file.
14321 * gdb.base/vla-stub.c: New file.
14322 * gdb.base/vla-stub.exp: New file.
14323
14324 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14325 Jan Kratochvil <jan.kratochvil@redhat.com>
14326 Tom Tromey <tromey@redhat.com>
14327
14328 * configure.ac: Add gdb.compile/.
14329 * configure: Regenerate.
14330 * gdb.compile/Makefile.in: New file.
14331 * gdb.compile/compile-ops.exp: New file.
14332 * gdb.compile/compile-ops.c: New file.
14333 * gdb.compile/compile-tls.c: New file.
14334 * gdb.compile/compile-tls.exp: New file.
14335 * gdb.compile/compile-constvar.S: New file.
14336 * gdb.compile/compile-constvar.c: New file.
14337 * gdb.compile/compile-mod.c: New file.
14338 * gdb.compile/compile-nodebug.c: New file.
14339 * gdb.compile/compile-setjmp-mod.c: New file.
14340 * gdb.compile/compile-setjmp.c: New file.
14341 * gdb.compile/compile-setjmp.exp: New file.
14342 * gdb.compile/compile-shlib.c: New file.
14343 * gdb.compile/compile.c: New file.
14344 * gdb.compile/compile.exp: New file.
14345 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14346
14347 2014-12-12 Tom Tromey <tromey@redhat.com>
14348
14349 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14350 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14351
14352 2014-12-12 Doug Evans <dje@google.com>
14353
14354 * lib/gdb-python.exp (get_python_valueof): New function.
14355 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14356
14357 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14358
14359 * gdb.base/completion.exp: Add test for completion of "info
14360 registers ".
14361
14362 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14363
14364 * gdb.base/func-ptrs.c: New file.
14365 * gdb.base/func-ptrs.exp: New file.
14366
14367 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14368
14369 PR breakpoints/17012
14370 * gdb.base/dprintf-detach.c: New file.
14371 * gdb.base/dprintf-detach.exp: New file.
14372
14373 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14374
14375 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14376 * lib/gdb.exp (target_is_gdbserver): New procedure.
14377
14378 2014-12-08 Doug Evans <dje@google.com>
14379
14380 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14381
14382 2014-12-05 Yao Qi <yao@codesourcery.com>
14383
14384 * gdb.guile/scm-error.exp: Remove the third argument to
14385 gdb_remote_download.
14386 * gdb.guile/scm-frame-args.exp: Likewise.
14387 * gdb.guile/scm-section-script.exp: Likewise.
14388
14389 2014-12-05 Yao Qi <yao@codesourcery.com>
14390
14391 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14392
14393 2014-12-04 Doug Evans <dje@google.com>
14394
14395 * gdb.python/py-objfile.exp: Add tests for
14396 objfile.add_separate_debug_file.
14397
14398 2014-12-04 Doug Evans <dje@google.com>
14399
14400 * lib/gdb.exp (get_build_id): New function.
14401 (build_id_debug_filename_get): Rewrite to use it.
14402 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14403
14404 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14405
14406 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14407 `method(long)', not just 0x0.
14408 * gdb.cp/nsalias.exp: Align code labels to 4.
14409 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14410 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14411 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14412 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14413 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14414 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14415
14416 2014-12-02 Doug Evans <dje@google.com>
14417
14418 PR symtab/17602
14419 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14420 * gdb.cp/anon-ns2.cc: ... here. New file.
14421 * gdb.cp/anon-ns.exp: Update.
14422
14423 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14424
14425 * gdb.python/py-events.py (inferior_call_handler): New.
14426 (register_changed_handler, memory_changed_handler): New.
14427 (test_events.invoke): Register new handlers.
14428 * gdb.python/py-events.exp: Add tests for inferior call,
14429 memory_changed and register_changed events.
14430
14431 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14432
14433 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14434 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14435 if the linker doesn't understand this.
14436
14437 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14438
14439 * gdb.python/python.exp: Change expected reply to help().
14440
14441 2014-12-01 Yao Qi <yao@codesourcery.com>
14442
14443 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14444 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14445 * configure: Re-generated.
14446
14447 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14448
14449 * gdb.cp/chained-calls.cc: New file.
14450 * gdb.cp/chained-calls.exp: New file.
14451 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14452
14453 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14454
14455 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14456 * gdb.dwarf2/symtab-producer.exp: Same.
14457 * gdb.gdb/python-interrupts.exp: Same.
14458 * gdb.gdb/python-selftest.exp: Same.
14459 * gdb.python/py-linetable.exp: Same.
14460 * gdb.python/py-type.exp: Same.
14461 * gdb.python/py-value-cc.exp: Same.
14462 * gdb.python/py-value.exp: Same.
14463
14464 2014-11-28 Yao Qi <yao@codesourcery.com>
14465
14466 * gdb.base/break-probes.exp: Match library name prefixed with
14467 sysroot.
14468
14469 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14470
14471 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14472 test expected output. Add parentheses for the call to print.
14473 Remove L suffix from integers.
14474
14475 2014-11-26 Doug Evans <dje@google.com>
14476
14477 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14478
14479 2014-11-22 Yao Qi <yao@codesourcery.com>
14480
14481 * gdb.trace/entry-values.c: Remove asms.
14482 (foo): Add foo_label.
14483 (bar): Add bar_label.
14484 * gdb.trace/entry-values.exp: Remove code computing foo's
14485 length and bar's length.
14486 (Dwarf::assemble): Invoke function_range for bar and use
14487 MACRO_AT_func for foo.
14488
14489 2014-11-22 Yao Qi <yao@codesourcery.com>
14490
14491 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14492 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14493 Use .Lgcc43_procstart instead of gcc43.
14494
14495 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14496
14497 * gdb.ada/n_arr_bound: New testcase.
14498
14499 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14500
14501 PR breakpoints/10737
14502 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14503 test_catch_syscall_multi_arch.
14504 (test_catch_syscall_multi_arch): New function.
14505
14506 2014-11-20 Doug Evans <xdje42@gmail.com>
14507
14508 * gdb.base/maint.exp: Update expected output.
14509
14510 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14511
14512 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14513 4-byte instruction on S390.
14514
14515 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14516
14517 * gdb.ada/arr_arr: New testcase.
14518
14519 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14520
14521 * gdb.ada/pkd_arr_elem: New Testcase.
14522
14523 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14524
14525 * gdb.reverse/break-precsave: Expect completion message for
14526 core file reads.
14527 * gdb.reverse/consecutive-precsave.exp: Likewise.
14528 * gdb.reverse/finish-precsave.exp: Likewise.
14529 * gdb.reverse/i386-precsave.exp: Likewise.
14530 * gdb.reverse/machinestate-precsave.exp: Likewise.
14531 * gdb.reverse/sigall-precsave.exp: Likewise.
14532 * gdb.reverse/solib-precsave.exp: Likewise.
14533 * gdb.reverse/step-precsave.exp: Likewise.
14534 * gdb.reverse/until-precsave.exp: Likewise.
14535 * gdb.reverse/watch-precsave.exp: Likewise.
14536
14537 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14538
14539 * gdb.base/bp-permanent.c: Include unistd.h.
14540 * gdb.python/py-framefilter-mi.c (main): Add return type.
14541 * gdb.python/py-framefilter.c (main): Likewise.
14542 * gdb.trace/actions-changed.c (main): Likewise.
14543
14544 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14545
14546 * gdb.mi/until.c: Add eye-catchers.
14547 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14548 line numbers.
14549
14550 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14551
14552 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14553 function header variants in break1.c.
14554 * gdb.base/ena-dis-br.exp: Likewise.
14555 * gdb.base/hbreak2.exp: Likewise.
14556 * gdb.reverse/until-precsave.exp: Drop references to removed
14557 non-prototype function header variants in ur1.c.
14558 * gdb.reverse/until-reverse.exp: Likewise.
14559
14560 2014-11-17 Petr Machata <pmachata@redhat.com>
14561
14562 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14563 ${_cu_offset_size} bytes abbrev offset.
14564
14565 2014-11-15 Doug Evans <xdje42@gmail.com>
14566
14567 PR symtab/17559
14568 * gdb.base/line-symtabs.exp: New file.
14569 * gdb.base/line-symtabs.c: New file.
14570 * gdb.base/line-symtabs.h: New file.
14571
14572 2014-11-14 Yao Qi <yao@codesourcery.com>
14573
14574 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14575 (func): Add label func_label.
14576 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14577 Replace low_pc and high_pc with MACRO_AT_range.
14578 Replace name, low_pc and high_pc with MACRO_AT_func.
14579
14580 2014-11-14 Yao Qi <yao@codesourcery.com>
14581
14582 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14583 Replace name, low_pc and high_pc with MACRO_AT_func.
14584
14585 2014-11-14 Yao Qi <yao@codesourcery.com>
14586
14587 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14588 produce debug information.
14589 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14590
14591 2014-11-14 Yao Qi <yao@codesourcery.com>
14592
14593 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14594 object and get function length.
14595 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14596 with MACRO_AT_func.
14597 (top-level): Replace gdb_compile and clean_restart with
14598 prepare_for_testing.
14599 * gdb.dwarf2/main.c (main): Add label main_label.
14600
14601 2014-11-14 Yao Qi <yao@codesourcery.com>
14602
14603 * lib/dwarf.exp (function_range): New procedure.
14604 (Dwarf::_handle_macro_at_func): New procedure.
14605 (Dwarf::_handle_macro_at_range): New procedure.
14606 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14607
14608 2014-11-14 Yao Qi <yao@codesourcery.com>
14609
14610 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14611 (_handle_attribute): New procedure.
14612
14613 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14614
14615 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14616 * gdb.base/call-sc.c (zed): Likewise.
14617 * gdb.base/checkpoint.c (main): Likewise.
14618 * gdb.base/dump.c (main): Likewise.
14619 * gdb.base/gcore.c (main): Likewise.
14620 * gdb.base/huge.c (main): Likewise.
14621 * gdb.base/multi-forks.c (main): Likewise.
14622 * gdb.base/pr10179-a.c (main): Likewise.
14623 * gdb.base/savedregs.c (main): Likewise.
14624 * gdb.base/sigaltstack.c (main): Likewise.
14625 * gdb.base/siginfo.c (main): Likewise.
14626 * gdb.base/structs.c (zed): Likewise.
14627 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14628 * gdb.mi/mi-syn-frame.c (main): Likewise.
14629 * gdb.mi/until.c (foo, main): Likewise.
14630 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14631 * gdb.base/solib-weak.c (foo): Declare.
14632 * gdb.base/attach-twice.c: Include stdio.h.
14633 * gdb.base/weaklib1.c: Likewise.
14634 * gdb.base/weaklib2.c: Likewise.
14635 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14636 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14637 unistd.h.
14638 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14639 * gdb.mi/mi-exit-code.c: Likewise.
14640 * gdb.base/break-interp-lib.c: Include string.h.
14641 * gdb.base/coremaker.c: Likewise.
14642 * gdb.base/testenv.c: Likewise.
14643 * gdb.python/py-finish-breakpoint.c: Likewise.
14644 * gdb.base/inferior-died.c: Include sys/wait.h.
14645 * gdb.base/fileio.c: Include time.h.
14646 * gdb.base/async-shell.c: Include unistd.h.
14647 * gdb.base/dprintf-non-stop.c: Likewise.
14648 * gdb.base/info-os.c: Likewise.
14649 * gdb.mi/mi-console.c: Likewise.
14650 * gdb.mi/watch-nonstop.c: Likewise.
14651 * gdb.python/py-events.c: Likewise.
14652 * gdb.base/async.c (baz): Move up before its invocation.
14653 * gdb.base/code_elim2.c (my_global_func): Likewise.
14654 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14655 * gdb.base/advance.c (func2): Likewise.
14656
14657 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14658
14659 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14660 variant.
14661 * gdb.base/annota3.c: Likewise.
14662 * gdb.base/async.c: Likewise.
14663 * gdb.base/average.c: Likewise.
14664 * gdb.base/call-ar-st.c: Likewise.
14665 * gdb.base/call-rt-st.c: Likewise.
14666 * gdb.base/call-sc.c: Likewise.
14667 * gdb.base/call-strs.c: Likewise.
14668 * gdb.base/ending-run.c: Likewise.
14669 * gdb.base/execd-prog.c: Likewise.
14670 * gdb.base/exprs.c: Likewise.
14671 * gdb.base/foll-exec.c: Likewise.
14672 * gdb.base/foll-fork.c: Likewise.
14673 * gdb.base/foll-vfork.c: Likewise.
14674 * gdb.base/funcargs.c: Likewise.
14675 * gdb.base/gcore.c: Likewise.
14676 * gdb.base/jump.c: Likewise.
14677 * gdb.base/langs0.c: Likewise.
14678 * gdb.base/langs1.c: Likewise.
14679 * gdb.base/langs2.c: Likewise.
14680 * gdb.base/mips_pro.c: Likewise.
14681 * gdb.base/nodebug.c: Likewise.
14682 * gdb.base/opaque0.c: Likewise.
14683 * gdb.base/opaque1.c: Likewise.
14684 * gdb.base/recurse.c: Likewise.
14685 * gdb.base/run.c: Likewise.
14686 * gdb.base/scope0.c: Likewise.
14687 * gdb.base/scope1.c: Likewise.
14688 * gdb.base/setshow.c: Likewise.
14689 * gdb.base/setvar.c: Likewise.
14690 * gdb.base/shmain.c: Likewise.
14691 * gdb.base/shr1.c: Likewise.
14692 * gdb.base/shr2.c: Likewise.
14693 * gdb.base/sigall.c: Likewise.
14694 * gdb.base/signals.c: Likewise.
14695 * gdb.base/so-indr-cl.c: Likewise.
14696 * gdb.base/solib2.c: Likewise.
14697 * gdb.base/structs.c: Likewise.
14698 * gdb.base/sum.c: Likewise.
14699 * gdb.base/vforked-prog.c: Likewise.
14700 * gdb.base/watchpoint.c: Likewise.
14701 * gdb.reverse/shr2.c: Likewise.
14702 * gdb.reverse/until-reverse.c: Likewise.
14703 * gdb.reverse/ur1.c: Likewise.
14704 * gdb.reverse/watch-reverse.c: Likewise.
14705
14706 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14707
14708 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14709 variant.
14710 * gdb.base/sepdebug.exp: Drop references to removed code.
14711
14712 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14713
14714 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14715 variant. Preserve original line numbering.
14716 * gdb.base/list1.c: Likewise.
14717
14718 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14719
14720 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14721 variant.
14722 * gdb.base/break1.c: Likewise.
14723 * gdb.base/break.exp: Drop references to removed code.
14724
14725 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14726
14727 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14728 variant.
14729
14730 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14731
14732 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14733
14734 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14735
14736 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14737 logic into perform_all_tests() and invoke it with and without
14738 function header prototypes.
14739 (do_function_calls): Remove conditional XFAIL for PR 5318.
14740 (rerun_and_prepare): Remove duplicate code.
14741 (perform_all_tests): New. Main logic moved here.
14742
14743 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14744
14745 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14746 code guarded by #ifdef NO_PROTOTYPES.
14747 (t_double_many_args): Likewise.
14748 (DEF_FUNC_MANY_ARGS_1): Likewise.
14749 (DEF_FUNC_VALUES_1): Likewise.
14750 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14751 guarded by #ifdef PROTOTYPES.
14752
14753 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14754
14755 * gdb.mi/mi-console.c: Add eye-catcher.
14756 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14757 instead of literal line number.
14758
14759 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14760
14761 * gdb.base/shr2.c: Add eye-catcher.
14762 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14763 line number.
14764
14765 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14766
14767 * gdb.base/jump.c: Add eye-catchers.
14768 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14769 numbers.
14770
14771 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14772
14773 * gdb.base/execd-prog.c: Add eye-catchers.
14774 * gdb.base/foll-exec.c: Likewise.
14775 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14776 line numbers.
14777
14778 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14779
14780 * gdb.base/ending-run.c: Add eye-catchers.
14781 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14782 literal line numbers.
14783
14784 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14785
14786 * gdb.base/call-rt-st.c: Add eye-catchers.
14787 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14788 literal line numbers.
14789
14790 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14791
14792 * gdb.base/call-ar-st.c: Add eye-catchers.
14793 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14794 literal line numbers.
14795
14796 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14797
14798 * gdb.base/average.c: Add eye-catchers.
14799 * gdb.base/sum.c: Likewise.
14800 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14801 regexps dynamically.
14802
14803 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14804
14805 * gdb.base/solib1.c: Add eye-catchers.
14806 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14807 literal line numbers.
14808
14809 2014-11-12 Pedro Alves <palves@redhat.com>
14810
14811 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14812 leader has exited.
14813
14814 2014-11-12 Pedro Alves <palves@redhat.com>
14815
14816 * gdb.arch/i386-bp_permanent.c: New file.
14817 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14818 (srcfile): Set to i386-bp_permanent.c.
14819 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14820 that stepi does not execute the 'leave' instruction, instead of
14821 testing it does execute.
14822 * gdb.base/bp-permanent.c: New file.
14823 * gdb.base/bp-permanent.exp: New file.
14824
14825 2014-11-10 Doug Evans <xdje42@gmail.com>
14826
14827 PR symtab/17564
14828 * gdb.base/symtab-search-order.exp: New file.
14829 * gdb.base/symtab-search-order.c: New file.
14830 * gdb.base/symtab-search-order-1.c: New file.
14831 * gdb.base/symtab-search-order-shlib-1.c: New file.
14832
14833 2014-11-07 Pedro Alves <palves@redhat.com>
14834
14835 PR gdb/17511
14836 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14837 i?86-*-linux*.
14838
14839 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14840
14841 PR c++/17494
14842 * gdb.cp/pr17494.cc: New file.
14843 * gdb.cp/pr17494.exp: New file.
14844
14845 2014-11-02 Yao Qi <yao@codesourcery.com>
14846
14847 * gdb.python/python.exp: Get working directory and match the
14848 output of "set extended-prompt \\w " with it.
14849
14850 2014-10-30 Doug Evans <dje@google.com>
14851
14852 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14853 in objfiles.
14854 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14855 in progspaces.
14856
14857 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14858
14859 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14860 * gdb.base/realname-expand.exp: Likewise.
14861 * gdb.linespec/macro-relative.exp: Likewise.
14862
14863 2014-10-29 Pedro Alves <palves@redhat.com>
14864
14865 PR gdb/17408
14866 * gdb.threads/schedlock.c (some_function): New function.
14867 (call_function): New global.
14868 (MAYBE_CALL_SOME_FUNCTION): New macro.
14869 (thread_function): Call it.
14870 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14871 and use it instead of a global counter. Adjust all callers.
14872 (get_current_thread): Use "find current thread" for test message
14873 here rather than having all callers pass down the same string.
14874 (goto_loop): New procedure, factored out from ...
14875 (my_continue): ... this.
14876 (step_ten_loops): Change parameter from test message to command to
14877 use. Adjust.
14878 (list_count): Delete global.
14879 (check_result): New procedure, factored out from duplicate top
14880 level code.
14881 (continue tests): Wrap in with_test_prefix.
14882 (test_step): New procedure, factored out from duplicate top level
14883 code.
14884 (top level): Test "step" in combination with all scheduler-locking
14885 modes. Test "next" in combination with all scheduler-locking
14886 modes, and in combination with stepping over a function call or
14887 not.
14888 * gdb.threads/next-bp-other-thread.c: New file.
14889 * gdb.threads/next-bp-other-thread.exp: New file.
14890
14891 2014-10-29 Pedro Alves <palves@redhat.com>
14892
14893 PR python/17372
14894 * gdb.python/python.exp: Test a multi-line command that spawns
14895 interactive Python.
14896 * gdb.base/multi-line-starts-subshell.exp: New file.
14897
14898 2014-10-29 Yao Qi <yao@codesourcery.com>
14899
14900 * gdb.base/fileio.exp: Make directories on host.
14901
14902 2014-10-29 Yao Qi <yao@codesourcery.com>
14903
14904 * gdb.base/fileio.c (test_write): Close the file.
14905
14906 2014-10-28 Pedro Alves <palves@redhat.com>
14907
14908 PR gdb/12623
14909 * gdb.base/sigstep.c (no_handler): New global.
14910 (main): If 'no_handler is true, set the signal handlers to
14911 SIG_IGN.
14912 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14913 with_sw_watch and no_handler parameters. Handle them.
14914 (top level) <stepping over handler when stopped at a breakpoint
14915 test>: Add a test axis for testing with a software watchpoint, and
14916 another for testing with the signal handler set to SIG_IGN.
14917 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14918 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14919
14920 2014-10-28 Pedro Alves <palves@redhat.com>
14921
14922 PR gdb/17511
14923 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14924 * gdb.base/sigstep.exp (other_handler_location): New global.
14925 (advance): Support stepping into the signal handler, and running
14926 commands while in the handler.
14927 (in_handler_map): New global.
14928 (top level): In the advance test, add combinations for getting
14929 into the handler with stepping commands, and for running commands
14930 in the handler. Add comment descripting the advancei tests.
14931
14932 2014-10-28 Pedro Alves <palves@redhat.com>
14933
14934 * gdb.base/sigstep.exp: Use build_executable instead of
14935 prepare_for_testing.
14936 (top level): Move code that starts GDB, runs to main and creates a
14937 display to ...
14938 (restart): ... this new procedure.
14939 (top level): Move backtrace from signal handler test to ...
14940 (validate_backtrace): ... this new procedure.
14941 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14942 with_test_prefix. Always restart GDB.
14943 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14944 with_test_prefix. Always restart GDB. No need to delete
14945 breakpoints after the test.
14946 (test_skip_handler): Remove prefix parameter.
14947 (skip_over_handler, breakpoint_to_handler)
14948 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14949 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14950 restart GDB. No need to delete breakpoints after the test.
14951 (top level): Use foreach to call the test procedures with
14952 different commands.
14953
14954 2014-10-28 Pedro Alves <palves@redhat.com>
14955
14956 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14957 instead of GNATS numbers.
14958 * gdb.base/sigbpt.exp: Likewise.
14959 * gdb.base/siginfo.exp: Likewise.
14960 * gdb.base/sigstep.exp: Likewise.
14961
14962 2014-10-27 Pedro Alves <palves@redhat.com>
14963
14964 * gdb.base/sigstep.c (dummy): New global.
14965 (main): Issue a couple writes to the new global.
14966 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14967 procedures.
14968 (skip_over_handler): Use test_skip_handler.
14969 (top level): Call skip_over_handler for stepi and nexti too.
14970 (breakpoint_over_handler): Use test_skip_handler.
14971 (top level): Call breakpoint_over_handler for stepi and nexti too.
14972
14973 2014-10-27 Yao Qi <yao@codesourcery.com>
14974
14975 * gdb.trace/tfile.c (adjust_function_address)
14976 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14977 function descriptor.
14978
14979 2014-10-24 Don Breazeal <donb@codesourcery.com>
14980
14981 * gdb.base/foll-fork.exp (test_follow_fork,
14982 catch_fork_child_follow): Check for updated fork messages emitted
14983 from infrun.c.
14984 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14985 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14986 vfork_and_exec_child_follow_through_step): Check for updated vfork
14987 messages emitted from infrun.c.
14988
14989 2014-10-24 Pedro Alves <palves@redhat.com>
14990
14991 * gdb.base/corefile.exp: Remove references to ultrix.
14992 * gdb.base/interrupt.exp: Likewise.
14993 * gdb.base/whatis.exp: Likewise.
14994 * gdb.gdb/selftest.exp: Likewise.
14995 * gdb.threads/manythreads.exp: Likewise.
14996 * gdb.threads/print-threads.exp: Likewise.
14997 * gdb.threads/pthreads.exp:: Likewise.
14998 * gdb.threads/schedlock.exp: Likewise.
14999
15000 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15001
15002 * gdb.cp/non-trivial-retval.cc: Add a test case.
15003 * gdb.cp/non-trivial-retval.exp: Add a test.
15004
15005 2014-10-20 Yao Qi <yao@codesourcery.com>
15006
15007 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15008 * gdb.python/py-objfile-script-gdb.py: New file.
15009 * gdb.python/py-objfile-script.exp: Update reference to
15010 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15011 of remote_download. Remove the dest file.
15012
15013 2014-10-20 Yao Qi <yao@codesourcery.com>
15014
15015 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15016 * gdb.base/step-line.exp: Likewise.
15017 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15018 * gdb.dwarf2/dw2-basic.exp: Likewise.
15019 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15020 * gdb.dwarf2/dw2-filename.exp: Likewise.
15021 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15022 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15023 * gdb.dwarf2/dw2-producer.exp: Likewise.
15024 * gdb.dwarf2/mac-fileno.exp: Likewise.
15025 * gdb.python/py-frame-args.exp: Likewise.
15026 * gdb.python/py-framefilter.exp: Likewise.
15027 * gdb.python/py-mi.exp: Likewise.
15028 * gdb.python/py-objfile-script.exp: Likewise
15029 * gdb.python/py-pp-integral.exp: Likewise.
15030 * gdb.python/py-pp-re-notag.exp: Likewise.
15031 * gdb.python/py-prettyprint.exp: Likewise.
15032 * gdb.python/py-section-script.exp: Likewise.
15033 * gdb.python/py-typeprint.exp: Likewise.
15034 * gdb.python/py-xmethods.exp: Likewise.
15035 * gdb.stabs/weird.exp: Likewise.
15036 * gdb.xml/tdesc-regs.exp: Likewise.
15037
15038 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15039
15040 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15041 (out_cu): Use addr_len for the size of addresses.
15042 (out_line): Likewise. Size DW_LNE_set_address instruction
15043 according to addr_len.
15044 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15045 (FUNC): Add START_INSNS to definition.
15046
15047 2014-10-18 Yao Qi <yao@codesourcery.com>
15048
15049 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15050 gdb_has_argv0 return true.
15051 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15052 check [target_info exists noargs], check [gdb_has_argv0]
15053 instead.
15054 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15055 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15056 procedures.
15057
15058 2014-10-17 Doug Evans <dje@google.com>
15059
15060 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15061 event.
15062 * gdb.python/py-events.py: Add clear_objfiles event.
15063
15064 2014-10-17 Doug Evans <dje@google.com>
15065
15066 * gdb.python/py-objfile.exp: Test progspace attribute.
15067
15068 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15069
15070 * gdb.guile/scm-breakpoint.exp: Do not assume any
15071 directory separators when matching source file paths.
15072 * gdb.python/py-breakpoint.exp: Likewise.
15073 * gdb.reverse/break-precsave.exp: Likewise.
15074 * gdb.reverse/break-reverse.exp: Likewise.
15075 * gdb.reverse/consecutive-precsave.exp: Likewise.
15076 * gdb.reverse/finish-precsave.exp: Likewise.
15077 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15078 * gdb.reverse/finish-reverse.exp: Likewise.
15079 * gdb.reverse/i386-precsave.exp: Likewise.
15080 * gdb.reverse/i387-env-reverse.exp: Likewise.
15081 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15082 * gdb.reverse/machinestate-precsave.exp: Likewise.
15083 * gdb.reverse/machinestate.exp: Likewise.
15084 * gdb.reverse/sigall-precsave.exp: Likewise.
15085 * gdb.reverse/solib-precsave.exp: Likewise.
15086 * gdb.reverse/step-precsave.exp: Likewise.
15087 * gdb.reverse/until-precsave.exp: Likewise.
15088 * gdb.reverse/watch-precsave.exp: Likewise.
15089 * gdb.reverse/watch-reverse.exp: Likewise.
15090
15091 2014-10-17 Yao Qi <yao@codesourcery.com>
15092
15093 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15094 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15095
15096 2014-10-17 Pedro Alves <palves@redhat.com>
15097
15098 PR gdb/17471
15099 * gdb.base/bg-execution-repeat.c: New file.
15100 * gdb.base/bg-execution-repeat.exp: New file.
15101
15102 2014-10-17 Pedro Alves <palves@redhat.com>
15103
15104 PR gdb/17300
15105 * gdb.base/continue-all-already-running.c: New file.
15106 * gdb.base/continue-all-already-running.exp: New file.
15107
15108 2014-10-17 Pedro Alves <palves@redhat.com>
15109
15110 PR gdb/17472
15111 * gdb.base/annota-input-while-running.c: New file.
15112 * gdb.base/annota-input-while-running.exp: New file.
15113
15114 2014-10-17 Pedro Alves <palves@redhat.com>
15115
15116 * gdb.base/callfuncs.exp: emove references to osf.
15117 * gdb.base/sigall.exp: Likewise.
15118 * gdb.gdb/selftest.exp: Likewise.
15119 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15120 * gdb.mi/non-stop.c: Likewise.
15121 * gdb.mi/pthreads.c: Likewise.
15122 * gdb.reverse/sigall-precsave.exp: Likewise.
15123 * gdb.reverse/sigall-reverse.exp: Likewise.
15124 * gdb.threads/pthreads.c: Likewise.
15125 * gdb.threads/pthreads.exp: Likewise.
15126
15127 2014-10-17 Yao Qi <yao@codesourcery.com>
15128
15129 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15130 check 'target_info exists noargs'.
15131 (test_command_prompt_position): Likewise.
15132 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15133 Remove "set args".
15134 (progvar_simple_while_test): Likewise.
15135 (progvar_complex_if_while_test): Likewise.
15136 (if_while_breakpoint_command_test): Likewise.
15137 (infrun_breakpoint_command_test): Likewise.
15138 (breakpoint_command_test): Likewise.
15139 (watchpoint_command_test): Likewise.
15140 (bp_deleted_in_command_test): Likewise.
15141 (temporary_breakpoint_commands): Likewise.
15142
15143 2014-10-16 Yao Qi <yao@codesourcery.com>
15144
15145 * gdb.base/remotetimeout.exp: Remove noargs checking.
15146
15147 2014-10-15 Pedro Alves <palves@redhat.com>
15148
15149 PR breakpoints/9649
15150 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15151 * gdb.base/breakpoint-in-ro-region.exp
15152 (probe_target_hardware_step): New procedure.
15153 (top level): Probe hardware stepping and hardware breakpoint
15154 support. Test stepping through a read-only region, with both
15155 "breakpoint auto-hw" on and off and both "always-inserted" on and
15156 off.
15157
15158 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15159
15160 * gdb.dlang/demangle.exp: Update for demangling changes.
15161
15162 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15163
15164 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15165 * gdb.cp/non-trivial-retval.exp: Add new tests.
15166
15167 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15168
15169 PR c++/13403
15170 PR c++/15154
15171 * gdb.cp/non-trivial-retval.cc: New file.
15172 * gdb.cp/non-trivial-retval.exp: New file.
15173
15174 2014-10-15 Yao Qi <yao@codesourcery.com>
15175
15176 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15177 remote host.
15178
15179 2014-10-15 Yao Qi <yao@codesourcery.com>
15180
15181 * gdb.python/py-symbol.exp: Match file base name if host is
15182 remote, otherwise match file name with dir name.
15183 * gdb.python/py-symtab.exp: Likewise.
15184 * gdb.python/python.exp: Likewise.
15185
15186 2014-10-15 Yao Qi <yao@codesourcery.com>
15187
15188 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15189 pattern.
15190 * gdb.python/py-symtab.exp: Likewise.
15191 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15192 locationn.
15193
15194 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15195
15196 * gdb.ada/addr_arith: New testcase.
15197
15198 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15199
15200 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15201 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15202 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15203 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15204
15205 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15206
15207 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15208 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15209 * gdb.arch/stap-eval-lang-ada.exp: New file.
15210
15211 2014-10-14 Yao Qi <yao@codesourcery.com>
15212
15213 * gdb.mi/mi-var-child.c (nothing1): New function.
15214 (nothing2): New function.
15215 (do_children_tests): Set function pointers by nothing1 and
15216 nothing2.
15217 * gdb.mi/mi-var-child.exp: Step over new added statements.
15218 Update test to match the new output.
15219 * gdb.mi/var-cmd.c (nothing1): New function.
15220 (nothing2): New function.
15221 (do_children_tests): Set function pointers by nothing1 and
15222 nothing2.
15223 * gdb.mi/mi-var-display.exp: Update test to match output.
15224 Step to the line specified by $line_dct_nothing.
15225 Increase the number of lines to step.
15226
15227 2014-10-14 Yao Qi <yao@codesourcery.com>
15228
15229 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15230 tests.
15231 * gdb.mi/mi2-var-child.exp: Likewise.
15232
15233 2014-10-13 Doug Evans <dje@google.com>
15234
15235 * gdb.python/py-objfile.exp: Change name of file name test.
15236
15237 2014-10-13 Doug Evans <dje@google.com>
15238
15239 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15240 from the start of the CU.
15241
15242 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15243 Yao Qi <yao@codesourcery.com>
15244
15245 Fix "save breakpoints" for "catch" command.
15246 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15247 Remove -nonewline. Match also the added "main" line.
15248
15249 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15250
15251 Fix "save breakpoints" for "disable $bpnum" command.
15252 * gdb.base/save-bp.c (main): Add label.
15253 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15254
15255 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15256
15257 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15258
15259 2014-10-11 Yao Qi <yao@codesourcery.com>
15260
15261 * gdb.server/server-kill.exp: Execute command
15262 "set remote trace-status-packet on" before "tstatus".
15263
15264 2014-10-11 Yao Qi <yao@codesourcery.com>
15265
15266 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15267 (main): Call getppid.
15268 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15269 and continue to it. Read variable "server_pid".
15270
15271 2014-10-11 Yao Qi <yao@codesourcery.com>
15272
15273 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15274
15275 2014-10-11 Yao Qi <yao@codesourcery.com>
15276
15277 * gdb.threads/thread-find.exp: Don't execute command
15278 "info threads".
15279 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15280 * gdb.threads/linux-dp.exp: Don't check the condition
15281 $threads_created equals to zero.
15282
15283 2014-10-10 Pedro Alves <palves@redhat.com>
15284
15285 * gdb.base/bigcore.exp: Remove references to IRIX.
15286 * gdb.base/funcargs.exp: Likewise.
15287 * gdb.base/interrupt.exp: Likewise.
15288 * gdb.base/mips_pro.exp: Likewise.
15289 * gdb.base/nodebug.exp: Likewise.
15290 * gdb.base/setvar.exp: Likewise.
15291 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15292
15293 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15294 Pedro Alves <palves@redhat.com>
15295
15296 PR symtab/14466
15297 * gdb.base/vdso-warning.c: New file.
15298 * gdb.base/vdso-warning.exp: New file.
15299
15300 2014-10-02 Doug Evans <dje@google.com>
15301
15302 * gdb.base/structs.c (main): Don't run forever.
15303
15304 2014-10-02 Pedro Alves <palves@redhat.com>
15305
15306 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15307 (top level) <stop threads 1, stop threads 2>: Use it.
15308
15309 2014-10-02 Pedro Alves <palves@redhat.com>
15310
15311 * gdb.threads/break-while-running.exp (test): Add new
15312 'update_thread_list' argument. Skip "info threads" if false.
15313 (top level): Add new 'update_thread_list' axis.
15314
15315 2014-10-02 Pedro Alves <palves@redhat.com>
15316
15317 PR breakpoints/17431
15318 * gdb.base/execl-update-breakpoints.c: New file.
15319 * gdb.base/execl-update-breakpoints.exp: New file.
15320
15321 2014-10-01 Pedro Alves <palves@redhat.com>
15322
15323 * gdb.base/breakpoint-in-ro-region.c: New file.
15324 * gdb.base/breakpoint-in-ro-region.exp: New file.
15325
15326 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15327
15328 * gdb.mi/mi-exit-code.exp: New file.
15329 * gdb.mi/mi-exit-code.c: New file.
15330
15331 2014-09-30 Yao Qi <yao@codesourcery.com>
15332
15333 * lib/prelink-support.exp (build_executable_own_libs): Error if
15334 the target isn't native.
15335
15336 2014-09-30 Yao Qi <yao@codesourcery.com>
15337
15338 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15339 false.
15340
15341 2014-09-22 Pedro Alves <palves@redhat.com>
15342
15343 * gdb.threads/break-while-running.exp: New file.
15344 * gdb.threads/break-while-running.c: New file.
15345
15346 2014-09-19 Yao Qi <yao@codesourcery.com>
15347
15348 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15349 Invoke test. Restart GDB with --readnow and invoke test again.
15350
15351 2014-09-19 Yao Qi <yao@codesourcery.com>
15352
15353 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15354 proc set_breakpoint_on_gcd_function. Invoke
15355 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15356 invoke set_breakpoint_on_gcd_function again.
15357
15358 2014-09-18 Doug Evans <dje@google.com>
15359
15360 * gdb.dwarf2/symtab-producer.exp: New file.
15361
15362 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15363
15364 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15365 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15366 * gdb.base/global-var-nested-by-dso.c: Likewise.
15367 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15368
15369 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15370 Pedro Alves <palves@redhat.com>
15371
15372 * gdb.base/watch-bitfields.exp: Pass string other than test file
15373 name to prepare_for_testing.
15374 (watch): New procedure.
15375 (expect_watchpoint): Use with_test_prefix.
15376 (top level): Factor out tests to ...
15377 (test_watch_location, test_regular_watch): ... these new
15378 procedures, and use with_test_prefix and gdb_continue_to_end.
15379
15380 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15381
15382 PR breakpoints/12526
15383 * gdb.base/watch-bitfields.exp: New file.
15384 * gdb.base/watch-bitfields.c: New file.
15385
15386 2014-09-16 Pedro Alves <palves@redhat.com>
15387
15388 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15389 software and hardware addresses, not software address against
15390 itself.
15391
15392 2014-09-16 Pedro Alves <palves@redhat.com>
15393
15394 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15395 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15396
15397 2014-09-16 Pedro Alves <palves@redhat.com>
15398
15399 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15400 files.
15401 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15402 "*-*-vxworks*" throughout.
15403 * gdb.base/break.exp: Likewise.
15404 * gdb.base/default.exp: Likewise.
15405 * gdb.base/scope.exp: Likewise.
15406 * gdb.base/sepdebug.exp: Likewise.
15407 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15408 throughout.
15409 * gdb.base/run.c: Likewise.
15410 * gdb.base/sepdebug.c: Likewise.
15411 * gdb.hp/gdb.aCC/run.c: Likewise.
15412 * gdb.reverse/until-reverse.c: Likewise.
15413 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15414
15415 2014-09-16 Yao Qi <yao@codesourcery.com>
15416
15417 * boards/local-remote-host-native.exp: New file.
15418
15419 2014-09-14 Doug Evans <xdje42@gmail.com>
15420
15421 * gdb.threads/queue-signal.c (thread_count): New variable.
15422 (thread_count_mutex, thread_count_condvar): New variables.
15423 (incr_thread_count, wait_all_threads_running): New functions.
15424 (main): Wait for all threads to be in their thread functions.
15425
15426 2014-09-13 Doug Evans <xdje42@gmail.com>
15427
15428 * gdb.threads/queue-signal.c: New file.
15429 * gdb.threads/queue-signal.exp: New file.
15430
15431 2014-09-13 Doug Evans <xdje42@gmail.com>
15432
15433 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15434 be consistent with what default_gdb_init uses.
15435 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15436 the plain text of the prompt. Add some logging printfs.
15437 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15438
15439 2014-09-12 Pedro Alves <palves@redhat.com>
15440
15441 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15442 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15443 * gdb.arch/i386-size-overlap.exp: Likewise.
15444 * gdb.arch/i386-size.exp: Likewise.
15445 * gdb.arch/i386-unwind.exp: Likewise.
15446 * gdb.base/a2-run.exp: Likewise.
15447 * gdb.base/break.exp: Likewise.
15448 * gdb.base/charset.exp: Likewise.
15449 * gdb.base/chng-syms.exp: Likewise.
15450 * gdb.base/commands.exp: Likewise.
15451 * gdb.base/dbx.exp: Likewise.
15452 * gdb.base/find.exp: Likewise.
15453 * gdb.base/funcargs.exp: Likewise.
15454 * gdb.base/jit-simple.exp: Likewise.
15455 * gdb.base/reread.exp: Likewise.
15456 * gdb.base/sepdebug.exp: Likewise.
15457 * gdb.base/step-bt.exp: Likewise.
15458 * gdb.cp/mb-inline.exp: Likewise.
15459 * gdb.cp/mb-templates.exp: Likewise.
15460 * gdb.objc/basicclass.exp: Likewise.
15461 * gdb.threads/killed.exp: Likewise.
15462
15463 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15464
15465 PR tdep/17379
15466 * gdb.arch/powerpc-stackless.S: New file.
15467 * gdb.arch/powerpc-stackless.exp: New file.
15468
15469 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15470
15471 * gdb.base/attach.c: Include unistd.h.
15472 (main): Call alarm. Add label postloop.
15473 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15474 gdb_breakpoint, gdb_continue_to_breakpoint.
15475 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15476
15477 2014-09-11 Pedro Alves <palves@redhat.com>
15478
15479 PR gdb/17347
15480 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15481 * gdb.base/attach.exp (test_command_line_attach_run): New
15482 procedure.
15483 (top level): Call it.
15484
15485 2014-09-11 Pedro Alves <palves@redhat.com>
15486
15487 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15488 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15489 (do_command_attach_tests): Use spawn_wait_for_attach.
15490 * gdb.base/solib-overlap.exp: Likewise.
15491 * gdb.multi/multi-attach.exp: Likewise.
15492 * gdb.python/py-prompt.exp: Likewise.
15493 * gdb.python/py-sync-interp.exp: Likewise.
15494 * gdb.server/ext-attach.exp: Likewise.
15495
15496 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15497
15498 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15499 command in testcase. Simplify testcase.
15500
15501 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15502
15503 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15504
15505 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15506
15507 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15508
15509 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15510
15511 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15512
15513 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15514
15515 * gdb.dwarf2/dynarr-ptr.c: New file.
15516 * gdb.dwarf2/dynarr-ptr.exp: New file.
15517
15518 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15519
15520 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15521 of 30 rather than hardcoding 120 for a slow test case. Take the
15522 `gdb,timeout' target setting into account for this calculation.
15523 Don't extend the timeout for the test cases that don't need it.
15524
15525 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15526
15527 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15528 a factor of 2 for a slow test case. Take the `gdb,timeout'
15529 target setting into account for this calculation.
15530 * gdb.reverse/until-precsave.exp: Increase the timeout by
15531 a factor of 15 and 3 respectively rather than adding 120
15532 for a pair of slow test cases. Take the `gdb,timeout'
15533 target setting into account for this calculation.
15534
15535 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15536
15537 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15538 timeout, don't pass one down to gdb_expect.
15539 (gdb_expect): Rework timeout selection.
15540
15541 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15542
15543 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15544 exception on timeout.
15545 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15546 (gdbserver_start_extended): Catch any `gdbserver_start' error
15547 exceptions.
15548 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15549 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15550 `gdbserver_gdb_load' error exceptions.
15551
15552 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15553
15554 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15555 120 on waiting for the TCP socket to open.
15556
15557 2014-09-09 Doug Evans <xdje42@gmail.com>
15558
15559 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15560 _caller_matches, _any_caller_is, _any_caller_matches.
15561
15562 2014-09-09 Doug Evans <xdje42@gmail.com>
15563
15564 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15565
15566 2014-09-09 Yao Qi <yao@codesourcery.com>
15567
15568 * gdb.mi/mi-var-display.exp: Set print symbol off.
15569
15570 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15571
15572 PR gdb/17035
15573 * gdb.base/commands.exp: Add tests to verify user-defined
15574 commands with empty bodies.
15575 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15576 python commands in `show user command`.
15577 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15578 scheme commands in `show user command`.
15579
15580 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15581
15582 PR python/17355
15583 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15584 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15585 * gdb.python/py-framefilter-invalidarg.exp: New file.
15586 * gdb.python/py-framefilter-invalidarg.py: New file.
15587
15588 2014-09-06 Doug Evans <xdje42@gmail.com>
15589
15590 PR 15276
15591 * gdb.python/py-caller-is.c: New file.
15592 * gdb.python/py-caller-is.exp: New file.
15593
15594 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15595
15596 PR gdb/17235
15597 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15598 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15599
15600 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15601
15602 PR fortran/17237
15603 * gdb.fortran/print-formatted.exp: New file.
15604 * gdb.fortran/print-formatted.f90: Likewise.
15605
15606 2014-09-03 Sasha Smundak <asmundak@google.com>
15607
15608 * gdb.python/py-frame.exp: Test Frame.read_register.
15609
15610 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15611
15612 PR python/16699
15613 * gdb.python/py-completion.exp: New file.
15614 * gdb.python/py-completion.py: Likewise.
15615
15616 2014-08-28 Doug Evans <dje@google.com>
15617
15618 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15619 eax,etc. are live with values set by gdb and thus the compiler can't
15620 use them.
15621 * gdb.arch/i386-pseudo.c (main): Ditto.
15622
15623 2014-08-27 Doug Evans <dje@google.com>
15624
15625 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15626
15627 2014-08-25 Doug Evans <dje@google.com>
15628
15629 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15630 (main): Ditto.
15631
15632 2014-08-25 Doug Evans <dje@google.com>
15633
15634 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15635
15636 2014-08-24 Yao Qi <yao@codesourcery.com>
15637
15638 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15639 symbol off.
15640 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15641
15642 2014-08-22 Doug Evans <dje@google.com>
15643
15644 PR 17276
15645 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15646 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15647 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15648
15649 2014-08-22 Yao Qi <yao@codesourcery.com>
15650
15651 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15652 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15653 * gdb.python/python.exp: Likewise. Use .py file on the host
15654 instead of the build.
15655
15656 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15657
15658 * gdb.threads/gcore-stale-thread.c: New file.
15659 * gdb.threads/gcore-stale-thread.exp: New file.
15660
15661 2014-08-21 Pedro Alves <palves@redhat.com>
15662
15663 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15664 * gdb.base/gcore-relro-pie.exp: Likewise.
15665 * gdb.base/gcore-relro.exp: Likewise.
15666 * gdb.base/gcore.exp: Likewise.
15667 * gdb.base/print-symbol-loading.exp: Likewise.
15668 * gdb.threads/gcore-thread.exp: Likewise.
15669 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15670
15671 2014-08-20 Pedro Alves <palves@redhat.com>
15672 Jan Kratochvil <jan.kratochvil@redhat.com>
15673
15674 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15675 configure.
15676 (EXPECT): Handle READ1 being set.
15677 (all): Depend on EXTRA_RULES.
15678 (check-read1, expect-read1, read1.so, read1): New rules.
15679 * README (Testsuite Parameters): Document the READ1 make variable.
15680 (Race detection): New section.
15681 * configure: Regenerate.
15682 * configure.ac: If build==host==target, and running under a
15683 GNU/glibc system, add read1 to the extra Makefile rules.
15684 (EXTRA_RULES): AC_SUBST it.
15685 * lib/read1.c: New file.
15686
15687 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15688
15689 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15690 the handling of variables declared as a typedef to an array
15691 which a DW_AT_data_location attribute.
15692
15693 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15694 Pedro Alves <palves@redhat.com>
15695
15696 PR symtab/14604
15697 PR symtab/14605
15698 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15699 gdb_test.
15700
15701 2014-08-19 Pedro Alves <palves@redhat.com>
15702
15703 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15704
15705 2014-08-19 Yao Qi <yao@codesourcery.com>
15706
15707 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15708 right line.
15709
15710 2014-08-18 David Blaikie <dblaikie@gmail.com>
15711
15712 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15713
15714 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15715
15716 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15717 attribute in array range.
15718
15719 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15720
15721 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15722
15723 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15724
15725 PR c++/17132
15726 * gdb.cp/pr17132.cc: New file.
15727 * gdb.cp/pr17132.exp: New file.
15728
15729 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15730
15731 * gdb.python/py-xmethods.py (A_getarrayind)
15732 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15733 Use 'print' with function call syntax.
15734 (E_method_matcher.match): Fix tab vs space indentation mixup.
15735
15736 2014-08-15 Yao Qi <yao@codesourcery.com>
15737
15738 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15739 false.
15740
15741 2014-08-15 Yao Qi <yao@codesourcery.com>
15742
15743 * gdb.cp/casts.exp: Set print symbol off.
15744 * gdb.cp/class2.exp: Likewise.
15745 * gdb.cp/overload.exp: Likewise.
15746 * gdb.cp/templates.exp: Likewise.
15747
15748 2014-08-11 Doug Evans <dje@google.com>
15749
15750 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15751 (test_load_shlib): Update.
15752
15753 2014-08-09 Yao Qi <yao@codesourcery.com>
15754
15755 * gdb.base/display.exp: Invoke is_address_zero_readable.
15756 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15757 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15758 * gdb.base/hbreak-unmapped.exp: Return if
15759 is_address_zero_readable returns true.
15760 * gdb.base/signest.exp: Likewise.
15761 * gdb.base/signull.exp: Likewise.
15762 * gdb.base/sigbpt.exp: Likewise.
15763 * gdb.guile/scm-disasm.exp: Do the test if
15764 is_address_zero_readable returns false.
15765 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15766 * gdb.python/py-arch.exp: Likewise.
15767 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15768 * lib/gdb.exp (is_address_zero_readable): New proc.
15769
15770 2014-08-09 Yao Qi <yao@codesourcery.com>
15771
15772 PR testsuite/13443
15773 * gdb.mi/mi-var-display.exp: Make test messages unique.
15774
15775 2014-08-04 Tom Tromey <tromey@redhat.com>
15776
15777 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15778 target 0".
15779
15780 2014-08-04 Tom Tromey <tromey@redhat.com>
15781
15782 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15783 "target_resume".
15784
15785 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15786
15787 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15788 inner_vla_struct_object_size.
15789 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15790 as xfail.
15791
15792 2014-07-30 Pedro Alves <palves@redhat.com>
15793
15794 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15795 comment.
15796
15797 2014-07-29 Yao Qi <yao@codesourcery.com>
15798
15799 PR gdb/17206
15800 * gdb.base/until-nodebug.exp: New.
15801
15802 2014-07-28 Doug Evans <xdje42@gmail.com>
15803
15804 PR guile/17203
15805 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15806 previously existing parameter, and previously ambiguously spelled
15807 parameter.
15808
15809 2014-07-28 Will Newton <will.newton@linaro.org>
15810
15811 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15812
15813 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15814 Doug Evans <xdje42@gmail.com>
15815
15816 PR guile/17146
15817 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15818
15819 2014-07-25 Pedro Alves <palves@redhat.com>
15820
15821 * gdb.threads/signal-command-handle-nopass.c: New file.
15822 * gdb.threads/signal-command-handle-nopass.exp: New file.
15823 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15824 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15825 * gdb.threads/signal-delivered-right-thread.c: New file.
15826 * gdb.threads/signal-delivered-right-thread.exp: New file.
15827
15828 2014-07-25 Pedro Alves <palves@redhat.com>
15829
15830 * gdb.base/double-prompt-target-event-error.exp
15831 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15832 match.
15833 (cancel_pagination_in_target_event): Rework double prompt
15834 detection.
15835 * gdb.base/paginate-after-ctrl-c-running.exp
15836 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15837 <return>' match.
15838 * gdb.base/paginate-bg-execution.exp
15839 (test_bg_execution_pagination_return)
15840 (test_bg_execution_pagination_cancel): Remove '-notransfer
15841 <return>' matches.
15842 * gdb.base/paginate-execution-startup.exp
15843 (test_fg_execution_pagination_return)
15844 (test_fg_execution_pagination_cancel): Remove '-notransfer
15845 <return>' matches.
15846 * gdb.base/paginate-inferior-exit.exp
15847 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15848 match.
15849 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15850 * lib/gdb.exp (pagination_prompt): Run text through
15851 string_to_regexp.
15852 (gdb_test_multiple): Match $pagination_prompt instead of
15853 "<return>".
15854 (string_to_regexp): Move to lib/gdb-utils.exp.
15855
15856 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15857
15858 * gdb.arch/amd64-entry-value-paramref.S: New file.
15859 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15860 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15861 * gdb.arch/amd64-optimout-repeat.S: New file.
15862 * gdb.arch/amd64-optimout-repeat.c: New file.
15863 * gdb.arch/amd64-optimout-repeat.exp: New file.
15864
15865 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15866
15867 PR gdb/17170
15868 * gdb.base/statistics.exp: New file.
15869
15870 2014-07-17 Doug Evans <dje@google.com>
15871
15872 PR gdb/17170
15873 * gdb.base/maint.exp: Update testing of per-command stats.
15874
15875 2014-07-16 Pedro Alves <palves@redhat.com>
15876
15877 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15878 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15879 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15880 (tfile_write_buf): New functions.
15881 (add_memory_block): Rewrite using the above.
15882 (adjust_function_address): New function.
15883 (FUNCTION_ADDRESS): New macro.
15884 (write_basic_trace_file): Remove short_x local, and use
15885 tfile_write_16. Change type of func_addr local to unsigned long
15886 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15887 here. Cast argument of add_memory_block to char pointer.
15888 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15889 (main): Remove parameters.
15890 * gdb.trace/tfile.exp: Remove nowarnings.
15891
15892 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15893
15894 * gdb.base/debug-expr.exp: Test string evaluation with
15895 "debug expression" on.
15896
15897 2014-07-15 Pedro Alves <palves@redhat.com>
15898
15899 * gdb.base/reread.exp: Use clean_restart.
15900
15901 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15902
15903 * gdb.arch/avr-flash-qualifer.c: New.
15904 * gdb.arch/avr-flash-qualifer.exp: New.
15905
15906 2014-07-14 Pedro Alves <palves@redhat.com>
15907
15908 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15909 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15910
15911 2014-07-14 Pedro Alves <palves@redhat.com>
15912
15913 * gdb.base/double-prompt-target-event-error.c: New file.
15914 * gdb.base/double-prompt-target-event-error.exp: New file.
15915
15916 2014-07-14 Pedro Alves <palves@redhat.com>
15917
15918 PR gdb/17072
15919 * gdb.base/paginate-inferior-exit.c: New file.
15920 * gdb.base/paginate-inferior-exit.exp: New file.
15921
15922 2014-07-14 Pedro Alves <palves@redhat.com>
15923
15924 PR gdb/17072
15925 * gdb.base/paginate-bg-execution.c: New file.
15926 * gdb.base/paginate-bg-execution.exp: New file.
15927
15928 2014-07-14 Pedro Alves <palves@redhat.com>
15929
15930 PR gdb/17072
15931 * gdb.base/paginate-execution-startup.c: New file.
15932 * gdb.base/paginate-execution-startup.exp: New file.
15933 * lib/gdb.exp (pagination_prompt): New global.
15934 (default_gdb_spawn): New procedure, factored out from
15935 default_gdb_spawn.
15936 (default_gdb_start): Adjust to call default_gdb_spawn.
15937 (gdb_spawn): New procedure.
15938
15939 2014-07-14 Pedro Alves <palves@redhat.com>
15940
15941 * lib/gdb.exp (gdb_assert): New procedure.
15942 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15943
15944 2014-07-14 Pedro Alves <palves@redhat.com>
15945
15946 * gdb.base/execution-termios.c: New file.
15947 * gdb.base/execution-termios.exp: New file.
15948
15949 2014-07-14 Tom Tromey <tromey@redhat.com>
15950
15951 * gdb.cp/vla-cxx.cc: New file.
15952 * gdb.cp/vla-cxx.exp: New file.
15953
15954 2014-07-14 Tom Tromey <tromey@redhat.com>
15955
15956 * gdb.reverse/rerun-prec.c: New file.
15957 * gdb.reverse/rerun-prec.exp: New file.
15958
15959 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15960 Maciej W. Rozycki <macro@codesourcery.com>
15961
15962 * lib/gdb-utils.exp: New file.
15963 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15964 inline `gdb_init_command' processing.
15965 (gdb_start_cmd): Likewise.
15966 * lib/mi-support.exp (mi_run_cmd): Likewise.
15967 * README: Document `gdb_init_command' and `gdb_init_commands'.
15968
15969 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15970
15971 Fix false FAIL running under a very long directory name.
15972 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15973 and "set print elements 10000". Twice.
15974
15975 2014-07-11 Yao Qi <yao@codesourcery.com>
15976
15977 * gdb.base/exprs.exp: "set print symbol off".
15978
15979 2014-07-11 Pedro Alves <palves@redhat.com>
15980
15981 * gdb.threads/kill.c: New file.
15982 * gdb.threads/kill.exp: New file.
15983
15984 2014-07-10 Yao Qi <yao@codesourcery.com>
15985
15986 * gdb.trace/tfile.c (write_basic_trace_file)
15987 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15988 address written to trace file.
15989
15990 2014-07-09 Pedro Alves <palves@redhat.com>
15991
15992 * gdb.base/attach-wait-input.exp: New file.
15993 * gdb.base/attach-wait-input.c: New file.
15994
15995 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15996
15997 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15998 setting up test structures.
15999 (main): Call new test function.
16000 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16001 test function, continue into test function and walk test
16002 structures.
16003
16004 2014-07-02 Yao Qi <yao@codesourcery.com>
16005
16006 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16007 'bar_start' at the beginning of functions 'foo' and 'bar'
16008 respectively.
16009 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16010 instead of 'foo' and 'bar'.
16011
16012 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16013
16014 * gdb.btrace/segv.exp: New.
16015 * gdb.btrace/segv.c: New.
16016
16017 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16018
16019 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16020 instruction.
16021
16022 2014-06-30 Mark Wielaard <mjw@redhat.com>
16023
16024 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16025 vulture, vilify, villar): New volatile array constants.
16026 (vindictive, vegetation): New const volatile array constants.
16027 * gdb.base/volatile.exp: Test volatile and const volatile array
16028 types.
16029
16030 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16031
16032 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16033 target lacks support for awatch, rwatch, or hbreak.
16034
16035 2014-06-27 Yao Qi <yao@codesourcery.com>
16036
16037 * gdb.multi/dummy-frame-restore.exp: New.
16038 * gdb.multi/dummy-frame-restore.c: New.
16039
16040 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16041
16042 * gdb.btrace/gcore.exp: New.
16043
16044 2014-06-23 Pedro Alves <palves@redhat.com>
16045
16046 * gdb.base/watchpoint-reuse-slot.c: New file.
16047 * gdb.base/watchpoint-reuse-slot.exp: New file.
16048
16049 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16050
16051 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16052 progspace's filename in 'info', 'enable' and 'disable' command
16053 tests.
16054
16055 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16056
16057 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16058 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16059 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16060
16061 2014-06-20 Gary Benson <gbenson@redhat.com>
16062
16063 * gdb.arch/i386-avx.exp: Fix include file location.
16064 * gdb.arch/i386-sse.exp: Likewise.
16065
16066 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16067
16068 * gdb.dlang/expression.exp: New file.
16069
16070 2014-06-19 Pedro Alves <palves@redhat.com>
16071
16072 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16073 out from ...
16074 (top level): ... here. Iterate running tests under different
16075 scheduler-locking settings.
16076
16077 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16078
16079 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16080 to DW_FORM_addr and use non-zero addresses.
16081
16082 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16083
16084 PR gdb/17017
16085 * gdb.python/py-xmethods.cc: Add global function call counters and
16086 increment them in their respective functions. Remove "cout"
16087 statements.
16088 * gdb.python/py-xmethods.exp: Make tests check the global function
16089 call counters instead of depending on inferior IO.
16090
16091 2014-06-18 Don Breazeal <donb@codesourcery.com>
16092
16093 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16094 Deleted procedure.
16095 (explicit_fork_parent_follow): Deleted procedure.
16096 (explicit_fork_child_follow): Deleted procedure.
16097 (test_follow_fork): New procedure.
16098 (do_fork_tests): Replace calls to deleted procedures with
16099 calls to test_follow_fork and reset GDB for subsequent
16100 procedure calls.
16101
16102 2014-06-17 Yao Qi <yao@codesourcery.com>
16103
16104 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16105 CP1252.
16106
16107 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16108
16109 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16110 Initialize ptr and S explicitly.
16111 (skip_type_update_when_not_use_rtti_test): Likewise.
16112
16113 2014-06-16 Keith Seitz <keiths@redhat.com>
16114
16115 PR mi/15863
16116 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16117 the inferior is started.
16118
16119 2014-06-16 Pedro Alves <palves@redhat.com>
16120
16121 * gdb.base/break-main-file-remove-fail.c: New file.
16122 * gdb.base/break-main-file-remove-fail.exp: New file.
16123 * gdb.base/break-unload-file.exp: Use build_executable instead of
16124 prepare_for_testing.
16125 (test_break): New parameter "initial_load". Handle it.
16126 (top level): Add initial_load cmdline/file axis.
16127
16128 2014-06-12 Tom Tromey <tromey@redhat.com>
16129
16130 * gdb.base/completion.exp: Don't use directory name in test.
16131
16132 2014-06-09 Gary Benson <gbenson@redhat.com>
16133
16134 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16135 separate the always-available ANSI-standard signals from the
16136 signals that require checking.
16137 (main): Likewise.
16138 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16139 Likewise.
16140 (main): Likewise.
16141
16142 2014-06-07 Keith Seitz <keiths@redhat.com>
16143
16144 Revert:
16145 PR c++/16253
16146 * gdb.cp/var-tag.cc: New file.
16147 * gdb.cp/var-tag.exp: New file.
16148 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16149 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16150 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16151 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16152
16153 2014-06-06 Doug Evans <xdje42@gmail.com>
16154
16155 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16156
16157 2014-06-06 Pedro Alves <palves@redhat.com>
16158
16159 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16160 in target debug output instead of looking at RSP packets,
16161 disabling the test on any target that uses hardware stepping.
16162 Update comments.
16163
16164 2014-06-06 Pedro Alves <palves@redhat.com>
16165
16166 * gdb.base/break-unload-file.exp: Fix typo.
16167
16168 2014-06-06 Yao Qi <yao@codesourcery.com>
16169
16170 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16171 from "jit_function" to "^jit_function".
16172
16173 2014-06-06 Yao Qi <yao@codesourcery.com>
16174
16175 * gdb.base/async.c (foo): Add one statement.
16176 * gdb.base/async.exp: Get the next instruction address and
16177 match the output of "nexti" by instruction address. Match
16178 the hex address in the output of "finish".
16179
16180 2014-06-06 Gary Benson <gbenson@redhat.com>
16181
16182 * gdb.base/call-signals.c: Remove preprocessor conditionals
16183 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16184 SIGSEGV and SIGTERM.
16185 * gdb.base/sigall.c: Likewise.
16186 * gdb.base/unwindonsignal.c: Likewise.
16187 * gdb.reverse/sigall-reverse.c: Likewise.
16188
16189 2014-06-06 Yao Qi <yao@codesourcery.com>
16190
16191 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16192 readable, skip the test.
16193
16194 2014-06-06 Yao Qi <yao@codesourcery.com>
16195
16196 * gdb.threads/staticthreads.c (thread_function): Move the line
16197 setting breakpoint on forward.
16198 * gdb.threads/staticthreads.exp: Update comments.
16199
16200 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16201
16202 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16203 "history-append! type error".
16204
16205 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16206
16207 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16208 erroneous dprintf expected input.
16209
16210 2014-06-04 Doug Evans <xdje42@gmail.com>
16211
16212 * gdb.guile/scm-generics.exp: Delete.
16213
16214 2014-06-04 Doug Evans <xdje42@gmail.com>
16215
16216 * gdb.guile/scm-breakpoint.exp: Update.
16217 Add tests for breakpoint registration.
16218
16219 2014-06-04 Tom Tromey <tromey@redhat.com>
16220
16221 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16222 VLA-in-union.
16223 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16224 inner_vla_struct, vla_union types. Initialize objects of those
16225 types and compute their sizes.
16226
16227 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16228 Hui Zhu <hui@codesourcery.com>
16229
16230 * gdb.base/fileio.exp: Add test for shell not available as well as
16231 available.
16232 * gdb.base/fileio.c (test_system): Check for shell twice.
16233
16234 2014-06-04 Yao Qi <yao@codesourcery.com>
16235
16236 * gdb.base/auto-connect-native-target.exp: Remove redundant
16237 space from the regexp pattern.
16238
16239 2014-06-04 Yao Qi <yao@codesourcery.com>
16240
16241 * gdb.base/default.exp: Replace "child" with "native" in
16242 regexp pattern.
16243
16244 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16245
16246 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16247 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16248 * gdb.python/py-xmethods.py: Python script supporting the
16249 new testcase and tests.
16250
16251 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16252 Pedro Alves <palves@redhat.com>
16253
16254 PR breakpoints/17000
16255 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16256 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16257
16258 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16259
16260 * gdb.base/subst.exp: Add tests to verify partial path matching
16261 output.
16262
16263 2014-06-03 Pedro Alves <palves@redhat.com>
16264
16265 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16266 target that doesn't use software single-stepping.
16267
16268 2014-06-03 Pedro Alves <palves@redhat.com>
16269
16270 PR breakpoints/17000
16271 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16272 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16273
16274 2014-06-02 Doug Evans <xdje42@gmail.com>
16275
16276 * gdb.guile/scm-parameter.exp: New file.
16277
16278 2014-06-02 Doug Evans <xdje42@gmail.com>
16279
16280 * gdb.guile/scm-cmd.c: New file.
16281 * gdb.guile/scm-cmd.exp: New file.
16282
16283 2014-06-02 Doug Evans <xdje42@gmail.com>
16284
16285 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16286 pretty-printer lookup.
16287 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16288 (make-pp_s-printer): Call it.
16289 (make-pretty-printer-from-dict): New function.
16290 (lookup-pretty-printer-maker-from-dict): New function.
16291 (*pretty-printer*): Simplify.
16292 (make-objfile-pp_s-printer): New function.
16293 (install-objfile-pretty-printers!): New function.
16294 (make-progspace-pp_s-printer): New function.
16295 (install-progspace-pretty-printers!): New function.
16296 * gdb.guile/scm-progspace.c: New file.
16297 * gdb.guile/scm-progspace.exp: New file.
16298
16299 2014-06-02 Pedro Alves <palves@redhat.com>
16300
16301 * gdb.base/dprintf-bp-same-addr.c: New file.
16302 * gdb.base/dprintf-bp-same-addr.exp: New file.
16303
16304 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16305
16306 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16307 * gdb.arch/powerpc-power.s: Likewise.
16308
16309 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16310
16311 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16312
16313 2014-06-01 Yao Qi <yao@codesourcery.com>
16314
16315 * gdb.base/watchpoint.exp (test_watch_location): Check null
16316 pointer can be dereferenced. If not, do the test, otherwise
16317 skip it.
16318
16319 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16320
16321 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16322 results.
16323 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16324
16325 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16326
16327 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16328 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16329 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16330 * gdb.arch/amd64-invalid-stack-top.c: New file.
16331 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16332
16333 2014-05-30 Pedro Alves <palves@redhat.com>
16334
16335 PR breakpoints/17000
16336 * gdb.base/sss-bp-on-user-bp.c: New file.
16337 * gdb.base/sss-bp-on-user-bp.exp: New file.
16338
16339 2014-05-30 David Blaikie <dblaikie@gmail.com>
16340
16341 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16342 gnu_inline semantics via attribute.
16343 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16344 source explicitly specifies the required semantics.
16345
16346 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16347
16348 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16349
16350 2014-05-29 Pedro Alves <palves@redhat.com>
16351 Tom Tromey <tromey@redhat.com>
16352
16353 * gdb.base/async-shell.exp: Don't enable target-async.
16354 * gdb.base/async.exp
16355 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16356 parameter. Adjust.
16357 (top level): Don't test with "target-async".
16358 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16359 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16360 * gdb.base/inferior-died.exp: Don't enable target-async.
16361 * gdb.base/interrupt-noterm.exp: Likewise.
16362 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16363 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16364 * gdb.mi/mi-nonstop.exp: Likewise.
16365 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16366 * gdb.mi/mi-nsintrall.exp: Likewise.
16367 * gdb.mi/mi-nsmoribund.exp: Likewise.
16368 * gdb.mi/mi-nsthrexec.exp: Likewise.
16369 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16370 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16371 * gdb.python/py-evsignal.exp: Don't enable target-async.
16372 * gdb.python/py-evthreads.exp: Likewise.
16373 * gdb.python/py-prompt.exp: Likewise.
16374 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16375 * gdb.server/solib-list.exp: Don't enable target-async.
16376 * gdb.threads/thread-specific-bp.exp: Likewise.
16377 * lib/mi-support.exp: Adjust to use mi-async.
16378
16379 2014-05-29 Pedro Alves <palves@redhat.com>
16380
16381 PR gdb/13860
16382 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16383 reason, even in sync mode.
16384
16385 2014-05-29 Pedro Alves <palves@redhat.com>
16386 Hui Zhu <hui@codesourcery.com>
16387
16388 PR PR15693
16389 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16390 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16391 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16392 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16393
16394 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16395
16396 * config/monitor.exp (gdb_target_monitor): Replace use of
16397 "set remotebaud" by "set serial baud".
16398
16399 2014-05-26 Andy Wingo <wingo@igalia.com>
16400
16401 * gdb.guile/scm-breakpoint.exp:
16402 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16403 properties instead of gdb-object-properties.
16404
16405 2014-05-26 Yao Qi <yao@codesourcery.com>
16406
16407 * gdb.server/no-thread-db.exp: Specify source file name
16408 explicitly when setting a breakpoint.
16409
16410 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16411
16412 * gdb.btrace/vdso.c: New.
16413 * gdb.btrace/vdso.exp: New.
16414
16415 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16416
16417 * gdb.base/gcore.exp (capture_command_output): Move ...
16418 * lib/gdb.exp (capture_command_output): ... here.
16419
16420 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16421
16422 * gdb.btrace/data.exp: Test memory access during btrace replay.
16423
16424 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16425
16426 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16427
16428 2014-05-21 Pedro Alves <palves@redhat.com>
16429
16430 PR gdb/13860
16431 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16432 (top level): Test that output related to execution commands is
16433 sent to the console with CLI commands, but not with MI commands.
16434 Test that breakpoint events are always mirrored to the console.
16435 Also expect the new source line to be output after a "next" in
16436 async mode too. Make it a pass/fail test.
16437 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16438 output.
16439 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16440
16441 2014-05-21 Pedro Alves <palves@redhat.com>
16442
16443 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16444 Use them to test variations of "list" after reaching a breakpoint.
16445 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16446 Test "list" with listsize 10 after reaching a breakpoint.
16447 * gdb.python/python.exp (decode_line current location line
16448 number): Adjust expected line number.
16449
16450 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16451
16452 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16453 behavior for $args, pass it directly to "run".
16454
16455 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16456
16457 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16458 30000 to 65536.
16459
16460 2014-05-21 Pedro Alves <palves@redhat.com>
16461
16462 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16463 auto-connect-native-target off".
16464 * gdb.base/auto-connect-native-target.c: New file.
16465 * gdb.base/auto-connect-native-target.exp: New file.
16466
16467 2014-05-21 Pedro Alves <palves@redhat.com>
16468
16469 * gdb.base/default.exp: Test "target native" instead of "target
16470 child".
16471
16472 2014-05-21 Mark Wielaard <mjw@redhat.com>
16473
16474 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16475
16476 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16477
16478 Fix TLS access for -static -pthread.
16479 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16480 <HAVE_TLS> (thread_function, main): Initialize it.
16481 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16482 Add clean_restart.
16483 <$have_tls != "">: Check TLSVAR.
16484
16485 2014-05-21 Pedro Alves <palves@redhat.com>
16486
16487 * gdb.base/dcache-line-read-error.c: New.
16488 * gdb.base/dcache-line-read-error.exp: New.
16489
16490 2014-05-20 Pedro Alves <palves@redhat.com>
16491
16492 * gdb.base/compare-sections.c: New file.
16493 * gdb.base/compare-sections.exp: New file.
16494
16495 2014-05-20 Pedro Alves <palves@redhat.com>
16496
16497 * gdb.base/break-idempotent.c: New file.
16498 * gdb.base/break-idempotent.exp: New file.
16499
16500 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16501
16502 * gdb.btrace/nohist.exp: New.
16503
16504 2014-05-20 Yao Qi <yao@codesourcery.com>
16505
16506 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16507 gdb.reverse directory and gdb_reverse_timeout exists in board
16508 setting.
16509 * README: Document gdb_reverse_timeout.
16510
16511 2014-05-20 Yao Qi <yao@codesourcery.com>
16512
16513 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16514 'test_file_name'. Treat args as a string instead of a list.
16515 (gdb_init): Rename argument 'args' by 'test_file_name'.
16516
16517 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16518
16519 * gdb.arch/powerpc-power.exp: New file.
16520 * gdb.arch/powerpc-power.s: New file.
16521
16522 2014-05-16 Doug Evans <dje@google.com>
16523
16524 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16525 * gdb.base/completion.exp: Check that all expected files exist
16526 before doing file completion.
16527
16528 2014-05-16 Doug Evans <dje@google.com>
16529
16530 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16531 Update.
16532 (do_syscall_tests_without_xml): Update.
16533
16534 2014-05-16 Pedro Alves <palves@redhat.com>
16535
16536 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16537 instead of "unknown output after running".
16538
16539 2014-05-16 Yao Qi <yao@codesourcery.com>
16540
16541 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16542 file1.txt from host at the end.
16543 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16544
16545 2014-05-15 Doug Evans <dje@google.com>
16546
16547 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16548 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16549 loading file. Add test for TU lookup.
16550
16551 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16552
16553 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16554 calling "-exec-arguments" or "set args" before running the
16555 inferior.
16556
16557 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16558
16559 * lib/mi-support.exp (mi_expect_stop): Expect message for
16560 inferiors that exit with non-zero exit code.
16561
16562 2014-05-14 Yao Qi <yao@codesourcery.com>
16563
16564 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16565 match absolute path on remote host.
16566 (test_file_list_exec_source_files): Remove "/" from the
16567 pattern.
16568
16569 2014-05-14 Yao Qi <yao@codesourcery.com>
16570
16571 * boards/local-remote-host-notty.exp (${board}_file): New
16572 proc.
16573
16574 2014-05-07 Kyle McMartin <kyle@redhat.com>
16575
16576 Pushed by Joel Brobecker <brobecker@adacore.com>.
16577 * gdb.arch/aarch64-atomic-inst.c: New file.
16578 * gdb.arch/aarch64-atomic-inst.exp: New file.
16579
16580 2014-05-07 Yao Qi <yao@codesourcery.com>
16581
16582 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16583 in current context" too.
16584
16585 2014-05-05 Keith Seitz <keiths@redhat.com>
16586
16587 * gdb.linespec/ls-dollar.exp: Add test for linespec
16588 file:convenience_variable.
16589
16590 2014-05-05 Yao Qi <yao@codesourcery.com>
16591
16592 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16593 traceframes into tfile and ctf trace files. Read data from
16594 trace file and test collected data.
16595 (gdb_collect_locals_test): Likewise.
16596 (gdb_unavailable_registers_test): Likewise.
16597 (gdb_unavailable_floats): Likewise.
16598 (gdb_collect_globals_test): Likewise.
16599 (top-level): Append "ctf" to trace_file_targets if GDB
16600 supports.
16601
16602 2014-05-05 Yao Qi <yao@codesourcery.com>
16603
16604 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16605 code to ...
16606 (gdb_collect_args_test_1): ... it. New proc.
16607 (gdb_collect_locals_test): Move some code to ...
16608 (gdb_collect_locals_test_1): ... it. New proc.
16609 (gdb_unavailable_registers_test): Move some code to ...
16610 (gdb_unavailable_registers_test_1): ... it. New proc.
16611 (gdb_unavailable_floats): Move some code to ...
16612 (gdb_unavailable_floats_1): ... it. New proc.
16613
16614 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16615
16616 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16617 probes to test for bitness recognition.
16618 * gdb.arch/amd64-stap-optional-prefix.exp
16619 (test_probe_value_without_reg): New procedure.
16620 Add code to test for different kinds of bitness.
16621
16622 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16623
16624 PR breakpoints/16889
16625 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16626 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16627
16628 2014-05-01 Pedro Alves <palves@redhat.com>
16629
16630 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16631 gdb_file_cmd if no file is specified.
16632 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16633 last_loaded_file to set the remote exec-file.
16634
16635 2014-05-01 Pedro Alves <palves@redhat.com>
16636
16637 * boards/local-remote-host.exp: New file.
16638
16639 2014-05-01 Pedro Alves <palves@redhat.com>
16640
16641 * boards/local-remote-host.exp: Rename to ...
16642 * boards/local-remote-host-notty.exp: ... this.
16643
16644 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16645
16646 * gdb.ada/dyn_arrayidx: New testcase.
16647
16648 2014-04-26 Yao Qi <yao@codesourcery.com>
16649
16650 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16651 and compute the length of function main. Save it in
16652 $main_length.
16653 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16654 (top-level): Use gdb_compile to compile objects into
16655 executable and restart GDB. Remove invocation to
16656 prepare_for_testing.
16657
16658 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16659 Pedro Alves <palves@redhat.com>
16660
16661 PR server/16255
16662 * gdb.multi/multi-attach.c: New file.
16663 * gdb.multi/multi-attach.exp: New file.
16664
16665 2014-04-25 Pedro Alves <palves@redhat.com>
16666
16667 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16668 user.
16669 (top level): Test that "set remote conditional-breakpoints-packet
16670 off" works as intended.
16671 * gdb.base/dprintf.exp: Test that "set remote
16672 breakpoint-commands-packet off" works as intended.
16673 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16674 New function.
16675 (top level): Call it.
16676 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16677 remote fast-tracepoints-packet off" works as intended.
16678 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16679 * lib/gdb.exp (gdb_is_target_remote): ... here.
16680
16681 2014-04-24 David Blaikie <dblaikie@gmail.com>
16682
16683 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16684 ensure clang would not discard them.
16685 * gdb.base/gdbvars.c: Ditto.
16686 * gdb.base/memattr.c: Ditto.
16687 * gdb.base/whatis.c: Ditto.
16688 * gdb.python/py-prettyprint.c: Ditto.
16689 * gdb.trace/actions.c: Ditto.
16690 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16691 ensure clang would not discard it.
16692
16693 2014-04-24 David Blaikie <dblaikie@gmail.com>
16694
16695 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16696 clang to emit the full definition of type required by the test
16697 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16698
16699 2014-04-24 David Blaikie <dblaikie@gmail.com>
16700
16701 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16702 coax Clang into emitting the definition of the type.
16703 * gdb.cp/pr10728-x.h (y): Ditto.
16704 * gdb.cp/pr10728-y.cc (y): Ditto.
16705
16706 2014-04-24 David Blaikie <dblaikie@gmail.com>
16707
16708 * gdb.base/label.exp: XFAIL label related tests under Clang.
16709 * gdb.cp/cplabel.exp: Ditto.
16710 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16711 under Clang those using labels.
16712
16713 2014-04-25 Yao Qi <yao@codesourcery.com>
16714
16715 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16716 double_label.
16717 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16718 partial_label and double_label.
16719
16720 2014-04-24 David Blaikie <dblaikie@gmail.com>
16721
16722 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16723
16724 2014-04-24 David Blaikie <dblaikie@gmail.com>
16725
16726 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16727 of the function to work across GCC and Clang.
16728 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16729 pointer types (const void ** const V void **).
16730
16731 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16732 Walfred Tedeschi <walfred.tedeschi@intel.com>
16733
16734 * Makefile.in (EXECUTABLES): Added i386-avx512.
16735 * gdb.arch/i386-avx512.c: New file.
16736 * gdb.arch/i386-avx512.exp: Likewise.
16737
16738 2014-04-23 Keith Seitz <keiths@redhat.com>
16739
16740 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16741 (mi_make_breakpoint_table): New procedure.
16742 (mi_create_breakpoint): Use mi_make_breakpoint
16743 and return the result.
16744 (mi_make_breakpoint): New procedure.
16745 (mi_build_kv_pairs): New procedure.
16746
16747 * gdb.mi/mi-break.exp: Remove unused globals,
16748 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16749 All callers updated.
16750 * gdb.mi/mi-dprintf.exp: Use variable to track command
16751 number.
16752 Update all callers of mi_create_breakpoint and use
16753 mi_make_breakpoint_table.
16754 Remove any unused global variables.
16755 * gdb.mi/mi-nonstop.exp: Likewise.
16756 * gdb.mi/mi-nsintrall.exp: Likewise.
16757 * gdb.mi/mi-nsmoribund.exp: Likewise.
16758 * gdb.mi/mi-nsthrexec.exp: Likewise.
16759 * gdb.mi/mi-reverse.exp: Likewise.
16760 * gdb.mi/mi-simplerun.exp: Likewise.
16761 * gdb.mi/mi-stepn.exp: Likewise.
16762 * gdb.mi/mi-syn-frame.exp: Likewise.
16763 * gdb.mi/mi-until.exp: Likewise.
16764 * gdb.mi/mi-var-cp.exp: Likewise.
16765 * gdb.mi/mi-var-display.exp: Likewise.
16766 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16767 * gdb.mi/mi2-var-child.exp: Likewise.
16768 * gdb.mi/mi-vla-c99.exp: Likewise.
16769 * lib/mi-support.exp: Likewise.
16770
16771 From Ian Lance Taylor <iant@cygnus.com>:
16772 * lib/gdb.exp (parse_args): New procedure.
16773
16774 2014-04-23 Pedro Alves <palves@redhat.com>
16775
16776 * gdb.base/break-unload-file.c: New file.
16777 * gdb.base/break-unload-file.exp: New file.
16778 * gdb.base/sym-file-lib.c (baz): New function.
16779 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16780 field.
16781 (load): Store the segment's mapped size.
16782 (unload): New function.
16783 (unload_shlib): New function.
16784 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16785 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16786 set a breakpoint at baz, and call it.
16787 * gdb.base/sym-file.exp: New tests for stale breakpoint
16788 instructions.
16789
16790 2014-04-23 Pedro Alves <palves@redhat.com>
16791
16792 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16793 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16794 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16795 * gdb.base/hbreak-unmapped.c: New file.
16796 * gdb.base/hbreak-unmapped.exp: New file.
16797 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16798 * lib/gdb.exp (gdb_is_target_remote): ... here.
16799
16800 2014-04-22 Pedro Alves <palves@redhat.com>
16801
16802 * gdb.base/consecutive-step-over.c: New file.
16803 * gdb.base/consecutive-step-over.exp: New file.
16804
16805 2014-04-22 Pedro Alves <palves@redhat.com>
16806
16807 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16808 instead of send_gdb/gdb_expect.
16809
16810 2014-04-22 Yao Qi <yao@codesourcery.com>
16811
16812 * lib/trace-support.exp (generate_tracefile): New procedure.
16813 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16814 return 0.
16815 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16816 if generate_tracefile returns 1.
16817
16818 2014-04-18 Tom Tromey <palves@redhat.com>
16819 Pedro alves <tromey@redhat.com>
16820
16821 PR backtrace/15558
16822 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16823 with a backtrace limit.
16824 * gdb.python/py-frame-inline.exp: Test running to an inline
16825 function with a backtrace limit, and printing the newest frame.
16826 * gdb.python/py-frame-inline.c (main): Call f.
16827
16828 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16829
16830 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16831
16832 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16833
16834 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16835 Drop prefix from unsupported source file path.
16836
16837 2014-04-17 Yao Qi <yao@codesourcery.com>
16838
16839 * lib/gdb.exp (with_target_charset): New proc.
16840 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16841 with_target_charset.
16842 (test_print_strings): Likewise.
16843 (test_repeat_bytes): Likewise.
16844 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16845 for some tests.
16846
16847 2014-04-16 Keith Seitz <keiths@redhat.com>
16848
16849 PR gdb/15827
16850 * gdb.dwarf2/corrupt.c: New file.
16851 * gdb.dwarf2/corrupt.exp: New file.
16852
16853 2014-04-16 Keith Seitz <keiths@redhat.com>
16854
16855 PR c++/16597
16856 * gdb.cp/namelessclass.cc: New file.
16857 * gdb.cp/namelessclass.exp: New file.
16858 * gdb.cp/namelessclass.S: New file.
16859
16860 2014-04-16 Doug Evans <dje@google.com>
16861
16862 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16863 Add comment.
16864 (gdbserver_default_get_comm_port): New function.
16865 (gdbserver_start): Check if board file provided
16866 "gdbserver,get_comm_port" and use it if so.
16867 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16868 (gdb,socketport): Set to "stdio".
16869 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16870 (stdio_gdbserver_template): Delete.
16871 (${board}_get_remote_address): Update.
16872 (${board}_build_remote_cmd): Delete.
16873 (${board}_get_comm_port): New function.
16874 (${board}_spawn): Update.
16875 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16876 Delete.
16877 (${board}_get_remote_address): Update.
16878 (${board}_get_comm_port): New function.
16879
16880 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16881
16882 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16883 appearing in any order.
16884
16885 2014-04-15 Doug Evans <dje@google.com>
16886
16887 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16888 uninitialized value of "description".
16889
16890 2014-04-15 Keith Seitz <keiths@redhat.com>
16891
16892 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16893 Remove unused globals.
16894 (test_running_the_program): Likewise.
16895 (test_controlled_execution): Likewise.
16896 (test_controlling_breakpoints): Likewise.
16897 (test_program_termination): Likewise.
16898
16899 2014-04-15 Keith Seitz <keiths@redhat.com>
16900
16901 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16902 unused globals.
16903 (test_rbreak_creation_and_listing): Likewise.
16904 (test_ignore_count): Likewise.
16905 (test_error): Likewise.
16906
16907 2014-04-15 Pedro Alves <palves@redhat.com>
16908
16909 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16910 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16911 sym-file-loader.c.
16912 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16913 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16914 to sym-file-loader.c.
16915 (struct library): Forward declare.
16916 (load_shlib, lookup_function): Change prototypes.
16917 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16918 (translate_offset): Remove declarations.
16919 (get_text_addr): New declaration.
16920 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16921 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16922 sym-file-loader.h.
16923 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16924 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16925 here from sym-file-loader.h.
16926 (struct library): New structure.
16927 (load_shlib, lookup_function): Change prototypes and adjust to
16928 work with a struct library.
16929 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16930 (translate_offset): Make static.
16931 (get_text_addr): New function.
16932 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16933
16934 2014-04-15 Pedro Alves <palves@redhat.com>
16935
16936 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16937
16938 2014-04-15 Pedro Alves <palves@redhat.com>
16939
16940 * gdb.base/sym-file-loader.c: Include <limits.h>.
16941 (SELF_LINK): New define.
16942 (get_origin): New function.
16943 (load_shlib): Use it.
16944 * gdb.base/sym-file.exp: Don't early return if the target is
16945 remote. Use runto_main, and issue fail is that fails. Use
16946 gdb_load_shlibs.
16947 (shlib_name): Delete.
16948 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16949
16950 2014-04-15 Pedro Alves <palves@redhat.com>
16951
16952 * gdb.base/sym-file.exp: Remove regex characters from test
16953 message. Don't refer to breakpoint numbers in test messages.
16954
16955 2014-04-14 Keith Seitz <keiths@redhat.com>
16956
16957 PR c++/16253
16958 * gdb.cp/var-tag.cc: New file.
16959 * gdb.cp/var-tag.exp: New file.
16960 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16961 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16962 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16963 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16964
16965 2014-04-14 Tom Tromey <tromey@redhat.com>
16966
16967 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16968 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16969 type.
16970 * gdb.cp/enum-class.exp: New file.
16971 * gdb.cp/enum-class.cc: New file.
16972
16973 2014-04-14 Tom Tromey <tromey@redhat.com>
16974
16975 * gdb.dwarf2/enum-type.exp: New file.
16976
16977 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16978
16979 * gdb.mi/mi-vla-c99.exp: New file.
16980 * gdb.mi/vla.c: New file.
16981
16982 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16983
16984 * gdb.base/vla-datatypes.c: New file.
16985 * gdb.base/vla-datatypes.exp: New file.
16986
16987 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16988
16989 * gdb.base/vla-ptr.c: New file.
16990 * gdb.base/vla-ptr.exp: New file.
16991
16992 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16993
16994 * gdb.dwarf2/count.exp: New file.
16995
16996 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16997
16998 * gdb.base/vla-sideeffect.c: New file.
16999 * gdb.base/vla-sideeffect.exp: New file.
17000
17001 2014-04-14 David Blaikie <dblaikie@gmail.com>
17002
17003 * gdb.mi/non-stop.c: Add return value for non-void function return
17004 statement.
17005 * gdb.threads/staticthreads.c: Ditto.
17006
17007 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17008 Doug Evans <xdje42@gmail.com>
17009
17010 * gdb.guile/scm-value.c: Improve test case.
17011 * gdb.guile/scm-value.exp: Add new test.
17012
17013 2014-04-11 David Blaikie <dblaikie@gmail.com>
17014
17015 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17016 override Clang's default.
17017
17018 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17019
17020 Revert the following changes (regressions):
17021
17022 * gdb.base/vla-sideeffect.c: New file.
17023 * gdb.base/vla-sideeffect.exp: New file.
17024
17025 * gdb.dwarf2/count.exp: New file.
17026
17027 * gdb.base/vla-multi.c: New file.
17028 * gdb.base/vla-multi.exp: New file.
17029
17030 * gdb.base/vla-ptr.c: New file.
17031 * gdb.base/vla-ptr.exp: New file.
17032
17033 * gdb.base/vla-datatypes.c: New file.
17034 * gdb.base/vla-datatypes.exp: New file.
17035
17036 * gdb.mi/mi-vla-c99.exp: New file.
17037 * gdb.mi/vla.c: New file.
17038
17039 2014-04-11 Keith Seitz <keiths@redhat.com>
17040
17041 PR c++/16675
17042 * gdb.cp/cpsizeof.exp: New file.
17043 * gdb.cp/cpsizeof.cc: New file.
17044
17045 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17046
17047 * gdb.mi/mi-vla-c99.exp: New file.
17048 * gdb.mi/vla.c: New file.
17049
17050 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17051
17052 * gdb.base/vla-datatypes.c: New file.
17053 * gdb.base/vla-datatypes.exp: New file.
17054
17055 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17056
17057 * gdb.base/vla-ptr.c: New file.
17058 * gdb.base/vla-ptr.exp: New file.
17059
17060 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17061
17062 * gdb.base/vla-multi.c: New file.
17063 * gdb.base/vla-multi.exp: New file.
17064
17065 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17066
17067 * gdb.dwarf2/count.exp: New file.
17068
17069 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17070
17071 * gdb.base/vla-sideeffect.c: New file.
17072 * gdb.base/vla-sideeffect.exp: New file.
17073
17074 2014-04-11 Yao Qi <yao@codesourcery.com>
17075
17076 * gdb.base/completion.exp: Check file exists before running tests
17077 on file completion.
17078
17079 2014-04-10 Pedro Alves <palves@redhat.com>
17080
17081 * gdb.base/cond-eval-mode.c: New file.
17082 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17083 prepare_for_testing to build the new file. Check result of
17084 runto_main.
17085 (test_break, test_watch): New procedures.
17086 (top level): Use them.
17087
17088 2014-04-08 Pierre Muller <muller@sourceware.org>
17089
17090 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17091 Ctrl-V use for mingw hosts.
17092
17093 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17094
17095 * gdb.python/py-value.c: Improve test case.
17096 * gdb.python/py-value.exp: Add new test.
17097
17098 2014-04-07 David Blaikie <dblaikie@gmail.com>
17099
17100 * lib/compiler.c: Identify the clang compiler.
17101 * lib/compiler.cc: Ditto.
17102
17103 2014-04-03 Yao Qi <yao@codesourcery.com>
17104
17105 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17106
17107 2014-04-01 Anton Blanchard <anton@samba.org>
17108
17109 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17110 messages unique.
17111
17112 2014-04-01 Anton Blanchard <anton@samba.org>
17113
17114 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17115 prepare_for_testing.
17116
17117 2014-04-01 Anton Blanchard <anton@samba.org>
17118
17119 * gdb.arch/ppc64-atomic-inst.c: Remove.
17120 * gdb.arch/ppc64-atomic-inst.S: New file.
17121 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17122
17123 2014-03-31 Doug Evans <dje@google.com>
17124
17125 * gdb.base/print-symbol-loading-lib.c: New file.
17126 * gdb.base/print-symbol-loading-main.c: New file.
17127 * gdb.base/print-symbol-loading.exp: New file.
17128
17129 2014-03-31 Yao Qi <yao@codesourcery.com>
17130
17131 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17132
17133 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17134
17135 * gdb.ada/mi_dyn_arr: New testcase.
17136
17137 2014-03-27 Doug Evans <dje@google.com>
17138
17139 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17140
17141 2014-03-27 Yao Qi <yao@codesourcery.com>
17142
17143 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17144 if target is nios2-*-*.
17145
17146 2014-03-26 Yao Qi <yao@codesourcery.com>
17147
17148 * lib/gdb.exp (readline_is_used): New proc.
17149 * gdb.base/completion.exp: Move tests on command complete up.
17150 Skip the rest of tests if readline is not used.
17151 * gdb.ada/complete.exp: Skp the test if readline is not
17152 used.
17153 * gdb.base/filesym.exp: Likewise.
17154 * gdb.base/macscp.exp: Likewise.
17155 * gdb.base/readline-ask.exp: Likewise.
17156 * gdb.base/readline.exp: Likewise.
17157 * gdb.python/py-cmd.exp: Likewise.
17158 * gdb.trace/tfile.exp: Likewise.
17159
17160 2014-03-26 Yao Qi <yao@codesourcery.com>
17161
17162 * gdb.base/macscp.exp: Fix code format issues.
17163
17164 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17165
17166 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17167 * gdb.asm/powerpc64le.inc: New file.
17168
17169 2014-03-25 Pedro Alves <palves@redhat.com>
17170 Doug Evans <dje@google.com>
17171
17172 * gdb.base/source-execution.c: New file.
17173 * gdb.base/source-execution.exp: New file.
17174 * gdb.base/source-execution.gdb: New file.
17175
17176 2014-03-24 Doug Evans <dje@google.com>
17177
17178 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17179 using fission.
17180
17181 2014-03-24 Hui Zhu <hui@codesourcery.com>
17182 Pedro Alves <palves@redhat.com>
17183
17184 PR breakpoints/16101
17185 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17186 test pass/fail messages. Detect missing support for dprintf when
17187 breakpoints are actually inserted.
17188 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17189 breakpoints are actually inserted.
17190 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17191 fails.
17192
17193 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17194
17195 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17196
17197 2014-03-22 Doug Evans <xdje42@gmail.com>
17198
17199 * gdb.python/python.exp (python not supported): Verify multi-line
17200 python command issues an error.
17201 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17202 guile command issues an error.
17203
17204 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17205
17206 * gdb.threads/thread-specific.exp: Handle the lack of usable
17207 $this_breakpoint and $this_thread.
17208
17209 2014-03-21 Hui Zhu <hui@codesourcery.com>
17210
17211 * gdb.base/attach.exp (do_command_attach_tests): New.
17212
17213 2014-03-20 Tom Tromey <tromey@redhat.com>
17214 Pedro Alves <palves@redhat.com>
17215
17216 PR cli/15718
17217 * gdb.base/condbreak-call-false.c: New file.
17218 * gdb.base/condbreak-call-false.exp: New file.
17219
17220 2014-03-20 Pedro Alves <palves@redhat.com>
17221
17222 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17223 Delete.
17224 (block_signals, unblock_signals): Delete.
17225 (child_function_2, main): Remove references to deleted variable
17226 and functions.
17227
17228 2014-03-20 Pedro Alves <palves@redhat.com>
17229
17230 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17231 Use pthread_kill to signal thread 2.
17232 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17233 Adjust to make the test send itself a signal rather than using the
17234 host's "kill" command.
17235
17236 2014-03-20 Pedro Alves <palves@redhat.com>
17237
17238 * gdb.threads/multiple-step-overs.c: New file.
17239 * gdb.threads/multiple-step-overs.exp: New file.
17240 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17241 Adjust expected infrun debug output.
17242
17243 2014-03-20 Pedro Alves <palves@redhat.com>
17244
17245 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17246 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17247
17248 2014-03-20 Pedro Alves <palves@redhat.com>
17249
17250 PR breakpoints/7143
17251 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17252 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17253 of gdb_test_multiple.
17254 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17255 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17256
17257 2014-03-20 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17260 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17261
17262 2014-03-19 Pedro Alves <palves@redhat.com>
17263
17264 * gdb.base/async.exp: Remove early return.
17265
17266 2014-03-19 Pedro Alves <palves@redhat.com>
17267
17268 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17269
17270 2014-03-19 Pedro Alves <palves@redhat.com>
17271
17272 * gdb.base/async.exp (test_background): Expect \r\n after
17273 "completed." in the fail pattern.
17274
17275 2014-03-19 Pedro Alves <palves@redhat.com>
17276
17277 * gdb.base/async.exp (test_background): New procedure.
17278 Use it for all background execution command tests.
17279
17280 2014-03-19 Pedro Alves <palves@redhat.com>
17281
17282 * gdb.base/async.exp: Use prepare_for_testing.
17283
17284 2014-03-19 Pedro Alves <palves@redhat.com>
17285
17286 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17287 the same line.
17288
17289 2014-03-19 Pedro Alves <palves@redhat.com>
17290
17291 * gdb.base/async.c (main): Add "jump here" and "until here" line
17292 marker comments.
17293 * gdb.base/async.exp (jump_here): New global.
17294 (jump& test): Use it.
17295 (until_here): New global.
17296 (until& test): Use it.
17297
17298 2014-03-19 Pedro Alves <palves@redhat.com>
17299
17300 * gdb.base/async.exp: Don't frob gdb_protocol.
17301
17302 2014-03-18 Doug Evans <xdje42@gmail.com>
17303
17304 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17305 Fix spelling of exec-done-display.
17306
17307 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17308
17309 PR gdb/15358
17310 * gdb.base/gdb-sigterm.c: New file.
17311 * gdb.base/gdb-sigterm.exp: New file.
17312
17313 2014-03-18 Pedro Alves <palves@redhat.com>
17314
17315 PR gdb/13860
17316 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17317 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17318 solib-event.
17319
17320 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17321
17322 * gdb.ada/pckd_arr_ren: New testcase.
17323
17324 2014-03-13 Doug Evans <xdje42@gmail.com>
17325
17326 PR guile/16612
17327 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17328 collect after discarding symbols.
17329
17330 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17331 Doug Evans <xdje42@gmail.com>
17332
17333 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17334 to history survives a gc.
17335
17336 2014-03-13 Pedro Alves <palves@redhat.com>
17337
17338 * gdb.base/default.exp: Don't test "target procfs".
17339
17340 2014-03-13 Pedro Alves <palves@redhat.com>
17341
17342 * gdb.base/default.exp: Update "target child" and "target procfs"
17343 tests to not expect "Unix".
17344
17345 2014-03-12 Tom Tromey <tromey@redhat.com>
17346
17347 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17348 New procs. Add target-async tests.
17349 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17350 Add target-async tests.
17351
17352 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17353
17354 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17355 'func_start' and 'func_end' for the beginning and end of the
17356 function code, respectively.
17357 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17358 'func_end' instead of 'func' and 'main'.
17359
17360 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17361
17362 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17363 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17364 generate the debug info assembler source.
17365
17366 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17367
17368 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17369 * gdb.dwarf2/arr-subrange.exp: Likewise.
17370 * gdb.dwarf2/dwz.exp: Likewise.
17371 * gdb.dwarf2/method-ptr.exp: Likewise.
17372 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17373 * gdb.dwarf2/subrange.exp: Likewise.
17374 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17375 * gdb.dwarf2/implptrpiece.exp: Likewise.
17376 * gdb.dwarf2/nostaticblock.exp: Likewise.
17377
17378 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17379
17380 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17381 directory to absolute path name arguments.
17382
17383 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17384
17385 * gdb.ada/tagged_access: New testcase.
17386
17387 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17388
17389 * gdb.btrace/data.exp: Update expected output.
17390
17391 2014-03-06 Yao Qi <yao@codesourcery.com>
17392
17393 * gdb.trace/pr16508.exp: New file.
17394
17395 2014-03-05 Pedro Alves <palves@redhat.com>
17396
17397 PR gdb/16575
17398 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17399 procedure.
17400 (top level): Adjust to use it. Add tests that exercise breakpoint
17401 interaction with the code-cache.
17402
17403 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17404
17405 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17406 test for 'history-append!'.
17407
17408 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17409
17410 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17411 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17412 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17413 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17414 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17415 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17416
17417 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17418
17419 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17420 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17421 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17422
17423 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17424
17425 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17426
17427 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17428
17429 * gdb.dwarf2/arr-stride.c: New file.
17430 * gdb.dwarf2/arr-stride.exp: New file.
17431
17432 2014-02-26 Pedro Alves <palves@redhat.com>
17433
17434 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17435 that won't ever trigger. Make sure that GDB reports the correct
17436 breakpoint that caused the stop.
17437
17438 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17439
17440 PR gdb/16626
17441 * gdb.base/auto-load-script: New file.
17442 * gdb.base/auto-load.c: New file.
17443 * gdb.base/auto-load.exp: New file.
17444
17445 PR gdb/16626
17446 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17447
17448 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17449
17450 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17451 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17452
17453 2014-02-24 Doug Evans <dje@google.com>
17454
17455 * lib/gdb.exp (run_on_host): Log error output if program fails.
17456
17457 2014-02-21 Pedro Alves <palves@redhat.com>
17458
17459 * gdb.threads/step-after-sr-lock.c: Rename to ...
17460 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17461 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17462 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17463 ... this.
17464
17465 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17466
17467 PR tdep/16397
17468 * gdb.arch/amd64-stap-special-operands.exp: New file.
17469 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17470 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17471 * gdb.arch/amd64-stap-triplet.S: Likewise.
17472 * gdb.arch/amd64-stap-triplet.c: Likewise.
17473
17474 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17475
17476 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17477 in .section pseudo-op.
17478
17479 2014-02-20 lin zuojian <manjian2006@gmail.com>
17480 Joel Brobecker <brobecker@adacore.com>
17481 Doug Evans <xdje42@gmail.com>
17482
17483 PR symtab/16581
17484 * gdb.dwarf2/dw2-icycle.S: New file.
17485 * gdb.dwarf2/dw2-icycle.c: New file.
17486 * gdb.dwarf2/dw2-icycle.exp: New file.
17487
17488 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17489
17490 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17491 operations on gdb.Value objects.
17492 * gdb.python/py-value-cc.exp: Add new test to test operations on
17493 gdb.Value objects.
17494
17495 2014-02-18 Doug Evans <dje@google.com>
17496
17497 * Makefile.in (TESTS): New variable.
17498 (expanded_tests, expanded_tests_or_none): New variables
17499 (check-single): Pass $(expanded_tests_or_none) to runtest.
17500 (check-parallel): Only run tests in $(TESTS) if non-empty.
17501 (check/no-matching-tests-found): New rule.
17502 * README: Document TESTS makefile variable.
17503
17504 2014-02-18 Doug Evans <dje@google.com>
17505
17506 * Makefile.in (check-parallel): rm -rf outputs temp.
17507
17508 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17509
17510 Fix "ERROR: no fileid for" in the testsuite.
17511 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17512
17513 2014-02-12 Doug Evans <dje@google.com>
17514
17515 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17516 (MISCELLANEOUS): New variable.
17517 (clean): rm -rf $(MISCELLANEOUS).
17518 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17519 dwp live in the same directory as symlinks, with each symlink pointed
17520 to a differently named file in a different directory.
17521
17522 2014-02-11 Doug Evans <dje@google.com>
17523
17524 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17525 of Tcl file commands.
17526
17527 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17528
17529 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17530 "kill -SIGUSR1 -1".
17531
17532 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17533
17534 * gdb.ada/tick_length_array_enum_idx: New testcase.
17535
17536 2014-02-10 Doug Evans <xdje42@gmail.com>
17537
17538 * configure.ac (AC_OUTPUT): Add gdb.guile.
17539 * configure: Regenerate.
17540 * lib/gdb-guile.exp: New file.
17541 * lib/gdb.exp (get_target_charset): New function.
17542 * gdb.base/help.exp: Update expected output from "apropos apropos".
17543 * gdb.guile/Makefile.in: New file.
17544 * gdb.guile/guile.exp: New file.
17545 * gdb.guile/scm-arch.c: New file.
17546 * gdb.guile/scm-arch.exp: New file.
17547 * gdb.guile/scm-block.c: New file.
17548 * gdb.guile/scm-block.exp: New file.
17549 * gdb.guile/scm-breakpoint.c: New file.
17550 * gdb.guile/scm-breakpoint.exp: New file.
17551 * gdb.guile/scm-disasm.c: New file.
17552 * gdb.guile/scm-disasm.exp: New file.
17553 * gdb.guile/scm-equal.c: New file.
17554 * gdb.guile/scm-equal.exp: New file.
17555 * gdb.guile/scm-error.exp: New file.
17556 * gdb.guile/scm-error.scm: New file.
17557 * gdb.guile/scm-frame-args.c: New file.
17558 * gdb.guile/scm-frame-args.exp: New file.
17559 * gdb.guile/scm-frame-args.scm: New file.
17560 * gdb.guile/scm-frame-inline.c: New file.
17561 * gdb.guile/scm-frame-inline.exp: New file.
17562 * gdb.guile/scm-frame.c: New file.
17563 * gdb.guile/scm-frame.exp: New file.
17564 * gdb.guile/scm-generics.exp: New file.
17565 * gdb.guile/scm-gsmob.exp: New file.
17566 * gdb.guile/scm-iterator.c: New file.
17567 * gdb.guile/scm-iterator.exp: New file.
17568 * gdb.guile/scm-math.c: New file.
17569 * gdb.guile/scm-math.exp: New file.
17570 * gdb.guile/scm-objfile-script-gdb.in: New file.
17571 * gdb.guile/scm-objfile-script.c: New file.
17572 * gdb.guile/scm-objfile-script.exp: New file.
17573 * gdb.guile/scm-objfile.c: New file.
17574 * gdb.guile/scm-objfile.exp: New file.
17575 * gdb.guile/scm-ports.exp: New file.
17576 * gdb.guile/scm-pretty-print.c: New file.
17577 * gdb.guile/scm-pretty-print.exp: New file.
17578 * gdb.guile/scm-pretty-print.scm: New file.
17579 * gdb.guile/scm-section-script.c: New file.
17580 * gdb.guile/scm-section-script.exp: New file.
17581 * gdb.guile/scm-section-script.scm: New file.
17582 * gdb.guile/scm-symbol.c: New file.
17583 * gdb.guile/scm-symbol.exp: New file.
17584 * gdb.guile/scm-symtab-2.c: New file.
17585 * gdb.guile/scm-symtab.c: New file.
17586 * gdb.guile/scm-symtab.exp: New file.
17587 * gdb.guile/scm-type.c: New file.
17588 * gdb.guile/scm-type.exp: New file.
17589 * gdb.guile/scm-value-cc.cc: New file.
17590 * gdb.guile/scm-value-cc.exp: New file.
17591 * gdb.guile/scm-value.c: New file.
17592 * gdb.guile/scm-value.exp: New file.
17593 * gdb.guile/source2.scm: New file.
17594 * gdb.guile/types-module.cc: New file.
17595 * gdb.guile/types-module.exp: New file.
17596
17597 2014-02-10 Yao Qi <yao@codesourcery.com>
17598
17599 PR testsuite/16543
17600 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17601 * configure: Regenerated.
17602 * Makefile.in: New file.
17603
17604 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17605
17606 * gdb.python/py-framefilter.exp: Fix typo.
17607
17608 2014-02-08 Yao Qi <yao@codesourcery.com>
17609
17610 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17611 that no =breakpoint-modified is emitted when breakpoints are
17612 modified through MI commands.
17613
17614 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17615 Pedro Alves <palves@redhat.com>
17616
17617 * gdb.threads/step-after-sr-lock.c: New file.
17618 * gdb.threads/step-after-sr-lock.exp: New file.
17619
17620 2014-02-07 Pedro Alves <palves@redhat.com>
17621
17622 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17623
17624 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17625
17626 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17627 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17628
17629 2014-02-06 Doug Evans <xdje42@gmail.com>
17630
17631 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17632 output.
17633
17634 * gdb.gdb/python-interrupts.exp: New file.
17635
17636 2014-02-05 Yao Qi <yao@codesourcery.com>
17637
17638 * gdb.trace/report.exp (use_collected_data): Test the output
17639 of "info threads" and "info inferiors".
17640
17641 2014-02-05 Yao Qi <yao@codesourcery.com>
17642
17643 Revert this patch:
17644
17645 2013-05-24 Yao Qi <yao@codesourcery.com>
17646
17647 * gdb.trace/tfile.exp: Test inferior and thread.
17648
17649 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17650
17651 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17652 on a function.
17653 * gdb.base/step-bt.c: Call hello via function pointer to make
17654 sure its first instruction is executed on powerpc64le-linux.
17655
17656 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17657
17658 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17659
17660 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17661
17662 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17663 of the test patterns for use on little-endian systems.
17664
17665 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17666
17667 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17668 (decimal_vector): Fix for little-endian.
17669
17670 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17671
17672 * gdb.arch/sparc-sysstep.exp: New file.
17673 * gdb.arch/sparc-sysstep.c: Likewise.
17674
17675 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17676
17677 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17678
17679 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17680
17681 2014-01-23 Tom Tromey <tromey@redhat.com>
17682
17683 * gdb.ada/array_char_idx: New testcase.
17684
17685 2014-01-23 Tom Tromey <tromey@redhat.com>
17686
17687 PR python/16487:
17688 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17689 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17690 classes.
17691
17692 2014-01-23 Tom Tromey <tromey@redhat.com>
17693
17694 PR python/16491:
17695 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17696 string from an inferior frame.
17697 * gdb.python/py-framefilter-mi.exp: Update.
17698
17699 2014-01-22 Doug Evans <dje@google.com>
17700
17701 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17702
17703 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17704
17705 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17706
17707 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17708
17709 * gdb.trace/entry-values.exp: Remove excess space character from
17710 regex patterns. Handle s390 call instruction.
17711
17712 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17713
17714 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17715 define "*_start" label. Make "name" static.
17716 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17717 ${name} by references to ${name}_start.
17718
17719 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17720
17721 * gdb.base/info-macros.exp: Remove "debug" from the compile
17722 options.
17723
17724 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17725
17726 * gdb.dlang/demangle.exp: New file.
17727
17728 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17729
17730 * gdb.dlang/primitive-types.exp: New file.
17731
17732 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17733
17734 * configure.ac: Create gdb.dlang/Makefile.
17735 * configure: Regenerate.
17736 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17737 * gdb.dlang/Makefile.in: New file.
17738 * lib/d-support.exp: New file.
17739 * lib/gdb.exp (skip_d_tests): New proc.
17740
17741 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17742
17743 * gdb.btrace/delta.exp: Check reverse stepi.
17744 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17745 * gdb.btrace/finish.exp: New.
17746 * gdb.btrace/next.exp: New.
17747 * gdb.btrace/nexti.exp: New.
17748 * gdb.btrace/record_goto.c: Add comments.
17749 * gdb.btrace/step.exp: New.
17750 * gdb.btrace/stepi.exp: New.
17751 * gdb.btrace/multi-thread-step.c: New.
17752 * gdb.btrace/multi-thread-step.exp: New.
17753 * gdb.btrace/rn-dl-bind.c: New.
17754 * gdb.btrace/rn-dl-bind.exp: New.
17755 * gdb.btrace/data.c: New.
17756 * gdb.btrace/data.exp: New.
17757 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17758
17759 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17760
17761 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17762 * gdb.btrace/exception.exp: Update.
17763 * gdb.btrace/instruction_history.exp: Update.
17764 * gdb.btrace/record_goto.exp: Update.
17765 * gdb.btrace/tailcall.exp: Update.
17766 * gdb.btrace/unknown_functions.exp: Update.
17767 * gdb.btrace/delta.exp: New.
17768
17769 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17770
17771 * gdb.btrace/record_goto.exp: Add backtrace test.
17772 * gdb.btrace/tailcall.exp: Add backtrace test.
17773
17774 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17775
17776 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17777 * gdb.btrace/record_goto.c: New.
17778 * gdb.btrace/record_goto.exp: New.
17779 * gdb.btrace/x86-record_goto.S: New.
17780
17781 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17782
17783 * gdb.btrace/function_call_history.exp: Update tests.
17784 * gdb.btrace/instruction_history.exp: Update tests.
17785
17786 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17787
17788 * gdb.btrace/function_call_history.exp: Fix expected field
17789 order for "record function-call-history".
17790 Add new tests for "record function-call-history /c".
17791 * gdb.btrace/exception.cc: New.
17792 * gdb.btrace/exception.exp: New.
17793 * gdb.btrace/tailcall.exp: New.
17794 * gdb.btrace/x86-tailcall.S: New.
17795 * gdb.btrace/x86-tailcall.c: New.
17796 * gdb.btrace/unknown_functions.c: New.
17797 * gdb.btrace/unknown_functions.exp: New.
17798 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17799
17800 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17801
17802 * gdb.btrace/instruction_history.exp: Update.
17803 * gdb.btrace/function_call_history.exp: Update.
17804
17805 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17806
17807 * gdb.btrace/function_call_history.exp: Fix expected function
17808 trace.
17809 * gdb.btrace/instruction_history.exp: Initialize traced.
17810 Remove traced_functions.
17811
17812 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17813
17814 * gdb.btrace/function_call_history.exp: Update
17815 * gdb.btrace/instruction_history.exp: Update.
17816
17817 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17818
17819 * gdb.btrace/enable.exp: Update expected text.
17820
17821 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17822
17823 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17824 bytes.
17825
17826 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17827
17828 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17829
17830 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17831
17832 * lib/gdb.exp (supports_process_record): Return true for
17833 arm*-linux*. (supports_reverse): Likewise.
17834
17835 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17836
17837 PR python/15464
17838 PR python/16113
17839 * gdb.python/py-type.c: Enhance test case.
17840 * gdb.python/py-value-cc.cc: Likewise
17841 * gdb.python/py-type.exp: Add new tests.
17842 * gdb.python/py-value-cc.exp: Likewise
17843
17844 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17845 Pedro Alves <palves@redhat.com>
17846
17847 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17848 Make "name" extern.
17849 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17850 references to ${name}_start by references to ${name}.
17851
17852 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17853
17854 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17855
17856 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17857
17858 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17859
17860 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17861 Pedro Alves <palves@redhat.com>
17862
17863 * gdb.mi/mi-info-os.exp: Connect to the target with
17864 mi_gdb_target_load.
17865
17866 2014-01-08 Pedro Alves <palves@redhat.com>
17867
17868 * gdb.threads/reconnect-signal.c: New file.
17869 * gdb.threads/reconnect-signal.exp: New file.
17870
17871 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17872
17873 * gdb.base/source-dir.exp: New file.
17874
17875 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17876
17877 * gdb.ada/mi_interface: New testcase.
17878
17879 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17880
17881 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17882 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17883 gdb.ada/pp-rec-component/pck.ads: New files.
17884
17885 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17886
17887 * gdb.python/py-pp-integral.c: New file.
17888 * gdb.python/py-pp-integral.py: New file.
17889 * gdb.python/py-pp-integral.exp: New file.
17890
17891 For older changes see ChangeLog-1993-2013.
17892 \f
17893 ;; Local Variables:
17894 ;; mode: change-log
17895 ;; left-margin: 8
17896 ;; fill-column: 74
17897 ;; version-control: never
17898 ;; End:
17899
17900 Copyright 2014-2019 Free Software Foundation, Inc.
17901 Copying and distribution of this file, with or without modification,
17902 are permitted provided the copyright notice and this notice are preserved.
This page took 0.417839 seconds and 5 git commands to generate.