4b2e13215a0e6e0bd62e0a3ff5bcf17c8e222f66
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2
3 * lib/gdb.exp (support_nested_function_tests): New proc.
4
5 2019-12-10 Kevin Buettner <kevinb@redhat.com>
6
7 * lib/gdb.exp (gdb_compile_openmp): New proc.
8 (build_executable_from_specs): Add an "openmp" option.
9 (gdb_compile_pthreads): Add non-executable case.
10
11 2019-12-10 Tom Tromey <tromey@adacore.com>
12
13 * gdb.ada/unchecked_union.exp: New file.
14 * gdb.ada/unchecked_union/pck.adb: New file.
15 * gdb.ada/unchecked_union/pck.ads: New file.
16 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
17 * gdb-utils.exp (string_to_regexp): Also quote "?".
18
19 2019-12-10 George Barrett <bob@bob131.so>
20
21 Test scripted probe breakpoints.
22 * gdb.guile/scm-breakpoint.c (main): Add probe point.
23 * gdb.python/py-breakpoint.c (main): Likewise.
24 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
25 specifier test.
26 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
27
28 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
29
30 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
31 an rvalue parameter.
32 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
33 parameter.
34
35 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
36
37 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
38 modules.
39
40 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
41
42 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
43 broken version of GCC.
44
45 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
46
47 * gdb.fortran/info-modules.exp: Rewrite to make use of new
48 sym-info-cmds library.
49 * gdb.fortran/info-types.exp: Likewise.
50 * lib/sym-info-cmds.exp: New file.
51
52 2019-12-08 Tom de Vries <tdevries@suse.de>
53
54 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
55
56 2019-12-07 Keith Seitz <keiths@redhat.com>
57
58 * gdb.base/corefile-buildid-shlib-shr.c: New file.
59 * gdb.base/corefile-buildid-shlib.c: New file.
60 * gdb.base/corefile-buildid.c: New file.
61 * gdb.base/corefile-buildid.exp: New file.
62
63 2019-12-06 Tom de Vries <tdevries@suse.de>
64
65 * gdb.dwarf2/varval.exp: Add decl before def test.
66
67 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
68
69 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
70
71 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
72
73 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
74 CV and reference conversion for overload resolution.
75 * gdb.cp/rvalue-ref-overload.exp: Test it.
76
77 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
78
79 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
80 * gdb.base/frameapply.exp: Test faas without command.
81
82 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
83
84 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
85 Fortran tests.
86 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
87 order.
88
89 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
90
91 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
92 casting to type with no kind specified.
93 (test_basic_parsing_of_type_kinds): Additional tests for types
94 with no kind specified, and add tests for single/double
95 precision/complex types.
96
97 2019-12-04 Tom Tromey <tromey@adacore.com>
98
99 * gdb.base/endianity.c (struct other) <x>: New field.
100 (main): Initialize it.
101 * gdb.base/endianity.exp: Update.
102
103 2019-12-04 Tom Tromey <tromey@adacore.com>
104
105 * gdb.ada/scalar_storage/storage.adb: New file.
106 * gdb.ada/scalar_storage/pck.adb: New file.
107 * gdb.ada/scalar_storage/pck.ads: New file.
108 * gdb.ada/scalar_storage.exp: New file.
109
110 2019-12-04 Tom Tromey <tromey@adacore.com>
111
112 * gdb.base/endianity.c (struct otherendian) <f>: New field.
113 (main): Initialize it.
114 * gdb.base/endianity.exp: Update.
115
116 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
117
118 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
119
120 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
121
122 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
123 -symbol-info-module-functions and -symbol-info-module-variables.
124
125 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
126
127 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
128
129 2019-12-01 Richard Bunt <richard.bunt@arm.com>
130 Andrew Burgess <andrew.burgess@embecosm.com>
131
132 * gdb.fortran/derived-type-striding.exp: New file.
133 * gdb.fortran/derived-type-striding.f90: New file.
134 * gdb.fortran/array-slices.exp: New file.
135 * gdb.fortran/array-slices.f90: New file.
136
137 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
138
139 * gdb.base/define.exp: Test . in command names.
140 * gdb.base/setshow.exp: Update test, as . is now part of
141 command name.
142
143 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
144
145 * gdb.base/define-prefix.exp: New file.
146
147 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
148
149 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
150 compile.
151 (skip_btrace_pt_tests): Likewise.
152
153 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
154
155 * gdb.fortran/info-modules.exp: Compile source files in correct
156 order.
157
158 2019-11-27 Kevin Buettner <kevinb@redhat.com>
159
160 * gdb.dwarf2/imported-unit.exp: New file.
161 * gdb.dwarf2/imported-unit.c: New file.
162
163 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
164
165 * gdb.mi/mi-fortran-modules-2.f90: New file.
166 * gdb.mi/mi-fortran-modules.exp: New file.
167 * gdb.mi/mi-fortran-modules.f90: New file.
168
169 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
170
171 * gdb.mi/mi-sym-info-1.c: New file.
172 * gdb.mi/mi-sym-info-2.c: New file.
173 * gdb.mi/mi-sym-info.exp: New file.
174
175 2019-11-22 Tom Tromey <tromey@adacore.com>
176
177 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
178 * gdb.ada/tasks/foo.adb: Add another stopping location.
179
180 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
181
182 * gdb.base/endianity.c: New test.
183 * gdb.base/endianity.exp: New file.
184
185 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
186
187 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
188
189 2019-11-21 Tom de Vries <tdevries@suse.de>
190
191 PR gdb/24956
192 * gdb.base/ui-redirect.exp: Test output of user-defined command.
193
194 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
195
196 * gdb.python/py-progspace.exp: Add missing parentheses on some
197 'print' commands.
198
199 2019-11-19 Tom Tromey <tom@tromey.com>
200
201 * gdb.tui/winheight.exp: New file.
202
203 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
204
205 * gdb.base/ctf-whatis.c: Delete.
206 * gdb.base/ctf-whatis.exp: Delete.
207 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
208
209 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
210
211 * gdb.base/ctf-cvexpr.exp: Delete.
212 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
213
214 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
215
216 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
217 the compiler. Clean up header comment a little.
218 * gdb.base/ctf-ptype.exp: Likewise.
219 * gdb.base/ctf-whatis.exp: Likewise.
220 * lib/gdb.exp (skip_ctf_tests): New proc.
221
222 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
223
224 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
225 * gdb.tui/corefile-run.exp: New file.
226
227 2019-11-14 Tom Tromey <tromey@adacore.com>
228
229 * gdb.base/gdbvars.exp (test_convenience_variables): Add
230 regression tests.
231
232 2019-11-12 Tom Tromey <tom@tromey.com>
233
234 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
235 after any command. Expect prompt after WAIT_FOR is seen.
236 (enter_tui): Enable resize messages.
237 (command): Expect command in output.
238 (get_line): Avoid error when cursor appears to be off-screen.
239 (dump_screen): Include screen size in title.
240 (_do_resize): New proc, from "resize".
241 (resize): Rewrite. Do resize in two steps.
242 * gdb.tui/empty.exp (layouts): Fix entries.
243 (check_boxes): Remove xfail.
244 (check_text): Dump screen on failure.
245
246 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
247
248 * gdb.python/py-symbol.exp: Add test for
249 gdb.lookup_static_symbols.
250
251 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
252
253 * gdb.python/py-symbol.c: Declare and call function from new
254 py-symbol-2.c file.
255 * gdb.python/py-symbol.exp: Compile both source files, and add new
256 tests for gdb.lookup_static_symbol.
257 * gdb.python/py-symbol-2.c: New file.
258
259 2019-11-02 Tom de Vries <tdevries@suse.de>
260
261 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
262 * gdb.base/anon.exp: Same.
263 * gdb.base/auto-connect-native-target.exp: Same.
264 * gdb.base/call-ar-st.exp: Same.
265 * gdb.base/catch-syscall.exp: Same.
266 * gdb.base/commands.exp: Same.
267 * gdb.base/default.exp: Same.
268 * gdb.base/display.exp: Same.
269 * gdb.base/float.exp: Same.
270 * gdb.base/foll-fork.exp: Same.
271 * gdb.base/help.exp: Same.
272 * gdb.base/info-macros.exp: Same.
273 * gdb.base/info-proc.exp: Same.
274 * gdb.base/info-target.exp: Same.
275 * gdb.base/long_long.exp: Same.
276 * gdb.base/macscp.exp: Same.
277 * gdb.base/memattr.exp: Same.
278 * gdb.base/nofield.exp: Same.
279 * gdb.base/pointers.exp: Same.
280 * gdb.base/printcmds.exp: Same.
281 * gdb.base/ptype.exp: Same.
282 * gdb.base/restore.exp: Same.
283 * gdb.base/return.exp: Same.
284 * gdb.base/scope.exp: Same.
285 * gdb.base/set-noassign.exp: Same.
286 * gdb.base/setshow.exp: Same.
287 * gdb.base/shlib-call.exp: Same.
288 * gdb.base/signals.exp: Same.
289 * gdb.base/sigstep.exp: Same.
290 * gdb.base/skip.exp: Same.
291 * gdb.base/solib-symbol.exp: Same.
292 * gdb.base/stap-probe.exp: Same.
293 * gdb.base/step-line.exp: Same.
294 * gdb.base/step-test.exp: Same.
295 * gdb.base/style.exp: Same.
296 * gdb.base/varargs.exp: Same.
297 * gdb.base/vla-datatypes.exp: Same.
298 * gdb.base/vla-ptr.exp: Same.
299 * gdb.base/vla-sideeffect.exp: Same.
300 * gdb.base/volatile.exp: Same.
301 * gdb.base/watch-cond-infcall.exp: Same.
302 * gdb.base/watchpoint.exp: Same.
303
304 2019-11-02 Tom de Vries <tdevries@suse.de>
305
306 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
307 * gdb.cp/cpexprs.exp: Same.
308 * gdb.cp/except-multi-location.exp: Same.
309 * gdb.cp/exceptprint.exp: Same.
310 * gdb.cp/gdb2384.exp: Same.
311 * gdb.cp/inherit.exp: Same.
312 * gdb.cp/m-static.exp: Same.
313 * gdb.cp/meth-typedefs.exp: Same.
314 * gdb.cp/misc.exp: Same.
315 * gdb.cp/namespace.exp: Same.
316 * gdb.cp/non-trivial-retval.exp: Same.
317 * gdb.cp/overload.exp: Same.
318 * gdb.cp/pr17132.exp: Same.
319 * gdb.cp/re-set-overloaded.exp: Same.
320 * gdb.cp/rvalue-ref-types.exp: Same.
321 * gdb.cp/templates.exp: Same.
322
323 2019-11-01 Luis Machado <luis.machado@linaro.org>
324
325 PR gdb/25124
326
327 * gdb.arch/pr25124.S: New file.
328 * gdb.arch/pr25124.exp: New file.
329
330 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
331
332 * gdb.fortran/info-modules.exp: Update expected results, and add
333 additional tests for 'info module functinos', and 'info module
334 variables'.
335 * gdb.fortran/info-types.exp: Update expected results.
336 * gdb.fortran/info-types.f90: Extend testcase with additional
337 module variables and functions.
338
339 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
340
341 * gdb.fortran/info-modules.exp: New file.
342 * gdb.fortran/info-types.exp: Build with new file.
343 * gdb.fortran/info-types.f90: Include and use new module.
344 * gdb.fortran/info-types-2.f90: New file.
345
346 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
347
348 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
349 * gdb.base/settings.exp: Test all settings types using
350 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
351 that now verifies that the value of "maint show" is the same as
352 returned by the settings functions. Test the type of the
353 maintenance settings.
354 * gdb.base/default.exp: Update show_conv_list.
355
356 2019-10-31 Tom de Vries <tdevries@suse.de>
357
358 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
359 gdb_test.
360 * gdb.arch/amd64-disp-step.exp: Same.
361 * gdb.asm/asm-source.exp: Same.
362 * gdb.btrace/buffer-size.exp: Same.
363 * gdb.btrace/cpu.exp: Same.
364 * gdb.btrace/enable.exp: Same.
365 * gdb.dwarf2/count.exp: Same.
366 * gdb.dwarf2/dw2-ranges-func.exp: Same.
367 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
368 * gdb.fortran/vla-datatypes.exp: Same.
369 * gdb.fortran/vla-history.exp: Same.
370 * gdb.fortran/vla-ptype.exp: Same.
371 * gdb.fortran/vla-value.exp: Same.
372 * gdb.fortran/whatis_type.exp: Same.
373 * gdb.guile/guile.exp: Same.
374 * gdb.multi/tids.exp: Same.
375 * gdb.python/py-finish-breakpoint.exp: Same.
376 * gdb.python/py-framefilter.exp: Same.
377 * gdb.python/py-pp-registration.exp: Same.
378 * gdb.python/py-xmethods.exp: Same.
379 * gdb.python/python.exp: Same.
380 * gdb.server/connect-with-no-symbol-file.exp: Same.
381 * gdb.server/no-thread-db.exp: Same.
382 * gdb.server/run-without-local-binary.exp: Same.
383 * gdb.stabs/weird.exp: Same.
384 * gdb.threads/attach-many-short-lived-threads.exp: Same.
385 * gdb.threads/thread-find.exp: Same.
386 * gdb.threads/tls-shared.exp: Same.
387 * gdb.threads/tls.exp: Same.
388 * gdb.threads/wp-replication.exp: Same.
389 * gdb.trace/ax.exp: Same.
390 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
391
392 2019-10-31 Tom de Vries <tdevries@suse.de>
393
394 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
395 * gdb.ada/array_subscript_addr.exp: Same.
396 * gdb.ada/arrayidx.exp: Same.
397 * gdb.ada/arrayparam.exp: Same.
398 * gdb.ada/arrayptr.exp: Same.
399 * gdb.ada/boolean_expr.exp: Same.
400 * gdb.ada/call_pn.exp: Same.
401 * gdb.ada/complete.exp: Same.
402 * gdb.ada/fixed_cmp.exp: Same.
403 * gdb.ada/fun_addr.exp: Same.
404 * gdb.ada/funcall_param.exp: Same.
405 * gdb.ada/interface.exp: Same.
406 * gdb.ada/mod_from_name.exp: Same.
407 * gdb.ada/null_array.exp: Same.
408 * gdb.ada/packed_array.exp: Same.
409 * gdb.ada/packed_tagged.exp: Same.
410 * gdb.ada/print_chars.exp: Same.
411 * gdb.ada/print_pc.exp: Same.
412 * gdb.ada/ptype_arith_binop.exp: Same.
413 * gdb.ada/ptype_field.exp: Same.
414 * gdb.ada/ptype_tagged_param.exp: Same.
415 * gdb.ada/rec_return.exp: Same.
416 * gdb.ada/ref_tick_size.exp: Same.
417 * gdb.ada/str_ref_cmp.exp: Same.
418 * gdb.ada/taft_type.exp: Same.
419 * gdb.ada/tagged.exp: Same.
420 * gdb.ada/type_coercion.exp: Same.
421 * gdb.ada/uninitialized_vars.exp: Same.
422
423 2019-10-30 Tom de Vries <tdevries@suse.de>
424
425 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
426
427 2019-10-26 Tom de Vries <tdevries@suse.de>
428
429 * gdb.base/bigcore.c: Fix typos in comments.
430 * gdb.base/ctf-ptype.c: Same.
431 * gdb.base/long_long.c: Same.
432 * gdb.dwarf2/dw2-op-out-param.S: Same.
433 * gdb.python/py-evthreads.c: Same.
434 * gdb.reverse/i387-stack-reverse.c: Same.
435 * gdb.trace/tfile.c: Same.
436 * lib/compiler.c: Same.
437 * lib/compiler.cc: Same.
438
439 2019-10-25 Tom de Vries <tdevries@suse.de>
440
441 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
442 gdb_test_multiple calls.
443 * gdb.reverse/sigall-reverse.exp: Same.
444 * gdb.reverse/solib-precsave.exp: Same.
445 * gdb.reverse/solib-reverse.exp: Same.
446 * gdb.reverse/until-precsave.exp: Same.
447 * gdb.reverse/until-reverse.exp: Same.
448
449 2019-10-24 Tom de Vries <tdevries@suse.de>
450
451 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
452 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
453 kfail using -wrap pattern flag and convenience variable
454 gdb_test_name.
455
456 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
457
458 * gdb.python/py-progspace.exp: Add tests for the
459 Progspace.block_for_pc method.
460
461 2019-10-23 Tom Tromey <tom@tromey.com>
462
463 * configure: Rebuild.
464 * aclocal.m4: Use m4_include, not sinclude.
465
466 2019-10-21 Tom de Vries <tdevries@suse.de>
467
468 * gdb.base/infcall-nested-structs.c: Add
469 __attribute__((noinline,noclone)) to all functions.
470 (call_all): Add missing variable initialization. Simplify return value.
471 (breakpt): Increment volatile variable, to prevent call from being
472 optimized out.
473 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
474
475 2019-10-17 Tom de Vries <tdevries@suse.de>
476
477 * gdb.fortran/module.exp: Allow info variables to print info for files
478 other than module.f90.
479
480 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
481
482 * gdb.fortran/module.exp: Extend with 'info variables' test.
483
484 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
485
486 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
487 F77_FOR_TARGET.
488
489 2019-10-16 Tom de Vries <tdevries@suse.de>
490
491 PR tdep/25096
492 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
493
494 2019-10-16 Tom de Vries <tdevries@suse.de>
495
496 PR tdep/24104
497 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
498 Add KFAIL for PR tdep/25096.
499
500 2019-10-16 Tom de Vries <tdevries@suse.de>
501
502 PR testsuite/25059
503 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
504
505 2019-10-16 Tom de Vries <tdevries@suse.de>
506
507 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
508 as signed.
509
510 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
511
512 * gdb.mi/list-thread-groups-available.exp: Read entries one by
513 one instead of increasing timeout.
514
515 2019-10-13 Tom de Vries <tdevries@suse.de>
516
517 PR record/25038
518 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
519 * gdb.reverse/sigall-reverse.exp: Same.
520 * gdb.reverse/solib-precsave.exp: Same.
521 * gdb.reverse/solib-reverse.exp: Same.
522 * gdb.reverse/step-precsave.exp: Same.
523 * gdb.reverse/until-precsave.exp: Same.
524 * gdb.reverse/until-reverse.exp: Same.
525 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
526
527 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
528
529 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
530 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
531 (cmp_struct_05_01, cmp_struct_static_02_01)
532 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
533 comparisons.
534
535 2019-10-10 Tom de Vries <tdevries@suse.de>
536
537 PR testsuite/24888
538 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
539 gnatlink.
540
541 2019-10-09 Tom de Vries <tdevries@suse.de>
542
543 PR testsuite/25048
544 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
545
546 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
547
548 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
549 exceptions due to missing debug information.
550
551 2019-10-07 Tom de Vries <tdevries@suse.de>
552
553 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
554
555 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
558 * gdb.base/annota1.exp: Update to use gdb_test_name.
559
560 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
561
562 * gdb.base/ctf-whatis.exp: New file.
563 * gdb.base/ctf-whatis.c: New file.
564 * gdb.base/ctf-ptype.exp: New file.
565 * gdb.base/ctf-ptype.c: New file.
566 * gdb.base/ctf-constvars.exp: New file.
567 * gdb.base/ctf-constvars.c: New file.
568 * gdb.base/ctf-cvexpr.exp: New file.
569
570 2019-10-04 Tom de Vries <tdevries@suse.de>
571
572 * gdb.cp/local-static.c (main): Move declaration of int i out of the
573 for loop.
574
575 2019-10-03 Tom Tromey <tom@tromey.com>
576
577 PR rust/24976:
578 * gdb.rust/simple.rs (Union2): New type.
579 (main): Use Union2.
580 * gdb.rust/simple.exp: Add test.
581
582 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
583
584 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
585 nested function prefix.
586
587 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
588 Richard Bunt <richard.bunt@arm.com>
589 Andrew Burgess <andrew.burgess@embecosm.com>
590
591 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
592 nested functions.
593 * gdb.fortran/nested-funcs.f90: Update expected results.
594 * gdb.fortran/nested-funcs-2.exp: New file.
595 * gdb.fortran/nested-funcs-2.f90: New file.
596
597 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
598
599 * gdb.python/py-parameter.exp: Make test names unique.
600 * gdb.python/py-template.exp: Likewise.
601 * gdb.python/py-value.exp: Likewise.
602
603 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
604
605 * gdb.base/break-interp.exp: Reduce test name duplication.
606 * gdb.base/call-sc.exp: Likewise.
607 * gdb.base/callfuncs.exp: Likewise.
608 * gdb.base/charset.exp: Likewise.
609 * gdb.base/dump.exp: Likewise.
610 * gdb.base/ena-dis-br.exp: Likewise.
611 * gdb.base/relational.exp: Likewise.
612 * gdb.base/step-over-syscall.exp: Likewise.
613 * gdb.base/structs.exp: Likewise.
614
615 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
616
617 * gdb.linespec/explicit.exp: Make test names unique.
618 * gdb.linespec/ls-errs.exp: Likewise.
619
620 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
621
622 * gdb.reverse/break-precsave.exp: Make test names unique.
623 * gdb.reverse/break-reverse.exp: Likewise.
624 * gdb.reverse/finish-precsave.exp: Likewise.
625 * gdb.reverse/finish-reverse.exp: Likewise.
626 * gdb.reverse/machinestate-precsave.exp: Likewise.
627 * gdb.reverse/machinestate.exp: Likewise.
628 * gdb.reverse/readv-reverse.exp: Likewise.
629 * gdb.reverse/recvmsg-reverse.exp: Likewise.
630 * gdb.reverse/sigall-precsave.exp: Likewise.
631 * gdb.reverse/sigall-reverse.exp: Likewise.
632 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
633 * gdb.reverse/watch-precsave.exp: Likewise.
634 * gdb.reverse/watch-reverse.exp: Likewise.
635
636 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
637
638 * gdb.threads/stop-with-handle.c: New file.
639 * gdb.threads/stop-with-handle.exp: New file.
640
641 2019-10-03 Tom de Vries <tdevries@suse.de>
642
643 PR testsuite/25059
644 * gdb.base/list-missing-source.exp: Allowing the "Compilation
645 directory" line to be missing.
646
647 2019-10-03 Tom de Vries <tdevries@suse.de>
648
649 PR testsuite/25059
650 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
651 type optional.
652
653 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
654
655 * gdb.python/py-format-string.c (string.h): New include.
656 (main): Fill a_struct_with_union.the_union.an_int with bytes of
657 the same value, for endianness-independence.
658 * gdb.python/py-format-string.exp (default_regexp_dict)
659 (test_pretty_structs, test_format): Adjust expected output to the
660 changed initialization.
661
662 2019-10-02 Tom Tromey <tromey@adacore.com>
663
664 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
665
666 2019-10-02 Pedro Alves <palves@redhat.com>
667 Andrew Burgess <andrew.burgess@embecosm.com>
668
669 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
670 "print-file-var.h".
671 (this_version_id) Use ATTRIBUTE_VISIBILITY.
672 (get_version_1): Print this_version_id and its address.
673 Add extern "C" wrappers around interface functions.
674 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
675 "print-file-var.h".
676 (this_version_id) Use ATTRIBUTE_VISIBILITY.
677 (get_version_2): Print this_version_id and its address.
678 Add extern "C" wrappers around interface functions.
679 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
680 <stddef.h> and "print-file-var.h".
681 Add extern "C" wrappers around interface functions.
682 [VERSION_ID_MAIN] (this_version_id): Define.
683 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
684 * gdb.base/print-file-var.h: Add some #defines to simplify setting
685 up extern "C" blocks.
686 * gdb.base/print-file-var.exp (test): New, factored out from top
687 level.
688 (top level): Test all combinations of attribute hidden or not,
689 dlopen or not, and this_version_id symbol in main file or not.
690 Compile tests as both C++ and C, make test names unique.
691
692 2019-10-01 Tom Tromey <tom@tromey.com>
693
694 * gdb.base/style.exp: Test "show logging filename".
695
696 2019-10-01 Tom Tromey <tom@tromey.com>
697
698 * lib/gdb-utils.exp (style): Handle "metadata" argument.
699 * gdb.base/style.exp: Add metadata style test.
700
701 2019-10-01 Tom Tromey <tom@tromey.com>
702
703 * gdb.base/style.exp: Test "pwd".
704
705 2019-10-01 Tom Tromey <tom@tromey.com>
706
707 * gdb.base/style.exp: Update tests.
708
709 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
710
711 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
712 'six' to unsigned.
713 (s1): Initialize fields 'four' and 'six' instead of 'three' and
714 'five'. Use an all-ones bit pattern for each.
715 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
716 to its changed values.
717
718 2019-09-30 Tom Tromey <tromey@adacore.com>
719
720 * gdb.rust/traits.rs: Disable all warnings.
721
722 2019-09-29 Tom de Vries <tdevries@suse.de>
723
724 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
725
726 2019-09-29 Tom de Vries <tdevries@suse.de>
727
728 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
729
730 2019-09-27 Tom de Vries <tdevries@suse.de>
731
732 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
733
734 2019-09-27 Tom de Vries <tdevries@suse.de>
735
736 PR record/23188
737 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
738
739 2019-09-26 Tom Tromey <tromey@adacore.com>
740
741 * gdb.ada/py_taft.exp: New file.
742 * gdb.ada/py_taft/main.adb: New file.
743 * gdb.ada/py_taft/pkg.adb: New file.
744 * gdb.ada/py_taft/pkg.ads: New file.
745
746 2019-09-24 Tom de Vries <tdevries@suse.de>
747
748 PR gdb/24598
749 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
750
751 2019-09-22 Tom de Vries <tdevries@suse.de>
752
753 * gdb.base/restore.exp: Allow register variables to be optimized out at
754 -O0.
755
756 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
757
758 * gdb.arch/spu-info.exp: Remove file.
759 * gdb.arch/spu-info.c: Remove file.
760 * gdb.arch/spu-ls.exp: Remove file.
761 * gdb.arch/spu-ls.c: Remove file.
762
763 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
764 * gdb.asm/spu.inc: Remove file.
765
766 * gdb.base/dump.exp: Remove support for spu*-*-*.
767 * gdb.base/stack-checking.exp: Likewise.
768 * gdb.base/overlays.exp: Likewise.
769 * gdb.base/ovlymgr.c: Likewise.
770 * gdb.base/spu.ld: Remove file.
771
772 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
773 * gdb.cp/cpexprs.exp: Likewise.
774 * gdb.cp/exception.exp: Likewise.
775 * gdb.cp/gdb2495.exp: Likewise.
776 * gdb.cp/mb-templates.exp: Likewise.
777 * gdb.cp/pr9167.exp: Likewise.
778 * gdb.cp/userdef.exp: Likewise.
779
780 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
781
782 * gdb.cell: Remove directory.
783 * lib/cell.exp: Remove file.
784
785 2019-09-19 Tom de Vries <tdevries@suse.de>
786
787 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
788
789 2019-09-19 Tom de Vries <tdevries@suse.de>
790
791 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
792
793 2019-09-19 Tom de Vries <tdevries@suse.de>
794
795 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
796 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
797 (gdb_target_cmd): ... here.
798 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
799 value 2.
800
801 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
802
803 * gdb.base/source-dir.exp: Avoid having directory names in test
804 names.
805
806 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
807
808 * gdb.base/source-dir.exp: Add extra test for mapped compilation
809 directory.
810
811 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
812
813 * gdb.base/list-missing-source.exp: New file.
814
815 2019-09-14 Tom de Vries <tdevries@suse.de>
816
817 PR teststuite/24599
818 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
819 * lib/ada.exp (gnatmake_version_at_least): New proc.
820
821 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
822
823 * gdb.base/maint.exp: Use exec_has_index_section.
824
825 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
826
827 * gdb.base/maint.exp: Add test for 'maint info sections'.
828
829 2019-09-12 Tom de Vries <tdevries@suse.de>
830
831 * gdb.base/store.exp: Allow register variables to be optimized out at
832 -O0.
833
834 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
835
836 * gdb.ada/rdv_wait.exp: Update to new task names.
837 * gdb.base/task_switch_in_core.exp: Likewise.
838 * gdb.base/info_sources_base.c: Likewise.
839
840 2019-09-10 Tom Tromey <tromey@adacore.com>
841
842 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
843
844 2019-09-10 Tom Tromey <tromey@adacore.com>
845
846 * gdb.ada/dgopt.exp: New file.
847 * gdb.ada/dgopt/x.adb: New file.
848
849 2019-09-08 Tom Tromey <tom@tromey.com>
850
851 * gdb.tui/resize.exp: Remove setup_xfail.
852 * gdb.tui/regs.exp: Remove setup_xfail.
853 * gdb.tui/basic.exp: Remove setup_xfail.
854
855 2019-09-06 David Blaikie <dblaikie@gmail.com>
856
857 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
858 * gdb.cp/cplabel.exp: Ditto.
859 * gdb.linespec/ls-errs.exp: Ditto.
860
861 2019-09-05 Tom de Vries <tdevries@suse.de>
862
863 * lib/gdb.exp (cmp_file_string): New proc.
864 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
865 runto_main. Verify save breakpoints output.
866
867 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
868
869 * gdb.base/info-var.exp: Test info variables without running
870 to main, to avoid expect's buffer overflow.
871
872 2019-09-03 Tom Tromey <tromey@adacore.com>
873
874 * gdb.ada/bias.exp: New file.
875 * gdb.ada/bias/bias.adb: New file.
876 * gdb.ada/print_chars.exp: Add regression test.
877 * gdb.ada/print_chars/foo.adb (My_Character): New type.
878 (MC): New variable.
879
880 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
881
882 * gdb.base/argv0-symlink.exp: Run only on native target
883 and local host.
884
885 2019-08-29 Tom de Vries <tdevries@suse.de>
886
887 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
888 diverse debug info.
889 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
890
891 2019-08-28 Tom de Vries <tdevries@suse.de>
892
893 * gdb.base/info-var.exp: Allow info variables to print info for files
894 other than info-var-f1.c and info-var-f2.c.
895
896 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
897
898 * gdb.fortran/info-types.exp: Add module.
899 * gdb.fortran/info-types.f90: Update expected results.
900
901 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
902
903 * gdb.fortran/info-types.exp: New file.
904 * gdb.fortran/info-types.f90: New file.
905 * lib/fortran.exp (fortran_character1): New proc.
906
907 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
908
909 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
910 functions'. Reindent as needed.
911 * gdb.base/info-var-f1.c: New file.
912 * gdb.base/info-var-f2.c: New file.
913 * gdb.base/info-var.exp: New file.
914 * gdb.base/info-var.h: New file.
915
916 2019-08-26 Tom de Vries <tdevries@suse.de>
917
918 PR c++/24852
919 * gdb.cp/no-libstdcxx-probe.exp: New test.
920
921 2019-08-26 Tom de Vries <tdevries@suse.de>
922
923 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
924 * tests need to be skipped.
925 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
926 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
927 mi_skip_libstdcxx_probe_tests.
928
929 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
930
931 * gdb.python/py-xmethods.exp: Use raw strings when passing
932 arguments to SimpleXMethodMatcher.
933
934 2019-08-22 Tom de Vries <tdevries@suse.de>
935
936 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
937 more informative.
938
939 2019-08-21 Pedro Alves <palves@redhat.com>
940
941 * gdb.base/with.exp: Test "with" with no arguments.
942
943 2019-08-21 Tom de Vries <tdevries@suse.de>
944
945 * gdb.base/gdb-caching-proc.exp: Sort files.
946
947 2019-08-20 Tom de Vries <tdevries@suse.de>
948
949 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
950 compilation.
951
952 2019-08-16 Tom de Vries <tdevries@suse.de>
953
954 * gdb.base/compare-sections.exp ("after run to main"): Allow
955 mismatched read-only sections for PIE executables.
956
957 2019-08-16 Tom Tromey <tom@tromey.com>
958
959 * lib/tuiterm.exp (_csi_Z): New proc.
960 * gdb.tui/basic.exp: Update window positions.
961 * gdb.tui/empty.exp: Update window positions.
962
963 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
964
965 * gdb.base/examine-backward.exp: Correct regexp for
966 "examine 3 bytes backward from ${address_zero}".
967
968 2019-08-15 Tom Tromey <tom@tromey.com>
969
970 * gdb.tui/empty.exp: Enable resizing tests.
971
972 2019-08-15 Tom Tromey <tromey@adacore.com>
973
974 * gdb.ada/char_enum.exp: Add regression tests.
975 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
976 and '0'.
977 (Char, Gchar): Update.
978 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
979
980 2019-08-15 Christian Biesinger <cbiesinger@google.com>
981
982 * gdb.python/python.exp: Expect a leading underscore on
983 GdbOutput{,Error}File.
984
985 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
986
987 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
988 Windows host.
989
990 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
991
992 * gdb.base/batch-preserve-term-settings.exp
993 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
994
995 2019-08-15 Christian Biesinger <cbiesinger@google.com>
996
997 * lib/gdb.exp: When running on a mingw target, replace
998 /x/ with x:/.
999
1000 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1001
1002 * gdb.arch/aarch64-prologue.c: New test.
1003 * gdb.arch/aarch64-prologue.exp: New file.
1004
1005 2019-08-13 Tom de Vries <tdevries@suse.de>
1006
1007 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1008 Thread.
1009
1010 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1011
1012 * gdb.python/py-completion.exp: Download the .py file to the host
1013 and use its host pathname. Conditionalize tests that use
1014 tab completion and manipulate files on the build machine.
1015 * gdb.python/py-events.exp: Download the .py file to the host
1016 and use its host pathname.
1017 * gdb.python/py-evsignal.exp: Likewise.
1018 * gdb.python/py-evthreads.exp: Likewise.
1019 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1020 pathname syntax.
1021 * gdb.python/py-framefilter.exp: Download the .py file to the right
1022 place on the host. Match Windows pathname syntax.
1023 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1024 .py file to the host and use its host pathname.
1025 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1026 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1027 build pathname. Skip symlink test on Windows host. Add missing
1028 newline at end of file.
1029 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1030 and use its host pathname.
1031 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1032 * gdb.python/py-section-script.exp: Use host location of binfile
1033 on safe-path. Use correct path separator on Windows host.
1034 Reorder alternatives in gdb_test_multiple to prevent matching
1035 the wrong alternative on success.
1036 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1037
1038 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1039
1040 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1041 expect the GDB inferior to no longer immediately stop after
1042 being resumed with "signal SIGINT".
1043
1044 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1045
1046 * gdb.linespec/break-ask.exp: Generalize regexps to match
1047 Windows pathnames too.
1048
1049 2019-08-08 Tom de Vries <tdevries@suse.de>
1050
1051 PR testsuite/24862
1052 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1053
1054 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1055
1056 * gdb.base/style.exp: Update tests for help doc new invariants.
1057 * gdb.base/help.exp: Likewise.
1058
1059 2019-08-06 Tom Tromey <tom@tromey.com>
1060
1061 * gdb.base/style.exp: Add disassemble test.
1062 * gdb.base/style.c (some_called_function): New function.
1063 (main): Use it.
1064
1065 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1066
1067 * gdb.python/py-block.exp: Test dictionary access on blocks.
1068
1069 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1070
1071 PR gdb/24863
1072 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1073 -list-thread-groups --available test when running under
1074 check-read1.
1075
1076 2019-08-05 Tom de Vries <tdevries@suse.de>
1077
1078 PR testsuite/24863
1079 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1080 * gdb.base/help.exp: Use with_read1_timeout_factor.
1081 * gdb.base/info-macros.exp: Same.
1082 * gdb.cp/nested-types.exp: Same.
1083
1084 2019-08-05 Tom de Vries <tdevries@suse.de>
1085
1086 * lib/gdb.exp (version_at_least): Factor out of ...
1087 (tcl_version_at_least): ... here.
1088 (gdb_compile): Fail if pie results in non-PIE executable.
1089 (readelf_version, readelf_prints_pie): New proc.
1090 (exec_is_pie): Return -1 if unknown.
1091
1092 2019-08-05 Tom de Vries <tdevries@suse.de>
1093
1094 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1095
1096 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1097
1098 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1099
1100 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1101
1102 * lib/completion-support.exp (test_gdb_complete_none): Skip
1103 tab completion tests if no readline support.
1104 (test_gdb_complete_unique_re): Likewise.
1105 (test_gdb_complete_multiple): Likewise.
1106
1107 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1108
1109 * gdb.base/info_sources.exp: New file.
1110 * gdb.base/info_sources.c: New file.
1111 * gdb.base/info_sources_base.c: New file.
1112
1113 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1114
1115 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1116 prefix argument.
1117 (test_exit_status): Add prefix argument.
1118
1119 2019-08-01 Tom de Vries <tdevries@suse.de>
1120
1121 PR testsuite/24863
1122 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1123 calling exp_continue for new thread and thread exited messages.
1124
1125 2019-08-01 Tom de Vries <tdevries@suse.de>
1126
1127 PR testsuite/24863
1128 * gdb.base/structs.exp: Fix check-read1 timeout using
1129 gdb_test_sequence.
1130 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1131
1132 2019-08-01 Tom de Vries <tdevries@suse.de>
1133
1134 PR testsuite/24863
1135 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1136 line.
1137
1138 2019-08-01 Tom de Vries <tdevries@suse.de>
1139
1140 PR testsuite/24863
1141 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1142
1143 2019-07-30 Tom Tromey <tromey@adacore.com>
1144
1145 * gdb.ada/display_nested.exp: New file.
1146 * gdb.ada/display_nested/foo.adb: New file.
1147 * gdb.ada/display_nested/pack.adb: New file.
1148 * gdb.ada/display_nested/pack.ads: New file.
1149
1150 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1151
1152 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1153 namespace.
1154 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1155
1156 2019-07-30 Tom de Vries <tdevries@suse.de>
1157
1158 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1159 instead.
1160
1161 2019-07-30 Tom de Vries <tdevries@suse.de>
1162
1163 PR testsuite/24834
1164 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1165 (exec_is_pie): New proc.
1166
1167 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1168
1169 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1170
1171 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1172
1173 * gdb.python/py-objfile.c: Add global and static vars.
1174 * gdb.python/py-objfile.exp: Test new functions Objfile.
1175 lookup_global_symbol and lookup_static_symbol.
1176
1177 2019-07-29 Tom Tromey <tom@tromey.com>
1178
1179 * lib/tuiterm.exp (Term::_csi_@): New proc.
1180 (Term::_csi_X): Don't move cursor.
1181
1182 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1183
1184 * gdb.base/options.exp: Update backtrace - completion to
1185 new option -frame-info.
1186 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1187 Test new 'set print frame-info'. Test backtrace -frame-info
1188 overriding 'set print frame-info'.
1189 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1190 Test new 'set print frame-info'.
1191 Verify consistency of backtrace with and without filters, with and
1192 without -no-filters.
1193 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1194 default.
1195
1196 2019-07-29 Tom de Vries <tdevries@suse.de>
1197
1198 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1199 no arguments".
1200
1201 2019-07-29 Tom de Vries <tdevries@suse.de>
1202
1203 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1204 is a substring of the first for "complete non-unique file name".
1205
1206 2019-07-29 Tom de Vries <tdevries@suse.de>
1207
1208 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1209 with ".*".
1210
1211 2019-07-29 Tom de Vries <tdevries@suse.de>
1212
1213 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1214 Pass prompt_regexp parameter to gdb_test_multiple calls.
1215
1216 2019-07-29 Tom de Vries <tdevries@suse.de>
1217
1218 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1219 print registers" regexps.
1220
1221 2019-07-29 Tom de Vries <tdevries@suse.de>
1222
1223 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1224
1225 2019-07-29 Tom de Vries <tdevries@suse.de>
1226
1227 PR gdb/24855
1228 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1229 (skip_python_tests_prompt): Add prompt_regexp argument to
1230 gdb_test_multiple calls.
1231
1232 2019-07-27 Tom Tromey <tom@tromey.com>
1233
1234 * gdb.tui/main.exp: New file.
1235
1236 2019-07-27 Tom Tromey <tom@tromey.com>
1237
1238 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1239 optional.
1240 * gdb.tui/empty.exp: New file.
1241
1242 2019-07-27 Tom Tromey <tom@tromey.com>
1243
1244 * lib/tuiterm.exp (spawn): New proc.
1245 (Term::resize): New proc.
1246 * gdb.tui/resize.exp: New file.
1247
1248 2019-07-27 Tom Tromey <tom@tromey.com>
1249
1250 * gdb.tui/list.exp: New file.
1251
1252 2019-07-27 Tom Tromey <tom@tromey.com>
1253
1254 * gdb.tui/regs.exp: New file.
1255
1256 2019-07-27 Tom Tromey <tom@tromey.com>
1257
1258 * gdb.tui/basic.exp: Add "layout split" test.
1259
1260 2019-07-27 Tom Tromey <tom@tromey.com>
1261
1262 * gdb.tui/basic.exp: Add "layout asm" test.
1263
1264 2019-07-27 Tom Tromey <tom@tromey.com>
1265
1266 * lib/tuiterm.exp: New file.
1267 * gdb.tui/basic.exp: New file.
1268
1269 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1270
1271 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1272 Enable tests associated with this flag. Adjust regex
1273 referencing "foo_low" to now refer to "foo_cold" instead.
1274
1275 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1276
1277 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1278 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1279 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1280 foo_cold. Revise comments to match.
1281 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1282 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1283 were wrapped into this proc; Call do_test in loop from outermost
1284 level.
1285 (foo_low): Rename all occurrences to "foo_cold".
1286 (backtrace from baz): New test.
1287 (x2/i foo_cold): New test.
1288 (info line *foo_cold): New test.
1289
1290 2019-07-26 Tom de Vries <tdevries@suse.de>
1291
1292 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1293
1294 2019-07-25 Tom de Vries <tdevries@suse.de>
1295
1296 PR testsuite/24830
1297 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1298 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1299 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1300 (skip_libstdcxx_probe_tests): ... here.
1301 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1302
1303 2019-07-24 Tom de Vries <tdevries@suse.de>
1304
1305 PR testsuite/24807
1306 * gdb.objc/basicclass.m: Include stdio.h.
1307 * gdb.objc/nondebug.m: Same.
1308 * gdb.objc/objcdecode.m: Same.
1309
1310 2019-07-24 Tom de Vries <tdevries@suse.de>
1311
1312 PR testsuite/24612
1313 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1314 additional_flags.
1315
1316 2019-07-24 Tom de Vries <tdevries@suse.de>
1317
1318 PR testsuite/24831
1319 * gdb.multi/tids.exp: Update error messages for info threads.
1320
1321 2019-07-24 Tom de Vries <tdevries@suse.de>
1322
1323 * gdb.base/info-types.exp: Allow info types to print info for more than
1324 one file.
1325
1326 2019-07-23 Tom de Vries <tdevries@suse.de>
1327
1328 PR testsuite/24842
1329 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1330 gdb_spawn_with_cmdline_opts.
1331
1332 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1333
1334 * gdb.arch/arm-cmse-sgstubs.c: New test.
1335 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1336
1337 2019-07-23 Tom de Vries <tdevries@suse.de>
1338
1339 PR testsuite/24711
1340 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1341 issuing next command.
1342
1343 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1344
1345 * gdb.ada/info_auto_lang.exp: Update expected results.
1346 * gdb.base/info-types.c: Add additional types to check.
1347 * gdb.base/info-types.exp: Update expected results.
1348
1349 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1350
1351 * gdb.base/info-types.c: New file.
1352 * gdb.base/info-types.exp: New file.
1353
1354 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1355
1356 * gdb.arch/riscv-bp-infcall.c: New file.
1357 * gdb.arch/riscv-bp-infcall.exp: New file.
1358
1359 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1360
1361 PR breakpoints/24541
1362 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1363
1364 2019-07-14 Tom de Vries <tdevries@suse.de>
1365
1366 PR testsuite/24760
1367 * gdb.objc/basicclass.exp: Fix unterminated string.
1368
1369 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1370 Andrew Burgess <andrew.burgess@embecosm.com>
1371
1372 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1373 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1374 negative bounds.
1375 * gdb.fortran/vla-value.exp: Print elements of an array with
1376 negative bounds.
1377 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1378 testing.
1379
1380 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1381
1382 * gdb.base/options.exp (expect_string): Dequote strings in
1383 results.
1384 (test-string): Test strings with different quoting and reindent.
1385
1386 2019-07-10 Tom Tromey <tromey@adacore.com>
1387
1388 * gdb.ada/mi_ex_cond.exp: Update expected results.
1389 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1390 * gdb.ada/mi_catch_ex.exp: Update expected results.
1391 * gdb.ada/mi_catch_assert.exp: Update expected results.
1392 * gdb.ada/catch_ex.exp (catch_exception_info)
1393 (catch_exception_entry, catch_assert_entry)
1394 (catch_unhandled_entry): Update.
1395 * gdb.ada/catch_assert_if.exp: Update expected results.
1396
1397 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1398 Stephen Roberts <stephen.roberts@arm.com>
1399
1400 * gdb.base/define.exp: Restore original prompt.
1401
1402 2019-07-09 Pedro Alves <palves@redhat.com>
1403
1404 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1405 breakpoints" output.
1406 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1407 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1408 throw" creates breakpoint.
1409 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1410 'type="catchpoint"'.
1411
1412 2019-07-09 Pedro Alves <palves@redhat.com>
1413
1414 PR c++/15468
1415 * gdb.cp/except-multi-location-lib.cc: New.
1416 * gdb.cp/except-multi-location-main.cc: New.
1417 * gdb.cp/except-multi-location.exp: New.
1418
1419 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1420
1421 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1422 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1423 argument and update callers.
1424
1425 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1426
1427 * gdb.arch/amd64-break-on-asm-line.S: New file.
1428 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1429
1430 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1431
1432 * gdb.base/printcmds.exp: Test printing C string and
1433 C wide string convenience vars without transiting via the inferior.
1434 Also make test names unique.
1435
1436 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1437
1438 PR breakpoints/25011
1439 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1440
1441 2019-07-04 Pedro Alves <palves@redhat.com>
1442
1443 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1444 body returned ok(0), break(3) or continue(4).
1445 * gdb.testsuite/foreach_with_prefix.exp: New file.
1446
1447 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1448
1449 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1450
1451 2019-07-03 Pedro Alves <palves@redhat.com>
1452
1453 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1454 "return -code".
1455
1456 2019-07-03 Pedro Alves <palves@redhat.com>
1457
1458 PR cli/24732
1459 * gdb.base/shell.exp: Load completion-support.exp.
1460 Adjust expected error output. Add completion tests.
1461
1462 2019-07-03 Pedro Alves <palves@redhat.com>
1463
1464 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1465 string_to_regexp.
1466
1467 2019-07-03 Pedro Alves <palves@redhat.com>
1468
1469 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1470 (expect_integer): Adjust to expect "-string".
1471 (expect_string): New.
1472 (all_options): Expect "-string".
1473 (test-flag, test-boolean): Adjust to expect "-string".
1474 (test-string): New proc.
1475 (top level): Call it.
1476
1477 2019-07-03 Pedro Alves <palves@redhat.com>
1478
1479 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1480 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1481 the expected output in the success.
1482
1483 2019-07-03 Pedro Alves <palves@redhat.com>
1484
1485 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1486 Split one gdb_test_multiple call in two to avoid a race.
1487
1488 2019-07-03 Pedro Alves <palves@redhat.com>
1489
1490 * gdb.base/with.c: New file.
1491 * gdb.base/with.exp: New file.
1492
1493 2019-07-03 Pedro Alves <palves@redhat.com>
1494
1495 * gdb.base/settings.exp: Replace all references to "maint
1496 test-settings set" with references to "maint set test-settings",
1497 and all references to "maint test-settings show" with references
1498 to "maint show test-settings".
1499
1500 2019-07-03 Pedro Alves <palves@redhat.com>
1501
1502 * gdb.base/settings.exp (test-string): Adjust expected out when
1503 testing "maint test-settings show filename"
1504
1505 2019-07-02 Pedro Alves <palves@redhat.com>
1506
1507 * gdb.base/options.exp (test-info-threads): New procedure.
1508 (top level): Call it.
1509
1510 2019-06-28 Tom Tromey <tromey@adacore.com>
1511
1512 * gdb.dwarf2/ada-linkage-name.c: New file.
1513 * gdb.dwarf2/ada-linkage-name.exp: New file.
1514
1515 2019-06-27 Tom Tromey <tromey@adacore.com>
1516
1517 PR c++/20020:
1518 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1519
1520 2019-06-26 Tom de Vries <tdevries@suse.de>
1521
1522 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1523
1524 2019-06-26 Tom de Vries <tdevries@suse.de>
1525
1526 * gdb.base/index-cache.exp: Add back missing debug option.
1527
1528 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1529
1530 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1531
1532 2019-06-25 Tom de Vries <tdevries@suse.de>
1533
1534 PR testsuite/24727
1535 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1536
1537 2019-06-24 Tom de Vries <tdevries@suse.de>
1538
1539 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1540
1541 2019-06-24 Tom de Vries <tdevries@suse.de>
1542
1543 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1544 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1545 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1546
1547 2019-06-24 Tom de Vries <tdevries@suse.de>
1548
1549 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1550
1551 2019-06-21 Tom de Vries <tdevries@suse.de>
1552
1553 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1554
1555 2019-06-21 Tom de Vries <tdevries@suse.de>
1556
1557 PR testsuite/24518
1558 PR ada/24713
1559 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1560 index.
1561
1562 2019-06-19 Tom Tromey <tromey@adacore.com>
1563
1564 * gdb.ada/length_cond.exp: Add intro comment.
1565
1566 2019-06-19 Tom Tromey <tromey@adacore.com>
1567
1568 * gdb.ada/length_cond.exp: New file.
1569 * gdb.ada/length_cond/length_cond.adb: New file.
1570 * gdb.ada/length_cond/pck.adb: New file.
1571 * gdb.ada/length_cond/pck.ads: New file.
1572
1573 2019-06-18 Tom de Vries <tdevries@suse.de>
1574
1575 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1576
1577 2019-06-18 Tom Tromey <tromey@adacore.com>
1578
1579 * gdb.base/list0.h: Add comment explaining control character.
1580
1581 2019-06-18 Tom de Vries <tdevries@suse.de>
1582
1583 * boards/fission.exp: Break up long debug_flags line.
1584
1585 2019-06-16 Tom de Vries <tdevries@suse.de>
1586
1587 PR gdb/24445
1588 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1589 generated index.
1590
1591 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1592
1593 PR gdb/24686
1594 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1595 improve detection of bug gdb/24541.
1596
1597 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1598
1599 PR gdb/24669
1600 * gdb.base/index-cache.exp (uses_readnow,
1601 expecting_index_cache_use): Define global variable.
1602 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1603 expecting_index_cache_use.
1604
1605 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1606 Andrew Burgess <andrew.burgess@embecosm.com>
1607
1608 * gdb.fortran/pointers.f90: New file.
1609 * gdb.fortran/print_type.exp: New file.
1610 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1611 * gdb.fortran/vla-type.exp: Likewise.
1612 * gdb.fortran/vla-value.exp: Likewise.
1613 * gdb.mi/mi-vla-fortran.exp: Likewise.
1614
1615 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1616
1617 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1618 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1619 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1620 as a stop reason.
1621
1622 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1623
1624 * gdb.base/annota1.exp: Update expected results.
1625 * gdb.cp/annota2.exp: Likewise.
1626 * gdb.cp/annota3.exp: Likewise.
1627
1628 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1629
1630 * gdb.base/style-logging.exp: Remove path from test name.
1631
1632 2019-06-14 Tom Tromey <tromey@adacore.com>
1633
1634 PR gdb/24502:
1635 * gdb.base/style-logging.exp: New file.
1636
1637 2019-06-14 Tom Tromey <tromey@adacore.com>
1638
1639 * gdb.base/symfile-warn.exp: New file.
1640 * gdb.base/symfile-warn.c: New file.
1641
1642 2019-06-14 Tom Tromey <tromey@adacore.com>
1643
1644 * gdb.base/annotate-symlink.exp: New file.
1645
1646 2019-06-14 Tom Tromey <tromey@adacore.com>
1647
1648 * gdb.ada/set_wstr.exp: Add reassignment test.
1649
1650 2019-06-14 Tom Tromey <tromey@adacore.com>
1651
1652 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1653 'unchecked_access and 'unrestricted_access as well.
1654
1655 2019-06-14 Tom Tromey <tromey@adacore.com>
1656
1657 PR ada/24539:
1658 * gdb.ada/vla.exp: Update tests.
1659 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1660 pragma.
1661
1662 2019-06-13 Pedro Alves <palves@redhat.com>
1663
1664 * gdb.base/settings.exp (test-integer): Test junk after
1665 "unlimited".
1666
1667 2019-06-13 Pedro Alves <palves@redhat.com>
1668
1669 * gdb.base/options.exp (test-thread-apply): New.
1670 (top level): Call it.
1671
1672 2019-06-13 Pedro Alves <palves@redhat.com>
1673
1674 * gdb.base/options.exp (test-frame-apply): New.
1675 (top level): Test print commands with different "frame apply"
1676 prefixes.
1677
1678 2019-06-13 Pedro Alves <palves@redhat.com>
1679
1680 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1681 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1682 'max_completions' parameter and handle it.
1683 (test_gdb_completion_offers_commands): New.
1684
1685 2019-06-13 Pedro Alves <palves@redhat.com>
1686
1687 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1688
1689 2019-06-13 Pedro Alves <palves@redhat.com>
1690
1691 * gdb.base/options.exp (test-backtrace): New.
1692 (top level): Call it.
1693
1694 2019-06-13 Pedro Alves <palves@redhat.com>
1695
1696 * gdb.guile/scm-frame-args.exp: Use "set print
1697 raw-frame-arguments" instead of "set print raw frame-arguments".
1698 * gdb.python/py-frame-args.exp: Likewise.
1699
1700 2019-06-13 Pedro Alves <palves@redhat.com>
1701
1702 * gdb.compile/compile.exp: Adjust expected output to option
1703 processing changes.
1704
1705 2019-06-13 Pedro Alves <palves@redhat.com>
1706
1707 * gdb.base/options.exp: Build executable.
1708 (test-print): New procedure.
1709 (top level): Call it, once for "print" and another for "compile
1710 print".
1711
1712 2019-06-13 Pedro Alves <palves@redhat.com>
1713
1714 * gdb.base/options.c: New file.
1715 * gdb.base/options.exp: New file.
1716
1717 2019-06-13 Pedro Alves <palves@redhat.com>
1718
1719 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1720 that "o" is ambiguous.
1721
1722 2019-06-13 Pedro Alves <palves@redhat.com>
1723
1724 * gdb.base/settings.c: New file.
1725 * gdb.base/settings.exp: New file.
1726
1727 2019-06-13 Pedro Alves <palves@redhat.com>
1728
1729 * gdb.base/completion.exp: Fix comment typo.
1730
1731 2019-06-13 Pedro Alves <palves@redhat.com>
1732
1733 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1734 foo --1" test.
1735
1736 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1737
1738 * gdb.fortran/block-data.f: New.
1739 * gdb.fortran/block-data.exp: New.
1740
1741 2019-06-11 Tom de Vries <tdevries@suse.de>
1742
1743 PR testsuite/24521
1744 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1745 message.
1746
1747 2019-06-11 Tom de Vries <tdevries@suse.de>
1748
1749 PR testsuite/24521
1750 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1751
1752 2019-06-11 Tom de Vries <tdevries@suse.de>
1753
1754 * boards/readnow.exp: New file.
1755
1756 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1757
1758 * gdb.fortran/vla-sizeof.exp: Update expected results.
1759
1760 2019-06-06 Amos Bird <amosbird@gmail.com>
1761
1762 * gdb.base/annota1.exp (thread_switch): Add test for
1763 thread-exited annotation.
1764
1765 2019-06-06 Tom Tromey <tromey@adacore.com>
1766
1767 * gdb.base/maint.exp: Expect command started/finished output.
1768
1769 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1770
1771 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1772 comment.
1773 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1774
1775 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1776
1777 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1778 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1779 * gdb.arch/riscv-unwind-long-insn.c: New file.
1780 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1781
1782 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1783
1784 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1785
1786 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1787
1788 * lib/gdb.exp (help_list_trailer): New regexp variable
1789 factorizing the help trailer message.
1790 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1791 arg to allow to better factorize various tests.
1792 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1793 (test_prefix_command_help): Use help_list_trailer.
1794 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1795 * gdb.guile/scm-cmd.exp: Likewise.
1796 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1797 * gdb.base/help.exp: Use test_user_defined_class_help.
1798 * gdb.base/style.exp: Add tests for styling of help and apropos.
1799 * lib/gdb-utils.exp (style): Add title and highlight styles.
1800
1801 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1802
1803 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1804 $_shell_exitsignal.
1805 * gdb.base/default.exp: Update for new convenience variables.
1806
1807 2019-05-29 Tom Tromey <tromey@adacore.com>
1808
1809 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1810 to "break complete ada" test case's regexp.
1811
1812 2019-05-29 Tom Tromey <tromey@adacore.com>
1813
1814 PR c++/20020:
1815 * gdb.cp/constexpr-field.exp: New file.
1816 * gdb.cp/constexpr-field.cc: New file.
1817
1818 2019-05-29 Tom Tromey <tromey@adacore.com>
1819
1820 * gdb.base/finish.exp (finish_no_print): New proc.
1821 (finish_tests): Call it.
1822
1823 2019-05-24 Tom de Vries <tdevries@suse.de>
1824
1825 * gdb.dwarf2/gdb-add-index.exp: New file.
1826
1827 2019-05-22 Tom Tromey <tromey@adacore.com>
1828
1829 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1830 * gdb.base/style.exp: Use "style".
1831 * lib/gdb-utils.exp (style): New proc.
1832
1833 2019-05-22 Tom de Vries <tdevries@suse.de>
1834
1835 * gdb.base/align.exp: Require c++11.
1836
1837 2019-05-22 Tom de Vries <tdevries@suse.de>
1838
1839 PR testsuite/24586
1840 * gdb.python/py-mi-var-info-path-expression.exp: Call
1841 mi_skip_python_tests to check if python is supported.
1842
1843 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1844
1845 * gdb.arch/aarch64-pauth.c: New test.
1846 * gdb.arch/aarch64-pauth.exp: New file.
1847
1848 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1849
1850 * README (Re-running Tests Outside The Testsuite): New section.
1851
1852 2019-05-21 Tom de Vries <tdevries@suse.de>
1853
1854 * gdb.arch/amd64-eval.exp: Require c++11.
1855 * gdb.base/max-depth.exp: Same.
1856 * gdb.compile/compile-cplus-array-decay.exp: Same.
1857 * gdb.cp/meth-typedefs.exp: Same.
1858 * gdb.cp/subtypes.exp: Same.
1859 * gdb.cp/temargs.exp: Same.
1860
1861 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1862
1863 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1864
1865 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1866
1867 PR gdb/18644
1868 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1869 * gdb.fortran/printing-types.exp: Add new test.
1870 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1871 testing.
1872 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1873 setup_kfail call.
1874
1875 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1876
1877 * README (Running the Testsuite): Change example.
1878 (Testsuite Parameters): Remove TRANSCRIPT.
1879 * lib/gdb.exp: Remove TRANSCRIPT check.
1880
1881 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1882
1883 * README (Testsuite Parameters): Add replay logging to
1884 GDBSERVER_DEBUG.
1885 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1886 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1887 as a comma separated list.
1888 (gdb_debug_init): Override procedure.
1889
1890 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1891
1892 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1893 (gdb_write_cmd_file): New procedure.
1894 * lib/gdbserver-support.exp (gdbserver_start): Call
1895 gdbserver_write_cmd_file.
1896 (gdbserver_write_cmd_file): New procedure.
1897
1898 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1899
1900 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1901 (delete_breakpoints): Likewise.
1902 (gdb_run_cmd): Likewise.
1903 (gdb_start_cmd): Likewise.
1904 (gdb_starti_cmd): Likewise.
1905 (gdb_internal_error_resync): Likewise.
1906 (gdb_test_multiple): Likewise.
1907 (gdb_reinitialize_dir): Likewise.
1908 (default_gdb_exit): Likewise.
1909 (gdb_file_cmd): Mark kill as optional.
1910 (default_gdb_start): Call gdb_stdin_log_init.
1911 (send_gdb): Call gdb_stdin_log_write.
1912 (rerun_to_main): Mark Y as an answer.
1913 (gdb_stdin_log_init): New function.
1914 (gdb_stdin_log_write): Likewise.
1915
1916 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1917
1918 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1919 * gdb.base/debug-expr.exp: Likewise.
1920 * gdb.base/foll-fork.exp: Likewise.
1921 * gdb.base/foll-vfork.exp: Likewise.
1922 * gdb.base/fork-print-inferior-events.exp: Likewise.
1923 * gdb.base/gdb-sigterm.exp: Likewise.
1924 * gdb.base/gdbinit-history.exp: Likewise.
1925 * gdb.base/osabi.exp: Likewise.
1926 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1927 * gdb.base/ui-redirect.exp: Likewise.
1928 * gdb.gdb/unittest.exp: Likewise.
1929 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1930 * gdb.mi/mi-watch.exp: Likewise.
1931 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1932 * gdb.mi/user-selected-context-sync.exp: Likewise.
1933 * gdb.python/python.exp: Disable debug test when debugging.
1934 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1935 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1936 Likewise.
1937 * gdb.threads/stepi-random-signal.exp: Likewise.
1938
1939 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1940
1941 * Makefile.in: Pass through GDB_DEBUG.
1942 * README (Testsuite Parameters): Add GDB_DEBUG.
1943 (gdb,debug): Add board setting.
1944 * lib/gdb.exp (default_gdb_start): Start debugging.
1945 (gdb_debug_enabled): New procedure.
1946 (gdb_debug_init): Likewise.
1947
1948 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1949
1950 * Makefile.in: Pass through GDB_DEBUG.
1951 * README (Testsuite Parameters): Add GDB_DEBUG.
1952 (gdb,debug): Add board setting.
1953 * lib/gdb.exp (default_gdb_start): Start debugging.
1954 (gdb_debug_enabled): New procedure.
1955 (gdb_debug_init): Likewise.
1956
1957 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1958
1959 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1960
1961 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1962
1963 * gdb.base/ui-redirect.exp: Test redirection.
1964
1965 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1966
1967 * gdb.mi/mi-complete.exp: New file.
1968 * gdb.mi/mi-complete.cc: Likewise.
1969
1970 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1971
1972 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1973 indexed and sliced arrays, and pointers to arrays.
1974
1975 2019-05-14 Tom Tromey <tromey@adacore.com>
1976
1977 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1978 styling test.
1979
1980 2019-05-14 Tom de Vries <tdevries@suse.de>
1981
1982 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1983 selection entry encoding.
1984
1985 2019-05-10 Tom Tromey <tromey@adacore.com>
1986
1987 * gdb.ada/info_exc.exp: Add "complete" test.
1988
1989 2019-05-09 Tom de Vries <tdevries@suse.de>
1990
1991 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1992 CU-relative.
1993
1994 2019-05-09 Tom de Vries <tdevries@suse.de>
1995
1996 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1997 CU-relative.
1998
1999 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2000
2001 * gdb.ada/frame_arg_lang.exp: New testcase.
2002 * gdb.ada/frame_arg_lang/bla.adb: New file.
2003 * gdb.ada/frame_arg_lang/pck.ads: New file.
2004 * gdb.ada/frame_arg_lang/pck.adb: New file.
2005 * gdb.ada/frame_arg_lang/foo.c: New file.
2006
2007 2019-05-08 Tom Tromey <tromey@adacore.com>
2008
2009 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2010
2011 2019-05-08 Tom Tromey <tromey@adacore.com>
2012
2013 * gdb.base/ptype-offsets.exp: Update tests.
2014
2015 2019-05-08 Tom Tromey <tromey@adacore.com>
2016
2017 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2018 cases.
2019 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2020 "short".
2021
2022 2019-05-08 Tom Tromey <tromey@adacore.com>
2023
2024 * gdb.ada/vla.exp: New file.
2025 * gdb.ada/vla/vla.adb: New file.
2026
2027 2019-05-07 Tom de Vries <tdevries@suse.de>
2028
2029 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2030
2031 2019-05-07 Tom de Vries <tdevries@suse.de>
2032
2033 PR testsuite/24522
2034 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2035 section.
2036
2037 2019-05-07 Tom de Vries <tdevries@suse.de>
2038
2039 PR testsuite/24522
2040 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2041 .debug_aranges section.
2042
2043 2019-05-07 Tom de Vries <tdevries@suse.de>
2044
2045 PR testsuite/24159
2046 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2047
2048 2019-05-06 Tom de Vries <tdevries@suse.de>
2049
2050 * lib/gdb.exp (exec_has_index_section): New proc.
2051 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2052 section.
2053
2054 2019-05-04 Tom de Vries <tdevries@suse.de>
2055
2056 * boards/cc-with-debug-names.exp: New file.
2057
2058 2019-05-03 Tom Tromey <tromey@adacore.com>
2059
2060 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2061 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2062 * gdb.ada/char_enum.exp: Add test.
2063
2064 2019-05-03 Tom de Vries <tdevries@suse.de>
2065
2066 * boards/cc-with-gdb-index.exp: New file.
2067
2068 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2069
2070 * gdb.rust/simple.exp: Add new test case.
2071 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2072 (main): Initialise an instance of the new struct.
2073
2074 2019-05-01 Tom Tromey <tromey@adacore.com>
2075
2076 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2077 record.
2078 (NPR): New variable.
2079 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2080 test.
2081
2082 2019-05-01 Tom Tromey <tromey@adacore.com>
2083
2084 * gdb.ada/packed_array_assign.exp: Add packed assignment
2085 regression test.
2086
2087 2019-05-01 Tom de Vries <tdevries@suse.de>
2088
2089 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2090
2091 2019-05-01 Tom de Vries <tdevries@suse.de>
2092
2093 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2094
2095 2019-04-30 Ali Tamur <tamur@google.com>
2096
2097 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2098
2099 2019-04-30 Tom Tromey <tromey@adacore.com>
2100
2101 * lib/ada.exp (find_ada_tool): New proc.
2102 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2103 * gdb.ada/catch_ex_std.exp: New file.
2104 * gdb.ada/catch_ex_std/foo.adb: New file.
2105 * gdb.ada/catch_ex_std/some_package.adb: New file.
2106 * gdb.ada/catch_ex_std/some_package.ads: New file.
2107
2108 2019-04-30 Tom Tromey <tromey@adacore.com>
2109
2110 PR c++/24470:
2111 * gdb.cp/temargs.cc: Add test code from PR.
2112
2113 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2114
2115 * gdb.fortran/vla-datatypes.exp: Update expected results.
2116 * gdb.fortran/vla-ptype.exp: Likewise.
2117 * gdb.fortran/vla-type.exp: Likewise.
2118 * gdb.fortran/vla-value.exp: Likewise.
2119
2120 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2121
2122 * gdb.fortran/ptr-indentation.exp: Update expected results.
2123 * gdb.fortran/ptype-on-functions.exp: Likewise.
2124 * gdb.fortran/vla-ptr-info.exp: Likewise.
2125 * gdb.fortran/vla-value.exp: Likewise.
2126
2127 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2128
2129 * gdb.fortran/ptype-on-functions.exp: New file.
2130 * gdb.fortran/ptype-on-functions.f90: New file.
2131
2132 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2133
2134 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2135 case void string.
2136
2137 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2138
2139 * gdb.fortran/complex.exp: Expand.
2140 * gdb.fortran/complex.f: Renamed to...
2141 * gdb.fortran/complex.f90: ...this, and extended to add more
2142 complex values.
2143
2144 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2145
2146 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2147 MODULO, CMPLX.
2148
2149 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2150 Richard Bunt <richard.bunt@arm.com>
2151
2152 * gdb.base/max-depth.c: New file.
2153 * gdb.base/max-depth.exp: New file.
2154 * gdb.python/py-nested-maps.c: New file.
2155 * gdb.python/py-nested-maps.exp: New file.
2156 * gdb.python/py-nested-maps.py: New file.
2157 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2158 (test_all_common): Call test_max_depth.
2159 * gdb.fortran/max-depth.exp: New file.
2160 * gdb.fortran/max-depth.f90: New file.
2161 * gdb.go/max-depth.exp: New file.
2162 * gdb.go/max-depth.go: New file.
2163 * gdb.modula2/max-depth.exp: New file.
2164 * gdb.modula2/max-depth.c: New file.
2165 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2166
2167 2019-04-29 Tom de Vries <tdevries@suse.de>
2168
2169 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2170
2171 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2172
2173 * gdb.base/callexit.exp: Test may-call-functions off.
2174
2175 2019-04-25 Keith Seitz <keiths@redhat.com>
2176
2177 PR c++/24367
2178 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2179 (another_incomplete_struct, test_incomplete): New definitions.
2180 (main): Use new definitions.
2181 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2182 functions.
2183
2184 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2185
2186 PR corefiles/11608
2187 PR corefiles/18187
2188 * gdb.base/coredump-filter-build-id.exp: New file.
2189
2190 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2191
2192 * Makefile.in: Pass through GDBSERVER_DEBUG.
2193 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2194 (gdbserver,debug): Add board setting.
2195 * gdb.trace/tspeed.exp: Skip when debugging.
2196 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2197 * lib/gdbserver-support.exp: Likewise
2198
2199 2019-04-24 Tom Tromey <tromey@adacore.com>
2200
2201 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2202 Rust.
2203
2204 2019-04-24 Tom Tromey <tromey@adacore.com>
2205
2206 * gdb.arch/amd64-eval.exp: Test bitfield return.
2207 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2208 (class Foo) <return_bitfields>: New method.
2209 (main): Call it.
2210
2211 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2212
2213 * gdb.cp/many-args.cc: New file.
2214 * gdb.cp/many-args.exp: New file.
2215
2216 2019-04-23 Tom de Vries <tdevries@suse.de>
2217
2218 PR gdb/24433
2219 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2220
2221 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2222
2223 * gdb.trace/backtrace.exp: Use nopie flag.
2224 * gdb.trace/circ.exp: Likewise.
2225 * gdb.trace/collection.exp: Likewise.
2226 * gdb.trace/ftrace.exp: Likewise.
2227 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2228 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2229 * gdb.trace/qtro.exp: Likewise.
2230 * gdb.trace/read-memory.exp: Likewise.
2231 * gdb.trace/report.exp: Likewise.
2232 * gdb.trace/tfile.exp: Likewise.
2233 * gdb.trace/tfind.exp: Likewise.
2234 * gdb.trace/unavailable.exp: Likewise.
2235
2236 2019-04-22 Pedro Alves <palves@redhat.com>
2237
2238 * gdb.base/solib-probes-nosharedlibrary.c,
2239 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2240
2241 2019-04-19 Tom Tromey <tromey@adacore.com>
2242
2243 * gdb.ada/ptype_union.c: New file.
2244 * gdb.ada/ptype_union.exp: New file.
2245
2246 2019-04-19 Tom Tromey <tromey@adacore.com>
2247
2248 PR symtab/24423:
2249 * gdb.base/list0.h (foo): Add a control-l character.
2250
2251 2019-04-18 Tom de Vries <tdevries@suse.de>
2252
2253 PR gdb/24433
2254 * boards/local-board.exp: Set sysroot to "".
2255
2256 2019-04-18 Tom de Vries <tdevries@suse.de>
2257 Pedro Alves <palves@redhat.com>
2258
2259 PR gdb/24454
2260 * gdb.threads/vfork-follow-child-exec.c: New file.
2261 * gdb.threads/vfork-follow-child-exec.exp: New file.
2262 * gdb.threads/vfork-follow-child-exit.c: New file.
2263 * gdb.threads/vfork-follow-child-exit.exp: New file.
2264
2265 2019-04-15 Leszek Swirski <leszeks@google.com>
2266
2267 * gdb.arch/amd64-eval.cc: New file.
2268 * gdb.arch/amd64-eval.exp: New file.
2269
2270 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2271
2272 * gdb.server/sysroot.c: New test.
2273 * gdb.server/sysroot.exp: New file.
2274 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2275 matching param.
2276
2277 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2278
2279 * gdb.base/align.exp: Extend test to cover structures containing
2280 only static fields.
2281
2282 2019-04-11 Tom de Vries <tdevries@suse.de>
2283
2284 * boards/cc-with-dwz-m.exp: New file.
2285 * boards/cc-with-dwz.exp: New file.
2286 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2287
2288 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2289
2290 * gdb.base/start-cpp.exp: New file.
2291 * gdb.base/start-cpp.cc: New file.
2292
2293 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2294
2295 * gdb.python/py-thrhandle.exp: Adjust tests to call
2296 thread_from_handle instead of thread_from_thread_handle.
2297
2298 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2299
2300 * gdb.python/py-thrhandle.exp: Add tests for
2301 gdb.InferiorThread.handle.
2302
2303 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2304
2305 * gdb.python/py-function.exp: Check calling helper function from
2306 all languages.
2307 * lib/gdb.exp (gdb_supported_languages): New proc.
2308
2309 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2310
2311 * gdb.base/complex-parts.c: New file.
2312 * gdb.base/complex-parts.exp: New file.
2313
2314 2019-04-01 Tom Tromey <tromey@adacore.com>
2315
2316 PR symtab/23331:
2317 * gdb.dwarf2/dw2-ranges-main.c: New file.
2318 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2319 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2320
2321 2019-03-30 Simon Marchi <simark@simark.ca>
2322
2323 * gdb.base/default.exp: Add values for $_gdb_major and
2324 $_gdb_minor.
2325
2326 2019-03-29 Tom Tromey <tromey@adacore.com>
2327
2328 * gdb.base/help.exp: Tighten apropos regexp.
2329
2330 2019-03-29 Keith Seitz <keiths@redhat.com>
2331
2332 * gdb.fortran/array-bounds.exp: New file.
2333 * gdb.fortran/array-bounds.f90: New file.
2334
2335 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2336
2337 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2338
2339 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2340
2341 * gdb.multi/hello.c (main): Increase alarm timer.
2342
2343 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2344
2345 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2346 factor when no hardware watchpoint support.
2347
2348 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2349 Pedro Alves <palves@redhat.com>
2350
2351 * boards/local-board.exp: set sysroot to /.
2352
2353 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2354
2355 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2356 in child.
2357
2358 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2359
2360 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2361 field.
2362 (make_container): Initialise new field.
2363 * gdb.python/py-prettyprint.exp: Add new tests.
2364 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2365 <display_hint>: New method.
2366
2367 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2368
2369 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2370 gdb_continue_to_breakpoint more throughout this test.
2371 (run_lang_tests) Supply unique test names, and use
2372 gdb_test_no_output.
2373
2374 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2375
2376 * gdb.base/finish-pretty.exp: Update expected results.
2377 * gdb.base/pretty-print.c: New file.
2378 * gdb.base/pretty-print.exp: New file.
2379
2380 2019-03-25 Pedro Alves <palves@redhat.com>
2381
2382 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2383 move comments outside list. Append '-i "" eof' section.
2384
2385 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2386
2387 PR testsuite/25016
2388 * README: Add pie options.
2389 * gdb.base/break-interp.exp: Ensure pie is disabled.
2390 * gdb.base/dump.exp: Likewise.
2391 * lib/gdb.exp (gdb_compile): Add pie option.
2392
2393 2019-03-19 Tom Tromey <tromey@adacore.com>
2394
2395 * gdb.mi/mi2-cli-display.c: New file.
2396 * gdb.mi/mi2-cli-display.exp: New file.
2397
2398 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2399 Tom Tromey <tromey@adacore.com>
2400
2401 * gdb.ada/ptype_array/pck.adb: New file.
2402 * gdb.ada/ptype_array/pck.ads: New file.
2403 * gdb.ada/ptype_array/foo.adb: New file.
2404 * gdb.ada/ptype_array.exp: New file.
2405
2406 2019-03-14 Tom Tromey <tromey@adacore.com>
2407
2408 * gdb.base/style.exp: Add "set style sources" test.
2409
2410 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2411
2412 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2413 * mi-breakpoint-multiple-locations.exp: ... this.
2414 (make_breakpoints_pattern): New proc.
2415 (do_test): Add mi_version parameter, test -break-insert,
2416 -break-info and =breakpoint-created.
2417
2418 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2419
2420 * config/default.exp: Remove 'load_lib gdb.exp'.
2421 * config/monitor.exp: Likewise.
2422 * config/sid.exp: Likewise.
2423 * config/sim.exp: Likewise.
2424 * config/slite.exp: Likewise.
2425 * config/unix.exp: Likewise.
2426 * gdb.base/default.exp: Remove unhelpful comment.
2427
2428 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2429
2430 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2431
2432 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2433
2434 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2435
2436 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2437
2438 * gdb.fortran/type-kinds.exp: Update expected results.
2439
2440 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2441
2442 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2443
2444 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2445
2446 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2447 function.
2448 (test_basic_parsing_of_type_kinds): Expand types tested.
2449 (test_parsing_invalid_type_kinds): New function.
2450
2451 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2452
2453 * gdb.fortran/intrinsics.exp: New file.
2454 * gdb.fortran/intrinsics.f90: New file.
2455 * gdb.fortran/type-kinds.exp: New file.
2456
2457 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2458
2459 * gdb.fortran/dot-ops.exp: New file.
2460
2461 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2462
2463 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2464 Check upper and lower case logical literals.
2465
2466 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2467
2468 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2469 Remove duplicate tests.
2470
2471 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2472
2473 * lib/gdb.exp (builtin_cd): rename of cd.
2474 (cd): Override builtin.
2475
2476 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2477
2478 * gdb.fortran/function-calls.exp: New file.
2479 * gdb.fortran/function-calls.f90: New test.
2480
2481 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2482
2483 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2484 on user program standard output.
2485 * gdb.fortran/short-circuit-argument-list.f90: Record function
2486 calls.
2487
2488 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2489
2490 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2491 failure.
2492
2493 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2494
2495 PR gdb/8527
2496 * gdb.base/interrupt-daemon-attach.c,
2497 gdb.base/interrupt-daemon-attach.exp: New test.
2498
2499 2019-02-27 Pedro Alves <palves@redhat.com>
2500
2501 * gdb.base/page.exp: Add tests for "set width/height -1".
2502
2503 2019-02-27 Pedro Alves <palves@redhat.com>
2504
2505 * gdb.base/page.exp: Add tests for "set/show width/height" with
2506 "infinite" values.
2507
2508 2019-02-27 Tom Tromey <tromey@adacore.com>
2509
2510 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2511 2.4.
2512 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2513 workaround.
2514
2515 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2516
2517 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2518 tests for structs with static members.
2519
2520 2019-02-26 Tom Tromey <tromey@adacore.com>
2521
2522 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2523 ValueError, not TypeError.
2524
2525 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2526
2527 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2528 call from main program.
2529
2530 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2531
2532 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2533 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2534 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2535 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2536 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2537
2538 2019-02-22 Keith Seitz <keiths@redhat.com>
2539
2540 PR symtab/23853
2541 * gdb.base/symlink-sourcefile.c: New file.
2542 * gdb.base/symlink-sourcefile.exp: New file.
2543
2544 2019-02-20 Tom Tromey <tom@tromey.com>
2545
2546 * gdb.base/info_qt.exp: Update.
2547
2548 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2549
2550 * gdb.base/source.exp: Move "error in sourced script" code to
2551 the end.
2552 * gdb.base/source-error.gdb: Move contents to
2553 source-error-1.gdb. Add new code to source source-error-1.gdb.
2554 * gdb.base/source-error-1.gdb: New file, from previous
2555 source-error.gdb.
2556
2557 2019-02-17 Tom Tromey <tom@tromey.com>
2558
2559 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2560 for macro styling.
2561 * gdb.base/style.c (SOME_MACRO): New macro.
2562
2563 2019-02-17 Tom Tromey <tom@tromey.com>
2564
2565 * gdb.base/style.exp: Add line-wrapping tests.
2566 * gdb.base/page.exp: Add test for quitting during pagination.
2567
2568 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2569
2570 * gdb.ada/big_packed_array: New testcase.
2571 * gdb.ada/homonym.exp: Fix incorrect expected output for
2572 "break <homonym__get_value>" test.
2573
2574 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2575
2576 PR breakpoints/21870
2577 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2578 and prepare_for_testing. Add comment.
2579 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2580 redundant cleanup call. Clean up comment.
2581
2582 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2583
2584 PR breakpoints/21870
2585 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2586 * gdb.arch/aarch64-dbreg-contents.c: New file.
2587
2588 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2589
2590 * gdb.ada/mi_ref_changeable: New testcase.
2591
2592 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2593
2594 * gdb.base/attach.exp: Add double attach test.
2595
2596 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2597
2598 * lib/gdb.exp (default_gdb_start): Don't match pagination
2599 prompt.
2600 (gdb_init): Set stty_init.
2601
2602 2019-01-27 Tom Tromey <tom@tromey.com>
2603
2604 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2605 skip_python_tests.
2606
2607 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2608
2609 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2610 New structure.
2611 (struct struct_static_02_02): Likewise.
2612 (struct struct_static_02_03): Likewise.
2613 (struct struct_static_02_04): Likewise.
2614 (struct struct_static_04_01): Likewise.
2615 (struct struct_static_04_02): Likewise.
2616 (struct struct_static_04_03): Likewise.
2617 (struct struct_static_04_04): Likewise.
2618 (struct struct_static_06_01): Likewise.
2619 (struct struct_static_06_02): Likewise.
2620 (struct struct_static_06_03): Likewise.
2621 (struct struct_static_06_04): Likewise.
2622 (cmp_struct_static_02_01): Likewise.
2623 (cmp_struct_static_02_02): Likewise.
2624 (cmp_struct_static_02_03): Likewise.
2625 (cmp_struct_static_02_04): Likewise.
2626 (cmp_struct_static_04_01): Likewise.
2627 (cmp_struct_static_04_02): Likewise.
2628 (cmp_struct_static_04_03): Likewise.
2629 (cmp_struct_static_04_04): Likewise.
2630 (cmp_struct_static_06_01): Likewise.
2631 (cmp_struct_static_06_02): Likewise.
2632 (cmp_struct_static_06_03): Likewise.
2633 (cmp_struct_static_06_04): Likewise.
2634 (call_all): Test new structs.
2635 * gdb.base/infcall-nested-structs.exp: Likewise.
2636
2637 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2638 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2639
2640 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2641 * gdb.base/stack-protector.c: New test.
2642 * gdb.base/stack-protector.exp: New file.
2643 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2644 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2645 option.
2646 (gdb_compile): Remove stack protector for GCC and prevent
2647 recursion.
2648
2649 2019-01-16 Keith Seitz <keiths@redhat.com>
2650
2651 PR gdb/23773
2652 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2653
2654 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2655
2656 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2657 aliases.
2658 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2659 tests.
2660 * gdb.arch/powerpc-vector-regs.c: New file.
2661 * gdb.arch/powerpc-vector-regs.exp: New file.
2662
2663 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2664
2665 * gdb.arch/altivec-regs.exp: Fix the list passed to
2666 gdb_expect_list when testing "info vector".
2667
2668 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2669
2670 * gdb.base/style.exp: Don't include path in testname.
2671
2672 2019-01-10 Keith Seitz <keiths@redhat.com>
2673
2674 PR gdb/23712
2675 PR symtab/23010
2676 * gdb.dwarf2/multidictionary.exp: New file.
2677
2678 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2679
2680 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2681 (test_gnuv3_style_demangling): ... this.
2682 (test_lucid_style_demangling): Remove.
2683 (test_arm_style_demangling): Remove.
2684 (test_hp_style_demangling): Remove.
2685 (do_tests): Remove calls to the above.
2686
2687 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2688
2689 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2690 case.
2691
2692 2019-01-06 Tom Tromey <tom@tromey.com>
2693
2694 PR gdb/28155:
2695 * gdb.dwarf2/typedef-void-finish.exp: New file.
2696
2697 2018-12-28 Tom Tromey <tom@tromey.com>
2698 Simon Marchi <simark@simark.ca>
2699
2700 * gdb.base/jit-exec.exp: New file.
2701 * gdb.base/jit-exec.c: New file.
2702 * gdb.base/jit-execd.c: New file.
2703
2704 2018-12-28 Tom Tromey <tom@tromey.com>
2705
2706 * gdb.base/style.exp: Update test to check for address styling.
2707
2708 2018-12-28 Tom Tromey <tom@tromey.com>
2709
2710 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2711 message.
2712
2713 2018-12-28 Tom Tromey <tom@tromey.com>
2714
2715 * gdb.base/style.exp: Add test for version number styling.
2716
2717 2018-12-28 Tom Tromey <tom@tromey.com>
2718
2719 * gdb.base/style.exp: Add test for print_address_symbolic.
2720
2721 2018-12-28 Tom Tromey <tom@tromey.com>
2722
2723 * gdb.base/style.exp: Add test for breakpoint setting.
2724
2725 2018-12-28 Tom Tromey <tom@tromey.com>
2726
2727 * gdb.base/style.exp: Add test for variable names.
2728
2729 2018-12-28 Tom Tromey <tom@tromey.com>
2730
2731 * gdb.base/style.exp: New file.
2732 * gdb.base/style.c: New file.
2733
2734 2018-12-28 Tom Tromey <tom@tromey.com>
2735
2736 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2737 "dumb".
2738 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2739 the TERM environment variable.
2740
2741 2018-12-27 Tom Tromey <tom@tromey.com>
2742
2743 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2744 pagination test.
2745
2746 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2747
2748 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2749 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2750
2751 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2752
2753 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2754 Filename a.adb changed to bp_fun_addr.adb.
2755 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2756
2757 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2758
2759 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2760 non-PIE executables.
2761 * README: Mention the gdb,nopie_flag board setting.
2762 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2763 non-PIE executable.
2764 * gdb.arch/amd64-entry-value.exp: Likewise.
2765 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2766 * gdb.arch/i386-float.exp: Likewise.
2767 * gdb.arch/i386-signal.exp: Likewise.
2768 * gdb.mi/mi-reg-undefined.exp: Likewise.
2769
2770 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2771
2772 PR gdb/23974
2773 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2774
2775 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2776
2777 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2778 Update order of results accordingly.
2779
2780 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2781
2782 * gdb.base/annota1.exp: Update a test regexp.
2783
2784 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2785
2786 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2787
2788 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2789
2790 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2791 (reuse_time): Initialize to REUSE_TIME_CAP.
2792 (check_rc): New function.
2793 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2794 Check pthread_create rc.
2795 (spawner_thread_func): Check pthread_create and pthread_join rc.
2796
2797 2018-12-08 Pedro Alves <palves@redhat.com>
2798
2799 * gdb.base/list.exp (test_forward_search): Rename to ...
2800 (test_forward_reverse_search): ... this. Also test reverse-search
2801 and the forward-search alias.
2802
2803 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2804
2805 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2806 local timeout variable before return, and remove all local timeout
2807 variable entirely.
2808 (gdb_load): Likewise.
2809
2810 2018-12-01 Tom de Vries <tdevries@suse.de>
2811
2812 * gdb.base/gdb-caching-proc.exp: New file.
2813
2814 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2815
2816 * Makefile.in (TIMESTAMP): New variable.
2817 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2818 command.
2819 (check-single-racy): Likewise.
2820 (check/%.exp): Likewise.
2821 (check-racy/%.exp): Likewise.
2822 (workers/%.worker): Likewise.
2823 (build-perf): Likewise.
2824 (check-perf): Likewise.
2825 * README: Describe new "TS" and "TS_FORMAT" variables.
2826 * print-ts.py: New file.
2827
2828 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2829
2830 PR python/23714
2831 * gdb.python/python.exp: Test command repetition after
2832 gdb.execute.
2833
2834 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2835
2836 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2837 is correctly aligned.
2838
2839 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2840
2841 * gdb.ada/info_auto_lang.exp: New testcase.
2842 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2843 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2844 * gdb.ada/info_auto_lang/some_c.c: New file.
2845
2846 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2847
2848 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2849 FUNC_lang language syntax.
2850
2851 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2852
2853 * gdb.base/info_minsym.c: New file.
2854 * gdb.base/info_minsym.exp: New file.
2855
2856 2018-11-19 Tom Tromey <tom@tromey.com>
2857
2858 PR rust/23625:
2859 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2860 * gdb.rust/expr.exp: Update expected output. Change one test.
2861
2862 2018-11-19 Tom Tromey <tom@tromey.com>
2863
2864 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2865
2866 2018-11-19 Pedro Alves <palves@redhat.com>
2867
2868 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2869 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2870 see the expected warning.
2871
2872 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2873
2874 PR gdb/22736:
2875 * gdb.cp/infcall-nodebug-lib.c: New test.
2876 * gdb.cp/infcall-nodebug-main.c: New test.
2877 * gdb.cp/infcall-nodebug.exp: New file.
2878
2879 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2880
2881 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2882 completer tests.
2883
2884 2018-11-09 Tom de Vries <tdevries@suse.de>
2885
2886 * gdb.base/msym-lang.c: New test.
2887 * gdb.base/msym-lang.exp: New file.
2888 * gdb.base/msym-lang-main.c: New test.
2889
2890 2018-11-08 Tom Tromey <tom@tromey.com>
2891
2892 PR gdb/23555:
2893 PR gdb/23838:
2894 * gdb.base/warning.exp: New file.
2895
2896 2018-11-08 Jan Beulich <jbeulich@suse.com>
2897
2898 * testsuite/gdb.arch/i386-avx512.c,
2899 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2900
2901 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2902
2903 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2904 point hardware.
2905
2906 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2907
2908 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2909 * gdb.dwarf2/missing-type-name.exp: New file.
2910
2911 2018-11-06 Tom de Vries <tdevries@suse.de>
2912
2913 * gdb.base/many-headers.c: New test.
2914 * gdb.base/many-headers.exp: New file.
2915
2916 2018-11-06 Jim Wilson <jimw@sifive.com>
2917
2918 * gdb.base/code_elim.exp: For riscv, set additional_flags
2919 to include -msmall-data-limit=0.
2920
2921 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2922
2923 * gdb.ada/watch_minus_l: New testcase.
2924
2925 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2926
2927 * gdb.arch/aix-sighandle.c: New file.
2928 * gdb.arch/aix-sighandle.exp: New file.
2929
2930 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2931
2932 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2933 registers being unions.
2934
2935 2018-10-31 Tom de Vries <tdevries@suse.de>
2936
2937 * lib/valgrind.exp: New file.
2938 (vgdb_start, vgdb_stop): New procs, factored out of ...
2939 * gdb.base/valgrind-bt.exp: ... here, ...
2940 * gdb.base/valgrind-disp-step.exp: ... here and ...
2941 * gdb.base/valgrind-infcall.exp: ... here.
2942
2943 2018-10-31 Tom de Vries <tdevries@suse.de>
2944
2945 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2946
2947 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2948
2949 * gdb.dwarf2/void-type.c: New file.
2950 * gdb.dwarf2/void-type.exp: New file.
2951
2952 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2953
2954 * gdb.base/info_qt.c: New file.
2955 * gdb.base/info_qt.exp: New file.
2956
2957 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2958
2959 * gdb.arch/powerpc-htm-regs.c: New file.
2960 * gdb.arch/powerpc-htm-regs.exp: New file.
2961
2962 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2963
2964 * gdb.arch/powerpc-tar.c: New file.
2965 * gdb.arch/powerpc-tar.exp: New file.
2966
2967 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2968
2969 * gdb.arch/powerpc-ppr-dscr.c: New file.
2970 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2971
2972 2018-10-25 Tom de Vries <tdevries@suse.de>
2973
2974 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2975
2976 2018-10-24 Tom de Vries <tdevries@suse.de>
2977
2978 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2979 longer exists error.
2980
2981 2018-10-24 Tom de Vries <tdevries@suse.de>
2982
2983 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2984
2985 2018-10-24 Tom de Vries <tdevries@suse.de>
2986
2987 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2988 --db-attach in valgrind.
2989
2990 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2991
2992 * gdb.arch/riscv-reg-aliases.c: New file.
2993 * gdb.arch/riscv-reg-aliases.exp: New file.
2994
2995 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2996
2997 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2998
2999 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3000
3001 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3002
3003 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3004
3005 * gdb.cp/ovldbreak.exp: Fix regexps.
3006
3007 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3008
3009 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3010
3011 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3012
3013 PR cli/23785
3014 * gdb.base/restore.exp: New test to check if "restore" with an
3015 invalid file doesn't segfault.
3016
3017 2018-10-18 Tom de Vries <tdevries@suse.de>
3018
3019 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3020 * gdb.ada/excep_handle.exp: Same.
3021 * gdb.ada/mi_string_access.exp: Same.
3022 * gdb.ada/mi_var_union.exp: Same.
3023 * gdb.arch/arc-analyze-prologue.exp: Same.
3024 * gdb.arch/arc-decode-insn.exp: Same.
3025 * gdb.base/readnever.exp: Same.
3026 * gdb.fortran/printing-types.exp: Same.
3027 * gdb.guile/scm-lazy-string.exp: Same.
3028
3029 2018-10-16 Tom de Vries <tdevries@suse.de>
3030
3031 PR gdb/23730
3032 * gdb.base/catch-follow-exec.c: Add copyright notice.
3033 * gdb.base/catch-follow-exec.exp: Rewrite to use
3034 gdb_spawn_with_cmdline_opts. Require gdb-native.
3035
3036 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3037
3038 * gdb.trace/actions-changed.exp: Check for arch support.
3039 * gdb.trace/actions.exp: Likewise.
3040 * gdb.trace/ax.exp: Likewise.
3041 * gdb.trace/backtrace.exp: Likewise.
3042 * gdb.trace/change-loc.exp: Likewise.
3043 * gdb.trace/deltrace.exp: Likewise.
3044 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3045 * gdb.trace/ftrace.exp: Likewise.
3046 * gdb.trace/infotrace.exp: Check for arch support.
3047 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3048 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3049 * gdb.trace/mi-tsv-changed.exp: Likewise.
3050 * gdb.trace/packetlen.exp: Likewise.
3051 * gdb.trace/passc-dyn.exp: Likewise.
3052 * gdb.trace/passcount.exp: Likewise.
3053 * gdb.trace/pending.exp: Likewise.
3054 * gdb.trace/range-stepping.exp: Check for shlib support.
3055 * gdb.trace/report.exp: Check for arch support.
3056 * gdb.trace/save-trace.exp: Likewise.
3057 * gdb.trace/signal.exp: Check for signal support.
3058 * gdb.trace/tfind.exp: Check for arch support.
3059 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3060 * gdb.trace/trace-common.h: Add comment.
3061 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3062 * gdb.trace/trace-enable-disable.exp: Likewise.
3063 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3064 * gdb.trace/tracecmd.exp: Check for arch support.
3065 * gdb.trace/tspeed.exp: Check for shlib and target support.
3066 * gdb.trace/tstatus.exp: Check for arch support.
3067 * gdb.trace/tsv.exp: Likewise.
3068 * gdb.trace/while-dyn.exp: Likewise.
3069 * gdb.trace/while-stepping.exp: Likewise.
3070 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3071
3072 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3073
3074 * gdb.trace/tspeed.exp: Remove nowarnings.
3075 (prepare_for_trace_test): Declare "global ipalib".
3076 * gdb.trace/tspeed.c: Include unistd.h.
3077 (main): Remove superfluous printf argument.
3078
3079 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3080
3081 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3082 directory prefix on the filename.
3083
3084 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3085
3086 * gdb.gdb/unittest.exp: Update expected message informing that
3087 selftests have been disabled.
3088 * gdb.server/unittest.exp: Likewise.
3089
3090 2018-10-09 Tom de Vries <tdevries@suse.de>
3091
3092 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3093 with runto_main.
3094
3095 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3096
3097 PR c++/16841
3098 * gdb.cp/virtbase2.cc: New file.
3099 * gdb.cp/virtbase2.exp: New file.
3100
3101 2018-10-06 Tom Tromey <tom@tromey.com>
3102
3103 PR python/19399:
3104 * gdb.python/py-inferior.exp: Add architecture test.
3105
3106 2018-10-06 Tom Tromey <tom@tromey.com>
3107
3108 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3109 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3110
3111 2018-10-06 Tom Tromey <tom@tromey.com>
3112
3113 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3114 of a "throw" catchpoint.
3115
3116 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3117
3118 * gdb.base/info-proc.exp: Update string expected from "help info
3119 proc".
3120
3121 2018-10-04 Tom Tromey <tom@tromey.com>
3122
3123 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3124 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3125 (test_initial_complaints, test_empty_complaints): Update.
3126 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3127
3128 2018-10-04 Tom Tromey <tom@tromey.com>
3129
3130 PR cli/19551:
3131 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3132 * lib/gdb.exp (gdb_file_cmd): Update.
3133 * gdb.stabs/weird.exp (print_weird_var): Update.
3134 * gdb.server/solib-list.exp: Update.
3135 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3136 * gdb.mi/mi-cli.exp: Update.
3137 * gdb.linespec/linespec.exp: Update.
3138 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3139 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3140 * gdb.cp/cp-relocate.exp: Update.
3141 * gdb.base/sym-file.exp: Update.
3142 * gdb.base/relocate.exp: Update.
3143 * gdb.base/readnever.exp: Update.
3144 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3145 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3146 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3147 * gdb.base/code_elim.exp: Update.
3148 * gdb.base/break-unload-file.exp (test_break): Update.
3149 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3150 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3151 Update.
3152 * gdb.base/attach.exp (do_attach_tests): Update.
3153 * gdb.base/sepdebug.exp: Update.
3154 * gdb.python/py-section-script.exp: Update.
3155
3156 2018-10-04 Tom Tromey <tom@tromey.com>
3157
3158 PR cli/22234:
3159 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3160 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3161 output.
3162
3163 2018-10-04 Tom Tromey <tom@tromey.com>
3164
3165 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3166 set width and height to 0.
3167 (test_command_line_attach_run): Use -quiet.
3168
3169 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3170
3171 * lib/gdb.exp (skip_ifunc_tests): New.
3172 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3173 other compile failures.
3174 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3175
3176 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3177
3178 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3179 is_amd64_regs_target.
3180
3181 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3182
3183 * gdb.arch/aarch64-sighandler-regs.c: New test.
3184 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3185 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3186
3187 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3188
3189 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3190 assembly.
3191
3192 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3193
3194 * gdb.base/frame-selection.exp: New file.
3195 * gdb.base/frame-selection.c: New file.
3196
3197 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3198
3199 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3200 pthread barrier.
3201 (main): Likewise.
3202
3203 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3204
3205 * gdb.base/large-frame-1.c: New file.
3206 * gdb.base/large-frame-2.c: New file.
3207 * gdb.base/large-frame.exp: New file.
3208 * gdb.base/large-frame.h: New file.
3209
3210 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3211
3212 PR gdb/20948
3213 * gdb.base/write_mem.exp: New test.
3214 * gdb.base/write_mem.c: Likewise.
3215
3216 2018-09-23 Tom Tromey <tom@tromey.com>
3217
3218 PR python/18852:
3219 * gdb.python/py-parameter.exp: Add test for parameter that throws
3220 on "set".
3221
3222 2018-09-23 Tom Tromey <tom@tromey.com>
3223
3224 PR python/17284:
3225 * gdb.python/py-template.exp (test_template_arg): Add test for
3226 negative template argument number.
3227
3228 2018-09-23 Tom Tromey <tom@tromey.com>
3229
3230 PR python/14062:
3231 * gdb.python/python.exp: Add test for post_event error.
3232
3233 2018-09-23 Tom Tromey <tom@tromey.com>
3234
3235 PR python/18170:
3236 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3237 convert pointers to int and long.
3238
3239 2018-09-23 Tom Tromey <tom@tromey.com>
3240
3241 PR python/20126:
3242 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3243 signed-ness conversion tests.
3244
3245 2018-09-23 Tom Tromey <tom@tromey.com>
3246
3247 PR python/18352;
3248 * gdb.python/py-value.exp (test_float_conversion): New proc.
3249 Use it.
3250
3251 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3252
3253 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3254
3255 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3256
3257 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3258 no readline.
3259 * gdb.base/utf8-identifiers.exp: Likewise.
3260 * gdb.cp/cpcompletion.exp: Likewise.
3261 * gdb.linespec/cpcompletion.exp: Likewise.
3262 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3263 * gdb.linespec/cpls-ops.exp: Likewise.
3264
3265 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3266 Chris January <chris.january@arm.com>
3267
3268 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3269 * gdb.fortran/short-circuit-argument-list.exp: New file.
3270 * gdb.fortran/short-circuit-argument-list.f90: New test.
3271
3272 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3273
3274 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3275 "arch=" keyword when executing "-stack-list-frames".
3276
3277 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3278
3279 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3280 "arch=" keyword when executing "-stack-list-frames".
3281
3282 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3283
3284 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3285 break ada".
3286
3287 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3288
3289 PR python/23669
3290 * gdb.python/python.exp: Test gdb.execute("show commands").
3291
3292 2018-09-16 Tom Tromey <tom@tromey.com>
3293
3294 * gdb.base/new-ui.exp (do_execution_tests): Update.
3295 * gdb.base/dbx.exp (test_breakpoints): Update.
3296
3297 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3298
3299 * lib/gdb.exp (gdb_simple_compile): Add proc.
3300 (is_elf_target): Use gdb_simple_compile.
3301 (skip_altivec_tests): Likewise.
3302 (skip_vsx_tests): Likewise.
3303 (skip_tsx_tests): Likewise.
3304 (skip_btrace_tests): Likewise.
3305 (skip_btrace_pt_tests): Likewise.
3306 (gdb_can_simple_compile): Likewise.
3307 (gdb_has_argv0): Likewise.
3308 (gdb_target_symbol_prefix): Likewise.
3309 (target_supports_scheduler_locking): Likewise.
3310
3311 2018-09-13 Tom Tromey <tom@tromey.com>
3312
3313 * Makefile.in (TAGS): Recognize proc_with_prefix and
3314 gdb_caching_proc.
3315
3316 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3317
3318 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3319 method.
3320
3321 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3322
3323 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3324 and a few other Inferior properties when the Inferior is no
3325 longer valid.
3326
3327 2018-09-13 Tom Tromey <tom@tromey.com>
3328
3329 PR rust/23650:
3330 * gdb.rust/simple.exp: Add test for enum field access error.
3331
3332 2018-09-13 Tom Tromey <tom@tromey.com>
3333
3334 PR rust/23626:
3335 * gdb.rust/simple.rs (EmptyEnum): New type.
3336 (main): Use it.
3337 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3338
3339 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3340
3341 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3342 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3343 * gdb.python/py-symtab.exp: Update test printing an objfile.
3344
3345 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3346
3347 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3348 object.
3349
3350 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3351
3352 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3353 (support_complex_tests): Use gdb_can_simple_compile.
3354 (is_ilp32_target): Likewise.
3355 (is_lp64_target): Likewise.
3356 (is_64_target): Likewise.
3357 (is_amd64_regs_target): Likewise.
3358 (is_aarch32_target): Likewise.
3359 (gdb_int128_helper): Likewise.
3360
3361 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3362
3363 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3364
3365 2018-09-10 Jerome Guitton <guitton@adacore.com>
3366
3367 * gdb.ada/same_component_name: Add test for case of tagged record
3368 with variable-length fields.
3369
3370 2018-09-10 Xavier Roirand <roirand@adacore.com>
3371
3372 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3373 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3374 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3375 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3376
3377 2018-09-10 Xavier Roirand <roirand@adacore.com>
3378
3379 * gdb.ada/mi_string_access.exp: New testcase.
3380 * gdb.ada/mi_string_access/bar.adb: New file.
3381 * gdb.ada/mi_string_access/pck.adb: New file.
3382 * gdb.ada/mi_string_access/pck.asd: New file.
3383
3384 2018-09-10 Xavier Roirand <roirand@adacore.com>
3385
3386 * gdb.ada/mi_var_union.exp: New testcase.
3387 * gdb.ada/mi_var_union/bar.adb: New file.
3388 * gdb.ada/mi_var_union/pck.adb: New file.
3389 * gdb.ada/mi_var_union/pck.asd: New file.
3390
3391 2018-09-08 Tom Tromey <tom@tromey.com>
3392
3393 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3394
3395 2018-09-08 Tom Tromey <tom@tromey.com>
3396
3397 PR python/16047:
3398 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3399 (register_pretty_printers): Register new printer.
3400 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3401 test.
3402 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3403 (an_int_type3): New global.
3404
3405 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3406
3407 * gdb.ada/expr_with_funcall: New testcase.
3408
3409 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3410
3411 * gdb.ada/packed_array_assign: New testcase.
3412
3413 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3414
3415 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3416 names, and add test prefixes to make test names unique.
3417
3418 2018-09-05 Tom de Vries <tdevries@suse.de>
3419
3420 * gdb.dwarf2/varval.exp: Add test.
3421
3422 2018-09-04 Gary Benson <gbenson@redhat.com>
3423
3424 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3425 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3426
3427 2018-08-31 Tom Tromey <tom@tromey.com>
3428
3429 * gdb.rust/simple.rs: Rename second variable "v".
3430
3431 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3432
3433 * gdb.base/funcargs.c (use_a): New function.
3434 (recurse): Call use_a.
3435
3436 2018-08-29 Keith Seitz <keiths@redhat.com>
3437
3438 * gdb.compile/compile-cplus-anonymous.cc: New file.
3439 * gdb.compile/compile-cplus-anonymous.exp: New file.
3440 * gdb.compile/compile-cplus-array-decay.cc: New file.
3441 * gdb.compile/compile-cplus-array-decay.exp: New file.
3442 * gdb.compile/compile-cplus-inherit.cc: New file.
3443 * gdb.compile/compile-cplus-inherit.exp: New file.
3444 * gdb.compile/compile-cplus-member.cc: New file.
3445 * gdb.compile/compile-cplus-member.exp: New file.
3446 * gdb.compile/compile-cplus-method.cc: New file.
3447 * gdb.compile/compile-cplus-method.exp: New file.
3448 * gdb.compile/compile-cplus-mod.c: "New" file.
3449 * gdb.compile/compile-cplus-namespace.cc: New file.
3450 * gdb.compile/compile-cplus-namespace.exp: New file.
3451 * gdb.compile/compile-cplus-nested.cc: New file.
3452 * gdb.compile/compile-cplus-nested.exp: New file.
3453 * gdb.compile/compile-cplus-print.c: "New" file.
3454 * gdb.compile/compile-cplus-print.exp: "New" file.
3455 * gdb.compile/compile-cplus-virtual.cc: New file.
3456 * gdb.compile/compile-cplus-virtual.exp: New file.
3457 * gdb.compile/compile-cplus.c: "New" file.
3458 * gdb.compile/compile-cplus.exp: "New" file.
3459 * lib/compile-support.exp: New file.
3460
3461 2018-08-16 Gary Benson <gbenson@redhat.com>
3462
3463 PR gdb/13000:
3464 * gdb.base/batch-exit-status.exp: New file.
3465 * gdb.base/batch-exit-status.good-commands: Likewise.
3466 * gdb.base/batch-exit-status.bad-commands: Likewise.
3467
3468 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3469
3470 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3471 (struct struct02): Likewise.
3472 (struct struct03): Likewise.
3473 (struct struct04): Likewise.
3474 (struct struct_01_01): New struct.
3475 (struct struct_01_02): Likewise.
3476 (struct struct_01_03): Likewise.
3477 (struct struct_01_04): Likewise.
3478 (struct struct_02_01): Likewise.
3479 (struct struct_02_02): Likewise.
3480 (struct struct_02_03): Likewise.
3481 (struct struct_02_04): Likewise.
3482 (struct struct_04_01): Likewise.
3483 (struct struct_04_02): Likewise.
3484 (struct struct_04_03): Likewise.
3485 (struct struct_04_04): Likewise.
3486 (struct struct_05_01): Likewise.
3487 (struct struct_05_02): Likewise.
3488 (struct struct_05_03): Likewise.
3489 (struct struct_05_04): Likewise.
3490 (cmp_struct01): Remove function.
3491 (cmp_struct02): Likewise.
3492 (cmp_struct03): Likewise.
3493 (cmp_struct04): Likewise.
3494 (cmp_struct_01_01): Add Function.
3495 (cmp_struct_01_02): Likewise.
3496 (cmp_struct_01_03): Likewise.
3497 (cmp_struct_01_04): Likewise.
3498 (cmp_struct_02_01): Likewise.
3499 (cmp_struct_02_02): Likewise.
3500 (cmp_struct_02_03): Likewise.
3501 (cmp_struct_02_04): Likewise.
3502 (cmp_struct_04_01): Likewise.
3503 (cmp_struct_04_02): Likewise.
3504 (cmp_struct_04_03): Likewise.
3505 (cmp_struct_04_04): Likewise.
3506 (cmp_struct_05_01): Likewise.
3507 (cmp_struct_05_02): Likewise.
3508 (cmp_struct_05_03): Likewise.
3509 (cmp_struct_05_04): Likewise.
3510 (call_all): Add new structs.
3511 * gdb.base/infcall-nested-structs.exp: Likewise.
3512
3513 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3514
3515 * gdb.python/py-framefilter-mi.exp: Update regexp to
3516 check for "arch" field in frame output.
3517
3518 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3519
3520 * gdb.dwarf2/dw2-ranges-func.c: New file.
3521 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3522
3523 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3524
3525 * gdb.base/term.exp: Compare terminal settings with values from
3526 the inferior.
3527 * gdb.base/term.c: Get and set terminal settings.
3528
3529 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3530
3531 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3532 accommodate new "arch" field in frame output.
3533 * gdb.mi/mi-return.exp: Likewise.
3534 * gdb.mi/mi-stack.exp: Likewise.
3535 * gdb.mi/mi-syn-frame.exp: Likewise.
3536 * gdb.mi/user-selected-context-sync.exp: Likewise.
3537
3538 2018-08-19 Michael Spang <spang@google.com>
3539
3540 PR gdb/11786
3541 * gdb.base/gcore-tls-pie.c: New file.
3542 * gdb.base/gcore-tls-pie.exp: New file.
3543
3544 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3545
3546 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3547 * gdb.dwarf2/varval.c: New file.
3548 * gdb.dwarf2/varval.exp: New file.
3549
3550 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3551
3552 PR gdb/18931
3553 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3554
3555 2018-08-16 Keith Seitz <keiths@redhat.com>
3556
3557 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3558 tests expected to pass.
3559
3560 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3561
3562 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3563 -data-disassemble -a.
3564 (test_disassembly_bogus_args): Likewise.
3565
3566 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3567
3568 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3569
3570 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3571
3572 * gdb.base/vla-optimized-out.exp: Add new test.
3573
3574 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3575
3576 * gdb.base/vla-optimized-out-o3.exp: Delete.
3577 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3578 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3579 deleted tests.
3580
3581 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3582
3583 PR gdb/18050:
3584 * gdb.server/extended-remote-restart.c: New file.
3585 * gdb.server/extended-remote-restart.exp: New file.
3586
3587 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3588
3589 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3590 "set variable index = 42".
3591
3592 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3593
3594 * boards/index-cache-gdb.exp: New file.
3595 * gdb.dwarf2/index-cache.exp: New file.
3596 * gdb.dwarf2/index-cache.c: New file.
3597 * gdb.base/maint.exp: Check if we are using the index cache.
3598
3599 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3600
3601 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3602 MAKEFLAGS.
3603
3604 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3605
3606 * dg-extract-results.sh: Move to toplevel contrib.
3607 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3608 * Makefile.in (check-parallel-racy): Likewise.
3609
3610 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3611
3612 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3613 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3614 tests if the target supports scheduler locking.
3615
3616 2018-08-04 Tom de Vries <tdevries@suse.de>
3617
3618 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3619
3620 2018-08-02 Tom Tromey <tom@tromey.com>
3621
3622 PR symtab/16842.
3623 * gdb.cp/temargs.exp: Test "info address" of a template
3624 parameter.
3625
3626 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3627
3628 * gdb.python/py-mi-var-info-path-expression.c: New file.
3629 * gdb.python/py-mi-var-info-path-expression.py: New file.
3630 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3631
3632 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3633
3634 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3635 error after "cannot resolve name" string.
3636
3637 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3638
3639 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3640 started.
3641 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3642
3643 2018-07-28 Tom de Vries <tdevries@suse.de>
3644
3645 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3646
3647 2018-07-26 Tom de Vries <tdevries@suse.de>
3648
3649 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3650
3651 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3652
3653 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3654 is visible.
3655
3656 2018-07-26 Tom de Vries <tdevries@suse.de>
3657
3658 PR breakpoints/23366
3659 * gdb.base/catch-follow-exec.c: New test.
3660 * gdb.base/catch-follow-exec.exp: New file.
3661
3662 2018-07-25 Tom de Vries <tdevries@suse.de>
3663
3664 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3665 vla-optimized-out.c.
3666
3667 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3668
3669 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3670 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3671
3672 2018-07-20 Tom de Vries <tdevries@suse.de>
3673
3674 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3675 NOCLONE macro.
3676 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3677
3678 2018-07-19 Tom de Vries <tdevries@suse.de>
3679
3680 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3681 regular expression.
3682
3683 2018-07-18 Tom de Vries <tdevries@suse.de>
3684
3685 * gdb.base/vla-optimized-out.c: New test.
3686 * gdb.base/vla-optimized-out.exp: New file.
3687
3688 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3689
3690 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3691 message "No address associated with hostname" when gdbserver
3692 cannot resolve the hostname.
3693
3694 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3695
3696 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3697 Add some test prefixes to make tests unique.
3698
3699 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3700
3701 * gdb.base/frameapply.c: New file.
3702 * gdb.base/frameapply.exp: New file.
3703
3704 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3705
3706 * gdb.base/skip.exp: Update expected error message.
3707
3708 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3709 Jan Kratochvil <jan.kratochvil@redhat.com>
3710 Paul Fertser <fercerpav@gmail.com>
3711 Tsutomu Seki <sekiriki@gmail.com>
3712
3713 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3714 parameter.
3715 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3716 by default.
3717 * boards/native-gdbserver.exp: Likewise.
3718 * gdb.server/run-without-local-binary.exp: Improve regexp used
3719 for detecting when a remote debugging connection succeeds.
3720 * gdb.server/server-connect.exp: New file.
3721 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3722 Do not prefix the port number with ":".
3723 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3724 support for detecting and using it. Add '$debughost_gdbserver'
3725 to the list of arguments used to start gdbserver. Handle case
3726 when gdbserver cannot resolve a network name.
3727
3728 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3729
3730 PR c++/23373
3731 * gdb.base/ptype-offsets.cc (struct static_member): New
3732 struct.
3733 (main) <stmember>: New variable.
3734 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3735 with a static member in it.
3736
3737 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3738
3739 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3740 watchpoints enabled and disabled.
3741
3742 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3743
3744 * gdb.base/examine-backward.exp: Still run tests around address
3745 0x0, even if address 0x0 is not readable. Update the pattern for
3746 matching address 0x0 in expected output.
3747
3748 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3749
3750 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3751 malloc/free.
3752
3753 2018-07-04 Tom de Vries <tdevries@suse.de>
3754
3755 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3756
3757 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3758
3759 PR tdep/8282
3760 * gdb.arch/mips-disassembler-options.exp: New test.
3761 * gdb.arch/mips-disassembler-options.s: New test source.
3762
3763 2018-06-29 Pedro Alves <palves@redhat.com>
3764
3765 * gdb.threads/names.exp: Adjust expected "info threads" output.
3766
3767 2018-06-29 Pedro Alves <palves@redhat.com>
3768
3769 * gdb.opt/inline-break.exp (line number, address): Add "info
3770 break" tests.
3771
3772 2018-06-29 Pedro Alves <palves@redhat.com>
3773
3774 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3775 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3776 number and address and running to them.
3777
3778 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3779
3780 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3781
3782 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3783
3784 * lib/compiler.c: Remove executable permission flag.
3785
3786 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3787
3788 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3789 code.
3790 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3791
3792 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3793
3794 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3795
3796 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3797
3798 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3799 address argument is omitted.
3800
3801 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3802
3803 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3804
3805 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3806
3807 PR gdb/21695
3808 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3809 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3810
3811 2018-06-26 Tom Tromey <tom@tromey.com>
3812
3813 PR rust/22574:
3814 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3815 * gdb.rust/simple.rs (struct SimpleLayout): New.
3816
3817 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3818
3819 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3820 "info registers" output.
3821
3822 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3823
3824 * gdb.base/watchpoint-hw-attach.c: New test.
3825 * gdb.base/watchpoint-hw-attach.exp: New file.
3826
3827 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3828
3829 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3830 through /bin/sh.
3831 * boards/dwarf4-gdb-index.exp: Likewise.
3832 * boards/fission-dwp.exp: Likewise.
3833
3834 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3835
3836 * gdb.base/float128.exp: Add comment and improved fail message
3837 to the failure case of "print large128" test.
3838
3839 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3840
3841 * configure.ac: Remove AC_PREREQ.
3842 * configure: Re-generate.
3843
3844 2018-06-19 Pedro Alves <palves@redhat.com>
3845
3846 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3847 (func_extern_caller): New.
3848 (main): Call func_extern_caller.
3849 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3850 logic change.
3851
3852 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3853
3854 PR gdb/16841
3855 * gdb.cp/typedef-base.cc: New file.
3856 * gdb.cp/typedef-base.exp: New file.
3857
3858 2018-06-18 Tom de Vries <tdevries@suse.de>
3859
3860 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3861
3862 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3863 Richard Bunt <Richard.Bunt@arm.com>
3864
3865 * gdb.threads/attach-slow-waitpid.c: New file.
3866 * gdb.threads/attach-slow-waitpid.exp: New file.
3867 * gdb.threads/slow-waitpid.c: New file.
3868
3869 2018-06-14 Pedro Alves <palves@redhat.com>
3870
3871 * gdb.base/fork-running-state.c: Include <errno.h>.
3872 (exit_if_relative_exits): New.
3873 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3874 exits.
3875 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3876 child exits.
3877
3878 2018-06-14 Tom de Vries <tdevries@suse.de>
3879
3880 PR cli/22573
3881 * gdb.base/finish-pretty.c: New test.
3882 * gdb.base/finish-pretty.exp: New file.
3883
3884 2018-06-14 Pedro Alves <palves@redhat.com>
3885
3886 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3887 gdb's expected startup output.
3888
3889 2018-06-14 Pedro Alves <palves@redhat.com>
3890
3891 * lib/selftest-support.exp (selftest_setup): Remove inlined
3892 function handling.
3893
3894 2018-06-14 Tom de Vries <tdevries@suse.de>
3895
3896 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3897 matching of breakpoint printing.
3898
3899 2018-06-13 Tom de Vries <tdevries@suse.de>
3900
3901 PR testsuite/23269
3902 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3903 (fork_child): ... here, and ...
3904 (fork_parent): ... here.
3905
3906 2018-06-12 Tom de Vries <tdevries@suse.de>
3907
3908 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3909
3910 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3911 Stephen Roberts <stephen.roberts@arm.com>
3912
3913 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3914 rewrite test to describe action performed, rather than possible
3915 failure.
3916
3917 2018-06-08 Gary Benson <gbenson@redhat.com>
3918
3919 * gdb.threads/check-libthread-db.exp: New file.
3920 * gdb.threads/check-libthread-db.c: Likewise.
3921
3922 2018-06-05 Tom Tromey <tom@tromey.com>
3923
3924 * gdb.base/default.exp: Update expected "show version" output.
3925
3926 2018-06-05 Tom Tromey <tom@tromey.com>
3927
3928 PR cli/12326:
3929 * gdb.cp/static-print-quit.exp: Update.
3930 * lib/gdb.exp (pagination_prompt): Update.
3931 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3932 * gdb.python/python.exp: Update.
3933
3934 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3935
3936 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3937
3938 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3939
3940 * gdb.ada/bp_fun_addr: New testcase.
3941
3942 2018-06-01 Tom Tromey <tom@tromey.com>
3943
3944 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3945 results.
3946 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3947 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3948 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3949 * gdb.base/maint.exp (maint_pass_if): Update.
3950
3951 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3952
3953 * gdb.base/endian.exp: New test.
3954 * gdb.base/endian.c: New test source.
3955
3956 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3957
3958 PR gdb/23203
3959 * gdb.base/bt-selected-frame.c: New file.
3960 * gdb.base/bt-selected-frame.exp: New file.
3961 * lib/gdb.exp (get_current_frame_number): New function.
3962
3963 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3964 Pedro Alves <palves@redhat.com>
3965
3966 * gdb.threads/tls-core.c: Include <stdlib.h>
3967 (thread_proc): Call `abort'.
3968 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3969 (tls_core_test): New procedure, bits factored out from ...
3970 (top level): ... here. Test both native cores and gcore cores.
3971
3972 2018-05-23 Tom Tromey <tom@tromey.com>
3973
3974 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3975
3976 2018-05-23 Tom Tromey <tom@tromey.com>
3977
3978 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3979 symfile_complaints.
3980 (test_short_complaints): Likewise.
3981 (test_empty_complaints): Likewise.
3982 (test_initial_complaints): Update.
3983
3984 2018-05-23 Tom Tromey <tom@tromey.com>
3985
3986 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3987
3988 2018-05-23 Tom Tromey <tom@tromey.com>
3989
3990 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3991 (test_short_complaints): Update.
3992
3993 2018-05-22 Pedro Alves <palves@redhat.com>
3994
3995 * gdb.base/remote.exp: Only gdb_start after compiling the
3996 testcase. Issue "disconnect" before testing "set remote" command
3997 defaults. Issue clean_restart before running to main.
3998
3999 2018-05-22 Pedro Alves <palves@redhat.com>
4000
4001 * gdb.base/remote.exp: Adjust expected output of "show remote
4002 memory-write-packet-size". Add tests for "set remote
4003 memory-write-packet-size 0" and "set remote
4004 memory-write-packet-size fixed/limit".
4005
4006 2018-05-22 Pedro Alves <palves@redhat.com>
4007
4008 PR gdb/22973
4009 * gdb.base/utf8-identifiers.c: New file.
4010 * gdb.base/utf8-identifiers.exp: New file.
4011
4012 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4013
4014 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4015
4016 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4017
4018 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4019
4020 2018-05-18 Tom Tromey <tom@tromey.com>
4021
4022 * gdb.base/ptype-offsets.exp: Update.
4023
4024 2018-05-17 Keith Seitz <keiths@redhat.com>
4025
4026 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4027 in expected breakpoint stop locations.
4028 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4029 move to proper scope to test variable values.
4030 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4031 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4032 New functions.
4033 (main): Call not_inline_func3.
4034 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4035 inline_func1, inline_func2, and inline_func3. Test that when each
4036 breakpoint is hit, GDB properly reports both the stop location
4037 and the backtrace. Repeat tests for temporary breakpoints.
4038
4039 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4040
4041 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4042 rather then trying to access it in determining whether the PID
4043 of `gdbserver' could have been retrieved.
4044
4045 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4046
4047 * gdb.arch/amd64-init-x87-values.S: New file.
4048 * gdb.arch/amd64-init-x87-values.exp: New file.
4049
4050 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4051
4052 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4053
4054 2018-05-04 Tom Tromey <tom@tromey.com>
4055
4056 PR python/22730:
4057 * gdb.python/python.exp: Test multi-line execute.
4058
4059 2018-05-04 Tom Tromey <tom@tromey.com>
4060
4061 PR python/22731:
4062 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4063
4064 2018-05-04 Tom Tromey <tom@tromey.com>
4065
4066 PR gdb/11750:
4067 * gdb.base/define.exp: Test defining a user command inside a user
4068 command.
4069 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4070
4071 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4072 Pedro Alves <palves@redhat.com>
4073
4074 PR breakpoints/19806 and support for PR external/20207.
4075 * gdb.base/watchpoint-unaligned.c: New file.
4076 * gdb.base/watchpoint-unaligned.exp: New file.
4077
4078 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4079
4080 * gdb.base/maint.exp: Make test names unique, use
4081 test_prefix_command_help to test 'help maint info', and remove
4082 repeated test of 'help maint'.
4083
4084 2018-05-04 Tom Tromey <tom@tromey.com>
4085
4086 PR gdb/22619:
4087 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4088 behavior.
4089
4090 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4091
4092 * gdb.base/maint.exp: Process output from 'maint print registers'
4093 line at a time.
4094
4095 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4096
4097 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4098 timeout.
4099
4100 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4101
4102 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4103 filter pattern.
4104
4105 2018-05-02 Pedro Alves <palves@redhat.com>
4106
4107 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4108 to_log_command renames.
4109 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4110
4111 2018-05-02 Tom Tromey <tom@tromey.com>
4112
4113 * gdb.python/py-parameter.exp: Set test message.
4114
4115 2018-05-02 Tom Tromey <tom@tromey.com>
4116
4117 PR python/20084:
4118 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4119 PARAM_ZUINTEGER_UNLIMITED tests.
4120
4121 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4122
4123 PR rust/23124
4124 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4125 when casting.
4126
4127 2018-04-30 Tom Tromey <tom@tromey.com>
4128
4129 * gdb.python/py-type.exp: Check align attribute.
4130 * gdb.python/py-type.c: New "aligncheck" global.
4131
4132 2018-04-30 Tom Tromey <tom@tromey.com>
4133
4134 PR exp/17095:
4135 * gdb.dwarf2/dw2-align.exp: New file.
4136 * gdb.cp/align.exp: New file.
4137 * gdb.base/align.exp: New file.
4138 * lib/gdb.exp (gdb_int128_helper): New proc.
4139 (has_int128_c, has_int128_cxx): New caching procs.
4140
4141 2018-04-27 Tom Tromey <tom@tromey.com>
4142
4143 PR rust/22545:
4144 * gdb.rust/simple.exp: Add inclusive range tests.
4145
4146 2018-04-26 Pedro Alves <palves@redhat.com>
4147
4148 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4149 ifunc breakpoint locations correctly of ifunc breakpoints set
4150 while the program resolves the ifunc.
4151
4152 2018-04-26 Pedro Alves <palves@redhat.com>
4153
4154 * gdb.base/gnu-ifunc-final.c: New file.
4155 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4156 * gdb.base/gnu-ifunc.exp (executable): Delete.
4157 (staticexecutable): Adjust.
4158 (lib_opts, exec_opts): Delete.
4159 (make_binsuffix, build, set-break): New procedures.
4160 (misc_tests): New, with tests factored out from the top level.
4161 (top level): Test different combinations of ifunc resolver name,
4162 resolver with and with debug info, and ifunc target with and
4163 without debug info. Wrap static tests with with_target_prefix.
4164
4165 2018-04-26 Pedro Alves <palves@redhat.com>
4166
4167 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4168 return type" warnings.
4169
4170 2018-04-25 Pedro Alves <palves@redhat.com>
4171
4172 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4173 killed".
4174 * gdb.base/kill-after-signal.exp: Likewise.
4175 * gdb.threads/kill.exp: Likewise.
4176
4177 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4178 Sergio Durigan Junior <sergiodj@redhat.com>
4179 Pedro Alves <palves@redhat.com>
4180
4181 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4182 regexps to expect for '[Inferior ... detached]' as well.
4183 * gdb.base/attach.exp: Likewise.
4184 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4185 "gdb_continue_to_end".
4186 (test_catch_syscall_with_wrong_args): Likewise.
4187 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4188 ']'. Don't set 'verbose' on.
4189 * gdb.base/foll-vfork.exp: Likewise.
4190 * gdb.base/fork-print-inferior-events.c: New file.
4191 * gdb.base/fork-print-inferior-events.exp: New file.
4192 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4193 '[Inferior ... has been killed]' message.
4194 * gdb.base/kill-after-signal.exp: Likewise.
4195 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4196 detach message.
4197 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4198 message.
4199 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4200 regexps to expect for '[Inferior ... detached]' as well.
4201 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4202
4203 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4204
4205 PR gdb/23104
4206 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4207
4208 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4209
4210 * gdb.threads/multiple-successive-infcall.c: New test.
4211 * gdb.threads/multiple-successive-infcall.exp: New file.
4212
4213 2018-04-17 Tom Tromey <tom@tromey.com>
4214
4215 * gdb.rust/simple.rs (Union): New type.
4216 (main): New local "u".
4217 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4218
4219 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4220
4221 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4222 number information in output of "whereis" command.
4223 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4224
4225 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4226
4227 * gdb.ada/info_types.exp: Adjust expected output to the line
4228 numbers now printed by "info var/func/type".
4229 * gdb.base/completion.exp: Likewise.
4230 * gdb.base/included.exp: Likewise.
4231 * gdb.cp/cp-relocate.exp: Likewise.
4232 * gdb.cp/cplusfuncs.exp: Likewise.
4233 * gdb.cp/namespace.exp: Likewise.
4234 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4235
4236 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4237
4238 * gdb.btrace/cpu.exp: New.
4239
4240 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4241
4242 * gdb.base/step-indirect-call-thunk.exp: New.
4243 * gdb.base/step-indirect-call-thunk.c: New.
4244 * gdb.reverse/step-indirect-call-thunk.exp: New.
4245 * gdb.reverse/step-indirect-call-thunk.c: New.
4246
4247 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4248
4249 * gdb.base/pie-fork.c: New file.
4250 * gdb.base/pie-fork.exp: New file.
4251
4252 2018-04-11 Tom Tromey <tom@tromey.com>
4253
4254 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4255
4256 2018-04-10 Pedro Alves <palves@redhat.com>
4257
4258 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4259 exits. Instead loop running forever.
4260 (fork_parent): Run forever too.
4261
4262 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4263
4264 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4265 mi_continue_to_line.
4266 * gdb.mi/mi-stack.c (callee4): Add comment.
4267
4268 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4269
4270 * gdb.mi/mi-stack.exp: Fix indentation.
4271
4272 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4273
4274 PR gdb/22979
4275 * gdb.arch/amd64-osabi.exp: New file.
4276
4277 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4278
4279 PR gdb/22980
4280 * gdb.base/osabi.exp: New file.
4281
4282 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4283
4284 * gdb.cp/static-typedef-print.exp: New file.
4285 * gdb.cp/static-typedef-print.cc: New file.
4286
4287 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4288
4289 * gdb.ada/varsize_limit: New testcase.
4290
4291 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4292
4293 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4294
4295 * gdb.ada/notcplusplus: New testcase.
4296
4297 * gdb.base/c-linkage-name.c: New file.
4298 * gdb.base/c-linkage-name.exp: New testcase.
4299
4300 2018-03-26 Tom Tromey <tom@tromey.com>
4301
4302 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4303 * gdb.python/py-framefilter.py (name_error): New global.
4304 (ErrorInName.function): Use name_error.
4305
4306 2018-03-26 Tom Tromey <tom@tromey.com>
4307
4308 PR backtrace/15582:
4309 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4310
4311 2018-03-23 Keith Seitz <keiths@redhat.com>
4312
4313 PR c++/22968
4314 * gdb.cp/subtypes.exp: New file.
4315 * gdb.cp/subtypes.h: New file.
4316 * gdb.cp/subtypes.cc: New file.
4317 * gdb.cp/subtypes-2.cc: New file.
4318
4319 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4320
4321 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4322 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4323 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4324 -nostartfiles when compiling the test. Confirm that all registers
4325 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4326
4327 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4328
4329 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4330 option, syntax was wrong anyway.
4331 * gdb.arch/arm-disp-step.exp: Likewise.
4332 * gdb.arch/sparc64-regs.exp: Likewise.
4333 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4334 option, syntax was wrong anyway, switch to use
4335 prepare_for_testing.
4336 * gdb.arch/i386-disp-step.exp: Likewise.
4337
4338 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4339
4340 * gdb.ada/exec_changed.exp: Replace "target_info exists
4341 use_gdb_stub" by "use_gdb_stub".
4342 * gdb.ada/start.exp: Likewise.
4343 * gdb.base/async-shell.exp: Likewise.
4344 * gdb.base/attach-pie-misread.exp: Likewise.
4345 * gdb.base/attach-wait-input.exp: Likewise.
4346 * gdb.base/break-entry.exp: Likewise.
4347 * gdb.base/break-interp.exp: Likewise.
4348 * gdb.base/dprintf-detach.exp: Likewise.
4349 * gdb.base/nostdlib.exp: Likewise.
4350 * gdb.base/solib-nodir.exp: Likewise.
4351 * gdb.base/statistics.exp: Likewise.
4352 * gdb.base/testenv.exp: Likewise.
4353 * gdb.mi/mi-exec-run.exp: Likewise.
4354 * gdb.mi/mi-start.exp: Likewise.
4355 * gdb.multi/dummy-frame-restore.exp: Likewise.
4356 * gdb.multi/multi-arch-exec.exp: Likewise.
4357 * gdb.multi/multi-arch.exp: Likewise.
4358 * gdb.multi/tids.exp: Likewise.
4359 * gdb.multi/watchpoint-multi.exp: Likewise.
4360 * gdb.python/py-events.exp: Likewise.
4361 * gdb.threads/attach-into-signal.exp: Likewise.
4362 * gdb.threads/attach-stopped.exp: Likewise.
4363 * gdb.threads/threadapply.exp: Likewise.
4364 * lib/selftest-support.exp: Likewise.
4365
4366 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4367
4368 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4369
4370 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4371
4372 * gdb.perf/template-breakpoints.cc: New file.
4373 * gdb.perf/template-breakpoints.exp: New file.
4374 * gdb.perf/template-breakpoints.py: New file.
4375
4376 2018-03-19 Tom Tromey <tom@tromey.com>
4377
4378 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4379 y0.
4380 * gdb.rust/simple.exp: Test bare identifier form of struct
4381 initializer.
4382
4383 2018-03-19 Tom Tromey <tom@tromey.com>
4384
4385 * gdb.gdb/observer.exp: Remove.
4386
4387 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4388
4389 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4390 "qualified" option when setting breakpoints.
4391 * gdb.trace/backtrace.exp: Likewise.
4392 * gdb.trace/circ.exp: Likewise.
4393 * gdb.trace/collection.exp: Likewise.
4394 * gdb.trace/disconnected-tracing.exp: Likewise.
4395 * gdb.trace/ftrace-lock.exp: Likewise.
4396 * gdb.trace/ftrace.exp: Likewise.
4397 * gdb.trace/infotrace.exp: Likewise.
4398 * gdb.trace/packetlen.exp: Likewise.
4399 * gdb.trace/passc-dyn.exp: Likewise.
4400 * gdb.trace/qtro.exp: Likewise.
4401 * gdb.trace/read-memory.exp: Likewise.
4402 * gdb.trace/report.exp: Likewise.
4403 * gdb.trace/signal.exp: Likewise.
4404 * gdb.trace/status-stop.exp: Likewise.
4405 * gdb.trace/strace.exp: Likewise.
4406 * gdb.trace/tfind.exp: Likewise.
4407 * gdb.trace/trace-break.exp: Likewise.
4408 * gdb.trace/trace-condition.exp: Likewise.
4409 * gdb.trace/trace-mt.exp: Likewise.
4410 * gdb.trace/tstatus.exp: Likewise.
4411 * gdb.trace/tsv.exp: Likewise.
4412 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4413 * gdb.trace/unavailable.exp: Likewise.
4414 * gdb.trace/while-dyn.exp: Likewise.
4415
4416 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4417
4418 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4419 that libinproctrace is copied to the target.
4420
4421 2018-03-14 Tom Tromey <tom@tromey.com>
4422
4423 PR cli/14977:
4424 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4425 a null pointer.
4426 * gdb.base/wchar.exp: Likewise.
4427
4428 2018-03-14 Tom Tromey <tom@tromey.com>
4429
4430 PR cli/19918:
4431 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4432 flag.
4433
4434 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4435
4436 PR gdb/22841
4437 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4438 "target" to remote_exec.
4439
4440 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4441
4442 PR gdb/22841
4443 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4444 ${board}_upload): Remove.
4445
4446 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4447
4448 * gdb.cp/watch-cp.cc: New test.
4449 * gdb.cp/watch-cp.exp: New file.
4450
4451 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4452
4453 * gdb.base/infcall-nested-structs.exp: New file.
4454 * gdb.base/infcall-nested-structs.c: New file.
4455 * gdb.base/float.exp: Add riscv support.
4456
4457 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4458
4459 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4460 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4461
4462 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4463
4464 * gdb.server/abspath.exp: New file.
4465 * lib/gdb.exp (with_cwd): New procedure.
4466
4467 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4468
4469 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4470 use it.
4471 (gdb_is_target_remote_prompt): New proc.
4472 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4473 (gdb_is_target_native): Pass prompt parameter to
4474 gdb_is_target_1.
4475
4476 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4477
4478 * gdb.base/load-command.c: New file.
4479 * gdb.base/load-command.exp: New file.
4480 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4481 (gdb_is_target_1): ...this, and generalize for other targets
4482 than just remote.
4483 (gdb_is_target_remote): Use gdb_is_target_1.
4484 (gdb_is_target_native): use gdb_is_target_1.
4485
4486 2018-02-26 Tom Tromey <tom@tromey.com>
4487
4488 PR python/16497:
4489 * gdb.python/py-framefilter.exp: Update test.
4490
4491 2018-02-26 Tom Tromey <tom@tromey.com>
4492
4493 * gdb.dwarf2/variant.c: New file.
4494 * gdb.dwarf2/variant.exp: New file.
4495
4496 2018-02-26 Tom Tromey <tom@tromey.com>
4497
4498 * gdb.rust/simple.exp: Accept more possible results in enum test.
4499
4500 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4501
4502 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4503 parentheses.
4504
4505 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4506
4507 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4508 name of a variable: $actual_linejj -> $actual_line.
4509
4510 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4511
4512 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4513
4514 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4515
4516 * gdb.btrace/buffer-size.exp: Do not force BTS.
4517
4518 2018-02-14 Pedro Alves <palves@redhat.com>
4519
4520 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4521 getting a "Quit".
4522
4523 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4524
4525 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4526 Fix test name.
4527
4528 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4529
4530 * gdb.cp/m-static.exp: Check type of optimized out static
4531 member.
4532
4533 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4534
4535 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4536 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4537
4538 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4539 Leszek Swirski <leszeks@google.com>
4540
4541 * gdb.python/py-prettyprint.c
4542 (struct to_string_returns_value_inner,
4543 struct to_string_returns_value_wrapper): New.
4544 (main): Add tsrvw variable.
4545 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4546 ToStringReturnsValueWrapper): New classes.
4547 (register_pretty_printers): Register new pretty-printers.
4548 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4549 recursive pretty printer.
4550 * gdb.python/py-mi.exp: Likewise.
4551
4552 2018-02-01 Leszek Swirski <leszeks@google.com>
4553
4554 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4555 functions with the same name as an include file are parsed
4556 correctly.
4557
4558 2018-02-01 Yao Qi <yao.qi@linaro.org>
4559
4560 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4561 "\[^\r\n\]*".
4562
4563 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4564
4565 * gdb.arch/powerpc-prologue-frame.s: New file.
4566 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4567 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4568
4569 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4570
4571 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4572
4573 2018-01-30 Pedro Alves <palves@redhat.com>
4574
4575 PR gdb/13211
4576 * gdb.base/interrupt-daemon.c: New.
4577 * gdb.base/interrupt-daemon.exp: New.
4578 * gdb.multi/multi-term-settings.c: New.
4579 * gdb.multi/multi-term-settings.exp: New.
4580
4581 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4582
4583 * gdb.base/break.exp: Save the location where the breakpoint
4584 on break.c:47 was actually inserted when debugging the version
4585 compiled at -O2 and use it in the expected output of the "info
4586 break" test performed soon after.
4587
4588 2018-01-22 Pedro Alves <palves@redhat.com>
4589 Sergio Durigan Junior <sergiodj@redhat.com>
4590
4591 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4592 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4593
4594 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4595
4596 * gdb.base/break-include.c, gdb.base/break-include.inc,
4597 gdb.base/break-include.exp: New files.
4598 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4599 line number now being the actual line number where the breakpoint
4600 was inserted.
4601 * gdb.mi/mi-break.exp: Likewise.
4602 * gdb.mi/mi-reverse.exp: Likewise.
4603 * gdb.mi/mi-simplerun.exp: Ditto.
4604
4605 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4606
4607 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4608 varobj.
4609 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4610
4611 2018-01-21 Don Breazeal <donb@codesourcery.com>
4612 Andrew Burgess <andrew.burgess@embecosm.com>
4613
4614 * gdb.mi/basics.c: Add new global.
4615 * gdb.mi/mi-frame-regs.exp: New file.
4616 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4617 case.
4618
4619 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4620
4621 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4622 non-parameter, and on an unknown symbol.
4623
4624 2018-01-19 Tom Tromey <tom@tromey.com>
4625
4626 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4627 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4628
4629 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4630
4631 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4632 setrlimit and chdir to int.
4633
4634 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4635
4636 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4637 function.
4638 (my_tend): Likewise.
4639 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4640 rationale of avoiding FP- and vector instructions.
4641
4642 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4643
4644 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4645 "info reg" with "\[ \t\]*".
4646 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4647 "\[ \t\]+".
4648 * gdb.arch/s390-multiarch.exp: Ditto.
4649 * gdb.base/pc-fp.exp: Ditto.
4650 * gdb.reverse/i386-precsave.exp: Ditto.
4651 * gdb.reverse/i386-reverse.exp: Ditto.
4652 * gdb.reverse/i387-env-reverse.exp: Ditto.
4653 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4654
4655 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4656
4657 * lib/gdb.exp (gdb_compile): Re-enable use of
4658 universal_compile_options for languages other than Rust.
4659
4660 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4661
4662 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4663
4664 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4665
4666 PR gdb/16577
4667 * gdb.base/solib-vanish.exp: New.
4668 * gdb.base/solib-vanish-main.c: New.
4669 * gdb.base/solib-vanish-lib1.c: New.
4670 * gdb.base/solib-vanish-lib2.c: New.
4671
4672 2018-01-17 Yao Qi <yao.qi@linaro.org>
4673
4674 * gdb.compile/compile.exp: Match the address printed for
4675 frame in the output of command "bt".
4676
4677 2018-01-15 Tom Tromey <tom@tromey.com>
4678
4679 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4680 compute sp_reg.
4681
4682 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4683
4684 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4685 to prepare.
4686 (prepare): Return 0 on error, 1 on success.
4687
4688 2018-01-12 Pedro Alves <palves@redhat.com>
4689
4690 * gdb.base/continue-after-aborted-step-over.c: New.
4691 * gdb.base/continue-after-aborted-step-over.exp: New.
4692
4693 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4694
4695 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4696 options when not creating an executable.
4697
4698 2018-01-11 Pedro Alves <palves@redhat.com>
4699
4700 PR remote/22597
4701 * gdb.server/stop-reply-no-thread.c: New file.
4702 * gdb.server/stop-reply-no-thread.exp: New file.
4703
4704 2018-01-10 Pedro Alves <palves@redhat.com>
4705
4706 PR gdb/22670
4707 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4708 functions too. Test setting breakpoints and printing C functions
4709 with no debug info too.
4710 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4711
4712 2018-01-10 Pedro Alves <palves@redhat.com>
4713
4714 PR gdb/22670
4715 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4716 a fail.
4717
4718 2018-01-10 Pedro Alves <palves@redhat.com>
4719
4720 PR gdb/22670
4721 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4722
4723 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4724
4725 * gdb.server/unittest.exp: Match the output in non-development
4726 mode.
4727
4728 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4729
4730 * gdb.gdb/unittest.exp: Match output in non-development mode.
4731
4732 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4733
4734 * gdb.ada/access_tagged_param.exp: Relax expected output
4735 for value of "ObjL" in "continue" to pck.inspect breakpoint
4736 test.
4737
4738 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4739
4740 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4741 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4742
4743 2018-01-05 Pedro Alves <palves@redhat.com>
4744
4745 PR gdb/18653
4746 * gdb.base/libsegfault.exp: New.
4747
4748 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4749
4750 PR gdb/22670
4751 * gdb.ada/access_tagged_param.exp: New file.
4752 * gdb.ada/access_tagged_param/foo.adb: New file.
4753
4754 2018-01-05 Pedro Alves <palves@redhat.com>
4755
4756 PR gdb/22670
4757 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4758 exercise lower case too, and to exercise both full matching and
4759 wild matching.
4760
4761 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4762
4763 * gdb.ada/rename_subscript_param: New testcase.
4764
4765 2018-01-05 Jerome Guitton <guitton@adacore.com>
4766
4767 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4768
4769 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4770
4771 * gdb.ada/convvar_comp: New testcase.
4772
4773 2018-01-05 Xavier Roirand <roirand@adacore.com>
4774
4775 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4776 (My_Table): New global variable.
4777 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4778
4779 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4780
4781 PR gdb/22670
4782 * gdb.ada/maint_with_ada: New testcase.
4783
4784 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4785
4786 PR gdb/22670
4787 * gdb.ada/bp_c_mixed_case: New testcase.
4788
4789 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4790
4791 PR gdb/22670
4792 * gdb.ada/complete.exp: Add "complete break ada" test.
4793
4794 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4795
4796 PR gdb/22670
4797 * gdb.ada/info_addr_mixed_case: New testcase.
4798
4799 2018-01-03 Xavier Roirand <roirand@adacore.com>
4800
4801 * gdb.ada/excep_handle.exp: New testcase.
4802 * gdb.ada/excep_handle/foo.adb: New file.
4803 * gdb.ada/excep_handle/pck.ads: New file.
4804
4805 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4806
4807 * gdb.base/step-line.c: Add extra empty line in copyright header.
4808 * gdb.base/step-line.inp: Likewise.
4809
4810 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4811
4812 * gdb.ada/dyn_stride.exp: Add slice test.
4813
4814 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4815
4816 * gdb.ada/dyn_stride: New testcase.
4817
4818 2017-12-27 Stafford Horne <shorne@gmail.com>
4819
4820 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4821 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4822
4823 2017-12-27 Stafford Horne <shorne@gmail.com>
4824
4825 * gdb.base/reggroups.c: New file.
4826 * gdb.base/reggroups.exp: New file.
4827
4828 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4829
4830 * gdb.dwarf2/ada-valprint-error.c: New file.
4831 * gdb.dwarf2/ada-valprint-error.exp: New file.
4832
4833 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4834
4835 * gdb.ada/assign_arr: New testcase.
4836
4837 2017-12-18 Xavier Roirand <roirand@adacore.com>
4838
4839 * gdb.ada/funcall_ptr: New testcase.
4840
4841 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4842
4843 PR cli/16224
4844 * gdb.base/ptype-offsets.cc: New file.
4845 * gdb.base/ptype-offsets.exp: New file.
4846
4847 2017-12-15 Yao Qi <yao.qi@linaro.org>
4848
4849 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4850 if XML is disabled.
4851
4852 2017-12-15 Xavier Roirand <roirand@adacore.com>
4853
4854 * gdb.ada/same_component_name: New testcase.
4855
4856 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4857
4858 * gdb.ada/str_binop_equal: New testcase.
4859
4860 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4861
4862 * gdb.ada/task_switch_in_core: New testcase.
4863
4864 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4865
4866 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4867 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4868 call test_bkpt_qualified.
4869 (test_bkpt_qualified): New proc.
4870
4871 2017-12-13 Pedro Alves <palves@redhat.com>
4872
4873 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4874 Tighten regexp by matching with an anchor.
4875
4876 2017-12-13 Pedro Alves <palves@redhat.com>
4877
4878 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4879 ("expression with namespace"): New set of tests.
4880 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4881 (Nested::Test_NS::qux): New.
4882 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4883 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4884
4885 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4886
4887 * gdb.base/server-del-break.c: New file.
4888 * gdb.base/server-del-break.exp: New file.
4889
4890 2017-12-12 Stafford Horne <shorne@gmail.com>
4891
4892 * gdb.xml/tdesc-regs.exp: Add or1k support.
4893
4894 2017-12-12 Stafford Horne <shorne@gmail.com>
4895
4896 * gdb.base/bp-permanent.c: Define nop of or1k.
4897
4898 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4899
4900 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4901 output with components being reordered.
4902
4903 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4904
4905 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4906 output with components being reordered.
4907
4908 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4909 Pedro Alves <palves@redhat.com>
4910
4911 * gdb.base/maint.exp (check for .gdb_index): Check also for
4912 .debug_names.
4913 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4914 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4915 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4916 (.gdb_index used after symbol reloading): Support also .debug_names.
4917 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4918
4919 2017-12-08 Yao Qi <yao.qi@linaro.org>
4920
4921 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4922 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4923
4924 2017-12-08 Yao Qi <yao.qi@linaro.org>
4925
4926 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4927 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4928
4929 2017-12-08 Yao Qi <yao.qi@linaro.org>
4930
4931 * gdb.arch/aarch64-tagged-pointer.c: New file.
4932 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4933
4934 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4935
4936 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4937 "int".
4938
4939 2017-12-07 Keith Seitz <keiths@redhat.com>
4940
4941 PR breakpoints/22569
4942 * gdb.linespec/ls-errs.exp: Change expected result of "break
4943 -source this file has spaces.c -line 3".
4944 Check that an explicit source file followed by whitespace is
4945 identified as an invalid explicit location.
4946
4947 2017-12-07 Keith Seitz <keiths@redhat.com>
4948
4949 * gdb.cp/nested-types.cc: New file.
4950 * gdb.cp/nested-types.exp: New file.
4951 * lib/cp-support.exp: Load data-structures.exp library.
4952 (debug_cp_test_ptype_class): New global.
4953 (cp_ptype_class_verbose, next_line): New procedures.
4954 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4955 Add and document new return value.
4956 Switch the list of lines to a queue.
4957 Add support for new `type' key for nested type definitions.
4958 Add debugging/troubleshooting messages.
4959 * lib/data-structures.exp: New file.
4960
4961 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4962
4963 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4964 with proc_with_prefix, don't use with_test_prefix.
4965
4966 2017-12-07 Tom Tromey <tom@tromey.com>
4967
4968 * gdb.base/break.exp: Add test for empty "commands".
4969
4970 2017-12-07 Yao Qi <yao.qi@linaro.org>
4971
4972 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4973 malloc and catch syscall.
4974
4975 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4976
4977 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4978 tests for explicit locations.
4979
4980 2017-12-06 Pedro Alves <palves@redhat.com>
4981
4982 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4983 force-disabling XML descriptions.
4984
4985 2017-12-04 Pedro Alves <palves@redhat.com>
4986
4987 PR gdb/22499
4988 * gdb.arch/amd64-disp-step-avx.S: New file.
4989 * gdb.arch/amd64-disp-step-avx.exp: New file.
4990
4991 2017-12-03 Pedro Alves <palves@redhat.com>
4992
4993 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4994 and <string.h>.
4995 (parent_function): Print distinct messages when waitpid fails, or
4996 the child exits with a signal, or the child exits for an unhandled
4997 reason.
4998 * gdb.threads/process-dies-while-detaching.exp
4999 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5000 it. Wait for both inferior output and GDB's prompt. Use an
5001 indirect spawn id list.
5002 (do_detach): New parameter 'child_exit'. Use it to compute
5003 expected inferior output.
5004 (test_detach, test_detach_watch, test_detach_killed_outside):
5005 Adjust to pass down the expected child exit kind.
5006
5007 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5008 Sergio Durigan Junior <sergiodj@redhat.com>
5009 Pedro Alves <palves@redhat.com>
5010
5011 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5012
5013 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5014
5015 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5016 to 'symbol-file' and 'add-symbol-file' can be
5017 position-independent.
5018
5019 2017-12-01 Yao Qi <yao.qi@linaro.org>
5020
5021 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5022 the URL in copyright header.
5023 * gdb.arch/aarch64-fp.exp: Likewise.
5024 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5025 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5026 * gdb.base/expand-psymtabs.exp: Likewise.
5027 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5028 * gdb.fortran/common-block.exp: Likewise.
5029 * gdb.fortran/common-block.f90: Likewise.
5030 * gdb.fortran/logical.exp: Likewise.
5031 * gdb.fortran/vla-datatypes.f90: Likewise.
5032 * gdb.fortran/vla-sub.f90: Likewise.
5033
5034 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5035
5036 * gdb.ada/repeat_dyn: New testcase.
5037
5038 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5039
5040 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5041 Update for changed thread numbering.
5042 * gdb.cell/bt.exp: Update for changed GDB output.
5043
5044 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5045
5046 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5047 setting isremote by hand.
5048 * boards/dwarf4-gdb-index.exp: Likewise.
5049 * boards/fission.exp: Likewise.
5050 * boards/stabs.exp: Likewise.
5051
5052 2017-11-30 Pedro Alves <palves@redhat.com>
5053
5054 * gdb.linespec/cpls-ops.exp
5055 (check_explicit_skips_function_argument): Extract the underlying
5056 type of size_t instead of hardcoding it.
5057
5058 2017-11-29 Pedro Alves <palves@redhat.com>
5059
5060 PR c++/19436
5061 * gdb.linespec/cpls-abi-tag.cc: New file.
5062 * gdb.linespec/cpls-abi-tag.exp: New file.
5063
5064 2017-11-29 Pedro Alves <palves@redhat.com>
5065
5066 * gdb.base/langs.exp: Use -qualified.
5067 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5068 it.
5069 * gdb.cp/namespace.exp: Use -qualified.
5070 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5071 (overload-3, template-overload, template-ret-type, const-overload)
5072 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5073 procedures.
5074 (test_driver): Call them.
5075 * gdb.cp/save-bp-qualified.cc: New.
5076 * gdb.cp/save-bp-qualified.exp: New.
5077 * gdb.linespec/explicit.exp: Test -qualified.
5078 * lib/completion-support.exp (completion::explicit_opts_list): Add
5079 "-qualified".
5080 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5081
5082 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5083
5084 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5085
5086 2017-11-29 Tom Tromey <tom@tromey.com>
5087
5088 * gdb.base/relocate.exp: Update invalid argument test.
5089 Add new tests for invalid arguments.
5090
5091 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5092
5093 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5094 Return 0 as a long.
5095 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5096
5097 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5098
5099 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5100 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5101 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5102 func ().
5103 * gdb.cp/shadow.cc (B.func): Return 0.
5104
5105 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5106
5107 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5108 expected output in gdb_expect call to allow the exception
5109 message to be present as well. Fix syntax confusion to avoid
5110 TCL thinking that exception_name is an array.
5111
5112 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5113
5114 * gdb.arch/spu-info.c: Include <unistd.h>.
5115 (do_signal_test): Fix broken calls to write.
5116 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5117 Fix checks for empty mailboxes. Update signal tests for corrected
5118 do_signal_test routine. Allow nonzero event status.
5119 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5120 * gdb.cell/arch.exp: Use standard_output_file.
5121 * gdb.cell/break.exp: Likewise.
5122 * gdb.cell/bt.exp: Likewise.
5123 * gdb.cell/core.exp: Likewise.
5124 * gdb.cell/dwarfaddr.exp: Likewise.
5125 * gdb.cell/ea-cache.exp: Likewise.
5126 * gdb.cell/ea-standalone.exp: Likewise.
5127 * gdb.cell/f-regs.exp: Likewise.
5128 * gdb.cell/fork.exp: Likewise.
5129 * gdb.cell/gcore.exp: Likewise.
5130 * gdb.cell/mem-access.exp: Likewise.
5131 * gdb.cell/ptype.exp: Likewise.
5132 * gdb.cell/registers.exp: Likewise.
5133 * gdb.cell/sizeof.exp: Likewise.
5134 * gdb.cell/solib-symbol.exp: Likewise.
5135 * gdb.cell/solib.exp: Likewise.
5136
5137 2017-11-25 Pedro Alves <palves@redhat.com>
5138
5139 * gdb.base/complete-empty.exp: New file.
5140 * gdb.base/completion.exp: Adjust.
5141
5142 2017-11-25 Pedro Alves <palves@redhat.com>
5143
5144 * gdb.linespec/cpls-ops.cc: New file.
5145 * gdb.linespec/cpls-ops.exp: New file.
5146 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5147 factored out from ...
5148 (test_complete_prefix_range): ... this.
5149
5150 2017-11-24 Pedro Alves <palves@redhat.com>
5151
5152 * gdb.linespec/cpcompletion.exp: New file.
5153 * gdb.linespec/cpls-hyphen.cc: New file.
5154 * gdb.linespec/cpls.cc: New file.
5155 * gdb.linespec/cpls2.cc: New file.
5156 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5157 test to use test_gdb_complete_unique. Add label completion,
5158 keyword completion and explicit location completion tests.
5159 * lib/completion-support.exp: New file.
5160
5161 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5162
5163 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5164 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5165 when hitting an exception catchpoint.
5166
5167 2017-11-22 Yao Qi <yao.qi@linaro.org>
5168
5169 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5170
5171 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5172
5173 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5174 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5175 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5176
5177 2017-11-22 Yao Qi <yao.qi@linaro.org>
5178
5179 * gdb.base/info-os.exp: Pass pthreads.
5180 * gdb.multi/multi-attach.exp: Likewise.
5181
5182 2017-11-22 Yao Qi <yao.qi@linaro.org>
5183
5184 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5185 compiler.
5186
5187 2017-11-22 Yao Qi <yao.qi@linaro.org>
5188
5189 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5190 * gdb.base/break-interp.exp: Likewise.
5191 * gdb.base/jit-attach-pie.exp: Likewise.
5192
5193 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5194
5195 * gdb.base/float128.c (large128): New variable.
5196 * gdb.base/float128.exp: Add test to print largest __float128 value.
5197
5198 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5199
5200 * gdb.arch/vsx-regs.exp: Update register content checks.
5201
5202 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5203
5204 * gdb.arch/ppc-longdouble.exp: New file.
5205 * gdb.arch/ppc-longdouble.c: Likewise.
5206
5207 2017-11-21 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5210
5211 2017-11-20 Pedro Alves <palves@redhat.com>
5212
5213 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5214 (long_double_typedef): New typedefs.
5215 Use DEF on double and long double.
5216 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5217 cases.
5218 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5219 and 'long_double_ptr_same_size' locals. Use them to decide
5220 whether cast from array/function to float is valid/invalid.
5221
5222 2017-11-17 Tom Tromey <tom@tromey.com>
5223
5224 * gdb.rust/traits.rs: New file.
5225 * gdb.rust/traits.exp: New file.
5226
5227 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5228
5229 * gdb.ada/minsyms: New testcase.
5230
5231 2017-11-16 Pedro Alves <palves@redhat.com>
5232
5233 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5234 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5235
5236 2017-11-16 Pedro Alves <palves@redhat.com>
5237
5238 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5239 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5240
5241 2017-11-16 Pedro Alves <palves@redhat.com>
5242
5243 * gdb.server/reconnect-ctrl-c.c: New file.
5244 * gdb.server/reconnect-ctrl-c.exp: New file.
5245
5246 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5247
5248 * gdb.python/py-rbreak.exp: New file.
5249 * gdb.python/py-rbreak.c: New file.
5250 * gdb.python/py-rbreak-func2.c: New file.
5251
5252 2017-11-16 Pedro Alves <palves@redhat.com>
5253
5254 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5255 pattern.
5256 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5257 GDB.
5258
5259 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5260
5261 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5262 regex.
5263
5264 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5265
5266 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5267 test names.
5268
5269 2017-11-09 Pedro Alves <palves@redhat.com>
5270
5271 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5272 factored out from ...
5273 (top level): ... here, and adjusted to avoid expecting beyond the
5274 prompt in a single gdb_test_multiple.
5275
5276 2017-11-09 Pedro Alves <palves@redhat.com>
5277
5278 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5279 output.
5280 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5281 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5282 * gdb.server/ext-run.exp ("kill" test): Likewise.
5283 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5284
5285 2017-11-09 Pedro Alves <palves@redhat.com>
5286
5287 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5288 match till end of line.
5289
5290 2017-11-09 Pedro Alves <palves@redhat.com>
5291
5292 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5293
5294 2017-11-09 Pedro Alves <palves@redhat.com>
5295
5296 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5297 New procedures, factored out from ...
5298 (top level): ... here, and adjusted to avoid expecting beyond the
5299 prompt in one go.
5300
5301 2017-11-09 Pedro Alves <palves@redhat.com>
5302
5303 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5304 output. Fix '?' match.
5305
5306 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5307
5308 * gdb.ada/scoped_watch: New testcase.
5309 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5310 which is actually correct.
5311 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5312 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5313
5314 2017-11-08 Pedro Alves <palves@redhat.com>
5315
5316 * gdb.gdb/complaints.exp (test_initial_complaints)
5317 (test_serial_complaints, test_short_complaints): Call
5318 complaint_internal instead of complaint.
5319
5320 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5321
5322 * gdb.threads/tls-core.c: New file.
5323 * gdb.threads/tls-core.exp: Likewise.
5324
5325 2017-11-08 Pedro Alves <palves@redhat.com>
5326
5327 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5328 (p Exported_Capitalized): New test.
5329 (p exported_capitalized): New test.
5330
5331 2017-11-07 Pedro Alves <palves@redhat.com>
5332
5333 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5334
5335 2017-11-07 Pedro Alves <palves@redhat.com>
5336
5337 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5338 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5339 (disable_invalid, disable_inverted, disable_negative): New
5340 procedures.
5341 ("bad numbers"): New set of tests.
5342
5343 2017-11-07 Pedro Alves <palves@redhat.com>
5344
5345 * gdb.cp/ena-dis-br-range.exp: Add tests.
5346
5347 2017-11-07 Pedro Alves <palves@redhat.com>
5348
5349 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5350
5351 2017-11-07 Xavier Roirand <roirand@adacore.com>
5352 Pedro Alves <palves@redhat.com>
5353
5354 * gdb.base/ena-dis-br.exp: Add reference to
5355 gdb.cp/ena-dis-br-range.exp.
5356 * gdb.cp/ena-dis-br-range.exp: New file.
5357 * gdb.cp/ena-dis-br-range.cc: New file.
5358
5359 2017-11-06 Pedro Alves <palves@redhat.com>
5360
5361 * gdb.base/attach-non-pgrp-leader.c: New.
5362 * gdb.base/attach-non-pgrp-leader.exp: New.
5363
5364 2017-11-06 Pedro Alves <palves@redhat.com>
5365
5366 * configure.ac: No longer check for termio.h and sgtty.h.
5367 * configure: Regenerate.
5368 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5369 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5370 Remove termio and sgtty code.
5371
5372 2017-11-03 Yao Qi <yao.qi@linaro.org>
5373
5374 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5375 in GDB is disabled.
5376
5377 2017-11-03 Yao Qi <yao.qi@linaro.org>
5378
5379 * gdb.python/py-thrhandle.exp: Skip it if python is not
5380 enabled.
5381
5382 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5383
5384 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5385 as a breakpoint command.
5386
5387 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5388
5389 PR python/21213
5390 * gdb.python/py-infthread.exp: Test calling
5391 InferiorThread.inferior () multiple times in a row.
5392
5393 2017-10-27 Keith Seitz <keiths@redhat.com>
5394
5395 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5396 Test "info break" for every inlined function breakpoint.
5397
5398 2017-10-27 Yao Qi <yao.qi@linaro.org>
5399
5400 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5401
5402 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5403
5404 * gdb.cp/classes.exp (test_static_members): Test printing
5405 Outer::instance.
5406 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5407 (Inner::instance, Outer::instance): New.
5408
5409 2017-10-24 Pedro Alves <palves@redhat.com>
5410
5411 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5412 extra console" test in two stages.
5413
5414 2017-10-24 Pedro Alves <palves@redhat.com>
5415
5416 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5417
5418 2017-10-24 Pedro Alves <palves@redhat.com>
5419
5420 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5421 loop.
5422
5423 2017-10-24 Pedro Alves <palves@redhat.com>
5424
5425 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5426 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5427
5428 2017-10-24 Pedro Alves <palves@redhat.com>
5429
5430 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5431 parameter and handle it. Don't output read value in test name.
5432
5433 2017-10-24 Pedro Alves <palves@redhat.com>
5434
5435 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5436 custom test name.
5437
5438 2017-10-24 Pedro Alves <palves@redhat.com>
5439
5440 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5441 include the unstable output directory name in the test's name.
5442 (initial_setup_simple) <'set args'>: Use custom test name.
5443
5444 2017-10-24 Pedro Alves <palves@redhat.com>
5445
5446 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5447 with explicit test name.
5448
5449 2017-10-20 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5452 'wait -i'. Use gdb_assert and remote_close.
5453
5454 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5455
5456 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5457 number from variable rather than hard-coded.
5458
5459 2017-10-19 Pedro Alves <palves@redhat.com>
5460
5461 * gdb.base/long-inferior-output.c: New file.
5462 * gdb.base/long-inferior-output.exp: New file.
5463
5464 2017-11-18 Keith Seitz <keiths@redhat.com>
5465
5466 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5467 method.
5468 (main): Call it.
5469 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5470 Add additional user-defined conversion operator tests.
5471
5472 2017-10-17 Pedro Alves <palves@redhat.com>
5473
5474 * boards/native-stdio-gdbserver.exp: Load "local-board".
5475
5476 2017-10-17 Pedro Alves <palves@redhat.com>
5477
5478 * gdb.base/quit-live.c: New file.
5479 * gdb.base/quit-live.exp: New file.
5480
5481 2017-10-16 Keith Seitz <keiths@redhat.com>
5482
5483 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5484 (class_with_protected_typedef, class_with_private_typedef)
5485 (struct_with_public_typedef, struct_with_protected_typedef)
5486 (struct_with_private_typedef): New classes/structs.
5487 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5488 typedefs and access specifiers.
5489
5490 2017-10-16 Pedro Alves <palves@redhat.com>
5491 Simon Marchi <simon.marchi@polymtl.ca>
5492
5493 * README (Local vs Remote vs Native): New section.
5494 * boards/local-board.exp: New file, with bits factored out from
5495 ...
5496 * boards/native-extended-gdbserver.exp: ... here. Load
5497 "local-board".
5498 * boards/native-gdbserver.exp: Load "local-board".
5499 (${board}_spawn, ${board}_exec): Delete.
5500 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5501 ...
5502 * boards/stdio-gdbserver-base.exp: ... this new file.
5503 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5504 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5505 procedure.
5506 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5507 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5508 stdio_gdbserver_command.
5509 (${board}_get_remote_address, ${board}_get_comm_port)
5510 (${board}_download, ${board}_upload): Delete.
5511 (get_target_remote_pipe_cmd): New.
5512
5513 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5514
5515 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5516 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5517 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5518 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5519 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5520 remove with_test_prefix.
5521
5522 2017-10-13 Pedro Alves <palves@redhat.com>
5523
5524 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5525 * gdb.base/annota1.exp: Use it instead of is_remote.
5526 * gdb.base/annota3.exp: Use it instead of is_remote.
5527 * gdb.cp/annota2.exp: Use it instead of is_remote.
5528 * gdb.cp/annota3.exp: Use it instead of is_remote.
5529 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5530
5531 2017-10-13 Pedro Alves <palves@redhat.com>
5532
5533 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5534 (test_num_test_vars, run_and_count_vars, find_env)
5535 (test_set_unset_env, test_inherit_env_var): New procedures.
5536 (top level): Use them.
5537
5538 2017-10-13 Pedro Alves <palves@redhat.com>
5539
5540 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5541 also skip on stub-like targets.
5542
5543 2017-10-13 Pedro Alves <palves@redhat.com>
5544
5545 PR gdb/22293
5546 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5547 (top level): Move some tests to ...
5548 (test_not_found): ... this new procedure.
5549 (top level): Call it.
5550
5551 2017-10-13 Pedro Alves <palves@redhat.com>
5552
5553 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5554 expect different "info terminal" output if testing with a
5555 non-native target.
5556
5557 2017-10-13 Pedro Alves <palves@redhat.com>
5558 Simon Marchi <simon.marchi@polymtl.ca>
5559
5560 PR python/12966
5561 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5562
5563 2017-10-13 Pedro Alves <palves@redhat.com>
5564
5565 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5566 already.
5567
5568 2017-10-13 Pedro Alves <palves@redhat.com>
5569
5570 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5571 is_remote.
5572
5573 2017-10-13 Pedro Alves <palves@redhat.com>
5574
5575 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5576 is_remote.
5577
5578 2017-10-13 Pedro Alves <palves@redhat.com>
5579
5580 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5581 is set.
5582 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5583 instead of is_remote.
5584
5585 2017-10-13 Pedro Alves <palves@redhat.com>
5586
5587 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5588 (top level): Add comment.
5589
5590 2017-10-13 Pedro Alves <palves@redhat.com>
5591
5592 * gdb.base/remote.exp (top level): Fix comment typo and add
5593 missing return.
5594
5595 2017-10-13 Pedro Alves <palves@redhat.com>
5596 Simon Marchi <simon.marchi@polymtl.ca>
5597
5598 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5599 calls and add comments. Skip test if use_gdb_stub is set.
5600 (top level): Use "set cwd" command instead of "cd" command.
5601
5602 2017-10-13 Pedro Alves <palves@redhat.com>
5603
5604 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5605 is_remote target check.
5606
5607 2017-10-13 Pedro Alves <palves@redhat.com>
5608
5609 * gdb.base/scope.exp: Use build_executable + clean_restart +
5610 gdb_file_cmd instead of prepare_for_testing and no longer skip
5611 "before run" tests on is_remote target boards. Update comments.
5612 * boards/native-extended-gdbserver.exp
5613 (extended_gdbserver_load_last_file): New, factored out from ...
5614 (gdb_load): ... this. Move further below and add comment.
5615 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5616
5617 2017-10-12 Pedro Alves <palves@redhat.com>
5618
5619 * gdb.base/attach.exp: Remove references to gdb64.
5620 * gdb.base/dbx.exp: Remove references to gdb64.
5621
5622 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5623 Pedro Alves <palves@redhat.com>
5624
5625 * gdb.base/label.exp: Remove is_remote target check.
5626
5627 2017-10-12 Pedro Alves <palves@redhat.com>
5628
5629 * gdb.base/auvx.exp (coredir): Update comment.
5630 (top level) <core_works>: Use "set cwd" command instead of "cd"
5631 command.
5632
5633 2017-10-12 Pedro Alves <palves@redhat.com>
5634 Simon Marchi <simon.marchi@polymtl.ca>
5635
5636 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5637 target boards.
5638
5639 2017-10-12 Pedro Alves <palves@redhat.com>
5640 Simon Marchi <simon.marchi@polymtl.ca>
5641
5642 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5643 Instead skip if there's any gdb_protocol set.
5644
5645 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5646 Pedro Alves <palves@redhat.com>
5647
5648 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5649
5650 2017-10-12 Pedro Alves <palves@redhat.com>
5651 Simon Marchi <simon.marchi@polymtl.ca>
5652
5653 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5654 instead of on dejagnu remote boards.
5655
5656 2017-10-12 Pedro Alves <palves@redhat.com>
5657 Simon Marchi <simon.marchi@polymtl.ca>
5658
5659 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5660 checks. Use build_executable + clean_restart instead of
5661 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5662 of enabling non-stop after starting gdb.
5663
5664 2017-10-12 Pedro Alves <palves@redhat.com>
5665
5666 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5667 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5668 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5669 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5670
5671 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5672
5673 * gdb.arch/arc-tdesc-cpu.exp: New file.
5674 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5675
5676 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5677
5678 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5679
5680 2017-10-10 Pedro Alves <palves@redhat.com>
5681
5682 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5683 expect CLI output.
5684
5685 2017-10-10 Pedro Alves <palves@redhat.com>
5686
5687 * lib/selftest-support.exp (selftest_setup): Update for
5688 captured_command_loop's prototype change.
5689
5690 2017-10-09 Pedro Alves <palves@redhat.com>
5691
5692 Test both arch1=>arch2 and arch2=>arch1.
5693
5694 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5695 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5696 factored out to...
5697 (append_arch1_options, append_arch2_options, append_arch_options)
5698 (build_executables): New procedures.
5699 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5700 local.
5701 (top level): Add new 'first_arch' testing axis.
5702
5703 2017-10-09 Pedro Alves <palves@redhat.com>
5704
5705 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5706 (barrier): New.
5707 (thread_start, all_started): New functions.
5708 (main): Spawn new thread and wait until it is scheduled.
5709 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5710 option.
5711 (do_test): Add 'selected_thread' parameter. Run to all_started
5712 instead of main. Explicitly set the breakpoint at main. Switch
5713 to the SELECTED_THREAD thread.
5714 (top level): Test handling the exec event with either the main
5715 thread or the second thread selected.
5716
5717 2017-10-09 Pedro Alves <palves@redhat.com>
5718
5719 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5720 logic. Move STOP marker after the value checks.
5721 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5722 regexp.
5723
5724 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5725
5726 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5727
5728 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5729
5730 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5731 integer-to-dfp conversion.
5732 * gdb.base/dfp-test.exp: Likewise.
5733
5734 2017-10-04 Pedro Alves <palves@redhat.com>
5735
5736 * gdb.multi/hangout.c: Include <unistd.h>.
5737 (hangout_loop): New function.
5738 (main): Call alarm. Call hangout_loop in a loop.
5739 * gdb.multi/hello.c: Include <unistd.h>.
5740 (hello_loop): New function.
5741 (main): Call alarm. Call hangout_loop in a loop.
5742 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5743 inferior with the other selected.
5744
5745 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5746
5747 * gdb.mi/list-thread-groups-available.exp: New file.
5748 * gdb.mi/list-thread-groups-available.c: New file.
5749
5750 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5751
5752 * gdb.base/set-cwd.exp: Make it available on
5753 native-extended-gdbserver.
5754
5755 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5756
5757 * gdb.base/set-cwd.c: New file.
5758 * gdb.base/set-cwd.exp: Likewise.
5759
5760 2017-10-02 Tom Tromey <tom@tromey.com>
5761
5762 PR rust/22236:
5763 * gdb.rust/simple.rs (main): New variable "fslice".
5764 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5765
5766 2017-10-02 Tom Tromey <tom@tromey.com>
5767
5768 * gdb.rust/simple.exp: Test ptype of a slice.
5769
5770 2017-10-02 Tom Tromey <tom@tromey.com>
5771
5772 * gdb.rust/simple.exp: Test index of slice.
5773
5774 2017-09-27 Tom Tromey <tom@tromey.com>
5775
5776 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5777
5778 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5779 Pedro Alves <palves@redhat.com>
5780
5781 * gdb.base/compare-sections.exp (get value of read-only section): Read
5782 as unsigned value.
5783 (corrupt read-only section): Likewise and don't set written if patching
5784 failed.
5785
5786 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5787
5788 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5789 files.
5790
5791 2017-09-20 Pedro Alves <palves@redhat.com>
5792
5793 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5794 symbol names in gdb's output.
5795 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5796
5797 2017-09-20 Pedro Alves <palves@redhat.com>
5798
5799 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5800 Rename to ...
5801 (test_list_ambiguous_symbol): ... this and add a symbol name
5802 parameter. Adjust.
5803 (test_list_ambiguous_function): Reimplement on top of
5804 test_list_ambiguous_symbol and also test listing ambiguous
5805 variables.
5806 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5807 (ambiguous_fun): ... this.
5808 (ambiguous_var): New.
5809 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5810 (ambiguous_fun): ... this.
5811 (ambiguous_var): New.
5812
5813 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5814
5815 * gdb.base/starti.c: New file.
5816 * gdb.base/starti.exp: New file.
5817 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5818
5819 2017-09-14 Pedro Alves <palves@redhat.com>
5820
5821 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5822 (top level): Use it instead of runto.
5823
5824 2017-09-11 Tom Tromey <tom@tromey.com>
5825
5826 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5827
5828 2017-09-11 Tom Tromey <tom@tromey.com>
5829
5830 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5831 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5832
5833 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5834
5835 * gdb.fortran/printing-types.exp: New file.
5836 * gdb.fortran/printing-types.exp: New file.
5837
5838 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5839
5840 * gdb.fortran/vla-ptype.exp: Fix typos.
5841 * gdb.fortran/vla-value.exp: Same.
5842
5843 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5844
5845 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5846 * gdb.mi/mi-var-child-f.exp: Likewise.
5847 * gdb.mi/mi-vla-fortran.exp: Likewise.
5848
5849 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5850 Christoph Weinmann <christoph.t.weinmann@intel.com>
5851 Bernhard Heckel <bernhard.heckel@intel.com>
5852
5853 * gdb.fortran/ptr-indentation.f90: New file.
5854 * gdb.fortran/ptr-indentation.exp: New file.
5855
5856 2017-09-05 Tom Tromey <tom@tromey.com>
5857
5858 PR gdb/22010:
5859 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5860
5861 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5862
5863 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5864
5865 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5866
5867 * gdb.threads/tls-nodebug-pie.c: New file.
5868 * gdb.threads/tls-nodebug-pie.exp: New file.
5869
5870 2017-09-05 Tom Tromey <tom@tromey.com>
5871
5872 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5873 for rust.
5874
5875 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5876
5877 * gdb.multi/multi-arch-exec.exp: Test with different
5878 "follow-exec-mode" settings.
5879 (do_test): New procedure.
5880
5881 2017-09-04 Pedro Alves <palves@redhat.com>
5882
5883 * gdb.base/func-static.c (S::method const, S::method volatile)
5884 (S::method volatile const): New methods.
5885 (c_s, v_s, cv_s): New instances.
5886 (main): Call method() on them.
5887 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5888 (cannot_resolve): New procedure.
5889 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5890 print-quote-unquoted columns.
5891 (do_test): Test printing each scope too.
5892
5893 2017-09-04 Pedro Alves <palves@redhat.com>
5894
5895 * gdb.base/local-static.exp: Also test with
5896 class::method::variable wholly quoted.
5897 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5898
5899 2017-09-04 Pedro Alves <palves@redhat.com>
5900
5901 * gdb.base/local-static.c: New.
5902 * gdb.base/local-static.cc: New.
5903 * gdb.base/local-static.exp: New.
5904
5905 2017-09-04 Pedro Alves <palves@redhat.com>
5906
5907 * gdb.asm/asm-source.exp: Add casts to int.
5908 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5909 (dataglobal64_1, dataglobal64_2): New globals.
5910 * gdb.base/nodebug.exp: Test different expressions involving the
5911 new globals, with print, whatis and ptype. Add casts to int.
5912 * gdb.base/solib-display.exp: Add casts to int.
5913 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5914 * gdb.cp/m-static.exp: Add cast to int.
5915 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5916 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5917 tls variable with no debug info without a cast. Test with a cast
5918 to int too.
5919 * gdb.trace/entry-values.exp: Add casts.
5920
5921 2017-09-04 Pedro Alves <palves@redhat.com>
5922
5923 * gdb.base/nodebug.exp: Test that ptype's error about functions
5924 with unknown return type includes the function name too.
5925
5926 2017-09-04 Pedro Alves <palves@redhat.com>
5927
5928 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5929 return type of munmap in infcall.
5930 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5931 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5932 type of ftell in infcall.
5933 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5934 type of getpid in infcall.
5935 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5936 infcall.
5937 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5938 Bail on failure to extract the pid.
5939 * gdb.base/nodebug.c: #include <stdint.h>.
5940 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5941 New functions.
5942 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5943 Change expected output of print/whatis/ptype with functions with
5944 no debug info. Test all supported languages. Call
5945 test_call_promotion.
5946 * gdb.compile/compile.exp: Adjust expected output to expect
5947 warning.
5948 * gdb.threads/siginfo-threads.exp: Likewise.
5949
5950 2017-09-04 Pedro Alves <palves@redhat.com>
5951
5952 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5953 "prototypes". Test calling float functions via prototyped and
5954 unprototyped function pointers.
5955 (perform_all_tests): New parameter "prototypes". Pass it down.
5956 (top level): Pass down "prototypes" parameter to
5957 perform_all_tests.
5958
5959 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5960
5961 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5962 Test with nested loops.
5963
5964 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5965
5966 * gdb.base/commands.exp: Call the new procedures.
5967 (loop_break_test, loop_continue_test): New procedures.
5968
5969 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5970
5971 * gdb.base/commands.exp: Call new procedure.
5972 (define_if_without_arg_test): New procedure.
5973
5974 2017-09-04 Pedro Alves <palves@redhat.com>
5975
5976 * gdb.base/list-ambiguous.exp: New file.
5977 * gdb.base/list-ambiguous0.c: New file.
5978 * gdb.base/list-ambiguous1.c: New file.
5979 * gdb.base/list.exp (test_list_range): Adjust expected output.
5980
5981 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5982
5983 * gdb.base/share-env-with-gdbserver.c: New file.
5984 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5985
5986 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5987
5988 * gdb.base/commands.exp (gdbvar_simple_if_test,
5989 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5990 progvar_simple_if_test, progvar_simple_while_test,
5991 progvar_complex_if_while_test, user_defined_command_test,
5992 user_defined_command_args_eval,
5993 user_defined_command_args_stack_test,
5994 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5995 temporary_breakpoint_commands,
5996 gdb_test_no_prompt, redefine_hook_test,
5997 redefine_backtrace_test): Remove "global gdb_prompt".
5998
5999 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6000
6001 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6002 New proc, call it from toplevel.
6003
6004 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6005
6006 PR remote/21852
6007 * gdb.server/normal.c: New file, copied from gdb.base.
6008 * gdb.server/run-without-local-binary.exp: New file.
6009
6010 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6011
6012 * gdb.arch/sparc64-adi.exp: New file.
6013 * gdb.arch/sparc64-adi.c: New file.
6014
6015 2017-08-22 Pedro Alves <palves@redhat.com>
6016
6017 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6018 (top level): Add "list all overloads" tests.
6019
6020 2017-08-22 Tom Tromey <tom@tromey.com>
6021
6022 * gdb.gdb/xfullpath.exp: Remove.
6023
6024 2017-08-21 Pedro Alves <palves@redhat.com>
6025
6026 PR gdb/19487
6027 * gdb.base/symbol-alias.c: New.
6028 * gdb.base/symbol-alias2.c: New.
6029 * gdb.base/symbol-alias.exp: New.
6030
6031 2017-08-21 Pedro Alves <palves@redhat.com>
6032
6033 * gdb.base/dfp-test.c
6034 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6035 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6036 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6037 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6038 * gdb.base/whatis-ptype-typedefs.c: New.
6039 * gdb.base/whatis-ptype-typedefs.exp: New.
6040 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6041 (an_int, an_int_type, an_int_type2): New globals.
6042 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6043 involving typedefs and cast expressions.
6044 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6045 (lookup_typedefs_function): New.
6046 (typedefs_pretty_printers_dict): New.
6047 (top level): Register lookup_typedefs_function in
6048 gdb.pretty_printers.
6049
6050 2017-08-18 Yao Qi <yao.qi@linaro.org>
6051
6052 * gdb.server/unittest.exp: New.
6053
6054 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6055
6056 PR gdb/21954
6057 * gdb.base/environ.exp: Add test to check if 'unset environment'
6058 works.
6059
6060 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6061
6062 * lib/gdb.exp (universal_compile_options): New caching proc.
6063 (gdb_compile): Suppress GCC's coloring of messages.
6064
6065 2017-08-14 Tom Tromey <tom@tromey.com>
6066
6067 PR gdb/21675:
6068 * gdb.base/printcmds.exp (test_radices): New function.
6069 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6070 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6071 * lib/gdb.exp (get_integer_valueof): Use p/d.
6072
6073 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6074
6075 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6076 characters.
6077
6078 2017-08-05 Tom Tromey <tom@tromey.com>
6079
6080 * gdb.rust/simple.exp: Allow String to appear in a different
6081 namespace.
6082
6083 2017-07-26 Yao Qi <yao.qi@linaro.org>
6084
6085 * gdb.gdb/unittest.exp: Invoke command
6086 "maintenance check xml-descriptions".
6087
6088 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6089
6090 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6091 calling context.
6092 (hex128): Drop erroneous calculation of parameters.
6093
6094 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6095
6096 * gdb.python/py-unwind.exp: Disable stack protection when
6097 building test file.
6098
6099 2017-07-20 Pedro Alves <palves@redhat.com>
6100
6101 * gdb.base/default.exp (set language): Adjust expected output.
6102
6103 2017-07-20 Pedro Alves <palves@redhat.com>
6104
6105 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6106 (test_minsym): ... this, and make static.
6107 (get_pck__foo__bar__minsym): Rename to ...
6108 (get_test_minsym): ... this.
6109 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6110 symbol names and comments.
6111 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6112 (get_test_minsym): ... this.
6113 (pck__foo__bar__minsym__2): Rename to ...
6114 (test_minsym): ... this.
6115 (main): Adjust.
6116
6117 2017-07-17 Pedro Alves <palves@redhat.com>
6118
6119 * gdb.base/completion.exp: Adjust expected output.
6120 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6121 the completer works.
6122
6123 2017-07-17 Pedro Alves <palves@redhat.com>
6124
6125 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6126
6127 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6128
6129 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6130
6131 2017-07-14 Tom Tromey <tom@tromey.com>
6132
6133 PR rust/21764:
6134 * gdb.rust/simple.exp: Add tests.
6135
6136 2017-07-14 Tom Tromey <tom@tromey.com>
6137
6138 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6139
6140 2017-07-14 Pedro Alves <palves@redhat.com>
6141
6142 * gdb.linespec/base/one/thefile.cc (z1): New function.
6143 * gdb.linespec/base/two/thefile.cc (z2): New function.
6144 * gdb.linespec/linespec.exp: Add tests.
6145
6146 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6147
6148 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6149 to mi_create_breakpoint.
6150
6151 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6152
6153 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6154 mi_create_breakpoint.
6155
6156 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6157
6158 * gdb.dlang/demangle.exp: Update for demangling changes.
6159
6160 2017-07-09 Tom Tromey <tom@tromey.com>
6161
6162 * gdb.dwarf2/shortpiece.exp: New file.
6163
6164 2017-07-06 David Blaikie <dblaikie@gmail.com>
6165
6166 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6167 built from fissiont-multi-cu{1,2}.c.
6168 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6169 except putting 'main' and 'func' in separate CUs in the same DWO file.
6170 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6171 test.
6172 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6173 test.
6174
6175 2017-07-06 Pedro Alves <palves@redhat.com>
6176
6177 * gdb.python/py-unwind.exp: Test flushregs.
6178
6179 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6180
6181 PR cli/21688
6182 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6183 tests for alias commands and trailing whitespace.
6184
6185 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6186
6187 PR cli/21688
6188 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6189 procedure. Call it.
6190
6191 2017-06-29 Pedro Alves <palves@redhat.com>
6192
6193 * gdb.base/printcmds.exp: Add tests.
6194
6195 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6196
6197 PR gdb/21337
6198 * gdb.base/reread-readsym.exp: New file.
6199 * gdb.base/reread-readsym.c: New file.
6200
6201 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6202
6203 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6204 subpattern.
6205
6206 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6207
6208 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6209 extended mnemonic.
6210 * gdb.arch/powerpc-power9.s: Likewise.
6211
6212 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6213
6214 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6215 on 32-bit x86 targets. Exploit is_*_target macros where
6216 appropriate.
6217
6218 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6219
6220 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6221 register pieces.
6222
6223 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6224
6225 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6226 located in one or more DWARF pieces.
6227
6228 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6229
6230 * lib/gdb.exp (get_endianness): New proc.
6231 * gdb.arch/aarch64-fp.exp: Use it.
6232 * gdb.arch/altivec-regs.exp: Likewise.
6233 * gdb.arch/e500-regs.exp: Likewise.
6234 * gdb.arch/vsx-regs.exp: Likewise.
6235 * gdb.base/dump.exp: Likewise.
6236 * gdb.base/funcargs.exp: Likewise.
6237 * gdb.base/gnu_vector.exp: Likewise.
6238 * gdb.dwarf2/formdata16.exp: Likewise.
6239 * gdb.dwarf2/implptrpiece.exp: Likewise.
6240 * gdb.dwarf2/nonvar-access.exp: Likewise.
6241 * gdb.python/py-inferior.exp: Likewise.
6242 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6243
6244 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6245
6246 PR gdb/21226
6247 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6248 stack value pieces are taken from the LSB end.
6249
6250 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6251
6252 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6253 variable at nonzero offset.
6254
6255 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6256
6257 * gdb.dwarf2/var-access.c: New file.
6258 * gdb.dwarf2/var-access.exp: New test.
6259 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6260
6261 2017-06-12 Tom Tromey <tom@tromey.com>
6262
6263 * gdb.dwarf2/formdata16.exp: Add tests.
6264
6265 2017-06-12 Tom Tromey <tom@tromey.com>
6266
6267 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6268
6269 2017-06-12 Tom Tromey <tom@tromey.com>
6270
6271 PR exp/16225:
6272 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6273 * gdb.arch/vsx-regs.exp: Update tests.
6274 * gdb.arch/s390-vregs.exp (hex128): New proc.
6275 Update test.
6276 * gdb.arch/altivec-regs.exp: Update tests.
6277
6278 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6279
6280 * gdb.base/startup-with-shell.c: New file.
6281 * gdb.base/startup-with-shell.exp: Likewise.
6282
6283 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6284
6285 * gdb.server/non-existing-program.exp: Update regex in order to
6286 reflect the fact that gdbserver is now using fork_inferior (with a
6287 shell) to startup the inferior.
6288
6289 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6290
6291 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6292 support function calls from GDB.
6293
6294 2017-05-21 Tom Tromey <tom@tromey.com>
6295
6296 PR rust/21466:
6297 * gdb.rust/unsized.exp: New file.
6298 * gdb.rust/unsized.rs: New file.
6299
6300 2017-05-19 Tom Tromey <tom@tromey.com>
6301
6302 PR rust/21484:
6303 * gdb.rust/watch.exp: New file.
6304 * gdb.rust/watch.rs: New file.
6305
6306 2017-05-18 Tom Tromey <tom@tromey.com>
6307
6308 * gdb.rust/simple.exp: Allow Box to be qualified.
6309
6310 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6311
6312 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6313
6314 2017-05-18 Pedro Alves <palves@redhat.com>
6315
6316 * gdb.base/fileio.c (test_write, test_read, test_close)
6317 (test_fstat): Don't print 'ret' in the fail path.
6318
6319 2017-05-18 Pedro Alves <palves@redhat.com>
6320
6321 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6322 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6323 (test_system, test_rename, test_unlink, test_time): Change
6324 prototypes.
6325 * gdb.base/fileio.exp (stop_msg): Adjust.
6326
6327 2017-05-18 Pedro Alves <palves@redhat.com>
6328
6329 * gdb.base/fileio.c (null_str): New global.
6330 (test_stat): Use it.
6331 * gdb.base/fileio.exp: Remove nowarnings.
6332
6333 2017-05-17 Yao Qi <yao.qi@linaro.org>
6334
6335 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6336
6337 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6338
6339 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6340 argument command.
6341 (top-level): Invoke test_set_inferior_tty.
6342
6343 2017-05-04 Pedro Alves <palves@redhat.com>
6344
6345 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6346 Add parens to print call for Python 3.
6347
6348 2017-05-03 Keith Seitz <keiths@redhat.com>
6349
6350 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6351 (main): Call it.
6352
6353 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6354
6355 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6356 to prev and next.
6357
6358 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6359
6360 * gdb.python/py-record-btrace.exp: Remove test for
6361 gdb.BtraceInstruction.error.
6362
6363 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6364
6365 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6366
6367 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6368
6369 * gdb.python/py-record-btrace-threads.c: New file.
6370 * gdb.python/py-record-btrace-threads.exp: New file.
6371
6372 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6373
6374 PR testsuite/8595
6375 * gdb.base/environ.exp: Make test available in all architectures.
6376 Move bits related to "info program" testing to
6377 gdb.base/info-program.exp. Rewrite tests to use the two new
6378 procedures mentione below.
6379 (test_set_show_env_var) New procedure.
6380 (test_set_show_env_var_equal): Likewise.
6381 * gdb.base/info-program.exp: New file.
6382
6383 2017-04-27 Keith Seitz <keiths@redhat.com>
6384
6385 * gdb.cp/oranking.cc (test15): New function.
6386 (main): Call test15 and declare additional variables for testing.
6387 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6388 "p foo101('abc')" tests.
6389 Add tests for cv qualifier overloads.
6390 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6391 "lvalue reference overload" test.
6392 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6393 "print value of f1 on Child&& in f2" test.
6394
6395 2017-04-19 Pedro Alves <palves@redhat.com>
6396
6397 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6398 procedure.
6399 (top level): Call it.
6400 * lib/gdb.exp (gdb_define_cmd): New procedure.
6401
6402 2017-04-12 Pedro Alves <palves@redhat.com>
6403
6404 PR gdb/21323
6405 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6406 (wchar): New global.
6407 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6408 (do_test_wide_char, wide_char_types_no_program, top level): Add
6409 wchar_t testing.
6410
6411 2017-04-12 Pedro Alves <palves@redhat.com>
6412
6413 PR c++/21323
6414 * gdb.cp/wide_char_types.c: New file.
6415 * gdb.cp/wide_char_types.exp: New file.
6416
6417 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6418
6419 PR gdb/21352
6420 * gdb.trace/tsv.exp: Add test for "tsave -r".
6421
6422 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6423
6424 * gdb.dlang/watch-loc.c: New file.
6425 * gdb.dlang/watch-loc.exp: New file.
6426
6427 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6428
6429 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6430
6431 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6432
6433 * gdb.arch/arc-analyze-prologue.S: New file.
6434 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6435
6436 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6437
6438 * gdb.arch/arc-decode-insn.S: New file.
6439 * gdb.arch/arc-decode-insn.exp: Likewise.
6440
6441 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6442
6443 PR tdep/20928
6444 * gdb.arch/sparc64-regs.exp: New file.
6445 * gdb.arch/sparc64-regs.S: Likewise.
6446
6447 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6448
6449 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6450 and memory view on Python 3.
6451
6452 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6453 Keith Seitz <keiths@redhat.com>
6454
6455 PR gdb/14441
6456 * gdb.cp/demangle.exp: Add rvalue reference tests.
6457 * gdb.cp/rvalue-ref-casts.cc: New file.
6458 * gdb.cp/rvalue-ref-casts.exp: New file.
6459 * gdb.cp/rvalue-ref-overload.cc: New file.
6460 * gdb.cp/rvalue-ref-overload.exp: New file.
6461 * gdb.cp/rvalue-ref-params.cc: New file.
6462 * gdb.cp/rvalue-ref-params.exp: New file.
6463 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6464 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6465 * gdb.cp/rvalue-ref-types.cc: New file.
6466 * gdb.cp/rvalue-ref-types.exp: New file.
6467 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6468 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6469
6470 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6471
6472 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6473 New procedure.
6474
6475 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6476
6477 * lib/mi-support.exp (mi_gdb_test): Add additional message
6478 for unexpected output.
6479
6480 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6481
6482 * gdb.base/examine-backward.c (Barrier): New character array
6483 constant, to ensure that TestStrings is preceded by a string
6484 terminator.
6485
6486 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6487
6488 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6489 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6490 and implicit pointer into such a location.
6491
6492 2017-03-16 Doug Evans <dje@google.com>
6493
6494 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6495
6496 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6497
6498 * gdb.cp/m-static.exp: Fix expectation for prototype of
6499 test5.single_constructor and single_constructor::single_constructor.
6500
6501 2017-03-16 Doug Evans <dje@google.com>
6502
6503 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6504 * gdb.guile/scm-lazy-string.c: New file.
6505 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6506 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6507 for pointer, array, typedef lazy strings.
6508
6509 2017-03-16 Doug Evans <dje@google.com>
6510
6511 PR python/17728, python/18439, python/18779
6512 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6513 * gdb.python/py-lazy-string.c (pointer): New typedef.
6514 (main): New locals ptr, array, typedef_ptr.
6515 * gdb.python/py-value.exp: Move lazy string tests to ...
6516 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6517 array, typedef lazy strings.
6518
6519 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6520
6521 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6522 Add optional 'test' parameter.
6523
6524 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6525
6526 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6527 Skip for versions of DejaGnu < 1.5.
6528
6529 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6530
6531 * lib/gdb.exp (dejagnu_version): New proc.
6532 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6533 Use dejagnu_version.
6534
6535 2017-03-10 Keith Seitz <keiths@redhat.com>
6536
6537 PR c++/8128
6538 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6539 type from destructor regexps.
6540 Add a branch which actually passes the test.
6541 Adjust "ptype t5i" test names.
6542
6543 2017-03-08 Pedro Alves <palves@redhat.com>
6544
6545 * gdb.base/step-over-exit.exp: Add explicit test message.
6546
6547 2017-03-08 Pedro Alves <palves@redhat.com>
6548
6549 PR gdb/18360
6550 * gdb.threads/interrupt-while-step-over.c: New file.
6551 * gdb.threads/interrupt-while-step-over.exp: New file.
6552
6553 2017-03-08 Pedro Alves <palves@redhat.com>
6554
6555 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6556 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6557
6558 2017-03-08 Pedro Alves <palves@redhat.com>
6559
6560 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6561 PKRU as not supported as a PASS.
6562
6563 2017-03-08 Pedro Alves <palves@redhat.com>
6564
6565 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6566 prefix instead of $binfile1/$binfile2.
6567 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6568 in test message.
6569 * gdb.python/py-completion.exp: Use "load python file" as test
6570 messages instead of unstable path names.
6571
6572 2017-03-08 Pedro Alves <palves@redhat.com>
6573 Jan Kratochvil <jan.kratochvil@redhat.com>
6574
6575 PR cli/21218
6576 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6577 New proc.
6578 (top level): Call it.
6579
6580 2017-03-08 Pedro Alves <palves@redhat.com>
6581
6582 PR tui/21216
6583 * gdb.tui/tui-nl-filtered-output.exp: New file.
6584
6585 2017-03-08 Pedro Alves <palves@redhat.com>
6586
6587 * gdb.base/completion.exp: Move TUI completion tests to ...
6588 * gdb.tui/completion.exp: ... this new file.
6589
6590 2017-03-08 Pedro Alves <palves@redhat.com>
6591
6592 * gdb.base/tui-disasm-long-lines.c,
6593 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6594 gdb.base/tui-layout.exp: Move to ...
6595 * gdb.tui/: ... this new directory.
6596
6597 2017-03-07 Pedro Alves <palves@redhat.com>
6598
6599 * gdb.base/tui-layout.c: New file.
6600 * gdb.base/tui-layout.exp: New file.
6601
6602 2017-03-07 Pedro Alves <palves@redhat.com>
6603
6604 * gdb.base/tui-layout.c: Rename to ...
6605 * gdb.base/tui-disasm-long-lines.c: ... this.
6606 * gdb.base/tui-layout.exp: Rename to ...
6607 * gdb.base/tui-disasm-long-lines.exp: ... this.
6608
6609 2017-03-07 Pedro Alves <palves@redhat.com>
6610
6611 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6612
6613 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6614
6615 * i386-mpx-call.c: New file.
6616 * i386-mpx-call.exp: New file.
6617
6618 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6619
6620 * gdb.arch/powerpc-power.exp: Delete test.
6621 * gdb.arch/powerpc-power.s: Likewise.
6622 * gdb.disasm/disassembler-options.exp: New test.
6623 * gdb.arch/powerpc-altivec.exp: Likewise.
6624 * gdb.arch/powerpc-altivec.s: Likewise.
6625 * gdb.arch/powerpc-altivec2.exp: Likewise.
6626 * gdb.arch/powerpc-altivec2.s: Likewise.
6627 * gdb.arch/powerpc-altivec3.exp: Likewise.
6628 * gdb.arch/powerpc-altivec3.s: Likewise.
6629 * gdb.arch/powerpc-power7.exp: Likewise.
6630 * gdb.arch/powerpc-power7.s: Likewise.
6631 * gdb.arch/powerpc-power8.exp: Likewise.
6632 * gdb.arch/powerpc-power8.s: Likewise.
6633 * gdb.arch/powerpc-power9.exp: Likewise.
6634 * gdb.arch/powerpc-power9.s: Likewise.
6635 * gdb.arch/powerpc-vsx.exp: Likewise.
6636 * gdb.arch/powerpc-vsx.s: Likewise.
6637 * gdb.arch/powerpc-vsx2.exp: Likewise.
6638 * gdb.arch/powerpc-vsx2.s: Likewise.
6639 * gdb.arch/powerpc-vsx3.exp: Likewise.
6640 * gdb.arch/powerpc-vsx3.s: Likewise.
6641 * gdb.arch/arm-disassembler-options.exp: Likewise.
6642 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6643 * gdb.arch/s390-disassembler-options.exp: Likewise.
6644
6645 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6646
6647 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6648 (check_supported_features): ... this. Changed return type to void.
6649 (supports_rdseed): New static global.
6650 (rdseed): Check supports_rdseed.
6651 (initialize): Call check_supported_features.
6652
6653 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6654
6655 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6656 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6657 and lqarx/stqcx.
6658 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6659 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6660
6661 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6662
6663 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6664 uppercase.
6665
6666 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6667
6668 * gdb.dwarf2/formdata16.c: New file.
6669 * gdb.dwarf2/formdata16.exp: New file.
6670 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6671
6672 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6673
6674 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6675 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6676 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6677 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6678 DW_AT_GNU_*.
6679
6680 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6681
6682 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6683
6684 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6685
6686 PR gdb/21164
6687 * gdb.base/maint.exp: Add testcases for when the commands do
6688 not have arguments.
6689
6690 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6691
6692 * gdb.cp/chained-calls.exp: Use p instead of P.
6693
6694 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6695
6696 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6697 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6698
6699 2017-02-14 Tom Tromey <tom@tromey.com>
6700
6701 PR python/13598:
6702 * gdb.python/py-events.exp: Add before_prompt event tests.
6703
6704 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6705
6706 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6707
6708 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6709
6710 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6711 (main): Call my_unique_function_name.
6712 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6713 completion of patterns with a single match.
6714 Add missing -re switches to gdb_test_multiple calls.
6715
6716 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6717
6718 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6719 return if core file is not recognized.
6720
6721 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6722
6723 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6724 and extra UIs.
6725
6726 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6727
6728 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6729 proc_with_prefix.
6730
6731 2017-02-10 Tom Tromey <tom@tromey.com>
6732
6733 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6734
6735 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6736
6737 PR gdb/21122
6738 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6739
6740 2017-02-08 Jerome Guitton <guitton@adacore.com>
6741
6742 * gdb.base/define.exp: Add test for command abbreviations
6743 in define.
6744
6745 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6746
6747 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6748 * gdb.reverse/insn-reverse-x86.c: New file.
6749
6750 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6751
6752 PR tdep/20936
6753 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6754
6755 2017-02-03 Tom Tromey <tom@tromey.com>
6756
6757 PR rust/21097:
6758 * gdb.rust/simple.exp: Add new tests.
6759
6760 2017-02-02 Pedro Alves <palves@redhat.com>
6761
6762 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6763 tests.
6764
6765 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6766
6767 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6768 taking a 2-byte value out of a 4-byte DWARF implicit value on
6769 big-endian targets.
6770 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6771 logic. Add test cases for DW_OP_implicit.
6772
6773 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6774
6775 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6776
6777 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6778
6779 * gdb.btrace/enable.exp: Call gdb_exit before
6780 skip_gdbserver_tests.
6781
6782 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6783
6784 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6785 GDBFLAGS.
6786
6787 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6788
6789 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6790 the test is skipped.
6791 * gdb.btrace/data.exp: Likewise.
6792 * gdb.btrace/delta.exp: Likewise.
6793 * gdb.btrace/dlopen.exp: Likewise.
6794 * gdb.btrace/enable-running.exp: Likewise.
6795 * gdb.btrace/enable.exp: Likewise.
6796 * gdb.btrace/exception.exp: Likewise.
6797 * gdb.btrace/function_call_history.exp: Likewise.
6798 * gdb.btrace/gcore.exp: Likewise.
6799 * gdb.btrace/instruction_history.exp: Likewise.
6800 * gdb.btrace/multi-thread-step.exp: Likewise.
6801 * gdb.btrace/nohist.exp: Likewise.
6802 * gdb.btrace/non-stop.exp: Likewise.
6803 * gdb.btrace/reconnect.exp: Likewise.
6804 * gdb.btrace/record_goto-step.exp: Likewise.
6805 * gdb.btrace/record_goto.exp: Likewise.
6806 * gdb.btrace/rn-dl-bind.exp: Likewise.
6807 * gdb.btrace/segv.exp: Likewise.
6808 * gdb.btrace/step.exp: Likewise.
6809 * gdb.btrace/stepi.exp: Likewise.
6810 * gdb.btrace/tailcall-only.exp: Likewise.
6811 * gdb.btrace/tailcall.exp: Likewise.
6812 * gdb.btrace/tsx.exp: Likewise.
6813 * gdb.btrace/unknown_functions.exp: Likewise.
6814 * gdb.btrace/vdso.exp: Likewise.
6815
6816 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6817
6818 * gdb.btrace/enable-running.c: New.
6819 * gdb.btrace/enable-running.exp: New.
6820
6821 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6822
6823 * gdb.arch/amd64-gs_base.c: New file.
6824 * gdb.arch/amd64-gs_base.exp: New file.
6825
6826 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6827
6828 * lib/memory.exp: Remove spurious empty newlines.
6829
6830 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6831
6832 * gdb.python/py-bad-printers.exp: Load python file using "source".
6833 * gdb.python/py-events.exp: Likewise.
6834 * gdb.python/py-evsignal.exp: Likewise.
6835 * gdb.python/py-evthreads.exp: Likewise.
6836 * gdb.python/py-frame-args.exp: Likewise.
6837 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6838 * gdb.python/py-framefilter-mi.exp: Likewise.
6839 * gdb.python/py-framefilter.exp: Likewise.
6840 * gdb.python/py-mi.exp: Likewise.
6841 * gdb.python/py-pp-maint.exp: Likewise.
6842 * gdb.python/py-pp-registration.exp: Likewise.
6843 * gdb.python/py-prettyprint.exp: Likewise.
6844 (run_lang_tests): Likewise.
6845 * gdb.python/py-typeprint.exp: Likewise.
6846
6847 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6848
6849 * lib/memory.exp: New file.
6850 * lib/gdb.exp: Load memory.exp.
6851 * gdb.base/memattr.exp (delete_memory): Move proc to
6852 lib/memory.exp and rename to delete_memory_regions.
6853 Replace delete_memory with delete_memory_regions.
6854 Cleanup memory regions before tests.
6855 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6856 before tests.
6857
6858 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6859
6860 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6861 files.
6862 (initialize): New function conditionally defined.
6863 (testcases): Move within conditional block.
6864 (main): Call initialize.
6865 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6866 of gdb.reverse/insn-reverse.c.
6867 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6868 gdb.reverse/insn-reverse.c.
6869
6870 2017-01-26 Yao Qi <yao.qi@linaro.org>
6871
6872 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6873 disassemble on address 0.
6874
6875 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6876 Yao Qi <yao.qi@linaro.org>
6877
6878 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6879 * gdb.dwarf2/implptr-64bit.S: Remove.
6880 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6881 variables in caller's context. Add DW_OP_implicit_value.
6882
6883 2017-01-25 Yao Qi <yao.qi@linaro.org>
6884
6885 * lib/dwarf.exp (Dwarf::_location): Handle
6886 DW_OP_GNU_implicit_pointer with proper size.
6887
6888 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6889
6890 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6891 and add untested calls.
6892
6893 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6894
6895 * gdb.python/python.exp: Check line number against what GDB thinks
6896 the line number is for func1.
6897
6898 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6899
6900 * gdb.dlang/debug-expr.exp: New file.
6901
6902 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6903
6904 Fix test names for the following files:
6905
6906 * gdb.ada/exec_changed.exp
6907 * gdb.ada/info_types.exp
6908 * gdb.arch/aarch64-atomic-inst.exp
6909 * gdb.arch/aarch64-fp.exp
6910 * gdb.arch/altivec-abi.exp
6911 * gdb.arch/altivec-regs.exp
6912 * gdb.arch/amd64-byte.exp
6913 * gdb.arch/amd64-disp-step.exp
6914 * gdb.arch/amd64-dword.exp
6915 * gdb.arch/amd64-entry-value-inline.exp
6916 * gdb.arch/amd64-entry-value-param.exp
6917 * gdb.arch/amd64-entry-value-paramref.exp
6918 * gdb.arch/amd64-entry-value.exp
6919 * gdb.arch/amd64-i386-address.exp
6920 * gdb.arch/amd64-invalid-stack-middle.exp
6921 * gdb.arch/amd64-invalid-stack-top.exp
6922 * gdb.arch/amd64-optimout-repeat.exp
6923 * gdb.arch/amd64-prologue-skip.exp
6924 * gdb.arch/amd64-prologue-xmm.exp
6925 * gdb.arch/amd64-stap-special-operands.exp
6926 * gdb.arch/amd64-stap-wrong-subexp.exp
6927 * gdb.arch/amd64-tailcall-cxx.exp
6928 * gdb.arch/amd64-tailcall-noret.exp
6929 * gdb.arch/amd64-tailcall-ret.exp
6930 * gdb.arch/amd64-tailcall-self.exp
6931 * gdb.arch/amd64-word.exp
6932 * gdb.arch/arm-bl-branch-dest.exp
6933 * gdb.arch/arm-disp-step.exp
6934 * gdb.arch/arm-neon.exp
6935 * gdb.arch/arm-single-step-kernel-helper.exp
6936 * gdb.arch/avr-flash-qualifier.exp
6937 * gdb.arch/disp-step-insn-reloc.exp
6938 * gdb.arch/e500-abi.exp
6939 * gdb.arch/e500-regs.exp
6940 * gdb.arch/ftrace-insn-reloc.exp
6941 * gdb.arch/i386-avx512.exp
6942 * gdb.arch/i386-bp_permanent.exp
6943 * gdb.arch/i386-byte.exp
6944 * gdb.arch/i386-cfi-notcurrent.exp
6945 * gdb.arch/i386-disp-step.exp
6946 * gdb.arch/i386-dr3-watch.exp
6947 * gdb.arch/i386-float.exp
6948 * gdb.arch/i386-gnu-cfi.exp
6949 * gdb.arch/i386-mpx-map.exp
6950 * gdb.arch/i386-mpx-sigsegv.exp
6951 * gdb.arch/i386-mpx-simple_segv.exp
6952 * gdb.arch/i386-mpx.exp
6953 * gdb.arch/i386-permbkpt.exp
6954 * gdb.arch/i386-prologue.exp
6955 * gdb.arch/i386-signal.exp
6956 * gdb.arch/i386-size-overlap.exp
6957 * gdb.arch/i386-unwind.exp
6958 * gdb.arch/i386-word.exp
6959 * gdb.arch/mips-fcr.exp
6960 * gdb.arch/powerpc-d128-regs.exp
6961 * gdb.arch/powerpc-stackless.exp
6962 * gdb.arch/ppc64-atomic-inst.exp
6963 * gdb.arch/s390-stackless.exp
6964 * gdb.arch/s390-tdbregs.exp
6965 * gdb.arch/s390-vregs.exp
6966 * gdb.arch/sparc-sysstep.exp
6967 * gdb.arch/thumb-bx-pc.exp
6968 * gdb.arch/thumb-singlestep.exp
6969 * gdb.arch/thumb2-it.exp
6970 * gdb.arch/vsx-regs.exp
6971 * gdb.asm/asm-source.exp
6972 * gdb.base/a2-run.exp
6973 * gdb.base/advance.exp
6974 * gdb.base/all-bin.exp
6975 * gdb.base/anon.exp
6976 * gdb.base/args.exp
6977 * gdb.base/arithmet.exp
6978 * gdb.base/async-shell.exp
6979 * gdb.base/async.exp
6980 * gdb.base/attach-pie-noexec.exp
6981 * gdb.base/attach-twice.exp
6982 * gdb.base/auto-load.exp
6983 * gdb.base/bang.exp
6984 * gdb.base/bitfields.exp
6985 * gdb.base/break-always.exp
6986 * gdb.base/break-caller-line.exp
6987 * gdb.base/break-entry.exp
6988 * gdb.base/break-inline.exp
6989 * gdb.base/break-on-linker-gcd-function.exp
6990 * gdb.base/break-probes.exp
6991 * gdb.base/break.exp
6992 * gdb.base/breakpoint-shadow.exp
6993 * gdb.base/call-ar-st.exp
6994 * gdb.base/call-sc.exp
6995 * gdb.base/call-signal-resume.exp
6996 * gdb.base/call-strs.exp
6997 * gdb.base/callfuncs.exp
6998 * gdb.base/catch-fork-static.exp
6999 * gdb.base/catch-gdb-caused-signals.exp
7000 * gdb.base/catch-load.exp
7001 * gdb.base/catch-signal-fork.exp
7002 * gdb.base/catch-signal.exp
7003 * gdb.base/catch-syscall.exp
7004 * gdb.base/charset.exp
7005 * gdb.base/checkpoint.exp
7006 * gdb.base/chng-syms.exp
7007 * gdb.base/code-expr.exp
7008 * gdb.base/code_elim.exp
7009 * gdb.base/commands.exp
7010 * gdb.base/completion.exp
7011 * gdb.base/complex.exp
7012 * gdb.base/cond-expr.exp
7013 * gdb.base/condbreak.exp
7014 * gdb.base/consecutive.exp
7015 * gdb.base/continue-all-already-running.exp
7016 * gdb.base/coredump-filter.exp
7017 * gdb.base/corefile.exp
7018 * gdb.base/dbx.exp
7019 * gdb.base/debug-expr.exp
7020 * gdb.base/define.exp
7021 * gdb.base/del.exp
7022 * gdb.base/disabled-location.exp
7023 * gdb.base/disasm-end-cu.exp
7024 * gdb.base/disasm-optim.exp
7025 * gdb.base/display.exp
7026 * gdb.base/duplicate-bp.exp
7027 * gdb.base/ena-dis-br.exp
7028 * gdb.base/ending-run.exp
7029 * gdb.base/enumval.exp
7030 * gdb.base/environ.exp
7031 * gdb.base/eu-strip-infcall.exp
7032 * gdb.base/eval-avoid-side-effects.exp
7033 * gdb.base/eval-skip.exp
7034 * gdb.base/exitsignal.exp
7035 * gdb.base/expand-psymtabs.exp
7036 * gdb.base/filesym.exp
7037 * gdb.base/find-unmapped.exp
7038 * gdb.base/finish.exp
7039 * gdb.base/float.exp
7040 * gdb.base/foll-exec-mode.exp
7041 * gdb.base/foll-exec.exp
7042 * gdb.base/foll-fork.exp
7043 * gdb.base/fortran-sym-case.exp
7044 * gdb.base/freebpcmd.exp
7045 * gdb.base/func-ptr.exp
7046 * gdb.base/func-ptrs.exp
7047 * gdb.base/funcargs.exp
7048 * gdb.base/gcore-buffer-overflow.exp
7049 * gdb.base/gcore-relro-pie.exp
7050 * gdb.base/gcore-relro.exp
7051 * gdb.base/gcore.exp
7052 * gdb.base/gdb1090.exp
7053 * gdb.base/gdb11530.exp
7054 * gdb.base/gdb11531.exp
7055 * gdb.base/gdb1821.exp
7056 * gdb.base/gdbindex-stabs.exp
7057 * gdb.base/gdbvars.exp
7058 * gdb.base/hbreak.exp
7059 * gdb.base/hbreak2.exp
7060 * gdb.base/included.exp
7061 * gdb.base/infcall-input.exp
7062 * gdb.base/inferior-died.exp
7063 * gdb.base/infnan.exp
7064 * gdb.base/info-macros.exp
7065 * gdb.base/info-os.exp
7066 * gdb.base/info-proc.exp
7067 * gdb.base/info-shared.exp
7068 * gdb.base/info-target.exp
7069 * gdb.base/infoline.exp
7070 * gdb.base/interp.exp
7071 * gdb.base/interrupt.exp
7072 * gdb.base/jit-reader.exp
7073 * gdb.base/jit-simple.exp
7074 * gdb.base/kill-after-signal.exp
7075 * gdb.base/kill-detach-inferiors-cmd.exp
7076 * gdb.base/label.exp
7077 * gdb.base/langs.exp
7078 * gdb.base/ldbl_e308.exp
7079 * gdb.base/line-symtabs.exp
7080 * gdb.base/linespecs.exp
7081 * gdb.base/list.exp
7082 * gdb.base/long_long.exp
7083 * gdb.base/longest-types.exp
7084 * gdb.base/maint.exp
7085 * gdb.base/max-value-size.exp
7086 * gdb.base/memattr.exp
7087 * gdb.base/mips_pro.exp
7088 * gdb.base/morestack.exp
7089 * gdb.base/moribund-step.exp
7090 * gdb.base/multi-forks.exp
7091 * gdb.base/nested-addr.exp
7092 * gdb.base/nextoverexit.exp
7093 * gdb.base/noreturn-finish.exp
7094 * gdb.base/noreturn-return.exp
7095 * gdb.base/nostdlib.exp
7096 * gdb.base/offsets.exp
7097 * gdb.base/opaque.exp
7098 * gdb.base/pc-fp.exp
7099 * gdb.base/permissions.exp
7100 * gdb.base/print-symbol-loading.exp
7101 * gdb.base/prologue-include.exp
7102 * gdb.base/psymtab.exp
7103 * gdb.base/ptype.exp
7104 * gdb.base/random-signal.exp
7105 * gdb.base/randomize.exp
7106 * gdb.base/range-stepping.exp
7107 * gdb.base/readline-ask.exp
7108 * gdb.base/recpar.exp
7109 * gdb.base/recurse.exp
7110 * gdb.base/relational.exp
7111 * gdb.base/restore.exp
7112 * gdb.base/return-nodebug.exp
7113 * gdb.base/return.exp
7114 * gdb.base/run-after-attach.exp
7115 * gdb.base/save-bp.exp
7116 * gdb.base/scope.exp
7117 * gdb.base/sect-cmd.exp
7118 * gdb.base/set-lang-auto.exp
7119 * gdb.base/set-noassign.exp
7120 * gdb.base/setvar.exp
7121 * gdb.base/sigall.exp
7122 * gdb.base/sigbpt.exp
7123 * gdb.base/siginfo-addr.exp
7124 * gdb.base/siginfo-infcall.exp
7125 * gdb.base/siginfo-obj.exp
7126 * gdb.base/siginfo.exp
7127 * gdb.base/signals-state-child.exp
7128 * gdb.base/signest.exp
7129 * gdb.base/sigstep.exp
7130 * gdb.base/sizeof.exp
7131 * gdb.base/skip.exp
7132 * gdb.base/solib-corrupted.exp
7133 * gdb.base/solib-nodir.exp
7134 * gdb.base/solib-search.exp
7135 * gdb.base/stack-checking.exp
7136 * gdb.base/stale-infcall.exp
7137 * gdb.base/stap-probe.exp
7138 * gdb.base/start.exp
7139 * gdb.base/step-break.exp
7140 * gdb.base/step-bt.exp
7141 * gdb.base/step-line.exp
7142 * gdb.base/step-over-exit.exp
7143 * gdb.base/step-over-syscall.exp
7144 * gdb.base/step-resume-infcall.exp
7145 * gdb.base/step-test.exp
7146 * gdb.base/store.exp
7147 * gdb.base/structs3.exp
7148 * gdb.base/sym-file.exp
7149 * gdb.base/symbol-without-target_section.exp
7150 * gdb.base/term.exp
7151 * gdb.base/testenv.exp
7152 * gdb.base/ui-redirect.exp
7153 * gdb.base/until.exp
7154 * gdb.base/unwindonsignal.exp
7155 * gdb.base/value-double-free.exp
7156 * gdb.base/vla-datatypes.exp
7157 * gdb.base/vla-ptr.exp
7158 * gdb.base/vla-sideeffect.exp
7159 * gdb.base/volatile.exp
7160 * gdb.base/watch-cond-infcall.exp
7161 * gdb.base/watch-cond.exp
7162 * gdb.base/watch-non-mem.exp
7163 * gdb.base/watch-read.exp
7164 * gdb.base/watch-vfork.exp
7165 * gdb.base/watchpoint-cond-gone.exp
7166 * gdb.base/watchpoint-delete.exp
7167 * gdb.base/watchpoint-hw-hit-once.exp
7168 * gdb.base/watchpoint-hw.exp
7169 * gdb.base/watchpoint-stops-at-right-insn.exp
7170 * gdb.base/watchpoints.exp
7171 * gdb.base/wchar.exp
7172 * gdb.base/whatis-exp.exp
7173 * gdb.btrace/buffer-size.exp
7174 * gdb.btrace/data.exp
7175 * gdb.btrace/delta.exp
7176 * gdb.btrace/dlopen.exp
7177 * gdb.btrace/enable.exp
7178 * gdb.btrace/exception.exp
7179 * gdb.btrace/function_call_history.exp
7180 * gdb.btrace/gcore.exp
7181 * gdb.btrace/instruction_history.exp
7182 * gdb.btrace/nohist.exp
7183 * gdb.btrace/reconnect.exp
7184 * gdb.btrace/record_goto-step.exp
7185 * gdb.btrace/record_goto.exp
7186 * gdb.btrace/rn-dl-bind.exp
7187 * gdb.btrace/segv.exp
7188 * gdb.btrace/step.exp
7189 * gdb.btrace/stepi.exp
7190 * gdb.btrace/tailcall-only.exp
7191 * gdb.btrace/tailcall.exp
7192 * gdb.btrace/tsx.exp
7193 * gdb.btrace/unknown_functions.exp
7194 * gdb.btrace/vdso.exp
7195 * gdb.compile/compile-ifunc.exp
7196 * gdb.compile/compile-ops.exp
7197 * gdb.compile/compile-print.exp
7198 * gdb.compile/compile-setjmp.exp
7199 * gdb.cp/abstract-origin.exp
7200 * gdb.cp/ambiguous.exp
7201 * gdb.cp/annota2.exp
7202 * gdb.cp/annota3.exp
7203 * gdb.cp/anon-ns.exp
7204 * gdb.cp/anon-struct.exp
7205 * gdb.cp/anon-union.exp
7206 * gdb.cp/arg-reference.exp
7207 * gdb.cp/baseenum.exp
7208 * gdb.cp/bool.exp
7209 * gdb.cp/breakpoint.exp
7210 * gdb.cp/bs15503.exp
7211 * gdb.cp/call-c.exp
7212 * gdb.cp/casts.exp
7213 * gdb.cp/chained-calls.exp
7214 * gdb.cp/class2.exp
7215 * gdb.cp/classes.exp
7216 * gdb.cp/cmpd-minsyms.exp
7217 * gdb.cp/converts.exp
7218 * gdb.cp/cp-relocate.exp
7219 * gdb.cp/cpcompletion.exp
7220 * gdb.cp/cpexprs.exp
7221 * gdb.cp/cplabel.exp
7222 * gdb.cp/cplusfuncs.exp
7223 * gdb.cp/cpsizeof.exp
7224 * gdb.cp/ctti.exp
7225 * gdb.cp/derivation.exp
7226 * gdb.cp/destrprint.exp
7227 * gdb.cp/dispcxx.exp
7228 * gdb.cp/enum-class.exp
7229 * gdb.cp/exception.exp
7230 * gdb.cp/exceptprint.exp
7231 * gdb.cp/expand-psymtabs-cxx.exp
7232 * gdb.cp/expand-sals.exp
7233 * gdb.cp/extern-c.exp
7234 * gdb.cp/filename.exp
7235 * gdb.cp/formatted-ref.exp
7236 * gdb.cp/fpointer.exp
7237 * gdb.cp/gdb1355.exp
7238 * gdb.cp/gdb2495.exp
7239 * gdb.cp/hang.exp
7240 * gdb.cp/impl-this.exp
7241 * gdb.cp/infcall-dlopen.exp
7242 * gdb.cp/inherit.exp
7243 * gdb.cp/iostream.exp
7244 * gdb.cp/koenig.exp
7245 * gdb.cp/local.exp
7246 * gdb.cp/m-data.exp
7247 * gdb.cp/m-static.exp
7248 * gdb.cp/mb-ctor.exp
7249 * gdb.cp/mb-inline.exp
7250 * gdb.cp/mb-templates.exp
7251 * gdb.cp/member-name.exp
7252 * gdb.cp/member-ptr.exp
7253 * gdb.cp/meth-typedefs.exp
7254 * gdb.cp/method.exp
7255 * gdb.cp/method2.exp
7256 * gdb.cp/minsym-fallback.exp
7257 * gdb.cp/misc.exp
7258 * gdb.cp/namelessclass.exp
7259 * gdb.cp/namespace-enum.exp
7260 * gdb.cp/namespace-nested-import.exp
7261 * gdb.cp/namespace.exp
7262 * gdb.cp/nextoverthrow.exp
7263 * gdb.cp/no-dmgl-verbose.exp
7264 * gdb.cp/non-trivial-retval.exp
7265 * gdb.cp/noparam.exp
7266 * gdb.cp/nsdecl.exp
7267 * gdb.cp/nsimport.exp
7268 * gdb.cp/nsnested.exp
7269 * gdb.cp/nsnoimports.exp
7270 * gdb.cp/nsrecurs.exp
7271 * gdb.cp/nsstress.exp
7272 * gdb.cp/nsusing.exp
7273 * gdb.cp/operator.exp
7274 * gdb.cp/oranking.exp
7275 * gdb.cp/overload-const.exp
7276 * gdb.cp/overload.exp
7277 * gdb.cp/ovldbreak.exp
7278 * gdb.cp/ovsrch.exp
7279 * gdb.cp/paren-type.exp
7280 * gdb.cp/parse-lang.exp
7281 * gdb.cp/pass-by-ref.exp
7282 * gdb.cp/pr-1023.exp
7283 * gdb.cp/pr-1210.exp
7284 * gdb.cp/pr-574.exp
7285 * gdb.cp/pr10687.exp
7286 * gdb.cp/pr12028.exp
7287 * gdb.cp/pr17132.exp
7288 * gdb.cp/pr17494.exp
7289 * gdb.cp/pr9067.exp
7290 * gdb.cp/pr9167.exp
7291 * gdb.cp/pr9631.exp
7292 * gdb.cp/printmethod.exp
7293 * gdb.cp/psmang.exp
7294 * gdb.cp/psymtab-parameter.exp
7295 * gdb.cp/ptype-cv-cp.exp
7296 * gdb.cp/ptype-flags.exp
7297 * gdb.cp/re-set-overloaded.exp
7298 * gdb.cp/ref-types.exp
7299 * gdb.cp/rtti.exp
7300 * gdb.cp/scope-err.exp
7301 * gdb.cp/shadow.exp
7302 * gdb.cp/smartp.exp
7303 * gdb.cp/static-method.exp
7304 * gdb.cp/static-print-quit.exp
7305 * gdb.cp/temargs.exp
7306 * gdb.cp/templates.exp
7307 * gdb.cp/try_catch.exp
7308 * gdb.cp/typedef-operator.exp
7309 * gdb.cp/typeid.exp
7310 * gdb.cp/userdef.exp
7311 * gdb.cp/using-crash.exp
7312 * gdb.cp/var-tag.exp
7313 * gdb.cp/virtbase.exp
7314 * gdb.cp/virtfunc.exp
7315 * gdb.cp/virtfunc2.exp
7316 * gdb.cp/vla-cxx.exp
7317 * gdb.disasm/t01_mov.exp
7318 * gdb.disasm/t02_mova.exp
7319 * gdb.disasm/t03_add.exp
7320 * gdb.disasm/t04_sub.exp
7321 * gdb.disasm/t05_cmp.exp
7322 * gdb.disasm/t06_ari2.exp
7323 * gdb.disasm/t07_ari3.exp
7324 * gdb.disasm/t08_or.exp
7325 * gdb.disasm/t09_xor.exp
7326 * gdb.disasm/t10_and.exp
7327 * gdb.disasm/t11_logs.exp
7328 * gdb.disasm/t12_bit.exp
7329 * gdb.disasm/t13_otr.exp
7330 * gdb.dlang/circular.exp
7331 * gdb.dwarf2/arr-stride.exp
7332 * gdb.dwarf2/arr-subrange.exp
7333 * gdb.dwarf2/atomic-type.exp
7334 * gdb.dwarf2/bad-regnum.exp
7335 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7336 * gdb.dwarf2/callframecfa.exp
7337 * gdb.dwarf2/clztest.exp
7338 * gdb.dwarf2/corrupt.exp
7339 * gdb.dwarf2/data-loc.exp
7340 * gdb.dwarf2/dup-psym.exp
7341 * gdb.dwarf2/dw2-anon-mptr.exp
7342 * gdb.dwarf2/dw2-anonymous-func.exp
7343 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7344 * gdb.dwarf2/dw2-bad-unresolved.exp
7345 * gdb.dwarf2/dw2-basic.exp
7346 * gdb.dwarf2/dw2-canonicalize-type.exp
7347 * gdb.dwarf2/dw2-case-insensitive.exp
7348 * gdb.dwarf2/dw2-common-block.exp
7349 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7350 * gdb.dwarf2/dw2-compressed.exp
7351 * gdb.dwarf2/dw2-const.exp
7352 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7353 * gdb.dwarf2/dw2-cu-size.exp
7354 * gdb.dwarf2/dw2-dup-frame.exp
7355 * gdb.dwarf2/dw2-entry-value.exp
7356 * gdb.dwarf2/dw2-icycle.exp
7357 * gdb.dwarf2/dw2-ifort-parameter.exp
7358 * gdb.dwarf2/dw2-inline-break.exp
7359 * gdb.dwarf2/dw2-inline-param.exp
7360 * gdb.dwarf2/dw2-intercu.exp
7361 * gdb.dwarf2/dw2-intermix.exp
7362 * gdb.dwarf2/dw2-lexical-block-bare.exp
7363 * gdb.dwarf2/dw2-linkage-name-trust.exp
7364 * gdb.dwarf2/dw2-minsym-in-cu.exp
7365 * gdb.dwarf2/dw2-noloc.exp
7366 * gdb.dwarf2/dw2-op-call.exp
7367 * gdb.dwarf2/dw2-op-out-param.exp
7368 * gdb.dwarf2/dw2-opt-structptr.exp
7369 * gdb.dwarf2/dw2-param-error.exp
7370 * gdb.dwarf2/dw2-producer.exp
7371 * gdb.dwarf2/dw2-ranges-base.exp
7372 * gdb.dwarf2/dw2-ref-missing-frame.exp
7373 * gdb.dwarf2/dw2-reg-undefined.exp
7374 * gdb.dwarf2/dw2-regno-invalid.exp
7375 * gdb.dwarf2/dw2-restore.exp
7376 * gdb.dwarf2/dw2-restrict.exp
7377 * gdb.dwarf2/dw2-single-line-discriminators.exp
7378 * gdb.dwarf2/dw2-strp.exp
7379 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7380 * gdb.dwarf2/dw2-unresolved.exp
7381 * gdb.dwarf2/dw2-var-zero-addr.exp
7382 * gdb.dwarf2/dw4-sig-types.exp
7383 * gdb.dwarf2/dwz.exp
7384 * gdb.dwarf2/dynarr-ptr.exp
7385 * gdb.dwarf2/enum-type.exp
7386 * gdb.dwarf2/gdb-index.exp
7387 * gdb.dwarf2/implptr-64bit.exp
7388 * gdb.dwarf2/implptr-optimized-out.exp
7389 * gdb.dwarf2/implptr.exp
7390 * gdb.dwarf2/implref-array.exp
7391 * gdb.dwarf2/implref-const.exp
7392 * gdb.dwarf2/implref-global.exp
7393 * gdb.dwarf2/implref-struct.exp
7394 * gdb.dwarf2/mac-fileno.exp
7395 * gdb.dwarf2/main-subprogram.exp
7396 * gdb.dwarf2/member-ptr-forwardref.exp
7397 * gdb.dwarf2/method-ptr.exp
7398 * gdb.dwarf2/missing-sig-type.exp
7399 * gdb.dwarf2/nonvar-access.exp
7400 * gdb.dwarf2/opaque-type-lookup.exp
7401 * gdb.dwarf2/pieces-optimized-out.exp
7402 * gdb.dwarf2/pieces.exp
7403 * gdb.dwarf2/pr10770.exp
7404 * gdb.dwarf2/pr13961.exp
7405 * gdb.dwarf2/staticvirtual.exp
7406 * gdb.dwarf2/subrange.exp
7407 * gdb.dwarf2/symtab-producer.exp
7408 * gdb.dwarf2/trace-crash.exp
7409 * gdb.dwarf2/typeddwarf.exp
7410 * gdb.dwarf2/valop.exp
7411 * gdb.dwarf2/watch-notconst.exp
7412 * gdb.fortran/array-element.exp
7413 * gdb.fortran/charset.exp
7414 * gdb.fortran/common-block.exp
7415 * gdb.fortran/complex.exp
7416 * gdb.fortran/derived-type-function.exp
7417 * gdb.fortran/derived-type.exp
7418 * gdb.fortran/logical.exp
7419 * gdb.fortran/module.exp
7420 * gdb.fortran/multi-dim.exp
7421 * gdb.fortran/nested-funcs.exp
7422 * gdb.fortran/print-formatted.exp
7423 * gdb.fortran/subarray.exp
7424 * gdb.fortran/vla-alloc-assoc.exp
7425 * gdb.fortran/vla-datatypes.exp
7426 * gdb.fortran/vla-history.exp
7427 * gdb.fortran/vla-ptr-info.exp
7428 * gdb.fortran/vla-ptype-sub.exp
7429 * gdb.fortran/vla-ptype.exp
7430 * gdb.fortran/vla-sizeof.exp
7431 * gdb.fortran/vla-type.exp
7432 * gdb.fortran/vla-value-sub-arbitrary.exp
7433 * gdb.fortran/vla-value-sub-finish.exp
7434 * gdb.fortran/vla-value-sub.exp
7435 * gdb.fortran/vla-value.exp
7436 * gdb.fortran/whatis_type.exp
7437 * gdb.go/chan.exp
7438 * gdb.go/handcall.exp
7439 * gdb.go/hello.exp
7440 * gdb.go/integers.exp
7441 * gdb.go/methods.exp
7442 * gdb.go/package.exp
7443 * gdb.go/strings.exp
7444 * gdb.go/types.exp
7445 * gdb.go/unsafe.exp
7446 * gdb.guile/scm-arch.exp
7447 * gdb.guile/scm-block.exp
7448 * gdb.guile/scm-breakpoint.exp
7449 * gdb.guile/scm-cmd.exp
7450 * gdb.guile/scm-disasm.exp
7451 * gdb.guile/scm-equal.exp
7452 * gdb.guile/scm-frame-args.exp
7453 * gdb.guile/scm-frame-inline.exp
7454 * gdb.guile/scm-frame.exp
7455 * gdb.guile/scm-iterator.exp
7456 * gdb.guile/scm-math.exp
7457 * gdb.guile/scm-objfile.exp
7458 * gdb.guile/scm-ports.exp
7459 * gdb.guile/scm-symbol.exp
7460 * gdb.guile/scm-symtab.exp
7461 * gdb.guile/scm-value-cc.exp
7462 * gdb.guile/types-module.exp
7463 * gdb.linespec/break-ask.exp
7464 * gdb.linespec/cpexplicit.exp
7465 * gdb.linespec/explicit.exp
7466 * gdb.linespec/keywords.exp
7467 * gdb.linespec/linespec.exp
7468 * gdb.linespec/ls-dollar.exp
7469 * gdb.linespec/ls-errs.exp
7470 * gdb.linespec/skip-two.exp
7471 * gdb.linespec/thread.exp
7472 * gdb.mi/mi-async.exp
7473 * gdb.mi/mi-basics.exp
7474 * gdb.mi/mi-break.exp
7475 * gdb.mi/mi-catch-load.exp
7476 * gdb.mi/mi-cli.exp
7477 * gdb.mi/mi-cmd-param-changed.exp
7478 * gdb.mi/mi-console.exp
7479 * gdb.mi/mi-detach.exp
7480 * gdb.mi/mi-disassemble.exp
7481 * gdb.mi/mi-eval.exp
7482 * gdb.mi/mi-file-transfer.exp
7483 * gdb.mi/mi-file.exp
7484 * gdb.mi/mi-fill-memory.exp
7485 * gdb.mi/mi-inheritance-syntax-error.exp
7486 * gdb.mi/mi-linespec-err-cp.exp
7487 * gdb.mi/mi-logging.exp
7488 * gdb.mi/mi-memory-changed.exp
7489 * gdb.mi/mi-read-memory.exp
7490 * gdb.mi/mi-record-changed.exp
7491 * gdb.mi/mi-reg-undefined.exp
7492 * gdb.mi/mi-regs.exp
7493 * gdb.mi/mi-return.exp
7494 * gdb.mi/mi-reverse.exp
7495 * gdb.mi/mi-simplerun.exp
7496 * gdb.mi/mi-solib.exp
7497 * gdb.mi/mi-stack.exp
7498 * gdb.mi/mi-stepi.exp
7499 * gdb.mi/mi-syn-frame.exp
7500 * gdb.mi/mi-until.exp
7501 * gdb.mi/mi-var-block.exp
7502 * gdb.mi/mi-var-child.exp
7503 * gdb.mi/mi-var-cmd.exp
7504 * gdb.mi/mi-var-cp.exp
7505 * gdb.mi/mi-var-display.exp
7506 * gdb.mi/mi-var-invalidate.exp
7507 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7508 * gdb.mi/mi-vla-fortran.exp
7509 * gdb.mi/mi-watch.exp
7510 * gdb.mi/mi2-var-child.exp
7511 * gdb.mi/user-selected-context-sync.exp
7512 * gdb.modula2/unbounded-array.exp
7513 * gdb.multi/dummy-frame-restore.exp
7514 * gdb.multi/multi-arch-exec.exp
7515 * gdb.multi/multi-arch.exp
7516 * gdb.multi/tids.exp
7517 * gdb.multi/watchpoint-multi.exp
7518 * gdb.opencl/callfuncs.exp
7519 * gdb.opencl/convs_casts.exp
7520 * gdb.opencl/datatypes.exp
7521 * gdb.opencl/operators.exp
7522 * gdb.opencl/vec_comps.exp
7523 * gdb.opt/clobbered-registers-O2.exp
7524 * gdb.opt/inline-break.exp
7525 * gdb.opt/inline-bt.exp
7526 * gdb.opt/inline-cmds.exp
7527 * gdb.opt/inline-locals.exp
7528 * gdb.pascal/case-insensitive-symbols.exp
7529 * gdb.pascal/floats.exp
7530 * gdb.pascal/gdb11492.exp
7531 * gdb.python/lib-types.exp
7532 * gdb.python/py-arch.exp
7533 * gdb.python/py-as-string.exp
7534 * gdb.python/py-bad-printers.exp
7535 * gdb.python/py-block.exp
7536 * gdb.python/py-breakpoint-create-fail.exp
7537 * gdb.python/py-breakpoint.exp
7538 * gdb.python/py-caller-is.exp
7539 * gdb.python/py-cmd.exp
7540 * gdb.python/py-explore-cc.exp
7541 * gdb.python/py-explore.exp
7542 * gdb.python/py-finish-breakpoint.exp
7543 * gdb.python/py-finish-breakpoint2.exp
7544 * gdb.python/py-frame-args.exp
7545 * gdb.python/py-frame-inline.exp
7546 * gdb.python/py-frame.exp
7547 * gdb.python/py-framefilter-mi.exp
7548 * gdb.python/py-infthread.exp
7549 * gdb.python/py-lazy-string.exp
7550 * gdb.python/py-linetable.exp
7551 * gdb.python/py-mi-events.exp
7552 * gdb.python/py-mi-objfile.exp
7553 * gdb.python/py-mi.exp
7554 * gdb.python/py-objfile.exp
7555 * gdb.python/py-pp-integral.exp
7556 * gdb.python/py-pp-maint.exp
7557 * gdb.python/py-pp-re-notag.exp
7558 * gdb.python/py-pp-registration.exp
7559 * gdb.python/py-recurse-unwind.exp
7560 * gdb.python/py-strfns.exp
7561 * gdb.python/py-symbol.exp
7562 * gdb.python/py-symtab.exp
7563 * gdb.python/py-sync-interp.exp
7564 * gdb.python/py-typeprint.exp
7565 * gdb.python/py-unwind-maint.exp
7566 * gdb.python/py-unwind.exp
7567 * gdb.python/py-value-cc.exp
7568 * gdb.python/py-xmethods.exp
7569 * gdb.reverse/amd64-tailcall-reverse.exp
7570 * gdb.reverse/break-precsave.exp
7571 * gdb.reverse/break-reverse.exp
7572 * gdb.reverse/consecutive-precsave.exp
7573 * gdb.reverse/consecutive-reverse.exp
7574 * gdb.reverse/finish-precsave.exp
7575 * gdb.reverse/finish-reverse-bkpt.exp
7576 * gdb.reverse/finish-reverse.exp
7577 * gdb.reverse/fstatat-reverse.exp
7578 * gdb.reverse/getresuid-reverse.exp
7579 * gdb.reverse/i386-precsave.exp
7580 * gdb.reverse/i386-reverse.exp
7581 * gdb.reverse/i386-sse-reverse.exp
7582 * gdb.reverse/i387-env-reverse.exp
7583 * gdb.reverse/i387-stack-reverse.exp
7584 * gdb.reverse/insn-reverse.exp
7585 * gdb.reverse/machinestate-precsave.exp
7586 * gdb.reverse/machinestate.exp
7587 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7588 * gdb.reverse/pipe-reverse.exp
7589 * gdb.reverse/readv-reverse.exp
7590 * gdb.reverse/recvmsg-reverse.exp
7591 * gdb.reverse/rerun-prec.exp
7592 * gdb.reverse/s390-mvcle.exp
7593 * gdb.reverse/step-precsave.exp
7594 * gdb.reverse/step-reverse.exp
7595 * gdb.reverse/time-reverse.exp
7596 * gdb.reverse/until-precsave.exp
7597 * gdb.reverse/until-reverse.exp
7598 * gdb.reverse/waitpid-reverse.exp
7599 * gdb.reverse/watch-precsave.exp
7600 * gdb.reverse/watch-reverse.exp
7601 * gdb.rust/generics.exp
7602 * gdb.rust/methods.exp
7603 * gdb.rust/modules.exp
7604 * gdb.rust/simple.exp
7605 * gdb.server/connect-with-no-symbol-file.exp
7606 * gdb.server/ext-attach.exp
7607 * gdb.server/ext-restart.exp
7608 * gdb.server/ext-wrapper.exp
7609 * gdb.server/file-transfer.exp
7610 * gdb.server/server-exec-info.exp
7611 * gdb.server/server-kill.exp
7612 * gdb.server/server-mon.exp
7613 * gdb.server/wrapper.exp
7614 * gdb.stabs/exclfwd.exp
7615 * gdb.stabs/gdb11479.exp
7616 * gdb.threads/clone-new-thread-event.exp
7617 * gdb.threads/corethreads.exp
7618 * gdb.threads/current-lwp-dead.exp
7619 * gdb.threads/dlopen-libpthread.exp
7620 * gdb.threads/gcore-thread.exp
7621 * gdb.threads/sigstep-threads.exp
7622 * gdb.threads/watchpoint-fork.exp
7623 * gdb.trace/actions-changed.exp
7624 * gdb.trace/backtrace.exp
7625 * gdb.trace/change-loc.exp
7626 * gdb.trace/circ.exp
7627 * gdb.trace/collection.exp
7628 * gdb.trace/disconnected-tracing.exp
7629 * gdb.trace/ftrace.exp
7630 * gdb.trace/mi-trace-frame-collected.exp
7631 * gdb.trace/mi-trace-unavailable.exp
7632 * gdb.trace/mi-traceframe-changed.exp
7633 * gdb.trace/mi-tsv-changed.exp
7634 * gdb.trace/no-attach-trace.exp
7635 * gdb.trace/passc-dyn.exp
7636 * gdb.trace/qtro.exp
7637 * gdb.trace/range-stepping.exp
7638 * gdb.trace/read-memory.exp
7639 * gdb.trace/save-trace.exp
7640 * gdb.trace/signal.exp
7641 * gdb.trace/status-stop.exp
7642 * gdb.trace/tfile.exp
7643 * gdb.trace/trace-break.exp
7644 * gdb.trace/trace-buffer-size.exp
7645 * gdb.trace/trace-condition.exp
7646 * gdb.trace/tracefile-pseudo-reg.exp
7647 * gdb.trace/tstatus.exp
7648 * gdb.trace/unavailable.exp
7649 * gdb.trace/while-dyn.exp
7650 * gdb.trace/while-stepping.exp
7651
7652 2016-12-22 Doug Evans <xdje42@gmail.com>
7653
7654 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7655 and msymbols.
7656
7657 2016-12-19 Yao Qi <yao.qi@linaro.org>
7658
7659 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7660 (test_with_self): Don't call do_steps_and_nexts, and remove
7661 code about stepping into xmalloc.
7662
7663 2016-12-09 Yao Qi <yao.qi@linaro.org>
7664
7665 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7666
7667 2016-12-09 Yao Qi <yao.qi@linaro.org>
7668
7669 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7670
7671 2016-12-09 Pedro Alves <palves@redhat.com>
7672
7673 * gdb.base/all-architectures-0.exp: New file.
7674 * gdb.base/all-architectures-1.exp: New file.
7675 * gdb.base/all-architectures-2.exp: New file.
7676 * gdb.base/all-architectures-3.exp: New file.
7677 * gdb.base/all-architectures-4.exp: New file.
7678 * gdb.base/all-architectures-5.exp: New file.
7679 * gdb.base/all-architectures-6.exp: New file.
7680 * gdb.base/all-architectures-7.exp: New file.
7681 * gdb.base/all-architectures.exp.in: New file.
7682
7683 2016-12-09 Yao Qi <yao.qi@linaro.org>
7684
7685 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7686
7687 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7688
7689 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7690 possible.
7691 Remove useless pattern-matching code.
7692
7693 2016-12-02 Pedro Alves <palves@redhat.com>
7694
7695 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7696 procedure.
7697 (top level): Call it.
7698
7699 2016-12-02 Pedro Alves <palves@redhat.com>
7700
7701 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7702 New procedure.
7703 (top level): Call it.
7704
7705 2016-12-02 Pedro Alves <palves@redhat.com>
7706
7707 PR cli/20559
7708 * gdb.base/commands.exp (user_defined_command_args_eval): New
7709 procedure.
7710 (top level): Call it.
7711
7712 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7713
7714 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7715 timeout handling.
7716
7717 2016-12-02 Tom Tromey <tom@tromey.com>
7718
7719 * gdb.dwarf2/main-subprogram.c: New file.
7720 * gdb.dwarf2/main-subprogram.exp: New file.
7721
7722 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7723
7724 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7725 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7726 gdb_test_no_output for a couple of cases.
7727 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7728
7729 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7730
7731 Fix test names and standardize compilation error messages throughout
7732 the following files:
7733
7734 * gdb.ada/start.exp
7735 * gdb.arch/alpha-step.exp
7736 * gdb.arch/e500-prologue.exp
7737 * gdb.arch/ftrace-insn-reloc.exp
7738 * gdb.arch/gdb1291.exp
7739 * gdb.arch/gdb1431.exp
7740 * gdb.arch/gdb1558.exp
7741 * gdb.arch/i386-dr3-watch.exp
7742 * gdb.arch/i386-sse-stack-align.exp
7743 * gdb.arch/ia64-breakpoint-shadow.exp
7744 * gdb.arch/pa-nullify.exp
7745 * gdb.arch/powerpc-aix-prologue.exp
7746 * gdb.arch/thumb-bx-pc.exp
7747 * gdb.base/annota1.exp
7748 * gdb.base/annota3.exp
7749 * gdb.base/arrayidx.exp
7750 * gdb.base/assign.exp
7751 * gdb.base/attach.exp
7752 * gdb.base/auxv.exp
7753 * gdb.base/bang.exp
7754 * gdb.base/bfp-test.exp
7755 * gdb.base/bigcore.exp
7756 * gdb.base/bitfields2.exp
7757 * gdb.base/break-fun-addr.exp
7758 * gdb.base/break-probes.exp
7759 * gdb.base/call-rt-st.exp
7760 * gdb.base/callexit.exp
7761 * gdb.base/catch-fork-kill.exp
7762 * gdb.base/charset.exp
7763 * gdb.base/checkpoint.exp
7764 * gdb.base/comprdebug.exp
7765 * gdb.base/constvars.exp
7766 * gdb.base/coredump-filter.exp
7767 * gdb.base/cursal.exp
7768 * gdb.base/cvexpr.exp
7769 * gdb.base/detach.exp
7770 * gdb.base/display.exp
7771 * gdb.base/dmsym.exp
7772 * gdb.base/dprintf-pending.exp
7773 * gdb.base/dso2dso.exp
7774 * gdb.base/dtrace-probe.exp
7775 * gdb.base/dump.exp
7776 * gdb.base/enum_cond.exp
7777 * gdb.base/exe-lock.exp
7778 * gdb.base/exec-invalid-sysroot.exp
7779 * gdb.base/execl-update-breakpoints.exp
7780 * gdb.base/exprs.exp
7781 * gdb.base/fileio.exp
7782 * gdb.base/find.exp
7783 * gdb.base/finish.exp
7784 * gdb.base/fixsection.exp
7785 * gdb.base/foll-vfork.exp
7786 * gdb.base/frame-args.exp
7787 * gdb.base/gcore.exp
7788 * gdb.base/gdb1250.exp
7789 * gdb.base/global-var-nested-by-dso.exp
7790 * gdb.base/gnu-ifunc.exp
7791 * gdb.base/hashline1.exp
7792 * gdb.base/hashline2.exp
7793 * gdb.base/hashline3.exp
7794 * gdb.base/hbreak-in-shr-unsupported.exp
7795 * gdb.base/huge.exp
7796 * gdb.base/infcall-input.exp
7797 * gdb.base/info-fun.exp
7798 * gdb.base/info-shared.exp
7799 * gdb.base/jit-simple.exp
7800 * gdb.base/jit-so.exp
7801 * gdb.base/jit.exp
7802 * gdb.base/jump.exp
7803 * gdb.base/label.exp
7804 * gdb.base/lineinc.exp
7805 * gdb.base/logical.exp
7806 * gdb.base/longjmp.exp
7807 * gdb.base/macscp.exp
7808 * gdb.base/miscexprs.exp
7809 * gdb.base/new-ui-echo.exp
7810 * gdb.base/new-ui-pending-input.exp
7811 * gdb.base/new-ui.exp
7812 * gdb.base/nodebug.exp
7813 * gdb.base/nofield.exp
7814 * gdb.base/offsets.exp
7815 * gdb.base/overlays.exp
7816 * gdb.base/pending.exp
7817 * gdb.base/pointers.exp
7818 * gdb.base/pr11022.exp
7819 * gdb.base/printcmds.exp
7820 * gdb.base/prologue.exp
7821 * gdb.base/ptr-typedef.exp
7822 * gdb.base/realname-expand.exp
7823 * gdb.base/relativedebug.exp
7824 * gdb.base/relocate.exp
7825 * gdb.base/remote.exp
7826 * gdb.base/reread.exp
7827 * gdb.base/return2.exp
7828 * gdb.base/savedregs.exp
7829 * gdb.base/sep.exp
7830 * gdb.base/sepdebug.exp
7831 * gdb.base/sepsymtab.exp
7832 * gdb.base/set-inferior-tty.exp
7833 * gdb.base/setshow.exp
7834 * gdb.base/shlib-call.exp
7835 * gdb.base/sigaltstack.exp
7836 * gdb.base/siginfo-addr.exp
7837 * gdb.base/signals.exp
7838 * gdb.base/signull.exp
7839 * gdb.base/sigrepeat.exp
7840 * gdb.base/so-impl-ld.exp
7841 * gdb.base/solib-display.exp
7842 * gdb.base/solib-overlap.exp
7843 * gdb.base/solib-search.exp
7844 * gdb.base/solib-symbol.exp
7845 * gdb.base/structs.exp
7846 * gdb.base/structs2.exp
7847 * gdb.base/symtab-search-order.exp
7848 * gdb.base/twice.exp
7849 * gdb.base/unload.exp
7850 * gdb.base/varargs.exp
7851 * gdb.base/watchpoint-solib.exp
7852 * gdb.base/watchpoint.exp
7853 * gdb.base/whatis.exp
7854 * gdb.base/wrong_frame_bt_full.exp
7855 * gdb.btrace/dlopen.exp
7856 * gdb.cell/ea-standalone.exp
7857 * gdb.cell/ea-test.exp
7858 * gdb.cp/dispcxx.exp
7859 * gdb.cp/gdb2384.exp
7860 * gdb.cp/method2.exp
7861 * gdb.cp/nextoverthrow.exp
7862 * gdb.cp/pr10728.exp
7863 * gdb.disasm/am33.exp
7864 * gdb.disasm/h8300s.exp
7865 * gdb.disasm/mn10300.exp
7866 * gdb.disasm/sh3.exp
7867 * gdb.dwarf2/dw2-dir-file-name.exp
7868 * gdb.fortran/complex.exp
7869 * gdb.fortran/library-module.exp
7870 * gdb.guile/scm-pretty-print.exp
7871 * gdb.guile/scm-symbol.exp
7872 * gdb.guile/scm-type.exp
7873 * gdb.guile/scm-value.exp
7874 * gdb.linespec/linespec.exp
7875 * gdb.mi/gdb701.exp
7876 * gdb.mi/gdb792.exp
7877 * gdb.mi/mi-breakpoint-changed.exp
7878 * gdb.mi/mi-dprintf-pending.exp
7879 * gdb.mi/mi-dprintf.exp
7880 * gdb.mi/mi-exit-code.exp
7881 * gdb.mi/mi-pending.exp
7882 * gdb.mi/mi-solib.exp
7883 * gdb.mi/new-ui-mi-sync.exp
7884 * gdb.mi/pr11022.exp
7885 * gdb.mi/user-selected-context-sync.exp
7886 * gdb.opt/solib-intra-step.exp
7887 * gdb.python/py-events.exp
7888 * gdb.python/py-finish-breakpoint.exp
7889 * gdb.python/py-mi.exp
7890 * gdb.python/py-prettyprint.exp
7891 * gdb.python/py-shared.exp
7892 * gdb.python/py-symbol.exp
7893 * gdb.python/py-template.exp
7894 * gdb.python/py-type.exp
7895 * gdb.python/py-value.exp
7896 * gdb.reverse/solib-precsave.exp
7897 * gdb.reverse/solib-reverse.exp
7898 * gdb.server/solib-list.exp
7899 * gdb.stabs/weird.exp
7900 * gdb.threads/reconnect-signal.exp
7901 * gdb.threads/stepi-random-signal.exp
7902 * gdb.trace/actions.exp
7903 * gdb.trace/ax.exp
7904 * gdb.trace/backtrace.exp
7905 * gdb.trace/change-loc.exp
7906 * gdb.trace/deltrace.exp
7907 * gdb.trace/ftrace-lock.exp
7908 * gdb.trace/ftrace.exp
7909 * gdb.trace/infotrace.exp
7910 * gdb.trace/mi-tracepoint-changed.exp
7911 * gdb.trace/packetlen.exp
7912 * gdb.trace/passcount.exp
7913 * gdb.trace/pending.exp
7914 * gdb.trace/range-stepping.exp
7915 * gdb.trace/report.exp
7916 * gdb.trace/stap-trace.exp
7917 * gdb.trace/tfind.exp
7918 * gdb.trace/trace-break.exp
7919 * gdb.trace/trace-condition.exp
7920 * gdb.trace/trace-enable-disable.exp
7921 * gdb.trace/trace-mt.exp
7922 * gdb.trace/tracecmd.exp
7923 * gdb.trace/tspeed.exp
7924 * gdb.trace/tsv.exp
7925 * lib/perftest.exp
7926
7927 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7928
7929 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7930 with gdb_test_no_output.
7931 Use command as test name.
7932
7933 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7934
7935 Fix test names starting with uppercase throughout the files.
7936
7937 * gdb.ada/assign_1.exp
7938 * gdb.ada/boolean_expr.exp
7939 * gdb.base/arrayidx.exp
7940 * gdb.base/del.exp
7941 * gdb.base/gcore-buffer-overflow.exp
7942 * gdb.base/testenv.exp
7943 * gdb.compile/compile.exp
7944 * gdb.python/py-framefilter-invalidarg.exp
7945 * gdb.python/py-framefilter.exp
7946
7947 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7948
7949 Fix test names starting with uppercase throughout the files.
7950
7951 * gdb.ada/array_return.exp
7952 * gdb.ada/expr_delims.exp
7953 * gdb.ada/mi_dyn_arr.exp
7954 * gdb.ada/mi_interface.exp
7955 * gdb.ada/mi_var_array.exp
7956 * gdb.ada/watch_arg.exp
7957 * gdb.arch/alpha-step.exp
7958 * gdb.arch/altivec-regs.exp
7959 * gdb.arch/e500-regs.exp
7960 * gdb.arch/powerpc-d128-regs.exp
7961 * gdb.base/arrayidx.exp
7962 * gdb.base/break.exp
7963 * gdb.base/checkpoint.exp
7964 * gdb.base/debug-expr.exp
7965 * gdb.base/dmsym.exp
7966 * gdb.base/radix.exp
7967 * gdb.base/sepdebug.exp
7968 * gdb.base/testenv.exp
7969 * gdb.base/watch_thread_num.exp
7970 * gdb.base/watchpoint-cond-gone.exp
7971 * gdb.cell/break.exp
7972 * gdb.cell/ea-cache.exp
7973 * gdb.compile/compile.exp
7974 * gdb.cp/gdb2495.exp
7975 * gdb.gdb/selftest.exp
7976 * gdb.gdb/xfullpath.exp
7977 * gdb.go/hello.exp
7978 * gdb.go/integers.exp
7979 * gdb.objc/basicclass.exp
7980 * gdb.pascal/hello.exp
7981 * gdb.pascal/integers.exp
7982 * gdb.python/py-breakpoint.exp
7983 * gdb.python/py-cmd.exp
7984 * gdb.python/py-linetable.exp
7985 * gdb.python/py-xmethods.exp
7986 * gdb.python/python.exp
7987 * gdb.reverse/consecutive-precsave.exp
7988 * gdb.reverse/finish-precsave.exp
7989 * gdb.reverse/i386-precsave.exp
7990 * gdb.reverse/machinestate-precsave.exp
7991 * gdb.reverse/sigall-precsave.exp
7992 * gdb.reverse/solib-precsave.exp
7993 * gdb.reverse/step-precsave.exp
7994 * gdb.reverse/until-precsave.exp
7995 * gdb.reverse/watch-precsave.exp
7996 * gdb.threads/leader-exit.exp
7997 * gdb.threads/pthreads.exp
7998 * gdb.threads/wp-replication.exp
7999 * gdb.trace/actions.exp
8000 * gdb.trace/mi-tsv-changed.exp
8001 * gdb.trace/tsv.exp
8002
8003 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8004
8005 Fix test names starting with uppercase throughout the files.
8006
8007 * gdb.arch/i386-bp_permanent.exp
8008 * gdb.arch/i386-gnu-cfi.exp
8009 * gdb.base/disasm-end-cu.exp
8010 * gdb.base/macscp.exp
8011 * gdb.base/pending.exp
8012 * gdb.base/watch_thread_num.exp
8013 * gdb.cp/exception.exp
8014 * gdb.cp/gdb2495.exp
8015 * gdb.cp/local.exp
8016 * gdb.python/py-evsignal.exp
8017 * gdb.python/python.exp
8018 * gdb.trace/tracecmd.exp
8019
8020 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8021
8022 Fix test names starting with uppercase throughout the files.
8023
8024 * gdb.base/charset.exp
8025 * gdb.base/eval.exp
8026 * gdb.base/multi-forks.exp
8027 * gdb.guile/scm-progspace.exp
8028 * gdb.opencl/datatypes.exp
8029 * gdb.python/py-block.exp
8030 * gdb.python/py-function.exp
8031 * gdb.python/py-symbol.exp
8032 * gdb.python/py-symtab.exp
8033 * gdb.python/py-xmethods.exp
8034 * gdb.reverse/break-precsave.exp
8035 * gdb.reverse/break-reverse.exp
8036 * gdb.reverse/consecutive-precsave.exp
8037 * gdb.reverse/consecutive-reverse.exp
8038 * gdb.reverse/finish-precsave.exp
8039 * gdb.reverse/finish-reverse-bkpt.exp
8040 * gdb.reverse/finish-reverse.exp
8041 * gdb.reverse/fstatat-reverse.exp
8042 * gdb.reverse/getresuid-reverse.exp
8043 * gdb.reverse/i386-precsave.exp
8044 * gdb.reverse/i386-reverse.exp
8045 * gdb.reverse/i386-sse-reverse.exp
8046 * gdb.reverse/i387-stack-reverse.exp
8047 * gdb.reverse/insn-reverse.exp
8048 * gdb.reverse/machinestate-precsave.exp
8049 * gdb.reverse/machinestate.exp
8050 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8051 * gdb.reverse/pipe-reverse.exp
8052 * gdb.reverse/readv-reverse.exp
8053 * gdb.reverse/recvmsg-reverse.exp
8054 * gdb.reverse/rerun-prec.exp
8055 * gdb.reverse/s390-mvcle.exp
8056 * gdb.reverse/sigall-precsave.exp
8057 * gdb.reverse/sigall-reverse.exp
8058 * gdb.reverse/solib-precsave.exp
8059 * gdb.reverse/solib-reverse.exp
8060 * gdb.reverse/step-precsave.exp
8061 * gdb.reverse/step-reverse.exp
8062 * gdb.reverse/time-reverse.exp
8063 * gdb.reverse/until-precsave.exp
8064 * gdb.reverse/until-reverse.exp
8065 * gdb.reverse/waitpid-reverse.exp
8066 * gdb.reverse/watch-precsave.exp
8067 * gdb.reverse/watch-reverse.exp
8068
8069 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8070
8071 Fix test names starting with uppercase throughout the files.
8072
8073 * gdb.arch/i386-mpx-simple_segv.exp
8074 * gdb.arch/i386-mpx.exp
8075 * gdb.arch/i386-permbkpt.exp
8076 * gdb.arch/pa-nullify.exp
8077 * gdb.arch/powerpc-d128-regs.exp
8078 * gdb.arch/vsx-regs.exp
8079 * gdb.base/bfp-test.exp
8080 * gdb.base/break.exp
8081 * gdb.base/breakpoint-shadow.exp
8082 * gdb.base/callfuncs.exp
8083 * gdb.base/charset.exp
8084 * gdb.base/commands.exp
8085 * gdb.base/completion.exp
8086 * gdb.base/dfp-test.exp
8087 * gdb.base/echo.exp
8088 * gdb.base/ending-run.exp
8089 * gdb.base/eval.exp
8090 * gdb.base/expand-psymtabs.exp
8091 * gdb.base/float128.exp
8092 * gdb.base/floatn.exp
8093 * gdb.base/foll-exec-mode.exp
8094 * gdb.base/gdb1056.exp
8095 * gdb.base/gdb11531.exp
8096 * gdb.base/kill-after-signal.exp
8097 * gdb.base/multi-forks.exp
8098 * gdb.base/overlays.exp
8099 * gdb.base/pending.exp
8100 * gdb.base/sepdebug.exp
8101 * gdb.base/testenv.exp
8102 * gdb.base/valgrind-db-attach.exp
8103 * gdb.base/watch_thread_num.exp
8104 * gdb.base/watchpoint-cond-gone.exp
8105 * gdb.base/watchpoint.exp
8106 * gdb.base/watchpoints.exp
8107 * gdb.cp/arg-reference.exp
8108 * gdb.cp/baseenum.exp
8109 * gdb.cp/operator.exp
8110 * gdb.cp/shadow.exp
8111 * gdb.dwarf2/dw2-op-out-param.exp
8112 * gdb.dwarf2/dw2-reg-undefined.exp
8113 * gdb.go/chan.exp
8114 * gdb.go/hello.exp
8115 * gdb.go/integers.exp
8116 * gdb.go/methods.exp
8117 * gdb.go/package.exp
8118 * gdb.guile/scm-parameter.exp
8119 * gdb.guile/scm-progspace.exp
8120 * gdb.guile/scm-value.exp
8121 * gdb.mi/mi-pending.exp
8122 * gdb.mi/user-selected-context-sync.exp
8123 * gdb.multi/multi-attach.exp
8124 * gdb.multi/tids.exp
8125 * gdb.opt/clobbered-registers-O2.exp
8126 * gdb.pascal/floats.exp
8127 * gdb.pascal/integers.exp
8128 * gdb.python/py-block.exp
8129 * gdb.python/py-events.exp
8130 * gdb.python/py-parameter.exp
8131 * gdb.python/py-symbol.exp
8132 * gdb.python/py-symtab.exp
8133 * gdb.python/py-type.exp
8134 * gdb.python/py-value.exp
8135 * gdb.python/py-xmethods.exp
8136 * gdb.python/python.exp
8137 * gdb.reverse/break-precsave.exp
8138 * gdb.reverse/consecutive-precsave.exp
8139 * gdb.reverse/finish-precsave.exp
8140 * gdb.reverse/i386-precsave.exp
8141 * gdb.reverse/machinestate-precsave.exp
8142 * gdb.reverse/sigall-precsave.exp
8143 * gdb.reverse/solib-precsave.exp
8144 * gdb.reverse/step-precsave.exp
8145 * gdb.reverse/until-precsave.exp
8146 * gdb.reverse/watch-precsave.exp
8147 * gdb.server/ext-attach.exp
8148 * gdb.server/ext-restart.exp
8149 * gdb.server/ext-run.exp
8150 * gdb.server/ext-wrapper.exp
8151 * gdb.stabs/gdb11479.exp
8152 * gdb.stabs/weird.exp
8153 * gdb.threads/attach-many-short-lived-threads.exp
8154 * gdb.threads/kill.exp
8155 * gdb.threads/watchpoint-fork.exp
8156
8157 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8158
8159 Fix test names starting with uppercase throughout all the files below.
8160
8161 * gdb.ada/array_return.exp
8162 * gdb.ada/catch_ex.exp
8163 * gdb.ada/info_exc.exp
8164 * gdb.ada/mi_catch_ex.exp
8165 * gdb.ada/mi_dyn_arr.exp
8166 * gdb.ada/mi_ex_cond.exp
8167 * gdb.ada/mi_exc_info.exp
8168 * gdb.ada/mi_interface.exp
8169 * gdb.ada/mi_task_arg.exp
8170 * gdb.ada/mi_task_info.exp
8171 * gdb.ada/mi_var_array.exp
8172 * gdb.arch/alpha-step.exp
8173 * gdb.arch/amd64-disp-step.exp
8174 * gdb.arch/arm-disp-step.exp
8175 * gdb.arch/disp-step-insn-reloc.exp
8176 * gdb.arch/e500-prologue.exp
8177 * gdb.arch/ftrace-insn-reloc.exp
8178 * gdb.arch/gdb1558.exp
8179 * gdb.arch/i386-bp_permanent.exp
8180 * gdb.arch/i386-disp-step.exp
8181 * gdb.arch/i386-float.exp
8182 * gdb.arch/i386-gnu-cfi.exp
8183 * gdb.arch/ia64-breakpoint-shadow.exp
8184 * gdb.arch/mips16-thunks.exp
8185 * gdb.arch/pa-nullify.exp
8186 * gdb.arch/powerpc-aix-prologue.exp
8187 * gdb.arch/powerpc-power.exp
8188 * gdb.arch/ppc-dfp.exp
8189 * gdb.arch/s390-tdbregs.exp
8190 * gdb.arch/spu-info.exp
8191 * gdb.arch/spu-ls.exp
8192 * gdb.arch/thumb-bx-pc.exp
8193 * gdb.base/advance.exp
8194 * gdb.base/annota-input-while-running.exp
8195 * gdb.base/arrayidx.exp
8196 * gdb.base/asmlabel.exp
8197 * gdb.base/async.exp
8198 * gdb.base/attach-wait-input.exp
8199 * gdb.base/auto-connect-native-target.exp
8200 * gdb.base/batch-preserve-term-settings.exp
8201 * gdb.base/bfp-test.exp
8202 * gdb.base/bigcore.exp
8203 * gdb.base/bp-permanent.exp
8204 * gdb.base/break-always.exp
8205 * gdb.base/break-fun-addr.exp
8206 * gdb.base/break-idempotent.exp
8207 * gdb.base/break-main-file-remove-fail.exp
8208 * gdb.base/break-probes.exp
8209 * gdb.base/break-unload-file.exp
8210 * gdb.base/break.exp
8211 * gdb.base/call-ar-st.exp
8212 * gdb.base/call-rt-st.exp
8213 * gdb.base/call-sc.exp
8214 * gdb.base/call-signal-resume.exp
8215 * gdb.base/call-strs.exp
8216 * gdb.base/callexit.exp
8217 * gdb.base/callfuncs.exp
8218 * gdb.base/catch-gdb-caused-signals.exp
8219 * gdb.base/catch-signal-siginfo-cond.exp
8220 * gdb.base/catch-syscall.exp
8221 * gdb.base/compare-sections.exp
8222 * gdb.base/cond-eval-mode.exp
8223 * gdb.base/condbreak-call-false.exp
8224 * gdb.base/consecutive-step-over.exp
8225 * gdb.base/cursal.exp
8226 * gdb.base/disabled-location.exp
8227 * gdb.base/disasm-end-cu.exp
8228 * gdb.base/display.exp
8229 * gdb.base/double-prompt-target-event-error.exp
8230 * gdb.base/dprintf-bp-same-addr.exp
8231 * gdb.base/dprintf-detach.exp
8232 * gdb.base/dprintf-next.exp
8233 * gdb.base/dprintf-non-stop.exp
8234 * gdb.base/dprintf-pending.exp
8235 * gdb.base/dso2dso.exp
8236 * gdb.base/ending-run.exp
8237 * gdb.base/enum_cond.exp
8238 * gdb.base/examine-backward.exp
8239 * gdb.base/exe-lock.exp
8240 * gdb.base/exec-invalid-sysroot.exp
8241 * gdb.base/execl-update-breakpoints.exp
8242 * gdb.base/execution-termios.exp
8243 * gdb.base/fileio.exp
8244 * gdb.base/fixsection.exp
8245 * gdb.base/foll-exec-mode.exp
8246 * gdb.base/foll-exec.exp
8247 * gdb.base/fork-running-state.exp
8248 * gdb.base/frame-args.exp
8249 * gdb.base/fullpath-expand.exp
8250 * gdb.base/func-ptr.exp
8251 * gdb.base/gcore-relro-pie.exp
8252 * gdb.base/gdb1090.exp
8253 * gdb.base/gdb1555.exp
8254 * gdb.base/global-var-nested-by-dso.exp
8255 * gdb.base/gnu-ifunc.exp
8256 * gdb.base/hbreak-in-shr-unsupported.exp
8257 * gdb.base/hbreak-unmapped.exp
8258 * gdb.base/hook-stop.exp
8259 * gdb.base/infcall-input.exp
8260 * gdb.base/info-fun.exp
8261 * gdb.base/info-shared.exp
8262 * gdb.base/interrupt-noterm.exp
8263 * gdb.base/jit-so.exp
8264 * gdb.base/jit.exp
8265 * gdb.base/line-symtabs.exp
8266 * gdb.base/list.exp
8267 * gdb.base/longjmp.exp
8268 * gdb.base/macscp.exp
8269 * gdb.base/max-value-size.exp
8270 * gdb.base/nodebug.exp
8271 * gdb.base/nofield.exp
8272 * gdb.base/overlays.exp
8273 * gdb.base/paginate-after-ctrl-c-running.exp
8274 * gdb.base/paginate-bg-execution.exp
8275 * gdb.base/paginate-inferior-exit.exp
8276 * gdb.base/pending.exp
8277 * gdb.base/pr11022.exp
8278 * gdb.base/printcmds.exp
8279 * gdb.base/ptr-typedef.exp
8280 * gdb.base/ptype.exp
8281 * gdb.base/randomize.exp
8282 * gdb.base/range-stepping.exp
8283 * gdb.base/realname-expand.exp
8284 * gdb.base/relativedebug.exp
8285 * gdb.base/remote.exp
8286 * gdb.base/savedregs.exp
8287 * gdb.base/sepdebug.exp
8288 * gdb.base/set-noassign.exp
8289 * gdb.base/shlib-call.exp
8290 * gdb.base/shreloc.exp
8291 * gdb.base/sigaltstack.exp
8292 * gdb.base/sigbpt.exp
8293 * gdb.base/siginfo-addr.exp
8294 * gdb.base/siginfo-obj.exp
8295 * gdb.base/siginfo-thread.exp
8296 * gdb.base/signest.exp
8297 * gdb.base/signull.exp
8298 * gdb.base/sigrepeat.exp
8299 * gdb.base/skip.exp
8300 * gdb.base/so-impl-ld.exp
8301 * gdb.base/solib-corrupted.exp
8302 * gdb.base/solib-disc.exp
8303 * gdb.base/solib-display.exp
8304 * gdb.base/solib-overlap.exp
8305 * gdb.base/solib-search.exp
8306 * gdb.base/solib-symbol.exp
8307 * gdb.base/source-execution.exp
8308 * gdb.base/sss-bp-on-user-bp-2.exp
8309 * gdb.base/sss-bp-on-user-bp.exp
8310 * gdb.base/stack-checking.exp
8311 * gdb.base/stale-infcall.exp
8312 * gdb.base/step-break.exp
8313 * gdb.base/step-line.exp
8314 * gdb.base/step-over-exit.exp
8315 * gdb.base/step-test.exp
8316 * gdb.base/structs.exp
8317 * gdb.base/sym-file.exp
8318 * gdb.base/symtab-search-order.exp
8319 * gdb.base/term.exp
8320 * gdb.base/type-opaque.exp
8321 * gdb.base/unload.exp
8322 * gdb.base/until-nodebug.exp
8323 * gdb.base/until.exp
8324 * gdb.base/unwindonsignal.exp
8325 * gdb.base/watch-cond.exp
8326 * gdb.base/watch-non-mem.exp
8327 * gdb.base/watch_thread_num.exp
8328 * gdb.base/watchpoint-reuse-slot.exp
8329 * gdb.base/watchpoint-solib.exp
8330 * gdb.base/watchpoint.exp
8331 * gdb.btrace/dlopen.exp
8332 * gdb.cell/arch.exp
8333 * gdb.cell/break.exp
8334 * gdb.cell/bt.exp
8335 * gdb.cell/core.exp
8336 * gdb.cell/data.exp
8337 * gdb.cell/dwarfaddr.exp
8338 * gdb.cell/ea-cache.exp
8339 * gdb.cell/ea-standalone.exp
8340 * gdb.cell/ea-test.exp
8341 * gdb.cell/f-regs.exp
8342 * gdb.cell/fork.exp
8343 * gdb.cell/gcore.exp
8344 * gdb.cell/mem-access.exp
8345 * gdb.cell/ptype.exp
8346 * gdb.cell/registers.exp
8347 * gdb.cell/sizeof.exp
8348 * gdb.cell/solib-symbol.exp
8349 * gdb.cell/solib.exp
8350 * gdb.compile/compile-tls.exp
8351 * gdb.cp/exception.exp
8352 * gdb.cp/gdb2495.exp
8353 * gdb.cp/local.exp
8354 * gdb.cp/mb-inline.exp
8355 * gdb.cp/mb-templates.exp
8356 * gdb.cp/pr10687.exp
8357 * gdb.cp/pr9167.exp
8358 * gdb.cp/scope-err.exp
8359 * gdb.cp/templates.exp
8360 * gdb.cp/virtfunc.exp
8361 * gdb.dwarf2/dw2-dir-file-name.exp
8362 * gdb.dwarf2/dw2-single-line-discriminators.exp
8363 * gdb.fortran/complex.exp
8364 * gdb.fortran/library-module.exp
8365 * gdb.guile/guile.exp
8366 * gdb.guile/scm-cmd.exp
8367 * gdb.guile/scm-frame-inline.exp
8368 * gdb.guile/scm-objfile.exp
8369 * gdb.guile/scm-pretty-print.exp
8370 * gdb.guile/scm-symbol.exp
8371 * gdb.guile/scm-type.exp
8372 * gdb.guile/scm-value.exp
8373 * gdb.linespec/keywords.exp
8374 * gdb.linespec/ls-errs.exp
8375 * gdb.linespec/macro-relative.exp
8376 * gdb.linespec/thread.exp
8377 * gdb.mi/mi-breakpoint-changed.exp
8378 * gdb.mi/mi-dprintf-pending.exp
8379 * gdb.mi/mi-fullname-deleted.exp
8380 * gdb.mi/mi-logging.exp
8381 * gdb.mi/mi-pending.exp
8382 * gdb.mi/mi-solib.exp
8383 * gdb.mi/new-ui-mi-sync.exp
8384 * gdb.mi/user-selected-context-sync.exp
8385 * gdb.multi/dummy-frame-restore.exp
8386 * gdb.multi/multi-arch-exec.exp
8387 * gdb.multi/remove-inferiors.exp
8388 * gdb.multi/watchpoint-multi-exit.exp
8389 * gdb.opt/solib-intra-step.exp
8390 * gdb.perf/backtrace.exp
8391 * gdb.perf/single-step.exp
8392 * gdb.perf/skip-command.exp
8393 * gdb.perf/skip-prologue.exp
8394 * gdb.perf/solib.exp
8395 * gdb.python/lib-types.exp
8396 * gdb.python/py-as-string.exp
8397 * gdb.python/py-bad-printers.exp
8398 * gdb.python/py-block.exp
8399 * gdb.python/py-breakpoint.exp
8400 * gdb.python/py-cmd.exp
8401 * gdb.python/py-events.exp
8402 * gdb.python/py-evthreads.exp
8403 * gdb.python/py-finish-breakpoint.exp
8404 * gdb.python/py-finish-breakpoint2.exp
8405 * gdb.python/py-frame-inline.exp
8406 * gdb.python/py-frame.exp
8407 * gdb.python/py-inferior.exp
8408 * gdb.python/py-infthread.exp
8409 * gdb.python/py-mi.exp
8410 * gdb.python/py-objfile.exp
8411 * gdb.python/py-pp-maint.exp
8412 * gdb.python/py-pp-registration.exp
8413 * gdb.python/py-prettyprint.exp
8414 * gdb.python/py-recurse-unwind.exp
8415 * gdb.python/py-shared.exp
8416 * gdb.python/py-symbol.exp
8417 * gdb.python/py-symtab.exp
8418 * gdb.python/py-template.exp
8419 * gdb.python/py-type.exp
8420 * gdb.python/py-unwind-maint.exp
8421 * gdb.python/py-unwind.exp
8422 * gdb.python/py-value.exp
8423 * gdb.python/python.exp
8424 * gdb.reverse/finish-reverse-bkpt.exp
8425 * gdb.reverse/insn-reverse.exp
8426 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8427 * gdb.reverse/solib-precsave.exp
8428 * gdb.reverse/solib-reverse.exp
8429 * gdb.stabs/gdb11479.exp
8430 * gdb.stabs/weird.exp
8431 * gdb.threads/fork-child-threads.exp
8432 * gdb.threads/fork-plus-threads.exp
8433 * gdb.threads/fork-thread-pending.exp
8434 * gdb.threads/forking-threads-plus-breakpoint.exp
8435 * gdb.threads/hand-call-in-threads.exp
8436 * gdb.threads/interrupted-hand-call.exp
8437 * gdb.threads/linux-dp.exp
8438 * gdb.threads/local-watch-wrong-thread.exp
8439 * gdb.threads/next-while-other-thread-longjmps.exp
8440 * gdb.threads/non-ldr-exit.exp
8441 * gdb.threads/pending-step.exp
8442 * gdb.threads/print-threads.exp
8443 * gdb.threads/process-dies-while-detaching.exp
8444 * gdb.threads/process-dies-while-handling-bp.exp
8445 * gdb.threads/pthreads.exp
8446 * gdb.threads/queue-signal.exp
8447 * gdb.threads/reconnect-signal.exp
8448 * gdb.threads/signal-command-handle-nopass.exp
8449 * gdb.threads/signal-command-multiple-signals-pending.exp
8450 * gdb.threads/signal-delivered-right-thread.exp
8451 * gdb.threads/signal-sigtrap.exp
8452 * gdb.threads/sigthread.exp
8453 * gdb.threads/staticthreads.exp
8454 * gdb.threads/stepi-random-signal.exp
8455 * gdb.threads/thread-unwindonsignal.exp
8456 * gdb.threads/thread_check.exp
8457 * gdb.threads/thread_events.exp
8458 * gdb.threads/tid-reuse.exp
8459 * gdb.threads/tls-nodebug.exp
8460 * gdb.threads/tls-shared.exp
8461 * gdb.threads/tls-so_extern.exp
8462 * gdb.threads/tls.exp
8463 * gdb.threads/wp-replication.exp
8464 * gdb.trace/actions-changed.exp
8465 * gdb.trace/actions.exp
8466 * gdb.trace/backtrace.exp
8467 * gdb.trace/change-loc.exp
8468 * gdb.trace/collection.exp
8469 * gdb.trace/deltrace.exp
8470 * gdb.trace/disconnected-tracing.exp
8471 * gdb.trace/entry-values.exp
8472 * gdb.trace/ftrace-lock.exp
8473 * gdb.trace/ftrace.exp
8474 * gdb.trace/infotrace.exp
8475 * gdb.trace/mi-trace-frame-collected.exp
8476 * gdb.trace/mi-trace-unavailable.exp
8477 * gdb.trace/mi-traceframe-changed.exp
8478 * gdb.trace/mi-tracepoint-changed.exp
8479 * gdb.trace/mi-tsv-changed.exp
8480 * gdb.trace/no-attach-trace.exp
8481 * gdb.trace/packetlen.exp
8482 * gdb.trace/passc-dyn.exp
8483 * gdb.trace/passcount.exp
8484 * gdb.trace/pending.exp
8485 * gdb.trace/pr16508.exp
8486 * gdb.trace/qtro.exp
8487 * gdb.trace/range-stepping.exp
8488 * gdb.trace/read-memory.exp
8489 * gdb.trace/report.exp
8490 * gdb.trace/save-trace.exp
8491 * gdb.trace/signal.exp
8492 * gdb.trace/stap-trace.exp
8493 * gdb.trace/status-stop.exp
8494 * gdb.trace/strace.exp
8495 * gdb.trace/tfile.exp
8496 * gdb.trace/tfind.exp
8497 * gdb.trace/trace-break.exp
8498 * gdb.trace/trace-condition.exp
8499 * gdb.trace/trace-enable-disable.exp
8500 * gdb.trace/trace-mt.exp
8501 * gdb.trace/tracecmd.exp
8502 * gdb.trace/tracefile-pseudo-reg.exp
8503 * gdb.trace/tspeed.exp
8504 * gdb.trace/tstatus.exp
8505 * gdb.trace/tsv.exp
8506 * gdb.trace/unavailable.exp
8507 * gdb.trace/while-dyn.exp
8508 * gdb.trace/while-stepping.exp
8509 * lib/gdb-guile.exp
8510 * lib/gdb.exp
8511 * lib/mi-support.exp
8512 * lib/pascal.exp
8513 * lib/perftest.exp
8514 * lib/prelink-support.exp
8515 * lib/selftest-support.exp
8516
8517 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8518
8519 * Makefile.in: Include disable-implicit-rules.mk.
8520
8521 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8522
8523 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8524 non-byte-aligned bit fields.
8525
8526 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8527
8528 PR gdb/12616
8529 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8530 respects the DW_AT_data_bit_offset attribute.
8531
8532 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8533
8534 * gdb.base/default.exp: Fix output of "set language".
8535
8536 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8537
8538 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8539 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8540 make.
8541 * configure.ac: Remove checks for the make program.
8542 * configure: Re-generate.
8543
8544 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8545
8546 * gdb.python/py-recurse-unwind.c (main): Add loop.
8547 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8548 to read_register() and gdb.parse_and_eval(). Make each code
8549 call a separate case that can be individually tested.
8550 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8551 proc. Call cont_and_backtrace for each of the code paths that
8552 we want to test in the unwinder.
8553
8554 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8555
8556 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8557 the definition of struct S.
8558
8559 2016-11-11 Catherine Moore <clm@codesourcery.com>
8560
8561 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8562
8563 2016-11-09 Pedro Alves <palves@redhat.com>
8564
8565 * gdb.base/commands.exp (runto_or_return): New procedure.
8566 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8567 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8568 (progvar_simple_while_test, progvar_complex_if_while_test)
8569 (if_while_breakpoint_command_test)
8570 (infrun_breakpoint_command_test, breakpoint_command_test)
8571 (user_defined_command_test, watchpoint_command_test)
8572 (test_command_prompt_position, redefine_hook_test)
8573 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8574 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8575 multi_line_input and multi_line. Remove gdb_expect and
8576 gdb_stop_suppressing_tests uses.
8577 * lib/gdb.exp (valnum_re): New global.
8578 (multi_line_input): New procedure.
8579
8580 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8581
8582 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8583 Remove.
8584 (test_setup): Define with proc_with_prefix.
8585 (test_cli_inferior): Likewise.
8586 (test_cli_thread): Likewise.
8587 (test_cli_frame): Likewise.
8588 (test_cli_select_frame): Likewise.
8589 (test_cli_up_down): Likewise.
8590 (test_mi_thread_select): Likewise.
8591 (test_mi_stack_select_frame): Likewise.
8592 (test_cli_in_mi_inferior): Likewise.
8593 (test_cli_in_mi_thread): Likewise.
8594 (test_cli_in_mi_frame): Likewise.
8595 (top level): Do not use with_test_prefix_procname.
8596
8597 2016-11-09 Pedro Alves <palves@redhat.com>
8598
8599 * gdb.base/commands.exp (gdbvar_simple_if_test)
8600 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8601 (progvar_simple_if_test, progvar_simple_while_test)
8602 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8603 (infrun_breakpoint_command_test, breakpoint_command_test)
8604 (user_defined_command_test, watchpoint_command_test)
8605 (test_command_prompt_position, deprecated_command_test)
8606 (bp_deleted_in_command, temporary_breakpoint_commands)
8607 (stray_arg0_test, source_file_with_indented_comment)
8608 (recursive_source_test, if_commands_test)
8609 (error_clears_commands_left, redefine_hook_test)
8610 (redefine_backtrace_test): Use proc_with_prefix.
8611 * lib/gdb.exp (proc_with_prefix): New proc.
8612
8613 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8614
8615 * gdb.base/tui-layout.c: New file.
8616 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8617 disassembly window contains very long lines.
8618
8619 2016-11-08 Tom Tromey <tom@tromey.com>
8620
8621 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8622 depend on Python 2.
8623
8624 2016-11-08 Tom Tromey <tom@tromey.com>
8625
8626 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8627 New method.
8628
8629 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8630
8631 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8632
8633 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8634
8635 * gdb.rust/simple.rs: Add test for univariant enums without
8636 discriminants and for encoded struct-like enums.
8637
8638 2016-10-28 Pedro Alves <palves@redhat.com>
8639
8640 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8641 gdb_test_multiple, tighten regexps and match symtabs and line
8642 tables incrementally.
8643
8644 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8645
8646 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8647 general.
8648
8649 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8650
8651 * gdb.base/exec-invalid-sysroot.exp: New file.
8652
8653 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8654
8655 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8656
8657 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8658
8659 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8660
8661 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8662
8663 * gdb.base/killed-outside.exp: Remove $options from a call to
8664 `prepare_for_testing'.
8665
8666 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8667
8668 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8669 Change test message.
8670
8671 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8672
8673 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8674 Update comment.
8675
8676 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8677
8678 * gdb.trace/mi-trace-save.exp: New file.
8679
8680 2016-10-13 Yao Qi <yao.qi@linaro.org>
8681
8682 * gdb.base/code_elim.exp (get_var_address): Remove.
8683 * gdb.base/relocate.exp: Likewise.
8684 * gdb.base/shreloc.exp: Likewise.
8685 * lib/gdb.exp (get_var_address): New.
8686
8687 2016-10-13 Yao Qi <yao.qi@linaro.org>
8688
8689 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8690 floating point tests if $skip_float_test is false.
8691
8692 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8693
8694 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8695 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8696 argc values.
8697 Add 1 to argc so we guarantee distinct initial/modified argc values.
8698
8699 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8700
8701 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8702
8703 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8704
8705 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8706 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8707 * gdb.arch/vsx-regs.exp: Likewise.
8708
8709 2016-10-07 Yao Qi <yao.qi@linaro.org>
8710
8711 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8712
8713 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8714
8715 * gdb.python/python.exp: Test decode_line("*0").
8716
8717 2016-10-06 Doug Evans <dje@google.com>
8718
8719 * gdb.python/py-value.exp (test_value_creation): Add test for large
8720 unsigned 64-bit value.
8721
8722 2016-10-06 Tom Tromey <tom@tromey.com>
8723
8724 * gdb.compile/compile.exp: Change java tests to rust.
8725 * gdb.base/setshow.exp: Change java tests to rust.
8726 * gdb.base/default.exp: Remove java from language list.
8727 * README (Examples): Update language example.
8728 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8729 test.
8730 * lib/gdb.exp (skip_java_tests): Remove.
8731 * lib/java.exp: Remove.
8732 * gdb.java: Remove.
8733
8734 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8735
8736 * gdb.arch/mips-fcr.exp: New test.
8737 * gdb.arch/mips-fcr.c: Source for the new test.
8738
8739 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8740
8741 * gdb.base/solib-disc.exp: Use `standard_output_file'
8742 throughout.
8743
8744 2016-10-06 Pedro Alves <palves@redhat.com>
8745
8746 * gdb.base/jit-simple-dl.c: New file.
8747 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8748 * gdb.base/jit-simple.c: ... this.
8749 * gdb.base/jit-simple.exp (jit_run): Delete.
8750 (build_jit): New proc.
8751 (jit_test_reread): Recompile either the main program or the shared
8752 library, depending on what is being tested. Skip changing address
8753 if caller wants to. Compare before/after addresses. If testing
8754 standalone, explicitly load the binary. Test "maint info
8755 breakpoints".
8756 (top level): Add "standalone vs shared lib" and "change address"
8757 vs "same address" axes.
8758
8759 2016-10-06 Pedro Alves <palves@redhat.com>
8760
8761 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8762 call.
8763 (jit_run): Delete.
8764 (jit_test_reread): Use with_test_prefix. Reload the main binary
8765 explicitly. Compare the before/after addresses of the JIT
8766 descriptor.
8767
8768 2016-08-15 Doug Evans <dje@google.com>
8769
8770 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8771 for single bitfields is bool.
8772 * gdb.xml/tdesc-regs.exp: Ditto.
8773
8774 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8775
8776 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8777
8778 2016-10-05 Yao Qi <yao.qi@linaro.org>
8779
8780 * lib/gdb.exp (support_complex_tests): Return zero if
8781 gdb_skip_float_test return true.
8782
8783 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8784 Simon Marchi <simon.marchi@ericsson.com>
8785
8786 PR gdb/20487
8787 * gdb.mi/user-selected-context-sync.exp: New file.
8788 * gdb.mi/user-selected-context-sync.c: New file.
8789
8790 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8791 Simon Marchi <simon.marchi@ericsson.com>
8792
8793 PR gdb/20487
8794 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8795 =thread-select-event check.
8796
8797 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8798
8799 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8800 the compulsory L operand changes.
8801 * gdb.arch/powerpc-power.s: Likewise.
8802
8803 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8804
8805 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8806 * gdb.base/jit-attach-pie.c: New file.
8807 * gdb.base/jit-attach-pie.exp: New file.
8808
8809 2016-09-28 Pedro Alves <palves@redhat.com>
8810
8811 * gdb.base/infcall-input.c: New file.
8812 * gdb.base/infcall-input.exp: New file.
8813
8814 2016-09-22 Yao Qi <yao.qi@linaro.org>
8815
8816 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8817 (gdb_exit): Rename it to ...
8818 (gdbserver_gdb_exit): ... Close GDBserver.
8819 (gdb_exit): New proc, call gdbserver_gdb_exit.
8820 (mi_gdb_exit): Likewise.
8821
8822 2016-09-22 Yao Qi <yao.qi@linaro.org>
8823
8824 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8825 path.
8826 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8827 Remove duplication.
8828
8829 2016-09-22 Yao Qi <yao.qi@linaro.org>
8830
8831 * lib/gdbserver-support.exp: Check the existence of
8832 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8833
8834 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8835
8836 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8837
8838 2016-09-21 Tom Tromey <tom@tromey.com>
8839
8840 PR gdb/20604:
8841 * gdb.base/quit.exp: New file.
8842
8843 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8844
8845 * .gitignore: New file.
8846
8847 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8848
8849 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8850 throughout.
8851
8852 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8853
8854 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8855
8856 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8857
8858 * gdb.cp/casts.cc (decltype): Move it ...
8859 (main): ... with its call to ...
8860 * gdb.cp/casts03.cc: ... a new file.
8861 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8862
8863 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8864
8865 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8866
8867 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8868
8869 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8870 and sync up the test with tests in gas/testsuite/gas/ppc.
8871 * gdb.arch/powerpc-power.exp: Likewise.
8872
8873 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8874
8875 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8876
8877 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8878 Jan Kratochvil <jan.kratochvil@redhat.com>
8879
8880 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8881 make m1's definition to be different from m2's. Use 'dummy' as an
8882 argument for probe 'two'.
8883
8884 2016-09-10 Jon Beniston <jon@beniston.com>
8885
8886 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8887 for sim target.
8888
8889 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8890
8891 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8892 variable declaration.
8893 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8894 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8895 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8896 received HWCAP as its argument.
8897
8898 2016-09-06 Pedro Alves <palves@redhat.com>
8899
8900 * gdb.base/new-ui-pending-input.c: New file.
8901 * gdb.base/new-ui-pending-input.exp: New file.
8902 * gdb.exp (clear_gdb_spawn_id): New procedure.
8903 (with_spawn_id): Check whether gdb_spawn_id exists before
8904 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8905 on exit.
8906
8907 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8908
8909 * gdb.base/float128.c: New file.
8910 * gdb.base/float128.exp: Likewise.
8911 * gdb.base/floatn.c: Likewise.
8912 * gdb.base/floatn.exp: Likewise.
8913
8914 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8915
8916 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8917
8918 2016-09-05 Pedro Alves <palves@redhat.com>
8919
8920 PR backtrace/19927
8921 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8922 unwinders are immediately called as side effect of "source" or
8923 "disable unwinder" commands.
8924 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8925
8926 2016-09-02 Yao Qi <yao.qi@linaro.org>
8927
8928 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8929 is true and $type is "float" or "double".
8930
8931 2016-09-02 Yao Qi <yao.qi@linaro.org>
8932
8933 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8934 true.
8935 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8936 * gdb.base/call-rt-st.exp: Likewise.
8937 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8938 return value instead of gdb,skip_float_test.
8939 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8940 (do_function_calls): Use its return value instead of
8941 gdb,skip_float_test.
8942 * gdb.base/finish.exp: Likewise.
8943 * gdb.base/funcargs.exp: Likewise.
8944 * gdb.base/return.exp: Likewise.
8945 * gdb.base/return2.exp: Likewise.
8946 * gdb.base/varargs.exp: Likewise.
8947 * lib/gdb.exp (gdb_skip_float_test): Change it to
8948 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8949
8950 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8951
8952 * gdb.multi/tids.exp: Test "thread apply all".
8953
8954 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8955
8956 * gdb.base/default.exp (tty): Remove.
8957
8958 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8959
8960 * gdb.python/py-recurse-unwind.c: New file.
8961 * gdb.python/py-recurse-unwind.py: New file.
8962 * gdb.python/py-recurse-unwind.exp: New file.
8963
8964 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8965
8966 * gdb.base/set-inferior-tty.exp: New file.
8967 * gdb.base/set-inferior-tty.c: New file.
8968
8969 2016-08-23 Pedro Alves <palves@redhat.com>
8970
8971 PR gdb/20494
8972 * gdb.base/new-ui-echo.c: New file.
8973 * gdb.base/new-ui-echo.exp: New file.
8974
8975 2016-08-23 Yao Qi <yao.qi@linaro.org>
8976
8977 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8978 gdbserver_spawn.
8979 * gdb.server/connect-without-multi-process.exp (do_test):
8980 Likewise.
8981
8982 2016-08-23 Yao Qi <yao.qi@linaro.org>
8983
8984 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8985 standalone_txt. Delete gdb_txt and standalone_txt on host
8986 and target. Spawn the binary on target. Copy files from
8987 target to host.
8988
8989 2016-08-22 Pedro Alves <palves@redhat.com>
8990
8991 PR gdb/20505
8992 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8993 with_test_prefix. Factor out bits to ...
8994 (test_no_vdso): ... this new procedure.
8995
8996 2016-08-19 Carl Love <cel@us.ibm.com>
8997
8998 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8999 maintaining separate logic for constructing the output path.
9000 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9001 * gdb.arch/ppc-dfp.exp: Likewise.
9002 * gdb.arch/ppc-fp.exp: Likewise.
9003 * gdb.arch/vsx-regs.exp: Likewise.
9004 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9005 binprefix for generating the additional binary files.
9006
9007 2016-08-19 Pedro Alves <palves@redhat.com>
9008
9009 * gdb.trace/mi-trace-frame-collected.exp
9010 (test_trace_frame_collected): On x32, expect two registers.
9011
9012 2016-08-18 Carl Love <cel@us.ibm.com>
9013
9014 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9015 and sync up the test with tests in gas/testsuite/gas/ppc.
9016 * gdb.arch/powerpc-power.exp: Likewise.
9017
9018 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9019
9020 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9021 expected error message.
9022
9023 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9024
9025 * gdb.multi/remove-inferiors.exp: New file.
9026 * gdb.multi/remove-inferiors.c: New file.
9027
9028 2016-08-12 Yao Qi <yao.qi@linaro.org>
9029
9030 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9031 argument list.
9032
9033 2016-08-10 Pedro Alves <palves@redhat.com>
9034
9035 PR gdb/19187
9036 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9037 setup_kfails.
9038
9039 2016-08-09 Pedro Alves <palves@redhat.com>
9040 Simon Marchi <simon.marchi@ericsson.com>
9041
9042 PR gdb/20418
9043 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9044 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9045
9046 2016-08-09 Pedro Alves <palves@redhat.com>
9047
9048 PR mi/20431
9049 * gdb.mi/mi-cmd-error.exp: New file.
9050
9051 2016-08-09 Pedro Alves <palves@redhat.com>
9052
9053 PR gdb/18653
9054 * gdb.base/signals-state-child.c: New file.
9055 * gdb.base/signals-state-child.exp: New file.
9056 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9057
9058 2016-08-09 Pedro Alves <palves@redhat.com>
9059
9060 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9061
9062 2016-08-03 Tom Tromey <tom@tromey.com>
9063
9064 PR python/18565:
9065 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9066
9067 2016-08-01 Yao Qi <yao.qi@linaro.org>
9068
9069 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9070 variable mode to "multi-process" if $multi_process is 1, otherwise
9071 set it to "single-process".
9072
9073 2016-08-01 Yao Qi <yao.qi@linaro.org>
9074
9075 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9076 * gdb.cp/cpexprs.exp: Likewise.
9077 * gdb.cp/m-static.exp: Likewise.
9078
9079 2016-07-26 Tom Tromey <tom@tromey.com>
9080
9081 PR python/20190:
9082 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9083 test.
9084
9085 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9086
9087 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9088 selecting assembly source files.
9089 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9090 assembly source files.
9091 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9092 assembly source files.
9093 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9094 selecting assembly source files.
9095
9096 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9097
9098 * gdb.base/new-ui.exp (do_test_invalid_args): New
9099 procedure.
9100
9101 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9102
9103 * gdb.btrace/reconnect.c: New file.
9104 * gdb.btrace/reconnect.exp: New file.
9105
9106 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9107
9108 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9109 to test_catch_syscall_group.
9110 (test_catch_syscall_group): New.
9111
9112 2016-07-21 Tom Tromey <tom@tromey.com>
9113
9114 * gdb.rust/simple.rs (main): Use empty struct expression.
9115 * gdb.rust/simple.exp: Add tests for empty struct expression.
9116
9117 2016-07-21 Yao Qi <yao.qi@linaro.org>
9118
9119 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9120 if gdb_skip_xml_test is true on some targets.
9121
9122 2016-07-21 Yao Qi <yao.qi@linaro.org>
9123
9124 * gdb.server/solib-list.exp: Unset last_loaded_file.
9125
9126 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9127
9128 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9129 "step into captured_main (args)".
9130
9131 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9132
9133 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9134
9135 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9136
9137 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9138
9139 2016-07-19 Pedro Alves <palves@redhat.com>
9140
9141 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9142 * gdb.opt/inline-bt.exp: Likewise.
9143 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9144 additional_flags=-Winline.
9145 * gdb.opt/inline-locals.exp: Likewise.
9146 * gdb.opt/inline-markers.c (ATTR): Define.
9147 (inlined_fn): Use it.
9148
9149 2016-07-19 Yao Qi <yao.qi@linaro.org>
9150
9151 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9152 (test_with_self): Remove some code. Remove argument executable.
9153 (top-level): Use do_self_tests.
9154
9155 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9156 Don Breazeal <donb@codesourcery.com>
9157
9158 * gdb.base/maint.exp: Escape paths used in regular expressions.
9159 * gdb.stabs/weird.exp: Likewise.
9160
9161 2016-07-13 Tom Tromey <tom@tromey.com>
9162
9163 PR python/15620, PR python/18620:
9164 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9165 (test_bkpt_events): New procs.
9166
9167 2016-07-13 Tom Tromey <tom@tromey.com>
9168
9169 PR python/17698:
9170 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9171 test.
9172 (test_watchpoints): Likewise.
9173 (test_bkpt_pending): New proc.
9174
9175 2016-07-13 Tom Tromey <tom@tromey.com>
9176
9177 PR cli/18053:
9178 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9179 completion test.
9180
9181 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9182
9183 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9184 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9185 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9186 f_label.
9187 (g): Rename g_end_lbl to g_label.
9188 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9189 low_pc and high_pc.
9190 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9191
9192 2016-07-12 Tom Tromey <tom@tromey.com>
9193
9194 PR python/19293:
9195 * gdb.python/py-unwind-maint.exp: Update tests.
9196
9197 2016-07-12 Yao Qi <yao.qi@linaro.org>
9198
9199 * lib/selftest-support.exp (selftest_setup): Match the output
9200 when captured_main is inlined.
9201
9202 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9203
9204 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9205 New variables.
9206 (print this%a, print this%b, print this): New tests.
9207 * gdb.fortran/derived-types.f90 (this): New object and
9208 initialization.
9209
9210 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9211
9212 * gdb.ada/arraydim.exp: Remove extra directory level in build
9213 directory.
9214
9215 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9216
9217 * lib/ada.exp: Remove extra directory level in build directory.
9218 * gdb.ada/cond_lang.exp: Likewise.
9219 * gdb.ada/exec_changed.exp: Likewise.
9220 * gdb.ada/lang_switch.exp: Likewise.
9221
9222 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9223
9224 * simple.rs: Add test for raw pointer subscripting.
9225 * simple.exp: Add test expectations.
9226
9227 2016-07-05 Yao Qi <yao.qi@linaro.org>
9228
9229 * gdb.mi/mi-reverse.exp: Match =record-started output.
9230
9231 2016-07-01 Pedro Alves <palves@redhat.com>
9232
9233 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9234 procedure.
9235 (jit_reader_test): Test the jit reader's unwinder.
9236 * gdb.base/jithost.c (jit_function_00_code): New global.
9237 (main): Use memcpy to fill in the mmapped code, instead of poking
9238 bytes manually here.
9239 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9240 value.
9241 (read_debug_info): Save the function's range.
9242 (read_sp): New function.
9243 (unwind_frame): Use it. Also unwind RBP.
9244 (get_frame_id): Use read_sp.
9245 (gdb_init_reader): Use calloc instead of malloc.
9246 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9247 parameter. Use gdb_test_multiple.
9248
9249 2016-07-01 Pedro Alves <palves@redhat.com>
9250 Antoine Tremblay <antoine.tremblay@ericsson.com>
9251
9252 * gdb.threads/process-dies-while-detaching.c: New file.
9253 * gdb.threads/process-dies-while-detaching.exp: New file.
9254
9255 2016-07-01 Pedro Alves <palves@redhat.com>
9256
9257 * gdb.multi/watchpoint-multi-exit.c: New file.
9258 * gdb.multi/watchpoint-multi-exit.exp: New file.
9259
9260 2016-06-30 Pedro Alves <palves@redhat.com>
9261
9262 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9263 unset inferior_spawn_id.
9264
9265 2016-06-30 Pedro Alves <palves@redhat.com>
9266
9267 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9268 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9269
9270 2016-06-29 Yao Qi <yao.qi@linaro.org>
9271
9272 * gdb.base/return.c: Add copyright header.
9273
9274 2016-06-29 Tom Tromey <tom@tromey.com>
9275
9276 PR python/20129:
9277 * gdb.python/py-framefilter.exp: Add tests for setting priority
9278 and disabling of non-existent frame filter.
9279
9280 2016-06-29 Yao Qi <yao.qi@linaro.org>
9281
9282 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9283 0x0f07ff.
9284
9285 2016-06-28 Yao Qi <yao.qi@linaro.org>
9286
9287 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9288 triplets. Start gdb, execute catch syscall, and continue. Check
9289 gdb's output to determine catch syscall is supported.
9290
9291 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9292
9293 * gdb.rust/simple.rs: Add test for returning unit in a function.
9294 * gdb.rust/simple.exp: Add expectation for functions returning
9295 unit.
9296
9297 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9298
9299 * gdb.python/py-breakpoint-create-fail.c,
9300 gdb.python/py-breakpoint-create-fail.exp,
9301 gdb.python/py-breakpoint-create-fail.py: New testcase.
9302
9303 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9304
9305 PR gdb/20239
9306 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9307 * gdb.rust/simple.exp: Add test expectations for new NonZero
9308 tests.
9309
9310 2016-06-24 David Taylor <dtaylor@emc.com>
9311
9312 * gdb.base/offsets.exp: New file.
9313 * gdb.base/offsets.c: New file.
9314
9315 2016-06-23 Tom Tromey <tom@tromey.com>
9316
9317 PR gdb/16483:
9318 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9319 before any filters are loaded.
9320
9321 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9322
9323 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9324 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9325 structs.
9326 * gdb.fortran/derived-type-function.exp: New file.
9327 * gdb.fortran/derived-type-function.f90: New file.
9328
9329
9330 2016-06-21 Pedro Alves <palves@redhat.com>
9331
9332 * gdb.base/new-ui.exp: New file.
9333 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9334 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9335 (with_spawn_id): New procedure.
9336
9337 2016-06-21 Pedro Alves <palves@redhat.com>
9338
9339 * gdb.mi/mi-exec-run.exp: New file.
9340
9341 2016-06-21 Pedro Alves <palves@redhat.com>
9342
9343 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9344 breakpoint command's output on the main UI.
9345 (test_break): New procedure, factored out from calls in the top
9346 level.
9347 (top level): Use foreach_with_prefix to test MI as main UI and as
9348 separate UI.
9349
9350 2016-06-21 Pedro Alves <palves@redhat.com>
9351
9352 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9353 (test_awatch_creation_and_listing)
9354 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9355 Remove 'type' parameter.
9356 (test_watchpoint_all): New parameter mi_mode. Remove
9357 with_test_prefix.
9358 (top level): Use foreach_with_prefix, and add main/separate UI MI
9359 testing axis.
9360
9361 2016-06-21 Pedro Alves <palves@redhat.com>
9362
9363 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9364 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9365 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9366 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9367 (gdb_main_spawn_id, mi_spawn_id): Declare and
9368 comment.
9369 (mi_create_inferior_pty): New procedure,
9370 factored out from default_mi_gdb_start.
9371 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9372 procedures.
9373 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9374 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9375 Use mi_create_inferior_pty.
9376 (mi_gdb_start): Use eval to pass down args list.
9377
9378 2016-06-21 Pedro Alves <palves@redhat.com>
9379
9380 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9381 * gdb.opt/inline-cmds.exp: Add MI tests.
9382
9383 2016-06-21 Pedro Alves <palves@redhat.com>
9384
9385 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9386
9387 2016-06-21 Pedro Alves <palves@redhat.com>
9388
9389 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9390 (top level): Use it instead of mi_execute_to.
9391
9392 2016-06-21 Pedro Alves <palves@redhat.com>
9393
9394 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9395 (cont_handler_str): New.
9396 (signal_stop_handler): Set stop_handler_str instead of printing to
9397 stdout.
9398 (continue_handler): Set cont_handler_str instead of printing to
9399 stdout.
9400 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9401 mi_send_resuming_command. Print stop_handler_str and
9402 cont_handler_str instead of expecting the python events print
9403 directly.
9404
9405 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9406
9407 * gdb.base/jit-reader.exp: New file.
9408 * gdb.base/jithost.c: New file.
9409 * gdb.base/jithost.h: New file.
9410 * gdb.base/jitreader.c : New file.
9411 * gdb.base/jit-protocol.h: New file.
9412
9413 2016-06-17 Yao Qi <yao.qi@linaro.org>
9414
9415 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9416 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9417 and detach-on-fork. Adjust tests.
9418 (top level): Invoke break_cond_on_syscall with combinations of
9419 syscall, follow-fork-mode and detach-on-fork.
9420
9421 2016-06-17 Yao Qi <yao.qi@linaro.org>
9422
9423 * gdb.base/step-over-exit.c: New.
9424 * gdb.base/step-over-exit.exp: New.
9425
9426 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9427
9428 * gdb.base/float.exp: Add target check for nds32*-*-*.
9429 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9430
9431 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9432
9433 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9434 for unsupported target features.
9435 * gdb.base/call-rt-st.exp: Likewise.
9436 * gdb.base/call-sc.exp: Likewise.
9437 * gdb.base/call-signal-resume.exp: Likewise.
9438 * gdb.base/call-strs.exp: Likewise.
9439 * gdb.base/callexit.exp: Likewise.
9440 * gdb.base/callfuncs.exp: Likewise.
9441 * gdb.base/nodebug.exp: Likewise.
9442 * gdb.base/printcmds.exp: Likewise.
9443 * gdb.base/ptype.exp: Likewise.
9444 * gdb.base/structs.exp: Likewise.
9445 * gdb.base/unwindonsignal.exp: Likewise.
9446 * gdb.cp/gdb2495.exp: Likewise.
9447 * gdb.cp/templates.exp: Likewise.
9448 * gdb.cp/virtfunc.exp: Likewise.
9449 * gdb.threads/hand-call-in-threads.exp: Likewise.
9450 * gdb.threads/interrupted-hand-call.exp: Likewise.
9451 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9452
9453 2016-06-10 Tom Tromey <tom@tromey.com>
9454
9455 PR rust/20110:
9456 * gdb.rust/expr.exp: Add test for integer constant larger than
9457 i32.
9458
9459 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9460
9461 * gdb.fortran/nested-funcs.exp: New.
9462 * gdb.fortran/nested-funcs.f90: New.
9463
9464 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9465
9466 * gdb.base/examine-backward.c: New file.
9467 * gdb.base/examine-backward.exp: New file.
9468
9469 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9470
9471 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9472 matching.
9473
9474 2016-06-02 Tom Tromey <tom@tromey.com>
9475
9476 PR python/18984:
9477 * gdb.python/py-shared.exp: Add solib_name test.
9478
9479 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9480
9481 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9482
9483 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9484
9485 PR c++/19893
9486 * gdb.dwarf2/implref.exp: Rename to...
9487 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9488 * gdb.dwarf2/implref-array.c: New file.
9489 * gdb.dwarf2/implref-array.exp: Likewise.
9490 * gdb.dwarf2/implref-global.c: Likewise.
9491 * gdb.dwarf2/implref-global.exp: Likewise.
9492 * gdb.dwarf2/implref-struct.c: Likewise.
9493 * gdb.dwarf2/implref-struct.exp: Likewise.
9494
9495 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9496
9497 * gdb.trace/trace-condition.exp: Add 64bit tests.
9498
9499 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9500
9501 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9502 bits types.
9503 (main): Adapt to 8 to 64 bits types.
9504 * gdb.trace/trace-condition.exp: Add new tests.
9505
9506 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9507
9508 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9509
9510 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9511
9512 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9513 Move condition tests...
9514 * gdb.trace/trace-condition.exp: Here.
9515
9516 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9517
9518 * gdb.trace/trace-condition.exp: Add counter-case tests.
9519
9520 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9521
9522 PR c++/15231
9523 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9524 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9525
9526 2016-05-27 Pedro Alves <palves@redhat.com>
9527
9528 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9529 New procedure.
9530 (top level): Call it, and bail out of DejaGnu is known to be bad.
9531
9532 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9533
9534 * gdb.base/whatis.c: Extend the test case.
9535 * gdb.base/whatis.exp: Add additional tests.
9536
9537 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9538
9539 * gdb.fortran/type.f90: Add pointer variable.
9540 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9541
9542 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9543
9544 * gdb.fortran/vla-type.exp: Fix testcase name.
9545
9546 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9547
9548 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9549
9550 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9551
9552 * gdb.fortran/type.f90: Add nested structures.
9553 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9554 * gdb.fortran/derived-type.exp: Adapt expected output.
9555 * gdb.fortran/vla-type.exp: Adapt expected output.
9556
9557 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9558
9559 * gdb.fortran/whatis_type.exp: Adapt expected output.
9560
9561 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9562
9563 * gdb.fortran/print_type.exp: Fix expected output.
9564 * gdb.fortran/whatis_type.exp: Fix expected output.
9565
9566 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9567
9568 * gdb.fortran/whatis_type.exp: Use multi_line.
9569
9570 2016-05-24 Tom Tromey <tom@tromey.com>
9571
9572 PR python/17386:
9573 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9574 use value as an index.
9575
9576 2016-05-23 Tom Tromey <tom@tromey.com>
9577
9578 PR python/17981:
9579 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9580 no-breakpoint case.
9581
9582 2016-05-24 Pedro Alves <palves@redhat.com>
9583
9584 PR gdb/19828
9585 * gdb.threads/clone-attach-detach.c: New file.
9586 * gdb.threads/clone-attach-detach.exp: New file.
9587
9588 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9589
9590 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9591
9592 2016-05-23 Tom Tromey <tom@tromey.com>
9593
9594 PR python/19438, PR python/18393:
9595 * gdb.python/py-progspace.exp: Add "dir" test.
9596 * gdb.python/py-objfile.exp: Add "dir" test.
9597
9598 2016-05-23 Yao Qi <yao.qi@linaro.org>
9599
9600 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9601 * gdb.arch/thumb2-it.exp: Likewise.
9602
9603 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9604
9605 * gdb.mi/mi-threads-interrupt.c: New file.
9606 * gdb.mi/mi-threads-interrupt.exp: New file.
9607
9608 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9609
9610 PR gdb/18077
9611 * gdb.mi/mi-async-run.exp: New file.
9612 * gdb.mi/mi-async-run.c: New file.
9613
9614 2016-05-17 Tom Tromey <tom@tromey.com>
9615 Manish Goregaokar <manishsmail@gmail.com>
9616
9617 * lib/rust-support.exp: New file.
9618 * lib/gdb.exp (skip_rust_tests): New proc.
9619 (build_executable_from_specs): Handle rust.
9620 * lib/future.exp (gdb_find_rustc): New proc.
9621 (gdb_default_target_compile): Handle rust.
9622 * gdb.rust/expr.exp: New file.
9623 * gdb.rust/generics.exp: New file.
9624 * gdb.rust/generics.rs: New file.
9625 * gdb.rust/methods.exp: New file.
9626 * gdb.rust/methods.rs: New file.
9627 * gdb.rust/modules.exp: New file.
9628 * gdb.rust/modules.rs: New file.
9629 * gdb.rust/simple.exp: New file.
9630 * gdb.rust/simple.rs: New file.
9631
9632 2016-05-17 Tom Tromey <tom@tromey.com>
9633
9634 * gdb.base/default.exp (set language): Add rust.
9635
9636 2016-05-17 Tom Tromey <tom@tromey.com>
9637
9638 * gdb.gdb/unittest.exp: New file.
9639
9640 2016-05-16 Yao Qi <yao.qi@linaro.org>
9641
9642 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9643 shell_prompt. Update shell_prompt_re.
9644
9645 2016-05-12 Doug Evans <dje@google.com>
9646
9647 PR symtab/19999
9648 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9649 $options when building executable.
9650 * gdb.dwarf2/fission-loclists-pie.S: New file.
9651 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9652
9653 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9654
9655 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9656 of [is_remote target],
9657
9658 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9659
9660 * lib/gdb.exp (use_gdb_stub): New procedure.
9661
9662 2016-05-03 Yunlian Jiang <yunlian@google.com>
9663 Doug Evans <dje@google.com>
9664
9665 PR symtab/19914
9666 * gdb.dwarf2/dwp-sepdebug.c: New file.
9667 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9668
9669 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9670
9671 * gdb.base/detach.exp: Remove is_remote check.
9672
9673 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9674
9675 * gdb.base/annota-input-while-running.exp: Don't check for
9676 [is_remote target]. Enable annotations after running to main.
9677 Remove unused "set test..." line.
9678
9679 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9680
9681 * gdb.trace/trace-enable-disable.exp: New file.
9682 * gdb.trace/trace-enable-disable.c: New file.
9683
9684 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9685
9686 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9687 use it in info sharedlibrary test.
9688 * gdb.trace/ftrace-lock.exp: Likewise.
9689 * gdb.trace/ftrace.exp: Likewise.
9690 * gdb.trace/range-stepping.exp: Likewise.
9691 * gdb.trace/trace-break.exp: Likewise.
9692 * gdb.trace/trace-condition.exp: Likewise.
9693 * gdb.trace/trace-mt.exp: Likewise.
9694
9695 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9696
9697 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9698 (gdb_load_shlib): ... this.
9699 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9700 gdb_load_shlib.
9701 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9702 * gdb.base/ctxobj.exp: Likewise.
9703 * gdb.base/dprintf-pending.exp: Likewise.
9704 * gdb.base/dso2dso.exp: Likewise.
9705 * gdb.base/fixsection.exp: Likewise.
9706 * gdb.base/gcore-relro.exp: Likewise.
9707 * gdb.base/gdb1555.exp: Likewise.
9708 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9709 * gdb.base/gnu-ifunc.exp: Likewise.
9710 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9711 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9712 * gdb.base/pending.exp: Likewise.
9713 * gdb.base/print-file-var.exp: Likewise.
9714 * gdb.base/print-symbol-loading.exp: Likewise.
9715 * gdb.base/shlib-call.exp: Likewise.
9716 * gdb.base/shreloc.exp: Likewise.
9717 * gdb.base/so-impl-ld.exp: Likewise.
9718 * gdb.base/solib-disc.exp: Likewise.
9719 * gdb.base/solib-nodir.exp: Likewise.
9720 * gdb.base/solib-overlap.exp: Likewise.
9721 * gdb.base/solib-symbol.exp: Likewise.
9722 * gdb.base/solib-weak.exp (do_test): Likewise.
9723 * gdb.base/sym-file.exp: Likewise.
9724 * gdb.base/symtab-search-order.exp: Likewise.
9725 * gdb.base/type-opaque.exp: Likewise.
9726 * gdb.base/unload.exp: Likewise.
9727 * gdb.base/watchpoint-solib.exp: Likewise.
9728 * gdb.compile/compile.exp: Likewise.
9729 * gdb.cp/gdb2384.exp: Likewise.
9730 * gdb.cp/infcall-dlopen.exp: Likewise.
9731 * gdb.cp/re-set-overloaded.exp: Likewise.
9732 * gdb.fortran/library-module.exp: Likewise.
9733 * gdb.opt/solib-intra-step.exp: Likewise.
9734 * gdb.python/py-finish-breakpoint.exp: Likewise.
9735 * gdb.python/py-shared.exp: Likewise.
9736 * gdb.reverse/solib-precsave.exp: Likewise.
9737 * gdb.reverse/solib-reverse.exp: Likewise.
9738 * gdb.server/solib-list.exp: Likewise.
9739 * gdb.threads/dlopen-libpthread.exp: Likewise.
9740 * gdb.threads/tls-shared.exp: Likewise.
9741 * gdb.threads/tls-so_extern.exp: Likewise.
9742 * gdb.trace/change-loc.exp: Likewise.
9743 * gdb.trace/ftrace-lock.exp: Likewise.
9744 * gdb.trace/ftrace.exp: Likewise.
9745 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9746 * gdb.trace/pending.exp: Likewise.
9747 * gdb.trace/range-stepping.exp: Likewise.
9748 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9749 (strace_info_marker): Likewise.
9750 (strace_probe_marker): Likewise.
9751 (strace_trace_on_same_addr): Likewise.
9752 (strace_trace_on_diff_addr): Likewise.
9753 * gdb.trace/trace-break.exp: Likewise.
9754 * gdb.trace/trace-condition.exp: Likewise.
9755 * gdb.trace/trace-mt.exp: Likewise.
9756
9757 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9758
9759 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9760 result of gdb_remote_download.
9761 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9762 * gdb.base/dso2dso.exp: Likewise.
9763 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9764 * gdb.base/print-file-var.exp: Likewise.
9765 * gdb.base/shlib-call.exp: Likewise.
9766 * gdb.base/shreloc.exp: Likewise.
9767 * gdb.base/solib-overlap.exp: Likewise.
9768 * gdb.base/solib-weak.exp (do_test): Likewise.
9769 * gdb.base/unload.exp: Likewise.
9770
9771 2016-04-27 Yao Qi <yao.qi@linaro.org>
9772
9773 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9774 exists.
9775
9776 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9777
9778 * vla-type.exp: Print structure from toplevel.
9779
9780 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9781
9782 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9783 of dynamic types.
9784 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9785 of dynamic types.
9786
9787 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9788
9789 * gdb.fortran/vla-type.f90: New file.
9790 * gdb.fortran/vla-type.exp: New file.
9791
9792 2016-04-25 Yao Qi <yao.qi@linaro.org>
9793
9794 * gdb.base/branch-to-self.c: New file.
9795 * gdb.base/branch-to-self.exp: New file.
9796
9797 2016-04-22 Yao Qi <yao.qi@linaro.org>
9798
9799 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9800 more after $hex.
9801
9802 2016-04-22 Yao Qi <yao.qi@linaro.org>
9803
9804 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9805 * gdb.base/annota3.exp: Likewise.
9806
9807 2016-04-22 Yao Qi <yao.qi@linaro.org>
9808
9809 * gdb.reverse/step-precsave.exp: Do one step and test program
9810 stops in "callee" and do multiple steps until program goes out
9811 of "callee".
9812 * gdb.reverse/step-reverse.exp: Likewise.
9813
9814 2016-04-22 Yao Qi <yao.qi@linaro.org>
9815
9816 * gdb.trace/signal.exp: Also pass if
9817 $tracepoint_hits($i) > $iterations.
9818
9819 2016-04-22 Yao Qi <yao.qi@linaro.org>
9820
9821 * gdb.trace/signal.c: New file.
9822 * gdb.trace/signal.exp: New file.
9823
9824 2016-04-19 Doug Evans <xdje42@gmail.com>
9825
9826 * gdb.base/bad-file.exp: New file.
9827
9828 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9829
9830 * gdb.dwarf2/implref.exp: New file.
9831
9832 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9833
9834 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9835 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9836 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9837 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9838 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9839 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9840 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9841 * lib/fortran.exp (fortran_int4): New procedure.
9842 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9843 (fortran_logical4): Likewise.
9844
9845 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9846
9847 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9848
9849 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9850
9851 * lib/compiler.c: Add Intel specific preprocessor macros.
9852 * lib/compiler.cc: Likewise.
9853
9854 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9855
9856 * gdb.server/connect-with-no-symbol-file.c: New file.
9857 * gdb.server/connect-with-no-symbol-file.exp: New file.
9858
9859 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9860
9861 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9862
9863 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9864
9865 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9866 standard output directory.
9867
9868 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9869
9870 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9871
9872 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9873
9874 * gdb.btrace/instruction_history.c (loop): Add declaration.
9875
9876 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9877
9878 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9879
9880 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9881
9882 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9883 parentheses to print.
9884 (continue_handler): Likewise.
9885
9886 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9887
9888 * gdb.server/solib-list.exp: Remove is_remote check.
9889 Pass shlib= to gdb_compile. Don't link shared library with
9890 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9891 Run binary filename through "readlink -f" on the target.
9892
9893 2016-04-08 Pedro Alves <palves@redhat.com>
9894
9895 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9896 interpreter filename as argument to gdbserver_spawn.
9897 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9898 Return empty if $last_loaded_file does not exist.
9899
9900 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9901
9902 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9903 * gdb.base/jit-main.c: Use exit after usage.
9904
9905 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9906
9907 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9908 GDBHISTSIZE prior to the tests.
9909 * gdb.base/gdbinit-history.exp: Likewise.
9910
9911 2016-04-07 Pedro Alves <palves@redhat.com>
9912
9913 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9914 instead of build_executable. Use gdb_load_shlibs.
9915
9916 2016-04-07 Yao Qi <yao.qi@linaro.org>
9917
9918 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9919 Execute "si" command.
9920
9921 2016-04-07 Yao Qi <yao.qi@linaro.org>
9922
9923 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9924 number instead of the comments on some line.
9925
9926 2016-04-06 Don Breazeal <donb@codesourcery.com>
9927
9928 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9929 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9930
9931 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9932
9933 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9934 standard_output_file. Remove unused binfile variable.
9935
9936 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9937
9938 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9939 * gdb.python/py-mi-objfile.exp: Match "list main" output
9940 in console format.
9941
9942 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9943
9944 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9945 absolute.
9946
9947 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9948
9949 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9950 absolute.
9951 * gdb.trace/ftrace.exp: Likewise.
9952 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9953 targets as well.
9954 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9955 (gdb_load_shlibs): Copy libraries to test directory when testing
9956 natively. Only set solib-search-path if testing remotely.
9957 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9958
9959 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9960
9961 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9962 gdb_download. Use it even if the target is not remote.
9963 * gdb.base/jit.exp (compile_jit_test): Likewise.
9964 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9965 output directory if the destination board is local, otherwise use
9966 the standard remote_download from DejaGnu.
9967 (gdb_download): Remove.
9968 (gdb_load_shlibs): Use gdb_remote_download instead of
9969 gdb_download.
9970 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9971 Use gdb_remote_download instead of gdb_download. Use it even if
9972 the target is not remote.
9973 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9974 instead of gdb_download.
9975
9976 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9977
9978 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9979 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9980 run.
9981
9982 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9983
9984 PR gdb/19820
9985 * gdb.base/printcmds.exp: Add artificial arrays tests.
9986
9987 2016-03-31 Pedro Alves <palves@redhat.com>
9988
9989 PR gdb/19858
9990 * gdb.base/jit-main.c: Include unistd.h.
9991 (ATTACH): Define to 0 if not already defined.
9992 (wait_for_gdb, mypid): New globals.
9993 (WAIT_FOR_GDB): New macro.
9994 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9995 some breakpoint locations.
9996 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9997 New procedures.
9998 (one_jit_test): Add REATTACH parameter, and handle it. Use
9999 continue_to_test_location.
10000 (top level): Test attach, and adjusts calls to one_jit_test.
10001
10002 2016-03-31 Pedro Alves <palves@redhat.com>
10003
10004 PR gdb/19858
10005 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10006 BINSUFFIX parameter, and handle it.
10007 (top level): Adjust calls compile_jit_test.
10008
10009 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10010
10011 PR python/19743
10012 * gdb.python/py-mi-events-gdb.py: New file.
10013 * gdb.python/py-mi-events.c: New file.
10014 * gdb.python/py-mi-events.exp: New file.
10015
10016 2016-03-30 Yao Qi <yao.qi@linaro.org>
10017
10018 * gdb.reverse/until-precsave.exp: Match function name only.
10019 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10020 Move malloc to a condition block.
10021 * gdb.reverse/until-reverse.exp: Match function name only.
10022
10023 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10024
10025 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10026 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10027 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10028 variable for GPR 0 instead of assuming it is register 0.
10029 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10030 * lib/trace-support.exp: Add s390 registers.
10031
10032 2016-03-29 Yao Qi <yao.qi@linaro.org>
10033
10034 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10035
10036 2016-03-24 Yao Qi <yao.qi@linaro.org>
10037
10038 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10039 test message.
10040
10041 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10042
10043 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10044 maintaining separate logic for constructing the output path.
10045
10046 2016-03-16 Don Breazeal <donb@codesourcery.com>
10047
10048 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10049 Retry fork and waitpid on interrupted system call errors.
10050 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10051 Use with_timeout_factor to increase timeout by factor of 10.
10052
10053 2016-03-15 Don Breazeal <donb@codesourcery.com>
10054
10055 * gdb.cp/scope-err.cc: New test program.
10056 * gdb.cp/scope-err.exp: New test script.
10057 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10058 lines and "set breakpoint here" comment.
10059 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10060 Fixed some whitespace and format issues.
10061 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10062 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10063
10064 2016-03-15 Doug Evans <dje@google.com>
10065
10066 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10067 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10068 All callers updated. Add tests for enums, mixed flags register.
10069
10070 2016-03-15 Doug Evans <dje@google.com>
10071
10072 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10073 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10074
10075 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10076
10077 * gdb.base/default.exp: Add $_as_string to the list of expected
10078 convenience functions.
10079
10080 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10081
10082 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10083
10084 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10085
10086 * gdb.python/py-as-string.exp: New file.
10087 * gdb.python/py-as-string.c: New file.
10088
10089 2016-03-09 Pedro Alves <palves@redhat.com>
10090
10091 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10092 signal" -> "Thread NN received signal" output change.
10093 * gdb.threads/ia64-sigill.exp: Likewise.
10094 * gdb.threads/linux-dp.exp: Likewise.
10095 * gdb.threads/manythreads.exp: Likewise.
10096 * gdb.threads/pending-step.exp: Likewise.
10097 * gdb.threads/print-threads.exp: Likewise.
10098 * gdb.threads/sigstep-threads.exp: Likewise.
10099 * gdb.threads/staticthreads.exp: Likewise.
10100 * gdb.threads/tls.exp: Likewise.
10101
10102 2016-03-09 Pedro Alves <palves@redhat.com>
10103
10104 * gdb.base/command-line-input.exp: New file.
10105
10106 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10107
10108 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10109 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10110 * gdb.trace/pending.exp: Accept leading dot before function name.
10111 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10112 * lib/trace-support.exp: Set registers for ppc.
10113
10114 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10115
10116 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10117 use it for disassembly; accept .main in addition to main in backtrace.
10118
10119 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10120 Marcin Kościelnicki <koriakin@0x04.net>
10121
10122 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10123 (gdb_recursion_test_ptr): New global variable.
10124 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10125 gdb_recursion_test.
10126 (gdb_c_test): Ditto.
10127
10128 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10129
10130 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10131 ordering.
10132
10133 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10134
10135 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10136 (bar): Add bar_start_lbl label.
10137 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10138 of foo/bar for emitting DWARF and tracing.
10139
10140 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10141
10142 * analyze-racy-logs.py: Set executable bit.
10143
10144 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10145
10146 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10147 (CHECK_TARGET_TMP): Likewise.
10148 (check-single-racy): New rule.
10149 (check-parallel-racy): Likewise.
10150 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10151 (do-check-parallel-racy): New rule.
10152 (check-racy/%.exp): Likewise.
10153 * README (Racy testcases): New section.
10154 * analyze-racy-logs.py: New file.
10155
10156 2016-03-03 Doug Evans <dje@google.com>
10157
10158 * gdb.base/skip.exp: Use with_test_prefix.
10159
10160 2016-03-03 Yao Qi <yao.qi@linaro.org>
10161
10162 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10163 Invoke step_over_syscall "clone" and break_cond_on_syscall
10164 "clone".
10165 * gdb.base/step-over-clone.c: New file.
10166
10167 2016-03-03 Yao Qi <yao.qi@linaro.org>
10168
10169 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10170 code format.
10171
10172 2016-03-03 Yao Qi <yao.qi@linaro.org>
10173
10174 * gdb.base/disp-step-fork.c: Rename to ...
10175 * gdb.base/step-over-fork.c: ... it. New file.
10176 * gdb.base/disp-step-vfork.c: Rename to ...
10177 * gdb.base/step-over-vfork.c: ... it. New file.
10178 * gdb.base/disp-step-syscall.exp: Rename to ...
10179 * gdb.base/step-over-syscall.exp: ... it. New file.
10180 (disp_step_cross_syscall): Rename to ...
10181 (step_over_syscall): ... it.
10182
10183 2016-03-03 Yao Qi <yao.qi@linaro.org>
10184
10185 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10186 If target supports condition evaluation on target, invoke
10187 break_cond_on_syscall for fork and vfork.
10188
10189 2016-03-03 Yao Qi <yao.qi@linaro.org>
10190
10191 * gdb.base/disp-step-syscall.exp: Don't invoke
10192 support_displaced_stepping.
10193 (disp_step_cross_syscall): Test with displaced stepping off and
10194 on if supported.
10195
10196 2016-03-03 Yao Qi <yao.qi@linaro.org>
10197
10198 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10199 proc.
10200 (setup): New proc.
10201 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10202 and setup.
10203
10204 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10205
10206 * gdb.fortran/vla-history.exp: Remove breakpoint.
10207
10208 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10209
10210 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10211 exceeds timeout.
10212
10213 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10214
10215 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10216 breakpoint.
10217
10218 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10219
10220 * gdb.mi/vla.f90: Nullify pointer after declaration.
10221
10222 2016-03-01 Pedro Alves <palves@redhat.com>
10223
10224 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10225
10226 2016-03-01 Pedro Alves <palves@redhat.com>
10227
10228 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10229 before anything else.
10230 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10231 _GNU_SOURCE here.
10232 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10233 before anything else.
10234 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10235
10236 2016-03-01 Pedro Alves <palves@redhat.com>
10237
10238 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10239
10240 2016-03-01 Yao Qi <yao.qi@linaro.org>
10241
10242 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10243 prepare_for_testing.
10244
10245 2016-03-01 Yao Qi <yao.qi@linaro.org>
10246
10247 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10248
10249 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10250
10251 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10252 manually constructing the output path.
10253
10254 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10255
10256 * gdb.arch/s390-stackless.S: New.
10257 * gdb.arch/s390-stackless.exp: New.
10258
10259 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10260
10261 * gdb.dlang/circular.c: New file.
10262 * gdb.dlang/circular.exp: New file.
10263
10264 2016-02-26 Yao Qi <yao.qi@linaro.org>
10265
10266 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10267 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10268 (testcases): Update.
10269
10270 2016-02-26 Yao Qi <yao.qi@linaro.org>
10271
10272 * gdb.reverse/aarch64.c: Rename to ...
10273 * gdb.reverse/insn-reverse.c: ... it.
10274 * gdb.reverse/aarch64.exp: Rename to ...
10275 * gdb.reverse/insn-reverse.exp: ... it.
10276
10277 2016-02-26 Yao Qi <yao.qi@linaro.org>
10278
10279 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10280 (testcase_ftype): New.
10281 (testcases): New array.
10282 (n_testcases): New.
10283 (main): Call each element in testcases.
10284 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10285 (read_testcase): New.
10286 Do the tests in a loop.
10287
10288 2016-02-25 Yao Qi <yao.qi@linaro.org>
10289
10290 * gdb.base/branches.c: Remove.
10291
10292 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10293
10294 PR gdb/13808
10295 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10296
10297 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10298
10299 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10300
10301 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10302
10303 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10304 change x86_64 call_insn to 'callq'.
10305
10306 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10307
10308 * gdb.trace/tfile-avx.c: Move to...
10309 * gdb.trace/tracefile-pseudo-reg.c: Here.
10310 * gdb.trace/tfile-avx.exp: Move to...
10311 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10312
10313 2016-02-24 Gary Benson <gbenson@redhat.com>
10314
10315 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10316 message on attach.
10317
10318 2016-02-23 Doug Evans <dje@google.com>
10319
10320 * gdb.base/skip.c (test_skip): New function.
10321 (end_test_skip_file_and_function): New function.
10322 (test_skip_file_and_function): New function.
10323 * gdb.base/skip1.c (test_skip): New function.
10324 (skip1_test_skip_file_and_function): New function.
10325 * gdb.base/skip.exp: Add tests for new skip options.
10326 * gdb.base/skip-solib.exp: Update expected output.
10327 * gdb.perf/skip-command.cc: New file.
10328 * gdb.perf/skip-command.exp: New file.
10329 * gdb.perf/skip-command.py: New file.
10330
10331 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10332
10333 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10334 info registers pattern.
10335
10336 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10337
10338 * lib/future.exp: Add D support.
10339 (gdb_find_gdc): New proc.
10340 (gdb_default_target_compile): Add D support.
10341
10342 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10343
10344 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10345 user+system time.
10346 (trace_speed_test): Determine the iteration count for a time
10347 between 15..30 seconds.
10348
10349 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10350
10351 * gdb.arch/i386-mpx-sigsegv.c: New file.
10352 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10353 * gdb.arch/i386-mpx-simple_segv.c: New file.
10354 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10355
10356 2016-02-18 Yao Qi <yao.qi@linaro.org>
10357
10358 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10359 Don't call setup_kfail.
10360
10361 2016-02-18 Yao Qi <yao.qi@linaro.org>
10362
10363 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10364 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10365
10366 2016-02-16 Doug Evans <dje@google.com>
10367
10368 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10369 * gdb.base/skip1.c: Ditto.
10370 * gdb.base/skip.exp: Whitespace cleanup.
10371
10372 2016-02-16 Don Breazeal <donb@codesourcery.com>
10373
10374 PR remote/19496
10375 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10376 Remove kfail for PR remote/19496.
10377
10378 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10379
10380 * lib/gdb.exp (standard_temp_file): Return a path specific to
10381 the runtest invocation.
10382
10383 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10384
10385 * gdb.trace/save-trace.exp: Change relative path to be in the
10386 standard output directory.
10387
10388 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10389
10390 * gdb.arch/i386-prologue.c: Add missing prototypes.
10391
10392 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10393
10394 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10395 * gdb.arch/i386-prologue.exp: Likewise.
10396 * gdb.arch/i386-size.exp: Likewise.
10397
10398 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10399
10400 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10401 define object file path.
10402 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10403 file path.
10404 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10405 standard_output_file to define binfile.
10406
10407 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10408
10409 Fix compatibility with recent gfortran-5.3.1.
10410 * gdb.fortran/vla-history.exp (print vla1 allocated)
10411 (print vla2 allocated, print $2, print $3): Remove
10412 (print $4): Rename to ...
10413 (print $2): ... here.
10414 (print $9): Rename to ...
10415 (print $5): ... here.
10416 (print $10): Rename to ...
10417 (print $6): ... here.
10418 * gdb.fortran/vla.f90: Add pvla initialization.
10419
10420 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10421
10422 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10423 New test.
10424 * gdb.fortran/vla-value-sub.exp: Likewise.
10425
10426 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10427
10428 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10429
10430 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10431
10432 * i386-biarch-core.exp: Define corefile using
10433 standard_output_file.
10434
10435 2016-02-12 Yao Qi <yao.qi@linaro.org>
10436
10437 * gdb.arch/arm-single-step-kernel-helper.c: New.
10438 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10439
10440 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10441
10442 * gdb.btrace/tailcall-only.exp: New.
10443 * gdb.btrace/tailcall-only.c: New.
10444 * gdb.btrace/x86_64-tailcall-only.S: New.
10445 * gdb.btrace/i686-tailcall-only.S: New.
10446
10447 2016-02-11 Pedro Alves <palves@redhat.com>
10448
10449 * README (Parallel testing): Add missing double quotes.
10450
10451 2016-02-11 Pedro Alves <palves@redhat.com>
10452
10453 * README (Parallel testing): New section.
10454 (GDB_PARALLEL): Rewrite.
10455 (FORCE_PARALLEL): Document.
10456
10457 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10458
10459 * gdb.trace/tfile-avx.c: New test.
10460 * gdb.trace/tfile-avx.exp: New test.
10461
10462 2016-02-09 Keith Seitz <keiths@redhat.com>
10463
10464 PR breakpoints/19546
10465 * gdb.base/infcall-exec.c: New file.
10466 * gdb.base/infcall-exec2.c: New file.
10467 * gdb.base/infcall-exec.exp: New file.
10468
10469 2016-02-09 Keith Seitz <keiths@redhat.com>
10470
10471 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10472 (toplevel): Call test_bkpt_address.
10473
10474 2016-02-09 Keith Seitz <keiths@redhat.com>
10475
10476 PR python/19506
10477 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10478 (toplevel): Call test_bkpt_address.
10479
10480 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10481
10482 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10483 to AC_OUTPUT.
10484 * configure: Regenerate.
10485
10486 2016-02-09 Pedro Alves <palves@redhat.com>
10487
10488 PR breakpoints/19548
10489 * gdb.base/execl-update-breakpoints.c (some_function): New
10490 function.
10491 (main): Call it.
10492 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10493 Tighten expected GDB output.
10494
10495 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10496
10497 * Makefile.in (ALL_SUBDIRS): Remove.
10498 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10499 (distclean maintainer-clean realclean): Likewise.
10500 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10501 * configure: Regenerate.
10502 * gdb.ada/Makefile.in: Delete.
10503 * gdb.arch/Makefile.in: Likewise.
10504 * gdb.asm/Makefile.in: Likewise.
10505 * gdb.base/Makefile.in: Likewise.
10506 * gdb.btrace/Makefile.in: Likewise.
10507 * gdb.cell/Makefile.in: Likewise.
10508 * gdb.compile/Makefile.in: Likewise.
10509 * gdb.cp/Makefile.in: Likewise.
10510 * gdb.disasm/Makefile.in: Likewise.
10511 * gdb.dlang/Makefile.in: Likewise.
10512 * gdb.dwarf2/Makefile.in: Likewise.
10513 * gdb.fortran/Makefile.in: Likewise.
10514 * gdb.gdb/Makefile.in: Likewise.
10515 * gdb.go/Makefile.in: Likewise.
10516 * gdb.guile/Makefile.in: Likewise.
10517 * gdb.java/Makefile.in: Likewise.
10518 * gdb.linespec/Makefile.in: Likewise.
10519 * gdb.mi/Makefile.in: Likewise.
10520 * gdb.modula2/Makefile.in: Likewise.
10521 * gdb.multi/Makefile.in: Likewise.
10522 * gdb.objc/Makefile.in: Likewise.
10523 * gdb.opencl/Makefile.in: Likewise.
10524 * gdb.opt/Makefile.in: Likewise.
10525 * gdb.pascal/Makefile.in: Likewise.
10526 * gdb.perf/Makefile.in: Likewise.
10527 * gdb.python/Makefile.in: Likewise.
10528 * gdb.reverse/Makefile.in: Likewise.
10529 * gdb.server/Makefile.in: Likewise.
10530 * gdb.stabs/Makefile.in: Likewise.
10531 * gdb.threads/Makefile.in: Likewise.
10532 * gdb.trace/Makefile.in: Likewise.
10533 * gdb.xml/Makefile.in: Likewise.
10534 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10535 GDB_PARALLEL.
10536 (standard_output_file): Remove check for GDB_PARALLEL, always
10537 return path in outputs/$subdir/$testname.
10538
10539 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10540
10541 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10542 (site.exp): Assign abs_srcdir to tcl's srcdir.
10543
10544 2016-02-04 Yao Qi <yao.qi@linaro.org>
10545
10546 * gdb.base/foll-exec-mode.c: Include limits.h.
10547 (main): Add parameters argc and argv. Get directory from
10548 argv[0].
10549 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10550 compilation.
10551 * gdb.base/foll-exec.c: Include limits.h.
10552 (main): Add parameters argc and argv.
10553 Get directory from argv[0].
10554 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10555 Adjust tests on the number of lines as source code changed.
10556 * gdb.base/foll-vfork-exit.c: Include limits.h.
10557 (main): Add one line of statement before vfork.
10558 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10559 (main): Add parameters argc and argv. Get directory from
10560 argv[0].
10561 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10562 (setup_gdb): Set tbreak to skip some source lines.
10563 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10564 (main): Add parameters argc and argv. Get directory from
10565 argv[0].
10566 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10567 compilation.
10568 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10569 (main): Add parameters argc and argv. Get directory from
10570 argv[0].
10571 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10572 compilation.
10573
10574 2016-02-01 Doug Evans <dje@google.com>
10575
10576 * gdb.base/skip.exp: Clean up multiple references to same test name.
10577
10578 2016-02-01 Pedro Alves <palves@redhat.com>
10579
10580 PR remote/19496
10581 * gdb.threads/forking-threads-plus-breakpoint.exp
10582 (displaced_stepping_supported): New global.
10583 (probe_displaced_stepping_support): New procedure.
10584 (do_test): Add 'displaced' parameter, and use it.
10585 (top level): Check for displaced stepping support. Add displaced
10586 stepping on/off testing axis.
10587
10588 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10589
10590 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10591 pointer. Don't perform further tests on the unassociated pointer
10592 if the first test fails.
10593
10594 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10595
10596 * gdb.base/max-value-size.c: New file.
10597 * gdb.base/max-value-size.exp: New file.
10598 * gdb.base/huge.exp: Disable max-value-size for this test.
10599
10600 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10601
10602 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10603
10604 2016-01-28 Yao Qi <yao.qi@linaro.org>
10605
10606 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10607
10608 2016-01-25 Pedro Alves <palves@redhat.com>
10609
10610 PR threads/19461
10611 * gdb.base/fork-running-state.c: New file.
10612 * gdb.base/fork-running-state.exp: New file.
10613
10614 2016-01-25 Pedro Alves <palves@redhat.com>
10615
10616 PR gdb/19494
10617 * gdb.base/catch-fork-kill.c: New file.
10618 * gdb.base/catch-fork-kill.exp: New file.
10619
10620 2016-01-25 Pedro Alves <palves@redhat.com>
10621
10622 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10623 Delete, moved to lib/gdb.exp.
10624 * gdb.threads/forking-threads-plus-breakpoint.exp
10625 (foreach_with_prefix): Likewise.
10626 * gdb.threads/process-dies-while-handling-bp.exp
10627 (foreach_with_prefix): Likewise.
10628 * lib/gdb.exp (foreach_with_prefix): New procedure.
10629
10630 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10631
10632 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10633 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10634
10635 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10636
10637 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10638 endian targets.
10639
10640 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10641 Pedro Alves <palves@redhat.com>
10642
10643 Fix testsuite compatibility with Guile.
10644 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10645 number.
10646
10647 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10648
10649 Fix testsuite compatibility with Guile.
10650 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10651 (thread 1): New test for backtrace through signal handler.
10652
10653 2016-01-22 Yao Qi <yao.qi@linaro.org>
10654
10655 PR testsuite/19491
10656 * gdb.base/multi-forks.c: Include
10657 ../lib/unbuffer_output.c
10658 (main): Call gdb_unbuffer_output.
10659
10660 2016-01-21 Doug Evans <dje@google.com>
10661
10662 * lib/ada.exp (gdb_compile_ada): Fix typo.
10663
10664 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10665
10666 * gdb.base/break-fun-addr.exp: New file.
10667 * gdb.base/break-fun-addr1.c: New file.
10668 * gdb.base/break-fun-addr2.c: New file.
10669
10670 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10671
10672 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10673 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10674 enum flag values.
10675
10676 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10677
10678 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10679 when GDB can not set the vector return value. Add more comments
10680 for clarification.
10681
10682 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10683
10684 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10685 command.
10686
10687 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10688
10689 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10690
10691 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10692
10693 * Makefile.in (check-single): Pass --status to runtest.
10694 (check/%.exp): Likewise.
10695
10696 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10697
10698 * Makefile.in (check-parallel): Propagate return code from make
10699 do-check-parallel.
10700
10701 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10702
10703 * gdb.trace/ftrace.exp: Fix expected message on continue.
10704 * gdb.trace/pending.exp: Fix expected message on continue.
10705 * gdb.trace/trace-break.exp: Fix expected message on continue.
10706
10707 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10708
10709 * lib/gdb.exp (gdb_test): Remove unused global references.
10710
10711 2016-01-18 Pedro Alves <palves@redhat.com>
10712
10713 * gdb.base/async-shell.exp: Adjust expected output.
10714 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10715 * gdb.base/siginfo-thread.exp: Adjust expected output.
10716 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10717 * gdb.java/jnpe.exp: Adjust expected output.
10718 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10719 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10720 * gdb.threads/leader-exit.exp: Adjust expected output.
10721 * gdb.threads/manythreads.exp: Adjust expected output.
10722 * gdb.threads/pthreads.exp: Adjust expected output.
10723 * gdb.threads/schedlock.exp: Adjust expected output.
10724 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10725 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10726 expected output.
10727 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10728 output.
10729 * gdb.threads/sigthread.exp: Adjust expected output.
10730 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10731
10732 2016-01-18 Yao Qi <yao.qi@linaro.org>
10733
10734 * gdb.guile/scm-section-script.c: Replace @progbits with
10735 %progbits.
10736 * gdb.python/py-section-script.c: Likewise.
10737
10738 2016-01-15 Pedro Alves <palves@redhat.com>
10739
10740 * gdb.multi/tids.exp: Test star wildcard ranges.
10741
10742 2016-01-15 Pedro Alves <palves@redhat.com>
10743
10744 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10745 command from "thread apply" invocation.
10746 (thr_apply_info_thr_invalid): Default the expected output to the
10747 input tid list.
10748 (top level): Add tests that use convenience variables. Add tests
10749 for "thread apply" with a valid TID list, but missing the command.
10750
10751 2016-01-13 Pedro Alves <palves@redhat.com>
10752
10753 * gdb.base/default.exp: Expect $_gthread as well.
10754 * gdb.multi/tids.exp: Test $_gthread.
10755 * gdb.threads/thread-specific.exp: Test $_gthread.
10756
10757 2016-01-13 Pedro Alves <palves@redhat.com>
10758
10759 * gdb.multi/tids.exp: Test "info threads -gid".
10760
10761 2016-01-13 Pedro Alves <palves@redhat.com>
10762
10763 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10764 Breakpoint.thread.
10765 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10766
10767 2016-01-07 Pedro Alves <palves@redhat.com>
10768
10769 * gdb.base/break.exp: Adjust to output changes.
10770 * gdb.base/hbreak2.exp: Likewise.
10771 * gdb.base/sepdebug.exp: Likewise.
10772 * gdb.base/watch_thread_num.exp: Likewise.
10773 * gdb.linespec/keywords.exp: Likewise.
10774 * gdb.multi/info-threads.exp: Likewise.
10775 * gdb.threads/thread-find.exp: Likewise.
10776 * gdb.multi/tids.c: New file.
10777 * gdb.multi/tids.exp: New file.
10778
10779 2016-01-13 Pedro Alves <palves@redhat.com>
10780
10781 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10782
10783 2016-01-13 Pedro Alves <palves@redhat.com>
10784
10785 * gdb.base/default.exp: Expect $_inferior as well.
10786 * gdb.multi/base.exp: Test $_inferior.
10787
10788 2016-01-13 Pedro Alves <palves@redhat.com>
10789
10790 PR breakpoints/19388
10791 * gdb.base/catch-signal-siginfo-cond.c: New file.
10792 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10793
10794 2016-01-12 Josh Stone <jistone@redhat.com>
10795 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10796
10797 * gdb.base/catch-syscall.c (do_execve): New variable.
10798 (main): Conditionally trigger an execve.
10799 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10800 (test_catch_syscall_execve): New, check entry/return across execve.
10801 (do_syscall_tests): Call test_catch_syscall_execve.
10802
10803 2016-01-12 Pedro Alves <palves@redhat.com>
10804
10805 * gdb.base/random-signal.exp (do_test): New procedure, with body
10806 of testcase moved in.
10807
10808 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10809 Pedro Alves <palves@redhat.com>
10810
10811 * gdb.base/funcargs.exp (finish from indirectly called function):
10812 Reintroduce the case for 'First'.
10813
10814 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10815 Pedro Alves <palves@redhat.com>
10816
10817 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10818 (tcatch_vfork_then_child_follow_exec)
10819 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10820 identification.
10821
10822 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10823
10824 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10825 and repeats to unlimited.
10826 * gdb.python/py-value.exp: Likewise.
10827 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10828 and repeats to unlimited.
10829
10830 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10831
10832 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10833 and reordering the functions.
10834 * gdb.multi/hangout.c: Likewise.
10835 * gdb.multi/hello.c: Likewise.
10836
10837 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10838
10839 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10840 absolute.
10841 (SingleStatisticTestResult.report): Use dict.keys instead of
10842 dict.iterkeys.
10843
10844 2016-01-06 Pedro Alves <palves@redhat.com>
10845
10846 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10847
10848 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10849
10850 * gdb.btrace/dlopen.exp: New.
10851 * gdb.btrace/dlopen.c: New.
10852 * gdb.btrace/dlopen-dso.c: New.
10853
10854 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10855
10856 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10857 PATTERN argument is optional.
10858
10859 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10860
10861 * lib/ada.exp (target_compile_ada_from_dir): New function.
10862 (gdb_compile_ada): Reimplement avoiding the use of project files.
10863 * gdb.ada/gnat_ada.gpr: Delete.
10864 * gdb.ada/cond_lang.exp: Adjust test to make path before
10865 filename optional.
10866 * gdb.ada/small_reg_param.exp: Likewise.
10867
10868 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10869
10870 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10871
10872 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10873
10874 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10875 case.
10876
10877 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10878
10879 * gdb.base/break.exp: Remove dead code.
10880 * gdb.base/sepdebug.exp: Likewise.
10881
10882 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10883
10884 * gdb.asm/asm-source.exp: Remove HP-UX references.
10885 * gdb.base/annota1.exp: Likewise.
10886 * gdb.base/annota3.exp: Likewise.
10887 * gdb.base/attach.exp: Likewise.
10888 * gdb.base/bigcore.exp: Likewise.
10889 * gdb.base/break.exp: Likewise.
10890 * gdb.base/call-ar-st.exp: Likewise.
10891 * gdb.base/callfuncs.exp: Likewise.
10892 * gdb.base/catch-fork-static.exp: Likewise.
10893 * gdb.base/display.exp: Likewise.
10894 * gdb.base/foll-exec-mode.exp: Likewise.
10895 * gdb.base/foll-exec.exp: Likewise.
10896 * gdb.base/foll-fork.exp: Likewise.
10897 * gdb.base/foll-vfork.exp: Likewise.
10898 * gdb.base/funcargs.exp: Likewise.
10899 * gdb.base/hbreak2.exp: Likewise.
10900 * gdb.base/inferior-died.exp: Likewise.
10901 * gdb.base/interrupt.exp: Likewise.
10902 * gdb.base/multi-forks.exp: Likewise.
10903 * gdb.base/nodebug.exp: Likewise.
10904 * gdb.base/sepdebug.exp: Likewise.
10905 * gdb.base/solib1.c: Likewise.
10906 * gdb.base/step-test.exp: Likewise.
10907 * gdb.mi/non-stop.c: Likewise.
10908 * gdb.mi/pthreads.c: Likewise.
10909 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10910 * gdb.threads/pthreads.c: Likewise.
10911 * gdb.threads/staticthreads.exp: Likewise.
10912 * lib/future.exp: Likewise.
10913 * lib/gdb.exp: Likewise.
10914 * gdb.base/so-indr-cl.c: Remove.
10915 * gdb.base/so-indr-cl.exp: Likewise.
10916 * gdb.base/solib.c: Likewise.
10917 * gdb.base/solib.exp: Likewise.
10918 * gdb.base/solib2.c: Likewise.
10919
10920 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10921
10922 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10923 * gdb.base/call-ar-st.exp: Likewise.
10924 * gdb.base/callfuncs.exp: Likewise.
10925 * gdb.base/condbreak.exp: Likewise.
10926 * gdb.base/constvars.exp: Likewise.
10927 * gdb.base/hbreak2.exp: Likewise.
10928 * gdb.base/langs.exp: Likewise.
10929 * gdb.base/list.exp: Likewise.
10930 * gdb.base/long_long.exp: Likewise.
10931 * gdb.base/ptype.exp: Likewise.
10932 * gdb.base/scope.exp: Likewise.
10933 * gdb.base/signals.exp: Likewise.
10934 * gdb.base/so-impl-ld.exp: Likewise.
10935 * gdb.base/varargs.exp: Likewise.
10936 * gdb.base/volatile.exp: Likewise.
10937 * gdb.base/whatis.exp: Likewise.
10938 * gdb.cp/cplusfuncs.exp: Likewise.
10939 * gdb.cp/inherit.exp: Likewise.
10940 * gdb.cp/local.exp: Likewise.
10941 * gdb.cp/member-ptr.exp: Likewise.
10942 * gdb.cp/method.exp: Likewise.
10943 * gdb.cp/overload.exp: Likewise.
10944 * gdb.cp/templates.exp: Likewise.
10945 * gdb.stabs/weird.exp: Likewise.
10946 * lib/compiler.c: Likewise.
10947 * lib/compiler.cc: Likewise.
10948 * lib/cp-support.exp: Likewise.
10949 * lib/gdb.exp: Likewise.
10950
10951 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10952
10953 * configure.ac: Remove HP-UX case.
10954 * configure: Regenerate.
10955
10956 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10957
10958 * lib/gdb.exp (gdb_compile): Add function doc.
10959
10960 2015-12-17 Pedro Alves <palves@redhat.com>
10961
10962 PR threads/19354
10963 * gdb.multi/info-threads.exp: New file.
10964
10965 2015-12-15 Yao Qi <yao.qi@linaro.org>
10966
10967 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10968 is aarch64*-*-*.
10969
10970 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10971
10972 * gdb.base/history-duplicates.exp: Skip if no readline support.
10973
10974 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10975
10976 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10977
10978 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10979
10980 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10981
10982 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10983
10984 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10985 ctrl-C if nointerrupts target property is set.
10986 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10987 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10988 * gdb.base/paginate-bg-execution.exp: Likewise.
10989 * gdb.base/paginate-execution-startup.exp: Likewise.
10990 * gdb.base/random-signal.exp: Likewise.
10991 * gdb.base/range-stepping.exp: Likewise.
10992 * gdb.cp/annota2.exp: Likewise.
10993 * gdb.cp/annota3.exp: Likewise.
10994 * gdb.gdb/selftest.exp: Likewise.
10995 * gdb.threads/continue-pending-status.exp: Likewise.
10996 * gdb.threads/leader-exit.exp: Likewise.
10997 * gdb.threads/manythreads.exp: Likewise.
10998 * gdb.threads/pthreads.exp: Likewise.
10999 * gdb.threads/schedlock.exp: Likewise.
11000 * gdb.threads/sigthread.exp: Likewise.
11001
11002 2015-12-11 Don Breazeal <donb@codesourcery.com>
11003
11004 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11005 remote.
11006 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11007 * gdb.base/foll-exec.exp (main): Enable for target remote.
11008 * gdb.base/foll-fork.exp (main): Likewise.
11009 * gdb.base/foll-vfork.exp (main): Likewise.
11010 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11011 (proc continue_to_exit_bp_loc): Use clean_restart.
11012 * gdb.base/pie-execl.exp (main): Disable for target remote.
11013 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11014 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11015 * gdb.threads/execl.exp (main): Likewise.
11016 * gdb.threads/fork-child-threads.exp (main): Likewise.
11017 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11018 remote.
11019 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11020 remote.
11021 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11022 pid.tid style ptids, instead of just tid.
11023 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11024 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11025 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11026 ptids, instead of just tid.
11027
11028 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11029
11030 * gdb.base/list.exp (test_list_forward): Add end of file error
11031 test.
11032 (test_repeat_list_command): Add end of file error test.
11033 (test_list_backwards): Add beginning of file error test.
11034
11035 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11036
11037 * gdb.base/list.exp (test_list_invalid_args): New function,
11038 defined, and called.
11039
11040 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11041
11042 * gdb.base/list.exp (test_list): Make test names unique.
11043
11044 2015-12-11 Yao Qi <yao.qi@linaro.org>
11045
11046 * gdb.base/coremaker2.c: Remove.
11047
11048 2015-12-10 Pedro Alves <palves@redhat.com>
11049
11050 * gdb.multi/base.exp: Remove stale "spaces" references.
11051
11052 2015-12-10 Pedro Alves <palves@redhat.com>
11053
11054 * gdb.multi/base.exp: Don't use nowarnings.
11055 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11056 * gdb.multi/hangout.c: Include stdio.h.
11057 * gdb.multi/hello.c: Include stdlib.h.
11058 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11059 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11060 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11061
11062 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11063
11064 * gdb.dwarf2/dw2-ranges-base.c: New file.
11065 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11066 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11067 support additional line table, and debug ranges generation.
11068 (Dwarf::ranges): New function, generate .debug_ranges.
11069 (Dwarf::lines): Support generating simple line table programs.
11070 (Dwarf::assemble): Initialise new namespace variables.
11071
11072 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11073
11074 * gdb.base/async.exp (proc test_background): Add case for
11075 asynchronous execution not supported.
11076
11077 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11078
11079 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11080 format and change test names to make them unique.
11081
11082 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11083 Pedro Alves <pedro@redhat.com>
11084
11085 PR gdb/18702
11086 Add checking of floatformats setup on x86_64 hosts.
11087 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11088 (smallval, bigval): New labels/constants.
11089 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11090 float" after loading bigval and smallval.
11091
11092 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11093
11094 * gdb.ada/fun_overload_menu.exp: New testcase.
11095 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11096
11097 2015-12-04 Josh Stone <jistone@redhat.com>
11098
11099 * gdb.base/catch-fork-static.exp: New.
11100
11101 2015-12-03 Yao Qi <yao.qi@linaro.org>
11102
11103 * gdb.base/sizeof.c: Don't include stdio.h and
11104 ../lib/unbuffer_output.c.
11105 (main): New variable 'size' and 'value'. Remove printf and
11106 gdb_unbuffer_output. Assign return value to size and value.
11107 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11108 at the beginning.
11109 (check_sizeof): Check the result by printing variable 'size'.
11110 (check_valueof): Check the result by printing variable 'value'.
11111
11112 2015-12-01 Yao Qi <yao.qi@linaro.org>
11113
11114 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11115 for aarch64*-*-linux* target.
11116
11117 2015-11-30 Pedro Alves <palves@redhat.com>
11118
11119 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11120
11121 2015-11-30 Pedro Alves <palves@redhat.com>
11122
11123 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11124 Handle non-stop mode vCont replies.
11125
11126 2015-11-30 Pedro Alves <palves@redhat.com>
11127
11128 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11129 prepare_for_testing. Start gdb with "set non-stop on" appended to
11130 GDBFLAGS. Lax expected stop output.
11131
11132 2015-11-27 Yao Qi <yao.qi@linaro.org>
11133
11134 * gdb.arch/arm-neon.exp: New.
11135 * gdb.arch/arm-neon.c: New.
11136
11137 2015-11-27 Yao Qi <yao.qi@linaro.org>
11138
11139 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11140
11141 2015-11-27 Yao Qi <yao.qi@linaro.org>
11142
11143 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11144 frames-invalid annotation.
11145
11146 2015-11-27 Yao Qi <yao.qi@linaro.org>
11147
11148 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11149
11150 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11151
11152 * gdb.threads/names.exp: New file.
11153 * gdb.threads/names.c: New file.
11154 * README: Mention gdb,no_thread_names.
11155
11156 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11157
11158 PR 19297
11159 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11160 support" error.
11161
11162 2015-11-24 Pedro Alves <palves@redhat.com>
11163
11164 PR 17539
11165 * gdb.base/display.exp: Expect displays to be sorted in ascending
11166 order. Use multi_line.
11167 * gdb.base/solib-display.exp: Likewise.
11168
11169 2015-11-24 Pedro Alves <palves@redhat.com>
11170
11171 PR 17539
11172 * gdb.base/display.exp: Expect displays to be sorted in ascending
11173 order. Use multi_line.
11174 * gdb.base/solib-display.exp: Likewise.
11175
11176 2015-11-24 Pedro Alves <palves@redhat.com>
11177
11178 PR 17539
11179 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11180 threads in ascending order.
11181 * gdb.base/foll-fork.exp: Likewise.
11182 * gdb.base/foll-vfork.exp: Likewise.
11183 * gdb.base/multi-forks.exp: Likewise.
11184 * gdb.mi/mi-nonstop.exp: Likewise.
11185 * gdb.mi/mi-nsintrall.exp: Likewise.
11186 * gdb.multi/base.exp: Likewise.
11187 * gdb.multi/multi-arch.exp: Likewise.
11188 * gdb.python/py-inferior.exp: Likewise.
11189 * gdb.threads/break-while-running.exp: Likewise.
11190 * gdb.threads/execl.exp: Likewise.
11191 * gdb.threads/gcore-thread.exp: Likewise.
11192 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11193 * gdb.threads/kill.exp: Likewise.
11194 * gdb.threads/linux-dp.exp: Likewise.
11195 * gdb.threads/multiple-step-overs.exp: Likewise.
11196 * gdb.threads/next-bp-other-thread.exp: Likewise.
11197 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11198 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11199 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11200 * gdb.threads/thread-find.exp: Likewise.
11201 * gdb.threads/tls.exp: Likewise.
11202 * lib/mi-support.exp (mi_reverse_list): Delete.
11203 (mi_check_thread_states): No longer reverse list.
11204
11205 2015-11-24 Pedro Alves <palves@redhat.com>
11206
11207 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11208 use lowercase.
11209
11210 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11211
11212 * gdb.trace/actions.c: Include trace-common.h.
11213 (main): Add a location for a fast tracepoint.
11214 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11215 the normal tracepoints.
11216 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11217
11218 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11219
11220 * save-trace.exp: Factor out code to these...
11221 (gdb_save_tracepoints): New.
11222 (gdb_load_tracepoints): New.
11223 (do_save_load_test): New.
11224
11225 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11226
11227 * gdb.base/asmlabel.exp: New test.
11228 * gdb.base/asmlabel.c: New test case.
11229
11230 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11231
11232 * gdb.base/wrong_frame_bt_full-main.c: New file.
11233 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11234 * gdb.base/wrong_frame_bt_full.exp: New file.
11235
11236 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11237
11238 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11239
11240 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11241
11242 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11243 pstate register when comparing registers values in
11244 sparc64-*-linux-gnu targets to avoid spurious differences.
11245
11246 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11247
11248 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11249
11250 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11251
11252 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11253 as type argument to gdb_compile.
11254 * gdb.base/nested-subp2.exp: Likewise.
11255 * gdb.base/nested-subp3.exp: Likewise.
11256
11257 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11258
11259 * lib/dwarf.exp (_note): Fix left shift of negative value.
11260 * gdb.trace/trace-condition.exp: Likewise.
11261
11262 2015-11-13 Yao Qi <yao.qi@linaro.org>
11263
11264 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11265 comments about d10v.
11266 (test_scalar_returns): Likewise.
11267 * gdb.base/d10v.ld: Remove.
11268 * gdb.base/overlays.exp: Remove the target triplet checking for
11269 d10v-*-*.
11270 * gdb.base/structs.exp (test_struct_returns): Remove the
11271 comments about d10v.
11272 (test_struct_calls): Likewise.
11273
11274 2015-11-13 Yao Qi <yao.qi@linaro.org>
11275
11276 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11277 * gdb.base/gnu_vector.c: Don't include stdio.h.
11278 (main): Don't print res and call add_some_intvecs.
11279
11280 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11281
11282 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11283 macro.
11284 (func5): Removed.
11285 (func4): Use FAST_TRACEPOINT_LABEL.
11286 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11287 macro.
11288 (func): Removed.
11289 (thread_function): Use FAST_TRACEPOINT_LABEL.
11290 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11291 (func): Remove.
11292 (marker): Use FAST_TRACEPOINT_LABEL.
11293 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11294 (pendfunc1): Remove.
11295 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11296 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11297 (foo): Remove.
11298 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11299 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11300 macro.
11301 (func): Remove.
11302 (marker): Use FAST_TRACEPOINT_LABEL.
11303 * gdb.trace/trace-common.h: New header.
11304 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11305 macro.
11306 (func): Remove.
11307 (marker): Use FAST_TRACEPOINT_LABEL.
11308 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11309 (func): Remove.
11310 (thread_function): Use FAST_TRACEPOINT_LABEL.
11311
11312 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11313
11314 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11315 in front.
11316 * gdb.trace/change-loc.exp: Use global pcreg definition.
11317 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11318 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11319 in front.
11320 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11321 * gdb.trace/pending.exp: Likewise.
11322 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11323 * gdb.trace/trace-break.exp: Likewise.
11324 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11325 in front.
11326 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11327 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11328 in front.
11329 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11330
11331 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11332
11333 * gdb.ada/fin_fun_out: New testcase.
11334
11335 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11336
11337 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11338 value associated with DW_AT_byte_size.
11339 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11340 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11341 DW_AT_upper_bound.
11342
11343 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11344
11345 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11346 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11347 version.
11348 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11349 gdb.dwarf2/dw2-canonicalize-type.exp,
11350 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11351 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11352 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11353 provided by gdb_target_symbol_prefix_flags_asm.
11354 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11355 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11356 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11357 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11358 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11359 macros where needed). Use this macro for symbols which require
11360 the prefix provided by SYMBOL_PREFIX.
11361
11362 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11363
11364 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11365 New procs.
11366 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11367 representing expressions, of more than one list element.
11368 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11369 to prepend linker symbol prefix to f.
11370 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11371 table_1 and table_2.
11372 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11373 Likewise, for f and g.
11374 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11375 for ptr.
11376 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11377 for main.
11378 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11379 table_1_ptr and table_2_ptr.
11380
11381 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11382 Joel Brobecker <brobecker@adacore.com>
11383
11384 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11385
11386 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11387
11388 * gdb.reverse/s390-mvcle.c: New test.
11389 * gdb.reverse/s390-mvcle.exp: New file.
11390 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11391
11392 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11393
11394 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11395
11396 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11397
11398 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11399 reaching marker2.
11400 * gdb.reverse/getresuid-reverse.exp: Likewise.
11401 * gdb.reverse/pipe-reverse.exp: Likewise.
11402 * gdb.reverse/readv-reverse.exp: Likewise.
11403 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11404 * gdb.reverse/time-reverse.exp: Likewise.
11405 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11406
11407 2015-10-30 Yao Qi <yao.qi@linaro.org>
11408
11409 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11410 (empty_cycle): Remove.
11411 (main): Don't call empty_cycle. Don't use watch_count_done.
11412 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11413 empty_cycle. Rewrite the code counting HW watchpoints.
11414
11415 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11416
11417 * gdb.reverse/fstatat-reverse.c: New test.
11418 * gdb.reverse/fstatat-reverse.exp: New file.
11419 * gdb.reverse/getresuid-reverse.c: New test.
11420 * gdb.reverse/getresuid-reverse.exp: New file.
11421 * gdb.reverse/pipe-reverse.c: New test.
11422 * gdb.reverse/pipe-reverse.exp: New file.
11423 * gdb.reverse/readv-reverse.c: New test.
11424 * gdb.reverse/readv-reverse.exp: New file.
11425 * gdb.reverse/recvmsg-reverse.c: New test.
11426 * gdb.reverse/recvmsg-reverse.exp: New file.
11427 * gdb.reverse/time-reverse.c: New test.
11428 * gdb.reverse/time-reverse.exp: New file.
11429 * gdb.reverse/waitpid-reverse.c: New test.
11430 * gdb.reverse/waitpid-reverse.exp: New file.
11431
11432 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11433
11434 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11435
11436 2015-10-26 Doug Evans <dje@google.com>
11437
11438 PR symtab/17391
11439 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11440 * gdb.dwarf2/bad-regnum.c: New file.
11441 * gdb.dwarf2/bad-regnum.exp: New file.
11442
11443 2015-10-26 Doug Evans <dje@google.com>
11444
11445 PR python/18938
11446 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11447 file.
11448
11449 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11450
11451 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11452 for a change by "Mention language in compile error message".
11453
11454 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11455
11456 PR python/18073
11457 * gdb.python/py-type.c (C::a_method): New.
11458 (C::a_const_method): New.
11459 (C::a_static_method): New.
11460 (a_function): New.
11461 * gdb.python/py-type.exp (test_fields): Test getting fields
11462 from function and method.
11463
11464 2015-10-21 Keven Boell <keven.boell@intel.com>
11465
11466 * gdb.fortran/vla-alloc-assoc.exp: New file.
11467 * gdb.fortran/vla-datatypes.exp: New file.
11468 * gdb.fortran/vla-datatypes.f90: New file.
11469 * gdb.fortran/vla-history.exp: New file.
11470 * gdb.fortran/vla-ptype-sub.exp: New file.
11471 * gdb.fortran/vla-ptype.exp: New file.
11472 * gdb.fortran/vla-sizeof.exp: New file.
11473 * gdb.fortran/vla-sub.f90: New file.
11474 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11475 * gdb.fortran/vla-value-sub-finish.exp: New file.
11476 * gdb.fortran/vla-value-sub.exp: New file.
11477 * gdb.fortran/vla-value.exp: New file.
11478 * gdb.fortran/vla-ptr-info.exp: New file.
11479 * gdb.mi/mi-vla-fortran.exp: New file.
11480 * gdb.mi/vla.f90: New file.
11481
11482 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11483
11484 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11485 of hardwired timeout value.
11486
11487 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11488 Pedro Alves <palves@redhat.com>
11489
11490 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11491 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11492
11493 2015-10-19 Josh Stone <jistone@redhat.com>
11494
11495 * gdb.base/catch-syscall.c: Include <sched.h>.
11496 (unknown_syscall): New variable.
11497 (main): Trigger a vfork and an unknown syscall.
11498 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11499 (unknown_syscall_number): Likewise.
11500 (check_call_to_syscall): Accept an optional syscall pattern.
11501 (check_return_from_syscall): Likewise.
11502 (check_continue): Likewise.
11503 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11504 (test_catch_syscall_skipping_return): New test toggling off 'catch
11505 syscall' to step over the syscall return, then toggling back on.
11506 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11507 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11508 (do_syscall_tests): Call test_catch_syscall_without_args and
11509 test_catch_syscall_mid_vfork.
11510 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11511 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11512
11513 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11514
11515 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11516 print g_vE): Add new pass patterns.
11517 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11518 print various symbol names for vptr fields.
11519
11520 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11521
11522 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11523 results.
11524
11525 2015-10-12 Yao Qi <yao.qi@linaro.org>
11526
11527 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11528
11529 2015-10-12 Yao Qi <yao.qi@linaro.org>
11530
11531 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11532 is aarch64*-*-linux*.
11533
11534 2015-10-12 Yao Qi <yao.qi@linaro.org>
11535
11536 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11537 (can_relocate_bcond_true): ... it.
11538 (can_relocate_bcond_false): New function.
11539 (foo): Likewise.
11540 (can_relocate_bl): Likewise.
11541 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11542 can_relocate_bl.
11543
11544 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11545
11546 * gdb.base/nested-addr.c: New file.
11547 * gdb.base/nested-addr.exp: New testcase.
11548
11549 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11550
11551 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11552 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11553 its output. Ignore the output of "record goto begin" and instead
11554 check that GDB is replaying.
11555
11556 2015-10-09 Pedro Alves <palves@redhat.com>
11557
11558 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11559 (top level): Use it in the run with no args test.
11560
11561 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11562
11563 * gdb.dlang/properties.exp: New file.
11564
11565 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11566
11567 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11568 whether or not address 0x1000 is mapped on the target.
11569
11570 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11571
11572 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11573 build.
11574
11575 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11576
11577 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11578 instruction-history test.
11579
11580 2015-09-28 Doug Evans <dje@google.com>
11581
11582 * gdb.base/gcore.c (array_func): Add reference to static_array.
11583
11584 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11585
11586 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11587 source line.
11588
11589 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11590
11591 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11592 short or char as base type.
11593
11594 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11595
11596 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11597 to allow any size enum.
11598
11599 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11600
11601 * gdb.ada/array_ptr_renaming.exp: New testcase.
11602 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11603 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11604
11605 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11606
11607 * gdb.trace/ftrace-lock.c: New file.
11608 * gdb.trace/ftrace-lock.exp: New file.
11609
11610 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11611
11612 * gdb.arch/insn-reloc.c: New file.
11613 * gdb.arch/ftrace-insn-reloc.exp: New file.
11614
11615 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11616
11617 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11618 instruction.
11619 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11620 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11621 * gdb.trace/range-stepping.c: Likewise.
11622 * gdb.trace/trace-break.c: Likewise.
11623 * gdb.trace/trace-mt.c (thread_function): Likewise.
11624 * gdb.trace/ftrace.c (marker): Likewise.
11625 * gdb.trace/trace-condition.c (marker): Likewise.
11626 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11627 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11628 is_aarch64_target.
11629
11630 2015-09-18 Doug Evans <xdje42@gmail.com>
11631
11632 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11633 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11634
11635 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11636
11637 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11638 the breakpoint.
11639
11640 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11641
11642 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11643 the pending breakpoint. Remove timeout override for "Run till
11644 MI pending breakpoint on pendfunc3 on thread 2" test.
11645
11646 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11647
11648 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11649 filename pattern.
11650
11651 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11652
11653 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11654 in breakpoint filename pattern.
11655
11656 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11657
11658 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11659
11660 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11661
11662 * gdb.linespec/explicit.exp: Check for readline support for
11663 tab-completion tests. Fix obvious typo.
11664
11665 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11666
11667 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11668 and replay.
11669
11670 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11671
11672 * gdb.btrace/non-stop.c: New.
11673 * gdb.btrace/non-stop.exp: New.
11674
11675 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11676 Yao Qi <yao.qi@linaro.org>
11677
11678 * gdb.trace/trace-condition.c: New file.
11679 * gdb.trace/trace-condition.exp: New file.
11680
11681 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11682
11683 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11684 for testing bytecode compilation.
11685
11686 2015-09-16 Pedro Alves <palves@redhat.com>
11687 Sandra Loosemore <sandra@codesourcery.com>
11688
11689 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11690 (SECONDS): Redefine.
11691 (main): Call pthread_kill and alarm early.
11692 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11693 support.
11694 (test): If the target can't hardware step and doesn't support
11695 displaced stepping, increase the timeout.
11696
11697 2015-09-16 Pedro Alves <palves@redhat.com>
11698
11699 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11700 (enable_debug): New procedures.
11701 (test): Use them. Bail out if waiting for threads fails.
11702 (top level): Bail out if a test fails.
11703
11704 2015-09-16 Yao Qi <yao.qi@linaro.org>
11705
11706 * gdb.asm/asm-source.exp: Set asm-arch for
11707 aarch64*-*-* target.
11708 * gdb.asm/aarch64.inc: New file.
11709
11710 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11711
11712 * gdb.ada/array_of_variable_length.exp: New testcase.
11713 * gdb.ada/array_of_variable_length/foo.adb: New file.
11714 * gdb.ada/array_of_variable_length/pck.adb: New file.
11715 * gdb.ada/array_of_variable_length/pck.ads: New file.
11716
11717 2015-09-15 Doug Evans <dje@google.com>
11718
11719 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11720 of function static local variable.
11721
11722 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11723
11724 * gdb.threads/tls-so_extern.exp: New test file.
11725 * gdb.threads/tls-so_extern.c: New test file.
11726 * gdb.threads/tls-so_extern_main.c: New test file.
11727
11728 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11729
11730 * gdb.opt/solib-intra-step-lib.c: New file.
11731 * gdb.opt/solib-intra-step-main.c: New file.
11732 * gdb.opt/solib-intra-step.exp: New file.
11733
11734 2015-09-15 Pedro Alves <palves@redhat.com>
11735
11736 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11737 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11738
11739 2015-09-14 Pedro Alves <palves@redhat.com>
11740
11741 * gdb.base/hook-stop-continue.c: Delete.
11742 * gdb.base/hook-stop-continue.exp: Delete.
11743 * gdb.base/hook-stop-frame.c: Delete.
11744 * gdb.base/hook-stop-frame.exp: Delete.
11745 * gdb.base/hook-stop.c: New file.
11746 * gdb.base/hook-stop.exp: New file.
11747
11748 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11749
11750 * gdb.ada/access_to_packed_array.exp: New testcase.
11751 * gdb.ada/access_to_packed_array/foo.adb: New file.
11752 * gdb.ada/access_to_packed_array/pack.adb: New file.
11753 * gdb.ada/access_to_packed_array/pack.ads: New file.
11754
11755 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11756
11757 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11758 buffer size test.
11759
11760 2015-09-11 Don Breazeal <donb@codesourcery.com>
11761
11762 * gdb.base/foll-exec.c: Add copyright header. Fix
11763 formatting issues.
11764 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11765 (do_exec_tests): Use clean_restart in place of zap_session,
11766 and for test initialization. Fix formatting issues. Use
11767 fail in place of perror.
11768 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11769 an expect statement to match an expression with output from
11770 the program under debug.
11771 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11772 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11773 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11774 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11775 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11776
11777 2015-09-09 Doug Evans <dje@google.com>
11778
11779 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11780
11781 2015-09-09 Doug Evans <dje@google.com>
11782
11783 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11784
11785 2015-09-09 Doug Evans <dje@google.com>
11786
11787 * gdb.base/savedregs.exp: Fix typo.
11788
11789 2015-09-09 Pedro Alves <palves@redhat.com>
11790
11791 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11792
11793 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11794
11795 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11796 command actually switches threads. Give up on remaining
11797 tests if target fails to stop at breakpoint.
11798
11799 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11800
11801 * gdb.ada/funcall_char.exp: New testcase.
11802 * gdb.ada/funcall_char/foo.adb: New file.
11803
11804 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11805
11806 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11807 expected outputs. Add two testcases for completing ambiguous
11808 functions.
11809 * gdb.ada/complete/aux_pck.adb: New file.
11810 * gdb.ada/complete/aux_pck.ads: New file.
11811 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11812 Ambiguous_Func functions.
11813 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11814 * gdb.ada/complete/pck.adb: Likewise.
11815
11816 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11817
11818 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11819 failures to run the test program under GDB.
11820
11821 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11822
11823 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11824 to C.
11825
11826 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11827
11828 * gdb.base/run-after-attach.exp: New test file.
11829 * gdb.base/run-after-attach.c: New test file.
11830
11831 2015-08-26 Don Breazeal <donb@codesourcery.com>
11832
11833 * gdb.base/foll-exec-2.c: New test program.
11834 * gdb.base/foll-exec-2.exp: New test.
11835
11836 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11837
11838 * gdb.base/nested-subp1.exp: New file.
11839 * gdb.base/nested-subp1.c: New file.
11840 * gdb.base/nested-subp2.exp: New file.
11841 * gdb.base/nested-subp2.c: New file.
11842 * gdb.base/nested-subp3.exp: New file.
11843 * gdb.base/nested-subp3.c: New file.
11844
11845 2015-08-24 Pedro Alves <palves@redhat.com>
11846
11847 * gdb.server/connect-without-multi-process.c: New file.
11848 * gdb.server/connect-without-multi-process.exp: New file.
11849
11850 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11851
11852 * gdb.opt/inline-markers.c: Make z int.
11853
11854 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11855
11856 * gdb.opt/inline-markers.c: Make z volatile.
11857
11858 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11859
11860 * gdb.opt/inline-bt.c: New volatile global z.
11861 * gdb.opt/inline-cmds.c: Likewise.
11862 * gdb.opt/inline-locals.c: Likewise.
11863 * gdb.opt/inline-markers.c: New extern global z.
11864 (marker): Use z.
11865 (inline_fn): Likewise.
11866
11867 2015-08-24 Pedro Alves <palves@redhat.com>
11868
11869 * config/m32r-stub.exp: Remove file.
11870 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11871 * gdb.base/call-rt-st.exp: Likewise.
11872 * gdb.base/call-strs.exp: Likewise.
11873 * gdb.base/default.exp: Remove references to h8300-*-hms and
11874 *-*-udi*.
11875 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11876
11877 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11878
11879 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11880 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11881 and "return" use KFAIL when GDB can not read/write the vector
11882 return value.
11883
11884 2015-08-21 Gary Benson <gbenson@redhat.com>
11885
11886 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11887
11888 2015-08-20 Pedro Alves <palves@redhat.com>
11889
11890 * gdb.server/solib-list.exp: No longer expect an interior stop in
11891 non-stop mode.
11892
11893 2015-08-20 Pedro Alves <palves@redhat.com>
11894
11895 * gdb.server/connect-stopped-target.c: New file.
11896 * gdb.server/connect-stopped-target.exp: New file.
11897
11898 2015-08-20 Pedro Alves <palves@redhat.com>
11899
11900 * gdb.dwarf2/comp-unit-lang.exp: New file.
11901 * gdb.dwarf2/comp-unit-lang.c: New file.
11902
11903 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11904
11905 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11906 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11907
11908 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11909
11910 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11911 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11912
11913 2015-08-18 Doug Evans <dje@google.com>
11914 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11915
11916 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11917 skip_python_tests. New arg prompt_regexp.
11918 (skip_python_tests): New function.
11919 * lib/mi-support.exp (mi_skip_python_tests): New function.
11920 * gdb.python/py-mi-objfile-gdb.py: New file.
11921 * gdb.python/py-mi-objfile.c: New file.
11922 * gdb.python/py-mi-objfile.exp: New file.
11923
11924 2015-08-17 Keith Seitz <keiths@redhat.com>
11925
11926 * gdb.linespec/explicit.exp: Move strace test from here ...
11927 * gdb.trace/strace.exp: ... to here.
11928
11929 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11930
11931 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11932 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11933
11934 2015-08-14 Doug Evans <xdje42@gmail.com>
11935
11936 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11937 inferior before selecting a new file.
11938
11939 2015-08-14 Doug Evans <xdje42@gmail.com>
11940
11941 * gdb.mi/mi-disassemble.exp: Update.
11942 * gdb.base/disasm-optim.S: New file.
11943 * gdb.base/disasm-optim.c: New file.
11944 * gdb.base/disasm-optim.h: New file.
11945 * gdb.base/disasm-optim.exp: New file.
11946
11947 2015-08-14 Keith Seitz <keiths@redhat.com>
11948
11949 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11950 "evaluated-by".
11951
11952 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11953
11954 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11955
11956 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11957
11958 * gdb.ada/fun_renaming.exp: New testcase.
11959 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11960 * gdb.ada/fun_renaming/pack.adb: New file.
11961 * gdb.ada/fun_renaming/pack.ads: New file.
11962
11963 2015-08-12 Keith Seitz <keiths@redhat.com>
11964
11965 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11966 gdb_get_line_number.
11967
11968 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11969
11970 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11971 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11972 gdb.base/dso2dso.exp: New files.
11973
11974 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11975 Pedro Alves <palves@redhat.com>
11976 Keith Seitz <keiths@redhat.com>
11977
11978 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11979 GDBFLAGS.
11980
11981 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11982
11983 * gdb.base/gdbhistsize-history.exp
11984 (test_histsize_history_setting): Use save_vars.
11985 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11986 Use save_vars.
11987 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11988 * gdb.base/readline.exp: Use save_vars.
11989
11990 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11991
11992 * lib/gdb.exp (save_vars): New proc.
11993
11994 2015-08-11 Keith Seitz <keiths@redhat.com>
11995
11996 * gdb.base/help.exp: Update help_breakpoint_text.
11997
11998 2015-08-11 Keith Seitz <keiths@redhat.com>
11999
12000 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12001 (at toplevel): Call test_explicit_breakpoints.
12002 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12003 breakpoints.
12004 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12005 breakpoint conditions, "-cond".
12006
12007 2015-08-11 Keith Seitz <keiths@redhat.com>
12008
12009 * gdb.linespec/3explicit.c: New file.
12010 * gdb.linespec/cpexplicit.cc: New file.
12011 * gdb.linespec/cpexplicit.exp: New file.
12012 * gdb.linespec/explicit.c: New file.
12013 * gdb.linespec/explicit.exp: New file.
12014 * gdb.linespec/explicit2.c: New file.
12015 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12016 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12017 before using in the matching pattern.
12018 Clarify that `prefix' is a regular expression.
12019
12020 2015-08-11 Keith Seitz <keiths@redhat.com>
12021
12022 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12023 test.
12024 Add tests for missing ",FMT" and ",".
12025
12026 2015-08-10 Doug Evans <dje@google.com>
12027 Keith Seitz <keiths@redhat.com>
12028
12029 PR gdb/17960
12030 * gdb.base/completion.exp: Add location completer tests.
12031
12032 2015-08-07 Pedro Alves <palves@redhat.com>
12033
12034 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12035 tests here.
12036 (top level): Run do_test with and without displaced stepping.
12037
12038 2015-08-07 Pedro Alves <palves@redhat.com>
12039
12040 * gdb.base/valgrind-disp-step.c: New file.
12041 * gdb.base/valgrind-disp-step.exp: New file.
12042
12043 2015-08-07 Pedro Alves <palves@redhat.com>
12044
12045 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12046 Delete function.
12047 (main): Add alarm. Run an infinite loop instead of calling
12048 wait_threads.
12049 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12050 comment.
12051 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12052 Delete function.
12053 (main): Add alarm. Run an infinite loop instead of calling
12054 wait_threads.
12055 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12056 comment.
12057
12058 2015-08-07 Pedro Alves <palves@redhat.com>
12059
12060 * gdb.base/checkpoint-ns.exp: New file.
12061 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12062 standard_testfile.
12063
12064 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12065
12066 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12067 * gdb.btrace/instruction_history.exp: Update.
12068 * gdb.btrace/tsx.exp: New.
12069 * gdb.btrace/tsx.c: New.
12070
12071 2015-08-06 Pedro Alves <palves@redhat.com>
12072
12073 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12074 increase timeout.
12075 * gdb.reverse/until-precsave.exp: Bump timeouts.
12076
12077 2015-08-06 Pedro Alves <palves@redhat.com>
12078
12079 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12080
12081 2015-08-06 Pedro Alves <palves@redhat.com>
12082
12083 PR gdb/18749
12084 * gdb.threads/process-dies-while-handling-bp.c: New file.
12085 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12086
12087 2015-08-06 Pedro Alves <palves@redhat.com>
12088
12089 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12090 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12091
12092 2015-08-05 Pedro Alves <palves@redhat.com>
12093
12094 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12095 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12096
12097 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12098
12099 * gdb.base/bp-permanent.exp: Report test as unsupported if
12100 the target cannot stop at the permanent breakpoint.
12101
12102 2015-08-03 Doug Evans <dje@google.com>
12103
12104 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12105 10000.
12106
12107 2015-08-03 Doug Evans <dje@google.com>
12108
12109 * Makefile.in (workers/%.worker, build-perf): New rule.
12110 (GDB_PERFTEST_MODE): New variable.
12111 (check-perf): Use it.
12112 (clean): Clean up gdb.perf parallel build subdirs.
12113 * lib/build-piece.exp: New file.
12114 * lib/gdb.exp (make_gdb_parallel_path): New function
12115 (standard_output_file, standard_temp_file): Call it.
12116 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12117 of $GDB_PARALLEL.
12118 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12119
12120 2015-08-03 Doug Evans <dje@google.com>
12121
12122 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12123 (LOG_FILE_NAME): New global.
12124 (TextReporter.__init__): Initialize self.txt_sum.
12125 (TextReporter.report): Add support for multiple data-points.
12126 Move report to perftest.sum, put raw data in perftest.log.
12127 (TextReporter.start): Open sum and log files.
12128 (TextReporter.end): Close sum and log files.
12129 * gdb.perf/lib/perftest/testresult.py
12130 (SingleStatisticTestResult.record): Handle multiple data-points.
12131
12132 2015-07-31 Pedro Alves <palves@redhat.com>
12133
12134 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12135 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12136 kill_wait_spawned_process instead of explicit "kill -9".
12137 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12138 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12139 kill_wait_spawned_process.
12140 * gdb.base/attach-twice.exp: Likewise.
12141 * gdb.base/attach.exp: Likewise.
12142 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12143 gdb_test_multiple.
12144 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12145 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12146 kill_wait_spawned_process.
12147 * gdb.base/valgrind-infcall.exp: Likewise.
12148 * gdb.multi/multi-attach.exp: Likewise.
12149 * gdb.python/py-prompt.exp: Likewise.
12150 * gdb.python/py-sync-interp.exp: Likewise.
12151 * gdb.server/ext-attach.exp: Likewise.
12152 * gdb.threads/attach-into-signal.exp (corefunc): Use
12153 spawn_wait_for_attach, spawn_id_get_pid and
12154 kill_wait_spawned_process.
12155 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12156 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12157 spawn_id_get_pid and kill_wait_spawned_process.
12158 * gdb.threads/attach-stopped.exp (corefunc): Use
12159 spawn_wait_for_attach, spawn_id_get_pid and
12160 kill_wait_spawned_process.
12161 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12162 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12163 kill_wait_spawned_process instead of explicit "kill -9".
12164 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12165 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12166 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12167 processes. Don't map cygwin/windows pids here. Now returns a
12168 spawn id list.
12169
12170 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12171
12172 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12173 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12174 correct patch.
12175
12176 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12177
12178 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12179
12180 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12181
12182 Reapply:
12183 2014-05-21 Mark Wielaard <mjw@redhat.com>
12184
12185 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12186
12187 2015-07-30 Pedro Alves <palves@redhat.com>
12188
12189 * linux-low.c (handle_extended_wait): Set the child's last
12190 reported status to TARGET_WAITKIND_STOPPED.
12191
12192 2015-07-30 Pedro Alves <palves@redhat.com>
12193
12194 PR threads/18600
12195 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12196 only shows inferior 1.
12197
12198 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12199 Pedro Alves <palves@redhat.com>
12200
12201 PR threads/18600
12202 * gdb.threads/fork-plus-threads.c: New file.
12203 * gdb.threads/fork-plus-threads.exp: New file.
12204
12205 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12206
12207 * gdb.base/batch-preserve-term-settings.exp
12208 (test_terminal_settings_preserved_after_cli_exit): Use
12209 send_quit_command.
12210
12211 2015-07-29 Pedro Alves <palves@redhat.com>
12212 Don Breazeal <donb@codesourcery.com>
12213
12214 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12215 output from both inferior_spawn_id and gdb_spawn_id.
12216
12217 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12218
12219 * gdb.threads/attach-into-signal.exp (corefunc): Use
12220 with_test_prefix on nested loops, uniquefying the test messages.
12221
12222 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12223
12224 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12225 commit.
12226
12227 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12228
12229 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12230 New proc.
12231 (test_terminal_settings_preserved_after_sigterm): New test.
12232
12233 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12234
12235 * gdb.base/batch-preserve-term-settings.exp
12236 (test_terminal_settings_preserved_after_cli_exit): New test.
12237
12238 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12239
12240 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12241 manipulation of saved_gdbflags.
12242 (test_terminal_settings_preserved): Remove global declaration of
12243 the unused variable pagination_prompt. Remove manipulation of
12244 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12245 GDBFLAGS.
12246
12247 2015-07-29 Pedro Alves <palves@redhat.com>
12248
12249 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12250
12251 2015-07-29 Pedro Alves <palves@redhat.com>
12252
12253 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12254 at the top.
12255
12256 2015-07-29 Pedro Alves <palves@redhat.com>
12257
12258 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12259 (main): Call gdb_unbuffer_output.
12260 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12261 (main): Call gdb_unbuffer_output.
12262 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12263 (main): Call gdb_unbuffer_output.
12264 * gdb.base/call-strs.exp: Adjust to step over the
12265 gdb_unbuffer_output call.
12266 * gdb.base/catch-gdb-caused-signals.c: Include
12267 "../lib/unbuffer_output.c".
12268 (main): Call gdb_unbuffer_output.
12269 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12270 (main): Call gdb_unbuffer_output.
12271 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12272 (main): Call gdb_unbuffer_output.
12273 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12274 (main): Call gdb_unbuffer_output.
12275 * gdb.base/shlib-call.exp: Adjust to step over the
12276 gdb_unbuffer_output call.
12277 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12278 (main): Call gdb_unbuffer_output.
12279 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12280 (main): Call gdb_unbuffer_output.
12281 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12282 (main): Rename to ...
12283 (test): ... this.
12284 (main): Reimplement.
12285 * gdb.base/varargs.exp: Run to test instead of to main.
12286 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12287 (main): Call gdb_unbuffer_output.
12288
12289 2015-07-29 Pedro Alves <palves@redhat.com>
12290
12291 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12292 factore out from mi_continue_dprintf. For call-style dprintfs,
12293 expect dprintf output out of $inferior_spawn_id.
12294 (mi_continue_dprintf): Use mi_expect_dprintf.
12295 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12296 (main): Call gdb_unbuffer_output.
12297
12298 2015-07-29 Pedro Alves <palves@redhat.com>
12299
12300 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12301 (default_mi_gdb_start): Set inferior_spawn_id instead of
12302 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12303 gdb_spawn_id.
12304 (mi_gdb_test): Always expect inferior output from both
12305 $inferior_spawn_id and $gdb_spawn_id.
12306
12307 2015-07-29 Pedro Alves <palves@redhat.com>
12308
12309 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12310 send_inferior and $inferior_spawn_id.
12311
12312 2015-07-29 Pedro Alves <palves@redhat.com>
12313
12314 * gdb.gdb/complaints.exp (test_initial_complaints)
12315 (test_serial_complaints, test_short_complaints): Use
12316 gdb_test_stdio.
12317 (test_empty_complaint): Handle $inferior_spawn_id !=
12318 $gdb_spawn_id.
12319
12320 2015-07-29 Pedro Alves <palves@redhat.com>
12321
12322 * gdb.base/varargs.exp: Use gdb_test_stdio.
12323
12324 2015-07-29 Pedro Alves <palves@redhat.com>
12325
12326 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12327
12328 2015-07-29 Pedro Alves <palves@redhat.com>
12329
12330 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12331
12332 2015-07-29 Pedro Alves <palves@redhat.com>
12333
12334 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12335 parameter into two new parameters, "inf_result" and "gdb_result".
12336 Expect inferior output and gdb output from $inferior_spawn_id and
12337 $gdb_spawn_id, respectively. Adjust all callers.
12338
12339 2015-07-29 Pedro Alves <palves@redhat.com>
12340
12341 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12342 of gdb_test_sequence.
12343
12344 2015-07-29 Pedro Alves <palves@redhat.com>
12345
12346 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12347 (saw_spurious_output): Expect inferior output from
12348 $inferior_spawn_id. Use gdb_test_stdio.
12349
12350 2015-07-29 Pedro Alves <palves@redhat.com>
12351
12352 * gdb.base/dprintf.exp: Use standard_testfile. Change
12353 prepare_for_testing call.
12354 (srcfile): Don't set.
12355 (restart): New procedure.
12356 (test_dprintf): New procecure, use to continue over dprintfs.
12357 (test_call, test_agent): New procedures, tests moved here.
12358 Restart gdb and recreate dprintfs. Adjust expected output.
12359
12360 2015-07-29 Pedro Alves <palves@redhat.com>
12361
12362 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12363
12364 2015-07-29 Pedro Alves <palves@redhat.com>
12365
12366 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12367
12368 2015-07-29 Pedro Alves <palves@redhat.com>
12369
12370 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12371 gdb_test_stdio.
12372
12373 2015-07-29 Pedro Alves <palves@redhat.com>
12374
12375 * lib/gdb.exp (gdb_test_stdio): New procedure.
12376
12377 2015-07-29 Pedro Alves <palves@redhat.com>
12378
12379 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12380
12381 2015-07-29 Pedro Alves <palves@redhat.com>
12382
12383 * gdb.base/call-signal-resume.exp: Remove check for
12384 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12385 * gdb.base/unwindonsignal.exp: Likewise.
12386 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12387 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12388
12389 2015-07-29 Pedro Alves <palves@redhat.com>
12390
12391 * gdb.base/siginfo-addr.c (pass): New function.
12392 (handler): Call it iff si_addr is correct.
12393 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12394 Set a breakpoint at "pass" and continue to it.
12395
12396 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12397
12398 * gdb.python/py-objfile.exp: Make some tests have unique names.
12399 * gdb.python/py-pp-registration.exp: Likewise.
12400
12401 2015-07-28 Pedro Alves <palves@redhat.com>
12402
12403 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12404
12405 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12406
12407 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12408
12409 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12410
12411 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12412
12413 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12414
12415 * gdb.base/gdb-sigterm-2.exp: New test.
12416
12417 2015-07-25 Doug Evans <xdje42@gmail.com>
12418
12419 Revert:
12420 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12421 (workers/%.worker, build-perf): New rule.
12422 (GDB_PERFTEST_MODE): New variable.
12423 (check-perf): Use it.
12424 (clean): Clean up gdb.perf parallel build subdirs.
12425 * lib/build-piece.exp: New file.
12426 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12427 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12428 name.
12429 (standard_temp_file): Ditto.
12430 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12431 of $GDB_PARALLEL.
12432
12433 2015-07-24 Doug Evans <dje@google.com>
12434
12435 * gdb.perf/lib/perftest/utils.py: New file.
12436 * gdb.perf/gm-hello.cc: New file.
12437 * gdb.perf/gm-pervasive-typedef.cc: New file.
12438 * gdb.perf/gm-pervasive-typedef.h: New file.
12439 * gdb.perf/gm-std.cc: New file.
12440 * gdb.perf/gm-std.h: New file.
12441 * gdb.perf/gm-use-cerr.cc: New file.
12442 * gdb.perf/gm-utils.h: New file.
12443 * gdb.perf/gmonster-null-lookup.py: New file.
12444 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12445 * gdb.perf/gmonster-print-cerr.py: New file.
12446 * gdb.perf/gmonster-ptype-string.py: New file.
12447 * gdb.perf/gmonster-runto-main.py: New file.
12448 * gdb.perf/gmonster-select-file.py: New file.
12449 * gdb.perf/gmonster1-null-lookup.exp: New file.
12450 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12451 * gdb.perf/gmonster1-print-cerr.exp: New file.
12452 * gdb.perf/gmonster1-ptype-string.exp: New file.
12453 * gdb.perf/gmonster1-runto-main.exp: New file.
12454 * gdb.perf/gmonster1-select-file.exp: New file.
12455 * gdb.perf/gmonster1.cc: New file.
12456 * gdb.perf/gmonster1.exp: New file.
12457 * gdb.perf/gmonster2-null-lookup.exp: New file.
12458 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12459 * gdb.perf/gmonster2-print-cerr.exp: New file.
12460 * gdb.perf/gmonster2-ptype-string.exp: New file.
12461 * gdb.perf/gmonster2-runto-main.exp: New file.
12462 * gdb.perf/gmonster2-select-file.exp: New file.
12463 * gdb.perf/gmonster2.cc: New file.
12464 * gdb.perf/gmonster2.exp: New file.
12465
12466 2015-07-24 Doug Evans <dje@google.com>
12467
12468 * gdb.perf/README: New file.
12469 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12470 * lib/gen-perf-test.exp: New file.
12471
12472 2015-07-24 Doug Evans <dje@google.com>
12473
12474 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12475 (PerfTest::startup): New function.
12476 (PerfTest::run): Return result of calling body.
12477 (PerfTest::assemble): Rewrite.
12478 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12479 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12480 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12481 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12482 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12483
12484 2015-07-24 Doug Evans <dje@google.com>
12485
12486 * lib/gdb.exp (clean_restart): Make executable optional.
12487
12488 2015-07-24 Doug Evans <dje@google.com>
12489
12490 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12491 compiler_info references.
12492 * gdb.cp/temargs.exp: Ditto.
12493 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12494 (get_compiler_info): Early exit if already computed. Set compiler_info
12495 to "unknown" if there was a problem.
12496 (test_compiler_info): Add function comment. Call get_compiler_info.
12497
12498 2015-07-24 Doug Evans <dje@google.com>
12499
12500 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12501 (workers/%.worker, build-perf): New rule.
12502 (GDB_PERFTEST_MODE): New variable.
12503 (check-perf): Use it.
12504 (clean): Clean up gdb.perf parallel build subdirs.
12505 * lib/build-piece.exp: New file.
12506 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12507 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12508 name.
12509 (standard_temp_file): Ditto.
12510 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12511 of $GDB_PARALLEL.
12512
12513 2015-07-24 Doug Evans <dje@google.com>
12514
12515 * lib/future.exp (gdb_default_target_compile): New option
12516 "early_flags".
12517 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12518 --as-needed.
12519
12520 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12521
12522 * gdb.base/catch-syscall.exp: Call gdb_exit before
12523 gdb_skip_xml_test.
12524
12525 2015-07-24 Pedro Alves <palves@redhat.com>
12526
12527 * gdb.python/py-events.exp: Accept output between the stop event
12528 and the prompt.
12529 * gdb.python/py-evsignal.exp: Likewise.
12530 * gdb.python/py-evthreads.exp: Likewise.
12531
12532 2015-07-24 Pedro Alves <palves@redhat.com>
12533
12534 PR gdb/18717
12535 * gdb.threads/non-ldr-exit.c: New file.
12536 * gdb.threads/non-ldr-exit.exp: New file.
12537
12538 2015-07-24 Yao Qi <yao.qi@linaro.org>
12539
12540 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12541 restarting process.
12542
12543 2015-07-24 Yao Qi <yao.qi@linaro.org>
12544
12545 * gdb.server/ext-restart.exp: New file.
12546
12547 2015-07-24 Yao Qi <yao.qi@linaro.org>
12548
12549 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12550 argument options.
12551 * gdb.server/ext-wrapper.exp: New file.
12552
12553 2015-07-23 Doug Evans <dje@google.com>
12554
12555 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12556 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12557
12558 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12559
12560 * gdb.ada/var_arr_typedef.exp: New testcase.
12561 * gdb.ada/var_arr_typedef/pack.adb: New file.
12562 * gdb.ada/var_arr_typedef/pack.ads: New file.
12563 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12564
12565 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12566
12567 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12568
12569 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12570
12571 * gdb.arch/i386-biarch-core.exp: Replace istarget
12572 by "complete set gnutarget". Remove expectation for the "core-file"
12573 command.
12574
12575 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12576
12577 Revert the previous commit:
12578 Tests for validate symbol file using build-id.
12579
12580 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12581
12582 Tests for validate symbol file using build-id.
12583 * gdb.base/solib-mismatch-lib.c: New file.
12584 * gdb.base/solib-mismatch-libmod.c: New file.
12585 * gdb.base/solib-mismatch.c: New file.
12586 * gdb.base/solib-mismatch.exp: New file.
12587
12588 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12589
12590 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12591 nios2-*-linux*.
12592 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12593 * gdb.base/siginfo.exp: Likewise.
12594 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12595
12596 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12597
12598 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12599 Move it to ...
12600 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12601 ... here.
12602 * gdb.trace/range-stepping.exp: Check that the target supports
12603 range stepping.
12604
12605 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12606
12607 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12608
12609 2015-07-14 Pedro Alves <palves@redhat.com>
12610
12611 * gdb.base/killed-outside.exp: New file.
12612 * gdb.base/killed-outside.c: New file.
12613
12614 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12615
12616 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12617 (n at main): New.
12618 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12619
12620 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12621
12622 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12623 infcall tests instead of setting up for KFAIL.
12624
12625 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12626
12627 * gdb.btrace/record_goto-step.exp: New.
12628
12629 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12630
12631 PR compile/18484
12632 * gdb.compile/compile.c (struct struct_type): Add volatile to
12633 selffield's type.
12634 * gdb.compile/compile.exp
12635 (compile code struct_object.selffield = &struct_object): Skip further
12636 struct_object tests if this one xfails.
12637
12638 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12639
12640 PR exp/18617
12641 * gdb.trace/ax.exp: Add test.
12642
12643 2015-07-07 Yao Qi <yao.qi@linaro.org>
12644
12645 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12646 instead of istarget "aarch64*-*-*".
12647 * gdb.arch/aarch64-fp.exp: Likewise.
12648 * gdb.base/float.exp: Likewise.
12649 * gdb.reverse/aarch64.exp: Likewise.
12650 * lib/gdb.exp (is_aarch64_target): New proc.
12651
12652 2015-07-07 Yao Qi <yao.qi@linaro.org>
12653
12654 * lib/gdb.exp (is_aarch32_target): New proc.
12655 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12656 instead of "istarget "arm*-*-*"".
12657 * gdb.arch/arm-disp-step.exp: Likewise.
12658 * gdb.arch/thumb-bx-pc.exp: Likewise.
12659 * gdb.arch/thumb-prologue.exp: Likewise.
12660 * gdb.arch/thumb-singlestep.exp: Likewise.
12661 * gdb.base/disp-step-syscall.exp: Likewise.
12662 * gdb.base/float.exp: Likewise.
12663
12664 2015-07-07 Yao Qi <yao.qi@linaro.org>
12665
12666 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12667 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12668
12669 2015-07-07 Yao Qi <yao.qi@linaro.org>
12670
12671 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12672 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12673 if it exists.
12674 * gdb.multi/multi-arch.exp: Likewise.
12675
12676 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12677
12678 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12679 print.
12680
12681 2015-07-07 Yao Qi <yao.qi@linaro.org>
12682
12683 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12684
12685 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12686
12687 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12688 '[' and ']' characters.
12689
12690 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12691
12692 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12693
12694 2015-06-29 Pedro Alves <palves@redhat.com>
12695
12696 PR threads/18127
12697 * gdb.threads/hand-call-new-thread.c: New file.
12698 * gdb.threads/hand-call-new-thread.c: New file.
12699
12700 2015-06-26 Keith Seitz <keiths@redhat.com>
12701 Doug Evans <dje@google.com>
12702
12703 PR 16253
12704 * gdb.cp/var-tag-2.cc: New file.
12705 * gdb.cp/var-tag-3.cc: New file.
12706 * gdb.cp/var-tag-4.cc: New file.
12707 * gdb.cp/var-tag.cc: New file.
12708 * gdb.cp/var-tag.exp: New file.
12709
12710 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12711
12712 * gdb.base/history-duplicates.exp: New test.
12713
12714 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12715
12716 * gdb.base/completion.exp: Test the completion of the "focus"
12717 command.
12718
12719 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12720
12721 * gdb.arch/amd64-prologue-skip.S: New file.
12722 * gdb.arch/amd64-prologue-skip.exp: New file.
12723
12724 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12725
12726 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12727 is_address_zero_readable check.
12728
12729 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12730
12731 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12732 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12733
12734 2015-06-24 Yao Qi <yao.qi@linaro.org>
12735
12736 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12737 linux targets.
12738
12739 2015-06-24 Yao Qi <yao.qi@linaro.org>
12740
12741 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12742 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12743 * gdb.base/siginfo-thread.exp: Likewise.
12744
12745 2015-06-22 Yao Qi <yao.qi@linaro.org>
12746
12747 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12748
12749 2015-06-22 Yao Qi <yao.qi@linaro.org>
12750
12751 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12752 aarch64*-*-*.
12753 (skip_hw_watchpoint_tests): Likewise.
12754
12755 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12756
12757 * gdb.base/gdbinit-history.exp: Test the interaction between
12758 setting GDBHISTSIZE and setting the history size via .gdbinit.
12759
12760 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12761
12762 PR gdb/16999
12763 * gdb.base/gdbhistsize-history.exp: New test.
12764
12765 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12766
12767 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12768 with GDBHISTSIZE.
12769 * gdb.base/readline.exp: Likewise.
12770
12771 2015-06-17 Yao Qi <yao.qi@linaro.org>
12772
12773 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12774 line.
12775
12776 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12777
12778 * gdb.base/gdbinit-history.exp: Add test case to check that
12779 an unlimited history file does not get truncated on exit.
12780
12781 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12782
12783 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12784 (VECTOR): New macro. Use it...
12785 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12786 ...for these typedefs.
12787 (int8, char1, int1, double1): New typedefs.
12788 (struct just_int2, struct two_int2): New structures.
12789 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12790 (add_structvecs, add_singlevecs): New functions.
12791 (main): Call add_some_intvecs twice.
12792 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12793 the compile and exit upon failure. Try compiling for the "native"
12794 architecture. Test inferior function calls with vector arguments
12795 and vector return value handling with "finish" and "return".
12796
12797 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12798
12799 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12800 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12801 PE file.
12802 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12803
12804 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12805
12806 PR breakpoints/16465
12807 * gdb.mi/mi-dprintf-pending.c: New file.
12808 * gdb.mi/mi-dprintf-pending.exp: New test.
12809 * gdb.mi/mi-dprintf-pendshr.c: New file.
12810
12811 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12812 Mircea Gherzan <mircea.gherzan@intel.com>
12813
12814 * gdb.arch/i386-mpx-map.c: New file.
12815 * gdb.arch/i386-mpx-map.exp: New File.
12816
12817 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12818
12819 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12820 * gdb.arch/i386-mpx.exp: Indentation fixed.
12821
12822 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12823
12824 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12825 function and improved indentation.
12826 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12827 gdb_test_multiple. Added additional tests to skip the test.
12828
12829 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12830
12831 * gdb.arch/i386-avx512.c: Change path in include file.
12832 * gdb.arch/i386-avx512.exp: Change include dir path
12833 compilation flag.
12834 * gdb.arch/i386-mpx.c: Change path in include file.
12835 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12836 flag.
12837
12838 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12839
12840 * gdb.compile/compile-print.exp (compile print *vararray@3)
12841 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12842
12843 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12844
12845 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12846 (do not keep jit in memory): ... this.
12847 (expect 5): Change it to ...
12848 (expect no 5): ... this.
12849
12850 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12851
12852 PR gdb/15564
12853 * gdb.mi/mi-detach.exp: New file.
12854
12855 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12856
12857 PR symtab/18392
12858 * gdb.arch/amd64-tailcall-self.S: New file.
12859 * gdb.arch/amd64-tailcall-self.c: New file.
12860 * gdb.arch/amd64-tailcall-self.exp: New file.
12861
12862 2015-05-28 Don Breazeal <donb@codesourcery.com>
12863
12864 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12865 tests for remote targets by checking is_target_gdbserver.
12866
12867 2015-05-27 Doug Evans <dje@google.com>
12868
12869 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12870 * gdb.dwarf2/opaque-type-lookup.c: New file.
12871 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12872
12873 2015-05-26 Doug Evans <dje@google.com>
12874
12875 * gdb.cp/iostream.cc: New file.
12876 * gdb.cp/iostream.exp: New file.
12877
12878 2015-05-26 Doug Evans <dje@google.com>
12879
12880 * gdb.dwarf2/dw2-op-call.exp: Update.
12881 * gdb.dwarf2/dw4-sig-types.exp: Update.
12882 * gdb.dwarf2/implptr.exp: Update.
12883 * gdb.mi/mi-cmd-param-changed.exp: Update.
12884
12885 2015-05-26 Doug Evans <dje@google.com>
12886
12887 * gdb.python/py-lazy-string.c: New file.
12888 * gdb.python/py-lazy-string.exp: New file.
12889 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12890 (main): Update. Add estring3.
12891 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12892 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12893
12894 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12895 Yao Qi <yao.qi@linaro.org>
12896
12897 * gdb.reverse/aarch64.c: New.
12898 * gdb.reverse/aarch64.exp: New.
12899
12900 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12901
12902 * lib/gdb.exp (supports_process_record): Return true for
12903 aarch64*-linux*.
12904 (supports_reverse): Likewise.
12905
12906 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12907
12908 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12909 Use with_test_prefix.
12910
12911 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12912
12913 * gdb.base/completion.exp: Add test for completion of layout
12914 names.
12915
12916 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12917
12918 * lib/gdb.exp (skip_tui_tests): New proc.
12919 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12920
12921 2015-05-19 Pedro Alves <palves@redhat.com>
12922
12923 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12924 Save the whole env array instead of just HOME. Unset HISTSIZE in
12925 the environment while testing. Restore whole environment
12926 afterwards.
12927
12928 2015-05-16 Doug Evans <xdje42@gmail.com>
12929
12930 * gdb.guile/scm-ports.c: New file.
12931 * gdb.guile/scm-ports.exp: Add memory port tests.
12932
12933 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12934
12935 * gdb.compile/compile-print.c: New file.
12936 * gdb.compile/compile-print.exp: New file.
12937
12938 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12939
12940 * gdb.compile/compile-ops.exp: Cast param to void.
12941 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12942 (compile code struct_object.selffield = &struct_object): Add xfail.
12943
12944 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12945
12946 * gdb.ada/arr_enum_with_gap: New testcase.
12947
12948 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12949
12950 * gdb.ada/byte_packed_arr: New testcase.
12951
12952 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12953
12954 * gdb.ada/pckd_neg: New testcase.
12955
12956 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12957
12958 PR gdb/17820
12959 * gdb.base/gdbinit-history.exp: New test.
12960 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12961 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12962
12963 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12964
12965 * gdb.python/py-xmethods.cc: Enhance test case.
12966 * gdb.python/py-xmethods.exp: New tests.
12967 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12968 function.
12969 (B_indexoper): Likewise.
12970 (global_dm_list) : Add new xmethod worker functions.
12971
12972 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12973
12974 * gdb.base/coredump-filter.exp: Correctly unset
12975 "coredump_var_addr" array.
12976
12977 2015-05-08 Pedro Alves <palves@redhat.com>
12978
12979 * gdb.server/non-existing-program.exp: Unset spawn_id.
12980
12981 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12982
12983 PR python/18291
12984 * gdb.python/py-xmethods.exp: Add tests.
12985
12986 2015-05-08 Yao Qi <yao.qi@linaro.org>
12987
12988 PR gdb/18208
12989 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12990 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12991 function set_coredump_filter, and remove remote_exec call.
12992 Remove argument ipid. Callers update.
12993 (top level): Don't get inferior's PID.
12994
12995 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12996
12997 * gdb.base/watch_thread_num.exp: Skip test on targets without
12998 access watchpoints.
12999
13000 2015-05-06 Pedro Alves <palves@redhat.com>
13001
13002 PR server/18081
13003 * gdb.server/non-existing-program.exp: New file.
13004
13005 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13006
13007 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13008
13009 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13010
13011 * gdb.ada/out_of_line_in_inlined: New testcase.
13012
13013 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13014
13015 * gdb.ada/var_rec_arr: New testcase.
13016
13017 2015-04-30 Yao Qi <yao.qi@linaro.org>
13018
13019 * gdb.base/break-idempotent.exp: If
13020 skip_hw_watchpoint_multi_tests returns true, skip the tests
13021 on "rwatch" and "awatch".
13022
13023 2015-04-30 Yao Qi <yao.qi@linaro.org>
13024
13025 * gdb.base/relativedebug.exp: Invoke gdb command
13026 "info sharedlibrary", and if libc.so doesn't have debug info,
13027 skip the test.
13028
13029 2015-04-29 Doug Evans <dje@google.com>
13030
13031 * gdb.python/py-xmethods.exp: Add ptype tests.
13032 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13033 get_result_type method.
13034
13035 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13036
13037 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13038 the target does not support hardware watchpoints.
13039
13040 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13041
13042 * gdb.base/break-always.exp: Abort testing if writing to memory
13043 causes an error.
13044
13045 2015-04-28 Doug Evans <dje@google.com>
13046
13047 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13048 * gdb.python/py-pp-registration.exp: ... here. New file.
13049 * gdb.python/py-pp-registration.c: New file.
13050 * gdb.python/py-pp-registration.py: New file.
13051
13052 2015-04-28 Doug Evans <dje@google.com>
13053
13054 * gdb.python/py-bad-printers.c: New file.
13055 * gdb.python/py-bad-printers.py: New file.
13056 * gdb.python/py-bad-printers.exp: New file.
13057
13058 2015-04-28 Sasha Smundak <asmundak@google.com>
13059
13060 * gdb.python/py-type.exp: New test.
13061
13062 2015-04-28 Andy Wingo <wingo@igalia.com>
13063
13064 * gdb.python/py-parameter.exp:
13065 * gdb.guile/scm-parameter.exp: Escape the path that we are
13066 matching against, as it might contain characters that are special
13067 to regular expressions.
13068
13069 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13070
13071 * gdb.ada/rec_comp: New testcase.
13072
13073 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13074
13075 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13076 before using it.
13077
13078 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13079
13080 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13081 new tests for verilog output.
13082
13083 2015-04-24 Yao Qi <yao.qi@linaro.org>
13084
13085 * boards/remote-gdbserver-on-localhost.exp: New file.
13086
13087 2015-04-23 Pedro Alves <palves@redhat.com>
13088
13089 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13090 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13091 "end of file", remove $inferior_spawn_id from the indirect list.
13092
13093 2015-04-23 Pedro Alves <palves@redhat.com>
13094
13095 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13096
13097 2015-04-23 Pedro Alves <palves@redhat.com>
13098
13099 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13100 on $any_spawn_id instead of only on $gdb_spawn_id.
13101
13102 2015-04-21 Pierre Muller <muller@sourceware.org>
13103
13104 PR pascal/17815
13105 * lib/pascal.exp (gpc_compile): Add new option "class".
13106 (fpc_compile): Likewise.
13107 * gdb.pascal/case-insensitive-symbols.pas: New file.
13108 * gdb.pascal/case-insensitive-symbols.exp: New file.
13109
13110 2015-04-20 Gary Benson <gbenson@redhat.com>
13111
13112 * gdb.base/attach.exp: Fix three extended remote failures.
13113
13114 2015-04-17 Gary Benson <gbenson@redhat.com>
13115
13116 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13117 the main executable over the remote protocol.
13118
13119 2015-04-16 Pedro Alves <palves@redhat.com>
13120
13121 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13122 a new gdbserver if gdbserver_reconnect_p is set.
13123
13124 2015-04-16 Pedro Alves <palves@redhat.com>
13125
13126 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13127 is set, don't exit gdbserver.
13128
13129 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13130
13131 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13132 appropriate .insn, such that an older assembler can be used.
13133 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13134 the z/Architecture instruction set on 31-bit targets as well.
13135
13136 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13137
13138 * gdb.go/handcall.exp: Remove all logic related to the first
13139 breakpoint and rely on go_runto_main instead.
13140 * gdb.go/strings.exp: Likewise.
13141 * gdb.go/unsafe.exp: Likewise.
13142 * gdb.go/hello.exp: Likewise. Also rename the remaining
13143 breakpoint marker to "breakpoint 1".
13144 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13145 * gdb.go/strings.go: Likewise.
13146 * gdb.go/unsafe.go: Likewise.
13147 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13148 "set breakpoint 2 here" and rename the remaining breakpoint marker
13149 to "breakpoint 1".
13150
13151 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13152
13153 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13154 if itertools.imap is not present.
13155 * gdb.python/py-objfile.exp: Add parentheses.
13156 * gdb.python/py-type.exp: Same.
13157 * gdb.python/py-unwind-maint.py: Same.
13158
13159 2015-04-15 Yao Qi <yao.qi@linaro.org>
13160
13161 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13162 of ":$ptr_size" and set its form explicitly.
13163
13164 2015-04-15 Pedro Alves <palves@redhat.com>
13165 Yao Qi <yao.qi@linaro.org>
13166
13167 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13168 timeout by factor of 4.
13169 (test_regular_watch): Likewise.
13170 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13171 * gdb.reverse/sigall-reverse.exp: Likewise.
13172 * gdb.reverse/until-precsave.exp: Likewise.
13173 * lib/gdb.exp (with_timeout_factor): New proc.
13174 (gdb_expect): Move some code to ...
13175 (get_largest_timeout): ... here. New procedure.
13176
13177 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13178
13179 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13180
13181 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13182
13183 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13184 to write to the .text section.
13185
13186 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13187
13188 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13189 Handle the case of targets that do not provide PID information.
13190
13191 2015-04-13 Yao Qi <yao.qi@linaro.org>
13192
13193 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13194 and use expect instead of gdb_expect.
13195
13196 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13197
13198 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13199 "coredump_var_addr" to avoid naming conflict with other testcases.
13200
13201 2015-04-10 Pedro Alves <palves@redhat.com>
13202
13203 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13204 gdb_test_sequence and gdb_assert.
13205
13206 2015-04-10 Pedro Alves <palves@redhat.com>
13207
13208 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13209 test messages that don't include the breakpoint address.
13210
13211 2015-04-10 Yao Qi <yao.qi@linaro.org>
13212
13213 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13214 false for some offset and width combinations which aren't
13215 supported by linux kernel.
13216
13217 2015-04-10 Pedro Alves <palves@redhat.com>
13218
13219 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13220 procedure, factored out from ...
13221 (top level): ... here. Add "set displaced-stepping" testing axis.
13222 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13223 parameter "displaced". Use it.
13224 (top level): Use foreach and add "set displaced-stepping" testing
13225 axis.
13226
13227 2015-04-10 Pedro Alves <palves@redhat.com>
13228
13229 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13230 Remove comment.
13231 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13232 both the address of the instruction that triggers the watchpoint
13233 and the address of the instruction immediately after, and use
13234 those addresses for the test. Fix comment.
13235
13236 2015-04-10 Pedro Alves <palves@redhat.com>
13237
13238 * gdb.base/sigstep.exp (breakpoint_to_handler)
13239 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13240 Test "backtrace" in handler.
13241 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13242 (top level): Add new "displaced" test axis to
13243 breakpoint_to_handler, breakpoint_to_handler_entry and
13244 breakpoint_over_handler.
13245
13246 2015-04-10 Pedro Alves <palves@redhat.com>
13247
13248 PR gdb/18216
13249 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13250
13251 2015-04-10 Yao Qi <yao.qi@linaro.org>
13252
13253 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13254 (test_add_rn_pc): New function.
13255 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13256 (top level): Invoke test_add_rn_pc.
13257
13258 2015-04-10 Pedro Alves <palves@redhat.com>
13259
13260 PR gdb/13858
13261 * gdb.base/step-over-no-symbols.exp: New file.
13262
13263 2015-04-09 Andy Wingo <wingo@igalia.com>
13264
13265 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13266 after the Python tests.
13267
13268 2015-04-08 Keith Seitz <keiths@redhat.com>
13269
13270 PR python/16699
13271 * gdb.python/py-completion.exp: New tests for completion.
13272 * gdb.python/py-completion.py (CompleteLimit1): New class.
13273 (CompleteLimit2): Likewise.
13274 (CompleteLimit3): Likewise.
13275 (CompleteLimit4): Likewise.
13276 (CompleteLimit5): Likewise.
13277 (CompleteLimit6): Likewise.
13278 (CompleteLimit7): Likewise.
13279
13280 2015-04-08 Pedro Alves <palves@redhat.com>
13281
13282 PR gdb/18214
13283 PR gdb/18216
13284 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13285 function.
13286 (main): Install it as SIGUSR1 handler.
13287 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13288 parameter. Always use "setup" as prefix. Toggle "set
13289 displaced-stepping" off/on depending on global. Don't switch to
13290 thread 1 here.
13291 (top level): Add displaced stepping "off/on" test axis. Update
13292 "setup" calls. Wrap each subtest with with_test_prefix. Test
13293 continuing with a queued signal in each thread.
13294
13295 2015-04-08 Pedro Alves <palves@redhat.com>
13296
13297 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13298 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13299 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13300 Return early if running to main fails.
13301 * gdb.trace/while-stepping.exp: Likewise.
13302
13303 2015-04-07 Pedro Alves <palves@redhat.com>
13304
13305 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13306 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13307 interact with inferior program.
13308
13309 2015-04-07 Pedro Alves <palves@redhat.com>
13310
13311 * lib/gdb.exp (inferior_spawn_id): New global.
13312 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13313 spawn id after processing the user code.
13314 (default_gdb_start): Set inferior_spawn_id.
13315 (send_inferior): New procedure.
13316 * lib/gdbserver-support.exp (gdbserver_start): Set
13317 inferior_spawn_id.
13318 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13319
13320 2015-04-07 Pedro Alves <palves@redhat.com>
13321
13322 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13323 * lib/gdbserver-support.exp (gdbserver_start): Make
13324 $server_spawn_id global.
13325 (gdbserver_start): Don't wait for gdbserver's spawn id with
13326 expect_background.
13327 (close_gdbserver): New procedure.
13328 (gdb_exit): Rename the default version and reimplement.
13329
13330 2015-04-07 Pedro Alves <palves@redhat.com>
13331
13332 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13333 append the substituted item, not the original item.
13334
13335 2015-04-07 Pedro Alves <palves@redhat.com>
13336
13337 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13338 gdb_expect.
13339
13340 2015-04-07 Pedro Alves <palves@redhat.com>
13341
13342 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13343 output appearing once only.
13344
13345 2015-04-07 Pedro Alves <palves@redhat.com>
13346
13347 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13348 that doesn't expect anything. Return early if running to main
13349 fails.
13350
13351 2015-04-07 Yao Qi <yao.qi@linaro.org>
13352
13353 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13354 (child_function): Call alarm.
13355 (main): Move call to alarm into the loop.
13356 * gdb.threads/non-stop-fair-events.exp: Build program with
13357 -DTIMEOUT=$timeout.
13358
13359 2015-04-06 Doug Evans <xdje42@gmail.com>
13360
13361 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13362 Fix dest parameter to board_info.
13363 (fpc_compile): Ditto.
13364 (gdb_compile_pascal): Rename dest arg to destfile.
13365
13366 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13367
13368 * gdb.ada/funcall_ref.exp: New file.
13369 * gdb.ada/funcall_ref/foo.adb: New file.
13370
13371 2015-04-02 Yao Qi <yao.qi@linaro.org>
13372
13373 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13374 is remote.
13375
13376 2015-04-02 Gary Benson <gbenson@redhat.com>
13377
13378 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13379
13380 2015-04-01 Sasha Smundak <asmundak@google.com>
13381
13382 * gdb.python/py-unwind-maint.c: New file.
13383 * gdb.python/py-unwind-maint.exp: New test.
13384 * gdb.python/py-unwind-maint.py: New file.
13385 * gdb.python/py-unwind.c: New file.
13386 * gdb.python/py-unwind.exp: New test.
13387 * gdb.python/py-unwind.py: New test.
13388
13389 2015-04-01 Pedro Alves <palves@redhat.com>
13390
13391 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13392 to fail instead of non-existent $test.
13393
13394 2015-04-01 Pedro Alves <palves@redhat.com>
13395
13396 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13397 GDBFLAGS if not empty.
13398
13399 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13400
13401 * gdb.ada/complete.exp: Remove "multi_line".
13402 * gdb.ada/info_exc.exp: Remove "multi_line".
13403 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13404 * gdb.ada/ptype_field.exp: Remove "multi_line".
13405 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13406 * gdb.ada/tagged.exp: Remove "multi_line".
13407 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13408 [multi_line ...]
13409 * gdb.btrace/delta.exp: Likewise.
13410 * gdb.btrace/exception.exp: Likewise.
13411 * gdb.btrace/function_call_history.exp: Likewise.
13412 * gdb.btrace/instruction_history.exp: Likewise.
13413 * gdb.btrace/nohist.exp: Likewise.
13414 * gdb.btrace/record_goto.exp: Likewise.
13415 * gdb.btrace/segv.exp: Likewise.
13416 * gdb.btrace/stepi.exp: Likewise.
13417 * gdb.btrace/tailcall.exp: Likewise.
13418 * gdb.btrace/unknown_functions.exp: Likewise.
13419 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13420 * lib/gdb.exp: Add the "multi_line" helper.
13421
13422 2015-04-01 Pedro Alves <palves@redhat.com>
13423
13424 * gdb.threads/tid-reuse.c: New file.
13425 * gdb.threads/tid-reuse.exp: New file.
13426
13427 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13428
13429 PR corefiles/16092
13430 * gdb.base/coredump-filter.c: New file.
13431 * gdb.base/coredump-filter.exp: Likewise.
13432
13433 2015-03-27 Petr Machata <pmachata@redhat.com>
13434
13435 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13436 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13437 (Dwarf::assemble): Initialize them.
13438 (Dwarf::lines): New function.
13439
13440 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13441
13442 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13443 SYMBOL_PREFIX for x86_64-*-cygwin.
13444
13445 2015-03-26 Andy Wingo <wingo@igalia.com>
13446
13447 PR symtab/18148
13448 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13449 const_value but not a location.
13450 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13451 location defined in non-main CUs are visible.
13452
13453 2015-03-26 Yao Qi <yao.qi@linaro.org>
13454
13455 PR testsuite/18139
13456 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13457 Add a line number entry for the same line.
13458 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13459 Add a line number entry for the same line.
13460
13461 2015-03-26 Yao Qi <yao.qi@linaro.org>
13462
13463 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13464 .int 0.
13465 (func): Likewise. Add .Lfunc_1 label.
13466 Use .Lfunc_1 label.
13467 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13468 .int 0.
13469 (func): Likewise.
13470 Use .Lfunc_1 label.
13471
13472 2015-03-26 Yao Qi <yao.qi@linaro.org>
13473
13474 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13475 Call gdb_compile instead to compile each .s files without debug
13476 information.
13477
13478 2015-03-26 Yao Qi <yao.qi@linaro.org>
13479
13480 * gdb.base/savedregs.exp (process_saved_regs): Make
13481 "Saved registers:" optional in the pattern.
13482
13483 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13484
13485 * gdb.btrace/next.exp: Merged into step.exp.
13486 * gdb.btrace/finish.exp: Merged into step.exp.
13487 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13488 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13489 "record goto" and checking the exact replay position.
13490 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13491 check for "Recording format" in "info record" output.
13492 * gdb.btrace/record_goto.exp: Choose test file based on target.
13493 * gdb.btrace/x86-record_goto.S: Renamed into ...
13494 * gdb.btrace/x86_64-record_goto.S: ... this.
13495 * gdb.btrace/i686-record_goto.S: New.
13496 * gdb.btrace/x86-tailcall.S: Renamed into ...
13497 * gdb.btrace/x86_64-tailcall.S: ... this.
13498 * gdb.btrace/i686-tailcall.S: New.
13499 * gdb.btrace/x86-tailcall.c: Renamed into ...
13500 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13501 separate statements. Update test.
13502 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13503 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13504 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13505 * gdb.btrace/tailcall.exp: Choose test file based on target.
13506 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13507
13508 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13509
13510 * gdb.btrace/exception.exp: Increase BTS buffer size.
13511
13512 2015-03-24 Pedro Alves <palves@redhat.com>
13513
13514 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13515
13516 2015-03-24 Pedro Alves <palves@redhat.com>
13517
13518 * gdb.threads/schedlock.exp (test_step): No longer expect that
13519 "set scheduler-locking step" with "next" over a function call runs
13520 threads unlocked.
13521
13522 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13523
13524 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13525
13526 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13527
13528 PR breakpoints/16466
13529 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13530 * gdb.mi/mi-pending.c (thread_func): New function.
13531 (int main): Add threading support required.
13532 * gdb.mi/mi-pending.exp: Add tests for this issue.
13533 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13534 (pendfunc2): Remove stdio dependency.
13535 * gdb.mi/mi-pendshr2.c: New file.
13536
13537 2015-03-23 Keith Seitz <keiths@redhat.com>
13538
13539 * gdb.linespec/keywords.c: New file.
13540 * gdb.linespec/keywords.exp: New file.
13541
13542 2015-03-23 Keith Seitz <keiths@redhat.com>
13543
13544 PR gdb/18021
13545 * gdb.dwarf2/staticvirtual.exp: New test.
13546
13547 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13548
13549 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13550 * README: Remove HP-UX and gdb.hp.
13551 (configuration):
13552 * configure: Regenerate.
13553 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13554 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13555 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13556 gdb.hp/gdb.defects/Makefile.
13557 * gdb.hp/Makefile.in: File deleted.
13558 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13559 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13560 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13561 * gdb.hp/gdb.aCC/run.c: File deleted.
13562 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13563 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13564 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13565 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13566 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13567 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13568 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13569 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13570 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13571 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13572 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13573 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13574 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13575 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13576 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13577 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13578 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13579 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13580 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13581 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13582 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13583 * gdb.hp/gdb.compat/average.c: File deleted.
13584 * gdb.hp/gdb.compat/sum.c: File deleted.
13585 * gdb.hp/gdb.compat/xdb.c: File deleted.
13586 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13587 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13588 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13589 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13590 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13591 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13592 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13593 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13594 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13595 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13596 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13597 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13598 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13599 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13600 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13601 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13602 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13603 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13604 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13605 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13606 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13607 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13608 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13609 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13610 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13611 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13612 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13613 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13614 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13615 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13616 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13617 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13618 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13619 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13620 * gdb.hp/tools/odump: File deleted.
13621
13622 2015-03-19 Pedro Alves <palves@redhat.com>
13623
13624 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13625 (saw_thread_3): New globals.
13626 (top level): Increment them when an event for the corresponding
13627 thread is seen.
13628 (no thread starvation): New test.
13629
13630 2015-03-19 Pedro Alves <palves@redhat.com>
13631
13632 * gdb.threads/continue-pending-status.c: New file.
13633 * gdb.threads/continue-pending-status.exp: New file.
13634
13635 2015-03-18 Pedro Alves <palves@redhat.com>
13636
13637 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13638 Use gdb_is_target_remote instead of is_remote. Use
13639 gdb_test_multiple instead of gdb_expect. Exit early if
13640 gdb_test_multiple hits its internal matches. Tighten stepi tests
13641 expected output. Fail on exit with any signal, instead of just
13642 SIGILL.
13643
13644 2015-03-18 Yao Qi <yao.qi@linaro.org>
13645
13646 PR tdep/18107
13647 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13648 variable.
13649 * gdb.base/catch-syscall.exp: Don't skip it on
13650 aarch64*-*-linux* target. Remove elements in all_syscalls.
13651 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13652 target.
13653 (setup_all_syscalls): New proc.
13654
13655 2015-03-16 Yao Qi <yao.qi@linaro.org>
13656
13657 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13658 (top level): Skip tests if valid_addr_p returns false for
13659 $cmd1 or $cmd2.
13660
13661 2015-03-11 Andy Wingo <wingo@igalia.com>
13662
13663 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13664
13665 2015-03-11 Yao Qi <yao.qi@linaro.org>
13666
13667 * gdb.base/catch-syscall.exp: Fix typo in comments.
13668
13669 2015-03-11 Yao Qi <yao.qi@linaro.org>
13670
13671 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13672
13673 2015-03-09 Pedro Alves <palves@redhat.com>
13674
13675 * dg-extract-results.py: Delete.
13676
13677 2015-03-09 Pedro Alves <palves@redhat.com>
13678
13679 Merge dg-extract-results.sh from GCC upstream (r218843).
13680
13681 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13682 * dg-extract-results.sh: Use --text with grep to avoid issues with
13683 binary files. Fall back to cat -v, if that doesn't work.
13684
13685 2015-03-05 Pedro Alves <palves@redhat.com>
13686
13687 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13688
13689 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13690
13691 * lib/mi-support.exp (mi_expect_interrupt): Accept
13692 alternative event for when in all-stop mode.
13693
13694 2015-03-04 Pedro Alves <palves@redhat.com>
13695
13696 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13697
13698 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13699
13700 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13701
13702 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13703
13704 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13705 regexps for GDB's current line display, accept a hex address
13706 preceding the line number.
13707
13708 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13709
13710 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13711 the 'arch1' variable for "s390*-linux*" targets.
13712
13713 2015-03-04 Pedro Alves <palves@redhat.com>
13714
13715 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13716 (main): Pass missing retval argument to pthread_join call.
13717
13718 2015-03-02 Pedro Alves <palves@redhat.com>
13719
13720 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13721 (top level): Call do_test with non-stop as well.
13722
13723 2015-03-02 Pedro Alves <palves@redhat.com>
13724
13725 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13726 -1.
13727
13728 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13729
13730 * gdb.arch/s390-vregs.exp: New test.
13731 * gdb.arch/s390-vregs.S: New file.
13732
13733 2015-02-27 Pedro Alves <palves@redhat.com>
13734
13735 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13736 call to catch_command_errors.
13737 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13738 catch_command_errors.
13739
13740 2015-02-27 Pedro Alves <palves@redhat.com>
13741
13742 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13743 "true" for boolean result.
13744 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13745 prototype of main.
13746
13747 2015-02-27 Pedro Alves <palves@redhat.com>
13748
13749 * lib/unbuffer_output.c: New file.
13750 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13751 (main): Call gdb_unbuffer_output.
13752
13753 2015-02-27 Yao Qi <yao.qi@linaro.org>
13754
13755 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13756 target.
13757
13758 2015-02-26 Doug Evans <dje@google.com>
13759
13760 * gdb.cp/class2.cc (Dbase, D): New classes.
13761 (main): New local delta.
13762 * gdb.cp/class2.exp: Test printing delta.
13763 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13764 (dynbar): New global.
13765 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13766
13767 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13768
13769 * gdb.compile/compile-ifunc.c: New file.
13770 * gdb.compile/compile-ifunc.exp: New file.
13771
13772 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13773
13774 * gdb.base/structs.exp: Check for correct struct on finish.
13775
13776 2015-02-26 Yao Qi <yao.qi@linaro.org>
13777
13778 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13779 is zero.
13780
13781 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13782
13783 * gdb.arch/cordic.ko.bz2: New file.
13784 * gdb.arch/cordic.ko.debug.bz2: New file.
13785 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13786
13787 2015-02-25 Yao Qi <yao.qi@linaro.org>
13788
13789 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13790 aarch64*-*-* target.
13791
13792 2015-02-23 Pedro Alves <palves@redhat.com>
13793
13794 * lib/gdb.exp (delete_breakpoints): Rewrite using
13795 gdb_test_multiple.
13796
13797 2015-02-23 Pedro Alves <palves@redhat.com>
13798
13799 * gdb.base/info-os.c: Include stdlib.h.
13800
13801 2015-02-22 Doug Evans <xdje42@gmail.com>
13802
13803 PR symtab/17855
13804 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13805 is read after symbols have been re-read.
13806 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13807 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13808
13809 2015-02-21 Doug Evans <dje@google.com>
13810
13811 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13812
13813 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13814
13815 PR corefiles/17808
13816 * gdb.arch/i386-biarch-core.core.bz2: New file.
13817 * gdb.arch/i386-biarch-core.exp: New file.
13818
13819 2015-02-21 Pedro Alves <palves@redhat.com>
13820
13821 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13822 runto_main fails.
13823
13824 2015-02-20 Pedro Alves <palves@redhat.com>
13825
13826 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13827 info probes.
13828
13829 2015-02-20 Pedro Alves <palves@redhat.com>
13830
13831 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13832
13833 2015-02-20 Pedro Alves <palves@redhat.com>
13834
13835 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13836 clean_restart before gdb_target_supports_trace.
13837
13838 2015-02-20 Pedro Alves <palves@redhat.com>
13839
13840 PR threads/18006
13841 * gdb.threads/clone-thread_db.c: New file.
13842 * gdb.threads/clone-thread_db.exp: New file.
13843
13844 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13845
13846 PR breakpoints/16812
13847 * gdb.base/catch-gdb-caused-signals.c: New file.
13848 * gdb.base/catch-gdb-caused-signals.exp: New file.
13849
13850 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13851
13852 * configure: Regenerated.
13853 * configure.ac: Use GDB_AC_TRANSFORM.
13854 * aclocal.m4: sinclude ../transform.m4.
13855
13856 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13857
13858 * lib/dtrace.exp: New file.
13859 * gdb.base/dtrace-probe.exp: Likewise.
13860 * gdb.base/dtrace-probe.d: Likewise.
13861 * gdb.base/dtrace-probe.c: Likewise.
13862 * lib/pdtrace.in: Likewise.
13863 * configure.ac: Output variables with the transformed names of
13864 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13865 * configure: Regenerated.
13866
13867 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13868
13869 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13870 expected message when trying to access $_probe_* convenience
13871 variables while not on a probe.
13872
13873 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13874
13875 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13876
13877 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13878
13879 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13880 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13881
13882 2015-02-10 Doug Evans <xdje42@gmail.com>
13883
13884 * lib/gdb.exp (gdb_load): Always return a result.
13885
13886 2015-02-10 Pedro Alves <palves@redhat.com>
13887
13888 * gdb.threads/signal-sigtrap.c: New file.
13889 * gdb.threads/signal-sigtrap.exp: New file.
13890
13891 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13892
13893 * gdb.trace/no-attach-trace.c: New file.
13894 * gdb.trace/no-attach-trace.exp: New file.
13895
13896 2015-02-09 Mark Wielaard <mjw@redhat.com>
13897
13898 * gdb.dwarf2/atomic.c: New file.
13899 * gdb.dwarf2/atomic-type.exp: Likewise.
13900
13901 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13902
13903 * gdb.btrace/buffer-size.exp: Update "info record" output.
13904 * gdb.btrace/delta.exp: Update "info record" output.
13905 * gdb.btrace/enable.exp: Update "info record" output.
13906 * gdb.btrace/finish.exp: Update "info record" output.
13907 * gdb.btrace/instruction_history.exp: Update "info record" output.
13908 * gdb.btrace/next.exp: Update "info record" output.
13909 * gdb.btrace/nexti.exp: Update "info record" output.
13910 * gdb.btrace/step.exp: Update "info record" output.
13911 * gdb.btrace/stepi.exp: Update "info record" output.
13912 * gdb.btrace/nohist.exp: Update "info record" output.
13913
13914 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13915
13916 * gdb.btrace/buffer-size: New.
13917
13918 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13919
13920 * gdb.btrace/delta.exp: Update "info record" output.
13921 * gdb.btrace/enable.exp: Update "info record" output.
13922 * gdb.btrace/finish.exp: Update "info record" output.
13923 * gdb.btrace/instruction_history.exp: Update "info record" output.
13924 * gdb.btrace/next.exp: Update "info record" output.
13925 * gdb.btrace/nexti.exp: Update "info record" output.
13926 * gdb.btrace/step.exp: Update "info record" output.
13927 * gdb.btrace/stepi.exp: Update "info record" output.
13928 * gdb.btrace/nohist.exp: Update "info record" output.
13929
13930 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13931
13932 PR gdb/15678
13933 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13934
13935 2015-02-06 Pedro Alves <palves@redhat.com>
13936
13937 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13938 macro.
13939 (seconds_left, again): New globals.
13940 (main): Wait seconds_left in a 1-second sleep loop instead of
13941 sleeping 180 seconds. If 'again' is set, reset the seconds
13942 counter.
13943 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13944 'again' in the inferior before detaching. Print the seconds left.
13945 (options): New global.
13946 (top level): Build program with -DTIMEOUT=$timeout.
13947
13948 2015-02-06 Pedro Alves <palves@redhat.com>
13949
13950 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13951 determine how many seconds to pass to 'alarm'.
13952 * gdb.base/gdb-sigterm.exp (top level): Build program with
13953 -DTIMEOUT=$timeout.
13954 (do_test): Return success/failure indication. Add more verbose
13955 logging. Don't fail if 200 single steps are seen. Instead, fail
13956 when the test times out.
13957 (passes): New global.
13958 (top level): Break the testing loop if testing fails on any
13959 iteration. Use gdb_assert.
13960
13961 2015-02-04 Don Breazeal <donb@codesourcery.com>
13962
13963 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13964 and initialize them.
13965 (ipc_cleanup): New function.
13966 (main): Don't declare shmid, semid, and msqid. Add a call to
13967 atexit so that we call ipc_cleanup on exit.
13968
13969 2015-02-04 Pedro Alves <palves@redhat.com>
13970
13971 * boards/native-extended-gdbserver.exp: Remove any target variant
13972 specifications from the board name before clearing the isremote
13973 flag from board_info.
13974
13975 2015-01-31 Doug Evans <xdje42@gmail.com>
13976
13977 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13978
13979 2015-01-31 Gary Benson <gbenson@redhat.com>
13980
13981 * gdb.base/completion.exp: Disable completion limiting for
13982 existing tests. Add new tests to check completion limiting.
13983 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13984
13985 2015-01-31 Doug Evans <xdje42@gmail.com>
13986
13987 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13988
13989 2015-01-31 Doug Evans <xdje42@gmail.com>
13990
13991 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13992 entries. Duplicate file section script entries.
13993 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13994 inlined entries. Add test for safe-path rejection.
13995 * gdb.python/py-section-script.c: Add duplicate inlined section script
13996 entries. Duplicate file section script entries.
13997 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13998 inlined entries. Add test for safe-path rejection.
13999
14000 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14001
14002 * gdb.ada/disc_arr_bound: New testcase.
14003
14004 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14005
14006 * gdb.ada/mi_var_array: New testcase.
14007
14008 2015-01-27 Doug Evans <dje@google.com>
14009
14010 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14011 Add test for objfile.filename, objfile.username after objfile
14012 has been unloaded.
14013
14014 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14015
14016 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14017 the second test to print the name attribute of value
14018 returned by the call to gdb.lookup_type, and adjust
14019 the expected output accordingly.
14020
14021 2015-01-25 Mark Wielaard <mjw@redhat.com>
14022
14023 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14024 * gdb.base/disp-step-fork.c: Include unistd.h.
14025 * gdb.base/siginfo-obj.c: Include stdio.h.
14026 * gdb.base/siginfo-thread.c: Likewise.
14027 * gdb.mi/non-stop.c: Include unistd.h.
14028 * gdb.mi/nsthrexec.c: Include stdio.h.
14029 * gdb.mi/pthreads.c: Include unistd.h.
14030 * gdb.modula2/unbounded1.c (main): Declare returns int.
14031 * gdb.reverse/consecutive-reverse.c: Likewise.
14032 * gdb.threads/create-fail.c: Include unistd.h.
14033 * gdb.threads/killed.c: Likewise.
14034 * gdb.threads/linux-dp.c: Likewise.
14035 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14036 * gdb.threads/non-ldr-exc-2.c: Likewise.
14037 * gdb.threads/non-ldr-exc-3.c: Likewise.
14038 * gdb.threads/non-ldr-exc-4.c: Likewise.
14039 * gdb.threads/pthreads.c: Include unistd.h.
14040 (main): Declare returns int.
14041 * gdb.threads/tls-main.c (foo): New declaration.
14042 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14043
14044 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14045
14046 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14047 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14048
14049 2015-01-15 Mark Wielaard <mjw@redhat.com>
14050
14051 * gdb.base/noreturn-return.c: New file.
14052 * gdb.base/noreturn-return.exp: New file.
14053 * gdb.base/noreturn-finish.c: New file.
14054 * gdb.base/noreturn-finish.exp: New file.
14055
14056 2015-01-23 Pedro Alves <palves@redhat.com>
14057
14058 * gdb.threads/continue-pending-after-query.c: New file.
14059 * gdb.threads/continue-pending-after-query.exp: New file.
14060
14061 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14062 Simon Marchi <simon.marchi@ericsson.com>
14063
14064 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14065 * gdb.base/valgrind-db-attach.exp: Same.
14066 * gdb.base/valgrind-infcall.exp: Same.
14067 * lib/mi-support.exp (default_mi_gdb_start): Same.
14068 * lib/prompt.exp (default_prompt_gdb_start): Same.
14069 * lib/gdb.exp (default_gdb_spawn): Same.
14070 (gdb_interact): New.
14071
14072
14073 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14074
14075 * gdb.compile/compile.exp (pointer to jit function): New test.
14076
14077 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14078
14079 * lib/gdb.exp (supports_process_record): Return true for
14080 powerpc*-*-linux*.
14081 (supports_reverse): Likewise.
14082
14083 2015-01-15 Don Breazeal <donb@codesourcery.com>
14084
14085 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14086 instead of checking whether the target board is remote and
14087 use spawn_wait_for_attach instead of exec/sleep.
14088 * gdb.base/attach-twice.exp: Likewise.
14089
14090 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14091
14092 * gdb.ada/var_arr_attrs: New testcase.
14093
14094 2015-01-14 Pedro Alves <palves@redhat.com>
14095 Joel Brobecker <brobecker@adacore.com>
14096
14097 PR gdb/17525
14098 * gdb.base/bp-cmds-execution-x-script.c: New file.
14099 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14100 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14101
14102 2015-01-14 Pedro Alves <palves@redhat.com>
14103
14104 PR cli/17828
14105 * gdb.base/batch-preserve-term-settings.c: New file.
14106 * gdb.base/batch-preserve-term-settings.exp: New file.
14107
14108 2015-01-13 Doug Evans <dje@google.com>
14109
14110 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14111 binary.
14112
14113 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14114
14115 * Makefile.in (clean mostlyclean): Do not delete *.py.
14116
14117 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14118
14119 * gdb.python/py-lookup-type.exp: New file.
14120
14121 2015-01-12 Pedro Alves <palves@redhat.com>
14122
14123 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14124 restore GDBFLAGS before returning.
14125
14126 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14127
14128 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14129 is_amd64_regs_target and is_x86_like_target.
14130
14131 2015-01-11 Doug Evans <xdje42@gmail.com>
14132
14133 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14134 is given without an explicit form.
14135 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14136 attributes.
14137 * gdb.dwarf/corrupt.exp: Ditto.
14138 * gdb.dwarf2/enum-type.exp: Ditto.
14139 * gdb.trace/entry-values.exp: Ditto.
14140 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14141
14142 2015-01-11 Doug Evans <xdje42@gmail.com>
14143
14144 PR gdb/15830
14145 * gdb.base/maint.exp: Remove references to "maint demangle".
14146 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14147 Add tests for explicitly specifying language to demangle.
14148 * gdb.dlang/demangle.exp: Ditto.
14149
14150 2015-01-09 Pedro Alves <palves@redhat.com>
14151
14152 * gdb.threads/non-stop-fair-events.c: New file.
14153 * gdb.threads/non-stop-fair-events.exp: New file.
14154
14155 2015-01-09 Pedro Alves <palves@redhat.com>
14156
14157 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14158 the global scope. Set a breakpoint after all threads are started
14159 rather than stepping over two source lines. Expect the prompt.
14160 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14161 global.
14162 (NUM): Now 15.
14163 (main): Use threads_started_barrier to wait for all threads to
14164 start. Main thread no longer calls thread_function. Exit after
14165 180 seconds.
14166 (loop): New function.
14167 (thread_function): Wait on threads_started_barrier barrier. Call
14168 'loop' at each iteration.
14169 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14170 threads have started, instead of hardcoding number of "next"
14171 steps. Use an access watchpoint instead of a write watchpoint.
14172
14173 2015-01-09 Pedro Alves <palves@redhat.com>
14174
14175 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14176 (thread_func): Wait on barrier.
14177 (main): Wait for all threads to start before stopping GDB.
14178 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14179 global.
14180 (thread1_func, thread2_func): Wait on barrier.
14181 (main): Wait for all threads to start before stopping GDB.
14182 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14183 New global.
14184 (thread1_func, thread2_func): Wait on barrier.
14185 (main): Wait for all threads to start before stopping GDB.
14186
14187 2015-01-09 Pedro Alves <palves@redhat.com>
14188
14189 * gdb.threads/attach-many-short-lived-threads.c: New file.
14190 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14191
14192 2014-01-09 Pedro Alves <palves@redhat.com>
14193
14194 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14195 instead of to thread 2.
14196 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14197 Add barrier around each pthread_create call instead of around all
14198 calls.
14199 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14200 Set a break on thread_function and have the child threads hit it
14201 one at at a time.
14202
14203 2015-01-09 Pedro Alves <palves@redhat.com>
14204
14205 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14206 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14207 false.
14208 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14209 checking whether the target board is remote.
14210 * gdb.multi/multi-attach.exp: Likewise.
14211 * gdb.python/py-sync-interp.exp: Likewise.
14212 * gdb.server/ext-attach.exp: Likewise.
14213 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14214 tests that need to attach, instead of checking whether the target
14215 board is remote at the top of the file.
14216
14217 2015-01-08 Yao Qi <yao@codesourcery.com>
14218
14219 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14220
14221 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14222
14223 Fix testcase compilation.
14224 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14225
14226 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14227
14228 * gdb.python/py-type.exp: Add a couple test about empty
14229 array creation, and negative-length array creation.
14230
14231 2015-01-02 Doug Evans <xdje42@gmail.com>
14232
14233 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14234
14235 2015-01-02 Doug Evans <dje@google.com>
14236
14237 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14238
14239 2014-12-29 Yao Qi <yao@codesourcery.com>
14240
14241 * gdb.trace/entry-values.exp: Update comments. Rename variable
14242 bar_call_foo to returned_from_foo.
14243
14244 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14245
14246 PR gdb/17394
14247 * gdb.linespec/break-asm-file.c: New file.
14248 * gdb.linespec/break-asm-file.exp: New file.
14249 * gdb.linespec/break-asm-file0.s: New file.
14250 * gdb.linespec/break-asm-file1.s: New file.
14251
14252 2014-12-18 Nigel Stephens <nigel@mips.com>
14253 Maciej W. Rozycki <macro@codesourcery.com>
14254
14255 * gdb.base/float.exp: Handle the new output from "info float" on
14256 MIPS targets.
14257
14258 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14259
14260 Fix MinGW compilation.
14261 * gdb.compile/compile-ops.exp: Update untested message if
14262 !skip_compile_feature_tests.
14263 * gdb.compile/compile-setjmp.exp: Likewise.
14264 * gdb.compile/compile-tls.exp: Likewise.
14265 * gdb.compile/compile.exp: Likewise.
14266 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14267 supported on this host".
14268
14269 2014-12-16 Doug Evans <xdje42@gmail.com>
14270
14271 * boards/stabs.exp: New file.
14272
14273 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14274
14275 * gdb.base/completion.exp: Adjust to format changes of "maint
14276 print user-registers".
14277
14278 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14279
14280 PR server/17457
14281 * gdb.arch/aarch64-fp.c: New file.
14282 * gdb.arch/aarch64-fp.exp: New file.
14283
14284 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14285
14286 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14287 r210637, r210913, r211666, r215400, r215817).
14288
14289 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14290 * dg-extract-results.py: New file.
14291 * dg-extract-results.sh: Use it if the environment seems
14292 suitable.
14293
14294 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14295
14296 * dg-extract-results.py (parse_run): Handle warnings that
14297 are printed before a test harness is run.
14298
14299 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14300
14301 * dg-extract-results.py (Named): Remove __cmp__ method.
14302 (output_variation): Use a key to sort variation.harnesses.
14303
14304 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14305
14306 * dg-extract-results.py: For Python 3, force sys.stdout to
14307 handle surrogate escape sequences.
14308 (safe_open): New function.
14309 (output_segment, main): Use it.
14310
14311 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14312
14313 * dg-extract-results.py (Prog.result_re): Include options
14314 in test name.
14315
14316 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14317
14318 * dg-extract-results.py (output_variation): Always sort if
14319 do_sum.
14320
14321 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14322
14323 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14324 as long as we get pagination notifications.
14325
14326 2014-12-15 Jason Merrill <jason@redhat.com>
14327
14328 * Makefile.in (check-gdb.%): Restore.
14329 * README: Mention it.
14330
14331 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14332
14333 * gdb.ada/str_uninit: New testcase.
14334
14335 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14336
14337 PR symtab/17642
14338 * gdb.base/vla-stub-define.c: New file.
14339 * gdb.base/vla-stub.c: New file.
14340 * gdb.base/vla-stub.exp: New file.
14341
14342 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14343 Jan Kratochvil <jan.kratochvil@redhat.com>
14344 Tom Tromey <tromey@redhat.com>
14345
14346 * configure.ac: Add gdb.compile/.
14347 * configure: Regenerate.
14348 * gdb.compile/Makefile.in: New file.
14349 * gdb.compile/compile-ops.exp: New file.
14350 * gdb.compile/compile-ops.c: New file.
14351 * gdb.compile/compile-tls.c: New file.
14352 * gdb.compile/compile-tls.exp: New file.
14353 * gdb.compile/compile-constvar.S: New file.
14354 * gdb.compile/compile-constvar.c: New file.
14355 * gdb.compile/compile-mod.c: New file.
14356 * gdb.compile/compile-nodebug.c: New file.
14357 * gdb.compile/compile-setjmp-mod.c: New file.
14358 * gdb.compile/compile-setjmp.c: New file.
14359 * gdb.compile/compile-setjmp.exp: New file.
14360 * gdb.compile/compile-shlib.c: New file.
14361 * gdb.compile/compile.c: New file.
14362 * gdb.compile/compile.exp: New file.
14363 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14364
14365 2014-12-12 Tom Tromey <tromey@redhat.com>
14366
14367 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14368 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14369
14370 2014-12-12 Doug Evans <dje@google.com>
14371
14372 * lib/gdb-python.exp (get_python_valueof): New function.
14373 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14374
14375 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14376
14377 * gdb.base/completion.exp: Add test for completion of "info
14378 registers ".
14379
14380 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14381
14382 * gdb.base/func-ptrs.c: New file.
14383 * gdb.base/func-ptrs.exp: New file.
14384
14385 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14386
14387 PR breakpoints/17012
14388 * gdb.base/dprintf-detach.c: New file.
14389 * gdb.base/dprintf-detach.exp: New file.
14390
14391 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14392
14393 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14394 * lib/gdb.exp (target_is_gdbserver): New procedure.
14395
14396 2014-12-08 Doug Evans <dje@google.com>
14397
14398 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14399
14400 2014-12-05 Yao Qi <yao@codesourcery.com>
14401
14402 * gdb.guile/scm-error.exp: Remove the third argument to
14403 gdb_remote_download.
14404 * gdb.guile/scm-frame-args.exp: Likewise.
14405 * gdb.guile/scm-section-script.exp: Likewise.
14406
14407 2014-12-05 Yao Qi <yao@codesourcery.com>
14408
14409 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14410
14411 2014-12-04 Doug Evans <dje@google.com>
14412
14413 * gdb.python/py-objfile.exp: Add tests for
14414 objfile.add_separate_debug_file.
14415
14416 2014-12-04 Doug Evans <dje@google.com>
14417
14418 * lib/gdb.exp (get_build_id): New function.
14419 (build_id_debug_filename_get): Rewrite to use it.
14420 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14421
14422 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14423
14424 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14425 `method(long)', not just 0x0.
14426 * gdb.cp/nsalias.exp: Align code labels to 4.
14427 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14428 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14429 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14430 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14431 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14432 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14433
14434 2014-12-02 Doug Evans <dje@google.com>
14435
14436 PR symtab/17602
14437 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14438 * gdb.cp/anon-ns2.cc: ... here. New file.
14439 * gdb.cp/anon-ns.exp: Update.
14440
14441 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14442
14443 * gdb.python/py-events.py (inferior_call_handler): New.
14444 (register_changed_handler, memory_changed_handler): New.
14445 (test_events.invoke): Register new handlers.
14446 * gdb.python/py-events.exp: Add tests for inferior call,
14447 memory_changed and register_changed events.
14448
14449 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14450
14451 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14452 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14453 if the linker doesn't understand this.
14454
14455 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14456
14457 * gdb.python/python.exp: Change expected reply to help().
14458
14459 2014-12-01 Yao Qi <yao@codesourcery.com>
14460
14461 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14462 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14463 * configure: Re-generated.
14464
14465 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14466
14467 * gdb.cp/chained-calls.cc: New file.
14468 * gdb.cp/chained-calls.exp: New file.
14469 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14470
14471 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14472
14473 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14474 * gdb.dwarf2/symtab-producer.exp: Same.
14475 * gdb.gdb/python-interrupts.exp: Same.
14476 * gdb.gdb/python-selftest.exp: Same.
14477 * gdb.python/py-linetable.exp: Same.
14478 * gdb.python/py-type.exp: Same.
14479 * gdb.python/py-value-cc.exp: Same.
14480 * gdb.python/py-value.exp: Same.
14481
14482 2014-11-28 Yao Qi <yao@codesourcery.com>
14483
14484 * gdb.base/break-probes.exp: Match library name prefixed with
14485 sysroot.
14486
14487 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14488
14489 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14490 test expected output. Add parentheses for the call to print.
14491 Remove L suffix from integers.
14492
14493 2014-11-26 Doug Evans <dje@google.com>
14494
14495 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14496
14497 2014-11-22 Yao Qi <yao@codesourcery.com>
14498
14499 * gdb.trace/entry-values.c: Remove asms.
14500 (foo): Add foo_label.
14501 (bar): Add bar_label.
14502 * gdb.trace/entry-values.exp: Remove code computing foo's
14503 length and bar's length.
14504 (Dwarf::assemble): Invoke function_range for bar and use
14505 MACRO_AT_func for foo.
14506
14507 2014-11-22 Yao Qi <yao@codesourcery.com>
14508
14509 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14510 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14511 Use .Lgcc43_procstart instead of gcc43.
14512
14513 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14514
14515 * gdb.ada/n_arr_bound: New testcase.
14516
14517 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14518
14519 PR breakpoints/10737
14520 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14521 test_catch_syscall_multi_arch.
14522 (test_catch_syscall_multi_arch): New function.
14523
14524 2014-11-20 Doug Evans <xdje42@gmail.com>
14525
14526 * gdb.base/maint.exp: Update expected output.
14527
14528 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14529
14530 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14531 4-byte instruction on S390.
14532
14533 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14534
14535 * gdb.ada/arr_arr: New testcase.
14536
14537 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14538
14539 * gdb.ada/pkd_arr_elem: New Testcase.
14540
14541 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14542
14543 * gdb.reverse/break-precsave: Expect completion message for
14544 core file reads.
14545 * gdb.reverse/consecutive-precsave.exp: Likewise.
14546 * gdb.reverse/finish-precsave.exp: Likewise.
14547 * gdb.reverse/i386-precsave.exp: Likewise.
14548 * gdb.reverse/machinestate-precsave.exp: Likewise.
14549 * gdb.reverse/sigall-precsave.exp: Likewise.
14550 * gdb.reverse/solib-precsave.exp: Likewise.
14551 * gdb.reverse/step-precsave.exp: Likewise.
14552 * gdb.reverse/until-precsave.exp: Likewise.
14553 * gdb.reverse/watch-precsave.exp: Likewise.
14554
14555 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14556
14557 * gdb.base/bp-permanent.c: Include unistd.h.
14558 * gdb.python/py-framefilter-mi.c (main): Add return type.
14559 * gdb.python/py-framefilter.c (main): Likewise.
14560 * gdb.trace/actions-changed.c (main): Likewise.
14561
14562 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14563
14564 * gdb.mi/until.c: Add eye-catchers.
14565 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14566 line numbers.
14567
14568 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14569
14570 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14571 function header variants in break1.c.
14572 * gdb.base/ena-dis-br.exp: Likewise.
14573 * gdb.base/hbreak2.exp: Likewise.
14574 * gdb.reverse/until-precsave.exp: Drop references to removed
14575 non-prototype function header variants in ur1.c.
14576 * gdb.reverse/until-reverse.exp: Likewise.
14577
14578 2014-11-17 Petr Machata <pmachata@redhat.com>
14579
14580 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14581 ${_cu_offset_size} bytes abbrev offset.
14582
14583 2014-11-15 Doug Evans <xdje42@gmail.com>
14584
14585 PR symtab/17559
14586 * gdb.base/line-symtabs.exp: New file.
14587 * gdb.base/line-symtabs.c: New file.
14588 * gdb.base/line-symtabs.h: New file.
14589
14590 2014-11-14 Yao Qi <yao@codesourcery.com>
14591
14592 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14593 (func): Add label func_label.
14594 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14595 Replace low_pc and high_pc with MACRO_AT_range.
14596 Replace name, low_pc and high_pc with MACRO_AT_func.
14597
14598 2014-11-14 Yao Qi <yao@codesourcery.com>
14599
14600 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14601 Replace name, low_pc and high_pc with MACRO_AT_func.
14602
14603 2014-11-14 Yao Qi <yao@codesourcery.com>
14604
14605 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14606 produce debug information.
14607 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14608
14609 2014-11-14 Yao Qi <yao@codesourcery.com>
14610
14611 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14612 object and get function length.
14613 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14614 with MACRO_AT_func.
14615 (top-level): Replace gdb_compile and clean_restart with
14616 prepare_for_testing.
14617 * gdb.dwarf2/main.c (main): Add label main_label.
14618
14619 2014-11-14 Yao Qi <yao@codesourcery.com>
14620
14621 * lib/dwarf.exp (function_range): New procedure.
14622 (Dwarf::_handle_macro_at_func): New procedure.
14623 (Dwarf::_handle_macro_at_range): New procedure.
14624 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14625
14626 2014-11-14 Yao Qi <yao@codesourcery.com>
14627
14628 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14629 (_handle_attribute): New procedure.
14630
14631 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14632
14633 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14634 * gdb.base/call-sc.c (zed): Likewise.
14635 * gdb.base/checkpoint.c (main): Likewise.
14636 * gdb.base/dump.c (main): Likewise.
14637 * gdb.base/gcore.c (main): Likewise.
14638 * gdb.base/huge.c (main): Likewise.
14639 * gdb.base/multi-forks.c (main): Likewise.
14640 * gdb.base/pr10179-a.c (main): Likewise.
14641 * gdb.base/savedregs.c (main): Likewise.
14642 * gdb.base/sigaltstack.c (main): Likewise.
14643 * gdb.base/siginfo.c (main): Likewise.
14644 * gdb.base/structs.c (zed): Likewise.
14645 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14646 * gdb.mi/mi-syn-frame.c (main): Likewise.
14647 * gdb.mi/until.c (foo, main): Likewise.
14648 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14649 * gdb.base/solib-weak.c (foo): Declare.
14650 * gdb.base/attach-twice.c: Include stdio.h.
14651 * gdb.base/weaklib1.c: Likewise.
14652 * gdb.base/weaklib2.c: Likewise.
14653 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14654 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14655 unistd.h.
14656 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14657 * gdb.mi/mi-exit-code.c: Likewise.
14658 * gdb.base/break-interp-lib.c: Include string.h.
14659 * gdb.base/coremaker.c: Likewise.
14660 * gdb.base/testenv.c: Likewise.
14661 * gdb.python/py-finish-breakpoint.c: Likewise.
14662 * gdb.base/inferior-died.c: Include sys/wait.h.
14663 * gdb.base/fileio.c: Include time.h.
14664 * gdb.base/async-shell.c: Include unistd.h.
14665 * gdb.base/dprintf-non-stop.c: Likewise.
14666 * gdb.base/info-os.c: Likewise.
14667 * gdb.mi/mi-console.c: Likewise.
14668 * gdb.mi/watch-nonstop.c: Likewise.
14669 * gdb.python/py-events.c: Likewise.
14670 * gdb.base/async.c (baz): Move up before its invocation.
14671 * gdb.base/code_elim2.c (my_global_func): Likewise.
14672 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14673 * gdb.base/advance.c (func2): Likewise.
14674
14675 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14676
14677 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14678 variant.
14679 * gdb.base/annota3.c: Likewise.
14680 * gdb.base/async.c: Likewise.
14681 * gdb.base/average.c: Likewise.
14682 * gdb.base/call-ar-st.c: Likewise.
14683 * gdb.base/call-rt-st.c: Likewise.
14684 * gdb.base/call-sc.c: Likewise.
14685 * gdb.base/call-strs.c: Likewise.
14686 * gdb.base/ending-run.c: Likewise.
14687 * gdb.base/execd-prog.c: Likewise.
14688 * gdb.base/exprs.c: Likewise.
14689 * gdb.base/foll-exec.c: Likewise.
14690 * gdb.base/foll-fork.c: Likewise.
14691 * gdb.base/foll-vfork.c: Likewise.
14692 * gdb.base/funcargs.c: Likewise.
14693 * gdb.base/gcore.c: Likewise.
14694 * gdb.base/jump.c: Likewise.
14695 * gdb.base/langs0.c: Likewise.
14696 * gdb.base/langs1.c: Likewise.
14697 * gdb.base/langs2.c: Likewise.
14698 * gdb.base/mips_pro.c: Likewise.
14699 * gdb.base/nodebug.c: Likewise.
14700 * gdb.base/opaque0.c: Likewise.
14701 * gdb.base/opaque1.c: Likewise.
14702 * gdb.base/recurse.c: Likewise.
14703 * gdb.base/run.c: Likewise.
14704 * gdb.base/scope0.c: Likewise.
14705 * gdb.base/scope1.c: Likewise.
14706 * gdb.base/setshow.c: Likewise.
14707 * gdb.base/setvar.c: Likewise.
14708 * gdb.base/shmain.c: Likewise.
14709 * gdb.base/shr1.c: Likewise.
14710 * gdb.base/shr2.c: Likewise.
14711 * gdb.base/sigall.c: Likewise.
14712 * gdb.base/signals.c: Likewise.
14713 * gdb.base/so-indr-cl.c: Likewise.
14714 * gdb.base/solib2.c: Likewise.
14715 * gdb.base/structs.c: Likewise.
14716 * gdb.base/sum.c: Likewise.
14717 * gdb.base/vforked-prog.c: Likewise.
14718 * gdb.base/watchpoint.c: Likewise.
14719 * gdb.reverse/shr2.c: Likewise.
14720 * gdb.reverse/until-reverse.c: Likewise.
14721 * gdb.reverse/ur1.c: Likewise.
14722 * gdb.reverse/watch-reverse.c: Likewise.
14723
14724 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14725
14726 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14727 variant.
14728 * gdb.base/sepdebug.exp: Drop references to removed code.
14729
14730 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14731
14732 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14733 variant. Preserve original line numbering.
14734 * gdb.base/list1.c: Likewise.
14735
14736 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14737
14738 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14739 variant.
14740 * gdb.base/break1.c: Likewise.
14741 * gdb.base/break.exp: Drop references to removed code.
14742
14743 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14744
14745 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14746 variant.
14747
14748 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14749
14750 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14751
14752 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14753
14754 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14755 logic into perform_all_tests() and invoke it with and without
14756 function header prototypes.
14757 (do_function_calls): Remove conditional XFAIL for PR 5318.
14758 (rerun_and_prepare): Remove duplicate code.
14759 (perform_all_tests): New. Main logic moved here.
14760
14761 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14762
14763 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14764 code guarded by #ifdef NO_PROTOTYPES.
14765 (t_double_many_args): Likewise.
14766 (DEF_FUNC_MANY_ARGS_1): Likewise.
14767 (DEF_FUNC_VALUES_1): Likewise.
14768 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14769 guarded by #ifdef PROTOTYPES.
14770
14771 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14772
14773 * gdb.mi/mi-console.c: Add eye-catcher.
14774 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14775 instead of literal line number.
14776
14777 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14778
14779 * gdb.base/shr2.c: Add eye-catcher.
14780 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14781 line number.
14782
14783 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14784
14785 * gdb.base/jump.c: Add eye-catchers.
14786 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14787 numbers.
14788
14789 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14790
14791 * gdb.base/execd-prog.c: Add eye-catchers.
14792 * gdb.base/foll-exec.c: Likewise.
14793 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14794 line numbers.
14795
14796 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14797
14798 * gdb.base/ending-run.c: Add eye-catchers.
14799 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14800 literal line numbers.
14801
14802 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14803
14804 * gdb.base/call-rt-st.c: Add eye-catchers.
14805 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14806 literal line numbers.
14807
14808 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14809
14810 * gdb.base/call-ar-st.c: Add eye-catchers.
14811 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14812 literal line numbers.
14813
14814 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14815
14816 * gdb.base/average.c: Add eye-catchers.
14817 * gdb.base/sum.c: Likewise.
14818 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14819 regexps dynamically.
14820
14821 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14822
14823 * gdb.base/solib1.c: Add eye-catchers.
14824 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14825 literal line numbers.
14826
14827 2014-11-12 Pedro Alves <palves@redhat.com>
14828
14829 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14830 leader has exited.
14831
14832 2014-11-12 Pedro Alves <palves@redhat.com>
14833
14834 * gdb.arch/i386-bp_permanent.c: New file.
14835 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14836 (srcfile): Set to i386-bp_permanent.c.
14837 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14838 that stepi does not execute the 'leave' instruction, instead of
14839 testing it does execute.
14840 * gdb.base/bp-permanent.c: New file.
14841 * gdb.base/bp-permanent.exp: New file.
14842
14843 2014-11-10 Doug Evans <xdje42@gmail.com>
14844
14845 PR symtab/17564
14846 * gdb.base/symtab-search-order.exp: New file.
14847 * gdb.base/symtab-search-order.c: New file.
14848 * gdb.base/symtab-search-order-1.c: New file.
14849 * gdb.base/symtab-search-order-shlib-1.c: New file.
14850
14851 2014-11-07 Pedro Alves <palves@redhat.com>
14852
14853 PR gdb/17511
14854 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14855 i?86-*-linux*.
14856
14857 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14858
14859 PR c++/17494
14860 * gdb.cp/pr17494.cc: New file.
14861 * gdb.cp/pr17494.exp: New file.
14862
14863 2014-11-02 Yao Qi <yao@codesourcery.com>
14864
14865 * gdb.python/python.exp: Get working directory and match the
14866 output of "set extended-prompt \\w " with it.
14867
14868 2014-10-30 Doug Evans <dje@google.com>
14869
14870 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14871 in objfiles.
14872 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14873 in progspaces.
14874
14875 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14876
14877 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14878 * gdb.base/realname-expand.exp: Likewise.
14879 * gdb.linespec/macro-relative.exp: Likewise.
14880
14881 2014-10-29 Pedro Alves <palves@redhat.com>
14882
14883 PR gdb/17408
14884 * gdb.threads/schedlock.c (some_function): New function.
14885 (call_function): New global.
14886 (MAYBE_CALL_SOME_FUNCTION): New macro.
14887 (thread_function): Call it.
14888 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14889 and use it instead of a global counter. Adjust all callers.
14890 (get_current_thread): Use "find current thread" for test message
14891 here rather than having all callers pass down the same string.
14892 (goto_loop): New procedure, factored out from ...
14893 (my_continue): ... this.
14894 (step_ten_loops): Change parameter from test message to command to
14895 use. Adjust.
14896 (list_count): Delete global.
14897 (check_result): New procedure, factored out from duplicate top
14898 level code.
14899 (continue tests): Wrap in with_test_prefix.
14900 (test_step): New procedure, factored out from duplicate top level
14901 code.
14902 (top level): Test "step" in combination with all scheduler-locking
14903 modes. Test "next" in combination with all scheduler-locking
14904 modes, and in combination with stepping over a function call or
14905 not.
14906 * gdb.threads/next-bp-other-thread.c: New file.
14907 * gdb.threads/next-bp-other-thread.exp: New file.
14908
14909 2014-10-29 Pedro Alves <palves@redhat.com>
14910
14911 PR python/17372
14912 * gdb.python/python.exp: Test a multi-line command that spawns
14913 interactive Python.
14914 * gdb.base/multi-line-starts-subshell.exp: New file.
14915
14916 2014-10-29 Yao Qi <yao@codesourcery.com>
14917
14918 * gdb.base/fileio.exp: Make directories on host.
14919
14920 2014-10-29 Yao Qi <yao@codesourcery.com>
14921
14922 * gdb.base/fileio.c (test_write): Close the file.
14923
14924 2014-10-28 Pedro Alves <palves@redhat.com>
14925
14926 PR gdb/12623
14927 * gdb.base/sigstep.c (no_handler): New global.
14928 (main): If 'no_handler is true, set the signal handlers to
14929 SIG_IGN.
14930 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14931 with_sw_watch and no_handler parameters. Handle them.
14932 (top level) <stepping over handler when stopped at a breakpoint
14933 test>: Add a test axis for testing with a software watchpoint, and
14934 another for testing with the signal handler set to SIG_IGN.
14935 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14936 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14937
14938 2014-10-28 Pedro Alves <palves@redhat.com>
14939
14940 PR gdb/17511
14941 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14942 * gdb.base/sigstep.exp (other_handler_location): New global.
14943 (advance): Support stepping into the signal handler, and running
14944 commands while in the handler.
14945 (in_handler_map): New global.
14946 (top level): In the advance test, add combinations for getting
14947 into the handler with stepping commands, and for running commands
14948 in the handler. Add comment descripting the advancei tests.
14949
14950 2014-10-28 Pedro Alves <palves@redhat.com>
14951
14952 * gdb.base/sigstep.exp: Use build_executable instead of
14953 prepare_for_testing.
14954 (top level): Move code that starts GDB, runs to main and creates a
14955 display to ...
14956 (restart): ... this new procedure.
14957 (top level): Move backtrace from signal handler test to ...
14958 (validate_backtrace): ... this new procedure.
14959 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14960 with_test_prefix. Always restart GDB.
14961 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14962 with_test_prefix. Always restart GDB. No need to delete
14963 breakpoints after the test.
14964 (test_skip_handler): Remove prefix parameter.
14965 (skip_over_handler, breakpoint_to_handler)
14966 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14967 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14968 restart GDB. No need to delete breakpoints after the test.
14969 (top level): Use foreach to call the test procedures with
14970 different commands.
14971
14972 2014-10-28 Pedro Alves <palves@redhat.com>
14973
14974 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14975 instead of GNATS numbers.
14976 * gdb.base/sigbpt.exp: Likewise.
14977 * gdb.base/siginfo.exp: Likewise.
14978 * gdb.base/sigstep.exp: Likewise.
14979
14980 2014-10-27 Pedro Alves <palves@redhat.com>
14981
14982 * gdb.base/sigstep.c (dummy): New global.
14983 (main): Issue a couple writes to the new global.
14984 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14985 procedures.
14986 (skip_over_handler): Use test_skip_handler.
14987 (top level): Call skip_over_handler for stepi and nexti too.
14988 (breakpoint_over_handler): Use test_skip_handler.
14989 (top level): Call breakpoint_over_handler for stepi and nexti too.
14990
14991 2014-10-27 Yao Qi <yao@codesourcery.com>
14992
14993 * gdb.trace/tfile.c (adjust_function_address)
14994 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14995 function descriptor.
14996
14997 2014-10-24 Don Breazeal <donb@codesourcery.com>
14998
14999 * gdb.base/foll-fork.exp (test_follow_fork,
15000 catch_fork_child_follow): Check for updated fork messages emitted
15001 from infrun.c.
15002 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15003 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15004 vfork_and_exec_child_follow_through_step): Check for updated vfork
15005 messages emitted from infrun.c.
15006
15007 2014-10-24 Pedro Alves <palves@redhat.com>
15008
15009 * gdb.base/corefile.exp: Remove references to ultrix.
15010 * gdb.base/interrupt.exp: Likewise.
15011 * gdb.base/whatis.exp: Likewise.
15012 * gdb.gdb/selftest.exp: Likewise.
15013 * gdb.threads/manythreads.exp: Likewise.
15014 * gdb.threads/print-threads.exp: Likewise.
15015 * gdb.threads/pthreads.exp:: Likewise.
15016 * gdb.threads/schedlock.exp: Likewise.
15017
15018 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15019
15020 * gdb.cp/non-trivial-retval.cc: Add a test case.
15021 * gdb.cp/non-trivial-retval.exp: Add a test.
15022
15023 2014-10-20 Yao Qi <yao@codesourcery.com>
15024
15025 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15026 * gdb.python/py-objfile-script-gdb.py: New file.
15027 * gdb.python/py-objfile-script.exp: Update reference to
15028 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15029 of remote_download. Remove the dest file.
15030
15031 2014-10-20 Yao Qi <yao@codesourcery.com>
15032
15033 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15034 * gdb.base/step-line.exp: Likewise.
15035 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15036 * gdb.dwarf2/dw2-basic.exp: Likewise.
15037 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15038 * gdb.dwarf2/dw2-filename.exp: Likewise.
15039 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15040 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15041 * gdb.dwarf2/dw2-producer.exp: Likewise.
15042 * gdb.dwarf2/mac-fileno.exp: Likewise.
15043 * gdb.python/py-frame-args.exp: Likewise.
15044 * gdb.python/py-framefilter.exp: Likewise.
15045 * gdb.python/py-mi.exp: Likewise.
15046 * gdb.python/py-objfile-script.exp: Likewise
15047 * gdb.python/py-pp-integral.exp: Likewise.
15048 * gdb.python/py-pp-re-notag.exp: Likewise.
15049 * gdb.python/py-prettyprint.exp: Likewise.
15050 * gdb.python/py-section-script.exp: Likewise.
15051 * gdb.python/py-typeprint.exp: Likewise.
15052 * gdb.python/py-xmethods.exp: Likewise.
15053 * gdb.stabs/weird.exp: Likewise.
15054 * gdb.xml/tdesc-regs.exp: Likewise.
15055
15056 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15057
15058 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15059 (out_cu): Use addr_len for the size of addresses.
15060 (out_line): Likewise. Size DW_LNE_set_address instruction
15061 according to addr_len.
15062 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15063 (FUNC): Add START_INSNS to definition.
15064
15065 2014-10-18 Yao Qi <yao@codesourcery.com>
15066
15067 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15068 gdb_has_argv0 return true.
15069 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15070 check [target_info exists noargs], check [gdb_has_argv0]
15071 instead.
15072 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15073 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15074 procedures.
15075
15076 2014-10-17 Doug Evans <dje@google.com>
15077
15078 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15079 event.
15080 * gdb.python/py-events.py: Add clear_objfiles event.
15081
15082 2014-10-17 Doug Evans <dje@google.com>
15083
15084 * gdb.python/py-objfile.exp: Test progspace attribute.
15085
15086 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15087
15088 * gdb.guile/scm-breakpoint.exp: Do not assume any
15089 directory separators when matching source file paths.
15090 * gdb.python/py-breakpoint.exp: Likewise.
15091 * gdb.reverse/break-precsave.exp: Likewise.
15092 * gdb.reverse/break-reverse.exp: Likewise.
15093 * gdb.reverse/consecutive-precsave.exp: Likewise.
15094 * gdb.reverse/finish-precsave.exp: Likewise.
15095 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15096 * gdb.reverse/finish-reverse.exp: Likewise.
15097 * gdb.reverse/i386-precsave.exp: Likewise.
15098 * gdb.reverse/i387-env-reverse.exp: Likewise.
15099 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15100 * gdb.reverse/machinestate-precsave.exp: Likewise.
15101 * gdb.reverse/machinestate.exp: Likewise.
15102 * gdb.reverse/sigall-precsave.exp: Likewise.
15103 * gdb.reverse/solib-precsave.exp: Likewise.
15104 * gdb.reverse/step-precsave.exp: Likewise.
15105 * gdb.reverse/until-precsave.exp: Likewise.
15106 * gdb.reverse/watch-precsave.exp: Likewise.
15107 * gdb.reverse/watch-reverse.exp: Likewise.
15108
15109 2014-10-17 Yao Qi <yao@codesourcery.com>
15110
15111 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15112 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15113
15114 2014-10-17 Pedro Alves <palves@redhat.com>
15115
15116 PR gdb/17471
15117 * gdb.base/bg-execution-repeat.c: New file.
15118 * gdb.base/bg-execution-repeat.exp: New file.
15119
15120 2014-10-17 Pedro Alves <palves@redhat.com>
15121
15122 PR gdb/17300
15123 * gdb.base/continue-all-already-running.c: New file.
15124 * gdb.base/continue-all-already-running.exp: New file.
15125
15126 2014-10-17 Pedro Alves <palves@redhat.com>
15127
15128 PR gdb/17472
15129 * gdb.base/annota-input-while-running.c: New file.
15130 * gdb.base/annota-input-while-running.exp: New file.
15131
15132 2014-10-17 Pedro Alves <palves@redhat.com>
15133
15134 * gdb.base/callfuncs.exp: emove references to osf.
15135 * gdb.base/sigall.exp: Likewise.
15136 * gdb.gdb/selftest.exp: Likewise.
15137 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15138 * gdb.mi/non-stop.c: Likewise.
15139 * gdb.mi/pthreads.c: Likewise.
15140 * gdb.reverse/sigall-precsave.exp: Likewise.
15141 * gdb.reverse/sigall-reverse.exp: Likewise.
15142 * gdb.threads/pthreads.c: Likewise.
15143 * gdb.threads/pthreads.exp: Likewise.
15144
15145 2014-10-17 Yao Qi <yao@codesourcery.com>
15146
15147 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15148 check 'target_info exists noargs'.
15149 (test_command_prompt_position): Likewise.
15150 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15151 Remove "set args".
15152 (progvar_simple_while_test): Likewise.
15153 (progvar_complex_if_while_test): Likewise.
15154 (if_while_breakpoint_command_test): Likewise.
15155 (infrun_breakpoint_command_test): Likewise.
15156 (breakpoint_command_test): Likewise.
15157 (watchpoint_command_test): Likewise.
15158 (bp_deleted_in_command_test): Likewise.
15159 (temporary_breakpoint_commands): Likewise.
15160
15161 2014-10-16 Yao Qi <yao@codesourcery.com>
15162
15163 * gdb.base/remotetimeout.exp: Remove noargs checking.
15164
15165 2014-10-15 Pedro Alves <palves@redhat.com>
15166
15167 PR breakpoints/9649
15168 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15169 * gdb.base/breakpoint-in-ro-region.exp
15170 (probe_target_hardware_step): New procedure.
15171 (top level): Probe hardware stepping and hardware breakpoint
15172 support. Test stepping through a read-only region, with both
15173 "breakpoint auto-hw" on and off and both "always-inserted" on and
15174 off.
15175
15176 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15177
15178 * gdb.dlang/demangle.exp: Update for demangling changes.
15179
15180 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15181
15182 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15183 * gdb.cp/non-trivial-retval.exp: Add new tests.
15184
15185 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15186
15187 PR c++/13403
15188 PR c++/15154
15189 * gdb.cp/non-trivial-retval.cc: New file.
15190 * gdb.cp/non-trivial-retval.exp: New file.
15191
15192 2014-10-15 Yao Qi <yao@codesourcery.com>
15193
15194 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15195 remote host.
15196
15197 2014-10-15 Yao Qi <yao@codesourcery.com>
15198
15199 * gdb.python/py-symbol.exp: Match file base name if host is
15200 remote, otherwise match file name with dir name.
15201 * gdb.python/py-symtab.exp: Likewise.
15202 * gdb.python/python.exp: Likewise.
15203
15204 2014-10-15 Yao Qi <yao@codesourcery.com>
15205
15206 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15207 pattern.
15208 * gdb.python/py-symtab.exp: Likewise.
15209 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15210 locationn.
15211
15212 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15213
15214 * gdb.ada/addr_arith: New testcase.
15215
15216 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15217
15218 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15219 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15220 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15221 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15222
15223 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15224
15225 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15226 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15227 * gdb.arch/stap-eval-lang-ada.exp: New file.
15228
15229 2014-10-14 Yao Qi <yao@codesourcery.com>
15230
15231 * gdb.mi/mi-var-child.c (nothing1): New function.
15232 (nothing2): New function.
15233 (do_children_tests): Set function pointers by nothing1 and
15234 nothing2.
15235 * gdb.mi/mi-var-child.exp: Step over new added statements.
15236 Update test to match the new output.
15237 * gdb.mi/var-cmd.c (nothing1): New function.
15238 (nothing2): New function.
15239 (do_children_tests): Set function pointers by nothing1 and
15240 nothing2.
15241 * gdb.mi/mi-var-display.exp: Update test to match output.
15242 Step to the line specified by $line_dct_nothing.
15243 Increase the number of lines to step.
15244
15245 2014-10-14 Yao Qi <yao@codesourcery.com>
15246
15247 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15248 tests.
15249 * gdb.mi/mi2-var-child.exp: Likewise.
15250
15251 2014-10-13 Doug Evans <dje@google.com>
15252
15253 * gdb.python/py-objfile.exp: Change name of file name test.
15254
15255 2014-10-13 Doug Evans <dje@google.com>
15256
15257 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15258 from the start of the CU.
15259
15260 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15261 Yao Qi <yao@codesourcery.com>
15262
15263 Fix "save breakpoints" for "catch" command.
15264 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15265 Remove -nonewline. Match also the added "main" line.
15266
15267 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15268
15269 Fix "save breakpoints" for "disable $bpnum" command.
15270 * gdb.base/save-bp.c (main): Add label.
15271 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15272
15273 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15274
15275 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15276
15277 2014-10-11 Yao Qi <yao@codesourcery.com>
15278
15279 * gdb.server/server-kill.exp: Execute command
15280 "set remote trace-status-packet on" before "tstatus".
15281
15282 2014-10-11 Yao Qi <yao@codesourcery.com>
15283
15284 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15285 (main): Call getppid.
15286 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15287 and continue to it. Read variable "server_pid".
15288
15289 2014-10-11 Yao Qi <yao@codesourcery.com>
15290
15291 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15292
15293 2014-10-11 Yao Qi <yao@codesourcery.com>
15294
15295 * gdb.threads/thread-find.exp: Don't execute command
15296 "info threads".
15297 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15298 * gdb.threads/linux-dp.exp: Don't check the condition
15299 $threads_created equals to zero.
15300
15301 2014-10-10 Pedro Alves <palves@redhat.com>
15302
15303 * gdb.base/bigcore.exp: Remove references to IRIX.
15304 * gdb.base/funcargs.exp: Likewise.
15305 * gdb.base/interrupt.exp: Likewise.
15306 * gdb.base/mips_pro.exp: Likewise.
15307 * gdb.base/nodebug.exp: Likewise.
15308 * gdb.base/setvar.exp: Likewise.
15309 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15310
15311 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15312 Pedro Alves <palves@redhat.com>
15313
15314 PR symtab/14466
15315 * gdb.base/vdso-warning.c: New file.
15316 * gdb.base/vdso-warning.exp: New file.
15317
15318 2014-10-02 Doug Evans <dje@google.com>
15319
15320 * gdb.base/structs.c (main): Don't run forever.
15321
15322 2014-10-02 Pedro Alves <palves@redhat.com>
15323
15324 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15325 (top level) <stop threads 1, stop threads 2>: Use it.
15326
15327 2014-10-02 Pedro Alves <palves@redhat.com>
15328
15329 * gdb.threads/break-while-running.exp (test): Add new
15330 'update_thread_list' argument. Skip "info threads" if false.
15331 (top level): Add new 'update_thread_list' axis.
15332
15333 2014-10-02 Pedro Alves <palves@redhat.com>
15334
15335 PR breakpoints/17431
15336 * gdb.base/execl-update-breakpoints.c: New file.
15337 * gdb.base/execl-update-breakpoints.exp: New file.
15338
15339 2014-10-01 Pedro Alves <palves@redhat.com>
15340
15341 * gdb.base/breakpoint-in-ro-region.c: New file.
15342 * gdb.base/breakpoint-in-ro-region.exp: New file.
15343
15344 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15345
15346 * gdb.mi/mi-exit-code.exp: New file.
15347 * gdb.mi/mi-exit-code.c: New file.
15348
15349 2014-09-30 Yao Qi <yao@codesourcery.com>
15350
15351 * lib/prelink-support.exp (build_executable_own_libs): Error if
15352 the target isn't native.
15353
15354 2014-09-30 Yao Qi <yao@codesourcery.com>
15355
15356 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15357 false.
15358
15359 2014-09-22 Pedro Alves <palves@redhat.com>
15360
15361 * gdb.threads/break-while-running.exp: New file.
15362 * gdb.threads/break-while-running.c: New file.
15363
15364 2014-09-19 Yao Qi <yao@codesourcery.com>
15365
15366 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15367 Invoke test. Restart GDB with --readnow and invoke test again.
15368
15369 2014-09-19 Yao Qi <yao@codesourcery.com>
15370
15371 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15372 proc set_breakpoint_on_gcd_function. Invoke
15373 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15374 invoke set_breakpoint_on_gcd_function again.
15375
15376 2014-09-18 Doug Evans <dje@google.com>
15377
15378 * gdb.dwarf2/symtab-producer.exp: New file.
15379
15380 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15381
15382 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15383 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15384 * gdb.base/global-var-nested-by-dso.c: Likewise.
15385 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15386
15387 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15388 Pedro Alves <palves@redhat.com>
15389
15390 * gdb.base/watch-bitfields.exp: Pass string other than test file
15391 name to prepare_for_testing.
15392 (watch): New procedure.
15393 (expect_watchpoint): Use with_test_prefix.
15394 (top level): Factor out tests to ...
15395 (test_watch_location, test_regular_watch): ... these new
15396 procedures, and use with_test_prefix and gdb_continue_to_end.
15397
15398 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15399
15400 PR breakpoints/12526
15401 * gdb.base/watch-bitfields.exp: New file.
15402 * gdb.base/watch-bitfields.c: New file.
15403
15404 2014-09-16 Pedro Alves <palves@redhat.com>
15405
15406 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15407 software and hardware addresses, not software address against
15408 itself.
15409
15410 2014-09-16 Pedro Alves <palves@redhat.com>
15411
15412 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15413 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15414
15415 2014-09-16 Pedro Alves <palves@redhat.com>
15416
15417 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15418 files.
15419 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15420 "*-*-vxworks*" throughout.
15421 * gdb.base/break.exp: Likewise.
15422 * gdb.base/default.exp: Likewise.
15423 * gdb.base/scope.exp: Likewise.
15424 * gdb.base/sepdebug.exp: Likewise.
15425 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15426 throughout.
15427 * gdb.base/run.c: Likewise.
15428 * gdb.base/sepdebug.c: Likewise.
15429 * gdb.hp/gdb.aCC/run.c: Likewise.
15430 * gdb.reverse/until-reverse.c: Likewise.
15431 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15432
15433 2014-09-16 Yao Qi <yao@codesourcery.com>
15434
15435 * boards/local-remote-host-native.exp: New file.
15436
15437 2014-09-14 Doug Evans <xdje42@gmail.com>
15438
15439 * gdb.threads/queue-signal.c (thread_count): New variable.
15440 (thread_count_mutex, thread_count_condvar): New variables.
15441 (incr_thread_count, wait_all_threads_running): New functions.
15442 (main): Wait for all threads to be in their thread functions.
15443
15444 2014-09-13 Doug Evans <xdje42@gmail.com>
15445
15446 * gdb.threads/queue-signal.c: New file.
15447 * gdb.threads/queue-signal.exp: New file.
15448
15449 2014-09-13 Doug Evans <xdje42@gmail.com>
15450
15451 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15452 be consistent with what default_gdb_init uses.
15453 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15454 the plain text of the prompt. Add some logging printfs.
15455 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15456
15457 2014-09-12 Pedro Alves <palves@redhat.com>
15458
15459 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15460 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15461 * gdb.arch/i386-size-overlap.exp: Likewise.
15462 * gdb.arch/i386-size.exp: Likewise.
15463 * gdb.arch/i386-unwind.exp: Likewise.
15464 * gdb.base/a2-run.exp: Likewise.
15465 * gdb.base/break.exp: Likewise.
15466 * gdb.base/charset.exp: Likewise.
15467 * gdb.base/chng-syms.exp: Likewise.
15468 * gdb.base/commands.exp: Likewise.
15469 * gdb.base/dbx.exp: Likewise.
15470 * gdb.base/find.exp: Likewise.
15471 * gdb.base/funcargs.exp: Likewise.
15472 * gdb.base/jit-simple.exp: Likewise.
15473 * gdb.base/reread.exp: Likewise.
15474 * gdb.base/sepdebug.exp: Likewise.
15475 * gdb.base/step-bt.exp: Likewise.
15476 * gdb.cp/mb-inline.exp: Likewise.
15477 * gdb.cp/mb-templates.exp: Likewise.
15478 * gdb.objc/basicclass.exp: Likewise.
15479 * gdb.threads/killed.exp: Likewise.
15480
15481 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15482
15483 PR tdep/17379
15484 * gdb.arch/powerpc-stackless.S: New file.
15485 * gdb.arch/powerpc-stackless.exp: New file.
15486
15487 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15488
15489 * gdb.base/attach.c: Include unistd.h.
15490 (main): Call alarm. Add label postloop.
15491 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15492 gdb_breakpoint, gdb_continue_to_breakpoint.
15493 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15494
15495 2014-09-11 Pedro Alves <palves@redhat.com>
15496
15497 PR gdb/17347
15498 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15499 * gdb.base/attach.exp (test_command_line_attach_run): New
15500 procedure.
15501 (top level): Call it.
15502
15503 2014-09-11 Pedro Alves <palves@redhat.com>
15504
15505 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15506 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15507 (do_command_attach_tests): Use spawn_wait_for_attach.
15508 * gdb.base/solib-overlap.exp: Likewise.
15509 * gdb.multi/multi-attach.exp: Likewise.
15510 * gdb.python/py-prompt.exp: Likewise.
15511 * gdb.python/py-sync-interp.exp: Likewise.
15512 * gdb.server/ext-attach.exp: Likewise.
15513
15514 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15515
15516 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15517 command in testcase. Simplify testcase.
15518
15519 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15520
15521 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15522
15523 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15524
15525 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15526
15527 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15528
15529 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15530
15531 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15532
15533 * gdb.dwarf2/dynarr-ptr.c: New file.
15534 * gdb.dwarf2/dynarr-ptr.exp: New file.
15535
15536 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15537
15538 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15539 of 30 rather than hardcoding 120 for a slow test case. Take the
15540 `gdb,timeout' target setting into account for this calculation.
15541 Don't extend the timeout for the test cases that don't need it.
15542
15543 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15544
15545 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15546 a factor of 2 for a slow test case. Take the `gdb,timeout'
15547 target setting into account for this calculation.
15548 * gdb.reverse/until-precsave.exp: Increase the timeout by
15549 a factor of 15 and 3 respectively rather than adding 120
15550 for a pair of slow test cases. Take the `gdb,timeout'
15551 target setting into account for this calculation.
15552
15553 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15554
15555 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15556 timeout, don't pass one down to gdb_expect.
15557 (gdb_expect): Rework timeout selection.
15558
15559 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15560
15561 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15562 exception on timeout.
15563 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15564 (gdbserver_start_extended): Catch any `gdbserver_start' error
15565 exceptions.
15566 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15567 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15568 `gdbserver_gdb_load' error exceptions.
15569
15570 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15571
15572 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15573 120 on waiting for the TCP socket to open.
15574
15575 2014-09-09 Doug Evans <xdje42@gmail.com>
15576
15577 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15578 _caller_matches, _any_caller_is, _any_caller_matches.
15579
15580 2014-09-09 Doug Evans <xdje42@gmail.com>
15581
15582 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15583
15584 2014-09-09 Yao Qi <yao@codesourcery.com>
15585
15586 * gdb.mi/mi-var-display.exp: Set print symbol off.
15587
15588 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15589
15590 PR gdb/17035
15591 * gdb.base/commands.exp: Add tests to verify user-defined
15592 commands with empty bodies.
15593 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15594 python commands in `show user command`.
15595 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15596 scheme commands in `show user command`.
15597
15598 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15599
15600 PR python/17355
15601 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15602 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15603 * gdb.python/py-framefilter-invalidarg.exp: New file.
15604 * gdb.python/py-framefilter-invalidarg.py: New file.
15605
15606 2014-09-06 Doug Evans <xdje42@gmail.com>
15607
15608 PR 15276
15609 * gdb.python/py-caller-is.c: New file.
15610 * gdb.python/py-caller-is.exp: New file.
15611
15612 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15613
15614 PR gdb/17235
15615 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15616 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15617
15618 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15619
15620 PR fortran/17237
15621 * gdb.fortran/print-formatted.exp: New file.
15622 * gdb.fortran/print-formatted.f90: Likewise.
15623
15624 2014-09-03 Sasha Smundak <asmundak@google.com>
15625
15626 * gdb.python/py-frame.exp: Test Frame.read_register.
15627
15628 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15629
15630 PR python/16699
15631 * gdb.python/py-completion.exp: New file.
15632 * gdb.python/py-completion.py: Likewise.
15633
15634 2014-08-28 Doug Evans <dje@google.com>
15635
15636 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15637 eax,etc. are live with values set by gdb and thus the compiler can't
15638 use them.
15639 * gdb.arch/i386-pseudo.c (main): Ditto.
15640
15641 2014-08-27 Doug Evans <dje@google.com>
15642
15643 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15644
15645 2014-08-25 Doug Evans <dje@google.com>
15646
15647 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15648 (main): Ditto.
15649
15650 2014-08-25 Doug Evans <dje@google.com>
15651
15652 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15653
15654 2014-08-24 Yao Qi <yao@codesourcery.com>
15655
15656 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15657 symbol off.
15658 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15659
15660 2014-08-22 Doug Evans <dje@google.com>
15661
15662 PR 17276
15663 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15664 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15665 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15666
15667 2014-08-22 Yao Qi <yao@codesourcery.com>
15668
15669 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15670 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15671 * gdb.python/python.exp: Likewise. Use .py file on the host
15672 instead of the build.
15673
15674 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15675
15676 * gdb.threads/gcore-stale-thread.c: New file.
15677 * gdb.threads/gcore-stale-thread.exp: New file.
15678
15679 2014-08-21 Pedro Alves <palves@redhat.com>
15680
15681 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15682 * gdb.base/gcore-relro-pie.exp: Likewise.
15683 * gdb.base/gcore-relro.exp: Likewise.
15684 * gdb.base/gcore.exp: Likewise.
15685 * gdb.base/print-symbol-loading.exp: Likewise.
15686 * gdb.threads/gcore-thread.exp: Likewise.
15687 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15688
15689 2014-08-20 Pedro Alves <palves@redhat.com>
15690 Jan Kratochvil <jan.kratochvil@redhat.com>
15691
15692 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15693 configure.
15694 (EXPECT): Handle READ1 being set.
15695 (all): Depend on EXTRA_RULES.
15696 (check-read1, expect-read1, read1.so, read1): New rules.
15697 * README (Testsuite Parameters): Document the READ1 make variable.
15698 (Race detection): New section.
15699 * configure: Regenerate.
15700 * configure.ac: If build==host==target, and running under a
15701 GNU/glibc system, add read1 to the extra Makefile rules.
15702 (EXTRA_RULES): AC_SUBST it.
15703 * lib/read1.c: New file.
15704
15705 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15706
15707 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15708 the handling of variables declared as a typedef to an array
15709 which a DW_AT_data_location attribute.
15710
15711 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15712 Pedro Alves <palves@redhat.com>
15713
15714 PR symtab/14604
15715 PR symtab/14605
15716 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15717 gdb_test.
15718
15719 2014-08-19 Pedro Alves <palves@redhat.com>
15720
15721 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15722
15723 2014-08-19 Yao Qi <yao@codesourcery.com>
15724
15725 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15726 right line.
15727
15728 2014-08-18 David Blaikie <dblaikie@gmail.com>
15729
15730 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15731
15732 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15733
15734 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15735 attribute in array range.
15736
15737 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15738
15739 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15740
15741 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15742
15743 PR c++/17132
15744 * gdb.cp/pr17132.cc: New file.
15745 * gdb.cp/pr17132.exp: New file.
15746
15747 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15748
15749 * gdb.python/py-xmethods.py (A_getarrayind)
15750 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15751 Use 'print' with function call syntax.
15752 (E_method_matcher.match): Fix tab vs space indentation mixup.
15753
15754 2014-08-15 Yao Qi <yao@codesourcery.com>
15755
15756 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15757 false.
15758
15759 2014-08-15 Yao Qi <yao@codesourcery.com>
15760
15761 * gdb.cp/casts.exp: Set print symbol off.
15762 * gdb.cp/class2.exp: Likewise.
15763 * gdb.cp/overload.exp: Likewise.
15764 * gdb.cp/templates.exp: Likewise.
15765
15766 2014-08-11 Doug Evans <dje@google.com>
15767
15768 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15769 (test_load_shlib): Update.
15770
15771 2014-08-09 Yao Qi <yao@codesourcery.com>
15772
15773 * gdb.base/display.exp: Invoke is_address_zero_readable.
15774 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15775 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15776 * gdb.base/hbreak-unmapped.exp: Return if
15777 is_address_zero_readable returns true.
15778 * gdb.base/signest.exp: Likewise.
15779 * gdb.base/signull.exp: Likewise.
15780 * gdb.base/sigbpt.exp: Likewise.
15781 * gdb.guile/scm-disasm.exp: Do the test if
15782 is_address_zero_readable returns false.
15783 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15784 * gdb.python/py-arch.exp: Likewise.
15785 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15786 * lib/gdb.exp (is_address_zero_readable): New proc.
15787
15788 2014-08-09 Yao Qi <yao@codesourcery.com>
15789
15790 PR testsuite/13443
15791 * gdb.mi/mi-var-display.exp: Make test messages unique.
15792
15793 2014-08-04 Tom Tromey <tromey@redhat.com>
15794
15795 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15796 target 0".
15797
15798 2014-08-04 Tom Tromey <tromey@redhat.com>
15799
15800 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15801 "target_resume".
15802
15803 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15804
15805 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15806 inner_vla_struct_object_size.
15807 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15808 as xfail.
15809
15810 2014-07-30 Pedro Alves <palves@redhat.com>
15811
15812 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15813 comment.
15814
15815 2014-07-29 Yao Qi <yao@codesourcery.com>
15816
15817 PR gdb/17206
15818 * gdb.base/until-nodebug.exp: New.
15819
15820 2014-07-28 Doug Evans <xdje42@gmail.com>
15821
15822 PR guile/17203
15823 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15824 previously existing parameter, and previously ambiguously spelled
15825 parameter.
15826
15827 2014-07-28 Will Newton <will.newton@linaro.org>
15828
15829 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15830
15831 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15832 Doug Evans <xdje42@gmail.com>
15833
15834 PR guile/17146
15835 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15836
15837 2014-07-25 Pedro Alves <palves@redhat.com>
15838
15839 * gdb.threads/signal-command-handle-nopass.c: New file.
15840 * gdb.threads/signal-command-handle-nopass.exp: New file.
15841 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15842 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15843 * gdb.threads/signal-delivered-right-thread.c: New file.
15844 * gdb.threads/signal-delivered-right-thread.exp: New file.
15845
15846 2014-07-25 Pedro Alves <palves@redhat.com>
15847
15848 * gdb.base/double-prompt-target-event-error.exp
15849 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15850 match.
15851 (cancel_pagination_in_target_event): Rework double prompt
15852 detection.
15853 * gdb.base/paginate-after-ctrl-c-running.exp
15854 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15855 <return>' match.
15856 * gdb.base/paginate-bg-execution.exp
15857 (test_bg_execution_pagination_return)
15858 (test_bg_execution_pagination_cancel): Remove '-notransfer
15859 <return>' matches.
15860 * gdb.base/paginate-execution-startup.exp
15861 (test_fg_execution_pagination_return)
15862 (test_fg_execution_pagination_cancel): Remove '-notransfer
15863 <return>' matches.
15864 * gdb.base/paginate-inferior-exit.exp
15865 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15866 match.
15867 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15868 * lib/gdb.exp (pagination_prompt): Run text through
15869 string_to_regexp.
15870 (gdb_test_multiple): Match $pagination_prompt instead of
15871 "<return>".
15872 (string_to_regexp): Move to lib/gdb-utils.exp.
15873
15874 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15875
15876 * gdb.arch/amd64-entry-value-paramref.S: New file.
15877 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15878 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15879 * gdb.arch/amd64-optimout-repeat.S: New file.
15880 * gdb.arch/amd64-optimout-repeat.c: New file.
15881 * gdb.arch/amd64-optimout-repeat.exp: New file.
15882
15883 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15884
15885 PR gdb/17170
15886 * gdb.base/statistics.exp: New file.
15887
15888 2014-07-17 Doug Evans <dje@google.com>
15889
15890 PR gdb/17170
15891 * gdb.base/maint.exp: Update testing of per-command stats.
15892
15893 2014-07-16 Pedro Alves <palves@redhat.com>
15894
15895 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15896 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15897 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15898 (tfile_write_buf): New functions.
15899 (add_memory_block): Rewrite using the above.
15900 (adjust_function_address): New function.
15901 (FUNCTION_ADDRESS): New macro.
15902 (write_basic_trace_file): Remove short_x local, and use
15903 tfile_write_16. Change type of func_addr local to unsigned long
15904 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15905 here. Cast argument of add_memory_block to char pointer.
15906 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15907 (main): Remove parameters.
15908 * gdb.trace/tfile.exp: Remove nowarnings.
15909
15910 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15911
15912 * gdb.base/debug-expr.exp: Test string evaluation with
15913 "debug expression" on.
15914
15915 2014-07-15 Pedro Alves <palves@redhat.com>
15916
15917 * gdb.base/reread.exp: Use clean_restart.
15918
15919 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15920
15921 * gdb.arch/avr-flash-qualifer.c: New.
15922 * gdb.arch/avr-flash-qualifer.exp: New.
15923
15924 2014-07-14 Pedro Alves <palves@redhat.com>
15925
15926 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15927 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15928
15929 2014-07-14 Pedro Alves <palves@redhat.com>
15930
15931 * gdb.base/double-prompt-target-event-error.c: New file.
15932 * gdb.base/double-prompt-target-event-error.exp: New file.
15933
15934 2014-07-14 Pedro Alves <palves@redhat.com>
15935
15936 PR gdb/17072
15937 * gdb.base/paginate-inferior-exit.c: New file.
15938 * gdb.base/paginate-inferior-exit.exp: New file.
15939
15940 2014-07-14 Pedro Alves <palves@redhat.com>
15941
15942 PR gdb/17072
15943 * gdb.base/paginate-bg-execution.c: New file.
15944 * gdb.base/paginate-bg-execution.exp: New file.
15945
15946 2014-07-14 Pedro Alves <palves@redhat.com>
15947
15948 PR gdb/17072
15949 * gdb.base/paginate-execution-startup.c: New file.
15950 * gdb.base/paginate-execution-startup.exp: New file.
15951 * lib/gdb.exp (pagination_prompt): New global.
15952 (default_gdb_spawn): New procedure, factored out from
15953 default_gdb_spawn.
15954 (default_gdb_start): Adjust to call default_gdb_spawn.
15955 (gdb_spawn): New procedure.
15956
15957 2014-07-14 Pedro Alves <palves@redhat.com>
15958
15959 * lib/gdb.exp (gdb_assert): New procedure.
15960 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15961
15962 2014-07-14 Pedro Alves <palves@redhat.com>
15963
15964 * gdb.base/execution-termios.c: New file.
15965 * gdb.base/execution-termios.exp: New file.
15966
15967 2014-07-14 Tom Tromey <tromey@redhat.com>
15968
15969 * gdb.cp/vla-cxx.cc: New file.
15970 * gdb.cp/vla-cxx.exp: New file.
15971
15972 2014-07-14 Tom Tromey <tromey@redhat.com>
15973
15974 * gdb.reverse/rerun-prec.c: New file.
15975 * gdb.reverse/rerun-prec.exp: New file.
15976
15977 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15978 Maciej W. Rozycki <macro@codesourcery.com>
15979
15980 * lib/gdb-utils.exp: New file.
15981 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15982 inline `gdb_init_command' processing.
15983 (gdb_start_cmd): Likewise.
15984 * lib/mi-support.exp (mi_run_cmd): Likewise.
15985 * README: Document `gdb_init_command' and `gdb_init_commands'.
15986
15987 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15988
15989 Fix false FAIL running under a very long directory name.
15990 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15991 and "set print elements 10000". Twice.
15992
15993 2014-07-11 Yao Qi <yao@codesourcery.com>
15994
15995 * gdb.base/exprs.exp: "set print symbol off".
15996
15997 2014-07-11 Pedro Alves <palves@redhat.com>
15998
15999 * gdb.threads/kill.c: New file.
16000 * gdb.threads/kill.exp: New file.
16001
16002 2014-07-10 Yao Qi <yao@codesourcery.com>
16003
16004 * gdb.trace/tfile.c (write_basic_trace_file)
16005 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16006 address written to trace file.
16007
16008 2014-07-09 Pedro Alves <palves@redhat.com>
16009
16010 * gdb.base/attach-wait-input.exp: New file.
16011 * gdb.base/attach-wait-input.c: New file.
16012
16013 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16014
16015 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16016 setting up test structures.
16017 (main): Call new test function.
16018 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16019 test function, continue into test function and walk test
16020 structures.
16021
16022 2014-07-02 Yao Qi <yao@codesourcery.com>
16023
16024 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16025 'bar_start' at the beginning of functions 'foo' and 'bar'
16026 respectively.
16027 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16028 instead of 'foo' and 'bar'.
16029
16030 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16031
16032 * gdb.btrace/segv.exp: New.
16033 * gdb.btrace/segv.c: New.
16034
16035 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16036
16037 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16038 instruction.
16039
16040 2014-06-30 Mark Wielaard <mjw@redhat.com>
16041
16042 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16043 vulture, vilify, villar): New volatile array constants.
16044 (vindictive, vegetation): New const volatile array constants.
16045 * gdb.base/volatile.exp: Test volatile and const volatile array
16046 types.
16047
16048 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16049
16050 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16051 target lacks support for awatch, rwatch, or hbreak.
16052
16053 2014-06-27 Yao Qi <yao@codesourcery.com>
16054
16055 * gdb.multi/dummy-frame-restore.exp: New.
16056 * gdb.multi/dummy-frame-restore.c: New.
16057
16058 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16059
16060 * gdb.btrace/gcore.exp: New.
16061
16062 2014-06-23 Pedro Alves <palves@redhat.com>
16063
16064 * gdb.base/watchpoint-reuse-slot.c: New file.
16065 * gdb.base/watchpoint-reuse-slot.exp: New file.
16066
16067 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16068
16069 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16070 progspace's filename in 'info', 'enable' and 'disable' command
16071 tests.
16072
16073 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16074
16075 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16076 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16077 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16078
16079 2014-06-20 Gary Benson <gbenson@redhat.com>
16080
16081 * gdb.arch/i386-avx.exp: Fix include file location.
16082 * gdb.arch/i386-sse.exp: Likewise.
16083
16084 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16085
16086 * gdb.dlang/expression.exp: New file.
16087
16088 2014-06-19 Pedro Alves <palves@redhat.com>
16089
16090 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16091 out from ...
16092 (top level): ... here. Iterate running tests under different
16093 scheduler-locking settings.
16094
16095 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16096
16097 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16098 to DW_FORM_addr and use non-zero addresses.
16099
16100 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16101
16102 PR gdb/17017
16103 * gdb.python/py-xmethods.cc: Add global function call counters and
16104 increment them in their respective functions. Remove "cout"
16105 statements.
16106 * gdb.python/py-xmethods.exp: Make tests check the global function
16107 call counters instead of depending on inferior IO.
16108
16109 2014-06-18 Don Breazeal <donb@codesourcery.com>
16110
16111 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16112 Deleted procedure.
16113 (explicit_fork_parent_follow): Deleted procedure.
16114 (explicit_fork_child_follow): Deleted procedure.
16115 (test_follow_fork): New procedure.
16116 (do_fork_tests): Replace calls to deleted procedures with
16117 calls to test_follow_fork and reset GDB for subsequent
16118 procedure calls.
16119
16120 2014-06-17 Yao Qi <yao@codesourcery.com>
16121
16122 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16123 CP1252.
16124
16125 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16126
16127 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16128 Initialize ptr and S explicitly.
16129 (skip_type_update_when_not_use_rtti_test): Likewise.
16130
16131 2014-06-16 Keith Seitz <keiths@redhat.com>
16132
16133 PR mi/15863
16134 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16135 the inferior is started.
16136
16137 2014-06-16 Pedro Alves <palves@redhat.com>
16138
16139 * gdb.base/break-main-file-remove-fail.c: New file.
16140 * gdb.base/break-main-file-remove-fail.exp: New file.
16141 * gdb.base/break-unload-file.exp: Use build_executable instead of
16142 prepare_for_testing.
16143 (test_break): New parameter "initial_load". Handle it.
16144 (top level): Add initial_load cmdline/file axis.
16145
16146 2014-06-12 Tom Tromey <tromey@redhat.com>
16147
16148 * gdb.base/completion.exp: Don't use directory name in test.
16149
16150 2014-06-09 Gary Benson <gbenson@redhat.com>
16151
16152 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16153 separate the always-available ANSI-standard signals from the
16154 signals that require checking.
16155 (main): Likewise.
16156 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16157 Likewise.
16158 (main): Likewise.
16159
16160 2014-06-07 Keith Seitz <keiths@redhat.com>
16161
16162 Revert:
16163 PR c++/16253
16164 * gdb.cp/var-tag.cc: New file.
16165 * gdb.cp/var-tag.exp: New file.
16166 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16167 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16168 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16169 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16170
16171 2014-06-06 Doug Evans <xdje42@gmail.com>
16172
16173 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16174
16175 2014-06-06 Pedro Alves <palves@redhat.com>
16176
16177 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16178 in target debug output instead of looking at RSP packets,
16179 disabling the test on any target that uses hardware stepping.
16180 Update comments.
16181
16182 2014-06-06 Pedro Alves <palves@redhat.com>
16183
16184 * gdb.base/break-unload-file.exp: Fix typo.
16185
16186 2014-06-06 Yao Qi <yao@codesourcery.com>
16187
16188 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16189 from "jit_function" to "^jit_function".
16190
16191 2014-06-06 Yao Qi <yao@codesourcery.com>
16192
16193 * gdb.base/async.c (foo): Add one statement.
16194 * gdb.base/async.exp: Get the next instruction address and
16195 match the output of "nexti" by instruction address. Match
16196 the hex address in the output of "finish".
16197
16198 2014-06-06 Gary Benson <gbenson@redhat.com>
16199
16200 * gdb.base/call-signals.c: Remove preprocessor conditionals
16201 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16202 SIGSEGV and SIGTERM.
16203 * gdb.base/sigall.c: Likewise.
16204 * gdb.base/unwindonsignal.c: Likewise.
16205 * gdb.reverse/sigall-reverse.c: Likewise.
16206
16207 2014-06-06 Yao Qi <yao@codesourcery.com>
16208
16209 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16210 readable, skip the test.
16211
16212 2014-06-06 Yao Qi <yao@codesourcery.com>
16213
16214 * gdb.threads/staticthreads.c (thread_function): Move the line
16215 setting breakpoint on forward.
16216 * gdb.threads/staticthreads.exp: Update comments.
16217
16218 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16219
16220 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16221 "history-append! type error".
16222
16223 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16224
16225 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16226 erroneous dprintf expected input.
16227
16228 2014-06-04 Doug Evans <xdje42@gmail.com>
16229
16230 * gdb.guile/scm-generics.exp: Delete.
16231
16232 2014-06-04 Doug Evans <xdje42@gmail.com>
16233
16234 * gdb.guile/scm-breakpoint.exp: Update.
16235 Add tests for breakpoint registration.
16236
16237 2014-06-04 Tom Tromey <tromey@redhat.com>
16238
16239 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16240 VLA-in-union.
16241 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16242 inner_vla_struct, vla_union types. Initialize objects of those
16243 types and compute their sizes.
16244
16245 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16246 Hui Zhu <hui@codesourcery.com>
16247
16248 * gdb.base/fileio.exp: Add test for shell not available as well as
16249 available.
16250 * gdb.base/fileio.c (test_system): Check for shell twice.
16251
16252 2014-06-04 Yao Qi <yao@codesourcery.com>
16253
16254 * gdb.base/auto-connect-native-target.exp: Remove redundant
16255 space from the regexp pattern.
16256
16257 2014-06-04 Yao Qi <yao@codesourcery.com>
16258
16259 * gdb.base/default.exp: Replace "child" with "native" in
16260 regexp pattern.
16261
16262 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16263
16264 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16265 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16266 * gdb.python/py-xmethods.py: Python script supporting the
16267 new testcase and tests.
16268
16269 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16270 Pedro Alves <palves@redhat.com>
16271
16272 PR breakpoints/17000
16273 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16274 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16275
16276 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16277
16278 * gdb.base/subst.exp: Add tests to verify partial path matching
16279 output.
16280
16281 2014-06-03 Pedro Alves <palves@redhat.com>
16282
16283 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16284 target that doesn't use software single-stepping.
16285
16286 2014-06-03 Pedro Alves <palves@redhat.com>
16287
16288 PR breakpoints/17000
16289 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16290 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16291
16292 2014-06-02 Doug Evans <xdje42@gmail.com>
16293
16294 * gdb.guile/scm-parameter.exp: New file.
16295
16296 2014-06-02 Doug Evans <xdje42@gmail.com>
16297
16298 * gdb.guile/scm-cmd.c: New file.
16299 * gdb.guile/scm-cmd.exp: New file.
16300
16301 2014-06-02 Doug Evans <xdje42@gmail.com>
16302
16303 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16304 pretty-printer lookup.
16305 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16306 (make-pp_s-printer): Call it.
16307 (make-pretty-printer-from-dict): New function.
16308 (lookup-pretty-printer-maker-from-dict): New function.
16309 (*pretty-printer*): Simplify.
16310 (make-objfile-pp_s-printer): New function.
16311 (install-objfile-pretty-printers!): New function.
16312 (make-progspace-pp_s-printer): New function.
16313 (install-progspace-pretty-printers!): New function.
16314 * gdb.guile/scm-progspace.c: New file.
16315 * gdb.guile/scm-progspace.exp: New file.
16316
16317 2014-06-02 Pedro Alves <palves@redhat.com>
16318
16319 * gdb.base/dprintf-bp-same-addr.c: New file.
16320 * gdb.base/dprintf-bp-same-addr.exp: New file.
16321
16322 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16323
16324 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16325 * gdb.arch/powerpc-power.s: Likewise.
16326
16327 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16328
16329 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16330
16331 2014-06-01 Yao Qi <yao@codesourcery.com>
16332
16333 * gdb.base/watchpoint.exp (test_watch_location): Check null
16334 pointer can be dereferenced. If not, do the test, otherwise
16335 skip it.
16336
16337 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16338
16339 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16340 results.
16341 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16342
16343 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16344
16345 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16346 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16347 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16348 * gdb.arch/amd64-invalid-stack-top.c: New file.
16349 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16350
16351 2014-05-30 Pedro Alves <palves@redhat.com>
16352
16353 PR breakpoints/17000
16354 * gdb.base/sss-bp-on-user-bp.c: New file.
16355 * gdb.base/sss-bp-on-user-bp.exp: New file.
16356
16357 2014-05-30 David Blaikie <dblaikie@gmail.com>
16358
16359 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16360 gnu_inline semantics via attribute.
16361 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16362 source explicitly specifies the required semantics.
16363
16364 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16365
16366 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16367
16368 2014-05-29 Pedro Alves <palves@redhat.com>
16369 Tom Tromey <tromey@redhat.com>
16370
16371 * gdb.base/async-shell.exp: Don't enable target-async.
16372 * gdb.base/async.exp
16373 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16374 parameter. Adjust.
16375 (top level): Don't test with "target-async".
16376 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16377 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16378 * gdb.base/inferior-died.exp: Don't enable target-async.
16379 * gdb.base/interrupt-noterm.exp: Likewise.
16380 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16381 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16382 * gdb.mi/mi-nonstop.exp: Likewise.
16383 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16384 * gdb.mi/mi-nsintrall.exp: Likewise.
16385 * gdb.mi/mi-nsmoribund.exp: Likewise.
16386 * gdb.mi/mi-nsthrexec.exp: Likewise.
16387 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16388 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16389 * gdb.python/py-evsignal.exp: Don't enable target-async.
16390 * gdb.python/py-evthreads.exp: Likewise.
16391 * gdb.python/py-prompt.exp: Likewise.
16392 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16393 * gdb.server/solib-list.exp: Don't enable target-async.
16394 * gdb.threads/thread-specific-bp.exp: Likewise.
16395 * lib/mi-support.exp: Adjust to use mi-async.
16396
16397 2014-05-29 Pedro Alves <palves@redhat.com>
16398
16399 PR gdb/13860
16400 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16401 reason, even in sync mode.
16402
16403 2014-05-29 Pedro Alves <palves@redhat.com>
16404 Hui Zhu <hui@codesourcery.com>
16405
16406 PR PR15693
16407 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16408 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16409 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16410 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16411
16412 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16413
16414 * config/monitor.exp (gdb_target_monitor): Replace use of
16415 "set remotebaud" by "set serial baud".
16416
16417 2014-05-26 Andy Wingo <wingo@igalia.com>
16418
16419 * gdb.guile/scm-breakpoint.exp:
16420 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16421 properties instead of gdb-object-properties.
16422
16423 2014-05-26 Yao Qi <yao@codesourcery.com>
16424
16425 * gdb.server/no-thread-db.exp: Specify source file name
16426 explicitly when setting a breakpoint.
16427
16428 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16429
16430 * gdb.btrace/vdso.c: New.
16431 * gdb.btrace/vdso.exp: New.
16432
16433 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16434
16435 * gdb.base/gcore.exp (capture_command_output): Move ...
16436 * lib/gdb.exp (capture_command_output): ... here.
16437
16438 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16439
16440 * gdb.btrace/data.exp: Test memory access during btrace replay.
16441
16442 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16443
16444 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16445
16446 2014-05-21 Pedro Alves <palves@redhat.com>
16447
16448 PR gdb/13860
16449 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16450 (top level): Test that output related to execution commands is
16451 sent to the console with CLI commands, but not with MI commands.
16452 Test that breakpoint events are always mirrored to the console.
16453 Also expect the new source line to be output after a "next" in
16454 async mode too. Make it a pass/fail test.
16455 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16456 output.
16457 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16458
16459 2014-05-21 Pedro Alves <palves@redhat.com>
16460
16461 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16462 Use them to test variations of "list" after reaching a breakpoint.
16463 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16464 Test "list" with listsize 10 after reaching a breakpoint.
16465 * gdb.python/python.exp (decode_line current location line
16466 number): Adjust expected line number.
16467
16468 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16469
16470 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16471 behavior for $args, pass it directly to "run".
16472
16473 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16474
16475 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16476 30000 to 65536.
16477
16478 2014-05-21 Pedro Alves <palves@redhat.com>
16479
16480 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16481 auto-connect-native-target off".
16482 * gdb.base/auto-connect-native-target.c: New file.
16483 * gdb.base/auto-connect-native-target.exp: New file.
16484
16485 2014-05-21 Pedro Alves <palves@redhat.com>
16486
16487 * gdb.base/default.exp: Test "target native" instead of "target
16488 child".
16489
16490 2014-05-21 Mark Wielaard <mjw@redhat.com>
16491
16492 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16493
16494 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16495
16496 Fix TLS access for -static -pthread.
16497 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16498 <HAVE_TLS> (thread_function, main): Initialize it.
16499 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16500 Add clean_restart.
16501 <$have_tls != "">: Check TLSVAR.
16502
16503 2014-05-21 Pedro Alves <palves@redhat.com>
16504
16505 * gdb.base/dcache-line-read-error.c: New.
16506 * gdb.base/dcache-line-read-error.exp: New.
16507
16508 2014-05-20 Pedro Alves <palves@redhat.com>
16509
16510 * gdb.base/compare-sections.c: New file.
16511 * gdb.base/compare-sections.exp: New file.
16512
16513 2014-05-20 Pedro Alves <palves@redhat.com>
16514
16515 * gdb.base/break-idempotent.c: New file.
16516 * gdb.base/break-idempotent.exp: New file.
16517
16518 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16519
16520 * gdb.btrace/nohist.exp: New.
16521
16522 2014-05-20 Yao Qi <yao@codesourcery.com>
16523
16524 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16525 gdb.reverse directory and gdb_reverse_timeout exists in board
16526 setting.
16527 * README: Document gdb_reverse_timeout.
16528
16529 2014-05-20 Yao Qi <yao@codesourcery.com>
16530
16531 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16532 'test_file_name'. Treat args as a string instead of a list.
16533 (gdb_init): Rename argument 'args' by 'test_file_name'.
16534
16535 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16536
16537 * gdb.arch/powerpc-power.exp: New file.
16538 * gdb.arch/powerpc-power.s: New file.
16539
16540 2014-05-16 Doug Evans <dje@google.com>
16541
16542 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16543 * gdb.base/completion.exp: Check that all expected files exist
16544 before doing file completion.
16545
16546 2014-05-16 Doug Evans <dje@google.com>
16547
16548 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16549 Update.
16550 (do_syscall_tests_without_xml): Update.
16551
16552 2014-05-16 Pedro Alves <palves@redhat.com>
16553
16554 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16555 instead of "unknown output after running".
16556
16557 2014-05-16 Yao Qi <yao@codesourcery.com>
16558
16559 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16560 file1.txt from host at the end.
16561 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16562
16563 2014-05-15 Doug Evans <dje@google.com>
16564
16565 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16566 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16567 loading file. Add test for TU lookup.
16568
16569 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16570
16571 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16572 calling "-exec-arguments" or "set args" before running the
16573 inferior.
16574
16575 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16576
16577 * lib/mi-support.exp (mi_expect_stop): Expect message for
16578 inferiors that exit with non-zero exit code.
16579
16580 2014-05-14 Yao Qi <yao@codesourcery.com>
16581
16582 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16583 match absolute path on remote host.
16584 (test_file_list_exec_source_files): Remove "/" from the
16585 pattern.
16586
16587 2014-05-14 Yao Qi <yao@codesourcery.com>
16588
16589 * boards/local-remote-host-notty.exp (${board}_file): New
16590 proc.
16591
16592 2014-05-07 Kyle McMartin <kyle@redhat.com>
16593
16594 Pushed by Joel Brobecker <brobecker@adacore.com>.
16595 * gdb.arch/aarch64-atomic-inst.c: New file.
16596 * gdb.arch/aarch64-atomic-inst.exp: New file.
16597
16598 2014-05-07 Yao Qi <yao@codesourcery.com>
16599
16600 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16601 in current context" too.
16602
16603 2014-05-05 Keith Seitz <keiths@redhat.com>
16604
16605 * gdb.linespec/ls-dollar.exp: Add test for linespec
16606 file:convenience_variable.
16607
16608 2014-05-05 Yao Qi <yao@codesourcery.com>
16609
16610 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16611 traceframes into tfile and ctf trace files. Read data from
16612 trace file and test collected data.
16613 (gdb_collect_locals_test): Likewise.
16614 (gdb_unavailable_registers_test): Likewise.
16615 (gdb_unavailable_floats): Likewise.
16616 (gdb_collect_globals_test): Likewise.
16617 (top-level): Append "ctf" to trace_file_targets if GDB
16618 supports.
16619
16620 2014-05-05 Yao Qi <yao@codesourcery.com>
16621
16622 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16623 code to ...
16624 (gdb_collect_args_test_1): ... it. New proc.
16625 (gdb_collect_locals_test): Move some code to ...
16626 (gdb_collect_locals_test_1): ... it. New proc.
16627 (gdb_unavailable_registers_test): Move some code to ...
16628 (gdb_unavailable_registers_test_1): ... it. New proc.
16629 (gdb_unavailable_floats): Move some code to ...
16630 (gdb_unavailable_floats_1): ... it. New proc.
16631
16632 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16633
16634 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16635 probes to test for bitness recognition.
16636 * gdb.arch/amd64-stap-optional-prefix.exp
16637 (test_probe_value_without_reg): New procedure.
16638 Add code to test for different kinds of bitness.
16639
16640 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16641
16642 PR breakpoints/16889
16643 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16644 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16645
16646 2014-05-01 Pedro Alves <palves@redhat.com>
16647
16648 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16649 gdb_file_cmd if no file is specified.
16650 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16651 last_loaded_file to set the remote exec-file.
16652
16653 2014-05-01 Pedro Alves <palves@redhat.com>
16654
16655 * boards/local-remote-host.exp: New file.
16656
16657 2014-05-01 Pedro Alves <palves@redhat.com>
16658
16659 * boards/local-remote-host.exp: Rename to ...
16660 * boards/local-remote-host-notty.exp: ... this.
16661
16662 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16663
16664 * gdb.ada/dyn_arrayidx: New testcase.
16665
16666 2014-04-26 Yao Qi <yao@codesourcery.com>
16667
16668 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16669 and compute the length of function main. Save it in
16670 $main_length.
16671 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16672 (top-level): Use gdb_compile to compile objects into
16673 executable and restart GDB. Remove invocation to
16674 prepare_for_testing.
16675
16676 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16677 Pedro Alves <palves@redhat.com>
16678
16679 PR server/16255
16680 * gdb.multi/multi-attach.c: New file.
16681 * gdb.multi/multi-attach.exp: New file.
16682
16683 2014-04-25 Pedro Alves <palves@redhat.com>
16684
16685 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16686 user.
16687 (top level): Test that "set remote conditional-breakpoints-packet
16688 off" works as intended.
16689 * gdb.base/dprintf.exp: Test that "set remote
16690 breakpoint-commands-packet off" works as intended.
16691 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16692 New function.
16693 (top level): Call it.
16694 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16695 remote fast-tracepoints-packet off" works as intended.
16696 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16697 * lib/gdb.exp (gdb_is_target_remote): ... here.
16698
16699 2014-04-24 David Blaikie <dblaikie@gmail.com>
16700
16701 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16702 ensure clang would not discard them.
16703 * gdb.base/gdbvars.c: Ditto.
16704 * gdb.base/memattr.c: Ditto.
16705 * gdb.base/whatis.c: Ditto.
16706 * gdb.python/py-prettyprint.c: Ditto.
16707 * gdb.trace/actions.c: Ditto.
16708 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16709 ensure clang would not discard it.
16710
16711 2014-04-24 David Blaikie <dblaikie@gmail.com>
16712
16713 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16714 clang to emit the full definition of type required by the test
16715 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16716
16717 2014-04-24 David Blaikie <dblaikie@gmail.com>
16718
16719 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16720 coax Clang into emitting the definition of the type.
16721 * gdb.cp/pr10728-x.h (y): Ditto.
16722 * gdb.cp/pr10728-y.cc (y): Ditto.
16723
16724 2014-04-24 David Blaikie <dblaikie@gmail.com>
16725
16726 * gdb.base/label.exp: XFAIL label related tests under Clang.
16727 * gdb.cp/cplabel.exp: Ditto.
16728 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16729 under Clang those using labels.
16730
16731 2014-04-25 Yao Qi <yao@codesourcery.com>
16732
16733 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16734 double_label.
16735 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16736 partial_label and double_label.
16737
16738 2014-04-24 David Blaikie <dblaikie@gmail.com>
16739
16740 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16741
16742 2014-04-24 David Blaikie <dblaikie@gmail.com>
16743
16744 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16745 of the function to work across GCC and Clang.
16746 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16747 pointer types (const void ** const V void **).
16748
16749 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16750 Walfred Tedeschi <walfred.tedeschi@intel.com>
16751
16752 * Makefile.in (EXECUTABLES): Added i386-avx512.
16753 * gdb.arch/i386-avx512.c: New file.
16754 * gdb.arch/i386-avx512.exp: Likewise.
16755
16756 2014-04-23 Keith Seitz <keiths@redhat.com>
16757
16758 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16759 (mi_make_breakpoint_table): New procedure.
16760 (mi_create_breakpoint): Use mi_make_breakpoint
16761 and return the result.
16762 (mi_make_breakpoint): New procedure.
16763 (mi_build_kv_pairs): New procedure.
16764
16765 * gdb.mi/mi-break.exp: Remove unused globals,
16766 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16767 All callers updated.
16768 * gdb.mi/mi-dprintf.exp: Use variable to track command
16769 number.
16770 Update all callers of mi_create_breakpoint and use
16771 mi_make_breakpoint_table.
16772 Remove any unused global variables.
16773 * gdb.mi/mi-nonstop.exp: Likewise.
16774 * gdb.mi/mi-nsintrall.exp: Likewise.
16775 * gdb.mi/mi-nsmoribund.exp: Likewise.
16776 * gdb.mi/mi-nsthrexec.exp: Likewise.
16777 * gdb.mi/mi-reverse.exp: Likewise.
16778 * gdb.mi/mi-simplerun.exp: Likewise.
16779 * gdb.mi/mi-stepn.exp: Likewise.
16780 * gdb.mi/mi-syn-frame.exp: Likewise.
16781 * gdb.mi/mi-until.exp: Likewise.
16782 * gdb.mi/mi-var-cp.exp: Likewise.
16783 * gdb.mi/mi-var-display.exp: Likewise.
16784 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16785 * gdb.mi/mi2-var-child.exp: Likewise.
16786 * gdb.mi/mi-vla-c99.exp: Likewise.
16787 * lib/mi-support.exp: Likewise.
16788
16789 From Ian Lance Taylor <iant@cygnus.com>:
16790 * lib/gdb.exp (parse_args): New procedure.
16791
16792 2014-04-23 Pedro Alves <palves@redhat.com>
16793
16794 * gdb.base/break-unload-file.c: New file.
16795 * gdb.base/break-unload-file.exp: New file.
16796 * gdb.base/sym-file-lib.c (baz): New function.
16797 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16798 field.
16799 (load): Store the segment's mapped size.
16800 (unload): New function.
16801 (unload_shlib): New function.
16802 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16803 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16804 set a breakpoint at baz, and call it.
16805 * gdb.base/sym-file.exp: New tests for stale breakpoint
16806 instructions.
16807
16808 2014-04-23 Pedro Alves <palves@redhat.com>
16809
16810 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16811 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16812 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16813 * gdb.base/hbreak-unmapped.c: New file.
16814 * gdb.base/hbreak-unmapped.exp: New file.
16815 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16816 * lib/gdb.exp (gdb_is_target_remote): ... here.
16817
16818 2014-04-22 Pedro Alves <palves@redhat.com>
16819
16820 * gdb.base/consecutive-step-over.c: New file.
16821 * gdb.base/consecutive-step-over.exp: New file.
16822
16823 2014-04-22 Pedro Alves <palves@redhat.com>
16824
16825 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16826 instead of send_gdb/gdb_expect.
16827
16828 2014-04-22 Yao Qi <yao@codesourcery.com>
16829
16830 * lib/trace-support.exp (generate_tracefile): New procedure.
16831 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16832 return 0.
16833 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16834 if generate_tracefile returns 1.
16835
16836 2014-04-18 Tom Tromey <palves@redhat.com>
16837 Pedro alves <tromey@redhat.com>
16838
16839 PR backtrace/15558
16840 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16841 with a backtrace limit.
16842 * gdb.python/py-frame-inline.exp: Test running to an inline
16843 function with a backtrace limit, and printing the newest frame.
16844 * gdb.python/py-frame-inline.c (main): Call f.
16845
16846 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16847
16848 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16849
16850 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16851
16852 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16853 Drop prefix from unsupported source file path.
16854
16855 2014-04-17 Yao Qi <yao@codesourcery.com>
16856
16857 * lib/gdb.exp (with_target_charset): New proc.
16858 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16859 with_target_charset.
16860 (test_print_strings): Likewise.
16861 (test_repeat_bytes): Likewise.
16862 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16863 for some tests.
16864
16865 2014-04-16 Keith Seitz <keiths@redhat.com>
16866
16867 PR gdb/15827
16868 * gdb.dwarf2/corrupt.c: New file.
16869 * gdb.dwarf2/corrupt.exp: New file.
16870
16871 2014-04-16 Keith Seitz <keiths@redhat.com>
16872
16873 PR c++/16597
16874 * gdb.cp/namelessclass.cc: New file.
16875 * gdb.cp/namelessclass.exp: New file.
16876 * gdb.cp/namelessclass.S: New file.
16877
16878 2014-04-16 Doug Evans <dje@google.com>
16879
16880 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16881 Add comment.
16882 (gdbserver_default_get_comm_port): New function.
16883 (gdbserver_start): Check if board file provided
16884 "gdbserver,get_comm_port" and use it if so.
16885 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16886 (gdb,socketport): Set to "stdio".
16887 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16888 (stdio_gdbserver_template): Delete.
16889 (${board}_get_remote_address): Update.
16890 (${board}_build_remote_cmd): Delete.
16891 (${board}_get_comm_port): New function.
16892 (${board}_spawn): Update.
16893 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16894 Delete.
16895 (${board}_get_remote_address): Update.
16896 (${board}_get_comm_port): New function.
16897
16898 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16899
16900 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16901 appearing in any order.
16902
16903 2014-04-15 Doug Evans <dje@google.com>
16904
16905 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16906 uninitialized value of "description".
16907
16908 2014-04-15 Keith Seitz <keiths@redhat.com>
16909
16910 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16911 Remove unused globals.
16912 (test_running_the_program): Likewise.
16913 (test_controlled_execution): Likewise.
16914 (test_controlling_breakpoints): Likewise.
16915 (test_program_termination): Likewise.
16916
16917 2014-04-15 Keith Seitz <keiths@redhat.com>
16918
16919 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16920 unused globals.
16921 (test_rbreak_creation_and_listing): Likewise.
16922 (test_ignore_count): Likewise.
16923 (test_error): Likewise.
16924
16925 2014-04-15 Pedro Alves <palves@redhat.com>
16926
16927 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16928 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16929 sym-file-loader.c.
16930 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16931 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16932 to sym-file-loader.c.
16933 (struct library): Forward declare.
16934 (load_shlib, lookup_function): Change prototypes.
16935 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16936 (translate_offset): Remove declarations.
16937 (get_text_addr): New declaration.
16938 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16939 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16940 sym-file-loader.h.
16941 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16942 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16943 here from sym-file-loader.h.
16944 (struct library): New structure.
16945 (load_shlib, lookup_function): Change prototypes and adjust to
16946 work with a struct library.
16947 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16948 (translate_offset): Make static.
16949 (get_text_addr): New function.
16950 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16951
16952 2014-04-15 Pedro Alves <palves@redhat.com>
16953
16954 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16955
16956 2014-04-15 Pedro Alves <palves@redhat.com>
16957
16958 * gdb.base/sym-file-loader.c: Include <limits.h>.
16959 (SELF_LINK): New define.
16960 (get_origin): New function.
16961 (load_shlib): Use it.
16962 * gdb.base/sym-file.exp: Don't early return if the target is
16963 remote. Use runto_main, and issue fail is that fails. Use
16964 gdb_load_shlibs.
16965 (shlib_name): Delete.
16966 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16967
16968 2014-04-15 Pedro Alves <palves@redhat.com>
16969
16970 * gdb.base/sym-file.exp: Remove regex characters from test
16971 message. Don't refer to breakpoint numbers in test messages.
16972
16973 2014-04-14 Keith Seitz <keiths@redhat.com>
16974
16975 PR c++/16253
16976 * gdb.cp/var-tag.cc: New file.
16977 * gdb.cp/var-tag.exp: New file.
16978 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16979 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16980 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16981 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16982
16983 2014-04-14 Tom Tromey <tromey@redhat.com>
16984
16985 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16986 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16987 type.
16988 * gdb.cp/enum-class.exp: New file.
16989 * gdb.cp/enum-class.cc: New file.
16990
16991 2014-04-14 Tom Tromey <tromey@redhat.com>
16992
16993 * gdb.dwarf2/enum-type.exp: New file.
16994
16995 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16996
16997 * gdb.mi/mi-vla-c99.exp: New file.
16998 * gdb.mi/vla.c: New file.
16999
17000 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17001
17002 * gdb.base/vla-datatypes.c: New file.
17003 * gdb.base/vla-datatypes.exp: New file.
17004
17005 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17006
17007 * gdb.base/vla-ptr.c: New file.
17008 * gdb.base/vla-ptr.exp: New file.
17009
17010 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17011
17012 * gdb.dwarf2/count.exp: New file.
17013
17014 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17015
17016 * gdb.base/vla-sideeffect.c: New file.
17017 * gdb.base/vla-sideeffect.exp: New file.
17018
17019 2014-04-14 David Blaikie <dblaikie@gmail.com>
17020
17021 * gdb.mi/non-stop.c: Add return value for non-void function return
17022 statement.
17023 * gdb.threads/staticthreads.c: Ditto.
17024
17025 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17026 Doug Evans <xdje42@gmail.com>
17027
17028 * gdb.guile/scm-value.c: Improve test case.
17029 * gdb.guile/scm-value.exp: Add new test.
17030
17031 2014-04-11 David Blaikie <dblaikie@gmail.com>
17032
17033 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17034 override Clang's default.
17035
17036 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17037
17038 Revert the following changes (regressions):
17039
17040 * gdb.base/vla-sideeffect.c: New file.
17041 * gdb.base/vla-sideeffect.exp: New file.
17042
17043 * gdb.dwarf2/count.exp: New file.
17044
17045 * gdb.base/vla-multi.c: New file.
17046 * gdb.base/vla-multi.exp: New file.
17047
17048 * gdb.base/vla-ptr.c: New file.
17049 * gdb.base/vla-ptr.exp: New file.
17050
17051 * gdb.base/vla-datatypes.c: New file.
17052 * gdb.base/vla-datatypes.exp: New file.
17053
17054 * gdb.mi/mi-vla-c99.exp: New file.
17055 * gdb.mi/vla.c: New file.
17056
17057 2014-04-11 Keith Seitz <keiths@redhat.com>
17058
17059 PR c++/16675
17060 * gdb.cp/cpsizeof.exp: New file.
17061 * gdb.cp/cpsizeof.cc: New file.
17062
17063 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17064
17065 * gdb.mi/mi-vla-c99.exp: New file.
17066 * gdb.mi/vla.c: New file.
17067
17068 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17069
17070 * gdb.base/vla-datatypes.c: New file.
17071 * gdb.base/vla-datatypes.exp: New file.
17072
17073 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17074
17075 * gdb.base/vla-ptr.c: New file.
17076 * gdb.base/vla-ptr.exp: New file.
17077
17078 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17079
17080 * gdb.base/vla-multi.c: New file.
17081 * gdb.base/vla-multi.exp: New file.
17082
17083 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17084
17085 * gdb.dwarf2/count.exp: New file.
17086
17087 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17088
17089 * gdb.base/vla-sideeffect.c: New file.
17090 * gdb.base/vla-sideeffect.exp: New file.
17091
17092 2014-04-11 Yao Qi <yao@codesourcery.com>
17093
17094 * gdb.base/completion.exp: Check file exists before running tests
17095 on file completion.
17096
17097 2014-04-10 Pedro Alves <palves@redhat.com>
17098
17099 * gdb.base/cond-eval-mode.c: New file.
17100 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17101 prepare_for_testing to build the new file. Check result of
17102 runto_main.
17103 (test_break, test_watch): New procedures.
17104 (top level): Use them.
17105
17106 2014-04-08 Pierre Muller <muller@sourceware.org>
17107
17108 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17109 Ctrl-V use for mingw hosts.
17110
17111 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17112
17113 * gdb.python/py-value.c: Improve test case.
17114 * gdb.python/py-value.exp: Add new test.
17115
17116 2014-04-07 David Blaikie <dblaikie@gmail.com>
17117
17118 * lib/compiler.c: Identify the clang compiler.
17119 * lib/compiler.cc: Ditto.
17120
17121 2014-04-03 Yao Qi <yao@codesourcery.com>
17122
17123 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17124
17125 2014-04-01 Anton Blanchard <anton@samba.org>
17126
17127 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17128 messages unique.
17129
17130 2014-04-01 Anton Blanchard <anton@samba.org>
17131
17132 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17133 prepare_for_testing.
17134
17135 2014-04-01 Anton Blanchard <anton@samba.org>
17136
17137 * gdb.arch/ppc64-atomic-inst.c: Remove.
17138 * gdb.arch/ppc64-atomic-inst.S: New file.
17139 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17140
17141 2014-03-31 Doug Evans <dje@google.com>
17142
17143 * gdb.base/print-symbol-loading-lib.c: New file.
17144 * gdb.base/print-symbol-loading-main.c: New file.
17145 * gdb.base/print-symbol-loading.exp: New file.
17146
17147 2014-03-31 Yao Qi <yao@codesourcery.com>
17148
17149 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17150
17151 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17152
17153 * gdb.ada/mi_dyn_arr: New testcase.
17154
17155 2014-03-27 Doug Evans <dje@google.com>
17156
17157 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17158
17159 2014-03-27 Yao Qi <yao@codesourcery.com>
17160
17161 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17162 if target is nios2-*-*.
17163
17164 2014-03-26 Yao Qi <yao@codesourcery.com>
17165
17166 * lib/gdb.exp (readline_is_used): New proc.
17167 * gdb.base/completion.exp: Move tests on command complete up.
17168 Skip the rest of tests if readline is not used.
17169 * gdb.ada/complete.exp: Skp the test if readline is not
17170 used.
17171 * gdb.base/filesym.exp: Likewise.
17172 * gdb.base/macscp.exp: Likewise.
17173 * gdb.base/readline-ask.exp: Likewise.
17174 * gdb.base/readline.exp: Likewise.
17175 * gdb.python/py-cmd.exp: Likewise.
17176 * gdb.trace/tfile.exp: Likewise.
17177
17178 2014-03-26 Yao Qi <yao@codesourcery.com>
17179
17180 * gdb.base/macscp.exp: Fix code format issues.
17181
17182 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17183
17184 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17185 * gdb.asm/powerpc64le.inc: New file.
17186
17187 2014-03-25 Pedro Alves <palves@redhat.com>
17188 Doug Evans <dje@google.com>
17189
17190 * gdb.base/source-execution.c: New file.
17191 * gdb.base/source-execution.exp: New file.
17192 * gdb.base/source-execution.gdb: New file.
17193
17194 2014-03-24 Doug Evans <dje@google.com>
17195
17196 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17197 using fission.
17198
17199 2014-03-24 Hui Zhu <hui@codesourcery.com>
17200 Pedro Alves <palves@redhat.com>
17201
17202 PR breakpoints/16101
17203 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17204 test pass/fail messages. Detect missing support for dprintf when
17205 breakpoints are actually inserted.
17206 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17207 breakpoints are actually inserted.
17208 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17209 fails.
17210
17211 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17212
17213 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17214
17215 2014-03-22 Doug Evans <xdje42@gmail.com>
17216
17217 * gdb.python/python.exp (python not supported): Verify multi-line
17218 python command issues an error.
17219 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17220 guile command issues an error.
17221
17222 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17223
17224 * gdb.threads/thread-specific.exp: Handle the lack of usable
17225 $this_breakpoint and $this_thread.
17226
17227 2014-03-21 Hui Zhu <hui@codesourcery.com>
17228
17229 * gdb.base/attach.exp (do_command_attach_tests): New.
17230
17231 2014-03-20 Tom Tromey <tromey@redhat.com>
17232 Pedro Alves <palves@redhat.com>
17233
17234 PR cli/15718
17235 * gdb.base/condbreak-call-false.c: New file.
17236 * gdb.base/condbreak-call-false.exp: New file.
17237
17238 2014-03-20 Pedro Alves <palves@redhat.com>
17239
17240 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17241 Delete.
17242 (block_signals, unblock_signals): Delete.
17243 (child_function_2, main): Remove references to deleted variable
17244 and functions.
17245
17246 2014-03-20 Pedro Alves <palves@redhat.com>
17247
17248 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17249 Use pthread_kill to signal thread 2.
17250 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17251 Adjust to make the test send itself a signal rather than using the
17252 host's "kill" command.
17253
17254 2014-03-20 Pedro Alves <palves@redhat.com>
17255
17256 * gdb.threads/multiple-step-overs.c: New file.
17257 * gdb.threads/multiple-step-overs.exp: New file.
17258 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17259 Adjust expected infrun debug output.
17260
17261 2014-03-20 Pedro Alves <palves@redhat.com>
17262
17263 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17264 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17265
17266 2014-03-20 Pedro Alves <palves@redhat.com>
17267
17268 PR breakpoints/7143
17269 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17270 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17271 of gdb_test_multiple.
17272 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17273 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17274
17275 2014-03-20 Pedro Alves <palves@redhat.com>
17276
17277 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17278 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17279
17280 2014-03-19 Pedro Alves <palves@redhat.com>
17281
17282 * gdb.base/async.exp: Remove early return.
17283
17284 2014-03-19 Pedro Alves <palves@redhat.com>
17285
17286 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17287
17288 2014-03-19 Pedro Alves <palves@redhat.com>
17289
17290 * gdb.base/async.exp (test_background): Expect \r\n after
17291 "completed." in the fail pattern.
17292
17293 2014-03-19 Pedro Alves <palves@redhat.com>
17294
17295 * gdb.base/async.exp (test_background): New procedure.
17296 Use it for all background execution command tests.
17297
17298 2014-03-19 Pedro Alves <palves@redhat.com>
17299
17300 * gdb.base/async.exp: Use prepare_for_testing.
17301
17302 2014-03-19 Pedro Alves <palves@redhat.com>
17303
17304 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17305 the same line.
17306
17307 2014-03-19 Pedro Alves <palves@redhat.com>
17308
17309 * gdb.base/async.c (main): Add "jump here" and "until here" line
17310 marker comments.
17311 * gdb.base/async.exp (jump_here): New global.
17312 (jump& test): Use it.
17313 (until_here): New global.
17314 (until& test): Use it.
17315
17316 2014-03-19 Pedro Alves <palves@redhat.com>
17317
17318 * gdb.base/async.exp: Don't frob gdb_protocol.
17319
17320 2014-03-18 Doug Evans <xdje42@gmail.com>
17321
17322 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17323 Fix spelling of exec-done-display.
17324
17325 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17326
17327 PR gdb/15358
17328 * gdb.base/gdb-sigterm.c: New file.
17329 * gdb.base/gdb-sigterm.exp: New file.
17330
17331 2014-03-18 Pedro Alves <palves@redhat.com>
17332
17333 PR gdb/13860
17334 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17335 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17336 solib-event.
17337
17338 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17339
17340 * gdb.ada/pckd_arr_ren: New testcase.
17341
17342 2014-03-13 Doug Evans <xdje42@gmail.com>
17343
17344 PR guile/16612
17345 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17346 collect after discarding symbols.
17347
17348 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17349 Doug Evans <xdje42@gmail.com>
17350
17351 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17352 to history survives a gc.
17353
17354 2014-03-13 Pedro Alves <palves@redhat.com>
17355
17356 * gdb.base/default.exp: Don't test "target procfs".
17357
17358 2014-03-13 Pedro Alves <palves@redhat.com>
17359
17360 * gdb.base/default.exp: Update "target child" and "target procfs"
17361 tests to not expect "Unix".
17362
17363 2014-03-12 Tom Tromey <tromey@redhat.com>
17364
17365 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17366 New procs. Add target-async tests.
17367 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17368 Add target-async tests.
17369
17370 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17371
17372 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17373 'func_start' and 'func_end' for the beginning and end of the
17374 function code, respectively.
17375 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17376 'func_end' instead of 'func' and 'main'.
17377
17378 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17379
17380 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17381 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17382 generate the debug info assembler source.
17383
17384 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17385
17386 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17387 * gdb.dwarf2/arr-subrange.exp: Likewise.
17388 * gdb.dwarf2/dwz.exp: Likewise.
17389 * gdb.dwarf2/method-ptr.exp: Likewise.
17390 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17391 * gdb.dwarf2/subrange.exp: Likewise.
17392 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17393 * gdb.dwarf2/implptrpiece.exp: Likewise.
17394 * gdb.dwarf2/nostaticblock.exp: Likewise.
17395
17396 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17397
17398 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17399 directory to absolute path name arguments.
17400
17401 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17402
17403 * gdb.ada/tagged_access: New testcase.
17404
17405 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17406
17407 * gdb.btrace/data.exp: Update expected output.
17408
17409 2014-03-06 Yao Qi <yao@codesourcery.com>
17410
17411 * gdb.trace/pr16508.exp: New file.
17412
17413 2014-03-05 Pedro Alves <palves@redhat.com>
17414
17415 PR gdb/16575
17416 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17417 procedure.
17418 (top level): Adjust to use it. Add tests that exercise breakpoint
17419 interaction with the code-cache.
17420
17421 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17422
17423 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17424 test for 'history-append!'.
17425
17426 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17427
17428 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17429 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17430 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17431 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17432 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17433 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17434
17435 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17436
17437 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17438 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17439 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17440
17441 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17442
17443 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17444
17445 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17446
17447 * gdb.dwarf2/arr-stride.c: New file.
17448 * gdb.dwarf2/arr-stride.exp: New file.
17449
17450 2014-02-26 Pedro Alves <palves@redhat.com>
17451
17452 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17453 that won't ever trigger. Make sure that GDB reports the correct
17454 breakpoint that caused the stop.
17455
17456 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17457
17458 PR gdb/16626
17459 * gdb.base/auto-load-script: New file.
17460 * gdb.base/auto-load.c: New file.
17461 * gdb.base/auto-load.exp: New file.
17462
17463 PR gdb/16626
17464 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17465
17466 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17467
17468 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17469 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17470
17471 2014-02-24 Doug Evans <dje@google.com>
17472
17473 * lib/gdb.exp (run_on_host): Log error output if program fails.
17474
17475 2014-02-21 Pedro Alves <palves@redhat.com>
17476
17477 * gdb.threads/step-after-sr-lock.c: Rename to ...
17478 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17479 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17480 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17481 ... this.
17482
17483 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17484
17485 PR tdep/16397
17486 * gdb.arch/amd64-stap-special-operands.exp: New file.
17487 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17488 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17489 * gdb.arch/amd64-stap-triplet.S: Likewise.
17490 * gdb.arch/amd64-stap-triplet.c: Likewise.
17491
17492 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17493
17494 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17495 in .section pseudo-op.
17496
17497 2014-02-20 lin zuojian <manjian2006@gmail.com>
17498 Joel Brobecker <brobecker@adacore.com>
17499 Doug Evans <xdje42@gmail.com>
17500
17501 PR symtab/16581
17502 * gdb.dwarf2/dw2-icycle.S: New file.
17503 * gdb.dwarf2/dw2-icycle.c: New file.
17504 * gdb.dwarf2/dw2-icycle.exp: New file.
17505
17506 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17507
17508 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17509 operations on gdb.Value objects.
17510 * gdb.python/py-value-cc.exp: Add new test to test operations on
17511 gdb.Value objects.
17512
17513 2014-02-18 Doug Evans <dje@google.com>
17514
17515 * Makefile.in (TESTS): New variable.
17516 (expanded_tests, expanded_tests_or_none): New variables
17517 (check-single): Pass $(expanded_tests_or_none) to runtest.
17518 (check-parallel): Only run tests in $(TESTS) if non-empty.
17519 (check/no-matching-tests-found): New rule.
17520 * README: Document TESTS makefile variable.
17521
17522 2014-02-18 Doug Evans <dje@google.com>
17523
17524 * Makefile.in (check-parallel): rm -rf outputs temp.
17525
17526 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17527
17528 Fix "ERROR: no fileid for" in the testsuite.
17529 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17530
17531 2014-02-12 Doug Evans <dje@google.com>
17532
17533 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17534 (MISCELLANEOUS): New variable.
17535 (clean): rm -rf $(MISCELLANEOUS).
17536 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17537 dwp live in the same directory as symlinks, with each symlink pointed
17538 to a differently named file in a different directory.
17539
17540 2014-02-11 Doug Evans <dje@google.com>
17541
17542 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17543 of Tcl file commands.
17544
17545 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17546
17547 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17548 "kill -SIGUSR1 -1".
17549
17550 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17551
17552 * gdb.ada/tick_length_array_enum_idx: New testcase.
17553
17554 2014-02-10 Doug Evans <xdje42@gmail.com>
17555
17556 * configure.ac (AC_OUTPUT): Add gdb.guile.
17557 * configure: Regenerate.
17558 * lib/gdb-guile.exp: New file.
17559 * lib/gdb.exp (get_target_charset): New function.
17560 * gdb.base/help.exp: Update expected output from "apropos apropos".
17561 * gdb.guile/Makefile.in: New file.
17562 * gdb.guile/guile.exp: New file.
17563 * gdb.guile/scm-arch.c: New file.
17564 * gdb.guile/scm-arch.exp: New file.
17565 * gdb.guile/scm-block.c: New file.
17566 * gdb.guile/scm-block.exp: New file.
17567 * gdb.guile/scm-breakpoint.c: New file.
17568 * gdb.guile/scm-breakpoint.exp: New file.
17569 * gdb.guile/scm-disasm.c: New file.
17570 * gdb.guile/scm-disasm.exp: New file.
17571 * gdb.guile/scm-equal.c: New file.
17572 * gdb.guile/scm-equal.exp: New file.
17573 * gdb.guile/scm-error.exp: New file.
17574 * gdb.guile/scm-error.scm: New file.
17575 * gdb.guile/scm-frame-args.c: New file.
17576 * gdb.guile/scm-frame-args.exp: New file.
17577 * gdb.guile/scm-frame-args.scm: New file.
17578 * gdb.guile/scm-frame-inline.c: New file.
17579 * gdb.guile/scm-frame-inline.exp: New file.
17580 * gdb.guile/scm-frame.c: New file.
17581 * gdb.guile/scm-frame.exp: New file.
17582 * gdb.guile/scm-generics.exp: New file.
17583 * gdb.guile/scm-gsmob.exp: New file.
17584 * gdb.guile/scm-iterator.c: New file.
17585 * gdb.guile/scm-iterator.exp: New file.
17586 * gdb.guile/scm-math.c: New file.
17587 * gdb.guile/scm-math.exp: New file.
17588 * gdb.guile/scm-objfile-script-gdb.in: New file.
17589 * gdb.guile/scm-objfile-script.c: New file.
17590 * gdb.guile/scm-objfile-script.exp: New file.
17591 * gdb.guile/scm-objfile.c: New file.
17592 * gdb.guile/scm-objfile.exp: New file.
17593 * gdb.guile/scm-ports.exp: New file.
17594 * gdb.guile/scm-pretty-print.c: New file.
17595 * gdb.guile/scm-pretty-print.exp: New file.
17596 * gdb.guile/scm-pretty-print.scm: New file.
17597 * gdb.guile/scm-section-script.c: New file.
17598 * gdb.guile/scm-section-script.exp: New file.
17599 * gdb.guile/scm-section-script.scm: New file.
17600 * gdb.guile/scm-symbol.c: New file.
17601 * gdb.guile/scm-symbol.exp: New file.
17602 * gdb.guile/scm-symtab-2.c: New file.
17603 * gdb.guile/scm-symtab.c: New file.
17604 * gdb.guile/scm-symtab.exp: New file.
17605 * gdb.guile/scm-type.c: New file.
17606 * gdb.guile/scm-type.exp: New file.
17607 * gdb.guile/scm-value-cc.cc: New file.
17608 * gdb.guile/scm-value-cc.exp: New file.
17609 * gdb.guile/scm-value.c: New file.
17610 * gdb.guile/scm-value.exp: New file.
17611 * gdb.guile/source2.scm: New file.
17612 * gdb.guile/types-module.cc: New file.
17613 * gdb.guile/types-module.exp: New file.
17614
17615 2014-02-10 Yao Qi <yao@codesourcery.com>
17616
17617 PR testsuite/16543
17618 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17619 * configure: Regenerated.
17620 * Makefile.in: New file.
17621
17622 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17623
17624 * gdb.python/py-framefilter.exp: Fix typo.
17625
17626 2014-02-08 Yao Qi <yao@codesourcery.com>
17627
17628 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17629 that no =breakpoint-modified is emitted when breakpoints are
17630 modified through MI commands.
17631
17632 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17633 Pedro Alves <palves@redhat.com>
17634
17635 * gdb.threads/step-after-sr-lock.c: New file.
17636 * gdb.threads/step-after-sr-lock.exp: New file.
17637
17638 2014-02-07 Pedro Alves <palves@redhat.com>
17639
17640 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17641
17642 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17643
17644 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17645 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17646
17647 2014-02-06 Doug Evans <xdje42@gmail.com>
17648
17649 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17650 output.
17651
17652 * gdb.gdb/python-interrupts.exp: New file.
17653
17654 2014-02-05 Yao Qi <yao@codesourcery.com>
17655
17656 * gdb.trace/report.exp (use_collected_data): Test the output
17657 of "info threads" and "info inferiors".
17658
17659 2014-02-05 Yao Qi <yao@codesourcery.com>
17660
17661 Revert this patch:
17662
17663 2013-05-24 Yao Qi <yao@codesourcery.com>
17664
17665 * gdb.trace/tfile.exp: Test inferior and thread.
17666
17667 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17668
17669 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17670 on a function.
17671 * gdb.base/step-bt.c: Call hello via function pointer to make
17672 sure its first instruction is executed on powerpc64le-linux.
17673
17674 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17675
17676 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17677
17678 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17679
17680 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17681 of the test patterns for use on little-endian systems.
17682
17683 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17684
17685 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17686 (decimal_vector): Fix for little-endian.
17687
17688 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17689
17690 * gdb.arch/sparc-sysstep.exp: New file.
17691 * gdb.arch/sparc-sysstep.c: Likewise.
17692
17693 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17694
17695 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17696
17697 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17698
17699 2014-01-23 Tom Tromey <tromey@redhat.com>
17700
17701 * gdb.ada/array_char_idx: New testcase.
17702
17703 2014-01-23 Tom Tromey <tromey@redhat.com>
17704
17705 PR python/16487:
17706 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17707 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17708 classes.
17709
17710 2014-01-23 Tom Tromey <tromey@redhat.com>
17711
17712 PR python/16491:
17713 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17714 string from an inferior frame.
17715 * gdb.python/py-framefilter-mi.exp: Update.
17716
17717 2014-01-22 Doug Evans <dje@google.com>
17718
17719 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17720
17721 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17722
17723 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17724
17725 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17726
17727 * gdb.trace/entry-values.exp: Remove excess space character from
17728 regex patterns. Handle s390 call instruction.
17729
17730 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17731
17732 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17733 define "*_start" label. Make "name" static.
17734 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17735 ${name} by references to ${name}_start.
17736
17737 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17738
17739 * gdb.base/info-macros.exp: Remove "debug" from the compile
17740 options.
17741
17742 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17743
17744 * gdb.dlang/demangle.exp: New file.
17745
17746 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17747
17748 * gdb.dlang/primitive-types.exp: New file.
17749
17750 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17751
17752 * configure.ac: Create gdb.dlang/Makefile.
17753 * configure: Regenerate.
17754 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17755 * gdb.dlang/Makefile.in: New file.
17756 * lib/d-support.exp: New file.
17757 * lib/gdb.exp (skip_d_tests): New proc.
17758
17759 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17760
17761 * gdb.btrace/delta.exp: Check reverse stepi.
17762 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17763 * gdb.btrace/finish.exp: New.
17764 * gdb.btrace/next.exp: New.
17765 * gdb.btrace/nexti.exp: New.
17766 * gdb.btrace/record_goto.c: Add comments.
17767 * gdb.btrace/step.exp: New.
17768 * gdb.btrace/stepi.exp: New.
17769 * gdb.btrace/multi-thread-step.c: New.
17770 * gdb.btrace/multi-thread-step.exp: New.
17771 * gdb.btrace/rn-dl-bind.c: New.
17772 * gdb.btrace/rn-dl-bind.exp: New.
17773 * gdb.btrace/data.c: New.
17774 * gdb.btrace/data.exp: New.
17775 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17776
17777 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17778
17779 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17780 * gdb.btrace/exception.exp: Update.
17781 * gdb.btrace/instruction_history.exp: Update.
17782 * gdb.btrace/record_goto.exp: Update.
17783 * gdb.btrace/tailcall.exp: Update.
17784 * gdb.btrace/unknown_functions.exp: Update.
17785 * gdb.btrace/delta.exp: New.
17786
17787 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17788
17789 * gdb.btrace/record_goto.exp: Add backtrace test.
17790 * gdb.btrace/tailcall.exp: Add backtrace test.
17791
17792 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17793
17794 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17795 * gdb.btrace/record_goto.c: New.
17796 * gdb.btrace/record_goto.exp: New.
17797 * gdb.btrace/x86-record_goto.S: New.
17798
17799 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17800
17801 * gdb.btrace/function_call_history.exp: Update tests.
17802 * gdb.btrace/instruction_history.exp: Update tests.
17803
17804 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17805
17806 * gdb.btrace/function_call_history.exp: Fix expected field
17807 order for "record function-call-history".
17808 Add new tests for "record function-call-history /c".
17809 * gdb.btrace/exception.cc: New.
17810 * gdb.btrace/exception.exp: New.
17811 * gdb.btrace/tailcall.exp: New.
17812 * gdb.btrace/x86-tailcall.S: New.
17813 * gdb.btrace/x86-tailcall.c: New.
17814 * gdb.btrace/unknown_functions.c: New.
17815 * gdb.btrace/unknown_functions.exp: New.
17816 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17817
17818 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17819
17820 * gdb.btrace/instruction_history.exp: Update.
17821 * gdb.btrace/function_call_history.exp: Update.
17822
17823 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17824
17825 * gdb.btrace/function_call_history.exp: Fix expected function
17826 trace.
17827 * gdb.btrace/instruction_history.exp: Initialize traced.
17828 Remove traced_functions.
17829
17830 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17831
17832 * gdb.btrace/function_call_history.exp: Update
17833 * gdb.btrace/instruction_history.exp: Update.
17834
17835 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17836
17837 * gdb.btrace/enable.exp: Update expected text.
17838
17839 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17840
17841 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17842 bytes.
17843
17844 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17845
17846 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17847
17848 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17849
17850 * lib/gdb.exp (supports_process_record): Return true for
17851 arm*-linux*. (supports_reverse): Likewise.
17852
17853 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17854
17855 PR python/15464
17856 PR python/16113
17857 * gdb.python/py-type.c: Enhance test case.
17858 * gdb.python/py-value-cc.cc: Likewise
17859 * gdb.python/py-type.exp: Add new tests.
17860 * gdb.python/py-value-cc.exp: Likewise
17861
17862 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17863 Pedro Alves <palves@redhat.com>
17864
17865 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17866 Make "name" extern.
17867 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17868 references to ${name}_start by references to ${name}.
17869
17870 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17871
17872 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17873
17874 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17875
17876 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17877
17878 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17879 Pedro Alves <palves@redhat.com>
17880
17881 * gdb.mi/mi-info-os.exp: Connect to the target with
17882 mi_gdb_target_load.
17883
17884 2014-01-08 Pedro Alves <palves@redhat.com>
17885
17886 * gdb.threads/reconnect-signal.c: New file.
17887 * gdb.threads/reconnect-signal.exp: New file.
17888
17889 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17890
17891 * gdb.base/source-dir.exp: New file.
17892
17893 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17894
17895 * gdb.ada/mi_interface: New testcase.
17896
17897 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17898
17899 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17900 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17901 gdb.ada/pp-rec-component/pck.ads: New files.
17902
17903 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17904
17905 * gdb.python/py-pp-integral.c: New file.
17906 * gdb.python/py-pp-integral.py: New file.
17907 * gdb.python/py-pp-integral.exp: New file.
17908
17909 For older changes see ChangeLog-1993-2013.
17910 \f
17911 ;; Local Variables:
17912 ;; mode: change-log
17913 ;; left-margin: 8
17914 ;; fill-column: 74
17915 ;; version-control: never
17916 ;; End:
17917
17918 Copyright 2014-2019 Free Software Foundation, Inc.
17919 Copying and distribution of this file, with or without modification,
17920 are permitted provided the copyright notice and this notice are preserved.
This page took 0.419216 seconds and 3 git commands to generate.