Add gdb_compile_openmp to lib/gdb.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2
3 * lib/gdb.exp (gdb_compile_openmp): New proc.
4 (build_executable_from_specs): Add an "openmp" option.
5 (gdb_compile_pthreads): Add non-executable case.
6
7 2019-12-10 Tom Tromey <tromey@adacore.com>
8
9 * gdb.ada/unchecked_union.exp: New file.
10 * gdb.ada/unchecked_union/pck.adb: New file.
11 * gdb.ada/unchecked_union/pck.ads: New file.
12 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
13 * gdb-utils.exp (string_to_regexp): Also quote "?".
14
15 2019-12-10 George Barrett <bob@bob131.so>
16
17 Test scripted probe breakpoints.
18 * gdb.guile/scm-breakpoint.c (main): Add probe point.
19 * gdb.python/py-breakpoint.c (main): Likewise.
20 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
21 specifier test.
22 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
23
24 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
25
26 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
27 an rvalue parameter.
28 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
29 parameter.
30
31 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
32
33 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
34 modules.
35
36 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
37
38 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
39 broken version of GCC.
40
41 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
42
43 * gdb.fortran/info-modules.exp: Rewrite to make use of new
44 sym-info-cmds library.
45 * gdb.fortran/info-types.exp: Likewise.
46 * lib/sym-info-cmds.exp: New file.
47
48 2019-12-08 Tom de Vries <tdevries@suse.de>
49
50 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
51
52 2019-12-07 Keith Seitz <keiths@redhat.com>
53
54 * gdb.base/corefile-buildid-shlib-shr.c: New file.
55 * gdb.base/corefile-buildid-shlib.c: New file.
56 * gdb.base/corefile-buildid.c: New file.
57 * gdb.base/corefile-buildid.exp: New file.
58
59 2019-12-06 Tom de Vries <tdevries@suse.de>
60
61 * gdb.dwarf2/varval.exp: Add decl before def test.
62
63 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
64
65 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
66
67 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
68
69 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
70 CV and reference conversion for overload resolution.
71 * gdb.cp/rvalue-ref-overload.exp: Test it.
72
73 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
74
75 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
76 * gdb.base/frameapply.exp: Test faas without command.
77
78 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
79
80 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
81 Fortran tests.
82 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
83 order.
84
85 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
86
87 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
88 casting to type with no kind specified.
89 (test_basic_parsing_of_type_kinds): Additional tests for types
90 with no kind specified, and add tests for single/double
91 precision/complex types.
92
93 2019-12-04 Tom Tromey <tromey@adacore.com>
94
95 * gdb.base/endianity.c (struct other) <x>: New field.
96 (main): Initialize it.
97 * gdb.base/endianity.exp: Update.
98
99 2019-12-04 Tom Tromey <tromey@adacore.com>
100
101 * gdb.ada/scalar_storage/storage.adb: New file.
102 * gdb.ada/scalar_storage/pck.adb: New file.
103 * gdb.ada/scalar_storage/pck.ads: New file.
104 * gdb.ada/scalar_storage.exp: New file.
105
106 2019-12-04 Tom Tromey <tromey@adacore.com>
107
108 * gdb.base/endianity.c (struct otherendian) <f>: New field.
109 (main): Initialize it.
110 * gdb.base/endianity.exp: Update.
111
112 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
113
114 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
115
116 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
117
118 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
119 -symbol-info-module-functions and -symbol-info-module-variables.
120
121 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
122
123 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
124
125 2019-12-01 Richard Bunt <richard.bunt@arm.com>
126 Andrew Burgess <andrew.burgess@embecosm.com>
127
128 * gdb.fortran/derived-type-striding.exp: New file.
129 * gdb.fortran/derived-type-striding.f90: New file.
130 * gdb.fortran/array-slices.exp: New file.
131 * gdb.fortran/array-slices.f90: New file.
132
133 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
134
135 * gdb.base/define.exp: Test . in command names.
136 * gdb.base/setshow.exp: Update test, as . is now part of
137 command name.
138
139 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
140
141 * gdb.base/define-prefix.exp: New file.
142
143 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
144
145 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
146 compile.
147 (skip_btrace_pt_tests): Likewise.
148
149 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
150
151 * gdb.fortran/info-modules.exp: Compile source files in correct
152 order.
153
154 2019-11-27 Kevin Buettner <kevinb@redhat.com>
155
156 * gdb.dwarf2/imported-unit.exp: New file.
157 * gdb.dwarf2/imported-unit.c: New file.
158
159 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
160
161 * gdb.mi/mi-fortran-modules-2.f90: New file.
162 * gdb.mi/mi-fortran-modules.exp: New file.
163 * gdb.mi/mi-fortran-modules.f90: New file.
164
165 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
166
167 * gdb.mi/mi-sym-info-1.c: New file.
168 * gdb.mi/mi-sym-info-2.c: New file.
169 * gdb.mi/mi-sym-info.exp: New file.
170
171 2019-11-22 Tom Tromey <tromey@adacore.com>
172
173 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
174 * gdb.ada/tasks/foo.adb: Add another stopping location.
175
176 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
177
178 * gdb.base/endianity.c: New test.
179 * gdb.base/endianity.exp: New file.
180
181 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
182
183 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
184
185 2019-11-21 Tom de Vries <tdevries@suse.de>
186
187 PR gdb/24956
188 * gdb.base/ui-redirect.exp: Test output of user-defined command.
189
190 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
191
192 * gdb.python/py-progspace.exp: Add missing parentheses on some
193 'print' commands.
194
195 2019-11-19 Tom Tromey <tom@tromey.com>
196
197 * gdb.tui/winheight.exp: New file.
198
199 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
200
201 * gdb.base/ctf-whatis.c: Delete.
202 * gdb.base/ctf-whatis.exp: Delete.
203 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
204
205 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
206
207 * gdb.base/ctf-cvexpr.exp: Delete.
208 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
209
210 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
211
212 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
213 the compiler. Clean up header comment a little.
214 * gdb.base/ctf-ptype.exp: Likewise.
215 * gdb.base/ctf-whatis.exp: Likewise.
216 * lib/gdb.exp (skip_ctf_tests): New proc.
217
218 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
219
220 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
221 * gdb.tui/corefile-run.exp: New file.
222
223 2019-11-14 Tom Tromey <tromey@adacore.com>
224
225 * gdb.base/gdbvars.exp (test_convenience_variables): Add
226 regression tests.
227
228 2019-11-12 Tom Tromey <tom@tromey.com>
229
230 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
231 after any command. Expect prompt after WAIT_FOR is seen.
232 (enter_tui): Enable resize messages.
233 (command): Expect command in output.
234 (get_line): Avoid error when cursor appears to be off-screen.
235 (dump_screen): Include screen size in title.
236 (_do_resize): New proc, from "resize".
237 (resize): Rewrite. Do resize in two steps.
238 * gdb.tui/empty.exp (layouts): Fix entries.
239 (check_boxes): Remove xfail.
240 (check_text): Dump screen on failure.
241
242 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
243
244 * gdb.python/py-symbol.exp: Add test for
245 gdb.lookup_static_symbols.
246
247 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
248
249 * gdb.python/py-symbol.c: Declare and call function from new
250 py-symbol-2.c file.
251 * gdb.python/py-symbol.exp: Compile both source files, and add new
252 tests for gdb.lookup_static_symbol.
253 * gdb.python/py-symbol-2.c: New file.
254
255 2019-11-02 Tom de Vries <tdevries@suse.de>
256
257 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
258 * gdb.base/anon.exp: Same.
259 * gdb.base/auto-connect-native-target.exp: Same.
260 * gdb.base/call-ar-st.exp: Same.
261 * gdb.base/catch-syscall.exp: Same.
262 * gdb.base/commands.exp: Same.
263 * gdb.base/default.exp: Same.
264 * gdb.base/display.exp: Same.
265 * gdb.base/float.exp: Same.
266 * gdb.base/foll-fork.exp: Same.
267 * gdb.base/help.exp: Same.
268 * gdb.base/info-macros.exp: Same.
269 * gdb.base/info-proc.exp: Same.
270 * gdb.base/info-target.exp: Same.
271 * gdb.base/long_long.exp: Same.
272 * gdb.base/macscp.exp: Same.
273 * gdb.base/memattr.exp: Same.
274 * gdb.base/nofield.exp: Same.
275 * gdb.base/pointers.exp: Same.
276 * gdb.base/printcmds.exp: Same.
277 * gdb.base/ptype.exp: Same.
278 * gdb.base/restore.exp: Same.
279 * gdb.base/return.exp: Same.
280 * gdb.base/scope.exp: Same.
281 * gdb.base/set-noassign.exp: Same.
282 * gdb.base/setshow.exp: Same.
283 * gdb.base/shlib-call.exp: Same.
284 * gdb.base/signals.exp: Same.
285 * gdb.base/sigstep.exp: Same.
286 * gdb.base/skip.exp: Same.
287 * gdb.base/solib-symbol.exp: Same.
288 * gdb.base/stap-probe.exp: Same.
289 * gdb.base/step-line.exp: Same.
290 * gdb.base/step-test.exp: Same.
291 * gdb.base/style.exp: Same.
292 * gdb.base/varargs.exp: Same.
293 * gdb.base/vla-datatypes.exp: Same.
294 * gdb.base/vla-ptr.exp: Same.
295 * gdb.base/vla-sideeffect.exp: Same.
296 * gdb.base/volatile.exp: Same.
297 * gdb.base/watch-cond-infcall.exp: Same.
298 * gdb.base/watchpoint.exp: Same.
299
300 2019-11-02 Tom de Vries <tdevries@suse.de>
301
302 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
303 * gdb.cp/cpexprs.exp: Same.
304 * gdb.cp/except-multi-location.exp: Same.
305 * gdb.cp/exceptprint.exp: Same.
306 * gdb.cp/gdb2384.exp: Same.
307 * gdb.cp/inherit.exp: Same.
308 * gdb.cp/m-static.exp: Same.
309 * gdb.cp/meth-typedefs.exp: Same.
310 * gdb.cp/misc.exp: Same.
311 * gdb.cp/namespace.exp: Same.
312 * gdb.cp/non-trivial-retval.exp: Same.
313 * gdb.cp/overload.exp: Same.
314 * gdb.cp/pr17132.exp: Same.
315 * gdb.cp/re-set-overloaded.exp: Same.
316 * gdb.cp/rvalue-ref-types.exp: Same.
317 * gdb.cp/templates.exp: Same.
318
319 2019-11-01 Luis Machado <luis.machado@linaro.org>
320
321 PR gdb/25124
322
323 * gdb.arch/pr25124.S: New file.
324 * gdb.arch/pr25124.exp: New file.
325
326 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * gdb.fortran/info-modules.exp: Update expected results, and add
329 additional tests for 'info module functinos', and 'info module
330 variables'.
331 * gdb.fortran/info-types.exp: Update expected results.
332 * gdb.fortran/info-types.f90: Extend testcase with additional
333 module variables and functions.
334
335 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
336
337 * gdb.fortran/info-modules.exp: New file.
338 * gdb.fortran/info-types.exp: Build with new file.
339 * gdb.fortran/info-types.f90: Include and use new module.
340 * gdb.fortran/info-types-2.f90: New file.
341
342 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
343
344 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
345 * gdb.base/settings.exp: Test all settings types using
346 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
347 that now verifies that the value of "maint show" is the same as
348 returned by the settings functions. Test the type of the
349 maintenance settings.
350 * gdb.base/default.exp: Update show_conv_list.
351
352 2019-10-31 Tom de Vries <tdevries@suse.de>
353
354 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
355 gdb_test.
356 * gdb.arch/amd64-disp-step.exp: Same.
357 * gdb.asm/asm-source.exp: Same.
358 * gdb.btrace/buffer-size.exp: Same.
359 * gdb.btrace/cpu.exp: Same.
360 * gdb.btrace/enable.exp: Same.
361 * gdb.dwarf2/count.exp: Same.
362 * gdb.dwarf2/dw2-ranges-func.exp: Same.
363 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
364 * gdb.fortran/vla-datatypes.exp: Same.
365 * gdb.fortran/vla-history.exp: Same.
366 * gdb.fortran/vla-ptype.exp: Same.
367 * gdb.fortran/vla-value.exp: Same.
368 * gdb.fortran/whatis_type.exp: Same.
369 * gdb.guile/guile.exp: Same.
370 * gdb.multi/tids.exp: Same.
371 * gdb.python/py-finish-breakpoint.exp: Same.
372 * gdb.python/py-framefilter.exp: Same.
373 * gdb.python/py-pp-registration.exp: Same.
374 * gdb.python/py-xmethods.exp: Same.
375 * gdb.python/python.exp: Same.
376 * gdb.server/connect-with-no-symbol-file.exp: Same.
377 * gdb.server/no-thread-db.exp: Same.
378 * gdb.server/run-without-local-binary.exp: Same.
379 * gdb.stabs/weird.exp: Same.
380 * gdb.threads/attach-many-short-lived-threads.exp: Same.
381 * gdb.threads/thread-find.exp: Same.
382 * gdb.threads/tls-shared.exp: Same.
383 * gdb.threads/tls.exp: Same.
384 * gdb.threads/wp-replication.exp: Same.
385 * gdb.trace/ax.exp: Same.
386 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
387
388 2019-10-31 Tom de Vries <tdevries@suse.de>
389
390 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
391 * gdb.ada/array_subscript_addr.exp: Same.
392 * gdb.ada/arrayidx.exp: Same.
393 * gdb.ada/arrayparam.exp: Same.
394 * gdb.ada/arrayptr.exp: Same.
395 * gdb.ada/boolean_expr.exp: Same.
396 * gdb.ada/call_pn.exp: Same.
397 * gdb.ada/complete.exp: Same.
398 * gdb.ada/fixed_cmp.exp: Same.
399 * gdb.ada/fun_addr.exp: Same.
400 * gdb.ada/funcall_param.exp: Same.
401 * gdb.ada/interface.exp: Same.
402 * gdb.ada/mod_from_name.exp: Same.
403 * gdb.ada/null_array.exp: Same.
404 * gdb.ada/packed_array.exp: Same.
405 * gdb.ada/packed_tagged.exp: Same.
406 * gdb.ada/print_chars.exp: Same.
407 * gdb.ada/print_pc.exp: Same.
408 * gdb.ada/ptype_arith_binop.exp: Same.
409 * gdb.ada/ptype_field.exp: Same.
410 * gdb.ada/ptype_tagged_param.exp: Same.
411 * gdb.ada/rec_return.exp: Same.
412 * gdb.ada/ref_tick_size.exp: Same.
413 * gdb.ada/str_ref_cmp.exp: Same.
414 * gdb.ada/taft_type.exp: Same.
415 * gdb.ada/tagged.exp: Same.
416 * gdb.ada/type_coercion.exp: Same.
417 * gdb.ada/uninitialized_vars.exp: Same.
418
419 2019-10-30 Tom de Vries <tdevries@suse.de>
420
421 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
422
423 2019-10-26 Tom de Vries <tdevries@suse.de>
424
425 * gdb.base/bigcore.c: Fix typos in comments.
426 * gdb.base/ctf-ptype.c: Same.
427 * gdb.base/long_long.c: Same.
428 * gdb.dwarf2/dw2-op-out-param.S: Same.
429 * gdb.python/py-evthreads.c: Same.
430 * gdb.reverse/i387-stack-reverse.c: Same.
431 * gdb.trace/tfile.c: Same.
432 * lib/compiler.c: Same.
433 * lib/compiler.cc: Same.
434
435 2019-10-25 Tom de Vries <tdevries@suse.de>
436
437 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
438 gdb_test_multiple calls.
439 * gdb.reverse/sigall-reverse.exp: Same.
440 * gdb.reverse/solib-precsave.exp: Same.
441 * gdb.reverse/solib-reverse.exp: Same.
442 * gdb.reverse/until-precsave.exp: Same.
443 * gdb.reverse/until-reverse.exp: Same.
444
445 2019-10-24 Tom de Vries <tdevries@suse.de>
446
447 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
448 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
449 kfail using -wrap pattern flag and convenience variable
450 gdb_test_name.
451
452 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
453
454 * gdb.python/py-progspace.exp: Add tests for the
455 Progspace.block_for_pc method.
456
457 2019-10-23 Tom Tromey <tom@tromey.com>
458
459 * configure: Rebuild.
460 * aclocal.m4: Use m4_include, not sinclude.
461
462 2019-10-21 Tom de Vries <tdevries@suse.de>
463
464 * gdb.base/infcall-nested-structs.c: Add
465 __attribute__((noinline,noclone)) to all functions.
466 (call_all): Add missing variable initialization. Simplify return value.
467 (breakpt): Increment volatile variable, to prevent call from being
468 optimized out.
469 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
470
471 2019-10-17 Tom de Vries <tdevries@suse.de>
472
473 * gdb.fortran/module.exp: Allow info variables to print info for files
474 other than module.f90.
475
476 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
477
478 * gdb.fortran/module.exp: Extend with 'info variables' test.
479
480 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
481
482 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
483 F77_FOR_TARGET.
484
485 2019-10-16 Tom de Vries <tdevries@suse.de>
486
487 PR tdep/25096
488 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
489
490 2019-10-16 Tom de Vries <tdevries@suse.de>
491
492 PR tdep/24104
493 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
494 Add KFAIL for PR tdep/25096.
495
496 2019-10-16 Tom de Vries <tdevries@suse.de>
497
498 PR testsuite/25059
499 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
500
501 2019-10-16 Tom de Vries <tdevries@suse.de>
502
503 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
504 as signed.
505
506 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
507
508 * gdb.mi/list-thread-groups-available.exp: Read entries one by
509 one instead of increasing timeout.
510
511 2019-10-13 Tom de Vries <tdevries@suse.de>
512
513 PR record/25038
514 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
515 * gdb.reverse/sigall-reverse.exp: Same.
516 * gdb.reverse/solib-precsave.exp: Same.
517 * gdb.reverse/solib-reverse.exp: Same.
518 * gdb.reverse/step-precsave.exp: Same.
519 * gdb.reverse/until-precsave.exp: Same.
520 * gdb.reverse/until-reverse.exp: Same.
521 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
522
523 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
524
525 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
526 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
527 (cmp_struct_05_01, cmp_struct_static_02_01)
528 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
529 comparisons.
530
531 2019-10-10 Tom de Vries <tdevries@suse.de>
532
533 PR testsuite/24888
534 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
535 gnatlink.
536
537 2019-10-09 Tom de Vries <tdevries@suse.de>
538
539 PR testsuite/25048
540 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
541
542 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
543
544 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
545 exceptions due to missing debug information.
546
547 2019-10-07 Tom de Vries <tdevries@suse.de>
548
549 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
550
551 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
552
553 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
554 * gdb.base/annota1.exp: Update to use gdb_test_name.
555
556 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
557
558 * gdb.base/ctf-whatis.exp: New file.
559 * gdb.base/ctf-whatis.c: New file.
560 * gdb.base/ctf-ptype.exp: New file.
561 * gdb.base/ctf-ptype.c: New file.
562 * gdb.base/ctf-constvars.exp: New file.
563 * gdb.base/ctf-constvars.c: New file.
564 * gdb.base/ctf-cvexpr.exp: New file.
565
566 2019-10-04 Tom de Vries <tdevries@suse.de>
567
568 * gdb.cp/local-static.c (main): Move declaration of int i out of the
569 for loop.
570
571 2019-10-03 Tom Tromey <tom@tromey.com>
572
573 PR rust/24976:
574 * gdb.rust/simple.rs (Union2): New type.
575 (main): Use Union2.
576 * gdb.rust/simple.exp: Add test.
577
578 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
579
580 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
581 nested function prefix.
582
583 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
584 Richard Bunt <richard.bunt@arm.com>
585 Andrew Burgess <andrew.burgess@embecosm.com>
586
587 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
588 nested functions.
589 * gdb.fortran/nested-funcs.f90: Update expected results.
590 * gdb.fortran/nested-funcs-2.exp: New file.
591 * gdb.fortran/nested-funcs-2.f90: New file.
592
593 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
594
595 * gdb.python/py-parameter.exp: Make test names unique.
596 * gdb.python/py-template.exp: Likewise.
597 * gdb.python/py-value.exp: Likewise.
598
599 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
600
601 * gdb.base/break-interp.exp: Reduce test name duplication.
602 * gdb.base/call-sc.exp: Likewise.
603 * gdb.base/callfuncs.exp: Likewise.
604 * gdb.base/charset.exp: Likewise.
605 * gdb.base/dump.exp: Likewise.
606 * gdb.base/ena-dis-br.exp: Likewise.
607 * gdb.base/relational.exp: Likewise.
608 * gdb.base/step-over-syscall.exp: Likewise.
609 * gdb.base/structs.exp: Likewise.
610
611 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
612
613 * gdb.linespec/explicit.exp: Make test names unique.
614 * gdb.linespec/ls-errs.exp: Likewise.
615
616 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
617
618 * gdb.reverse/break-precsave.exp: Make test names unique.
619 * gdb.reverse/break-reverse.exp: Likewise.
620 * gdb.reverse/finish-precsave.exp: Likewise.
621 * gdb.reverse/finish-reverse.exp: Likewise.
622 * gdb.reverse/machinestate-precsave.exp: Likewise.
623 * gdb.reverse/machinestate.exp: Likewise.
624 * gdb.reverse/readv-reverse.exp: Likewise.
625 * gdb.reverse/recvmsg-reverse.exp: Likewise.
626 * gdb.reverse/sigall-precsave.exp: Likewise.
627 * gdb.reverse/sigall-reverse.exp: Likewise.
628 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
629 * gdb.reverse/watch-precsave.exp: Likewise.
630 * gdb.reverse/watch-reverse.exp: Likewise.
631
632 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
633
634 * gdb.threads/stop-with-handle.c: New file.
635 * gdb.threads/stop-with-handle.exp: New file.
636
637 2019-10-03 Tom de Vries <tdevries@suse.de>
638
639 PR testsuite/25059
640 * gdb.base/list-missing-source.exp: Allowing the "Compilation
641 directory" line to be missing.
642
643 2019-10-03 Tom de Vries <tdevries@suse.de>
644
645 PR testsuite/25059
646 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
647 type optional.
648
649 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
650
651 * gdb.python/py-format-string.c (string.h): New include.
652 (main): Fill a_struct_with_union.the_union.an_int with bytes of
653 the same value, for endianness-independence.
654 * gdb.python/py-format-string.exp (default_regexp_dict)
655 (test_pretty_structs, test_format): Adjust expected output to the
656 changed initialization.
657
658 2019-10-02 Tom Tromey <tromey@adacore.com>
659
660 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
661
662 2019-10-02 Pedro Alves <palves@redhat.com>
663 Andrew Burgess <andrew.burgess@embecosm.com>
664
665 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
666 "print-file-var.h".
667 (this_version_id) Use ATTRIBUTE_VISIBILITY.
668 (get_version_1): Print this_version_id and its address.
669 Add extern "C" wrappers around interface functions.
670 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
671 "print-file-var.h".
672 (this_version_id) Use ATTRIBUTE_VISIBILITY.
673 (get_version_2): Print this_version_id and its address.
674 Add extern "C" wrappers around interface functions.
675 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
676 <stddef.h> and "print-file-var.h".
677 Add extern "C" wrappers around interface functions.
678 [VERSION_ID_MAIN] (this_version_id): Define.
679 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
680 * gdb.base/print-file-var.h: Add some #defines to simplify setting
681 up extern "C" blocks.
682 * gdb.base/print-file-var.exp (test): New, factored out from top
683 level.
684 (top level): Test all combinations of attribute hidden or not,
685 dlopen or not, and this_version_id symbol in main file or not.
686 Compile tests as both C++ and C, make test names unique.
687
688 2019-10-01 Tom Tromey <tom@tromey.com>
689
690 * gdb.base/style.exp: Test "show logging filename".
691
692 2019-10-01 Tom Tromey <tom@tromey.com>
693
694 * lib/gdb-utils.exp (style): Handle "metadata" argument.
695 * gdb.base/style.exp: Add metadata style test.
696
697 2019-10-01 Tom Tromey <tom@tromey.com>
698
699 * gdb.base/style.exp: Test "pwd".
700
701 2019-10-01 Tom Tromey <tom@tromey.com>
702
703 * gdb.base/style.exp: Update tests.
704
705 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
706
707 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
708 'six' to unsigned.
709 (s1): Initialize fields 'four' and 'six' instead of 'three' and
710 'five'. Use an all-ones bit pattern for each.
711 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
712 to its changed values.
713
714 2019-09-30 Tom Tromey <tromey@adacore.com>
715
716 * gdb.rust/traits.rs: Disable all warnings.
717
718 2019-09-29 Tom de Vries <tdevries@suse.de>
719
720 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
721
722 2019-09-29 Tom de Vries <tdevries@suse.de>
723
724 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
725
726 2019-09-27 Tom de Vries <tdevries@suse.de>
727
728 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
729
730 2019-09-27 Tom de Vries <tdevries@suse.de>
731
732 PR record/23188
733 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
734
735 2019-09-26 Tom Tromey <tromey@adacore.com>
736
737 * gdb.ada/py_taft.exp: New file.
738 * gdb.ada/py_taft/main.adb: New file.
739 * gdb.ada/py_taft/pkg.adb: New file.
740 * gdb.ada/py_taft/pkg.ads: New file.
741
742 2019-09-24 Tom de Vries <tdevries@suse.de>
743
744 PR gdb/24598
745 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
746
747 2019-09-22 Tom de Vries <tdevries@suse.de>
748
749 * gdb.base/restore.exp: Allow register variables to be optimized out at
750 -O0.
751
752 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
753
754 * gdb.arch/spu-info.exp: Remove file.
755 * gdb.arch/spu-info.c: Remove file.
756 * gdb.arch/spu-ls.exp: Remove file.
757 * gdb.arch/spu-ls.c: Remove file.
758
759 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
760 * gdb.asm/spu.inc: Remove file.
761
762 * gdb.base/dump.exp: Remove support for spu*-*-*.
763 * gdb.base/stack-checking.exp: Likewise.
764 * gdb.base/overlays.exp: Likewise.
765 * gdb.base/ovlymgr.c: Likewise.
766 * gdb.base/spu.ld: Remove file.
767
768 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
769 * gdb.cp/cpexprs.exp: Likewise.
770 * gdb.cp/exception.exp: Likewise.
771 * gdb.cp/gdb2495.exp: Likewise.
772 * gdb.cp/mb-templates.exp: Likewise.
773 * gdb.cp/pr9167.exp: Likewise.
774 * gdb.cp/userdef.exp: Likewise.
775
776 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
777
778 * gdb.cell: Remove directory.
779 * lib/cell.exp: Remove file.
780
781 2019-09-19 Tom de Vries <tdevries@suse.de>
782
783 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
784
785 2019-09-19 Tom de Vries <tdevries@suse.de>
786
787 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
788
789 2019-09-19 Tom de Vries <tdevries@suse.de>
790
791 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
792 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
793 (gdb_target_cmd): ... here.
794 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
795 value 2.
796
797 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
798
799 * gdb.base/source-dir.exp: Avoid having directory names in test
800 names.
801
802 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
803
804 * gdb.base/source-dir.exp: Add extra test for mapped compilation
805 directory.
806
807 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
808
809 * gdb.base/list-missing-source.exp: New file.
810
811 2019-09-14 Tom de Vries <tdevries@suse.de>
812
813 PR teststuite/24599
814 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
815 * lib/ada.exp (gnatmake_version_at_least): New proc.
816
817 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
818
819 * gdb.base/maint.exp: Use exec_has_index_section.
820
821 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
822
823 * gdb.base/maint.exp: Add test for 'maint info sections'.
824
825 2019-09-12 Tom de Vries <tdevries@suse.de>
826
827 * gdb.base/store.exp: Allow register variables to be optimized out at
828 -O0.
829
830 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
831
832 * gdb.ada/rdv_wait.exp: Update to new task names.
833 * gdb.base/task_switch_in_core.exp: Likewise.
834 * gdb.base/info_sources_base.c: Likewise.
835
836 2019-09-10 Tom Tromey <tromey@adacore.com>
837
838 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
839
840 2019-09-10 Tom Tromey <tromey@adacore.com>
841
842 * gdb.ada/dgopt.exp: New file.
843 * gdb.ada/dgopt/x.adb: New file.
844
845 2019-09-08 Tom Tromey <tom@tromey.com>
846
847 * gdb.tui/resize.exp: Remove setup_xfail.
848 * gdb.tui/regs.exp: Remove setup_xfail.
849 * gdb.tui/basic.exp: Remove setup_xfail.
850
851 2019-09-06 David Blaikie <dblaikie@gmail.com>
852
853 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
854 * gdb.cp/cplabel.exp: Ditto.
855 * gdb.linespec/ls-errs.exp: Ditto.
856
857 2019-09-05 Tom de Vries <tdevries@suse.de>
858
859 * lib/gdb.exp (cmp_file_string): New proc.
860 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
861 runto_main. Verify save breakpoints output.
862
863 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
864
865 * gdb.base/info-var.exp: Test info variables without running
866 to main, to avoid expect's buffer overflow.
867
868 2019-09-03 Tom Tromey <tromey@adacore.com>
869
870 * gdb.ada/bias.exp: New file.
871 * gdb.ada/bias/bias.adb: New file.
872 * gdb.ada/print_chars.exp: Add regression test.
873 * gdb.ada/print_chars/foo.adb (My_Character): New type.
874 (MC): New variable.
875
876 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
877
878 * gdb.base/argv0-symlink.exp: Run only on native target
879 and local host.
880
881 2019-08-29 Tom de Vries <tdevries@suse.de>
882
883 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
884 diverse debug info.
885 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
886
887 2019-08-28 Tom de Vries <tdevries@suse.de>
888
889 * gdb.base/info-var.exp: Allow info variables to print info for files
890 other than info-var-f1.c and info-var-f2.c.
891
892 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
893
894 * gdb.fortran/info-types.exp: Add module.
895 * gdb.fortran/info-types.f90: Update expected results.
896
897 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
898
899 * gdb.fortran/info-types.exp: New file.
900 * gdb.fortran/info-types.f90: New file.
901 * lib/fortran.exp (fortran_character1): New proc.
902
903 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
904
905 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
906 functions'. Reindent as needed.
907 * gdb.base/info-var-f1.c: New file.
908 * gdb.base/info-var-f2.c: New file.
909 * gdb.base/info-var.exp: New file.
910 * gdb.base/info-var.h: New file.
911
912 2019-08-26 Tom de Vries <tdevries@suse.de>
913
914 PR c++/24852
915 * gdb.cp/no-libstdcxx-probe.exp: New test.
916
917 2019-08-26 Tom de Vries <tdevries@suse.de>
918
919 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
920 * tests need to be skipped.
921 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
922 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
923 mi_skip_libstdcxx_probe_tests.
924
925 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
926
927 * gdb.python/py-xmethods.exp: Use raw strings when passing
928 arguments to SimpleXMethodMatcher.
929
930 2019-08-22 Tom de Vries <tdevries@suse.de>
931
932 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
933 more informative.
934
935 2019-08-21 Pedro Alves <palves@redhat.com>
936
937 * gdb.base/with.exp: Test "with" with no arguments.
938
939 2019-08-21 Tom de Vries <tdevries@suse.de>
940
941 * gdb.base/gdb-caching-proc.exp: Sort files.
942
943 2019-08-20 Tom de Vries <tdevries@suse.de>
944
945 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
946 compilation.
947
948 2019-08-16 Tom de Vries <tdevries@suse.de>
949
950 * gdb.base/compare-sections.exp ("after run to main"): Allow
951 mismatched read-only sections for PIE executables.
952
953 2019-08-16 Tom Tromey <tom@tromey.com>
954
955 * lib/tuiterm.exp (_csi_Z): New proc.
956 * gdb.tui/basic.exp: Update window positions.
957 * gdb.tui/empty.exp: Update window positions.
958
959 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
960
961 * gdb.base/examine-backward.exp: Correct regexp for
962 "examine 3 bytes backward from ${address_zero}".
963
964 2019-08-15 Tom Tromey <tom@tromey.com>
965
966 * gdb.tui/empty.exp: Enable resizing tests.
967
968 2019-08-15 Tom Tromey <tromey@adacore.com>
969
970 * gdb.ada/char_enum.exp: Add regression tests.
971 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
972 and '0'.
973 (Char, Gchar): Update.
974 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
975
976 2019-08-15 Christian Biesinger <cbiesinger@google.com>
977
978 * gdb.python/python.exp: Expect a leading underscore on
979 GdbOutput{,Error}File.
980
981 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
982
983 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
984 Windows host.
985
986 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
987
988 * gdb.base/batch-preserve-term-settings.exp
989 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
990
991 2019-08-15 Christian Biesinger <cbiesinger@google.com>
992
993 * lib/gdb.exp: When running on a mingw target, replace
994 /x/ with x:/.
995
996 2019-08-14 Alan Hayward <alan.hayward@arm.com>
997
998 * gdb.arch/aarch64-prologue.c: New test.
999 * gdb.arch/aarch64-prologue.exp: New file.
1000
1001 2019-08-13 Tom de Vries <tdevries@suse.de>
1002
1003 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1004 Thread.
1005
1006 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1007
1008 * gdb.python/py-completion.exp: Download the .py file to the host
1009 and use its host pathname. Conditionalize tests that use
1010 tab completion and manipulate files on the build machine.
1011 * gdb.python/py-events.exp: Download the .py file to the host
1012 and use its host pathname.
1013 * gdb.python/py-evsignal.exp: Likewise.
1014 * gdb.python/py-evthreads.exp: Likewise.
1015 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1016 pathname syntax.
1017 * gdb.python/py-framefilter.exp: Download the .py file to the right
1018 place on the host. Match Windows pathname syntax.
1019 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1020 .py file to the host and use its host pathname.
1021 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1022 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1023 build pathname. Skip symlink test on Windows host. Add missing
1024 newline at end of file.
1025 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1026 and use its host pathname.
1027 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1028 * gdb.python/py-section-script.exp: Use host location of binfile
1029 on safe-path. Use correct path separator on Windows host.
1030 Reorder alternatives in gdb_test_multiple to prevent matching
1031 the wrong alternative on success.
1032 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1033
1034 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1035
1036 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1037 expect the GDB inferior to no longer immediately stop after
1038 being resumed with "signal SIGINT".
1039
1040 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1041
1042 * gdb.linespec/break-ask.exp: Generalize regexps to match
1043 Windows pathnames too.
1044
1045 2019-08-08 Tom de Vries <tdevries@suse.de>
1046
1047 PR testsuite/24862
1048 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1049
1050 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1051
1052 * gdb.base/style.exp: Update tests for help doc new invariants.
1053 * gdb.base/help.exp: Likewise.
1054
1055 2019-08-06 Tom Tromey <tom@tromey.com>
1056
1057 * gdb.base/style.exp: Add disassemble test.
1058 * gdb.base/style.c (some_called_function): New function.
1059 (main): Use it.
1060
1061 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1062
1063 * gdb.python/py-block.exp: Test dictionary access on blocks.
1064
1065 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1066
1067 PR gdb/24863
1068 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1069 -list-thread-groups --available test when running under
1070 check-read1.
1071
1072 2019-08-05 Tom de Vries <tdevries@suse.de>
1073
1074 PR testsuite/24863
1075 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1076 * gdb.base/help.exp: Use with_read1_timeout_factor.
1077 * gdb.base/info-macros.exp: Same.
1078 * gdb.cp/nested-types.exp: Same.
1079
1080 2019-08-05 Tom de Vries <tdevries@suse.de>
1081
1082 * lib/gdb.exp (version_at_least): Factor out of ...
1083 (tcl_version_at_least): ... here.
1084 (gdb_compile): Fail if pie results in non-PIE executable.
1085 (readelf_version, readelf_prints_pie): New proc.
1086 (exec_is_pie): Return -1 if unknown.
1087
1088 2019-08-05 Tom de Vries <tdevries@suse.de>
1089
1090 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1091
1092 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1093
1094 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1095
1096 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1097
1098 * lib/completion-support.exp (test_gdb_complete_none): Skip
1099 tab completion tests if no readline support.
1100 (test_gdb_complete_unique_re): Likewise.
1101 (test_gdb_complete_multiple): Likewise.
1102
1103 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1104
1105 * gdb.base/info_sources.exp: New file.
1106 * gdb.base/info_sources.c: New file.
1107 * gdb.base/info_sources_base.c: New file.
1108
1109 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1110
1111 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1112 prefix argument.
1113 (test_exit_status): Add prefix argument.
1114
1115 2019-08-01 Tom de Vries <tdevries@suse.de>
1116
1117 PR testsuite/24863
1118 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1119 calling exp_continue for new thread and thread exited messages.
1120
1121 2019-08-01 Tom de Vries <tdevries@suse.de>
1122
1123 PR testsuite/24863
1124 * gdb.base/structs.exp: Fix check-read1 timeout using
1125 gdb_test_sequence.
1126 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1127
1128 2019-08-01 Tom de Vries <tdevries@suse.de>
1129
1130 PR testsuite/24863
1131 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1132 line.
1133
1134 2019-08-01 Tom de Vries <tdevries@suse.de>
1135
1136 PR testsuite/24863
1137 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1138
1139 2019-07-30 Tom Tromey <tromey@adacore.com>
1140
1141 * gdb.ada/display_nested.exp: New file.
1142 * gdb.ada/display_nested/foo.adb: New file.
1143 * gdb.ada/display_nested/pack.adb: New file.
1144 * gdb.ada/display_nested/pack.ads: New file.
1145
1146 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1147
1148 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1149 namespace.
1150 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1151
1152 2019-07-30 Tom de Vries <tdevries@suse.de>
1153
1154 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1155 instead.
1156
1157 2019-07-30 Tom de Vries <tdevries@suse.de>
1158
1159 PR testsuite/24834
1160 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1161 (exec_is_pie): New proc.
1162
1163 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1164
1165 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1166
1167 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1168
1169 * gdb.python/py-objfile.c: Add global and static vars.
1170 * gdb.python/py-objfile.exp: Test new functions Objfile.
1171 lookup_global_symbol and lookup_static_symbol.
1172
1173 2019-07-29 Tom Tromey <tom@tromey.com>
1174
1175 * lib/tuiterm.exp (Term::_csi_@): New proc.
1176 (Term::_csi_X): Don't move cursor.
1177
1178 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1179
1180 * gdb.base/options.exp: Update backtrace - completion to
1181 new option -frame-info.
1182 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1183 Test new 'set print frame-info'. Test backtrace -frame-info
1184 overriding 'set print frame-info'.
1185 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1186 Test new 'set print frame-info'.
1187 Verify consistency of backtrace with and without filters, with and
1188 without -no-filters.
1189 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1190 default.
1191
1192 2019-07-29 Tom de Vries <tdevries@suse.de>
1193
1194 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1195 no arguments".
1196
1197 2019-07-29 Tom de Vries <tdevries@suse.de>
1198
1199 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1200 is a substring of the first for "complete non-unique file name".
1201
1202 2019-07-29 Tom de Vries <tdevries@suse.de>
1203
1204 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1205 with ".*".
1206
1207 2019-07-29 Tom de Vries <tdevries@suse.de>
1208
1209 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1210 Pass prompt_regexp parameter to gdb_test_multiple calls.
1211
1212 2019-07-29 Tom de Vries <tdevries@suse.de>
1213
1214 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1215 print registers" regexps.
1216
1217 2019-07-29 Tom de Vries <tdevries@suse.de>
1218
1219 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1220
1221 2019-07-29 Tom de Vries <tdevries@suse.de>
1222
1223 PR gdb/24855
1224 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1225 (skip_python_tests_prompt): Add prompt_regexp argument to
1226 gdb_test_multiple calls.
1227
1228 2019-07-27 Tom Tromey <tom@tromey.com>
1229
1230 * gdb.tui/main.exp: New file.
1231
1232 2019-07-27 Tom Tromey <tom@tromey.com>
1233
1234 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1235 optional.
1236 * gdb.tui/empty.exp: New file.
1237
1238 2019-07-27 Tom Tromey <tom@tromey.com>
1239
1240 * lib/tuiterm.exp (spawn): New proc.
1241 (Term::resize): New proc.
1242 * gdb.tui/resize.exp: New file.
1243
1244 2019-07-27 Tom Tromey <tom@tromey.com>
1245
1246 * gdb.tui/list.exp: New file.
1247
1248 2019-07-27 Tom Tromey <tom@tromey.com>
1249
1250 * gdb.tui/regs.exp: New file.
1251
1252 2019-07-27 Tom Tromey <tom@tromey.com>
1253
1254 * gdb.tui/basic.exp: Add "layout split" test.
1255
1256 2019-07-27 Tom Tromey <tom@tromey.com>
1257
1258 * gdb.tui/basic.exp: Add "layout asm" test.
1259
1260 2019-07-27 Tom Tromey <tom@tromey.com>
1261
1262 * lib/tuiterm.exp: New file.
1263 * gdb.tui/basic.exp: New file.
1264
1265 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1266
1267 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1268 Enable tests associated with this flag. Adjust regex
1269 referencing "foo_low" to now refer to "foo_cold" instead.
1270
1271 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1272
1273 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1274 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1275 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1276 foo_cold. Revise comments to match.
1277 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1278 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1279 were wrapped into this proc; Call do_test in loop from outermost
1280 level.
1281 (foo_low): Rename all occurrences to "foo_cold".
1282 (backtrace from baz): New test.
1283 (x2/i foo_cold): New test.
1284 (info line *foo_cold): New test.
1285
1286 2019-07-26 Tom de Vries <tdevries@suse.de>
1287
1288 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1289
1290 2019-07-25 Tom de Vries <tdevries@suse.de>
1291
1292 PR testsuite/24830
1293 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1294 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1295 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1296 (skip_libstdcxx_probe_tests): ... here.
1297 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1298
1299 2019-07-24 Tom de Vries <tdevries@suse.de>
1300
1301 PR testsuite/24807
1302 * gdb.objc/basicclass.m: Include stdio.h.
1303 * gdb.objc/nondebug.m: Same.
1304 * gdb.objc/objcdecode.m: Same.
1305
1306 2019-07-24 Tom de Vries <tdevries@suse.de>
1307
1308 PR testsuite/24612
1309 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1310 additional_flags.
1311
1312 2019-07-24 Tom de Vries <tdevries@suse.de>
1313
1314 PR testsuite/24831
1315 * gdb.multi/tids.exp: Update error messages for info threads.
1316
1317 2019-07-24 Tom de Vries <tdevries@suse.de>
1318
1319 * gdb.base/info-types.exp: Allow info types to print info for more than
1320 one file.
1321
1322 2019-07-23 Tom de Vries <tdevries@suse.de>
1323
1324 PR testsuite/24842
1325 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1326 gdb_spawn_with_cmdline_opts.
1327
1328 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1329
1330 * gdb.arch/arm-cmse-sgstubs.c: New test.
1331 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1332
1333 2019-07-23 Tom de Vries <tdevries@suse.de>
1334
1335 PR testsuite/24711
1336 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1337 issuing next command.
1338
1339 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1340
1341 * gdb.ada/info_auto_lang.exp: Update expected results.
1342 * gdb.base/info-types.c: Add additional types to check.
1343 * gdb.base/info-types.exp: Update expected results.
1344
1345 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1346
1347 * gdb.base/info-types.c: New file.
1348 * gdb.base/info-types.exp: New file.
1349
1350 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1351
1352 * gdb.arch/riscv-bp-infcall.c: New file.
1353 * gdb.arch/riscv-bp-infcall.exp: New file.
1354
1355 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1356
1357 PR breakpoints/24541
1358 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1359
1360 2019-07-14 Tom de Vries <tdevries@suse.de>
1361
1362 PR testsuite/24760
1363 * gdb.objc/basicclass.exp: Fix unterminated string.
1364
1365 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1366 Andrew Burgess <andrew.burgess@embecosm.com>
1367
1368 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1369 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1370 negative bounds.
1371 * gdb.fortran/vla-value.exp: Print elements of an array with
1372 negative bounds.
1373 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1374 testing.
1375
1376 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1377
1378 * gdb.base/options.exp (expect_string): Dequote strings in
1379 results.
1380 (test-string): Test strings with different quoting and reindent.
1381
1382 2019-07-10 Tom Tromey <tromey@adacore.com>
1383
1384 * gdb.ada/mi_ex_cond.exp: Update expected results.
1385 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1386 * gdb.ada/mi_catch_ex.exp: Update expected results.
1387 * gdb.ada/mi_catch_assert.exp: Update expected results.
1388 * gdb.ada/catch_ex.exp (catch_exception_info)
1389 (catch_exception_entry, catch_assert_entry)
1390 (catch_unhandled_entry): Update.
1391 * gdb.ada/catch_assert_if.exp: Update expected results.
1392
1393 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1394 Stephen Roberts <stephen.roberts@arm.com>
1395
1396 * gdb.base/define.exp: Restore original prompt.
1397
1398 2019-07-09 Pedro Alves <palves@redhat.com>
1399
1400 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1401 breakpoints" output.
1402 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1403 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1404 throw" creates breakpoint.
1405 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1406 'type="catchpoint"'.
1407
1408 2019-07-09 Pedro Alves <palves@redhat.com>
1409
1410 PR c++/15468
1411 * gdb.cp/except-multi-location-lib.cc: New.
1412 * gdb.cp/except-multi-location-main.cc: New.
1413 * gdb.cp/except-multi-location.exp: New.
1414
1415 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1416
1417 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1418 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1419 argument and update callers.
1420
1421 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1422
1423 * gdb.arch/amd64-break-on-asm-line.S: New file.
1424 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1425
1426 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1427
1428 * gdb.base/printcmds.exp: Test printing C string and
1429 C wide string convenience vars without transiting via the inferior.
1430 Also make test names unique.
1431
1432 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1433
1434 PR breakpoints/25011
1435 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1436
1437 2019-07-04 Pedro Alves <palves@redhat.com>
1438
1439 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1440 body returned ok(0), break(3) or continue(4).
1441 * gdb.testsuite/foreach_with_prefix.exp: New file.
1442
1443 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1444
1445 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1446
1447 2019-07-03 Pedro Alves <palves@redhat.com>
1448
1449 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1450 "return -code".
1451
1452 2019-07-03 Pedro Alves <palves@redhat.com>
1453
1454 PR cli/24732
1455 * gdb.base/shell.exp: Load completion-support.exp.
1456 Adjust expected error output. Add completion tests.
1457
1458 2019-07-03 Pedro Alves <palves@redhat.com>
1459
1460 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1461 string_to_regexp.
1462
1463 2019-07-03 Pedro Alves <palves@redhat.com>
1464
1465 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1466 (expect_integer): Adjust to expect "-string".
1467 (expect_string): New.
1468 (all_options): Expect "-string".
1469 (test-flag, test-boolean): Adjust to expect "-string".
1470 (test-string): New proc.
1471 (top level): Call it.
1472
1473 2019-07-03 Pedro Alves <palves@redhat.com>
1474
1475 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1476 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1477 the expected output in the success.
1478
1479 2019-07-03 Pedro Alves <palves@redhat.com>
1480
1481 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1482 Split one gdb_test_multiple call in two to avoid a race.
1483
1484 2019-07-03 Pedro Alves <palves@redhat.com>
1485
1486 * gdb.base/with.c: New file.
1487 * gdb.base/with.exp: New file.
1488
1489 2019-07-03 Pedro Alves <palves@redhat.com>
1490
1491 * gdb.base/settings.exp: Replace all references to "maint
1492 test-settings set" with references to "maint set test-settings",
1493 and all references to "maint test-settings show" with references
1494 to "maint show test-settings".
1495
1496 2019-07-03 Pedro Alves <palves@redhat.com>
1497
1498 * gdb.base/settings.exp (test-string): Adjust expected out when
1499 testing "maint test-settings show filename"
1500
1501 2019-07-02 Pedro Alves <palves@redhat.com>
1502
1503 * gdb.base/options.exp (test-info-threads): New procedure.
1504 (top level): Call it.
1505
1506 2019-06-28 Tom Tromey <tromey@adacore.com>
1507
1508 * gdb.dwarf2/ada-linkage-name.c: New file.
1509 * gdb.dwarf2/ada-linkage-name.exp: New file.
1510
1511 2019-06-27 Tom Tromey <tromey@adacore.com>
1512
1513 PR c++/20020:
1514 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1515
1516 2019-06-26 Tom de Vries <tdevries@suse.de>
1517
1518 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1519
1520 2019-06-26 Tom de Vries <tdevries@suse.de>
1521
1522 * gdb.base/index-cache.exp: Add back missing debug option.
1523
1524 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1525
1526 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1527
1528 2019-06-25 Tom de Vries <tdevries@suse.de>
1529
1530 PR testsuite/24727
1531 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1532
1533 2019-06-24 Tom de Vries <tdevries@suse.de>
1534
1535 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1536
1537 2019-06-24 Tom de Vries <tdevries@suse.de>
1538
1539 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1540 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1541 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1542
1543 2019-06-24 Tom de Vries <tdevries@suse.de>
1544
1545 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1546
1547 2019-06-21 Tom de Vries <tdevries@suse.de>
1548
1549 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1550
1551 2019-06-21 Tom de Vries <tdevries@suse.de>
1552
1553 PR testsuite/24518
1554 PR ada/24713
1555 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1556 index.
1557
1558 2019-06-19 Tom Tromey <tromey@adacore.com>
1559
1560 * gdb.ada/length_cond.exp: Add intro comment.
1561
1562 2019-06-19 Tom Tromey <tromey@adacore.com>
1563
1564 * gdb.ada/length_cond.exp: New file.
1565 * gdb.ada/length_cond/length_cond.adb: New file.
1566 * gdb.ada/length_cond/pck.adb: New file.
1567 * gdb.ada/length_cond/pck.ads: New file.
1568
1569 2019-06-18 Tom de Vries <tdevries@suse.de>
1570
1571 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1572
1573 2019-06-18 Tom Tromey <tromey@adacore.com>
1574
1575 * gdb.base/list0.h: Add comment explaining control character.
1576
1577 2019-06-18 Tom de Vries <tdevries@suse.de>
1578
1579 * boards/fission.exp: Break up long debug_flags line.
1580
1581 2019-06-16 Tom de Vries <tdevries@suse.de>
1582
1583 PR gdb/24445
1584 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1585 generated index.
1586
1587 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1588
1589 PR gdb/24686
1590 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1591 improve detection of bug gdb/24541.
1592
1593 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1594
1595 PR gdb/24669
1596 * gdb.base/index-cache.exp (uses_readnow,
1597 expecting_index_cache_use): Define global variable.
1598 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1599 expecting_index_cache_use.
1600
1601 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1602 Andrew Burgess <andrew.burgess@embecosm.com>
1603
1604 * gdb.fortran/pointers.f90: New file.
1605 * gdb.fortran/print_type.exp: New file.
1606 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1607 * gdb.fortran/vla-type.exp: Likewise.
1608 * gdb.fortran/vla-value.exp: Likewise.
1609 * gdb.mi/mi-vla-fortran.exp: Likewise.
1610
1611 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1612
1613 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1614 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1615 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1616 as a stop reason.
1617
1618 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1619
1620 * gdb.base/annota1.exp: Update expected results.
1621 * gdb.cp/annota2.exp: Likewise.
1622 * gdb.cp/annota3.exp: Likewise.
1623
1624 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1625
1626 * gdb.base/style-logging.exp: Remove path from test name.
1627
1628 2019-06-14 Tom Tromey <tromey@adacore.com>
1629
1630 PR gdb/24502:
1631 * gdb.base/style-logging.exp: New file.
1632
1633 2019-06-14 Tom Tromey <tromey@adacore.com>
1634
1635 * gdb.base/symfile-warn.exp: New file.
1636 * gdb.base/symfile-warn.c: New file.
1637
1638 2019-06-14 Tom Tromey <tromey@adacore.com>
1639
1640 * gdb.base/annotate-symlink.exp: New file.
1641
1642 2019-06-14 Tom Tromey <tromey@adacore.com>
1643
1644 * gdb.ada/set_wstr.exp: Add reassignment test.
1645
1646 2019-06-14 Tom Tromey <tromey@adacore.com>
1647
1648 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1649 'unchecked_access and 'unrestricted_access as well.
1650
1651 2019-06-14 Tom Tromey <tromey@adacore.com>
1652
1653 PR ada/24539:
1654 * gdb.ada/vla.exp: Update tests.
1655 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1656 pragma.
1657
1658 2019-06-13 Pedro Alves <palves@redhat.com>
1659
1660 * gdb.base/settings.exp (test-integer): Test junk after
1661 "unlimited".
1662
1663 2019-06-13 Pedro Alves <palves@redhat.com>
1664
1665 * gdb.base/options.exp (test-thread-apply): New.
1666 (top level): Call it.
1667
1668 2019-06-13 Pedro Alves <palves@redhat.com>
1669
1670 * gdb.base/options.exp (test-frame-apply): New.
1671 (top level): Test print commands with different "frame apply"
1672 prefixes.
1673
1674 2019-06-13 Pedro Alves <palves@redhat.com>
1675
1676 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1677 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1678 'max_completions' parameter and handle it.
1679 (test_gdb_completion_offers_commands): New.
1680
1681 2019-06-13 Pedro Alves <palves@redhat.com>
1682
1683 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1684
1685 2019-06-13 Pedro Alves <palves@redhat.com>
1686
1687 * gdb.base/options.exp (test-backtrace): New.
1688 (top level): Call it.
1689
1690 2019-06-13 Pedro Alves <palves@redhat.com>
1691
1692 * gdb.guile/scm-frame-args.exp: Use "set print
1693 raw-frame-arguments" instead of "set print raw frame-arguments".
1694 * gdb.python/py-frame-args.exp: Likewise.
1695
1696 2019-06-13 Pedro Alves <palves@redhat.com>
1697
1698 * gdb.compile/compile.exp: Adjust expected output to option
1699 processing changes.
1700
1701 2019-06-13 Pedro Alves <palves@redhat.com>
1702
1703 * gdb.base/options.exp: Build executable.
1704 (test-print): New procedure.
1705 (top level): Call it, once for "print" and another for "compile
1706 print".
1707
1708 2019-06-13 Pedro Alves <palves@redhat.com>
1709
1710 * gdb.base/options.c: New file.
1711 * gdb.base/options.exp: New file.
1712
1713 2019-06-13 Pedro Alves <palves@redhat.com>
1714
1715 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1716 that "o" is ambiguous.
1717
1718 2019-06-13 Pedro Alves <palves@redhat.com>
1719
1720 * gdb.base/settings.c: New file.
1721 * gdb.base/settings.exp: New file.
1722
1723 2019-06-13 Pedro Alves <palves@redhat.com>
1724
1725 * gdb.base/completion.exp: Fix comment typo.
1726
1727 2019-06-13 Pedro Alves <palves@redhat.com>
1728
1729 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1730 foo --1" test.
1731
1732 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1733
1734 * gdb.fortran/block-data.f: New.
1735 * gdb.fortran/block-data.exp: New.
1736
1737 2019-06-11 Tom de Vries <tdevries@suse.de>
1738
1739 PR testsuite/24521
1740 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1741 message.
1742
1743 2019-06-11 Tom de Vries <tdevries@suse.de>
1744
1745 PR testsuite/24521
1746 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1747
1748 2019-06-11 Tom de Vries <tdevries@suse.de>
1749
1750 * boards/readnow.exp: New file.
1751
1752 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1753
1754 * gdb.fortran/vla-sizeof.exp: Update expected results.
1755
1756 2019-06-06 Amos Bird <amosbird@gmail.com>
1757
1758 * gdb.base/annota1.exp (thread_switch): Add test for
1759 thread-exited annotation.
1760
1761 2019-06-06 Tom Tromey <tromey@adacore.com>
1762
1763 * gdb.base/maint.exp: Expect command started/finished output.
1764
1765 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1766
1767 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1768 comment.
1769 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1770
1771 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1772
1773 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1774 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1775 * gdb.arch/riscv-unwind-long-insn.c: New file.
1776 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1777
1778 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1779
1780 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1781
1782 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1783
1784 * lib/gdb.exp (help_list_trailer): New regexp variable
1785 factorizing the help trailer message.
1786 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1787 arg to allow to better factorize various tests.
1788 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1789 (test_prefix_command_help): Use help_list_trailer.
1790 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1791 * gdb.guile/scm-cmd.exp: Likewise.
1792 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1793 * gdb.base/help.exp: Use test_user_defined_class_help.
1794 * gdb.base/style.exp: Add tests for styling of help and apropos.
1795 * lib/gdb-utils.exp (style): Add title and highlight styles.
1796
1797 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1798
1799 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1800 $_shell_exitsignal.
1801 * gdb.base/default.exp: Update for new convenience variables.
1802
1803 2019-05-29 Tom Tromey <tromey@adacore.com>
1804
1805 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1806 to "break complete ada" test case's regexp.
1807
1808 2019-05-29 Tom Tromey <tromey@adacore.com>
1809
1810 PR c++/20020:
1811 * gdb.cp/constexpr-field.exp: New file.
1812 * gdb.cp/constexpr-field.cc: New file.
1813
1814 2019-05-29 Tom Tromey <tromey@adacore.com>
1815
1816 * gdb.base/finish.exp (finish_no_print): New proc.
1817 (finish_tests): Call it.
1818
1819 2019-05-24 Tom de Vries <tdevries@suse.de>
1820
1821 * gdb.dwarf2/gdb-add-index.exp: New file.
1822
1823 2019-05-22 Tom Tromey <tromey@adacore.com>
1824
1825 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1826 * gdb.base/style.exp: Use "style".
1827 * lib/gdb-utils.exp (style): New proc.
1828
1829 2019-05-22 Tom de Vries <tdevries@suse.de>
1830
1831 * gdb.base/align.exp: Require c++11.
1832
1833 2019-05-22 Tom de Vries <tdevries@suse.de>
1834
1835 PR testsuite/24586
1836 * gdb.python/py-mi-var-info-path-expression.exp: Call
1837 mi_skip_python_tests to check if python is supported.
1838
1839 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1840
1841 * gdb.arch/aarch64-pauth.c: New test.
1842 * gdb.arch/aarch64-pauth.exp: New file.
1843
1844 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1845
1846 * README (Re-running Tests Outside The Testsuite): New section.
1847
1848 2019-05-21 Tom de Vries <tdevries@suse.de>
1849
1850 * gdb.arch/amd64-eval.exp: Require c++11.
1851 * gdb.base/max-depth.exp: Same.
1852 * gdb.compile/compile-cplus-array-decay.exp: Same.
1853 * gdb.cp/meth-typedefs.exp: Same.
1854 * gdb.cp/subtypes.exp: Same.
1855 * gdb.cp/temargs.exp: Same.
1856
1857 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1858
1859 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1860
1861 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1862
1863 PR gdb/18644
1864 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1865 * gdb.fortran/printing-types.exp: Add new test.
1866 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1867 testing.
1868 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1869 setup_kfail call.
1870
1871 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1872
1873 * README (Running the Testsuite): Change example.
1874 (Testsuite Parameters): Remove TRANSCRIPT.
1875 * lib/gdb.exp: Remove TRANSCRIPT check.
1876
1877 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1878
1879 * README (Testsuite Parameters): Add replay logging to
1880 GDBSERVER_DEBUG.
1881 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1882 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1883 as a comma separated list.
1884 (gdb_debug_init): Override procedure.
1885
1886 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1887
1888 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1889 (gdb_write_cmd_file): New procedure.
1890 * lib/gdbserver-support.exp (gdbserver_start): Call
1891 gdbserver_write_cmd_file.
1892 (gdbserver_write_cmd_file): New procedure.
1893
1894 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1895
1896 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1897 (delete_breakpoints): Likewise.
1898 (gdb_run_cmd): Likewise.
1899 (gdb_start_cmd): Likewise.
1900 (gdb_starti_cmd): Likewise.
1901 (gdb_internal_error_resync): Likewise.
1902 (gdb_test_multiple): Likewise.
1903 (gdb_reinitialize_dir): Likewise.
1904 (default_gdb_exit): Likewise.
1905 (gdb_file_cmd): Mark kill as optional.
1906 (default_gdb_start): Call gdb_stdin_log_init.
1907 (send_gdb): Call gdb_stdin_log_write.
1908 (rerun_to_main): Mark Y as an answer.
1909 (gdb_stdin_log_init): New function.
1910 (gdb_stdin_log_write): Likewise.
1911
1912 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1913
1914 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1915 * gdb.base/debug-expr.exp: Likewise.
1916 * gdb.base/foll-fork.exp: Likewise.
1917 * gdb.base/foll-vfork.exp: Likewise.
1918 * gdb.base/fork-print-inferior-events.exp: Likewise.
1919 * gdb.base/gdb-sigterm.exp: Likewise.
1920 * gdb.base/gdbinit-history.exp: Likewise.
1921 * gdb.base/osabi.exp: Likewise.
1922 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1923 * gdb.base/ui-redirect.exp: Likewise.
1924 * gdb.gdb/unittest.exp: Likewise.
1925 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1926 * gdb.mi/mi-watch.exp: Likewise.
1927 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1928 * gdb.mi/user-selected-context-sync.exp: Likewise.
1929 * gdb.python/python.exp: Disable debug test when debugging.
1930 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1931 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1932 Likewise.
1933 * gdb.threads/stepi-random-signal.exp: Likewise.
1934
1935 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1936
1937 * Makefile.in: Pass through GDB_DEBUG.
1938 * README (Testsuite Parameters): Add GDB_DEBUG.
1939 (gdb,debug): Add board setting.
1940 * lib/gdb.exp (default_gdb_start): Start debugging.
1941 (gdb_debug_enabled): New procedure.
1942 (gdb_debug_init): Likewise.
1943
1944 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1945
1946 * Makefile.in: Pass through GDB_DEBUG.
1947 * README (Testsuite Parameters): Add GDB_DEBUG.
1948 (gdb,debug): Add board setting.
1949 * lib/gdb.exp (default_gdb_start): Start debugging.
1950 (gdb_debug_enabled): New procedure.
1951 (gdb_debug_init): Likewise.
1952
1953 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1954
1955 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1956
1957 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1958
1959 * gdb.base/ui-redirect.exp: Test redirection.
1960
1961 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1962
1963 * gdb.mi/mi-complete.exp: New file.
1964 * gdb.mi/mi-complete.cc: Likewise.
1965
1966 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1967
1968 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1969 indexed and sliced arrays, and pointers to arrays.
1970
1971 2019-05-14 Tom Tromey <tromey@adacore.com>
1972
1973 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1974 styling test.
1975
1976 2019-05-14 Tom de Vries <tdevries@suse.de>
1977
1978 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1979 selection entry encoding.
1980
1981 2019-05-10 Tom Tromey <tromey@adacore.com>
1982
1983 * gdb.ada/info_exc.exp: Add "complete" test.
1984
1985 2019-05-09 Tom de Vries <tdevries@suse.de>
1986
1987 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1988 CU-relative.
1989
1990 2019-05-09 Tom de Vries <tdevries@suse.de>
1991
1992 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1993 CU-relative.
1994
1995 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1996
1997 * gdb.ada/frame_arg_lang.exp: New testcase.
1998 * gdb.ada/frame_arg_lang/bla.adb: New file.
1999 * gdb.ada/frame_arg_lang/pck.ads: New file.
2000 * gdb.ada/frame_arg_lang/pck.adb: New file.
2001 * gdb.ada/frame_arg_lang/foo.c: New file.
2002
2003 2019-05-08 Tom Tromey <tromey@adacore.com>
2004
2005 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2006
2007 2019-05-08 Tom Tromey <tromey@adacore.com>
2008
2009 * gdb.base/ptype-offsets.exp: Update tests.
2010
2011 2019-05-08 Tom Tromey <tromey@adacore.com>
2012
2013 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2014 cases.
2015 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2016 "short".
2017
2018 2019-05-08 Tom Tromey <tromey@adacore.com>
2019
2020 * gdb.ada/vla.exp: New file.
2021 * gdb.ada/vla/vla.adb: New file.
2022
2023 2019-05-07 Tom de Vries <tdevries@suse.de>
2024
2025 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2026
2027 2019-05-07 Tom de Vries <tdevries@suse.de>
2028
2029 PR testsuite/24522
2030 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2031 section.
2032
2033 2019-05-07 Tom de Vries <tdevries@suse.de>
2034
2035 PR testsuite/24522
2036 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2037 .debug_aranges section.
2038
2039 2019-05-07 Tom de Vries <tdevries@suse.de>
2040
2041 PR testsuite/24159
2042 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2043
2044 2019-05-06 Tom de Vries <tdevries@suse.de>
2045
2046 * lib/gdb.exp (exec_has_index_section): New proc.
2047 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2048 section.
2049
2050 2019-05-04 Tom de Vries <tdevries@suse.de>
2051
2052 * boards/cc-with-debug-names.exp: New file.
2053
2054 2019-05-03 Tom Tromey <tromey@adacore.com>
2055
2056 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2057 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2058 * gdb.ada/char_enum.exp: Add test.
2059
2060 2019-05-03 Tom de Vries <tdevries@suse.de>
2061
2062 * boards/cc-with-gdb-index.exp: New file.
2063
2064 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2065
2066 * gdb.rust/simple.exp: Add new test case.
2067 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2068 (main): Initialise an instance of the new struct.
2069
2070 2019-05-01 Tom Tromey <tromey@adacore.com>
2071
2072 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2073 record.
2074 (NPR): New variable.
2075 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2076 test.
2077
2078 2019-05-01 Tom Tromey <tromey@adacore.com>
2079
2080 * gdb.ada/packed_array_assign.exp: Add packed assignment
2081 regression test.
2082
2083 2019-05-01 Tom de Vries <tdevries@suse.de>
2084
2085 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2086
2087 2019-05-01 Tom de Vries <tdevries@suse.de>
2088
2089 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2090
2091 2019-04-30 Ali Tamur <tamur@google.com>
2092
2093 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2094
2095 2019-04-30 Tom Tromey <tromey@adacore.com>
2096
2097 * lib/ada.exp (find_ada_tool): New proc.
2098 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2099 * gdb.ada/catch_ex_std.exp: New file.
2100 * gdb.ada/catch_ex_std/foo.adb: New file.
2101 * gdb.ada/catch_ex_std/some_package.adb: New file.
2102 * gdb.ada/catch_ex_std/some_package.ads: New file.
2103
2104 2019-04-30 Tom Tromey <tromey@adacore.com>
2105
2106 PR c++/24470:
2107 * gdb.cp/temargs.cc: Add test code from PR.
2108
2109 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2110
2111 * gdb.fortran/vla-datatypes.exp: Update expected results.
2112 * gdb.fortran/vla-ptype.exp: Likewise.
2113 * gdb.fortran/vla-type.exp: Likewise.
2114 * gdb.fortran/vla-value.exp: Likewise.
2115
2116 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2117
2118 * gdb.fortran/ptr-indentation.exp: Update expected results.
2119 * gdb.fortran/ptype-on-functions.exp: Likewise.
2120 * gdb.fortran/vla-ptr-info.exp: Likewise.
2121 * gdb.fortran/vla-value.exp: Likewise.
2122
2123 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2124
2125 * gdb.fortran/ptype-on-functions.exp: New file.
2126 * gdb.fortran/ptype-on-functions.f90: New file.
2127
2128 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2129
2130 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2131 case void string.
2132
2133 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2134
2135 * gdb.fortran/complex.exp: Expand.
2136 * gdb.fortran/complex.f: Renamed to...
2137 * gdb.fortran/complex.f90: ...this, and extended to add more
2138 complex values.
2139
2140 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2141
2142 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2143 MODULO, CMPLX.
2144
2145 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2146 Richard Bunt <richard.bunt@arm.com>
2147
2148 * gdb.base/max-depth.c: New file.
2149 * gdb.base/max-depth.exp: New file.
2150 * gdb.python/py-nested-maps.c: New file.
2151 * gdb.python/py-nested-maps.exp: New file.
2152 * gdb.python/py-nested-maps.py: New file.
2153 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2154 (test_all_common): Call test_max_depth.
2155 * gdb.fortran/max-depth.exp: New file.
2156 * gdb.fortran/max-depth.f90: New file.
2157 * gdb.go/max-depth.exp: New file.
2158 * gdb.go/max-depth.go: New file.
2159 * gdb.modula2/max-depth.exp: New file.
2160 * gdb.modula2/max-depth.c: New file.
2161 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2162
2163 2019-04-29 Tom de Vries <tdevries@suse.de>
2164
2165 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2166
2167 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2168
2169 * gdb.base/callexit.exp: Test may-call-functions off.
2170
2171 2019-04-25 Keith Seitz <keiths@redhat.com>
2172
2173 PR c++/24367
2174 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2175 (another_incomplete_struct, test_incomplete): New definitions.
2176 (main): Use new definitions.
2177 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2178 functions.
2179
2180 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2181
2182 PR corefiles/11608
2183 PR corefiles/18187
2184 * gdb.base/coredump-filter-build-id.exp: New file.
2185
2186 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2187
2188 * Makefile.in: Pass through GDBSERVER_DEBUG.
2189 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2190 (gdbserver,debug): Add board setting.
2191 * gdb.trace/tspeed.exp: Skip when debugging.
2192 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2193 * lib/gdbserver-support.exp: Likewise
2194
2195 2019-04-24 Tom Tromey <tromey@adacore.com>
2196
2197 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2198 Rust.
2199
2200 2019-04-24 Tom Tromey <tromey@adacore.com>
2201
2202 * gdb.arch/amd64-eval.exp: Test bitfield return.
2203 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2204 (class Foo) <return_bitfields>: New method.
2205 (main): Call it.
2206
2207 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2208
2209 * gdb.cp/many-args.cc: New file.
2210 * gdb.cp/many-args.exp: New file.
2211
2212 2019-04-23 Tom de Vries <tdevries@suse.de>
2213
2214 PR gdb/24433
2215 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2216
2217 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2218
2219 * gdb.trace/backtrace.exp: Use nopie flag.
2220 * gdb.trace/circ.exp: Likewise.
2221 * gdb.trace/collection.exp: Likewise.
2222 * gdb.trace/ftrace.exp: Likewise.
2223 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2224 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2225 * gdb.trace/qtro.exp: Likewise.
2226 * gdb.trace/read-memory.exp: Likewise.
2227 * gdb.trace/report.exp: Likewise.
2228 * gdb.trace/tfile.exp: Likewise.
2229 * gdb.trace/tfind.exp: Likewise.
2230 * gdb.trace/unavailable.exp: Likewise.
2231
2232 2019-04-22 Pedro Alves <palves@redhat.com>
2233
2234 * gdb.base/solib-probes-nosharedlibrary.c,
2235 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2236
2237 2019-04-19 Tom Tromey <tromey@adacore.com>
2238
2239 * gdb.ada/ptype_union.c: New file.
2240 * gdb.ada/ptype_union.exp: New file.
2241
2242 2019-04-19 Tom Tromey <tromey@adacore.com>
2243
2244 PR symtab/24423:
2245 * gdb.base/list0.h (foo): Add a control-l character.
2246
2247 2019-04-18 Tom de Vries <tdevries@suse.de>
2248
2249 PR gdb/24433
2250 * boards/local-board.exp: Set sysroot to "".
2251
2252 2019-04-18 Tom de Vries <tdevries@suse.de>
2253 Pedro Alves <palves@redhat.com>
2254
2255 PR gdb/24454
2256 * gdb.threads/vfork-follow-child-exec.c: New file.
2257 * gdb.threads/vfork-follow-child-exec.exp: New file.
2258 * gdb.threads/vfork-follow-child-exit.c: New file.
2259 * gdb.threads/vfork-follow-child-exit.exp: New file.
2260
2261 2019-04-15 Leszek Swirski <leszeks@google.com>
2262
2263 * gdb.arch/amd64-eval.cc: New file.
2264 * gdb.arch/amd64-eval.exp: New file.
2265
2266 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2267
2268 * gdb.server/sysroot.c: New test.
2269 * gdb.server/sysroot.exp: New file.
2270 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2271 matching param.
2272
2273 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2274
2275 * gdb.base/align.exp: Extend test to cover structures containing
2276 only static fields.
2277
2278 2019-04-11 Tom de Vries <tdevries@suse.de>
2279
2280 * boards/cc-with-dwz-m.exp: New file.
2281 * boards/cc-with-dwz.exp: New file.
2282 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2283
2284 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2285
2286 * gdb.base/start-cpp.exp: New file.
2287 * gdb.base/start-cpp.cc: New file.
2288
2289 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2290
2291 * gdb.python/py-thrhandle.exp: Adjust tests to call
2292 thread_from_handle instead of thread_from_thread_handle.
2293
2294 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2295
2296 * gdb.python/py-thrhandle.exp: Add tests for
2297 gdb.InferiorThread.handle.
2298
2299 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2300
2301 * gdb.python/py-function.exp: Check calling helper function from
2302 all languages.
2303 * lib/gdb.exp (gdb_supported_languages): New proc.
2304
2305 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2306
2307 * gdb.base/complex-parts.c: New file.
2308 * gdb.base/complex-parts.exp: New file.
2309
2310 2019-04-01 Tom Tromey <tromey@adacore.com>
2311
2312 PR symtab/23331:
2313 * gdb.dwarf2/dw2-ranges-main.c: New file.
2314 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2315 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2316
2317 2019-03-30 Simon Marchi <simark@simark.ca>
2318
2319 * gdb.base/default.exp: Add values for $_gdb_major and
2320 $_gdb_minor.
2321
2322 2019-03-29 Tom Tromey <tromey@adacore.com>
2323
2324 * gdb.base/help.exp: Tighten apropos regexp.
2325
2326 2019-03-29 Keith Seitz <keiths@redhat.com>
2327
2328 * gdb.fortran/array-bounds.exp: New file.
2329 * gdb.fortran/array-bounds.f90: New file.
2330
2331 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2332
2333 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2334
2335 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2336
2337 * gdb.multi/hello.c (main): Increase alarm timer.
2338
2339 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2340
2341 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2342 factor when no hardware watchpoint support.
2343
2344 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2345 Pedro Alves <palves@redhat.com>
2346
2347 * boards/local-board.exp: set sysroot to /.
2348
2349 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2350
2351 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2352 in child.
2353
2354 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2355
2356 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2357 field.
2358 (make_container): Initialise new field.
2359 * gdb.python/py-prettyprint.exp: Add new tests.
2360 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2361 <display_hint>: New method.
2362
2363 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2364
2365 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2366 gdb_continue_to_breakpoint more throughout this test.
2367 (run_lang_tests) Supply unique test names, and use
2368 gdb_test_no_output.
2369
2370 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2371
2372 * gdb.base/finish-pretty.exp: Update expected results.
2373 * gdb.base/pretty-print.c: New file.
2374 * gdb.base/pretty-print.exp: New file.
2375
2376 2019-03-25 Pedro Alves <palves@redhat.com>
2377
2378 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2379 move comments outside list. Append '-i "" eof' section.
2380
2381 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2382
2383 PR testsuite/25016
2384 * README: Add pie options.
2385 * gdb.base/break-interp.exp: Ensure pie is disabled.
2386 * gdb.base/dump.exp: Likewise.
2387 * lib/gdb.exp (gdb_compile): Add pie option.
2388
2389 2019-03-19 Tom Tromey <tromey@adacore.com>
2390
2391 * gdb.mi/mi2-cli-display.c: New file.
2392 * gdb.mi/mi2-cli-display.exp: New file.
2393
2394 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2395 Tom Tromey <tromey@adacore.com>
2396
2397 * gdb.ada/ptype_array/pck.adb: New file.
2398 * gdb.ada/ptype_array/pck.ads: New file.
2399 * gdb.ada/ptype_array/foo.adb: New file.
2400 * gdb.ada/ptype_array.exp: New file.
2401
2402 2019-03-14 Tom Tromey <tromey@adacore.com>
2403
2404 * gdb.base/style.exp: Add "set style sources" test.
2405
2406 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2407
2408 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2409 * mi-breakpoint-multiple-locations.exp: ... this.
2410 (make_breakpoints_pattern): New proc.
2411 (do_test): Add mi_version parameter, test -break-insert,
2412 -break-info and =breakpoint-created.
2413
2414 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2415
2416 * config/default.exp: Remove 'load_lib gdb.exp'.
2417 * config/monitor.exp: Likewise.
2418 * config/sid.exp: Likewise.
2419 * config/sim.exp: Likewise.
2420 * config/slite.exp: Likewise.
2421 * config/unix.exp: Likewise.
2422 * gdb.base/default.exp: Remove unhelpful comment.
2423
2424 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2425
2426 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2427
2428 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2429
2430 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2431
2432 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2433
2434 * gdb.fortran/type-kinds.exp: Update expected results.
2435
2436 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2437
2438 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2439
2440 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2441
2442 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2443 function.
2444 (test_basic_parsing_of_type_kinds): Expand types tested.
2445 (test_parsing_invalid_type_kinds): New function.
2446
2447 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2448
2449 * gdb.fortran/intrinsics.exp: New file.
2450 * gdb.fortran/intrinsics.f90: New file.
2451 * gdb.fortran/type-kinds.exp: New file.
2452
2453 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2454
2455 * gdb.fortran/dot-ops.exp: New file.
2456
2457 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2458
2459 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2460 Check upper and lower case logical literals.
2461
2462 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2463
2464 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2465 Remove duplicate tests.
2466
2467 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2468
2469 * lib/gdb.exp (builtin_cd): rename of cd.
2470 (cd): Override builtin.
2471
2472 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2473
2474 * gdb.fortran/function-calls.exp: New file.
2475 * gdb.fortran/function-calls.f90: New test.
2476
2477 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2478
2479 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2480 on user program standard output.
2481 * gdb.fortran/short-circuit-argument-list.f90: Record function
2482 calls.
2483
2484 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2485
2486 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2487 failure.
2488
2489 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2490
2491 PR gdb/8527
2492 * gdb.base/interrupt-daemon-attach.c,
2493 gdb.base/interrupt-daemon-attach.exp: New test.
2494
2495 2019-02-27 Pedro Alves <palves@redhat.com>
2496
2497 * gdb.base/page.exp: Add tests for "set width/height -1".
2498
2499 2019-02-27 Pedro Alves <palves@redhat.com>
2500
2501 * gdb.base/page.exp: Add tests for "set/show width/height" with
2502 "infinite" values.
2503
2504 2019-02-27 Tom Tromey <tromey@adacore.com>
2505
2506 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2507 2.4.
2508 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2509 workaround.
2510
2511 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2512
2513 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2514 tests for structs with static members.
2515
2516 2019-02-26 Tom Tromey <tromey@adacore.com>
2517
2518 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2519 ValueError, not TypeError.
2520
2521 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2522
2523 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2524 call from main program.
2525
2526 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2527
2528 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2529 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2530 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2531 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2532 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2533
2534 2019-02-22 Keith Seitz <keiths@redhat.com>
2535
2536 PR symtab/23853
2537 * gdb.base/symlink-sourcefile.c: New file.
2538 * gdb.base/symlink-sourcefile.exp: New file.
2539
2540 2019-02-20 Tom Tromey <tom@tromey.com>
2541
2542 * gdb.base/info_qt.exp: Update.
2543
2544 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2545
2546 * gdb.base/source.exp: Move "error in sourced script" code to
2547 the end.
2548 * gdb.base/source-error.gdb: Move contents to
2549 source-error-1.gdb. Add new code to source source-error-1.gdb.
2550 * gdb.base/source-error-1.gdb: New file, from previous
2551 source-error.gdb.
2552
2553 2019-02-17 Tom Tromey <tom@tromey.com>
2554
2555 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2556 for macro styling.
2557 * gdb.base/style.c (SOME_MACRO): New macro.
2558
2559 2019-02-17 Tom Tromey <tom@tromey.com>
2560
2561 * gdb.base/style.exp: Add line-wrapping tests.
2562 * gdb.base/page.exp: Add test for quitting during pagination.
2563
2564 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2565
2566 * gdb.ada/big_packed_array: New testcase.
2567 * gdb.ada/homonym.exp: Fix incorrect expected output for
2568 "break <homonym__get_value>" test.
2569
2570 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2571
2572 PR breakpoints/21870
2573 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2574 and prepare_for_testing. Add comment.
2575 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2576 redundant cleanup call. Clean up comment.
2577
2578 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2579
2580 PR breakpoints/21870
2581 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2582 * gdb.arch/aarch64-dbreg-contents.c: New file.
2583
2584 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2585
2586 * gdb.ada/mi_ref_changeable: New testcase.
2587
2588 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2589
2590 * gdb.base/attach.exp: Add double attach test.
2591
2592 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2593
2594 * lib/gdb.exp (default_gdb_start): Don't match pagination
2595 prompt.
2596 (gdb_init): Set stty_init.
2597
2598 2019-01-27 Tom Tromey <tom@tromey.com>
2599
2600 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2601 skip_python_tests.
2602
2603 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2604
2605 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2606 New structure.
2607 (struct struct_static_02_02): Likewise.
2608 (struct struct_static_02_03): Likewise.
2609 (struct struct_static_02_04): Likewise.
2610 (struct struct_static_04_01): Likewise.
2611 (struct struct_static_04_02): Likewise.
2612 (struct struct_static_04_03): Likewise.
2613 (struct struct_static_04_04): Likewise.
2614 (struct struct_static_06_01): Likewise.
2615 (struct struct_static_06_02): Likewise.
2616 (struct struct_static_06_03): Likewise.
2617 (struct struct_static_06_04): Likewise.
2618 (cmp_struct_static_02_01): Likewise.
2619 (cmp_struct_static_02_02): Likewise.
2620 (cmp_struct_static_02_03): Likewise.
2621 (cmp_struct_static_02_04): Likewise.
2622 (cmp_struct_static_04_01): Likewise.
2623 (cmp_struct_static_04_02): Likewise.
2624 (cmp_struct_static_04_03): Likewise.
2625 (cmp_struct_static_04_04): Likewise.
2626 (cmp_struct_static_06_01): Likewise.
2627 (cmp_struct_static_06_02): Likewise.
2628 (cmp_struct_static_06_03): Likewise.
2629 (cmp_struct_static_06_04): Likewise.
2630 (call_all): Test new structs.
2631 * gdb.base/infcall-nested-structs.exp: Likewise.
2632
2633 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2634 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2635
2636 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2637 * gdb.base/stack-protector.c: New test.
2638 * gdb.base/stack-protector.exp: New file.
2639 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2640 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2641 option.
2642 (gdb_compile): Remove stack protector for GCC and prevent
2643 recursion.
2644
2645 2019-01-16 Keith Seitz <keiths@redhat.com>
2646
2647 PR gdb/23773
2648 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2649
2650 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2651
2652 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2653 aliases.
2654 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2655 tests.
2656 * gdb.arch/powerpc-vector-regs.c: New file.
2657 * gdb.arch/powerpc-vector-regs.exp: New file.
2658
2659 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2660
2661 * gdb.arch/altivec-regs.exp: Fix the list passed to
2662 gdb_expect_list when testing "info vector".
2663
2664 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2665
2666 * gdb.base/style.exp: Don't include path in testname.
2667
2668 2019-01-10 Keith Seitz <keiths@redhat.com>
2669
2670 PR gdb/23712
2671 PR symtab/23010
2672 * gdb.dwarf2/multidictionary.exp: New file.
2673
2674 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2675
2676 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2677 (test_gnuv3_style_demangling): ... this.
2678 (test_lucid_style_demangling): Remove.
2679 (test_arm_style_demangling): Remove.
2680 (test_hp_style_demangling): Remove.
2681 (do_tests): Remove calls to the above.
2682
2683 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2684
2685 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2686 case.
2687
2688 2019-01-06 Tom Tromey <tom@tromey.com>
2689
2690 PR gdb/28155:
2691 * gdb.dwarf2/typedef-void-finish.exp: New file.
2692
2693 2018-12-28 Tom Tromey <tom@tromey.com>
2694 Simon Marchi <simark@simark.ca>
2695
2696 * gdb.base/jit-exec.exp: New file.
2697 * gdb.base/jit-exec.c: New file.
2698 * gdb.base/jit-execd.c: New file.
2699
2700 2018-12-28 Tom Tromey <tom@tromey.com>
2701
2702 * gdb.base/style.exp: Update test to check for address styling.
2703
2704 2018-12-28 Tom Tromey <tom@tromey.com>
2705
2706 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2707 message.
2708
2709 2018-12-28 Tom Tromey <tom@tromey.com>
2710
2711 * gdb.base/style.exp: Add test for version number styling.
2712
2713 2018-12-28 Tom Tromey <tom@tromey.com>
2714
2715 * gdb.base/style.exp: Add test for print_address_symbolic.
2716
2717 2018-12-28 Tom Tromey <tom@tromey.com>
2718
2719 * gdb.base/style.exp: Add test for breakpoint setting.
2720
2721 2018-12-28 Tom Tromey <tom@tromey.com>
2722
2723 * gdb.base/style.exp: Add test for variable names.
2724
2725 2018-12-28 Tom Tromey <tom@tromey.com>
2726
2727 * gdb.base/style.exp: New file.
2728 * gdb.base/style.c: New file.
2729
2730 2018-12-28 Tom Tromey <tom@tromey.com>
2731
2732 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2733 "dumb".
2734 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2735 the TERM environment variable.
2736
2737 2018-12-27 Tom Tromey <tom@tromey.com>
2738
2739 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2740 pagination test.
2741
2742 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2743
2744 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2745 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2746
2747 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2748
2749 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2750 Filename a.adb changed to bp_fun_addr.adb.
2751 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2752
2753 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2754
2755 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2756 non-PIE executables.
2757 * README: Mention the gdb,nopie_flag board setting.
2758 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2759 non-PIE executable.
2760 * gdb.arch/amd64-entry-value.exp: Likewise.
2761 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2762 * gdb.arch/i386-float.exp: Likewise.
2763 * gdb.arch/i386-signal.exp: Likewise.
2764 * gdb.mi/mi-reg-undefined.exp: Likewise.
2765
2766 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2767
2768 PR gdb/23974
2769 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2770
2771 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2772
2773 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2774 Update order of results accordingly.
2775
2776 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2777
2778 * gdb.base/annota1.exp: Update a test regexp.
2779
2780 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2781
2782 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2783
2784 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2785
2786 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2787 (reuse_time): Initialize to REUSE_TIME_CAP.
2788 (check_rc): New function.
2789 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2790 Check pthread_create rc.
2791 (spawner_thread_func): Check pthread_create and pthread_join rc.
2792
2793 2018-12-08 Pedro Alves <palves@redhat.com>
2794
2795 * gdb.base/list.exp (test_forward_search): Rename to ...
2796 (test_forward_reverse_search): ... this. Also test reverse-search
2797 and the forward-search alias.
2798
2799 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2800
2801 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2802 local timeout variable before return, and remove all local timeout
2803 variable entirely.
2804 (gdb_load): Likewise.
2805
2806 2018-12-01 Tom de Vries <tdevries@suse.de>
2807
2808 * gdb.base/gdb-caching-proc.exp: New file.
2809
2810 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2811
2812 * Makefile.in (TIMESTAMP): New variable.
2813 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2814 command.
2815 (check-single-racy): Likewise.
2816 (check/%.exp): Likewise.
2817 (check-racy/%.exp): Likewise.
2818 (workers/%.worker): Likewise.
2819 (build-perf): Likewise.
2820 (check-perf): Likewise.
2821 * README: Describe new "TS" and "TS_FORMAT" variables.
2822 * print-ts.py: New file.
2823
2824 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2825
2826 PR python/23714
2827 * gdb.python/python.exp: Test command repetition after
2828 gdb.execute.
2829
2830 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2831
2832 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2833 is correctly aligned.
2834
2835 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2836
2837 * gdb.ada/info_auto_lang.exp: New testcase.
2838 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2839 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2840 * gdb.ada/info_auto_lang/some_c.c: New file.
2841
2842 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2843
2844 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2845 FUNC_lang language syntax.
2846
2847 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2848
2849 * gdb.base/info_minsym.c: New file.
2850 * gdb.base/info_minsym.exp: New file.
2851
2852 2018-11-19 Tom Tromey <tom@tromey.com>
2853
2854 PR rust/23625:
2855 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2856 * gdb.rust/expr.exp: Update expected output. Change one test.
2857
2858 2018-11-19 Tom Tromey <tom@tromey.com>
2859
2860 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2861
2862 2018-11-19 Pedro Alves <palves@redhat.com>
2863
2864 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2865 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2866 see the expected warning.
2867
2868 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2869
2870 PR gdb/22736:
2871 * gdb.cp/infcall-nodebug-lib.c: New test.
2872 * gdb.cp/infcall-nodebug-main.c: New test.
2873 * gdb.cp/infcall-nodebug.exp: New file.
2874
2875 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2876
2877 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2878 completer tests.
2879
2880 2018-11-09 Tom de Vries <tdevries@suse.de>
2881
2882 * gdb.base/msym-lang.c: New test.
2883 * gdb.base/msym-lang.exp: New file.
2884 * gdb.base/msym-lang-main.c: New test.
2885
2886 2018-11-08 Tom Tromey <tom@tromey.com>
2887
2888 PR gdb/23555:
2889 PR gdb/23838:
2890 * gdb.base/warning.exp: New file.
2891
2892 2018-11-08 Jan Beulich <jbeulich@suse.com>
2893
2894 * testsuite/gdb.arch/i386-avx512.c,
2895 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2896
2897 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2898
2899 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2900 point hardware.
2901
2902 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2903
2904 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2905 * gdb.dwarf2/missing-type-name.exp: New file.
2906
2907 2018-11-06 Tom de Vries <tdevries@suse.de>
2908
2909 * gdb.base/many-headers.c: New test.
2910 * gdb.base/many-headers.exp: New file.
2911
2912 2018-11-06 Jim Wilson <jimw@sifive.com>
2913
2914 * gdb.base/code_elim.exp: For riscv, set additional_flags
2915 to include -msmall-data-limit=0.
2916
2917 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2918
2919 * gdb.ada/watch_minus_l: New testcase.
2920
2921 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2922
2923 * gdb.arch/aix-sighandle.c: New file.
2924 * gdb.arch/aix-sighandle.exp: New file.
2925
2926 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2927
2928 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2929 registers being unions.
2930
2931 2018-10-31 Tom de Vries <tdevries@suse.de>
2932
2933 * lib/valgrind.exp: New file.
2934 (vgdb_start, vgdb_stop): New procs, factored out of ...
2935 * gdb.base/valgrind-bt.exp: ... here, ...
2936 * gdb.base/valgrind-disp-step.exp: ... here and ...
2937 * gdb.base/valgrind-infcall.exp: ... here.
2938
2939 2018-10-31 Tom de Vries <tdevries@suse.de>
2940
2941 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2942
2943 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2944
2945 * gdb.dwarf2/void-type.c: New file.
2946 * gdb.dwarf2/void-type.exp: New file.
2947
2948 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2949
2950 * gdb.base/info_qt.c: New file.
2951 * gdb.base/info_qt.exp: New file.
2952
2953 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2954
2955 * gdb.arch/powerpc-htm-regs.c: New file.
2956 * gdb.arch/powerpc-htm-regs.exp: New file.
2957
2958 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2959
2960 * gdb.arch/powerpc-tar.c: New file.
2961 * gdb.arch/powerpc-tar.exp: New file.
2962
2963 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2964
2965 * gdb.arch/powerpc-ppr-dscr.c: New file.
2966 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2967
2968 2018-10-25 Tom de Vries <tdevries@suse.de>
2969
2970 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2971
2972 2018-10-24 Tom de Vries <tdevries@suse.de>
2973
2974 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2975 longer exists error.
2976
2977 2018-10-24 Tom de Vries <tdevries@suse.de>
2978
2979 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2980
2981 2018-10-24 Tom de Vries <tdevries@suse.de>
2982
2983 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2984 --db-attach in valgrind.
2985
2986 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2987
2988 * gdb.arch/riscv-reg-aliases.c: New file.
2989 * gdb.arch/riscv-reg-aliases.exp: New file.
2990
2991 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2992
2993 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2994
2995 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2996
2997 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2998
2999 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3000
3001 * gdb.cp/ovldbreak.exp: Fix regexps.
3002
3003 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3004
3005 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3006
3007 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3008
3009 PR cli/23785
3010 * gdb.base/restore.exp: New test to check if "restore" with an
3011 invalid file doesn't segfault.
3012
3013 2018-10-18 Tom de Vries <tdevries@suse.de>
3014
3015 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3016 * gdb.ada/excep_handle.exp: Same.
3017 * gdb.ada/mi_string_access.exp: Same.
3018 * gdb.ada/mi_var_union.exp: Same.
3019 * gdb.arch/arc-analyze-prologue.exp: Same.
3020 * gdb.arch/arc-decode-insn.exp: Same.
3021 * gdb.base/readnever.exp: Same.
3022 * gdb.fortran/printing-types.exp: Same.
3023 * gdb.guile/scm-lazy-string.exp: Same.
3024
3025 2018-10-16 Tom de Vries <tdevries@suse.de>
3026
3027 PR gdb/23730
3028 * gdb.base/catch-follow-exec.c: Add copyright notice.
3029 * gdb.base/catch-follow-exec.exp: Rewrite to use
3030 gdb_spawn_with_cmdline_opts. Require gdb-native.
3031
3032 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3033
3034 * gdb.trace/actions-changed.exp: Check for arch support.
3035 * gdb.trace/actions.exp: Likewise.
3036 * gdb.trace/ax.exp: Likewise.
3037 * gdb.trace/backtrace.exp: Likewise.
3038 * gdb.trace/change-loc.exp: Likewise.
3039 * gdb.trace/deltrace.exp: Likewise.
3040 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3041 * gdb.trace/ftrace.exp: Likewise.
3042 * gdb.trace/infotrace.exp: Check for arch support.
3043 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3044 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3045 * gdb.trace/mi-tsv-changed.exp: Likewise.
3046 * gdb.trace/packetlen.exp: Likewise.
3047 * gdb.trace/passc-dyn.exp: Likewise.
3048 * gdb.trace/passcount.exp: Likewise.
3049 * gdb.trace/pending.exp: Likewise.
3050 * gdb.trace/range-stepping.exp: Check for shlib support.
3051 * gdb.trace/report.exp: Check for arch support.
3052 * gdb.trace/save-trace.exp: Likewise.
3053 * gdb.trace/signal.exp: Check for signal support.
3054 * gdb.trace/tfind.exp: Check for arch support.
3055 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3056 * gdb.trace/trace-common.h: Add comment.
3057 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3058 * gdb.trace/trace-enable-disable.exp: Likewise.
3059 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3060 * gdb.trace/tracecmd.exp: Check for arch support.
3061 * gdb.trace/tspeed.exp: Check for shlib and target support.
3062 * gdb.trace/tstatus.exp: Check for arch support.
3063 * gdb.trace/tsv.exp: Likewise.
3064 * gdb.trace/while-dyn.exp: Likewise.
3065 * gdb.trace/while-stepping.exp: Likewise.
3066 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3067
3068 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3069
3070 * gdb.trace/tspeed.exp: Remove nowarnings.
3071 (prepare_for_trace_test): Declare "global ipalib".
3072 * gdb.trace/tspeed.c: Include unistd.h.
3073 (main): Remove superfluous printf argument.
3074
3075 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3076
3077 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3078 directory prefix on the filename.
3079
3080 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3081
3082 * gdb.gdb/unittest.exp: Update expected message informing that
3083 selftests have been disabled.
3084 * gdb.server/unittest.exp: Likewise.
3085
3086 2018-10-09 Tom de Vries <tdevries@suse.de>
3087
3088 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3089 with runto_main.
3090
3091 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3092
3093 PR c++/16841
3094 * gdb.cp/virtbase2.cc: New file.
3095 * gdb.cp/virtbase2.exp: New file.
3096
3097 2018-10-06 Tom Tromey <tom@tromey.com>
3098
3099 PR python/19399:
3100 * gdb.python/py-inferior.exp: Add architecture test.
3101
3102 2018-10-06 Tom Tromey <tom@tromey.com>
3103
3104 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3105 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3106
3107 2018-10-06 Tom Tromey <tom@tromey.com>
3108
3109 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3110 of a "throw" catchpoint.
3111
3112 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3113
3114 * gdb.base/info-proc.exp: Update string expected from "help info
3115 proc".
3116
3117 2018-10-04 Tom Tromey <tom@tromey.com>
3118
3119 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3120 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3121 (test_initial_complaints, test_empty_complaints): Update.
3122 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3123
3124 2018-10-04 Tom Tromey <tom@tromey.com>
3125
3126 PR cli/19551:
3127 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3128 * lib/gdb.exp (gdb_file_cmd): Update.
3129 * gdb.stabs/weird.exp (print_weird_var): Update.
3130 * gdb.server/solib-list.exp: Update.
3131 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3132 * gdb.mi/mi-cli.exp: Update.
3133 * gdb.linespec/linespec.exp: Update.
3134 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3135 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3136 * gdb.cp/cp-relocate.exp: Update.
3137 * gdb.base/sym-file.exp: Update.
3138 * gdb.base/relocate.exp: Update.
3139 * gdb.base/readnever.exp: Update.
3140 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3141 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3142 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3143 * gdb.base/code_elim.exp: Update.
3144 * gdb.base/break-unload-file.exp (test_break): Update.
3145 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3146 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3147 Update.
3148 * gdb.base/attach.exp (do_attach_tests): Update.
3149 * gdb.base/sepdebug.exp: Update.
3150 * gdb.python/py-section-script.exp: Update.
3151
3152 2018-10-04 Tom Tromey <tom@tromey.com>
3153
3154 PR cli/22234:
3155 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3156 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3157 output.
3158
3159 2018-10-04 Tom Tromey <tom@tromey.com>
3160
3161 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3162 set width and height to 0.
3163 (test_command_line_attach_run): Use -quiet.
3164
3165 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3166
3167 * lib/gdb.exp (skip_ifunc_tests): New.
3168 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3169 other compile failures.
3170 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3171
3172 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3173
3174 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3175 is_amd64_regs_target.
3176
3177 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3178
3179 * gdb.arch/aarch64-sighandler-regs.c: New test.
3180 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3181 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3182
3183 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3184
3185 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3186 assembly.
3187
3188 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3189
3190 * gdb.base/frame-selection.exp: New file.
3191 * gdb.base/frame-selection.c: New file.
3192
3193 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3194
3195 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3196 pthread barrier.
3197 (main): Likewise.
3198
3199 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3200
3201 * gdb.base/large-frame-1.c: New file.
3202 * gdb.base/large-frame-2.c: New file.
3203 * gdb.base/large-frame.exp: New file.
3204 * gdb.base/large-frame.h: New file.
3205
3206 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3207
3208 PR gdb/20948
3209 * gdb.base/write_mem.exp: New test.
3210 * gdb.base/write_mem.c: Likewise.
3211
3212 2018-09-23 Tom Tromey <tom@tromey.com>
3213
3214 PR python/18852:
3215 * gdb.python/py-parameter.exp: Add test for parameter that throws
3216 on "set".
3217
3218 2018-09-23 Tom Tromey <tom@tromey.com>
3219
3220 PR python/17284:
3221 * gdb.python/py-template.exp (test_template_arg): Add test for
3222 negative template argument number.
3223
3224 2018-09-23 Tom Tromey <tom@tromey.com>
3225
3226 PR python/14062:
3227 * gdb.python/python.exp: Add test for post_event error.
3228
3229 2018-09-23 Tom Tromey <tom@tromey.com>
3230
3231 PR python/18170:
3232 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3233 convert pointers to int and long.
3234
3235 2018-09-23 Tom Tromey <tom@tromey.com>
3236
3237 PR python/20126:
3238 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3239 signed-ness conversion tests.
3240
3241 2018-09-23 Tom Tromey <tom@tromey.com>
3242
3243 PR python/18352;
3244 * gdb.python/py-value.exp (test_float_conversion): New proc.
3245 Use it.
3246
3247 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3248
3249 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3250
3251 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3252
3253 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3254 no readline.
3255 * gdb.base/utf8-identifiers.exp: Likewise.
3256 * gdb.cp/cpcompletion.exp: Likewise.
3257 * gdb.linespec/cpcompletion.exp: Likewise.
3258 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3259 * gdb.linespec/cpls-ops.exp: Likewise.
3260
3261 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3262 Chris January <chris.january@arm.com>
3263
3264 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3265 * gdb.fortran/short-circuit-argument-list.exp: New file.
3266 * gdb.fortran/short-circuit-argument-list.f90: New test.
3267
3268 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3269
3270 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3271 "arch=" keyword when executing "-stack-list-frames".
3272
3273 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3274
3275 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3276 "arch=" keyword when executing "-stack-list-frames".
3277
3278 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3279
3280 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3281 break ada".
3282
3283 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3284
3285 PR python/23669
3286 * gdb.python/python.exp: Test gdb.execute("show commands").
3287
3288 2018-09-16 Tom Tromey <tom@tromey.com>
3289
3290 * gdb.base/new-ui.exp (do_execution_tests): Update.
3291 * gdb.base/dbx.exp (test_breakpoints): Update.
3292
3293 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3294
3295 * lib/gdb.exp (gdb_simple_compile): Add proc.
3296 (is_elf_target): Use gdb_simple_compile.
3297 (skip_altivec_tests): Likewise.
3298 (skip_vsx_tests): Likewise.
3299 (skip_tsx_tests): Likewise.
3300 (skip_btrace_tests): Likewise.
3301 (skip_btrace_pt_tests): Likewise.
3302 (gdb_can_simple_compile): Likewise.
3303 (gdb_has_argv0): Likewise.
3304 (gdb_target_symbol_prefix): Likewise.
3305 (target_supports_scheduler_locking): Likewise.
3306
3307 2018-09-13 Tom Tromey <tom@tromey.com>
3308
3309 * Makefile.in (TAGS): Recognize proc_with_prefix and
3310 gdb_caching_proc.
3311
3312 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3313
3314 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3315 method.
3316
3317 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3318
3319 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3320 and a few other Inferior properties when the Inferior is no
3321 longer valid.
3322
3323 2018-09-13 Tom Tromey <tom@tromey.com>
3324
3325 PR rust/23650:
3326 * gdb.rust/simple.exp: Add test for enum field access error.
3327
3328 2018-09-13 Tom Tromey <tom@tromey.com>
3329
3330 PR rust/23626:
3331 * gdb.rust/simple.rs (EmptyEnum): New type.
3332 (main): Use it.
3333 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3334
3335 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3336
3337 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3338 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3339 * gdb.python/py-symtab.exp: Update test printing an objfile.
3340
3341 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3342
3343 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3344 object.
3345
3346 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3347
3348 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3349 (support_complex_tests): Use gdb_can_simple_compile.
3350 (is_ilp32_target): Likewise.
3351 (is_lp64_target): Likewise.
3352 (is_64_target): Likewise.
3353 (is_amd64_regs_target): Likewise.
3354 (is_aarch32_target): Likewise.
3355 (gdb_int128_helper): Likewise.
3356
3357 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3358
3359 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3360
3361 2018-09-10 Jerome Guitton <guitton@adacore.com>
3362
3363 * gdb.ada/same_component_name: Add test for case of tagged record
3364 with variable-length fields.
3365
3366 2018-09-10 Xavier Roirand <roirand@adacore.com>
3367
3368 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3369 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3370 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3371 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3372
3373 2018-09-10 Xavier Roirand <roirand@adacore.com>
3374
3375 * gdb.ada/mi_string_access.exp: New testcase.
3376 * gdb.ada/mi_string_access/bar.adb: New file.
3377 * gdb.ada/mi_string_access/pck.adb: New file.
3378 * gdb.ada/mi_string_access/pck.asd: New file.
3379
3380 2018-09-10 Xavier Roirand <roirand@adacore.com>
3381
3382 * gdb.ada/mi_var_union.exp: New testcase.
3383 * gdb.ada/mi_var_union/bar.adb: New file.
3384 * gdb.ada/mi_var_union/pck.adb: New file.
3385 * gdb.ada/mi_var_union/pck.asd: New file.
3386
3387 2018-09-08 Tom Tromey <tom@tromey.com>
3388
3389 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3390
3391 2018-09-08 Tom Tromey <tom@tromey.com>
3392
3393 PR python/16047:
3394 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3395 (register_pretty_printers): Register new printer.
3396 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3397 test.
3398 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3399 (an_int_type3): New global.
3400
3401 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3402
3403 * gdb.ada/expr_with_funcall: New testcase.
3404
3405 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3406
3407 * gdb.ada/packed_array_assign: New testcase.
3408
3409 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3410
3411 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3412 names, and add test prefixes to make test names unique.
3413
3414 2018-09-05 Tom de Vries <tdevries@suse.de>
3415
3416 * gdb.dwarf2/varval.exp: Add test.
3417
3418 2018-09-04 Gary Benson <gbenson@redhat.com>
3419
3420 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3421 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3422
3423 2018-08-31 Tom Tromey <tom@tromey.com>
3424
3425 * gdb.rust/simple.rs: Rename second variable "v".
3426
3427 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3428
3429 * gdb.base/funcargs.c (use_a): New function.
3430 (recurse): Call use_a.
3431
3432 2018-08-29 Keith Seitz <keiths@redhat.com>
3433
3434 * gdb.compile/compile-cplus-anonymous.cc: New file.
3435 * gdb.compile/compile-cplus-anonymous.exp: New file.
3436 * gdb.compile/compile-cplus-array-decay.cc: New file.
3437 * gdb.compile/compile-cplus-array-decay.exp: New file.
3438 * gdb.compile/compile-cplus-inherit.cc: New file.
3439 * gdb.compile/compile-cplus-inherit.exp: New file.
3440 * gdb.compile/compile-cplus-member.cc: New file.
3441 * gdb.compile/compile-cplus-member.exp: New file.
3442 * gdb.compile/compile-cplus-method.cc: New file.
3443 * gdb.compile/compile-cplus-method.exp: New file.
3444 * gdb.compile/compile-cplus-mod.c: "New" file.
3445 * gdb.compile/compile-cplus-namespace.cc: New file.
3446 * gdb.compile/compile-cplus-namespace.exp: New file.
3447 * gdb.compile/compile-cplus-nested.cc: New file.
3448 * gdb.compile/compile-cplus-nested.exp: New file.
3449 * gdb.compile/compile-cplus-print.c: "New" file.
3450 * gdb.compile/compile-cplus-print.exp: "New" file.
3451 * gdb.compile/compile-cplus-virtual.cc: New file.
3452 * gdb.compile/compile-cplus-virtual.exp: New file.
3453 * gdb.compile/compile-cplus.c: "New" file.
3454 * gdb.compile/compile-cplus.exp: "New" file.
3455 * lib/compile-support.exp: New file.
3456
3457 2018-08-16 Gary Benson <gbenson@redhat.com>
3458
3459 PR gdb/13000:
3460 * gdb.base/batch-exit-status.exp: New file.
3461 * gdb.base/batch-exit-status.good-commands: Likewise.
3462 * gdb.base/batch-exit-status.bad-commands: Likewise.
3463
3464 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3465
3466 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3467 (struct struct02): Likewise.
3468 (struct struct03): Likewise.
3469 (struct struct04): Likewise.
3470 (struct struct_01_01): New struct.
3471 (struct struct_01_02): Likewise.
3472 (struct struct_01_03): Likewise.
3473 (struct struct_01_04): Likewise.
3474 (struct struct_02_01): Likewise.
3475 (struct struct_02_02): Likewise.
3476 (struct struct_02_03): Likewise.
3477 (struct struct_02_04): Likewise.
3478 (struct struct_04_01): Likewise.
3479 (struct struct_04_02): Likewise.
3480 (struct struct_04_03): Likewise.
3481 (struct struct_04_04): Likewise.
3482 (struct struct_05_01): Likewise.
3483 (struct struct_05_02): Likewise.
3484 (struct struct_05_03): Likewise.
3485 (struct struct_05_04): Likewise.
3486 (cmp_struct01): Remove function.
3487 (cmp_struct02): Likewise.
3488 (cmp_struct03): Likewise.
3489 (cmp_struct04): Likewise.
3490 (cmp_struct_01_01): Add Function.
3491 (cmp_struct_01_02): Likewise.
3492 (cmp_struct_01_03): Likewise.
3493 (cmp_struct_01_04): Likewise.
3494 (cmp_struct_02_01): Likewise.
3495 (cmp_struct_02_02): Likewise.
3496 (cmp_struct_02_03): Likewise.
3497 (cmp_struct_02_04): Likewise.
3498 (cmp_struct_04_01): Likewise.
3499 (cmp_struct_04_02): Likewise.
3500 (cmp_struct_04_03): Likewise.
3501 (cmp_struct_04_04): Likewise.
3502 (cmp_struct_05_01): Likewise.
3503 (cmp_struct_05_02): Likewise.
3504 (cmp_struct_05_03): Likewise.
3505 (cmp_struct_05_04): Likewise.
3506 (call_all): Add new structs.
3507 * gdb.base/infcall-nested-structs.exp: Likewise.
3508
3509 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3510
3511 * gdb.python/py-framefilter-mi.exp: Update regexp to
3512 check for "arch" field in frame output.
3513
3514 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3515
3516 * gdb.dwarf2/dw2-ranges-func.c: New file.
3517 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3518
3519 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3520
3521 * gdb.base/term.exp: Compare terminal settings with values from
3522 the inferior.
3523 * gdb.base/term.c: Get and set terminal settings.
3524
3525 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3526
3527 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3528 accommodate new "arch" field in frame output.
3529 * gdb.mi/mi-return.exp: Likewise.
3530 * gdb.mi/mi-stack.exp: Likewise.
3531 * gdb.mi/mi-syn-frame.exp: Likewise.
3532 * gdb.mi/user-selected-context-sync.exp: Likewise.
3533
3534 2018-08-19 Michael Spang <spang@google.com>
3535
3536 PR gdb/11786
3537 * gdb.base/gcore-tls-pie.c: New file.
3538 * gdb.base/gcore-tls-pie.exp: New file.
3539
3540 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3541
3542 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3543 * gdb.dwarf2/varval.c: New file.
3544 * gdb.dwarf2/varval.exp: New file.
3545
3546 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3547
3548 PR gdb/18931
3549 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3550
3551 2018-08-16 Keith Seitz <keiths@redhat.com>
3552
3553 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3554 tests expected to pass.
3555
3556 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3557
3558 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3559 -data-disassemble -a.
3560 (test_disassembly_bogus_args): Likewise.
3561
3562 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3563
3564 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3565
3566 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3567
3568 * gdb.base/vla-optimized-out.exp: Add new test.
3569
3570 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3571
3572 * gdb.base/vla-optimized-out-o3.exp: Delete.
3573 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3574 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3575 deleted tests.
3576
3577 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3578
3579 PR gdb/18050:
3580 * gdb.server/extended-remote-restart.c: New file.
3581 * gdb.server/extended-remote-restart.exp: New file.
3582
3583 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3584
3585 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3586 "set variable index = 42".
3587
3588 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3589
3590 * boards/index-cache-gdb.exp: New file.
3591 * gdb.dwarf2/index-cache.exp: New file.
3592 * gdb.dwarf2/index-cache.c: New file.
3593 * gdb.base/maint.exp: Check if we are using the index cache.
3594
3595 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3596
3597 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3598 MAKEFLAGS.
3599
3600 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3601
3602 * dg-extract-results.sh: Move to toplevel contrib.
3603 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3604 * Makefile.in (check-parallel-racy): Likewise.
3605
3606 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3607
3608 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3609 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3610 tests if the target supports scheduler locking.
3611
3612 2018-08-04 Tom de Vries <tdevries@suse.de>
3613
3614 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3615
3616 2018-08-02 Tom Tromey <tom@tromey.com>
3617
3618 PR symtab/16842.
3619 * gdb.cp/temargs.exp: Test "info address" of a template
3620 parameter.
3621
3622 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3623
3624 * gdb.python/py-mi-var-info-path-expression.c: New file.
3625 * gdb.python/py-mi-var-info-path-expression.py: New file.
3626 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3627
3628 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3629
3630 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3631 error after "cannot resolve name" string.
3632
3633 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3634
3635 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3636 started.
3637 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3638
3639 2018-07-28 Tom de Vries <tdevries@suse.de>
3640
3641 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3642
3643 2018-07-26 Tom de Vries <tdevries@suse.de>
3644
3645 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3646
3647 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3648
3649 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3650 is visible.
3651
3652 2018-07-26 Tom de Vries <tdevries@suse.de>
3653
3654 PR breakpoints/23366
3655 * gdb.base/catch-follow-exec.c: New test.
3656 * gdb.base/catch-follow-exec.exp: New file.
3657
3658 2018-07-25 Tom de Vries <tdevries@suse.de>
3659
3660 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3661 vla-optimized-out.c.
3662
3663 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3664
3665 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3666 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3667
3668 2018-07-20 Tom de Vries <tdevries@suse.de>
3669
3670 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3671 NOCLONE macro.
3672 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3673
3674 2018-07-19 Tom de Vries <tdevries@suse.de>
3675
3676 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3677 regular expression.
3678
3679 2018-07-18 Tom de Vries <tdevries@suse.de>
3680
3681 * gdb.base/vla-optimized-out.c: New test.
3682 * gdb.base/vla-optimized-out.exp: New file.
3683
3684 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3685
3686 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3687 message "No address associated with hostname" when gdbserver
3688 cannot resolve the hostname.
3689
3690 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3691
3692 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3693 Add some test prefixes to make tests unique.
3694
3695 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3696
3697 * gdb.base/frameapply.c: New file.
3698 * gdb.base/frameapply.exp: New file.
3699
3700 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3701
3702 * gdb.base/skip.exp: Update expected error message.
3703
3704 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3705 Jan Kratochvil <jan.kratochvil@redhat.com>
3706 Paul Fertser <fercerpav@gmail.com>
3707 Tsutomu Seki <sekiriki@gmail.com>
3708
3709 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3710 parameter.
3711 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3712 by default.
3713 * boards/native-gdbserver.exp: Likewise.
3714 * gdb.server/run-without-local-binary.exp: Improve regexp used
3715 for detecting when a remote debugging connection succeeds.
3716 * gdb.server/server-connect.exp: New file.
3717 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3718 Do not prefix the port number with ":".
3719 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3720 support for detecting and using it. Add '$debughost_gdbserver'
3721 to the list of arguments used to start gdbserver. Handle case
3722 when gdbserver cannot resolve a network name.
3723
3724 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3725
3726 PR c++/23373
3727 * gdb.base/ptype-offsets.cc (struct static_member): New
3728 struct.
3729 (main) <stmember>: New variable.
3730 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3731 with a static member in it.
3732
3733 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3734
3735 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3736 watchpoints enabled and disabled.
3737
3738 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3739
3740 * gdb.base/examine-backward.exp: Still run tests around address
3741 0x0, even if address 0x0 is not readable. Update the pattern for
3742 matching address 0x0 in expected output.
3743
3744 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3745
3746 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3747 malloc/free.
3748
3749 2018-07-04 Tom de Vries <tdevries@suse.de>
3750
3751 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3752
3753 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3754
3755 PR tdep/8282
3756 * gdb.arch/mips-disassembler-options.exp: New test.
3757 * gdb.arch/mips-disassembler-options.s: New test source.
3758
3759 2018-06-29 Pedro Alves <palves@redhat.com>
3760
3761 * gdb.threads/names.exp: Adjust expected "info threads" output.
3762
3763 2018-06-29 Pedro Alves <palves@redhat.com>
3764
3765 * gdb.opt/inline-break.exp (line number, address): Add "info
3766 break" tests.
3767
3768 2018-06-29 Pedro Alves <palves@redhat.com>
3769
3770 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3771 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3772 number and address and running to them.
3773
3774 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3775
3776 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3777
3778 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3779
3780 * lib/compiler.c: Remove executable permission flag.
3781
3782 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3783
3784 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3785 code.
3786 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3787
3788 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3789
3790 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3791
3792 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3793
3794 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3795 address argument is omitted.
3796
3797 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3798
3799 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3800
3801 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3802
3803 PR gdb/21695
3804 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3805 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3806
3807 2018-06-26 Tom Tromey <tom@tromey.com>
3808
3809 PR rust/22574:
3810 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3811 * gdb.rust/simple.rs (struct SimpleLayout): New.
3812
3813 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3814
3815 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3816 "info registers" output.
3817
3818 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3819
3820 * gdb.base/watchpoint-hw-attach.c: New test.
3821 * gdb.base/watchpoint-hw-attach.exp: New file.
3822
3823 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3824
3825 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3826 through /bin/sh.
3827 * boards/dwarf4-gdb-index.exp: Likewise.
3828 * boards/fission-dwp.exp: Likewise.
3829
3830 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3831
3832 * gdb.base/float128.exp: Add comment and improved fail message
3833 to the failure case of "print large128" test.
3834
3835 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3836
3837 * configure.ac: Remove AC_PREREQ.
3838 * configure: Re-generate.
3839
3840 2018-06-19 Pedro Alves <palves@redhat.com>
3841
3842 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3843 (func_extern_caller): New.
3844 (main): Call func_extern_caller.
3845 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3846 logic change.
3847
3848 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3849
3850 PR gdb/16841
3851 * gdb.cp/typedef-base.cc: New file.
3852 * gdb.cp/typedef-base.exp: New file.
3853
3854 2018-06-18 Tom de Vries <tdevries@suse.de>
3855
3856 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3857
3858 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3859 Richard Bunt <Richard.Bunt@arm.com>
3860
3861 * gdb.threads/attach-slow-waitpid.c: New file.
3862 * gdb.threads/attach-slow-waitpid.exp: New file.
3863 * gdb.threads/slow-waitpid.c: New file.
3864
3865 2018-06-14 Pedro Alves <palves@redhat.com>
3866
3867 * gdb.base/fork-running-state.c: Include <errno.h>.
3868 (exit_if_relative_exits): New.
3869 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3870 exits.
3871 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3872 child exits.
3873
3874 2018-06-14 Tom de Vries <tdevries@suse.de>
3875
3876 PR cli/22573
3877 * gdb.base/finish-pretty.c: New test.
3878 * gdb.base/finish-pretty.exp: New file.
3879
3880 2018-06-14 Pedro Alves <palves@redhat.com>
3881
3882 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3883 gdb's expected startup output.
3884
3885 2018-06-14 Pedro Alves <palves@redhat.com>
3886
3887 * lib/selftest-support.exp (selftest_setup): Remove inlined
3888 function handling.
3889
3890 2018-06-14 Tom de Vries <tdevries@suse.de>
3891
3892 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3893 matching of breakpoint printing.
3894
3895 2018-06-13 Tom de Vries <tdevries@suse.de>
3896
3897 PR testsuite/23269
3898 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3899 (fork_child): ... here, and ...
3900 (fork_parent): ... here.
3901
3902 2018-06-12 Tom de Vries <tdevries@suse.de>
3903
3904 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3905
3906 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3907 Stephen Roberts <stephen.roberts@arm.com>
3908
3909 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3910 rewrite test to describe action performed, rather than possible
3911 failure.
3912
3913 2018-06-08 Gary Benson <gbenson@redhat.com>
3914
3915 * gdb.threads/check-libthread-db.exp: New file.
3916 * gdb.threads/check-libthread-db.c: Likewise.
3917
3918 2018-06-05 Tom Tromey <tom@tromey.com>
3919
3920 * gdb.base/default.exp: Update expected "show version" output.
3921
3922 2018-06-05 Tom Tromey <tom@tromey.com>
3923
3924 PR cli/12326:
3925 * gdb.cp/static-print-quit.exp: Update.
3926 * lib/gdb.exp (pagination_prompt): Update.
3927 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3928 * gdb.python/python.exp: Update.
3929
3930 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3931
3932 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3933
3934 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3935
3936 * gdb.ada/bp_fun_addr: New testcase.
3937
3938 2018-06-01 Tom Tromey <tom@tromey.com>
3939
3940 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3941 results.
3942 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3943 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3944 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3945 * gdb.base/maint.exp (maint_pass_if): Update.
3946
3947 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3948
3949 * gdb.base/endian.exp: New test.
3950 * gdb.base/endian.c: New test source.
3951
3952 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3953
3954 PR gdb/23203
3955 * gdb.base/bt-selected-frame.c: New file.
3956 * gdb.base/bt-selected-frame.exp: New file.
3957 * lib/gdb.exp (get_current_frame_number): New function.
3958
3959 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3960 Pedro Alves <palves@redhat.com>
3961
3962 * gdb.threads/tls-core.c: Include <stdlib.h>
3963 (thread_proc): Call `abort'.
3964 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3965 (tls_core_test): New procedure, bits factored out from ...
3966 (top level): ... here. Test both native cores and gcore cores.
3967
3968 2018-05-23 Tom Tromey <tom@tromey.com>
3969
3970 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3971
3972 2018-05-23 Tom Tromey <tom@tromey.com>
3973
3974 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3975 symfile_complaints.
3976 (test_short_complaints): Likewise.
3977 (test_empty_complaints): Likewise.
3978 (test_initial_complaints): Update.
3979
3980 2018-05-23 Tom Tromey <tom@tromey.com>
3981
3982 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3983
3984 2018-05-23 Tom Tromey <tom@tromey.com>
3985
3986 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3987 (test_short_complaints): Update.
3988
3989 2018-05-22 Pedro Alves <palves@redhat.com>
3990
3991 * gdb.base/remote.exp: Only gdb_start after compiling the
3992 testcase. Issue "disconnect" before testing "set remote" command
3993 defaults. Issue clean_restart before running to main.
3994
3995 2018-05-22 Pedro Alves <palves@redhat.com>
3996
3997 * gdb.base/remote.exp: Adjust expected output of "show remote
3998 memory-write-packet-size". Add tests for "set remote
3999 memory-write-packet-size 0" and "set remote
4000 memory-write-packet-size fixed/limit".
4001
4002 2018-05-22 Pedro Alves <palves@redhat.com>
4003
4004 PR gdb/22973
4005 * gdb.base/utf8-identifiers.c: New file.
4006 * gdb.base/utf8-identifiers.exp: New file.
4007
4008 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4009
4010 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4011
4012 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4013
4014 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4015
4016 2018-05-18 Tom Tromey <tom@tromey.com>
4017
4018 * gdb.base/ptype-offsets.exp: Update.
4019
4020 2018-05-17 Keith Seitz <keiths@redhat.com>
4021
4022 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4023 in expected breakpoint stop locations.
4024 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4025 move to proper scope to test variable values.
4026 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4027 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4028 New functions.
4029 (main): Call not_inline_func3.
4030 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4031 inline_func1, inline_func2, and inline_func3. Test that when each
4032 breakpoint is hit, GDB properly reports both the stop location
4033 and the backtrace. Repeat tests for temporary breakpoints.
4034
4035 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4036
4037 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4038 rather then trying to access it in determining whether the PID
4039 of `gdbserver' could have been retrieved.
4040
4041 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4042
4043 * gdb.arch/amd64-init-x87-values.S: New file.
4044 * gdb.arch/amd64-init-x87-values.exp: New file.
4045
4046 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4047
4048 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4049
4050 2018-05-04 Tom Tromey <tom@tromey.com>
4051
4052 PR python/22730:
4053 * gdb.python/python.exp: Test multi-line execute.
4054
4055 2018-05-04 Tom Tromey <tom@tromey.com>
4056
4057 PR python/22731:
4058 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4059
4060 2018-05-04 Tom Tromey <tom@tromey.com>
4061
4062 PR gdb/11750:
4063 * gdb.base/define.exp: Test defining a user command inside a user
4064 command.
4065 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4066
4067 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4068 Pedro Alves <palves@redhat.com>
4069
4070 PR breakpoints/19806 and support for PR external/20207.
4071 * gdb.base/watchpoint-unaligned.c: New file.
4072 * gdb.base/watchpoint-unaligned.exp: New file.
4073
4074 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4075
4076 * gdb.base/maint.exp: Make test names unique, use
4077 test_prefix_command_help to test 'help maint info', and remove
4078 repeated test of 'help maint'.
4079
4080 2018-05-04 Tom Tromey <tom@tromey.com>
4081
4082 PR gdb/22619:
4083 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4084 behavior.
4085
4086 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4087
4088 * gdb.base/maint.exp: Process output from 'maint print registers'
4089 line at a time.
4090
4091 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4092
4093 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4094 timeout.
4095
4096 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4097
4098 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4099 filter pattern.
4100
4101 2018-05-02 Pedro Alves <palves@redhat.com>
4102
4103 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4104 to_log_command renames.
4105 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4106
4107 2018-05-02 Tom Tromey <tom@tromey.com>
4108
4109 * gdb.python/py-parameter.exp: Set test message.
4110
4111 2018-05-02 Tom Tromey <tom@tromey.com>
4112
4113 PR python/20084:
4114 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4115 PARAM_ZUINTEGER_UNLIMITED tests.
4116
4117 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4118
4119 PR rust/23124
4120 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4121 when casting.
4122
4123 2018-04-30 Tom Tromey <tom@tromey.com>
4124
4125 * gdb.python/py-type.exp: Check align attribute.
4126 * gdb.python/py-type.c: New "aligncheck" global.
4127
4128 2018-04-30 Tom Tromey <tom@tromey.com>
4129
4130 PR exp/17095:
4131 * gdb.dwarf2/dw2-align.exp: New file.
4132 * gdb.cp/align.exp: New file.
4133 * gdb.base/align.exp: New file.
4134 * lib/gdb.exp (gdb_int128_helper): New proc.
4135 (has_int128_c, has_int128_cxx): New caching procs.
4136
4137 2018-04-27 Tom Tromey <tom@tromey.com>
4138
4139 PR rust/22545:
4140 * gdb.rust/simple.exp: Add inclusive range tests.
4141
4142 2018-04-26 Pedro Alves <palves@redhat.com>
4143
4144 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4145 ifunc breakpoint locations correctly of ifunc breakpoints set
4146 while the program resolves the ifunc.
4147
4148 2018-04-26 Pedro Alves <palves@redhat.com>
4149
4150 * gdb.base/gnu-ifunc-final.c: New file.
4151 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4152 * gdb.base/gnu-ifunc.exp (executable): Delete.
4153 (staticexecutable): Adjust.
4154 (lib_opts, exec_opts): Delete.
4155 (make_binsuffix, build, set-break): New procedures.
4156 (misc_tests): New, with tests factored out from the top level.
4157 (top level): Test different combinations of ifunc resolver name,
4158 resolver with and with debug info, and ifunc target with and
4159 without debug info. Wrap static tests with with_target_prefix.
4160
4161 2018-04-26 Pedro Alves <palves@redhat.com>
4162
4163 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4164 return type" warnings.
4165
4166 2018-04-25 Pedro Alves <palves@redhat.com>
4167
4168 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4169 killed".
4170 * gdb.base/kill-after-signal.exp: Likewise.
4171 * gdb.threads/kill.exp: Likewise.
4172
4173 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4174 Sergio Durigan Junior <sergiodj@redhat.com>
4175 Pedro Alves <palves@redhat.com>
4176
4177 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4178 regexps to expect for '[Inferior ... detached]' as well.
4179 * gdb.base/attach.exp: Likewise.
4180 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4181 "gdb_continue_to_end".
4182 (test_catch_syscall_with_wrong_args): Likewise.
4183 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4184 ']'. Don't set 'verbose' on.
4185 * gdb.base/foll-vfork.exp: Likewise.
4186 * gdb.base/fork-print-inferior-events.c: New file.
4187 * gdb.base/fork-print-inferior-events.exp: New file.
4188 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4189 '[Inferior ... has been killed]' message.
4190 * gdb.base/kill-after-signal.exp: Likewise.
4191 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4192 detach message.
4193 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4194 message.
4195 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4196 regexps to expect for '[Inferior ... detached]' as well.
4197 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4198
4199 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4200
4201 PR gdb/23104
4202 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4203
4204 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4205
4206 * gdb.threads/multiple-successive-infcall.c: New test.
4207 * gdb.threads/multiple-successive-infcall.exp: New file.
4208
4209 2018-04-17 Tom Tromey <tom@tromey.com>
4210
4211 * gdb.rust/simple.rs (Union): New type.
4212 (main): New local "u".
4213 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4214
4215 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4216
4217 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4218 number information in output of "whereis" command.
4219 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4220
4221 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4222
4223 * gdb.ada/info_types.exp: Adjust expected output to the line
4224 numbers now printed by "info var/func/type".
4225 * gdb.base/completion.exp: Likewise.
4226 * gdb.base/included.exp: Likewise.
4227 * gdb.cp/cp-relocate.exp: Likewise.
4228 * gdb.cp/cplusfuncs.exp: Likewise.
4229 * gdb.cp/namespace.exp: Likewise.
4230 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4231
4232 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4233
4234 * gdb.btrace/cpu.exp: New.
4235
4236 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4237
4238 * gdb.base/step-indirect-call-thunk.exp: New.
4239 * gdb.base/step-indirect-call-thunk.c: New.
4240 * gdb.reverse/step-indirect-call-thunk.exp: New.
4241 * gdb.reverse/step-indirect-call-thunk.c: New.
4242
4243 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4244
4245 * gdb.base/pie-fork.c: New file.
4246 * gdb.base/pie-fork.exp: New file.
4247
4248 2018-04-11 Tom Tromey <tom@tromey.com>
4249
4250 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4251
4252 2018-04-10 Pedro Alves <palves@redhat.com>
4253
4254 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4255 exits. Instead loop running forever.
4256 (fork_parent): Run forever too.
4257
4258 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4259
4260 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4261 mi_continue_to_line.
4262 * gdb.mi/mi-stack.c (callee4): Add comment.
4263
4264 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4265
4266 * gdb.mi/mi-stack.exp: Fix indentation.
4267
4268 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4269
4270 PR gdb/22979
4271 * gdb.arch/amd64-osabi.exp: New file.
4272
4273 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4274
4275 PR gdb/22980
4276 * gdb.base/osabi.exp: New file.
4277
4278 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4279
4280 * gdb.cp/static-typedef-print.exp: New file.
4281 * gdb.cp/static-typedef-print.cc: New file.
4282
4283 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4284
4285 * gdb.ada/varsize_limit: New testcase.
4286
4287 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4288
4289 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4290
4291 * gdb.ada/notcplusplus: New testcase.
4292
4293 * gdb.base/c-linkage-name.c: New file.
4294 * gdb.base/c-linkage-name.exp: New testcase.
4295
4296 2018-03-26 Tom Tromey <tom@tromey.com>
4297
4298 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4299 * gdb.python/py-framefilter.py (name_error): New global.
4300 (ErrorInName.function): Use name_error.
4301
4302 2018-03-26 Tom Tromey <tom@tromey.com>
4303
4304 PR backtrace/15582:
4305 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4306
4307 2018-03-23 Keith Seitz <keiths@redhat.com>
4308
4309 PR c++/22968
4310 * gdb.cp/subtypes.exp: New file.
4311 * gdb.cp/subtypes.h: New file.
4312 * gdb.cp/subtypes.cc: New file.
4313 * gdb.cp/subtypes-2.cc: New file.
4314
4315 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4316
4317 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4318 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4319 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4320 -nostartfiles when compiling the test. Confirm that all registers
4321 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4322
4323 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4324
4325 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4326 option, syntax was wrong anyway.
4327 * gdb.arch/arm-disp-step.exp: Likewise.
4328 * gdb.arch/sparc64-regs.exp: Likewise.
4329 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4330 option, syntax was wrong anyway, switch to use
4331 prepare_for_testing.
4332 * gdb.arch/i386-disp-step.exp: Likewise.
4333
4334 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4335
4336 * gdb.ada/exec_changed.exp: Replace "target_info exists
4337 use_gdb_stub" by "use_gdb_stub".
4338 * gdb.ada/start.exp: Likewise.
4339 * gdb.base/async-shell.exp: Likewise.
4340 * gdb.base/attach-pie-misread.exp: Likewise.
4341 * gdb.base/attach-wait-input.exp: Likewise.
4342 * gdb.base/break-entry.exp: Likewise.
4343 * gdb.base/break-interp.exp: Likewise.
4344 * gdb.base/dprintf-detach.exp: Likewise.
4345 * gdb.base/nostdlib.exp: Likewise.
4346 * gdb.base/solib-nodir.exp: Likewise.
4347 * gdb.base/statistics.exp: Likewise.
4348 * gdb.base/testenv.exp: Likewise.
4349 * gdb.mi/mi-exec-run.exp: Likewise.
4350 * gdb.mi/mi-start.exp: Likewise.
4351 * gdb.multi/dummy-frame-restore.exp: Likewise.
4352 * gdb.multi/multi-arch-exec.exp: Likewise.
4353 * gdb.multi/multi-arch.exp: Likewise.
4354 * gdb.multi/tids.exp: Likewise.
4355 * gdb.multi/watchpoint-multi.exp: Likewise.
4356 * gdb.python/py-events.exp: Likewise.
4357 * gdb.threads/attach-into-signal.exp: Likewise.
4358 * gdb.threads/attach-stopped.exp: Likewise.
4359 * gdb.threads/threadapply.exp: Likewise.
4360 * lib/selftest-support.exp: Likewise.
4361
4362 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4363
4364 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4365
4366 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4367
4368 * gdb.perf/template-breakpoints.cc: New file.
4369 * gdb.perf/template-breakpoints.exp: New file.
4370 * gdb.perf/template-breakpoints.py: New file.
4371
4372 2018-03-19 Tom Tromey <tom@tromey.com>
4373
4374 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4375 y0.
4376 * gdb.rust/simple.exp: Test bare identifier form of struct
4377 initializer.
4378
4379 2018-03-19 Tom Tromey <tom@tromey.com>
4380
4381 * gdb.gdb/observer.exp: Remove.
4382
4383 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4384
4385 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4386 "qualified" option when setting breakpoints.
4387 * gdb.trace/backtrace.exp: Likewise.
4388 * gdb.trace/circ.exp: Likewise.
4389 * gdb.trace/collection.exp: Likewise.
4390 * gdb.trace/disconnected-tracing.exp: Likewise.
4391 * gdb.trace/ftrace-lock.exp: Likewise.
4392 * gdb.trace/ftrace.exp: Likewise.
4393 * gdb.trace/infotrace.exp: Likewise.
4394 * gdb.trace/packetlen.exp: Likewise.
4395 * gdb.trace/passc-dyn.exp: Likewise.
4396 * gdb.trace/qtro.exp: Likewise.
4397 * gdb.trace/read-memory.exp: Likewise.
4398 * gdb.trace/report.exp: Likewise.
4399 * gdb.trace/signal.exp: Likewise.
4400 * gdb.trace/status-stop.exp: Likewise.
4401 * gdb.trace/strace.exp: Likewise.
4402 * gdb.trace/tfind.exp: Likewise.
4403 * gdb.trace/trace-break.exp: Likewise.
4404 * gdb.trace/trace-condition.exp: Likewise.
4405 * gdb.trace/trace-mt.exp: Likewise.
4406 * gdb.trace/tstatus.exp: Likewise.
4407 * gdb.trace/tsv.exp: Likewise.
4408 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4409 * gdb.trace/unavailable.exp: Likewise.
4410 * gdb.trace/while-dyn.exp: Likewise.
4411
4412 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4413
4414 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4415 that libinproctrace is copied to the target.
4416
4417 2018-03-14 Tom Tromey <tom@tromey.com>
4418
4419 PR cli/14977:
4420 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4421 a null pointer.
4422 * gdb.base/wchar.exp: Likewise.
4423
4424 2018-03-14 Tom Tromey <tom@tromey.com>
4425
4426 PR cli/19918:
4427 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4428 flag.
4429
4430 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4431
4432 PR gdb/22841
4433 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4434 "target" to remote_exec.
4435
4436 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4437
4438 PR gdb/22841
4439 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4440 ${board}_upload): Remove.
4441
4442 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4443
4444 * gdb.cp/watch-cp.cc: New test.
4445 * gdb.cp/watch-cp.exp: New file.
4446
4447 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4448
4449 * gdb.base/infcall-nested-structs.exp: New file.
4450 * gdb.base/infcall-nested-structs.c: New file.
4451 * gdb.base/float.exp: Add riscv support.
4452
4453 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4454
4455 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4456 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4457
4458 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4459
4460 * gdb.server/abspath.exp: New file.
4461 * lib/gdb.exp (with_cwd): New procedure.
4462
4463 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4464
4465 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4466 use it.
4467 (gdb_is_target_remote_prompt): New proc.
4468 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4469 (gdb_is_target_native): Pass prompt parameter to
4470 gdb_is_target_1.
4471
4472 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4473
4474 * gdb.base/load-command.c: New file.
4475 * gdb.base/load-command.exp: New file.
4476 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4477 (gdb_is_target_1): ...this, and generalize for other targets
4478 than just remote.
4479 (gdb_is_target_remote): Use gdb_is_target_1.
4480 (gdb_is_target_native): use gdb_is_target_1.
4481
4482 2018-02-26 Tom Tromey <tom@tromey.com>
4483
4484 PR python/16497:
4485 * gdb.python/py-framefilter.exp: Update test.
4486
4487 2018-02-26 Tom Tromey <tom@tromey.com>
4488
4489 * gdb.dwarf2/variant.c: New file.
4490 * gdb.dwarf2/variant.exp: New file.
4491
4492 2018-02-26 Tom Tromey <tom@tromey.com>
4493
4494 * gdb.rust/simple.exp: Accept more possible results in enum test.
4495
4496 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4497
4498 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4499 parentheses.
4500
4501 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4502
4503 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4504 name of a variable: $actual_linejj -> $actual_line.
4505
4506 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4507
4508 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4509
4510 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4511
4512 * gdb.btrace/buffer-size.exp: Do not force BTS.
4513
4514 2018-02-14 Pedro Alves <palves@redhat.com>
4515
4516 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4517 getting a "Quit".
4518
4519 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4520
4521 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4522 Fix test name.
4523
4524 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4525
4526 * gdb.cp/m-static.exp: Check type of optimized out static
4527 member.
4528
4529 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4530
4531 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4532 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4533
4534 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4535 Leszek Swirski <leszeks@google.com>
4536
4537 * gdb.python/py-prettyprint.c
4538 (struct to_string_returns_value_inner,
4539 struct to_string_returns_value_wrapper): New.
4540 (main): Add tsrvw variable.
4541 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4542 ToStringReturnsValueWrapper): New classes.
4543 (register_pretty_printers): Register new pretty-printers.
4544 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4545 recursive pretty printer.
4546 * gdb.python/py-mi.exp: Likewise.
4547
4548 2018-02-01 Leszek Swirski <leszeks@google.com>
4549
4550 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4551 functions with the same name as an include file are parsed
4552 correctly.
4553
4554 2018-02-01 Yao Qi <yao.qi@linaro.org>
4555
4556 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4557 "\[^\r\n\]*".
4558
4559 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4560
4561 * gdb.arch/powerpc-prologue-frame.s: New file.
4562 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4563 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4564
4565 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4566
4567 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4568
4569 2018-01-30 Pedro Alves <palves@redhat.com>
4570
4571 PR gdb/13211
4572 * gdb.base/interrupt-daemon.c: New.
4573 * gdb.base/interrupt-daemon.exp: New.
4574 * gdb.multi/multi-term-settings.c: New.
4575 * gdb.multi/multi-term-settings.exp: New.
4576
4577 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4578
4579 * gdb.base/break.exp: Save the location where the breakpoint
4580 on break.c:47 was actually inserted when debugging the version
4581 compiled at -O2 and use it in the expected output of the "info
4582 break" test performed soon after.
4583
4584 2018-01-22 Pedro Alves <palves@redhat.com>
4585 Sergio Durigan Junior <sergiodj@redhat.com>
4586
4587 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4588 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4589
4590 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4591
4592 * gdb.base/break-include.c, gdb.base/break-include.inc,
4593 gdb.base/break-include.exp: New files.
4594 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4595 line number now being the actual line number where the breakpoint
4596 was inserted.
4597 * gdb.mi/mi-break.exp: Likewise.
4598 * gdb.mi/mi-reverse.exp: Likewise.
4599 * gdb.mi/mi-simplerun.exp: Ditto.
4600
4601 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4602
4603 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4604 varobj.
4605 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4606
4607 2018-01-21 Don Breazeal <donb@codesourcery.com>
4608 Andrew Burgess <andrew.burgess@embecosm.com>
4609
4610 * gdb.mi/basics.c: Add new global.
4611 * gdb.mi/mi-frame-regs.exp: New file.
4612 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4613 case.
4614
4615 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4616
4617 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4618 non-parameter, and on an unknown symbol.
4619
4620 2018-01-19 Tom Tromey <tom@tromey.com>
4621
4622 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4623 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4624
4625 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4626
4627 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4628 setrlimit and chdir to int.
4629
4630 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4631
4632 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4633 function.
4634 (my_tend): Likewise.
4635 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4636 rationale of avoiding FP- and vector instructions.
4637
4638 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4639
4640 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4641 "info reg" with "\[ \t\]*".
4642 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4643 "\[ \t\]+".
4644 * gdb.arch/s390-multiarch.exp: Ditto.
4645 * gdb.base/pc-fp.exp: Ditto.
4646 * gdb.reverse/i386-precsave.exp: Ditto.
4647 * gdb.reverse/i386-reverse.exp: Ditto.
4648 * gdb.reverse/i387-env-reverse.exp: Ditto.
4649 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4650
4651 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4652
4653 * lib/gdb.exp (gdb_compile): Re-enable use of
4654 universal_compile_options for languages other than Rust.
4655
4656 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4657
4658 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4659
4660 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4661
4662 PR gdb/16577
4663 * gdb.base/solib-vanish.exp: New.
4664 * gdb.base/solib-vanish-main.c: New.
4665 * gdb.base/solib-vanish-lib1.c: New.
4666 * gdb.base/solib-vanish-lib2.c: New.
4667
4668 2018-01-17 Yao Qi <yao.qi@linaro.org>
4669
4670 * gdb.compile/compile.exp: Match the address printed for
4671 frame in the output of command "bt".
4672
4673 2018-01-15 Tom Tromey <tom@tromey.com>
4674
4675 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4676 compute sp_reg.
4677
4678 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4679
4680 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4681 to prepare.
4682 (prepare): Return 0 on error, 1 on success.
4683
4684 2018-01-12 Pedro Alves <palves@redhat.com>
4685
4686 * gdb.base/continue-after-aborted-step-over.c: New.
4687 * gdb.base/continue-after-aborted-step-over.exp: New.
4688
4689 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4690
4691 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4692 options when not creating an executable.
4693
4694 2018-01-11 Pedro Alves <palves@redhat.com>
4695
4696 PR remote/22597
4697 * gdb.server/stop-reply-no-thread.c: New file.
4698 * gdb.server/stop-reply-no-thread.exp: New file.
4699
4700 2018-01-10 Pedro Alves <palves@redhat.com>
4701
4702 PR gdb/22670
4703 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4704 functions too. Test setting breakpoints and printing C functions
4705 with no debug info too.
4706 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4707
4708 2018-01-10 Pedro Alves <palves@redhat.com>
4709
4710 PR gdb/22670
4711 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4712 a fail.
4713
4714 2018-01-10 Pedro Alves <palves@redhat.com>
4715
4716 PR gdb/22670
4717 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4718
4719 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4720
4721 * gdb.server/unittest.exp: Match the output in non-development
4722 mode.
4723
4724 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4725
4726 * gdb.gdb/unittest.exp: Match output in non-development mode.
4727
4728 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4729
4730 * gdb.ada/access_tagged_param.exp: Relax expected output
4731 for value of "ObjL" in "continue" to pck.inspect breakpoint
4732 test.
4733
4734 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4735
4736 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4737 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4738
4739 2018-01-05 Pedro Alves <palves@redhat.com>
4740
4741 PR gdb/18653
4742 * gdb.base/libsegfault.exp: New.
4743
4744 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4745
4746 PR gdb/22670
4747 * gdb.ada/access_tagged_param.exp: New file.
4748 * gdb.ada/access_tagged_param/foo.adb: New file.
4749
4750 2018-01-05 Pedro Alves <palves@redhat.com>
4751
4752 PR gdb/22670
4753 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4754 exercise lower case too, and to exercise both full matching and
4755 wild matching.
4756
4757 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4758
4759 * gdb.ada/rename_subscript_param: New testcase.
4760
4761 2018-01-05 Jerome Guitton <guitton@adacore.com>
4762
4763 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4764
4765 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4766
4767 * gdb.ada/convvar_comp: New testcase.
4768
4769 2018-01-05 Xavier Roirand <roirand@adacore.com>
4770
4771 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4772 (My_Table): New global variable.
4773 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4774
4775 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4776
4777 PR gdb/22670
4778 * gdb.ada/maint_with_ada: New testcase.
4779
4780 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4781
4782 PR gdb/22670
4783 * gdb.ada/bp_c_mixed_case: New testcase.
4784
4785 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4786
4787 PR gdb/22670
4788 * gdb.ada/complete.exp: Add "complete break ada" test.
4789
4790 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4791
4792 PR gdb/22670
4793 * gdb.ada/info_addr_mixed_case: New testcase.
4794
4795 2018-01-03 Xavier Roirand <roirand@adacore.com>
4796
4797 * gdb.ada/excep_handle.exp: New testcase.
4798 * gdb.ada/excep_handle/foo.adb: New file.
4799 * gdb.ada/excep_handle/pck.ads: New file.
4800
4801 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4802
4803 * gdb.base/step-line.c: Add extra empty line in copyright header.
4804 * gdb.base/step-line.inp: Likewise.
4805
4806 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4807
4808 * gdb.ada/dyn_stride.exp: Add slice test.
4809
4810 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4811
4812 * gdb.ada/dyn_stride: New testcase.
4813
4814 2017-12-27 Stafford Horne <shorne@gmail.com>
4815
4816 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4817 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4818
4819 2017-12-27 Stafford Horne <shorne@gmail.com>
4820
4821 * gdb.base/reggroups.c: New file.
4822 * gdb.base/reggroups.exp: New file.
4823
4824 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4825
4826 * gdb.dwarf2/ada-valprint-error.c: New file.
4827 * gdb.dwarf2/ada-valprint-error.exp: New file.
4828
4829 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4830
4831 * gdb.ada/assign_arr: New testcase.
4832
4833 2017-12-18 Xavier Roirand <roirand@adacore.com>
4834
4835 * gdb.ada/funcall_ptr: New testcase.
4836
4837 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4838
4839 PR cli/16224
4840 * gdb.base/ptype-offsets.cc: New file.
4841 * gdb.base/ptype-offsets.exp: New file.
4842
4843 2017-12-15 Yao Qi <yao.qi@linaro.org>
4844
4845 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4846 if XML is disabled.
4847
4848 2017-12-15 Xavier Roirand <roirand@adacore.com>
4849
4850 * gdb.ada/same_component_name: New testcase.
4851
4852 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4853
4854 * gdb.ada/str_binop_equal: New testcase.
4855
4856 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4857
4858 * gdb.ada/task_switch_in_core: New testcase.
4859
4860 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4861
4862 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4863 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4864 call test_bkpt_qualified.
4865 (test_bkpt_qualified): New proc.
4866
4867 2017-12-13 Pedro Alves <palves@redhat.com>
4868
4869 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4870 Tighten regexp by matching with an anchor.
4871
4872 2017-12-13 Pedro Alves <palves@redhat.com>
4873
4874 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4875 ("expression with namespace"): New set of tests.
4876 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4877 (Nested::Test_NS::qux): New.
4878 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4879 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4880
4881 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4882
4883 * gdb.base/server-del-break.c: New file.
4884 * gdb.base/server-del-break.exp: New file.
4885
4886 2017-12-12 Stafford Horne <shorne@gmail.com>
4887
4888 * gdb.xml/tdesc-regs.exp: Add or1k support.
4889
4890 2017-12-12 Stafford Horne <shorne@gmail.com>
4891
4892 * gdb.base/bp-permanent.c: Define nop of or1k.
4893
4894 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4895
4896 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4897 output with components being reordered.
4898
4899 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4900
4901 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4902 output with components being reordered.
4903
4904 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4905 Pedro Alves <palves@redhat.com>
4906
4907 * gdb.base/maint.exp (check for .gdb_index): Check also for
4908 .debug_names.
4909 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4910 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4911 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4912 (.gdb_index used after symbol reloading): Support also .debug_names.
4913 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4914
4915 2017-12-08 Yao Qi <yao.qi@linaro.org>
4916
4917 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4918 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4919
4920 2017-12-08 Yao Qi <yao.qi@linaro.org>
4921
4922 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4923 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4924
4925 2017-12-08 Yao Qi <yao.qi@linaro.org>
4926
4927 * gdb.arch/aarch64-tagged-pointer.c: New file.
4928 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4929
4930 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4931
4932 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4933 "int".
4934
4935 2017-12-07 Keith Seitz <keiths@redhat.com>
4936
4937 PR breakpoints/22569
4938 * gdb.linespec/ls-errs.exp: Change expected result of "break
4939 -source this file has spaces.c -line 3".
4940 Check that an explicit source file followed by whitespace is
4941 identified as an invalid explicit location.
4942
4943 2017-12-07 Keith Seitz <keiths@redhat.com>
4944
4945 * gdb.cp/nested-types.cc: New file.
4946 * gdb.cp/nested-types.exp: New file.
4947 * lib/cp-support.exp: Load data-structures.exp library.
4948 (debug_cp_test_ptype_class): New global.
4949 (cp_ptype_class_verbose, next_line): New procedures.
4950 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4951 Add and document new return value.
4952 Switch the list of lines to a queue.
4953 Add support for new `type' key for nested type definitions.
4954 Add debugging/troubleshooting messages.
4955 * lib/data-structures.exp: New file.
4956
4957 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4958
4959 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4960 with proc_with_prefix, don't use with_test_prefix.
4961
4962 2017-12-07 Tom Tromey <tom@tromey.com>
4963
4964 * gdb.base/break.exp: Add test for empty "commands".
4965
4966 2017-12-07 Yao Qi <yao.qi@linaro.org>
4967
4968 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4969 malloc and catch syscall.
4970
4971 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4972
4973 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4974 tests for explicit locations.
4975
4976 2017-12-06 Pedro Alves <palves@redhat.com>
4977
4978 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4979 force-disabling XML descriptions.
4980
4981 2017-12-04 Pedro Alves <palves@redhat.com>
4982
4983 PR gdb/22499
4984 * gdb.arch/amd64-disp-step-avx.S: New file.
4985 * gdb.arch/amd64-disp-step-avx.exp: New file.
4986
4987 2017-12-03 Pedro Alves <palves@redhat.com>
4988
4989 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4990 and <string.h>.
4991 (parent_function): Print distinct messages when waitpid fails, or
4992 the child exits with a signal, or the child exits for an unhandled
4993 reason.
4994 * gdb.threads/process-dies-while-detaching.exp
4995 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4996 it. Wait for both inferior output and GDB's prompt. Use an
4997 indirect spawn id list.
4998 (do_detach): New parameter 'child_exit'. Use it to compute
4999 expected inferior output.
5000 (test_detach, test_detach_watch, test_detach_killed_outside):
5001 Adjust to pass down the expected child exit kind.
5002
5003 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5004 Sergio Durigan Junior <sergiodj@redhat.com>
5005 Pedro Alves <palves@redhat.com>
5006
5007 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5008
5009 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5010
5011 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5012 to 'symbol-file' and 'add-symbol-file' can be
5013 position-independent.
5014
5015 2017-12-01 Yao Qi <yao.qi@linaro.org>
5016
5017 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5018 the URL in copyright header.
5019 * gdb.arch/aarch64-fp.exp: Likewise.
5020 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5021 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5022 * gdb.base/expand-psymtabs.exp: Likewise.
5023 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5024 * gdb.fortran/common-block.exp: Likewise.
5025 * gdb.fortran/common-block.f90: Likewise.
5026 * gdb.fortran/logical.exp: Likewise.
5027 * gdb.fortran/vla-datatypes.f90: Likewise.
5028 * gdb.fortran/vla-sub.f90: Likewise.
5029
5030 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5031
5032 * gdb.ada/repeat_dyn: New testcase.
5033
5034 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5035
5036 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5037 Update for changed thread numbering.
5038 * gdb.cell/bt.exp: Update for changed GDB output.
5039
5040 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5041
5042 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5043 setting isremote by hand.
5044 * boards/dwarf4-gdb-index.exp: Likewise.
5045 * boards/fission.exp: Likewise.
5046 * boards/stabs.exp: Likewise.
5047
5048 2017-11-30 Pedro Alves <palves@redhat.com>
5049
5050 * gdb.linespec/cpls-ops.exp
5051 (check_explicit_skips_function_argument): Extract the underlying
5052 type of size_t instead of hardcoding it.
5053
5054 2017-11-29 Pedro Alves <palves@redhat.com>
5055
5056 PR c++/19436
5057 * gdb.linespec/cpls-abi-tag.cc: New file.
5058 * gdb.linespec/cpls-abi-tag.exp: New file.
5059
5060 2017-11-29 Pedro Alves <palves@redhat.com>
5061
5062 * gdb.base/langs.exp: Use -qualified.
5063 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5064 it.
5065 * gdb.cp/namespace.exp: Use -qualified.
5066 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5067 (overload-3, template-overload, template-ret-type, const-overload)
5068 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5069 procedures.
5070 (test_driver): Call them.
5071 * gdb.cp/save-bp-qualified.cc: New.
5072 * gdb.cp/save-bp-qualified.exp: New.
5073 * gdb.linespec/explicit.exp: Test -qualified.
5074 * lib/completion-support.exp (completion::explicit_opts_list): Add
5075 "-qualified".
5076 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5077
5078 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5079
5080 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5081
5082 2017-11-29 Tom Tromey <tom@tromey.com>
5083
5084 * gdb.base/relocate.exp: Update invalid argument test.
5085 Add new tests for invalid arguments.
5086
5087 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5088
5089 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5090 Return 0 as a long.
5091 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5092
5093 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5094
5095 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5096 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5097 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5098 func ().
5099 * gdb.cp/shadow.cc (B.func): Return 0.
5100
5101 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5102
5103 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5104 expected output in gdb_expect call to allow the exception
5105 message to be present as well. Fix syntax confusion to avoid
5106 TCL thinking that exception_name is an array.
5107
5108 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5109
5110 * gdb.arch/spu-info.c: Include <unistd.h>.
5111 (do_signal_test): Fix broken calls to write.
5112 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5113 Fix checks for empty mailboxes. Update signal tests for corrected
5114 do_signal_test routine. Allow nonzero event status.
5115 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5116 * gdb.cell/arch.exp: Use standard_output_file.
5117 * gdb.cell/break.exp: Likewise.
5118 * gdb.cell/bt.exp: Likewise.
5119 * gdb.cell/core.exp: Likewise.
5120 * gdb.cell/dwarfaddr.exp: Likewise.
5121 * gdb.cell/ea-cache.exp: Likewise.
5122 * gdb.cell/ea-standalone.exp: Likewise.
5123 * gdb.cell/f-regs.exp: Likewise.
5124 * gdb.cell/fork.exp: Likewise.
5125 * gdb.cell/gcore.exp: Likewise.
5126 * gdb.cell/mem-access.exp: Likewise.
5127 * gdb.cell/ptype.exp: Likewise.
5128 * gdb.cell/registers.exp: Likewise.
5129 * gdb.cell/sizeof.exp: Likewise.
5130 * gdb.cell/solib-symbol.exp: Likewise.
5131 * gdb.cell/solib.exp: Likewise.
5132
5133 2017-11-25 Pedro Alves <palves@redhat.com>
5134
5135 * gdb.base/complete-empty.exp: New file.
5136 * gdb.base/completion.exp: Adjust.
5137
5138 2017-11-25 Pedro Alves <palves@redhat.com>
5139
5140 * gdb.linespec/cpls-ops.cc: New file.
5141 * gdb.linespec/cpls-ops.exp: New file.
5142 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5143 factored out from ...
5144 (test_complete_prefix_range): ... this.
5145
5146 2017-11-24 Pedro Alves <palves@redhat.com>
5147
5148 * gdb.linespec/cpcompletion.exp: New file.
5149 * gdb.linespec/cpls-hyphen.cc: New file.
5150 * gdb.linespec/cpls.cc: New file.
5151 * gdb.linespec/cpls2.cc: New file.
5152 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5153 test to use test_gdb_complete_unique. Add label completion,
5154 keyword completion and explicit location completion tests.
5155 * lib/completion-support.exp: New file.
5156
5157 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5158
5159 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5160 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5161 when hitting an exception catchpoint.
5162
5163 2017-11-22 Yao Qi <yao.qi@linaro.org>
5164
5165 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5166
5167 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5168
5169 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5170 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5171 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5172
5173 2017-11-22 Yao Qi <yao.qi@linaro.org>
5174
5175 * gdb.base/info-os.exp: Pass pthreads.
5176 * gdb.multi/multi-attach.exp: Likewise.
5177
5178 2017-11-22 Yao Qi <yao.qi@linaro.org>
5179
5180 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5181 compiler.
5182
5183 2017-11-22 Yao Qi <yao.qi@linaro.org>
5184
5185 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5186 * gdb.base/break-interp.exp: Likewise.
5187 * gdb.base/jit-attach-pie.exp: Likewise.
5188
5189 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5190
5191 * gdb.base/float128.c (large128): New variable.
5192 * gdb.base/float128.exp: Add test to print largest __float128 value.
5193
5194 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5195
5196 * gdb.arch/vsx-regs.exp: Update register content checks.
5197
5198 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5199
5200 * gdb.arch/ppc-longdouble.exp: New file.
5201 * gdb.arch/ppc-longdouble.c: Likewise.
5202
5203 2017-11-21 Pedro Alves <palves@redhat.com>
5204
5205 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5206
5207 2017-11-20 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5210 (long_double_typedef): New typedefs.
5211 Use DEF on double and long double.
5212 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5213 cases.
5214 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5215 and 'long_double_ptr_same_size' locals. Use them to decide
5216 whether cast from array/function to float is valid/invalid.
5217
5218 2017-11-17 Tom Tromey <tom@tromey.com>
5219
5220 * gdb.rust/traits.rs: New file.
5221 * gdb.rust/traits.exp: New file.
5222
5223 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5224
5225 * gdb.ada/minsyms: New testcase.
5226
5227 2017-11-16 Pedro Alves <palves@redhat.com>
5228
5229 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5230 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5231
5232 2017-11-16 Pedro Alves <palves@redhat.com>
5233
5234 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5235 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5236
5237 2017-11-16 Pedro Alves <palves@redhat.com>
5238
5239 * gdb.server/reconnect-ctrl-c.c: New file.
5240 * gdb.server/reconnect-ctrl-c.exp: New file.
5241
5242 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5243
5244 * gdb.python/py-rbreak.exp: New file.
5245 * gdb.python/py-rbreak.c: New file.
5246 * gdb.python/py-rbreak-func2.c: New file.
5247
5248 2017-11-16 Pedro Alves <palves@redhat.com>
5249
5250 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5251 pattern.
5252 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5253 GDB.
5254
5255 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5256
5257 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5258 regex.
5259
5260 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5261
5262 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5263 test names.
5264
5265 2017-11-09 Pedro Alves <palves@redhat.com>
5266
5267 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5268 factored out from ...
5269 (top level): ... here, and adjusted to avoid expecting beyond the
5270 prompt in a single gdb_test_multiple.
5271
5272 2017-11-09 Pedro Alves <palves@redhat.com>
5273
5274 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5275 output.
5276 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5277 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5278 * gdb.server/ext-run.exp ("kill" test): Likewise.
5279 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5280
5281 2017-11-09 Pedro Alves <palves@redhat.com>
5282
5283 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5284 match till end of line.
5285
5286 2017-11-09 Pedro Alves <palves@redhat.com>
5287
5288 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5289
5290 2017-11-09 Pedro Alves <palves@redhat.com>
5291
5292 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5293 New procedures, factored out from ...
5294 (top level): ... here, and adjusted to avoid expecting beyond the
5295 prompt in one go.
5296
5297 2017-11-09 Pedro Alves <palves@redhat.com>
5298
5299 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5300 output. Fix '?' match.
5301
5302 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5303
5304 * gdb.ada/scoped_watch: New testcase.
5305 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5306 which is actually correct.
5307 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5308 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5309
5310 2017-11-08 Pedro Alves <palves@redhat.com>
5311
5312 * gdb.gdb/complaints.exp (test_initial_complaints)
5313 (test_serial_complaints, test_short_complaints): Call
5314 complaint_internal instead of complaint.
5315
5316 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5317
5318 * gdb.threads/tls-core.c: New file.
5319 * gdb.threads/tls-core.exp: Likewise.
5320
5321 2017-11-08 Pedro Alves <palves@redhat.com>
5322
5323 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5324 (p Exported_Capitalized): New test.
5325 (p exported_capitalized): New test.
5326
5327 2017-11-07 Pedro Alves <palves@redhat.com>
5328
5329 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5330
5331 2017-11-07 Pedro Alves <palves@redhat.com>
5332
5333 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5334 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5335 (disable_invalid, disable_inverted, disable_negative): New
5336 procedures.
5337 ("bad numbers"): New set of tests.
5338
5339 2017-11-07 Pedro Alves <palves@redhat.com>
5340
5341 * gdb.cp/ena-dis-br-range.exp: Add tests.
5342
5343 2017-11-07 Pedro Alves <palves@redhat.com>
5344
5345 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5346
5347 2017-11-07 Xavier Roirand <roirand@adacore.com>
5348 Pedro Alves <palves@redhat.com>
5349
5350 * gdb.base/ena-dis-br.exp: Add reference to
5351 gdb.cp/ena-dis-br-range.exp.
5352 * gdb.cp/ena-dis-br-range.exp: New file.
5353 * gdb.cp/ena-dis-br-range.cc: New file.
5354
5355 2017-11-06 Pedro Alves <palves@redhat.com>
5356
5357 * gdb.base/attach-non-pgrp-leader.c: New.
5358 * gdb.base/attach-non-pgrp-leader.exp: New.
5359
5360 2017-11-06 Pedro Alves <palves@redhat.com>
5361
5362 * configure.ac: No longer check for termio.h and sgtty.h.
5363 * configure: Regenerate.
5364 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5365 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5366 Remove termio and sgtty code.
5367
5368 2017-11-03 Yao Qi <yao.qi@linaro.org>
5369
5370 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5371 in GDB is disabled.
5372
5373 2017-11-03 Yao Qi <yao.qi@linaro.org>
5374
5375 * gdb.python/py-thrhandle.exp: Skip it if python is not
5376 enabled.
5377
5378 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5379
5380 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5381 as a breakpoint command.
5382
5383 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5384
5385 PR python/21213
5386 * gdb.python/py-infthread.exp: Test calling
5387 InferiorThread.inferior () multiple times in a row.
5388
5389 2017-10-27 Keith Seitz <keiths@redhat.com>
5390
5391 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5392 Test "info break" for every inlined function breakpoint.
5393
5394 2017-10-27 Yao Qi <yao.qi@linaro.org>
5395
5396 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5397
5398 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5399
5400 * gdb.cp/classes.exp (test_static_members): Test printing
5401 Outer::instance.
5402 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5403 (Inner::instance, Outer::instance): New.
5404
5405 2017-10-24 Pedro Alves <palves@redhat.com>
5406
5407 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5408 extra console" test in two stages.
5409
5410 2017-10-24 Pedro Alves <palves@redhat.com>
5411
5412 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5413
5414 2017-10-24 Pedro Alves <palves@redhat.com>
5415
5416 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5417 loop.
5418
5419 2017-10-24 Pedro Alves <palves@redhat.com>
5420
5421 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5422 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5423
5424 2017-10-24 Pedro Alves <palves@redhat.com>
5425
5426 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5427 parameter and handle it. Don't output read value in test name.
5428
5429 2017-10-24 Pedro Alves <palves@redhat.com>
5430
5431 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5432 custom test name.
5433
5434 2017-10-24 Pedro Alves <palves@redhat.com>
5435
5436 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5437 include the unstable output directory name in the test's name.
5438 (initial_setup_simple) <'set args'>: Use custom test name.
5439
5440 2017-10-24 Pedro Alves <palves@redhat.com>
5441
5442 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5443 with explicit test name.
5444
5445 2017-10-20 Pedro Alves <palves@redhat.com>
5446
5447 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5448 'wait -i'. Use gdb_assert and remote_close.
5449
5450 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5451
5452 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5453 number from variable rather than hard-coded.
5454
5455 2017-10-19 Pedro Alves <palves@redhat.com>
5456
5457 * gdb.base/long-inferior-output.c: New file.
5458 * gdb.base/long-inferior-output.exp: New file.
5459
5460 2017-11-18 Keith Seitz <keiths@redhat.com>
5461
5462 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5463 method.
5464 (main): Call it.
5465 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5466 Add additional user-defined conversion operator tests.
5467
5468 2017-10-17 Pedro Alves <palves@redhat.com>
5469
5470 * boards/native-stdio-gdbserver.exp: Load "local-board".
5471
5472 2017-10-17 Pedro Alves <palves@redhat.com>
5473
5474 * gdb.base/quit-live.c: New file.
5475 * gdb.base/quit-live.exp: New file.
5476
5477 2017-10-16 Keith Seitz <keiths@redhat.com>
5478
5479 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5480 (class_with_protected_typedef, class_with_private_typedef)
5481 (struct_with_public_typedef, struct_with_protected_typedef)
5482 (struct_with_private_typedef): New classes/structs.
5483 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5484 typedefs and access specifiers.
5485
5486 2017-10-16 Pedro Alves <palves@redhat.com>
5487 Simon Marchi <simon.marchi@polymtl.ca>
5488
5489 * README (Local vs Remote vs Native): New section.
5490 * boards/local-board.exp: New file, with bits factored out from
5491 ...
5492 * boards/native-extended-gdbserver.exp: ... here. Load
5493 "local-board".
5494 * boards/native-gdbserver.exp: Load "local-board".
5495 (${board}_spawn, ${board}_exec): Delete.
5496 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5497 ...
5498 * boards/stdio-gdbserver-base.exp: ... this new file.
5499 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5500 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5501 procedure.
5502 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5503 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5504 stdio_gdbserver_command.
5505 (${board}_get_remote_address, ${board}_get_comm_port)
5506 (${board}_download, ${board}_upload): Delete.
5507 (get_target_remote_pipe_cmd): New.
5508
5509 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5510
5511 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5512 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5513 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5514 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5515 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5516 remove with_test_prefix.
5517
5518 2017-10-13 Pedro Alves <palves@redhat.com>
5519
5520 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5521 * gdb.base/annota1.exp: Use it instead of is_remote.
5522 * gdb.base/annota3.exp: Use it instead of is_remote.
5523 * gdb.cp/annota2.exp: Use it instead of is_remote.
5524 * gdb.cp/annota3.exp: Use it instead of is_remote.
5525 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5526
5527 2017-10-13 Pedro Alves <palves@redhat.com>
5528
5529 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5530 (test_num_test_vars, run_and_count_vars, find_env)
5531 (test_set_unset_env, test_inherit_env_var): New procedures.
5532 (top level): Use them.
5533
5534 2017-10-13 Pedro Alves <palves@redhat.com>
5535
5536 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5537 also skip on stub-like targets.
5538
5539 2017-10-13 Pedro Alves <palves@redhat.com>
5540
5541 PR gdb/22293
5542 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5543 (top level): Move some tests to ...
5544 (test_not_found): ... this new procedure.
5545 (top level): Call it.
5546
5547 2017-10-13 Pedro Alves <palves@redhat.com>
5548
5549 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5550 expect different "info terminal" output if testing with a
5551 non-native target.
5552
5553 2017-10-13 Pedro Alves <palves@redhat.com>
5554 Simon Marchi <simon.marchi@polymtl.ca>
5555
5556 PR python/12966
5557 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5558
5559 2017-10-13 Pedro Alves <palves@redhat.com>
5560
5561 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5562 already.
5563
5564 2017-10-13 Pedro Alves <palves@redhat.com>
5565
5566 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5567 is_remote.
5568
5569 2017-10-13 Pedro Alves <palves@redhat.com>
5570
5571 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5572 is_remote.
5573
5574 2017-10-13 Pedro Alves <palves@redhat.com>
5575
5576 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5577 is set.
5578 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5579 instead of is_remote.
5580
5581 2017-10-13 Pedro Alves <palves@redhat.com>
5582
5583 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5584 (top level): Add comment.
5585
5586 2017-10-13 Pedro Alves <palves@redhat.com>
5587
5588 * gdb.base/remote.exp (top level): Fix comment typo and add
5589 missing return.
5590
5591 2017-10-13 Pedro Alves <palves@redhat.com>
5592 Simon Marchi <simon.marchi@polymtl.ca>
5593
5594 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5595 calls and add comments. Skip test if use_gdb_stub is set.
5596 (top level): Use "set cwd" command instead of "cd" command.
5597
5598 2017-10-13 Pedro Alves <palves@redhat.com>
5599
5600 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5601 is_remote target check.
5602
5603 2017-10-13 Pedro Alves <palves@redhat.com>
5604
5605 * gdb.base/scope.exp: Use build_executable + clean_restart +
5606 gdb_file_cmd instead of prepare_for_testing and no longer skip
5607 "before run" tests on is_remote target boards. Update comments.
5608 * boards/native-extended-gdbserver.exp
5609 (extended_gdbserver_load_last_file): New, factored out from ...
5610 (gdb_load): ... this. Move further below and add comment.
5611 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5612
5613 2017-10-12 Pedro Alves <palves@redhat.com>
5614
5615 * gdb.base/attach.exp: Remove references to gdb64.
5616 * gdb.base/dbx.exp: Remove references to gdb64.
5617
5618 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5619 Pedro Alves <palves@redhat.com>
5620
5621 * gdb.base/label.exp: Remove is_remote target check.
5622
5623 2017-10-12 Pedro Alves <palves@redhat.com>
5624
5625 * gdb.base/auvx.exp (coredir): Update comment.
5626 (top level) <core_works>: Use "set cwd" command instead of "cd"
5627 command.
5628
5629 2017-10-12 Pedro Alves <palves@redhat.com>
5630 Simon Marchi <simon.marchi@polymtl.ca>
5631
5632 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5633 target boards.
5634
5635 2017-10-12 Pedro Alves <palves@redhat.com>
5636 Simon Marchi <simon.marchi@polymtl.ca>
5637
5638 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5639 Instead skip if there's any gdb_protocol set.
5640
5641 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5642 Pedro Alves <palves@redhat.com>
5643
5644 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5645
5646 2017-10-12 Pedro Alves <palves@redhat.com>
5647 Simon Marchi <simon.marchi@polymtl.ca>
5648
5649 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5650 instead of on dejagnu remote boards.
5651
5652 2017-10-12 Pedro Alves <palves@redhat.com>
5653 Simon Marchi <simon.marchi@polymtl.ca>
5654
5655 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5656 checks. Use build_executable + clean_restart instead of
5657 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5658 of enabling non-stop after starting gdb.
5659
5660 2017-10-12 Pedro Alves <palves@redhat.com>
5661
5662 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5663 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5664 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5665 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5666
5667 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5668
5669 * gdb.arch/arc-tdesc-cpu.exp: New file.
5670 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5671
5672 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5673
5674 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5675
5676 2017-10-10 Pedro Alves <palves@redhat.com>
5677
5678 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5679 expect CLI output.
5680
5681 2017-10-10 Pedro Alves <palves@redhat.com>
5682
5683 * lib/selftest-support.exp (selftest_setup): Update for
5684 captured_command_loop's prototype change.
5685
5686 2017-10-09 Pedro Alves <palves@redhat.com>
5687
5688 Test both arch1=>arch2 and arch2=>arch1.
5689
5690 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5691 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5692 factored out to...
5693 (append_arch1_options, append_arch2_options, append_arch_options)
5694 (build_executables): New procedures.
5695 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5696 local.
5697 (top level): Add new 'first_arch' testing axis.
5698
5699 2017-10-09 Pedro Alves <palves@redhat.com>
5700
5701 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5702 (barrier): New.
5703 (thread_start, all_started): New functions.
5704 (main): Spawn new thread and wait until it is scheduled.
5705 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5706 option.
5707 (do_test): Add 'selected_thread' parameter. Run to all_started
5708 instead of main. Explicitly set the breakpoint at main. Switch
5709 to the SELECTED_THREAD thread.
5710 (top level): Test handling the exec event with either the main
5711 thread or the second thread selected.
5712
5713 2017-10-09 Pedro Alves <palves@redhat.com>
5714
5715 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5716 logic. Move STOP marker after the value checks.
5717 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5718 regexp.
5719
5720 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5721
5722 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5723
5724 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5725
5726 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5727 integer-to-dfp conversion.
5728 * gdb.base/dfp-test.exp: Likewise.
5729
5730 2017-10-04 Pedro Alves <palves@redhat.com>
5731
5732 * gdb.multi/hangout.c: Include <unistd.h>.
5733 (hangout_loop): New function.
5734 (main): Call alarm. Call hangout_loop in a loop.
5735 * gdb.multi/hello.c: Include <unistd.h>.
5736 (hello_loop): New function.
5737 (main): Call alarm. Call hangout_loop in a loop.
5738 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5739 inferior with the other selected.
5740
5741 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5742
5743 * gdb.mi/list-thread-groups-available.exp: New file.
5744 * gdb.mi/list-thread-groups-available.c: New file.
5745
5746 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5747
5748 * gdb.base/set-cwd.exp: Make it available on
5749 native-extended-gdbserver.
5750
5751 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5752
5753 * gdb.base/set-cwd.c: New file.
5754 * gdb.base/set-cwd.exp: Likewise.
5755
5756 2017-10-02 Tom Tromey <tom@tromey.com>
5757
5758 PR rust/22236:
5759 * gdb.rust/simple.rs (main): New variable "fslice".
5760 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5761
5762 2017-10-02 Tom Tromey <tom@tromey.com>
5763
5764 * gdb.rust/simple.exp: Test ptype of a slice.
5765
5766 2017-10-02 Tom Tromey <tom@tromey.com>
5767
5768 * gdb.rust/simple.exp: Test index of slice.
5769
5770 2017-09-27 Tom Tromey <tom@tromey.com>
5771
5772 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5773
5774 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5775 Pedro Alves <palves@redhat.com>
5776
5777 * gdb.base/compare-sections.exp (get value of read-only section): Read
5778 as unsigned value.
5779 (corrupt read-only section): Likewise and don't set written if patching
5780 failed.
5781
5782 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5783
5784 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5785 files.
5786
5787 2017-09-20 Pedro Alves <palves@redhat.com>
5788
5789 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5790 symbol names in gdb's output.
5791 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5792
5793 2017-09-20 Pedro Alves <palves@redhat.com>
5794
5795 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5796 Rename to ...
5797 (test_list_ambiguous_symbol): ... this and add a symbol name
5798 parameter. Adjust.
5799 (test_list_ambiguous_function): Reimplement on top of
5800 test_list_ambiguous_symbol and also test listing ambiguous
5801 variables.
5802 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5803 (ambiguous_fun): ... this.
5804 (ambiguous_var): New.
5805 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5806 (ambiguous_fun): ... this.
5807 (ambiguous_var): New.
5808
5809 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5810
5811 * gdb.base/starti.c: New file.
5812 * gdb.base/starti.exp: New file.
5813 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5814
5815 2017-09-14 Pedro Alves <palves@redhat.com>
5816
5817 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5818 (top level): Use it instead of runto.
5819
5820 2017-09-11 Tom Tromey <tom@tromey.com>
5821
5822 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5823
5824 2017-09-11 Tom Tromey <tom@tromey.com>
5825
5826 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5827 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5828
5829 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5830
5831 * gdb.fortran/printing-types.exp: New file.
5832 * gdb.fortran/printing-types.exp: New file.
5833
5834 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5835
5836 * gdb.fortran/vla-ptype.exp: Fix typos.
5837 * gdb.fortran/vla-value.exp: Same.
5838
5839 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5840
5841 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5842 * gdb.mi/mi-var-child-f.exp: Likewise.
5843 * gdb.mi/mi-vla-fortran.exp: Likewise.
5844
5845 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5846 Christoph Weinmann <christoph.t.weinmann@intel.com>
5847 Bernhard Heckel <bernhard.heckel@intel.com>
5848
5849 * gdb.fortran/ptr-indentation.f90: New file.
5850 * gdb.fortran/ptr-indentation.exp: New file.
5851
5852 2017-09-05 Tom Tromey <tom@tromey.com>
5853
5854 PR gdb/22010:
5855 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5856
5857 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5858
5859 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5860
5861 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5862
5863 * gdb.threads/tls-nodebug-pie.c: New file.
5864 * gdb.threads/tls-nodebug-pie.exp: New file.
5865
5866 2017-09-05 Tom Tromey <tom@tromey.com>
5867
5868 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5869 for rust.
5870
5871 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5872
5873 * gdb.multi/multi-arch-exec.exp: Test with different
5874 "follow-exec-mode" settings.
5875 (do_test): New procedure.
5876
5877 2017-09-04 Pedro Alves <palves@redhat.com>
5878
5879 * gdb.base/func-static.c (S::method const, S::method volatile)
5880 (S::method volatile const): New methods.
5881 (c_s, v_s, cv_s): New instances.
5882 (main): Call method() on them.
5883 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5884 (cannot_resolve): New procedure.
5885 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5886 print-quote-unquoted columns.
5887 (do_test): Test printing each scope too.
5888
5889 2017-09-04 Pedro Alves <palves@redhat.com>
5890
5891 * gdb.base/local-static.exp: Also test with
5892 class::method::variable wholly quoted.
5893 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5894
5895 2017-09-04 Pedro Alves <palves@redhat.com>
5896
5897 * gdb.base/local-static.c: New.
5898 * gdb.base/local-static.cc: New.
5899 * gdb.base/local-static.exp: New.
5900
5901 2017-09-04 Pedro Alves <palves@redhat.com>
5902
5903 * gdb.asm/asm-source.exp: Add casts to int.
5904 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5905 (dataglobal64_1, dataglobal64_2): New globals.
5906 * gdb.base/nodebug.exp: Test different expressions involving the
5907 new globals, with print, whatis and ptype. Add casts to int.
5908 * gdb.base/solib-display.exp: Add casts to int.
5909 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5910 * gdb.cp/m-static.exp: Add cast to int.
5911 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5912 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5913 tls variable with no debug info without a cast. Test with a cast
5914 to int too.
5915 * gdb.trace/entry-values.exp: Add casts.
5916
5917 2017-09-04 Pedro Alves <palves@redhat.com>
5918
5919 * gdb.base/nodebug.exp: Test that ptype's error about functions
5920 with unknown return type includes the function name too.
5921
5922 2017-09-04 Pedro Alves <palves@redhat.com>
5923
5924 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5925 return type of munmap in infcall.
5926 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5927 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5928 type of ftell in infcall.
5929 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5930 type of getpid in infcall.
5931 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5932 infcall.
5933 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5934 Bail on failure to extract the pid.
5935 * gdb.base/nodebug.c: #include <stdint.h>.
5936 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5937 New functions.
5938 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5939 Change expected output of print/whatis/ptype with functions with
5940 no debug info. Test all supported languages. Call
5941 test_call_promotion.
5942 * gdb.compile/compile.exp: Adjust expected output to expect
5943 warning.
5944 * gdb.threads/siginfo-threads.exp: Likewise.
5945
5946 2017-09-04 Pedro Alves <palves@redhat.com>
5947
5948 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5949 "prototypes". Test calling float functions via prototyped and
5950 unprototyped function pointers.
5951 (perform_all_tests): New parameter "prototypes". Pass it down.
5952 (top level): Pass down "prototypes" parameter to
5953 perform_all_tests.
5954
5955 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5956
5957 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5958 Test with nested loops.
5959
5960 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5961
5962 * gdb.base/commands.exp: Call the new procedures.
5963 (loop_break_test, loop_continue_test): New procedures.
5964
5965 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5966
5967 * gdb.base/commands.exp: Call new procedure.
5968 (define_if_without_arg_test): New procedure.
5969
5970 2017-09-04 Pedro Alves <palves@redhat.com>
5971
5972 * gdb.base/list-ambiguous.exp: New file.
5973 * gdb.base/list-ambiguous0.c: New file.
5974 * gdb.base/list-ambiguous1.c: New file.
5975 * gdb.base/list.exp (test_list_range): Adjust expected output.
5976
5977 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5978
5979 * gdb.base/share-env-with-gdbserver.c: New file.
5980 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5981
5982 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5983
5984 * gdb.base/commands.exp (gdbvar_simple_if_test,
5985 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5986 progvar_simple_if_test, progvar_simple_while_test,
5987 progvar_complex_if_while_test, user_defined_command_test,
5988 user_defined_command_args_eval,
5989 user_defined_command_args_stack_test,
5990 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5991 temporary_breakpoint_commands,
5992 gdb_test_no_prompt, redefine_hook_test,
5993 redefine_backtrace_test): Remove "global gdb_prompt".
5994
5995 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5996
5997 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5998 New proc, call it from toplevel.
5999
6000 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6001
6002 PR remote/21852
6003 * gdb.server/normal.c: New file, copied from gdb.base.
6004 * gdb.server/run-without-local-binary.exp: New file.
6005
6006 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6007
6008 * gdb.arch/sparc64-adi.exp: New file.
6009 * gdb.arch/sparc64-adi.c: New file.
6010
6011 2017-08-22 Pedro Alves <palves@redhat.com>
6012
6013 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6014 (top level): Add "list all overloads" tests.
6015
6016 2017-08-22 Tom Tromey <tom@tromey.com>
6017
6018 * gdb.gdb/xfullpath.exp: Remove.
6019
6020 2017-08-21 Pedro Alves <palves@redhat.com>
6021
6022 PR gdb/19487
6023 * gdb.base/symbol-alias.c: New.
6024 * gdb.base/symbol-alias2.c: New.
6025 * gdb.base/symbol-alias.exp: New.
6026
6027 2017-08-21 Pedro Alves <palves@redhat.com>
6028
6029 * gdb.base/dfp-test.c
6030 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6031 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6032 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6033 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6034 * gdb.base/whatis-ptype-typedefs.c: New.
6035 * gdb.base/whatis-ptype-typedefs.exp: New.
6036 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6037 (an_int, an_int_type, an_int_type2): New globals.
6038 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6039 involving typedefs and cast expressions.
6040 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6041 (lookup_typedefs_function): New.
6042 (typedefs_pretty_printers_dict): New.
6043 (top level): Register lookup_typedefs_function in
6044 gdb.pretty_printers.
6045
6046 2017-08-18 Yao Qi <yao.qi@linaro.org>
6047
6048 * gdb.server/unittest.exp: New.
6049
6050 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6051
6052 PR gdb/21954
6053 * gdb.base/environ.exp: Add test to check if 'unset environment'
6054 works.
6055
6056 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6057
6058 * lib/gdb.exp (universal_compile_options): New caching proc.
6059 (gdb_compile): Suppress GCC's coloring of messages.
6060
6061 2017-08-14 Tom Tromey <tom@tromey.com>
6062
6063 PR gdb/21675:
6064 * gdb.base/printcmds.exp (test_radices): New function.
6065 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6066 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6067 * lib/gdb.exp (get_integer_valueof): Use p/d.
6068
6069 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6070
6071 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6072 characters.
6073
6074 2017-08-05 Tom Tromey <tom@tromey.com>
6075
6076 * gdb.rust/simple.exp: Allow String to appear in a different
6077 namespace.
6078
6079 2017-07-26 Yao Qi <yao.qi@linaro.org>
6080
6081 * gdb.gdb/unittest.exp: Invoke command
6082 "maintenance check xml-descriptions".
6083
6084 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6085
6086 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6087 calling context.
6088 (hex128): Drop erroneous calculation of parameters.
6089
6090 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6091
6092 * gdb.python/py-unwind.exp: Disable stack protection when
6093 building test file.
6094
6095 2017-07-20 Pedro Alves <palves@redhat.com>
6096
6097 * gdb.base/default.exp (set language): Adjust expected output.
6098
6099 2017-07-20 Pedro Alves <palves@redhat.com>
6100
6101 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6102 (test_minsym): ... this, and make static.
6103 (get_pck__foo__bar__minsym): Rename to ...
6104 (get_test_minsym): ... this.
6105 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6106 symbol names and comments.
6107 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6108 (get_test_minsym): ... this.
6109 (pck__foo__bar__minsym__2): Rename to ...
6110 (test_minsym): ... this.
6111 (main): Adjust.
6112
6113 2017-07-17 Pedro Alves <palves@redhat.com>
6114
6115 * gdb.base/completion.exp: Adjust expected output.
6116 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6117 the completer works.
6118
6119 2017-07-17 Pedro Alves <palves@redhat.com>
6120
6121 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6122
6123 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6124
6125 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6126
6127 2017-07-14 Tom Tromey <tom@tromey.com>
6128
6129 PR rust/21764:
6130 * gdb.rust/simple.exp: Add tests.
6131
6132 2017-07-14 Tom Tromey <tom@tromey.com>
6133
6134 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6135
6136 2017-07-14 Pedro Alves <palves@redhat.com>
6137
6138 * gdb.linespec/base/one/thefile.cc (z1): New function.
6139 * gdb.linespec/base/two/thefile.cc (z2): New function.
6140 * gdb.linespec/linespec.exp: Add tests.
6141
6142 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6143
6144 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6145 to mi_create_breakpoint.
6146
6147 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6148
6149 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6150 mi_create_breakpoint.
6151
6152 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6153
6154 * gdb.dlang/demangle.exp: Update for demangling changes.
6155
6156 2017-07-09 Tom Tromey <tom@tromey.com>
6157
6158 * gdb.dwarf2/shortpiece.exp: New file.
6159
6160 2017-07-06 David Blaikie <dblaikie@gmail.com>
6161
6162 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6163 built from fissiont-multi-cu{1,2}.c.
6164 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6165 except putting 'main' and 'func' in separate CUs in the same DWO file.
6166 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6167 test.
6168 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6169 test.
6170
6171 2017-07-06 Pedro Alves <palves@redhat.com>
6172
6173 * gdb.python/py-unwind.exp: Test flushregs.
6174
6175 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6176
6177 PR cli/21688
6178 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6179 tests for alias commands and trailing whitespace.
6180
6181 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6182
6183 PR cli/21688
6184 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6185 procedure. Call it.
6186
6187 2017-06-29 Pedro Alves <palves@redhat.com>
6188
6189 * gdb.base/printcmds.exp: Add tests.
6190
6191 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6192
6193 PR gdb/21337
6194 * gdb.base/reread-readsym.exp: New file.
6195 * gdb.base/reread-readsym.c: New file.
6196
6197 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6198
6199 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6200 subpattern.
6201
6202 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6203
6204 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6205 extended mnemonic.
6206 * gdb.arch/powerpc-power9.s: Likewise.
6207
6208 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6209
6210 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6211 on 32-bit x86 targets. Exploit is_*_target macros where
6212 appropriate.
6213
6214 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6215
6216 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6217 register pieces.
6218
6219 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6220
6221 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6222 located in one or more DWARF pieces.
6223
6224 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6225
6226 * lib/gdb.exp (get_endianness): New proc.
6227 * gdb.arch/aarch64-fp.exp: Use it.
6228 * gdb.arch/altivec-regs.exp: Likewise.
6229 * gdb.arch/e500-regs.exp: Likewise.
6230 * gdb.arch/vsx-regs.exp: Likewise.
6231 * gdb.base/dump.exp: Likewise.
6232 * gdb.base/funcargs.exp: Likewise.
6233 * gdb.base/gnu_vector.exp: Likewise.
6234 * gdb.dwarf2/formdata16.exp: Likewise.
6235 * gdb.dwarf2/implptrpiece.exp: Likewise.
6236 * gdb.dwarf2/nonvar-access.exp: Likewise.
6237 * gdb.python/py-inferior.exp: Likewise.
6238 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6239
6240 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6241
6242 PR gdb/21226
6243 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6244 stack value pieces are taken from the LSB end.
6245
6246 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6247
6248 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6249 variable at nonzero offset.
6250
6251 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6252
6253 * gdb.dwarf2/var-access.c: New file.
6254 * gdb.dwarf2/var-access.exp: New test.
6255 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6256
6257 2017-06-12 Tom Tromey <tom@tromey.com>
6258
6259 * gdb.dwarf2/formdata16.exp: Add tests.
6260
6261 2017-06-12 Tom Tromey <tom@tromey.com>
6262
6263 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6264
6265 2017-06-12 Tom Tromey <tom@tromey.com>
6266
6267 PR exp/16225:
6268 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6269 * gdb.arch/vsx-regs.exp: Update tests.
6270 * gdb.arch/s390-vregs.exp (hex128): New proc.
6271 Update test.
6272 * gdb.arch/altivec-regs.exp: Update tests.
6273
6274 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6275
6276 * gdb.base/startup-with-shell.c: New file.
6277 * gdb.base/startup-with-shell.exp: Likewise.
6278
6279 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6280
6281 * gdb.server/non-existing-program.exp: Update regex in order to
6282 reflect the fact that gdbserver is now using fork_inferior (with a
6283 shell) to startup the inferior.
6284
6285 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6286
6287 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6288 support function calls from GDB.
6289
6290 2017-05-21 Tom Tromey <tom@tromey.com>
6291
6292 PR rust/21466:
6293 * gdb.rust/unsized.exp: New file.
6294 * gdb.rust/unsized.rs: New file.
6295
6296 2017-05-19 Tom Tromey <tom@tromey.com>
6297
6298 PR rust/21484:
6299 * gdb.rust/watch.exp: New file.
6300 * gdb.rust/watch.rs: New file.
6301
6302 2017-05-18 Tom Tromey <tom@tromey.com>
6303
6304 * gdb.rust/simple.exp: Allow Box to be qualified.
6305
6306 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6307
6308 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6309
6310 2017-05-18 Pedro Alves <palves@redhat.com>
6311
6312 * gdb.base/fileio.c (test_write, test_read, test_close)
6313 (test_fstat): Don't print 'ret' in the fail path.
6314
6315 2017-05-18 Pedro Alves <palves@redhat.com>
6316
6317 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6318 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6319 (test_system, test_rename, test_unlink, test_time): Change
6320 prototypes.
6321 * gdb.base/fileio.exp (stop_msg): Adjust.
6322
6323 2017-05-18 Pedro Alves <palves@redhat.com>
6324
6325 * gdb.base/fileio.c (null_str): New global.
6326 (test_stat): Use it.
6327 * gdb.base/fileio.exp: Remove nowarnings.
6328
6329 2017-05-17 Yao Qi <yao.qi@linaro.org>
6330
6331 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6332
6333 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6334
6335 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6336 argument command.
6337 (top-level): Invoke test_set_inferior_tty.
6338
6339 2017-05-04 Pedro Alves <palves@redhat.com>
6340
6341 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6342 Add parens to print call for Python 3.
6343
6344 2017-05-03 Keith Seitz <keiths@redhat.com>
6345
6346 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6347 (main): Call it.
6348
6349 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6350
6351 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6352 to prev and next.
6353
6354 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6355
6356 * gdb.python/py-record-btrace.exp: Remove test for
6357 gdb.BtraceInstruction.error.
6358
6359 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6360
6361 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6362
6363 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6364
6365 * gdb.python/py-record-btrace-threads.c: New file.
6366 * gdb.python/py-record-btrace-threads.exp: New file.
6367
6368 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6369
6370 PR testsuite/8595
6371 * gdb.base/environ.exp: Make test available in all architectures.
6372 Move bits related to "info program" testing to
6373 gdb.base/info-program.exp. Rewrite tests to use the two new
6374 procedures mentione below.
6375 (test_set_show_env_var) New procedure.
6376 (test_set_show_env_var_equal): Likewise.
6377 * gdb.base/info-program.exp: New file.
6378
6379 2017-04-27 Keith Seitz <keiths@redhat.com>
6380
6381 * gdb.cp/oranking.cc (test15): New function.
6382 (main): Call test15 and declare additional variables for testing.
6383 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6384 "p foo101('abc')" tests.
6385 Add tests for cv qualifier overloads.
6386 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6387 "lvalue reference overload" test.
6388 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6389 "print value of f1 on Child&& in f2" test.
6390
6391 2017-04-19 Pedro Alves <palves@redhat.com>
6392
6393 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6394 procedure.
6395 (top level): Call it.
6396 * lib/gdb.exp (gdb_define_cmd): New procedure.
6397
6398 2017-04-12 Pedro Alves <palves@redhat.com>
6399
6400 PR gdb/21323
6401 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6402 (wchar): New global.
6403 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6404 (do_test_wide_char, wide_char_types_no_program, top level): Add
6405 wchar_t testing.
6406
6407 2017-04-12 Pedro Alves <palves@redhat.com>
6408
6409 PR c++/21323
6410 * gdb.cp/wide_char_types.c: New file.
6411 * gdb.cp/wide_char_types.exp: New file.
6412
6413 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6414
6415 PR gdb/21352
6416 * gdb.trace/tsv.exp: Add test for "tsave -r".
6417
6418 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6419
6420 * gdb.dlang/watch-loc.c: New file.
6421 * gdb.dlang/watch-loc.exp: New file.
6422
6423 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6424
6425 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6426
6427 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6428
6429 * gdb.arch/arc-analyze-prologue.S: New file.
6430 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6431
6432 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6433
6434 * gdb.arch/arc-decode-insn.S: New file.
6435 * gdb.arch/arc-decode-insn.exp: Likewise.
6436
6437 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6438
6439 PR tdep/20928
6440 * gdb.arch/sparc64-regs.exp: New file.
6441 * gdb.arch/sparc64-regs.S: Likewise.
6442
6443 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6444
6445 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6446 and memory view on Python 3.
6447
6448 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6449 Keith Seitz <keiths@redhat.com>
6450
6451 PR gdb/14441
6452 * gdb.cp/demangle.exp: Add rvalue reference tests.
6453 * gdb.cp/rvalue-ref-casts.cc: New file.
6454 * gdb.cp/rvalue-ref-casts.exp: New file.
6455 * gdb.cp/rvalue-ref-overload.cc: New file.
6456 * gdb.cp/rvalue-ref-overload.exp: New file.
6457 * gdb.cp/rvalue-ref-params.cc: New file.
6458 * gdb.cp/rvalue-ref-params.exp: New file.
6459 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6460 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6461 * gdb.cp/rvalue-ref-types.cc: New file.
6462 * gdb.cp/rvalue-ref-types.exp: New file.
6463 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6464 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6465
6466 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6467
6468 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6469 New procedure.
6470
6471 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6472
6473 * lib/mi-support.exp (mi_gdb_test): Add additional message
6474 for unexpected output.
6475
6476 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6477
6478 * gdb.base/examine-backward.c (Barrier): New character array
6479 constant, to ensure that TestStrings is preceded by a string
6480 terminator.
6481
6482 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6483
6484 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6485 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6486 and implicit pointer into such a location.
6487
6488 2017-03-16 Doug Evans <dje@google.com>
6489
6490 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6491
6492 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6493
6494 * gdb.cp/m-static.exp: Fix expectation for prototype of
6495 test5.single_constructor and single_constructor::single_constructor.
6496
6497 2017-03-16 Doug Evans <dje@google.com>
6498
6499 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6500 * gdb.guile/scm-lazy-string.c: New file.
6501 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6502 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6503 for pointer, array, typedef lazy strings.
6504
6505 2017-03-16 Doug Evans <dje@google.com>
6506
6507 PR python/17728, python/18439, python/18779
6508 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6509 * gdb.python/py-lazy-string.c (pointer): New typedef.
6510 (main): New locals ptr, array, typedef_ptr.
6511 * gdb.python/py-value.exp: Move lazy string tests to ...
6512 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6513 array, typedef lazy strings.
6514
6515 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6516
6517 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6518 Add optional 'test' parameter.
6519
6520 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6521
6522 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6523 Skip for versions of DejaGnu < 1.5.
6524
6525 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6526
6527 * lib/gdb.exp (dejagnu_version): New proc.
6528 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6529 Use dejagnu_version.
6530
6531 2017-03-10 Keith Seitz <keiths@redhat.com>
6532
6533 PR c++/8128
6534 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6535 type from destructor regexps.
6536 Add a branch which actually passes the test.
6537 Adjust "ptype t5i" test names.
6538
6539 2017-03-08 Pedro Alves <palves@redhat.com>
6540
6541 * gdb.base/step-over-exit.exp: Add explicit test message.
6542
6543 2017-03-08 Pedro Alves <palves@redhat.com>
6544
6545 PR gdb/18360
6546 * gdb.threads/interrupt-while-step-over.c: New file.
6547 * gdb.threads/interrupt-while-step-over.exp: New file.
6548
6549 2017-03-08 Pedro Alves <palves@redhat.com>
6550
6551 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6552 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6553
6554 2017-03-08 Pedro Alves <palves@redhat.com>
6555
6556 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6557 PKRU as not supported as a PASS.
6558
6559 2017-03-08 Pedro Alves <palves@redhat.com>
6560
6561 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6562 prefix instead of $binfile1/$binfile2.
6563 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6564 in test message.
6565 * gdb.python/py-completion.exp: Use "load python file" as test
6566 messages instead of unstable path names.
6567
6568 2017-03-08 Pedro Alves <palves@redhat.com>
6569 Jan Kratochvil <jan.kratochvil@redhat.com>
6570
6571 PR cli/21218
6572 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6573 New proc.
6574 (top level): Call it.
6575
6576 2017-03-08 Pedro Alves <palves@redhat.com>
6577
6578 PR tui/21216
6579 * gdb.tui/tui-nl-filtered-output.exp: New file.
6580
6581 2017-03-08 Pedro Alves <palves@redhat.com>
6582
6583 * gdb.base/completion.exp: Move TUI completion tests to ...
6584 * gdb.tui/completion.exp: ... this new file.
6585
6586 2017-03-08 Pedro Alves <palves@redhat.com>
6587
6588 * gdb.base/tui-disasm-long-lines.c,
6589 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6590 gdb.base/tui-layout.exp: Move to ...
6591 * gdb.tui/: ... this new directory.
6592
6593 2017-03-07 Pedro Alves <palves@redhat.com>
6594
6595 * gdb.base/tui-layout.c: New file.
6596 * gdb.base/tui-layout.exp: New file.
6597
6598 2017-03-07 Pedro Alves <palves@redhat.com>
6599
6600 * gdb.base/tui-layout.c: Rename to ...
6601 * gdb.base/tui-disasm-long-lines.c: ... this.
6602 * gdb.base/tui-layout.exp: Rename to ...
6603 * gdb.base/tui-disasm-long-lines.exp: ... this.
6604
6605 2017-03-07 Pedro Alves <palves@redhat.com>
6606
6607 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6608
6609 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6610
6611 * i386-mpx-call.c: New file.
6612 * i386-mpx-call.exp: New file.
6613
6614 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6615
6616 * gdb.arch/powerpc-power.exp: Delete test.
6617 * gdb.arch/powerpc-power.s: Likewise.
6618 * gdb.disasm/disassembler-options.exp: New test.
6619 * gdb.arch/powerpc-altivec.exp: Likewise.
6620 * gdb.arch/powerpc-altivec.s: Likewise.
6621 * gdb.arch/powerpc-altivec2.exp: Likewise.
6622 * gdb.arch/powerpc-altivec2.s: Likewise.
6623 * gdb.arch/powerpc-altivec3.exp: Likewise.
6624 * gdb.arch/powerpc-altivec3.s: Likewise.
6625 * gdb.arch/powerpc-power7.exp: Likewise.
6626 * gdb.arch/powerpc-power7.s: Likewise.
6627 * gdb.arch/powerpc-power8.exp: Likewise.
6628 * gdb.arch/powerpc-power8.s: Likewise.
6629 * gdb.arch/powerpc-power9.exp: Likewise.
6630 * gdb.arch/powerpc-power9.s: Likewise.
6631 * gdb.arch/powerpc-vsx.exp: Likewise.
6632 * gdb.arch/powerpc-vsx.s: Likewise.
6633 * gdb.arch/powerpc-vsx2.exp: Likewise.
6634 * gdb.arch/powerpc-vsx2.s: Likewise.
6635 * gdb.arch/powerpc-vsx3.exp: Likewise.
6636 * gdb.arch/powerpc-vsx3.s: Likewise.
6637 * gdb.arch/arm-disassembler-options.exp: Likewise.
6638 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6639 * gdb.arch/s390-disassembler-options.exp: Likewise.
6640
6641 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6642
6643 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6644 (check_supported_features): ... this. Changed return type to void.
6645 (supports_rdseed): New static global.
6646 (rdseed): Check supports_rdseed.
6647 (initialize): Call check_supported_features.
6648
6649 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6650
6651 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6652 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6653 and lqarx/stqcx.
6654 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6655 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6656
6657 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6658
6659 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6660 uppercase.
6661
6662 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6663
6664 * gdb.dwarf2/formdata16.c: New file.
6665 * gdb.dwarf2/formdata16.exp: New file.
6666 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6667
6668 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6669
6670 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6671 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6672 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6673 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6674 DW_AT_GNU_*.
6675
6676 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6677
6678 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6679
6680 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6681
6682 PR gdb/21164
6683 * gdb.base/maint.exp: Add testcases for when the commands do
6684 not have arguments.
6685
6686 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6687
6688 * gdb.cp/chained-calls.exp: Use p instead of P.
6689
6690 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6691
6692 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6693 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6694
6695 2017-02-14 Tom Tromey <tom@tromey.com>
6696
6697 PR python/13598:
6698 * gdb.python/py-events.exp: Add before_prompt event tests.
6699
6700 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6701
6702 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6703
6704 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6705
6706 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6707 (main): Call my_unique_function_name.
6708 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6709 completion of patterns with a single match.
6710 Add missing -re switches to gdb_test_multiple calls.
6711
6712 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6713
6714 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6715 return if core file is not recognized.
6716
6717 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6718
6719 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6720 and extra UIs.
6721
6722 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6723
6724 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6725 proc_with_prefix.
6726
6727 2017-02-10 Tom Tromey <tom@tromey.com>
6728
6729 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6730
6731 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6732
6733 PR gdb/21122
6734 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6735
6736 2017-02-08 Jerome Guitton <guitton@adacore.com>
6737
6738 * gdb.base/define.exp: Add test for command abbreviations
6739 in define.
6740
6741 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6742
6743 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6744 * gdb.reverse/insn-reverse-x86.c: New file.
6745
6746 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6747
6748 PR tdep/20936
6749 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6750
6751 2017-02-03 Tom Tromey <tom@tromey.com>
6752
6753 PR rust/21097:
6754 * gdb.rust/simple.exp: Add new tests.
6755
6756 2017-02-02 Pedro Alves <palves@redhat.com>
6757
6758 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6759 tests.
6760
6761 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6762
6763 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6764 taking a 2-byte value out of a 4-byte DWARF implicit value on
6765 big-endian targets.
6766 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6767 logic. Add test cases for DW_OP_implicit.
6768
6769 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6770
6771 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6772
6773 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6774
6775 * gdb.btrace/enable.exp: Call gdb_exit before
6776 skip_gdbserver_tests.
6777
6778 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6779
6780 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6781 GDBFLAGS.
6782
6783 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6784
6785 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6786 the test is skipped.
6787 * gdb.btrace/data.exp: Likewise.
6788 * gdb.btrace/delta.exp: Likewise.
6789 * gdb.btrace/dlopen.exp: Likewise.
6790 * gdb.btrace/enable-running.exp: Likewise.
6791 * gdb.btrace/enable.exp: Likewise.
6792 * gdb.btrace/exception.exp: Likewise.
6793 * gdb.btrace/function_call_history.exp: Likewise.
6794 * gdb.btrace/gcore.exp: Likewise.
6795 * gdb.btrace/instruction_history.exp: Likewise.
6796 * gdb.btrace/multi-thread-step.exp: Likewise.
6797 * gdb.btrace/nohist.exp: Likewise.
6798 * gdb.btrace/non-stop.exp: Likewise.
6799 * gdb.btrace/reconnect.exp: Likewise.
6800 * gdb.btrace/record_goto-step.exp: Likewise.
6801 * gdb.btrace/record_goto.exp: Likewise.
6802 * gdb.btrace/rn-dl-bind.exp: Likewise.
6803 * gdb.btrace/segv.exp: Likewise.
6804 * gdb.btrace/step.exp: Likewise.
6805 * gdb.btrace/stepi.exp: Likewise.
6806 * gdb.btrace/tailcall-only.exp: Likewise.
6807 * gdb.btrace/tailcall.exp: Likewise.
6808 * gdb.btrace/tsx.exp: Likewise.
6809 * gdb.btrace/unknown_functions.exp: Likewise.
6810 * gdb.btrace/vdso.exp: Likewise.
6811
6812 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6813
6814 * gdb.btrace/enable-running.c: New.
6815 * gdb.btrace/enable-running.exp: New.
6816
6817 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6818
6819 * gdb.arch/amd64-gs_base.c: New file.
6820 * gdb.arch/amd64-gs_base.exp: New file.
6821
6822 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6823
6824 * lib/memory.exp: Remove spurious empty newlines.
6825
6826 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6827
6828 * gdb.python/py-bad-printers.exp: Load python file using "source".
6829 * gdb.python/py-events.exp: Likewise.
6830 * gdb.python/py-evsignal.exp: Likewise.
6831 * gdb.python/py-evthreads.exp: Likewise.
6832 * gdb.python/py-frame-args.exp: Likewise.
6833 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6834 * gdb.python/py-framefilter-mi.exp: Likewise.
6835 * gdb.python/py-framefilter.exp: Likewise.
6836 * gdb.python/py-mi.exp: Likewise.
6837 * gdb.python/py-pp-maint.exp: Likewise.
6838 * gdb.python/py-pp-registration.exp: Likewise.
6839 * gdb.python/py-prettyprint.exp: Likewise.
6840 (run_lang_tests): Likewise.
6841 * gdb.python/py-typeprint.exp: Likewise.
6842
6843 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6844
6845 * lib/memory.exp: New file.
6846 * lib/gdb.exp: Load memory.exp.
6847 * gdb.base/memattr.exp (delete_memory): Move proc to
6848 lib/memory.exp and rename to delete_memory_regions.
6849 Replace delete_memory with delete_memory_regions.
6850 Cleanup memory regions before tests.
6851 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6852 before tests.
6853
6854 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6855
6856 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6857 files.
6858 (initialize): New function conditionally defined.
6859 (testcases): Move within conditional block.
6860 (main): Call initialize.
6861 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6862 of gdb.reverse/insn-reverse.c.
6863 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6864 gdb.reverse/insn-reverse.c.
6865
6866 2017-01-26 Yao Qi <yao.qi@linaro.org>
6867
6868 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6869 disassemble on address 0.
6870
6871 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6872 Yao Qi <yao.qi@linaro.org>
6873
6874 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6875 * gdb.dwarf2/implptr-64bit.S: Remove.
6876 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6877 variables in caller's context. Add DW_OP_implicit_value.
6878
6879 2017-01-25 Yao Qi <yao.qi@linaro.org>
6880
6881 * lib/dwarf.exp (Dwarf::_location): Handle
6882 DW_OP_GNU_implicit_pointer with proper size.
6883
6884 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6885
6886 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6887 and add untested calls.
6888
6889 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6890
6891 * gdb.python/python.exp: Check line number against what GDB thinks
6892 the line number is for func1.
6893
6894 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6895
6896 * gdb.dlang/debug-expr.exp: New file.
6897
6898 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6899
6900 Fix test names for the following files:
6901
6902 * gdb.ada/exec_changed.exp
6903 * gdb.ada/info_types.exp
6904 * gdb.arch/aarch64-atomic-inst.exp
6905 * gdb.arch/aarch64-fp.exp
6906 * gdb.arch/altivec-abi.exp
6907 * gdb.arch/altivec-regs.exp
6908 * gdb.arch/amd64-byte.exp
6909 * gdb.arch/amd64-disp-step.exp
6910 * gdb.arch/amd64-dword.exp
6911 * gdb.arch/amd64-entry-value-inline.exp
6912 * gdb.arch/amd64-entry-value-param.exp
6913 * gdb.arch/amd64-entry-value-paramref.exp
6914 * gdb.arch/amd64-entry-value.exp
6915 * gdb.arch/amd64-i386-address.exp
6916 * gdb.arch/amd64-invalid-stack-middle.exp
6917 * gdb.arch/amd64-invalid-stack-top.exp
6918 * gdb.arch/amd64-optimout-repeat.exp
6919 * gdb.arch/amd64-prologue-skip.exp
6920 * gdb.arch/amd64-prologue-xmm.exp
6921 * gdb.arch/amd64-stap-special-operands.exp
6922 * gdb.arch/amd64-stap-wrong-subexp.exp
6923 * gdb.arch/amd64-tailcall-cxx.exp
6924 * gdb.arch/amd64-tailcall-noret.exp
6925 * gdb.arch/amd64-tailcall-ret.exp
6926 * gdb.arch/amd64-tailcall-self.exp
6927 * gdb.arch/amd64-word.exp
6928 * gdb.arch/arm-bl-branch-dest.exp
6929 * gdb.arch/arm-disp-step.exp
6930 * gdb.arch/arm-neon.exp
6931 * gdb.arch/arm-single-step-kernel-helper.exp
6932 * gdb.arch/avr-flash-qualifier.exp
6933 * gdb.arch/disp-step-insn-reloc.exp
6934 * gdb.arch/e500-abi.exp
6935 * gdb.arch/e500-regs.exp
6936 * gdb.arch/ftrace-insn-reloc.exp
6937 * gdb.arch/i386-avx512.exp
6938 * gdb.arch/i386-bp_permanent.exp
6939 * gdb.arch/i386-byte.exp
6940 * gdb.arch/i386-cfi-notcurrent.exp
6941 * gdb.arch/i386-disp-step.exp
6942 * gdb.arch/i386-dr3-watch.exp
6943 * gdb.arch/i386-float.exp
6944 * gdb.arch/i386-gnu-cfi.exp
6945 * gdb.arch/i386-mpx-map.exp
6946 * gdb.arch/i386-mpx-sigsegv.exp
6947 * gdb.arch/i386-mpx-simple_segv.exp
6948 * gdb.arch/i386-mpx.exp
6949 * gdb.arch/i386-permbkpt.exp
6950 * gdb.arch/i386-prologue.exp
6951 * gdb.arch/i386-signal.exp
6952 * gdb.arch/i386-size-overlap.exp
6953 * gdb.arch/i386-unwind.exp
6954 * gdb.arch/i386-word.exp
6955 * gdb.arch/mips-fcr.exp
6956 * gdb.arch/powerpc-d128-regs.exp
6957 * gdb.arch/powerpc-stackless.exp
6958 * gdb.arch/ppc64-atomic-inst.exp
6959 * gdb.arch/s390-stackless.exp
6960 * gdb.arch/s390-tdbregs.exp
6961 * gdb.arch/s390-vregs.exp
6962 * gdb.arch/sparc-sysstep.exp
6963 * gdb.arch/thumb-bx-pc.exp
6964 * gdb.arch/thumb-singlestep.exp
6965 * gdb.arch/thumb2-it.exp
6966 * gdb.arch/vsx-regs.exp
6967 * gdb.asm/asm-source.exp
6968 * gdb.base/a2-run.exp
6969 * gdb.base/advance.exp
6970 * gdb.base/all-bin.exp
6971 * gdb.base/anon.exp
6972 * gdb.base/args.exp
6973 * gdb.base/arithmet.exp
6974 * gdb.base/async-shell.exp
6975 * gdb.base/async.exp
6976 * gdb.base/attach-pie-noexec.exp
6977 * gdb.base/attach-twice.exp
6978 * gdb.base/auto-load.exp
6979 * gdb.base/bang.exp
6980 * gdb.base/bitfields.exp
6981 * gdb.base/break-always.exp
6982 * gdb.base/break-caller-line.exp
6983 * gdb.base/break-entry.exp
6984 * gdb.base/break-inline.exp
6985 * gdb.base/break-on-linker-gcd-function.exp
6986 * gdb.base/break-probes.exp
6987 * gdb.base/break.exp
6988 * gdb.base/breakpoint-shadow.exp
6989 * gdb.base/call-ar-st.exp
6990 * gdb.base/call-sc.exp
6991 * gdb.base/call-signal-resume.exp
6992 * gdb.base/call-strs.exp
6993 * gdb.base/callfuncs.exp
6994 * gdb.base/catch-fork-static.exp
6995 * gdb.base/catch-gdb-caused-signals.exp
6996 * gdb.base/catch-load.exp
6997 * gdb.base/catch-signal-fork.exp
6998 * gdb.base/catch-signal.exp
6999 * gdb.base/catch-syscall.exp
7000 * gdb.base/charset.exp
7001 * gdb.base/checkpoint.exp
7002 * gdb.base/chng-syms.exp
7003 * gdb.base/code-expr.exp
7004 * gdb.base/code_elim.exp
7005 * gdb.base/commands.exp
7006 * gdb.base/completion.exp
7007 * gdb.base/complex.exp
7008 * gdb.base/cond-expr.exp
7009 * gdb.base/condbreak.exp
7010 * gdb.base/consecutive.exp
7011 * gdb.base/continue-all-already-running.exp
7012 * gdb.base/coredump-filter.exp
7013 * gdb.base/corefile.exp
7014 * gdb.base/dbx.exp
7015 * gdb.base/debug-expr.exp
7016 * gdb.base/define.exp
7017 * gdb.base/del.exp
7018 * gdb.base/disabled-location.exp
7019 * gdb.base/disasm-end-cu.exp
7020 * gdb.base/disasm-optim.exp
7021 * gdb.base/display.exp
7022 * gdb.base/duplicate-bp.exp
7023 * gdb.base/ena-dis-br.exp
7024 * gdb.base/ending-run.exp
7025 * gdb.base/enumval.exp
7026 * gdb.base/environ.exp
7027 * gdb.base/eu-strip-infcall.exp
7028 * gdb.base/eval-avoid-side-effects.exp
7029 * gdb.base/eval-skip.exp
7030 * gdb.base/exitsignal.exp
7031 * gdb.base/expand-psymtabs.exp
7032 * gdb.base/filesym.exp
7033 * gdb.base/find-unmapped.exp
7034 * gdb.base/finish.exp
7035 * gdb.base/float.exp
7036 * gdb.base/foll-exec-mode.exp
7037 * gdb.base/foll-exec.exp
7038 * gdb.base/foll-fork.exp
7039 * gdb.base/fortran-sym-case.exp
7040 * gdb.base/freebpcmd.exp
7041 * gdb.base/func-ptr.exp
7042 * gdb.base/func-ptrs.exp
7043 * gdb.base/funcargs.exp
7044 * gdb.base/gcore-buffer-overflow.exp
7045 * gdb.base/gcore-relro-pie.exp
7046 * gdb.base/gcore-relro.exp
7047 * gdb.base/gcore.exp
7048 * gdb.base/gdb1090.exp
7049 * gdb.base/gdb11530.exp
7050 * gdb.base/gdb11531.exp
7051 * gdb.base/gdb1821.exp
7052 * gdb.base/gdbindex-stabs.exp
7053 * gdb.base/gdbvars.exp
7054 * gdb.base/hbreak.exp
7055 * gdb.base/hbreak2.exp
7056 * gdb.base/included.exp
7057 * gdb.base/infcall-input.exp
7058 * gdb.base/inferior-died.exp
7059 * gdb.base/infnan.exp
7060 * gdb.base/info-macros.exp
7061 * gdb.base/info-os.exp
7062 * gdb.base/info-proc.exp
7063 * gdb.base/info-shared.exp
7064 * gdb.base/info-target.exp
7065 * gdb.base/infoline.exp
7066 * gdb.base/interp.exp
7067 * gdb.base/interrupt.exp
7068 * gdb.base/jit-reader.exp
7069 * gdb.base/jit-simple.exp
7070 * gdb.base/kill-after-signal.exp
7071 * gdb.base/kill-detach-inferiors-cmd.exp
7072 * gdb.base/label.exp
7073 * gdb.base/langs.exp
7074 * gdb.base/ldbl_e308.exp
7075 * gdb.base/line-symtabs.exp
7076 * gdb.base/linespecs.exp
7077 * gdb.base/list.exp
7078 * gdb.base/long_long.exp
7079 * gdb.base/longest-types.exp
7080 * gdb.base/maint.exp
7081 * gdb.base/max-value-size.exp
7082 * gdb.base/memattr.exp
7083 * gdb.base/mips_pro.exp
7084 * gdb.base/morestack.exp
7085 * gdb.base/moribund-step.exp
7086 * gdb.base/multi-forks.exp
7087 * gdb.base/nested-addr.exp
7088 * gdb.base/nextoverexit.exp
7089 * gdb.base/noreturn-finish.exp
7090 * gdb.base/noreturn-return.exp
7091 * gdb.base/nostdlib.exp
7092 * gdb.base/offsets.exp
7093 * gdb.base/opaque.exp
7094 * gdb.base/pc-fp.exp
7095 * gdb.base/permissions.exp
7096 * gdb.base/print-symbol-loading.exp
7097 * gdb.base/prologue-include.exp
7098 * gdb.base/psymtab.exp
7099 * gdb.base/ptype.exp
7100 * gdb.base/random-signal.exp
7101 * gdb.base/randomize.exp
7102 * gdb.base/range-stepping.exp
7103 * gdb.base/readline-ask.exp
7104 * gdb.base/recpar.exp
7105 * gdb.base/recurse.exp
7106 * gdb.base/relational.exp
7107 * gdb.base/restore.exp
7108 * gdb.base/return-nodebug.exp
7109 * gdb.base/return.exp
7110 * gdb.base/run-after-attach.exp
7111 * gdb.base/save-bp.exp
7112 * gdb.base/scope.exp
7113 * gdb.base/sect-cmd.exp
7114 * gdb.base/set-lang-auto.exp
7115 * gdb.base/set-noassign.exp
7116 * gdb.base/setvar.exp
7117 * gdb.base/sigall.exp
7118 * gdb.base/sigbpt.exp
7119 * gdb.base/siginfo-addr.exp
7120 * gdb.base/siginfo-infcall.exp
7121 * gdb.base/siginfo-obj.exp
7122 * gdb.base/siginfo.exp
7123 * gdb.base/signals-state-child.exp
7124 * gdb.base/signest.exp
7125 * gdb.base/sigstep.exp
7126 * gdb.base/sizeof.exp
7127 * gdb.base/skip.exp
7128 * gdb.base/solib-corrupted.exp
7129 * gdb.base/solib-nodir.exp
7130 * gdb.base/solib-search.exp
7131 * gdb.base/stack-checking.exp
7132 * gdb.base/stale-infcall.exp
7133 * gdb.base/stap-probe.exp
7134 * gdb.base/start.exp
7135 * gdb.base/step-break.exp
7136 * gdb.base/step-bt.exp
7137 * gdb.base/step-line.exp
7138 * gdb.base/step-over-exit.exp
7139 * gdb.base/step-over-syscall.exp
7140 * gdb.base/step-resume-infcall.exp
7141 * gdb.base/step-test.exp
7142 * gdb.base/store.exp
7143 * gdb.base/structs3.exp
7144 * gdb.base/sym-file.exp
7145 * gdb.base/symbol-without-target_section.exp
7146 * gdb.base/term.exp
7147 * gdb.base/testenv.exp
7148 * gdb.base/ui-redirect.exp
7149 * gdb.base/until.exp
7150 * gdb.base/unwindonsignal.exp
7151 * gdb.base/value-double-free.exp
7152 * gdb.base/vla-datatypes.exp
7153 * gdb.base/vla-ptr.exp
7154 * gdb.base/vla-sideeffect.exp
7155 * gdb.base/volatile.exp
7156 * gdb.base/watch-cond-infcall.exp
7157 * gdb.base/watch-cond.exp
7158 * gdb.base/watch-non-mem.exp
7159 * gdb.base/watch-read.exp
7160 * gdb.base/watch-vfork.exp
7161 * gdb.base/watchpoint-cond-gone.exp
7162 * gdb.base/watchpoint-delete.exp
7163 * gdb.base/watchpoint-hw-hit-once.exp
7164 * gdb.base/watchpoint-hw.exp
7165 * gdb.base/watchpoint-stops-at-right-insn.exp
7166 * gdb.base/watchpoints.exp
7167 * gdb.base/wchar.exp
7168 * gdb.base/whatis-exp.exp
7169 * gdb.btrace/buffer-size.exp
7170 * gdb.btrace/data.exp
7171 * gdb.btrace/delta.exp
7172 * gdb.btrace/dlopen.exp
7173 * gdb.btrace/enable.exp
7174 * gdb.btrace/exception.exp
7175 * gdb.btrace/function_call_history.exp
7176 * gdb.btrace/gcore.exp
7177 * gdb.btrace/instruction_history.exp
7178 * gdb.btrace/nohist.exp
7179 * gdb.btrace/reconnect.exp
7180 * gdb.btrace/record_goto-step.exp
7181 * gdb.btrace/record_goto.exp
7182 * gdb.btrace/rn-dl-bind.exp
7183 * gdb.btrace/segv.exp
7184 * gdb.btrace/step.exp
7185 * gdb.btrace/stepi.exp
7186 * gdb.btrace/tailcall-only.exp
7187 * gdb.btrace/tailcall.exp
7188 * gdb.btrace/tsx.exp
7189 * gdb.btrace/unknown_functions.exp
7190 * gdb.btrace/vdso.exp
7191 * gdb.compile/compile-ifunc.exp
7192 * gdb.compile/compile-ops.exp
7193 * gdb.compile/compile-print.exp
7194 * gdb.compile/compile-setjmp.exp
7195 * gdb.cp/abstract-origin.exp
7196 * gdb.cp/ambiguous.exp
7197 * gdb.cp/annota2.exp
7198 * gdb.cp/annota3.exp
7199 * gdb.cp/anon-ns.exp
7200 * gdb.cp/anon-struct.exp
7201 * gdb.cp/anon-union.exp
7202 * gdb.cp/arg-reference.exp
7203 * gdb.cp/baseenum.exp
7204 * gdb.cp/bool.exp
7205 * gdb.cp/breakpoint.exp
7206 * gdb.cp/bs15503.exp
7207 * gdb.cp/call-c.exp
7208 * gdb.cp/casts.exp
7209 * gdb.cp/chained-calls.exp
7210 * gdb.cp/class2.exp
7211 * gdb.cp/classes.exp
7212 * gdb.cp/cmpd-minsyms.exp
7213 * gdb.cp/converts.exp
7214 * gdb.cp/cp-relocate.exp
7215 * gdb.cp/cpcompletion.exp
7216 * gdb.cp/cpexprs.exp
7217 * gdb.cp/cplabel.exp
7218 * gdb.cp/cplusfuncs.exp
7219 * gdb.cp/cpsizeof.exp
7220 * gdb.cp/ctti.exp
7221 * gdb.cp/derivation.exp
7222 * gdb.cp/destrprint.exp
7223 * gdb.cp/dispcxx.exp
7224 * gdb.cp/enum-class.exp
7225 * gdb.cp/exception.exp
7226 * gdb.cp/exceptprint.exp
7227 * gdb.cp/expand-psymtabs-cxx.exp
7228 * gdb.cp/expand-sals.exp
7229 * gdb.cp/extern-c.exp
7230 * gdb.cp/filename.exp
7231 * gdb.cp/formatted-ref.exp
7232 * gdb.cp/fpointer.exp
7233 * gdb.cp/gdb1355.exp
7234 * gdb.cp/gdb2495.exp
7235 * gdb.cp/hang.exp
7236 * gdb.cp/impl-this.exp
7237 * gdb.cp/infcall-dlopen.exp
7238 * gdb.cp/inherit.exp
7239 * gdb.cp/iostream.exp
7240 * gdb.cp/koenig.exp
7241 * gdb.cp/local.exp
7242 * gdb.cp/m-data.exp
7243 * gdb.cp/m-static.exp
7244 * gdb.cp/mb-ctor.exp
7245 * gdb.cp/mb-inline.exp
7246 * gdb.cp/mb-templates.exp
7247 * gdb.cp/member-name.exp
7248 * gdb.cp/member-ptr.exp
7249 * gdb.cp/meth-typedefs.exp
7250 * gdb.cp/method.exp
7251 * gdb.cp/method2.exp
7252 * gdb.cp/minsym-fallback.exp
7253 * gdb.cp/misc.exp
7254 * gdb.cp/namelessclass.exp
7255 * gdb.cp/namespace-enum.exp
7256 * gdb.cp/namespace-nested-import.exp
7257 * gdb.cp/namespace.exp
7258 * gdb.cp/nextoverthrow.exp
7259 * gdb.cp/no-dmgl-verbose.exp
7260 * gdb.cp/non-trivial-retval.exp
7261 * gdb.cp/noparam.exp
7262 * gdb.cp/nsdecl.exp
7263 * gdb.cp/nsimport.exp
7264 * gdb.cp/nsnested.exp
7265 * gdb.cp/nsnoimports.exp
7266 * gdb.cp/nsrecurs.exp
7267 * gdb.cp/nsstress.exp
7268 * gdb.cp/nsusing.exp
7269 * gdb.cp/operator.exp
7270 * gdb.cp/oranking.exp
7271 * gdb.cp/overload-const.exp
7272 * gdb.cp/overload.exp
7273 * gdb.cp/ovldbreak.exp
7274 * gdb.cp/ovsrch.exp
7275 * gdb.cp/paren-type.exp
7276 * gdb.cp/parse-lang.exp
7277 * gdb.cp/pass-by-ref.exp
7278 * gdb.cp/pr-1023.exp
7279 * gdb.cp/pr-1210.exp
7280 * gdb.cp/pr-574.exp
7281 * gdb.cp/pr10687.exp
7282 * gdb.cp/pr12028.exp
7283 * gdb.cp/pr17132.exp
7284 * gdb.cp/pr17494.exp
7285 * gdb.cp/pr9067.exp
7286 * gdb.cp/pr9167.exp
7287 * gdb.cp/pr9631.exp
7288 * gdb.cp/printmethod.exp
7289 * gdb.cp/psmang.exp
7290 * gdb.cp/psymtab-parameter.exp
7291 * gdb.cp/ptype-cv-cp.exp
7292 * gdb.cp/ptype-flags.exp
7293 * gdb.cp/re-set-overloaded.exp
7294 * gdb.cp/ref-types.exp
7295 * gdb.cp/rtti.exp
7296 * gdb.cp/scope-err.exp
7297 * gdb.cp/shadow.exp
7298 * gdb.cp/smartp.exp
7299 * gdb.cp/static-method.exp
7300 * gdb.cp/static-print-quit.exp
7301 * gdb.cp/temargs.exp
7302 * gdb.cp/templates.exp
7303 * gdb.cp/try_catch.exp
7304 * gdb.cp/typedef-operator.exp
7305 * gdb.cp/typeid.exp
7306 * gdb.cp/userdef.exp
7307 * gdb.cp/using-crash.exp
7308 * gdb.cp/var-tag.exp
7309 * gdb.cp/virtbase.exp
7310 * gdb.cp/virtfunc.exp
7311 * gdb.cp/virtfunc2.exp
7312 * gdb.cp/vla-cxx.exp
7313 * gdb.disasm/t01_mov.exp
7314 * gdb.disasm/t02_mova.exp
7315 * gdb.disasm/t03_add.exp
7316 * gdb.disasm/t04_sub.exp
7317 * gdb.disasm/t05_cmp.exp
7318 * gdb.disasm/t06_ari2.exp
7319 * gdb.disasm/t07_ari3.exp
7320 * gdb.disasm/t08_or.exp
7321 * gdb.disasm/t09_xor.exp
7322 * gdb.disasm/t10_and.exp
7323 * gdb.disasm/t11_logs.exp
7324 * gdb.disasm/t12_bit.exp
7325 * gdb.disasm/t13_otr.exp
7326 * gdb.dlang/circular.exp
7327 * gdb.dwarf2/arr-stride.exp
7328 * gdb.dwarf2/arr-subrange.exp
7329 * gdb.dwarf2/atomic-type.exp
7330 * gdb.dwarf2/bad-regnum.exp
7331 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7332 * gdb.dwarf2/callframecfa.exp
7333 * gdb.dwarf2/clztest.exp
7334 * gdb.dwarf2/corrupt.exp
7335 * gdb.dwarf2/data-loc.exp
7336 * gdb.dwarf2/dup-psym.exp
7337 * gdb.dwarf2/dw2-anon-mptr.exp
7338 * gdb.dwarf2/dw2-anonymous-func.exp
7339 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7340 * gdb.dwarf2/dw2-bad-unresolved.exp
7341 * gdb.dwarf2/dw2-basic.exp
7342 * gdb.dwarf2/dw2-canonicalize-type.exp
7343 * gdb.dwarf2/dw2-case-insensitive.exp
7344 * gdb.dwarf2/dw2-common-block.exp
7345 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7346 * gdb.dwarf2/dw2-compressed.exp
7347 * gdb.dwarf2/dw2-const.exp
7348 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7349 * gdb.dwarf2/dw2-cu-size.exp
7350 * gdb.dwarf2/dw2-dup-frame.exp
7351 * gdb.dwarf2/dw2-entry-value.exp
7352 * gdb.dwarf2/dw2-icycle.exp
7353 * gdb.dwarf2/dw2-ifort-parameter.exp
7354 * gdb.dwarf2/dw2-inline-break.exp
7355 * gdb.dwarf2/dw2-inline-param.exp
7356 * gdb.dwarf2/dw2-intercu.exp
7357 * gdb.dwarf2/dw2-intermix.exp
7358 * gdb.dwarf2/dw2-lexical-block-bare.exp
7359 * gdb.dwarf2/dw2-linkage-name-trust.exp
7360 * gdb.dwarf2/dw2-minsym-in-cu.exp
7361 * gdb.dwarf2/dw2-noloc.exp
7362 * gdb.dwarf2/dw2-op-call.exp
7363 * gdb.dwarf2/dw2-op-out-param.exp
7364 * gdb.dwarf2/dw2-opt-structptr.exp
7365 * gdb.dwarf2/dw2-param-error.exp
7366 * gdb.dwarf2/dw2-producer.exp
7367 * gdb.dwarf2/dw2-ranges-base.exp
7368 * gdb.dwarf2/dw2-ref-missing-frame.exp
7369 * gdb.dwarf2/dw2-reg-undefined.exp
7370 * gdb.dwarf2/dw2-regno-invalid.exp
7371 * gdb.dwarf2/dw2-restore.exp
7372 * gdb.dwarf2/dw2-restrict.exp
7373 * gdb.dwarf2/dw2-single-line-discriminators.exp
7374 * gdb.dwarf2/dw2-strp.exp
7375 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7376 * gdb.dwarf2/dw2-unresolved.exp
7377 * gdb.dwarf2/dw2-var-zero-addr.exp
7378 * gdb.dwarf2/dw4-sig-types.exp
7379 * gdb.dwarf2/dwz.exp
7380 * gdb.dwarf2/dynarr-ptr.exp
7381 * gdb.dwarf2/enum-type.exp
7382 * gdb.dwarf2/gdb-index.exp
7383 * gdb.dwarf2/implptr-64bit.exp
7384 * gdb.dwarf2/implptr-optimized-out.exp
7385 * gdb.dwarf2/implptr.exp
7386 * gdb.dwarf2/implref-array.exp
7387 * gdb.dwarf2/implref-const.exp
7388 * gdb.dwarf2/implref-global.exp
7389 * gdb.dwarf2/implref-struct.exp
7390 * gdb.dwarf2/mac-fileno.exp
7391 * gdb.dwarf2/main-subprogram.exp
7392 * gdb.dwarf2/member-ptr-forwardref.exp
7393 * gdb.dwarf2/method-ptr.exp
7394 * gdb.dwarf2/missing-sig-type.exp
7395 * gdb.dwarf2/nonvar-access.exp
7396 * gdb.dwarf2/opaque-type-lookup.exp
7397 * gdb.dwarf2/pieces-optimized-out.exp
7398 * gdb.dwarf2/pieces.exp
7399 * gdb.dwarf2/pr10770.exp
7400 * gdb.dwarf2/pr13961.exp
7401 * gdb.dwarf2/staticvirtual.exp
7402 * gdb.dwarf2/subrange.exp
7403 * gdb.dwarf2/symtab-producer.exp
7404 * gdb.dwarf2/trace-crash.exp
7405 * gdb.dwarf2/typeddwarf.exp
7406 * gdb.dwarf2/valop.exp
7407 * gdb.dwarf2/watch-notconst.exp
7408 * gdb.fortran/array-element.exp
7409 * gdb.fortran/charset.exp
7410 * gdb.fortran/common-block.exp
7411 * gdb.fortran/complex.exp
7412 * gdb.fortran/derived-type-function.exp
7413 * gdb.fortran/derived-type.exp
7414 * gdb.fortran/logical.exp
7415 * gdb.fortran/module.exp
7416 * gdb.fortran/multi-dim.exp
7417 * gdb.fortran/nested-funcs.exp
7418 * gdb.fortran/print-formatted.exp
7419 * gdb.fortran/subarray.exp
7420 * gdb.fortran/vla-alloc-assoc.exp
7421 * gdb.fortran/vla-datatypes.exp
7422 * gdb.fortran/vla-history.exp
7423 * gdb.fortran/vla-ptr-info.exp
7424 * gdb.fortran/vla-ptype-sub.exp
7425 * gdb.fortran/vla-ptype.exp
7426 * gdb.fortran/vla-sizeof.exp
7427 * gdb.fortran/vla-type.exp
7428 * gdb.fortran/vla-value-sub-arbitrary.exp
7429 * gdb.fortran/vla-value-sub-finish.exp
7430 * gdb.fortran/vla-value-sub.exp
7431 * gdb.fortran/vla-value.exp
7432 * gdb.fortran/whatis_type.exp
7433 * gdb.go/chan.exp
7434 * gdb.go/handcall.exp
7435 * gdb.go/hello.exp
7436 * gdb.go/integers.exp
7437 * gdb.go/methods.exp
7438 * gdb.go/package.exp
7439 * gdb.go/strings.exp
7440 * gdb.go/types.exp
7441 * gdb.go/unsafe.exp
7442 * gdb.guile/scm-arch.exp
7443 * gdb.guile/scm-block.exp
7444 * gdb.guile/scm-breakpoint.exp
7445 * gdb.guile/scm-cmd.exp
7446 * gdb.guile/scm-disasm.exp
7447 * gdb.guile/scm-equal.exp
7448 * gdb.guile/scm-frame-args.exp
7449 * gdb.guile/scm-frame-inline.exp
7450 * gdb.guile/scm-frame.exp
7451 * gdb.guile/scm-iterator.exp
7452 * gdb.guile/scm-math.exp
7453 * gdb.guile/scm-objfile.exp
7454 * gdb.guile/scm-ports.exp
7455 * gdb.guile/scm-symbol.exp
7456 * gdb.guile/scm-symtab.exp
7457 * gdb.guile/scm-value-cc.exp
7458 * gdb.guile/types-module.exp
7459 * gdb.linespec/break-ask.exp
7460 * gdb.linespec/cpexplicit.exp
7461 * gdb.linespec/explicit.exp
7462 * gdb.linespec/keywords.exp
7463 * gdb.linespec/linespec.exp
7464 * gdb.linespec/ls-dollar.exp
7465 * gdb.linespec/ls-errs.exp
7466 * gdb.linespec/skip-two.exp
7467 * gdb.linespec/thread.exp
7468 * gdb.mi/mi-async.exp
7469 * gdb.mi/mi-basics.exp
7470 * gdb.mi/mi-break.exp
7471 * gdb.mi/mi-catch-load.exp
7472 * gdb.mi/mi-cli.exp
7473 * gdb.mi/mi-cmd-param-changed.exp
7474 * gdb.mi/mi-console.exp
7475 * gdb.mi/mi-detach.exp
7476 * gdb.mi/mi-disassemble.exp
7477 * gdb.mi/mi-eval.exp
7478 * gdb.mi/mi-file-transfer.exp
7479 * gdb.mi/mi-file.exp
7480 * gdb.mi/mi-fill-memory.exp
7481 * gdb.mi/mi-inheritance-syntax-error.exp
7482 * gdb.mi/mi-linespec-err-cp.exp
7483 * gdb.mi/mi-logging.exp
7484 * gdb.mi/mi-memory-changed.exp
7485 * gdb.mi/mi-read-memory.exp
7486 * gdb.mi/mi-record-changed.exp
7487 * gdb.mi/mi-reg-undefined.exp
7488 * gdb.mi/mi-regs.exp
7489 * gdb.mi/mi-return.exp
7490 * gdb.mi/mi-reverse.exp
7491 * gdb.mi/mi-simplerun.exp
7492 * gdb.mi/mi-solib.exp
7493 * gdb.mi/mi-stack.exp
7494 * gdb.mi/mi-stepi.exp
7495 * gdb.mi/mi-syn-frame.exp
7496 * gdb.mi/mi-until.exp
7497 * gdb.mi/mi-var-block.exp
7498 * gdb.mi/mi-var-child.exp
7499 * gdb.mi/mi-var-cmd.exp
7500 * gdb.mi/mi-var-cp.exp
7501 * gdb.mi/mi-var-display.exp
7502 * gdb.mi/mi-var-invalidate.exp
7503 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7504 * gdb.mi/mi-vla-fortran.exp
7505 * gdb.mi/mi-watch.exp
7506 * gdb.mi/mi2-var-child.exp
7507 * gdb.mi/user-selected-context-sync.exp
7508 * gdb.modula2/unbounded-array.exp
7509 * gdb.multi/dummy-frame-restore.exp
7510 * gdb.multi/multi-arch-exec.exp
7511 * gdb.multi/multi-arch.exp
7512 * gdb.multi/tids.exp
7513 * gdb.multi/watchpoint-multi.exp
7514 * gdb.opencl/callfuncs.exp
7515 * gdb.opencl/convs_casts.exp
7516 * gdb.opencl/datatypes.exp
7517 * gdb.opencl/operators.exp
7518 * gdb.opencl/vec_comps.exp
7519 * gdb.opt/clobbered-registers-O2.exp
7520 * gdb.opt/inline-break.exp
7521 * gdb.opt/inline-bt.exp
7522 * gdb.opt/inline-cmds.exp
7523 * gdb.opt/inline-locals.exp
7524 * gdb.pascal/case-insensitive-symbols.exp
7525 * gdb.pascal/floats.exp
7526 * gdb.pascal/gdb11492.exp
7527 * gdb.python/lib-types.exp
7528 * gdb.python/py-arch.exp
7529 * gdb.python/py-as-string.exp
7530 * gdb.python/py-bad-printers.exp
7531 * gdb.python/py-block.exp
7532 * gdb.python/py-breakpoint-create-fail.exp
7533 * gdb.python/py-breakpoint.exp
7534 * gdb.python/py-caller-is.exp
7535 * gdb.python/py-cmd.exp
7536 * gdb.python/py-explore-cc.exp
7537 * gdb.python/py-explore.exp
7538 * gdb.python/py-finish-breakpoint.exp
7539 * gdb.python/py-finish-breakpoint2.exp
7540 * gdb.python/py-frame-args.exp
7541 * gdb.python/py-frame-inline.exp
7542 * gdb.python/py-frame.exp
7543 * gdb.python/py-framefilter-mi.exp
7544 * gdb.python/py-infthread.exp
7545 * gdb.python/py-lazy-string.exp
7546 * gdb.python/py-linetable.exp
7547 * gdb.python/py-mi-events.exp
7548 * gdb.python/py-mi-objfile.exp
7549 * gdb.python/py-mi.exp
7550 * gdb.python/py-objfile.exp
7551 * gdb.python/py-pp-integral.exp
7552 * gdb.python/py-pp-maint.exp
7553 * gdb.python/py-pp-re-notag.exp
7554 * gdb.python/py-pp-registration.exp
7555 * gdb.python/py-recurse-unwind.exp
7556 * gdb.python/py-strfns.exp
7557 * gdb.python/py-symbol.exp
7558 * gdb.python/py-symtab.exp
7559 * gdb.python/py-sync-interp.exp
7560 * gdb.python/py-typeprint.exp
7561 * gdb.python/py-unwind-maint.exp
7562 * gdb.python/py-unwind.exp
7563 * gdb.python/py-value-cc.exp
7564 * gdb.python/py-xmethods.exp
7565 * gdb.reverse/amd64-tailcall-reverse.exp
7566 * gdb.reverse/break-precsave.exp
7567 * gdb.reverse/break-reverse.exp
7568 * gdb.reverse/consecutive-precsave.exp
7569 * gdb.reverse/consecutive-reverse.exp
7570 * gdb.reverse/finish-precsave.exp
7571 * gdb.reverse/finish-reverse-bkpt.exp
7572 * gdb.reverse/finish-reverse.exp
7573 * gdb.reverse/fstatat-reverse.exp
7574 * gdb.reverse/getresuid-reverse.exp
7575 * gdb.reverse/i386-precsave.exp
7576 * gdb.reverse/i386-reverse.exp
7577 * gdb.reverse/i386-sse-reverse.exp
7578 * gdb.reverse/i387-env-reverse.exp
7579 * gdb.reverse/i387-stack-reverse.exp
7580 * gdb.reverse/insn-reverse.exp
7581 * gdb.reverse/machinestate-precsave.exp
7582 * gdb.reverse/machinestate.exp
7583 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7584 * gdb.reverse/pipe-reverse.exp
7585 * gdb.reverse/readv-reverse.exp
7586 * gdb.reverse/recvmsg-reverse.exp
7587 * gdb.reverse/rerun-prec.exp
7588 * gdb.reverse/s390-mvcle.exp
7589 * gdb.reverse/step-precsave.exp
7590 * gdb.reverse/step-reverse.exp
7591 * gdb.reverse/time-reverse.exp
7592 * gdb.reverse/until-precsave.exp
7593 * gdb.reverse/until-reverse.exp
7594 * gdb.reverse/waitpid-reverse.exp
7595 * gdb.reverse/watch-precsave.exp
7596 * gdb.reverse/watch-reverse.exp
7597 * gdb.rust/generics.exp
7598 * gdb.rust/methods.exp
7599 * gdb.rust/modules.exp
7600 * gdb.rust/simple.exp
7601 * gdb.server/connect-with-no-symbol-file.exp
7602 * gdb.server/ext-attach.exp
7603 * gdb.server/ext-restart.exp
7604 * gdb.server/ext-wrapper.exp
7605 * gdb.server/file-transfer.exp
7606 * gdb.server/server-exec-info.exp
7607 * gdb.server/server-kill.exp
7608 * gdb.server/server-mon.exp
7609 * gdb.server/wrapper.exp
7610 * gdb.stabs/exclfwd.exp
7611 * gdb.stabs/gdb11479.exp
7612 * gdb.threads/clone-new-thread-event.exp
7613 * gdb.threads/corethreads.exp
7614 * gdb.threads/current-lwp-dead.exp
7615 * gdb.threads/dlopen-libpthread.exp
7616 * gdb.threads/gcore-thread.exp
7617 * gdb.threads/sigstep-threads.exp
7618 * gdb.threads/watchpoint-fork.exp
7619 * gdb.trace/actions-changed.exp
7620 * gdb.trace/backtrace.exp
7621 * gdb.trace/change-loc.exp
7622 * gdb.trace/circ.exp
7623 * gdb.trace/collection.exp
7624 * gdb.trace/disconnected-tracing.exp
7625 * gdb.trace/ftrace.exp
7626 * gdb.trace/mi-trace-frame-collected.exp
7627 * gdb.trace/mi-trace-unavailable.exp
7628 * gdb.trace/mi-traceframe-changed.exp
7629 * gdb.trace/mi-tsv-changed.exp
7630 * gdb.trace/no-attach-trace.exp
7631 * gdb.trace/passc-dyn.exp
7632 * gdb.trace/qtro.exp
7633 * gdb.trace/range-stepping.exp
7634 * gdb.trace/read-memory.exp
7635 * gdb.trace/save-trace.exp
7636 * gdb.trace/signal.exp
7637 * gdb.trace/status-stop.exp
7638 * gdb.trace/tfile.exp
7639 * gdb.trace/trace-break.exp
7640 * gdb.trace/trace-buffer-size.exp
7641 * gdb.trace/trace-condition.exp
7642 * gdb.trace/tracefile-pseudo-reg.exp
7643 * gdb.trace/tstatus.exp
7644 * gdb.trace/unavailable.exp
7645 * gdb.trace/while-dyn.exp
7646 * gdb.trace/while-stepping.exp
7647
7648 2016-12-22 Doug Evans <xdje42@gmail.com>
7649
7650 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7651 and msymbols.
7652
7653 2016-12-19 Yao Qi <yao.qi@linaro.org>
7654
7655 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7656 (test_with_self): Don't call do_steps_and_nexts, and remove
7657 code about stepping into xmalloc.
7658
7659 2016-12-09 Yao Qi <yao.qi@linaro.org>
7660
7661 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7662
7663 2016-12-09 Yao Qi <yao.qi@linaro.org>
7664
7665 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7666
7667 2016-12-09 Pedro Alves <palves@redhat.com>
7668
7669 * gdb.base/all-architectures-0.exp: New file.
7670 * gdb.base/all-architectures-1.exp: New file.
7671 * gdb.base/all-architectures-2.exp: New file.
7672 * gdb.base/all-architectures-3.exp: New file.
7673 * gdb.base/all-architectures-4.exp: New file.
7674 * gdb.base/all-architectures-5.exp: New file.
7675 * gdb.base/all-architectures-6.exp: New file.
7676 * gdb.base/all-architectures-7.exp: New file.
7677 * gdb.base/all-architectures.exp.in: New file.
7678
7679 2016-12-09 Yao Qi <yao.qi@linaro.org>
7680
7681 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7682
7683 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7684
7685 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7686 possible.
7687 Remove useless pattern-matching code.
7688
7689 2016-12-02 Pedro Alves <palves@redhat.com>
7690
7691 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7692 procedure.
7693 (top level): Call it.
7694
7695 2016-12-02 Pedro Alves <palves@redhat.com>
7696
7697 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7698 New procedure.
7699 (top level): Call it.
7700
7701 2016-12-02 Pedro Alves <palves@redhat.com>
7702
7703 PR cli/20559
7704 * gdb.base/commands.exp (user_defined_command_args_eval): New
7705 procedure.
7706 (top level): Call it.
7707
7708 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7709
7710 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7711 timeout handling.
7712
7713 2016-12-02 Tom Tromey <tom@tromey.com>
7714
7715 * gdb.dwarf2/main-subprogram.c: New file.
7716 * gdb.dwarf2/main-subprogram.exp: New file.
7717
7718 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7719
7720 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7721 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7722 gdb_test_no_output for a couple of cases.
7723 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7724
7725 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7726
7727 Fix test names and standardize compilation error messages throughout
7728 the following files:
7729
7730 * gdb.ada/start.exp
7731 * gdb.arch/alpha-step.exp
7732 * gdb.arch/e500-prologue.exp
7733 * gdb.arch/ftrace-insn-reloc.exp
7734 * gdb.arch/gdb1291.exp
7735 * gdb.arch/gdb1431.exp
7736 * gdb.arch/gdb1558.exp
7737 * gdb.arch/i386-dr3-watch.exp
7738 * gdb.arch/i386-sse-stack-align.exp
7739 * gdb.arch/ia64-breakpoint-shadow.exp
7740 * gdb.arch/pa-nullify.exp
7741 * gdb.arch/powerpc-aix-prologue.exp
7742 * gdb.arch/thumb-bx-pc.exp
7743 * gdb.base/annota1.exp
7744 * gdb.base/annota3.exp
7745 * gdb.base/arrayidx.exp
7746 * gdb.base/assign.exp
7747 * gdb.base/attach.exp
7748 * gdb.base/auxv.exp
7749 * gdb.base/bang.exp
7750 * gdb.base/bfp-test.exp
7751 * gdb.base/bigcore.exp
7752 * gdb.base/bitfields2.exp
7753 * gdb.base/break-fun-addr.exp
7754 * gdb.base/break-probes.exp
7755 * gdb.base/call-rt-st.exp
7756 * gdb.base/callexit.exp
7757 * gdb.base/catch-fork-kill.exp
7758 * gdb.base/charset.exp
7759 * gdb.base/checkpoint.exp
7760 * gdb.base/comprdebug.exp
7761 * gdb.base/constvars.exp
7762 * gdb.base/coredump-filter.exp
7763 * gdb.base/cursal.exp
7764 * gdb.base/cvexpr.exp
7765 * gdb.base/detach.exp
7766 * gdb.base/display.exp
7767 * gdb.base/dmsym.exp
7768 * gdb.base/dprintf-pending.exp
7769 * gdb.base/dso2dso.exp
7770 * gdb.base/dtrace-probe.exp
7771 * gdb.base/dump.exp
7772 * gdb.base/enum_cond.exp
7773 * gdb.base/exe-lock.exp
7774 * gdb.base/exec-invalid-sysroot.exp
7775 * gdb.base/execl-update-breakpoints.exp
7776 * gdb.base/exprs.exp
7777 * gdb.base/fileio.exp
7778 * gdb.base/find.exp
7779 * gdb.base/finish.exp
7780 * gdb.base/fixsection.exp
7781 * gdb.base/foll-vfork.exp
7782 * gdb.base/frame-args.exp
7783 * gdb.base/gcore.exp
7784 * gdb.base/gdb1250.exp
7785 * gdb.base/global-var-nested-by-dso.exp
7786 * gdb.base/gnu-ifunc.exp
7787 * gdb.base/hashline1.exp
7788 * gdb.base/hashline2.exp
7789 * gdb.base/hashline3.exp
7790 * gdb.base/hbreak-in-shr-unsupported.exp
7791 * gdb.base/huge.exp
7792 * gdb.base/infcall-input.exp
7793 * gdb.base/info-fun.exp
7794 * gdb.base/info-shared.exp
7795 * gdb.base/jit-simple.exp
7796 * gdb.base/jit-so.exp
7797 * gdb.base/jit.exp
7798 * gdb.base/jump.exp
7799 * gdb.base/label.exp
7800 * gdb.base/lineinc.exp
7801 * gdb.base/logical.exp
7802 * gdb.base/longjmp.exp
7803 * gdb.base/macscp.exp
7804 * gdb.base/miscexprs.exp
7805 * gdb.base/new-ui-echo.exp
7806 * gdb.base/new-ui-pending-input.exp
7807 * gdb.base/new-ui.exp
7808 * gdb.base/nodebug.exp
7809 * gdb.base/nofield.exp
7810 * gdb.base/offsets.exp
7811 * gdb.base/overlays.exp
7812 * gdb.base/pending.exp
7813 * gdb.base/pointers.exp
7814 * gdb.base/pr11022.exp
7815 * gdb.base/printcmds.exp
7816 * gdb.base/prologue.exp
7817 * gdb.base/ptr-typedef.exp
7818 * gdb.base/realname-expand.exp
7819 * gdb.base/relativedebug.exp
7820 * gdb.base/relocate.exp
7821 * gdb.base/remote.exp
7822 * gdb.base/reread.exp
7823 * gdb.base/return2.exp
7824 * gdb.base/savedregs.exp
7825 * gdb.base/sep.exp
7826 * gdb.base/sepdebug.exp
7827 * gdb.base/sepsymtab.exp
7828 * gdb.base/set-inferior-tty.exp
7829 * gdb.base/setshow.exp
7830 * gdb.base/shlib-call.exp
7831 * gdb.base/sigaltstack.exp
7832 * gdb.base/siginfo-addr.exp
7833 * gdb.base/signals.exp
7834 * gdb.base/signull.exp
7835 * gdb.base/sigrepeat.exp
7836 * gdb.base/so-impl-ld.exp
7837 * gdb.base/solib-display.exp
7838 * gdb.base/solib-overlap.exp
7839 * gdb.base/solib-search.exp
7840 * gdb.base/solib-symbol.exp
7841 * gdb.base/structs.exp
7842 * gdb.base/structs2.exp
7843 * gdb.base/symtab-search-order.exp
7844 * gdb.base/twice.exp
7845 * gdb.base/unload.exp
7846 * gdb.base/varargs.exp
7847 * gdb.base/watchpoint-solib.exp
7848 * gdb.base/watchpoint.exp
7849 * gdb.base/whatis.exp
7850 * gdb.base/wrong_frame_bt_full.exp
7851 * gdb.btrace/dlopen.exp
7852 * gdb.cell/ea-standalone.exp
7853 * gdb.cell/ea-test.exp
7854 * gdb.cp/dispcxx.exp
7855 * gdb.cp/gdb2384.exp
7856 * gdb.cp/method2.exp
7857 * gdb.cp/nextoverthrow.exp
7858 * gdb.cp/pr10728.exp
7859 * gdb.disasm/am33.exp
7860 * gdb.disasm/h8300s.exp
7861 * gdb.disasm/mn10300.exp
7862 * gdb.disasm/sh3.exp
7863 * gdb.dwarf2/dw2-dir-file-name.exp
7864 * gdb.fortran/complex.exp
7865 * gdb.fortran/library-module.exp
7866 * gdb.guile/scm-pretty-print.exp
7867 * gdb.guile/scm-symbol.exp
7868 * gdb.guile/scm-type.exp
7869 * gdb.guile/scm-value.exp
7870 * gdb.linespec/linespec.exp
7871 * gdb.mi/gdb701.exp
7872 * gdb.mi/gdb792.exp
7873 * gdb.mi/mi-breakpoint-changed.exp
7874 * gdb.mi/mi-dprintf-pending.exp
7875 * gdb.mi/mi-dprintf.exp
7876 * gdb.mi/mi-exit-code.exp
7877 * gdb.mi/mi-pending.exp
7878 * gdb.mi/mi-solib.exp
7879 * gdb.mi/new-ui-mi-sync.exp
7880 * gdb.mi/pr11022.exp
7881 * gdb.mi/user-selected-context-sync.exp
7882 * gdb.opt/solib-intra-step.exp
7883 * gdb.python/py-events.exp
7884 * gdb.python/py-finish-breakpoint.exp
7885 * gdb.python/py-mi.exp
7886 * gdb.python/py-prettyprint.exp
7887 * gdb.python/py-shared.exp
7888 * gdb.python/py-symbol.exp
7889 * gdb.python/py-template.exp
7890 * gdb.python/py-type.exp
7891 * gdb.python/py-value.exp
7892 * gdb.reverse/solib-precsave.exp
7893 * gdb.reverse/solib-reverse.exp
7894 * gdb.server/solib-list.exp
7895 * gdb.stabs/weird.exp
7896 * gdb.threads/reconnect-signal.exp
7897 * gdb.threads/stepi-random-signal.exp
7898 * gdb.trace/actions.exp
7899 * gdb.trace/ax.exp
7900 * gdb.trace/backtrace.exp
7901 * gdb.trace/change-loc.exp
7902 * gdb.trace/deltrace.exp
7903 * gdb.trace/ftrace-lock.exp
7904 * gdb.trace/ftrace.exp
7905 * gdb.trace/infotrace.exp
7906 * gdb.trace/mi-tracepoint-changed.exp
7907 * gdb.trace/packetlen.exp
7908 * gdb.trace/passcount.exp
7909 * gdb.trace/pending.exp
7910 * gdb.trace/range-stepping.exp
7911 * gdb.trace/report.exp
7912 * gdb.trace/stap-trace.exp
7913 * gdb.trace/tfind.exp
7914 * gdb.trace/trace-break.exp
7915 * gdb.trace/trace-condition.exp
7916 * gdb.trace/trace-enable-disable.exp
7917 * gdb.trace/trace-mt.exp
7918 * gdb.trace/tracecmd.exp
7919 * gdb.trace/tspeed.exp
7920 * gdb.trace/tsv.exp
7921 * lib/perftest.exp
7922
7923 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7924
7925 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7926 with gdb_test_no_output.
7927 Use command as test name.
7928
7929 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7930
7931 Fix test names starting with uppercase throughout the files.
7932
7933 * gdb.ada/assign_1.exp
7934 * gdb.ada/boolean_expr.exp
7935 * gdb.base/arrayidx.exp
7936 * gdb.base/del.exp
7937 * gdb.base/gcore-buffer-overflow.exp
7938 * gdb.base/testenv.exp
7939 * gdb.compile/compile.exp
7940 * gdb.python/py-framefilter-invalidarg.exp
7941 * gdb.python/py-framefilter.exp
7942
7943 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7944
7945 Fix test names starting with uppercase throughout the files.
7946
7947 * gdb.ada/array_return.exp
7948 * gdb.ada/expr_delims.exp
7949 * gdb.ada/mi_dyn_arr.exp
7950 * gdb.ada/mi_interface.exp
7951 * gdb.ada/mi_var_array.exp
7952 * gdb.ada/watch_arg.exp
7953 * gdb.arch/alpha-step.exp
7954 * gdb.arch/altivec-regs.exp
7955 * gdb.arch/e500-regs.exp
7956 * gdb.arch/powerpc-d128-regs.exp
7957 * gdb.base/arrayidx.exp
7958 * gdb.base/break.exp
7959 * gdb.base/checkpoint.exp
7960 * gdb.base/debug-expr.exp
7961 * gdb.base/dmsym.exp
7962 * gdb.base/radix.exp
7963 * gdb.base/sepdebug.exp
7964 * gdb.base/testenv.exp
7965 * gdb.base/watch_thread_num.exp
7966 * gdb.base/watchpoint-cond-gone.exp
7967 * gdb.cell/break.exp
7968 * gdb.cell/ea-cache.exp
7969 * gdb.compile/compile.exp
7970 * gdb.cp/gdb2495.exp
7971 * gdb.gdb/selftest.exp
7972 * gdb.gdb/xfullpath.exp
7973 * gdb.go/hello.exp
7974 * gdb.go/integers.exp
7975 * gdb.objc/basicclass.exp
7976 * gdb.pascal/hello.exp
7977 * gdb.pascal/integers.exp
7978 * gdb.python/py-breakpoint.exp
7979 * gdb.python/py-cmd.exp
7980 * gdb.python/py-linetable.exp
7981 * gdb.python/py-xmethods.exp
7982 * gdb.python/python.exp
7983 * gdb.reverse/consecutive-precsave.exp
7984 * gdb.reverse/finish-precsave.exp
7985 * gdb.reverse/i386-precsave.exp
7986 * gdb.reverse/machinestate-precsave.exp
7987 * gdb.reverse/sigall-precsave.exp
7988 * gdb.reverse/solib-precsave.exp
7989 * gdb.reverse/step-precsave.exp
7990 * gdb.reverse/until-precsave.exp
7991 * gdb.reverse/watch-precsave.exp
7992 * gdb.threads/leader-exit.exp
7993 * gdb.threads/pthreads.exp
7994 * gdb.threads/wp-replication.exp
7995 * gdb.trace/actions.exp
7996 * gdb.trace/mi-tsv-changed.exp
7997 * gdb.trace/tsv.exp
7998
7999 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8000
8001 Fix test names starting with uppercase throughout the files.
8002
8003 * gdb.arch/i386-bp_permanent.exp
8004 * gdb.arch/i386-gnu-cfi.exp
8005 * gdb.base/disasm-end-cu.exp
8006 * gdb.base/macscp.exp
8007 * gdb.base/pending.exp
8008 * gdb.base/watch_thread_num.exp
8009 * gdb.cp/exception.exp
8010 * gdb.cp/gdb2495.exp
8011 * gdb.cp/local.exp
8012 * gdb.python/py-evsignal.exp
8013 * gdb.python/python.exp
8014 * gdb.trace/tracecmd.exp
8015
8016 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8017
8018 Fix test names starting with uppercase throughout the files.
8019
8020 * gdb.base/charset.exp
8021 * gdb.base/eval.exp
8022 * gdb.base/multi-forks.exp
8023 * gdb.guile/scm-progspace.exp
8024 * gdb.opencl/datatypes.exp
8025 * gdb.python/py-block.exp
8026 * gdb.python/py-function.exp
8027 * gdb.python/py-symbol.exp
8028 * gdb.python/py-symtab.exp
8029 * gdb.python/py-xmethods.exp
8030 * gdb.reverse/break-precsave.exp
8031 * gdb.reverse/break-reverse.exp
8032 * gdb.reverse/consecutive-precsave.exp
8033 * gdb.reverse/consecutive-reverse.exp
8034 * gdb.reverse/finish-precsave.exp
8035 * gdb.reverse/finish-reverse-bkpt.exp
8036 * gdb.reverse/finish-reverse.exp
8037 * gdb.reverse/fstatat-reverse.exp
8038 * gdb.reverse/getresuid-reverse.exp
8039 * gdb.reverse/i386-precsave.exp
8040 * gdb.reverse/i386-reverse.exp
8041 * gdb.reverse/i386-sse-reverse.exp
8042 * gdb.reverse/i387-stack-reverse.exp
8043 * gdb.reverse/insn-reverse.exp
8044 * gdb.reverse/machinestate-precsave.exp
8045 * gdb.reverse/machinestate.exp
8046 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8047 * gdb.reverse/pipe-reverse.exp
8048 * gdb.reverse/readv-reverse.exp
8049 * gdb.reverse/recvmsg-reverse.exp
8050 * gdb.reverse/rerun-prec.exp
8051 * gdb.reverse/s390-mvcle.exp
8052 * gdb.reverse/sigall-precsave.exp
8053 * gdb.reverse/sigall-reverse.exp
8054 * gdb.reverse/solib-precsave.exp
8055 * gdb.reverse/solib-reverse.exp
8056 * gdb.reverse/step-precsave.exp
8057 * gdb.reverse/step-reverse.exp
8058 * gdb.reverse/time-reverse.exp
8059 * gdb.reverse/until-precsave.exp
8060 * gdb.reverse/until-reverse.exp
8061 * gdb.reverse/waitpid-reverse.exp
8062 * gdb.reverse/watch-precsave.exp
8063 * gdb.reverse/watch-reverse.exp
8064
8065 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8066
8067 Fix test names starting with uppercase throughout the files.
8068
8069 * gdb.arch/i386-mpx-simple_segv.exp
8070 * gdb.arch/i386-mpx.exp
8071 * gdb.arch/i386-permbkpt.exp
8072 * gdb.arch/pa-nullify.exp
8073 * gdb.arch/powerpc-d128-regs.exp
8074 * gdb.arch/vsx-regs.exp
8075 * gdb.base/bfp-test.exp
8076 * gdb.base/break.exp
8077 * gdb.base/breakpoint-shadow.exp
8078 * gdb.base/callfuncs.exp
8079 * gdb.base/charset.exp
8080 * gdb.base/commands.exp
8081 * gdb.base/completion.exp
8082 * gdb.base/dfp-test.exp
8083 * gdb.base/echo.exp
8084 * gdb.base/ending-run.exp
8085 * gdb.base/eval.exp
8086 * gdb.base/expand-psymtabs.exp
8087 * gdb.base/float128.exp
8088 * gdb.base/floatn.exp
8089 * gdb.base/foll-exec-mode.exp
8090 * gdb.base/gdb1056.exp
8091 * gdb.base/gdb11531.exp
8092 * gdb.base/kill-after-signal.exp
8093 * gdb.base/multi-forks.exp
8094 * gdb.base/overlays.exp
8095 * gdb.base/pending.exp
8096 * gdb.base/sepdebug.exp
8097 * gdb.base/testenv.exp
8098 * gdb.base/valgrind-db-attach.exp
8099 * gdb.base/watch_thread_num.exp
8100 * gdb.base/watchpoint-cond-gone.exp
8101 * gdb.base/watchpoint.exp
8102 * gdb.base/watchpoints.exp
8103 * gdb.cp/arg-reference.exp
8104 * gdb.cp/baseenum.exp
8105 * gdb.cp/operator.exp
8106 * gdb.cp/shadow.exp
8107 * gdb.dwarf2/dw2-op-out-param.exp
8108 * gdb.dwarf2/dw2-reg-undefined.exp
8109 * gdb.go/chan.exp
8110 * gdb.go/hello.exp
8111 * gdb.go/integers.exp
8112 * gdb.go/methods.exp
8113 * gdb.go/package.exp
8114 * gdb.guile/scm-parameter.exp
8115 * gdb.guile/scm-progspace.exp
8116 * gdb.guile/scm-value.exp
8117 * gdb.mi/mi-pending.exp
8118 * gdb.mi/user-selected-context-sync.exp
8119 * gdb.multi/multi-attach.exp
8120 * gdb.multi/tids.exp
8121 * gdb.opt/clobbered-registers-O2.exp
8122 * gdb.pascal/floats.exp
8123 * gdb.pascal/integers.exp
8124 * gdb.python/py-block.exp
8125 * gdb.python/py-events.exp
8126 * gdb.python/py-parameter.exp
8127 * gdb.python/py-symbol.exp
8128 * gdb.python/py-symtab.exp
8129 * gdb.python/py-type.exp
8130 * gdb.python/py-value.exp
8131 * gdb.python/py-xmethods.exp
8132 * gdb.python/python.exp
8133 * gdb.reverse/break-precsave.exp
8134 * gdb.reverse/consecutive-precsave.exp
8135 * gdb.reverse/finish-precsave.exp
8136 * gdb.reverse/i386-precsave.exp
8137 * gdb.reverse/machinestate-precsave.exp
8138 * gdb.reverse/sigall-precsave.exp
8139 * gdb.reverse/solib-precsave.exp
8140 * gdb.reverse/step-precsave.exp
8141 * gdb.reverse/until-precsave.exp
8142 * gdb.reverse/watch-precsave.exp
8143 * gdb.server/ext-attach.exp
8144 * gdb.server/ext-restart.exp
8145 * gdb.server/ext-run.exp
8146 * gdb.server/ext-wrapper.exp
8147 * gdb.stabs/gdb11479.exp
8148 * gdb.stabs/weird.exp
8149 * gdb.threads/attach-many-short-lived-threads.exp
8150 * gdb.threads/kill.exp
8151 * gdb.threads/watchpoint-fork.exp
8152
8153 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8154
8155 Fix test names starting with uppercase throughout all the files below.
8156
8157 * gdb.ada/array_return.exp
8158 * gdb.ada/catch_ex.exp
8159 * gdb.ada/info_exc.exp
8160 * gdb.ada/mi_catch_ex.exp
8161 * gdb.ada/mi_dyn_arr.exp
8162 * gdb.ada/mi_ex_cond.exp
8163 * gdb.ada/mi_exc_info.exp
8164 * gdb.ada/mi_interface.exp
8165 * gdb.ada/mi_task_arg.exp
8166 * gdb.ada/mi_task_info.exp
8167 * gdb.ada/mi_var_array.exp
8168 * gdb.arch/alpha-step.exp
8169 * gdb.arch/amd64-disp-step.exp
8170 * gdb.arch/arm-disp-step.exp
8171 * gdb.arch/disp-step-insn-reloc.exp
8172 * gdb.arch/e500-prologue.exp
8173 * gdb.arch/ftrace-insn-reloc.exp
8174 * gdb.arch/gdb1558.exp
8175 * gdb.arch/i386-bp_permanent.exp
8176 * gdb.arch/i386-disp-step.exp
8177 * gdb.arch/i386-float.exp
8178 * gdb.arch/i386-gnu-cfi.exp
8179 * gdb.arch/ia64-breakpoint-shadow.exp
8180 * gdb.arch/mips16-thunks.exp
8181 * gdb.arch/pa-nullify.exp
8182 * gdb.arch/powerpc-aix-prologue.exp
8183 * gdb.arch/powerpc-power.exp
8184 * gdb.arch/ppc-dfp.exp
8185 * gdb.arch/s390-tdbregs.exp
8186 * gdb.arch/spu-info.exp
8187 * gdb.arch/spu-ls.exp
8188 * gdb.arch/thumb-bx-pc.exp
8189 * gdb.base/advance.exp
8190 * gdb.base/annota-input-while-running.exp
8191 * gdb.base/arrayidx.exp
8192 * gdb.base/asmlabel.exp
8193 * gdb.base/async.exp
8194 * gdb.base/attach-wait-input.exp
8195 * gdb.base/auto-connect-native-target.exp
8196 * gdb.base/batch-preserve-term-settings.exp
8197 * gdb.base/bfp-test.exp
8198 * gdb.base/bigcore.exp
8199 * gdb.base/bp-permanent.exp
8200 * gdb.base/break-always.exp
8201 * gdb.base/break-fun-addr.exp
8202 * gdb.base/break-idempotent.exp
8203 * gdb.base/break-main-file-remove-fail.exp
8204 * gdb.base/break-probes.exp
8205 * gdb.base/break-unload-file.exp
8206 * gdb.base/break.exp
8207 * gdb.base/call-ar-st.exp
8208 * gdb.base/call-rt-st.exp
8209 * gdb.base/call-sc.exp
8210 * gdb.base/call-signal-resume.exp
8211 * gdb.base/call-strs.exp
8212 * gdb.base/callexit.exp
8213 * gdb.base/callfuncs.exp
8214 * gdb.base/catch-gdb-caused-signals.exp
8215 * gdb.base/catch-signal-siginfo-cond.exp
8216 * gdb.base/catch-syscall.exp
8217 * gdb.base/compare-sections.exp
8218 * gdb.base/cond-eval-mode.exp
8219 * gdb.base/condbreak-call-false.exp
8220 * gdb.base/consecutive-step-over.exp
8221 * gdb.base/cursal.exp
8222 * gdb.base/disabled-location.exp
8223 * gdb.base/disasm-end-cu.exp
8224 * gdb.base/display.exp
8225 * gdb.base/double-prompt-target-event-error.exp
8226 * gdb.base/dprintf-bp-same-addr.exp
8227 * gdb.base/dprintf-detach.exp
8228 * gdb.base/dprintf-next.exp
8229 * gdb.base/dprintf-non-stop.exp
8230 * gdb.base/dprintf-pending.exp
8231 * gdb.base/dso2dso.exp
8232 * gdb.base/ending-run.exp
8233 * gdb.base/enum_cond.exp
8234 * gdb.base/examine-backward.exp
8235 * gdb.base/exe-lock.exp
8236 * gdb.base/exec-invalid-sysroot.exp
8237 * gdb.base/execl-update-breakpoints.exp
8238 * gdb.base/execution-termios.exp
8239 * gdb.base/fileio.exp
8240 * gdb.base/fixsection.exp
8241 * gdb.base/foll-exec-mode.exp
8242 * gdb.base/foll-exec.exp
8243 * gdb.base/fork-running-state.exp
8244 * gdb.base/frame-args.exp
8245 * gdb.base/fullpath-expand.exp
8246 * gdb.base/func-ptr.exp
8247 * gdb.base/gcore-relro-pie.exp
8248 * gdb.base/gdb1090.exp
8249 * gdb.base/gdb1555.exp
8250 * gdb.base/global-var-nested-by-dso.exp
8251 * gdb.base/gnu-ifunc.exp
8252 * gdb.base/hbreak-in-shr-unsupported.exp
8253 * gdb.base/hbreak-unmapped.exp
8254 * gdb.base/hook-stop.exp
8255 * gdb.base/infcall-input.exp
8256 * gdb.base/info-fun.exp
8257 * gdb.base/info-shared.exp
8258 * gdb.base/interrupt-noterm.exp
8259 * gdb.base/jit-so.exp
8260 * gdb.base/jit.exp
8261 * gdb.base/line-symtabs.exp
8262 * gdb.base/list.exp
8263 * gdb.base/longjmp.exp
8264 * gdb.base/macscp.exp
8265 * gdb.base/max-value-size.exp
8266 * gdb.base/nodebug.exp
8267 * gdb.base/nofield.exp
8268 * gdb.base/overlays.exp
8269 * gdb.base/paginate-after-ctrl-c-running.exp
8270 * gdb.base/paginate-bg-execution.exp
8271 * gdb.base/paginate-inferior-exit.exp
8272 * gdb.base/pending.exp
8273 * gdb.base/pr11022.exp
8274 * gdb.base/printcmds.exp
8275 * gdb.base/ptr-typedef.exp
8276 * gdb.base/ptype.exp
8277 * gdb.base/randomize.exp
8278 * gdb.base/range-stepping.exp
8279 * gdb.base/realname-expand.exp
8280 * gdb.base/relativedebug.exp
8281 * gdb.base/remote.exp
8282 * gdb.base/savedregs.exp
8283 * gdb.base/sepdebug.exp
8284 * gdb.base/set-noassign.exp
8285 * gdb.base/shlib-call.exp
8286 * gdb.base/shreloc.exp
8287 * gdb.base/sigaltstack.exp
8288 * gdb.base/sigbpt.exp
8289 * gdb.base/siginfo-addr.exp
8290 * gdb.base/siginfo-obj.exp
8291 * gdb.base/siginfo-thread.exp
8292 * gdb.base/signest.exp
8293 * gdb.base/signull.exp
8294 * gdb.base/sigrepeat.exp
8295 * gdb.base/skip.exp
8296 * gdb.base/so-impl-ld.exp
8297 * gdb.base/solib-corrupted.exp
8298 * gdb.base/solib-disc.exp
8299 * gdb.base/solib-display.exp
8300 * gdb.base/solib-overlap.exp
8301 * gdb.base/solib-search.exp
8302 * gdb.base/solib-symbol.exp
8303 * gdb.base/source-execution.exp
8304 * gdb.base/sss-bp-on-user-bp-2.exp
8305 * gdb.base/sss-bp-on-user-bp.exp
8306 * gdb.base/stack-checking.exp
8307 * gdb.base/stale-infcall.exp
8308 * gdb.base/step-break.exp
8309 * gdb.base/step-line.exp
8310 * gdb.base/step-over-exit.exp
8311 * gdb.base/step-test.exp
8312 * gdb.base/structs.exp
8313 * gdb.base/sym-file.exp
8314 * gdb.base/symtab-search-order.exp
8315 * gdb.base/term.exp
8316 * gdb.base/type-opaque.exp
8317 * gdb.base/unload.exp
8318 * gdb.base/until-nodebug.exp
8319 * gdb.base/until.exp
8320 * gdb.base/unwindonsignal.exp
8321 * gdb.base/watch-cond.exp
8322 * gdb.base/watch-non-mem.exp
8323 * gdb.base/watch_thread_num.exp
8324 * gdb.base/watchpoint-reuse-slot.exp
8325 * gdb.base/watchpoint-solib.exp
8326 * gdb.base/watchpoint.exp
8327 * gdb.btrace/dlopen.exp
8328 * gdb.cell/arch.exp
8329 * gdb.cell/break.exp
8330 * gdb.cell/bt.exp
8331 * gdb.cell/core.exp
8332 * gdb.cell/data.exp
8333 * gdb.cell/dwarfaddr.exp
8334 * gdb.cell/ea-cache.exp
8335 * gdb.cell/ea-standalone.exp
8336 * gdb.cell/ea-test.exp
8337 * gdb.cell/f-regs.exp
8338 * gdb.cell/fork.exp
8339 * gdb.cell/gcore.exp
8340 * gdb.cell/mem-access.exp
8341 * gdb.cell/ptype.exp
8342 * gdb.cell/registers.exp
8343 * gdb.cell/sizeof.exp
8344 * gdb.cell/solib-symbol.exp
8345 * gdb.cell/solib.exp
8346 * gdb.compile/compile-tls.exp
8347 * gdb.cp/exception.exp
8348 * gdb.cp/gdb2495.exp
8349 * gdb.cp/local.exp
8350 * gdb.cp/mb-inline.exp
8351 * gdb.cp/mb-templates.exp
8352 * gdb.cp/pr10687.exp
8353 * gdb.cp/pr9167.exp
8354 * gdb.cp/scope-err.exp
8355 * gdb.cp/templates.exp
8356 * gdb.cp/virtfunc.exp
8357 * gdb.dwarf2/dw2-dir-file-name.exp
8358 * gdb.dwarf2/dw2-single-line-discriminators.exp
8359 * gdb.fortran/complex.exp
8360 * gdb.fortran/library-module.exp
8361 * gdb.guile/guile.exp
8362 * gdb.guile/scm-cmd.exp
8363 * gdb.guile/scm-frame-inline.exp
8364 * gdb.guile/scm-objfile.exp
8365 * gdb.guile/scm-pretty-print.exp
8366 * gdb.guile/scm-symbol.exp
8367 * gdb.guile/scm-type.exp
8368 * gdb.guile/scm-value.exp
8369 * gdb.linespec/keywords.exp
8370 * gdb.linespec/ls-errs.exp
8371 * gdb.linespec/macro-relative.exp
8372 * gdb.linespec/thread.exp
8373 * gdb.mi/mi-breakpoint-changed.exp
8374 * gdb.mi/mi-dprintf-pending.exp
8375 * gdb.mi/mi-fullname-deleted.exp
8376 * gdb.mi/mi-logging.exp
8377 * gdb.mi/mi-pending.exp
8378 * gdb.mi/mi-solib.exp
8379 * gdb.mi/new-ui-mi-sync.exp
8380 * gdb.mi/user-selected-context-sync.exp
8381 * gdb.multi/dummy-frame-restore.exp
8382 * gdb.multi/multi-arch-exec.exp
8383 * gdb.multi/remove-inferiors.exp
8384 * gdb.multi/watchpoint-multi-exit.exp
8385 * gdb.opt/solib-intra-step.exp
8386 * gdb.perf/backtrace.exp
8387 * gdb.perf/single-step.exp
8388 * gdb.perf/skip-command.exp
8389 * gdb.perf/skip-prologue.exp
8390 * gdb.perf/solib.exp
8391 * gdb.python/lib-types.exp
8392 * gdb.python/py-as-string.exp
8393 * gdb.python/py-bad-printers.exp
8394 * gdb.python/py-block.exp
8395 * gdb.python/py-breakpoint.exp
8396 * gdb.python/py-cmd.exp
8397 * gdb.python/py-events.exp
8398 * gdb.python/py-evthreads.exp
8399 * gdb.python/py-finish-breakpoint.exp
8400 * gdb.python/py-finish-breakpoint2.exp
8401 * gdb.python/py-frame-inline.exp
8402 * gdb.python/py-frame.exp
8403 * gdb.python/py-inferior.exp
8404 * gdb.python/py-infthread.exp
8405 * gdb.python/py-mi.exp
8406 * gdb.python/py-objfile.exp
8407 * gdb.python/py-pp-maint.exp
8408 * gdb.python/py-pp-registration.exp
8409 * gdb.python/py-prettyprint.exp
8410 * gdb.python/py-recurse-unwind.exp
8411 * gdb.python/py-shared.exp
8412 * gdb.python/py-symbol.exp
8413 * gdb.python/py-symtab.exp
8414 * gdb.python/py-template.exp
8415 * gdb.python/py-type.exp
8416 * gdb.python/py-unwind-maint.exp
8417 * gdb.python/py-unwind.exp
8418 * gdb.python/py-value.exp
8419 * gdb.python/python.exp
8420 * gdb.reverse/finish-reverse-bkpt.exp
8421 * gdb.reverse/insn-reverse.exp
8422 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8423 * gdb.reverse/solib-precsave.exp
8424 * gdb.reverse/solib-reverse.exp
8425 * gdb.stabs/gdb11479.exp
8426 * gdb.stabs/weird.exp
8427 * gdb.threads/fork-child-threads.exp
8428 * gdb.threads/fork-plus-threads.exp
8429 * gdb.threads/fork-thread-pending.exp
8430 * gdb.threads/forking-threads-plus-breakpoint.exp
8431 * gdb.threads/hand-call-in-threads.exp
8432 * gdb.threads/interrupted-hand-call.exp
8433 * gdb.threads/linux-dp.exp
8434 * gdb.threads/local-watch-wrong-thread.exp
8435 * gdb.threads/next-while-other-thread-longjmps.exp
8436 * gdb.threads/non-ldr-exit.exp
8437 * gdb.threads/pending-step.exp
8438 * gdb.threads/print-threads.exp
8439 * gdb.threads/process-dies-while-detaching.exp
8440 * gdb.threads/process-dies-while-handling-bp.exp
8441 * gdb.threads/pthreads.exp
8442 * gdb.threads/queue-signal.exp
8443 * gdb.threads/reconnect-signal.exp
8444 * gdb.threads/signal-command-handle-nopass.exp
8445 * gdb.threads/signal-command-multiple-signals-pending.exp
8446 * gdb.threads/signal-delivered-right-thread.exp
8447 * gdb.threads/signal-sigtrap.exp
8448 * gdb.threads/sigthread.exp
8449 * gdb.threads/staticthreads.exp
8450 * gdb.threads/stepi-random-signal.exp
8451 * gdb.threads/thread-unwindonsignal.exp
8452 * gdb.threads/thread_check.exp
8453 * gdb.threads/thread_events.exp
8454 * gdb.threads/tid-reuse.exp
8455 * gdb.threads/tls-nodebug.exp
8456 * gdb.threads/tls-shared.exp
8457 * gdb.threads/tls-so_extern.exp
8458 * gdb.threads/tls.exp
8459 * gdb.threads/wp-replication.exp
8460 * gdb.trace/actions-changed.exp
8461 * gdb.trace/actions.exp
8462 * gdb.trace/backtrace.exp
8463 * gdb.trace/change-loc.exp
8464 * gdb.trace/collection.exp
8465 * gdb.trace/deltrace.exp
8466 * gdb.trace/disconnected-tracing.exp
8467 * gdb.trace/entry-values.exp
8468 * gdb.trace/ftrace-lock.exp
8469 * gdb.trace/ftrace.exp
8470 * gdb.trace/infotrace.exp
8471 * gdb.trace/mi-trace-frame-collected.exp
8472 * gdb.trace/mi-trace-unavailable.exp
8473 * gdb.trace/mi-traceframe-changed.exp
8474 * gdb.trace/mi-tracepoint-changed.exp
8475 * gdb.trace/mi-tsv-changed.exp
8476 * gdb.trace/no-attach-trace.exp
8477 * gdb.trace/packetlen.exp
8478 * gdb.trace/passc-dyn.exp
8479 * gdb.trace/passcount.exp
8480 * gdb.trace/pending.exp
8481 * gdb.trace/pr16508.exp
8482 * gdb.trace/qtro.exp
8483 * gdb.trace/range-stepping.exp
8484 * gdb.trace/read-memory.exp
8485 * gdb.trace/report.exp
8486 * gdb.trace/save-trace.exp
8487 * gdb.trace/signal.exp
8488 * gdb.trace/stap-trace.exp
8489 * gdb.trace/status-stop.exp
8490 * gdb.trace/strace.exp
8491 * gdb.trace/tfile.exp
8492 * gdb.trace/tfind.exp
8493 * gdb.trace/trace-break.exp
8494 * gdb.trace/trace-condition.exp
8495 * gdb.trace/trace-enable-disable.exp
8496 * gdb.trace/trace-mt.exp
8497 * gdb.trace/tracecmd.exp
8498 * gdb.trace/tracefile-pseudo-reg.exp
8499 * gdb.trace/tspeed.exp
8500 * gdb.trace/tstatus.exp
8501 * gdb.trace/tsv.exp
8502 * gdb.trace/unavailable.exp
8503 * gdb.trace/while-dyn.exp
8504 * gdb.trace/while-stepping.exp
8505 * lib/gdb-guile.exp
8506 * lib/gdb.exp
8507 * lib/mi-support.exp
8508 * lib/pascal.exp
8509 * lib/perftest.exp
8510 * lib/prelink-support.exp
8511 * lib/selftest-support.exp
8512
8513 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8514
8515 * Makefile.in: Include disable-implicit-rules.mk.
8516
8517 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8518
8519 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8520 non-byte-aligned bit fields.
8521
8522 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8523
8524 PR gdb/12616
8525 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8526 respects the DW_AT_data_bit_offset attribute.
8527
8528 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8529
8530 * gdb.base/default.exp: Fix output of "set language".
8531
8532 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8533
8534 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8535 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8536 make.
8537 * configure.ac: Remove checks for the make program.
8538 * configure: Re-generate.
8539
8540 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8541
8542 * gdb.python/py-recurse-unwind.c (main): Add loop.
8543 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8544 to read_register() and gdb.parse_and_eval(). Make each code
8545 call a separate case that can be individually tested.
8546 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8547 proc. Call cont_and_backtrace for each of the code paths that
8548 we want to test in the unwinder.
8549
8550 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8551
8552 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8553 the definition of struct S.
8554
8555 2016-11-11 Catherine Moore <clm@codesourcery.com>
8556
8557 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8558
8559 2016-11-09 Pedro Alves <palves@redhat.com>
8560
8561 * gdb.base/commands.exp (runto_or_return): New procedure.
8562 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8563 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8564 (progvar_simple_while_test, progvar_complex_if_while_test)
8565 (if_while_breakpoint_command_test)
8566 (infrun_breakpoint_command_test, breakpoint_command_test)
8567 (user_defined_command_test, watchpoint_command_test)
8568 (test_command_prompt_position, redefine_hook_test)
8569 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8570 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8571 multi_line_input and multi_line. Remove gdb_expect and
8572 gdb_stop_suppressing_tests uses.
8573 * lib/gdb.exp (valnum_re): New global.
8574 (multi_line_input): New procedure.
8575
8576 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8577
8578 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8579 Remove.
8580 (test_setup): Define with proc_with_prefix.
8581 (test_cli_inferior): Likewise.
8582 (test_cli_thread): Likewise.
8583 (test_cli_frame): Likewise.
8584 (test_cli_select_frame): Likewise.
8585 (test_cli_up_down): Likewise.
8586 (test_mi_thread_select): Likewise.
8587 (test_mi_stack_select_frame): Likewise.
8588 (test_cli_in_mi_inferior): Likewise.
8589 (test_cli_in_mi_thread): Likewise.
8590 (test_cli_in_mi_frame): Likewise.
8591 (top level): Do not use with_test_prefix_procname.
8592
8593 2016-11-09 Pedro Alves <palves@redhat.com>
8594
8595 * gdb.base/commands.exp (gdbvar_simple_if_test)
8596 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8597 (progvar_simple_if_test, progvar_simple_while_test)
8598 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8599 (infrun_breakpoint_command_test, breakpoint_command_test)
8600 (user_defined_command_test, watchpoint_command_test)
8601 (test_command_prompt_position, deprecated_command_test)
8602 (bp_deleted_in_command, temporary_breakpoint_commands)
8603 (stray_arg0_test, source_file_with_indented_comment)
8604 (recursive_source_test, if_commands_test)
8605 (error_clears_commands_left, redefine_hook_test)
8606 (redefine_backtrace_test): Use proc_with_prefix.
8607 * lib/gdb.exp (proc_with_prefix): New proc.
8608
8609 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8610
8611 * gdb.base/tui-layout.c: New file.
8612 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8613 disassembly window contains very long lines.
8614
8615 2016-11-08 Tom Tromey <tom@tromey.com>
8616
8617 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8618 depend on Python 2.
8619
8620 2016-11-08 Tom Tromey <tom@tromey.com>
8621
8622 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8623 New method.
8624
8625 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8626
8627 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8628
8629 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8630
8631 * gdb.rust/simple.rs: Add test for univariant enums without
8632 discriminants and for encoded struct-like enums.
8633
8634 2016-10-28 Pedro Alves <palves@redhat.com>
8635
8636 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8637 gdb_test_multiple, tighten regexps and match symtabs and line
8638 tables incrementally.
8639
8640 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8641
8642 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8643 general.
8644
8645 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8646
8647 * gdb.base/exec-invalid-sysroot.exp: New file.
8648
8649 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8650
8651 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8652
8653 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8654
8655 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8656
8657 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8658
8659 * gdb.base/killed-outside.exp: Remove $options from a call to
8660 `prepare_for_testing'.
8661
8662 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8663
8664 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8665 Change test message.
8666
8667 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8668
8669 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8670 Update comment.
8671
8672 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8673
8674 * gdb.trace/mi-trace-save.exp: New file.
8675
8676 2016-10-13 Yao Qi <yao.qi@linaro.org>
8677
8678 * gdb.base/code_elim.exp (get_var_address): Remove.
8679 * gdb.base/relocate.exp: Likewise.
8680 * gdb.base/shreloc.exp: Likewise.
8681 * lib/gdb.exp (get_var_address): New.
8682
8683 2016-10-13 Yao Qi <yao.qi@linaro.org>
8684
8685 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8686 floating point tests if $skip_float_test is false.
8687
8688 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8689
8690 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8691 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8692 argc values.
8693 Add 1 to argc so we guarantee distinct initial/modified argc values.
8694
8695 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8696
8697 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8698
8699 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8700
8701 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8702 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8703 * gdb.arch/vsx-regs.exp: Likewise.
8704
8705 2016-10-07 Yao Qi <yao.qi@linaro.org>
8706
8707 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8708
8709 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8710
8711 * gdb.python/python.exp: Test decode_line("*0").
8712
8713 2016-10-06 Doug Evans <dje@google.com>
8714
8715 * gdb.python/py-value.exp (test_value_creation): Add test for large
8716 unsigned 64-bit value.
8717
8718 2016-10-06 Tom Tromey <tom@tromey.com>
8719
8720 * gdb.compile/compile.exp: Change java tests to rust.
8721 * gdb.base/setshow.exp: Change java tests to rust.
8722 * gdb.base/default.exp: Remove java from language list.
8723 * README (Examples): Update language example.
8724 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8725 test.
8726 * lib/gdb.exp (skip_java_tests): Remove.
8727 * lib/java.exp: Remove.
8728 * gdb.java: Remove.
8729
8730 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8731
8732 * gdb.arch/mips-fcr.exp: New test.
8733 * gdb.arch/mips-fcr.c: Source for the new test.
8734
8735 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8736
8737 * gdb.base/solib-disc.exp: Use `standard_output_file'
8738 throughout.
8739
8740 2016-10-06 Pedro Alves <palves@redhat.com>
8741
8742 * gdb.base/jit-simple-dl.c: New file.
8743 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8744 * gdb.base/jit-simple.c: ... this.
8745 * gdb.base/jit-simple.exp (jit_run): Delete.
8746 (build_jit): New proc.
8747 (jit_test_reread): Recompile either the main program or the shared
8748 library, depending on what is being tested. Skip changing address
8749 if caller wants to. Compare before/after addresses. If testing
8750 standalone, explicitly load the binary. Test "maint info
8751 breakpoints".
8752 (top level): Add "standalone vs shared lib" and "change address"
8753 vs "same address" axes.
8754
8755 2016-10-06 Pedro Alves <palves@redhat.com>
8756
8757 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8758 call.
8759 (jit_run): Delete.
8760 (jit_test_reread): Use with_test_prefix. Reload the main binary
8761 explicitly. Compare the before/after addresses of the JIT
8762 descriptor.
8763
8764 2016-08-15 Doug Evans <dje@google.com>
8765
8766 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8767 for single bitfields is bool.
8768 * gdb.xml/tdesc-regs.exp: Ditto.
8769
8770 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8771
8772 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8773
8774 2016-10-05 Yao Qi <yao.qi@linaro.org>
8775
8776 * lib/gdb.exp (support_complex_tests): Return zero if
8777 gdb_skip_float_test return true.
8778
8779 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8780 Simon Marchi <simon.marchi@ericsson.com>
8781
8782 PR gdb/20487
8783 * gdb.mi/user-selected-context-sync.exp: New file.
8784 * gdb.mi/user-selected-context-sync.c: New file.
8785
8786 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8787 Simon Marchi <simon.marchi@ericsson.com>
8788
8789 PR gdb/20487
8790 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8791 =thread-select-event check.
8792
8793 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8794
8795 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8796 the compulsory L operand changes.
8797 * gdb.arch/powerpc-power.s: Likewise.
8798
8799 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8800
8801 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8802 * gdb.base/jit-attach-pie.c: New file.
8803 * gdb.base/jit-attach-pie.exp: New file.
8804
8805 2016-09-28 Pedro Alves <palves@redhat.com>
8806
8807 * gdb.base/infcall-input.c: New file.
8808 * gdb.base/infcall-input.exp: New file.
8809
8810 2016-09-22 Yao Qi <yao.qi@linaro.org>
8811
8812 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8813 (gdb_exit): Rename it to ...
8814 (gdbserver_gdb_exit): ... Close GDBserver.
8815 (gdb_exit): New proc, call gdbserver_gdb_exit.
8816 (mi_gdb_exit): Likewise.
8817
8818 2016-09-22 Yao Qi <yao.qi@linaro.org>
8819
8820 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8821 path.
8822 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8823 Remove duplication.
8824
8825 2016-09-22 Yao Qi <yao.qi@linaro.org>
8826
8827 * lib/gdbserver-support.exp: Check the existence of
8828 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8829
8830 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8831
8832 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8833
8834 2016-09-21 Tom Tromey <tom@tromey.com>
8835
8836 PR gdb/20604:
8837 * gdb.base/quit.exp: New file.
8838
8839 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8840
8841 * .gitignore: New file.
8842
8843 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8844
8845 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8846 throughout.
8847
8848 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8849
8850 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8851
8852 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8853
8854 * gdb.cp/casts.cc (decltype): Move it ...
8855 (main): ... with its call to ...
8856 * gdb.cp/casts03.cc: ... a new file.
8857 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8858
8859 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8860
8861 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8862
8863 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8864
8865 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8866 and sync up the test with tests in gas/testsuite/gas/ppc.
8867 * gdb.arch/powerpc-power.exp: Likewise.
8868
8869 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8870
8871 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8872
8873 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8874 Jan Kratochvil <jan.kratochvil@redhat.com>
8875
8876 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8877 make m1's definition to be different from m2's. Use 'dummy' as an
8878 argument for probe 'two'.
8879
8880 2016-09-10 Jon Beniston <jon@beniston.com>
8881
8882 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8883 for sim target.
8884
8885 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8886
8887 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8888 variable declaration.
8889 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8890 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8891 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8892 received HWCAP as its argument.
8893
8894 2016-09-06 Pedro Alves <palves@redhat.com>
8895
8896 * gdb.base/new-ui-pending-input.c: New file.
8897 * gdb.base/new-ui-pending-input.exp: New file.
8898 * gdb.exp (clear_gdb_spawn_id): New procedure.
8899 (with_spawn_id): Check whether gdb_spawn_id exists before
8900 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8901 on exit.
8902
8903 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8904
8905 * gdb.base/float128.c: New file.
8906 * gdb.base/float128.exp: Likewise.
8907 * gdb.base/floatn.c: Likewise.
8908 * gdb.base/floatn.exp: Likewise.
8909
8910 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8911
8912 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8913
8914 2016-09-05 Pedro Alves <palves@redhat.com>
8915
8916 PR backtrace/19927
8917 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8918 unwinders are immediately called as side effect of "source" or
8919 "disable unwinder" commands.
8920 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8921
8922 2016-09-02 Yao Qi <yao.qi@linaro.org>
8923
8924 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8925 is true and $type is "float" or "double".
8926
8927 2016-09-02 Yao Qi <yao.qi@linaro.org>
8928
8929 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8930 true.
8931 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8932 * gdb.base/call-rt-st.exp: Likewise.
8933 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8934 return value instead of gdb,skip_float_test.
8935 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8936 (do_function_calls): Use its return value instead of
8937 gdb,skip_float_test.
8938 * gdb.base/finish.exp: Likewise.
8939 * gdb.base/funcargs.exp: Likewise.
8940 * gdb.base/return.exp: Likewise.
8941 * gdb.base/return2.exp: Likewise.
8942 * gdb.base/varargs.exp: Likewise.
8943 * lib/gdb.exp (gdb_skip_float_test): Change it to
8944 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8945
8946 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8947
8948 * gdb.multi/tids.exp: Test "thread apply all".
8949
8950 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8951
8952 * gdb.base/default.exp (tty): Remove.
8953
8954 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8955
8956 * gdb.python/py-recurse-unwind.c: New file.
8957 * gdb.python/py-recurse-unwind.py: New file.
8958 * gdb.python/py-recurse-unwind.exp: New file.
8959
8960 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8961
8962 * gdb.base/set-inferior-tty.exp: New file.
8963 * gdb.base/set-inferior-tty.c: New file.
8964
8965 2016-08-23 Pedro Alves <palves@redhat.com>
8966
8967 PR gdb/20494
8968 * gdb.base/new-ui-echo.c: New file.
8969 * gdb.base/new-ui-echo.exp: New file.
8970
8971 2016-08-23 Yao Qi <yao.qi@linaro.org>
8972
8973 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8974 gdbserver_spawn.
8975 * gdb.server/connect-without-multi-process.exp (do_test):
8976 Likewise.
8977
8978 2016-08-23 Yao Qi <yao.qi@linaro.org>
8979
8980 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8981 standalone_txt. Delete gdb_txt and standalone_txt on host
8982 and target. Spawn the binary on target. Copy files from
8983 target to host.
8984
8985 2016-08-22 Pedro Alves <palves@redhat.com>
8986
8987 PR gdb/20505
8988 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8989 with_test_prefix. Factor out bits to ...
8990 (test_no_vdso): ... this new procedure.
8991
8992 2016-08-19 Carl Love <cel@us.ibm.com>
8993
8994 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8995 maintaining separate logic for constructing the output path.
8996 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8997 * gdb.arch/ppc-dfp.exp: Likewise.
8998 * gdb.arch/ppc-fp.exp: Likewise.
8999 * gdb.arch/vsx-regs.exp: Likewise.
9000 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9001 binprefix for generating the additional binary files.
9002
9003 2016-08-19 Pedro Alves <palves@redhat.com>
9004
9005 * gdb.trace/mi-trace-frame-collected.exp
9006 (test_trace_frame_collected): On x32, expect two registers.
9007
9008 2016-08-18 Carl Love <cel@us.ibm.com>
9009
9010 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9011 and sync up the test with tests in gas/testsuite/gas/ppc.
9012 * gdb.arch/powerpc-power.exp: Likewise.
9013
9014 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9015
9016 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9017 expected error message.
9018
9019 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9020
9021 * gdb.multi/remove-inferiors.exp: New file.
9022 * gdb.multi/remove-inferiors.c: New file.
9023
9024 2016-08-12 Yao Qi <yao.qi@linaro.org>
9025
9026 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9027 argument list.
9028
9029 2016-08-10 Pedro Alves <palves@redhat.com>
9030
9031 PR gdb/19187
9032 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9033 setup_kfails.
9034
9035 2016-08-09 Pedro Alves <palves@redhat.com>
9036 Simon Marchi <simon.marchi@ericsson.com>
9037
9038 PR gdb/20418
9039 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9040 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9041
9042 2016-08-09 Pedro Alves <palves@redhat.com>
9043
9044 PR mi/20431
9045 * gdb.mi/mi-cmd-error.exp: New file.
9046
9047 2016-08-09 Pedro Alves <palves@redhat.com>
9048
9049 PR gdb/18653
9050 * gdb.base/signals-state-child.c: New file.
9051 * gdb.base/signals-state-child.exp: New file.
9052 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9053
9054 2016-08-09 Pedro Alves <palves@redhat.com>
9055
9056 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9057
9058 2016-08-03 Tom Tromey <tom@tromey.com>
9059
9060 PR python/18565:
9061 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9062
9063 2016-08-01 Yao Qi <yao.qi@linaro.org>
9064
9065 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9066 variable mode to "multi-process" if $multi_process is 1, otherwise
9067 set it to "single-process".
9068
9069 2016-08-01 Yao Qi <yao.qi@linaro.org>
9070
9071 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9072 * gdb.cp/cpexprs.exp: Likewise.
9073 * gdb.cp/m-static.exp: Likewise.
9074
9075 2016-07-26 Tom Tromey <tom@tromey.com>
9076
9077 PR python/20190:
9078 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9079 test.
9080
9081 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9082
9083 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9084 selecting assembly source files.
9085 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9086 assembly source files.
9087 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9088 assembly source files.
9089 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9090 selecting assembly source files.
9091
9092 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9093
9094 * gdb.base/new-ui.exp (do_test_invalid_args): New
9095 procedure.
9096
9097 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9098
9099 * gdb.btrace/reconnect.c: New file.
9100 * gdb.btrace/reconnect.exp: New file.
9101
9102 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9103
9104 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9105 to test_catch_syscall_group.
9106 (test_catch_syscall_group): New.
9107
9108 2016-07-21 Tom Tromey <tom@tromey.com>
9109
9110 * gdb.rust/simple.rs (main): Use empty struct expression.
9111 * gdb.rust/simple.exp: Add tests for empty struct expression.
9112
9113 2016-07-21 Yao Qi <yao.qi@linaro.org>
9114
9115 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9116 if gdb_skip_xml_test is true on some targets.
9117
9118 2016-07-21 Yao Qi <yao.qi@linaro.org>
9119
9120 * gdb.server/solib-list.exp: Unset last_loaded_file.
9121
9122 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9123
9124 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9125 "step into captured_main (args)".
9126
9127 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9128
9129 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9130
9131 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9132
9133 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9134
9135 2016-07-19 Pedro Alves <palves@redhat.com>
9136
9137 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9138 * gdb.opt/inline-bt.exp: Likewise.
9139 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9140 additional_flags=-Winline.
9141 * gdb.opt/inline-locals.exp: Likewise.
9142 * gdb.opt/inline-markers.c (ATTR): Define.
9143 (inlined_fn): Use it.
9144
9145 2016-07-19 Yao Qi <yao.qi@linaro.org>
9146
9147 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9148 (test_with_self): Remove some code. Remove argument executable.
9149 (top-level): Use do_self_tests.
9150
9151 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9152 Don Breazeal <donb@codesourcery.com>
9153
9154 * gdb.base/maint.exp: Escape paths used in regular expressions.
9155 * gdb.stabs/weird.exp: Likewise.
9156
9157 2016-07-13 Tom Tromey <tom@tromey.com>
9158
9159 PR python/15620, PR python/18620:
9160 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9161 (test_bkpt_events): New procs.
9162
9163 2016-07-13 Tom Tromey <tom@tromey.com>
9164
9165 PR python/17698:
9166 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9167 test.
9168 (test_watchpoints): Likewise.
9169 (test_bkpt_pending): New proc.
9170
9171 2016-07-13 Tom Tromey <tom@tromey.com>
9172
9173 PR cli/18053:
9174 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9175 completion test.
9176
9177 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9178
9179 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9180 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9181 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9182 f_label.
9183 (g): Rename g_end_lbl to g_label.
9184 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9185 low_pc and high_pc.
9186 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9187
9188 2016-07-12 Tom Tromey <tom@tromey.com>
9189
9190 PR python/19293:
9191 * gdb.python/py-unwind-maint.exp: Update tests.
9192
9193 2016-07-12 Yao Qi <yao.qi@linaro.org>
9194
9195 * lib/selftest-support.exp (selftest_setup): Match the output
9196 when captured_main is inlined.
9197
9198 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9199
9200 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9201 New variables.
9202 (print this%a, print this%b, print this): New tests.
9203 * gdb.fortran/derived-types.f90 (this): New object and
9204 initialization.
9205
9206 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9207
9208 * gdb.ada/arraydim.exp: Remove extra directory level in build
9209 directory.
9210
9211 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9212
9213 * lib/ada.exp: Remove extra directory level in build directory.
9214 * gdb.ada/cond_lang.exp: Likewise.
9215 * gdb.ada/exec_changed.exp: Likewise.
9216 * gdb.ada/lang_switch.exp: Likewise.
9217
9218 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9219
9220 * simple.rs: Add test for raw pointer subscripting.
9221 * simple.exp: Add test expectations.
9222
9223 2016-07-05 Yao Qi <yao.qi@linaro.org>
9224
9225 * gdb.mi/mi-reverse.exp: Match =record-started output.
9226
9227 2016-07-01 Pedro Alves <palves@redhat.com>
9228
9229 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9230 procedure.
9231 (jit_reader_test): Test the jit reader's unwinder.
9232 * gdb.base/jithost.c (jit_function_00_code): New global.
9233 (main): Use memcpy to fill in the mmapped code, instead of poking
9234 bytes manually here.
9235 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9236 value.
9237 (read_debug_info): Save the function's range.
9238 (read_sp): New function.
9239 (unwind_frame): Use it. Also unwind RBP.
9240 (get_frame_id): Use read_sp.
9241 (gdb_init_reader): Use calloc instead of malloc.
9242 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9243 parameter. Use gdb_test_multiple.
9244
9245 2016-07-01 Pedro Alves <palves@redhat.com>
9246 Antoine Tremblay <antoine.tremblay@ericsson.com>
9247
9248 * gdb.threads/process-dies-while-detaching.c: New file.
9249 * gdb.threads/process-dies-while-detaching.exp: New file.
9250
9251 2016-07-01 Pedro Alves <palves@redhat.com>
9252
9253 * gdb.multi/watchpoint-multi-exit.c: New file.
9254 * gdb.multi/watchpoint-multi-exit.exp: New file.
9255
9256 2016-06-30 Pedro Alves <palves@redhat.com>
9257
9258 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9259 unset inferior_spawn_id.
9260
9261 2016-06-30 Pedro Alves <palves@redhat.com>
9262
9263 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9264 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9265
9266 2016-06-29 Yao Qi <yao.qi@linaro.org>
9267
9268 * gdb.base/return.c: Add copyright header.
9269
9270 2016-06-29 Tom Tromey <tom@tromey.com>
9271
9272 PR python/20129:
9273 * gdb.python/py-framefilter.exp: Add tests for setting priority
9274 and disabling of non-existent frame filter.
9275
9276 2016-06-29 Yao Qi <yao.qi@linaro.org>
9277
9278 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9279 0x0f07ff.
9280
9281 2016-06-28 Yao Qi <yao.qi@linaro.org>
9282
9283 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9284 triplets. Start gdb, execute catch syscall, and continue. Check
9285 gdb's output to determine catch syscall is supported.
9286
9287 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9288
9289 * gdb.rust/simple.rs: Add test for returning unit in a function.
9290 * gdb.rust/simple.exp: Add expectation for functions returning
9291 unit.
9292
9293 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9294
9295 * gdb.python/py-breakpoint-create-fail.c,
9296 gdb.python/py-breakpoint-create-fail.exp,
9297 gdb.python/py-breakpoint-create-fail.py: New testcase.
9298
9299 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9300
9301 PR gdb/20239
9302 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9303 * gdb.rust/simple.exp: Add test expectations for new NonZero
9304 tests.
9305
9306 2016-06-24 David Taylor <dtaylor@emc.com>
9307
9308 * gdb.base/offsets.exp: New file.
9309 * gdb.base/offsets.c: New file.
9310
9311 2016-06-23 Tom Tromey <tom@tromey.com>
9312
9313 PR gdb/16483:
9314 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9315 before any filters are loaded.
9316
9317 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9318
9319 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9320 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9321 structs.
9322 * gdb.fortran/derived-type-function.exp: New file.
9323 * gdb.fortran/derived-type-function.f90: New file.
9324
9325
9326 2016-06-21 Pedro Alves <palves@redhat.com>
9327
9328 * gdb.base/new-ui.exp: New file.
9329 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9330 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9331 (with_spawn_id): New procedure.
9332
9333 2016-06-21 Pedro Alves <palves@redhat.com>
9334
9335 * gdb.mi/mi-exec-run.exp: New file.
9336
9337 2016-06-21 Pedro Alves <palves@redhat.com>
9338
9339 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9340 breakpoint command's output on the main UI.
9341 (test_break): New procedure, factored out from calls in the top
9342 level.
9343 (top level): Use foreach_with_prefix to test MI as main UI and as
9344 separate UI.
9345
9346 2016-06-21 Pedro Alves <palves@redhat.com>
9347
9348 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9349 (test_awatch_creation_and_listing)
9350 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9351 Remove 'type' parameter.
9352 (test_watchpoint_all): New parameter mi_mode. Remove
9353 with_test_prefix.
9354 (top level): Use foreach_with_prefix, and add main/separate UI MI
9355 testing axis.
9356
9357 2016-06-21 Pedro Alves <palves@redhat.com>
9358
9359 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9360 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9361 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9362 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9363 (gdb_main_spawn_id, mi_spawn_id): Declare and
9364 comment.
9365 (mi_create_inferior_pty): New procedure,
9366 factored out from default_mi_gdb_start.
9367 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9368 procedures.
9369 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9370 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9371 Use mi_create_inferior_pty.
9372 (mi_gdb_start): Use eval to pass down args list.
9373
9374 2016-06-21 Pedro Alves <palves@redhat.com>
9375
9376 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9377 * gdb.opt/inline-cmds.exp: Add MI tests.
9378
9379 2016-06-21 Pedro Alves <palves@redhat.com>
9380
9381 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9382
9383 2016-06-21 Pedro Alves <palves@redhat.com>
9384
9385 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9386 (top level): Use it instead of mi_execute_to.
9387
9388 2016-06-21 Pedro Alves <palves@redhat.com>
9389
9390 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9391 (cont_handler_str): New.
9392 (signal_stop_handler): Set stop_handler_str instead of printing to
9393 stdout.
9394 (continue_handler): Set cont_handler_str instead of printing to
9395 stdout.
9396 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9397 mi_send_resuming_command. Print stop_handler_str and
9398 cont_handler_str instead of expecting the python events print
9399 directly.
9400
9401 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9402
9403 * gdb.base/jit-reader.exp: New file.
9404 * gdb.base/jithost.c: New file.
9405 * gdb.base/jithost.h: New file.
9406 * gdb.base/jitreader.c : New file.
9407 * gdb.base/jit-protocol.h: New file.
9408
9409 2016-06-17 Yao Qi <yao.qi@linaro.org>
9410
9411 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9412 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9413 and detach-on-fork. Adjust tests.
9414 (top level): Invoke break_cond_on_syscall with combinations of
9415 syscall, follow-fork-mode and detach-on-fork.
9416
9417 2016-06-17 Yao Qi <yao.qi@linaro.org>
9418
9419 * gdb.base/step-over-exit.c: New.
9420 * gdb.base/step-over-exit.exp: New.
9421
9422 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9423
9424 * gdb.base/float.exp: Add target check for nds32*-*-*.
9425 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9426
9427 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9428
9429 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9430 for unsupported target features.
9431 * gdb.base/call-rt-st.exp: Likewise.
9432 * gdb.base/call-sc.exp: Likewise.
9433 * gdb.base/call-signal-resume.exp: Likewise.
9434 * gdb.base/call-strs.exp: Likewise.
9435 * gdb.base/callexit.exp: Likewise.
9436 * gdb.base/callfuncs.exp: Likewise.
9437 * gdb.base/nodebug.exp: Likewise.
9438 * gdb.base/printcmds.exp: Likewise.
9439 * gdb.base/ptype.exp: Likewise.
9440 * gdb.base/structs.exp: Likewise.
9441 * gdb.base/unwindonsignal.exp: Likewise.
9442 * gdb.cp/gdb2495.exp: Likewise.
9443 * gdb.cp/templates.exp: Likewise.
9444 * gdb.cp/virtfunc.exp: Likewise.
9445 * gdb.threads/hand-call-in-threads.exp: Likewise.
9446 * gdb.threads/interrupted-hand-call.exp: Likewise.
9447 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9448
9449 2016-06-10 Tom Tromey <tom@tromey.com>
9450
9451 PR rust/20110:
9452 * gdb.rust/expr.exp: Add test for integer constant larger than
9453 i32.
9454
9455 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9456
9457 * gdb.fortran/nested-funcs.exp: New.
9458 * gdb.fortran/nested-funcs.f90: New.
9459
9460 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9461
9462 * gdb.base/examine-backward.c: New file.
9463 * gdb.base/examine-backward.exp: New file.
9464
9465 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9466
9467 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9468 matching.
9469
9470 2016-06-02 Tom Tromey <tom@tromey.com>
9471
9472 PR python/18984:
9473 * gdb.python/py-shared.exp: Add solib_name test.
9474
9475 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9476
9477 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9478
9479 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9480
9481 PR c++/19893
9482 * gdb.dwarf2/implref.exp: Rename to...
9483 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9484 * gdb.dwarf2/implref-array.c: New file.
9485 * gdb.dwarf2/implref-array.exp: Likewise.
9486 * gdb.dwarf2/implref-global.c: Likewise.
9487 * gdb.dwarf2/implref-global.exp: Likewise.
9488 * gdb.dwarf2/implref-struct.c: Likewise.
9489 * gdb.dwarf2/implref-struct.exp: Likewise.
9490
9491 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9492
9493 * gdb.trace/trace-condition.exp: Add 64bit tests.
9494
9495 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9496
9497 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9498 bits types.
9499 (main): Adapt to 8 to 64 bits types.
9500 * gdb.trace/trace-condition.exp: Add new tests.
9501
9502 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9503
9504 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9505
9506 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9507
9508 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9509 Move condition tests...
9510 * gdb.trace/trace-condition.exp: Here.
9511
9512 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9513
9514 * gdb.trace/trace-condition.exp: Add counter-case tests.
9515
9516 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9517
9518 PR c++/15231
9519 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9520 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9521
9522 2016-05-27 Pedro Alves <palves@redhat.com>
9523
9524 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9525 New procedure.
9526 (top level): Call it, and bail out of DejaGnu is known to be bad.
9527
9528 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9529
9530 * gdb.base/whatis.c: Extend the test case.
9531 * gdb.base/whatis.exp: Add additional tests.
9532
9533 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9534
9535 * gdb.fortran/type.f90: Add pointer variable.
9536 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9537
9538 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9539
9540 * gdb.fortran/vla-type.exp: Fix testcase name.
9541
9542 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9543
9544 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9545
9546 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9547
9548 * gdb.fortran/type.f90: Add nested structures.
9549 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9550 * gdb.fortran/derived-type.exp: Adapt expected output.
9551 * gdb.fortran/vla-type.exp: Adapt expected output.
9552
9553 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9554
9555 * gdb.fortran/whatis_type.exp: Adapt expected output.
9556
9557 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9558
9559 * gdb.fortran/print_type.exp: Fix expected output.
9560 * gdb.fortran/whatis_type.exp: Fix expected output.
9561
9562 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9563
9564 * gdb.fortran/whatis_type.exp: Use multi_line.
9565
9566 2016-05-24 Tom Tromey <tom@tromey.com>
9567
9568 PR python/17386:
9569 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9570 use value as an index.
9571
9572 2016-05-23 Tom Tromey <tom@tromey.com>
9573
9574 PR python/17981:
9575 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9576 no-breakpoint case.
9577
9578 2016-05-24 Pedro Alves <palves@redhat.com>
9579
9580 PR gdb/19828
9581 * gdb.threads/clone-attach-detach.c: New file.
9582 * gdb.threads/clone-attach-detach.exp: New file.
9583
9584 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9585
9586 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9587
9588 2016-05-23 Tom Tromey <tom@tromey.com>
9589
9590 PR python/19438, PR python/18393:
9591 * gdb.python/py-progspace.exp: Add "dir" test.
9592 * gdb.python/py-objfile.exp: Add "dir" test.
9593
9594 2016-05-23 Yao Qi <yao.qi@linaro.org>
9595
9596 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9597 * gdb.arch/thumb2-it.exp: Likewise.
9598
9599 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9600
9601 * gdb.mi/mi-threads-interrupt.c: New file.
9602 * gdb.mi/mi-threads-interrupt.exp: New file.
9603
9604 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9605
9606 PR gdb/18077
9607 * gdb.mi/mi-async-run.exp: New file.
9608 * gdb.mi/mi-async-run.c: New file.
9609
9610 2016-05-17 Tom Tromey <tom@tromey.com>
9611 Manish Goregaokar <manishsmail@gmail.com>
9612
9613 * lib/rust-support.exp: New file.
9614 * lib/gdb.exp (skip_rust_tests): New proc.
9615 (build_executable_from_specs): Handle rust.
9616 * lib/future.exp (gdb_find_rustc): New proc.
9617 (gdb_default_target_compile): Handle rust.
9618 * gdb.rust/expr.exp: New file.
9619 * gdb.rust/generics.exp: New file.
9620 * gdb.rust/generics.rs: New file.
9621 * gdb.rust/methods.exp: New file.
9622 * gdb.rust/methods.rs: New file.
9623 * gdb.rust/modules.exp: New file.
9624 * gdb.rust/modules.rs: New file.
9625 * gdb.rust/simple.exp: New file.
9626 * gdb.rust/simple.rs: New file.
9627
9628 2016-05-17 Tom Tromey <tom@tromey.com>
9629
9630 * gdb.base/default.exp (set language): Add rust.
9631
9632 2016-05-17 Tom Tromey <tom@tromey.com>
9633
9634 * gdb.gdb/unittest.exp: New file.
9635
9636 2016-05-16 Yao Qi <yao.qi@linaro.org>
9637
9638 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9639 shell_prompt. Update shell_prompt_re.
9640
9641 2016-05-12 Doug Evans <dje@google.com>
9642
9643 PR symtab/19999
9644 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9645 $options when building executable.
9646 * gdb.dwarf2/fission-loclists-pie.S: New file.
9647 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9648
9649 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9650
9651 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9652 of [is_remote target],
9653
9654 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9655
9656 * lib/gdb.exp (use_gdb_stub): New procedure.
9657
9658 2016-05-03 Yunlian Jiang <yunlian@google.com>
9659 Doug Evans <dje@google.com>
9660
9661 PR symtab/19914
9662 * gdb.dwarf2/dwp-sepdebug.c: New file.
9663 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9664
9665 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9666
9667 * gdb.base/detach.exp: Remove is_remote check.
9668
9669 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9670
9671 * gdb.base/annota-input-while-running.exp: Don't check for
9672 [is_remote target]. Enable annotations after running to main.
9673 Remove unused "set test..." line.
9674
9675 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9676
9677 * gdb.trace/trace-enable-disable.exp: New file.
9678 * gdb.trace/trace-enable-disable.c: New file.
9679
9680 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9681
9682 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9683 use it in info sharedlibrary test.
9684 * gdb.trace/ftrace-lock.exp: Likewise.
9685 * gdb.trace/ftrace.exp: Likewise.
9686 * gdb.trace/range-stepping.exp: Likewise.
9687 * gdb.trace/trace-break.exp: Likewise.
9688 * gdb.trace/trace-condition.exp: Likewise.
9689 * gdb.trace/trace-mt.exp: Likewise.
9690
9691 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9692
9693 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9694 (gdb_load_shlib): ... this.
9695 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9696 gdb_load_shlib.
9697 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9698 * gdb.base/ctxobj.exp: Likewise.
9699 * gdb.base/dprintf-pending.exp: Likewise.
9700 * gdb.base/dso2dso.exp: Likewise.
9701 * gdb.base/fixsection.exp: Likewise.
9702 * gdb.base/gcore-relro.exp: Likewise.
9703 * gdb.base/gdb1555.exp: Likewise.
9704 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9705 * gdb.base/gnu-ifunc.exp: Likewise.
9706 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9707 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9708 * gdb.base/pending.exp: Likewise.
9709 * gdb.base/print-file-var.exp: Likewise.
9710 * gdb.base/print-symbol-loading.exp: Likewise.
9711 * gdb.base/shlib-call.exp: Likewise.
9712 * gdb.base/shreloc.exp: Likewise.
9713 * gdb.base/so-impl-ld.exp: Likewise.
9714 * gdb.base/solib-disc.exp: Likewise.
9715 * gdb.base/solib-nodir.exp: Likewise.
9716 * gdb.base/solib-overlap.exp: Likewise.
9717 * gdb.base/solib-symbol.exp: Likewise.
9718 * gdb.base/solib-weak.exp (do_test): Likewise.
9719 * gdb.base/sym-file.exp: Likewise.
9720 * gdb.base/symtab-search-order.exp: Likewise.
9721 * gdb.base/type-opaque.exp: Likewise.
9722 * gdb.base/unload.exp: Likewise.
9723 * gdb.base/watchpoint-solib.exp: Likewise.
9724 * gdb.compile/compile.exp: Likewise.
9725 * gdb.cp/gdb2384.exp: Likewise.
9726 * gdb.cp/infcall-dlopen.exp: Likewise.
9727 * gdb.cp/re-set-overloaded.exp: Likewise.
9728 * gdb.fortran/library-module.exp: Likewise.
9729 * gdb.opt/solib-intra-step.exp: Likewise.
9730 * gdb.python/py-finish-breakpoint.exp: Likewise.
9731 * gdb.python/py-shared.exp: Likewise.
9732 * gdb.reverse/solib-precsave.exp: Likewise.
9733 * gdb.reverse/solib-reverse.exp: Likewise.
9734 * gdb.server/solib-list.exp: Likewise.
9735 * gdb.threads/dlopen-libpthread.exp: Likewise.
9736 * gdb.threads/tls-shared.exp: Likewise.
9737 * gdb.threads/tls-so_extern.exp: Likewise.
9738 * gdb.trace/change-loc.exp: Likewise.
9739 * gdb.trace/ftrace-lock.exp: Likewise.
9740 * gdb.trace/ftrace.exp: Likewise.
9741 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9742 * gdb.trace/pending.exp: Likewise.
9743 * gdb.trace/range-stepping.exp: Likewise.
9744 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9745 (strace_info_marker): Likewise.
9746 (strace_probe_marker): Likewise.
9747 (strace_trace_on_same_addr): Likewise.
9748 (strace_trace_on_diff_addr): Likewise.
9749 * gdb.trace/trace-break.exp: Likewise.
9750 * gdb.trace/trace-condition.exp: Likewise.
9751 * gdb.trace/trace-mt.exp: Likewise.
9752
9753 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9754
9755 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9756 result of gdb_remote_download.
9757 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9758 * gdb.base/dso2dso.exp: Likewise.
9759 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9760 * gdb.base/print-file-var.exp: Likewise.
9761 * gdb.base/shlib-call.exp: Likewise.
9762 * gdb.base/shreloc.exp: Likewise.
9763 * gdb.base/solib-overlap.exp: Likewise.
9764 * gdb.base/solib-weak.exp (do_test): Likewise.
9765 * gdb.base/unload.exp: Likewise.
9766
9767 2016-04-27 Yao Qi <yao.qi@linaro.org>
9768
9769 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9770 exists.
9771
9772 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9773
9774 * vla-type.exp: Print structure from toplevel.
9775
9776 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9777
9778 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9779 of dynamic types.
9780 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9781 of dynamic types.
9782
9783 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9784
9785 * gdb.fortran/vla-type.f90: New file.
9786 * gdb.fortran/vla-type.exp: New file.
9787
9788 2016-04-25 Yao Qi <yao.qi@linaro.org>
9789
9790 * gdb.base/branch-to-self.c: New file.
9791 * gdb.base/branch-to-self.exp: New file.
9792
9793 2016-04-22 Yao Qi <yao.qi@linaro.org>
9794
9795 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9796 more after $hex.
9797
9798 2016-04-22 Yao Qi <yao.qi@linaro.org>
9799
9800 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9801 * gdb.base/annota3.exp: Likewise.
9802
9803 2016-04-22 Yao Qi <yao.qi@linaro.org>
9804
9805 * gdb.reverse/step-precsave.exp: Do one step and test program
9806 stops in "callee" and do multiple steps until program goes out
9807 of "callee".
9808 * gdb.reverse/step-reverse.exp: Likewise.
9809
9810 2016-04-22 Yao Qi <yao.qi@linaro.org>
9811
9812 * gdb.trace/signal.exp: Also pass if
9813 $tracepoint_hits($i) > $iterations.
9814
9815 2016-04-22 Yao Qi <yao.qi@linaro.org>
9816
9817 * gdb.trace/signal.c: New file.
9818 * gdb.trace/signal.exp: New file.
9819
9820 2016-04-19 Doug Evans <xdje42@gmail.com>
9821
9822 * gdb.base/bad-file.exp: New file.
9823
9824 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9825
9826 * gdb.dwarf2/implref.exp: New file.
9827
9828 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9829
9830 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9831 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9832 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9833 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9834 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9835 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9836 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9837 * lib/fortran.exp (fortran_int4): New procedure.
9838 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9839 (fortran_logical4): Likewise.
9840
9841 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9842
9843 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9844
9845 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9846
9847 * lib/compiler.c: Add Intel specific preprocessor macros.
9848 * lib/compiler.cc: Likewise.
9849
9850 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9851
9852 * gdb.server/connect-with-no-symbol-file.c: New file.
9853 * gdb.server/connect-with-no-symbol-file.exp: New file.
9854
9855 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9856
9857 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9858
9859 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9860
9861 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9862 standard output directory.
9863
9864 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9865
9866 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9867
9868 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9869
9870 * gdb.btrace/instruction_history.c (loop): Add declaration.
9871
9872 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9873
9874 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9875
9876 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9877
9878 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9879 parentheses to print.
9880 (continue_handler): Likewise.
9881
9882 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9883
9884 * gdb.server/solib-list.exp: Remove is_remote check.
9885 Pass shlib= to gdb_compile. Don't link shared library with
9886 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9887 Run binary filename through "readlink -f" on the target.
9888
9889 2016-04-08 Pedro Alves <palves@redhat.com>
9890
9891 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9892 interpreter filename as argument to gdbserver_spawn.
9893 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9894 Return empty if $last_loaded_file does not exist.
9895
9896 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9897
9898 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9899 * gdb.base/jit-main.c: Use exit after usage.
9900
9901 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9902
9903 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9904 GDBHISTSIZE prior to the tests.
9905 * gdb.base/gdbinit-history.exp: Likewise.
9906
9907 2016-04-07 Pedro Alves <palves@redhat.com>
9908
9909 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9910 instead of build_executable. Use gdb_load_shlibs.
9911
9912 2016-04-07 Yao Qi <yao.qi@linaro.org>
9913
9914 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9915 Execute "si" command.
9916
9917 2016-04-07 Yao Qi <yao.qi@linaro.org>
9918
9919 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9920 number instead of the comments on some line.
9921
9922 2016-04-06 Don Breazeal <donb@codesourcery.com>
9923
9924 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9925 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9926
9927 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9928
9929 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9930 standard_output_file. Remove unused binfile variable.
9931
9932 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9933
9934 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9935 * gdb.python/py-mi-objfile.exp: Match "list main" output
9936 in console format.
9937
9938 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9939
9940 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9941 absolute.
9942
9943 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9944
9945 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9946 absolute.
9947 * gdb.trace/ftrace.exp: Likewise.
9948 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9949 targets as well.
9950 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9951 (gdb_load_shlibs): Copy libraries to test directory when testing
9952 natively. Only set solib-search-path if testing remotely.
9953 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9954
9955 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9956
9957 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9958 gdb_download. Use it even if the target is not remote.
9959 * gdb.base/jit.exp (compile_jit_test): Likewise.
9960 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9961 output directory if the destination board is local, otherwise use
9962 the standard remote_download from DejaGnu.
9963 (gdb_download): Remove.
9964 (gdb_load_shlibs): Use gdb_remote_download instead of
9965 gdb_download.
9966 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9967 Use gdb_remote_download instead of gdb_download. Use it even if
9968 the target is not remote.
9969 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9970 instead of gdb_download.
9971
9972 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9973
9974 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9975 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9976 run.
9977
9978 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9979
9980 PR gdb/19820
9981 * gdb.base/printcmds.exp: Add artificial arrays tests.
9982
9983 2016-03-31 Pedro Alves <palves@redhat.com>
9984
9985 PR gdb/19858
9986 * gdb.base/jit-main.c: Include unistd.h.
9987 (ATTACH): Define to 0 if not already defined.
9988 (wait_for_gdb, mypid): New globals.
9989 (WAIT_FOR_GDB): New macro.
9990 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9991 some breakpoint locations.
9992 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9993 New procedures.
9994 (one_jit_test): Add REATTACH parameter, and handle it. Use
9995 continue_to_test_location.
9996 (top level): Test attach, and adjusts calls to one_jit_test.
9997
9998 2016-03-31 Pedro Alves <palves@redhat.com>
9999
10000 PR gdb/19858
10001 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10002 BINSUFFIX parameter, and handle it.
10003 (top level): Adjust calls compile_jit_test.
10004
10005 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10006
10007 PR python/19743
10008 * gdb.python/py-mi-events-gdb.py: New file.
10009 * gdb.python/py-mi-events.c: New file.
10010 * gdb.python/py-mi-events.exp: New file.
10011
10012 2016-03-30 Yao Qi <yao.qi@linaro.org>
10013
10014 * gdb.reverse/until-precsave.exp: Match function name only.
10015 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10016 Move malloc to a condition block.
10017 * gdb.reverse/until-reverse.exp: Match function name only.
10018
10019 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10020
10021 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10022 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10023 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10024 variable for GPR 0 instead of assuming it is register 0.
10025 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10026 * lib/trace-support.exp: Add s390 registers.
10027
10028 2016-03-29 Yao Qi <yao.qi@linaro.org>
10029
10030 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10031
10032 2016-03-24 Yao Qi <yao.qi@linaro.org>
10033
10034 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10035 test message.
10036
10037 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10038
10039 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10040 maintaining separate logic for constructing the output path.
10041
10042 2016-03-16 Don Breazeal <donb@codesourcery.com>
10043
10044 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10045 Retry fork and waitpid on interrupted system call errors.
10046 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10047 Use with_timeout_factor to increase timeout by factor of 10.
10048
10049 2016-03-15 Don Breazeal <donb@codesourcery.com>
10050
10051 * gdb.cp/scope-err.cc: New test program.
10052 * gdb.cp/scope-err.exp: New test script.
10053 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10054 lines and "set breakpoint here" comment.
10055 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10056 Fixed some whitespace and format issues.
10057 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10058 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10059
10060 2016-03-15 Doug Evans <dje@google.com>
10061
10062 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10063 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10064 All callers updated. Add tests for enums, mixed flags register.
10065
10066 2016-03-15 Doug Evans <dje@google.com>
10067
10068 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10069 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10070
10071 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10072
10073 * gdb.base/default.exp: Add $_as_string to the list of expected
10074 convenience functions.
10075
10076 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10077
10078 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10079
10080 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10081
10082 * gdb.python/py-as-string.exp: New file.
10083 * gdb.python/py-as-string.c: New file.
10084
10085 2016-03-09 Pedro Alves <palves@redhat.com>
10086
10087 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10088 signal" -> "Thread NN received signal" output change.
10089 * gdb.threads/ia64-sigill.exp: Likewise.
10090 * gdb.threads/linux-dp.exp: Likewise.
10091 * gdb.threads/manythreads.exp: Likewise.
10092 * gdb.threads/pending-step.exp: Likewise.
10093 * gdb.threads/print-threads.exp: Likewise.
10094 * gdb.threads/sigstep-threads.exp: Likewise.
10095 * gdb.threads/staticthreads.exp: Likewise.
10096 * gdb.threads/tls.exp: Likewise.
10097
10098 2016-03-09 Pedro Alves <palves@redhat.com>
10099
10100 * gdb.base/command-line-input.exp: New file.
10101
10102 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10103
10104 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10105 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10106 * gdb.trace/pending.exp: Accept leading dot before function name.
10107 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10108 * lib/trace-support.exp: Set registers for ppc.
10109
10110 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10111
10112 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10113 use it for disassembly; accept .main in addition to main in backtrace.
10114
10115 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10116 Marcin Kościelnicki <koriakin@0x04.net>
10117
10118 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10119 (gdb_recursion_test_ptr): New global variable.
10120 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10121 gdb_recursion_test.
10122 (gdb_c_test): Ditto.
10123
10124 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10125
10126 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10127 ordering.
10128
10129 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10130
10131 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10132 (bar): Add bar_start_lbl label.
10133 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10134 of foo/bar for emitting DWARF and tracing.
10135
10136 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10137
10138 * analyze-racy-logs.py: Set executable bit.
10139
10140 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10141
10142 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10143 (CHECK_TARGET_TMP): Likewise.
10144 (check-single-racy): New rule.
10145 (check-parallel-racy): Likewise.
10146 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10147 (do-check-parallel-racy): New rule.
10148 (check-racy/%.exp): Likewise.
10149 * README (Racy testcases): New section.
10150 * analyze-racy-logs.py: New file.
10151
10152 2016-03-03 Doug Evans <dje@google.com>
10153
10154 * gdb.base/skip.exp: Use with_test_prefix.
10155
10156 2016-03-03 Yao Qi <yao.qi@linaro.org>
10157
10158 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10159 Invoke step_over_syscall "clone" and break_cond_on_syscall
10160 "clone".
10161 * gdb.base/step-over-clone.c: New file.
10162
10163 2016-03-03 Yao Qi <yao.qi@linaro.org>
10164
10165 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10166 code format.
10167
10168 2016-03-03 Yao Qi <yao.qi@linaro.org>
10169
10170 * gdb.base/disp-step-fork.c: Rename to ...
10171 * gdb.base/step-over-fork.c: ... it. New file.
10172 * gdb.base/disp-step-vfork.c: Rename to ...
10173 * gdb.base/step-over-vfork.c: ... it. New file.
10174 * gdb.base/disp-step-syscall.exp: Rename to ...
10175 * gdb.base/step-over-syscall.exp: ... it. New file.
10176 (disp_step_cross_syscall): Rename to ...
10177 (step_over_syscall): ... it.
10178
10179 2016-03-03 Yao Qi <yao.qi@linaro.org>
10180
10181 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10182 If target supports condition evaluation on target, invoke
10183 break_cond_on_syscall for fork and vfork.
10184
10185 2016-03-03 Yao Qi <yao.qi@linaro.org>
10186
10187 * gdb.base/disp-step-syscall.exp: Don't invoke
10188 support_displaced_stepping.
10189 (disp_step_cross_syscall): Test with displaced stepping off and
10190 on if supported.
10191
10192 2016-03-03 Yao Qi <yao.qi@linaro.org>
10193
10194 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10195 proc.
10196 (setup): New proc.
10197 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10198 and setup.
10199
10200 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10201
10202 * gdb.fortran/vla-history.exp: Remove breakpoint.
10203
10204 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10205
10206 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10207 exceeds timeout.
10208
10209 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10210
10211 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10212 breakpoint.
10213
10214 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10215
10216 * gdb.mi/vla.f90: Nullify pointer after declaration.
10217
10218 2016-03-01 Pedro Alves <palves@redhat.com>
10219
10220 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10221
10222 2016-03-01 Pedro Alves <palves@redhat.com>
10223
10224 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10225 before anything else.
10226 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10227 _GNU_SOURCE here.
10228 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10229 before anything else.
10230 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10231
10232 2016-03-01 Pedro Alves <palves@redhat.com>
10233
10234 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10235
10236 2016-03-01 Yao Qi <yao.qi@linaro.org>
10237
10238 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10239 prepare_for_testing.
10240
10241 2016-03-01 Yao Qi <yao.qi@linaro.org>
10242
10243 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10244
10245 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10246
10247 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10248 manually constructing the output path.
10249
10250 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10251
10252 * gdb.arch/s390-stackless.S: New.
10253 * gdb.arch/s390-stackless.exp: New.
10254
10255 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10256
10257 * gdb.dlang/circular.c: New file.
10258 * gdb.dlang/circular.exp: New file.
10259
10260 2016-02-26 Yao Qi <yao.qi@linaro.org>
10261
10262 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10263 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10264 (testcases): Update.
10265
10266 2016-02-26 Yao Qi <yao.qi@linaro.org>
10267
10268 * gdb.reverse/aarch64.c: Rename to ...
10269 * gdb.reverse/insn-reverse.c: ... it.
10270 * gdb.reverse/aarch64.exp: Rename to ...
10271 * gdb.reverse/insn-reverse.exp: ... it.
10272
10273 2016-02-26 Yao Qi <yao.qi@linaro.org>
10274
10275 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10276 (testcase_ftype): New.
10277 (testcases): New array.
10278 (n_testcases): New.
10279 (main): Call each element in testcases.
10280 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10281 (read_testcase): New.
10282 Do the tests in a loop.
10283
10284 2016-02-25 Yao Qi <yao.qi@linaro.org>
10285
10286 * gdb.base/branches.c: Remove.
10287
10288 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10289
10290 PR gdb/13808
10291 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10292
10293 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10294
10295 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10296
10297 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10298
10299 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10300 change x86_64 call_insn to 'callq'.
10301
10302 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10303
10304 * gdb.trace/tfile-avx.c: Move to...
10305 * gdb.trace/tracefile-pseudo-reg.c: Here.
10306 * gdb.trace/tfile-avx.exp: Move to...
10307 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10308
10309 2016-02-24 Gary Benson <gbenson@redhat.com>
10310
10311 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10312 message on attach.
10313
10314 2016-02-23 Doug Evans <dje@google.com>
10315
10316 * gdb.base/skip.c (test_skip): New function.
10317 (end_test_skip_file_and_function): New function.
10318 (test_skip_file_and_function): New function.
10319 * gdb.base/skip1.c (test_skip): New function.
10320 (skip1_test_skip_file_and_function): New function.
10321 * gdb.base/skip.exp: Add tests for new skip options.
10322 * gdb.base/skip-solib.exp: Update expected output.
10323 * gdb.perf/skip-command.cc: New file.
10324 * gdb.perf/skip-command.exp: New file.
10325 * gdb.perf/skip-command.py: New file.
10326
10327 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10328
10329 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10330 info registers pattern.
10331
10332 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10333
10334 * lib/future.exp: Add D support.
10335 (gdb_find_gdc): New proc.
10336 (gdb_default_target_compile): Add D support.
10337
10338 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10339
10340 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10341 user+system time.
10342 (trace_speed_test): Determine the iteration count for a time
10343 between 15..30 seconds.
10344
10345 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10346
10347 * gdb.arch/i386-mpx-sigsegv.c: New file.
10348 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10349 * gdb.arch/i386-mpx-simple_segv.c: New file.
10350 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10351
10352 2016-02-18 Yao Qi <yao.qi@linaro.org>
10353
10354 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10355 Don't call setup_kfail.
10356
10357 2016-02-18 Yao Qi <yao.qi@linaro.org>
10358
10359 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10360 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10361
10362 2016-02-16 Doug Evans <dje@google.com>
10363
10364 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10365 * gdb.base/skip1.c: Ditto.
10366 * gdb.base/skip.exp: Whitespace cleanup.
10367
10368 2016-02-16 Don Breazeal <donb@codesourcery.com>
10369
10370 PR remote/19496
10371 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10372 Remove kfail for PR remote/19496.
10373
10374 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10375
10376 * lib/gdb.exp (standard_temp_file): Return a path specific to
10377 the runtest invocation.
10378
10379 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10380
10381 * gdb.trace/save-trace.exp: Change relative path to be in the
10382 standard output directory.
10383
10384 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10385
10386 * gdb.arch/i386-prologue.c: Add missing prototypes.
10387
10388 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10389
10390 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10391 * gdb.arch/i386-prologue.exp: Likewise.
10392 * gdb.arch/i386-size.exp: Likewise.
10393
10394 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10395
10396 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10397 define object file path.
10398 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10399 file path.
10400 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10401 standard_output_file to define binfile.
10402
10403 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10404
10405 Fix compatibility with recent gfortran-5.3.1.
10406 * gdb.fortran/vla-history.exp (print vla1 allocated)
10407 (print vla2 allocated, print $2, print $3): Remove
10408 (print $4): Rename to ...
10409 (print $2): ... here.
10410 (print $9): Rename to ...
10411 (print $5): ... here.
10412 (print $10): Rename to ...
10413 (print $6): ... here.
10414 * gdb.fortran/vla.f90: Add pvla initialization.
10415
10416 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10417
10418 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10419 New test.
10420 * gdb.fortran/vla-value-sub.exp: Likewise.
10421
10422 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10423
10424 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10425
10426 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10427
10428 * i386-biarch-core.exp: Define corefile using
10429 standard_output_file.
10430
10431 2016-02-12 Yao Qi <yao.qi@linaro.org>
10432
10433 * gdb.arch/arm-single-step-kernel-helper.c: New.
10434 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10435
10436 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10437
10438 * gdb.btrace/tailcall-only.exp: New.
10439 * gdb.btrace/tailcall-only.c: New.
10440 * gdb.btrace/x86_64-tailcall-only.S: New.
10441 * gdb.btrace/i686-tailcall-only.S: New.
10442
10443 2016-02-11 Pedro Alves <palves@redhat.com>
10444
10445 * README (Parallel testing): Add missing double quotes.
10446
10447 2016-02-11 Pedro Alves <palves@redhat.com>
10448
10449 * README (Parallel testing): New section.
10450 (GDB_PARALLEL): Rewrite.
10451 (FORCE_PARALLEL): Document.
10452
10453 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10454
10455 * gdb.trace/tfile-avx.c: New test.
10456 * gdb.trace/tfile-avx.exp: New test.
10457
10458 2016-02-09 Keith Seitz <keiths@redhat.com>
10459
10460 PR breakpoints/19546
10461 * gdb.base/infcall-exec.c: New file.
10462 * gdb.base/infcall-exec2.c: New file.
10463 * gdb.base/infcall-exec.exp: New file.
10464
10465 2016-02-09 Keith Seitz <keiths@redhat.com>
10466
10467 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10468 (toplevel): Call test_bkpt_address.
10469
10470 2016-02-09 Keith Seitz <keiths@redhat.com>
10471
10472 PR python/19506
10473 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10474 (toplevel): Call test_bkpt_address.
10475
10476 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10477
10478 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10479 to AC_OUTPUT.
10480 * configure: Regenerate.
10481
10482 2016-02-09 Pedro Alves <palves@redhat.com>
10483
10484 PR breakpoints/19548
10485 * gdb.base/execl-update-breakpoints.c (some_function): New
10486 function.
10487 (main): Call it.
10488 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10489 Tighten expected GDB output.
10490
10491 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10492
10493 * Makefile.in (ALL_SUBDIRS): Remove.
10494 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10495 (distclean maintainer-clean realclean): Likewise.
10496 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10497 * configure: Regenerate.
10498 * gdb.ada/Makefile.in: Delete.
10499 * gdb.arch/Makefile.in: Likewise.
10500 * gdb.asm/Makefile.in: Likewise.
10501 * gdb.base/Makefile.in: Likewise.
10502 * gdb.btrace/Makefile.in: Likewise.
10503 * gdb.cell/Makefile.in: Likewise.
10504 * gdb.compile/Makefile.in: Likewise.
10505 * gdb.cp/Makefile.in: Likewise.
10506 * gdb.disasm/Makefile.in: Likewise.
10507 * gdb.dlang/Makefile.in: Likewise.
10508 * gdb.dwarf2/Makefile.in: Likewise.
10509 * gdb.fortran/Makefile.in: Likewise.
10510 * gdb.gdb/Makefile.in: Likewise.
10511 * gdb.go/Makefile.in: Likewise.
10512 * gdb.guile/Makefile.in: Likewise.
10513 * gdb.java/Makefile.in: Likewise.
10514 * gdb.linespec/Makefile.in: Likewise.
10515 * gdb.mi/Makefile.in: Likewise.
10516 * gdb.modula2/Makefile.in: Likewise.
10517 * gdb.multi/Makefile.in: Likewise.
10518 * gdb.objc/Makefile.in: Likewise.
10519 * gdb.opencl/Makefile.in: Likewise.
10520 * gdb.opt/Makefile.in: Likewise.
10521 * gdb.pascal/Makefile.in: Likewise.
10522 * gdb.perf/Makefile.in: Likewise.
10523 * gdb.python/Makefile.in: Likewise.
10524 * gdb.reverse/Makefile.in: Likewise.
10525 * gdb.server/Makefile.in: Likewise.
10526 * gdb.stabs/Makefile.in: Likewise.
10527 * gdb.threads/Makefile.in: Likewise.
10528 * gdb.trace/Makefile.in: Likewise.
10529 * gdb.xml/Makefile.in: Likewise.
10530 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10531 GDB_PARALLEL.
10532 (standard_output_file): Remove check for GDB_PARALLEL, always
10533 return path in outputs/$subdir/$testname.
10534
10535 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10536
10537 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10538 (site.exp): Assign abs_srcdir to tcl's srcdir.
10539
10540 2016-02-04 Yao Qi <yao.qi@linaro.org>
10541
10542 * gdb.base/foll-exec-mode.c: Include limits.h.
10543 (main): Add parameters argc and argv. Get directory from
10544 argv[0].
10545 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10546 compilation.
10547 * gdb.base/foll-exec.c: Include limits.h.
10548 (main): Add parameters argc and argv.
10549 Get directory from argv[0].
10550 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10551 Adjust tests on the number of lines as source code changed.
10552 * gdb.base/foll-vfork-exit.c: Include limits.h.
10553 (main): Add one line of statement before vfork.
10554 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10555 (main): Add parameters argc and argv. Get directory from
10556 argv[0].
10557 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10558 (setup_gdb): Set tbreak to skip some source lines.
10559 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10560 (main): Add parameters argc and argv. Get directory from
10561 argv[0].
10562 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10563 compilation.
10564 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10565 (main): Add parameters argc and argv. Get directory from
10566 argv[0].
10567 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10568 compilation.
10569
10570 2016-02-01 Doug Evans <dje@google.com>
10571
10572 * gdb.base/skip.exp: Clean up multiple references to same test name.
10573
10574 2016-02-01 Pedro Alves <palves@redhat.com>
10575
10576 PR remote/19496
10577 * gdb.threads/forking-threads-plus-breakpoint.exp
10578 (displaced_stepping_supported): New global.
10579 (probe_displaced_stepping_support): New procedure.
10580 (do_test): Add 'displaced' parameter, and use it.
10581 (top level): Check for displaced stepping support. Add displaced
10582 stepping on/off testing axis.
10583
10584 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10585
10586 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10587 pointer. Don't perform further tests on the unassociated pointer
10588 if the first test fails.
10589
10590 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10591
10592 * gdb.base/max-value-size.c: New file.
10593 * gdb.base/max-value-size.exp: New file.
10594 * gdb.base/huge.exp: Disable max-value-size for this test.
10595
10596 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10597
10598 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10599
10600 2016-01-28 Yao Qi <yao.qi@linaro.org>
10601
10602 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10603
10604 2016-01-25 Pedro Alves <palves@redhat.com>
10605
10606 PR threads/19461
10607 * gdb.base/fork-running-state.c: New file.
10608 * gdb.base/fork-running-state.exp: New file.
10609
10610 2016-01-25 Pedro Alves <palves@redhat.com>
10611
10612 PR gdb/19494
10613 * gdb.base/catch-fork-kill.c: New file.
10614 * gdb.base/catch-fork-kill.exp: New file.
10615
10616 2016-01-25 Pedro Alves <palves@redhat.com>
10617
10618 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10619 Delete, moved to lib/gdb.exp.
10620 * gdb.threads/forking-threads-plus-breakpoint.exp
10621 (foreach_with_prefix): Likewise.
10622 * gdb.threads/process-dies-while-handling-bp.exp
10623 (foreach_with_prefix): Likewise.
10624 * lib/gdb.exp (foreach_with_prefix): New procedure.
10625
10626 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10627
10628 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10629 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10630
10631 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10632
10633 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10634 endian targets.
10635
10636 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10637 Pedro Alves <palves@redhat.com>
10638
10639 Fix testsuite compatibility with Guile.
10640 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10641 number.
10642
10643 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10644
10645 Fix testsuite compatibility with Guile.
10646 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10647 (thread 1): New test for backtrace through signal handler.
10648
10649 2016-01-22 Yao Qi <yao.qi@linaro.org>
10650
10651 PR testsuite/19491
10652 * gdb.base/multi-forks.c: Include
10653 ../lib/unbuffer_output.c
10654 (main): Call gdb_unbuffer_output.
10655
10656 2016-01-21 Doug Evans <dje@google.com>
10657
10658 * lib/ada.exp (gdb_compile_ada): Fix typo.
10659
10660 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10661
10662 * gdb.base/break-fun-addr.exp: New file.
10663 * gdb.base/break-fun-addr1.c: New file.
10664 * gdb.base/break-fun-addr2.c: New file.
10665
10666 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10667
10668 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10669 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10670 enum flag values.
10671
10672 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10673
10674 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10675 when GDB can not set the vector return value. Add more comments
10676 for clarification.
10677
10678 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10679
10680 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10681 command.
10682
10683 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10684
10685 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10686
10687 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10688
10689 * Makefile.in (check-single): Pass --status to runtest.
10690 (check/%.exp): Likewise.
10691
10692 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10693
10694 * Makefile.in (check-parallel): Propagate return code from make
10695 do-check-parallel.
10696
10697 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10698
10699 * gdb.trace/ftrace.exp: Fix expected message on continue.
10700 * gdb.trace/pending.exp: Fix expected message on continue.
10701 * gdb.trace/trace-break.exp: Fix expected message on continue.
10702
10703 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10704
10705 * lib/gdb.exp (gdb_test): Remove unused global references.
10706
10707 2016-01-18 Pedro Alves <palves@redhat.com>
10708
10709 * gdb.base/async-shell.exp: Adjust expected output.
10710 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10711 * gdb.base/siginfo-thread.exp: Adjust expected output.
10712 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10713 * gdb.java/jnpe.exp: Adjust expected output.
10714 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10715 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10716 * gdb.threads/leader-exit.exp: Adjust expected output.
10717 * gdb.threads/manythreads.exp: Adjust expected output.
10718 * gdb.threads/pthreads.exp: Adjust expected output.
10719 * gdb.threads/schedlock.exp: Adjust expected output.
10720 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10721 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10722 expected output.
10723 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10724 output.
10725 * gdb.threads/sigthread.exp: Adjust expected output.
10726 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10727
10728 2016-01-18 Yao Qi <yao.qi@linaro.org>
10729
10730 * gdb.guile/scm-section-script.c: Replace @progbits with
10731 %progbits.
10732 * gdb.python/py-section-script.c: Likewise.
10733
10734 2016-01-15 Pedro Alves <palves@redhat.com>
10735
10736 * gdb.multi/tids.exp: Test star wildcard ranges.
10737
10738 2016-01-15 Pedro Alves <palves@redhat.com>
10739
10740 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10741 command from "thread apply" invocation.
10742 (thr_apply_info_thr_invalid): Default the expected output to the
10743 input tid list.
10744 (top level): Add tests that use convenience variables. Add tests
10745 for "thread apply" with a valid TID list, but missing the command.
10746
10747 2016-01-13 Pedro Alves <palves@redhat.com>
10748
10749 * gdb.base/default.exp: Expect $_gthread as well.
10750 * gdb.multi/tids.exp: Test $_gthread.
10751 * gdb.threads/thread-specific.exp: Test $_gthread.
10752
10753 2016-01-13 Pedro Alves <palves@redhat.com>
10754
10755 * gdb.multi/tids.exp: Test "info threads -gid".
10756
10757 2016-01-13 Pedro Alves <palves@redhat.com>
10758
10759 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10760 Breakpoint.thread.
10761 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10762
10763 2016-01-07 Pedro Alves <palves@redhat.com>
10764
10765 * gdb.base/break.exp: Adjust to output changes.
10766 * gdb.base/hbreak2.exp: Likewise.
10767 * gdb.base/sepdebug.exp: Likewise.
10768 * gdb.base/watch_thread_num.exp: Likewise.
10769 * gdb.linespec/keywords.exp: Likewise.
10770 * gdb.multi/info-threads.exp: Likewise.
10771 * gdb.threads/thread-find.exp: Likewise.
10772 * gdb.multi/tids.c: New file.
10773 * gdb.multi/tids.exp: New file.
10774
10775 2016-01-13 Pedro Alves <palves@redhat.com>
10776
10777 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10778
10779 2016-01-13 Pedro Alves <palves@redhat.com>
10780
10781 * gdb.base/default.exp: Expect $_inferior as well.
10782 * gdb.multi/base.exp: Test $_inferior.
10783
10784 2016-01-13 Pedro Alves <palves@redhat.com>
10785
10786 PR breakpoints/19388
10787 * gdb.base/catch-signal-siginfo-cond.c: New file.
10788 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10789
10790 2016-01-12 Josh Stone <jistone@redhat.com>
10791 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10792
10793 * gdb.base/catch-syscall.c (do_execve): New variable.
10794 (main): Conditionally trigger an execve.
10795 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10796 (test_catch_syscall_execve): New, check entry/return across execve.
10797 (do_syscall_tests): Call test_catch_syscall_execve.
10798
10799 2016-01-12 Pedro Alves <palves@redhat.com>
10800
10801 * gdb.base/random-signal.exp (do_test): New procedure, with body
10802 of testcase moved in.
10803
10804 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10805 Pedro Alves <palves@redhat.com>
10806
10807 * gdb.base/funcargs.exp (finish from indirectly called function):
10808 Reintroduce the case for 'First'.
10809
10810 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10811 Pedro Alves <palves@redhat.com>
10812
10813 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10814 (tcatch_vfork_then_child_follow_exec)
10815 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10816 identification.
10817
10818 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10819
10820 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10821 and repeats to unlimited.
10822 * gdb.python/py-value.exp: Likewise.
10823 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10824 and repeats to unlimited.
10825
10826 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10827
10828 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10829 and reordering the functions.
10830 * gdb.multi/hangout.c: Likewise.
10831 * gdb.multi/hello.c: Likewise.
10832
10833 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10834
10835 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10836 absolute.
10837 (SingleStatisticTestResult.report): Use dict.keys instead of
10838 dict.iterkeys.
10839
10840 2016-01-06 Pedro Alves <palves@redhat.com>
10841
10842 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10843
10844 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10845
10846 * gdb.btrace/dlopen.exp: New.
10847 * gdb.btrace/dlopen.c: New.
10848 * gdb.btrace/dlopen-dso.c: New.
10849
10850 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10851
10852 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10853 PATTERN argument is optional.
10854
10855 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10856
10857 * lib/ada.exp (target_compile_ada_from_dir): New function.
10858 (gdb_compile_ada): Reimplement avoiding the use of project files.
10859 * gdb.ada/gnat_ada.gpr: Delete.
10860 * gdb.ada/cond_lang.exp: Adjust test to make path before
10861 filename optional.
10862 * gdb.ada/small_reg_param.exp: Likewise.
10863
10864 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10865
10866 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10867
10868 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10869
10870 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10871 case.
10872
10873 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10874
10875 * gdb.base/break.exp: Remove dead code.
10876 * gdb.base/sepdebug.exp: Likewise.
10877
10878 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10879
10880 * gdb.asm/asm-source.exp: Remove HP-UX references.
10881 * gdb.base/annota1.exp: Likewise.
10882 * gdb.base/annota3.exp: Likewise.
10883 * gdb.base/attach.exp: Likewise.
10884 * gdb.base/bigcore.exp: Likewise.
10885 * gdb.base/break.exp: Likewise.
10886 * gdb.base/call-ar-st.exp: Likewise.
10887 * gdb.base/callfuncs.exp: Likewise.
10888 * gdb.base/catch-fork-static.exp: Likewise.
10889 * gdb.base/display.exp: Likewise.
10890 * gdb.base/foll-exec-mode.exp: Likewise.
10891 * gdb.base/foll-exec.exp: Likewise.
10892 * gdb.base/foll-fork.exp: Likewise.
10893 * gdb.base/foll-vfork.exp: Likewise.
10894 * gdb.base/funcargs.exp: Likewise.
10895 * gdb.base/hbreak2.exp: Likewise.
10896 * gdb.base/inferior-died.exp: Likewise.
10897 * gdb.base/interrupt.exp: Likewise.
10898 * gdb.base/multi-forks.exp: Likewise.
10899 * gdb.base/nodebug.exp: Likewise.
10900 * gdb.base/sepdebug.exp: Likewise.
10901 * gdb.base/solib1.c: Likewise.
10902 * gdb.base/step-test.exp: Likewise.
10903 * gdb.mi/non-stop.c: Likewise.
10904 * gdb.mi/pthreads.c: Likewise.
10905 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10906 * gdb.threads/pthreads.c: Likewise.
10907 * gdb.threads/staticthreads.exp: Likewise.
10908 * lib/future.exp: Likewise.
10909 * lib/gdb.exp: Likewise.
10910 * gdb.base/so-indr-cl.c: Remove.
10911 * gdb.base/so-indr-cl.exp: Likewise.
10912 * gdb.base/solib.c: Likewise.
10913 * gdb.base/solib.exp: Likewise.
10914 * gdb.base/solib2.c: Likewise.
10915
10916 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10917
10918 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10919 * gdb.base/call-ar-st.exp: Likewise.
10920 * gdb.base/callfuncs.exp: Likewise.
10921 * gdb.base/condbreak.exp: Likewise.
10922 * gdb.base/constvars.exp: Likewise.
10923 * gdb.base/hbreak2.exp: Likewise.
10924 * gdb.base/langs.exp: Likewise.
10925 * gdb.base/list.exp: Likewise.
10926 * gdb.base/long_long.exp: Likewise.
10927 * gdb.base/ptype.exp: Likewise.
10928 * gdb.base/scope.exp: Likewise.
10929 * gdb.base/signals.exp: Likewise.
10930 * gdb.base/so-impl-ld.exp: Likewise.
10931 * gdb.base/varargs.exp: Likewise.
10932 * gdb.base/volatile.exp: Likewise.
10933 * gdb.base/whatis.exp: Likewise.
10934 * gdb.cp/cplusfuncs.exp: Likewise.
10935 * gdb.cp/inherit.exp: Likewise.
10936 * gdb.cp/local.exp: Likewise.
10937 * gdb.cp/member-ptr.exp: Likewise.
10938 * gdb.cp/method.exp: Likewise.
10939 * gdb.cp/overload.exp: Likewise.
10940 * gdb.cp/templates.exp: Likewise.
10941 * gdb.stabs/weird.exp: Likewise.
10942 * lib/compiler.c: Likewise.
10943 * lib/compiler.cc: Likewise.
10944 * lib/cp-support.exp: Likewise.
10945 * lib/gdb.exp: Likewise.
10946
10947 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10948
10949 * configure.ac: Remove HP-UX case.
10950 * configure: Regenerate.
10951
10952 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10953
10954 * lib/gdb.exp (gdb_compile): Add function doc.
10955
10956 2015-12-17 Pedro Alves <palves@redhat.com>
10957
10958 PR threads/19354
10959 * gdb.multi/info-threads.exp: New file.
10960
10961 2015-12-15 Yao Qi <yao.qi@linaro.org>
10962
10963 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10964 is aarch64*-*-*.
10965
10966 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10967
10968 * gdb.base/history-duplicates.exp: Skip if no readline support.
10969
10970 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10971
10972 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10973
10974 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10975
10976 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10977
10978 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10979
10980 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10981 ctrl-C if nointerrupts target property is set.
10982 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10983 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10984 * gdb.base/paginate-bg-execution.exp: Likewise.
10985 * gdb.base/paginate-execution-startup.exp: Likewise.
10986 * gdb.base/random-signal.exp: Likewise.
10987 * gdb.base/range-stepping.exp: Likewise.
10988 * gdb.cp/annota2.exp: Likewise.
10989 * gdb.cp/annota3.exp: Likewise.
10990 * gdb.gdb/selftest.exp: Likewise.
10991 * gdb.threads/continue-pending-status.exp: Likewise.
10992 * gdb.threads/leader-exit.exp: Likewise.
10993 * gdb.threads/manythreads.exp: Likewise.
10994 * gdb.threads/pthreads.exp: Likewise.
10995 * gdb.threads/schedlock.exp: Likewise.
10996 * gdb.threads/sigthread.exp: Likewise.
10997
10998 2015-12-11 Don Breazeal <donb@codesourcery.com>
10999
11000 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11001 remote.
11002 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11003 * gdb.base/foll-exec.exp (main): Enable for target remote.
11004 * gdb.base/foll-fork.exp (main): Likewise.
11005 * gdb.base/foll-vfork.exp (main): Likewise.
11006 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11007 (proc continue_to_exit_bp_loc): Use clean_restart.
11008 * gdb.base/pie-execl.exp (main): Disable for target remote.
11009 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11010 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11011 * gdb.threads/execl.exp (main): Likewise.
11012 * gdb.threads/fork-child-threads.exp (main): Likewise.
11013 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11014 remote.
11015 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11016 remote.
11017 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11018 pid.tid style ptids, instead of just tid.
11019 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11020 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11021 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11022 ptids, instead of just tid.
11023
11024 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11025
11026 * gdb.base/list.exp (test_list_forward): Add end of file error
11027 test.
11028 (test_repeat_list_command): Add end of file error test.
11029 (test_list_backwards): Add beginning of file error test.
11030
11031 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11032
11033 * gdb.base/list.exp (test_list_invalid_args): New function,
11034 defined, and called.
11035
11036 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11037
11038 * gdb.base/list.exp (test_list): Make test names unique.
11039
11040 2015-12-11 Yao Qi <yao.qi@linaro.org>
11041
11042 * gdb.base/coremaker2.c: Remove.
11043
11044 2015-12-10 Pedro Alves <palves@redhat.com>
11045
11046 * gdb.multi/base.exp: Remove stale "spaces" references.
11047
11048 2015-12-10 Pedro Alves <palves@redhat.com>
11049
11050 * gdb.multi/base.exp: Don't use nowarnings.
11051 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11052 * gdb.multi/hangout.c: Include stdio.h.
11053 * gdb.multi/hello.c: Include stdlib.h.
11054 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11055 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11056 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11057
11058 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11059
11060 * gdb.dwarf2/dw2-ranges-base.c: New file.
11061 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11062 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11063 support additional line table, and debug ranges generation.
11064 (Dwarf::ranges): New function, generate .debug_ranges.
11065 (Dwarf::lines): Support generating simple line table programs.
11066 (Dwarf::assemble): Initialise new namespace variables.
11067
11068 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11069
11070 * gdb.base/async.exp (proc test_background): Add case for
11071 asynchronous execution not supported.
11072
11073 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11074
11075 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11076 format and change test names to make them unique.
11077
11078 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11079 Pedro Alves <pedro@redhat.com>
11080
11081 PR gdb/18702
11082 Add checking of floatformats setup on x86_64 hosts.
11083 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11084 (smallval, bigval): New labels/constants.
11085 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11086 float" after loading bigval and smallval.
11087
11088 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11089
11090 * gdb.ada/fun_overload_menu.exp: New testcase.
11091 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11092
11093 2015-12-04 Josh Stone <jistone@redhat.com>
11094
11095 * gdb.base/catch-fork-static.exp: New.
11096
11097 2015-12-03 Yao Qi <yao.qi@linaro.org>
11098
11099 * gdb.base/sizeof.c: Don't include stdio.h and
11100 ../lib/unbuffer_output.c.
11101 (main): New variable 'size' and 'value'. Remove printf and
11102 gdb_unbuffer_output. Assign return value to size and value.
11103 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11104 at the beginning.
11105 (check_sizeof): Check the result by printing variable 'size'.
11106 (check_valueof): Check the result by printing variable 'value'.
11107
11108 2015-12-01 Yao Qi <yao.qi@linaro.org>
11109
11110 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11111 for aarch64*-*-linux* target.
11112
11113 2015-11-30 Pedro Alves <palves@redhat.com>
11114
11115 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11116
11117 2015-11-30 Pedro Alves <palves@redhat.com>
11118
11119 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11120 Handle non-stop mode vCont replies.
11121
11122 2015-11-30 Pedro Alves <palves@redhat.com>
11123
11124 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11125 prepare_for_testing. Start gdb with "set non-stop on" appended to
11126 GDBFLAGS. Lax expected stop output.
11127
11128 2015-11-27 Yao Qi <yao.qi@linaro.org>
11129
11130 * gdb.arch/arm-neon.exp: New.
11131 * gdb.arch/arm-neon.c: New.
11132
11133 2015-11-27 Yao Qi <yao.qi@linaro.org>
11134
11135 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11136
11137 2015-11-27 Yao Qi <yao.qi@linaro.org>
11138
11139 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11140 frames-invalid annotation.
11141
11142 2015-11-27 Yao Qi <yao.qi@linaro.org>
11143
11144 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11145
11146 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11147
11148 * gdb.threads/names.exp: New file.
11149 * gdb.threads/names.c: New file.
11150 * README: Mention gdb,no_thread_names.
11151
11152 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11153
11154 PR 19297
11155 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11156 support" error.
11157
11158 2015-11-24 Pedro Alves <palves@redhat.com>
11159
11160 PR 17539
11161 * gdb.base/display.exp: Expect displays to be sorted in ascending
11162 order. Use multi_line.
11163 * gdb.base/solib-display.exp: Likewise.
11164
11165 2015-11-24 Pedro Alves <palves@redhat.com>
11166
11167 PR 17539
11168 * gdb.base/display.exp: Expect displays to be sorted in ascending
11169 order. Use multi_line.
11170 * gdb.base/solib-display.exp: Likewise.
11171
11172 2015-11-24 Pedro Alves <palves@redhat.com>
11173
11174 PR 17539
11175 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11176 threads in ascending order.
11177 * gdb.base/foll-fork.exp: Likewise.
11178 * gdb.base/foll-vfork.exp: Likewise.
11179 * gdb.base/multi-forks.exp: Likewise.
11180 * gdb.mi/mi-nonstop.exp: Likewise.
11181 * gdb.mi/mi-nsintrall.exp: Likewise.
11182 * gdb.multi/base.exp: Likewise.
11183 * gdb.multi/multi-arch.exp: Likewise.
11184 * gdb.python/py-inferior.exp: Likewise.
11185 * gdb.threads/break-while-running.exp: Likewise.
11186 * gdb.threads/execl.exp: Likewise.
11187 * gdb.threads/gcore-thread.exp: Likewise.
11188 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11189 * gdb.threads/kill.exp: Likewise.
11190 * gdb.threads/linux-dp.exp: Likewise.
11191 * gdb.threads/multiple-step-overs.exp: Likewise.
11192 * gdb.threads/next-bp-other-thread.exp: Likewise.
11193 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11194 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11195 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11196 * gdb.threads/thread-find.exp: Likewise.
11197 * gdb.threads/tls.exp: Likewise.
11198 * lib/mi-support.exp (mi_reverse_list): Delete.
11199 (mi_check_thread_states): No longer reverse list.
11200
11201 2015-11-24 Pedro Alves <palves@redhat.com>
11202
11203 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11204 use lowercase.
11205
11206 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11207
11208 * gdb.trace/actions.c: Include trace-common.h.
11209 (main): Add a location for a fast tracepoint.
11210 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11211 the normal tracepoints.
11212 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11213
11214 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11215
11216 * save-trace.exp: Factor out code to these...
11217 (gdb_save_tracepoints): New.
11218 (gdb_load_tracepoints): New.
11219 (do_save_load_test): New.
11220
11221 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11222
11223 * gdb.base/asmlabel.exp: New test.
11224 * gdb.base/asmlabel.c: New test case.
11225
11226 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11227
11228 * gdb.base/wrong_frame_bt_full-main.c: New file.
11229 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11230 * gdb.base/wrong_frame_bt_full.exp: New file.
11231
11232 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11233
11234 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11235
11236 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11237
11238 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11239 pstate register when comparing registers values in
11240 sparc64-*-linux-gnu targets to avoid spurious differences.
11241
11242 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11243
11244 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11245
11246 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11247
11248 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11249 as type argument to gdb_compile.
11250 * gdb.base/nested-subp2.exp: Likewise.
11251 * gdb.base/nested-subp3.exp: Likewise.
11252
11253 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11254
11255 * lib/dwarf.exp (_note): Fix left shift of negative value.
11256 * gdb.trace/trace-condition.exp: Likewise.
11257
11258 2015-11-13 Yao Qi <yao.qi@linaro.org>
11259
11260 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11261 comments about d10v.
11262 (test_scalar_returns): Likewise.
11263 * gdb.base/d10v.ld: Remove.
11264 * gdb.base/overlays.exp: Remove the target triplet checking for
11265 d10v-*-*.
11266 * gdb.base/structs.exp (test_struct_returns): Remove the
11267 comments about d10v.
11268 (test_struct_calls): Likewise.
11269
11270 2015-11-13 Yao Qi <yao.qi@linaro.org>
11271
11272 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11273 * gdb.base/gnu_vector.c: Don't include stdio.h.
11274 (main): Don't print res and call add_some_intvecs.
11275
11276 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11277
11278 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11279 macro.
11280 (func5): Removed.
11281 (func4): Use FAST_TRACEPOINT_LABEL.
11282 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11283 macro.
11284 (func): Removed.
11285 (thread_function): Use FAST_TRACEPOINT_LABEL.
11286 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11287 (func): Remove.
11288 (marker): Use FAST_TRACEPOINT_LABEL.
11289 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11290 (pendfunc1): Remove.
11291 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11292 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11293 (foo): Remove.
11294 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11295 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11296 macro.
11297 (func): Remove.
11298 (marker): Use FAST_TRACEPOINT_LABEL.
11299 * gdb.trace/trace-common.h: New header.
11300 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11301 macro.
11302 (func): Remove.
11303 (marker): Use FAST_TRACEPOINT_LABEL.
11304 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11305 (func): Remove.
11306 (thread_function): Use FAST_TRACEPOINT_LABEL.
11307
11308 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11309
11310 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11311 in front.
11312 * gdb.trace/change-loc.exp: Use global pcreg definition.
11313 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11314 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11315 in front.
11316 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11317 * gdb.trace/pending.exp: Likewise.
11318 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11319 * gdb.trace/trace-break.exp: Likewise.
11320 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11321 in front.
11322 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11323 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11324 in front.
11325 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11326
11327 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11328
11329 * gdb.ada/fin_fun_out: New testcase.
11330
11331 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11332
11333 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11334 value associated with DW_AT_byte_size.
11335 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11336 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11337 DW_AT_upper_bound.
11338
11339 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11340
11341 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11342 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11343 version.
11344 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11345 gdb.dwarf2/dw2-canonicalize-type.exp,
11346 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11347 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11348 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11349 provided by gdb_target_symbol_prefix_flags_asm.
11350 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11351 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11352 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11353 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11354 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11355 macros where needed). Use this macro for symbols which require
11356 the prefix provided by SYMBOL_PREFIX.
11357
11358 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11359
11360 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11361 New procs.
11362 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11363 representing expressions, of more than one list element.
11364 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11365 to prepend linker symbol prefix to f.
11366 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11367 table_1 and table_2.
11368 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11369 Likewise, for f and g.
11370 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11371 for ptr.
11372 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11373 for main.
11374 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11375 table_1_ptr and table_2_ptr.
11376
11377 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11378 Joel Brobecker <brobecker@adacore.com>
11379
11380 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11381
11382 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11383
11384 * gdb.reverse/s390-mvcle.c: New test.
11385 * gdb.reverse/s390-mvcle.exp: New file.
11386 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11387
11388 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11389
11390 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11391
11392 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11393
11394 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11395 reaching marker2.
11396 * gdb.reverse/getresuid-reverse.exp: Likewise.
11397 * gdb.reverse/pipe-reverse.exp: Likewise.
11398 * gdb.reverse/readv-reverse.exp: Likewise.
11399 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11400 * gdb.reverse/time-reverse.exp: Likewise.
11401 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11402
11403 2015-10-30 Yao Qi <yao.qi@linaro.org>
11404
11405 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11406 (empty_cycle): Remove.
11407 (main): Don't call empty_cycle. Don't use watch_count_done.
11408 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11409 empty_cycle. Rewrite the code counting HW watchpoints.
11410
11411 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11412
11413 * gdb.reverse/fstatat-reverse.c: New test.
11414 * gdb.reverse/fstatat-reverse.exp: New file.
11415 * gdb.reverse/getresuid-reverse.c: New test.
11416 * gdb.reverse/getresuid-reverse.exp: New file.
11417 * gdb.reverse/pipe-reverse.c: New test.
11418 * gdb.reverse/pipe-reverse.exp: New file.
11419 * gdb.reverse/readv-reverse.c: New test.
11420 * gdb.reverse/readv-reverse.exp: New file.
11421 * gdb.reverse/recvmsg-reverse.c: New test.
11422 * gdb.reverse/recvmsg-reverse.exp: New file.
11423 * gdb.reverse/time-reverse.c: New test.
11424 * gdb.reverse/time-reverse.exp: New file.
11425 * gdb.reverse/waitpid-reverse.c: New test.
11426 * gdb.reverse/waitpid-reverse.exp: New file.
11427
11428 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11429
11430 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11431
11432 2015-10-26 Doug Evans <dje@google.com>
11433
11434 PR symtab/17391
11435 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11436 * gdb.dwarf2/bad-regnum.c: New file.
11437 * gdb.dwarf2/bad-regnum.exp: New file.
11438
11439 2015-10-26 Doug Evans <dje@google.com>
11440
11441 PR python/18938
11442 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11443 file.
11444
11445 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11446
11447 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11448 for a change by "Mention language in compile error message".
11449
11450 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11451
11452 PR python/18073
11453 * gdb.python/py-type.c (C::a_method): New.
11454 (C::a_const_method): New.
11455 (C::a_static_method): New.
11456 (a_function): New.
11457 * gdb.python/py-type.exp (test_fields): Test getting fields
11458 from function and method.
11459
11460 2015-10-21 Keven Boell <keven.boell@intel.com>
11461
11462 * gdb.fortran/vla-alloc-assoc.exp: New file.
11463 * gdb.fortran/vla-datatypes.exp: New file.
11464 * gdb.fortran/vla-datatypes.f90: New file.
11465 * gdb.fortran/vla-history.exp: New file.
11466 * gdb.fortran/vla-ptype-sub.exp: New file.
11467 * gdb.fortran/vla-ptype.exp: New file.
11468 * gdb.fortran/vla-sizeof.exp: New file.
11469 * gdb.fortran/vla-sub.f90: New file.
11470 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11471 * gdb.fortran/vla-value-sub-finish.exp: New file.
11472 * gdb.fortran/vla-value-sub.exp: New file.
11473 * gdb.fortran/vla-value.exp: New file.
11474 * gdb.fortran/vla-ptr-info.exp: New file.
11475 * gdb.mi/mi-vla-fortran.exp: New file.
11476 * gdb.mi/vla.f90: New file.
11477
11478 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11479
11480 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11481 of hardwired timeout value.
11482
11483 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11484 Pedro Alves <palves@redhat.com>
11485
11486 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11487 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11488
11489 2015-10-19 Josh Stone <jistone@redhat.com>
11490
11491 * gdb.base/catch-syscall.c: Include <sched.h>.
11492 (unknown_syscall): New variable.
11493 (main): Trigger a vfork and an unknown syscall.
11494 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11495 (unknown_syscall_number): Likewise.
11496 (check_call_to_syscall): Accept an optional syscall pattern.
11497 (check_return_from_syscall): Likewise.
11498 (check_continue): Likewise.
11499 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11500 (test_catch_syscall_skipping_return): New test toggling off 'catch
11501 syscall' to step over the syscall return, then toggling back on.
11502 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11503 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11504 (do_syscall_tests): Call test_catch_syscall_without_args and
11505 test_catch_syscall_mid_vfork.
11506 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11507 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11508
11509 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11510
11511 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11512 print g_vE): Add new pass patterns.
11513 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11514 print various symbol names for vptr fields.
11515
11516 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11517
11518 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11519 results.
11520
11521 2015-10-12 Yao Qi <yao.qi@linaro.org>
11522
11523 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11524
11525 2015-10-12 Yao Qi <yao.qi@linaro.org>
11526
11527 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11528 is aarch64*-*-linux*.
11529
11530 2015-10-12 Yao Qi <yao.qi@linaro.org>
11531
11532 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11533 (can_relocate_bcond_true): ... it.
11534 (can_relocate_bcond_false): New function.
11535 (foo): Likewise.
11536 (can_relocate_bl): Likewise.
11537 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11538 can_relocate_bl.
11539
11540 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11541
11542 * gdb.base/nested-addr.c: New file.
11543 * gdb.base/nested-addr.exp: New testcase.
11544
11545 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11546
11547 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11548 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11549 its output. Ignore the output of "record goto begin" and instead
11550 check that GDB is replaying.
11551
11552 2015-10-09 Pedro Alves <palves@redhat.com>
11553
11554 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11555 (top level): Use it in the run with no args test.
11556
11557 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11558
11559 * gdb.dlang/properties.exp: New file.
11560
11561 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11562
11563 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11564 whether or not address 0x1000 is mapped on the target.
11565
11566 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11567
11568 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11569 build.
11570
11571 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11572
11573 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11574 instruction-history test.
11575
11576 2015-09-28 Doug Evans <dje@google.com>
11577
11578 * gdb.base/gcore.c (array_func): Add reference to static_array.
11579
11580 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11581
11582 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11583 source line.
11584
11585 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11586
11587 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11588 short or char as base type.
11589
11590 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11591
11592 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11593 to allow any size enum.
11594
11595 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11596
11597 * gdb.ada/array_ptr_renaming.exp: New testcase.
11598 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11599 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11600
11601 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11602
11603 * gdb.trace/ftrace-lock.c: New file.
11604 * gdb.trace/ftrace-lock.exp: New file.
11605
11606 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11607
11608 * gdb.arch/insn-reloc.c: New file.
11609 * gdb.arch/ftrace-insn-reloc.exp: New file.
11610
11611 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11612
11613 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11614 instruction.
11615 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11616 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11617 * gdb.trace/range-stepping.c: Likewise.
11618 * gdb.trace/trace-break.c: Likewise.
11619 * gdb.trace/trace-mt.c (thread_function): Likewise.
11620 * gdb.trace/ftrace.c (marker): Likewise.
11621 * gdb.trace/trace-condition.c (marker): Likewise.
11622 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11623 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11624 is_aarch64_target.
11625
11626 2015-09-18 Doug Evans <xdje42@gmail.com>
11627
11628 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11629 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11630
11631 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11632
11633 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11634 the breakpoint.
11635
11636 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11637
11638 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11639 the pending breakpoint. Remove timeout override for "Run till
11640 MI pending breakpoint on pendfunc3 on thread 2" test.
11641
11642 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11643
11644 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11645 filename pattern.
11646
11647 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11648
11649 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11650 in breakpoint filename pattern.
11651
11652 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11653
11654 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11655
11656 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11657
11658 * gdb.linespec/explicit.exp: Check for readline support for
11659 tab-completion tests. Fix obvious typo.
11660
11661 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11662
11663 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11664 and replay.
11665
11666 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11667
11668 * gdb.btrace/non-stop.c: New.
11669 * gdb.btrace/non-stop.exp: New.
11670
11671 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11672 Yao Qi <yao.qi@linaro.org>
11673
11674 * gdb.trace/trace-condition.c: New file.
11675 * gdb.trace/trace-condition.exp: New file.
11676
11677 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11678
11679 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11680 for testing bytecode compilation.
11681
11682 2015-09-16 Pedro Alves <palves@redhat.com>
11683 Sandra Loosemore <sandra@codesourcery.com>
11684
11685 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11686 (SECONDS): Redefine.
11687 (main): Call pthread_kill and alarm early.
11688 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11689 support.
11690 (test): If the target can't hardware step and doesn't support
11691 displaced stepping, increase the timeout.
11692
11693 2015-09-16 Pedro Alves <palves@redhat.com>
11694
11695 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11696 (enable_debug): New procedures.
11697 (test): Use them. Bail out if waiting for threads fails.
11698 (top level): Bail out if a test fails.
11699
11700 2015-09-16 Yao Qi <yao.qi@linaro.org>
11701
11702 * gdb.asm/asm-source.exp: Set asm-arch for
11703 aarch64*-*-* target.
11704 * gdb.asm/aarch64.inc: New file.
11705
11706 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11707
11708 * gdb.ada/array_of_variable_length.exp: New testcase.
11709 * gdb.ada/array_of_variable_length/foo.adb: New file.
11710 * gdb.ada/array_of_variable_length/pck.adb: New file.
11711 * gdb.ada/array_of_variable_length/pck.ads: New file.
11712
11713 2015-09-15 Doug Evans <dje@google.com>
11714
11715 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11716 of function static local variable.
11717
11718 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11719
11720 * gdb.threads/tls-so_extern.exp: New test file.
11721 * gdb.threads/tls-so_extern.c: New test file.
11722 * gdb.threads/tls-so_extern_main.c: New test file.
11723
11724 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11725
11726 * gdb.opt/solib-intra-step-lib.c: New file.
11727 * gdb.opt/solib-intra-step-main.c: New file.
11728 * gdb.opt/solib-intra-step.exp: New file.
11729
11730 2015-09-15 Pedro Alves <palves@redhat.com>
11731
11732 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11733 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11734
11735 2015-09-14 Pedro Alves <palves@redhat.com>
11736
11737 * gdb.base/hook-stop-continue.c: Delete.
11738 * gdb.base/hook-stop-continue.exp: Delete.
11739 * gdb.base/hook-stop-frame.c: Delete.
11740 * gdb.base/hook-stop-frame.exp: Delete.
11741 * gdb.base/hook-stop.c: New file.
11742 * gdb.base/hook-stop.exp: New file.
11743
11744 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11745
11746 * gdb.ada/access_to_packed_array.exp: New testcase.
11747 * gdb.ada/access_to_packed_array/foo.adb: New file.
11748 * gdb.ada/access_to_packed_array/pack.adb: New file.
11749 * gdb.ada/access_to_packed_array/pack.ads: New file.
11750
11751 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11752
11753 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11754 buffer size test.
11755
11756 2015-09-11 Don Breazeal <donb@codesourcery.com>
11757
11758 * gdb.base/foll-exec.c: Add copyright header. Fix
11759 formatting issues.
11760 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11761 (do_exec_tests): Use clean_restart in place of zap_session,
11762 and for test initialization. Fix formatting issues. Use
11763 fail in place of perror.
11764 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11765 an expect statement to match an expression with output from
11766 the program under debug.
11767 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11768 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11769 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11770 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11771 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11772
11773 2015-09-09 Doug Evans <dje@google.com>
11774
11775 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11776
11777 2015-09-09 Doug Evans <dje@google.com>
11778
11779 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11780
11781 2015-09-09 Doug Evans <dje@google.com>
11782
11783 * gdb.base/savedregs.exp: Fix typo.
11784
11785 2015-09-09 Pedro Alves <palves@redhat.com>
11786
11787 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11788
11789 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11790
11791 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11792 command actually switches threads. Give up on remaining
11793 tests if target fails to stop at breakpoint.
11794
11795 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11796
11797 * gdb.ada/funcall_char.exp: New testcase.
11798 * gdb.ada/funcall_char/foo.adb: New file.
11799
11800 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11801
11802 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11803 expected outputs. Add two testcases for completing ambiguous
11804 functions.
11805 * gdb.ada/complete/aux_pck.adb: New file.
11806 * gdb.ada/complete/aux_pck.ads: New file.
11807 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11808 Ambiguous_Func functions.
11809 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11810 * gdb.ada/complete/pck.adb: Likewise.
11811
11812 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11813
11814 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11815 failures to run the test program under GDB.
11816
11817 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11818
11819 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11820 to C.
11821
11822 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11823
11824 * gdb.base/run-after-attach.exp: New test file.
11825 * gdb.base/run-after-attach.c: New test file.
11826
11827 2015-08-26 Don Breazeal <donb@codesourcery.com>
11828
11829 * gdb.base/foll-exec-2.c: New test program.
11830 * gdb.base/foll-exec-2.exp: New test.
11831
11832 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11833
11834 * gdb.base/nested-subp1.exp: New file.
11835 * gdb.base/nested-subp1.c: New file.
11836 * gdb.base/nested-subp2.exp: New file.
11837 * gdb.base/nested-subp2.c: New file.
11838 * gdb.base/nested-subp3.exp: New file.
11839 * gdb.base/nested-subp3.c: New file.
11840
11841 2015-08-24 Pedro Alves <palves@redhat.com>
11842
11843 * gdb.server/connect-without-multi-process.c: New file.
11844 * gdb.server/connect-without-multi-process.exp: New file.
11845
11846 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11847
11848 * gdb.opt/inline-markers.c: Make z int.
11849
11850 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11851
11852 * gdb.opt/inline-markers.c: Make z volatile.
11853
11854 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11855
11856 * gdb.opt/inline-bt.c: New volatile global z.
11857 * gdb.opt/inline-cmds.c: Likewise.
11858 * gdb.opt/inline-locals.c: Likewise.
11859 * gdb.opt/inline-markers.c: New extern global z.
11860 (marker): Use z.
11861 (inline_fn): Likewise.
11862
11863 2015-08-24 Pedro Alves <palves@redhat.com>
11864
11865 * config/m32r-stub.exp: Remove file.
11866 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11867 * gdb.base/call-rt-st.exp: Likewise.
11868 * gdb.base/call-strs.exp: Likewise.
11869 * gdb.base/default.exp: Remove references to h8300-*-hms and
11870 *-*-udi*.
11871 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11872
11873 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11874
11875 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11876 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11877 and "return" use KFAIL when GDB can not read/write the vector
11878 return value.
11879
11880 2015-08-21 Gary Benson <gbenson@redhat.com>
11881
11882 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11883
11884 2015-08-20 Pedro Alves <palves@redhat.com>
11885
11886 * gdb.server/solib-list.exp: No longer expect an interior stop in
11887 non-stop mode.
11888
11889 2015-08-20 Pedro Alves <palves@redhat.com>
11890
11891 * gdb.server/connect-stopped-target.c: New file.
11892 * gdb.server/connect-stopped-target.exp: New file.
11893
11894 2015-08-20 Pedro Alves <palves@redhat.com>
11895
11896 * gdb.dwarf2/comp-unit-lang.exp: New file.
11897 * gdb.dwarf2/comp-unit-lang.c: New file.
11898
11899 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11900
11901 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11902 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11903
11904 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11905
11906 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11907 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11908
11909 2015-08-18 Doug Evans <dje@google.com>
11910 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11911
11912 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11913 skip_python_tests. New arg prompt_regexp.
11914 (skip_python_tests): New function.
11915 * lib/mi-support.exp (mi_skip_python_tests): New function.
11916 * gdb.python/py-mi-objfile-gdb.py: New file.
11917 * gdb.python/py-mi-objfile.c: New file.
11918 * gdb.python/py-mi-objfile.exp: New file.
11919
11920 2015-08-17 Keith Seitz <keiths@redhat.com>
11921
11922 * gdb.linespec/explicit.exp: Move strace test from here ...
11923 * gdb.trace/strace.exp: ... to here.
11924
11925 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11926
11927 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11928 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11929
11930 2015-08-14 Doug Evans <xdje42@gmail.com>
11931
11932 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11933 inferior before selecting a new file.
11934
11935 2015-08-14 Doug Evans <xdje42@gmail.com>
11936
11937 * gdb.mi/mi-disassemble.exp: Update.
11938 * gdb.base/disasm-optim.S: New file.
11939 * gdb.base/disasm-optim.c: New file.
11940 * gdb.base/disasm-optim.h: New file.
11941 * gdb.base/disasm-optim.exp: New file.
11942
11943 2015-08-14 Keith Seitz <keiths@redhat.com>
11944
11945 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11946 "evaluated-by".
11947
11948 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11949
11950 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11951
11952 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11953
11954 * gdb.ada/fun_renaming.exp: New testcase.
11955 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11956 * gdb.ada/fun_renaming/pack.adb: New file.
11957 * gdb.ada/fun_renaming/pack.ads: New file.
11958
11959 2015-08-12 Keith Seitz <keiths@redhat.com>
11960
11961 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11962 gdb_get_line_number.
11963
11964 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11965
11966 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11967 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11968 gdb.base/dso2dso.exp: New files.
11969
11970 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11971 Pedro Alves <palves@redhat.com>
11972 Keith Seitz <keiths@redhat.com>
11973
11974 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11975 GDBFLAGS.
11976
11977 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11978
11979 * gdb.base/gdbhistsize-history.exp
11980 (test_histsize_history_setting): Use save_vars.
11981 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11982 Use save_vars.
11983 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11984 * gdb.base/readline.exp: Use save_vars.
11985
11986 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11987
11988 * lib/gdb.exp (save_vars): New proc.
11989
11990 2015-08-11 Keith Seitz <keiths@redhat.com>
11991
11992 * gdb.base/help.exp: Update help_breakpoint_text.
11993
11994 2015-08-11 Keith Seitz <keiths@redhat.com>
11995
11996 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11997 (at toplevel): Call test_explicit_breakpoints.
11998 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11999 breakpoints.
12000 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12001 breakpoint conditions, "-cond".
12002
12003 2015-08-11 Keith Seitz <keiths@redhat.com>
12004
12005 * gdb.linespec/3explicit.c: New file.
12006 * gdb.linespec/cpexplicit.cc: New file.
12007 * gdb.linespec/cpexplicit.exp: New file.
12008 * gdb.linespec/explicit.c: New file.
12009 * gdb.linespec/explicit.exp: New file.
12010 * gdb.linespec/explicit2.c: New file.
12011 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12012 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12013 before using in the matching pattern.
12014 Clarify that `prefix' is a regular expression.
12015
12016 2015-08-11 Keith Seitz <keiths@redhat.com>
12017
12018 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12019 test.
12020 Add tests for missing ",FMT" and ",".
12021
12022 2015-08-10 Doug Evans <dje@google.com>
12023 Keith Seitz <keiths@redhat.com>
12024
12025 PR gdb/17960
12026 * gdb.base/completion.exp: Add location completer tests.
12027
12028 2015-08-07 Pedro Alves <palves@redhat.com>
12029
12030 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12031 tests here.
12032 (top level): Run do_test with and without displaced stepping.
12033
12034 2015-08-07 Pedro Alves <palves@redhat.com>
12035
12036 * gdb.base/valgrind-disp-step.c: New file.
12037 * gdb.base/valgrind-disp-step.exp: New file.
12038
12039 2015-08-07 Pedro Alves <palves@redhat.com>
12040
12041 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12042 Delete function.
12043 (main): Add alarm. Run an infinite loop instead of calling
12044 wait_threads.
12045 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12046 comment.
12047 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12048 Delete function.
12049 (main): Add alarm. Run an infinite loop instead of calling
12050 wait_threads.
12051 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12052 comment.
12053
12054 2015-08-07 Pedro Alves <palves@redhat.com>
12055
12056 * gdb.base/checkpoint-ns.exp: New file.
12057 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12058 standard_testfile.
12059
12060 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12061
12062 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12063 * gdb.btrace/instruction_history.exp: Update.
12064 * gdb.btrace/tsx.exp: New.
12065 * gdb.btrace/tsx.c: New.
12066
12067 2015-08-06 Pedro Alves <palves@redhat.com>
12068
12069 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12070 increase timeout.
12071 * gdb.reverse/until-precsave.exp: Bump timeouts.
12072
12073 2015-08-06 Pedro Alves <palves@redhat.com>
12074
12075 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12076
12077 2015-08-06 Pedro Alves <palves@redhat.com>
12078
12079 PR gdb/18749
12080 * gdb.threads/process-dies-while-handling-bp.c: New file.
12081 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12082
12083 2015-08-06 Pedro Alves <palves@redhat.com>
12084
12085 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12086 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12087
12088 2015-08-05 Pedro Alves <palves@redhat.com>
12089
12090 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12091 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12092
12093 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12094
12095 * gdb.base/bp-permanent.exp: Report test as unsupported if
12096 the target cannot stop at the permanent breakpoint.
12097
12098 2015-08-03 Doug Evans <dje@google.com>
12099
12100 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12101 10000.
12102
12103 2015-08-03 Doug Evans <dje@google.com>
12104
12105 * Makefile.in (workers/%.worker, build-perf): New rule.
12106 (GDB_PERFTEST_MODE): New variable.
12107 (check-perf): Use it.
12108 (clean): Clean up gdb.perf parallel build subdirs.
12109 * lib/build-piece.exp: New file.
12110 * lib/gdb.exp (make_gdb_parallel_path): New function
12111 (standard_output_file, standard_temp_file): Call it.
12112 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12113 of $GDB_PARALLEL.
12114 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12115
12116 2015-08-03 Doug Evans <dje@google.com>
12117
12118 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12119 (LOG_FILE_NAME): New global.
12120 (TextReporter.__init__): Initialize self.txt_sum.
12121 (TextReporter.report): Add support for multiple data-points.
12122 Move report to perftest.sum, put raw data in perftest.log.
12123 (TextReporter.start): Open sum and log files.
12124 (TextReporter.end): Close sum and log files.
12125 * gdb.perf/lib/perftest/testresult.py
12126 (SingleStatisticTestResult.record): Handle multiple data-points.
12127
12128 2015-07-31 Pedro Alves <palves@redhat.com>
12129
12130 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12131 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12132 kill_wait_spawned_process instead of explicit "kill -9".
12133 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12134 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12135 kill_wait_spawned_process.
12136 * gdb.base/attach-twice.exp: Likewise.
12137 * gdb.base/attach.exp: Likewise.
12138 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12139 gdb_test_multiple.
12140 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12141 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12142 kill_wait_spawned_process.
12143 * gdb.base/valgrind-infcall.exp: Likewise.
12144 * gdb.multi/multi-attach.exp: Likewise.
12145 * gdb.python/py-prompt.exp: Likewise.
12146 * gdb.python/py-sync-interp.exp: Likewise.
12147 * gdb.server/ext-attach.exp: Likewise.
12148 * gdb.threads/attach-into-signal.exp (corefunc): Use
12149 spawn_wait_for_attach, spawn_id_get_pid and
12150 kill_wait_spawned_process.
12151 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12152 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12153 spawn_id_get_pid and kill_wait_spawned_process.
12154 * gdb.threads/attach-stopped.exp (corefunc): Use
12155 spawn_wait_for_attach, spawn_id_get_pid and
12156 kill_wait_spawned_process.
12157 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12158 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12159 kill_wait_spawned_process instead of explicit "kill -9".
12160 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12161 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12162 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12163 processes. Don't map cygwin/windows pids here. Now returns a
12164 spawn id list.
12165
12166 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12167
12168 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12169 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12170 correct patch.
12171
12172 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12173
12174 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12175
12176 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12177
12178 Reapply:
12179 2014-05-21 Mark Wielaard <mjw@redhat.com>
12180
12181 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12182
12183 2015-07-30 Pedro Alves <palves@redhat.com>
12184
12185 * linux-low.c (handle_extended_wait): Set the child's last
12186 reported status to TARGET_WAITKIND_STOPPED.
12187
12188 2015-07-30 Pedro Alves <palves@redhat.com>
12189
12190 PR threads/18600
12191 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12192 only shows inferior 1.
12193
12194 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12195 Pedro Alves <palves@redhat.com>
12196
12197 PR threads/18600
12198 * gdb.threads/fork-plus-threads.c: New file.
12199 * gdb.threads/fork-plus-threads.exp: New file.
12200
12201 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12202
12203 * gdb.base/batch-preserve-term-settings.exp
12204 (test_terminal_settings_preserved_after_cli_exit): Use
12205 send_quit_command.
12206
12207 2015-07-29 Pedro Alves <palves@redhat.com>
12208 Don Breazeal <donb@codesourcery.com>
12209
12210 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12211 output from both inferior_spawn_id and gdb_spawn_id.
12212
12213 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12214
12215 * gdb.threads/attach-into-signal.exp (corefunc): Use
12216 with_test_prefix on nested loops, uniquefying the test messages.
12217
12218 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12219
12220 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12221 commit.
12222
12223 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12224
12225 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12226 New proc.
12227 (test_terminal_settings_preserved_after_sigterm): New test.
12228
12229 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12230
12231 * gdb.base/batch-preserve-term-settings.exp
12232 (test_terminal_settings_preserved_after_cli_exit): New test.
12233
12234 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12235
12236 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12237 manipulation of saved_gdbflags.
12238 (test_terminal_settings_preserved): Remove global declaration of
12239 the unused variable pagination_prompt. Remove manipulation of
12240 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12241 GDBFLAGS.
12242
12243 2015-07-29 Pedro Alves <palves@redhat.com>
12244
12245 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12246
12247 2015-07-29 Pedro Alves <palves@redhat.com>
12248
12249 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12250 at the top.
12251
12252 2015-07-29 Pedro Alves <palves@redhat.com>
12253
12254 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12255 (main): Call gdb_unbuffer_output.
12256 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12257 (main): Call gdb_unbuffer_output.
12258 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12259 (main): Call gdb_unbuffer_output.
12260 * gdb.base/call-strs.exp: Adjust to step over the
12261 gdb_unbuffer_output call.
12262 * gdb.base/catch-gdb-caused-signals.c: Include
12263 "../lib/unbuffer_output.c".
12264 (main): Call gdb_unbuffer_output.
12265 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12266 (main): Call gdb_unbuffer_output.
12267 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12268 (main): Call gdb_unbuffer_output.
12269 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12270 (main): Call gdb_unbuffer_output.
12271 * gdb.base/shlib-call.exp: Adjust to step over the
12272 gdb_unbuffer_output call.
12273 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12274 (main): Call gdb_unbuffer_output.
12275 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12276 (main): Call gdb_unbuffer_output.
12277 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12278 (main): Rename to ...
12279 (test): ... this.
12280 (main): Reimplement.
12281 * gdb.base/varargs.exp: Run to test instead of to main.
12282 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12283 (main): Call gdb_unbuffer_output.
12284
12285 2015-07-29 Pedro Alves <palves@redhat.com>
12286
12287 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12288 factore out from mi_continue_dprintf. For call-style dprintfs,
12289 expect dprintf output out of $inferior_spawn_id.
12290 (mi_continue_dprintf): Use mi_expect_dprintf.
12291 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12292 (main): Call gdb_unbuffer_output.
12293
12294 2015-07-29 Pedro Alves <palves@redhat.com>
12295
12296 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12297 (default_mi_gdb_start): Set inferior_spawn_id instead of
12298 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12299 gdb_spawn_id.
12300 (mi_gdb_test): Always expect inferior output from both
12301 $inferior_spawn_id and $gdb_spawn_id.
12302
12303 2015-07-29 Pedro Alves <palves@redhat.com>
12304
12305 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12306 send_inferior and $inferior_spawn_id.
12307
12308 2015-07-29 Pedro Alves <palves@redhat.com>
12309
12310 * gdb.gdb/complaints.exp (test_initial_complaints)
12311 (test_serial_complaints, test_short_complaints): Use
12312 gdb_test_stdio.
12313 (test_empty_complaint): Handle $inferior_spawn_id !=
12314 $gdb_spawn_id.
12315
12316 2015-07-29 Pedro Alves <palves@redhat.com>
12317
12318 * gdb.base/varargs.exp: Use gdb_test_stdio.
12319
12320 2015-07-29 Pedro Alves <palves@redhat.com>
12321
12322 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12323
12324 2015-07-29 Pedro Alves <palves@redhat.com>
12325
12326 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12327
12328 2015-07-29 Pedro Alves <palves@redhat.com>
12329
12330 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12331 parameter into two new parameters, "inf_result" and "gdb_result".
12332 Expect inferior output and gdb output from $inferior_spawn_id and
12333 $gdb_spawn_id, respectively. Adjust all callers.
12334
12335 2015-07-29 Pedro Alves <palves@redhat.com>
12336
12337 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12338 of gdb_test_sequence.
12339
12340 2015-07-29 Pedro Alves <palves@redhat.com>
12341
12342 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12343 (saw_spurious_output): Expect inferior output from
12344 $inferior_spawn_id. Use gdb_test_stdio.
12345
12346 2015-07-29 Pedro Alves <palves@redhat.com>
12347
12348 * gdb.base/dprintf.exp: Use standard_testfile. Change
12349 prepare_for_testing call.
12350 (srcfile): Don't set.
12351 (restart): New procedure.
12352 (test_dprintf): New procecure, use to continue over dprintfs.
12353 (test_call, test_agent): New procedures, tests moved here.
12354 Restart gdb and recreate dprintfs. Adjust expected output.
12355
12356 2015-07-29 Pedro Alves <palves@redhat.com>
12357
12358 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12359
12360 2015-07-29 Pedro Alves <palves@redhat.com>
12361
12362 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12363
12364 2015-07-29 Pedro Alves <palves@redhat.com>
12365
12366 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12367 gdb_test_stdio.
12368
12369 2015-07-29 Pedro Alves <palves@redhat.com>
12370
12371 * lib/gdb.exp (gdb_test_stdio): New procedure.
12372
12373 2015-07-29 Pedro Alves <palves@redhat.com>
12374
12375 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12376
12377 2015-07-29 Pedro Alves <palves@redhat.com>
12378
12379 * gdb.base/call-signal-resume.exp: Remove check for
12380 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12381 * gdb.base/unwindonsignal.exp: Likewise.
12382 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12383 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12384
12385 2015-07-29 Pedro Alves <palves@redhat.com>
12386
12387 * gdb.base/siginfo-addr.c (pass): New function.
12388 (handler): Call it iff si_addr is correct.
12389 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12390 Set a breakpoint at "pass" and continue to it.
12391
12392 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12393
12394 * gdb.python/py-objfile.exp: Make some tests have unique names.
12395 * gdb.python/py-pp-registration.exp: Likewise.
12396
12397 2015-07-28 Pedro Alves <palves@redhat.com>
12398
12399 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12400
12401 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12402
12403 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12404
12405 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12406
12407 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12408
12409 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12410
12411 * gdb.base/gdb-sigterm-2.exp: New test.
12412
12413 2015-07-25 Doug Evans <xdje42@gmail.com>
12414
12415 Revert:
12416 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12417 (workers/%.worker, build-perf): New rule.
12418 (GDB_PERFTEST_MODE): New variable.
12419 (check-perf): Use it.
12420 (clean): Clean up gdb.perf parallel build subdirs.
12421 * lib/build-piece.exp: New file.
12422 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12423 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12424 name.
12425 (standard_temp_file): Ditto.
12426 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12427 of $GDB_PARALLEL.
12428
12429 2015-07-24 Doug Evans <dje@google.com>
12430
12431 * gdb.perf/lib/perftest/utils.py: New file.
12432 * gdb.perf/gm-hello.cc: New file.
12433 * gdb.perf/gm-pervasive-typedef.cc: New file.
12434 * gdb.perf/gm-pervasive-typedef.h: New file.
12435 * gdb.perf/gm-std.cc: New file.
12436 * gdb.perf/gm-std.h: New file.
12437 * gdb.perf/gm-use-cerr.cc: New file.
12438 * gdb.perf/gm-utils.h: New file.
12439 * gdb.perf/gmonster-null-lookup.py: New file.
12440 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12441 * gdb.perf/gmonster-print-cerr.py: New file.
12442 * gdb.perf/gmonster-ptype-string.py: New file.
12443 * gdb.perf/gmonster-runto-main.py: New file.
12444 * gdb.perf/gmonster-select-file.py: New file.
12445 * gdb.perf/gmonster1-null-lookup.exp: New file.
12446 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12447 * gdb.perf/gmonster1-print-cerr.exp: New file.
12448 * gdb.perf/gmonster1-ptype-string.exp: New file.
12449 * gdb.perf/gmonster1-runto-main.exp: New file.
12450 * gdb.perf/gmonster1-select-file.exp: New file.
12451 * gdb.perf/gmonster1.cc: New file.
12452 * gdb.perf/gmonster1.exp: New file.
12453 * gdb.perf/gmonster2-null-lookup.exp: New file.
12454 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12455 * gdb.perf/gmonster2-print-cerr.exp: New file.
12456 * gdb.perf/gmonster2-ptype-string.exp: New file.
12457 * gdb.perf/gmonster2-runto-main.exp: New file.
12458 * gdb.perf/gmonster2-select-file.exp: New file.
12459 * gdb.perf/gmonster2.cc: New file.
12460 * gdb.perf/gmonster2.exp: New file.
12461
12462 2015-07-24 Doug Evans <dje@google.com>
12463
12464 * gdb.perf/README: New file.
12465 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12466 * lib/gen-perf-test.exp: New file.
12467
12468 2015-07-24 Doug Evans <dje@google.com>
12469
12470 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12471 (PerfTest::startup): New function.
12472 (PerfTest::run): Return result of calling body.
12473 (PerfTest::assemble): Rewrite.
12474 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12475 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12476 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12477 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12478 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12479
12480 2015-07-24 Doug Evans <dje@google.com>
12481
12482 * lib/gdb.exp (clean_restart): Make executable optional.
12483
12484 2015-07-24 Doug Evans <dje@google.com>
12485
12486 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12487 compiler_info references.
12488 * gdb.cp/temargs.exp: Ditto.
12489 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12490 (get_compiler_info): Early exit if already computed. Set compiler_info
12491 to "unknown" if there was a problem.
12492 (test_compiler_info): Add function comment. Call get_compiler_info.
12493
12494 2015-07-24 Doug Evans <dje@google.com>
12495
12496 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12497 (workers/%.worker, build-perf): New rule.
12498 (GDB_PERFTEST_MODE): New variable.
12499 (check-perf): Use it.
12500 (clean): Clean up gdb.perf parallel build subdirs.
12501 * lib/build-piece.exp: New file.
12502 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12503 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12504 name.
12505 (standard_temp_file): Ditto.
12506 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12507 of $GDB_PARALLEL.
12508
12509 2015-07-24 Doug Evans <dje@google.com>
12510
12511 * lib/future.exp (gdb_default_target_compile): New option
12512 "early_flags".
12513 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12514 --as-needed.
12515
12516 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12517
12518 * gdb.base/catch-syscall.exp: Call gdb_exit before
12519 gdb_skip_xml_test.
12520
12521 2015-07-24 Pedro Alves <palves@redhat.com>
12522
12523 * gdb.python/py-events.exp: Accept output between the stop event
12524 and the prompt.
12525 * gdb.python/py-evsignal.exp: Likewise.
12526 * gdb.python/py-evthreads.exp: Likewise.
12527
12528 2015-07-24 Pedro Alves <palves@redhat.com>
12529
12530 PR gdb/18717
12531 * gdb.threads/non-ldr-exit.c: New file.
12532 * gdb.threads/non-ldr-exit.exp: New file.
12533
12534 2015-07-24 Yao Qi <yao.qi@linaro.org>
12535
12536 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12537 restarting process.
12538
12539 2015-07-24 Yao Qi <yao.qi@linaro.org>
12540
12541 * gdb.server/ext-restart.exp: New file.
12542
12543 2015-07-24 Yao Qi <yao.qi@linaro.org>
12544
12545 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12546 argument options.
12547 * gdb.server/ext-wrapper.exp: New file.
12548
12549 2015-07-23 Doug Evans <dje@google.com>
12550
12551 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12552 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12553
12554 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12555
12556 * gdb.ada/var_arr_typedef.exp: New testcase.
12557 * gdb.ada/var_arr_typedef/pack.adb: New file.
12558 * gdb.ada/var_arr_typedef/pack.ads: New file.
12559 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12560
12561 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12562
12563 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12564
12565 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12566
12567 * gdb.arch/i386-biarch-core.exp: Replace istarget
12568 by "complete set gnutarget". Remove expectation for the "core-file"
12569 command.
12570
12571 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12572
12573 Revert the previous commit:
12574 Tests for validate symbol file using build-id.
12575
12576 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12577
12578 Tests for validate symbol file using build-id.
12579 * gdb.base/solib-mismatch-lib.c: New file.
12580 * gdb.base/solib-mismatch-libmod.c: New file.
12581 * gdb.base/solib-mismatch.c: New file.
12582 * gdb.base/solib-mismatch.exp: New file.
12583
12584 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12585
12586 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12587 nios2-*-linux*.
12588 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12589 * gdb.base/siginfo.exp: Likewise.
12590 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12591
12592 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12593
12594 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12595 Move it to ...
12596 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12597 ... here.
12598 * gdb.trace/range-stepping.exp: Check that the target supports
12599 range stepping.
12600
12601 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12602
12603 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12604
12605 2015-07-14 Pedro Alves <palves@redhat.com>
12606
12607 * gdb.base/killed-outside.exp: New file.
12608 * gdb.base/killed-outside.c: New file.
12609
12610 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12611
12612 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12613 (n at main): New.
12614 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12615
12616 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12617
12618 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12619 infcall tests instead of setting up for KFAIL.
12620
12621 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12622
12623 * gdb.btrace/record_goto-step.exp: New.
12624
12625 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12626
12627 PR compile/18484
12628 * gdb.compile/compile.c (struct struct_type): Add volatile to
12629 selffield's type.
12630 * gdb.compile/compile.exp
12631 (compile code struct_object.selffield = &struct_object): Skip further
12632 struct_object tests if this one xfails.
12633
12634 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12635
12636 PR exp/18617
12637 * gdb.trace/ax.exp: Add test.
12638
12639 2015-07-07 Yao Qi <yao.qi@linaro.org>
12640
12641 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12642 instead of istarget "aarch64*-*-*".
12643 * gdb.arch/aarch64-fp.exp: Likewise.
12644 * gdb.base/float.exp: Likewise.
12645 * gdb.reverse/aarch64.exp: Likewise.
12646 * lib/gdb.exp (is_aarch64_target): New proc.
12647
12648 2015-07-07 Yao Qi <yao.qi@linaro.org>
12649
12650 * lib/gdb.exp (is_aarch32_target): New proc.
12651 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12652 instead of "istarget "arm*-*-*"".
12653 * gdb.arch/arm-disp-step.exp: Likewise.
12654 * gdb.arch/thumb-bx-pc.exp: Likewise.
12655 * gdb.arch/thumb-prologue.exp: Likewise.
12656 * gdb.arch/thumb-singlestep.exp: Likewise.
12657 * gdb.base/disp-step-syscall.exp: Likewise.
12658 * gdb.base/float.exp: Likewise.
12659
12660 2015-07-07 Yao Qi <yao.qi@linaro.org>
12661
12662 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12663 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12664
12665 2015-07-07 Yao Qi <yao.qi@linaro.org>
12666
12667 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12668 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12669 if it exists.
12670 * gdb.multi/multi-arch.exp: Likewise.
12671
12672 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12673
12674 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12675 print.
12676
12677 2015-07-07 Yao Qi <yao.qi@linaro.org>
12678
12679 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12680
12681 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12682
12683 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12684 '[' and ']' characters.
12685
12686 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12687
12688 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12689
12690 2015-06-29 Pedro Alves <palves@redhat.com>
12691
12692 PR threads/18127
12693 * gdb.threads/hand-call-new-thread.c: New file.
12694 * gdb.threads/hand-call-new-thread.c: New file.
12695
12696 2015-06-26 Keith Seitz <keiths@redhat.com>
12697 Doug Evans <dje@google.com>
12698
12699 PR 16253
12700 * gdb.cp/var-tag-2.cc: New file.
12701 * gdb.cp/var-tag-3.cc: New file.
12702 * gdb.cp/var-tag-4.cc: New file.
12703 * gdb.cp/var-tag.cc: New file.
12704 * gdb.cp/var-tag.exp: New file.
12705
12706 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12707
12708 * gdb.base/history-duplicates.exp: New test.
12709
12710 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12711
12712 * gdb.base/completion.exp: Test the completion of the "focus"
12713 command.
12714
12715 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12716
12717 * gdb.arch/amd64-prologue-skip.S: New file.
12718 * gdb.arch/amd64-prologue-skip.exp: New file.
12719
12720 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12721
12722 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12723 is_address_zero_readable check.
12724
12725 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12726
12727 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12728 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12729
12730 2015-06-24 Yao Qi <yao.qi@linaro.org>
12731
12732 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12733 linux targets.
12734
12735 2015-06-24 Yao Qi <yao.qi@linaro.org>
12736
12737 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12738 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12739 * gdb.base/siginfo-thread.exp: Likewise.
12740
12741 2015-06-22 Yao Qi <yao.qi@linaro.org>
12742
12743 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12744
12745 2015-06-22 Yao Qi <yao.qi@linaro.org>
12746
12747 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12748 aarch64*-*-*.
12749 (skip_hw_watchpoint_tests): Likewise.
12750
12751 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12752
12753 * gdb.base/gdbinit-history.exp: Test the interaction between
12754 setting GDBHISTSIZE and setting the history size via .gdbinit.
12755
12756 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12757
12758 PR gdb/16999
12759 * gdb.base/gdbhistsize-history.exp: New test.
12760
12761 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12762
12763 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12764 with GDBHISTSIZE.
12765 * gdb.base/readline.exp: Likewise.
12766
12767 2015-06-17 Yao Qi <yao.qi@linaro.org>
12768
12769 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12770 line.
12771
12772 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12773
12774 * gdb.base/gdbinit-history.exp: Add test case to check that
12775 an unlimited history file does not get truncated on exit.
12776
12777 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12778
12779 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12780 (VECTOR): New macro. Use it...
12781 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12782 ...for these typedefs.
12783 (int8, char1, int1, double1): New typedefs.
12784 (struct just_int2, struct two_int2): New structures.
12785 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12786 (add_structvecs, add_singlevecs): New functions.
12787 (main): Call add_some_intvecs twice.
12788 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12789 the compile and exit upon failure. Try compiling for the "native"
12790 architecture. Test inferior function calls with vector arguments
12791 and vector return value handling with "finish" and "return".
12792
12793 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12794
12795 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12796 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12797 PE file.
12798 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12799
12800 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12801
12802 PR breakpoints/16465
12803 * gdb.mi/mi-dprintf-pending.c: New file.
12804 * gdb.mi/mi-dprintf-pending.exp: New test.
12805 * gdb.mi/mi-dprintf-pendshr.c: New file.
12806
12807 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12808 Mircea Gherzan <mircea.gherzan@intel.com>
12809
12810 * gdb.arch/i386-mpx-map.c: New file.
12811 * gdb.arch/i386-mpx-map.exp: New File.
12812
12813 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12814
12815 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12816 * gdb.arch/i386-mpx.exp: Indentation fixed.
12817
12818 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12819
12820 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12821 function and improved indentation.
12822 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12823 gdb_test_multiple. Added additional tests to skip the test.
12824
12825 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12826
12827 * gdb.arch/i386-avx512.c: Change path in include file.
12828 * gdb.arch/i386-avx512.exp: Change include dir path
12829 compilation flag.
12830 * gdb.arch/i386-mpx.c: Change path in include file.
12831 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12832 flag.
12833
12834 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12835
12836 * gdb.compile/compile-print.exp (compile print *vararray@3)
12837 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12838
12839 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12840
12841 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12842 (do not keep jit in memory): ... this.
12843 (expect 5): Change it to ...
12844 (expect no 5): ... this.
12845
12846 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12847
12848 PR gdb/15564
12849 * gdb.mi/mi-detach.exp: New file.
12850
12851 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12852
12853 PR symtab/18392
12854 * gdb.arch/amd64-tailcall-self.S: New file.
12855 * gdb.arch/amd64-tailcall-self.c: New file.
12856 * gdb.arch/amd64-tailcall-self.exp: New file.
12857
12858 2015-05-28 Don Breazeal <donb@codesourcery.com>
12859
12860 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12861 tests for remote targets by checking is_target_gdbserver.
12862
12863 2015-05-27 Doug Evans <dje@google.com>
12864
12865 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12866 * gdb.dwarf2/opaque-type-lookup.c: New file.
12867 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12868
12869 2015-05-26 Doug Evans <dje@google.com>
12870
12871 * gdb.cp/iostream.cc: New file.
12872 * gdb.cp/iostream.exp: New file.
12873
12874 2015-05-26 Doug Evans <dje@google.com>
12875
12876 * gdb.dwarf2/dw2-op-call.exp: Update.
12877 * gdb.dwarf2/dw4-sig-types.exp: Update.
12878 * gdb.dwarf2/implptr.exp: Update.
12879 * gdb.mi/mi-cmd-param-changed.exp: Update.
12880
12881 2015-05-26 Doug Evans <dje@google.com>
12882
12883 * gdb.python/py-lazy-string.c: New file.
12884 * gdb.python/py-lazy-string.exp: New file.
12885 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12886 (main): Update. Add estring3.
12887 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12888 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12889
12890 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12891 Yao Qi <yao.qi@linaro.org>
12892
12893 * gdb.reverse/aarch64.c: New.
12894 * gdb.reverse/aarch64.exp: New.
12895
12896 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12897
12898 * lib/gdb.exp (supports_process_record): Return true for
12899 aarch64*-linux*.
12900 (supports_reverse): Likewise.
12901
12902 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12903
12904 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12905 Use with_test_prefix.
12906
12907 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12908
12909 * gdb.base/completion.exp: Add test for completion of layout
12910 names.
12911
12912 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12913
12914 * lib/gdb.exp (skip_tui_tests): New proc.
12915 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12916
12917 2015-05-19 Pedro Alves <palves@redhat.com>
12918
12919 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12920 Save the whole env array instead of just HOME. Unset HISTSIZE in
12921 the environment while testing. Restore whole environment
12922 afterwards.
12923
12924 2015-05-16 Doug Evans <xdje42@gmail.com>
12925
12926 * gdb.guile/scm-ports.c: New file.
12927 * gdb.guile/scm-ports.exp: Add memory port tests.
12928
12929 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12930
12931 * gdb.compile/compile-print.c: New file.
12932 * gdb.compile/compile-print.exp: New file.
12933
12934 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12935
12936 * gdb.compile/compile-ops.exp: Cast param to void.
12937 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12938 (compile code struct_object.selffield = &struct_object): Add xfail.
12939
12940 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12941
12942 * gdb.ada/arr_enum_with_gap: New testcase.
12943
12944 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12945
12946 * gdb.ada/byte_packed_arr: New testcase.
12947
12948 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12949
12950 * gdb.ada/pckd_neg: New testcase.
12951
12952 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12953
12954 PR gdb/17820
12955 * gdb.base/gdbinit-history.exp: New test.
12956 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12957 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12958
12959 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12960
12961 * gdb.python/py-xmethods.cc: Enhance test case.
12962 * gdb.python/py-xmethods.exp: New tests.
12963 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12964 function.
12965 (B_indexoper): Likewise.
12966 (global_dm_list) : Add new xmethod worker functions.
12967
12968 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12969
12970 * gdb.base/coredump-filter.exp: Correctly unset
12971 "coredump_var_addr" array.
12972
12973 2015-05-08 Pedro Alves <palves@redhat.com>
12974
12975 * gdb.server/non-existing-program.exp: Unset spawn_id.
12976
12977 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12978
12979 PR python/18291
12980 * gdb.python/py-xmethods.exp: Add tests.
12981
12982 2015-05-08 Yao Qi <yao.qi@linaro.org>
12983
12984 PR gdb/18208
12985 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12986 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12987 function set_coredump_filter, and remove remote_exec call.
12988 Remove argument ipid. Callers update.
12989 (top level): Don't get inferior's PID.
12990
12991 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12992
12993 * gdb.base/watch_thread_num.exp: Skip test on targets without
12994 access watchpoints.
12995
12996 2015-05-06 Pedro Alves <palves@redhat.com>
12997
12998 PR server/18081
12999 * gdb.server/non-existing-program.exp: New file.
13000
13001 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13002
13003 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13004
13005 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13006
13007 * gdb.ada/out_of_line_in_inlined: New testcase.
13008
13009 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13010
13011 * gdb.ada/var_rec_arr: New testcase.
13012
13013 2015-04-30 Yao Qi <yao.qi@linaro.org>
13014
13015 * gdb.base/break-idempotent.exp: If
13016 skip_hw_watchpoint_multi_tests returns true, skip the tests
13017 on "rwatch" and "awatch".
13018
13019 2015-04-30 Yao Qi <yao.qi@linaro.org>
13020
13021 * gdb.base/relativedebug.exp: Invoke gdb command
13022 "info sharedlibrary", and if libc.so doesn't have debug info,
13023 skip the test.
13024
13025 2015-04-29 Doug Evans <dje@google.com>
13026
13027 * gdb.python/py-xmethods.exp: Add ptype tests.
13028 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13029 get_result_type method.
13030
13031 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13032
13033 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13034 the target does not support hardware watchpoints.
13035
13036 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13037
13038 * gdb.base/break-always.exp: Abort testing if writing to memory
13039 causes an error.
13040
13041 2015-04-28 Doug Evans <dje@google.com>
13042
13043 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13044 * gdb.python/py-pp-registration.exp: ... here. New file.
13045 * gdb.python/py-pp-registration.c: New file.
13046 * gdb.python/py-pp-registration.py: New file.
13047
13048 2015-04-28 Doug Evans <dje@google.com>
13049
13050 * gdb.python/py-bad-printers.c: New file.
13051 * gdb.python/py-bad-printers.py: New file.
13052 * gdb.python/py-bad-printers.exp: New file.
13053
13054 2015-04-28 Sasha Smundak <asmundak@google.com>
13055
13056 * gdb.python/py-type.exp: New test.
13057
13058 2015-04-28 Andy Wingo <wingo@igalia.com>
13059
13060 * gdb.python/py-parameter.exp:
13061 * gdb.guile/scm-parameter.exp: Escape the path that we are
13062 matching against, as it might contain characters that are special
13063 to regular expressions.
13064
13065 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13066
13067 * gdb.ada/rec_comp: New testcase.
13068
13069 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13070
13071 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13072 before using it.
13073
13074 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13075
13076 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13077 new tests for verilog output.
13078
13079 2015-04-24 Yao Qi <yao.qi@linaro.org>
13080
13081 * boards/remote-gdbserver-on-localhost.exp: New file.
13082
13083 2015-04-23 Pedro Alves <palves@redhat.com>
13084
13085 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13086 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13087 "end of file", remove $inferior_spawn_id from the indirect list.
13088
13089 2015-04-23 Pedro Alves <palves@redhat.com>
13090
13091 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13092
13093 2015-04-23 Pedro Alves <palves@redhat.com>
13094
13095 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13096 on $any_spawn_id instead of only on $gdb_spawn_id.
13097
13098 2015-04-21 Pierre Muller <muller@sourceware.org>
13099
13100 PR pascal/17815
13101 * lib/pascal.exp (gpc_compile): Add new option "class".
13102 (fpc_compile): Likewise.
13103 * gdb.pascal/case-insensitive-symbols.pas: New file.
13104 * gdb.pascal/case-insensitive-symbols.exp: New file.
13105
13106 2015-04-20 Gary Benson <gbenson@redhat.com>
13107
13108 * gdb.base/attach.exp: Fix three extended remote failures.
13109
13110 2015-04-17 Gary Benson <gbenson@redhat.com>
13111
13112 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13113 the main executable over the remote protocol.
13114
13115 2015-04-16 Pedro Alves <palves@redhat.com>
13116
13117 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13118 a new gdbserver if gdbserver_reconnect_p is set.
13119
13120 2015-04-16 Pedro Alves <palves@redhat.com>
13121
13122 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13123 is set, don't exit gdbserver.
13124
13125 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13126
13127 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13128 appropriate .insn, such that an older assembler can be used.
13129 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13130 the z/Architecture instruction set on 31-bit targets as well.
13131
13132 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13133
13134 * gdb.go/handcall.exp: Remove all logic related to the first
13135 breakpoint and rely on go_runto_main instead.
13136 * gdb.go/strings.exp: Likewise.
13137 * gdb.go/unsafe.exp: Likewise.
13138 * gdb.go/hello.exp: Likewise. Also rename the remaining
13139 breakpoint marker to "breakpoint 1".
13140 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13141 * gdb.go/strings.go: Likewise.
13142 * gdb.go/unsafe.go: Likewise.
13143 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13144 "set breakpoint 2 here" and rename the remaining breakpoint marker
13145 to "breakpoint 1".
13146
13147 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13148
13149 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13150 if itertools.imap is not present.
13151 * gdb.python/py-objfile.exp: Add parentheses.
13152 * gdb.python/py-type.exp: Same.
13153 * gdb.python/py-unwind-maint.py: Same.
13154
13155 2015-04-15 Yao Qi <yao.qi@linaro.org>
13156
13157 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13158 of ":$ptr_size" and set its form explicitly.
13159
13160 2015-04-15 Pedro Alves <palves@redhat.com>
13161 Yao Qi <yao.qi@linaro.org>
13162
13163 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13164 timeout by factor of 4.
13165 (test_regular_watch): Likewise.
13166 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13167 * gdb.reverse/sigall-reverse.exp: Likewise.
13168 * gdb.reverse/until-precsave.exp: Likewise.
13169 * lib/gdb.exp (with_timeout_factor): New proc.
13170 (gdb_expect): Move some code to ...
13171 (get_largest_timeout): ... here. New procedure.
13172
13173 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13174
13175 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13176
13177 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13178
13179 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13180 to write to the .text section.
13181
13182 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13183
13184 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13185 Handle the case of targets that do not provide PID information.
13186
13187 2015-04-13 Yao Qi <yao.qi@linaro.org>
13188
13189 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13190 and use expect instead of gdb_expect.
13191
13192 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13193
13194 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13195 "coredump_var_addr" to avoid naming conflict with other testcases.
13196
13197 2015-04-10 Pedro Alves <palves@redhat.com>
13198
13199 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13200 gdb_test_sequence and gdb_assert.
13201
13202 2015-04-10 Pedro Alves <palves@redhat.com>
13203
13204 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13205 test messages that don't include the breakpoint address.
13206
13207 2015-04-10 Yao Qi <yao.qi@linaro.org>
13208
13209 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13210 false for some offset and width combinations which aren't
13211 supported by linux kernel.
13212
13213 2015-04-10 Pedro Alves <palves@redhat.com>
13214
13215 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13216 procedure, factored out from ...
13217 (top level): ... here. Add "set displaced-stepping" testing axis.
13218 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13219 parameter "displaced". Use it.
13220 (top level): Use foreach and add "set displaced-stepping" testing
13221 axis.
13222
13223 2015-04-10 Pedro Alves <palves@redhat.com>
13224
13225 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13226 Remove comment.
13227 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13228 both the address of the instruction that triggers the watchpoint
13229 and the address of the instruction immediately after, and use
13230 those addresses for the test. Fix comment.
13231
13232 2015-04-10 Pedro Alves <palves@redhat.com>
13233
13234 * gdb.base/sigstep.exp (breakpoint_to_handler)
13235 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13236 Test "backtrace" in handler.
13237 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13238 (top level): Add new "displaced" test axis to
13239 breakpoint_to_handler, breakpoint_to_handler_entry and
13240 breakpoint_over_handler.
13241
13242 2015-04-10 Pedro Alves <palves@redhat.com>
13243
13244 PR gdb/18216
13245 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13246
13247 2015-04-10 Yao Qi <yao.qi@linaro.org>
13248
13249 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13250 (test_add_rn_pc): New function.
13251 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13252 (top level): Invoke test_add_rn_pc.
13253
13254 2015-04-10 Pedro Alves <palves@redhat.com>
13255
13256 PR gdb/13858
13257 * gdb.base/step-over-no-symbols.exp: New file.
13258
13259 2015-04-09 Andy Wingo <wingo@igalia.com>
13260
13261 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13262 after the Python tests.
13263
13264 2015-04-08 Keith Seitz <keiths@redhat.com>
13265
13266 PR python/16699
13267 * gdb.python/py-completion.exp: New tests for completion.
13268 * gdb.python/py-completion.py (CompleteLimit1): New class.
13269 (CompleteLimit2): Likewise.
13270 (CompleteLimit3): Likewise.
13271 (CompleteLimit4): Likewise.
13272 (CompleteLimit5): Likewise.
13273 (CompleteLimit6): Likewise.
13274 (CompleteLimit7): Likewise.
13275
13276 2015-04-08 Pedro Alves <palves@redhat.com>
13277
13278 PR gdb/18214
13279 PR gdb/18216
13280 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13281 function.
13282 (main): Install it as SIGUSR1 handler.
13283 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13284 parameter. Always use "setup" as prefix. Toggle "set
13285 displaced-stepping" off/on depending on global. Don't switch to
13286 thread 1 here.
13287 (top level): Add displaced stepping "off/on" test axis. Update
13288 "setup" calls. Wrap each subtest with with_test_prefix. Test
13289 continuing with a queued signal in each thread.
13290
13291 2015-04-08 Pedro Alves <palves@redhat.com>
13292
13293 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13294 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13295 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13296 Return early if running to main fails.
13297 * gdb.trace/while-stepping.exp: Likewise.
13298
13299 2015-04-07 Pedro Alves <palves@redhat.com>
13300
13301 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13302 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13303 interact with inferior program.
13304
13305 2015-04-07 Pedro Alves <palves@redhat.com>
13306
13307 * lib/gdb.exp (inferior_spawn_id): New global.
13308 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13309 spawn id after processing the user code.
13310 (default_gdb_start): Set inferior_spawn_id.
13311 (send_inferior): New procedure.
13312 * lib/gdbserver-support.exp (gdbserver_start): Set
13313 inferior_spawn_id.
13314 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13315
13316 2015-04-07 Pedro Alves <palves@redhat.com>
13317
13318 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13319 * lib/gdbserver-support.exp (gdbserver_start): Make
13320 $server_spawn_id global.
13321 (gdbserver_start): Don't wait for gdbserver's spawn id with
13322 expect_background.
13323 (close_gdbserver): New procedure.
13324 (gdb_exit): Rename the default version and reimplement.
13325
13326 2015-04-07 Pedro Alves <palves@redhat.com>
13327
13328 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13329 append the substituted item, not the original item.
13330
13331 2015-04-07 Pedro Alves <palves@redhat.com>
13332
13333 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13334 gdb_expect.
13335
13336 2015-04-07 Pedro Alves <palves@redhat.com>
13337
13338 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13339 output appearing once only.
13340
13341 2015-04-07 Pedro Alves <palves@redhat.com>
13342
13343 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13344 that doesn't expect anything. Return early if running to main
13345 fails.
13346
13347 2015-04-07 Yao Qi <yao.qi@linaro.org>
13348
13349 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13350 (child_function): Call alarm.
13351 (main): Move call to alarm into the loop.
13352 * gdb.threads/non-stop-fair-events.exp: Build program with
13353 -DTIMEOUT=$timeout.
13354
13355 2015-04-06 Doug Evans <xdje42@gmail.com>
13356
13357 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13358 Fix dest parameter to board_info.
13359 (fpc_compile): Ditto.
13360 (gdb_compile_pascal): Rename dest arg to destfile.
13361
13362 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13363
13364 * gdb.ada/funcall_ref.exp: New file.
13365 * gdb.ada/funcall_ref/foo.adb: New file.
13366
13367 2015-04-02 Yao Qi <yao.qi@linaro.org>
13368
13369 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13370 is remote.
13371
13372 2015-04-02 Gary Benson <gbenson@redhat.com>
13373
13374 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13375
13376 2015-04-01 Sasha Smundak <asmundak@google.com>
13377
13378 * gdb.python/py-unwind-maint.c: New file.
13379 * gdb.python/py-unwind-maint.exp: New test.
13380 * gdb.python/py-unwind-maint.py: New file.
13381 * gdb.python/py-unwind.c: New file.
13382 * gdb.python/py-unwind.exp: New test.
13383 * gdb.python/py-unwind.py: New test.
13384
13385 2015-04-01 Pedro Alves <palves@redhat.com>
13386
13387 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13388 to fail instead of non-existent $test.
13389
13390 2015-04-01 Pedro Alves <palves@redhat.com>
13391
13392 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13393 GDBFLAGS if not empty.
13394
13395 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13396
13397 * gdb.ada/complete.exp: Remove "multi_line".
13398 * gdb.ada/info_exc.exp: Remove "multi_line".
13399 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13400 * gdb.ada/ptype_field.exp: Remove "multi_line".
13401 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13402 * gdb.ada/tagged.exp: Remove "multi_line".
13403 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13404 [multi_line ...]
13405 * gdb.btrace/delta.exp: Likewise.
13406 * gdb.btrace/exception.exp: Likewise.
13407 * gdb.btrace/function_call_history.exp: Likewise.
13408 * gdb.btrace/instruction_history.exp: Likewise.
13409 * gdb.btrace/nohist.exp: Likewise.
13410 * gdb.btrace/record_goto.exp: Likewise.
13411 * gdb.btrace/segv.exp: Likewise.
13412 * gdb.btrace/stepi.exp: Likewise.
13413 * gdb.btrace/tailcall.exp: Likewise.
13414 * gdb.btrace/unknown_functions.exp: Likewise.
13415 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13416 * lib/gdb.exp: Add the "multi_line" helper.
13417
13418 2015-04-01 Pedro Alves <palves@redhat.com>
13419
13420 * gdb.threads/tid-reuse.c: New file.
13421 * gdb.threads/tid-reuse.exp: New file.
13422
13423 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13424
13425 PR corefiles/16092
13426 * gdb.base/coredump-filter.c: New file.
13427 * gdb.base/coredump-filter.exp: Likewise.
13428
13429 2015-03-27 Petr Machata <pmachata@redhat.com>
13430
13431 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13432 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13433 (Dwarf::assemble): Initialize them.
13434 (Dwarf::lines): New function.
13435
13436 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13437
13438 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13439 SYMBOL_PREFIX for x86_64-*-cygwin.
13440
13441 2015-03-26 Andy Wingo <wingo@igalia.com>
13442
13443 PR symtab/18148
13444 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13445 const_value but not a location.
13446 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13447 location defined in non-main CUs are visible.
13448
13449 2015-03-26 Yao Qi <yao.qi@linaro.org>
13450
13451 PR testsuite/18139
13452 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13453 Add a line number entry for the same line.
13454 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13455 Add a line number entry for the same line.
13456
13457 2015-03-26 Yao Qi <yao.qi@linaro.org>
13458
13459 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13460 .int 0.
13461 (func): Likewise. Add .Lfunc_1 label.
13462 Use .Lfunc_1 label.
13463 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13464 .int 0.
13465 (func): Likewise.
13466 Use .Lfunc_1 label.
13467
13468 2015-03-26 Yao Qi <yao.qi@linaro.org>
13469
13470 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13471 Call gdb_compile instead to compile each .s files without debug
13472 information.
13473
13474 2015-03-26 Yao Qi <yao.qi@linaro.org>
13475
13476 * gdb.base/savedregs.exp (process_saved_regs): Make
13477 "Saved registers:" optional in the pattern.
13478
13479 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13480
13481 * gdb.btrace/next.exp: Merged into step.exp.
13482 * gdb.btrace/finish.exp: Merged into step.exp.
13483 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13484 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13485 "record goto" and checking the exact replay position.
13486 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13487 check for "Recording format" in "info record" output.
13488 * gdb.btrace/record_goto.exp: Choose test file based on target.
13489 * gdb.btrace/x86-record_goto.S: Renamed into ...
13490 * gdb.btrace/x86_64-record_goto.S: ... this.
13491 * gdb.btrace/i686-record_goto.S: New.
13492 * gdb.btrace/x86-tailcall.S: Renamed into ...
13493 * gdb.btrace/x86_64-tailcall.S: ... this.
13494 * gdb.btrace/i686-tailcall.S: New.
13495 * gdb.btrace/x86-tailcall.c: Renamed into ...
13496 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13497 separate statements. Update test.
13498 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13499 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13500 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13501 * gdb.btrace/tailcall.exp: Choose test file based on target.
13502 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13503
13504 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13505
13506 * gdb.btrace/exception.exp: Increase BTS buffer size.
13507
13508 2015-03-24 Pedro Alves <palves@redhat.com>
13509
13510 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13511
13512 2015-03-24 Pedro Alves <palves@redhat.com>
13513
13514 * gdb.threads/schedlock.exp (test_step): No longer expect that
13515 "set scheduler-locking step" with "next" over a function call runs
13516 threads unlocked.
13517
13518 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13519
13520 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13521
13522 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13523
13524 PR breakpoints/16466
13525 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13526 * gdb.mi/mi-pending.c (thread_func): New function.
13527 (int main): Add threading support required.
13528 * gdb.mi/mi-pending.exp: Add tests for this issue.
13529 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13530 (pendfunc2): Remove stdio dependency.
13531 * gdb.mi/mi-pendshr2.c: New file.
13532
13533 2015-03-23 Keith Seitz <keiths@redhat.com>
13534
13535 * gdb.linespec/keywords.c: New file.
13536 * gdb.linespec/keywords.exp: New file.
13537
13538 2015-03-23 Keith Seitz <keiths@redhat.com>
13539
13540 PR gdb/18021
13541 * gdb.dwarf2/staticvirtual.exp: New test.
13542
13543 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13544
13545 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13546 * README: Remove HP-UX and gdb.hp.
13547 (configuration):
13548 * configure: Regenerate.
13549 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13550 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13551 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13552 gdb.hp/gdb.defects/Makefile.
13553 * gdb.hp/Makefile.in: File deleted.
13554 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13555 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13556 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13557 * gdb.hp/gdb.aCC/run.c: File deleted.
13558 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13559 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13560 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13561 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13562 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13563 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13564 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13565 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13566 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13567 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13568 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13569 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13570 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13571 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13572 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13573 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13574 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13575 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13576 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13577 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13578 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13579 * gdb.hp/gdb.compat/average.c: File deleted.
13580 * gdb.hp/gdb.compat/sum.c: File deleted.
13581 * gdb.hp/gdb.compat/xdb.c: File deleted.
13582 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13583 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13584 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13585 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13586 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13587 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13588 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13589 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13590 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13591 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13592 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13593 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13594 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13595 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13596 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13597 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13598 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13599 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13600 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13601 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13602 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13603 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13604 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13605 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13606 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13607 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13608 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13609 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13610 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13611 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13612 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13613 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13614 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13615 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13616 * gdb.hp/tools/odump: File deleted.
13617
13618 2015-03-19 Pedro Alves <palves@redhat.com>
13619
13620 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13621 (saw_thread_3): New globals.
13622 (top level): Increment them when an event for the corresponding
13623 thread is seen.
13624 (no thread starvation): New test.
13625
13626 2015-03-19 Pedro Alves <palves@redhat.com>
13627
13628 * gdb.threads/continue-pending-status.c: New file.
13629 * gdb.threads/continue-pending-status.exp: New file.
13630
13631 2015-03-18 Pedro Alves <palves@redhat.com>
13632
13633 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13634 Use gdb_is_target_remote instead of is_remote. Use
13635 gdb_test_multiple instead of gdb_expect. Exit early if
13636 gdb_test_multiple hits its internal matches. Tighten stepi tests
13637 expected output. Fail on exit with any signal, instead of just
13638 SIGILL.
13639
13640 2015-03-18 Yao Qi <yao.qi@linaro.org>
13641
13642 PR tdep/18107
13643 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13644 variable.
13645 * gdb.base/catch-syscall.exp: Don't skip it on
13646 aarch64*-*-linux* target. Remove elements in all_syscalls.
13647 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13648 target.
13649 (setup_all_syscalls): New proc.
13650
13651 2015-03-16 Yao Qi <yao.qi@linaro.org>
13652
13653 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13654 (top level): Skip tests if valid_addr_p returns false for
13655 $cmd1 or $cmd2.
13656
13657 2015-03-11 Andy Wingo <wingo@igalia.com>
13658
13659 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13660
13661 2015-03-11 Yao Qi <yao.qi@linaro.org>
13662
13663 * gdb.base/catch-syscall.exp: Fix typo in comments.
13664
13665 2015-03-11 Yao Qi <yao.qi@linaro.org>
13666
13667 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13668
13669 2015-03-09 Pedro Alves <palves@redhat.com>
13670
13671 * dg-extract-results.py: Delete.
13672
13673 2015-03-09 Pedro Alves <palves@redhat.com>
13674
13675 Merge dg-extract-results.sh from GCC upstream (r218843).
13676
13677 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13678 * dg-extract-results.sh: Use --text with grep to avoid issues with
13679 binary files. Fall back to cat -v, if that doesn't work.
13680
13681 2015-03-05 Pedro Alves <palves@redhat.com>
13682
13683 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13684
13685 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13686
13687 * lib/mi-support.exp (mi_expect_interrupt): Accept
13688 alternative event for when in all-stop mode.
13689
13690 2015-03-04 Pedro Alves <palves@redhat.com>
13691
13692 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13693
13694 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13695
13696 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13697
13698 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13699
13700 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13701 regexps for GDB's current line display, accept a hex address
13702 preceding the line number.
13703
13704 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13705
13706 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13707 the 'arch1' variable for "s390*-linux*" targets.
13708
13709 2015-03-04 Pedro Alves <palves@redhat.com>
13710
13711 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13712 (main): Pass missing retval argument to pthread_join call.
13713
13714 2015-03-02 Pedro Alves <palves@redhat.com>
13715
13716 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13717 (top level): Call do_test with non-stop as well.
13718
13719 2015-03-02 Pedro Alves <palves@redhat.com>
13720
13721 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13722 -1.
13723
13724 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13725
13726 * gdb.arch/s390-vregs.exp: New test.
13727 * gdb.arch/s390-vregs.S: New file.
13728
13729 2015-02-27 Pedro Alves <palves@redhat.com>
13730
13731 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13732 call to catch_command_errors.
13733 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13734 catch_command_errors.
13735
13736 2015-02-27 Pedro Alves <palves@redhat.com>
13737
13738 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13739 "true" for boolean result.
13740 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13741 prototype of main.
13742
13743 2015-02-27 Pedro Alves <palves@redhat.com>
13744
13745 * lib/unbuffer_output.c: New file.
13746 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13747 (main): Call gdb_unbuffer_output.
13748
13749 2015-02-27 Yao Qi <yao.qi@linaro.org>
13750
13751 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13752 target.
13753
13754 2015-02-26 Doug Evans <dje@google.com>
13755
13756 * gdb.cp/class2.cc (Dbase, D): New classes.
13757 (main): New local delta.
13758 * gdb.cp/class2.exp: Test printing delta.
13759 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13760 (dynbar): New global.
13761 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13762
13763 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13764
13765 * gdb.compile/compile-ifunc.c: New file.
13766 * gdb.compile/compile-ifunc.exp: New file.
13767
13768 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13769
13770 * gdb.base/structs.exp: Check for correct struct on finish.
13771
13772 2015-02-26 Yao Qi <yao.qi@linaro.org>
13773
13774 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13775 is zero.
13776
13777 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13778
13779 * gdb.arch/cordic.ko.bz2: New file.
13780 * gdb.arch/cordic.ko.debug.bz2: New file.
13781 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13782
13783 2015-02-25 Yao Qi <yao.qi@linaro.org>
13784
13785 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13786 aarch64*-*-* target.
13787
13788 2015-02-23 Pedro Alves <palves@redhat.com>
13789
13790 * lib/gdb.exp (delete_breakpoints): Rewrite using
13791 gdb_test_multiple.
13792
13793 2015-02-23 Pedro Alves <palves@redhat.com>
13794
13795 * gdb.base/info-os.c: Include stdlib.h.
13796
13797 2015-02-22 Doug Evans <xdje42@gmail.com>
13798
13799 PR symtab/17855
13800 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13801 is read after symbols have been re-read.
13802 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13803 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13804
13805 2015-02-21 Doug Evans <dje@google.com>
13806
13807 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13808
13809 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13810
13811 PR corefiles/17808
13812 * gdb.arch/i386-biarch-core.core.bz2: New file.
13813 * gdb.arch/i386-biarch-core.exp: New file.
13814
13815 2015-02-21 Pedro Alves <palves@redhat.com>
13816
13817 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13818 runto_main fails.
13819
13820 2015-02-20 Pedro Alves <palves@redhat.com>
13821
13822 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13823 info probes.
13824
13825 2015-02-20 Pedro Alves <palves@redhat.com>
13826
13827 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13828
13829 2015-02-20 Pedro Alves <palves@redhat.com>
13830
13831 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13832 clean_restart before gdb_target_supports_trace.
13833
13834 2015-02-20 Pedro Alves <palves@redhat.com>
13835
13836 PR threads/18006
13837 * gdb.threads/clone-thread_db.c: New file.
13838 * gdb.threads/clone-thread_db.exp: New file.
13839
13840 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13841
13842 PR breakpoints/16812
13843 * gdb.base/catch-gdb-caused-signals.c: New file.
13844 * gdb.base/catch-gdb-caused-signals.exp: New file.
13845
13846 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13847
13848 * configure: Regenerated.
13849 * configure.ac: Use GDB_AC_TRANSFORM.
13850 * aclocal.m4: sinclude ../transform.m4.
13851
13852 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13853
13854 * lib/dtrace.exp: New file.
13855 * gdb.base/dtrace-probe.exp: Likewise.
13856 * gdb.base/dtrace-probe.d: Likewise.
13857 * gdb.base/dtrace-probe.c: Likewise.
13858 * lib/pdtrace.in: Likewise.
13859 * configure.ac: Output variables with the transformed names of
13860 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13861 * configure: Regenerated.
13862
13863 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13864
13865 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13866 expected message when trying to access $_probe_* convenience
13867 variables while not on a probe.
13868
13869 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13870
13871 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13872
13873 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13874
13875 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13876 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13877
13878 2015-02-10 Doug Evans <xdje42@gmail.com>
13879
13880 * lib/gdb.exp (gdb_load): Always return a result.
13881
13882 2015-02-10 Pedro Alves <palves@redhat.com>
13883
13884 * gdb.threads/signal-sigtrap.c: New file.
13885 * gdb.threads/signal-sigtrap.exp: New file.
13886
13887 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13888
13889 * gdb.trace/no-attach-trace.c: New file.
13890 * gdb.trace/no-attach-trace.exp: New file.
13891
13892 2015-02-09 Mark Wielaard <mjw@redhat.com>
13893
13894 * gdb.dwarf2/atomic.c: New file.
13895 * gdb.dwarf2/atomic-type.exp: Likewise.
13896
13897 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13898
13899 * gdb.btrace/buffer-size.exp: Update "info record" output.
13900 * gdb.btrace/delta.exp: Update "info record" output.
13901 * gdb.btrace/enable.exp: Update "info record" output.
13902 * gdb.btrace/finish.exp: Update "info record" output.
13903 * gdb.btrace/instruction_history.exp: Update "info record" output.
13904 * gdb.btrace/next.exp: Update "info record" output.
13905 * gdb.btrace/nexti.exp: Update "info record" output.
13906 * gdb.btrace/step.exp: Update "info record" output.
13907 * gdb.btrace/stepi.exp: Update "info record" output.
13908 * gdb.btrace/nohist.exp: Update "info record" output.
13909
13910 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13911
13912 * gdb.btrace/buffer-size: New.
13913
13914 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13915
13916 * gdb.btrace/delta.exp: Update "info record" output.
13917 * gdb.btrace/enable.exp: Update "info record" output.
13918 * gdb.btrace/finish.exp: Update "info record" output.
13919 * gdb.btrace/instruction_history.exp: Update "info record" output.
13920 * gdb.btrace/next.exp: Update "info record" output.
13921 * gdb.btrace/nexti.exp: Update "info record" output.
13922 * gdb.btrace/step.exp: Update "info record" output.
13923 * gdb.btrace/stepi.exp: Update "info record" output.
13924 * gdb.btrace/nohist.exp: Update "info record" output.
13925
13926 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13927
13928 PR gdb/15678
13929 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13930
13931 2015-02-06 Pedro Alves <palves@redhat.com>
13932
13933 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13934 macro.
13935 (seconds_left, again): New globals.
13936 (main): Wait seconds_left in a 1-second sleep loop instead of
13937 sleeping 180 seconds. If 'again' is set, reset the seconds
13938 counter.
13939 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13940 'again' in the inferior before detaching. Print the seconds left.
13941 (options): New global.
13942 (top level): Build program with -DTIMEOUT=$timeout.
13943
13944 2015-02-06 Pedro Alves <palves@redhat.com>
13945
13946 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13947 determine how many seconds to pass to 'alarm'.
13948 * gdb.base/gdb-sigterm.exp (top level): Build program with
13949 -DTIMEOUT=$timeout.
13950 (do_test): Return success/failure indication. Add more verbose
13951 logging. Don't fail if 200 single steps are seen. Instead, fail
13952 when the test times out.
13953 (passes): New global.
13954 (top level): Break the testing loop if testing fails on any
13955 iteration. Use gdb_assert.
13956
13957 2015-02-04 Don Breazeal <donb@codesourcery.com>
13958
13959 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13960 and initialize them.
13961 (ipc_cleanup): New function.
13962 (main): Don't declare shmid, semid, and msqid. Add a call to
13963 atexit so that we call ipc_cleanup on exit.
13964
13965 2015-02-04 Pedro Alves <palves@redhat.com>
13966
13967 * boards/native-extended-gdbserver.exp: Remove any target variant
13968 specifications from the board name before clearing the isremote
13969 flag from board_info.
13970
13971 2015-01-31 Doug Evans <xdje42@gmail.com>
13972
13973 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13974
13975 2015-01-31 Gary Benson <gbenson@redhat.com>
13976
13977 * gdb.base/completion.exp: Disable completion limiting for
13978 existing tests. Add new tests to check completion limiting.
13979 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13980
13981 2015-01-31 Doug Evans <xdje42@gmail.com>
13982
13983 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13984
13985 2015-01-31 Doug Evans <xdje42@gmail.com>
13986
13987 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13988 entries. Duplicate file section script entries.
13989 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13990 inlined entries. Add test for safe-path rejection.
13991 * gdb.python/py-section-script.c: Add duplicate inlined section script
13992 entries. Duplicate file section script entries.
13993 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13994 inlined entries. Add test for safe-path rejection.
13995
13996 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13997
13998 * gdb.ada/disc_arr_bound: New testcase.
13999
14000 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14001
14002 * gdb.ada/mi_var_array: New testcase.
14003
14004 2015-01-27 Doug Evans <dje@google.com>
14005
14006 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14007 Add test for objfile.filename, objfile.username after objfile
14008 has been unloaded.
14009
14010 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14011
14012 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14013 the second test to print the name attribute of value
14014 returned by the call to gdb.lookup_type, and adjust
14015 the expected output accordingly.
14016
14017 2015-01-25 Mark Wielaard <mjw@redhat.com>
14018
14019 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14020 * gdb.base/disp-step-fork.c: Include unistd.h.
14021 * gdb.base/siginfo-obj.c: Include stdio.h.
14022 * gdb.base/siginfo-thread.c: Likewise.
14023 * gdb.mi/non-stop.c: Include unistd.h.
14024 * gdb.mi/nsthrexec.c: Include stdio.h.
14025 * gdb.mi/pthreads.c: Include unistd.h.
14026 * gdb.modula2/unbounded1.c (main): Declare returns int.
14027 * gdb.reverse/consecutive-reverse.c: Likewise.
14028 * gdb.threads/create-fail.c: Include unistd.h.
14029 * gdb.threads/killed.c: Likewise.
14030 * gdb.threads/linux-dp.c: Likewise.
14031 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14032 * gdb.threads/non-ldr-exc-2.c: Likewise.
14033 * gdb.threads/non-ldr-exc-3.c: Likewise.
14034 * gdb.threads/non-ldr-exc-4.c: Likewise.
14035 * gdb.threads/pthreads.c: Include unistd.h.
14036 (main): Declare returns int.
14037 * gdb.threads/tls-main.c (foo): New declaration.
14038 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14039
14040 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14041
14042 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14043 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14044
14045 2015-01-15 Mark Wielaard <mjw@redhat.com>
14046
14047 * gdb.base/noreturn-return.c: New file.
14048 * gdb.base/noreturn-return.exp: New file.
14049 * gdb.base/noreturn-finish.c: New file.
14050 * gdb.base/noreturn-finish.exp: New file.
14051
14052 2015-01-23 Pedro Alves <palves@redhat.com>
14053
14054 * gdb.threads/continue-pending-after-query.c: New file.
14055 * gdb.threads/continue-pending-after-query.exp: New file.
14056
14057 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14058 Simon Marchi <simon.marchi@ericsson.com>
14059
14060 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14061 * gdb.base/valgrind-db-attach.exp: Same.
14062 * gdb.base/valgrind-infcall.exp: Same.
14063 * lib/mi-support.exp (default_mi_gdb_start): Same.
14064 * lib/prompt.exp (default_prompt_gdb_start): Same.
14065 * lib/gdb.exp (default_gdb_spawn): Same.
14066 (gdb_interact): New.
14067
14068
14069 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14070
14071 * gdb.compile/compile.exp (pointer to jit function): New test.
14072
14073 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14074
14075 * lib/gdb.exp (supports_process_record): Return true for
14076 powerpc*-*-linux*.
14077 (supports_reverse): Likewise.
14078
14079 2015-01-15 Don Breazeal <donb@codesourcery.com>
14080
14081 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14082 instead of checking whether the target board is remote and
14083 use spawn_wait_for_attach instead of exec/sleep.
14084 * gdb.base/attach-twice.exp: Likewise.
14085
14086 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14087
14088 * gdb.ada/var_arr_attrs: New testcase.
14089
14090 2015-01-14 Pedro Alves <palves@redhat.com>
14091 Joel Brobecker <brobecker@adacore.com>
14092
14093 PR gdb/17525
14094 * gdb.base/bp-cmds-execution-x-script.c: New file.
14095 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14096 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14097
14098 2015-01-14 Pedro Alves <palves@redhat.com>
14099
14100 PR cli/17828
14101 * gdb.base/batch-preserve-term-settings.c: New file.
14102 * gdb.base/batch-preserve-term-settings.exp: New file.
14103
14104 2015-01-13 Doug Evans <dje@google.com>
14105
14106 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14107 binary.
14108
14109 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14110
14111 * Makefile.in (clean mostlyclean): Do not delete *.py.
14112
14113 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14114
14115 * gdb.python/py-lookup-type.exp: New file.
14116
14117 2015-01-12 Pedro Alves <palves@redhat.com>
14118
14119 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14120 restore GDBFLAGS before returning.
14121
14122 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14123
14124 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14125 is_amd64_regs_target and is_x86_like_target.
14126
14127 2015-01-11 Doug Evans <xdje42@gmail.com>
14128
14129 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14130 is given without an explicit form.
14131 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14132 attributes.
14133 * gdb.dwarf/corrupt.exp: Ditto.
14134 * gdb.dwarf2/enum-type.exp: Ditto.
14135 * gdb.trace/entry-values.exp: Ditto.
14136 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14137
14138 2015-01-11 Doug Evans <xdje42@gmail.com>
14139
14140 PR gdb/15830
14141 * gdb.base/maint.exp: Remove references to "maint demangle".
14142 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14143 Add tests for explicitly specifying language to demangle.
14144 * gdb.dlang/demangle.exp: Ditto.
14145
14146 2015-01-09 Pedro Alves <palves@redhat.com>
14147
14148 * gdb.threads/non-stop-fair-events.c: New file.
14149 * gdb.threads/non-stop-fair-events.exp: New file.
14150
14151 2015-01-09 Pedro Alves <palves@redhat.com>
14152
14153 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14154 the global scope. Set a breakpoint after all threads are started
14155 rather than stepping over two source lines. Expect the prompt.
14156 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14157 global.
14158 (NUM): Now 15.
14159 (main): Use threads_started_barrier to wait for all threads to
14160 start. Main thread no longer calls thread_function. Exit after
14161 180 seconds.
14162 (loop): New function.
14163 (thread_function): Wait on threads_started_barrier barrier. Call
14164 'loop' at each iteration.
14165 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14166 threads have started, instead of hardcoding number of "next"
14167 steps. Use an access watchpoint instead of a write watchpoint.
14168
14169 2015-01-09 Pedro Alves <palves@redhat.com>
14170
14171 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14172 (thread_func): Wait on barrier.
14173 (main): Wait for all threads to start before stopping GDB.
14174 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14175 global.
14176 (thread1_func, thread2_func): Wait on barrier.
14177 (main): Wait for all threads to start before stopping GDB.
14178 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14179 New global.
14180 (thread1_func, thread2_func): Wait on barrier.
14181 (main): Wait for all threads to start before stopping GDB.
14182
14183 2015-01-09 Pedro Alves <palves@redhat.com>
14184
14185 * gdb.threads/attach-many-short-lived-threads.c: New file.
14186 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14187
14188 2014-01-09 Pedro Alves <palves@redhat.com>
14189
14190 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14191 instead of to thread 2.
14192 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14193 Add barrier around each pthread_create call instead of around all
14194 calls.
14195 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14196 Set a break on thread_function and have the child threads hit it
14197 one at at a time.
14198
14199 2015-01-09 Pedro Alves <palves@redhat.com>
14200
14201 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14202 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14203 false.
14204 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14205 checking whether the target board is remote.
14206 * gdb.multi/multi-attach.exp: Likewise.
14207 * gdb.python/py-sync-interp.exp: Likewise.
14208 * gdb.server/ext-attach.exp: Likewise.
14209 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14210 tests that need to attach, instead of checking whether the target
14211 board is remote at the top of the file.
14212
14213 2015-01-08 Yao Qi <yao@codesourcery.com>
14214
14215 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14216
14217 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14218
14219 Fix testcase compilation.
14220 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14221
14222 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14223
14224 * gdb.python/py-type.exp: Add a couple test about empty
14225 array creation, and negative-length array creation.
14226
14227 2015-01-02 Doug Evans <xdje42@gmail.com>
14228
14229 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14230
14231 2015-01-02 Doug Evans <dje@google.com>
14232
14233 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14234
14235 2014-12-29 Yao Qi <yao@codesourcery.com>
14236
14237 * gdb.trace/entry-values.exp: Update comments. Rename variable
14238 bar_call_foo to returned_from_foo.
14239
14240 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14241
14242 PR gdb/17394
14243 * gdb.linespec/break-asm-file.c: New file.
14244 * gdb.linespec/break-asm-file.exp: New file.
14245 * gdb.linespec/break-asm-file0.s: New file.
14246 * gdb.linespec/break-asm-file1.s: New file.
14247
14248 2014-12-18 Nigel Stephens <nigel@mips.com>
14249 Maciej W. Rozycki <macro@codesourcery.com>
14250
14251 * gdb.base/float.exp: Handle the new output from "info float" on
14252 MIPS targets.
14253
14254 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14255
14256 Fix MinGW compilation.
14257 * gdb.compile/compile-ops.exp: Update untested message if
14258 !skip_compile_feature_tests.
14259 * gdb.compile/compile-setjmp.exp: Likewise.
14260 * gdb.compile/compile-tls.exp: Likewise.
14261 * gdb.compile/compile.exp: Likewise.
14262 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14263 supported on this host".
14264
14265 2014-12-16 Doug Evans <xdje42@gmail.com>
14266
14267 * boards/stabs.exp: New file.
14268
14269 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14270
14271 * gdb.base/completion.exp: Adjust to format changes of "maint
14272 print user-registers".
14273
14274 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14275
14276 PR server/17457
14277 * gdb.arch/aarch64-fp.c: New file.
14278 * gdb.arch/aarch64-fp.exp: New file.
14279
14280 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14281
14282 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14283 r210637, r210913, r211666, r215400, r215817).
14284
14285 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14286 * dg-extract-results.py: New file.
14287 * dg-extract-results.sh: Use it if the environment seems
14288 suitable.
14289
14290 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14291
14292 * dg-extract-results.py (parse_run): Handle warnings that
14293 are printed before a test harness is run.
14294
14295 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14296
14297 * dg-extract-results.py (Named): Remove __cmp__ method.
14298 (output_variation): Use a key to sort variation.harnesses.
14299
14300 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14301
14302 * dg-extract-results.py: For Python 3, force sys.stdout to
14303 handle surrogate escape sequences.
14304 (safe_open): New function.
14305 (output_segment, main): Use it.
14306
14307 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14308
14309 * dg-extract-results.py (Prog.result_re): Include options
14310 in test name.
14311
14312 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14313
14314 * dg-extract-results.py (output_variation): Always sort if
14315 do_sum.
14316
14317 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14318
14319 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14320 as long as we get pagination notifications.
14321
14322 2014-12-15 Jason Merrill <jason@redhat.com>
14323
14324 * Makefile.in (check-gdb.%): Restore.
14325 * README: Mention it.
14326
14327 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14328
14329 * gdb.ada/str_uninit: New testcase.
14330
14331 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14332
14333 PR symtab/17642
14334 * gdb.base/vla-stub-define.c: New file.
14335 * gdb.base/vla-stub.c: New file.
14336 * gdb.base/vla-stub.exp: New file.
14337
14338 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14339 Jan Kratochvil <jan.kratochvil@redhat.com>
14340 Tom Tromey <tromey@redhat.com>
14341
14342 * configure.ac: Add gdb.compile/.
14343 * configure: Regenerate.
14344 * gdb.compile/Makefile.in: New file.
14345 * gdb.compile/compile-ops.exp: New file.
14346 * gdb.compile/compile-ops.c: New file.
14347 * gdb.compile/compile-tls.c: New file.
14348 * gdb.compile/compile-tls.exp: New file.
14349 * gdb.compile/compile-constvar.S: New file.
14350 * gdb.compile/compile-constvar.c: New file.
14351 * gdb.compile/compile-mod.c: New file.
14352 * gdb.compile/compile-nodebug.c: New file.
14353 * gdb.compile/compile-setjmp-mod.c: New file.
14354 * gdb.compile/compile-setjmp.c: New file.
14355 * gdb.compile/compile-setjmp.exp: New file.
14356 * gdb.compile/compile-shlib.c: New file.
14357 * gdb.compile/compile.c: New file.
14358 * gdb.compile/compile.exp: New file.
14359 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14360
14361 2014-12-12 Tom Tromey <tromey@redhat.com>
14362
14363 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14364 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14365
14366 2014-12-12 Doug Evans <dje@google.com>
14367
14368 * lib/gdb-python.exp (get_python_valueof): New function.
14369 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14370
14371 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14372
14373 * gdb.base/completion.exp: Add test for completion of "info
14374 registers ".
14375
14376 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14377
14378 * gdb.base/func-ptrs.c: New file.
14379 * gdb.base/func-ptrs.exp: New file.
14380
14381 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14382
14383 PR breakpoints/17012
14384 * gdb.base/dprintf-detach.c: New file.
14385 * gdb.base/dprintf-detach.exp: New file.
14386
14387 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14388
14389 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14390 * lib/gdb.exp (target_is_gdbserver): New procedure.
14391
14392 2014-12-08 Doug Evans <dje@google.com>
14393
14394 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14395
14396 2014-12-05 Yao Qi <yao@codesourcery.com>
14397
14398 * gdb.guile/scm-error.exp: Remove the third argument to
14399 gdb_remote_download.
14400 * gdb.guile/scm-frame-args.exp: Likewise.
14401 * gdb.guile/scm-section-script.exp: Likewise.
14402
14403 2014-12-05 Yao Qi <yao@codesourcery.com>
14404
14405 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14406
14407 2014-12-04 Doug Evans <dje@google.com>
14408
14409 * gdb.python/py-objfile.exp: Add tests for
14410 objfile.add_separate_debug_file.
14411
14412 2014-12-04 Doug Evans <dje@google.com>
14413
14414 * lib/gdb.exp (get_build_id): New function.
14415 (build_id_debug_filename_get): Rewrite to use it.
14416 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14417
14418 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14419
14420 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14421 `method(long)', not just 0x0.
14422 * gdb.cp/nsalias.exp: Align code labels to 4.
14423 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14424 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14425 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14426 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14427 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14428 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14429
14430 2014-12-02 Doug Evans <dje@google.com>
14431
14432 PR symtab/17602
14433 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14434 * gdb.cp/anon-ns2.cc: ... here. New file.
14435 * gdb.cp/anon-ns.exp: Update.
14436
14437 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14438
14439 * gdb.python/py-events.py (inferior_call_handler): New.
14440 (register_changed_handler, memory_changed_handler): New.
14441 (test_events.invoke): Register new handlers.
14442 * gdb.python/py-events.exp: Add tests for inferior call,
14443 memory_changed and register_changed events.
14444
14445 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14446
14447 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14448 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14449 if the linker doesn't understand this.
14450
14451 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14452
14453 * gdb.python/python.exp: Change expected reply to help().
14454
14455 2014-12-01 Yao Qi <yao@codesourcery.com>
14456
14457 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14458 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14459 * configure: Re-generated.
14460
14461 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14462
14463 * gdb.cp/chained-calls.cc: New file.
14464 * gdb.cp/chained-calls.exp: New file.
14465 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14466
14467 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14468
14469 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14470 * gdb.dwarf2/symtab-producer.exp: Same.
14471 * gdb.gdb/python-interrupts.exp: Same.
14472 * gdb.gdb/python-selftest.exp: Same.
14473 * gdb.python/py-linetable.exp: Same.
14474 * gdb.python/py-type.exp: Same.
14475 * gdb.python/py-value-cc.exp: Same.
14476 * gdb.python/py-value.exp: Same.
14477
14478 2014-11-28 Yao Qi <yao@codesourcery.com>
14479
14480 * gdb.base/break-probes.exp: Match library name prefixed with
14481 sysroot.
14482
14483 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14484
14485 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14486 test expected output. Add parentheses for the call to print.
14487 Remove L suffix from integers.
14488
14489 2014-11-26 Doug Evans <dje@google.com>
14490
14491 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14492
14493 2014-11-22 Yao Qi <yao@codesourcery.com>
14494
14495 * gdb.trace/entry-values.c: Remove asms.
14496 (foo): Add foo_label.
14497 (bar): Add bar_label.
14498 * gdb.trace/entry-values.exp: Remove code computing foo's
14499 length and bar's length.
14500 (Dwarf::assemble): Invoke function_range for bar and use
14501 MACRO_AT_func for foo.
14502
14503 2014-11-22 Yao Qi <yao@codesourcery.com>
14504
14505 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14506 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14507 Use .Lgcc43_procstart instead of gcc43.
14508
14509 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14510
14511 * gdb.ada/n_arr_bound: New testcase.
14512
14513 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14514
14515 PR breakpoints/10737
14516 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14517 test_catch_syscall_multi_arch.
14518 (test_catch_syscall_multi_arch): New function.
14519
14520 2014-11-20 Doug Evans <xdje42@gmail.com>
14521
14522 * gdb.base/maint.exp: Update expected output.
14523
14524 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14525
14526 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14527 4-byte instruction on S390.
14528
14529 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14530
14531 * gdb.ada/arr_arr: New testcase.
14532
14533 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14534
14535 * gdb.ada/pkd_arr_elem: New Testcase.
14536
14537 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14538
14539 * gdb.reverse/break-precsave: Expect completion message for
14540 core file reads.
14541 * gdb.reverse/consecutive-precsave.exp: Likewise.
14542 * gdb.reverse/finish-precsave.exp: Likewise.
14543 * gdb.reverse/i386-precsave.exp: Likewise.
14544 * gdb.reverse/machinestate-precsave.exp: Likewise.
14545 * gdb.reverse/sigall-precsave.exp: Likewise.
14546 * gdb.reverse/solib-precsave.exp: Likewise.
14547 * gdb.reverse/step-precsave.exp: Likewise.
14548 * gdb.reverse/until-precsave.exp: Likewise.
14549 * gdb.reverse/watch-precsave.exp: Likewise.
14550
14551 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14552
14553 * gdb.base/bp-permanent.c: Include unistd.h.
14554 * gdb.python/py-framefilter-mi.c (main): Add return type.
14555 * gdb.python/py-framefilter.c (main): Likewise.
14556 * gdb.trace/actions-changed.c (main): Likewise.
14557
14558 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14559
14560 * gdb.mi/until.c: Add eye-catchers.
14561 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14562 line numbers.
14563
14564 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14565
14566 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14567 function header variants in break1.c.
14568 * gdb.base/ena-dis-br.exp: Likewise.
14569 * gdb.base/hbreak2.exp: Likewise.
14570 * gdb.reverse/until-precsave.exp: Drop references to removed
14571 non-prototype function header variants in ur1.c.
14572 * gdb.reverse/until-reverse.exp: Likewise.
14573
14574 2014-11-17 Petr Machata <pmachata@redhat.com>
14575
14576 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14577 ${_cu_offset_size} bytes abbrev offset.
14578
14579 2014-11-15 Doug Evans <xdje42@gmail.com>
14580
14581 PR symtab/17559
14582 * gdb.base/line-symtabs.exp: New file.
14583 * gdb.base/line-symtabs.c: New file.
14584 * gdb.base/line-symtabs.h: New file.
14585
14586 2014-11-14 Yao Qi <yao@codesourcery.com>
14587
14588 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14589 (func): Add label func_label.
14590 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14591 Replace low_pc and high_pc with MACRO_AT_range.
14592 Replace name, low_pc and high_pc with MACRO_AT_func.
14593
14594 2014-11-14 Yao Qi <yao@codesourcery.com>
14595
14596 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14597 Replace name, low_pc and high_pc with MACRO_AT_func.
14598
14599 2014-11-14 Yao Qi <yao@codesourcery.com>
14600
14601 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14602 produce debug information.
14603 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14604
14605 2014-11-14 Yao Qi <yao@codesourcery.com>
14606
14607 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14608 object and get function length.
14609 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14610 with MACRO_AT_func.
14611 (top-level): Replace gdb_compile and clean_restart with
14612 prepare_for_testing.
14613 * gdb.dwarf2/main.c (main): Add label main_label.
14614
14615 2014-11-14 Yao Qi <yao@codesourcery.com>
14616
14617 * lib/dwarf.exp (function_range): New procedure.
14618 (Dwarf::_handle_macro_at_func): New procedure.
14619 (Dwarf::_handle_macro_at_range): New procedure.
14620 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14621
14622 2014-11-14 Yao Qi <yao@codesourcery.com>
14623
14624 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14625 (_handle_attribute): New procedure.
14626
14627 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14628
14629 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14630 * gdb.base/call-sc.c (zed): Likewise.
14631 * gdb.base/checkpoint.c (main): Likewise.
14632 * gdb.base/dump.c (main): Likewise.
14633 * gdb.base/gcore.c (main): Likewise.
14634 * gdb.base/huge.c (main): Likewise.
14635 * gdb.base/multi-forks.c (main): Likewise.
14636 * gdb.base/pr10179-a.c (main): Likewise.
14637 * gdb.base/savedregs.c (main): Likewise.
14638 * gdb.base/sigaltstack.c (main): Likewise.
14639 * gdb.base/siginfo.c (main): Likewise.
14640 * gdb.base/structs.c (zed): Likewise.
14641 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14642 * gdb.mi/mi-syn-frame.c (main): Likewise.
14643 * gdb.mi/until.c (foo, main): Likewise.
14644 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14645 * gdb.base/solib-weak.c (foo): Declare.
14646 * gdb.base/attach-twice.c: Include stdio.h.
14647 * gdb.base/weaklib1.c: Likewise.
14648 * gdb.base/weaklib2.c: Likewise.
14649 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14650 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14651 unistd.h.
14652 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14653 * gdb.mi/mi-exit-code.c: Likewise.
14654 * gdb.base/break-interp-lib.c: Include string.h.
14655 * gdb.base/coremaker.c: Likewise.
14656 * gdb.base/testenv.c: Likewise.
14657 * gdb.python/py-finish-breakpoint.c: Likewise.
14658 * gdb.base/inferior-died.c: Include sys/wait.h.
14659 * gdb.base/fileio.c: Include time.h.
14660 * gdb.base/async-shell.c: Include unistd.h.
14661 * gdb.base/dprintf-non-stop.c: Likewise.
14662 * gdb.base/info-os.c: Likewise.
14663 * gdb.mi/mi-console.c: Likewise.
14664 * gdb.mi/watch-nonstop.c: Likewise.
14665 * gdb.python/py-events.c: Likewise.
14666 * gdb.base/async.c (baz): Move up before its invocation.
14667 * gdb.base/code_elim2.c (my_global_func): Likewise.
14668 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14669 * gdb.base/advance.c (func2): Likewise.
14670
14671 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14672
14673 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14674 variant.
14675 * gdb.base/annota3.c: Likewise.
14676 * gdb.base/async.c: Likewise.
14677 * gdb.base/average.c: Likewise.
14678 * gdb.base/call-ar-st.c: Likewise.
14679 * gdb.base/call-rt-st.c: Likewise.
14680 * gdb.base/call-sc.c: Likewise.
14681 * gdb.base/call-strs.c: Likewise.
14682 * gdb.base/ending-run.c: Likewise.
14683 * gdb.base/execd-prog.c: Likewise.
14684 * gdb.base/exprs.c: Likewise.
14685 * gdb.base/foll-exec.c: Likewise.
14686 * gdb.base/foll-fork.c: Likewise.
14687 * gdb.base/foll-vfork.c: Likewise.
14688 * gdb.base/funcargs.c: Likewise.
14689 * gdb.base/gcore.c: Likewise.
14690 * gdb.base/jump.c: Likewise.
14691 * gdb.base/langs0.c: Likewise.
14692 * gdb.base/langs1.c: Likewise.
14693 * gdb.base/langs2.c: Likewise.
14694 * gdb.base/mips_pro.c: Likewise.
14695 * gdb.base/nodebug.c: Likewise.
14696 * gdb.base/opaque0.c: Likewise.
14697 * gdb.base/opaque1.c: Likewise.
14698 * gdb.base/recurse.c: Likewise.
14699 * gdb.base/run.c: Likewise.
14700 * gdb.base/scope0.c: Likewise.
14701 * gdb.base/scope1.c: Likewise.
14702 * gdb.base/setshow.c: Likewise.
14703 * gdb.base/setvar.c: Likewise.
14704 * gdb.base/shmain.c: Likewise.
14705 * gdb.base/shr1.c: Likewise.
14706 * gdb.base/shr2.c: Likewise.
14707 * gdb.base/sigall.c: Likewise.
14708 * gdb.base/signals.c: Likewise.
14709 * gdb.base/so-indr-cl.c: Likewise.
14710 * gdb.base/solib2.c: Likewise.
14711 * gdb.base/structs.c: Likewise.
14712 * gdb.base/sum.c: Likewise.
14713 * gdb.base/vforked-prog.c: Likewise.
14714 * gdb.base/watchpoint.c: Likewise.
14715 * gdb.reverse/shr2.c: Likewise.
14716 * gdb.reverse/until-reverse.c: Likewise.
14717 * gdb.reverse/ur1.c: Likewise.
14718 * gdb.reverse/watch-reverse.c: Likewise.
14719
14720 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14721
14722 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14723 variant.
14724 * gdb.base/sepdebug.exp: Drop references to removed code.
14725
14726 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14727
14728 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14729 variant. Preserve original line numbering.
14730 * gdb.base/list1.c: Likewise.
14731
14732 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14733
14734 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14735 variant.
14736 * gdb.base/break1.c: Likewise.
14737 * gdb.base/break.exp: Drop references to removed code.
14738
14739 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14740
14741 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14742 variant.
14743
14744 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14745
14746 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14747
14748 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14749
14750 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14751 logic into perform_all_tests() and invoke it with and without
14752 function header prototypes.
14753 (do_function_calls): Remove conditional XFAIL for PR 5318.
14754 (rerun_and_prepare): Remove duplicate code.
14755 (perform_all_tests): New. Main logic moved here.
14756
14757 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14758
14759 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14760 code guarded by #ifdef NO_PROTOTYPES.
14761 (t_double_many_args): Likewise.
14762 (DEF_FUNC_MANY_ARGS_1): Likewise.
14763 (DEF_FUNC_VALUES_1): Likewise.
14764 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14765 guarded by #ifdef PROTOTYPES.
14766
14767 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14768
14769 * gdb.mi/mi-console.c: Add eye-catcher.
14770 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14771 instead of literal line number.
14772
14773 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14774
14775 * gdb.base/shr2.c: Add eye-catcher.
14776 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14777 line number.
14778
14779 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14780
14781 * gdb.base/jump.c: Add eye-catchers.
14782 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14783 numbers.
14784
14785 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14786
14787 * gdb.base/execd-prog.c: Add eye-catchers.
14788 * gdb.base/foll-exec.c: Likewise.
14789 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14790 line numbers.
14791
14792 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14793
14794 * gdb.base/ending-run.c: Add eye-catchers.
14795 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14796 literal line numbers.
14797
14798 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14799
14800 * gdb.base/call-rt-st.c: Add eye-catchers.
14801 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14802 literal line numbers.
14803
14804 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14805
14806 * gdb.base/call-ar-st.c: Add eye-catchers.
14807 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14808 literal line numbers.
14809
14810 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14811
14812 * gdb.base/average.c: Add eye-catchers.
14813 * gdb.base/sum.c: Likewise.
14814 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14815 regexps dynamically.
14816
14817 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14818
14819 * gdb.base/solib1.c: Add eye-catchers.
14820 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14821 literal line numbers.
14822
14823 2014-11-12 Pedro Alves <palves@redhat.com>
14824
14825 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14826 leader has exited.
14827
14828 2014-11-12 Pedro Alves <palves@redhat.com>
14829
14830 * gdb.arch/i386-bp_permanent.c: New file.
14831 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14832 (srcfile): Set to i386-bp_permanent.c.
14833 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14834 that stepi does not execute the 'leave' instruction, instead of
14835 testing it does execute.
14836 * gdb.base/bp-permanent.c: New file.
14837 * gdb.base/bp-permanent.exp: New file.
14838
14839 2014-11-10 Doug Evans <xdje42@gmail.com>
14840
14841 PR symtab/17564
14842 * gdb.base/symtab-search-order.exp: New file.
14843 * gdb.base/symtab-search-order.c: New file.
14844 * gdb.base/symtab-search-order-1.c: New file.
14845 * gdb.base/symtab-search-order-shlib-1.c: New file.
14846
14847 2014-11-07 Pedro Alves <palves@redhat.com>
14848
14849 PR gdb/17511
14850 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14851 i?86-*-linux*.
14852
14853 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14854
14855 PR c++/17494
14856 * gdb.cp/pr17494.cc: New file.
14857 * gdb.cp/pr17494.exp: New file.
14858
14859 2014-11-02 Yao Qi <yao@codesourcery.com>
14860
14861 * gdb.python/python.exp: Get working directory and match the
14862 output of "set extended-prompt \\w " with it.
14863
14864 2014-10-30 Doug Evans <dje@google.com>
14865
14866 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14867 in objfiles.
14868 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14869 in progspaces.
14870
14871 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14872
14873 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14874 * gdb.base/realname-expand.exp: Likewise.
14875 * gdb.linespec/macro-relative.exp: Likewise.
14876
14877 2014-10-29 Pedro Alves <palves@redhat.com>
14878
14879 PR gdb/17408
14880 * gdb.threads/schedlock.c (some_function): New function.
14881 (call_function): New global.
14882 (MAYBE_CALL_SOME_FUNCTION): New macro.
14883 (thread_function): Call it.
14884 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14885 and use it instead of a global counter. Adjust all callers.
14886 (get_current_thread): Use "find current thread" for test message
14887 here rather than having all callers pass down the same string.
14888 (goto_loop): New procedure, factored out from ...
14889 (my_continue): ... this.
14890 (step_ten_loops): Change parameter from test message to command to
14891 use. Adjust.
14892 (list_count): Delete global.
14893 (check_result): New procedure, factored out from duplicate top
14894 level code.
14895 (continue tests): Wrap in with_test_prefix.
14896 (test_step): New procedure, factored out from duplicate top level
14897 code.
14898 (top level): Test "step" in combination with all scheduler-locking
14899 modes. Test "next" in combination with all scheduler-locking
14900 modes, and in combination with stepping over a function call or
14901 not.
14902 * gdb.threads/next-bp-other-thread.c: New file.
14903 * gdb.threads/next-bp-other-thread.exp: New file.
14904
14905 2014-10-29 Pedro Alves <palves@redhat.com>
14906
14907 PR python/17372
14908 * gdb.python/python.exp: Test a multi-line command that spawns
14909 interactive Python.
14910 * gdb.base/multi-line-starts-subshell.exp: New file.
14911
14912 2014-10-29 Yao Qi <yao@codesourcery.com>
14913
14914 * gdb.base/fileio.exp: Make directories on host.
14915
14916 2014-10-29 Yao Qi <yao@codesourcery.com>
14917
14918 * gdb.base/fileio.c (test_write): Close the file.
14919
14920 2014-10-28 Pedro Alves <palves@redhat.com>
14921
14922 PR gdb/12623
14923 * gdb.base/sigstep.c (no_handler): New global.
14924 (main): If 'no_handler is true, set the signal handlers to
14925 SIG_IGN.
14926 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14927 with_sw_watch and no_handler parameters. Handle them.
14928 (top level) <stepping over handler when stopped at a breakpoint
14929 test>: Add a test axis for testing with a software watchpoint, and
14930 another for testing with the signal handler set to SIG_IGN.
14931 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14932 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14933
14934 2014-10-28 Pedro Alves <palves@redhat.com>
14935
14936 PR gdb/17511
14937 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14938 * gdb.base/sigstep.exp (other_handler_location): New global.
14939 (advance): Support stepping into the signal handler, and running
14940 commands while in the handler.
14941 (in_handler_map): New global.
14942 (top level): In the advance test, add combinations for getting
14943 into the handler with stepping commands, and for running commands
14944 in the handler. Add comment descripting the advancei tests.
14945
14946 2014-10-28 Pedro Alves <palves@redhat.com>
14947
14948 * gdb.base/sigstep.exp: Use build_executable instead of
14949 prepare_for_testing.
14950 (top level): Move code that starts GDB, runs to main and creates a
14951 display to ...
14952 (restart): ... this new procedure.
14953 (top level): Move backtrace from signal handler test to ...
14954 (validate_backtrace): ... this new procedure.
14955 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14956 with_test_prefix. Always restart GDB.
14957 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14958 with_test_prefix. Always restart GDB. No need to delete
14959 breakpoints after the test.
14960 (test_skip_handler): Remove prefix parameter.
14961 (skip_over_handler, breakpoint_to_handler)
14962 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14963 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14964 restart GDB. No need to delete breakpoints after the test.
14965 (top level): Use foreach to call the test procedures with
14966 different commands.
14967
14968 2014-10-28 Pedro Alves <palves@redhat.com>
14969
14970 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14971 instead of GNATS numbers.
14972 * gdb.base/sigbpt.exp: Likewise.
14973 * gdb.base/siginfo.exp: Likewise.
14974 * gdb.base/sigstep.exp: Likewise.
14975
14976 2014-10-27 Pedro Alves <palves@redhat.com>
14977
14978 * gdb.base/sigstep.c (dummy): New global.
14979 (main): Issue a couple writes to the new global.
14980 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14981 procedures.
14982 (skip_over_handler): Use test_skip_handler.
14983 (top level): Call skip_over_handler for stepi and nexti too.
14984 (breakpoint_over_handler): Use test_skip_handler.
14985 (top level): Call breakpoint_over_handler for stepi and nexti too.
14986
14987 2014-10-27 Yao Qi <yao@codesourcery.com>
14988
14989 * gdb.trace/tfile.c (adjust_function_address)
14990 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14991 function descriptor.
14992
14993 2014-10-24 Don Breazeal <donb@codesourcery.com>
14994
14995 * gdb.base/foll-fork.exp (test_follow_fork,
14996 catch_fork_child_follow): Check for updated fork messages emitted
14997 from infrun.c.
14998 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14999 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15000 vfork_and_exec_child_follow_through_step): Check for updated vfork
15001 messages emitted from infrun.c.
15002
15003 2014-10-24 Pedro Alves <palves@redhat.com>
15004
15005 * gdb.base/corefile.exp: Remove references to ultrix.
15006 * gdb.base/interrupt.exp: Likewise.
15007 * gdb.base/whatis.exp: Likewise.
15008 * gdb.gdb/selftest.exp: Likewise.
15009 * gdb.threads/manythreads.exp: Likewise.
15010 * gdb.threads/print-threads.exp: Likewise.
15011 * gdb.threads/pthreads.exp:: Likewise.
15012 * gdb.threads/schedlock.exp: Likewise.
15013
15014 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15015
15016 * gdb.cp/non-trivial-retval.cc: Add a test case.
15017 * gdb.cp/non-trivial-retval.exp: Add a test.
15018
15019 2014-10-20 Yao Qi <yao@codesourcery.com>
15020
15021 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15022 * gdb.python/py-objfile-script-gdb.py: New file.
15023 * gdb.python/py-objfile-script.exp: Update reference to
15024 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15025 of remote_download. Remove the dest file.
15026
15027 2014-10-20 Yao Qi <yao@codesourcery.com>
15028
15029 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15030 * gdb.base/step-line.exp: Likewise.
15031 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15032 * gdb.dwarf2/dw2-basic.exp: Likewise.
15033 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15034 * gdb.dwarf2/dw2-filename.exp: Likewise.
15035 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15036 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15037 * gdb.dwarf2/dw2-producer.exp: Likewise.
15038 * gdb.dwarf2/mac-fileno.exp: Likewise.
15039 * gdb.python/py-frame-args.exp: Likewise.
15040 * gdb.python/py-framefilter.exp: Likewise.
15041 * gdb.python/py-mi.exp: Likewise.
15042 * gdb.python/py-objfile-script.exp: Likewise
15043 * gdb.python/py-pp-integral.exp: Likewise.
15044 * gdb.python/py-pp-re-notag.exp: Likewise.
15045 * gdb.python/py-prettyprint.exp: Likewise.
15046 * gdb.python/py-section-script.exp: Likewise.
15047 * gdb.python/py-typeprint.exp: Likewise.
15048 * gdb.python/py-xmethods.exp: Likewise.
15049 * gdb.stabs/weird.exp: Likewise.
15050 * gdb.xml/tdesc-regs.exp: Likewise.
15051
15052 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15053
15054 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15055 (out_cu): Use addr_len for the size of addresses.
15056 (out_line): Likewise. Size DW_LNE_set_address instruction
15057 according to addr_len.
15058 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15059 (FUNC): Add START_INSNS to definition.
15060
15061 2014-10-18 Yao Qi <yao@codesourcery.com>
15062
15063 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15064 gdb_has_argv0 return true.
15065 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15066 check [target_info exists noargs], check [gdb_has_argv0]
15067 instead.
15068 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15069 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15070 procedures.
15071
15072 2014-10-17 Doug Evans <dje@google.com>
15073
15074 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15075 event.
15076 * gdb.python/py-events.py: Add clear_objfiles event.
15077
15078 2014-10-17 Doug Evans <dje@google.com>
15079
15080 * gdb.python/py-objfile.exp: Test progspace attribute.
15081
15082 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15083
15084 * gdb.guile/scm-breakpoint.exp: Do not assume any
15085 directory separators when matching source file paths.
15086 * gdb.python/py-breakpoint.exp: Likewise.
15087 * gdb.reverse/break-precsave.exp: Likewise.
15088 * gdb.reverse/break-reverse.exp: Likewise.
15089 * gdb.reverse/consecutive-precsave.exp: Likewise.
15090 * gdb.reverse/finish-precsave.exp: Likewise.
15091 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15092 * gdb.reverse/finish-reverse.exp: Likewise.
15093 * gdb.reverse/i386-precsave.exp: Likewise.
15094 * gdb.reverse/i387-env-reverse.exp: Likewise.
15095 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15096 * gdb.reverse/machinestate-precsave.exp: Likewise.
15097 * gdb.reverse/machinestate.exp: Likewise.
15098 * gdb.reverse/sigall-precsave.exp: Likewise.
15099 * gdb.reverse/solib-precsave.exp: Likewise.
15100 * gdb.reverse/step-precsave.exp: Likewise.
15101 * gdb.reverse/until-precsave.exp: Likewise.
15102 * gdb.reverse/watch-precsave.exp: Likewise.
15103 * gdb.reverse/watch-reverse.exp: Likewise.
15104
15105 2014-10-17 Yao Qi <yao@codesourcery.com>
15106
15107 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15108 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15109
15110 2014-10-17 Pedro Alves <palves@redhat.com>
15111
15112 PR gdb/17471
15113 * gdb.base/bg-execution-repeat.c: New file.
15114 * gdb.base/bg-execution-repeat.exp: New file.
15115
15116 2014-10-17 Pedro Alves <palves@redhat.com>
15117
15118 PR gdb/17300
15119 * gdb.base/continue-all-already-running.c: New file.
15120 * gdb.base/continue-all-already-running.exp: New file.
15121
15122 2014-10-17 Pedro Alves <palves@redhat.com>
15123
15124 PR gdb/17472
15125 * gdb.base/annota-input-while-running.c: New file.
15126 * gdb.base/annota-input-while-running.exp: New file.
15127
15128 2014-10-17 Pedro Alves <palves@redhat.com>
15129
15130 * gdb.base/callfuncs.exp: emove references to osf.
15131 * gdb.base/sigall.exp: Likewise.
15132 * gdb.gdb/selftest.exp: Likewise.
15133 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15134 * gdb.mi/non-stop.c: Likewise.
15135 * gdb.mi/pthreads.c: Likewise.
15136 * gdb.reverse/sigall-precsave.exp: Likewise.
15137 * gdb.reverse/sigall-reverse.exp: Likewise.
15138 * gdb.threads/pthreads.c: Likewise.
15139 * gdb.threads/pthreads.exp: Likewise.
15140
15141 2014-10-17 Yao Qi <yao@codesourcery.com>
15142
15143 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15144 check 'target_info exists noargs'.
15145 (test_command_prompt_position): Likewise.
15146 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15147 Remove "set args".
15148 (progvar_simple_while_test): Likewise.
15149 (progvar_complex_if_while_test): Likewise.
15150 (if_while_breakpoint_command_test): Likewise.
15151 (infrun_breakpoint_command_test): Likewise.
15152 (breakpoint_command_test): Likewise.
15153 (watchpoint_command_test): Likewise.
15154 (bp_deleted_in_command_test): Likewise.
15155 (temporary_breakpoint_commands): Likewise.
15156
15157 2014-10-16 Yao Qi <yao@codesourcery.com>
15158
15159 * gdb.base/remotetimeout.exp: Remove noargs checking.
15160
15161 2014-10-15 Pedro Alves <palves@redhat.com>
15162
15163 PR breakpoints/9649
15164 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15165 * gdb.base/breakpoint-in-ro-region.exp
15166 (probe_target_hardware_step): New procedure.
15167 (top level): Probe hardware stepping and hardware breakpoint
15168 support. Test stepping through a read-only region, with both
15169 "breakpoint auto-hw" on and off and both "always-inserted" on and
15170 off.
15171
15172 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15173
15174 * gdb.dlang/demangle.exp: Update for demangling changes.
15175
15176 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15177
15178 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15179 * gdb.cp/non-trivial-retval.exp: Add new tests.
15180
15181 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15182
15183 PR c++/13403
15184 PR c++/15154
15185 * gdb.cp/non-trivial-retval.cc: New file.
15186 * gdb.cp/non-trivial-retval.exp: New file.
15187
15188 2014-10-15 Yao Qi <yao@codesourcery.com>
15189
15190 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15191 remote host.
15192
15193 2014-10-15 Yao Qi <yao@codesourcery.com>
15194
15195 * gdb.python/py-symbol.exp: Match file base name if host is
15196 remote, otherwise match file name with dir name.
15197 * gdb.python/py-symtab.exp: Likewise.
15198 * gdb.python/python.exp: Likewise.
15199
15200 2014-10-15 Yao Qi <yao@codesourcery.com>
15201
15202 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15203 pattern.
15204 * gdb.python/py-symtab.exp: Likewise.
15205 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15206 locationn.
15207
15208 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15209
15210 * gdb.ada/addr_arith: New testcase.
15211
15212 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15213
15214 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15215 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15216 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15217 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15218
15219 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15220
15221 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15222 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15223 * gdb.arch/stap-eval-lang-ada.exp: New file.
15224
15225 2014-10-14 Yao Qi <yao@codesourcery.com>
15226
15227 * gdb.mi/mi-var-child.c (nothing1): New function.
15228 (nothing2): New function.
15229 (do_children_tests): Set function pointers by nothing1 and
15230 nothing2.
15231 * gdb.mi/mi-var-child.exp: Step over new added statements.
15232 Update test to match the new output.
15233 * gdb.mi/var-cmd.c (nothing1): New function.
15234 (nothing2): New function.
15235 (do_children_tests): Set function pointers by nothing1 and
15236 nothing2.
15237 * gdb.mi/mi-var-display.exp: Update test to match output.
15238 Step to the line specified by $line_dct_nothing.
15239 Increase the number of lines to step.
15240
15241 2014-10-14 Yao Qi <yao@codesourcery.com>
15242
15243 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15244 tests.
15245 * gdb.mi/mi2-var-child.exp: Likewise.
15246
15247 2014-10-13 Doug Evans <dje@google.com>
15248
15249 * gdb.python/py-objfile.exp: Change name of file name test.
15250
15251 2014-10-13 Doug Evans <dje@google.com>
15252
15253 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15254 from the start of the CU.
15255
15256 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15257 Yao Qi <yao@codesourcery.com>
15258
15259 Fix "save breakpoints" for "catch" command.
15260 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15261 Remove -nonewline. Match also the added "main" line.
15262
15263 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15264
15265 Fix "save breakpoints" for "disable $bpnum" command.
15266 * gdb.base/save-bp.c (main): Add label.
15267 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15268
15269 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15270
15271 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15272
15273 2014-10-11 Yao Qi <yao@codesourcery.com>
15274
15275 * gdb.server/server-kill.exp: Execute command
15276 "set remote trace-status-packet on" before "tstatus".
15277
15278 2014-10-11 Yao Qi <yao@codesourcery.com>
15279
15280 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15281 (main): Call getppid.
15282 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15283 and continue to it. Read variable "server_pid".
15284
15285 2014-10-11 Yao Qi <yao@codesourcery.com>
15286
15287 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15288
15289 2014-10-11 Yao Qi <yao@codesourcery.com>
15290
15291 * gdb.threads/thread-find.exp: Don't execute command
15292 "info threads".
15293 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15294 * gdb.threads/linux-dp.exp: Don't check the condition
15295 $threads_created equals to zero.
15296
15297 2014-10-10 Pedro Alves <palves@redhat.com>
15298
15299 * gdb.base/bigcore.exp: Remove references to IRIX.
15300 * gdb.base/funcargs.exp: Likewise.
15301 * gdb.base/interrupt.exp: Likewise.
15302 * gdb.base/mips_pro.exp: Likewise.
15303 * gdb.base/nodebug.exp: Likewise.
15304 * gdb.base/setvar.exp: Likewise.
15305 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15306
15307 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15308 Pedro Alves <palves@redhat.com>
15309
15310 PR symtab/14466
15311 * gdb.base/vdso-warning.c: New file.
15312 * gdb.base/vdso-warning.exp: New file.
15313
15314 2014-10-02 Doug Evans <dje@google.com>
15315
15316 * gdb.base/structs.c (main): Don't run forever.
15317
15318 2014-10-02 Pedro Alves <palves@redhat.com>
15319
15320 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15321 (top level) <stop threads 1, stop threads 2>: Use it.
15322
15323 2014-10-02 Pedro Alves <palves@redhat.com>
15324
15325 * gdb.threads/break-while-running.exp (test): Add new
15326 'update_thread_list' argument. Skip "info threads" if false.
15327 (top level): Add new 'update_thread_list' axis.
15328
15329 2014-10-02 Pedro Alves <palves@redhat.com>
15330
15331 PR breakpoints/17431
15332 * gdb.base/execl-update-breakpoints.c: New file.
15333 * gdb.base/execl-update-breakpoints.exp: New file.
15334
15335 2014-10-01 Pedro Alves <palves@redhat.com>
15336
15337 * gdb.base/breakpoint-in-ro-region.c: New file.
15338 * gdb.base/breakpoint-in-ro-region.exp: New file.
15339
15340 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15341
15342 * gdb.mi/mi-exit-code.exp: New file.
15343 * gdb.mi/mi-exit-code.c: New file.
15344
15345 2014-09-30 Yao Qi <yao@codesourcery.com>
15346
15347 * lib/prelink-support.exp (build_executable_own_libs): Error if
15348 the target isn't native.
15349
15350 2014-09-30 Yao Qi <yao@codesourcery.com>
15351
15352 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15353 false.
15354
15355 2014-09-22 Pedro Alves <palves@redhat.com>
15356
15357 * gdb.threads/break-while-running.exp: New file.
15358 * gdb.threads/break-while-running.c: New file.
15359
15360 2014-09-19 Yao Qi <yao@codesourcery.com>
15361
15362 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15363 Invoke test. Restart GDB with --readnow and invoke test again.
15364
15365 2014-09-19 Yao Qi <yao@codesourcery.com>
15366
15367 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15368 proc set_breakpoint_on_gcd_function. Invoke
15369 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15370 invoke set_breakpoint_on_gcd_function again.
15371
15372 2014-09-18 Doug Evans <dje@google.com>
15373
15374 * gdb.dwarf2/symtab-producer.exp: New file.
15375
15376 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15377
15378 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15379 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15380 * gdb.base/global-var-nested-by-dso.c: Likewise.
15381 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15382
15383 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15384 Pedro Alves <palves@redhat.com>
15385
15386 * gdb.base/watch-bitfields.exp: Pass string other than test file
15387 name to prepare_for_testing.
15388 (watch): New procedure.
15389 (expect_watchpoint): Use with_test_prefix.
15390 (top level): Factor out tests to ...
15391 (test_watch_location, test_regular_watch): ... these new
15392 procedures, and use with_test_prefix and gdb_continue_to_end.
15393
15394 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15395
15396 PR breakpoints/12526
15397 * gdb.base/watch-bitfields.exp: New file.
15398 * gdb.base/watch-bitfields.c: New file.
15399
15400 2014-09-16 Pedro Alves <palves@redhat.com>
15401
15402 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15403 software and hardware addresses, not software address against
15404 itself.
15405
15406 2014-09-16 Pedro Alves <palves@redhat.com>
15407
15408 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15409 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15410
15411 2014-09-16 Pedro Alves <palves@redhat.com>
15412
15413 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15414 files.
15415 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15416 "*-*-vxworks*" throughout.
15417 * gdb.base/break.exp: Likewise.
15418 * gdb.base/default.exp: Likewise.
15419 * gdb.base/scope.exp: Likewise.
15420 * gdb.base/sepdebug.exp: Likewise.
15421 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15422 throughout.
15423 * gdb.base/run.c: Likewise.
15424 * gdb.base/sepdebug.c: Likewise.
15425 * gdb.hp/gdb.aCC/run.c: Likewise.
15426 * gdb.reverse/until-reverse.c: Likewise.
15427 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15428
15429 2014-09-16 Yao Qi <yao@codesourcery.com>
15430
15431 * boards/local-remote-host-native.exp: New file.
15432
15433 2014-09-14 Doug Evans <xdje42@gmail.com>
15434
15435 * gdb.threads/queue-signal.c (thread_count): New variable.
15436 (thread_count_mutex, thread_count_condvar): New variables.
15437 (incr_thread_count, wait_all_threads_running): New functions.
15438 (main): Wait for all threads to be in their thread functions.
15439
15440 2014-09-13 Doug Evans <xdje42@gmail.com>
15441
15442 * gdb.threads/queue-signal.c: New file.
15443 * gdb.threads/queue-signal.exp: New file.
15444
15445 2014-09-13 Doug Evans <xdje42@gmail.com>
15446
15447 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15448 be consistent with what default_gdb_init uses.
15449 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15450 the plain text of the prompt. Add some logging printfs.
15451 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15452
15453 2014-09-12 Pedro Alves <palves@redhat.com>
15454
15455 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15456 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15457 * gdb.arch/i386-size-overlap.exp: Likewise.
15458 * gdb.arch/i386-size.exp: Likewise.
15459 * gdb.arch/i386-unwind.exp: Likewise.
15460 * gdb.base/a2-run.exp: Likewise.
15461 * gdb.base/break.exp: Likewise.
15462 * gdb.base/charset.exp: Likewise.
15463 * gdb.base/chng-syms.exp: Likewise.
15464 * gdb.base/commands.exp: Likewise.
15465 * gdb.base/dbx.exp: Likewise.
15466 * gdb.base/find.exp: Likewise.
15467 * gdb.base/funcargs.exp: Likewise.
15468 * gdb.base/jit-simple.exp: Likewise.
15469 * gdb.base/reread.exp: Likewise.
15470 * gdb.base/sepdebug.exp: Likewise.
15471 * gdb.base/step-bt.exp: Likewise.
15472 * gdb.cp/mb-inline.exp: Likewise.
15473 * gdb.cp/mb-templates.exp: Likewise.
15474 * gdb.objc/basicclass.exp: Likewise.
15475 * gdb.threads/killed.exp: Likewise.
15476
15477 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15478
15479 PR tdep/17379
15480 * gdb.arch/powerpc-stackless.S: New file.
15481 * gdb.arch/powerpc-stackless.exp: New file.
15482
15483 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15484
15485 * gdb.base/attach.c: Include unistd.h.
15486 (main): Call alarm. Add label postloop.
15487 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15488 gdb_breakpoint, gdb_continue_to_breakpoint.
15489 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15490
15491 2014-09-11 Pedro Alves <palves@redhat.com>
15492
15493 PR gdb/17347
15494 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15495 * gdb.base/attach.exp (test_command_line_attach_run): New
15496 procedure.
15497 (top level): Call it.
15498
15499 2014-09-11 Pedro Alves <palves@redhat.com>
15500
15501 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15502 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15503 (do_command_attach_tests): Use spawn_wait_for_attach.
15504 * gdb.base/solib-overlap.exp: Likewise.
15505 * gdb.multi/multi-attach.exp: Likewise.
15506 * gdb.python/py-prompt.exp: Likewise.
15507 * gdb.python/py-sync-interp.exp: Likewise.
15508 * gdb.server/ext-attach.exp: Likewise.
15509
15510 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15511
15512 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15513 command in testcase. Simplify testcase.
15514
15515 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15516
15517 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15518
15519 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15520
15521 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15522
15523 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15524
15525 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15526
15527 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15528
15529 * gdb.dwarf2/dynarr-ptr.c: New file.
15530 * gdb.dwarf2/dynarr-ptr.exp: New file.
15531
15532 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15533
15534 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15535 of 30 rather than hardcoding 120 for a slow test case. Take the
15536 `gdb,timeout' target setting into account for this calculation.
15537 Don't extend the timeout for the test cases that don't need it.
15538
15539 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15540
15541 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15542 a factor of 2 for a slow test case. Take the `gdb,timeout'
15543 target setting into account for this calculation.
15544 * gdb.reverse/until-precsave.exp: Increase the timeout by
15545 a factor of 15 and 3 respectively rather than adding 120
15546 for a pair of slow test cases. Take the `gdb,timeout'
15547 target setting into account for this calculation.
15548
15549 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15550
15551 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15552 timeout, don't pass one down to gdb_expect.
15553 (gdb_expect): Rework timeout selection.
15554
15555 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15556
15557 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15558 exception on timeout.
15559 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15560 (gdbserver_start_extended): Catch any `gdbserver_start' error
15561 exceptions.
15562 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15563 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15564 `gdbserver_gdb_load' error exceptions.
15565
15566 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15567
15568 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15569 120 on waiting for the TCP socket to open.
15570
15571 2014-09-09 Doug Evans <xdje42@gmail.com>
15572
15573 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15574 _caller_matches, _any_caller_is, _any_caller_matches.
15575
15576 2014-09-09 Doug Evans <xdje42@gmail.com>
15577
15578 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15579
15580 2014-09-09 Yao Qi <yao@codesourcery.com>
15581
15582 * gdb.mi/mi-var-display.exp: Set print symbol off.
15583
15584 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15585
15586 PR gdb/17035
15587 * gdb.base/commands.exp: Add tests to verify user-defined
15588 commands with empty bodies.
15589 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15590 python commands in `show user command`.
15591 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15592 scheme commands in `show user command`.
15593
15594 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15595
15596 PR python/17355
15597 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15598 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15599 * gdb.python/py-framefilter-invalidarg.exp: New file.
15600 * gdb.python/py-framefilter-invalidarg.py: New file.
15601
15602 2014-09-06 Doug Evans <xdje42@gmail.com>
15603
15604 PR 15276
15605 * gdb.python/py-caller-is.c: New file.
15606 * gdb.python/py-caller-is.exp: New file.
15607
15608 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15609
15610 PR gdb/17235
15611 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15612 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15613
15614 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15615
15616 PR fortran/17237
15617 * gdb.fortran/print-formatted.exp: New file.
15618 * gdb.fortran/print-formatted.f90: Likewise.
15619
15620 2014-09-03 Sasha Smundak <asmundak@google.com>
15621
15622 * gdb.python/py-frame.exp: Test Frame.read_register.
15623
15624 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15625
15626 PR python/16699
15627 * gdb.python/py-completion.exp: New file.
15628 * gdb.python/py-completion.py: Likewise.
15629
15630 2014-08-28 Doug Evans <dje@google.com>
15631
15632 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15633 eax,etc. are live with values set by gdb and thus the compiler can't
15634 use them.
15635 * gdb.arch/i386-pseudo.c (main): Ditto.
15636
15637 2014-08-27 Doug Evans <dje@google.com>
15638
15639 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15640
15641 2014-08-25 Doug Evans <dje@google.com>
15642
15643 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15644 (main): Ditto.
15645
15646 2014-08-25 Doug Evans <dje@google.com>
15647
15648 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15649
15650 2014-08-24 Yao Qi <yao@codesourcery.com>
15651
15652 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15653 symbol off.
15654 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15655
15656 2014-08-22 Doug Evans <dje@google.com>
15657
15658 PR 17276
15659 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15660 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15661 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15662
15663 2014-08-22 Yao Qi <yao@codesourcery.com>
15664
15665 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15666 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15667 * gdb.python/python.exp: Likewise. Use .py file on the host
15668 instead of the build.
15669
15670 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15671
15672 * gdb.threads/gcore-stale-thread.c: New file.
15673 * gdb.threads/gcore-stale-thread.exp: New file.
15674
15675 2014-08-21 Pedro Alves <palves@redhat.com>
15676
15677 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15678 * gdb.base/gcore-relro-pie.exp: Likewise.
15679 * gdb.base/gcore-relro.exp: Likewise.
15680 * gdb.base/gcore.exp: Likewise.
15681 * gdb.base/print-symbol-loading.exp: Likewise.
15682 * gdb.threads/gcore-thread.exp: Likewise.
15683 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15684
15685 2014-08-20 Pedro Alves <palves@redhat.com>
15686 Jan Kratochvil <jan.kratochvil@redhat.com>
15687
15688 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15689 configure.
15690 (EXPECT): Handle READ1 being set.
15691 (all): Depend on EXTRA_RULES.
15692 (check-read1, expect-read1, read1.so, read1): New rules.
15693 * README (Testsuite Parameters): Document the READ1 make variable.
15694 (Race detection): New section.
15695 * configure: Regenerate.
15696 * configure.ac: If build==host==target, and running under a
15697 GNU/glibc system, add read1 to the extra Makefile rules.
15698 (EXTRA_RULES): AC_SUBST it.
15699 * lib/read1.c: New file.
15700
15701 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15702
15703 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15704 the handling of variables declared as a typedef to an array
15705 which a DW_AT_data_location attribute.
15706
15707 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15708 Pedro Alves <palves@redhat.com>
15709
15710 PR symtab/14604
15711 PR symtab/14605
15712 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15713 gdb_test.
15714
15715 2014-08-19 Pedro Alves <palves@redhat.com>
15716
15717 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15718
15719 2014-08-19 Yao Qi <yao@codesourcery.com>
15720
15721 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15722 right line.
15723
15724 2014-08-18 David Blaikie <dblaikie@gmail.com>
15725
15726 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15727
15728 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15729
15730 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15731 attribute in array range.
15732
15733 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15734
15735 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15736
15737 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15738
15739 PR c++/17132
15740 * gdb.cp/pr17132.cc: New file.
15741 * gdb.cp/pr17132.exp: New file.
15742
15743 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15744
15745 * gdb.python/py-xmethods.py (A_getarrayind)
15746 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15747 Use 'print' with function call syntax.
15748 (E_method_matcher.match): Fix tab vs space indentation mixup.
15749
15750 2014-08-15 Yao Qi <yao@codesourcery.com>
15751
15752 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15753 false.
15754
15755 2014-08-15 Yao Qi <yao@codesourcery.com>
15756
15757 * gdb.cp/casts.exp: Set print symbol off.
15758 * gdb.cp/class2.exp: Likewise.
15759 * gdb.cp/overload.exp: Likewise.
15760 * gdb.cp/templates.exp: Likewise.
15761
15762 2014-08-11 Doug Evans <dje@google.com>
15763
15764 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15765 (test_load_shlib): Update.
15766
15767 2014-08-09 Yao Qi <yao@codesourcery.com>
15768
15769 * gdb.base/display.exp: Invoke is_address_zero_readable.
15770 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15771 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15772 * gdb.base/hbreak-unmapped.exp: Return if
15773 is_address_zero_readable returns true.
15774 * gdb.base/signest.exp: Likewise.
15775 * gdb.base/signull.exp: Likewise.
15776 * gdb.base/sigbpt.exp: Likewise.
15777 * gdb.guile/scm-disasm.exp: Do the test if
15778 is_address_zero_readable returns false.
15779 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15780 * gdb.python/py-arch.exp: Likewise.
15781 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15782 * lib/gdb.exp (is_address_zero_readable): New proc.
15783
15784 2014-08-09 Yao Qi <yao@codesourcery.com>
15785
15786 PR testsuite/13443
15787 * gdb.mi/mi-var-display.exp: Make test messages unique.
15788
15789 2014-08-04 Tom Tromey <tromey@redhat.com>
15790
15791 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15792 target 0".
15793
15794 2014-08-04 Tom Tromey <tromey@redhat.com>
15795
15796 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15797 "target_resume".
15798
15799 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15800
15801 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15802 inner_vla_struct_object_size.
15803 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15804 as xfail.
15805
15806 2014-07-30 Pedro Alves <palves@redhat.com>
15807
15808 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15809 comment.
15810
15811 2014-07-29 Yao Qi <yao@codesourcery.com>
15812
15813 PR gdb/17206
15814 * gdb.base/until-nodebug.exp: New.
15815
15816 2014-07-28 Doug Evans <xdje42@gmail.com>
15817
15818 PR guile/17203
15819 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15820 previously existing parameter, and previously ambiguously spelled
15821 parameter.
15822
15823 2014-07-28 Will Newton <will.newton@linaro.org>
15824
15825 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15826
15827 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15828 Doug Evans <xdje42@gmail.com>
15829
15830 PR guile/17146
15831 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15832
15833 2014-07-25 Pedro Alves <palves@redhat.com>
15834
15835 * gdb.threads/signal-command-handle-nopass.c: New file.
15836 * gdb.threads/signal-command-handle-nopass.exp: New file.
15837 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15838 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15839 * gdb.threads/signal-delivered-right-thread.c: New file.
15840 * gdb.threads/signal-delivered-right-thread.exp: New file.
15841
15842 2014-07-25 Pedro Alves <palves@redhat.com>
15843
15844 * gdb.base/double-prompt-target-event-error.exp
15845 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15846 match.
15847 (cancel_pagination_in_target_event): Rework double prompt
15848 detection.
15849 * gdb.base/paginate-after-ctrl-c-running.exp
15850 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15851 <return>' match.
15852 * gdb.base/paginate-bg-execution.exp
15853 (test_bg_execution_pagination_return)
15854 (test_bg_execution_pagination_cancel): Remove '-notransfer
15855 <return>' matches.
15856 * gdb.base/paginate-execution-startup.exp
15857 (test_fg_execution_pagination_return)
15858 (test_fg_execution_pagination_cancel): Remove '-notransfer
15859 <return>' matches.
15860 * gdb.base/paginate-inferior-exit.exp
15861 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15862 match.
15863 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15864 * lib/gdb.exp (pagination_prompt): Run text through
15865 string_to_regexp.
15866 (gdb_test_multiple): Match $pagination_prompt instead of
15867 "<return>".
15868 (string_to_regexp): Move to lib/gdb-utils.exp.
15869
15870 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15871
15872 * gdb.arch/amd64-entry-value-paramref.S: New file.
15873 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15874 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15875 * gdb.arch/amd64-optimout-repeat.S: New file.
15876 * gdb.arch/amd64-optimout-repeat.c: New file.
15877 * gdb.arch/amd64-optimout-repeat.exp: New file.
15878
15879 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15880
15881 PR gdb/17170
15882 * gdb.base/statistics.exp: New file.
15883
15884 2014-07-17 Doug Evans <dje@google.com>
15885
15886 PR gdb/17170
15887 * gdb.base/maint.exp: Update testing of per-command stats.
15888
15889 2014-07-16 Pedro Alves <palves@redhat.com>
15890
15891 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15892 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15893 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15894 (tfile_write_buf): New functions.
15895 (add_memory_block): Rewrite using the above.
15896 (adjust_function_address): New function.
15897 (FUNCTION_ADDRESS): New macro.
15898 (write_basic_trace_file): Remove short_x local, and use
15899 tfile_write_16. Change type of func_addr local to unsigned long
15900 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15901 here. Cast argument of add_memory_block to char pointer.
15902 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15903 (main): Remove parameters.
15904 * gdb.trace/tfile.exp: Remove nowarnings.
15905
15906 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15907
15908 * gdb.base/debug-expr.exp: Test string evaluation with
15909 "debug expression" on.
15910
15911 2014-07-15 Pedro Alves <palves@redhat.com>
15912
15913 * gdb.base/reread.exp: Use clean_restart.
15914
15915 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15916
15917 * gdb.arch/avr-flash-qualifer.c: New.
15918 * gdb.arch/avr-flash-qualifer.exp: New.
15919
15920 2014-07-14 Pedro Alves <palves@redhat.com>
15921
15922 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15923 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15924
15925 2014-07-14 Pedro Alves <palves@redhat.com>
15926
15927 * gdb.base/double-prompt-target-event-error.c: New file.
15928 * gdb.base/double-prompt-target-event-error.exp: New file.
15929
15930 2014-07-14 Pedro Alves <palves@redhat.com>
15931
15932 PR gdb/17072
15933 * gdb.base/paginate-inferior-exit.c: New file.
15934 * gdb.base/paginate-inferior-exit.exp: New file.
15935
15936 2014-07-14 Pedro Alves <palves@redhat.com>
15937
15938 PR gdb/17072
15939 * gdb.base/paginate-bg-execution.c: New file.
15940 * gdb.base/paginate-bg-execution.exp: New file.
15941
15942 2014-07-14 Pedro Alves <palves@redhat.com>
15943
15944 PR gdb/17072
15945 * gdb.base/paginate-execution-startup.c: New file.
15946 * gdb.base/paginate-execution-startup.exp: New file.
15947 * lib/gdb.exp (pagination_prompt): New global.
15948 (default_gdb_spawn): New procedure, factored out from
15949 default_gdb_spawn.
15950 (default_gdb_start): Adjust to call default_gdb_spawn.
15951 (gdb_spawn): New procedure.
15952
15953 2014-07-14 Pedro Alves <palves@redhat.com>
15954
15955 * lib/gdb.exp (gdb_assert): New procedure.
15956 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15957
15958 2014-07-14 Pedro Alves <palves@redhat.com>
15959
15960 * gdb.base/execution-termios.c: New file.
15961 * gdb.base/execution-termios.exp: New file.
15962
15963 2014-07-14 Tom Tromey <tromey@redhat.com>
15964
15965 * gdb.cp/vla-cxx.cc: New file.
15966 * gdb.cp/vla-cxx.exp: New file.
15967
15968 2014-07-14 Tom Tromey <tromey@redhat.com>
15969
15970 * gdb.reverse/rerun-prec.c: New file.
15971 * gdb.reverse/rerun-prec.exp: New file.
15972
15973 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15974 Maciej W. Rozycki <macro@codesourcery.com>
15975
15976 * lib/gdb-utils.exp: New file.
15977 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15978 inline `gdb_init_command' processing.
15979 (gdb_start_cmd): Likewise.
15980 * lib/mi-support.exp (mi_run_cmd): Likewise.
15981 * README: Document `gdb_init_command' and `gdb_init_commands'.
15982
15983 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15984
15985 Fix false FAIL running under a very long directory name.
15986 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15987 and "set print elements 10000". Twice.
15988
15989 2014-07-11 Yao Qi <yao@codesourcery.com>
15990
15991 * gdb.base/exprs.exp: "set print symbol off".
15992
15993 2014-07-11 Pedro Alves <palves@redhat.com>
15994
15995 * gdb.threads/kill.c: New file.
15996 * gdb.threads/kill.exp: New file.
15997
15998 2014-07-10 Yao Qi <yao@codesourcery.com>
15999
16000 * gdb.trace/tfile.c (write_basic_trace_file)
16001 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16002 address written to trace file.
16003
16004 2014-07-09 Pedro Alves <palves@redhat.com>
16005
16006 * gdb.base/attach-wait-input.exp: New file.
16007 * gdb.base/attach-wait-input.c: New file.
16008
16009 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16010
16011 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16012 setting up test structures.
16013 (main): Call new test function.
16014 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16015 test function, continue into test function and walk test
16016 structures.
16017
16018 2014-07-02 Yao Qi <yao@codesourcery.com>
16019
16020 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16021 'bar_start' at the beginning of functions 'foo' and 'bar'
16022 respectively.
16023 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16024 instead of 'foo' and 'bar'.
16025
16026 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16027
16028 * gdb.btrace/segv.exp: New.
16029 * gdb.btrace/segv.c: New.
16030
16031 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16032
16033 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16034 instruction.
16035
16036 2014-06-30 Mark Wielaard <mjw@redhat.com>
16037
16038 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16039 vulture, vilify, villar): New volatile array constants.
16040 (vindictive, vegetation): New const volatile array constants.
16041 * gdb.base/volatile.exp: Test volatile and const volatile array
16042 types.
16043
16044 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16045
16046 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16047 target lacks support for awatch, rwatch, or hbreak.
16048
16049 2014-06-27 Yao Qi <yao@codesourcery.com>
16050
16051 * gdb.multi/dummy-frame-restore.exp: New.
16052 * gdb.multi/dummy-frame-restore.c: New.
16053
16054 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16055
16056 * gdb.btrace/gcore.exp: New.
16057
16058 2014-06-23 Pedro Alves <palves@redhat.com>
16059
16060 * gdb.base/watchpoint-reuse-slot.c: New file.
16061 * gdb.base/watchpoint-reuse-slot.exp: New file.
16062
16063 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16064
16065 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16066 progspace's filename in 'info', 'enable' and 'disable' command
16067 tests.
16068
16069 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16070
16071 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16072 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16073 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16074
16075 2014-06-20 Gary Benson <gbenson@redhat.com>
16076
16077 * gdb.arch/i386-avx.exp: Fix include file location.
16078 * gdb.arch/i386-sse.exp: Likewise.
16079
16080 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16081
16082 * gdb.dlang/expression.exp: New file.
16083
16084 2014-06-19 Pedro Alves <palves@redhat.com>
16085
16086 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16087 out from ...
16088 (top level): ... here. Iterate running tests under different
16089 scheduler-locking settings.
16090
16091 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16092
16093 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16094 to DW_FORM_addr and use non-zero addresses.
16095
16096 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16097
16098 PR gdb/17017
16099 * gdb.python/py-xmethods.cc: Add global function call counters and
16100 increment them in their respective functions. Remove "cout"
16101 statements.
16102 * gdb.python/py-xmethods.exp: Make tests check the global function
16103 call counters instead of depending on inferior IO.
16104
16105 2014-06-18 Don Breazeal <donb@codesourcery.com>
16106
16107 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16108 Deleted procedure.
16109 (explicit_fork_parent_follow): Deleted procedure.
16110 (explicit_fork_child_follow): Deleted procedure.
16111 (test_follow_fork): New procedure.
16112 (do_fork_tests): Replace calls to deleted procedures with
16113 calls to test_follow_fork and reset GDB for subsequent
16114 procedure calls.
16115
16116 2014-06-17 Yao Qi <yao@codesourcery.com>
16117
16118 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16119 CP1252.
16120
16121 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16122
16123 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16124 Initialize ptr and S explicitly.
16125 (skip_type_update_when_not_use_rtti_test): Likewise.
16126
16127 2014-06-16 Keith Seitz <keiths@redhat.com>
16128
16129 PR mi/15863
16130 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16131 the inferior is started.
16132
16133 2014-06-16 Pedro Alves <palves@redhat.com>
16134
16135 * gdb.base/break-main-file-remove-fail.c: New file.
16136 * gdb.base/break-main-file-remove-fail.exp: New file.
16137 * gdb.base/break-unload-file.exp: Use build_executable instead of
16138 prepare_for_testing.
16139 (test_break): New parameter "initial_load". Handle it.
16140 (top level): Add initial_load cmdline/file axis.
16141
16142 2014-06-12 Tom Tromey <tromey@redhat.com>
16143
16144 * gdb.base/completion.exp: Don't use directory name in test.
16145
16146 2014-06-09 Gary Benson <gbenson@redhat.com>
16147
16148 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16149 separate the always-available ANSI-standard signals from the
16150 signals that require checking.
16151 (main): Likewise.
16152 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16153 Likewise.
16154 (main): Likewise.
16155
16156 2014-06-07 Keith Seitz <keiths@redhat.com>
16157
16158 Revert:
16159 PR c++/16253
16160 * gdb.cp/var-tag.cc: New file.
16161 * gdb.cp/var-tag.exp: New file.
16162 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16163 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16164 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16165 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16166
16167 2014-06-06 Doug Evans <xdje42@gmail.com>
16168
16169 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16170
16171 2014-06-06 Pedro Alves <palves@redhat.com>
16172
16173 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16174 in target debug output instead of looking at RSP packets,
16175 disabling the test on any target that uses hardware stepping.
16176 Update comments.
16177
16178 2014-06-06 Pedro Alves <palves@redhat.com>
16179
16180 * gdb.base/break-unload-file.exp: Fix typo.
16181
16182 2014-06-06 Yao Qi <yao@codesourcery.com>
16183
16184 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16185 from "jit_function" to "^jit_function".
16186
16187 2014-06-06 Yao Qi <yao@codesourcery.com>
16188
16189 * gdb.base/async.c (foo): Add one statement.
16190 * gdb.base/async.exp: Get the next instruction address and
16191 match the output of "nexti" by instruction address. Match
16192 the hex address in the output of "finish".
16193
16194 2014-06-06 Gary Benson <gbenson@redhat.com>
16195
16196 * gdb.base/call-signals.c: Remove preprocessor conditionals
16197 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16198 SIGSEGV and SIGTERM.
16199 * gdb.base/sigall.c: Likewise.
16200 * gdb.base/unwindonsignal.c: Likewise.
16201 * gdb.reverse/sigall-reverse.c: Likewise.
16202
16203 2014-06-06 Yao Qi <yao@codesourcery.com>
16204
16205 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16206 readable, skip the test.
16207
16208 2014-06-06 Yao Qi <yao@codesourcery.com>
16209
16210 * gdb.threads/staticthreads.c (thread_function): Move the line
16211 setting breakpoint on forward.
16212 * gdb.threads/staticthreads.exp: Update comments.
16213
16214 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16215
16216 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16217 "history-append! type error".
16218
16219 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16220
16221 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16222 erroneous dprintf expected input.
16223
16224 2014-06-04 Doug Evans <xdje42@gmail.com>
16225
16226 * gdb.guile/scm-generics.exp: Delete.
16227
16228 2014-06-04 Doug Evans <xdje42@gmail.com>
16229
16230 * gdb.guile/scm-breakpoint.exp: Update.
16231 Add tests for breakpoint registration.
16232
16233 2014-06-04 Tom Tromey <tromey@redhat.com>
16234
16235 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16236 VLA-in-union.
16237 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16238 inner_vla_struct, vla_union types. Initialize objects of those
16239 types and compute their sizes.
16240
16241 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16242 Hui Zhu <hui@codesourcery.com>
16243
16244 * gdb.base/fileio.exp: Add test for shell not available as well as
16245 available.
16246 * gdb.base/fileio.c (test_system): Check for shell twice.
16247
16248 2014-06-04 Yao Qi <yao@codesourcery.com>
16249
16250 * gdb.base/auto-connect-native-target.exp: Remove redundant
16251 space from the regexp pattern.
16252
16253 2014-06-04 Yao Qi <yao@codesourcery.com>
16254
16255 * gdb.base/default.exp: Replace "child" with "native" in
16256 regexp pattern.
16257
16258 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16259
16260 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16261 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16262 * gdb.python/py-xmethods.py: Python script supporting the
16263 new testcase and tests.
16264
16265 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16266 Pedro Alves <palves@redhat.com>
16267
16268 PR breakpoints/17000
16269 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16270 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16271
16272 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16273
16274 * gdb.base/subst.exp: Add tests to verify partial path matching
16275 output.
16276
16277 2014-06-03 Pedro Alves <palves@redhat.com>
16278
16279 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16280 target that doesn't use software single-stepping.
16281
16282 2014-06-03 Pedro Alves <palves@redhat.com>
16283
16284 PR breakpoints/17000
16285 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16286 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16287
16288 2014-06-02 Doug Evans <xdje42@gmail.com>
16289
16290 * gdb.guile/scm-parameter.exp: New file.
16291
16292 2014-06-02 Doug Evans <xdje42@gmail.com>
16293
16294 * gdb.guile/scm-cmd.c: New file.
16295 * gdb.guile/scm-cmd.exp: New file.
16296
16297 2014-06-02 Doug Evans <xdje42@gmail.com>
16298
16299 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16300 pretty-printer lookup.
16301 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16302 (make-pp_s-printer): Call it.
16303 (make-pretty-printer-from-dict): New function.
16304 (lookup-pretty-printer-maker-from-dict): New function.
16305 (*pretty-printer*): Simplify.
16306 (make-objfile-pp_s-printer): New function.
16307 (install-objfile-pretty-printers!): New function.
16308 (make-progspace-pp_s-printer): New function.
16309 (install-progspace-pretty-printers!): New function.
16310 * gdb.guile/scm-progspace.c: New file.
16311 * gdb.guile/scm-progspace.exp: New file.
16312
16313 2014-06-02 Pedro Alves <palves@redhat.com>
16314
16315 * gdb.base/dprintf-bp-same-addr.c: New file.
16316 * gdb.base/dprintf-bp-same-addr.exp: New file.
16317
16318 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16319
16320 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16321 * gdb.arch/powerpc-power.s: Likewise.
16322
16323 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16324
16325 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16326
16327 2014-06-01 Yao Qi <yao@codesourcery.com>
16328
16329 * gdb.base/watchpoint.exp (test_watch_location): Check null
16330 pointer can be dereferenced. If not, do the test, otherwise
16331 skip it.
16332
16333 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16334
16335 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16336 results.
16337 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16338
16339 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16340
16341 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16342 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16343 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16344 * gdb.arch/amd64-invalid-stack-top.c: New file.
16345 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16346
16347 2014-05-30 Pedro Alves <palves@redhat.com>
16348
16349 PR breakpoints/17000
16350 * gdb.base/sss-bp-on-user-bp.c: New file.
16351 * gdb.base/sss-bp-on-user-bp.exp: New file.
16352
16353 2014-05-30 David Blaikie <dblaikie@gmail.com>
16354
16355 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16356 gnu_inline semantics via attribute.
16357 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16358 source explicitly specifies the required semantics.
16359
16360 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16361
16362 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16363
16364 2014-05-29 Pedro Alves <palves@redhat.com>
16365 Tom Tromey <tromey@redhat.com>
16366
16367 * gdb.base/async-shell.exp: Don't enable target-async.
16368 * gdb.base/async.exp
16369 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16370 parameter. Adjust.
16371 (top level): Don't test with "target-async".
16372 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16373 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16374 * gdb.base/inferior-died.exp: Don't enable target-async.
16375 * gdb.base/interrupt-noterm.exp: Likewise.
16376 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16377 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16378 * gdb.mi/mi-nonstop.exp: Likewise.
16379 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16380 * gdb.mi/mi-nsintrall.exp: Likewise.
16381 * gdb.mi/mi-nsmoribund.exp: Likewise.
16382 * gdb.mi/mi-nsthrexec.exp: Likewise.
16383 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16384 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16385 * gdb.python/py-evsignal.exp: Don't enable target-async.
16386 * gdb.python/py-evthreads.exp: Likewise.
16387 * gdb.python/py-prompt.exp: Likewise.
16388 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16389 * gdb.server/solib-list.exp: Don't enable target-async.
16390 * gdb.threads/thread-specific-bp.exp: Likewise.
16391 * lib/mi-support.exp: Adjust to use mi-async.
16392
16393 2014-05-29 Pedro Alves <palves@redhat.com>
16394
16395 PR gdb/13860
16396 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16397 reason, even in sync mode.
16398
16399 2014-05-29 Pedro Alves <palves@redhat.com>
16400 Hui Zhu <hui@codesourcery.com>
16401
16402 PR PR15693
16403 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16404 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16405 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16406 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16407
16408 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16409
16410 * config/monitor.exp (gdb_target_monitor): Replace use of
16411 "set remotebaud" by "set serial baud".
16412
16413 2014-05-26 Andy Wingo <wingo@igalia.com>
16414
16415 * gdb.guile/scm-breakpoint.exp:
16416 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16417 properties instead of gdb-object-properties.
16418
16419 2014-05-26 Yao Qi <yao@codesourcery.com>
16420
16421 * gdb.server/no-thread-db.exp: Specify source file name
16422 explicitly when setting a breakpoint.
16423
16424 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16425
16426 * gdb.btrace/vdso.c: New.
16427 * gdb.btrace/vdso.exp: New.
16428
16429 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16430
16431 * gdb.base/gcore.exp (capture_command_output): Move ...
16432 * lib/gdb.exp (capture_command_output): ... here.
16433
16434 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16435
16436 * gdb.btrace/data.exp: Test memory access during btrace replay.
16437
16438 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16439
16440 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16441
16442 2014-05-21 Pedro Alves <palves@redhat.com>
16443
16444 PR gdb/13860
16445 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16446 (top level): Test that output related to execution commands is
16447 sent to the console with CLI commands, but not with MI commands.
16448 Test that breakpoint events are always mirrored to the console.
16449 Also expect the new source line to be output after a "next" in
16450 async mode too. Make it a pass/fail test.
16451 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16452 output.
16453 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16454
16455 2014-05-21 Pedro Alves <palves@redhat.com>
16456
16457 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16458 Use them to test variations of "list" after reaching a breakpoint.
16459 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16460 Test "list" with listsize 10 after reaching a breakpoint.
16461 * gdb.python/python.exp (decode_line current location line
16462 number): Adjust expected line number.
16463
16464 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16465
16466 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16467 behavior for $args, pass it directly to "run".
16468
16469 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16470
16471 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16472 30000 to 65536.
16473
16474 2014-05-21 Pedro Alves <palves@redhat.com>
16475
16476 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16477 auto-connect-native-target off".
16478 * gdb.base/auto-connect-native-target.c: New file.
16479 * gdb.base/auto-connect-native-target.exp: New file.
16480
16481 2014-05-21 Pedro Alves <palves@redhat.com>
16482
16483 * gdb.base/default.exp: Test "target native" instead of "target
16484 child".
16485
16486 2014-05-21 Mark Wielaard <mjw@redhat.com>
16487
16488 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16489
16490 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16491
16492 Fix TLS access for -static -pthread.
16493 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16494 <HAVE_TLS> (thread_function, main): Initialize it.
16495 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16496 Add clean_restart.
16497 <$have_tls != "">: Check TLSVAR.
16498
16499 2014-05-21 Pedro Alves <palves@redhat.com>
16500
16501 * gdb.base/dcache-line-read-error.c: New.
16502 * gdb.base/dcache-line-read-error.exp: New.
16503
16504 2014-05-20 Pedro Alves <palves@redhat.com>
16505
16506 * gdb.base/compare-sections.c: New file.
16507 * gdb.base/compare-sections.exp: New file.
16508
16509 2014-05-20 Pedro Alves <palves@redhat.com>
16510
16511 * gdb.base/break-idempotent.c: New file.
16512 * gdb.base/break-idempotent.exp: New file.
16513
16514 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16515
16516 * gdb.btrace/nohist.exp: New.
16517
16518 2014-05-20 Yao Qi <yao@codesourcery.com>
16519
16520 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16521 gdb.reverse directory and gdb_reverse_timeout exists in board
16522 setting.
16523 * README: Document gdb_reverse_timeout.
16524
16525 2014-05-20 Yao Qi <yao@codesourcery.com>
16526
16527 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16528 'test_file_name'. Treat args as a string instead of a list.
16529 (gdb_init): Rename argument 'args' by 'test_file_name'.
16530
16531 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16532
16533 * gdb.arch/powerpc-power.exp: New file.
16534 * gdb.arch/powerpc-power.s: New file.
16535
16536 2014-05-16 Doug Evans <dje@google.com>
16537
16538 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16539 * gdb.base/completion.exp: Check that all expected files exist
16540 before doing file completion.
16541
16542 2014-05-16 Doug Evans <dje@google.com>
16543
16544 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16545 Update.
16546 (do_syscall_tests_without_xml): Update.
16547
16548 2014-05-16 Pedro Alves <palves@redhat.com>
16549
16550 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16551 instead of "unknown output after running".
16552
16553 2014-05-16 Yao Qi <yao@codesourcery.com>
16554
16555 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16556 file1.txt from host at the end.
16557 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16558
16559 2014-05-15 Doug Evans <dje@google.com>
16560
16561 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16562 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16563 loading file. Add test for TU lookup.
16564
16565 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16566
16567 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16568 calling "-exec-arguments" or "set args" before running the
16569 inferior.
16570
16571 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16572
16573 * lib/mi-support.exp (mi_expect_stop): Expect message for
16574 inferiors that exit with non-zero exit code.
16575
16576 2014-05-14 Yao Qi <yao@codesourcery.com>
16577
16578 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16579 match absolute path on remote host.
16580 (test_file_list_exec_source_files): Remove "/" from the
16581 pattern.
16582
16583 2014-05-14 Yao Qi <yao@codesourcery.com>
16584
16585 * boards/local-remote-host-notty.exp (${board}_file): New
16586 proc.
16587
16588 2014-05-07 Kyle McMartin <kyle@redhat.com>
16589
16590 Pushed by Joel Brobecker <brobecker@adacore.com>.
16591 * gdb.arch/aarch64-atomic-inst.c: New file.
16592 * gdb.arch/aarch64-atomic-inst.exp: New file.
16593
16594 2014-05-07 Yao Qi <yao@codesourcery.com>
16595
16596 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16597 in current context" too.
16598
16599 2014-05-05 Keith Seitz <keiths@redhat.com>
16600
16601 * gdb.linespec/ls-dollar.exp: Add test for linespec
16602 file:convenience_variable.
16603
16604 2014-05-05 Yao Qi <yao@codesourcery.com>
16605
16606 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16607 traceframes into tfile and ctf trace files. Read data from
16608 trace file and test collected data.
16609 (gdb_collect_locals_test): Likewise.
16610 (gdb_unavailable_registers_test): Likewise.
16611 (gdb_unavailable_floats): Likewise.
16612 (gdb_collect_globals_test): Likewise.
16613 (top-level): Append "ctf" to trace_file_targets if GDB
16614 supports.
16615
16616 2014-05-05 Yao Qi <yao@codesourcery.com>
16617
16618 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16619 code to ...
16620 (gdb_collect_args_test_1): ... it. New proc.
16621 (gdb_collect_locals_test): Move some code to ...
16622 (gdb_collect_locals_test_1): ... it. New proc.
16623 (gdb_unavailable_registers_test): Move some code to ...
16624 (gdb_unavailable_registers_test_1): ... it. New proc.
16625 (gdb_unavailable_floats): Move some code to ...
16626 (gdb_unavailable_floats_1): ... it. New proc.
16627
16628 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16629
16630 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16631 probes to test for bitness recognition.
16632 * gdb.arch/amd64-stap-optional-prefix.exp
16633 (test_probe_value_without_reg): New procedure.
16634 Add code to test for different kinds of bitness.
16635
16636 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16637
16638 PR breakpoints/16889
16639 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16640 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16641
16642 2014-05-01 Pedro Alves <palves@redhat.com>
16643
16644 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16645 gdb_file_cmd if no file is specified.
16646 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16647 last_loaded_file to set the remote exec-file.
16648
16649 2014-05-01 Pedro Alves <palves@redhat.com>
16650
16651 * boards/local-remote-host.exp: New file.
16652
16653 2014-05-01 Pedro Alves <palves@redhat.com>
16654
16655 * boards/local-remote-host.exp: Rename to ...
16656 * boards/local-remote-host-notty.exp: ... this.
16657
16658 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16659
16660 * gdb.ada/dyn_arrayidx: New testcase.
16661
16662 2014-04-26 Yao Qi <yao@codesourcery.com>
16663
16664 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16665 and compute the length of function main. Save it in
16666 $main_length.
16667 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16668 (top-level): Use gdb_compile to compile objects into
16669 executable and restart GDB. Remove invocation to
16670 prepare_for_testing.
16671
16672 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16673 Pedro Alves <palves@redhat.com>
16674
16675 PR server/16255
16676 * gdb.multi/multi-attach.c: New file.
16677 * gdb.multi/multi-attach.exp: New file.
16678
16679 2014-04-25 Pedro Alves <palves@redhat.com>
16680
16681 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16682 user.
16683 (top level): Test that "set remote conditional-breakpoints-packet
16684 off" works as intended.
16685 * gdb.base/dprintf.exp: Test that "set remote
16686 breakpoint-commands-packet off" works as intended.
16687 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16688 New function.
16689 (top level): Call it.
16690 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16691 remote fast-tracepoints-packet off" works as intended.
16692 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16693 * lib/gdb.exp (gdb_is_target_remote): ... here.
16694
16695 2014-04-24 David Blaikie <dblaikie@gmail.com>
16696
16697 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16698 ensure clang would not discard them.
16699 * gdb.base/gdbvars.c: Ditto.
16700 * gdb.base/memattr.c: Ditto.
16701 * gdb.base/whatis.c: Ditto.
16702 * gdb.python/py-prettyprint.c: Ditto.
16703 * gdb.trace/actions.c: Ditto.
16704 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16705 ensure clang would not discard it.
16706
16707 2014-04-24 David Blaikie <dblaikie@gmail.com>
16708
16709 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16710 clang to emit the full definition of type required by the test
16711 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16712
16713 2014-04-24 David Blaikie <dblaikie@gmail.com>
16714
16715 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16716 coax Clang into emitting the definition of the type.
16717 * gdb.cp/pr10728-x.h (y): Ditto.
16718 * gdb.cp/pr10728-y.cc (y): Ditto.
16719
16720 2014-04-24 David Blaikie <dblaikie@gmail.com>
16721
16722 * gdb.base/label.exp: XFAIL label related tests under Clang.
16723 * gdb.cp/cplabel.exp: Ditto.
16724 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16725 under Clang those using labels.
16726
16727 2014-04-25 Yao Qi <yao@codesourcery.com>
16728
16729 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16730 double_label.
16731 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16732 partial_label and double_label.
16733
16734 2014-04-24 David Blaikie <dblaikie@gmail.com>
16735
16736 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16737
16738 2014-04-24 David Blaikie <dblaikie@gmail.com>
16739
16740 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16741 of the function to work across GCC and Clang.
16742 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16743 pointer types (const void ** const V void **).
16744
16745 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16746 Walfred Tedeschi <walfred.tedeschi@intel.com>
16747
16748 * Makefile.in (EXECUTABLES): Added i386-avx512.
16749 * gdb.arch/i386-avx512.c: New file.
16750 * gdb.arch/i386-avx512.exp: Likewise.
16751
16752 2014-04-23 Keith Seitz <keiths@redhat.com>
16753
16754 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16755 (mi_make_breakpoint_table): New procedure.
16756 (mi_create_breakpoint): Use mi_make_breakpoint
16757 and return the result.
16758 (mi_make_breakpoint): New procedure.
16759 (mi_build_kv_pairs): New procedure.
16760
16761 * gdb.mi/mi-break.exp: Remove unused globals,
16762 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16763 All callers updated.
16764 * gdb.mi/mi-dprintf.exp: Use variable to track command
16765 number.
16766 Update all callers of mi_create_breakpoint and use
16767 mi_make_breakpoint_table.
16768 Remove any unused global variables.
16769 * gdb.mi/mi-nonstop.exp: Likewise.
16770 * gdb.mi/mi-nsintrall.exp: Likewise.
16771 * gdb.mi/mi-nsmoribund.exp: Likewise.
16772 * gdb.mi/mi-nsthrexec.exp: Likewise.
16773 * gdb.mi/mi-reverse.exp: Likewise.
16774 * gdb.mi/mi-simplerun.exp: Likewise.
16775 * gdb.mi/mi-stepn.exp: Likewise.
16776 * gdb.mi/mi-syn-frame.exp: Likewise.
16777 * gdb.mi/mi-until.exp: Likewise.
16778 * gdb.mi/mi-var-cp.exp: Likewise.
16779 * gdb.mi/mi-var-display.exp: Likewise.
16780 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16781 * gdb.mi/mi2-var-child.exp: Likewise.
16782 * gdb.mi/mi-vla-c99.exp: Likewise.
16783 * lib/mi-support.exp: Likewise.
16784
16785 From Ian Lance Taylor <iant@cygnus.com>:
16786 * lib/gdb.exp (parse_args): New procedure.
16787
16788 2014-04-23 Pedro Alves <palves@redhat.com>
16789
16790 * gdb.base/break-unload-file.c: New file.
16791 * gdb.base/break-unload-file.exp: New file.
16792 * gdb.base/sym-file-lib.c (baz): New function.
16793 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16794 field.
16795 (load): Store the segment's mapped size.
16796 (unload): New function.
16797 (unload_shlib): New function.
16798 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16799 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16800 set a breakpoint at baz, and call it.
16801 * gdb.base/sym-file.exp: New tests for stale breakpoint
16802 instructions.
16803
16804 2014-04-23 Pedro Alves <palves@redhat.com>
16805
16806 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16807 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16808 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16809 * gdb.base/hbreak-unmapped.c: New file.
16810 * gdb.base/hbreak-unmapped.exp: New file.
16811 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16812 * lib/gdb.exp (gdb_is_target_remote): ... here.
16813
16814 2014-04-22 Pedro Alves <palves@redhat.com>
16815
16816 * gdb.base/consecutive-step-over.c: New file.
16817 * gdb.base/consecutive-step-over.exp: New file.
16818
16819 2014-04-22 Pedro Alves <palves@redhat.com>
16820
16821 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16822 instead of send_gdb/gdb_expect.
16823
16824 2014-04-22 Yao Qi <yao@codesourcery.com>
16825
16826 * lib/trace-support.exp (generate_tracefile): New procedure.
16827 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16828 return 0.
16829 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16830 if generate_tracefile returns 1.
16831
16832 2014-04-18 Tom Tromey <palves@redhat.com>
16833 Pedro alves <tromey@redhat.com>
16834
16835 PR backtrace/15558
16836 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16837 with a backtrace limit.
16838 * gdb.python/py-frame-inline.exp: Test running to an inline
16839 function with a backtrace limit, and printing the newest frame.
16840 * gdb.python/py-frame-inline.c (main): Call f.
16841
16842 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16843
16844 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16845
16846 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16847
16848 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16849 Drop prefix from unsupported source file path.
16850
16851 2014-04-17 Yao Qi <yao@codesourcery.com>
16852
16853 * lib/gdb.exp (with_target_charset): New proc.
16854 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16855 with_target_charset.
16856 (test_print_strings): Likewise.
16857 (test_repeat_bytes): Likewise.
16858 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16859 for some tests.
16860
16861 2014-04-16 Keith Seitz <keiths@redhat.com>
16862
16863 PR gdb/15827
16864 * gdb.dwarf2/corrupt.c: New file.
16865 * gdb.dwarf2/corrupt.exp: New file.
16866
16867 2014-04-16 Keith Seitz <keiths@redhat.com>
16868
16869 PR c++/16597
16870 * gdb.cp/namelessclass.cc: New file.
16871 * gdb.cp/namelessclass.exp: New file.
16872 * gdb.cp/namelessclass.S: New file.
16873
16874 2014-04-16 Doug Evans <dje@google.com>
16875
16876 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16877 Add comment.
16878 (gdbserver_default_get_comm_port): New function.
16879 (gdbserver_start): Check if board file provided
16880 "gdbserver,get_comm_port" and use it if so.
16881 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16882 (gdb,socketport): Set to "stdio".
16883 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16884 (stdio_gdbserver_template): Delete.
16885 (${board}_get_remote_address): Update.
16886 (${board}_build_remote_cmd): Delete.
16887 (${board}_get_comm_port): New function.
16888 (${board}_spawn): Update.
16889 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16890 Delete.
16891 (${board}_get_remote_address): Update.
16892 (${board}_get_comm_port): New function.
16893
16894 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16895
16896 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16897 appearing in any order.
16898
16899 2014-04-15 Doug Evans <dje@google.com>
16900
16901 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16902 uninitialized value of "description".
16903
16904 2014-04-15 Keith Seitz <keiths@redhat.com>
16905
16906 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16907 Remove unused globals.
16908 (test_running_the_program): Likewise.
16909 (test_controlled_execution): Likewise.
16910 (test_controlling_breakpoints): Likewise.
16911 (test_program_termination): Likewise.
16912
16913 2014-04-15 Keith Seitz <keiths@redhat.com>
16914
16915 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16916 unused globals.
16917 (test_rbreak_creation_and_listing): Likewise.
16918 (test_ignore_count): Likewise.
16919 (test_error): Likewise.
16920
16921 2014-04-15 Pedro Alves <palves@redhat.com>
16922
16923 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16924 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16925 sym-file-loader.c.
16926 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16927 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16928 to sym-file-loader.c.
16929 (struct library): Forward declare.
16930 (load_shlib, lookup_function): Change prototypes.
16931 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16932 (translate_offset): Remove declarations.
16933 (get_text_addr): New declaration.
16934 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16935 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16936 sym-file-loader.h.
16937 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16938 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16939 here from sym-file-loader.h.
16940 (struct library): New structure.
16941 (load_shlib, lookup_function): Change prototypes and adjust to
16942 work with a struct library.
16943 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16944 (translate_offset): Make static.
16945 (get_text_addr): New function.
16946 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16947
16948 2014-04-15 Pedro Alves <palves@redhat.com>
16949
16950 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16951
16952 2014-04-15 Pedro Alves <palves@redhat.com>
16953
16954 * gdb.base/sym-file-loader.c: Include <limits.h>.
16955 (SELF_LINK): New define.
16956 (get_origin): New function.
16957 (load_shlib): Use it.
16958 * gdb.base/sym-file.exp: Don't early return if the target is
16959 remote. Use runto_main, and issue fail is that fails. Use
16960 gdb_load_shlibs.
16961 (shlib_name): Delete.
16962 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16963
16964 2014-04-15 Pedro Alves <palves@redhat.com>
16965
16966 * gdb.base/sym-file.exp: Remove regex characters from test
16967 message. Don't refer to breakpoint numbers in test messages.
16968
16969 2014-04-14 Keith Seitz <keiths@redhat.com>
16970
16971 PR c++/16253
16972 * gdb.cp/var-tag.cc: New file.
16973 * gdb.cp/var-tag.exp: New file.
16974 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16975 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16976 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16977 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16978
16979 2014-04-14 Tom Tromey <tromey@redhat.com>
16980
16981 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16982 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16983 type.
16984 * gdb.cp/enum-class.exp: New file.
16985 * gdb.cp/enum-class.cc: New file.
16986
16987 2014-04-14 Tom Tromey <tromey@redhat.com>
16988
16989 * gdb.dwarf2/enum-type.exp: New file.
16990
16991 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16992
16993 * gdb.mi/mi-vla-c99.exp: New file.
16994 * gdb.mi/vla.c: New file.
16995
16996 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16997
16998 * gdb.base/vla-datatypes.c: New file.
16999 * gdb.base/vla-datatypes.exp: New file.
17000
17001 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17002
17003 * gdb.base/vla-ptr.c: New file.
17004 * gdb.base/vla-ptr.exp: New file.
17005
17006 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17007
17008 * gdb.dwarf2/count.exp: New file.
17009
17010 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17011
17012 * gdb.base/vla-sideeffect.c: New file.
17013 * gdb.base/vla-sideeffect.exp: New file.
17014
17015 2014-04-14 David Blaikie <dblaikie@gmail.com>
17016
17017 * gdb.mi/non-stop.c: Add return value for non-void function return
17018 statement.
17019 * gdb.threads/staticthreads.c: Ditto.
17020
17021 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17022 Doug Evans <xdje42@gmail.com>
17023
17024 * gdb.guile/scm-value.c: Improve test case.
17025 * gdb.guile/scm-value.exp: Add new test.
17026
17027 2014-04-11 David Blaikie <dblaikie@gmail.com>
17028
17029 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17030 override Clang's default.
17031
17032 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17033
17034 Revert the following changes (regressions):
17035
17036 * gdb.base/vla-sideeffect.c: New file.
17037 * gdb.base/vla-sideeffect.exp: New file.
17038
17039 * gdb.dwarf2/count.exp: New file.
17040
17041 * gdb.base/vla-multi.c: New file.
17042 * gdb.base/vla-multi.exp: New file.
17043
17044 * gdb.base/vla-ptr.c: New file.
17045 * gdb.base/vla-ptr.exp: New file.
17046
17047 * gdb.base/vla-datatypes.c: New file.
17048 * gdb.base/vla-datatypes.exp: New file.
17049
17050 * gdb.mi/mi-vla-c99.exp: New file.
17051 * gdb.mi/vla.c: New file.
17052
17053 2014-04-11 Keith Seitz <keiths@redhat.com>
17054
17055 PR c++/16675
17056 * gdb.cp/cpsizeof.exp: New file.
17057 * gdb.cp/cpsizeof.cc: New file.
17058
17059 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17060
17061 * gdb.mi/mi-vla-c99.exp: New file.
17062 * gdb.mi/vla.c: New file.
17063
17064 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17065
17066 * gdb.base/vla-datatypes.c: New file.
17067 * gdb.base/vla-datatypes.exp: New file.
17068
17069 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17070
17071 * gdb.base/vla-ptr.c: New file.
17072 * gdb.base/vla-ptr.exp: New file.
17073
17074 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17075
17076 * gdb.base/vla-multi.c: New file.
17077 * gdb.base/vla-multi.exp: New file.
17078
17079 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17080
17081 * gdb.dwarf2/count.exp: New file.
17082
17083 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17084
17085 * gdb.base/vla-sideeffect.c: New file.
17086 * gdb.base/vla-sideeffect.exp: New file.
17087
17088 2014-04-11 Yao Qi <yao@codesourcery.com>
17089
17090 * gdb.base/completion.exp: Check file exists before running tests
17091 on file completion.
17092
17093 2014-04-10 Pedro Alves <palves@redhat.com>
17094
17095 * gdb.base/cond-eval-mode.c: New file.
17096 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17097 prepare_for_testing to build the new file. Check result of
17098 runto_main.
17099 (test_break, test_watch): New procedures.
17100 (top level): Use them.
17101
17102 2014-04-08 Pierre Muller <muller@sourceware.org>
17103
17104 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17105 Ctrl-V use for mingw hosts.
17106
17107 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17108
17109 * gdb.python/py-value.c: Improve test case.
17110 * gdb.python/py-value.exp: Add new test.
17111
17112 2014-04-07 David Blaikie <dblaikie@gmail.com>
17113
17114 * lib/compiler.c: Identify the clang compiler.
17115 * lib/compiler.cc: Ditto.
17116
17117 2014-04-03 Yao Qi <yao@codesourcery.com>
17118
17119 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17120
17121 2014-04-01 Anton Blanchard <anton@samba.org>
17122
17123 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17124 messages unique.
17125
17126 2014-04-01 Anton Blanchard <anton@samba.org>
17127
17128 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17129 prepare_for_testing.
17130
17131 2014-04-01 Anton Blanchard <anton@samba.org>
17132
17133 * gdb.arch/ppc64-atomic-inst.c: Remove.
17134 * gdb.arch/ppc64-atomic-inst.S: New file.
17135 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17136
17137 2014-03-31 Doug Evans <dje@google.com>
17138
17139 * gdb.base/print-symbol-loading-lib.c: New file.
17140 * gdb.base/print-symbol-loading-main.c: New file.
17141 * gdb.base/print-symbol-loading.exp: New file.
17142
17143 2014-03-31 Yao Qi <yao@codesourcery.com>
17144
17145 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17146
17147 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17148
17149 * gdb.ada/mi_dyn_arr: New testcase.
17150
17151 2014-03-27 Doug Evans <dje@google.com>
17152
17153 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17154
17155 2014-03-27 Yao Qi <yao@codesourcery.com>
17156
17157 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17158 if target is nios2-*-*.
17159
17160 2014-03-26 Yao Qi <yao@codesourcery.com>
17161
17162 * lib/gdb.exp (readline_is_used): New proc.
17163 * gdb.base/completion.exp: Move tests on command complete up.
17164 Skip the rest of tests if readline is not used.
17165 * gdb.ada/complete.exp: Skp the test if readline is not
17166 used.
17167 * gdb.base/filesym.exp: Likewise.
17168 * gdb.base/macscp.exp: Likewise.
17169 * gdb.base/readline-ask.exp: Likewise.
17170 * gdb.base/readline.exp: Likewise.
17171 * gdb.python/py-cmd.exp: Likewise.
17172 * gdb.trace/tfile.exp: Likewise.
17173
17174 2014-03-26 Yao Qi <yao@codesourcery.com>
17175
17176 * gdb.base/macscp.exp: Fix code format issues.
17177
17178 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17179
17180 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17181 * gdb.asm/powerpc64le.inc: New file.
17182
17183 2014-03-25 Pedro Alves <palves@redhat.com>
17184 Doug Evans <dje@google.com>
17185
17186 * gdb.base/source-execution.c: New file.
17187 * gdb.base/source-execution.exp: New file.
17188 * gdb.base/source-execution.gdb: New file.
17189
17190 2014-03-24 Doug Evans <dje@google.com>
17191
17192 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17193 using fission.
17194
17195 2014-03-24 Hui Zhu <hui@codesourcery.com>
17196 Pedro Alves <palves@redhat.com>
17197
17198 PR breakpoints/16101
17199 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17200 test pass/fail messages. Detect missing support for dprintf when
17201 breakpoints are actually inserted.
17202 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17203 breakpoints are actually inserted.
17204 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17205 fails.
17206
17207 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17208
17209 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17210
17211 2014-03-22 Doug Evans <xdje42@gmail.com>
17212
17213 * gdb.python/python.exp (python not supported): Verify multi-line
17214 python command issues an error.
17215 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17216 guile command issues an error.
17217
17218 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17219
17220 * gdb.threads/thread-specific.exp: Handle the lack of usable
17221 $this_breakpoint and $this_thread.
17222
17223 2014-03-21 Hui Zhu <hui@codesourcery.com>
17224
17225 * gdb.base/attach.exp (do_command_attach_tests): New.
17226
17227 2014-03-20 Tom Tromey <tromey@redhat.com>
17228 Pedro Alves <palves@redhat.com>
17229
17230 PR cli/15718
17231 * gdb.base/condbreak-call-false.c: New file.
17232 * gdb.base/condbreak-call-false.exp: New file.
17233
17234 2014-03-20 Pedro Alves <palves@redhat.com>
17235
17236 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17237 Delete.
17238 (block_signals, unblock_signals): Delete.
17239 (child_function_2, main): Remove references to deleted variable
17240 and functions.
17241
17242 2014-03-20 Pedro Alves <palves@redhat.com>
17243
17244 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17245 Use pthread_kill to signal thread 2.
17246 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17247 Adjust to make the test send itself a signal rather than using the
17248 host's "kill" command.
17249
17250 2014-03-20 Pedro Alves <palves@redhat.com>
17251
17252 * gdb.threads/multiple-step-overs.c: New file.
17253 * gdb.threads/multiple-step-overs.exp: New file.
17254 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17255 Adjust expected infrun debug output.
17256
17257 2014-03-20 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17260 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17261
17262 2014-03-20 Pedro Alves <palves@redhat.com>
17263
17264 PR breakpoints/7143
17265 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17266 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17267 of gdb_test_multiple.
17268 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17269 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17270
17271 2014-03-20 Pedro Alves <palves@redhat.com>
17272
17273 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17274 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17275
17276 2014-03-19 Pedro Alves <palves@redhat.com>
17277
17278 * gdb.base/async.exp: Remove early return.
17279
17280 2014-03-19 Pedro Alves <palves@redhat.com>
17281
17282 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17283
17284 2014-03-19 Pedro Alves <palves@redhat.com>
17285
17286 * gdb.base/async.exp (test_background): Expect \r\n after
17287 "completed." in the fail pattern.
17288
17289 2014-03-19 Pedro Alves <palves@redhat.com>
17290
17291 * gdb.base/async.exp (test_background): New procedure.
17292 Use it for all background execution command tests.
17293
17294 2014-03-19 Pedro Alves <palves@redhat.com>
17295
17296 * gdb.base/async.exp: Use prepare_for_testing.
17297
17298 2014-03-19 Pedro Alves <palves@redhat.com>
17299
17300 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17301 the same line.
17302
17303 2014-03-19 Pedro Alves <palves@redhat.com>
17304
17305 * gdb.base/async.c (main): Add "jump here" and "until here" line
17306 marker comments.
17307 * gdb.base/async.exp (jump_here): New global.
17308 (jump& test): Use it.
17309 (until_here): New global.
17310 (until& test): Use it.
17311
17312 2014-03-19 Pedro Alves <palves@redhat.com>
17313
17314 * gdb.base/async.exp: Don't frob gdb_protocol.
17315
17316 2014-03-18 Doug Evans <xdje42@gmail.com>
17317
17318 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17319 Fix spelling of exec-done-display.
17320
17321 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17322
17323 PR gdb/15358
17324 * gdb.base/gdb-sigterm.c: New file.
17325 * gdb.base/gdb-sigterm.exp: New file.
17326
17327 2014-03-18 Pedro Alves <palves@redhat.com>
17328
17329 PR gdb/13860
17330 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17331 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17332 solib-event.
17333
17334 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17335
17336 * gdb.ada/pckd_arr_ren: New testcase.
17337
17338 2014-03-13 Doug Evans <xdje42@gmail.com>
17339
17340 PR guile/16612
17341 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17342 collect after discarding symbols.
17343
17344 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17345 Doug Evans <xdje42@gmail.com>
17346
17347 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17348 to history survives a gc.
17349
17350 2014-03-13 Pedro Alves <palves@redhat.com>
17351
17352 * gdb.base/default.exp: Don't test "target procfs".
17353
17354 2014-03-13 Pedro Alves <palves@redhat.com>
17355
17356 * gdb.base/default.exp: Update "target child" and "target procfs"
17357 tests to not expect "Unix".
17358
17359 2014-03-12 Tom Tromey <tromey@redhat.com>
17360
17361 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17362 New procs. Add target-async tests.
17363 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17364 Add target-async tests.
17365
17366 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17367
17368 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17369 'func_start' and 'func_end' for the beginning and end of the
17370 function code, respectively.
17371 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17372 'func_end' instead of 'func' and 'main'.
17373
17374 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17375
17376 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17377 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17378 generate the debug info assembler source.
17379
17380 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17381
17382 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17383 * gdb.dwarf2/arr-subrange.exp: Likewise.
17384 * gdb.dwarf2/dwz.exp: Likewise.
17385 * gdb.dwarf2/method-ptr.exp: Likewise.
17386 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17387 * gdb.dwarf2/subrange.exp: Likewise.
17388 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17389 * gdb.dwarf2/implptrpiece.exp: Likewise.
17390 * gdb.dwarf2/nostaticblock.exp: Likewise.
17391
17392 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17393
17394 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17395 directory to absolute path name arguments.
17396
17397 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17398
17399 * gdb.ada/tagged_access: New testcase.
17400
17401 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17402
17403 * gdb.btrace/data.exp: Update expected output.
17404
17405 2014-03-06 Yao Qi <yao@codesourcery.com>
17406
17407 * gdb.trace/pr16508.exp: New file.
17408
17409 2014-03-05 Pedro Alves <palves@redhat.com>
17410
17411 PR gdb/16575
17412 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17413 procedure.
17414 (top level): Adjust to use it. Add tests that exercise breakpoint
17415 interaction with the code-cache.
17416
17417 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17418
17419 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17420 test for 'history-append!'.
17421
17422 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17423
17424 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17425 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17426 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17427 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17428 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17429 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17430
17431 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17432
17433 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17434 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17435 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17436
17437 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17438
17439 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17440
17441 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17442
17443 * gdb.dwarf2/arr-stride.c: New file.
17444 * gdb.dwarf2/arr-stride.exp: New file.
17445
17446 2014-02-26 Pedro Alves <palves@redhat.com>
17447
17448 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17449 that won't ever trigger. Make sure that GDB reports the correct
17450 breakpoint that caused the stop.
17451
17452 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17453
17454 PR gdb/16626
17455 * gdb.base/auto-load-script: New file.
17456 * gdb.base/auto-load.c: New file.
17457 * gdb.base/auto-load.exp: New file.
17458
17459 PR gdb/16626
17460 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17461
17462 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17463
17464 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17465 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17466
17467 2014-02-24 Doug Evans <dje@google.com>
17468
17469 * lib/gdb.exp (run_on_host): Log error output if program fails.
17470
17471 2014-02-21 Pedro Alves <palves@redhat.com>
17472
17473 * gdb.threads/step-after-sr-lock.c: Rename to ...
17474 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17475 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17476 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17477 ... this.
17478
17479 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17480
17481 PR tdep/16397
17482 * gdb.arch/amd64-stap-special-operands.exp: New file.
17483 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17484 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17485 * gdb.arch/amd64-stap-triplet.S: Likewise.
17486 * gdb.arch/amd64-stap-triplet.c: Likewise.
17487
17488 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17489
17490 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17491 in .section pseudo-op.
17492
17493 2014-02-20 lin zuojian <manjian2006@gmail.com>
17494 Joel Brobecker <brobecker@adacore.com>
17495 Doug Evans <xdje42@gmail.com>
17496
17497 PR symtab/16581
17498 * gdb.dwarf2/dw2-icycle.S: New file.
17499 * gdb.dwarf2/dw2-icycle.c: New file.
17500 * gdb.dwarf2/dw2-icycle.exp: New file.
17501
17502 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17503
17504 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17505 operations on gdb.Value objects.
17506 * gdb.python/py-value-cc.exp: Add new test to test operations on
17507 gdb.Value objects.
17508
17509 2014-02-18 Doug Evans <dje@google.com>
17510
17511 * Makefile.in (TESTS): New variable.
17512 (expanded_tests, expanded_tests_or_none): New variables
17513 (check-single): Pass $(expanded_tests_or_none) to runtest.
17514 (check-parallel): Only run tests in $(TESTS) if non-empty.
17515 (check/no-matching-tests-found): New rule.
17516 * README: Document TESTS makefile variable.
17517
17518 2014-02-18 Doug Evans <dje@google.com>
17519
17520 * Makefile.in (check-parallel): rm -rf outputs temp.
17521
17522 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17523
17524 Fix "ERROR: no fileid for" in the testsuite.
17525 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17526
17527 2014-02-12 Doug Evans <dje@google.com>
17528
17529 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17530 (MISCELLANEOUS): New variable.
17531 (clean): rm -rf $(MISCELLANEOUS).
17532 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17533 dwp live in the same directory as symlinks, with each symlink pointed
17534 to a differently named file in a different directory.
17535
17536 2014-02-11 Doug Evans <dje@google.com>
17537
17538 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17539 of Tcl file commands.
17540
17541 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17542
17543 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17544 "kill -SIGUSR1 -1".
17545
17546 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17547
17548 * gdb.ada/tick_length_array_enum_idx: New testcase.
17549
17550 2014-02-10 Doug Evans <xdje42@gmail.com>
17551
17552 * configure.ac (AC_OUTPUT): Add gdb.guile.
17553 * configure: Regenerate.
17554 * lib/gdb-guile.exp: New file.
17555 * lib/gdb.exp (get_target_charset): New function.
17556 * gdb.base/help.exp: Update expected output from "apropos apropos".
17557 * gdb.guile/Makefile.in: New file.
17558 * gdb.guile/guile.exp: New file.
17559 * gdb.guile/scm-arch.c: New file.
17560 * gdb.guile/scm-arch.exp: New file.
17561 * gdb.guile/scm-block.c: New file.
17562 * gdb.guile/scm-block.exp: New file.
17563 * gdb.guile/scm-breakpoint.c: New file.
17564 * gdb.guile/scm-breakpoint.exp: New file.
17565 * gdb.guile/scm-disasm.c: New file.
17566 * gdb.guile/scm-disasm.exp: New file.
17567 * gdb.guile/scm-equal.c: New file.
17568 * gdb.guile/scm-equal.exp: New file.
17569 * gdb.guile/scm-error.exp: New file.
17570 * gdb.guile/scm-error.scm: New file.
17571 * gdb.guile/scm-frame-args.c: New file.
17572 * gdb.guile/scm-frame-args.exp: New file.
17573 * gdb.guile/scm-frame-args.scm: New file.
17574 * gdb.guile/scm-frame-inline.c: New file.
17575 * gdb.guile/scm-frame-inline.exp: New file.
17576 * gdb.guile/scm-frame.c: New file.
17577 * gdb.guile/scm-frame.exp: New file.
17578 * gdb.guile/scm-generics.exp: New file.
17579 * gdb.guile/scm-gsmob.exp: New file.
17580 * gdb.guile/scm-iterator.c: New file.
17581 * gdb.guile/scm-iterator.exp: New file.
17582 * gdb.guile/scm-math.c: New file.
17583 * gdb.guile/scm-math.exp: New file.
17584 * gdb.guile/scm-objfile-script-gdb.in: New file.
17585 * gdb.guile/scm-objfile-script.c: New file.
17586 * gdb.guile/scm-objfile-script.exp: New file.
17587 * gdb.guile/scm-objfile.c: New file.
17588 * gdb.guile/scm-objfile.exp: New file.
17589 * gdb.guile/scm-ports.exp: New file.
17590 * gdb.guile/scm-pretty-print.c: New file.
17591 * gdb.guile/scm-pretty-print.exp: New file.
17592 * gdb.guile/scm-pretty-print.scm: New file.
17593 * gdb.guile/scm-section-script.c: New file.
17594 * gdb.guile/scm-section-script.exp: New file.
17595 * gdb.guile/scm-section-script.scm: New file.
17596 * gdb.guile/scm-symbol.c: New file.
17597 * gdb.guile/scm-symbol.exp: New file.
17598 * gdb.guile/scm-symtab-2.c: New file.
17599 * gdb.guile/scm-symtab.c: New file.
17600 * gdb.guile/scm-symtab.exp: New file.
17601 * gdb.guile/scm-type.c: New file.
17602 * gdb.guile/scm-type.exp: New file.
17603 * gdb.guile/scm-value-cc.cc: New file.
17604 * gdb.guile/scm-value-cc.exp: New file.
17605 * gdb.guile/scm-value.c: New file.
17606 * gdb.guile/scm-value.exp: New file.
17607 * gdb.guile/source2.scm: New file.
17608 * gdb.guile/types-module.cc: New file.
17609 * gdb.guile/types-module.exp: New file.
17610
17611 2014-02-10 Yao Qi <yao@codesourcery.com>
17612
17613 PR testsuite/16543
17614 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17615 * configure: Regenerated.
17616 * Makefile.in: New file.
17617
17618 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17619
17620 * gdb.python/py-framefilter.exp: Fix typo.
17621
17622 2014-02-08 Yao Qi <yao@codesourcery.com>
17623
17624 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17625 that no =breakpoint-modified is emitted when breakpoints are
17626 modified through MI commands.
17627
17628 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17629 Pedro Alves <palves@redhat.com>
17630
17631 * gdb.threads/step-after-sr-lock.c: New file.
17632 * gdb.threads/step-after-sr-lock.exp: New file.
17633
17634 2014-02-07 Pedro Alves <palves@redhat.com>
17635
17636 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17637
17638 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17639
17640 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17641 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17642
17643 2014-02-06 Doug Evans <xdje42@gmail.com>
17644
17645 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17646 output.
17647
17648 * gdb.gdb/python-interrupts.exp: New file.
17649
17650 2014-02-05 Yao Qi <yao@codesourcery.com>
17651
17652 * gdb.trace/report.exp (use_collected_data): Test the output
17653 of "info threads" and "info inferiors".
17654
17655 2014-02-05 Yao Qi <yao@codesourcery.com>
17656
17657 Revert this patch:
17658
17659 2013-05-24 Yao Qi <yao@codesourcery.com>
17660
17661 * gdb.trace/tfile.exp: Test inferior and thread.
17662
17663 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17664
17665 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17666 on a function.
17667 * gdb.base/step-bt.c: Call hello via function pointer to make
17668 sure its first instruction is executed on powerpc64le-linux.
17669
17670 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17671
17672 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17673
17674 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17675
17676 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17677 of the test patterns for use on little-endian systems.
17678
17679 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17680
17681 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17682 (decimal_vector): Fix for little-endian.
17683
17684 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17685
17686 * gdb.arch/sparc-sysstep.exp: New file.
17687 * gdb.arch/sparc-sysstep.c: Likewise.
17688
17689 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17690
17691 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17692
17693 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17694
17695 2014-01-23 Tom Tromey <tromey@redhat.com>
17696
17697 * gdb.ada/array_char_idx: New testcase.
17698
17699 2014-01-23 Tom Tromey <tromey@redhat.com>
17700
17701 PR python/16487:
17702 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17703 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17704 classes.
17705
17706 2014-01-23 Tom Tromey <tromey@redhat.com>
17707
17708 PR python/16491:
17709 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17710 string from an inferior frame.
17711 * gdb.python/py-framefilter-mi.exp: Update.
17712
17713 2014-01-22 Doug Evans <dje@google.com>
17714
17715 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17716
17717 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17718
17719 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17720
17721 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17722
17723 * gdb.trace/entry-values.exp: Remove excess space character from
17724 regex patterns. Handle s390 call instruction.
17725
17726 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17727
17728 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17729 define "*_start" label. Make "name" static.
17730 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17731 ${name} by references to ${name}_start.
17732
17733 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17734
17735 * gdb.base/info-macros.exp: Remove "debug" from the compile
17736 options.
17737
17738 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17739
17740 * gdb.dlang/demangle.exp: New file.
17741
17742 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17743
17744 * gdb.dlang/primitive-types.exp: New file.
17745
17746 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17747
17748 * configure.ac: Create gdb.dlang/Makefile.
17749 * configure: Regenerate.
17750 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17751 * gdb.dlang/Makefile.in: New file.
17752 * lib/d-support.exp: New file.
17753 * lib/gdb.exp (skip_d_tests): New proc.
17754
17755 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17756
17757 * gdb.btrace/delta.exp: Check reverse stepi.
17758 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17759 * gdb.btrace/finish.exp: New.
17760 * gdb.btrace/next.exp: New.
17761 * gdb.btrace/nexti.exp: New.
17762 * gdb.btrace/record_goto.c: Add comments.
17763 * gdb.btrace/step.exp: New.
17764 * gdb.btrace/stepi.exp: New.
17765 * gdb.btrace/multi-thread-step.c: New.
17766 * gdb.btrace/multi-thread-step.exp: New.
17767 * gdb.btrace/rn-dl-bind.c: New.
17768 * gdb.btrace/rn-dl-bind.exp: New.
17769 * gdb.btrace/data.c: New.
17770 * gdb.btrace/data.exp: New.
17771 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17772
17773 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17774
17775 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17776 * gdb.btrace/exception.exp: Update.
17777 * gdb.btrace/instruction_history.exp: Update.
17778 * gdb.btrace/record_goto.exp: Update.
17779 * gdb.btrace/tailcall.exp: Update.
17780 * gdb.btrace/unknown_functions.exp: Update.
17781 * gdb.btrace/delta.exp: New.
17782
17783 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17784
17785 * gdb.btrace/record_goto.exp: Add backtrace test.
17786 * gdb.btrace/tailcall.exp: Add backtrace test.
17787
17788 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17789
17790 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17791 * gdb.btrace/record_goto.c: New.
17792 * gdb.btrace/record_goto.exp: New.
17793 * gdb.btrace/x86-record_goto.S: New.
17794
17795 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17796
17797 * gdb.btrace/function_call_history.exp: Update tests.
17798 * gdb.btrace/instruction_history.exp: Update tests.
17799
17800 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17801
17802 * gdb.btrace/function_call_history.exp: Fix expected field
17803 order for "record function-call-history".
17804 Add new tests for "record function-call-history /c".
17805 * gdb.btrace/exception.cc: New.
17806 * gdb.btrace/exception.exp: New.
17807 * gdb.btrace/tailcall.exp: New.
17808 * gdb.btrace/x86-tailcall.S: New.
17809 * gdb.btrace/x86-tailcall.c: New.
17810 * gdb.btrace/unknown_functions.c: New.
17811 * gdb.btrace/unknown_functions.exp: New.
17812 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17813
17814 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17815
17816 * gdb.btrace/instruction_history.exp: Update.
17817 * gdb.btrace/function_call_history.exp: Update.
17818
17819 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17820
17821 * gdb.btrace/function_call_history.exp: Fix expected function
17822 trace.
17823 * gdb.btrace/instruction_history.exp: Initialize traced.
17824 Remove traced_functions.
17825
17826 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17827
17828 * gdb.btrace/function_call_history.exp: Update
17829 * gdb.btrace/instruction_history.exp: Update.
17830
17831 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17832
17833 * gdb.btrace/enable.exp: Update expected text.
17834
17835 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17836
17837 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17838 bytes.
17839
17840 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17841
17842 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17843
17844 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17845
17846 * lib/gdb.exp (supports_process_record): Return true for
17847 arm*-linux*. (supports_reverse): Likewise.
17848
17849 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17850
17851 PR python/15464
17852 PR python/16113
17853 * gdb.python/py-type.c: Enhance test case.
17854 * gdb.python/py-value-cc.cc: Likewise
17855 * gdb.python/py-type.exp: Add new tests.
17856 * gdb.python/py-value-cc.exp: Likewise
17857
17858 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17859 Pedro Alves <palves@redhat.com>
17860
17861 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17862 Make "name" extern.
17863 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17864 references to ${name}_start by references to ${name}.
17865
17866 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17867
17868 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17869
17870 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17871
17872 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17873
17874 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17875 Pedro Alves <palves@redhat.com>
17876
17877 * gdb.mi/mi-info-os.exp: Connect to the target with
17878 mi_gdb_target_load.
17879
17880 2014-01-08 Pedro Alves <palves@redhat.com>
17881
17882 * gdb.threads/reconnect-signal.c: New file.
17883 * gdb.threads/reconnect-signal.exp: New file.
17884
17885 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17886
17887 * gdb.base/source-dir.exp: New file.
17888
17889 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17890
17891 * gdb.ada/mi_interface: New testcase.
17892
17893 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17894
17895 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17896 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17897 gdb.ada/pp-rec-component/pck.ads: New files.
17898
17899 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17900
17901 * gdb.python/py-pp-integral.c: New file.
17902 * gdb.python/py-pp-integral.py: New file.
17903 * gdb.python/py-pp-integral.exp: New file.
17904
17905 For older changes see ChangeLog-1993-2013.
17906 \f
17907 ;; Local Variables:
17908 ;; mode: change-log
17909 ;; left-margin: 8
17910 ;; fill-column: 74
17911 ;; version-control: never
17912 ;; End:
17913
17914 Copyright 2014-2019 Free Software Foundation, Inc.
17915 Copying and distribution of this file, with or without modification,
17916 are permitted provided the copyright notice and this notice are preserved.
This page took 0.42901 seconds and 5 git commands to generate.