gdb/python: smarter symbol lookup for gdb.lookup_static_symbol
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.python/py-symbol.c: Declare and call function from new
4 py-symbol-2.c file.
5 * gdb.python/py-symbol.exp: Compile both source files, and add new
6 tests for gdb.lookup_static_symbol.
7 * gdb.python/py-symbol-2.c: New file.
8
9 2019-11-02 Tom de Vries <tdevries@suse.de>
10
11 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
12 * gdb.base/anon.exp: Same.
13 * gdb.base/auto-connect-native-target.exp: Same.
14 * gdb.base/call-ar-st.exp: Same.
15 * gdb.base/catch-syscall.exp: Same.
16 * gdb.base/commands.exp: Same.
17 * gdb.base/default.exp: Same.
18 * gdb.base/display.exp: Same.
19 * gdb.base/float.exp: Same.
20 * gdb.base/foll-fork.exp: Same.
21 * gdb.base/help.exp: Same.
22 * gdb.base/info-macros.exp: Same.
23 * gdb.base/info-proc.exp: Same.
24 * gdb.base/info-target.exp: Same.
25 * gdb.base/long_long.exp: Same.
26 * gdb.base/macscp.exp: Same.
27 * gdb.base/memattr.exp: Same.
28 * gdb.base/nofield.exp: Same.
29 * gdb.base/pointers.exp: Same.
30 * gdb.base/printcmds.exp: Same.
31 * gdb.base/ptype.exp: Same.
32 * gdb.base/restore.exp: Same.
33 * gdb.base/return.exp: Same.
34 * gdb.base/scope.exp: Same.
35 * gdb.base/set-noassign.exp: Same.
36 * gdb.base/setshow.exp: Same.
37 * gdb.base/shlib-call.exp: Same.
38 * gdb.base/signals.exp: Same.
39 * gdb.base/sigstep.exp: Same.
40 * gdb.base/skip.exp: Same.
41 * gdb.base/solib-symbol.exp: Same.
42 * gdb.base/stap-probe.exp: Same.
43 * gdb.base/step-line.exp: Same.
44 * gdb.base/step-test.exp: Same.
45 * gdb.base/style.exp: Same.
46 * gdb.base/varargs.exp: Same.
47 * gdb.base/vla-datatypes.exp: Same.
48 * gdb.base/vla-ptr.exp: Same.
49 * gdb.base/vla-sideeffect.exp: Same.
50 * gdb.base/volatile.exp: Same.
51 * gdb.base/watch-cond-infcall.exp: Same.
52 * gdb.base/watchpoint.exp: Same.
53
54 2019-11-02 Tom de Vries <tdevries@suse.de>
55
56 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
57 * gdb.cp/cpexprs.exp: Same.
58 * gdb.cp/except-multi-location.exp: Same.
59 * gdb.cp/exceptprint.exp: Same.
60 * gdb.cp/gdb2384.exp: Same.
61 * gdb.cp/inherit.exp: Same.
62 * gdb.cp/m-static.exp: Same.
63 * gdb.cp/meth-typedefs.exp: Same.
64 * gdb.cp/misc.exp: Same.
65 * gdb.cp/namespace.exp: Same.
66 * gdb.cp/non-trivial-retval.exp: Same.
67 * gdb.cp/overload.exp: Same.
68 * gdb.cp/pr17132.exp: Same.
69 * gdb.cp/re-set-overloaded.exp: Same.
70 * gdb.cp/rvalue-ref-types.exp: Same.
71 * gdb.cp/templates.exp: Same.
72
73 2019-11-01 Luis Machado <luis.machado@linaro.org>
74
75 PR gdb/25124
76
77 * gdb.arch/pr25124.S: New file.
78 * gdb.arch/pr25124.exp: New file.
79
80 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
81
82 * gdb.fortran/info-modules.exp: Update expected results, and add
83 additional tests for 'info module functinos', and 'info module
84 variables'.
85 * gdb.fortran/info-types.exp: Update expected results.
86 * gdb.fortran/info-types.f90: Extend testcase with additional
87 module variables and functions.
88
89 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
90
91 * gdb.fortran/info-modules.exp: New file.
92 * gdb.fortran/info-types.exp: Build with new file.
93 * gdb.fortran/info-types.f90: Include and use new module.
94 * gdb.fortran/info-types-2.f90: New file.
95
96 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
97
98 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
99 * gdb.base/settings.exp: Test all settings types using
100 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
101 that now verifies that the value of "maint show" is the same as
102 returned by the settings functions. Test the type of the
103 maintenance settings.
104 * gdb.base/default.exp: Update show_conv_list.
105
106 2019-10-31 Tom de Vries <tdevries@suse.de>
107
108 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
109 gdb_test.
110 * gdb.arch/amd64-disp-step.exp: Same.
111 * gdb.asm/asm-source.exp: Same.
112 * gdb.btrace/buffer-size.exp: Same.
113 * gdb.btrace/cpu.exp: Same.
114 * gdb.btrace/enable.exp: Same.
115 * gdb.dwarf2/count.exp: Same.
116 * gdb.dwarf2/dw2-ranges-func.exp: Same.
117 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
118 * gdb.fortran/vla-datatypes.exp: Same.
119 * gdb.fortran/vla-history.exp: Same.
120 * gdb.fortran/vla-ptype.exp: Same.
121 * gdb.fortran/vla-value.exp: Same.
122 * gdb.fortran/whatis_type.exp: Same.
123 * gdb.guile/guile.exp: Same.
124 * gdb.multi/tids.exp: Same.
125 * gdb.python/py-finish-breakpoint.exp: Same.
126 * gdb.python/py-framefilter.exp: Same.
127 * gdb.python/py-pp-registration.exp: Same.
128 * gdb.python/py-xmethods.exp: Same.
129 * gdb.python/python.exp: Same.
130 * gdb.server/connect-with-no-symbol-file.exp: Same.
131 * gdb.server/no-thread-db.exp: Same.
132 * gdb.server/run-without-local-binary.exp: Same.
133 * gdb.stabs/weird.exp: Same.
134 * gdb.threads/attach-many-short-lived-threads.exp: Same.
135 * gdb.threads/thread-find.exp: Same.
136 * gdb.threads/tls-shared.exp: Same.
137 * gdb.threads/tls.exp: Same.
138 * gdb.threads/wp-replication.exp: Same.
139 * gdb.trace/ax.exp: Same.
140 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
141
142 2019-10-31 Tom de Vries <tdevries@suse.de>
143
144 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
145 * gdb.ada/array_subscript_addr.exp: Same.
146 * gdb.ada/arrayidx.exp: Same.
147 * gdb.ada/arrayparam.exp: Same.
148 * gdb.ada/arrayptr.exp: Same.
149 * gdb.ada/boolean_expr.exp: Same.
150 * gdb.ada/call_pn.exp: Same.
151 * gdb.ada/complete.exp: Same.
152 * gdb.ada/fixed_cmp.exp: Same.
153 * gdb.ada/fun_addr.exp: Same.
154 * gdb.ada/funcall_param.exp: Same.
155 * gdb.ada/interface.exp: Same.
156 * gdb.ada/mod_from_name.exp: Same.
157 * gdb.ada/null_array.exp: Same.
158 * gdb.ada/packed_array.exp: Same.
159 * gdb.ada/packed_tagged.exp: Same.
160 * gdb.ada/print_chars.exp: Same.
161 * gdb.ada/print_pc.exp: Same.
162 * gdb.ada/ptype_arith_binop.exp: Same.
163 * gdb.ada/ptype_field.exp: Same.
164 * gdb.ada/ptype_tagged_param.exp: Same.
165 * gdb.ada/rec_return.exp: Same.
166 * gdb.ada/ref_tick_size.exp: Same.
167 * gdb.ada/str_ref_cmp.exp: Same.
168 * gdb.ada/taft_type.exp: Same.
169 * gdb.ada/tagged.exp: Same.
170 * gdb.ada/type_coercion.exp: Same.
171 * gdb.ada/uninitialized_vars.exp: Same.
172
173 2019-10-30 Tom de Vries <tdevries@suse.de>
174
175 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
176
177 2019-10-26 Tom de Vries <tdevries@suse.de>
178
179 * gdb.base/bigcore.c: Fix typos in comments.
180 * gdb.base/ctf-ptype.c: Same.
181 * gdb.base/long_long.c: Same.
182 * gdb.dwarf2/dw2-op-out-param.S: Same.
183 * gdb.python/py-evthreads.c: Same.
184 * gdb.reverse/i387-stack-reverse.c: Same.
185 * gdb.trace/tfile.c: Same.
186 * lib/compiler.c: Same.
187 * lib/compiler.cc: Same.
188
189 2019-10-25 Tom de Vries <tdevries@suse.de>
190
191 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
192 gdb_test_multiple calls.
193 * gdb.reverse/sigall-reverse.exp: Same.
194 * gdb.reverse/solib-precsave.exp: Same.
195 * gdb.reverse/solib-reverse.exp: Same.
196 * gdb.reverse/until-precsave.exp: Same.
197 * gdb.reverse/until-reverse.exp: Same.
198
199 2019-10-24 Tom de Vries <tdevries@suse.de>
200
201 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
202 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
203 kfail using -wrap pattern flag and convenience variable
204 gdb_test_name.
205
206 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
207
208 * gdb.python/py-progspace.exp: Add tests for the
209 Progspace.block_for_pc method.
210
211 2019-10-23 Tom Tromey <tom@tromey.com>
212
213 * configure: Rebuild.
214 * aclocal.m4: Use m4_include, not sinclude.
215
216 2019-10-21 Tom de Vries <tdevries@suse.de>
217
218 * gdb.base/infcall-nested-structs.c: Add
219 __attribute__((noinline,noclone)) to all functions.
220 (call_all): Add missing variable initialization. Simplify return value.
221 (breakpt): Increment volatile variable, to prevent call from being
222 optimized out.
223 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
224
225 2019-10-17 Tom de Vries <tdevries@suse.de>
226
227 * gdb.fortran/module.exp: Allow info variables to print info for files
228 other than module.f90.
229
230 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
231
232 * gdb.fortran/module.exp: Extend with 'info variables' test.
233
234 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
235
236 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
237 F77_FOR_TARGET.
238
239 2019-10-16 Tom de Vries <tdevries@suse.de>
240
241 PR tdep/25096
242 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
243
244 2019-10-16 Tom de Vries <tdevries@suse.de>
245
246 PR tdep/24104
247 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
248 Add KFAIL for PR tdep/25096.
249
250 2019-10-16 Tom de Vries <tdevries@suse.de>
251
252 PR testsuite/25059
253 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
254
255 2019-10-16 Tom de Vries <tdevries@suse.de>
256
257 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
258 as signed.
259
260 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
261
262 * gdb.mi/list-thread-groups-available.exp: Read entries one by
263 one instead of increasing timeout.
264
265 2019-10-13 Tom de Vries <tdevries@suse.de>
266
267 PR record/25038
268 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
269 * gdb.reverse/sigall-reverse.exp: Same.
270 * gdb.reverse/solib-precsave.exp: Same.
271 * gdb.reverse/solib-reverse.exp: Same.
272 * gdb.reverse/step-precsave.exp: Same.
273 * gdb.reverse/until-precsave.exp: Same.
274 * gdb.reverse/until-reverse.exp: Same.
275 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
276
277 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
278
279 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
280 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
281 (cmp_struct_05_01, cmp_struct_static_02_01)
282 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
283 comparisons.
284
285 2019-10-10 Tom de Vries <tdevries@suse.de>
286
287 PR testsuite/24888
288 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
289 gnatlink.
290
291 2019-10-09 Tom de Vries <tdevries@suse.de>
292
293 PR testsuite/25048
294 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
295
296 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
297
298 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
299 exceptions due to missing debug information.
300
301 2019-10-07 Tom de Vries <tdevries@suse.de>
302
303 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
304
305 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
306
307 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
308 * gdb.base/annota1.exp: Update to use gdb_test_name.
309
310 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
311
312 * gdb.base/ctf-whatis.exp: New file.
313 * gdb.base/ctf-whatis.c: New file.
314 * gdb.base/ctf-ptype.exp: New file.
315 * gdb.base/ctf-ptype.c: New file.
316 * gdb.base/ctf-constvars.exp: New file.
317 * gdb.base/ctf-constvars.c: New file.
318 * gdb.base/ctf-cvexpr.exp: New file.
319
320 2019-10-04 Tom de Vries <tdevries@suse.de>
321
322 * gdb.cp/local-static.c (main): Move declaration of int i out of the
323 for loop.
324
325 2019-10-03 Tom Tromey <tom@tromey.com>
326
327 PR rust/24976:
328 * gdb.rust/simple.rs (Union2): New type.
329 (main): Use Union2.
330 * gdb.rust/simple.exp: Add test.
331
332 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
333
334 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
335 nested function prefix.
336
337 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
338 Richard Bunt <richard.bunt@arm.com>
339 Andrew Burgess <andrew.burgess@embecosm.com>
340
341 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
342 nested functions.
343 * gdb.fortran/nested-funcs.f90: Update expected results.
344 * gdb.fortran/nested-funcs-2.exp: New file.
345 * gdb.fortran/nested-funcs-2.f90: New file.
346
347 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
348
349 * gdb.python/py-parameter.exp: Make test names unique.
350 * gdb.python/py-template.exp: Likewise.
351 * gdb.python/py-value.exp: Likewise.
352
353 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
354
355 * gdb.base/break-interp.exp: Reduce test name duplication.
356 * gdb.base/call-sc.exp: Likewise.
357 * gdb.base/callfuncs.exp: Likewise.
358 * gdb.base/charset.exp: Likewise.
359 * gdb.base/dump.exp: Likewise.
360 * gdb.base/ena-dis-br.exp: Likewise.
361 * gdb.base/relational.exp: Likewise.
362 * gdb.base/step-over-syscall.exp: Likewise.
363 * gdb.base/structs.exp: Likewise.
364
365 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
366
367 * gdb.linespec/explicit.exp: Make test names unique.
368 * gdb.linespec/ls-errs.exp: Likewise.
369
370 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * gdb.reverse/break-precsave.exp: Make test names unique.
373 * gdb.reverse/break-reverse.exp: Likewise.
374 * gdb.reverse/finish-precsave.exp: Likewise.
375 * gdb.reverse/finish-reverse.exp: Likewise.
376 * gdb.reverse/machinestate-precsave.exp: Likewise.
377 * gdb.reverse/machinestate.exp: Likewise.
378 * gdb.reverse/readv-reverse.exp: Likewise.
379 * gdb.reverse/recvmsg-reverse.exp: Likewise.
380 * gdb.reverse/sigall-precsave.exp: Likewise.
381 * gdb.reverse/sigall-reverse.exp: Likewise.
382 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
383 * gdb.reverse/watch-precsave.exp: Likewise.
384 * gdb.reverse/watch-reverse.exp: Likewise.
385
386 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
387
388 * gdb.threads/stop-with-handle.c: New file.
389 * gdb.threads/stop-with-handle.exp: New file.
390
391 2019-10-03 Tom de Vries <tdevries@suse.de>
392
393 PR testsuite/25059
394 * gdb.base/list-missing-source.exp: Allowing the "Compilation
395 directory" line to be missing.
396
397 2019-10-03 Tom de Vries <tdevries@suse.de>
398
399 PR testsuite/25059
400 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
401 type optional.
402
403 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
404
405 * gdb.python/py-format-string.c (string.h): New include.
406 (main): Fill a_struct_with_union.the_union.an_int with bytes of
407 the same value, for endianness-independence.
408 * gdb.python/py-format-string.exp (default_regexp_dict)
409 (test_pretty_structs, test_format): Adjust expected output to the
410 changed initialization.
411
412 2019-10-02 Tom Tromey <tromey@adacore.com>
413
414 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
415
416 2019-10-02 Pedro Alves <palves@redhat.com>
417 Andrew Burgess <andrew.burgess@embecosm.com>
418
419 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
420 "print-file-var.h".
421 (this_version_id) Use ATTRIBUTE_VISIBILITY.
422 (get_version_1): Print this_version_id and its address.
423 Add extern "C" wrappers around interface functions.
424 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
425 "print-file-var.h".
426 (this_version_id) Use ATTRIBUTE_VISIBILITY.
427 (get_version_2): Print this_version_id and its address.
428 Add extern "C" wrappers around interface functions.
429 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
430 <stddef.h> and "print-file-var.h".
431 Add extern "C" wrappers around interface functions.
432 [VERSION_ID_MAIN] (this_version_id): Define.
433 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
434 * gdb.base/print-file-var.h: Add some #defines to simplify setting
435 up extern "C" blocks.
436 * gdb.base/print-file-var.exp (test): New, factored out from top
437 level.
438 (top level): Test all combinations of attribute hidden or not,
439 dlopen or not, and this_version_id symbol in main file or not.
440 Compile tests as both C++ and C, make test names unique.
441
442 2019-10-01 Tom Tromey <tom@tromey.com>
443
444 * gdb.base/style.exp: Test "show logging filename".
445
446 2019-10-01 Tom Tromey <tom@tromey.com>
447
448 * lib/gdb-utils.exp (style): Handle "metadata" argument.
449 * gdb.base/style.exp: Add metadata style test.
450
451 2019-10-01 Tom Tromey <tom@tromey.com>
452
453 * gdb.base/style.exp: Test "pwd".
454
455 2019-10-01 Tom Tromey <tom@tromey.com>
456
457 * gdb.base/style.exp: Update tests.
458
459 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
460
461 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
462 'six' to unsigned.
463 (s1): Initialize fields 'four' and 'six' instead of 'three' and
464 'five'. Use an all-ones bit pattern for each.
465 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
466 to its changed values.
467
468 2019-09-30 Tom Tromey <tromey@adacore.com>
469
470 * gdb.rust/traits.rs: Disable all warnings.
471
472 2019-09-29 Tom de Vries <tdevries@suse.de>
473
474 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
475
476 2019-09-29 Tom de Vries <tdevries@suse.de>
477
478 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
479
480 2019-09-27 Tom de Vries <tdevries@suse.de>
481
482 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
483
484 2019-09-27 Tom de Vries <tdevries@suse.de>
485
486 PR record/23188
487 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
488
489 2019-09-26 Tom Tromey <tromey@adacore.com>
490
491 * gdb.ada/py_taft.exp: New file.
492 * gdb.ada/py_taft/main.adb: New file.
493 * gdb.ada/py_taft/pkg.adb: New file.
494 * gdb.ada/py_taft/pkg.ads: New file.
495
496 2019-09-24 Tom de Vries <tdevries@suse.de>
497
498 PR gdb/24598
499 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
500
501 2019-09-22 Tom de Vries <tdevries@suse.de>
502
503 * gdb.base/restore.exp: Allow register variables to be optimized out at
504 -O0.
505
506 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
507
508 * gdb.arch/spu-info.exp: Remove file.
509 * gdb.arch/spu-info.c: Remove file.
510 * gdb.arch/spu-ls.exp: Remove file.
511 * gdb.arch/spu-ls.c: Remove file.
512
513 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
514 * gdb.asm/spu.inc: Remove file.
515
516 * gdb.base/dump.exp: Remove support for spu*-*-*.
517 * gdb.base/stack-checking.exp: Likewise.
518 * gdb.base/overlays.exp: Likewise.
519 * gdb.base/ovlymgr.c: Likewise.
520 * gdb.base/spu.ld: Remove file.
521
522 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
523 * gdb.cp/cpexprs.exp: Likewise.
524 * gdb.cp/exception.exp: Likewise.
525 * gdb.cp/gdb2495.exp: Likewise.
526 * gdb.cp/mb-templates.exp: Likewise.
527 * gdb.cp/pr9167.exp: Likewise.
528 * gdb.cp/userdef.exp: Likewise.
529
530 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
531
532 * gdb.cell: Remove directory.
533 * lib/cell.exp: Remove file.
534
535 2019-09-19 Tom de Vries <tdevries@suse.de>
536
537 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
538
539 2019-09-19 Tom de Vries <tdevries@suse.de>
540
541 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
542
543 2019-09-19 Tom de Vries <tdevries@suse.de>
544
545 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
546 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
547 (gdb_target_cmd): ... here.
548 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
549 value 2.
550
551 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
552
553 * gdb.base/source-dir.exp: Avoid having directory names in test
554 names.
555
556 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
557
558 * gdb.base/source-dir.exp: Add extra test for mapped compilation
559 directory.
560
561 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
562
563 * gdb.base/list-missing-source.exp: New file.
564
565 2019-09-14 Tom de Vries <tdevries@suse.de>
566
567 PR teststuite/24599
568 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
569 * lib/ada.exp (gnatmake_version_at_least): New proc.
570
571 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
572
573 * gdb.base/maint.exp: Use exec_has_index_section.
574
575 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
576
577 * gdb.base/maint.exp: Add test for 'maint info sections'.
578
579 2019-09-12 Tom de Vries <tdevries@suse.de>
580
581 * gdb.base/store.exp: Allow register variables to be optimized out at
582 -O0.
583
584 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
585
586 * gdb.ada/rdv_wait.exp: Update to new task names.
587 * gdb.base/task_switch_in_core.exp: Likewise.
588 * gdb.base/info_sources_base.c: Likewise.
589
590 2019-09-10 Tom Tromey <tromey@adacore.com>
591
592 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
593
594 2019-09-10 Tom Tromey <tromey@adacore.com>
595
596 * gdb.ada/dgopt.exp: New file.
597 * gdb.ada/dgopt/x.adb: New file.
598
599 2019-09-08 Tom Tromey <tom@tromey.com>
600
601 * gdb.tui/resize.exp: Remove setup_xfail.
602 * gdb.tui/regs.exp: Remove setup_xfail.
603 * gdb.tui/basic.exp: Remove setup_xfail.
604
605 2019-09-06 David Blaikie <dblaikie@gmail.com>
606
607 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
608 * gdb.cp/cplabel.exp: Ditto.
609 * gdb.linespec/ls-errs.exp: Ditto.
610
611 2019-09-05 Tom de Vries <tdevries@suse.de>
612
613 * lib/gdb.exp (cmp_file_string): New proc.
614 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
615 runto_main. Verify save breakpoints output.
616
617 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
618
619 * gdb.base/info-var.exp: Test info variables without running
620 to main, to avoid expect's buffer overflow.
621
622 2019-09-03 Tom Tromey <tromey@adacore.com>
623
624 * gdb.ada/bias.exp: New file.
625 * gdb.ada/bias/bias.adb: New file.
626 * gdb.ada/print_chars.exp: Add regression test.
627 * gdb.ada/print_chars/foo.adb (My_Character): New type.
628 (MC): New variable.
629
630 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
631
632 * gdb.base/argv0-symlink.exp: Run only on native target
633 and local host.
634
635 2019-08-29 Tom de Vries <tdevries@suse.de>
636
637 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
638 diverse debug info.
639 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
640
641 2019-08-28 Tom de Vries <tdevries@suse.de>
642
643 * gdb.base/info-var.exp: Allow info variables to print info for files
644 other than info-var-f1.c and info-var-f2.c.
645
646 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
647
648 * gdb.fortran/info-types.exp: Add module.
649 * gdb.fortran/info-types.f90: Update expected results.
650
651 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
652
653 * gdb.fortran/info-types.exp: New file.
654 * gdb.fortran/info-types.f90: New file.
655 * lib/fortran.exp (fortran_character1): New proc.
656
657 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
658
659 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
660 functions'. Reindent as needed.
661 * gdb.base/info-var-f1.c: New file.
662 * gdb.base/info-var-f2.c: New file.
663 * gdb.base/info-var.exp: New file.
664 * gdb.base/info-var.h: New file.
665
666 2019-08-26 Tom de Vries <tdevries@suse.de>
667
668 PR c++/24852
669 * gdb.cp/no-libstdcxx-probe.exp: New test.
670
671 2019-08-26 Tom de Vries <tdevries@suse.de>
672
673 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
674 * tests need to be skipped.
675 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
676 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
677 mi_skip_libstdcxx_probe_tests.
678
679 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
680
681 * gdb.python/py-xmethods.exp: Use raw strings when passing
682 arguments to SimpleXMethodMatcher.
683
684 2019-08-22 Tom de Vries <tdevries@suse.de>
685
686 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
687 more informative.
688
689 2019-08-21 Pedro Alves <palves@redhat.com>
690
691 * gdb.base/with.exp: Test "with" with no arguments.
692
693 2019-08-21 Tom de Vries <tdevries@suse.de>
694
695 * gdb.base/gdb-caching-proc.exp: Sort files.
696
697 2019-08-20 Tom de Vries <tdevries@suse.de>
698
699 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
700 compilation.
701
702 2019-08-16 Tom de Vries <tdevries@suse.de>
703
704 * gdb.base/compare-sections.exp ("after run to main"): Allow
705 mismatched read-only sections for PIE executables.
706
707 2019-08-16 Tom Tromey <tom@tromey.com>
708
709 * lib/tuiterm.exp (_csi_Z): New proc.
710 * gdb.tui/basic.exp: Update window positions.
711 * gdb.tui/empty.exp: Update window positions.
712
713 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
714
715 * gdb.base/examine-backward.exp: Correct regexp for
716 "examine 3 bytes backward from ${address_zero}".
717
718 2019-08-15 Tom Tromey <tom@tromey.com>
719
720 * gdb.tui/empty.exp: Enable resizing tests.
721
722 2019-08-15 Tom Tromey <tromey@adacore.com>
723
724 * gdb.ada/char_enum.exp: Add regression tests.
725 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
726 and '0'.
727 (Char, Gchar): Update.
728 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
729
730 2019-08-15 Christian Biesinger <cbiesinger@google.com>
731
732 * gdb.python/python.exp: Expect a leading underscore on
733 GdbOutput{,Error}File.
734
735 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
736
737 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
738 Windows host.
739
740 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
741
742 * gdb.base/batch-preserve-term-settings.exp
743 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
744
745 2019-08-15 Christian Biesinger <cbiesinger@google.com>
746
747 * lib/gdb.exp: When running on a mingw target, replace
748 /x/ with x:/.
749
750 2019-08-14 Alan Hayward <alan.hayward@arm.com>
751
752 * gdb.arch/aarch64-prologue.c: New test.
753 * gdb.arch/aarch64-prologue.exp: New file.
754
755 2019-08-13 Tom de Vries <tdevries@suse.de>
756
757 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
758 Thread.
759
760 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
761
762 * gdb.python/py-completion.exp: Download the .py file to the host
763 and use its host pathname. Conditionalize tests that use
764 tab completion and manipulate files on the build machine.
765 * gdb.python/py-events.exp: Download the .py file to the host
766 and use its host pathname.
767 * gdb.python/py-evsignal.exp: Likewise.
768 * gdb.python/py-evthreads.exp: Likewise.
769 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
770 pathname syntax.
771 * gdb.python/py-framefilter.exp: Download the .py file to the right
772 place on the host. Match Windows pathname syntax.
773 * gdb.python/py-mi-var-info-path-expression.exp: Download the
774 .py file to the host and use its host pathname.
775 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
776 * gdb.python/py-objfile.exp: Expect a host pathname, not a
777 build pathname. Skip symlink test on Windows host. Add missing
778 newline at end of file.
779 * gdb.python/py-pp-maint.exp: Download the .py file to the host
780 and use its host pathname.
781 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
782 * gdb.python/py-section-script.exp: Use host location of binfile
783 on safe-path. Use correct path separator on Windows host.
784 Reorder alternatives in gdb_test_multiple to prevent matching
785 the wrong alternative on success.
786 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
787
788 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
789
790 * gdb.gdb/selftest.exp (test_with_self): Update test to now
791 expect the GDB inferior to no longer immediately stop after
792 being resumed with "signal SIGINT".
793
794 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
795
796 * gdb.linespec/break-ask.exp: Generalize regexps to match
797 Windows pathnames too.
798
799 2019-08-08 Tom de Vries <tdevries@suse.de>
800
801 PR testsuite/24862
802 * lib/tuiterm.exp (_accept): Fix CSI regexp.
803
804 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
805
806 * gdb.base/style.exp: Update tests for help doc new invariants.
807 * gdb.base/help.exp: Likewise.
808
809 2019-08-06 Tom Tromey <tom@tromey.com>
810
811 * gdb.base/style.exp: Add disassemble test.
812 * gdb.base/style.c (some_called_function): New function.
813 (main): Use it.
814
815 2019-08-05 Christian Biesinger <cbiesinger@google.com>
816
817 * gdb.python/py-block.exp: Test dictionary access on blocks.
818
819 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
820
821 PR gdb/24863
822 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
823 -list-thread-groups --available test when running under
824 check-read1.
825
826 2019-08-05 Tom de Vries <tdevries@suse.de>
827
828 PR testsuite/24863
829 * lib/gdb.exp (with_read1_timeout_factor): New proc.
830 * gdb.base/help.exp: Use with_read1_timeout_factor.
831 * gdb.base/info-macros.exp: Same.
832 * gdb.cp/nested-types.exp: Same.
833
834 2019-08-05 Tom de Vries <tdevries@suse.de>
835
836 * lib/gdb.exp (version_at_least): Factor out of ...
837 (tcl_version_at_least): ... here.
838 (gdb_compile): Fail if pie results in non-PIE executable.
839 (readelf_version, readelf_prints_pie): New proc.
840 (exec_is_pie): Return -1 if unknown.
841
842 2019-08-05 Tom de Vries <tdevries@suse.de>
843
844 * lib/gdb.exp (tcl_version_at_least): Fix typo.
845
846 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
847
848 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
849
850 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
851
852 * lib/completion-support.exp (test_gdb_complete_none): Skip
853 tab completion tests if no readline support.
854 (test_gdb_complete_unique_re): Likewise.
855 (test_gdb_complete_multiple): Likewise.
856
857 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
858
859 * gdb.base/info_sources.exp: New file.
860 * gdb.base/info_sources.c: New file.
861 * gdb.base/info_sources_base.c: New file.
862
863 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
864
865 * gdb.base/batch-exit-status.exp: Call test_exit_status with
866 prefix argument.
867 (test_exit_status): Add prefix argument.
868
869 2019-08-01 Tom de Vries <tdevries@suse.de>
870
871 PR testsuite/24863
872 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
873 calling exp_continue for new thread and thread exited messages.
874
875 2019-08-01 Tom de Vries <tdevries@suse.de>
876
877 PR testsuite/24863
878 * gdb.base/structs.exp: Fix check-read1 timeout using
879 gdb_test_sequence.
880 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
881
882 2019-08-01 Tom de Vries <tdevries@suse.de>
883
884 PR testsuite/24863
885 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
886 line.
887
888 2019-08-01 Tom de Vries <tdevries@suse.de>
889
890 PR testsuite/24863
891 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
892
893 2019-07-30 Tom Tromey <tromey@adacore.com>
894
895 * gdb.ada/display_nested.exp: New file.
896 * gdb.ada/display_nested/foo.adb: New file.
897 * gdb.ada/display_nested/pack.adb: New file.
898 * gdb.ada/display_nested/pack.ads: New file.
899
900 2019-07-30 Christian Biesinger <cbiesinger@google.com>
901
902 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
903 namespace.
904 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
905
906 2019-07-30 Tom de Vries <tdevries@suse.de>
907
908 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
909 instead.
910
911 2019-07-30 Tom de Vries <tdevries@suse.de>
912
913 PR testsuite/24834
914 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
915 (exec_is_pie): New proc.
916
917 2019-07-29 Christian Biesinger <cbiesinger@google.com>
918
919 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
920
921 2019-07-29 Christian Biesinger <cbiesinger@google.com>
922
923 * gdb.python/py-objfile.c: Add global and static vars.
924 * gdb.python/py-objfile.exp: Test new functions Objfile.
925 lookup_global_symbol and lookup_static_symbol.
926
927 2019-07-29 Tom Tromey <tom@tromey.com>
928
929 * lib/tuiterm.exp (Term::_csi_@): New proc.
930 (Term::_csi_X): Don't move cursor.
931
932 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
933
934 * gdb.base/options.exp: Update backtrace - completion to
935 new option -frame-info.
936 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
937 Test new 'set print frame-info'. Test backtrace -frame-info
938 overriding 'set print frame-info'.
939 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
940 Test new 'set print frame-info'.
941 Verify consistency of backtrace with and without filters, with and
942 without -no-filters.
943 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
944 default.
945
946 2019-07-29 Tom de Vries <tdevries@suse.de>
947
948 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
949 no arguments".
950
951 2019-07-29 Tom de Vries <tdevries@suse.de>
952
953 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
954 is a substring of the first for "complete non-unique file name".
955
956 2019-07-29 Tom de Vries <tdevries@suse.de>
957
958 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
959 with ".*".
960
961 2019-07-29 Tom de Vries <tdevries@suse.de>
962
963 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
964 Pass prompt_regexp parameter to gdb_test_multiple calls.
965
966 2019-07-29 Tom de Vries <tdevries@suse.de>
967
968 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
969 print registers" regexps.
970
971 2019-07-29 Tom de Vries <tdevries@suse.de>
972
973 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
974
975 2019-07-29 Tom de Vries <tdevries@suse.de>
976
977 PR gdb/24855
978 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
979 (skip_python_tests_prompt): Add prompt_regexp argument to
980 gdb_test_multiple calls.
981
982 2019-07-27 Tom Tromey <tom@tromey.com>
983
984 * gdb.tui/main.exp: New file.
985
986 2019-07-27 Tom Tromey <tom@tromey.com>
987
988 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
989 optional.
990 * gdb.tui/empty.exp: New file.
991
992 2019-07-27 Tom Tromey <tom@tromey.com>
993
994 * lib/tuiterm.exp (spawn): New proc.
995 (Term::resize): New proc.
996 * gdb.tui/resize.exp: New file.
997
998 2019-07-27 Tom Tromey <tom@tromey.com>
999
1000 * gdb.tui/list.exp: New file.
1001
1002 2019-07-27 Tom Tromey <tom@tromey.com>
1003
1004 * gdb.tui/regs.exp: New file.
1005
1006 2019-07-27 Tom Tromey <tom@tromey.com>
1007
1008 * gdb.tui/basic.exp: Add "layout split" test.
1009
1010 2019-07-27 Tom Tromey <tom@tromey.com>
1011
1012 * gdb.tui/basic.exp: Add "layout asm" test.
1013
1014 2019-07-27 Tom Tromey <tom@tromey.com>
1015
1016 * lib/tuiterm.exp: New file.
1017 * gdb.tui/basic.exp: New file.
1018
1019 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1020
1021 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1022 Enable tests associated with this flag. Adjust regex
1023 referencing "foo_low" to now refer to "foo_cold" instead.
1024
1025 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1026
1027 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1028 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1029 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1030 foo_cold. Revise comments to match.
1031 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1032 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1033 were wrapped into this proc; Call do_test in loop from outermost
1034 level.
1035 (foo_low): Rename all occurrences to "foo_cold".
1036 (backtrace from baz): New test.
1037 (x2/i foo_cold): New test.
1038 (info line *foo_cold): New test.
1039
1040 2019-07-26 Tom de Vries <tdevries@suse.de>
1041
1042 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1043
1044 2019-07-25 Tom de Vries <tdevries@suse.de>
1045
1046 PR testsuite/24830
1047 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1048 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1049 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1050 (skip_libstdcxx_probe_tests): ... here.
1051 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1052
1053 2019-07-24 Tom de Vries <tdevries@suse.de>
1054
1055 PR testsuite/24807
1056 * gdb.objc/basicclass.m: Include stdio.h.
1057 * gdb.objc/nondebug.m: Same.
1058 * gdb.objc/objcdecode.m: Same.
1059
1060 2019-07-24 Tom de Vries <tdevries@suse.de>
1061
1062 PR testsuite/24612
1063 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1064 additional_flags.
1065
1066 2019-07-24 Tom de Vries <tdevries@suse.de>
1067
1068 PR testsuite/24831
1069 * gdb.multi/tids.exp: Update error messages for info threads.
1070
1071 2019-07-24 Tom de Vries <tdevries@suse.de>
1072
1073 * gdb.base/info-types.exp: Allow info types to print info for more than
1074 one file.
1075
1076 2019-07-23 Tom de Vries <tdevries@suse.de>
1077
1078 PR testsuite/24842
1079 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1080 gdb_spawn_with_cmdline_opts.
1081
1082 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1083
1084 * gdb.arch/arm-cmse-sgstubs.c: New test.
1085 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1086
1087 2019-07-23 Tom de Vries <tdevries@suse.de>
1088
1089 PR testsuite/24711
1090 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1091 issuing next command.
1092
1093 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1094
1095 * gdb.ada/info_auto_lang.exp: Update expected results.
1096 * gdb.base/info-types.c: Add additional types to check.
1097 * gdb.base/info-types.exp: Update expected results.
1098
1099 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1100
1101 * gdb.base/info-types.c: New file.
1102 * gdb.base/info-types.exp: New file.
1103
1104 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1105
1106 * gdb.arch/riscv-bp-infcall.c: New file.
1107 * gdb.arch/riscv-bp-infcall.exp: New file.
1108
1109 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1110
1111 PR breakpoints/24541
1112 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1113
1114 2019-07-14 Tom de Vries <tdevries@suse.de>
1115
1116 PR testsuite/24760
1117 * gdb.objc/basicclass.exp: Fix unterminated string.
1118
1119 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1120 Andrew Burgess <andrew.burgess@embecosm.com>
1121
1122 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1123 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1124 negative bounds.
1125 * gdb.fortran/vla-value.exp: Print elements of an array with
1126 negative bounds.
1127 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1128 testing.
1129
1130 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1131
1132 * gdb.base/options.exp (expect_string): Dequote strings in
1133 results.
1134 (test-string): Test strings with different quoting and reindent.
1135
1136 2019-07-10 Tom Tromey <tromey@adacore.com>
1137
1138 * gdb.ada/mi_ex_cond.exp: Update expected results.
1139 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1140 * gdb.ada/mi_catch_ex.exp: Update expected results.
1141 * gdb.ada/mi_catch_assert.exp: Update expected results.
1142 * gdb.ada/catch_ex.exp (catch_exception_info)
1143 (catch_exception_entry, catch_assert_entry)
1144 (catch_unhandled_entry): Update.
1145 * gdb.ada/catch_assert_if.exp: Update expected results.
1146
1147 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1148 Stephen Roberts <stephen.roberts@arm.com>
1149
1150 * gdb.base/define.exp: Restore original prompt.
1151
1152 2019-07-09 Pedro Alves <palves@redhat.com>
1153
1154 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1155 breakpoints" output.
1156 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1157 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1158 throw" creates breakpoint.
1159 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1160 'type="catchpoint"'.
1161
1162 2019-07-09 Pedro Alves <palves@redhat.com>
1163
1164 PR c++/15468
1165 * gdb.cp/except-multi-location-lib.cc: New.
1166 * gdb.cp/except-multi-location-main.cc: New.
1167 * gdb.cp/except-multi-location.exp: New.
1168
1169 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1170
1171 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1172 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1173 argument and update callers.
1174
1175 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1176
1177 * gdb.arch/amd64-break-on-asm-line.S: New file.
1178 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1179
1180 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1181
1182 * gdb.base/printcmds.exp: Test printing C string and
1183 C wide string convenience vars without transiting via the inferior.
1184 Also make test names unique.
1185
1186 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1187
1188 PR breakpoints/25011
1189 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1190
1191 2019-07-04 Pedro Alves <palves@redhat.com>
1192
1193 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1194 body returned ok(0), break(3) or continue(4).
1195 * gdb.testsuite/foreach_with_prefix.exp: New file.
1196
1197 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1198
1199 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1200
1201 2019-07-03 Pedro Alves <palves@redhat.com>
1202
1203 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1204 "return -code".
1205
1206 2019-07-03 Pedro Alves <palves@redhat.com>
1207
1208 PR cli/24732
1209 * gdb.base/shell.exp: Load completion-support.exp.
1210 Adjust expected error output. Add completion tests.
1211
1212 2019-07-03 Pedro Alves <palves@redhat.com>
1213
1214 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1215 string_to_regexp.
1216
1217 2019-07-03 Pedro Alves <palves@redhat.com>
1218
1219 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1220 (expect_integer): Adjust to expect "-string".
1221 (expect_string): New.
1222 (all_options): Expect "-string".
1223 (test-flag, test-boolean): Adjust to expect "-string".
1224 (test-string): New proc.
1225 (top level): Call it.
1226
1227 2019-07-03 Pedro Alves <palves@redhat.com>
1228
1229 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1230 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1231 the expected output in the success.
1232
1233 2019-07-03 Pedro Alves <palves@redhat.com>
1234
1235 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1236 Split one gdb_test_multiple call in two to avoid a race.
1237
1238 2019-07-03 Pedro Alves <palves@redhat.com>
1239
1240 * gdb.base/with.c: New file.
1241 * gdb.base/with.exp: New file.
1242
1243 2019-07-03 Pedro Alves <palves@redhat.com>
1244
1245 * gdb.base/settings.exp: Replace all references to "maint
1246 test-settings set" with references to "maint set test-settings",
1247 and all references to "maint test-settings show" with references
1248 to "maint show test-settings".
1249
1250 2019-07-03 Pedro Alves <palves@redhat.com>
1251
1252 * gdb.base/settings.exp (test-string): Adjust expected out when
1253 testing "maint test-settings show filename"
1254
1255 2019-07-02 Pedro Alves <palves@redhat.com>
1256
1257 * gdb.base/options.exp (test-info-threads): New procedure.
1258 (top level): Call it.
1259
1260 2019-06-28 Tom Tromey <tromey@adacore.com>
1261
1262 * gdb.dwarf2/ada-linkage-name.c: New file.
1263 * gdb.dwarf2/ada-linkage-name.exp: New file.
1264
1265 2019-06-27 Tom Tromey <tromey@adacore.com>
1266
1267 PR c++/20020:
1268 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1269
1270 2019-06-26 Tom de Vries <tdevries@suse.de>
1271
1272 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1273
1274 2019-06-26 Tom de Vries <tdevries@suse.de>
1275
1276 * gdb.base/index-cache.exp: Add back missing debug option.
1277
1278 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1279
1280 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1281
1282 2019-06-25 Tom de Vries <tdevries@suse.de>
1283
1284 PR testsuite/24727
1285 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1286
1287 2019-06-24 Tom de Vries <tdevries@suse.de>
1288
1289 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1290
1291 2019-06-24 Tom de Vries <tdevries@suse.de>
1292
1293 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1294 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1295 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1296
1297 2019-06-24 Tom de Vries <tdevries@suse.de>
1298
1299 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1300
1301 2019-06-21 Tom de Vries <tdevries@suse.de>
1302
1303 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1304
1305 2019-06-21 Tom de Vries <tdevries@suse.de>
1306
1307 PR testsuite/24518
1308 PR ada/24713
1309 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1310 index.
1311
1312 2019-06-19 Tom Tromey <tromey@adacore.com>
1313
1314 * gdb.ada/length_cond.exp: Add intro comment.
1315
1316 2019-06-19 Tom Tromey <tromey@adacore.com>
1317
1318 * gdb.ada/length_cond.exp: New file.
1319 * gdb.ada/length_cond/length_cond.adb: New file.
1320 * gdb.ada/length_cond/pck.adb: New file.
1321 * gdb.ada/length_cond/pck.ads: New file.
1322
1323 2019-06-18 Tom de Vries <tdevries@suse.de>
1324
1325 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1326
1327 2019-06-18 Tom Tromey <tromey@adacore.com>
1328
1329 * gdb.base/list0.h: Add comment explaining control character.
1330
1331 2019-06-18 Tom de Vries <tdevries@suse.de>
1332
1333 * boards/fission.exp: Break up long debug_flags line.
1334
1335 2019-06-16 Tom de Vries <tdevries@suse.de>
1336
1337 PR gdb/24445
1338 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1339 generated index.
1340
1341 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1342
1343 PR gdb/24686
1344 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1345 improve detection of bug gdb/24541.
1346
1347 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1348
1349 PR gdb/24669
1350 * gdb.base/index-cache.exp (uses_readnow,
1351 expecting_index_cache_use): Define global variable.
1352 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1353 expecting_index_cache_use.
1354
1355 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1356 Andrew Burgess <andrew.burgess@embecosm.com>
1357
1358 * gdb.fortran/pointers.f90: New file.
1359 * gdb.fortran/print_type.exp: New file.
1360 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1361 * gdb.fortran/vla-type.exp: Likewise.
1362 * gdb.fortran/vla-value.exp: Likewise.
1363 * gdb.mi/mi-vla-fortran.exp: Likewise.
1364
1365 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1366
1367 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1368 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1369 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1370 as a stop reason.
1371
1372 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1373
1374 * gdb.base/annota1.exp: Update expected results.
1375 * gdb.cp/annota2.exp: Likewise.
1376 * gdb.cp/annota3.exp: Likewise.
1377
1378 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1379
1380 * gdb.base/style-logging.exp: Remove path from test name.
1381
1382 2019-06-14 Tom Tromey <tromey@adacore.com>
1383
1384 PR gdb/24502:
1385 * gdb.base/style-logging.exp: New file.
1386
1387 2019-06-14 Tom Tromey <tromey@adacore.com>
1388
1389 * gdb.base/symfile-warn.exp: New file.
1390 * gdb.base/symfile-warn.c: New file.
1391
1392 2019-06-14 Tom Tromey <tromey@adacore.com>
1393
1394 * gdb.base/annotate-symlink.exp: New file.
1395
1396 2019-06-14 Tom Tromey <tromey@adacore.com>
1397
1398 * gdb.ada/set_wstr.exp: Add reassignment test.
1399
1400 2019-06-14 Tom Tromey <tromey@adacore.com>
1401
1402 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1403 'unchecked_access and 'unrestricted_access as well.
1404
1405 2019-06-14 Tom Tromey <tromey@adacore.com>
1406
1407 PR ada/24539:
1408 * gdb.ada/vla.exp: Update tests.
1409 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1410 pragma.
1411
1412 2019-06-13 Pedro Alves <palves@redhat.com>
1413
1414 * gdb.base/settings.exp (test-integer): Test junk after
1415 "unlimited".
1416
1417 2019-06-13 Pedro Alves <palves@redhat.com>
1418
1419 * gdb.base/options.exp (test-thread-apply): New.
1420 (top level): Call it.
1421
1422 2019-06-13 Pedro Alves <palves@redhat.com>
1423
1424 * gdb.base/options.exp (test-frame-apply): New.
1425 (top level): Test print commands with different "frame apply"
1426 prefixes.
1427
1428 2019-06-13 Pedro Alves <palves@redhat.com>
1429
1430 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1431 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1432 'max_completions' parameter and handle it.
1433 (test_gdb_completion_offers_commands): New.
1434
1435 2019-06-13 Pedro Alves <palves@redhat.com>
1436
1437 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1438
1439 2019-06-13 Pedro Alves <palves@redhat.com>
1440
1441 * gdb.base/options.exp (test-backtrace): New.
1442 (top level): Call it.
1443
1444 2019-06-13 Pedro Alves <palves@redhat.com>
1445
1446 * gdb.guile/scm-frame-args.exp: Use "set print
1447 raw-frame-arguments" instead of "set print raw frame-arguments".
1448 * gdb.python/py-frame-args.exp: Likewise.
1449
1450 2019-06-13 Pedro Alves <palves@redhat.com>
1451
1452 * gdb.compile/compile.exp: Adjust expected output to option
1453 processing changes.
1454
1455 2019-06-13 Pedro Alves <palves@redhat.com>
1456
1457 * gdb.base/options.exp: Build executable.
1458 (test-print): New procedure.
1459 (top level): Call it, once for "print" and another for "compile
1460 print".
1461
1462 2019-06-13 Pedro Alves <palves@redhat.com>
1463
1464 * gdb.base/options.c: New file.
1465 * gdb.base/options.exp: New file.
1466
1467 2019-06-13 Pedro Alves <palves@redhat.com>
1468
1469 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1470 that "o" is ambiguous.
1471
1472 2019-06-13 Pedro Alves <palves@redhat.com>
1473
1474 * gdb.base/settings.c: New file.
1475 * gdb.base/settings.exp: New file.
1476
1477 2019-06-13 Pedro Alves <palves@redhat.com>
1478
1479 * gdb.base/completion.exp: Fix comment typo.
1480
1481 2019-06-13 Pedro Alves <palves@redhat.com>
1482
1483 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1484 foo --1" test.
1485
1486 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1487
1488 * gdb.fortran/block-data.f: New.
1489 * gdb.fortran/block-data.exp: New.
1490
1491 2019-06-11 Tom de Vries <tdevries@suse.de>
1492
1493 PR testsuite/24521
1494 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1495 message.
1496
1497 2019-06-11 Tom de Vries <tdevries@suse.de>
1498
1499 PR testsuite/24521
1500 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1501
1502 2019-06-11 Tom de Vries <tdevries@suse.de>
1503
1504 * boards/readnow.exp: New file.
1505
1506 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1507
1508 * gdb.fortran/vla-sizeof.exp: Update expected results.
1509
1510 2019-06-06 Amos Bird <amosbird@gmail.com>
1511
1512 * gdb.base/annota1.exp (thread_switch): Add test for
1513 thread-exited annotation.
1514
1515 2019-06-06 Tom Tromey <tromey@adacore.com>
1516
1517 * gdb.base/maint.exp: Expect command started/finished output.
1518
1519 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1520
1521 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1522 comment.
1523 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1524
1525 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1526
1527 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1528 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1529 * gdb.arch/riscv-unwind-long-insn.c: New file.
1530 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1531
1532 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1533
1534 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1535
1536 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1537
1538 * lib/gdb.exp (help_list_trailer): New regexp variable
1539 factorizing the help trailer message.
1540 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1541 arg to allow to better factorize various tests.
1542 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1543 (test_prefix_command_help): Use help_list_trailer.
1544 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1545 * gdb.guile/scm-cmd.exp: Likewise.
1546 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1547 * gdb.base/help.exp: Use test_user_defined_class_help.
1548 * gdb.base/style.exp: Add tests for styling of help and apropos.
1549 * lib/gdb-utils.exp (style): Add title and highlight styles.
1550
1551 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1552
1553 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1554 $_shell_exitsignal.
1555 * gdb.base/default.exp: Update for new convenience variables.
1556
1557 2019-05-29 Tom Tromey <tromey@adacore.com>
1558
1559 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1560 to "break complete ada" test case's regexp.
1561
1562 2019-05-29 Tom Tromey <tromey@adacore.com>
1563
1564 PR c++/20020:
1565 * gdb.cp/constexpr-field.exp: New file.
1566 * gdb.cp/constexpr-field.cc: New file.
1567
1568 2019-05-29 Tom Tromey <tromey@adacore.com>
1569
1570 * gdb.base/finish.exp (finish_no_print): New proc.
1571 (finish_tests): Call it.
1572
1573 2019-05-24 Tom de Vries <tdevries@suse.de>
1574
1575 * gdb.dwarf2/gdb-add-index.exp: New file.
1576
1577 2019-05-22 Tom Tromey <tromey@adacore.com>
1578
1579 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1580 * gdb.base/style.exp: Use "style".
1581 * lib/gdb-utils.exp (style): New proc.
1582
1583 2019-05-22 Tom de Vries <tdevries@suse.de>
1584
1585 * gdb.base/align.exp: Require c++11.
1586
1587 2019-05-22 Tom de Vries <tdevries@suse.de>
1588
1589 PR testsuite/24586
1590 * gdb.python/py-mi-var-info-path-expression.exp: Call
1591 mi_skip_python_tests to check if python is supported.
1592
1593 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1594
1595 * gdb.arch/aarch64-pauth.c: New test.
1596 * gdb.arch/aarch64-pauth.exp: New file.
1597
1598 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1599
1600 * README (Re-running Tests Outside The Testsuite): New section.
1601
1602 2019-05-21 Tom de Vries <tdevries@suse.de>
1603
1604 * gdb.arch/amd64-eval.exp: Require c++11.
1605 * gdb.base/max-depth.exp: Same.
1606 * gdb.compile/compile-cplus-array-decay.exp: Same.
1607 * gdb.cp/meth-typedefs.exp: Same.
1608 * gdb.cp/subtypes.exp: Same.
1609 * gdb.cp/temargs.exp: Same.
1610
1611 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1612
1613 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1614
1615 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1616
1617 PR gdb/18644
1618 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1619 * gdb.fortran/printing-types.exp: Add new test.
1620 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1621 testing.
1622 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1623 setup_kfail call.
1624
1625 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1626
1627 * README (Running the Testsuite): Change example.
1628 (Testsuite Parameters): Remove TRANSCRIPT.
1629 * lib/gdb.exp: Remove TRANSCRIPT check.
1630
1631 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1632
1633 * README (Testsuite Parameters): Add replay logging to
1634 GDBSERVER_DEBUG.
1635 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1636 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1637 as a comma separated list.
1638 (gdb_debug_init): Override procedure.
1639
1640 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1641
1642 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1643 (gdb_write_cmd_file): New procedure.
1644 * lib/gdbserver-support.exp (gdbserver_start): Call
1645 gdbserver_write_cmd_file.
1646 (gdbserver_write_cmd_file): New procedure.
1647
1648 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1649
1650 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1651 (delete_breakpoints): Likewise.
1652 (gdb_run_cmd): Likewise.
1653 (gdb_start_cmd): Likewise.
1654 (gdb_starti_cmd): Likewise.
1655 (gdb_internal_error_resync): Likewise.
1656 (gdb_test_multiple): Likewise.
1657 (gdb_reinitialize_dir): Likewise.
1658 (default_gdb_exit): Likewise.
1659 (gdb_file_cmd): Mark kill as optional.
1660 (default_gdb_start): Call gdb_stdin_log_init.
1661 (send_gdb): Call gdb_stdin_log_write.
1662 (rerun_to_main): Mark Y as an answer.
1663 (gdb_stdin_log_init): New function.
1664 (gdb_stdin_log_write): Likewise.
1665
1666 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1667
1668 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1669 * gdb.base/debug-expr.exp: Likewise.
1670 * gdb.base/foll-fork.exp: Likewise.
1671 * gdb.base/foll-vfork.exp: Likewise.
1672 * gdb.base/fork-print-inferior-events.exp: Likewise.
1673 * gdb.base/gdb-sigterm.exp: Likewise.
1674 * gdb.base/gdbinit-history.exp: Likewise.
1675 * gdb.base/osabi.exp: Likewise.
1676 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1677 * gdb.base/ui-redirect.exp: Likewise.
1678 * gdb.gdb/unittest.exp: Likewise.
1679 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1680 * gdb.mi/mi-watch.exp: Likewise.
1681 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1682 * gdb.mi/user-selected-context-sync.exp: Likewise.
1683 * gdb.python/python.exp: Disable debug test when debugging.
1684 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1685 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1686 Likewise.
1687 * gdb.threads/stepi-random-signal.exp: Likewise.
1688
1689 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1690
1691 * Makefile.in: Pass through GDB_DEBUG.
1692 * README (Testsuite Parameters): Add GDB_DEBUG.
1693 (gdb,debug): Add board setting.
1694 * lib/gdb.exp (default_gdb_start): Start debugging.
1695 (gdb_debug_enabled): New procedure.
1696 (gdb_debug_init): Likewise.
1697
1698 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1699
1700 * Makefile.in: Pass through GDB_DEBUG.
1701 * README (Testsuite Parameters): Add GDB_DEBUG.
1702 (gdb,debug): Add board setting.
1703 * lib/gdb.exp (default_gdb_start): Start debugging.
1704 (gdb_debug_enabled): New procedure.
1705 (gdb_debug_init): Likewise.
1706
1707 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1708
1709 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1710
1711 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1712
1713 * gdb.base/ui-redirect.exp: Test redirection.
1714
1715 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1716
1717 * gdb.mi/mi-complete.exp: New file.
1718 * gdb.mi/mi-complete.cc: Likewise.
1719
1720 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1721
1722 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1723 indexed and sliced arrays, and pointers to arrays.
1724
1725 2019-05-14 Tom Tromey <tromey@adacore.com>
1726
1727 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1728 styling test.
1729
1730 2019-05-14 Tom de Vries <tdevries@suse.de>
1731
1732 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1733 selection entry encoding.
1734
1735 2019-05-10 Tom Tromey <tromey@adacore.com>
1736
1737 * gdb.ada/info_exc.exp: Add "complete" test.
1738
1739 2019-05-09 Tom de Vries <tdevries@suse.de>
1740
1741 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1742 CU-relative.
1743
1744 2019-05-09 Tom de Vries <tdevries@suse.de>
1745
1746 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1747 CU-relative.
1748
1749 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1750
1751 * gdb.ada/frame_arg_lang.exp: New testcase.
1752 * gdb.ada/frame_arg_lang/bla.adb: New file.
1753 * gdb.ada/frame_arg_lang/pck.ads: New file.
1754 * gdb.ada/frame_arg_lang/pck.adb: New file.
1755 * gdb.ada/frame_arg_lang/foo.c: New file.
1756
1757 2019-05-08 Tom Tromey <tromey@adacore.com>
1758
1759 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1760
1761 2019-05-08 Tom Tromey <tromey@adacore.com>
1762
1763 * gdb.base/ptype-offsets.exp: Update tests.
1764
1765 2019-05-08 Tom Tromey <tromey@adacore.com>
1766
1767 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1768 cases.
1769 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1770 "short".
1771
1772 2019-05-08 Tom Tromey <tromey@adacore.com>
1773
1774 * gdb.ada/vla.exp: New file.
1775 * gdb.ada/vla/vla.adb: New file.
1776
1777 2019-05-07 Tom de Vries <tdevries@suse.de>
1778
1779 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1780
1781 2019-05-07 Tom de Vries <tdevries@suse.de>
1782
1783 PR testsuite/24522
1784 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1785 section.
1786
1787 2019-05-07 Tom de Vries <tdevries@suse.de>
1788
1789 PR testsuite/24522
1790 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1791 .debug_aranges section.
1792
1793 2019-05-07 Tom de Vries <tdevries@suse.de>
1794
1795 PR testsuite/24159
1796 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1797
1798 2019-05-06 Tom de Vries <tdevries@suse.de>
1799
1800 * lib/gdb.exp (exec_has_index_section): New proc.
1801 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1802 section.
1803
1804 2019-05-04 Tom de Vries <tdevries@suse.de>
1805
1806 * boards/cc-with-debug-names.exp: New file.
1807
1808 2019-05-03 Tom Tromey <tromey@adacore.com>
1809
1810 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1811 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1812 * gdb.ada/char_enum.exp: Add test.
1813
1814 2019-05-03 Tom de Vries <tdevries@suse.de>
1815
1816 * boards/cc-with-gdb-index.exp: New file.
1817
1818 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1819
1820 * gdb.rust/simple.exp: Add new test case.
1821 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1822 (main): Initialise an instance of the new struct.
1823
1824 2019-05-01 Tom Tromey <tromey@adacore.com>
1825
1826 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1827 record.
1828 (NPR): New variable.
1829 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1830 test.
1831
1832 2019-05-01 Tom Tromey <tromey@adacore.com>
1833
1834 * gdb.ada/packed_array_assign.exp: Add packed assignment
1835 regression test.
1836
1837 2019-05-01 Tom de Vries <tdevries@suse.de>
1838
1839 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1840
1841 2019-05-01 Tom de Vries <tdevries@suse.de>
1842
1843 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1844
1845 2019-04-30 Ali Tamur <tamur@google.com>
1846
1847 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1848
1849 2019-04-30 Tom Tromey <tromey@adacore.com>
1850
1851 * lib/ada.exp (find_ada_tool): New proc.
1852 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1853 * gdb.ada/catch_ex_std.exp: New file.
1854 * gdb.ada/catch_ex_std/foo.adb: New file.
1855 * gdb.ada/catch_ex_std/some_package.adb: New file.
1856 * gdb.ada/catch_ex_std/some_package.ads: New file.
1857
1858 2019-04-30 Tom Tromey <tromey@adacore.com>
1859
1860 PR c++/24470:
1861 * gdb.cp/temargs.cc: Add test code from PR.
1862
1863 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1864
1865 * gdb.fortran/vla-datatypes.exp: Update expected results.
1866 * gdb.fortran/vla-ptype.exp: Likewise.
1867 * gdb.fortran/vla-type.exp: Likewise.
1868 * gdb.fortran/vla-value.exp: Likewise.
1869
1870 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1871
1872 * gdb.fortran/ptr-indentation.exp: Update expected results.
1873 * gdb.fortran/ptype-on-functions.exp: Likewise.
1874 * gdb.fortran/vla-ptr-info.exp: Likewise.
1875 * gdb.fortran/vla-value.exp: Likewise.
1876
1877 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1878
1879 * gdb.fortran/ptype-on-functions.exp: New file.
1880 * gdb.fortran/ptype-on-functions.f90: New file.
1881
1882 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1883
1884 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1885 case void string.
1886
1887 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1888
1889 * gdb.fortran/complex.exp: Expand.
1890 * gdb.fortran/complex.f: Renamed to...
1891 * gdb.fortran/complex.f90: ...this, and extended to add more
1892 complex values.
1893
1894 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1895
1896 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1897 MODULO, CMPLX.
1898
1899 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1900 Richard Bunt <richard.bunt@arm.com>
1901
1902 * gdb.base/max-depth.c: New file.
1903 * gdb.base/max-depth.exp: New file.
1904 * gdb.python/py-nested-maps.c: New file.
1905 * gdb.python/py-nested-maps.exp: New file.
1906 * gdb.python/py-nested-maps.py: New file.
1907 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1908 (test_all_common): Call test_max_depth.
1909 * gdb.fortran/max-depth.exp: New file.
1910 * gdb.fortran/max-depth.f90: New file.
1911 * gdb.go/max-depth.exp: New file.
1912 * gdb.go/max-depth.go: New file.
1913 * gdb.modula2/max-depth.exp: New file.
1914 * gdb.modula2/max-depth.c: New file.
1915 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1916
1917 2019-04-29 Tom de Vries <tdevries@suse.de>
1918
1919 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1920
1921 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1922
1923 * gdb.base/callexit.exp: Test may-call-functions off.
1924
1925 2019-04-25 Keith Seitz <keiths@redhat.com>
1926
1927 PR c++/24367
1928 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1929 (another_incomplete_struct, test_incomplete): New definitions.
1930 (main): Use new definitions.
1931 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1932 functions.
1933
1934 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1935
1936 PR corefiles/11608
1937 PR corefiles/18187
1938 * gdb.base/coredump-filter-build-id.exp: New file.
1939
1940 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1941
1942 * Makefile.in: Pass through GDBSERVER_DEBUG.
1943 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1944 (gdbserver,debug): Add board setting.
1945 * gdb.trace/tspeed.exp: Skip when debugging.
1946 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1947 * lib/gdbserver-support.exp: Likewise
1948
1949 2019-04-24 Tom Tromey <tromey@adacore.com>
1950
1951 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1952 Rust.
1953
1954 2019-04-24 Tom Tromey <tromey@adacore.com>
1955
1956 * gdb.arch/amd64-eval.exp: Test bitfield return.
1957 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1958 (class Foo) <return_bitfields>: New method.
1959 (main): Call it.
1960
1961 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1962
1963 * gdb.cp/many-args.cc: New file.
1964 * gdb.cp/many-args.exp: New file.
1965
1966 2019-04-23 Tom de Vries <tdevries@suse.de>
1967
1968 PR gdb/24433
1969 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1970
1971 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1972
1973 * gdb.trace/backtrace.exp: Use nopie flag.
1974 * gdb.trace/circ.exp: Likewise.
1975 * gdb.trace/collection.exp: Likewise.
1976 * gdb.trace/ftrace.exp: Likewise.
1977 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1978 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1979 * gdb.trace/qtro.exp: Likewise.
1980 * gdb.trace/read-memory.exp: Likewise.
1981 * gdb.trace/report.exp: Likewise.
1982 * gdb.trace/tfile.exp: Likewise.
1983 * gdb.trace/tfind.exp: Likewise.
1984 * gdb.trace/unavailable.exp: Likewise.
1985
1986 2019-04-22 Pedro Alves <palves@redhat.com>
1987
1988 * gdb.base/solib-probes-nosharedlibrary.c,
1989 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1990
1991 2019-04-19 Tom Tromey <tromey@adacore.com>
1992
1993 * gdb.ada/ptype_union.c: New file.
1994 * gdb.ada/ptype_union.exp: New file.
1995
1996 2019-04-19 Tom Tromey <tromey@adacore.com>
1997
1998 PR symtab/24423:
1999 * gdb.base/list0.h (foo): Add a control-l character.
2000
2001 2019-04-18 Tom de Vries <tdevries@suse.de>
2002
2003 PR gdb/24433
2004 * boards/local-board.exp: Set sysroot to "".
2005
2006 2019-04-18 Tom de Vries <tdevries@suse.de>
2007 Pedro Alves <palves@redhat.com>
2008
2009 PR gdb/24454
2010 * gdb.threads/vfork-follow-child-exec.c: New file.
2011 * gdb.threads/vfork-follow-child-exec.exp: New file.
2012 * gdb.threads/vfork-follow-child-exit.c: New file.
2013 * gdb.threads/vfork-follow-child-exit.exp: New file.
2014
2015 2019-04-15 Leszek Swirski <leszeks@google.com>
2016
2017 * gdb.arch/amd64-eval.cc: New file.
2018 * gdb.arch/amd64-eval.exp: New file.
2019
2020 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2021
2022 * gdb.server/sysroot.c: New test.
2023 * gdb.server/sysroot.exp: New file.
2024 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2025 matching param.
2026
2027 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2028
2029 * gdb.base/align.exp: Extend test to cover structures containing
2030 only static fields.
2031
2032 2019-04-11 Tom de Vries <tdevries@suse.de>
2033
2034 * boards/cc-with-dwz-m.exp: New file.
2035 * boards/cc-with-dwz.exp: New file.
2036 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2037
2038 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2039
2040 * gdb.base/start-cpp.exp: New file.
2041 * gdb.base/start-cpp.cc: New file.
2042
2043 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2044
2045 * gdb.python/py-thrhandle.exp: Adjust tests to call
2046 thread_from_handle instead of thread_from_thread_handle.
2047
2048 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2049
2050 * gdb.python/py-thrhandle.exp: Add tests for
2051 gdb.InferiorThread.handle.
2052
2053 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2054
2055 * gdb.python/py-function.exp: Check calling helper function from
2056 all languages.
2057 * lib/gdb.exp (gdb_supported_languages): New proc.
2058
2059 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2060
2061 * gdb.base/complex-parts.c: New file.
2062 * gdb.base/complex-parts.exp: New file.
2063
2064 2019-04-01 Tom Tromey <tromey@adacore.com>
2065
2066 PR symtab/23331:
2067 * gdb.dwarf2/dw2-ranges-main.c: New file.
2068 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2069 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2070
2071 2019-03-30 Simon Marchi <simark@simark.ca>
2072
2073 * gdb.base/default.exp: Add values for $_gdb_major and
2074 $_gdb_minor.
2075
2076 2019-03-29 Tom Tromey <tromey@adacore.com>
2077
2078 * gdb.base/help.exp: Tighten apropos regexp.
2079
2080 2019-03-29 Keith Seitz <keiths@redhat.com>
2081
2082 * gdb.fortran/array-bounds.exp: New file.
2083 * gdb.fortran/array-bounds.f90: New file.
2084
2085 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2086
2087 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2088
2089 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2090
2091 * gdb.multi/hello.c (main): Increase alarm timer.
2092
2093 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2094
2095 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2096 factor when no hardware watchpoint support.
2097
2098 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2099 Pedro Alves <palves@redhat.com>
2100
2101 * boards/local-board.exp: set sysroot to /.
2102
2103 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2104
2105 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2106 in child.
2107
2108 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2109
2110 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2111 field.
2112 (make_container): Initialise new field.
2113 * gdb.python/py-prettyprint.exp: Add new tests.
2114 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2115 <display_hint>: New method.
2116
2117 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2118
2119 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2120 gdb_continue_to_breakpoint more throughout this test.
2121 (run_lang_tests) Supply unique test names, and use
2122 gdb_test_no_output.
2123
2124 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2125
2126 * gdb.base/finish-pretty.exp: Update expected results.
2127 * gdb.base/pretty-print.c: New file.
2128 * gdb.base/pretty-print.exp: New file.
2129
2130 2019-03-25 Pedro Alves <palves@redhat.com>
2131
2132 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2133 move comments outside list. Append '-i "" eof' section.
2134
2135 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2136
2137 PR testsuite/25016
2138 * README: Add pie options.
2139 * gdb.base/break-interp.exp: Ensure pie is disabled.
2140 * gdb.base/dump.exp: Likewise.
2141 * lib/gdb.exp (gdb_compile): Add pie option.
2142
2143 2019-03-19 Tom Tromey <tromey@adacore.com>
2144
2145 * gdb.mi/mi2-cli-display.c: New file.
2146 * gdb.mi/mi2-cli-display.exp: New file.
2147
2148 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2149 Tom Tromey <tromey@adacore.com>
2150
2151 * gdb.ada/ptype_array/pck.adb: New file.
2152 * gdb.ada/ptype_array/pck.ads: New file.
2153 * gdb.ada/ptype_array/foo.adb: New file.
2154 * gdb.ada/ptype_array.exp: New file.
2155
2156 2019-03-14 Tom Tromey <tromey@adacore.com>
2157
2158 * gdb.base/style.exp: Add "set style sources" test.
2159
2160 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2161
2162 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2163 * mi-breakpoint-multiple-locations.exp: ... this.
2164 (make_breakpoints_pattern): New proc.
2165 (do_test): Add mi_version parameter, test -break-insert,
2166 -break-info and =breakpoint-created.
2167
2168 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2169
2170 * config/default.exp: Remove 'load_lib gdb.exp'.
2171 * config/monitor.exp: Likewise.
2172 * config/sid.exp: Likewise.
2173 * config/sim.exp: Likewise.
2174 * config/slite.exp: Likewise.
2175 * config/unix.exp: Likewise.
2176 * gdb.base/default.exp: Remove unhelpful comment.
2177
2178 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2179
2180 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2181
2182 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2183
2184 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2185
2186 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2187
2188 * gdb.fortran/type-kinds.exp: Update expected results.
2189
2190 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2191
2192 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2193
2194 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2195
2196 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2197 function.
2198 (test_basic_parsing_of_type_kinds): Expand types tested.
2199 (test_parsing_invalid_type_kinds): New function.
2200
2201 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2202
2203 * gdb.fortran/intrinsics.exp: New file.
2204 * gdb.fortran/intrinsics.f90: New file.
2205 * gdb.fortran/type-kinds.exp: New file.
2206
2207 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2208
2209 * gdb.fortran/dot-ops.exp: New file.
2210
2211 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2212
2213 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2214 Check upper and lower case logical literals.
2215
2216 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2217
2218 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2219 Remove duplicate tests.
2220
2221 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2222
2223 * lib/gdb.exp (builtin_cd): rename of cd.
2224 (cd): Override builtin.
2225
2226 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2227
2228 * gdb.fortran/function-calls.exp: New file.
2229 * gdb.fortran/function-calls.f90: New test.
2230
2231 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2232
2233 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2234 on user program standard output.
2235 * gdb.fortran/short-circuit-argument-list.f90: Record function
2236 calls.
2237
2238 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2239
2240 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2241 failure.
2242
2243 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2244
2245 PR gdb/8527
2246 * gdb.base/interrupt-daemon-attach.c,
2247 gdb.base/interrupt-daemon-attach.exp: New test.
2248
2249 2019-02-27 Pedro Alves <palves@redhat.com>
2250
2251 * gdb.base/page.exp: Add tests for "set width/height -1".
2252
2253 2019-02-27 Pedro Alves <palves@redhat.com>
2254
2255 * gdb.base/page.exp: Add tests for "set/show width/height" with
2256 "infinite" values.
2257
2258 2019-02-27 Tom Tromey <tromey@adacore.com>
2259
2260 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2261 2.4.
2262 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2263 workaround.
2264
2265 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2266
2267 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2268 tests for structs with static members.
2269
2270 2019-02-26 Tom Tromey <tromey@adacore.com>
2271
2272 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2273 ValueError, not TypeError.
2274
2275 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2276
2277 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2278 call from main program.
2279
2280 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2281
2282 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2283 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2284 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2285 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2286 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2287
2288 2019-02-22 Keith Seitz <keiths@redhat.com>
2289
2290 PR symtab/23853
2291 * gdb.base/symlink-sourcefile.c: New file.
2292 * gdb.base/symlink-sourcefile.exp: New file.
2293
2294 2019-02-20 Tom Tromey <tom@tromey.com>
2295
2296 * gdb.base/info_qt.exp: Update.
2297
2298 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2299
2300 * gdb.base/source.exp: Move "error in sourced script" code to
2301 the end.
2302 * gdb.base/source-error.gdb: Move contents to
2303 source-error-1.gdb. Add new code to source source-error-1.gdb.
2304 * gdb.base/source-error-1.gdb: New file, from previous
2305 source-error.gdb.
2306
2307 2019-02-17 Tom Tromey <tom@tromey.com>
2308
2309 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2310 for macro styling.
2311 * gdb.base/style.c (SOME_MACRO): New macro.
2312
2313 2019-02-17 Tom Tromey <tom@tromey.com>
2314
2315 * gdb.base/style.exp: Add line-wrapping tests.
2316 * gdb.base/page.exp: Add test for quitting during pagination.
2317
2318 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2319
2320 * gdb.ada/big_packed_array: New testcase.
2321 * gdb.ada/homonym.exp: Fix incorrect expected output for
2322 "break <homonym__get_value>" test.
2323
2324 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2325
2326 PR breakpoints/21870
2327 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2328 and prepare_for_testing. Add comment.
2329 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2330 redundant cleanup call. Clean up comment.
2331
2332 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2333
2334 PR breakpoints/21870
2335 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2336 * gdb.arch/aarch64-dbreg-contents.c: New file.
2337
2338 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2339
2340 * gdb.ada/mi_ref_changeable: New testcase.
2341
2342 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2343
2344 * gdb.base/attach.exp: Add double attach test.
2345
2346 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2347
2348 * lib/gdb.exp (default_gdb_start): Don't match pagination
2349 prompt.
2350 (gdb_init): Set stty_init.
2351
2352 2019-01-27 Tom Tromey <tom@tromey.com>
2353
2354 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2355 skip_python_tests.
2356
2357 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2358
2359 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2360 New structure.
2361 (struct struct_static_02_02): Likewise.
2362 (struct struct_static_02_03): Likewise.
2363 (struct struct_static_02_04): Likewise.
2364 (struct struct_static_04_01): Likewise.
2365 (struct struct_static_04_02): Likewise.
2366 (struct struct_static_04_03): Likewise.
2367 (struct struct_static_04_04): Likewise.
2368 (struct struct_static_06_01): Likewise.
2369 (struct struct_static_06_02): Likewise.
2370 (struct struct_static_06_03): Likewise.
2371 (struct struct_static_06_04): Likewise.
2372 (cmp_struct_static_02_01): Likewise.
2373 (cmp_struct_static_02_02): Likewise.
2374 (cmp_struct_static_02_03): Likewise.
2375 (cmp_struct_static_02_04): Likewise.
2376 (cmp_struct_static_04_01): Likewise.
2377 (cmp_struct_static_04_02): Likewise.
2378 (cmp_struct_static_04_03): Likewise.
2379 (cmp_struct_static_04_04): Likewise.
2380 (cmp_struct_static_06_01): Likewise.
2381 (cmp_struct_static_06_02): Likewise.
2382 (cmp_struct_static_06_03): Likewise.
2383 (cmp_struct_static_06_04): Likewise.
2384 (call_all): Test new structs.
2385 * gdb.base/infcall-nested-structs.exp: Likewise.
2386
2387 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2388 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2389
2390 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2391 * gdb.base/stack-protector.c: New test.
2392 * gdb.base/stack-protector.exp: New file.
2393 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2394 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2395 option.
2396 (gdb_compile): Remove stack protector for GCC and prevent
2397 recursion.
2398
2399 2019-01-16 Keith Seitz <keiths@redhat.com>
2400
2401 PR gdb/23773
2402 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2403
2404 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2405
2406 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2407 aliases.
2408 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2409 tests.
2410 * gdb.arch/powerpc-vector-regs.c: New file.
2411 * gdb.arch/powerpc-vector-regs.exp: New file.
2412
2413 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2414
2415 * gdb.arch/altivec-regs.exp: Fix the list passed to
2416 gdb_expect_list when testing "info vector".
2417
2418 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2419
2420 * gdb.base/style.exp: Don't include path in testname.
2421
2422 2019-01-10 Keith Seitz <keiths@redhat.com>
2423
2424 PR gdb/23712
2425 PR symtab/23010
2426 * gdb.dwarf2/multidictionary.exp: New file.
2427
2428 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2429
2430 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2431 (test_gnuv3_style_demangling): ... this.
2432 (test_lucid_style_demangling): Remove.
2433 (test_arm_style_demangling): Remove.
2434 (test_hp_style_demangling): Remove.
2435 (do_tests): Remove calls to the above.
2436
2437 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2438
2439 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2440 case.
2441
2442 2019-01-06 Tom Tromey <tom@tromey.com>
2443
2444 PR gdb/28155:
2445 * gdb.dwarf2/typedef-void-finish.exp: New file.
2446
2447 2018-12-28 Tom Tromey <tom@tromey.com>
2448 Simon Marchi <simark@simark.ca>
2449
2450 * gdb.base/jit-exec.exp: New file.
2451 * gdb.base/jit-exec.c: New file.
2452 * gdb.base/jit-execd.c: New file.
2453
2454 2018-12-28 Tom Tromey <tom@tromey.com>
2455
2456 * gdb.base/style.exp: Update test to check for address styling.
2457
2458 2018-12-28 Tom Tromey <tom@tromey.com>
2459
2460 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2461 message.
2462
2463 2018-12-28 Tom Tromey <tom@tromey.com>
2464
2465 * gdb.base/style.exp: Add test for version number styling.
2466
2467 2018-12-28 Tom Tromey <tom@tromey.com>
2468
2469 * gdb.base/style.exp: Add test for print_address_symbolic.
2470
2471 2018-12-28 Tom Tromey <tom@tromey.com>
2472
2473 * gdb.base/style.exp: Add test for breakpoint setting.
2474
2475 2018-12-28 Tom Tromey <tom@tromey.com>
2476
2477 * gdb.base/style.exp: Add test for variable names.
2478
2479 2018-12-28 Tom Tromey <tom@tromey.com>
2480
2481 * gdb.base/style.exp: New file.
2482 * gdb.base/style.c: New file.
2483
2484 2018-12-28 Tom Tromey <tom@tromey.com>
2485
2486 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2487 "dumb".
2488 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2489 the TERM environment variable.
2490
2491 2018-12-27 Tom Tromey <tom@tromey.com>
2492
2493 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2494 pagination test.
2495
2496 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2497
2498 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2499 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2500
2501 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2502
2503 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2504 Filename a.adb changed to bp_fun_addr.adb.
2505 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2506
2507 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2508
2509 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2510 non-PIE executables.
2511 * README: Mention the gdb,nopie_flag board setting.
2512 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2513 non-PIE executable.
2514 * gdb.arch/amd64-entry-value.exp: Likewise.
2515 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2516 * gdb.arch/i386-float.exp: Likewise.
2517 * gdb.arch/i386-signal.exp: Likewise.
2518 * gdb.mi/mi-reg-undefined.exp: Likewise.
2519
2520 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2521
2522 PR gdb/23974
2523 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2524
2525 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2526
2527 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2528 Update order of results accordingly.
2529
2530 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2531
2532 * gdb.base/annota1.exp: Update a test regexp.
2533
2534 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2535
2536 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2537
2538 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2539
2540 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2541 (reuse_time): Initialize to REUSE_TIME_CAP.
2542 (check_rc): New function.
2543 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2544 Check pthread_create rc.
2545 (spawner_thread_func): Check pthread_create and pthread_join rc.
2546
2547 2018-12-08 Pedro Alves <palves@redhat.com>
2548
2549 * gdb.base/list.exp (test_forward_search): Rename to ...
2550 (test_forward_reverse_search): ... this. Also test reverse-search
2551 and the forward-search alias.
2552
2553 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2554
2555 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2556 local timeout variable before return, and remove all local timeout
2557 variable entirely.
2558 (gdb_load): Likewise.
2559
2560 2018-12-01 Tom de Vries <tdevries@suse.de>
2561
2562 * gdb.base/gdb-caching-proc.exp: New file.
2563
2564 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2565
2566 * Makefile.in (TIMESTAMP): New variable.
2567 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2568 command.
2569 (check-single-racy): Likewise.
2570 (check/%.exp): Likewise.
2571 (check-racy/%.exp): Likewise.
2572 (workers/%.worker): Likewise.
2573 (build-perf): Likewise.
2574 (check-perf): Likewise.
2575 * README: Describe new "TS" and "TS_FORMAT" variables.
2576 * print-ts.py: New file.
2577
2578 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2579
2580 PR python/23714
2581 * gdb.python/python.exp: Test command repetition after
2582 gdb.execute.
2583
2584 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2585
2586 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2587 is correctly aligned.
2588
2589 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2590
2591 * gdb.ada/info_auto_lang.exp: New testcase.
2592 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2593 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2594 * gdb.ada/info_auto_lang/some_c.c: New file.
2595
2596 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2597
2598 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2599 FUNC_lang language syntax.
2600
2601 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2602
2603 * gdb.base/info_minsym.c: New file.
2604 * gdb.base/info_minsym.exp: New file.
2605
2606 2018-11-19 Tom Tromey <tom@tromey.com>
2607
2608 PR rust/23625:
2609 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2610 * gdb.rust/expr.exp: Update expected output. Change one test.
2611
2612 2018-11-19 Tom Tromey <tom@tromey.com>
2613
2614 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2615
2616 2018-11-19 Pedro Alves <palves@redhat.com>
2617
2618 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2619 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2620 see the expected warning.
2621
2622 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2623
2624 PR gdb/22736:
2625 * gdb.cp/infcall-nodebug-lib.c: New test.
2626 * gdb.cp/infcall-nodebug-main.c: New test.
2627 * gdb.cp/infcall-nodebug.exp: New file.
2628
2629 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2630
2631 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2632 completer tests.
2633
2634 2018-11-09 Tom de Vries <tdevries@suse.de>
2635
2636 * gdb.base/msym-lang.c: New test.
2637 * gdb.base/msym-lang.exp: New file.
2638 * gdb.base/msym-lang-main.c: New test.
2639
2640 2018-11-08 Tom Tromey <tom@tromey.com>
2641
2642 PR gdb/23555:
2643 PR gdb/23838:
2644 * gdb.base/warning.exp: New file.
2645
2646 2018-11-08 Jan Beulich <jbeulich@suse.com>
2647
2648 * testsuite/gdb.arch/i386-avx512.c,
2649 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2650
2651 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2652
2653 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2654 point hardware.
2655
2656 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2657
2658 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2659 * gdb.dwarf2/missing-type-name.exp: New file.
2660
2661 2018-11-06 Tom de Vries <tdevries@suse.de>
2662
2663 * gdb.base/many-headers.c: New test.
2664 * gdb.base/many-headers.exp: New file.
2665
2666 2018-11-06 Jim Wilson <jimw@sifive.com>
2667
2668 * gdb.base/code_elim.exp: For riscv, set additional_flags
2669 to include -msmall-data-limit=0.
2670
2671 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2672
2673 * gdb.ada/watch_minus_l: New testcase.
2674
2675 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2676
2677 * gdb.arch/aix-sighandle.c: New file.
2678 * gdb.arch/aix-sighandle.exp: New file.
2679
2680 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2681
2682 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2683 registers being unions.
2684
2685 2018-10-31 Tom de Vries <tdevries@suse.de>
2686
2687 * lib/valgrind.exp: New file.
2688 (vgdb_start, vgdb_stop): New procs, factored out of ...
2689 * gdb.base/valgrind-bt.exp: ... here, ...
2690 * gdb.base/valgrind-disp-step.exp: ... here and ...
2691 * gdb.base/valgrind-infcall.exp: ... here.
2692
2693 2018-10-31 Tom de Vries <tdevries@suse.de>
2694
2695 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2696
2697 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2698
2699 * gdb.dwarf2/void-type.c: New file.
2700 * gdb.dwarf2/void-type.exp: New file.
2701
2702 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2703
2704 * gdb.base/info_qt.c: New file.
2705 * gdb.base/info_qt.exp: New file.
2706
2707 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2708
2709 * gdb.arch/powerpc-htm-regs.c: New file.
2710 * gdb.arch/powerpc-htm-regs.exp: New file.
2711
2712 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2713
2714 * gdb.arch/powerpc-tar.c: New file.
2715 * gdb.arch/powerpc-tar.exp: New file.
2716
2717 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2718
2719 * gdb.arch/powerpc-ppr-dscr.c: New file.
2720 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2721
2722 2018-10-25 Tom de Vries <tdevries@suse.de>
2723
2724 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2725
2726 2018-10-24 Tom de Vries <tdevries@suse.de>
2727
2728 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2729 longer exists error.
2730
2731 2018-10-24 Tom de Vries <tdevries@suse.de>
2732
2733 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2734
2735 2018-10-24 Tom de Vries <tdevries@suse.de>
2736
2737 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2738 --db-attach in valgrind.
2739
2740 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2741
2742 * gdb.arch/riscv-reg-aliases.c: New file.
2743 * gdb.arch/riscv-reg-aliases.exp: New file.
2744
2745 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2746
2747 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2748
2749 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2750
2751 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2752
2753 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2754
2755 * gdb.cp/ovldbreak.exp: Fix regexps.
2756
2757 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2758
2759 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2760
2761 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2762
2763 PR cli/23785
2764 * gdb.base/restore.exp: New test to check if "restore" with an
2765 invalid file doesn't segfault.
2766
2767 2018-10-18 Tom de Vries <tdevries@suse.de>
2768
2769 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2770 * gdb.ada/excep_handle.exp: Same.
2771 * gdb.ada/mi_string_access.exp: Same.
2772 * gdb.ada/mi_var_union.exp: Same.
2773 * gdb.arch/arc-analyze-prologue.exp: Same.
2774 * gdb.arch/arc-decode-insn.exp: Same.
2775 * gdb.base/readnever.exp: Same.
2776 * gdb.fortran/printing-types.exp: Same.
2777 * gdb.guile/scm-lazy-string.exp: Same.
2778
2779 2018-10-16 Tom de Vries <tdevries@suse.de>
2780
2781 PR gdb/23730
2782 * gdb.base/catch-follow-exec.c: Add copyright notice.
2783 * gdb.base/catch-follow-exec.exp: Rewrite to use
2784 gdb_spawn_with_cmdline_opts. Require gdb-native.
2785
2786 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2787
2788 * gdb.trace/actions-changed.exp: Check for arch support.
2789 * gdb.trace/actions.exp: Likewise.
2790 * gdb.trace/ax.exp: Likewise.
2791 * gdb.trace/backtrace.exp: Likewise.
2792 * gdb.trace/change-loc.exp: Likewise.
2793 * gdb.trace/deltrace.exp: Likewise.
2794 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2795 * gdb.trace/ftrace.exp: Likewise.
2796 * gdb.trace/infotrace.exp: Check for arch support.
2797 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2798 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2799 * gdb.trace/mi-tsv-changed.exp: Likewise.
2800 * gdb.trace/packetlen.exp: Likewise.
2801 * gdb.trace/passc-dyn.exp: Likewise.
2802 * gdb.trace/passcount.exp: Likewise.
2803 * gdb.trace/pending.exp: Likewise.
2804 * gdb.trace/range-stepping.exp: Check for shlib support.
2805 * gdb.trace/report.exp: Check for arch support.
2806 * gdb.trace/save-trace.exp: Likewise.
2807 * gdb.trace/signal.exp: Check for signal support.
2808 * gdb.trace/tfind.exp: Check for arch support.
2809 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2810 * gdb.trace/trace-common.h: Add comment.
2811 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2812 * gdb.trace/trace-enable-disable.exp: Likewise.
2813 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2814 * gdb.trace/tracecmd.exp: Check for arch support.
2815 * gdb.trace/tspeed.exp: Check for shlib and target support.
2816 * gdb.trace/tstatus.exp: Check for arch support.
2817 * gdb.trace/tsv.exp: Likewise.
2818 * gdb.trace/while-dyn.exp: Likewise.
2819 * gdb.trace/while-stepping.exp: Likewise.
2820 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2821
2822 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2823
2824 * gdb.trace/tspeed.exp: Remove nowarnings.
2825 (prepare_for_trace_test): Declare "global ipalib".
2826 * gdb.trace/tspeed.c: Include unistd.h.
2827 (main): Remove superfluous printf argument.
2828
2829 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2830
2831 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2832 directory prefix on the filename.
2833
2834 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2835
2836 * gdb.gdb/unittest.exp: Update expected message informing that
2837 selftests have been disabled.
2838 * gdb.server/unittest.exp: Likewise.
2839
2840 2018-10-09 Tom de Vries <tdevries@suse.de>
2841
2842 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2843 with runto_main.
2844
2845 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2846
2847 PR c++/16841
2848 * gdb.cp/virtbase2.cc: New file.
2849 * gdb.cp/virtbase2.exp: New file.
2850
2851 2018-10-06 Tom Tromey <tom@tromey.com>
2852
2853 PR python/19399:
2854 * gdb.python/py-inferior.exp: Add architecture test.
2855
2856 2018-10-06 Tom Tromey <tom@tromey.com>
2857
2858 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2859 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2860
2861 2018-10-06 Tom Tromey <tom@tromey.com>
2862
2863 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2864 of a "throw" catchpoint.
2865
2866 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2867
2868 * gdb.base/info-proc.exp: Update string expected from "help info
2869 proc".
2870
2871 2018-10-04 Tom Tromey <tom@tromey.com>
2872
2873 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2874 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2875 (test_initial_complaints, test_empty_complaints): Update.
2876 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2877
2878 2018-10-04 Tom Tromey <tom@tromey.com>
2879
2880 PR cli/19551:
2881 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2882 * lib/gdb.exp (gdb_file_cmd): Update.
2883 * gdb.stabs/weird.exp (print_weird_var): Update.
2884 * gdb.server/solib-list.exp: Update.
2885 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2886 * gdb.mi/mi-cli.exp: Update.
2887 * gdb.linespec/linespec.exp: Update.
2888 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2889 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2890 * gdb.cp/cp-relocate.exp: Update.
2891 * gdb.base/sym-file.exp: Update.
2892 * gdb.base/relocate.exp: Update.
2893 * gdb.base/readnever.exp: Update.
2894 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2895 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2896 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2897 * gdb.base/code_elim.exp: Update.
2898 * gdb.base/break-unload-file.exp (test_break): Update.
2899 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2900 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2901 Update.
2902 * gdb.base/attach.exp (do_attach_tests): Update.
2903 * gdb.base/sepdebug.exp: Update.
2904 * gdb.python/py-section-script.exp: Update.
2905
2906 2018-10-04 Tom Tromey <tom@tromey.com>
2907
2908 PR cli/22234:
2909 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2910 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2911 output.
2912
2913 2018-10-04 Tom Tromey <tom@tromey.com>
2914
2915 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2916 set width and height to 0.
2917 (test_command_line_attach_run): Use -quiet.
2918
2919 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2920
2921 * lib/gdb.exp (skip_ifunc_tests): New.
2922 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2923 other compile failures.
2924 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2925
2926 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2927
2928 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2929 is_amd64_regs_target.
2930
2931 2018-10-01 Alan Hayward <alan.hayward@arm.com>
2932
2933 * gdb.arch/aarch64-sighandler-regs.c: New test.
2934 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2935 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2936
2937 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2938
2939 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2940 assembly.
2941
2942 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2943
2944 * gdb.base/frame-selection.exp: New file.
2945 * gdb.base/frame-selection.c: New file.
2946
2947 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2948
2949 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2950 pthread barrier.
2951 (main): Likewise.
2952
2953 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2954
2955 * gdb.base/large-frame-1.c: New file.
2956 * gdb.base/large-frame-2.c: New file.
2957 * gdb.base/large-frame.exp: New file.
2958 * gdb.base/large-frame.h: New file.
2959
2960 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2961
2962 PR gdb/20948
2963 * gdb.base/write_mem.exp: New test.
2964 * gdb.base/write_mem.c: Likewise.
2965
2966 2018-09-23 Tom Tromey <tom@tromey.com>
2967
2968 PR python/18852:
2969 * gdb.python/py-parameter.exp: Add test for parameter that throws
2970 on "set".
2971
2972 2018-09-23 Tom Tromey <tom@tromey.com>
2973
2974 PR python/17284:
2975 * gdb.python/py-template.exp (test_template_arg): Add test for
2976 negative template argument number.
2977
2978 2018-09-23 Tom Tromey <tom@tromey.com>
2979
2980 PR python/14062:
2981 * gdb.python/python.exp: Add test for post_event error.
2982
2983 2018-09-23 Tom Tromey <tom@tromey.com>
2984
2985 PR python/18170:
2986 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2987 convert pointers to int and long.
2988
2989 2018-09-23 Tom Tromey <tom@tromey.com>
2990
2991 PR python/20126:
2992 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2993 signed-ness conversion tests.
2994
2995 2018-09-23 Tom Tromey <tom@tromey.com>
2996
2997 PR python/18352;
2998 * gdb.python/py-value.exp (test_float_conversion): New proc.
2999 Use it.
3000
3001 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3002
3003 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3004
3005 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3006
3007 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3008 no readline.
3009 * gdb.base/utf8-identifiers.exp: Likewise.
3010 * gdb.cp/cpcompletion.exp: Likewise.
3011 * gdb.linespec/cpcompletion.exp: Likewise.
3012 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3013 * gdb.linespec/cpls-ops.exp: Likewise.
3014
3015 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3016 Chris January <chris.january@arm.com>
3017
3018 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3019 * gdb.fortran/short-circuit-argument-list.exp: New file.
3020 * gdb.fortran/short-circuit-argument-list.f90: New test.
3021
3022 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3023
3024 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3025 "arch=" keyword when executing "-stack-list-frames".
3026
3027 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3028
3029 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3030 "arch=" keyword when executing "-stack-list-frames".
3031
3032 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3033
3034 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3035 break ada".
3036
3037 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3038
3039 PR python/23669
3040 * gdb.python/python.exp: Test gdb.execute("show commands").
3041
3042 2018-09-16 Tom Tromey <tom@tromey.com>
3043
3044 * gdb.base/new-ui.exp (do_execution_tests): Update.
3045 * gdb.base/dbx.exp (test_breakpoints): Update.
3046
3047 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3048
3049 * lib/gdb.exp (gdb_simple_compile): Add proc.
3050 (is_elf_target): Use gdb_simple_compile.
3051 (skip_altivec_tests): Likewise.
3052 (skip_vsx_tests): Likewise.
3053 (skip_tsx_tests): Likewise.
3054 (skip_btrace_tests): Likewise.
3055 (skip_btrace_pt_tests): Likewise.
3056 (gdb_can_simple_compile): Likewise.
3057 (gdb_has_argv0): Likewise.
3058 (gdb_target_symbol_prefix): Likewise.
3059 (target_supports_scheduler_locking): Likewise.
3060
3061 2018-09-13 Tom Tromey <tom@tromey.com>
3062
3063 * Makefile.in (TAGS): Recognize proc_with_prefix and
3064 gdb_caching_proc.
3065
3066 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3067
3068 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3069 method.
3070
3071 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3072
3073 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3074 and a few other Inferior properties when the Inferior is no
3075 longer valid.
3076
3077 2018-09-13 Tom Tromey <tom@tromey.com>
3078
3079 PR rust/23650:
3080 * gdb.rust/simple.exp: Add test for enum field access error.
3081
3082 2018-09-13 Tom Tromey <tom@tromey.com>
3083
3084 PR rust/23626:
3085 * gdb.rust/simple.rs (EmptyEnum): New type.
3086 (main): Use it.
3087 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3088
3089 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3090
3091 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3092 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3093 * gdb.python/py-symtab.exp: Update test printing an objfile.
3094
3095 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3096
3097 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3098 object.
3099
3100 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3101
3102 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3103 (support_complex_tests): Use gdb_can_simple_compile.
3104 (is_ilp32_target): Likewise.
3105 (is_lp64_target): Likewise.
3106 (is_64_target): Likewise.
3107 (is_amd64_regs_target): Likewise.
3108 (is_aarch32_target): Likewise.
3109 (gdb_int128_helper): Likewise.
3110
3111 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3112
3113 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3114
3115 2018-09-10 Jerome Guitton <guitton@adacore.com>
3116
3117 * gdb.ada/same_component_name: Add test for case of tagged record
3118 with variable-length fields.
3119
3120 2018-09-10 Xavier Roirand <roirand@adacore.com>
3121
3122 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3123 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3124 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3125 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3126
3127 2018-09-10 Xavier Roirand <roirand@adacore.com>
3128
3129 * gdb.ada/mi_string_access.exp: New testcase.
3130 * gdb.ada/mi_string_access/bar.adb: New file.
3131 * gdb.ada/mi_string_access/pck.adb: New file.
3132 * gdb.ada/mi_string_access/pck.asd: New file.
3133
3134 2018-09-10 Xavier Roirand <roirand@adacore.com>
3135
3136 * gdb.ada/mi_var_union.exp: New testcase.
3137 * gdb.ada/mi_var_union/bar.adb: New file.
3138 * gdb.ada/mi_var_union/pck.adb: New file.
3139 * gdb.ada/mi_var_union/pck.asd: New file.
3140
3141 2018-09-08 Tom Tromey <tom@tromey.com>
3142
3143 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3144
3145 2018-09-08 Tom Tromey <tom@tromey.com>
3146
3147 PR python/16047:
3148 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3149 (register_pretty_printers): Register new printer.
3150 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3151 test.
3152 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3153 (an_int_type3): New global.
3154
3155 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3156
3157 * gdb.ada/expr_with_funcall: New testcase.
3158
3159 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3160
3161 * gdb.ada/packed_array_assign: New testcase.
3162
3163 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3164
3165 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3166 names, and add test prefixes to make test names unique.
3167
3168 2018-09-05 Tom de Vries <tdevries@suse.de>
3169
3170 * gdb.dwarf2/varval.exp: Add test.
3171
3172 2018-09-04 Gary Benson <gbenson@redhat.com>
3173
3174 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3175 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3176
3177 2018-08-31 Tom Tromey <tom@tromey.com>
3178
3179 * gdb.rust/simple.rs: Rename second variable "v".
3180
3181 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3182
3183 * gdb.base/funcargs.c (use_a): New function.
3184 (recurse): Call use_a.
3185
3186 2018-08-29 Keith Seitz <keiths@redhat.com>
3187
3188 * gdb.compile/compile-cplus-anonymous.cc: New file.
3189 * gdb.compile/compile-cplus-anonymous.exp: New file.
3190 * gdb.compile/compile-cplus-array-decay.cc: New file.
3191 * gdb.compile/compile-cplus-array-decay.exp: New file.
3192 * gdb.compile/compile-cplus-inherit.cc: New file.
3193 * gdb.compile/compile-cplus-inherit.exp: New file.
3194 * gdb.compile/compile-cplus-member.cc: New file.
3195 * gdb.compile/compile-cplus-member.exp: New file.
3196 * gdb.compile/compile-cplus-method.cc: New file.
3197 * gdb.compile/compile-cplus-method.exp: New file.
3198 * gdb.compile/compile-cplus-mod.c: "New" file.
3199 * gdb.compile/compile-cplus-namespace.cc: New file.
3200 * gdb.compile/compile-cplus-namespace.exp: New file.
3201 * gdb.compile/compile-cplus-nested.cc: New file.
3202 * gdb.compile/compile-cplus-nested.exp: New file.
3203 * gdb.compile/compile-cplus-print.c: "New" file.
3204 * gdb.compile/compile-cplus-print.exp: "New" file.
3205 * gdb.compile/compile-cplus-virtual.cc: New file.
3206 * gdb.compile/compile-cplus-virtual.exp: New file.
3207 * gdb.compile/compile-cplus.c: "New" file.
3208 * gdb.compile/compile-cplus.exp: "New" file.
3209 * lib/compile-support.exp: New file.
3210
3211 2018-08-16 Gary Benson <gbenson@redhat.com>
3212
3213 PR gdb/13000:
3214 * gdb.base/batch-exit-status.exp: New file.
3215 * gdb.base/batch-exit-status.good-commands: Likewise.
3216 * gdb.base/batch-exit-status.bad-commands: Likewise.
3217
3218 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3219
3220 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3221 (struct struct02): Likewise.
3222 (struct struct03): Likewise.
3223 (struct struct04): Likewise.
3224 (struct struct_01_01): New struct.
3225 (struct struct_01_02): Likewise.
3226 (struct struct_01_03): Likewise.
3227 (struct struct_01_04): Likewise.
3228 (struct struct_02_01): Likewise.
3229 (struct struct_02_02): Likewise.
3230 (struct struct_02_03): Likewise.
3231 (struct struct_02_04): Likewise.
3232 (struct struct_04_01): Likewise.
3233 (struct struct_04_02): Likewise.
3234 (struct struct_04_03): Likewise.
3235 (struct struct_04_04): Likewise.
3236 (struct struct_05_01): Likewise.
3237 (struct struct_05_02): Likewise.
3238 (struct struct_05_03): Likewise.
3239 (struct struct_05_04): Likewise.
3240 (cmp_struct01): Remove function.
3241 (cmp_struct02): Likewise.
3242 (cmp_struct03): Likewise.
3243 (cmp_struct04): Likewise.
3244 (cmp_struct_01_01): Add Function.
3245 (cmp_struct_01_02): Likewise.
3246 (cmp_struct_01_03): Likewise.
3247 (cmp_struct_01_04): Likewise.
3248 (cmp_struct_02_01): Likewise.
3249 (cmp_struct_02_02): Likewise.
3250 (cmp_struct_02_03): Likewise.
3251 (cmp_struct_02_04): Likewise.
3252 (cmp_struct_04_01): Likewise.
3253 (cmp_struct_04_02): Likewise.
3254 (cmp_struct_04_03): Likewise.
3255 (cmp_struct_04_04): Likewise.
3256 (cmp_struct_05_01): Likewise.
3257 (cmp_struct_05_02): Likewise.
3258 (cmp_struct_05_03): Likewise.
3259 (cmp_struct_05_04): Likewise.
3260 (call_all): Add new structs.
3261 * gdb.base/infcall-nested-structs.exp: Likewise.
3262
3263 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3264
3265 * gdb.python/py-framefilter-mi.exp: Update regexp to
3266 check for "arch" field in frame output.
3267
3268 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3269
3270 * gdb.dwarf2/dw2-ranges-func.c: New file.
3271 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3272
3273 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3274
3275 * gdb.base/term.exp: Compare terminal settings with values from
3276 the inferior.
3277 * gdb.base/term.c: Get and set terminal settings.
3278
3279 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3280
3281 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3282 accommodate new "arch" field in frame output.
3283 * gdb.mi/mi-return.exp: Likewise.
3284 * gdb.mi/mi-stack.exp: Likewise.
3285 * gdb.mi/mi-syn-frame.exp: Likewise.
3286 * gdb.mi/user-selected-context-sync.exp: Likewise.
3287
3288 2018-08-19 Michael Spang <spang@google.com>
3289
3290 PR gdb/11786
3291 * gdb.base/gcore-tls-pie.c: New file.
3292 * gdb.base/gcore-tls-pie.exp: New file.
3293
3294 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3295
3296 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3297 * gdb.dwarf2/varval.c: New file.
3298 * gdb.dwarf2/varval.exp: New file.
3299
3300 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3301
3302 PR gdb/18931
3303 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3304
3305 2018-08-16 Keith Seitz <keiths@redhat.com>
3306
3307 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3308 tests expected to pass.
3309
3310 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3311
3312 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3313 -data-disassemble -a.
3314 (test_disassembly_bogus_args): Likewise.
3315
3316 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3317
3318 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3319
3320 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3321
3322 * gdb.base/vla-optimized-out.exp: Add new test.
3323
3324 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3325
3326 * gdb.base/vla-optimized-out-o3.exp: Delete.
3327 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3328 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3329 deleted tests.
3330
3331 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3332
3333 PR gdb/18050:
3334 * gdb.server/extended-remote-restart.c: New file.
3335 * gdb.server/extended-remote-restart.exp: New file.
3336
3337 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3338
3339 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3340 "set variable index = 42".
3341
3342 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3343
3344 * boards/index-cache-gdb.exp: New file.
3345 * gdb.dwarf2/index-cache.exp: New file.
3346 * gdb.dwarf2/index-cache.c: New file.
3347 * gdb.base/maint.exp: Check if we are using the index cache.
3348
3349 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3350
3351 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3352 MAKEFLAGS.
3353
3354 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3355
3356 * dg-extract-results.sh: Move to toplevel contrib.
3357 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3358 * Makefile.in (check-parallel-racy): Likewise.
3359
3360 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3361
3362 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3363 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3364 tests if the target supports scheduler locking.
3365
3366 2018-08-04 Tom de Vries <tdevries@suse.de>
3367
3368 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3369
3370 2018-08-02 Tom Tromey <tom@tromey.com>
3371
3372 PR symtab/16842.
3373 * gdb.cp/temargs.exp: Test "info address" of a template
3374 parameter.
3375
3376 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3377
3378 * gdb.python/py-mi-var-info-path-expression.c: New file.
3379 * gdb.python/py-mi-var-info-path-expression.py: New file.
3380 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3381
3382 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3383
3384 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3385 error after "cannot resolve name" string.
3386
3387 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3388
3389 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3390 started.
3391 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3392
3393 2018-07-28 Tom de Vries <tdevries@suse.de>
3394
3395 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3396
3397 2018-07-26 Tom de Vries <tdevries@suse.de>
3398
3399 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3400
3401 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3402
3403 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3404 is visible.
3405
3406 2018-07-26 Tom de Vries <tdevries@suse.de>
3407
3408 PR breakpoints/23366
3409 * gdb.base/catch-follow-exec.c: New test.
3410 * gdb.base/catch-follow-exec.exp: New file.
3411
3412 2018-07-25 Tom de Vries <tdevries@suse.de>
3413
3414 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3415 vla-optimized-out.c.
3416
3417 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3418
3419 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3420 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3421
3422 2018-07-20 Tom de Vries <tdevries@suse.de>
3423
3424 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3425 NOCLONE macro.
3426 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3427
3428 2018-07-19 Tom de Vries <tdevries@suse.de>
3429
3430 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3431 regular expression.
3432
3433 2018-07-18 Tom de Vries <tdevries@suse.de>
3434
3435 * gdb.base/vla-optimized-out.c: New test.
3436 * gdb.base/vla-optimized-out.exp: New file.
3437
3438 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3439
3440 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3441 message "No address associated with hostname" when gdbserver
3442 cannot resolve the hostname.
3443
3444 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3445
3446 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3447 Add some test prefixes to make tests unique.
3448
3449 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3450
3451 * gdb.base/frameapply.c: New file.
3452 * gdb.base/frameapply.exp: New file.
3453
3454 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3455
3456 * gdb.base/skip.exp: Update expected error message.
3457
3458 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3459 Jan Kratochvil <jan.kratochvil@redhat.com>
3460 Paul Fertser <fercerpav@gmail.com>
3461 Tsutomu Seki <sekiriki@gmail.com>
3462
3463 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3464 parameter.
3465 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3466 by default.
3467 * boards/native-gdbserver.exp: Likewise.
3468 * gdb.server/run-without-local-binary.exp: Improve regexp used
3469 for detecting when a remote debugging connection succeeds.
3470 * gdb.server/server-connect.exp: New file.
3471 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3472 Do not prefix the port number with ":".
3473 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3474 support for detecting and using it. Add '$debughost_gdbserver'
3475 to the list of arguments used to start gdbserver. Handle case
3476 when gdbserver cannot resolve a network name.
3477
3478 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3479
3480 PR c++/23373
3481 * gdb.base/ptype-offsets.cc (struct static_member): New
3482 struct.
3483 (main) <stmember>: New variable.
3484 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3485 with a static member in it.
3486
3487 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3488
3489 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3490 watchpoints enabled and disabled.
3491
3492 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3493
3494 * gdb.base/examine-backward.exp: Still run tests around address
3495 0x0, even if address 0x0 is not readable. Update the pattern for
3496 matching address 0x0 in expected output.
3497
3498 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3499
3500 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3501 malloc/free.
3502
3503 2018-07-04 Tom de Vries <tdevries@suse.de>
3504
3505 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3506
3507 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3508
3509 PR tdep/8282
3510 * gdb.arch/mips-disassembler-options.exp: New test.
3511 * gdb.arch/mips-disassembler-options.s: New test source.
3512
3513 2018-06-29 Pedro Alves <palves@redhat.com>
3514
3515 * gdb.threads/names.exp: Adjust expected "info threads" output.
3516
3517 2018-06-29 Pedro Alves <palves@redhat.com>
3518
3519 * gdb.opt/inline-break.exp (line number, address): Add "info
3520 break" tests.
3521
3522 2018-06-29 Pedro Alves <palves@redhat.com>
3523
3524 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3525 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3526 number and address and running to them.
3527
3528 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3529
3530 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3531
3532 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3533
3534 * lib/compiler.c: Remove executable permission flag.
3535
3536 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3537
3538 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3539 code.
3540 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3541
3542 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3543
3544 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3545
3546 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3547
3548 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3549 address argument is omitted.
3550
3551 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3552
3553 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3554
3555 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3556
3557 PR gdb/21695
3558 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3559 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3560
3561 2018-06-26 Tom Tromey <tom@tromey.com>
3562
3563 PR rust/22574:
3564 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3565 * gdb.rust/simple.rs (struct SimpleLayout): New.
3566
3567 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3568
3569 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3570 "info registers" output.
3571
3572 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3573
3574 * gdb.base/watchpoint-hw-attach.c: New test.
3575 * gdb.base/watchpoint-hw-attach.exp: New file.
3576
3577 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3578
3579 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3580 through /bin/sh.
3581 * boards/dwarf4-gdb-index.exp: Likewise.
3582 * boards/fission-dwp.exp: Likewise.
3583
3584 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3585
3586 * gdb.base/float128.exp: Add comment and improved fail message
3587 to the failure case of "print large128" test.
3588
3589 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3590
3591 * configure.ac: Remove AC_PREREQ.
3592 * configure: Re-generate.
3593
3594 2018-06-19 Pedro Alves <palves@redhat.com>
3595
3596 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3597 (func_extern_caller): New.
3598 (main): Call func_extern_caller.
3599 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3600 logic change.
3601
3602 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3603
3604 PR gdb/16841
3605 * gdb.cp/typedef-base.cc: New file.
3606 * gdb.cp/typedef-base.exp: New file.
3607
3608 2018-06-18 Tom de Vries <tdevries@suse.de>
3609
3610 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3611
3612 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3613 Richard Bunt <Richard.Bunt@arm.com>
3614
3615 * gdb.threads/attach-slow-waitpid.c: New file.
3616 * gdb.threads/attach-slow-waitpid.exp: New file.
3617 * gdb.threads/slow-waitpid.c: New file.
3618
3619 2018-06-14 Pedro Alves <palves@redhat.com>
3620
3621 * gdb.base/fork-running-state.c: Include <errno.h>.
3622 (exit_if_relative_exits): New.
3623 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3624 exits.
3625 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3626 child exits.
3627
3628 2018-06-14 Tom de Vries <tdevries@suse.de>
3629
3630 PR cli/22573
3631 * gdb.base/finish-pretty.c: New test.
3632 * gdb.base/finish-pretty.exp: New file.
3633
3634 2018-06-14 Pedro Alves <palves@redhat.com>
3635
3636 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3637 gdb's expected startup output.
3638
3639 2018-06-14 Pedro Alves <palves@redhat.com>
3640
3641 * lib/selftest-support.exp (selftest_setup): Remove inlined
3642 function handling.
3643
3644 2018-06-14 Tom de Vries <tdevries@suse.de>
3645
3646 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3647 matching of breakpoint printing.
3648
3649 2018-06-13 Tom de Vries <tdevries@suse.de>
3650
3651 PR testsuite/23269
3652 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3653 (fork_child): ... here, and ...
3654 (fork_parent): ... here.
3655
3656 2018-06-12 Tom de Vries <tdevries@suse.de>
3657
3658 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3659
3660 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3661 Stephen Roberts <stephen.roberts@arm.com>
3662
3663 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3664 rewrite test to describe action performed, rather than possible
3665 failure.
3666
3667 2018-06-08 Gary Benson <gbenson@redhat.com>
3668
3669 * gdb.threads/check-libthread-db.exp: New file.
3670 * gdb.threads/check-libthread-db.c: Likewise.
3671
3672 2018-06-05 Tom Tromey <tom@tromey.com>
3673
3674 * gdb.base/default.exp: Update expected "show version" output.
3675
3676 2018-06-05 Tom Tromey <tom@tromey.com>
3677
3678 PR cli/12326:
3679 * gdb.cp/static-print-quit.exp: Update.
3680 * lib/gdb.exp (pagination_prompt): Update.
3681 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3682 * gdb.python/python.exp: Update.
3683
3684 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3685
3686 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3687
3688 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3689
3690 * gdb.ada/bp_fun_addr: New testcase.
3691
3692 2018-06-01 Tom Tromey <tom@tromey.com>
3693
3694 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3695 results.
3696 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3697 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3698 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3699 * gdb.base/maint.exp (maint_pass_if): Update.
3700
3701 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3702
3703 * gdb.base/endian.exp: New test.
3704 * gdb.base/endian.c: New test source.
3705
3706 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3707
3708 PR gdb/23203
3709 * gdb.base/bt-selected-frame.c: New file.
3710 * gdb.base/bt-selected-frame.exp: New file.
3711 * lib/gdb.exp (get_current_frame_number): New function.
3712
3713 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3714 Pedro Alves <palves@redhat.com>
3715
3716 * gdb.threads/tls-core.c: Include <stdlib.h>
3717 (thread_proc): Call `abort'.
3718 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3719 (tls_core_test): New procedure, bits factored out from ...
3720 (top level): ... here. Test both native cores and gcore cores.
3721
3722 2018-05-23 Tom Tromey <tom@tromey.com>
3723
3724 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3725
3726 2018-05-23 Tom Tromey <tom@tromey.com>
3727
3728 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3729 symfile_complaints.
3730 (test_short_complaints): Likewise.
3731 (test_empty_complaints): Likewise.
3732 (test_initial_complaints): Update.
3733
3734 2018-05-23 Tom Tromey <tom@tromey.com>
3735
3736 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3737
3738 2018-05-23 Tom Tromey <tom@tromey.com>
3739
3740 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3741 (test_short_complaints): Update.
3742
3743 2018-05-22 Pedro Alves <palves@redhat.com>
3744
3745 * gdb.base/remote.exp: Only gdb_start after compiling the
3746 testcase. Issue "disconnect" before testing "set remote" command
3747 defaults. Issue clean_restart before running to main.
3748
3749 2018-05-22 Pedro Alves <palves@redhat.com>
3750
3751 * gdb.base/remote.exp: Adjust expected output of "show remote
3752 memory-write-packet-size". Add tests for "set remote
3753 memory-write-packet-size 0" and "set remote
3754 memory-write-packet-size fixed/limit".
3755
3756 2018-05-22 Pedro Alves <palves@redhat.com>
3757
3758 PR gdb/22973
3759 * gdb.base/utf8-identifiers.c: New file.
3760 * gdb.base/utf8-identifiers.exp: New file.
3761
3762 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3763
3764 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3765
3766 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3767
3768 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3769
3770 2018-05-18 Tom Tromey <tom@tromey.com>
3771
3772 * gdb.base/ptype-offsets.exp: Update.
3773
3774 2018-05-17 Keith Seitz <keiths@redhat.com>
3775
3776 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3777 in expected breakpoint stop locations.
3778 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3779 move to proper scope to test variable values.
3780 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3781 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3782 New functions.
3783 (main): Call not_inline_func3.
3784 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3785 inline_func1, inline_func2, and inline_func3. Test that when each
3786 breakpoint is hit, GDB properly reports both the stop location
3787 and the backtrace. Repeat tests for temporary breakpoints.
3788
3789 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3790
3791 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3792 rather then trying to access it in determining whether the PID
3793 of `gdbserver' could have been retrieved.
3794
3795 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3796
3797 * gdb.arch/amd64-init-x87-values.S: New file.
3798 * gdb.arch/amd64-init-x87-values.exp: New file.
3799
3800 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3801
3802 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3803
3804 2018-05-04 Tom Tromey <tom@tromey.com>
3805
3806 PR python/22730:
3807 * gdb.python/python.exp: Test multi-line execute.
3808
3809 2018-05-04 Tom Tromey <tom@tromey.com>
3810
3811 PR python/22731:
3812 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3813
3814 2018-05-04 Tom Tromey <tom@tromey.com>
3815
3816 PR gdb/11750:
3817 * gdb.base/define.exp: Test defining a user command inside a user
3818 command.
3819 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3820
3821 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3822 Pedro Alves <palves@redhat.com>
3823
3824 PR breakpoints/19806 and support for PR external/20207.
3825 * gdb.base/watchpoint-unaligned.c: New file.
3826 * gdb.base/watchpoint-unaligned.exp: New file.
3827
3828 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3829
3830 * gdb.base/maint.exp: Make test names unique, use
3831 test_prefix_command_help to test 'help maint info', and remove
3832 repeated test of 'help maint'.
3833
3834 2018-05-04 Tom Tromey <tom@tromey.com>
3835
3836 PR gdb/22619:
3837 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3838 behavior.
3839
3840 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3841
3842 * gdb.base/maint.exp: Process output from 'maint print registers'
3843 line at a time.
3844
3845 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3846
3847 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3848 timeout.
3849
3850 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3851
3852 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3853 filter pattern.
3854
3855 2018-05-02 Pedro Alves <palves@redhat.com>
3856
3857 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3858 to_log_command renames.
3859 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3860
3861 2018-05-02 Tom Tromey <tom@tromey.com>
3862
3863 * gdb.python/py-parameter.exp: Set test message.
3864
3865 2018-05-02 Tom Tromey <tom@tromey.com>
3866
3867 PR python/20084:
3868 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3869 PARAM_ZUINTEGER_UNLIMITED tests.
3870
3871 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3872
3873 PR rust/23124
3874 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3875 when casting.
3876
3877 2018-04-30 Tom Tromey <tom@tromey.com>
3878
3879 * gdb.python/py-type.exp: Check align attribute.
3880 * gdb.python/py-type.c: New "aligncheck" global.
3881
3882 2018-04-30 Tom Tromey <tom@tromey.com>
3883
3884 PR exp/17095:
3885 * gdb.dwarf2/dw2-align.exp: New file.
3886 * gdb.cp/align.exp: New file.
3887 * gdb.base/align.exp: New file.
3888 * lib/gdb.exp (gdb_int128_helper): New proc.
3889 (has_int128_c, has_int128_cxx): New caching procs.
3890
3891 2018-04-27 Tom Tromey <tom@tromey.com>
3892
3893 PR rust/22545:
3894 * gdb.rust/simple.exp: Add inclusive range tests.
3895
3896 2018-04-26 Pedro Alves <palves@redhat.com>
3897
3898 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3899 ifunc breakpoint locations correctly of ifunc breakpoints set
3900 while the program resolves the ifunc.
3901
3902 2018-04-26 Pedro Alves <palves@redhat.com>
3903
3904 * gdb.base/gnu-ifunc-final.c: New file.
3905 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3906 * gdb.base/gnu-ifunc.exp (executable): Delete.
3907 (staticexecutable): Adjust.
3908 (lib_opts, exec_opts): Delete.
3909 (make_binsuffix, build, set-break): New procedures.
3910 (misc_tests): New, with tests factored out from the top level.
3911 (top level): Test different combinations of ifunc resolver name,
3912 resolver with and with debug info, and ifunc target with and
3913 without debug info. Wrap static tests with with_target_prefix.
3914
3915 2018-04-26 Pedro Alves <palves@redhat.com>
3916
3917 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3918 return type" warnings.
3919
3920 2018-04-25 Pedro Alves <palves@redhat.com>
3921
3922 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3923 killed".
3924 * gdb.base/kill-after-signal.exp: Likewise.
3925 * gdb.threads/kill.exp: Likewise.
3926
3927 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3928 Sergio Durigan Junior <sergiodj@redhat.com>
3929 Pedro Alves <palves@redhat.com>
3930
3931 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3932 regexps to expect for '[Inferior ... detached]' as well.
3933 * gdb.base/attach.exp: Likewise.
3934 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3935 "gdb_continue_to_end".
3936 (test_catch_syscall_with_wrong_args): Likewise.
3937 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3938 ']'. Don't set 'verbose' on.
3939 * gdb.base/foll-vfork.exp: Likewise.
3940 * gdb.base/fork-print-inferior-events.c: New file.
3941 * gdb.base/fork-print-inferior-events.exp: New file.
3942 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3943 '[Inferior ... has been killed]' message.
3944 * gdb.base/kill-after-signal.exp: Likewise.
3945 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3946 detach message.
3947 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3948 message.
3949 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3950 regexps to expect for '[Inferior ... detached]' as well.
3951 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3952
3953 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3954
3955 PR gdb/23104
3956 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3957
3958 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3959
3960 * gdb.threads/multiple-successive-infcall.c: New test.
3961 * gdb.threads/multiple-successive-infcall.exp: New file.
3962
3963 2018-04-17 Tom Tromey <tom@tromey.com>
3964
3965 * gdb.rust/simple.rs (Union): New type.
3966 (main): New local "u".
3967 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3968
3969 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3970
3971 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3972 number information in output of "whereis" command.
3973 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3974
3975 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3976
3977 * gdb.ada/info_types.exp: Adjust expected output to the line
3978 numbers now printed by "info var/func/type".
3979 * gdb.base/completion.exp: Likewise.
3980 * gdb.base/included.exp: Likewise.
3981 * gdb.cp/cp-relocate.exp: Likewise.
3982 * gdb.cp/cplusfuncs.exp: Likewise.
3983 * gdb.cp/namespace.exp: Likewise.
3984 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3985
3986 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3987
3988 * gdb.btrace/cpu.exp: New.
3989
3990 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3991
3992 * gdb.base/step-indirect-call-thunk.exp: New.
3993 * gdb.base/step-indirect-call-thunk.c: New.
3994 * gdb.reverse/step-indirect-call-thunk.exp: New.
3995 * gdb.reverse/step-indirect-call-thunk.c: New.
3996
3997 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3998
3999 * gdb.base/pie-fork.c: New file.
4000 * gdb.base/pie-fork.exp: New file.
4001
4002 2018-04-11 Tom Tromey <tom@tromey.com>
4003
4004 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4005
4006 2018-04-10 Pedro Alves <palves@redhat.com>
4007
4008 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4009 exits. Instead loop running forever.
4010 (fork_parent): Run forever too.
4011
4012 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4013
4014 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4015 mi_continue_to_line.
4016 * gdb.mi/mi-stack.c (callee4): Add comment.
4017
4018 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4019
4020 * gdb.mi/mi-stack.exp: Fix indentation.
4021
4022 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4023
4024 PR gdb/22979
4025 * gdb.arch/amd64-osabi.exp: New file.
4026
4027 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4028
4029 PR gdb/22980
4030 * gdb.base/osabi.exp: New file.
4031
4032 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4033
4034 * gdb.cp/static-typedef-print.exp: New file.
4035 * gdb.cp/static-typedef-print.cc: New file.
4036
4037 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4038
4039 * gdb.ada/varsize_limit: New testcase.
4040
4041 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4042
4043 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4044
4045 * gdb.ada/notcplusplus: New testcase.
4046
4047 * gdb.base/c-linkage-name.c: New file.
4048 * gdb.base/c-linkage-name.exp: New testcase.
4049
4050 2018-03-26 Tom Tromey <tom@tromey.com>
4051
4052 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4053 * gdb.python/py-framefilter.py (name_error): New global.
4054 (ErrorInName.function): Use name_error.
4055
4056 2018-03-26 Tom Tromey <tom@tromey.com>
4057
4058 PR backtrace/15582:
4059 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4060
4061 2018-03-23 Keith Seitz <keiths@redhat.com>
4062
4063 PR c++/22968
4064 * gdb.cp/subtypes.exp: New file.
4065 * gdb.cp/subtypes.h: New file.
4066 * gdb.cp/subtypes.cc: New file.
4067 * gdb.cp/subtypes-2.cc: New file.
4068
4069 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4070
4071 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4072 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4073 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4074 -nostartfiles when compiling the test. Confirm that all registers
4075 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4076
4077 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4078
4079 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4080 option, syntax was wrong anyway.
4081 * gdb.arch/arm-disp-step.exp: Likewise.
4082 * gdb.arch/sparc64-regs.exp: Likewise.
4083 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4084 option, syntax was wrong anyway, switch to use
4085 prepare_for_testing.
4086 * gdb.arch/i386-disp-step.exp: Likewise.
4087
4088 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4089
4090 * gdb.ada/exec_changed.exp: Replace "target_info exists
4091 use_gdb_stub" by "use_gdb_stub".
4092 * gdb.ada/start.exp: Likewise.
4093 * gdb.base/async-shell.exp: Likewise.
4094 * gdb.base/attach-pie-misread.exp: Likewise.
4095 * gdb.base/attach-wait-input.exp: Likewise.
4096 * gdb.base/break-entry.exp: Likewise.
4097 * gdb.base/break-interp.exp: Likewise.
4098 * gdb.base/dprintf-detach.exp: Likewise.
4099 * gdb.base/nostdlib.exp: Likewise.
4100 * gdb.base/solib-nodir.exp: Likewise.
4101 * gdb.base/statistics.exp: Likewise.
4102 * gdb.base/testenv.exp: Likewise.
4103 * gdb.mi/mi-exec-run.exp: Likewise.
4104 * gdb.mi/mi-start.exp: Likewise.
4105 * gdb.multi/dummy-frame-restore.exp: Likewise.
4106 * gdb.multi/multi-arch-exec.exp: Likewise.
4107 * gdb.multi/multi-arch.exp: Likewise.
4108 * gdb.multi/tids.exp: Likewise.
4109 * gdb.multi/watchpoint-multi.exp: Likewise.
4110 * gdb.python/py-events.exp: Likewise.
4111 * gdb.threads/attach-into-signal.exp: Likewise.
4112 * gdb.threads/attach-stopped.exp: Likewise.
4113 * gdb.threads/threadapply.exp: Likewise.
4114 * lib/selftest-support.exp: Likewise.
4115
4116 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4117
4118 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4119
4120 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4121
4122 * gdb.perf/template-breakpoints.cc: New file.
4123 * gdb.perf/template-breakpoints.exp: New file.
4124 * gdb.perf/template-breakpoints.py: New file.
4125
4126 2018-03-19 Tom Tromey <tom@tromey.com>
4127
4128 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4129 y0.
4130 * gdb.rust/simple.exp: Test bare identifier form of struct
4131 initializer.
4132
4133 2018-03-19 Tom Tromey <tom@tromey.com>
4134
4135 * gdb.gdb/observer.exp: Remove.
4136
4137 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4138
4139 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4140 "qualified" option when setting breakpoints.
4141 * gdb.trace/backtrace.exp: Likewise.
4142 * gdb.trace/circ.exp: Likewise.
4143 * gdb.trace/collection.exp: Likewise.
4144 * gdb.trace/disconnected-tracing.exp: Likewise.
4145 * gdb.trace/ftrace-lock.exp: Likewise.
4146 * gdb.trace/ftrace.exp: Likewise.
4147 * gdb.trace/infotrace.exp: Likewise.
4148 * gdb.trace/packetlen.exp: Likewise.
4149 * gdb.trace/passc-dyn.exp: Likewise.
4150 * gdb.trace/qtro.exp: Likewise.
4151 * gdb.trace/read-memory.exp: Likewise.
4152 * gdb.trace/report.exp: Likewise.
4153 * gdb.trace/signal.exp: Likewise.
4154 * gdb.trace/status-stop.exp: Likewise.
4155 * gdb.trace/strace.exp: Likewise.
4156 * gdb.trace/tfind.exp: Likewise.
4157 * gdb.trace/trace-break.exp: Likewise.
4158 * gdb.trace/trace-condition.exp: Likewise.
4159 * gdb.trace/trace-mt.exp: Likewise.
4160 * gdb.trace/tstatus.exp: Likewise.
4161 * gdb.trace/tsv.exp: Likewise.
4162 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4163 * gdb.trace/unavailable.exp: Likewise.
4164 * gdb.trace/while-dyn.exp: Likewise.
4165
4166 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4167
4168 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4169 that libinproctrace is copied to the target.
4170
4171 2018-03-14 Tom Tromey <tom@tromey.com>
4172
4173 PR cli/14977:
4174 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4175 a null pointer.
4176 * gdb.base/wchar.exp: Likewise.
4177
4178 2018-03-14 Tom Tromey <tom@tromey.com>
4179
4180 PR cli/19918:
4181 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4182 flag.
4183
4184 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4185
4186 PR gdb/22841
4187 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4188 "target" to remote_exec.
4189
4190 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4191
4192 PR gdb/22841
4193 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4194 ${board}_upload): Remove.
4195
4196 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4197
4198 * gdb.cp/watch-cp.cc: New test.
4199 * gdb.cp/watch-cp.exp: New file.
4200
4201 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4202
4203 * gdb.base/infcall-nested-structs.exp: New file.
4204 * gdb.base/infcall-nested-structs.c: New file.
4205 * gdb.base/float.exp: Add riscv support.
4206
4207 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4208
4209 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4210 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4211
4212 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4213
4214 * gdb.server/abspath.exp: New file.
4215 * lib/gdb.exp (with_cwd): New procedure.
4216
4217 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4218
4219 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4220 use it.
4221 (gdb_is_target_remote_prompt): New proc.
4222 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4223 (gdb_is_target_native): Pass prompt parameter to
4224 gdb_is_target_1.
4225
4226 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4227
4228 * gdb.base/load-command.c: New file.
4229 * gdb.base/load-command.exp: New file.
4230 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4231 (gdb_is_target_1): ...this, and generalize for other targets
4232 than just remote.
4233 (gdb_is_target_remote): Use gdb_is_target_1.
4234 (gdb_is_target_native): use gdb_is_target_1.
4235
4236 2018-02-26 Tom Tromey <tom@tromey.com>
4237
4238 PR python/16497:
4239 * gdb.python/py-framefilter.exp: Update test.
4240
4241 2018-02-26 Tom Tromey <tom@tromey.com>
4242
4243 * gdb.dwarf2/variant.c: New file.
4244 * gdb.dwarf2/variant.exp: New file.
4245
4246 2018-02-26 Tom Tromey <tom@tromey.com>
4247
4248 * gdb.rust/simple.exp: Accept more possible results in enum test.
4249
4250 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4251
4252 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4253 parentheses.
4254
4255 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4256
4257 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4258 name of a variable: $actual_linejj -> $actual_line.
4259
4260 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4261
4262 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4263
4264 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4265
4266 * gdb.btrace/buffer-size.exp: Do not force BTS.
4267
4268 2018-02-14 Pedro Alves <palves@redhat.com>
4269
4270 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4271 getting a "Quit".
4272
4273 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4274
4275 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4276 Fix test name.
4277
4278 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4279
4280 * gdb.cp/m-static.exp: Check type of optimized out static
4281 member.
4282
4283 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4284
4285 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4286 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4287
4288 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4289 Leszek Swirski <leszeks@google.com>
4290
4291 * gdb.python/py-prettyprint.c
4292 (struct to_string_returns_value_inner,
4293 struct to_string_returns_value_wrapper): New.
4294 (main): Add tsrvw variable.
4295 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4296 ToStringReturnsValueWrapper): New classes.
4297 (register_pretty_printers): Register new pretty-printers.
4298 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4299 recursive pretty printer.
4300 * gdb.python/py-mi.exp: Likewise.
4301
4302 2018-02-01 Leszek Swirski <leszeks@google.com>
4303
4304 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4305 functions with the same name as an include file are parsed
4306 correctly.
4307
4308 2018-02-01 Yao Qi <yao.qi@linaro.org>
4309
4310 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4311 "\[^\r\n\]*".
4312
4313 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4314
4315 * gdb.arch/powerpc-prologue-frame.s: New file.
4316 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4317 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4318
4319 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4320
4321 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4322
4323 2018-01-30 Pedro Alves <palves@redhat.com>
4324
4325 PR gdb/13211
4326 * gdb.base/interrupt-daemon.c: New.
4327 * gdb.base/interrupt-daemon.exp: New.
4328 * gdb.multi/multi-term-settings.c: New.
4329 * gdb.multi/multi-term-settings.exp: New.
4330
4331 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4332
4333 * gdb.base/break.exp: Save the location where the breakpoint
4334 on break.c:47 was actually inserted when debugging the version
4335 compiled at -O2 and use it in the expected output of the "info
4336 break" test performed soon after.
4337
4338 2018-01-22 Pedro Alves <palves@redhat.com>
4339 Sergio Durigan Junior <sergiodj@redhat.com>
4340
4341 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4342 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4343
4344 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4345
4346 * gdb.base/break-include.c, gdb.base/break-include.inc,
4347 gdb.base/break-include.exp: New files.
4348 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4349 line number now being the actual line number where the breakpoint
4350 was inserted.
4351 * gdb.mi/mi-break.exp: Likewise.
4352 * gdb.mi/mi-reverse.exp: Likewise.
4353 * gdb.mi/mi-simplerun.exp: Ditto.
4354
4355 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4356
4357 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4358 varobj.
4359 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4360
4361 2018-01-21 Don Breazeal <donb@codesourcery.com>
4362 Andrew Burgess <andrew.burgess@embecosm.com>
4363
4364 * gdb.mi/basics.c: Add new global.
4365 * gdb.mi/mi-frame-regs.exp: New file.
4366 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4367 case.
4368
4369 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4370
4371 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4372 non-parameter, and on an unknown symbol.
4373
4374 2018-01-19 Tom Tromey <tom@tromey.com>
4375
4376 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4377 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4378
4379 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4380
4381 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4382 setrlimit and chdir to int.
4383
4384 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4385
4386 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4387 function.
4388 (my_tend): Likewise.
4389 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4390 rationale of avoiding FP- and vector instructions.
4391
4392 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4393
4394 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4395 "info reg" with "\[ \t\]*".
4396 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4397 "\[ \t\]+".
4398 * gdb.arch/s390-multiarch.exp: Ditto.
4399 * gdb.base/pc-fp.exp: Ditto.
4400 * gdb.reverse/i386-precsave.exp: Ditto.
4401 * gdb.reverse/i386-reverse.exp: Ditto.
4402 * gdb.reverse/i387-env-reverse.exp: Ditto.
4403 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4404
4405 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4406
4407 * lib/gdb.exp (gdb_compile): Re-enable use of
4408 universal_compile_options for languages other than Rust.
4409
4410 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4411
4412 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4413
4414 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4415
4416 PR gdb/16577
4417 * gdb.base/solib-vanish.exp: New.
4418 * gdb.base/solib-vanish-main.c: New.
4419 * gdb.base/solib-vanish-lib1.c: New.
4420 * gdb.base/solib-vanish-lib2.c: New.
4421
4422 2018-01-17 Yao Qi <yao.qi@linaro.org>
4423
4424 * gdb.compile/compile.exp: Match the address printed for
4425 frame in the output of command "bt".
4426
4427 2018-01-15 Tom Tromey <tom@tromey.com>
4428
4429 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4430 compute sp_reg.
4431
4432 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4433
4434 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4435 to prepare.
4436 (prepare): Return 0 on error, 1 on success.
4437
4438 2018-01-12 Pedro Alves <palves@redhat.com>
4439
4440 * gdb.base/continue-after-aborted-step-over.c: New.
4441 * gdb.base/continue-after-aborted-step-over.exp: New.
4442
4443 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4444
4445 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4446 options when not creating an executable.
4447
4448 2018-01-11 Pedro Alves <palves@redhat.com>
4449
4450 PR remote/22597
4451 * gdb.server/stop-reply-no-thread.c: New file.
4452 * gdb.server/stop-reply-no-thread.exp: New file.
4453
4454 2018-01-10 Pedro Alves <palves@redhat.com>
4455
4456 PR gdb/22670
4457 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4458 functions too. Test setting breakpoints and printing C functions
4459 with no debug info too.
4460 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4461
4462 2018-01-10 Pedro Alves <palves@redhat.com>
4463
4464 PR gdb/22670
4465 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4466 a fail.
4467
4468 2018-01-10 Pedro Alves <palves@redhat.com>
4469
4470 PR gdb/22670
4471 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4472
4473 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4474
4475 * gdb.server/unittest.exp: Match the output in non-development
4476 mode.
4477
4478 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4479
4480 * gdb.gdb/unittest.exp: Match output in non-development mode.
4481
4482 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4483
4484 * gdb.ada/access_tagged_param.exp: Relax expected output
4485 for value of "ObjL" in "continue" to pck.inspect breakpoint
4486 test.
4487
4488 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4489
4490 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4491 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4492
4493 2018-01-05 Pedro Alves <palves@redhat.com>
4494
4495 PR gdb/18653
4496 * gdb.base/libsegfault.exp: New.
4497
4498 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4499
4500 PR gdb/22670
4501 * gdb.ada/access_tagged_param.exp: New file.
4502 * gdb.ada/access_tagged_param/foo.adb: New file.
4503
4504 2018-01-05 Pedro Alves <palves@redhat.com>
4505
4506 PR gdb/22670
4507 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4508 exercise lower case too, and to exercise both full matching and
4509 wild matching.
4510
4511 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4512
4513 * gdb.ada/rename_subscript_param: New testcase.
4514
4515 2018-01-05 Jerome Guitton <guitton@adacore.com>
4516
4517 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4518
4519 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4520
4521 * gdb.ada/convvar_comp: New testcase.
4522
4523 2018-01-05 Xavier Roirand <roirand@adacore.com>
4524
4525 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4526 (My_Table): New global variable.
4527 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4528
4529 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4530
4531 PR gdb/22670
4532 * gdb.ada/maint_with_ada: New testcase.
4533
4534 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4535
4536 PR gdb/22670
4537 * gdb.ada/bp_c_mixed_case: New testcase.
4538
4539 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4540
4541 PR gdb/22670
4542 * gdb.ada/complete.exp: Add "complete break ada" test.
4543
4544 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4545
4546 PR gdb/22670
4547 * gdb.ada/info_addr_mixed_case: New testcase.
4548
4549 2018-01-03 Xavier Roirand <roirand@adacore.com>
4550
4551 * gdb.ada/excep_handle.exp: New testcase.
4552 * gdb.ada/excep_handle/foo.adb: New file.
4553 * gdb.ada/excep_handle/pck.ads: New file.
4554
4555 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4556
4557 * gdb.base/step-line.c: Add extra empty line in copyright header.
4558 * gdb.base/step-line.inp: Likewise.
4559
4560 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4561
4562 * gdb.ada/dyn_stride.exp: Add slice test.
4563
4564 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4565
4566 * gdb.ada/dyn_stride: New testcase.
4567
4568 2017-12-27 Stafford Horne <shorne@gmail.com>
4569
4570 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4571 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4572
4573 2017-12-27 Stafford Horne <shorne@gmail.com>
4574
4575 * gdb.base/reggroups.c: New file.
4576 * gdb.base/reggroups.exp: New file.
4577
4578 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4579
4580 * gdb.dwarf2/ada-valprint-error.c: New file.
4581 * gdb.dwarf2/ada-valprint-error.exp: New file.
4582
4583 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4584
4585 * gdb.ada/assign_arr: New testcase.
4586
4587 2017-12-18 Xavier Roirand <roirand@adacore.com>
4588
4589 * gdb.ada/funcall_ptr: New testcase.
4590
4591 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4592
4593 PR cli/16224
4594 * gdb.base/ptype-offsets.cc: New file.
4595 * gdb.base/ptype-offsets.exp: New file.
4596
4597 2017-12-15 Yao Qi <yao.qi@linaro.org>
4598
4599 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4600 if XML is disabled.
4601
4602 2017-12-15 Xavier Roirand <roirand@adacore.com>
4603
4604 * gdb.ada/same_component_name: New testcase.
4605
4606 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4607
4608 * gdb.ada/str_binop_equal: New testcase.
4609
4610 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4611
4612 * gdb.ada/task_switch_in_core: New testcase.
4613
4614 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4615
4616 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4617 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4618 call test_bkpt_qualified.
4619 (test_bkpt_qualified): New proc.
4620
4621 2017-12-13 Pedro Alves <palves@redhat.com>
4622
4623 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4624 Tighten regexp by matching with an anchor.
4625
4626 2017-12-13 Pedro Alves <palves@redhat.com>
4627
4628 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4629 ("expression with namespace"): New set of tests.
4630 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4631 (Nested::Test_NS::qux): New.
4632 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4633 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4634
4635 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4636
4637 * gdb.base/server-del-break.c: New file.
4638 * gdb.base/server-del-break.exp: New file.
4639
4640 2017-12-12 Stafford Horne <shorne@gmail.com>
4641
4642 * gdb.xml/tdesc-regs.exp: Add or1k support.
4643
4644 2017-12-12 Stafford Horne <shorne@gmail.com>
4645
4646 * gdb.base/bp-permanent.c: Define nop of or1k.
4647
4648 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4649
4650 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4651 output with components being reordered.
4652
4653 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4654
4655 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4656 output with components being reordered.
4657
4658 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4659 Pedro Alves <palves@redhat.com>
4660
4661 * gdb.base/maint.exp (check for .gdb_index): Check also for
4662 .debug_names.
4663 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4664 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4665 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4666 (.gdb_index used after symbol reloading): Support also .debug_names.
4667 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4668
4669 2017-12-08 Yao Qi <yao.qi@linaro.org>
4670
4671 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4672 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4673
4674 2017-12-08 Yao Qi <yao.qi@linaro.org>
4675
4676 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4677 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4678
4679 2017-12-08 Yao Qi <yao.qi@linaro.org>
4680
4681 * gdb.arch/aarch64-tagged-pointer.c: New file.
4682 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4683
4684 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4685
4686 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4687 "int".
4688
4689 2017-12-07 Keith Seitz <keiths@redhat.com>
4690
4691 PR breakpoints/22569
4692 * gdb.linespec/ls-errs.exp: Change expected result of "break
4693 -source this file has spaces.c -line 3".
4694 Check that an explicit source file followed by whitespace is
4695 identified as an invalid explicit location.
4696
4697 2017-12-07 Keith Seitz <keiths@redhat.com>
4698
4699 * gdb.cp/nested-types.cc: New file.
4700 * gdb.cp/nested-types.exp: New file.
4701 * lib/cp-support.exp: Load data-structures.exp library.
4702 (debug_cp_test_ptype_class): New global.
4703 (cp_ptype_class_verbose, next_line): New procedures.
4704 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4705 Add and document new return value.
4706 Switch the list of lines to a queue.
4707 Add support for new `type' key for nested type definitions.
4708 Add debugging/troubleshooting messages.
4709 * lib/data-structures.exp: New file.
4710
4711 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4712
4713 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4714 with proc_with_prefix, don't use with_test_prefix.
4715
4716 2017-12-07 Tom Tromey <tom@tromey.com>
4717
4718 * gdb.base/break.exp: Add test for empty "commands".
4719
4720 2017-12-07 Yao Qi <yao.qi@linaro.org>
4721
4722 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4723 malloc and catch syscall.
4724
4725 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4726
4727 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4728 tests for explicit locations.
4729
4730 2017-12-06 Pedro Alves <palves@redhat.com>
4731
4732 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4733 force-disabling XML descriptions.
4734
4735 2017-12-04 Pedro Alves <palves@redhat.com>
4736
4737 PR gdb/22499
4738 * gdb.arch/amd64-disp-step-avx.S: New file.
4739 * gdb.arch/amd64-disp-step-avx.exp: New file.
4740
4741 2017-12-03 Pedro Alves <palves@redhat.com>
4742
4743 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4744 and <string.h>.
4745 (parent_function): Print distinct messages when waitpid fails, or
4746 the child exits with a signal, or the child exits for an unhandled
4747 reason.
4748 * gdb.threads/process-dies-while-detaching.exp
4749 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4750 it. Wait for both inferior output and GDB's prompt. Use an
4751 indirect spawn id list.
4752 (do_detach): New parameter 'child_exit'. Use it to compute
4753 expected inferior output.
4754 (test_detach, test_detach_watch, test_detach_killed_outside):
4755 Adjust to pass down the expected child exit kind.
4756
4757 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4758 Sergio Durigan Junior <sergiodj@redhat.com>
4759 Pedro Alves <palves@redhat.com>
4760
4761 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4762
4763 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4764
4765 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4766 to 'symbol-file' and 'add-symbol-file' can be
4767 position-independent.
4768
4769 2017-12-01 Yao Qi <yao.qi@linaro.org>
4770
4771 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4772 the URL in copyright header.
4773 * gdb.arch/aarch64-fp.exp: Likewise.
4774 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4775 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4776 * gdb.base/expand-psymtabs.exp: Likewise.
4777 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4778 * gdb.fortran/common-block.exp: Likewise.
4779 * gdb.fortran/common-block.f90: Likewise.
4780 * gdb.fortran/logical.exp: Likewise.
4781 * gdb.fortran/vla-datatypes.f90: Likewise.
4782 * gdb.fortran/vla-sub.f90: Likewise.
4783
4784 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4785
4786 * gdb.ada/repeat_dyn: New testcase.
4787
4788 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4789
4790 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4791 Update for changed thread numbering.
4792 * gdb.cell/bt.exp: Update for changed GDB output.
4793
4794 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4795
4796 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4797 setting isremote by hand.
4798 * boards/dwarf4-gdb-index.exp: Likewise.
4799 * boards/fission.exp: Likewise.
4800 * boards/stabs.exp: Likewise.
4801
4802 2017-11-30 Pedro Alves <palves@redhat.com>
4803
4804 * gdb.linespec/cpls-ops.exp
4805 (check_explicit_skips_function_argument): Extract the underlying
4806 type of size_t instead of hardcoding it.
4807
4808 2017-11-29 Pedro Alves <palves@redhat.com>
4809
4810 PR c++/19436
4811 * gdb.linespec/cpls-abi-tag.cc: New file.
4812 * gdb.linespec/cpls-abi-tag.exp: New file.
4813
4814 2017-11-29 Pedro Alves <palves@redhat.com>
4815
4816 * gdb.base/langs.exp: Use -qualified.
4817 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4818 it.
4819 * gdb.cp/namespace.exp: Use -qualified.
4820 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4821 (overload-3, template-overload, template-ret-type, const-overload)
4822 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4823 procedures.
4824 (test_driver): Call them.
4825 * gdb.cp/save-bp-qualified.cc: New.
4826 * gdb.cp/save-bp-qualified.exp: New.
4827 * gdb.linespec/explicit.exp: Test -qualified.
4828 * lib/completion-support.exp (completion::explicit_opts_list): Add
4829 "-qualified".
4830 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4831
4832 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4833
4834 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4835
4836 2017-11-29 Tom Tromey <tom@tromey.com>
4837
4838 * gdb.base/relocate.exp: Update invalid argument test.
4839 Add new tests for invalid arguments.
4840
4841 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4842
4843 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4844 Return 0 as a long.
4845 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4846
4847 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4848
4849 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4850 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4851 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4852 func ().
4853 * gdb.cp/shadow.cc (B.func): Return 0.
4854
4855 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4856
4857 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4858 expected output in gdb_expect call to allow the exception
4859 message to be present as well. Fix syntax confusion to avoid
4860 TCL thinking that exception_name is an array.
4861
4862 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4863
4864 * gdb.arch/spu-info.c: Include <unistd.h>.
4865 (do_signal_test): Fix broken calls to write.
4866 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4867 Fix checks for empty mailboxes. Update signal tests for corrected
4868 do_signal_test routine. Allow nonzero event status.
4869 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4870 * gdb.cell/arch.exp: Use standard_output_file.
4871 * gdb.cell/break.exp: Likewise.
4872 * gdb.cell/bt.exp: Likewise.
4873 * gdb.cell/core.exp: Likewise.
4874 * gdb.cell/dwarfaddr.exp: Likewise.
4875 * gdb.cell/ea-cache.exp: Likewise.
4876 * gdb.cell/ea-standalone.exp: Likewise.
4877 * gdb.cell/f-regs.exp: Likewise.
4878 * gdb.cell/fork.exp: Likewise.
4879 * gdb.cell/gcore.exp: Likewise.
4880 * gdb.cell/mem-access.exp: Likewise.
4881 * gdb.cell/ptype.exp: Likewise.
4882 * gdb.cell/registers.exp: Likewise.
4883 * gdb.cell/sizeof.exp: Likewise.
4884 * gdb.cell/solib-symbol.exp: Likewise.
4885 * gdb.cell/solib.exp: Likewise.
4886
4887 2017-11-25 Pedro Alves <palves@redhat.com>
4888
4889 * gdb.base/complete-empty.exp: New file.
4890 * gdb.base/completion.exp: Adjust.
4891
4892 2017-11-25 Pedro Alves <palves@redhat.com>
4893
4894 * gdb.linespec/cpls-ops.cc: New file.
4895 * gdb.linespec/cpls-ops.exp: New file.
4896 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4897 factored out from ...
4898 (test_complete_prefix_range): ... this.
4899
4900 2017-11-24 Pedro Alves <palves@redhat.com>
4901
4902 * gdb.linespec/cpcompletion.exp: New file.
4903 * gdb.linespec/cpls-hyphen.cc: New file.
4904 * gdb.linespec/cpls.cc: New file.
4905 * gdb.linespec/cpls2.cc: New file.
4906 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4907 test to use test_gdb_complete_unique. Add label completion,
4908 keyword completion and explicit location completion tests.
4909 * lib/completion-support.exp: New file.
4910
4911 2017-11-24 Joel Brobecker <brobecker@adacore.com>
4912
4913 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4914 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4915 when hitting an exception catchpoint.
4916
4917 2017-11-22 Yao Qi <yao.qi@linaro.org>
4918
4919 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4920
4921 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4922
4923 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4924 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4925 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4926
4927 2017-11-22 Yao Qi <yao.qi@linaro.org>
4928
4929 * gdb.base/info-os.exp: Pass pthreads.
4930 * gdb.multi/multi-attach.exp: Likewise.
4931
4932 2017-11-22 Yao Qi <yao.qi@linaro.org>
4933
4934 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4935 compiler.
4936
4937 2017-11-22 Yao Qi <yao.qi@linaro.org>
4938
4939 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4940 * gdb.base/break-interp.exp: Likewise.
4941 * gdb.base/jit-attach-pie.exp: Likewise.
4942
4943 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4944
4945 * gdb.base/float128.c (large128): New variable.
4946 * gdb.base/float128.exp: Add test to print largest __float128 value.
4947
4948 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4949
4950 * gdb.arch/vsx-regs.exp: Update register content checks.
4951
4952 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4953
4954 * gdb.arch/ppc-longdouble.exp: New file.
4955 * gdb.arch/ppc-longdouble.c: Likewise.
4956
4957 2017-11-21 Pedro Alves <palves@redhat.com>
4958
4959 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4960
4961 2017-11-20 Pedro Alves <palves@redhat.com>
4962
4963 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4964 (long_double_typedef): New typedefs.
4965 Use DEF on double and long double.
4966 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4967 cases.
4968 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4969 and 'long_double_ptr_same_size' locals. Use them to decide
4970 whether cast from array/function to float is valid/invalid.
4971
4972 2017-11-17 Tom Tromey <tom@tromey.com>
4973
4974 * gdb.rust/traits.rs: New file.
4975 * gdb.rust/traits.exp: New file.
4976
4977 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4978
4979 * gdb.ada/minsyms: New testcase.
4980
4981 2017-11-16 Pedro Alves <palves@redhat.com>
4982
4983 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4984 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4985
4986 2017-11-16 Pedro Alves <palves@redhat.com>
4987
4988 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4989 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4990
4991 2017-11-16 Pedro Alves <palves@redhat.com>
4992
4993 * gdb.server/reconnect-ctrl-c.c: New file.
4994 * gdb.server/reconnect-ctrl-c.exp: New file.
4995
4996 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4997
4998 * gdb.python/py-rbreak.exp: New file.
4999 * gdb.python/py-rbreak.c: New file.
5000 * gdb.python/py-rbreak-func2.c: New file.
5001
5002 2017-11-16 Pedro Alves <palves@redhat.com>
5003
5004 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5005 pattern.
5006 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5007 GDB.
5008
5009 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5010
5011 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5012 regex.
5013
5014 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5015
5016 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5017 test names.
5018
5019 2017-11-09 Pedro Alves <palves@redhat.com>
5020
5021 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5022 factored out from ...
5023 (top level): ... here, and adjusted to avoid expecting beyond the
5024 prompt in a single gdb_test_multiple.
5025
5026 2017-11-09 Pedro Alves <palves@redhat.com>
5027
5028 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5029 output.
5030 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5031 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5032 * gdb.server/ext-run.exp ("kill" test): Likewise.
5033 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5034
5035 2017-11-09 Pedro Alves <palves@redhat.com>
5036
5037 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5038 match till end of line.
5039
5040 2017-11-09 Pedro Alves <palves@redhat.com>
5041
5042 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5043
5044 2017-11-09 Pedro Alves <palves@redhat.com>
5045
5046 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5047 New procedures, factored out from ...
5048 (top level): ... here, and adjusted to avoid expecting beyond the
5049 prompt in one go.
5050
5051 2017-11-09 Pedro Alves <palves@redhat.com>
5052
5053 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5054 output. Fix '?' match.
5055
5056 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5057
5058 * gdb.ada/scoped_watch: New testcase.
5059 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5060 which is actually correct.
5061 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5062 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5063
5064 2017-11-08 Pedro Alves <palves@redhat.com>
5065
5066 * gdb.gdb/complaints.exp (test_initial_complaints)
5067 (test_serial_complaints, test_short_complaints): Call
5068 complaint_internal instead of complaint.
5069
5070 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5071
5072 * gdb.threads/tls-core.c: New file.
5073 * gdb.threads/tls-core.exp: Likewise.
5074
5075 2017-11-08 Pedro Alves <palves@redhat.com>
5076
5077 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5078 (p Exported_Capitalized): New test.
5079 (p exported_capitalized): New test.
5080
5081 2017-11-07 Pedro Alves <palves@redhat.com>
5082
5083 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5084
5085 2017-11-07 Pedro Alves <palves@redhat.com>
5086
5087 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5088 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5089 (disable_invalid, disable_inverted, disable_negative): New
5090 procedures.
5091 ("bad numbers"): New set of tests.
5092
5093 2017-11-07 Pedro Alves <palves@redhat.com>
5094
5095 * gdb.cp/ena-dis-br-range.exp: Add tests.
5096
5097 2017-11-07 Pedro Alves <palves@redhat.com>
5098
5099 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5100
5101 2017-11-07 Xavier Roirand <roirand@adacore.com>
5102 Pedro Alves <palves@redhat.com>
5103
5104 * gdb.base/ena-dis-br.exp: Add reference to
5105 gdb.cp/ena-dis-br-range.exp.
5106 * gdb.cp/ena-dis-br-range.exp: New file.
5107 * gdb.cp/ena-dis-br-range.cc: New file.
5108
5109 2017-11-06 Pedro Alves <palves@redhat.com>
5110
5111 * gdb.base/attach-non-pgrp-leader.c: New.
5112 * gdb.base/attach-non-pgrp-leader.exp: New.
5113
5114 2017-11-06 Pedro Alves <palves@redhat.com>
5115
5116 * configure.ac: No longer check for termio.h and sgtty.h.
5117 * configure: Regenerate.
5118 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5119 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5120 Remove termio and sgtty code.
5121
5122 2017-11-03 Yao Qi <yao.qi@linaro.org>
5123
5124 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5125 in GDB is disabled.
5126
5127 2017-11-03 Yao Qi <yao.qi@linaro.org>
5128
5129 * gdb.python/py-thrhandle.exp: Skip it if python is not
5130 enabled.
5131
5132 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5133
5134 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5135 as a breakpoint command.
5136
5137 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5138
5139 PR python/21213
5140 * gdb.python/py-infthread.exp: Test calling
5141 InferiorThread.inferior () multiple times in a row.
5142
5143 2017-10-27 Keith Seitz <keiths@redhat.com>
5144
5145 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5146 Test "info break" for every inlined function breakpoint.
5147
5148 2017-10-27 Yao Qi <yao.qi@linaro.org>
5149
5150 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5151
5152 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5153
5154 * gdb.cp/classes.exp (test_static_members): Test printing
5155 Outer::instance.
5156 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5157 (Inner::instance, Outer::instance): New.
5158
5159 2017-10-24 Pedro Alves <palves@redhat.com>
5160
5161 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5162 extra console" test in two stages.
5163
5164 2017-10-24 Pedro Alves <palves@redhat.com>
5165
5166 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5167
5168 2017-10-24 Pedro Alves <palves@redhat.com>
5169
5170 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5171 loop.
5172
5173 2017-10-24 Pedro Alves <palves@redhat.com>
5174
5175 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5176 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5177
5178 2017-10-24 Pedro Alves <palves@redhat.com>
5179
5180 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5181 parameter and handle it. Don't output read value in test name.
5182
5183 2017-10-24 Pedro Alves <palves@redhat.com>
5184
5185 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5186 custom test name.
5187
5188 2017-10-24 Pedro Alves <palves@redhat.com>
5189
5190 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5191 include the unstable output directory name in the test's name.
5192 (initial_setup_simple) <'set args'>: Use custom test name.
5193
5194 2017-10-24 Pedro Alves <palves@redhat.com>
5195
5196 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5197 with explicit test name.
5198
5199 2017-10-20 Pedro Alves <palves@redhat.com>
5200
5201 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5202 'wait -i'. Use gdb_assert and remote_close.
5203
5204 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5205
5206 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5207 number from variable rather than hard-coded.
5208
5209 2017-10-19 Pedro Alves <palves@redhat.com>
5210
5211 * gdb.base/long-inferior-output.c: New file.
5212 * gdb.base/long-inferior-output.exp: New file.
5213
5214 2017-11-18 Keith Seitz <keiths@redhat.com>
5215
5216 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5217 method.
5218 (main): Call it.
5219 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5220 Add additional user-defined conversion operator tests.
5221
5222 2017-10-17 Pedro Alves <palves@redhat.com>
5223
5224 * boards/native-stdio-gdbserver.exp: Load "local-board".
5225
5226 2017-10-17 Pedro Alves <palves@redhat.com>
5227
5228 * gdb.base/quit-live.c: New file.
5229 * gdb.base/quit-live.exp: New file.
5230
5231 2017-10-16 Keith Seitz <keiths@redhat.com>
5232
5233 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5234 (class_with_protected_typedef, class_with_private_typedef)
5235 (struct_with_public_typedef, struct_with_protected_typedef)
5236 (struct_with_private_typedef): New classes/structs.
5237 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5238 typedefs and access specifiers.
5239
5240 2017-10-16 Pedro Alves <palves@redhat.com>
5241 Simon Marchi <simon.marchi@polymtl.ca>
5242
5243 * README (Local vs Remote vs Native): New section.
5244 * boards/local-board.exp: New file, with bits factored out from
5245 ...
5246 * boards/native-extended-gdbserver.exp: ... here. Load
5247 "local-board".
5248 * boards/native-gdbserver.exp: Load "local-board".
5249 (${board}_spawn, ${board}_exec): Delete.
5250 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5251 ...
5252 * boards/stdio-gdbserver-base.exp: ... this new file.
5253 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5254 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5255 procedure.
5256 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5257 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5258 stdio_gdbserver_command.
5259 (${board}_get_remote_address, ${board}_get_comm_port)
5260 (${board}_download, ${board}_upload): Delete.
5261 (get_target_remote_pipe_cmd): New.
5262
5263 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5264
5265 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5266 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5267 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5268 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5269 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5270 remove with_test_prefix.
5271
5272 2017-10-13 Pedro Alves <palves@redhat.com>
5273
5274 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5275 * gdb.base/annota1.exp: Use it instead of is_remote.
5276 * gdb.base/annota3.exp: Use it instead of is_remote.
5277 * gdb.cp/annota2.exp: Use it instead of is_remote.
5278 * gdb.cp/annota3.exp: Use it instead of is_remote.
5279 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5280
5281 2017-10-13 Pedro Alves <palves@redhat.com>
5282
5283 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5284 (test_num_test_vars, run_and_count_vars, find_env)
5285 (test_set_unset_env, test_inherit_env_var): New procedures.
5286 (top level): Use them.
5287
5288 2017-10-13 Pedro Alves <palves@redhat.com>
5289
5290 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5291 also skip on stub-like targets.
5292
5293 2017-10-13 Pedro Alves <palves@redhat.com>
5294
5295 PR gdb/22293
5296 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5297 (top level): Move some tests to ...
5298 (test_not_found): ... this new procedure.
5299 (top level): Call it.
5300
5301 2017-10-13 Pedro Alves <palves@redhat.com>
5302
5303 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5304 expect different "info terminal" output if testing with a
5305 non-native target.
5306
5307 2017-10-13 Pedro Alves <palves@redhat.com>
5308 Simon Marchi <simon.marchi@polymtl.ca>
5309
5310 PR python/12966
5311 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5312
5313 2017-10-13 Pedro Alves <palves@redhat.com>
5314
5315 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5316 already.
5317
5318 2017-10-13 Pedro Alves <palves@redhat.com>
5319
5320 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5321 is_remote.
5322
5323 2017-10-13 Pedro Alves <palves@redhat.com>
5324
5325 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5326 is_remote.
5327
5328 2017-10-13 Pedro Alves <palves@redhat.com>
5329
5330 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5331 is set.
5332 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5333 instead of is_remote.
5334
5335 2017-10-13 Pedro Alves <palves@redhat.com>
5336
5337 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5338 (top level): Add comment.
5339
5340 2017-10-13 Pedro Alves <palves@redhat.com>
5341
5342 * gdb.base/remote.exp (top level): Fix comment typo and add
5343 missing return.
5344
5345 2017-10-13 Pedro Alves <palves@redhat.com>
5346 Simon Marchi <simon.marchi@polymtl.ca>
5347
5348 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5349 calls and add comments. Skip test if use_gdb_stub is set.
5350 (top level): Use "set cwd" command instead of "cd" command.
5351
5352 2017-10-13 Pedro Alves <palves@redhat.com>
5353
5354 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5355 is_remote target check.
5356
5357 2017-10-13 Pedro Alves <palves@redhat.com>
5358
5359 * gdb.base/scope.exp: Use build_executable + clean_restart +
5360 gdb_file_cmd instead of prepare_for_testing and no longer skip
5361 "before run" tests on is_remote target boards. Update comments.
5362 * boards/native-extended-gdbserver.exp
5363 (extended_gdbserver_load_last_file): New, factored out from ...
5364 (gdb_load): ... this. Move further below and add comment.
5365 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5366
5367 2017-10-12 Pedro Alves <palves@redhat.com>
5368
5369 * gdb.base/attach.exp: Remove references to gdb64.
5370 * gdb.base/dbx.exp: Remove references to gdb64.
5371
5372 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5373 Pedro Alves <palves@redhat.com>
5374
5375 * gdb.base/label.exp: Remove is_remote target check.
5376
5377 2017-10-12 Pedro Alves <palves@redhat.com>
5378
5379 * gdb.base/auvx.exp (coredir): Update comment.
5380 (top level) <core_works>: Use "set cwd" command instead of "cd"
5381 command.
5382
5383 2017-10-12 Pedro Alves <palves@redhat.com>
5384 Simon Marchi <simon.marchi@polymtl.ca>
5385
5386 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5387 target boards.
5388
5389 2017-10-12 Pedro Alves <palves@redhat.com>
5390 Simon Marchi <simon.marchi@polymtl.ca>
5391
5392 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5393 Instead skip if there's any gdb_protocol set.
5394
5395 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5396 Pedro Alves <palves@redhat.com>
5397
5398 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5399
5400 2017-10-12 Pedro Alves <palves@redhat.com>
5401 Simon Marchi <simon.marchi@polymtl.ca>
5402
5403 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5404 instead of on dejagnu remote boards.
5405
5406 2017-10-12 Pedro Alves <palves@redhat.com>
5407 Simon Marchi <simon.marchi@polymtl.ca>
5408
5409 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5410 checks. Use build_executable + clean_restart instead of
5411 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5412 of enabling non-stop after starting gdb.
5413
5414 2017-10-12 Pedro Alves <palves@redhat.com>
5415
5416 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5417 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5418 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5419 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5420
5421 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5422
5423 * gdb.arch/arc-tdesc-cpu.exp: New file.
5424 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5425
5426 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5427
5428 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5429
5430 2017-10-10 Pedro Alves <palves@redhat.com>
5431
5432 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5433 expect CLI output.
5434
5435 2017-10-10 Pedro Alves <palves@redhat.com>
5436
5437 * lib/selftest-support.exp (selftest_setup): Update for
5438 captured_command_loop's prototype change.
5439
5440 2017-10-09 Pedro Alves <palves@redhat.com>
5441
5442 Test both arch1=>arch2 and arch2=>arch1.
5443
5444 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5445 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5446 factored out to...
5447 (append_arch1_options, append_arch2_options, append_arch_options)
5448 (build_executables): New procedures.
5449 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5450 local.
5451 (top level): Add new 'first_arch' testing axis.
5452
5453 2017-10-09 Pedro Alves <palves@redhat.com>
5454
5455 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5456 (barrier): New.
5457 (thread_start, all_started): New functions.
5458 (main): Spawn new thread and wait until it is scheduled.
5459 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5460 option.
5461 (do_test): Add 'selected_thread' parameter. Run to all_started
5462 instead of main. Explicitly set the breakpoint at main. Switch
5463 to the SELECTED_THREAD thread.
5464 (top level): Test handling the exec event with either the main
5465 thread or the second thread selected.
5466
5467 2017-10-09 Pedro Alves <palves@redhat.com>
5468
5469 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5470 logic. Move STOP marker after the value checks.
5471 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5472 regexp.
5473
5474 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5475
5476 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5477
5478 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5479
5480 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5481 integer-to-dfp conversion.
5482 * gdb.base/dfp-test.exp: Likewise.
5483
5484 2017-10-04 Pedro Alves <palves@redhat.com>
5485
5486 * gdb.multi/hangout.c: Include <unistd.h>.
5487 (hangout_loop): New function.
5488 (main): Call alarm. Call hangout_loop in a loop.
5489 * gdb.multi/hello.c: Include <unistd.h>.
5490 (hello_loop): New function.
5491 (main): Call alarm. Call hangout_loop in a loop.
5492 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5493 inferior with the other selected.
5494
5495 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5496
5497 * gdb.mi/list-thread-groups-available.exp: New file.
5498 * gdb.mi/list-thread-groups-available.c: New file.
5499
5500 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5501
5502 * gdb.base/set-cwd.exp: Make it available on
5503 native-extended-gdbserver.
5504
5505 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5506
5507 * gdb.base/set-cwd.c: New file.
5508 * gdb.base/set-cwd.exp: Likewise.
5509
5510 2017-10-02 Tom Tromey <tom@tromey.com>
5511
5512 PR rust/22236:
5513 * gdb.rust/simple.rs (main): New variable "fslice".
5514 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5515
5516 2017-10-02 Tom Tromey <tom@tromey.com>
5517
5518 * gdb.rust/simple.exp: Test ptype of a slice.
5519
5520 2017-10-02 Tom Tromey <tom@tromey.com>
5521
5522 * gdb.rust/simple.exp: Test index of slice.
5523
5524 2017-09-27 Tom Tromey <tom@tromey.com>
5525
5526 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5527
5528 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5529 Pedro Alves <palves@redhat.com>
5530
5531 * gdb.base/compare-sections.exp (get value of read-only section): Read
5532 as unsigned value.
5533 (corrupt read-only section): Likewise and don't set written if patching
5534 failed.
5535
5536 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5537
5538 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5539 files.
5540
5541 2017-09-20 Pedro Alves <palves@redhat.com>
5542
5543 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5544 symbol names in gdb's output.
5545 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5546
5547 2017-09-20 Pedro Alves <palves@redhat.com>
5548
5549 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5550 Rename to ...
5551 (test_list_ambiguous_symbol): ... this and add a symbol name
5552 parameter. Adjust.
5553 (test_list_ambiguous_function): Reimplement on top of
5554 test_list_ambiguous_symbol and also test listing ambiguous
5555 variables.
5556 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5557 (ambiguous_fun): ... this.
5558 (ambiguous_var): New.
5559 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5560 (ambiguous_fun): ... this.
5561 (ambiguous_var): New.
5562
5563 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5564
5565 * gdb.base/starti.c: New file.
5566 * gdb.base/starti.exp: New file.
5567 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5568
5569 2017-09-14 Pedro Alves <palves@redhat.com>
5570
5571 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5572 (top level): Use it instead of runto.
5573
5574 2017-09-11 Tom Tromey <tom@tromey.com>
5575
5576 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5577
5578 2017-09-11 Tom Tromey <tom@tromey.com>
5579
5580 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5581 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5582
5583 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5584
5585 * gdb.fortran/printing-types.exp: New file.
5586 * gdb.fortran/printing-types.exp: New file.
5587
5588 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5589
5590 * gdb.fortran/vla-ptype.exp: Fix typos.
5591 * gdb.fortran/vla-value.exp: Same.
5592
5593 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5594
5595 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5596 * gdb.mi/mi-var-child-f.exp: Likewise.
5597 * gdb.mi/mi-vla-fortran.exp: Likewise.
5598
5599 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5600 Christoph Weinmann <christoph.t.weinmann@intel.com>
5601 Bernhard Heckel <bernhard.heckel@intel.com>
5602
5603 * gdb.fortran/ptr-indentation.f90: New file.
5604 * gdb.fortran/ptr-indentation.exp: New file.
5605
5606 2017-09-05 Tom Tromey <tom@tromey.com>
5607
5608 PR gdb/22010:
5609 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5610
5611 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5612
5613 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5614
5615 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5616
5617 * gdb.threads/tls-nodebug-pie.c: New file.
5618 * gdb.threads/tls-nodebug-pie.exp: New file.
5619
5620 2017-09-05 Tom Tromey <tom@tromey.com>
5621
5622 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5623 for rust.
5624
5625 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5626
5627 * gdb.multi/multi-arch-exec.exp: Test with different
5628 "follow-exec-mode" settings.
5629 (do_test): New procedure.
5630
5631 2017-09-04 Pedro Alves <palves@redhat.com>
5632
5633 * gdb.base/func-static.c (S::method const, S::method volatile)
5634 (S::method volatile const): New methods.
5635 (c_s, v_s, cv_s): New instances.
5636 (main): Call method() on them.
5637 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5638 (cannot_resolve): New procedure.
5639 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5640 print-quote-unquoted columns.
5641 (do_test): Test printing each scope too.
5642
5643 2017-09-04 Pedro Alves <palves@redhat.com>
5644
5645 * gdb.base/local-static.exp: Also test with
5646 class::method::variable wholly quoted.
5647 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5648
5649 2017-09-04 Pedro Alves <palves@redhat.com>
5650
5651 * gdb.base/local-static.c: New.
5652 * gdb.base/local-static.cc: New.
5653 * gdb.base/local-static.exp: New.
5654
5655 2017-09-04 Pedro Alves <palves@redhat.com>
5656
5657 * gdb.asm/asm-source.exp: Add casts to int.
5658 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5659 (dataglobal64_1, dataglobal64_2): New globals.
5660 * gdb.base/nodebug.exp: Test different expressions involving the
5661 new globals, with print, whatis and ptype. Add casts to int.
5662 * gdb.base/solib-display.exp: Add casts to int.
5663 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5664 * gdb.cp/m-static.exp: Add cast to int.
5665 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5666 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5667 tls variable with no debug info without a cast. Test with a cast
5668 to int too.
5669 * gdb.trace/entry-values.exp: Add casts.
5670
5671 2017-09-04 Pedro Alves <palves@redhat.com>
5672
5673 * gdb.base/nodebug.exp: Test that ptype's error about functions
5674 with unknown return type includes the function name too.
5675
5676 2017-09-04 Pedro Alves <palves@redhat.com>
5677
5678 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5679 return type of munmap in infcall.
5680 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5681 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5682 type of ftell in infcall.
5683 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5684 type of getpid in infcall.
5685 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5686 infcall.
5687 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5688 Bail on failure to extract the pid.
5689 * gdb.base/nodebug.c: #include <stdint.h>.
5690 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5691 New functions.
5692 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5693 Change expected output of print/whatis/ptype with functions with
5694 no debug info. Test all supported languages. Call
5695 test_call_promotion.
5696 * gdb.compile/compile.exp: Adjust expected output to expect
5697 warning.
5698 * gdb.threads/siginfo-threads.exp: Likewise.
5699
5700 2017-09-04 Pedro Alves <palves@redhat.com>
5701
5702 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5703 "prototypes". Test calling float functions via prototyped and
5704 unprototyped function pointers.
5705 (perform_all_tests): New parameter "prototypes". Pass it down.
5706 (top level): Pass down "prototypes" parameter to
5707 perform_all_tests.
5708
5709 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5710
5711 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5712 Test with nested loops.
5713
5714 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5715
5716 * gdb.base/commands.exp: Call the new procedures.
5717 (loop_break_test, loop_continue_test): New procedures.
5718
5719 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5720
5721 * gdb.base/commands.exp: Call new procedure.
5722 (define_if_without_arg_test): New procedure.
5723
5724 2017-09-04 Pedro Alves <palves@redhat.com>
5725
5726 * gdb.base/list-ambiguous.exp: New file.
5727 * gdb.base/list-ambiguous0.c: New file.
5728 * gdb.base/list-ambiguous1.c: New file.
5729 * gdb.base/list.exp (test_list_range): Adjust expected output.
5730
5731 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5732
5733 * gdb.base/share-env-with-gdbserver.c: New file.
5734 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5735
5736 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5737
5738 * gdb.base/commands.exp (gdbvar_simple_if_test,
5739 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5740 progvar_simple_if_test, progvar_simple_while_test,
5741 progvar_complex_if_while_test, user_defined_command_test,
5742 user_defined_command_args_eval,
5743 user_defined_command_args_stack_test,
5744 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5745 temporary_breakpoint_commands,
5746 gdb_test_no_prompt, redefine_hook_test,
5747 redefine_backtrace_test): Remove "global gdb_prompt".
5748
5749 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5750
5751 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5752 New proc, call it from toplevel.
5753
5754 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5755
5756 PR remote/21852
5757 * gdb.server/normal.c: New file, copied from gdb.base.
5758 * gdb.server/run-without-local-binary.exp: New file.
5759
5760 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5761
5762 * gdb.arch/sparc64-adi.exp: New file.
5763 * gdb.arch/sparc64-adi.c: New file.
5764
5765 2017-08-22 Pedro Alves <palves@redhat.com>
5766
5767 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5768 (top level): Add "list all overloads" tests.
5769
5770 2017-08-22 Tom Tromey <tom@tromey.com>
5771
5772 * gdb.gdb/xfullpath.exp: Remove.
5773
5774 2017-08-21 Pedro Alves <palves@redhat.com>
5775
5776 PR gdb/19487
5777 * gdb.base/symbol-alias.c: New.
5778 * gdb.base/symbol-alias2.c: New.
5779 * gdb.base/symbol-alias.exp: New.
5780
5781 2017-08-21 Pedro Alves <palves@redhat.com>
5782
5783 * gdb.base/dfp-test.c
5784 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5785 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5786 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5787 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5788 * gdb.base/whatis-ptype-typedefs.c: New.
5789 * gdb.base/whatis-ptype-typedefs.exp: New.
5790 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5791 (an_int, an_int_type, an_int_type2): New globals.
5792 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5793 involving typedefs and cast expressions.
5794 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5795 (lookup_typedefs_function): New.
5796 (typedefs_pretty_printers_dict): New.
5797 (top level): Register lookup_typedefs_function in
5798 gdb.pretty_printers.
5799
5800 2017-08-18 Yao Qi <yao.qi@linaro.org>
5801
5802 * gdb.server/unittest.exp: New.
5803
5804 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5805
5806 PR gdb/21954
5807 * gdb.base/environ.exp: Add test to check if 'unset environment'
5808 works.
5809
5810 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5811
5812 * lib/gdb.exp (universal_compile_options): New caching proc.
5813 (gdb_compile): Suppress GCC's coloring of messages.
5814
5815 2017-08-14 Tom Tromey <tom@tromey.com>
5816
5817 PR gdb/21675:
5818 * gdb.base/printcmds.exp (test_radices): New function.
5819 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5820 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5821 * lib/gdb.exp (get_integer_valueof): Use p/d.
5822
5823 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5824
5825 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5826 characters.
5827
5828 2017-08-05 Tom Tromey <tom@tromey.com>
5829
5830 * gdb.rust/simple.exp: Allow String to appear in a different
5831 namespace.
5832
5833 2017-07-26 Yao Qi <yao.qi@linaro.org>
5834
5835 * gdb.gdb/unittest.exp: Invoke command
5836 "maintenance check xml-descriptions".
5837
5838 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5839
5840 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5841 calling context.
5842 (hex128): Drop erroneous calculation of parameters.
5843
5844 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5845
5846 * gdb.python/py-unwind.exp: Disable stack protection when
5847 building test file.
5848
5849 2017-07-20 Pedro Alves <palves@redhat.com>
5850
5851 * gdb.base/default.exp (set language): Adjust expected output.
5852
5853 2017-07-20 Pedro Alves <palves@redhat.com>
5854
5855 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5856 (test_minsym): ... this, and make static.
5857 (get_pck__foo__bar__minsym): Rename to ...
5858 (get_test_minsym): ... this.
5859 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5860 symbol names and comments.
5861 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5862 (get_test_minsym): ... this.
5863 (pck__foo__bar__minsym__2): Rename to ...
5864 (test_minsym): ... this.
5865 (main): Adjust.
5866
5867 2017-07-17 Pedro Alves <palves@redhat.com>
5868
5869 * gdb.base/completion.exp: Adjust expected output.
5870 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5871 the completer works.
5872
5873 2017-07-17 Pedro Alves <palves@redhat.com>
5874
5875 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5876
5877 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5878
5879 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5880
5881 2017-07-14 Tom Tromey <tom@tromey.com>
5882
5883 PR rust/21764:
5884 * gdb.rust/simple.exp: Add tests.
5885
5886 2017-07-14 Tom Tromey <tom@tromey.com>
5887
5888 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5889
5890 2017-07-14 Pedro Alves <palves@redhat.com>
5891
5892 * gdb.linespec/base/one/thefile.cc (z1): New function.
5893 * gdb.linespec/base/two/thefile.cc (z2): New function.
5894 * gdb.linespec/linespec.exp: Add tests.
5895
5896 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5897
5898 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5899 to mi_create_breakpoint.
5900
5901 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5902
5903 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5904 mi_create_breakpoint.
5905
5906 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5907
5908 * gdb.dlang/demangle.exp: Update for demangling changes.
5909
5910 2017-07-09 Tom Tromey <tom@tromey.com>
5911
5912 * gdb.dwarf2/shortpiece.exp: New file.
5913
5914 2017-07-06 David Blaikie <dblaikie@gmail.com>
5915
5916 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5917 built from fissiont-multi-cu{1,2}.c.
5918 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5919 except putting 'main' and 'func' in separate CUs in the same DWO file.
5920 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5921 test.
5922 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5923 test.
5924
5925 2017-07-06 Pedro Alves <palves@redhat.com>
5926
5927 * gdb.python/py-unwind.exp: Test flushregs.
5928
5929 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5930
5931 PR cli/21688
5932 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5933 tests for alias commands and trailing whitespace.
5934
5935 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5936
5937 PR cli/21688
5938 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5939 procedure. Call it.
5940
5941 2017-06-29 Pedro Alves <palves@redhat.com>
5942
5943 * gdb.base/printcmds.exp: Add tests.
5944
5945 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5946
5947 PR gdb/21337
5948 * gdb.base/reread-readsym.exp: New file.
5949 * gdb.base/reread-readsym.c: New file.
5950
5951 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5952
5953 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5954 subpattern.
5955
5956 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5957
5958 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5959 extended mnemonic.
5960 * gdb.arch/powerpc-power9.s: Likewise.
5961
5962 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5963
5964 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5965 on 32-bit x86 targets. Exploit is_*_target macros where
5966 appropriate.
5967
5968 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5969
5970 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5971 register pieces.
5972
5973 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5974
5975 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5976 located in one or more DWARF pieces.
5977
5978 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5979
5980 * lib/gdb.exp (get_endianness): New proc.
5981 * gdb.arch/aarch64-fp.exp: Use it.
5982 * gdb.arch/altivec-regs.exp: Likewise.
5983 * gdb.arch/e500-regs.exp: Likewise.
5984 * gdb.arch/vsx-regs.exp: Likewise.
5985 * gdb.base/dump.exp: Likewise.
5986 * gdb.base/funcargs.exp: Likewise.
5987 * gdb.base/gnu_vector.exp: Likewise.
5988 * gdb.dwarf2/formdata16.exp: Likewise.
5989 * gdb.dwarf2/implptrpiece.exp: Likewise.
5990 * gdb.dwarf2/nonvar-access.exp: Likewise.
5991 * gdb.python/py-inferior.exp: Likewise.
5992 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5993
5994 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5995
5996 PR gdb/21226
5997 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5998 stack value pieces are taken from the LSB end.
5999
6000 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6001
6002 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6003 variable at nonzero offset.
6004
6005 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6006
6007 * gdb.dwarf2/var-access.c: New file.
6008 * gdb.dwarf2/var-access.exp: New test.
6009 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6010
6011 2017-06-12 Tom Tromey <tom@tromey.com>
6012
6013 * gdb.dwarf2/formdata16.exp: Add tests.
6014
6015 2017-06-12 Tom Tromey <tom@tromey.com>
6016
6017 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6018
6019 2017-06-12 Tom Tromey <tom@tromey.com>
6020
6021 PR exp/16225:
6022 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6023 * gdb.arch/vsx-regs.exp: Update tests.
6024 * gdb.arch/s390-vregs.exp (hex128): New proc.
6025 Update test.
6026 * gdb.arch/altivec-regs.exp: Update tests.
6027
6028 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6029
6030 * gdb.base/startup-with-shell.c: New file.
6031 * gdb.base/startup-with-shell.exp: Likewise.
6032
6033 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6034
6035 * gdb.server/non-existing-program.exp: Update regex in order to
6036 reflect the fact that gdbserver is now using fork_inferior (with a
6037 shell) to startup the inferior.
6038
6039 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6040
6041 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6042 support function calls from GDB.
6043
6044 2017-05-21 Tom Tromey <tom@tromey.com>
6045
6046 PR rust/21466:
6047 * gdb.rust/unsized.exp: New file.
6048 * gdb.rust/unsized.rs: New file.
6049
6050 2017-05-19 Tom Tromey <tom@tromey.com>
6051
6052 PR rust/21484:
6053 * gdb.rust/watch.exp: New file.
6054 * gdb.rust/watch.rs: New file.
6055
6056 2017-05-18 Tom Tromey <tom@tromey.com>
6057
6058 * gdb.rust/simple.exp: Allow Box to be qualified.
6059
6060 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6061
6062 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6063
6064 2017-05-18 Pedro Alves <palves@redhat.com>
6065
6066 * gdb.base/fileio.c (test_write, test_read, test_close)
6067 (test_fstat): Don't print 'ret' in the fail path.
6068
6069 2017-05-18 Pedro Alves <palves@redhat.com>
6070
6071 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6072 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6073 (test_system, test_rename, test_unlink, test_time): Change
6074 prototypes.
6075 * gdb.base/fileio.exp (stop_msg): Adjust.
6076
6077 2017-05-18 Pedro Alves <palves@redhat.com>
6078
6079 * gdb.base/fileio.c (null_str): New global.
6080 (test_stat): Use it.
6081 * gdb.base/fileio.exp: Remove nowarnings.
6082
6083 2017-05-17 Yao Qi <yao.qi@linaro.org>
6084
6085 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6086
6087 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6088
6089 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6090 argument command.
6091 (top-level): Invoke test_set_inferior_tty.
6092
6093 2017-05-04 Pedro Alves <palves@redhat.com>
6094
6095 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6096 Add parens to print call for Python 3.
6097
6098 2017-05-03 Keith Seitz <keiths@redhat.com>
6099
6100 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6101 (main): Call it.
6102
6103 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6104
6105 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6106 to prev and next.
6107
6108 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6109
6110 * gdb.python/py-record-btrace.exp: Remove test for
6111 gdb.BtraceInstruction.error.
6112
6113 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6114
6115 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6116
6117 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6118
6119 * gdb.python/py-record-btrace-threads.c: New file.
6120 * gdb.python/py-record-btrace-threads.exp: New file.
6121
6122 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6123
6124 PR testsuite/8595
6125 * gdb.base/environ.exp: Make test available in all architectures.
6126 Move bits related to "info program" testing to
6127 gdb.base/info-program.exp. Rewrite tests to use the two new
6128 procedures mentione below.
6129 (test_set_show_env_var) New procedure.
6130 (test_set_show_env_var_equal): Likewise.
6131 * gdb.base/info-program.exp: New file.
6132
6133 2017-04-27 Keith Seitz <keiths@redhat.com>
6134
6135 * gdb.cp/oranking.cc (test15): New function.
6136 (main): Call test15 and declare additional variables for testing.
6137 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6138 "p foo101('abc')" tests.
6139 Add tests for cv qualifier overloads.
6140 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6141 "lvalue reference overload" test.
6142 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6143 "print value of f1 on Child&& in f2" test.
6144
6145 2017-04-19 Pedro Alves <palves@redhat.com>
6146
6147 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6148 procedure.
6149 (top level): Call it.
6150 * lib/gdb.exp (gdb_define_cmd): New procedure.
6151
6152 2017-04-12 Pedro Alves <palves@redhat.com>
6153
6154 PR gdb/21323
6155 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6156 (wchar): New global.
6157 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6158 (do_test_wide_char, wide_char_types_no_program, top level): Add
6159 wchar_t testing.
6160
6161 2017-04-12 Pedro Alves <palves@redhat.com>
6162
6163 PR c++/21323
6164 * gdb.cp/wide_char_types.c: New file.
6165 * gdb.cp/wide_char_types.exp: New file.
6166
6167 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6168
6169 PR gdb/21352
6170 * gdb.trace/tsv.exp: Add test for "tsave -r".
6171
6172 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6173
6174 * gdb.dlang/watch-loc.c: New file.
6175 * gdb.dlang/watch-loc.exp: New file.
6176
6177 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6178
6179 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6180
6181 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6182
6183 * gdb.arch/arc-analyze-prologue.S: New file.
6184 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6185
6186 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6187
6188 * gdb.arch/arc-decode-insn.S: New file.
6189 * gdb.arch/arc-decode-insn.exp: Likewise.
6190
6191 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6192
6193 PR tdep/20928
6194 * gdb.arch/sparc64-regs.exp: New file.
6195 * gdb.arch/sparc64-regs.S: Likewise.
6196
6197 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6198
6199 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6200 and memory view on Python 3.
6201
6202 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6203 Keith Seitz <keiths@redhat.com>
6204
6205 PR gdb/14441
6206 * gdb.cp/demangle.exp: Add rvalue reference tests.
6207 * gdb.cp/rvalue-ref-casts.cc: New file.
6208 * gdb.cp/rvalue-ref-casts.exp: New file.
6209 * gdb.cp/rvalue-ref-overload.cc: New file.
6210 * gdb.cp/rvalue-ref-overload.exp: New file.
6211 * gdb.cp/rvalue-ref-params.cc: New file.
6212 * gdb.cp/rvalue-ref-params.exp: New file.
6213 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6214 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6215 * gdb.cp/rvalue-ref-types.cc: New file.
6216 * gdb.cp/rvalue-ref-types.exp: New file.
6217 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6218 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6219
6220 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6221
6222 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6223 New procedure.
6224
6225 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6226
6227 * lib/mi-support.exp (mi_gdb_test): Add additional message
6228 for unexpected output.
6229
6230 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6231
6232 * gdb.base/examine-backward.c (Barrier): New character array
6233 constant, to ensure that TestStrings is preceded by a string
6234 terminator.
6235
6236 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6237
6238 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6239 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6240 and implicit pointer into such a location.
6241
6242 2017-03-16 Doug Evans <dje@google.com>
6243
6244 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6245
6246 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6247
6248 * gdb.cp/m-static.exp: Fix expectation for prototype of
6249 test5.single_constructor and single_constructor::single_constructor.
6250
6251 2017-03-16 Doug Evans <dje@google.com>
6252
6253 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6254 * gdb.guile/scm-lazy-string.c: New file.
6255 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6256 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6257 for pointer, array, typedef lazy strings.
6258
6259 2017-03-16 Doug Evans <dje@google.com>
6260
6261 PR python/17728, python/18439, python/18779
6262 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6263 * gdb.python/py-lazy-string.c (pointer): New typedef.
6264 (main): New locals ptr, array, typedef_ptr.
6265 * gdb.python/py-value.exp: Move lazy string tests to ...
6266 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6267 array, typedef lazy strings.
6268
6269 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6270
6271 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6272 Add optional 'test' parameter.
6273
6274 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6275
6276 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6277 Skip for versions of DejaGnu < 1.5.
6278
6279 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6280
6281 * lib/gdb.exp (dejagnu_version): New proc.
6282 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6283 Use dejagnu_version.
6284
6285 2017-03-10 Keith Seitz <keiths@redhat.com>
6286
6287 PR c++/8128
6288 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6289 type from destructor regexps.
6290 Add a branch which actually passes the test.
6291 Adjust "ptype t5i" test names.
6292
6293 2017-03-08 Pedro Alves <palves@redhat.com>
6294
6295 * gdb.base/step-over-exit.exp: Add explicit test message.
6296
6297 2017-03-08 Pedro Alves <palves@redhat.com>
6298
6299 PR gdb/18360
6300 * gdb.threads/interrupt-while-step-over.c: New file.
6301 * gdb.threads/interrupt-while-step-over.exp: New file.
6302
6303 2017-03-08 Pedro Alves <palves@redhat.com>
6304
6305 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6306 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6307
6308 2017-03-08 Pedro Alves <palves@redhat.com>
6309
6310 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6311 PKRU as not supported as a PASS.
6312
6313 2017-03-08 Pedro Alves <palves@redhat.com>
6314
6315 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6316 prefix instead of $binfile1/$binfile2.
6317 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6318 in test message.
6319 * gdb.python/py-completion.exp: Use "load python file" as test
6320 messages instead of unstable path names.
6321
6322 2017-03-08 Pedro Alves <palves@redhat.com>
6323 Jan Kratochvil <jan.kratochvil@redhat.com>
6324
6325 PR cli/21218
6326 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6327 New proc.
6328 (top level): Call it.
6329
6330 2017-03-08 Pedro Alves <palves@redhat.com>
6331
6332 PR tui/21216
6333 * gdb.tui/tui-nl-filtered-output.exp: New file.
6334
6335 2017-03-08 Pedro Alves <palves@redhat.com>
6336
6337 * gdb.base/completion.exp: Move TUI completion tests to ...
6338 * gdb.tui/completion.exp: ... this new file.
6339
6340 2017-03-08 Pedro Alves <palves@redhat.com>
6341
6342 * gdb.base/tui-disasm-long-lines.c,
6343 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6344 gdb.base/tui-layout.exp: Move to ...
6345 * gdb.tui/: ... this new directory.
6346
6347 2017-03-07 Pedro Alves <palves@redhat.com>
6348
6349 * gdb.base/tui-layout.c: New file.
6350 * gdb.base/tui-layout.exp: New file.
6351
6352 2017-03-07 Pedro Alves <palves@redhat.com>
6353
6354 * gdb.base/tui-layout.c: Rename to ...
6355 * gdb.base/tui-disasm-long-lines.c: ... this.
6356 * gdb.base/tui-layout.exp: Rename to ...
6357 * gdb.base/tui-disasm-long-lines.exp: ... this.
6358
6359 2017-03-07 Pedro Alves <palves@redhat.com>
6360
6361 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6362
6363 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6364
6365 * i386-mpx-call.c: New file.
6366 * i386-mpx-call.exp: New file.
6367
6368 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6369
6370 * gdb.arch/powerpc-power.exp: Delete test.
6371 * gdb.arch/powerpc-power.s: Likewise.
6372 * gdb.disasm/disassembler-options.exp: New test.
6373 * gdb.arch/powerpc-altivec.exp: Likewise.
6374 * gdb.arch/powerpc-altivec.s: Likewise.
6375 * gdb.arch/powerpc-altivec2.exp: Likewise.
6376 * gdb.arch/powerpc-altivec2.s: Likewise.
6377 * gdb.arch/powerpc-altivec3.exp: Likewise.
6378 * gdb.arch/powerpc-altivec3.s: Likewise.
6379 * gdb.arch/powerpc-power7.exp: Likewise.
6380 * gdb.arch/powerpc-power7.s: Likewise.
6381 * gdb.arch/powerpc-power8.exp: Likewise.
6382 * gdb.arch/powerpc-power8.s: Likewise.
6383 * gdb.arch/powerpc-power9.exp: Likewise.
6384 * gdb.arch/powerpc-power9.s: Likewise.
6385 * gdb.arch/powerpc-vsx.exp: Likewise.
6386 * gdb.arch/powerpc-vsx.s: Likewise.
6387 * gdb.arch/powerpc-vsx2.exp: Likewise.
6388 * gdb.arch/powerpc-vsx2.s: Likewise.
6389 * gdb.arch/powerpc-vsx3.exp: Likewise.
6390 * gdb.arch/powerpc-vsx3.s: Likewise.
6391 * gdb.arch/arm-disassembler-options.exp: Likewise.
6392 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6393 * gdb.arch/s390-disassembler-options.exp: Likewise.
6394
6395 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6396
6397 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6398 (check_supported_features): ... this. Changed return type to void.
6399 (supports_rdseed): New static global.
6400 (rdseed): Check supports_rdseed.
6401 (initialize): Call check_supported_features.
6402
6403 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6404
6405 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6406 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6407 and lqarx/stqcx.
6408 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6409 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6410
6411 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6412
6413 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6414 uppercase.
6415
6416 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6417
6418 * gdb.dwarf2/formdata16.c: New file.
6419 * gdb.dwarf2/formdata16.exp: New file.
6420 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6421
6422 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6423
6424 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6425 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6426 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6427 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6428 DW_AT_GNU_*.
6429
6430 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6431
6432 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6433
6434 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6435
6436 PR gdb/21164
6437 * gdb.base/maint.exp: Add testcases for when the commands do
6438 not have arguments.
6439
6440 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6441
6442 * gdb.cp/chained-calls.exp: Use p instead of P.
6443
6444 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6445
6446 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6447 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6448
6449 2017-02-14 Tom Tromey <tom@tromey.com>
6450
6451 PR python/13598:
6452 * gdb.python/py-events.exp: Add before_prompt event tests.
6453
6454 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6455
6456 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6457
6458 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6459
6460 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6461 (main): Call my_unique_function_name.
6462 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6463 completion of patterns with a single match.
6464 Add missing -re switches to gdb_test_multiple calls.
6465
6466 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6467
6468 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6469 return if core file is not recognized.
6470
6471 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6472
6473 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6474 and extra UIs.
6475
6476 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6477
6478 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6479 proc_with_prefix.
6480
6481 2017-02-10 Tom Tromey <tom@tromey.com>
6482
6483 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6484
6485 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6486
6487 PR gdb/21122
6488 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6489
6490 2017-02-08 Jerome Guitton <guitton@adacore.com>
6491
6492 * gdb.base/define.exp: Add test for command abbreviations
6493 in define.
6494
6495 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6496
6497 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6498 * gdb.reverse/insn-reverse-x86.c: New file.
6499
6500 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6501
6502 PR tdep/20936
6503 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6504
6505 2017-02-03 Tom Tromey <tom@tromey.com>
6506
6507 PR rust/21097:
6508 * gdb.rust/simple.exp: Add new tests.
6509
6510 2017-02-02 Pedro Alves <palves@redhat.com>
6511
6512 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6513 tests.
6514
6515 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6516
6517 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6518 taking a 2-byte value out of a 4-byte DWARF implicit value on
6519 big-endian targets.
6520 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6521 logic. Add test cases for DW_OP_implicit.
6522
6523 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6524
6525 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6526
6527 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6528
6529 * gdb.btrace/enable.exp: Call gdb_exit before
6530 skip_gdbserver_tests.
6531
6532 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6533
6534 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6535 GDBFLAGS.
6536
6537 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6538
6539 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6540 the test is skipped.
6541 * gdb.btrace/data.exp: Likewise.
6542 * gdb.btrace/delta.exp: Likewise.
6543 * gdb.btrace/dlopen.exp: Likewise.
6544 * gdb.btrace/enable-running.exp: Likewise.
6545 * gdb.btrace/enable.exp: Likewise.
6546 * gdb.btrace/exception.exp: Likewise.
6547 * gdb.btrace/function_call_history.exp: Likewise.
6548 * gdb.btrace/gcore.exp: Likewise.
6549 * gdb.btrace/instruction_history.exp: Likewise.
6550 * gdb.btrace/multi-thread-step.exp: Likewise.
6551 * gdb.btrace/nohist.exp: Likewise.
6552 * gdb.btrace/non-stop.exp: Likewise.
6553 * gdb.btrace/reconnect.exp: Likewise.
6554 * gdb.btrace/record_goto-step.exp: Likewise.
6555 * gdb.btrace/record_goto.exp: Likewise.
6556 * gdb.btrace/rn-dl-bind.exp: Likewise.
6557 * gdb.btrace/segv.exp: Likewise.
6558 * gdb.btrace/step.exp: Likewise.
6559 * gdb.btrace/stepi.exp: Likewise.
6560 * gdb.btrace/tailcall-only.exp: Likewise.
6561 * gdb.btrace/tailcall.exp: Likewise.
6562 * gdb.btrace/tsx.exp: Likewise.
6563 * gdb.btrace/unknown_functions.exp: Likewise.
6564 * gdb.btrace/vdso.exp: Likewise.
6565
6566 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6567
6568 * gdb.btrace/enable-running.c: New.
6569 * gdb.btrace/enable-running.exp: New.
6570
6571 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6572
6573 * gdb.arch/amd64-gs_base.c: New file.
6574 * gdb.arch/amd64-gs_base.exp: New file.
6575
6576 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6577
6578 * lib/memory.exp: Remove spurious empty newlines.
6579
6580 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6581
6582 * gdb.python/py-bad-printers.exp: Load python file using "source".
6583 * gdb.python/py-events.exp: Likewise.
6584 * gdb.python/py-evsignal.exp: Likewise.
6585 * gdb.python/py-evthreads.exp: Likewise.
6586 * gdb.python/py-frame-args.exp: Likewise.
6587 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6588 * gdb.python/py-framefilter-mi.exp: Likewise.
6589 * gdb.python/py-framefilter.exp: Likewise.
6590 * gdb.python/py-mi.exp: Likewise.
6591 * gdb.python/py-pp-maint.exp: Likewise.
6592 * gdb.python/py-pp-registration.exp: Likewise.
6593 * gdb.python/py-prettyprint.exp: Likewise.
6594 (run_lang_tests): Likewise.
6595 * gdb.python/py-typeprint.exp: Likewise.
6596
6597 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6598
6599 * lib/memory.exp: New file.
6600 * lib/gdb.exp: Load memory.exp.
6601 * gdb.base/memattr.exp (delete_memory): Move proc to
6602 lib/memory.exp and rename to delete_memory_regions.
6603 Replace delete_memory with delete_memory_regions.
6604 Cleanup memory regions before tests.
6605 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6606 before tests.
6607
6608 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6609
6610 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6611 files.
6612 (initialize): New function conditionally defined.
6613 (testcases): Move within conditional block.
6614 (main): Call initialize.
6615 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6616 of gdb.reverse/insn-reverse.c.
6617 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6618 gdb.reverse/insn-reverse.c.
6619
6620 2017-01-26 Yao Qi <yao.qi@linaro.org>
6621
6622 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6623 disassemble on address 0.
6624
6625 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6626 Yao Qi <yao.qi@linaro.org>
6627
6628 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6629 * gdb.dwarf2/implptr-64bit.S: Remove.
6630 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6631 variables in caller's context. Add DW_OP_implicit_value.
6632
6633 2017-01-25 Yao Qi <yao.qi@linaro.org>
6634
6635 * lib/dwarf.exp (Dwarf::_location): Handle
6636 DW_OP_GNU_implicit_pointer with proper size.
6637
6638 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6639
6640 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6641 and add untested calls.
6642
6643 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6644
6645 * gdb.python/python.exp: Check line number against what GDB thinks
6646 the line number is for func1.
6647
6648 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6649
6650 * gdb.dlang/debug-expr.exp: New file.
6651
6652 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6653
6654 Fix test names for the following files:
6655
6656 * gdb.ada/exec_changed.exp
6657 * gdb.ada/info_types.exp
6658 * gdb.arch/aarch64-atomic-inst.exp
6659 * gdb.arch/aarch64-fp.exp
6660 * gdb.arch/altivec-abi.exp
6661 * gdb.arch/altivec-regs.exp
6662 * gdb.arch/amd64-byte.exp
6663 * gdb.arch/amd64-disp-step.exp
6664 * gdb.arch/amd64-dword.exp
6665 * gdb.arch/amd64-entry-value-inline.exp
6666 * gdb.arch/amd64-entry-value-param.exp
6667 * gdb.arch/amd64-entry-value-paramref.exp
6668 * gdb.arch/amd64-entry-value.exp
6669 * gdb.arch/amd64-i386-address.exp
6670 * gdb.arch/amd64-invalid-stack-middle.exp
6671 * gdb.arch/amd64-invalid-stack-top.exp
6672 * gdb.arch/amd64-optimout-repeat.exp
6673 * gdb.arch/amd64-prologue-skip.exp
6674 * gdb.arch/amd64-prologue-xmm.exp
6675 * gdb.arch/amd64-stap-special-operands.exp
6676 * gdb.arch/amd64-stap-wrong-subexp.exp
6677 * gdb.arch/amd64-tailcall-cxx.exp
6678 * gdb.arch/amd64-tailcall-noret.exp
6679 * gdb.arch/amd64-tailcall-ret.exp
6680 * gdb.arch/amd64-tailcall-self.exp
6681 * gdb.arch/amd64-word.exp
6682 * gdb.arch/arm-bl-branch-dest.exp
6683 * gdb.arch/arm-disp-step.exp
6684 * gdb.arch/arm-neon.exp
6685 * gdb.arch/arm-single-step-kernel-helper.exp
6686 * gdb.arch/avr-flash-qualifier.exp
6687 * gdb.arch/disp-step-insn-reloc.exp
6688 * gdb.arch/e500-abi.exp
6689 * gdb.arch/e500-regs.exp
6690 * gdb.arch/ftrace-insn-reloc.exp
6691 * gdb.arch/i386-avx512.exp
6692 * gdb.arch/i386-bp_permanent.exp
6693 * gdb.arch/i386-byte.exp
6694 * gdb.arch/i386-cfi-notcurrent.exp
6695 * gdb.arch/i386-disp-step.exp
6696 * gdb.arch/i386-dr3-watch.exp
6697 * gdb.arch/i386-float.exp
6698 * gdb.arch/i386-gnu-cfi.exp
6699 * gdb.arch/i386-mpx-map.exp
6700 * gdb.arch/i386-mpx-sigsegv.exp
6701 * gdb.arch/i386-mpx-simple_segv.exp
6702 * gdb.arch/i386-mpx.exp
6703 * gdb.arch/i386-permbkpt.exp
6704 * gdb.arch/i386-prologue.exp
6705 * gdb.arch/i386-signal.exp
6706 * gdb.arch/i386-size-overlap.exp
6707 * gdb.arch/i386-unwind.exp
6708 * gdb.arch/i386-word.exp
6709 * gdb.arch/mips-fcr.exp
6710 * gdb.arch/powerpc-d128-regs.exp
6711 * gdb.arch/powerpc-stackless.exp
6712 * gdb.arch/ppc64-atomic-inst.exp
6713 * gdb.arch/s390-stackless.exp
6714 * gdb.arch/s390-tdbregs.exp
6715 * gdb.arch/s390-vregs.exp
6716 * gdb.arch/sparc-sysstep.exp
6717 * gdb.arch/thumb-bx-pc.exp
6718 * gdb.arch/thumb-singlestep.exp
6719 * gdb.arch/thumb2-it.exp
6720 * gdb.arch/vsx-regs.exp
6721 * gdb.asm/asm-source.exp
6722 * gdb.base/a2-run.exp
6723 * gdb.base/advance.exp
6724 * gdb.base/all-bin.exp
6725 * gdb.base/anon.exp
6726 * gdb.base/args.exp
6727 * gdb.base/arithmet.exp
6728 * gdb.base/async-shell.exp
6729 * gdb.base/async.exp
6730 * gdb.base/attach-pie-noexec.exp
6731 * gdb.base/attach-twice.exp
6732 * gdb.base/auto-load.exp
6733 * gdb.base/bang.exp
6734 * gdb.base/bitfields.exp
6735 * gdb.base/break-always.exp
6736 * gdb.base/break-caller-line.exp
6737 * gdb.base/break-entry.exp
6738 * gdb.base/break-inline.exp
6739 * gdb.base/break-on-linker-gcd-function.exp
6740 * gdb.base/break-probes.exp
6741 * gdb.base/break.exp
6742 * gdb.base/breakpoint-shadow.exp
6743 * gdb.base/call-ar-st.exp
6744 * gdb.base/call-sc.exp
6745 * gdb.base/call-signal-resume.exp
6746 * gdb.base/call-strs.exp
6747 * gdb.base/callfuncs.exp
6748 * gdb.base/catch-fork-static.exp
6749 * gdb.base/catch-gdb-caused-signals.exp
6750 * gdb.base/catch-load.exp
6751 * gdb.base/catch-signal-fork.exp
6752 * gdb.base/catch-signal.exp
6753 * gdb.base/catch-syscall.exp
6754 * gdb.base/charset.exp
6755 * gdb.base/checkpoint.exp
6756 * gdb.base/chng-syms.exp
6757 * gdb.base/code-expr.exp
6758 * gdb.base/code_elim.exp
6759 * gdb.base/commands.exp
6760 * gdb.base/completion.exp
6761 * gdb.base/complex.exp
6762 * gdb.base/cond-expr.exp
6763 * gdb.base/condbreak.exp
6764 * gdb.base/consecutive.exp
6765 * gdb.base/continue-all-already-running.exp
6766 * gdb.base/coredump-filter.exp
6767 * gdb.base/corefile.exp
6768 * gdb.base/dbx.exp
6769 * gdb.base/debug-expr.exp
6770 * gdb.base/define.exp
6771 * gdb.base/del.exp
6772 * gdb.base/disabled-location.exp
6773 * gdb.base/disasm-end-cu.exp
6774 * gdb.base/disasm-optim.exp
6775 * gdb.base/display.exp
6776 * gdb.base/duplicate-bp.exp
6777 * gdb.base/ena-dis-br.exp
6778 * gdb.base/ending-run.exp
6779 * gdb.base/enumval.exp
6780 * gdb.base/environ.exp
6781 * gdb.base/eu-strip-infcall.exp
6782 * gdb.base/eval-avoid-side-effects.exp
6783 * gdb.base/eval-skip.exp
6784 * gdb.base/exitsignal.exp
6785 * gdb.base/expand-psymtabs.exp
6786 * gdb.base/filesym.exp
6787 * gdb.base/find-unmapped.exp
6788 * gdb.base/finish.exp
6789 * gdb.base/float.exp
6790 * gdb.base/foll-exec-mode.exp
6791 * gdb.base/foll-exec.exp
6792 * gdb.base/foll-fork.exp
6793 * gdb.base/fortran-sym-case.exp
6794 * gdb.base/freebpcmd.exp
6795 * gdb.base/func-ptr.exp
6796 * gdb.base/func-ptrs.exp
6797 * gdb.base/funcargs.exp
6798 * gdb.base/gcore-buffer-overflow.exp
6799 * gdb.base/gcore-relro-pie.exp
6800 * gdb.base/gcore-relro.exp
6801 * gdb.base/gcore.exp
6802 * gdb.base/gdb1090.exp
6803 * gdb.base/gdb11530.exp
6804 * gdb.base/gdb11531.exp
6805 * gdb.base/gdb1821.exp
6806 * gdb.base/gdbindex-stabs.exp
6807 * gdb.base/gdbvars.exp
6808 * gdb.base/hbreak.exp
6809 * gdb.base/hbreak2.exp
6810 * gdb.base/included.exp
6811 * gdb.base/infcall-input.exp
6812 * gdb.base/inferior-died.exp
6813 * gdb.base/infnan.exp
6814 * gdb.base/info-macros.exp
6815 * gdb.base/info-os.exp
6816 * gdb.base/info-proc.exp
6817 * gdb.base/info-shared.exp
6818 * gdb.base/info-target.exp
6819 * gdb.base/infoline.exp
6820 * gdb.base/interp.exp
6821 * gdb.base/interrupt.exp
6822 * gdb.base/jit-reader.exp
6823 * gdb.base/jit-simple.exp
6824 * gdb.base/kill-after-signal.exp
6825 * gdb.base/kill-detach-inferiors-cmd.exp
6826 * gdb.base/label.exp
6827 * gdb.base/langs.exp
6828 * gdb.base/ldbl_e308.exp
6829 * gdb.base/line-symtabs.exp
6830 * gdb.base/linespecs.exp
6831 * gdb.base/list.exp
6832 * gdb.base/long_long.exp
6833 * gdb.base/longest-types.exp
6834 * gdb.base/maint.exp
6835 * gdb.base/max-value-size.exp
6836 * gdb.base/memattr.exp
6837 * gdb.base/mips_pro.exp
6838 * gdb.base/morestack.exp
6839 * gdb.base/moribund-step.exp
6840 * gdb.base/multi-forks.exp
6841 * gdb.base/nested-addr.exp
6842 * gdb.base/nextoverexit.exp
6843 * gdb.base/noreturn-finish.exp
6844 * gdb.base/noreturn-return.exp
6845 * gdb.base/nostdlib.exp
6846 * gdb.base/offsets.exp
6847 * gdb.base/opaque.exp
6848 * gdb.base/pc-fp.exp
6849 * gdb.base/permissions.exp
6850 * gdb.base/print-symbol-loading.exp
6851 * gdb.base/prologue-include.exp
6852 * gdb.base/psymtab.exp
6853 * gdb.base/ptype.exp
6854 * gdb.base/random-signal.exp
6855 * gdb.base/randomize.exp
6856 * gdb.base/range-stepping.exp
6857 * gdb.base/readline-ask.exp
6858 * gdb.base/recpar.exp
6859 * gdb.base/recurse.exp
6860 * gdb.base/relational.exp
6861 * gdb.base/restore.exp
6862 * gdb.base/return-nodebug.exp
6863 * gdb.base/return.exp
6864 * gdb.base/run-after-attach.exp
6865 * gdb.base/save-bp.exp
6866 * gdb.base/scope.exp
6867 * gdb.base/sect-cmd.exp
6868 * gdb.base/set-lang-auto.exp
6869 * gdb.base/set-noassign.exp
6870 * gdb.base/setvar.exp
6871 * gdb.base/sigall.exp
6872 * gdb.base/sigbpt.exp
6873 * gdb.base/siginfo-addr.exp
6874 * gdb.base/siginfo-infcall.exp
6875 * gdb.base/siginfo-obj.exp
6876 * gdb.base/siginfo.exp
6877 * gdb.base/signals-state-child.exp
6878 * gdb.base/signest.exp
6879 * gdb.base/sigstep.exp
6880 * gdb.base/sizeof.exp
6881 * gdb.base/skip.exp
6882 * gdb.base/solib-corrupted.exp
6883 * gdb.base/solib-nodir.exp
6884 * gdb.base/solib-search.exp
6885 * gdb.base/stack-checking.exp
6886 * gdb.base/stale-infcall.exp
6887 * gdb.base/stap-probe.exp
6888 * gdb.base/start.exp
6889 * gdb.base/step-break.exp
6890 * gdb.base/step-bt.exp
6891 * gdb.base/step-line.exp
6892 * gdb.base/step-over-exit.exp
6893 * gdb.base/step-over-syscall.exp
6894 * gdb.base/step-resume-infcall.exp
6895 * gdb.base/step-test.exp
6896 * gdb.base/store.exp
6897 * gdb.base/structs3.exp
6898 * gdb.base/sym-file.exp
6899 * gdb.base/symbol-without-target_section.exp
6900 * gdb.base/term.exp
6901 * gdb.base/testenv.exp
6902 * gdb.base/ui-redirect.exp
6903 * gdb.base/until.exp
6904 * gdb.base/unwindonsignal.exp
6905 * gdb.base/value-double-free.exp
6906 * gdb.base/vla-datatypes.exp
6907 * gdb.base/vla-ptr.exp
6908 * gdb.base/vla-sideeffect.exp
6909 * gdb.base/volatile.exp
6910 * gdb.base/watch-cond-infcall.exp
6911 * gdb.base/watch-cond.exp
6912 * gdb.base/watch-non-mem.exp
6913 * gdb.base/watch-read.exp
6914 * gdb.base/watch-vfork.exp
6915 * gdb.base/watchpoint-cond-gone.exp
6916 * gdb.base/watchpoint-delete.exp
6917 * gdb.base/watchpoint-hw-hit-once.exp
6918 * gdb.base/watchpoint-hw.exp
6919 * gdb.base/watchpoint-stops-at-right-insn.exp
6920 * gdb.base/watchpoints.exp
6921 * gdb.base/wchar.exp
6922 * gdb.base/whatis-exp.exp
6923 * gdb.btrace/buffer-size.exp
6924 * gdb.btrace/data.exp
6925 * gdb.btrace/delta.exp
6926 * gdb.btrace/dlopen.exp
6927 * gdb.btrace/enable.exp
6928 * gdb.btrace/exception.exp
6929 * gdb.btrace/function_call_history.exp
6930 * gdb.btrace/gcore.exp
6931 * gdb.btrace/instruction_history.exp
6932 * gdb.btrace/nohist.exp
6933 * gdb.btrace/reconnect.exp
6934 * gdb.btrace/record_goto-step.exp
6935 * gdb.btrace/record_goto.exp
6936 * gdb.btrace/rn-dl-bind.exp
6937 * gdb.btrace/segv.exp
6938 * gdb.btrace/step.exp
6939 * gdb.btrace/stepi.exp
6940 * gdb.btrace/tailcall-only.exp
6941 * gdb.btrace/tailcall.exp
6942 * gdb.btrace/tsx.exp
6943 * gdb.btrace/unknown_functions.exp
6944 * gdb.btrace/vdso.exp
6945 * gdb.compile/compile-ifunc.exp
6946 * gdb.compile/compile-ops.exp
6947 * gdb.compile/compile-print.exp
6948 * gdb.compile/compile-setjmp.exp
6949 * gdb.cp/abstract-origin.exp
6950 * gdb.cp/ambiguous.exp
6951 * gdb.cp/annota2.exp
6952 * gdb.cp/annota3.exp
6953 * gdb.cp/anon-ns.exp
6954 * gdb.cp/anon-struct.exp
6955 * gdb.cp/anon-union.exp
6956 * gdb.cp/arg-reference.exp
6957 * gdb.cp/baseenum.exp
6958 * gdb.cp/bool.exp
6959 * gdb.cp/breakpoint.exp
6960 * gdb.cp/bs15503.exp
6961 * gdb.cp/call-c.exp
6962 * gdb.cp/casts.exp
6963 * gdb.cp/chained-calls.exp
6964 * gdb.cp/class2.exp
6965 * gdb.cp/classes.exp
6966 * gdb.cp/cmpd-minsyms.exp
6967 * gdb.cp/converts.exp
6968 * gdb.cp/cp-relocate.exp
6969 * gdb.cp/cpcompletion.exp
6970 * gdb.cp/cpexprs.exp
6971 * gdb.cp/cplabel.exp
6972 * gdb.cp/cplusfuncs.exp
6973 * gdb.cp/cpsizeof.exp
6974 * gdb.cp/ctti.exp
6975 * gdb.cp/derivation.exp
6976 * gdb.cp/destrprint.exp
6977 * gdb.cp/dispcxx.exp
6978 * gdb.cp/enum-class.exp
6979 * gdb.cp/exception.exp
6980 * gdb.cp/exceptprint.exp
6981 * gdb.cp/expand-psymtabs-cxx.exp
6982 * gdb.cp/expand-sals.exp
6983 * gdb.cp/extern-c.exp
6984 * gdb.cp/filename.exp
6985 * gdb.cp/formatted-ref.exp
6986 * gdb.cp/fpointer.exp
6987 * gdb.cp/gdb1355.exp
6988 * gdb.cp/gdb2495.exp
6989 * gdb.cp/hang.exp
6990 * gdb.cp/impl-this.exp
6991 * gdb.cp/infcall-dlopen.exp
6992 * gdb.cp/inherit.exp
6993 * gdb.cp/iostream.exp
6994 * gdb.cp/koenig.exp
6995 * gdb.cp/local.exp
6996 * gdb.cp/m-data.exp
6997 * gdb.cp/m-static.exp
6998 * gdb.cp/mb-ctor.exp
6999 * gdb.cp/mb-inline.exp
7000 * gdb.cp/mb-templates.exp
7001 * gdb.cp/member-name.exp
7002 * gdb.cp/member-ptr.exp
7003 * gdb.cp/meth-typedefs.exp
7004 * gdb.cp/method.exp
7005 * gdb.cp/method2.exp
7006 * gdb.cp/minsym-fallback.exp
7007 * gdb.cp/misc.exp
7008 * gdb.cp/namelessclass.exp
7009 * gdb.cp/namespace-enum.exp
7010 * gdb.cp/namespace-nested-import.exp
7011 * gdb.cp/namespace.exp
7012 * gdb.cp/nextoverthrow.exp
7013 * gdb.cp/no-dmgl-verbose.exp
7014 * gdb.cp/non-trivial-retval.exp
7015 * gdb.cp/noparam.exp
7016 * gdb.cp/nsdecl.exp
7017 * gdb.cp/nsimport.exp
7018 * gdb.cp/nsnested.exp
7019 * gdb.cp/nsnoimports.exp
7020 * gdb.cp/nsrecurs.exp
7021 * gdb.cp/nsstress.exp
7022 * gdb.cp/nsusing.exp
7023 * gdb.cp/operator.exp
7024 * gdb.cp/oranking.exp
7025 * gdb.cp/overload-const.exp
7026 * gdb.cp/overload.exp
7027 * gdb.cp/ovldbreak.exp
7028 * gdb.cp/ovsrch.exp
7029 * gdb.cp/paren-type.exp
7030 * gdb.cp/parse-lang.exp
7031 * gdb.cp/pass-by-ref.exp
7032 * gdb.cp/pr-1023.exp
7033 * gdb.cp/pr-1210.exp
7034 * gdb.cp/pr-574.exp
7035 * gdb.cp/pr10687.exp
7036 * gdb.cp/pr12028.exp
7037 * gdb.cp/pr17132.exp
7038 * gdb.cp/pr17494.exp
7039 * gdb.cp/pr9067.exp
7040 * gdb.cp/pr9167.exp
7041 * gdb.cp/pr9631.exp
7042 * gdb.cp/printmethod.exp
7043 * gdb.cp/psmang.exp
7044 * gdb.cp/psymtab-parameter.exp
7045 * gdb.cp/ptype-cv-cp.exp
7046 * gdb.cp/ptype-flags.exp
7047 * gdb.cp/re-set-overloaded.exp
7048 * gdb.cp/ref-types.exp
7049 * gdb.cp/rtti.exp
7050 * gdb.cp/scope-err.exp
7051 * gdb.cp/shadow.exp
7052 * gdb.cp/smartp.exp
7053 * gdb.cp/static-method.exp
7054 * gdb.cp/static-print-quit.exp
7055 * gdb.cp/temargs.exp
7056 * gdb.cp/templates.exp
7057 * gdb.cp/try_catch.exp
7058 * gdb.cp/typedef-operator.exp
7059 * gdb.cp/typeid.exp
7060 * gdb.cp/userdef.exp
7061 * gdb.cp/using-crash.exp
7062 * gdb.cp/var-tag.exp
7063 * gdb.cp/virtbase.exp
7064 * gdb.cp/virtfunc.exp
7065 * gdb.cp/virtfunc2.exp
7066 * gdb.cp/vla-cxx.exp
7067 * gdb.disasm/t01_mov.exp
7068 * gdb.disasm/t02_mova.exp
7069 * gdb.disasm/t03_add.exp
7070 * gdb.disasm/t04_sub.exp
7071 * gdb.disasm/t05_cmp.exp
7072 * gdb.disasm/t06_ari2.exp
7073 * gdb.disasm/t07_ari3.exp
7074 * gdb.disasm/t08_or.exp
7075 * gdb.disasm/t09_xor.exp
7076 * gdb.disasm/t10_and.exp
7077 * gdb.disasm/t11_logs.exp
7078 * gdb.disasm/t12_bit.exp
7079 * gdb.disasm/t13_otr.exp
7080 * gdb.dlang/circular.exp
7081 * gdb.dwarf2/arr-stride.exp
7082 * gdb.dwarf2/arr-subrange.exp
7083 * gdb.dwarf2/atomic-type.exp
7084 * gdb.dwarf2/bad-regnum.exp
7085 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7086 * gdb.dwarf2/callframecfa.exp
7087 * gdb.dwarf2/clztest.exp
7088 * gdb.dwarf2/corrupt.exp
7089 * gdb.dwarf2/data-loc.exp
7090 * gdb.dwarf2/dup-psym.exp
7091 * gdb.dwarf2/dw2-anon-mptr.exp
7092 * gdb.dwarf2/dw2-anonymous-func.exp
7093 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7094 * gdb.dwarf2/dw2-bad-unresolved.exp
7095 * gdb.dwarf2/dw2-basic.exp
7096 * gdb.dwarf2/dw2-canonicalize-type.exp
7097 * gdb.dwarf2/dw2-case-insensitive.exp
7098 * gdb.dwarf2/dw2-common-block.exp
7099 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7100 * gdb.dwarf2/dw2-compressed.exp
7101 * gdb.dwarf2/dw2-const.exp
7102 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7103 * gdb.dwarf2/dw2-cu-size.exp
7104 * gdb.dwarf2/dw2-dup-frame.exp
7105 * gdb.dwarf2/dw2-entry-value.exp
7106 * gdb.dwarf2/dw2-icycle.exp
7107 * gdb.dwarf2/dw2-ifort-parameter.exp
7108 * gdb.dwarf2/dw2-inline-break.exp
7109 * gdb.dwarf2/dw2-inline-param.exp
7110 * gdb.dwarf2/dw2-intercu.exp
7111 * gdb.dwarf2/dw2-intermix.exp
7112 * gdb.dwarf2/dw2-lexical-block-bare.exp
7113 * gdb.dwarf2/dw2-linkage-name-trust.exp
7114 * gdb.dwarf2/dw2-minsym-in-cu.exp
7115 * gdb.dwarf2/dw2-noloc.exp
7116 * gdb.dwarf2/dw2-op-call.exp
7117 * gdb.dwarf2/dw2-op-out-param.exp
7118 * gdb.dwarf2/dw2-opt-structptr.exp
7119 * gdb.dwarf2/dw2-param-error.exp
7120 * gdb.dwarf2/dw2-producer.exp
7121 * gdb.dwarf2/dw2-ranges-base.exp
7122 * gdb.dwarf2/dw2-ref-missing-frame.exp
7123 * gdb.dwarf2/dw2-reg-undefined.exp
7124 * gdb.dwarf2/dw2-regno-invalid.exp
7125 * gdb.dwarf2/dw2-restore.exp
7126 * gdb.dwarf2/dw2-restrict.exp
7127 * gdb.dwarf2/dw2-single-line-discriminators.exp
7128 * gdb.dwarf2/dw2-strp.exp
7129 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7130 * gdb.dwarf2/dw2-unresolved.exp
7131 * gdb.dwarf2/dw2-var-zero-addr.exp
7132 * gdb.dwarf2/dw4-sig-types.exp
7133 * gdb.dwarf2/dwz.exp
7134 * gdb.dwarf2/dynarr-ptr.exp
7135 * gdb.dwarf2/enum-type.exp
7136 * gdb.dwarf2/gdb-index.exp
7137 * gdb.dwarf2/implptr-64bit.exp
7138 * gdb.dwarf2/implptr-optimized-out.exp
7139 * gdb.dwarf2/implptr.exp
7140 * gdb.dwarf2/implref-array.exp
7141 * gdb.dwarf2/implref-const.exp
7142 * gdb.dwarf2/implref-global.exp
7143 * gdb.dwarf2/implref-struct.exp
7144 * gdb.dwarf2/mac-fileno.exp
7145 * gdb.dwarf2/main-subprogram.exp
7146 * gdb.dwarf2/member-ptr-forwardref.exp
7147 * gdb.dwarf2/method-ptr.exp
7148 * gdb.dwarf2/missing-sig-type.exp
7149 * gdb.dwarf2/nonvar-access.exp
7150 * gdb.dwarf2/opaque-type-lookup.exp
7151 * gdb.dwarf2/pieces-optimized-out.exp
7152 * gdb.dwarf2/pieces.exp
7153 * gdb.dwarf2/pr10770.exp
7154 * gdb.dwarf2/pr13961.exp
7155 * gdb.dwarf2/staticvirtual.exp
7156 * gdb.dwarf2/subrange.exp
7157 * gdb.dwarf2/symtab-producer.exp
7158 * gdb.dwarf2/trace-crash.exp
7159 * gdb.dwarf2/typeddwarf.exp
7160 * gdb.dwarf2/valop.exp
7161 * gdb.dwarf2/watch-notconst.exp
7162 * gdb.fortran/array-element.exp
7163 * gdb.fortran/charset.exp
7164 * gdb.fortran/common-block.exp
7165 * gdb.fortran/complex.exp
7166 * gdb.fortran/derived-type-function.exp
7167 * gdb.fortran/derived-type.exp
7168 * gdb.fortran/logical.exp
7169 * gdb.fortran/module.exp
7170 * gdb.fortran/multi-dim.exp
7171 * gdb.fortran/nested-funcs.exp
7172 * gdb.fortran/print-formatted.exp
7173 * gdb.fortran/subarray.exp
7174 * gdb.fortran/vla-alloc-assoc.exp
7175 * gdb.fortran/vla-datatypes.exp
7176 * gdb.fortran/vla-history.exp
7177 * gdb.fortran/vla-ptr-info.exp
7178 * gdb.fortran/vla-ptype-sub.exp
7179 * gdb.fortran/vla-ptype.exp
7180 * gdb.fortran/vla-sizeof.exp
7181 * gdb.fortran/vla-type.exp
7182 * gdb.fortran/vla-value-sub-arbitrary.exp
7183 * gdb.fortran/vla-value-sub-finish.exp
7184 * gdb.fortran/vla-value-sub.exp
7185 * gdb.fortran/vla-value.exp
7186 * gdb.fortran/whatis_type.exp
7187 * gdb.go/chan.exp
7188 * gdb.go/handcall.exp
7189 * gdb.go/hello.exp
7190 * gdb.go/integers.exp
7191 * gdb.go/methods.exp
7192 * gdb.go/package.exp
7193 * gdb.go/strings.exp
7194 * gdb.go/types.exp
7195 * gdb.go/unsafe.exp
7196 * gdb.guile/scm-arch.exp
7197 * gdb.guile/scm-block.exp
7198 * gdb.guile/scm-breakpoint.exp
7199 * gdb.guile/scm-cmd.exp
7200 * gdb.guile/scm-disasm.exp
7201 * gdb.guile/scm-equal.exp
7202 * gdb.guile/scm-frame-args.exp
7203 * gdb.guile/scm-frame-inline.exp
7204 * gdb.guile/scm-frame.exp
7205 * gdb.guile/scm-iterator.exp
7206 * gdb.guile/scm-math.exp
7207 * gdb.guile/scm-objfile.exp
7208 * gdb.guile/scm-ports.exp
7209 * gdb.guile/scm-symbol.exp
7210 * gdb.guile/scm-symtab.exp
7211 * gdb.guile/scm-value-cc.exp
7212 * gdb.guile/types-module.exp
7213 * gdb.linespec/break-ask.exp
7214 * gdb.linespec/cpexplicit.exp
7215 * gdb.linespec/explicit.exp
7216 * gdb.linespec/keywords.exp
7217 * gdb.linespec/linespec.exp
7218 * gdb.linespec/ls-dollar.exp
7219 * gdb.linespec/ls-errs.exp
7220 * gdb.linespec/skip-two.exp
7221 * gdb.linespec/thread.exp
7222 * gdb.mi/mi-async.exp
7223 * gdb.mi/mi-basics.exp
7224 * gdb.mi/mi-break.exp
7225 * gdb.mi/mi-catch-load.exp
7226 * gdb.mi/mi-cli.exp
7227 * gdb.mi/mi-cmd-param-changed.exp
7228 * gdb.mi/mi-console.exp
7229 * gdb.mi/mi-detach.exp
7230 * gdb.mi/mi-disassemble.exp
7231 * gdb.mi/mi-eval.exp
7232 * gdb.mi/mi-file-transfer.exp
7233 * gdb.mi/mi-file.exp
7234 * gdb.mi/mi-fill-memory.exp
7235 * gdb.mi/mi-inheritance-syntax-error.exp
7236 * gdb.mi/mi-linespec-err-cp.exp
7237 * gdb.mi/mi-logging.exp
7238 * gdb.mi/mi-memory-changed.exp
7239 * gdb.mi/mi-read-memory.exp
7240 * gdb.mi/mi-record-changed.exp
7241 * gdb.mi/mi-reg-undefined.exp
7242 * gdb.mi/mi-regs.exp
7243 * gdb.mi/mi-return.exp
7244 * gdb.mi/mi-reverse.exp
7245 * gdb.mi/mi-simplerun.exp
7246 * gdb.mi/mi-solib.exp
7247 * gdb.mi/mi-stack.exp
7248 * gdb.mi/mi-stepi.exp
7249 * gdb.mi/mi-syn-frame.exp
7250 * gdb.mi/mi-until.exp
7251 * gdb.mi/mi-var-block.exp
7252 * gdb.mi/mi-var-child.exp
7253 * gdb.mi/mi-var-cmd.exp
7254 * gdb.mi/mi-var-cp.exp
7255 * gdb.mi/mi-var-display.exp
7256 * gdb.mi/mi-var-invalidate.exp
7257 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7258 * gdb.mi/mi-vla-fortran.exp
7259 * gdb.mi/mi-watch.exp
7260 * gdb.mi/mi2-var-child.exp
7261 * gdb.mi/user-selected-context-sync.exp
7262 * gdb.modula2/unbounded-array.exp
7263 * gdb.multi/dummy-frame-restore.exp
7264 * gdb.multi/multi-arch-exec.exp
7265 * gdb.multi/multi-arch.exp
7266 * gdb.multi/tids.exp
7267 * gdb.multi/watchpoint-multi.exp
7268 * gdb.opencl/callfuncs.exp
7269 * gdb.opencl/convs_casts.exp
7270 * gdb.opencl/datatypes.exp
7271 * gdb.opencl/operators.exp
7272 * gdb.opencl/vec_comps.exp
7273 * gdb.opt/clobbered-registers-O2.exp
7274 * gdb.opt/inline-break.exp
7275 * gdb.opt/inline-bt.exp
7276 * gdb.opt/inline-cmds.exp
7277 * gdb.opt/inline-locals.exp
7278 * gdb.pascal/case-insensitive-symbols.exp
7279 * gdb.pascal/floats.exp
7280 * gdb.pascal/gdb11492.exp
7281 * gdb.python/lib-types.exp
7282 * gdb.python/py-arch.exp
7283 * gdb.python/py-as-string.exp
7284 * gdb.python/py-bad-printers.exp
7285 * gdb.python/py-block.exp
7286 * gdb.python/py-breakpoint-create-fail.exp
7287 * gdb.python/py-breakpoint.exp
7288 * gdb.python/py-caller-is.exp
7289 * gdb.python/py-cmd.exp
7290 * gdb.python/py-explore-cc.exp
7291 * gdb.python/py-explore.exp
7292 * gdb.python/py-finish-breakpoint.exp
7293 * gdb.python/py-finish-breakpoint2.exp
7294 * gdb.python/py-frame-args.exp
7295 * gdb.python/py-frame-inline.exp
7296 * gdb.python/py-frame.exp
7297 * gdb.python/py-framefilter-mi.exp
7298 * gdb.python/py-infthread.exp
7299 * gdb.python/py-lazy-string.exp
7300 * gdb.python/py-linetable.exp
7301 * gdb.python/py-mi-events.exp
7302 * gdb.python/py-mi-objfile.exp
7303 * gdb.python/py-mi.exp
7304 * gdb.python/py-objfile.exp
7305 * gdb.python/py-pp-integral.exp
7306 * gdb.python/py-pp-maint.exp
7307 * gdb.python/py-pp-re-notag.exp
7308 * gdb.python/py-pp-registration.exp
7309 * gdb.python/py-recurse-unwind.exp
7310 * gdb.python/py-strfns.exp
7311 * gdb.python/py-symbol.exp
7312 * gdb.python/py-symtab.exp
7313 * gdb.python/py-sync-interp.exp
7314 * gdb.python/py-typeprint.exp
7315 * gdb.python/py-unwind-maint.exp
7316 * gdb.python/py-unwind.exp
7317 * gdb.python/py-value-cc.exp
7318 * gdb.python/py-xmethods.exp
7319 * gdb.reverse/amd64-tailcall-reverse.exp
7320 * gdb.reverse/break-precsave.exp
7321 * gdb.reverse/break-reverse.exp
7322 * gdb.reverse/consecutive-precsave.exp
7323 * gdb.reverse/consecutive-reverse.exp
7324 * gdb.reverse/finish-precsave.exp
7325 * gdb.reverse/finish-reverse-bkpt.exp
7326 * gdb.reverse/finish-reverse.exp
7327 * gdb.reverse/fstatat-reverse.exp
7328 * gdb.reverse/getresuid-reverse.exp
7329 * gdb.reverse/i386-precsave.exp
7330 * gdb.reverse/i386-reverse.exp
7331 * gdb.reverse/i386-sse-reverse.exp
7332 * gdb.reverse/i387-env-reverse.exp
7333 * gdb.reverse/i387-stack-reverse.exp
7334 * gdb.reverse/insn-reverse.exp
7335 * gdb.reverse/machinestate-precsave.exp
7336 * gdb.reverse/machinestate.exp
7337 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7338 * gdb.reverse/pipe-reverse.exp
7339 * gdb.reverse/readv-reverse.exp
7340 * gdb.reverse/recvmsg-reverse.exp
7341 * gdb.reverse/rerun-prec.exp
7342 * gdb.reverse/s390-mvcle.exp
7343 * gdb.reverse/step-precsave.exp
7344 * gdb.reverse/step-reverse.exp
7345 * gdb.reverse/time-reverse.exp
7346 * gdb.reverse/until-precsave.exp
7347 * gdb.reverse/until-reverse.exp
7348 * gdb.reverse/waitpid-reverse.exp
7349 * gdb.reverse/watch-precsave.exp
7350 * gdb.reverse/watch-reverse.exp
7351 * gdb.rust/generics.exp
7352 * gdb.rust/methods.exp
7353 * gdb.rust/modules.exp
7354 * gdb.rust/simple.exp
7355 * gdb.server/connect-with-no-symbol-file.exp
7356 * gdb.server/ext-attach.exp
7357 * gdb.server/ext-restart.exp
7358 * gdb.server/ext-wrapper.exp
7359 * gdb.server/file-transfer.exp
7360 * gdb.server/server-exec-info.exp
7361 * gdb.server/server-kill.exp
7362 * gdb.server/server-mon.exp
7363 * gdb.server/wrapper.exp
7364 * gdb.stabs/exclfwd.exp
7365 * gdb.stabs/gdb11479.exp
7366 * gdb.threads/clone-new-thread-event.exp
7367 * gdb.threads/corethreads.exp
7368 * gdb.threads/current-lwp-dead.exp
7369 * gdb.threads/dlopen-libpthread.exp
7370 * gdb.threads/gcore-thread.exp
7371 * gdb.threads/sigstep-threads.exp
7372 * gdb.threads/watchpoint-fork.exp
7373 * gdb.trace/actions-changed.exp
7374 * gdb.trace/backtrace.exp
7375 * gdb.trace/change-loc.exp
7376 * gdb.trace/circ.exp
7377 * gdb.trace/collection.exp
7378 * gdb.trace/disconnected-tracing.exp
7379 * gdb.trace/ftrace.exp
7380 * gdb.trace/mi-trace-frame-collected.exp
7381 * gdb.trace/mi-trace-unavailable.exp
7382 * gdb.trace/mi-traceframe-changed.exp
7383 * gdb.trace/mi-tsv-changed.exp
7384 * gdb.trace/no-attach-trace.exp
7385 * gdb.trace/passc-dyn.exp
7386 * gdb.trace/qtro.exp
7387 * gdb.trace/range-stepping.exp
7388 * gdb.trace/read-memory.exp
7389 * gdb.trace/save-trace.exp
7390 * gdb.trace/signal.exp
7391 * gdb.trace/status-stop.exp
7392 * gdb.trace/tfile.exp
7393 * gdb.trace/trace-break.exp
7394 * gdb.trace/trace-buffer-size.exp
7395 * gdb.trace/trace-condition.exp
7396 * gdb.trace/tracefile-pseudo-reg.exp
7397 * gdb.trace/tstatus.exp
7398 * gdb.trace/unavailable.exp
7399 * gdb.trace/while-dyn.exp
7400 * gdb.trace/while-stepping.exp
7401
7402 2016-12-22 Doug Evans <xdje42@gmail.com>
7403
7404 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7405 and msymbols.
7406
7407 2016-12-19 Yao Qi <yao.qi@linaro.org>
7408
7409 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7410 (test_with_self): Don't call do_steps_and_nexts, and remove
7411 code about stepping into xmalloc.
7412
7413 2016-12-09 Yao Qi <yao.qi@linaro.org>
7414
7415 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7416
7417 2016-12-09 Yao Qi <yao.qi@linaro.org>
7418
7419 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7420
7421 2016-12-09 Pedro Alves <palves@redhat.com>
7422
7423 * gdb.base/all-architectures-0.exp: New file.
7424 * gdb.base/all-architectures-1.exp: New file.
7425 * gdb.base/all-architectures-2.exp: New file.
7426 * gdb.base/all-architectures-3.exp: New file.
7427 * gdb.base/all-architectures-4.exp: New file.
7428 * gdb.base/all-architectures-5.exp: New file.
7429 * gdb.base/all-architectures-6.exp: New file.
7430 * gdb.base/all-architectures-7.exp: New file.
7431 * gdb.base/all-architectures.exp.in: New file.
7432
7433 2016-12-09 Yao Qi <yao.qi@linaro.org>
7434
7435 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7436
7437 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7438
7439 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7440 possible.
7441 Remove useless pattern-matching code.
7442
7443 2016-12-02 Pedro Alves <palves@redhat.com>
7444
7445 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7446 procedure.
7447 (top level): Call it.
7448
7449 2016-12-02 Pedro Alves <palves@redhat.com>
7450
7451 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7452 New procedure.
7453 (top level): Call it.
7454
7455 2016-12-02 Pedro Alves <palves@redhat.com>
7456
7457 PR cli/20559
7458 * gdb.base/commands.exp (user_defined_command_args_eval): New
7459 procedure.
7460 (top level): Call it.
7461
7462 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7463
7464 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7465 timeout handling.
7466
7467 2016-12-02 Tom Tromey <tom@tromey.com>
7468
7469 * gdb.dwarf2/main-subprogram.c: New file.
7470 * gdb.dwarf2/main-subprogram.exp: New file.
7471
7472 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7473
7474 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7475 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7476 gdb_test_no_output for a couple of cases.
7477 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7478
7479 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7480
7481 Fix test names and standardize compilation error messages throughout
7482 the following files:
7483
7484 * gdb.ada/start.exp
7485 * gdb.arch/alpha-step.exp
7486 * gdb.arch/e500-prologue.exp
7487 * gdb.arch/ftrace-insn-reloc.exp
7488 * gdb.arch/gdb1291.exp
7489 * gdb.arch/gdb1431.exp
7490 * gdb.arch/gdb1558.exp
7491 * gdb.arch/i386-dr3-watch.exp
7492 * gdb.arch/i386-sse-stack-align.exp
7493 * gdb.arch/ia64-breakpoint-shadow.exp
7494 * gdb.arch/pa-nullify.exp
7495 * gdb.arch/powerpc-aix-prologue.exp
7496 * gdb.arch/thumb-bx-pc.exp
7497 * gdb.base/annota1.exp
7498 * gdb.base/annota3.exp
7499 * gdb.base/arrayidx.exp
7500 * gdb.base/assign.exp
7501 * gdb.base/attach.exp
7502 * gdb.base/auxv.exp
7503 * gdb.base/bang.exp
7504 * gdb.base/bfp-test.exp
7505 * gdb.base/bigcore.exp
7506 * gdb.base/bitfields2.exp
7507 * gdb.base/break-fun-addr.exp
7508 * gdb.base/break-probes.exp
7509 * gdb.base/call-rt-st.exp
7510 * gdb.base/callexit.exp
7511 * gdb.base/catch-fork-kill.exp
7512 * gdb.base/charset.exp
7513 * gdb.base/checkpoint.exp
7514 * gdb.base/comprdebug.exp
7515 * gdb.base/constvars.exp
7516 * gdb.base/coredump-filter.exp
7517 * gdb.base/cursal.exp
7518 * gdb.base/cvexpr.exp
7519 * gdb.base/detach.exp
7520 * gdb.base/display.exp
7521 * gdb.base/dmsym.exp
7522 * gdb.base/dprintf-pending.exp
7523 * gdb.base/dso2dso.exp
7524 * gdb.base/dtrace-probe.exp
7525 * gdb.base/dump.exp
7526 * gdb.base/enum_cond.exp
7527 * gdb.base/exe-lock.exp
7528 * gdb.base/exec-invalid-sysroot.exp
7529 * gdb.base/execl-update-breakpoints.exp
7530 * gdb.base/exprs.exp
7531 * gdb.base/fileio.exp
7532 * gdb.base/find.exp
7533 * gdb.base/finish.exp
7534 * gdb.base/fixsection.exp
7535 * gdb.base/foll-vfork.exp
7536 * gdb.base/frame-args.exp
7537 * gdb.base/gcore.exp
7538 * gdb.base/gdb1250.exp
7539 * gdb.base/global-var-nested-by-dso.exp
7540 * gdb.base/gnu-ifunc.exp
7541 * gdb.base/hashline1.exp
7542 * gdb.base/hashline2.exp
7543 * gdb.base/hashline3.exp
7544 * gdb.base/hbreak-in-shr-unsupported.exp
7545 * gdb.base/huge.exp
7546 * gdb.base/infcall-input.exp
7547 * gdb.base/info-fun.exp
7548 * gdb.base/info-shared.exp
7549 * gdb.base/jit-simple.exp
7550 * gdb.base/jit-so.exp
7551 * gdb.base/jit.exp
7552 * gdb.base/jump.exp
7553 * gdb.base/label.exp
7554 * gdb.base/lineinc.exp
7555 * gdb.base/logical.exp
7556 * gdb.base/longjmp.exp
7557 * gdb.base/macscp.exp
7558 * gdb.base/miscexprs.exp
7559 * gdb.base/new-ui-echo.exp
7560 * gdb.base/new-ui-pending-input.exp
7561 * gdb.base/new-ui.exp
7562 * gdb.base/nodebug.exp
7563 * gdb.base/nofield.exp
7564 * gdb.base/offsets.exp
7565 * gdb.base/overlays.exp
7566 * gdb.base/pending.exp
7567 * gdb.base/pointers.exp
7568 * gdb.base/pr11022.exp
7569 * gdb.base/printcmds.exp
7570 * gdb.base/prologue.exp
7571 * gdb.base/ptr-typedef.exp
7572 * gdb.base/realname-expand.exp
7573 * gdb.base/relativedebug.exp
7574 * gdb.base/relocate.exp
7575 * gdb.base/remote.exp
7576 * gdb.base/reread.exp
7577 * gdb.base/return2.exp
7578 * gdb.base/savedregs.exp
7579 * gdb.base/sep.exp
7580 * gdb.base/sepdebug.exp
7581 * gdb.base/sepsymtab.exp
7582 * gdb.base/set-inferior-tty.exp
7583 * gdb.base/setshow.exp
7584 * gdb.base/shlib-call.exp
7585 * gdb.base/sigaltstack.exp
7586 * gdb.base/siginfo-addr.exp
7587 * gdb.base/signals.exp
7588 * gdb.base/signull.exp
7589 * gdb.base/sigrepeat.exp
7590 * gdb.base/so-impl-ld.exp
7591 * gdb.base/solib-display.exp
7592 * gdb.base/solib-overlap.exp
7593 * gdb.base/solib-search.exp
7594 * gdb.base/solib-symbol.exp
7595 * gdb.base/structs.exp
7596 * gdb.base/structs2.exp
7597 * gdb.base/symtab-search-order.exp
7598 * gdb.base/twice.exp
7599 * gdb.base/unload.exp
7600 * gdb.base/varargs.exp
7601 * gdb.base/watchpoint-solib.exp
7602 * gdb.base/watchpoint.exp
7603 * gdb.base/whatis.exp
7604 * gdb.base/wrong_frame_bt_full.exp
7605 * gdb.btrace/dlopen.exp
7606 * gdb.cell/ea-standalone.exp
7607 * gdb.cell/ea-test.exp
7608 * gdb.cp/dispcxx.exp
7609 * gdb.cp/gdb2384.exp
7610 * gdb.cp/method2.exp
7611 * gdb.cp/nextoverthrow.exp
7612 * gdb.cp/pr10728.exp
7613 * gdb.disasm/am33.exp
7614 * gdb.disasm/h8300s.exp
7615 * gdb.disasm/mn10300.exp
7616 * gdb.disasm/sh3.exp
7617 * gdb.dwarf2/dw2-dir-file-name.exp
7618 * gdb.fortran/complex.exp
7619 * gdb.fortran/library-module.exp
7620 * gdb.guile/scm-pretty-print.exp
7621 * gdb.guile/scm-symbol.exp
7622 * gdb.guile/scm-type.exp
7623 * gdb.guile/scm-value.exp
7624 * gdb.linespec/linespec.exp
7625 * gdb.mi/gdb701.exp
7626 * gdb.mi/gdb792.exp
7627 * gdb.mi/mi-breakpoint-changed.exp
7628 * gdb.mi/mi-dprintf-pending.exp
7629 * gdb.mi/mi-dprintf.exp
7630 * gdb.mi/mi-exit-code.exp
7631 * gdb.mi/mi-pending.exp
7632 * gdb.mi/mi-solib.exp
7633 * gdb.mi/new-ui-mi-sync.exp
7634 * gdb.mi/pr11022.exp
7635 * gdb.mi/user-selected-context-sync.exp
7636 * gdb.opt/solib-intra-step.exp
7637 * gdb.python/py-events.exp
7638 * gdb.python/py-finish-breakpoint.exp
7639 * gdb.python/py-mi.exp
7640 * gdb.python/py-prettyprint.exp
7641 * gdb.python/py-shared.exp
7642 * gdb.python/py-symbol.exp
7643 * gdb.python/py-template.exp
7644 * gdb.python/py-type.exp
7645 * gdb.python/py-value.exp
7646 * gdb.reverse/solib-precsave.exp
7647 * gdb.reverse/solib-reverse.exp
7648 * gdb.server/solib-list.exp
7649 * gdb.stabs/weird.exp
7650 * gdb.threads/reconnect-signal.exp
7651 * gdb.threads/stepi-random-signal.exp
7652 * gdb.trace/actions.exp
7653 * gdb.trace/ax.exp
7654 * gdb.trace/backtrace.exp
7655 * gdb.trace/change-loc.exp
7656 * gdb.trace/deltrace.exp
7657 * gdb.trace/ftrace-lock.exp
7658 * gdb.trace/ftrace.exp
7659 * gdb.trace/infotrace.exp
7660 * gdb.trace/mi-tracepoint-changed.exp
7661 * gdb.trace/packetlen.exp
7662 * gdb.trace/passcount.exp
7663 * gdb.trace/pending.exp
7664 * gdb.trace/range-stepping.exp
7665 * gdb.trace/report.exp
7666 * gdb.trace/stap-trace.exp
7667 * gdb.trace/tfind.exp
7668 * gdb.trace/trace-break.exp
7669 * gdb.trace/trace-condition.exp
7670 * gdb.trace/trace-enable-disable.exp
7671 * gdb.trace/trace-mt.exp
7672 * gdb.trace/tracecmd.exp
7673 * gdb.trace/tspeed.exp
7674 * gdb.trace/tsv.exp
7675 * lib/perftest.exp
7676
7677 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7678
7679 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7680 with gdb_test_no_output.
7681 Use command as test name.
7682
7683 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7684
7685 Fix test names starting with uppercase throughout the files.
7686
7687 * gdb.ada/assign_1.exp
7688 * gdb.ada/boolean_expr.exp
7689 * gdb.base/arrayidx.exp
7690 * gdb.base/del.exp
7691 * gdb.base/gcore-buffer-overflow.exp
7692 * gdb.base/testenv.exp
7693 * gdb.compile/compile.exp
7694 * gdb.python/py-framefilter-invalidarg.exp
7695 * gdb.python/py-framefilter.exp
7696
7697 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7698
7699 Fix test names starting with uppercase throughout the files.
7700
7701 * gdb.ada/array_return.exp
7702 * gdb.ada/expr_delims.exp
7703 * gdb.ada/mi_dyn_arr.exp
7704 * gdb.ada/mi_interface.exp
7705 * gdb.ada/mi_var_array.exp
7706 * gdb.ada/watch_arg.exp
7707 * gdb.arch/alpha-step.exp
7708 * gdb.arch/altivec-regs.exp
7709 * gdb.arch/e500-regs.exp
7710 * gdb.arch/powerpc-d128-regs.exp
7711 * gdb.base/arrayidx.exp
7712 * gdb.base/break.exp
7713 * gdb.base/checkpoint.exp
7714 * gdb.base/debug-expr.exp
7715 * gdb.base/dmsym.exp
7716 * gdb.base/radix.exp
7717 * gdb.base/sepdebug.exp
7718 * gdb.base/testenv.exp
7719 * gdb.base/watch_thread_num.exp
7720 * gdb.base/watchpoint-cond-gone.exp
7721 * gdb.cell/break.exp
7722 * gdb.cell/ea-cache.exp
7723 * gdb.compile/compile.exp
7724 * gdb.cp/gdb2495.exp
7725 * gdb.gdb/selftest.exp
7726 * gdb.gdb/xfullpath.exp
7727 * gdb.go/hello.exp
7728 * gdb.go/integers.exp
7729 * gdb.objc/basicclass.exp
7730 * gdb.pascal/hello.exp
7731 * gdb.pascal/integers.exp
7732 * gdb.python/py-breakpoint.exp
7733 * gdb.python/py-cmd.exp
7734 * gdb.python/py-linetable.exp
7735 * gdb.python/py-xmethods.exp
7736 * gdb.python/python.exp
7737 * gdb.reverse/consecutive-precsave.exp
7738 * gdb.reverse/finish-precsave.exp
7739 * gdb.reverse/i386-precsave.exp
7740 * gdb.reverse/machinestate-precsave.exp
7741 * gdb.reverse/sigall-precsave.exp
7742 * gdb.reverse/solib-precsave.exp
7743 * gdb.reverse/step-precsave.exp
7744 * gdb.reverse/until-precsave.exp
7745 * gdb.reverse/watch-precsave.exp
7746 * gdb.threads/leader-exit.exp
7747 * gdb.threads/pthreads.exp
7748 * gdb.threads/wp-replication.exp
7749 * gdb.trace/actions.exp
7750 * gdb.trace/mi-tsv-changed.exp
7751 * gdb.trace/tsv.exp
7752
7753 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7754
7755 Fix test names starting with uppercase throughout the files.
7756
7757 * gdb.arch/i386-bp_permanent.exp
7758 * gdb.arch/i386-gnu-cfi.exp
7759 * gdb.base/disasm-end-cu.exp
7760 * gdb.base/macscp.exp
7761 * gdb.base/pending.exp
7762 * gdb.base/watch_thread_num.exp
7763 * gdb.cp/exception.exp
7764 * gdb.cp/gdb2495.exp
7765 * gdb.cp/local.exp
7766 * gdb.python/py-evsignal.exp
7767 * gdb.python/python.exp
7768 * gdb.trace/tracecmd.exp
7769
7770 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7771
7772 Fix test names starting with uppercase throughout the files.
7773
7774 * gdb.base/charset.exp
7775 * gdb.base/eval.exp
7776 * gdb.base/multi-forks.exp
7777 * gdb.guile/scm-progspace.exp
7778 * gdb.opencl/datatypes.exp
7779 * gdb.python/py-block.exp
7780 * gdb.python/py-function.exp
7781 * gdb.python/py-symbol.exp
7782 * gdb.python/py-symtab.exp
7783 * gdb.python/py-xmethods.exp
7784 * gdb.reverse/break-precsave.exp
7785 * gdb.reverse/break-reverse.exp
7786 * gdb.reverse/consecutive-precsave.exp
7787 * gdb.reverse/consecutive-reverse.exp
7788 * gdb.reverse/finish-precsave.exp
7789 * gdb.reverse/finish-reverse-bkpt.exp
7790 * gdb.reverse/finish-reverse.exp
7791 * gdb.reverse/fstatat-reverse.exp
7792 * gdb.reverse/getresuid-reverse.exp
7793 * gdb.reverse/i386-precsave.exp
7794 * gdb.reverse/i386-reverse.exp
7795 * gdb.reverse/i386-sse-reverse.exp
7796 * gdb.reverse/i387-stack-reverse.exp
7797 * gdb.reverse/insn-reverse.exp
7798 * gdb.reverse/machinestate-precsave.exp
7799 * gdb.reverse/machinestate.exp
7800 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7801 * gdb.reverse/pipe-reverse.exp
7802 * gdb.reverse/readv-reverse.exp
7803 * gdb.reverse/recvmsg-reverse.exp
7804 * gdb.reverse/rerun-prec.exp
7805 * gdb.reverse/s390-mvcle.exp
7806 * gdb.reverse/sigall-precsave.exp
7807 * gdb.reverse/sigall-reverse.exp
7808 * gdb.reverse/solib-precsave.exp
7809 * gdb.reverse/solib-reverse.exp
7810 * gdb.reverse/step-precsave.exp
7811 * gdb.reverse/step-reverse.exp
7812 * gdb.reverse/time-reverse.exp
7813 * gdb.reverse/until-precsave.exp
7814 * gdb.reverse/until-reverse.exp
7815 * gdb.reverse/waitpid-reverse.exp
7816 * gdb.reverse/watch-precsave.exp
7817 * gdb.reverse/watch-reverse.exp
7818
7819 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7820
7821 Fix test names starting with uppercase throughout the files.
7822
7823 * gdb.arch/i386-mpx-simple_segv.exp
7824 * gdb.arch/i386-mpx.exp
7825 * gdb.arch/i386-permbkpt.exp
7826 * gdb.arch/pa-nullify.exp
7827 * gdb.arch/powerpc-d128-regs.exp
7828 * gdb.arch/vsx-regs.exp
7829 * gdb.base/bfp-test.exp
7830 * gdb.base/break.exp
7831 * gdb.base/breakpoint-shadow.exp
7832 * gdb.base/callfuncs.exp
7833 * gdb.base/charset.exp
7834 * gdb.base/commands.exp
7835 * gdb.base/completion.exp
7836 * gdb.base/dfp-test.exp
7837 * gdb.base/echo.exp
7838 * gdb.base/ending-run.exp
7839 * gdb.base/eval.exp
7840 * gdb.base/expand-psymtabs.exp
7841 * gdb.base/float128.exp
7842 * gdb.base/floatn.exp
7843 * gdb.base/foll-exec-mode.exp
7844 * gdb.base/gdb1056.exp
7845 * gdb.base/gdb11531.exp
7846 * gdb.base/kill-after-signal.exp
7847 * gdb.base/multi-forks.exp
7848 * gdb.base/overlays.exp
7849 * gdb.base/pending.exp
7850 * gdb.base/sepdebug.exp
7851 * gdb.base/testenv.exp
7852 * gdb.base/valgrind-db-attach.exp
7853 * gdb.base/watch_thread_num.exp
7854 * gdb.base/watchpoint-cond-gone.exp
7855 * gdb.base/watchpoint.exp
7856 * gdb.base/watchpoints.exp
7857 * gdb.cp/arg-reference.exp
7858 * gdb.cp/baseenum.exp
7859 * gdb.cp/operator.exp
7860 * gdb.cp/shadow.exp
7861 * gdb.dwarf2/dw2-op-out-param.exp
7862 * gdb.dwarf2/dw2-reg-undefined.exp
7863 * gdb.go/chan.exp
7864 * gdb.go/hello.exp
7865 * gdb.go/integers.exp
7866 * gdb.go/methods.exp
7867 * gdb.go/package.exp
7868 * gdb.guile/scm-parameter.exp
7869 * gdb.guile/scm-progspace.exp
7870 * gdb.guile/scm-value.exp
7871 * gdb.mi/mi-pending.exp
7872 * gdb.mi/user-selected-context-sync.exp
7873 * gdb.multi/multi-attach.exp
7874 * gdb.multi/tids.exp
7875 * gdb.opt/clobbered-registers-O2.exp
7876 * gdb.pascal/floats.exp
7877 * gdb.pascal/integers.exp
7878 * gdb.python/py-block.exp
7879 * gdb.python/py-events.exp
7880 * gdb.python/py-parameter.exp
7881 * gdb.python/py-symbol.exp
7882 * gdb.python/py-symtab.exp
7883 * gdb.python/py-type.exp
7884 * gdb.python/py-value.exp
7885 * gdb.python/py-xmethods.exp
7886 * gdb.python/python.exp
7887 * gdb.reverse/break-precsave.exp
7888 * gdb.reverse/consecutive-precsave.exp
7889 * gdb.reverse/finish-precsave.exp
7890 * gdb.reverse/i386-precsave.exp
7891 * gdb.reverse/machinestate-precsave.exp
7892 * gdb.reverse/sigall-precsave.exp
7893 * gdb.reverse/solib-precsave.exp
7894 * gdb.reverse/step-precsave.exp
7895 * gdb.reverse/until-precsave.exp
7896 * gdb.reverse/watch-precsave.exp
7897 * gdb.server/ext-attach.exp
7898 * gdb.server/ext-restart.exp
7899 * gdb.server/ext-run.exp
7900 * gdb.server/ext-wrapper.exp
7901 * gdb.stabs/gdb11479.exp
7902 * gdb.stabs/weird.exp
7903 * gdb.threads/attach-many-short-lived-threads.exp
7904 * gdb.threads/kill.exp
7905 * gdb.threads/watchpoint-fork.exp
7906
7907 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7908
7909 Fix test names starting with uppercase throughout all the files below.
7910
7911 * gdb.ada/array_return.exp
7912 * gdb.ada/catch_ex.exp
7913 * gdb.ada/info_exc.exp
7914 * gdb.ada/mi_catch_ex.exp
7915 * gdb.ada/mi_dyn_arr.exp
7916 * gdb.ada/mi_ex_cond.exp
7917 * gdb.ada/mi_exc_info.exp
7918 * gdb.ada/mi_interface.exp
7919 * gdb.ada/mi_task_arg.exp
7920 * gdb.ada/mi_task_info.exp
7921 * gdb.ada/mi_var_array.exp
7922 * gdb.arch/alpha-step.exp
7923 * gdb.arch/amd64-disp-step.exp
7924 * gdb.arch/arm-disp-step.exp
7925 * gdb.arch/disp-step-insn-reloc.exp
7926 * gdb.arch/e500-prologue.exp
7927 * gdb.arch/ftrace-insn-reloc.exp
7928 * gdb.arch/gdb1558.exp
7929 * gdb.arch/i386-bp_permanent.exp
7930 * gdb.arch/i386-disp-step.exp
7931 * gdb.arch/i386-float.exp
7932 * gdb.arch/i386-gnu-cfi.exp
7933 * gdb.arch/ia64-breakpoint-shadow.exp
7934 * gdb.arch/mips16-thunks.exp
7935 * gdb.arch/pa-nullify.exp
7936 * gdb.arch/powerpc-aix-prologue.exp
7937 * gdb.arch/powerpc-power.exp
7938 * gdb.arch/ppc-dfp.exp
7939 * gdb.arch/s390-tdbregs.exp
7940 * gdb.arch/spu-info.exp
7941 * gdb.arch/spu-ls.exp
7942 * gdb.arch/thumb-bx-pc.exp
7943 * gdb.base/advance.exp
7944 * gdb.base/annota-input-while-running.exp
7945 * gdb.base/arrayidx.exp
7946 * gdb.base/asmlabel.exp
7947 * gdb.base/async.exp
7948 * gdb.base/attach-wait-input.exp
7949 * gdb.base/auto-connect-native-target.exp
7950 * gdb.base/batch-preserve-term-settings.exp
7951 * gdb.base/bfp-test.exp
7952 * gdb.base/bigcore.exp
7953 * gdb.base/bp-permanent.exp
7954 * gdb.base/break-always.exp
7955 * gdb.base/break-fun-addr.exp
7956 * gdb.base/break-idempotent.exp
7957 * gdb.base/break-main-file-remove-fail.exp
7958 * gdb.base/break-probes.exp
7959 * gdb.base/break-unload-file.exp
7960 * gdb.base/break.exp
7961 * gdb.base/call-ar-st.exp
7962 * gdb.base/call-rt-st.exp
7963 * gdb.base/call-sc.exp
7964 * gdb.base/call-signal-resume.exp
7965 * gdb.base/call-strs.exp
7966 * gdb.base/callexit.exp
7967 * gdb.base/callfuncs.exp
7968 * gdb.base/catch-gdb-caused-signals.exp
7969 * gdb.base/catch-signal-siginfo-cond.exp
7970 * gdb.base/catch-syscall.exp
7971 * gdb.base/compare-sections.exp
7972 * gdb.base/cond-eval-mode.exp
7973 * gdb.base/condbreak-call-false.exp
7974 * gdb.base/consecutive-step-over.exp
7975 * gdb.base/cursal.exp
7976 * gdb.base/disabled-location.exp
7977 * gdb.base/disasm-end-cu.exp
7978 * gdb.base/display.exp
7979 * gdb.base/double-prompt-target-event-error.exp
7980 * gdb.base/dprintf-bp-same-addr.exp
7981 * gdb.base/dprintf-detach.exp
7982 * gdb.base/dprintf-next.exp
7983 * gdb.base/dprintf-non-stop.exp
7984 * gdb.base/dprintf-pending.exp
7985 * gdb.base/dso2dso.exp
7986 * gdb.base/ending-run.exp
7987 * gdb.base/enum_cond.exp
7988 * gdb.base/examine-backward.exp
7989 * gdb.base/exe-lock.exp
7990 * gdb.base/exec-invalid-sysroot.exp
7991 * gdb.base/execl-update-breakpoints.exp
7992 * gdb.base/execution-termios.exp
7993 * gdb.base/fileio.exp
7994 * gdb.base/fixsection.exp
7995 * gdb.base/foll-exec-mode.exp
7996 * gdb.base/foll-exec.exp
7997 * gdb.base/fork-running-state.exp
7998 * gdb.base/frame-args.exp
7999 * gdb.base/fullpath-expand.exp
8000 * gdb.base/func-ptr.exp
8001 * gdb.base/gcore-relro-pie.exp
8002 * gdb.base/gdb1090.exp
8003 * gdb.base/gdb1555.exp
8004 * gdb.base/global-var-nested-by-dso.exp
8005 * gdb.base/gnu-ifunc.exp
8006 * gdb.base/hbreak-in-shr-unsupported.exp
8007 * gdb.base/hbreak-unmapped.exp
8008 * gdb.base/hook-stop.exp
8009 * gdb.base/infcall-input.exp
8010 * gdb.base/info-fun.exp
8011 * gdb.base/info-shared.exp
8012 * gdb.base/interrupt-noterm.exp
8013 * gdb.base/jit-so.exp
8014 * gdb.base/jit.exp
8015 * gdb.base/line-symtabs.exp
8016 * gdb.base/list.exp
8017 * gdb.base/longjmp.exp
8018 * gdb.base/macscp.exp
8019 * gdb.base/max-value-size.exp
8020 * gdb.base/nodebug.exp
8021 * gdb.base/nofield.exp
8022 * gdb.base/overlays.exp
8023 * gdb.base/paginate-after-ctrl-c-running.exp
8024 * gdb.base/paginate-bg-execution.exp
8025 * gdb.base/paginate-inferior-exit.exp
8026 * gdb.base/pending.exp
8027 * gdb.base/pr11022.exp
8028 * gdb.base/printcmds.exp
8029 * gdb.base/ptr-typedef.exp
8030 * gdb.base/ptype.exp
8031 * gdb.base/randomize.exp
8032 * gdb.base/range-stepping.exp
8033 * gdb.base/realname-expand.exp
8034 * gdb.base/relativedebug.exp
8035 * gdb.base/remote.exp
8036 * gdb.base/savedregs.exp
8037 * gdb.base/sepdebug.exp
8038 * gdb.base/set-noassign.exp
8039 * gdb.base/shlib-call.exp
8040 * gdb.base/shreloc.exp
8041 * gdb.base/sigaltstack.exp
8042 * gdb.base/sigbpt.exp
8043 * gdb.base/siginfo-addr.exp
8044 * gdb.base/siginfo-obj.exp
8045 * gdb.base/siginfo-thread.exp
8046 * gdb.base/signest.exp
8047 * gdb.base/signull.exp
8048 * gdb.base/sigrepeat.exp
8049 * gdb.base/skip.exp
8050 * gdb.base/so-impl-ld.exp
8051 * gdb.base/solib-corrupted.exp
8052 * gdb.base/solib-disc.exp
8053 * gdb.base/solib-display.exp
8054 * gdb.base/solib-overlap.exp
8055 * gdb.base/solib-search.exp
8056 * gdb.base/solib-symbol.exp
8057 * gdb.base/source-execution.exp
8058 * gdb.base/sss-bp-on-user-bp-2.exp
8059 * gdb.base/sss-bp-on-user-bp.exp
8060 * gdb.base/stack-checking.exp
8061 * gdb.base/stale-infcall.exp
8062 * gdb.base/step-break.exp
8063 * gdb.base/step-line.exp
8064 * gdb.base/step-over-exit.exp
8065 * gdb.base/step-test.exp
8066 * gdb.base/structs.exp
8067 * gdb.base/sym-file.exp
8068 * gdb.base/symtab-search-order.exp
8069 * gdb.base/term.exp
8070 * gdb.base/type-opaque.exp
8071 * gdb.base/unload.exp
8072 * gdb.base/until-nodebug.exp
8073 * gdb.base/until.exp
8074 * gdb.base/unwindonsignal.exp
8075 * gdb.base/watch-cond.exp
8076 * gdb.base/watch-non-mem.exp
8077 * gdb.base/watch_thread_num.exp
8078 * gdb.base/watchpoint-reuse-slot.exp
8079 * gdb.base/watchpoint-solib.exp
8080 * gdb.base/watchpoint.exp
8081 * gdb.btrace/dlopen.exp
8082 * gdb.cell/arch.exp
8083 * gdb.cell/break.exp
8084 * gdb.cell/bt.exp
8085 * gdb.cell/core.exp
8086 * gdb.cell/data.exp
8087 * gdb.cell/dwarfaddr.exp
8088 * gdb.cell/ea-cache.exp
8089 * gdb.cell/ea-standalone.exp
8090 * gdb.cell/ea-test.exp
8091 * gdb.cell/f-regs.exp
8092 * gdb.cell/fork.exp
8093 * gdb.cell/gcore.exp
8094 * gdb.cell/mem-access.exp
8095 * gdb.cell/ptype.exp
8096 * gdb.cell/registers.exp
8097 * gdb.cell/sizeof.exp
8098 * gdb.cell/solib-symbol.exp
8099 * gdb.cell/solib.exp
8100 * gdb.compile/compile-tls.exp
8101 * gdb.cp/exception.exp
8102 * gdb.cp/gdb2495.exp
8103 * gdb.cp/local.exp
8104 * gdb.cp/mb-inline.exp
8105 * gdb.cp/mb-templates.exp
8106 * gdb.cp/pr10687.exp
8107 * gdb.cp/pr9167.exp
8108 * gdb.cp/scope-err.exp
8109 * gdb.cp/templates.exp
8110 * gdb.cp/virtfunc.exp
8111 * gdb.dwarf2/dw2-dir-file-name.exp
8112 * gdb.dwarf2/dw2-single-line-discriminators.exp
8113 * gdb.fortran/complex.exp
8114 * gdb.fortran/library-module.exp
8115 * gdb.guile/guile.exp
8116 * gdb.guile/scm-cmd.exp
8117 * gdb.guile/scm-frame-inline.exp
8118 * gdb.guile/scm-objfile.exp
8119 * gdb.guile/scm-pretty-print.exp
8120 * gdb.guile/scm-symbol.exp
8121 * gdb.guile/scm-type.exp
8122 * gdb.guile/scm-value.exp
8123 * gdb.linespec/keywords.exp
8124 * gdb.linespec/ls-errs.exp
8125 * gdb.linespec/macro-relative.exp
8126 * gdb.linespec/thread.exp
8127 * gdb.mi/mi-breakpoint-changed.exp
8128 * gdb.mi/mi-dprintf-pending.exp
8129 * gdb.mi/mi-fullname-deleted.exp
8130 * gdb.mi/mi-logging.exp
8131 * gdb.mi/mi-pending.exp
8132 * gdb.mi/mi-solib.exp
8133 * gdb.mi/new-ui-mi-sync.exp
8134 * gdb.mi/user-selected-context-sync.exp
8135 * gdb.multi/dummy-frame-restore.exp
8136 * gdb.multi/multi-arch-exec.exp
8137 * gdb.multi/remove-inferiors.exp
8138 * gdb.multi/watchpoint-multi-exit.exp
8139 * gdb.opt/solib-intra-step.exp
8140 * gdb.perf/backtrace.exp
8141 * gdb.perf/single-step.exp
8142 * gdb.perf/skip-command.exp
8143 * gdb.perf/skip-prologue.exp
8144 * gdb.perf/solib.exp
8145 * gdb.python/lib-types.exp
8146 * gdb.python/py-as-string.exp
8147 * gdb.python/py-bad-printers.exp
8148 * gdb.python/py-block.exp
8149 * gdb.python/py-breakpoint.exp
8150 * gdb.python/py-cmd.exp
8151 * gdb.python/py-events.exp
8152 * gdb.python/py-evthreads.exp
8153 * gdb.python/py-finish-breakpoint.exp
8154 * gdb.python/py-finish-breakpoint2.exp
8155 * gdb.python/py-frame-inline.exp
8156 * gdb.python/py-frame.exp
8157 * gdb.python/py-inferior.exp
8158 * gdb.python/py-infthread.exp
8159 * gdb.python/py-mi.exp
8160 * gdb.python/py-objfile.exp
8161 * gdb.python/py-pp-maint.exp
8162 * gdb.python/py-pp-registration.exp
8163 * gdb.python/py-prettyprint.exp
8164 * gdb.python/py-recurse-unwind.exp
8165 * gdb.python/py-shared.exp
8166 * gdb.python/py-symbol.exp
8167 * gdb.python/py-symtab.exp
8168 * gdb.python/py-template.exp
8169 * gdb.python/py-type.exp
8170 * gdb.python/py-unwind-maint.exp
8171 * gdb.python/py-unwind.exp
8172 * gdb.python/py-value.exp
8173 * gdb.python/python.exp
8174 * gdb.reverse/finish-reverse-bkpt.exp
8175 * gdb.reverse/insn-reverse.exp
8176 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8177 * gdb.reverse/solib-precsave.exp
8178 * gdb.reverse/solib-reverse.exp
8179 * gdb.stabs/gdb11479.exp
8180 * gdb.stabs/weird.exp
8181 * gdb.threads/fork-child-threads.exp
8182 * gdb.threads/fork-plus-threads.exp
8183 * gdb.threads/fork-thread-pending.exp
8184 * gdb.threads/forking-threads-plus-breakpoint.exp
8185 * gdb.threads/hand-call-in-threads.exp
8186 * gdb.threads/interrupted-hand-call.exp
8187 * gdb.threads/linux-dp.exp
8188 * gdb.threads/local-watch-wrong-thread.exp
8189 * gdb.threads/next-while-other-thread-longjmps.exp
8190 * gdb.threads/non-ldr-exit.exp
8191 * gdb.threads/pending-step.exp
8192 * gdb.threads/print-threads.exp
8193 * gdb.threads/process-dies-while-detaching.exp
8194 * gdb.threads/process-dies-while-handling-bp.exp
8195 * gdb.threads/pthreads.exp
8196 * gdb.threads/queue-signal.exp
8197 * gdb.threads/reconnect-signal.exp
8198 * gdb.threads/signal-command-handle-nopass.exp
8199 * gdb.threads/signal-command-multiple-signals-pending.exp
8200 * gdb.threads/signal-delivered-right-thread.exp
8201 * gdb.threads/signal-sigtrap.exp
8202 * gdb.threads/sigthread.exp
8203 * gdb.threads/staticthreads.exp
8204 * gdb.threads/stepi-random-signal.exp
8205 * gdb.threads/thread-unwindonsignal.exp
8206 * gdb.threads/thread_check.exp
8207 * gdb.threads/thread_events.exp
8208 * gdb.threads/tid-reuse.exp
8209 * gdb.threads/tls-nodebug.exp
8210 * gdb.threads/tls-shared.exp
8211 * gdb.threads/tls-so_extern.exp
8212 * gdb.threads/tls.exp
8213 * gdb.threads/wp-replication.exp
8214 * gdb.trace/actions-changed.exp
8215 * gdb.trace/actions.exp
8216 * gdb.trace/backtrace.exp
8217 * gdb.trace/change-loc.exp
8218 * gdb.trace/collection.exp
8219 * gdb.trace/deltrace.exp
8220 * gdb.trace/disconnected-tracing.exp
8221 * gdb.trace/entry-values.exp
8222 * gdb.trace/ftrace-lock.exp
8223 * gdb.trace/ftrace.exp
8224 * gdb.trace/infotrace.exp
8225 * gdb.trace/mi-trace-frame-collected.exp
8226 * gdb.trace/mi-trace-unavailable.exp
8227 * gdb.trace/mi-traceframe-changed.exp
8228 * gdb.trace/mi-tracepoint-changed.exp
8229 * gdb.trace/mi-tsv-changed.exp
8230 * gdb.trace/no-attach-trace.exp
8231 * gdb.trace/packetlen.exp
8232 * gdb.trace/passc-dyn.exp
8233 * gdb.trace/passcount.exp
8234 * gdb.trace/pending.exp
8235 * gdb.trace/pr16508.exp
8236 * gdb.trace/qtro.exp
8237 * gdb.trace/range-stepping.exp
8238 * gdb.trace/read-memory.exp
8239 * gdb.trace/report.exp
8240 * gdb.trace/save-trace.exp
8241 * gdb.trace/signal.exp
8242 * gdb.trace/stap-trace.exp
8243 * gdb.trace/status-stop.exp
8244 * gdb.trace/strace.exp
8245 * gdb.trace/tfile.exp
8246 * gdb.trace/tfind.exp
8247 * gdb.trace/trace-break.exp
8248 * gdb.trace/trace-condition.exp
8249 * gdb.trace/trace-enable-disable.exp
8250 * gdb.trace/trace-mt.exp
8251 * gdb.trace/tracecmd.exp
8252 * gdb.trace/tracefile-pseudo-reg.exp
8253 * gdb.trace/tspeed.exp
8254 * gdb.trace/tstatus.exp
8255 * gdb.trace/tsv.exp
8256 * gdb.trace/unavailable.exp
8257 * gdb.trace/while-dyn.exp
8258 * gdb.trace/while-stepping.exp
8259 * lib/gdb-guile.exp
8260 * lib/gdb.exp
8261 * lib/mi-support.exp
8262 * lib/pascal.exp
8263 * lib/perftest.exp
8264 * lib/prelink-support.exp
8265 * lib/selftest-support.exp
8266
8267 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8268
8269 * Makefile.in: Include disable-implicit-rules.mk.
8270
8271 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8272
8273 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8274 non-byte-aligned bit fields.
8275
8276 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8277
8278 PR gdb/12616
8279 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8280 respects the DW_AT_data_bit_offset attribute.
8281
8282 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8283
8284 * gdb.base/default.exp: Fix output of "set language".
8285
8286 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8287
8288 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8289 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8290 make.
8291 * configure.ac: Remove checks for the make program.
8292 * configure: Re-generate.
8293
8294 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8295
8296 * gdb.python/py-recurse-unwind.c (main): Add loop.
8297 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8298 to read_register() and gdb.parse_and_eval(). Make each code
8299 call a separate case that can be individually tested.
8300 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8301 proc. Call cont_and_backtrace for each of the code paths that
8302 we want to test in the unwinder.
8303
8304 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8305
8306 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8307 the definition of struct S.
8308
8309 2016-11-11 Catherine Moore <clm@codesourcery.com>
8310
8311 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8312
8313 2016-11-09 Pedro Alves <palves@redhat.com>
8314
8315 * gdb.base/commands.exp (runto_or_return): New procedure.
8316 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8317 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8318 (progvar_simple_while_test, progvar_complex_if_while_test)
8319 (if_while_breakpoint_command_test)
8320 (infrun_breakpoint_command_test, breakpoint_command_test)
8321 (user_defined_command_test, watchpoint_command_test)
8322 (test_command_prompt_position, redefine_hook_test)
8323 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8324 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8325 multi_line_input and multi_line. Remove gdb_expect and
8326 gdb_stop_suppressing_tests uses.
8327 * lib/gdb.exp (valnum_re): New global.
8328 (multi_line_input): New procedure.
8329
8330 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8331
8332 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8333 Remove.
8334 (test_setup): Define with proc_with_prefix.
8335 (test_cli_inferior): Likewise.
8336 (test_cli_thread): Likewise.
8337 (test_cli_frame): Likewise.
8338 (test_cli_select_frame): Likewise.
8339 (test_cli_up_down): Likewise.
8340 (test_mi_thread_select): Likewise.
8341 (test_mi_stack_select_frame): Likewise.
8342 (test_cli_in_mi_inferior): Likewise.
8343 (test_cli_in_mi_thread): Likewise.
8344 (test_cli_in_mi_frame): Likewise.
8345 (top level): Do not use with_test_prefix_procname.
8346
8347 2016-11-09 Pedro Alves <palves@redhat.com>
8348
8349 * gdb.base/commands.exp (gdbvar_simple_if_test)
8350 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8351 (progvar_simple_if_test, progvar_simple_while_test)
8352 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8353 (infrun_breakpoint_command_test, breakpoint_command_test)
8354 (user_defined_command_test, watchpoint_command_test)
8355 (test_command_prompt_position, deprecated_command_test)
8356 (bp_deleted_in_command, temporary_breakpoint_commands)
8357 (stray_arg0_test, source_file_with_indented_comment)
8358 (recursive_source_test, if_commands_test)
8359 (error_clears_commands_left, redefine_hook_test)
8360 (redefine_backtrace_test): Use proc_with_prefix.
8361 * lib/gdb.exp (proc_with_prefix): New proc.
8362
8363 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8364
8365 * gdb.base/tui-layout.c: New file.
8366 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8367 disassembly window contains very long lines.
8368
8369 2016-11-08 Tom Tromey <tom@tromey.com>
8370
8371 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8372 depend on Python 2.
8373
8374 2016-11-08 Tom Tromey <tom@tromey.com>
8375
8376 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8377 New method.
8378
8379 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8380
8381 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8382
8383 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8384
8385 * gdb.rust/simple.rs: Add test for univariant enums without
8386 discriminants and for encoded struct-like enums.
8387
8388 2016-10-28 Pedro Alves <palves@redhat.com>
8389
8390 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8391 gdb_test_multiple, tighten regexps and match symtabs and line
8392 tables incrementally.
8393
8394 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8395
8396 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8397 general.
8398
8399 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8400
8401 * gdb.base/exec-invalid-sysroot.exp: New file.
8402
8403 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8404
8405 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8406
8407 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8408
8409 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8410
8411 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8412
8413 * gdb.base/killed-outside.exp: Remove $options from a call to
8414 `prepare_for_testing'.
8415
8416 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8417
8418 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8419 Change test message.
8420
8421 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8422
8423 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8424 Update comment.
8425
8426 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8427
8428 * gdb.trace/mi-trace-save.exp: New file.
8429
8430 2016-10-13 Yao Qi <yao.qi@linaro.org>
8431
8432 * gdb.base/code_elim.exp (get_var_address): Remove.
8433 * gdb.base/relocate.exp: Likewise.
8434 * gdb.base/shreloc.exp: Likewise.
8435 * lib/gdb.exp (get_var_address): New.
8436
8437 2016-10-13 Yao Qi <yao.qi@linaro.org>
8438
8439 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8440 floating point tests if $skip_float_test is false.
8441
8442 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8443
8444 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8445 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8446 argc values.
8447 Add 1 to argc so we guarantee distinct initial/modified argc values.
8448
8449 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8450
8451 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8452
8453 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8454
8455 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8456 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8457 * gdb.arch/vsx-regs.exp: Likewise.
8458
8459 2016-10-07 Yao Qi <yao.qi@linaro.org>
8460
8461 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8462
8463 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8464
8465 * gdb.python/python.exp: Test decode_line("*0").
8466
8467 2016-10-06 Doug Evans <dje@google.com>
8468
8469 * gdb.python/py-value.exp (test_value_creation): Add test for large
8470 unsigned 64-bit value.
8471
8472 2016-10-06 Tom Tromey <tom@tromey.com>
8473
8474 * gdb.compile/compile.exp: Change java tests to rust.
8475 * gdb.base/setshow.exp: Change java tests to rust.
8476 * gdb.base/default.exp: Remove java from language list.
8477 * README (Examples): Update language example.
8478 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8479 test.
8480 * lib/gdb.exp (skip_java_tests): Remove.
8481 * lib/java.exp: Remove.
8482 * gdb.java: Remove.
8483
8484 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8485
8486 * gdb.arch/mips-fcr.exp: New test.
8487 * gdb.arch/mips-fcr.c: Source for the new test.
8488
8489 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8490
8491 * gdb.base/solib-disc.exp: Use `standard_output_file'
8492 throughout.
8493
8494 2016-10-06 Pedro Alves <palves@redhat.com>
8495
8496 * gdb.base/jit-simple-dl.c: New file.
8497 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8498 * gdb.base/jit-simple.c: ... this.
8499 * gdb.base/jit-simple.exp (jit_run): Delete.
8500 (build_jit): New proc.
8501 (jit_test_reread): Recompile either the main program or the shared
8502 library, depending on what is being tested. Skip changing address
8503 if caller wants to. Compare before/after addresses. If testing
8504 standalone, explicitly load the binary. Test "maint info
8505 breakpoints".
8506 (top level): Add "standalone vs shared lib" and "change address"
8507 vs "same address" axes.
8508
8509 2016-10-06 Pedro Alves <palves@redhat.com>
8510
8511 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8512 call.
8513 (jit_run): Delete.
8514 (jit_test_reread): Use with_test_prefix. Reload the main binary
8515 explicitly. Compare the before/after addresses of the JIT
8516 descriptor.
8517
8518 2016-08-15 Doug Evans <dje@google.com>
8519
8520 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8521 for single bitfields is bool.
8522 * gdb.xml/tdesc-regs.exp: Ditto.
8523
8524 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8525
8526 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8527
8528 2016-10-05 Yao Qi <yao.qi@linaro.org>
8529
8530 * lib/gdb.exp (support_complex_tests): Return zero if
8531 gdb_skip_float_test return true.
8532
8533 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8534 Simon Marchi <simon.marchi@ericsson.com>
8535
8536 PR gdb/20487
8537 * gdb.mi/user-selected-context-sync.exp: New file.
8538 * gdb.mi/user-selected-context-sync.c: New file.
8539
8540 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8541 Simon Marchi <simon.marchi@ericsson.com>
8542
8543 PR gdb/20487
8544 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8545 =thread-select-event check.
8546
8547 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8548
8549 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8550 the compulsory L operand changes.
8551 * gdb.arch/powerpc-power.s: Likewise.
8552
8553 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8554
8555 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8556 * gdb.base/jit-attach-pie.c: New file.
8557 * gdb.base/jit-attach-pie.exp: New file.
8558
8559 2016-09-28 Pedro Alves <palves@redhat.com>
8560
8561 * gdb.base/infcall-input.c: New file.
8562 * gdb.base/infcall-input.exp: New file.
8563
8564 2016-09-22 Yao Qi <yao.qi@linaro.org>
8565
8566 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8567 (gdb_exit): Rename it to ...
8568 (gdbserver_gdb_exit): ... Close GDBserver.
8569 (gdb_exit): New proc, call gdbserver_gdb_exit.
8570 (mi_gdb_exit): Likewise.
8571
8572 2016-09-22 Yao Qi <yao.qi@linaro.org>
8573
8574 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8575 path.
8576 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8577 Remove duplication.
8578
8579 2016-09-22 Yao Qi <yao.qi@linaro.org>
8580
8581 * lib/gdbserver-support.exp: Check the existence of
8582 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8583
8584 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8585
8586 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8587
8588 2016-09-21 Tom Tromey <tom@tromey.com>
8589
8590 PR gdb/20604:
8591 * gdb.base/quit.exp: New file.
8592
8593 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8594
8595 * .gitignore: New file.
8596
8597 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8598
8599 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8600 throughout.
8601
8602 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8603
8604 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8605
8606 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8607
8608 * gdb.cp/casts.cc (decltype): Move it ...
8609 (main): ... with its call to ...
8610 * gdb.cp/casts03.cc: ... a new file.
8611 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8612
8613 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8614
8615 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8616
8617 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8618
8619 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8620 and sync up the test with tests in gas/testsuite/gas/ppc.
8621 * gdb.arch/powerpc-power.exp: Likewise.
8622
8623 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8624
8625 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8626
8627 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8628 Jan Kratochvil <jan.kratochvil@redhat.com>
8629
8630 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8631 make m1's definition to be different from m2's. Use 'dummy' as an
8632 argument for probe 'two'.
8633
8634 2016-09-10 Jon Beniston <jon@beniston.com>
8635
8636 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8637 for sim target.
8638
8639 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8640
8641 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8642 variable declaration.
8643 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8644 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8645 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8646 received HWCAP as its argument.
8647
8648 2016-09-06 Pedro Alves <palves@redhat.com>
8649
8650 * gdb.base/new-ui-pending-input.c: New file.
8651 * gdb.base/new-ui-pending-input.exp: New file.
8652 * gdb.exp (clear_gdb_spawn_id): New procedure.
8653 (with_spawn_id): Check whether gdb_spawn_id exists before
8654 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8655 on exit.
8656
8657 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8658
8659 * gdb.base/float128.c: New file.
8660 * gdb.base/float128.exp: Likewise.
8661 * gdb.base/floatn.c: Likewise.
8662 * gdb.base/floatn.exp: Likewise.
8663
8664 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8665
8666 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8667
8668 2016-09-05 Pedro Alves <palves@redhat.com>
8669
8670 PR backtrace/19927
8671 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8672 unwinders are immediately called as side effect of "source" or
8673 "disable unwinder" commands.
8674 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8675
8676 2016-09-02 Yao Qi <yao.qi@linaro.org>
8677
8678 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8679 is true and $type is "float" or "double".
8680
8681 2016-09-02 Yao Qi <yao.qi@linaro.org>
8682
8683 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8684 true.
8685 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8686 * gdb.base/call-rt-st.exp: Likewise.
8687 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8688 return value instead of gdb,skip_float_test.
8689 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8690 (do_function_calls): Use its return value instead of
8691 gdb,skip_float_test.
8692 * gdb.base/finish.exp: Likewise.
8693 * gdb.base/funcargs.exp: Likewise.
8694 * gdb.base/return.exp: Likewise.
8695 * gdb.base/return2.exp: Likewise.
8696 * gdb.base/varargs.exp: Likewise.
8697 * lib/gdb.exp (gdb_skip_float_test): Change it to
8698 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8699
8700 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8701
8702 * gdb.multi/tids.exp: Test "thread apply all".
8703
8704 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8705
8706 * gdb.base/default.exp (tty): Remove.
8707
8708 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8709
8710 * gdb.python/py-recurse-unwind.c: New file.
8711 * gdb.python/py-recurse-unwind.py: New file.
8712 * gdb.python/py-recurse-unwind.exp: New file.
8713
8714 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8715
8716 * gdb.base/set-inferior-tty.exp: New file.
8717 * gdb.base/set-inferior-tty.c: New file.
8718
8719 2016-08-23 Pedro Alves <palves@redhat.com>
8720
8721 PR gdb/20494
8722 * gdb.base/new-ui-echo.c: New file.
8723 * gdb.base/new-ui-echo.exp: New file.
8724
8725 2016-08-23 Yao Qi <yao.qi@linaro.org>
8726
8727 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8728 gdbserver_spawn.
8729 * gdb.server/connect-without-multi-process.exp (do_test):
8730 Likewise.
8731
8732 2016-08-23 Yao Qi <yao.qi@linaro.org>
8733
8734 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8735 standalone_txt. Delete gdb_txt and standalone_txt on host
8736 and target. Spawn the binary on target. Copy files from
8737 target to host.
8738
8739 2016-08-22 Pedro Alves <palves@redhat.com>
8740
8741 PR gdb/20505
8742 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8743 with_test_prefix. Factor out bits to ...
8744 (test_no_vdso): ... this new procedure.
8745
8746 2016-08-19 Carl Love <cel@us.ibm.com>
8747
8748 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8749 maintaining separate logic for constructing the output path.
8750 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8751 * gdb.arch/ppc-dfp.exp: Likewise.
8752 * gdb.arch/ppc-fp.exp: Likewise.
8753 * gdb.arch/vsx-regs.exp: Likewise.
8754 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8755 binprefix for generating the additional binary files.
8756
8757 2016-08-19 Pedro Alves <palves@redhat.com>
8758
8759 * gdb.trace/mi-trace-frame-collected.exp
8760 (test_trace_frame_collected): On x32, expect two registers.
8761
8762 2016-08-18 Carl Love <cel@us.ibm.com>
8763
8764 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8765 and sync up the test with tests in gas/testsuite/gas/ppc.
8766 * gdb.arch/powerpc-power.exp: Likewise.
8767
8768 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8769
8770 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8771 expected error message.
8772
8773 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8774
8775 * gdb.multi/remove-inferiors.exp: New file.
8776 * gdb.multi/remove-inferiors.c: New file.
8777
8778 2016-08-12 Yao Qi <yao.qi@linaro.org>
8779
8780 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8781 argument list.
8782
8783 2016-08-10 Pedro Alves <palves@redhat.com>
8784
8785 PR gdb/19187
8786 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8787 setup_kfails.
8788
8789 2016-08-09 Pedro Alves <palves@redhat.com>
8790 Simon Marchi <simon.marchi@ericsson.com>
8791
8792 PR gdb/20418
8793 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8794 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8795
8796 2016-08-09 Pedro Alves <palves@redhat.com>
8797
8798 PR mi/20431
8799 * gdb.mi/mi-cmd-error.exp: New file.
8800
8801 2016-08-09 Pedro Alves <palves@redhat.com>
8802
8803 PR gdb/18653
8804 * gdb.base/signals-state-child.c: New file.
8805 * gdb.base/signals-state-child.exp: New file.
8806 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8807
8808 2016-08-09 Pedro Alves <palves@redhat.com>
8809
8810 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8811
8812 2016-08-03 Tom Tromey <tom@tromey.com>
8813
8814 PR python/18565:
8815 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8816
8817 2016-08-01 Yao Qi <yao.qi@linaro.org>
8818
8819 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8820 variable mode to "multi-process" if $multi_process is 1, otherwise
8821 set it to "single-process".
8822
8823 2016-08-01 Yao Qi <yao.qi@linaro.org>
8824
8825 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8826 * gdb.cp/cpexprs.exp: Likewise.
8827 * gdb.cp/m-static.exp: Likewise.
8828
8829 2016-07-26 Tom Tromey <tom@tromey.com>
8830
8831 PR python/20190:
8832 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8833 test.
8834
8835 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8836
8837 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8838 selecting assembly source files.
8839 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8840 assembly source files.
8841 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8842 assembly source files.
8843 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8844 selecting assembly source files.
8845
8846 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8847
8848 * gdb.base/new-ui.exp (do_test_invalid_args): New
8849 procedure.
8850
8851 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8852
8853 * gdb.btrace/reconnect.c: New file.
8854 * gdb.btrace/reconnect.exp: New file.
8855
8856 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8857
8858 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8859 to test_catch_syscall_group.
8860 (test_catch_syscall_group): New.
8861
8862 2016-07-21 Tom Tromey <tom@tromey.com>
8863
8864 * gdb.rust/simple.rs (main): Use empty struct expression.
8865 * gdb.rust/simple.exp: Add tests for empty struct expression.
8866
8867 2016-07-21 Yao Qi <yao.qi@linaro.org>
8868
8869 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8870 if gdb_skip_xml_test is true on some targets.
8871
8872 2016-07-21 Yao Qi <yao.qi@linaro.org>
8873
8874 * gdb.server/solib-list.exp: Unset last_loaded_file.
8875
8876 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8877
8878 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8879 "step into captured_main (args)".
8880
8881 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8882
8883 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8884
8885 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8886
8887 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8888
8889 2016-07-19 Pedro Alves <palves@redhat.com>
8890
8891 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8892 * gdb.opt/inline-bt.exp: Likewise.
8893 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8894 additional_flags=-Winline.
8895 * gdb.opt/inline-locals.exp: Likewise.
8896 * gdb.opt/inline-markers.c (ATTR): Define.
8897 (inlined_fn): Use it.
8898
8899 2016-07-19 Yao Qi <yao.qi@linaro.org>
8900
8901 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8902 (test_with_self): Remove some code. Remove argument executable.
8903 (top-level): Use do_self_tests.
8904
8905 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
8906 Don Breazeal <donb@codesourcery.com>
8907
8908 * gdb.base/maint.exp: Escape paths used in regular expressions.
8909 * gdb.stabs/weird.exp: Likewise.
8910
8911 2016-07-13 Tom Tromey <tom@tromey.com>
8912
8913 PR python/15620, PR python/18620:
8914 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8915 (test_bkpt_events): New procs.
8916
8917 2016-07-13 Tom Tromey <tom@tromey.com>
8918
8919 PR python/17698:
8920 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8921 test.
8922 (test_watchpoints): Likewise.
8923 (test_bkpt_pending): New proc.
8924
8925 2016-07-13 Tom Tromey <tom@tromey.com>
8926
8927 PR cli/18053:
8928 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8929 completion test.
8930
8931 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8932
8933 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8934 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8935 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8936 f_label.
8937 (g): Rename g_end_lbl to g_label.
8938 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8939 low_pc and high_pc.
8940 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8941
8942 2016-07-12 Tom Tromey <tom@tromey.com>
8943
8944 PR python/19293:
8945 * gdb.python/py-unwind-maint.exp: Update tests.
8946
8947 2016-07-12 Yao Qi <yao.qi@linaro.org>
8948
8949 * lib/selftest-support.exp (selftest_setup): Match the output
8950 when captured_main is inlined.
8951
8952 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8953
8954 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8955 New variables.
8956 (print this%a, print this%b, print this): New tests.
8957 * gdb.fortran/derived-types.f90 (this): New object and
8958 initialization.
8959
8960 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8961
8962 * gdb.ada/arraydim.exp: Remove extra directory level in build
8963 directory.
8964
8965 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8966
8967 * lib/ada.exp: Remove extra directory level in build directory.
8968 * gdb.ada/cond_lang.exp: Likewise.
8969 * gdb.ada/exec_changed.exp: Likewise.
8970 * gdb.ada/lang_switch.exp: Likewise.
8971
8972 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8973
8974 * simple.rs: Add test for raw pointer subscripting.
8975 * simple.exp: Add test expectations.
8976
8977 2016-07-05 Yao Qi <yao.qi@linaro.org>
8978
8979 * gdb.mi/mi-reverse.exp: Match =record-started output.
8980
8981 2016-07-01 Pedro Alves <palves@redhat.com>
8982
8983 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8984 procedure.
8985 (jit_reader_test): Test the jit reader's unwinder.
8986 * gdb.base/jithost.c (jit_function_00_code): New global.
8987 (main): Use memcpy to fill in the mmapped code, instead of poking
8988 bytes manually here.
8989 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8990 value.
8991 (read_debug_info): Save the function's range.
8992 (read_sp): New function.
8993 (unwind_frame): Use it. Also unwind RBP.
8994 (get_frame_id): Use read_sp.
8995 (gdb_init_reader): Use calloc instead of malloc.
8996 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8997 parameter. Use gdb_test_multiple.
8998
8999 2016-07-01 Pedro Alves <palves@redhat.com>
9000 Antoine Tremblay <antoine.tremblay@ericsson.com>
9001
9002 * gdb.threads/process-dies-while-detaching.c: New file.
9003 * gdb.threads/process-dies-while-detaching.exp: New file.
9004
9005 2016-07-01 Pedro Alves <palves@redhat.com>
9006
9007 * gdb.multi/watchpoint-multi-exit.c: New file.
9008 * gdb.multi/watchpoint-multi-exit.exp: New file.
9009
9010 2016-06-30 Pedro Alves <palves@redhat.com>
9011
9012 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9013 unset inferior_spawn_id.
9014
9015 2016-06-30 Pedro Alves <palves@redhat.com>
9016
9017 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9018 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9019
9020 2016-06-29 Yao Qi <yao.qi@linaro.org>
9021
9022 * gdb.base/return.c: Add copyright header.
9023
9024 2016-06-29 Tom Tromey <tom@tromey.com>
9025
9026 PR python/20129:
9027 * gdb.python/py-framefilter.exp: Add tests for setting priority
9028 and disabling of non-existent frame filter.
9029
9030 2016-06-29 Yao Qi <yao.qi@linaro.org>
9031
9032 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9033 0x0f07ff.
9034
9035 2016-06-28 Yao Qi <yao.qi@linaro.org>
9036
9037 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9038 triplets. Start gdb, execute catch syscall, and continue. Check
9039 gdb's output to determine catch syscall is supported.
9040
9041 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9042
9043 * gdb.rust/simple.rs: Add test for returning unit in a function.
9044 * gdb.rust/simple.exp: Add expectation for functions returning
9045 unit.
9046
9047 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9048
9049 * gdb.python/py-breakpoint-create-fail.c,
9050 gdb.python/py-breakpoint-create-fail.exp,
9051 gdb.python/py-breakpoint-create-fail.py: New testcase.
9052
9053 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9054
9055 PR gdb/20239
9056 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9057 * gdb.rust/simple.exp: Add test expectations for new NonZero
9058 tests.
9059
9060 2016-06-24 David Taylor <dtaylor@emc.com>
9061
9062 * gdb.base/offsets.exp: New file.
9063 * gdb.base/offsets.c: New file.
9064
9065 2016-06-23 Tom Tromey <tom@tromey.com>
9066
9067 PR gdb/16483:
9068 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9069 before any filters are loaded.
9070
9071 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9072
9073 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9074 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9075 structs.
9076 * gdb.fortran/derived-type-function.exp: New file.
9077 * gdb.fortran/derived-type-function.f90: New file.
9078
9079
9080 2016-06-21 Pedro Alves <palves@redhat.com>
9081
9082 * gdb.base/new-ui.exp: New file.
9083 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9084 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9085 (with_spawn_id): New procedure.
9086
9087 2016-06-21 Pedro Alves <palves@redhat.com>
9088
9089 * gdb.mi/mi-exec-run.exp: New file.
9090
9091 2016-06-21 Pedro Alves <palves@redhat.com>
9092
9093 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9094 breakpoint command's output on the main UI.
9095 (test_break): New procedure, factored out from calls in the top
9096 level.
9097 (top level): Use foreach_with_prefix to test MI as main UI and as
9098 separate UI.
9099
9100 2016-06-21 Pedro Alves <palves@redhat.com>
9101
9102 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9103 (test_awatch_creation_and_listing)
9104 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9105 Remove 'type' parameter.
9106 (test_watchpoint_all): New parameter mi_mode. Remove
9107 with_test_prefix.
9108 (top level): Use foreach_with_prefix, and add main/separate UI MI
9109 testing axis.
9110
9111 2016-06-21 Pedro Alves <palves@redhat.com>
9112
9113 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9114 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9115 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9116 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9117 (gdb_main_spawn_id, mi_spawn_id): Declare and
9118 comment.
9119 (mi_create_inferior_pty): New procedure,
9120 factored out from default_mi_gdb_start.
9121 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9122 procedures.
9123 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9124 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9125 Use mi_create_inferior_pty.
9126 (mi_gdb_start): Use eval to pass down args list.
9127
9128 2016-06-21 Pedro Alves <palves@redhat.com>
9129
9130 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9131 * gdb.opt/inline-cmds.exp: Add MI tests.
9132
9133 2016-06-21 Pedro Alves <palves@redhat.com>
9134
9135 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9136
9137 2016-06-21 Pedro Alves <palves@redhat.com>
9138
9139 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9140 (top level): Use it instead of mi_execute_to.
9141
9142 2016-06-21 Pedro Alves <palves@redhat.com>
9143
9144 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9145 (cont_handler_str): New.
9146 (signal_stop_handler): Set stop_handler_str instead of printing to
9147 stdout.
9148 (continue_handler): Set cont_handler_str instead of printing to
9149 stdout.
9150 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9151 mi_send_resuming_command. Print stop_handler_str and
9152 cont_handler_str instead of expecting the python events print
9153 directly.
9154
9155 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9156
9157 * gdb.base/jit-reader.exp: New file.
9158 * gdb.base/jithost.c: New file.
9159 * gdb.base/jithost.h: New file.
9160 * gdb.base/jitreader.c : New file.
9161 * gdb.base/jit-protocol.h: New file.
9162
9163 2016-06-17 Yao Qi <yao.qi@linaro.org>
9164
9165 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9166 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9167 and detach-on-fork. Adjust tests.
9168 (top level): Invoke break_cond_on_syscall with combinations of
9169 syscall, follow-fork-mode and detach-on-fork.
9170
9171 2016-06-17 Yao Qi <yao.qi@linaro.org>
9172
9173 * gdb.base/step-over-exit.c: New.
9174 * gdb.base/step-over-exit.exp: New.
9175
9176 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9177
9178 * gdb.base/float.exp: Add target check for nds32*-*-*.
9179 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9180
9181 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9182
9183 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9184 for unsupported target features.
9185 * gdb.base/call-rt-st.exp: Likewise.
9186 * gdb.base/call-sc.exp: Likewise.
9187 * gdb.base/call-signal-resume.exp: Likewise.
9188 * gdb.base/call-strs.exp: Likewise.
9189 * gdb.base/callexit.exp: Likewise.
9190 * gdb.base/callfuncs.exp: Likewise.
9191 * gdb.base/nodebug.exp: Likewise.
9192 * gdb.base/printcmds.exp: Likewise.
9193 * gdb.base/ptype.exp: Likewise.
9194 * gdb.base/structs.exp: Likewise.
9195 * gdb.base/unwindonsignal.exp: Likewise.
9196 * gdb.cp/gdb2495.exp: Likewise.
9197 * gdb.cp/templates.exp: Likewise.
9198 * gdb.cp/virtfunc.exp: Likewise.
9199 * gdb.threads/hand-call-in-threads.exp: Likewise.
9200 * gdb.threads/interrupted-hand-call.exp: Likewise.
9201 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9202
9203 2016-06-10 Tom Tromey <tom@tromey.com>
9204
9205 PR rust/20110:
9206 * gdb.rust/expr.exp: Add test for integer constant larger than
9207 i32.
9208
9209 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9210
9211 * gdb.fortran/nested-funcs.exp: New.
9212 * gdb.fortran/nested-funcs.f90: New.
9213
9214 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9215
9216 * gdb.base/examine-backward.c: New file.
9217 * gdb.base/examine-backward.exp: New file.
9218
9219 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9220
9221 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9222 matching.
9223
9224 2016-06-02 Tom Tromey <tom@tromey.com>
9225
9226 PR python/18984:
9227 * gdb.python/py-shared.exp: Add solib_name test.
9228
9229 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9230
9231 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9232
9233 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9234
9235 PR c++/19893
9236 * gdb.dwarf2/implref.exp: Rename to...
9237 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9238 * gdb.dwarf2/implref-array.c: New file.
9239 * gdb.dwarf2/implref-array.exp: Likewise.
9240 * gdb.dwarf2/implref-global.c: Likewise.
9241 * gdb.dwarf2/implref-global.exp: Likewise.
9242 * gdb.dwarf2/implref-struct.c: Likewise.
9243 * gdb.dwarf2/implref-struct.exp: Likewise.
9244
9245 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9246
9247 * gdb.trace/trace-condition.exp: Add 64bit tests.
9248
9249 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9250
9251 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9252 bits types.
9253 (main): Adapt to 8 to 64 bits types.
9254 * gdb.trace/trace-condition.exp: Add new tests.
9255
9256 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9257
9258 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9259
9260 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9261
9262 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9263 Move condition tests...
9264 * gdb.trace/trace-condition.exp: Here.
9265
9266 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9267
9268 * gdb.trace/trace-condition.exp: Add counter-case tests.
9269
9270 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9271
9272 PR c++/15231
9273 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9274 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9275
9276 2016-05-27 Pedro Alves <palves@redhat.com>
9277
9278 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9279 New procedure.
9280 (top level): Call it, and bail out of DejaGnu is known to be bad.
9281
9282 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9283
9284 * gdb.base/whatis.c: Extend the test case.
9285 * gdb.base/whatis.exp: Add additional tests.
9286
9287 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9288
9289 * gdb.fortran/type.f90: Add pointer variable.
9290 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9291
9292 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9293
9294 * gdb.fortran/vla-type.exp: Fix testcase name.
9295
9296 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9297
9298 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9299
9300 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9301
9302 * gdb.fortran/type.f90: Add nested structures.
9303 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9304 * gdb.fortran/derived-type.exp: Adapt expected output.
9305 * gdb.fortran/vla-type.exp: Adapt expected output.
9306
9307 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9308
9309 * gdb.fortran/whatis_type.exp: Adapt expected output.
9310
9311 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9312
9313 * gdb.fortran/print_type.exp: Fix expected output.
9314 * gdb.fortran/whatis_type.exp: Fix expected output.
9315
9316 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9317
9318 * gdb.fortran/whatis_type.exp: Use multi_line.
9319
9320 2016-05-24 Tom Tromey <tom@tromey.com>
9321
9322 PR python/17386:
9323 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9324 use value as an index.
9325
9326 2016-05-23 Tom Tromey <tom@tromey.com>
9327
9328 PR python/17981:
9329 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9330 no-breakpoint case.
9331
9332 2016-05-24 Pedro Alves <palves@redhat.com>
9333
9334 PR gdb/19828
9335 * gdb.threads/clone-attach-detach.c: New file.
9336 * gdb.threads/clone-attach-detach.exp: New file.
9337
9338 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9339
9340 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9341
9342 2016-05-23 Tom Tromey <tom@tromey.com>
9343
9344 PR python/19438, PR python/18393:
9345 * gdb.python/py-progspace.exp: Add "dir" test.
9346 * gdb.python/py-objfile.exp: Add "dir" test.
9347
9348 2016-05-23 Yao Qi <yao.qi@linaro.org>
9349
9350 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9351 * gdb.arch/thumb2-it.exp: Likewise.
9352
9353 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9354
9355 * gdb.mi/mi-threads-interrupt.c: New file.
9356 * gdb.mi/mi-threads-interrupt.exp: New file.
9357
9358 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9359
9360 PR gdb/18077
9361 * gdb.mi/mi-async-run.exp: New file.
9362 * gdb.mi/mi-async-run.c: New file.
9363
9364 2016-05-17 Tom Tromey <tom@tromey.com>
9365 Manish Goregaokar <manishsmail@gmail.com>
9366
9367 * lib/rust-support.exp: New file.
9368 * lib/gdb.exp (skip_rust_tests): New proc.
9369 (build_executable_from_specs): Handle rust.
9370 * lib/future.exp (gdb_find_rustc): New proc.
9371 (gdb_default_target_compile): Handle rust.
9372 * gdb.rust/expr.exp: New file.
9373 * gdb.rust/generics.exp: New file.
9374 * gdb.rust/generics.rs: New file.
9375 * gdb.rust/methods.exp: New file.
9376 * gdb.rust/methods.rs: New file.
9377 * gdb.rust/modules.exp: New file.
9378 * gdb.rust/modules.rs: New file.
9379 * gdb.rust/simple.exp: New file.
9380 * gdb.rust/simple.rs: New file.
9381
9382 2016-05-17 Tom Tromey <tom@tromey.com>
9383
9384 * gdb.base/default.exp (set language): Add rust.
9385
9386 2016-05-17 Tom Tromey <tom@tromey.com>
9387
9388 * gdb.gdb/unittest.exp: New file.
9389
9390 2016-05-16 Yao Qi <yao.qi@linaro.org>
9391
9392 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9393 shell_prompt. Update shell_prompt_re.
9394
9395 2016-05-12 Doug Evans <dje@google.com>
9396
9397 PR symtab/19999
9398 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9399 $options when building executable.
9400 * gdb.dwarf2/fission-loclists-pie.S: New file.
9401 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9402
9403 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9404
9405 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9406 of [is_remote target],
9407
9408 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9409
9410 * lib/gdb.exp (use_gdb_stub): New procedure.
9411
9412 2016-05-03 Yunlian Jiang <yunlian@google.com>
9413 Doug Evans <dje@google.com>
9414
9415 PR symtab/19914
9416 * gdb.dwarf2/dwp-sepdebug.c: New file.
9417 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9418
9419 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9420
9421 * gdb.base/detach.exp: Remove is_remote check.
9422
9423 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9424
9425 * gdb.base/annota-input-while-running.exp: Don't check for
9426 [is_remote target]. Enable annotations after running to main.
9427 Remove unused "set test..." line.
9428
9429 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9430
9431 * gdb.trace/trace-enable-disable.exp: New file.
9432 * gdb.trace/trace-enable-disable.c: New file.
9433
9434 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9435
9436 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9437 use it in info sharedlibrary test.
9438 * gdb.trace/ftrace-lock.exp: Likewise.
9439 * gdb.trace/ftrace.exp: Likewise.
9440 * gdb.trace/range-stepping.exp: Likewise.
9441 * gdb.trace/trace-break.exp: Likewise.
9442 * gdb.trace/trace-condition.exp: Likewise.
9443 * gdb.trace/trace-mt.exp: Likewise.
9444
9445 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9446
9447 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9448 (gdb_load_shlib): ... this.
9449 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9450 gdb_load_shlib.
9451 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9452 * gdb.base/ctxobj.exp: Likewise.
9453 * gdb.base/dprintf-pending.exp: Likewise.
9454 * gdb.base/dso2dso.exp: Likewise.
9455 * gdb.base/fixsection.exp: Likewise.
9456 * gdb.base/gcore-relro.exp: Likewise.
9457 * gdb.base/gdb1555.exp: Likewise.
9458 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9459 * gdb.base/gnu-ifunc.exp: Likewise.
9460 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9461 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9462 * gdb.base/pending.exp: Likewise.
9463 * gdb.base/print-file-var.exp: Likewise.
9464 * gdb.base/print-symbol-loading.exp: Likewise.
9465 * gdb.base/shlib-call.exp: Likewise.
9466 * gdb.base/shreloc.exp: Likewise.
9467 * gdb.base/so-impl-ld.exp: Likewise.
9468 * gdb.base/solib-disc.exp: Likewise.
9469 * gdb.base/solib-nodir.exp: Likewise.
9470 * gdb.base/solib-overlap.exp: Likewise.
9471 * gdb.base/solib-symbol.exp: Likewise.
9472 * gdb.base/solib-weak.exp (do_test): Likewise.
9473 * gdb.base/sym-file.exp: Likewise.
9474 * gdb.base/symtab-search-order.exp: Likewise.
9475 * gdb.base/type-opaque.exp: Likewise.
9476 * gdb.base/unload.exp: Likewise.
9477 * gdb.base/watchpoint-solib.exp: Likewise.
9478 * gdb.compile/compile.exp: Likewise.
9479 * gdb.cp/gdb2384.exp: Likewise.
9480 * gdb.cp/infcall-dlopen.exp: Likewise.
9481 * gdb.cp/re-set-overloaded.exp: Likewise.
9482 * gdb.fortran/library-module.exp: Likewise.
9483 * gdb.opt/solib-intra-step.exp: Likewise.
9484 * gdb.python/py-finish-breakpoint.exp: Likewise.
9485 * gdb.python/py-shared.exp: Likewise.
9486 * gdb.reverse/solib-precsave.exp: Likewise.
9487 * gdb.reverse/solib-reverse.exp: Likewise.
9488 * gdb.server/solib-list.exp: Likewise.
9489 * gdb.threads/dlopen-libpthread.exp: Likewise.
9490 * gdb.threads/tls-shared.exp: Likewise.
9491 * gdb.threads/tls-so_extern.exp: Likewise.
9492 * gdb.trace/change-loc.exp: Likewise.
9493 * gdb.trace/ftrace-lock.exp: Likewise.
9494 * gdb.trace/ftrace.exp: Likewise.
9495 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9496 * gdb.trace/pending.exp: Likewise.
9497 * gdb.trace/range-stepping.exp: Likewise.
9498 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9499 (strace_info_marker): Likewise.
9500 (strace_probe_marker): Likewise.
9501 (strace_trace_on_same_addr): Likewise.
9502 (strace_trace_on_diff_addr): Likewise.
9503 * gdb.trace/trace-break.exp: Likewise.
9504 * gdb.trace/trace-condition.exp: Likewise.
9505 * gdb.trace/trace-mt.exp: Likewise.
9506
9507 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9508
9509 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9510 result of gdb_remote_download.
9511 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9512 * gdb.base/dso2dso.exp: Likewise.
9513 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9514 * gdb.base/print-file-var.exp: Likewise.
9515 * gdb.base/shlib-call.exp: Likewise.
9516 * gdb.base/shreloc.exp: Likewise.
9517 * gdb.base/solib-overlap.exp: Likewise.
9518 * gdb.base/solib-weak.exp (do_test): Likewise.
9519 * gdb.base/unload.exp: Likewise.
9520
9521 2016-04-27 Yao Qi <yao.qi@linaro.org>
9522
9523 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9524 exists.
9525
9526 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9527
9528 * vla-type.exp: Print structure from toplevel.
9529
9530 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9531
9532 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9533 of dynamic types.
9534 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9535 of dynamic types.
9536
9537 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9538
9539 * gdb.fortran/vla-type.f90: New file.
9540 * gdb.fortran/vla-type.exp: New file.
9541
9542 2016-04-25 Yao Qi <yao.qi@linaro.org>
9543
9544 * gdb.base/branch-to-self.c: New file.
9545 * gdb.base/branch-to-self.exp: New file.
9546
9547 2016-04-22 Yao Qi <yao.qi@linaro.org>
9548
9549 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9550 more after $hex.
9551
9552 2016-04-22 Yao Qi <yao.qi@linaro.org>
9553
9554 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9555 * gdb.base/annota3.exp: Likewise.
9556
9557 2016-04-22 Yao Qi <yao.qi@linaro.org>
9558
9559 * gdb.reverse/step-precsave.exp: Do one step and test program
9560 stops in "callee" and do multiple steps until program goes out
9561 of "callee".
9562 * gdb.reverse/step-reverse.exp: Likewise.
9563
9564 2016-04-22 Yao Qi <yao.qi@linaro.org>
9565
9566 * gdb.trace/signal.exp: Also pass if
9567 $tracepoint_hits($i) > $iterations.
9568
9569 2016-04-22 Yao Qi <yao.qi@linaro.org>
9570
9571 * gdb.trace/signal.c: New file.
9572 * gdb.trace/signal.exp: New file.
9573
9574 2016-04-19 Doug Evans <xdje42@gmail.com>
9575
9576 * gdb.base/bad-file.exp: New file.
9577
9578 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9579
9580 * gdb.dwarf2/implref.exp: New file.
9581
9582 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9583
9584 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9585 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9586 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9587 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9588 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9589 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9590 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9591 * lib/fortran.exp (fortran_int4): New procedure.
9592 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9593 (fortran_logical4): Likewise.
9594
9595 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9596
9597 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9598
9599 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9600
9601 * lib/compiler.c: Add Intel specific preprocessor macros.
9602 * lib/compiler.cc: Likewise.
9603
9604 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9605
9606 * gdb.server/connect-with-no-symbol-file.c: New file.
9607 * gdb.server/connect-with-no-symbol-file.exp: New file.
9608
9609 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9610
9611 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9612
9613 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9614
9615 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9616 standard output directory.
9617
9618 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9619
9620 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9621
9622 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9623
9624 * gdb.btrace/instruction_history.c (loop): Add declaration.
9625
9626 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9627
9628 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9629
9630 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9631
9632 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9633 parentheses to print.
9634 (continue_handler): Likewise.
9635
9636 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9637
9638 * gdb.server/solib-list.exp: Remove is_remote check.
9639 Pass shlib= to gdb_compile. Don't link shared library with
9640 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9641 Run binary filename through "readlink -f" on the target.
9642
9643 2016-04-08 Pedro Alves <palves@redhat.com>
9644
9645 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9646 interpreter filename as argument to gdbserver_spawn.
9647 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9648 Return empty if $last_loaded_file does not exist.
9649
9650 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9651
9652 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9653 * gdb.base/jit-main.c: Use exit after usage.
9654
9655 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9656
9657 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9658 GDBHISTSIZE prior to the tests.
9659 * gdb.base/gdbinit-history.exp: Likewise.
9660
9661 2016-04-07 Pedro Alves <palves@redhat.com>
9662
9663 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9664 instead of build_executable. Use gdb_load_shlibs.
9665
9666 2016-04-07 Yao Qi <yao.qi@linaro.org>
9667
9668 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9669 Execute "si" command.
9670
9671 2016-04-07 Yao Qi <yao.qi@linaro.org>
9672
9673 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9674 number instead of the comments on some line.
9675
9676 2016-04-06 Don Breazeal <donb@codesourcery.com>
9677
9678 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9679 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9680
9681 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9682
9683 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9684 standard_output_file. Remove unused binfile variable.
9685
9686 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9687
9688 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9689 * gdb.python/py-mi-objfile.exp: Match "list main" output
9690 in console format.
9691
9692 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9693
9694 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9695 absolute.
9696
9697 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9698
9699 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9700 absolute.
9701 * gdb.trace/ftrace.exp: Likewise.
9702 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9703 targets as well.
9704 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9705 (gdb_load_shlibs): Copy libraries to test directory when testing
9706 natively. Only set solib-search-path if testing remotely.
9707 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9708
9709 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9710
9711 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9712 gdb_download. Use it even if the target is not remote.
9713 * gdb.base/jit.exp (compile_jit_test): Likewise.
9714 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9715 output directory if the destination board is local, otherwise use
9716 the standard remote_download from DejaGnu.
9717 (gdb_download): Remove.
9718 (gdb_load_shlibs): Use gdb_remote_download instead of
9719 gdb_download.
9720 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9721 Use gdb_remote_download instead of gdb_download. Use it even if
9722 the target is not remote.
9723 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9724 instead of gdb_download.
9725
9726 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9727
9728 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9729 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9730 run.
9731
9732 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9733
9734 PR gdb/19820
9735 * gdb.base/printcmds.exp: Add artificial arrays tests.
9736
9737 2016-03-31 Pedro Alves <palves@redhat.com>
9738
9739 PR gdb/19858
9740 * gdb.base/jit-main.c: Include unistd.h.
9741 (ATTACH): Define to 0 if not already defined.
9742 (wait_for_gdb, mypid): New globals.
9743 (WAIT_FOR_GDB): New macro.
9744 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9745 some breakpoint locations.
9746 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9747 New procedures.
9748 (one_jit_test): Add REATTACH parameter, and handle it. Use
9749 continue_to_test_location.
9750 (top level): Test attach, and adjusts calls to one_jit_test.
9751
9752 2016-03-31 Pedro Alves <palves@redhat.com>
9753
9754 PR gdb/19858
9755 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9756 BINSUFFIX parameter, and handle it.
9757 (top level): Adjust calls compile_jit_test.
9758
9759 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9760
9761 PR python/19743
9762 * gdb.python/py-mi-events-gdb.py: New file.
9763 * gdb.python/py-mi-events.c: New file.
9764 * gdb.python/py-mi-events.exp: New file.
9765
9766 2016-03-30 Yao Qi <yao.qi@linaro.org>
9767
9768 * gdb.reverse/until-precsave.exp: Match function name only.
9769 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9770 Move malloc to a condition block.
9771 * gdb.reverse/until-reverse.exp: Match function name only.
9772
9773 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9774
9775 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9776 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9777 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9778 variable for GPR 0 instead of assuming it is register 0.
9779 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9780 * lib/trace-support.exp: Add s390 registers.
9781
9782 2016-03-29 Yao Qi <yao.qi@linaro.org>
9783
9784 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9785
9786 2016-03-24 Yao Qi <yao.qi@linaro.org>
9787
9788 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9789 test message.
9790
9791 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9792
9793 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9794 maintaining separate logic for constructing the output path.
9795
9796 2016-03-16 Don Breazeal <donb@codesourcery.com>
9797
9798 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9799 Retry fork and waitpid on interrupted system call errors.
9800 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9801 Use with_timeout_factor to increase timeout by factor of 10.
9802
9803 2016-03-15 Don Breazeal <donb@codesourcery.com>
9804
9805 * gdb.cp/scope-err.cc: New test program.
9806 * gdb.cp/scope-err.exp: New test script.
9807 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9808 lines and "set breakpoint here" comment.
9809 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9810 Fixed some whitespace and format issues.
9811 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9812 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9813
9814 2016-03-15 Doug Evans <dje@google.com>
9815
9816 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9817 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9818 All callers updated. Add tests for enums, mixed flags register.
9819
9820 2016-03-15 Doug Evans <dje@google.com>
9821
9822 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9823 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9824
9825 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9826
9827 * gdb.base/default.exp: Add $_as_string to the list of expected
9828 convenience functions.
9829
9830 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9831
9832 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9833
9834 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9835
9836 * gdb.python/py-as-string.exp: New file.
9837 * gdb.python/py-as-string.c: New file.
9838
9839 2016-03-09 Pedro Alves <palves@redhat.com>
9840
9841 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9842 signal" -> "Thread NN received signal" output change.
9843 * gdb.threads/ia64-sigill.exp: Likewise.
9844 * gdb.threads/linux-dp.exp: Likewise.
9845 * gdb.threads/manythreads.exp: Likewise.
9846 * gdb.threads/pending-step.exp: Likewise.
9847 * gdb.threads/print-threads.exp: Likewise.
9848 * gdb.threads/sigstep-threads.exp: Likewise.
9849 * gdb.threads/staticthreads.exp: Likewise.
9850 * gdb.threads/tls.exp: Likewise.
9851
9852 2016-03-09 Pedro Alves <palves@redhat.com>
9853
9854 * gdb.base/command-line-input.exp: New file.
9855
9856 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9857
9858 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9859 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9860 * gdb.trace/pending.exp: Accept leading dot before function name.
9861 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9862 * lib/trace-support.exp: Set registers for ppc.
9863
9864 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9865
9866 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9867 use it for disassembly; accept .main in addition to main in backtrace.
9868
9869 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9870 Marcin Kościelnicki <koriakin@0x04.net>
9871
9872 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9873 (gdb_recursion_test_ptr): New global variable.
9874 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9875 gdb_recursion_test.
9876 (gdb_c_test): Ditto.
9877
9878 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9879
9880 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9881 ordering.
9882
9883 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9884
9885 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9886 (bar): Add bar_start_lbl label.
9887 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9888 of foo/bar for emitting DWARF and tracing.
9889
9890 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9891
9892 * analyze-racy-logs.py: Set executable bit.
9893
9894 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9895
9896 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9897 (CHECK_TARGET_TMP): Likewise.
9898 (check-single-racy): New rule.
9899 (check-parallel-racy): Likewise.
9900 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9901 (do-check-parallel-racy): New rule.
9902 (check-racy/%.exp): Likewise.
9903 * README (Racy testcases): New section.
9904 * analyze-racy-logs.py: New file.
9905
9906 2016-03-03 Doug Evans <dje@google.com>
9907
9908 * gdb.base/skip.exp: Use with_test_prefix.
9909
9910 2016-03-03 Yao Qi <yao.qi@linaro.org>
9911
9912 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9913 Invoke step_over_syscall "clone" and break_cond_on_syscall
9914 "clone".
9915 * gdb.base/step-over-clone.c: New file.
9916
9917 2016-03-03 Yao Qi <yao.qi@linaro.org>
9918
9919 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9920 code format.
9921
9922 2016-03-03 Yao Qi <yao.qi@linaro.org>
9923
9924 * gdb.base/disp-step-fork.c: Rename to ...
9925 * gdb.base/step-over-fork.c: ... it. New file.
9926 * gdb.base/disp-step-vfork.c: Rename to ...
9927 * gdb.base/step-over-vfork.c: ... it. New file.
9928 * gdb.base/disp-step-syscall.exp: Rename to ...
9929 * gdb.base/step-over-syscall.exp: ... it. New file.
9930 (disp_step_cross_syscall): Rename to ...
9931 (step_over_syscall): ... it.
9932
9933 2016-03-03 Yao Qi <yao.qi@linaro.org>
9934
9935 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9936 If target supports condition evaluation on target, invoke
9937 break_cond_on_syscall for fork and vfork.
9938
9939 2016-03-03 Yao Qi <yao.qi@linaro.org>
9940
9941 * gdb.base/disp-step-syscall.exp: Don't invoke
9942 support_displaced_stepping.
9943 (disp_step_cross_syscall): Test with displaced stepping off and
9944 on if supported.
9945
9946 2016-03-03 Yao Qi <yao.qi@linaro.org>
9947
9948 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9949 proc.
9950 (setup): New proc.
9951 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9952 and setup.
9953
9954 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9955
9956 * gdb.fortran/vla-history.exp: Remove breakpoint.
9957
9958 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9959
9960 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9961 exceeds timeout.
9962
9963 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9964
9965 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9966 breakpoint.
9967
9968 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9969
9970 * gdb.mi/vla.f90: Nullify pointer after declaration.
9971
9972 2016-03-01 Pedro Alves <palves@redhat.com>
9973
9974 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9975
9976 2016-03-01 Pedro Alves <palves@redhat.com>
9977
9978 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9979 before anything else.
9980 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9981 _GNU_SOURCE here.
9982 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9983 before anything else.
9984 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9985
9986 2016-03-01 Pedro Alves <palves@redhat.com>
9987
9988 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9989
9990 2016-03-01 Yao Qi <yao.qi@linaro.org>
9991
9992 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9993 prepare_for_testing.
9994
9995 2016-03-01 Yao Qi <yao.qi@linaro.org>
9996
9997 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9998
9999 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10000
10001 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10002 manually constructing the output path.
10003
10004 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10005
10006 * gdb.arch/s390-stackless.S: New.
10007 * gdb.arch/s390-stackless.exp: New.
10008
10009 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10010
10011 * gdb.dlang/circular.c: New file.
10012 * gdb.dlang/circular.exp: New file.
10013
10014 2016-02-26 Yao Qi <yao.qi@linaro.org>
10015
10016 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10017 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10018 (testcases): Update.
10019
10020 2016-02-26 Yao Qi <yao.qi@linaro.org>
10021
10022 * gdb.reverse/aarch64.c: Rename to ...
10023 * gdb.reverse/insn-reverse.c: ... it.
10024 * gdb.reverse/aarch64.exp: Rename to ...
10025 * gdb.reverse/insn-reverse.exp: ... it.
10026
10027 2016-02-26 Yao Qi <yao.qi@linaro.org>
10028
10029 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10030 (testcase_ftype): New.
10031 (testcases): New array.
10032 (n_testcases): New.
10033 (main): Call each element in testcases.
10034 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10035 (read_testcase): New.
10036 Do the tests in a loop.
10037
10038 2016-02-25 Yao Qi <yao.qi@linaro.org>
10039
10040 * gdb.base/branches.c: Remove.
10041
10042 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10043
10044 PR gdb/13808
10045 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10046
10047 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10048
10049 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10050
10051 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10052
10053 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10054 change x86_64 call_insn to 'callq'.
10055
10056 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10057
10058 * gdb.trace/tfile-avx.c: Move to...
10059 * gdb.trace/tracefile-pseudo-reg.c: Here.
10060 * gdb.trace/tfile-avx.exp: Move to...
10061 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10062
10063 2016-02-24 Gary Benson <gbenson@redhat.com>
10064
10065 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10066 message on attach.
10067
10068 2016-02-23 Doug Evans <dje@google.com>
10069
10070 * gdb.base/skip.c (test_skip): New function.
10071 (end_test_skip_file_and_function): New function.
10072 (test_skip_file_and_function): New function.
10073 * gdb.base/skip1.c (test_skip): New function.
10074 (skip1_test_skip_file_and_function): New function.
10075 * gdb.base/skip.exp: Add tests for new skip options.
10076 * gdb.base/skip-solib.exp: Update expected output.
10077 * gdb.perf/skip-command.cc: New file.
10078 * gdb.perf/skip-command.exp: New file.
10079 * gdb.perf/skip-command.py: New file.
10080
10081 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10082
10083 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10084 info registers pattern.
10085
10086 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10087
10088 * lib/future.exp: Add D support.
10089 (gdb_find_gdc): New proc.
10090 (gdb_default_target_compile): Add D support.
10091
10092 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10093
10094 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10095 user+system time.
10096 (trace_speed_test): Determine the iteration count for a time
10097 between 15..30 seconds.
10098
10099 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10100
10101 * gdb.arch/i386-mpx-sigsegv.c: New file.
10102 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10103 * gdb.arch/i386-mpx-simple_segv.c: New file.
10104 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10105
10106 2016-02-18 Yao Qi <yao.qi@linaro.org>
10107
10108 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10109 Don't call setup_kfail.
10110
10111 2016-02-18 Yao Qi <yao.qi@linaro.org>
10112
10113 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10114 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10115
10116 2016-02-16 Doug Evans <dje@google.com>
10117
10118 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10119 * gdb.base/skip1.c: Ditto.
10120 * gdb.base/skip.exp: Whitespace cleanup.
10121
10122 2016-02-16 Don Breazeal <donb@codesourcery.com>
10123
10124 PR remote/19496
10125 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10126 Remove kfail for PR remote/19496.
10127
10128 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10129
10130 * lib/gdb.exp (standard_temp_file): Return a path specific to
10131 the runtest invocation.
10132
10133 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10134
10135 * gdb.trace/save-trace.exp: Change relative path to be in the
10136 standard output directory.
10137
10138 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10139
10140 * gdb.arch/i386-prologue.c: Add missing prototypes.
10141
10142 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10143
10144 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10145 * gdb.arch/i386-prologue.exp: Likewise.
10146 * gdb.arch/i386-size.exp: Likewise.
10147
10148 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10149
10150 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10151 define object file path.
10152 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10153 file path.
10154 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10155 standard_output_file to define binfile.
10156
10157 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10158
10159 Fix compatibility with recent gfortran-5.3.1.
10160 * gdb.fortran/vla-history.exp (print vla1 allocated)
10161 (print vla2 allocated, print $2, print $3): Remove
10162 (print $4): Rename to ...
10163 (print $2): ... here.
10164 (print $9): Rename to ...
10165 (print $5): ... here.
10166 (print $10): Rename to ...
10167 (print $6): ... here.
10168 * gdb.fortran/vla.f90: Add pvla initialization.
10169
10170 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10171
10172 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10173 New test.
10174 * gdb.fortran/vla-value-sub.exp: Likewise.
10175
10176 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10177
10178 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10179
10180 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10181
10182 * i386-biarch-core.exp: Define corefile using
10183 standard_output_file.
10184
10185 2016-02-12 Yao Qi <yao.qi@linaro.org>
10186
10187 * gdb.arch/arm-single-step-kernel-helper.c: New.
10188 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10189
10190 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10191
10192 * gdb.btrace/tailcall-only.exp: New.
10193 * gdb.btrace/tailcall-only.c: New.
10194 * gdb.btrace/x86_64-tailcall-only.S: New.
10195 * gdb.btrace/i686-tailcall-only.S: New.
10196
10197 2016-02-11 Pedro Alves <palves@redhat.com>
10198
10199 * README (Parallel testing): Add missing double quotes.
10200
10201 2016-02-11 Pedro Alves <palves@redhat.com>
10202
10203 * README (Parallel testing): New section.
10204 (GDB_PARALLEL): Rewrite.
10205 (FORCE_PARALLEL): Document.
10206
10207 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10208
10209 * gdb.trace/tfile-avx.c: New test.
10210 * gdb.trace/tfile-avx.exp: New test.
10211
10212 2016-02-09 Keith Seitz <keiths@redhat.com>
10213
10214 PR breakpoints/19546
10215 * gdb.base/infcall-exec.c: New file.
10216 * gdb.base/infcall-exec2.c: New file.
10217 * gdb.base/infcall-exec.exp: New file.
10218
10219 2016-02-09 Keith Seitz <keiths@redhat.com>
10220
10221 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10222 (toplevel): Call test_bkpt_address.
10223
10224 2016-02-09 Keith Seitz <keiths@redhat.com>
10225
10226 PR python/19506
10227 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10228 (toplevel): Call test_bkpt_address.
10229
10230 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10231
10232 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10233 to AC_OUTPUT.
10234 * configure: Regenerate.
10235
10236 2016-02-09 Pedro Alves <palves@redhat.com>
10237
10238 PR breakpoints/19548
10239 * gdb.base/execl-update-breakpoints.c (some_function): New
10240 function.
10241 (main): Call it.
10242 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10243 Tighten expected GDB output.
10244
10245 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10246
10247 * Makefile.in (ALL_SUBDIRS): Remove.
10248 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10249 (distclean maintainer-clean realclean): Likewise.
10250 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10251 * configure: Regenerate.
10252 * gdb.ada/Makefile.in: Delete.
10253 * gdb.arch/Makefile.in: Likewise.
10254 * gdb.asm/Makefile.in: Likewise.
10255 * gdb.base/Makefile.in: Likewise.
10256 * gdb.btrace/Makefile.in: Likewise.
10257 * gdb.cell/Makefile.in: Likewise.
10258 * gdb.compile/Makefile.in: Likewise.
10259 * gdb.cp/Makefile.in: Likewise.
10260 * gdb.disasm/Makefile.in: Likewise.
10261 * gdb.dlang/Makefile.in: Likewise.
10262 * gdb.dwarf2/Makefile.in: Likewise.
10263 * gdb.fortran/Makefile.in: Likewise.
10264 * gdb.gdb/Makefile.in: Likewise.
10265 * gdb.go/Makefile.in: Likewise.
10266 * gdb.guile/Makefile.in: Likewise.
10267 * gdb.java/Makefile.in: Likewise.
10268 * gdb.linespec/Makefile.in: Likewise.
10269 * gdb.mi/Makefile.in: Likewise.
10270 * gdb.modula2/Makefile.in: Likewise.
10271 * gdb.multi/Makefile.in: Likewise.
10272 * gdb.objc/Makefile.in: Likewise.
10273 * gdb.opencl/Makefile.in: Likewise.
10274 * gdb.opt/Makefile.in: Likewise.
10275 * gdb.pascal/Makefile.in: Likewise.
10276 * gdb.perf/Makefile.in: Likewise.
10277 * gdb.python/Makefile.in: Likewise.
10278 * gdb.reverse/Makefile.in: Likewise.
10279 * gdb.server/Makefile.in: Likewise.
10280 * gdb.stabs/Makefile.in: Likewise.
10281 * gdb.threads/Makefile.in: Likewise.
10282 * gdb.trace/Makefile.in: Likewise.
10283 * gdb.xml/Makefile.in: Likewise.
10284 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10285 GDB_PARALLEL.
10286 (standard_output_file): Remove check for GDB_PARALLEL, always
10287 return path in outputs/$subdir/$testname.
10288
10289 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10290
10291 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10292 (site.exp): Assign abs_srcdir to tcl's srcdir.
10293
10294 2016-02-04 Yao Qi <yao.qi@linaro.org>
10295
10296 * gdb.base/foll-exec-mode.c: Include limits.h.
10297 (main): Add parameters argc and argv. Get directory from
10298 argv[0].
10299 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10300 compilation.
10301 * gdb.base/foll-exec.c: Include limits.h.
10302 (main): Add parameters argc and argv.
10303 Get directory from argv[0].
10304 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10305 Adjust tests on the number of lines as source code changed.
10306 * gdb.base/foll-vfork-exit.c: Include limits.h.
10307 (main): Add one line of statement before vfork.
10308 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10309 (main): Add parameters argc and argv. Get directory from
10310 argv[0].
10311 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10312 (setup_gdb): Set tbreak to skip some source lines.
10313 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10314 (main): Add parameters argc and argv. Get directory from
10315 argv[0].
10316 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10317 compilation.
10318 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10319 (main): Add parameters argc and argv. Get directory from
10320 argv[0].
10321 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10322 compilation.
10323
10324 2016-02-01 Doug Evans <dje@google.com>
10325
10326 * gdb.base/skip.exp: Clean up multiple references to same test name.
10327
10328 2016-02-01 Pedro Alves <palves@redhat.com>
10329
10330 PR remote/19496
10331 * gdb.threads/forking-threads-plus-breakpoint.exp
10332 (displaced_stepping_supported): New global.
10333 (probe_displaced_stepping_support): New procedure.
10334 (do_test): Add 'displaced' parameter, and use it.
10335 (top level): Check for displaced stepping support. Add displaced
10336 stepping on/off testing axis.
10337
10338 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10339
10340 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10341 pointer. Don't perform further tests on the unassociated pointer
10342 if the first test fails.
10343
10344 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10345
10346 * gdb.base/max-value-size.c: New file.
10347 * gdb.base/max-value-size.exp: New file.
10348 * gdb.base/huge.exp: Disable max-value-size for this test.
10349
10350 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10351
10352 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10353
10354 2016-01-28 Yao Qi <yao.qi@linaro.org>
10355
10356 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10357
10358 2016-01-25 Pedro Alves <palves@redhat.com>
10359
10360 PR threads/19461
10361 * gdb.base/fork-running-state.c: New file.
10362 * gdb.base/fork-running-state.exp: New file.
10363
10364 2016-01-25 Pedro Alves <palves@redhat.com>
10365
10366 PR gdb/19494
10367 * gdb.base/catch-fork-kill.c: New file.
10368 * gdb.base/catch-fork-kill.exp: New file.
10369
10370 2016-01-25 Pedro Alves <palves@redhat.com>
10371
10372 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10373 Delete, moved to lib/gdb.exp.
10374 * gdb.threads/forking-threads-plus-breakpoint.exp
10375 (foreach_with_prefix): Likewise.
10376 * gdb.threads/process-dies-while-handling-bp.exp
10377 (foreach_with_prefix): Likewise.
10378 * lib/gdb.exp (foreach_with_prefix): New procedure.
10379
10380 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10381
10382 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10383 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10384
10385 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10386
10387 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10388 endian targets.
10389
10390 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10391 Pedro Alves <palves@redhat.com>
10392
10393 Fix testsuite compatibility with Guile.
10394 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10395 number.
10396
10397 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10398
10399 Fix testsuite compatibility with Guile.
10400 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10401 (thread 1): New test for backtrace through signal handler.
10402
10403 2016-01-22 Yao Qi <yao.qi@linaro.org>
10404
10405 PR testsuite/19491
10406 * gdb.base/multi-forks.c: Include
10407 ../lib/unbuffer_output.c
10408 (main): Call gdb_unbuffer_output.
10409
10410 2016-01-21 Doug Evans <dje@google.com>
10411
10412 * lib/ada.exp (gdb_compile_ada): Fix typo.
10413
10414 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10415
10416 * gdb.base/break-fun-addr.exp: New file.
10417 * gdb.base/break-fun-addr1.c: New file.
10418 * gdb.base/break-fun-addr2.c: New file.
10419
10420 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10421
10422 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10423 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10424 enum flag values.
10425
10426 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10427
10428 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10429 when GDB can not set the vector return value. Add more comments
10430 for clarification.
10431
10432 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10433
10434 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10435 command.
10436
10437 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10438
10439 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10440
10441 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10442
10443 * Makefile.in (check-single): Pass --status to runtest.
10444 (check/%.exp): Likewise.
10445
10446 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10447
10448 * Makefile.in (check-parallel): Propagate return code from make
10449 do-check-parallel.
10450
10451 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10452
10453 * gdb.trace/ftrace.exp: Fix expected message on continue.
10454 * gdb.trace/pending.exp: Fix expected message on continue.
10455 * gdb.trace/trace-break.exp: Fix expected message on continue.
10456
10457 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10458
10459 * lib/gdb.exp (gdb_test): Remove unused global references.
10460
10461 2016-01-18 Pedro Alves <palves@redhat.com>
10462
10463 * gdb.base/async-shell.exp: Adjust expected output.
10464 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10465 * gdb.base/siginfo-thread.exp: Adjust expected output.
10466 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10467 * gdb.java/jnpe.exp: Adjust expected output.
10468 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10469 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10470 * gdb.threads/leader-exit.exp: Adjust expected output.
10471 * gdb.threads/manythreads.exp: Adjust expected output.
10472 * gdb.threads/pthreads.exp: Adjust expected output.
10473 * gdb.threads/schedlock.exp: Adjust expected output.
10474 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10475 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10476 expected output.
10477 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10478 output.
10479 * gdb.threads/sigthread.exp: Adjust expected output.
10480 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10481
10482 2016-01-18 Yao Qi <yao.qi@linaro.org>
10483
10484 * gdb.guile/scm-section-script.c: Replace @progbits with
10485 %progbits.
10486 * gdb.python/py-section-script.c: Likewise.
10487
10488 2016-01-15 Pedro Alves <palves@redhat.com>
10489
10490 * gdb.multi/tids.exp: Test star wildcard ranges.
10491
10492 2016-01-15 Pedro Alves <palves@redhat.com>
10493
10494 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10495 command from "thread apply" invocation.
10496 (thr_apply_info_thr_invalid): Default the expected output to the
10497 input tid list.
10498 (top level): Add tests that use convenience variables. Add tests
10499 for "thread apply" with a valid TID list, but missing the command.
10500
10501 2016-01-13 Pedro Alves <palves@redhat.com>
10502
10503 * gdb.base/default.exp: Expect $_gthread as well.
10504 * gdb.multi/tids.exp: Test $_gthread.
10505 * gdb.threads/thread-specific.exp: Test $_gthread.
10506
10507 2016-01-13 Pedro Alves <palves@redhat.com>
10508
10509 * gdb.multi/tids.exp: Test "info threads -gid".
10510
10511 2016-01-13 Pedro Alves <palves@redhat.com>
10512
10513 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10514 Breakpoint.thread.
10515 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10516
10517 2016-01-07 Pedro Alves <palves@redhat.com>
10518
10519 * gdb.base/break.exp: Adjust to output changes.
10520 * gdb.base/hbreak2.exp: Likewise.
10521 * gdb.base/sepdebug.exp: Likewise.
10522 * gdb.base/watch_thread_num.exp: Likewise.
10523 * gdb.linespec/keywords.exp: Likewise.
10524 * gdb.multi/info-threads.exp: Likewise.
10525 * gdb.threads/thread-find.exp: Likewise.
10526 * gdb.multi/tids.c: New file.
10527 * gdb.multi/tids.exp: New file.
10528
10529 2016-01-13 Pedro Alves <palves@redhat.com>
10530
10531 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10532
10533 2016-01-13 Pedro Alves <palves@redhat.com>
10534
10535 * gdb.base/default.exp: Expect $_inferior as well.
10536 * gdb.multi/base.exp: Test $_inferior.
10537
10538 2016-01-13 Pedro Alves <palves@redhat.com>
10539
10540 PR breakpoints/19388
10541 * gdb.base/catch-signal-siginfo-cond.c: New file.
10542 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10543
10544 2016-01-12 Josh Stone <jistone@redhat.com>
10545 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10546
10547 * gdb.base/catch-syscall.c (do_execve): New variable.
10548 (main): Conditionally trigger an execve.
10549 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10550 (test_catch_syscall_execve): New, check entry/return across execve.
10551 (do_syscall_tests): Call test_catch_syscall_execve.
10552
10553 2016-01-12 Pedro Alves <palves@redhat.com>
10554
10555 * gdb.base/random-signal.exp (do_test): New procedure, with body
10556 of testcase moved in.
10557
10558 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10559 Pedro Alves <palves@redhat.com>
10560
10561 * gdb.base/funcargs.exp (finish from indirectly called function):
10562 Reintroduce the case for 'First'.
10563
10564 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10565 Pedro Alves <palves@redhat.com>
10566
10567 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10568 (tcatch_vfork_then_child_follow_exec)
10569 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10570 identification.
10571
10572 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10573
10574 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10575 and repeats to unlimited.
10576 * gdb.python/py-value.exp: Likewise.
10577 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10578 and repeats to unlimited.
10579
10580 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10581
10582 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10583 and reordering the functions.
10584 * gdb.multi/hangout.c: Likewise.
10585 * gdb.multi/hello.c: Likewise.
10586
10587 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10588
10589 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10590 absolute.
10591 (SingleStatisticTestResult.report): Use dict.keys instead of
10592 dict.iterkeys.
10593
10594 2016-01-06 Pedro Alves <palves@redhat.com>
10595
10596 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10597
10598 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10599
10600 * gdb.btrace/dlopen.exp: New.
10601 * gdb.btrace/dlopen.c: New.
10602 * gdb.btrace/dlopen-dso.c: New.
10603
10604 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10605
10606 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10607 PATTERN argument is optional.
10608
10609 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10610
10611 * lib/ada.exp (target_compile_ada_from_dir): New function.
10612 (gdb_compile_ada): Reimplement avoiding the use of project files.
10613 * gdb.ada/gnat_ada.gpr: Delete.
10614 * gdb.ada/cond_lang.exp: Adjust test to make path before
10615 filename optional.
10616 * gdb.ada/small_reg_param.exp: Likewise.
10617
10618 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10619
10620 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10621
10622 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10623
10624 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10625 case.
10626
10627 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10628
10629 * gdb.base/break.exp: Remove dead code.
10630 * gdb.base/sepdebug.exp: Likewise.
10631
10632 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10633
10634 * gdb.asm/asm-source.exp: Remove HP-UX references.
10635 * gdb.base/annota1.exp: Likewise.
10636 * gdb.base/annota3.exp: Likewise.
10637 * gdb.base/attach.exp: Likewise.
10638 * gdb.base/bigcore.exp: Likewise.
10639 * gdb.base/break.exp: Likewise.
10640 * gdb.base/call-ar-st.exp: Likewise.
10641 * gdb.base/callfuncs.exp: Likewise.
10642 * gdb.base/catch-fork-static.exp: Likewise.
10643 * gdb.base/display.exp: Likewise.
10644 * gdb.base/foll-exec-mode.exp: Likewise.
10645 * gdb.base/foll-exec.exp: Likewise.
10646 * gdb.base/foll-fork.exp: Likewise.
10647 * gdb.base/foll-vfork.exp: Likewise.
10648 * gdb.base/funcargs.exp: Likewise.
10649 * gdb.base/hbreak2.exp: Likewise.
10650 * gdb.base/inferior-died.exp: Likewise.
10651 * gdb.base/interrupt.exp: Likewise.
10652 * gdb.base/multi-forks.exp: Likewise.
10653 * gdb.base/nodebug.exp: Likewise.
10654 * gdb.base/sepdebug.exp: Likewise.
10655 * gdb.base/solib1.c: Likewise.
10656 * gdb.base/step-test.exp: Likewise.
10657 * gdb.mi/non-stop.c: Likewise.
10658 * gdb.mi/pthreads.c: Likewise.
10659 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10660 * gdb.threads/pthreads.c: Likewise.
10661 * gdb.threads/staticthreads.exp: Likewise.
10662 * lib/future.exp: Likewise.
10663 * lib/gdb.exp: Likewise.
10664 * gdb.base/so-indr-cl.c: Remove.
10665 * gdb.base/so-indr-cl.exp: Likewise.
10666 * gdb.base/solib.c: Likewise.
10667 * gdb.base/solib.exp: Likewise.
10668 * gdb.base/solib2.c: Likewise.
10669
10670 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10671
10672 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10673 * gdb.base/call-ar-st.exp: Likewise.
10674 * gdb.base/callfuncs.exp: Likewise.
10675 * gdb.base/condbreak.exp: Likewise.
10676 * gdb.base/constvars.exp: Likewise.
10677 * gdb.base/hbreak2.exp: Likewise.
10678 * gdb.base/langs.exp: Likewise.
10679 * gdb.base/list.exp: Likewise.
10680 * gdb.base/long_long.exp: Likewise.
10681 * gdb.base/ptype.exp: Likewise.
10682 * gdb.base/scope.exp: Likewise.
10683 * gdb.base/signals.exp: Likewise.
10684 * gdb.base/so-impl-ld.exp: Likewise.
10685 * gdb.base/varargs.exp: Likewise.
10686 * gdb.base/volatile.exp: Likewise.
10687 * gdb.base/whatis.exp: Likewise.
10688 * gdb.cp/cplusfuncs.exp: Likewise.
10689 * gdb.cp/inherit.exp: Likewise.
10690 * gdb.cp/local.exp: Likewise.
10691 * gdb.cp/member-ptr.exp: Likewise.
10692 * gdb.cp/method.exp: Likewise.
10693 * gdb.cp/overload.exp: Likewise.
10694 * gdb.cp/templates.exp: Likewise.
10695 * gdb.stabs/weird.exp: Likewise.
10696 * lib/compiler.c: Likewise.
10697 * lib/compiler.cc: Likewise.
10698 * lib/cp-support.exp: Likewise.
10699 * lib/gdb.exp: Likewise.
10700
10701 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10702
10703 * configure.ac: Remove HP-UX case.
10704 * configure: Regenerate.
10705
10706 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10707
10708 * lib/gdb.exp (gdb_compile): Add function doc.
10709
10710 2015-12-17 Pedro Alves <palves@redhat.com>
10711
10712 PR threads/19354
10713 * gdb.multi/info-threads.exp: New file.
10714
10715 2015-12-15 Yao Qi <yao.qi@linaro.org>
10716
10717 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10718 is aarch64*-*-*.
10719
10720 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10721
10722 * gdb.base/history-duplicates.exp: Skip if no readline support.
10723
10724 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10725
10726 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10727
10728 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10729
10730 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10731
10732 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10733
10734 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10735 ctrl-C if nointerrupts target property is set.
10736 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10737 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10738 * gdb.base/paginate-bg-execution.exp: Likewise.
10739 * gdb.base/paginate-execution-startup.exp: Likewise.
10740 * gdb.base/random-signal.exp: Likewise.
10741 * gdb.base/range-stepping.exp: Likewise.
10742 * gdb.cp/annota2.exp: Likewise.
10743 * gdb.cp/annota3.exp: Likewise.
10744 * gdb.gdb/selftest.exp: Likewise.
10745 * gdb.threads/continue-pending-status.exp: Likewise.
10746 * gdb.threads/leader-exit.exp: Likewise.
10747 * gdb.threads/manythreads.exp: Likewise.
10748 * gdb.threads/pthreads.exp: Likewise.
10749 * gdb.threads/schedlock.exp: Likewise.
10750 * gdb.threads/sigthread.exp: Likewise.
10751
10752 2015-12-11 Don Breazeal <donb@codesourcery.com>
10753
10754 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10755 remote.
10756 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10757 * gdb.base/foll-exec.exp (main): Enable for target remote.
10758 * gdb.base/foll-fork.exp (main): Likewise.
10759 * gdb.base/foll-vfork.exp (main): Likewise.
10760 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10761 (proc continue_to_exit_bp_loc): Use clean_restart.
10762 * gdb.base/pie-execl.exp (main): Disable for target remote.
10763 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10764 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10765 * gdb.threads/execl.exp (main): Likewise.
10766 * gdb.threads/fork-child-threads.exp (main): Likewise.
10767 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10768 remote.
10769 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10770 remote.
10771 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10772 pid.tid style ptids, instead of just tid.
10773 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10774 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10775 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10776 ptids, instead of just tid.
10777
10778 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10779
10780 * gdb.base/list.exp (test_list_forward): Add end of file error
10781 test.
10782 (test_repeat_list_command): Add end of file error test.
10783 (test_list_backwards): Add beginning of file error test.
10784
10785 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10786
10787 * gdb.base/list.exp (test_list_invalid_args): New function,
10788 defined, and called.
10789
10790 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10791
10792 * gdb.base/list.exp (test_list): Make test names unique.
10793
10794 2015-12-11 Yao Qi <yao.qi@linaro.org>
10795
10796 * gdb.base/coremaker2.c: Remove.
10797
10798 2015-12-10 Pedro Alves <palves@redhat.com>
10799
10800 * gdb.multi/base.exp: Remove stale "spaces" references.
10801
10802 2015-12-10 Pedro Alves <palves@redhat.com>
10803
10804 * gdb.multi/base.exp: Don't use nowarnings.
10805 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10806 * gdb.multi/hangout.c: Include stdio.h.
10807 * gdb.multi/hello.c: Include stdlib.h.
10808 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10809 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10810 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10811
10812 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10813
10814 * gdb.dwarf2/dw2-ranges-base.c: New file.
10815 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10816 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10817 support additional line table, and debug ranges generation.
10818 (Dwarf::ranges): New function, generate .debug_ranges.
10819 (Dwarf::lines): Support generating simple line table programs.
10820 (Dwarf::assemble): Initialise new namespace variables.
10821
10822 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10823
10824 * gdb.base/async.exp (proc test_background): Add case for
10825 asynchronous execution not supported.
10826
10827 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10828
10829 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10830 format and change test names to make them unique.
10831
10832 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10833 Pedro Alves <pedro@redhat.com>
10834
10835 PR gdb/18702
10836 Add checking of floatformats setup on x86_64 hosts.
10837 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10838 (smallval, bigval): New labels/constants.
10839 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10840 float" after loading bigval and smallval.
10841
10842 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10843
10844 * gdb.ada/fun_overload_menu.exp: New testcase.
10845 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10846
10847 2015-12-04 Josh Stone <jistone@redhat.com>
10848
10849 * gdb.base/catch-fork-static.exp: New.
10850
10851 2015-12-03 Yao Qi <yao.qi@linaro.org>
10852
10853 * gdb.base/sizeof.c: Don't include stdio.h and
10854 ../lib/unbuffer_output.c.
10855 (main): New variable 'size' and 'value'. Remove printf and
10856 gdb_unbuffer_output. Assign return value to size and value.
10857 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10858 at the beginning.
10859 (check_sizeof): Check the result by printing variable 'size'.
10860 (check_valueof): Check the result by printing variable 'value'.
10861
10862 2015-12-01 Yao Qi <yao.qi@linaro.org>
10863
10864 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10865 for aarch64*-*-linux* target.
10866
10867 2015-11-30 Pedro Alves <palves@redhat.com>
10868
10869 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10870
10871 2015-11-30 Pedro Alves <palves@redhat.com>
10872
10873 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10874 Handle non-stop mode vCont replies.
10875
10876 2015-11-30 Pedro Alves <palves@redhat.com>
10877
10878 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10879 prepare_for_testing. Start gdb with "set non-stop on" appended to
10880 GDBFLAGS. Lax expected stop output.
10881
10882 2015-11-27 Yao Qi <yao.qi@linaro.org>
10883
10884 * gdb.arch/arm-neon.exp: New.
10885 * gdb.arch/arm-neon.c: New.
10886
10887 2015-11-27 Yao Qi <yao.qi@linaro.org>
10888
10889 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10890
10891 2015-11-27 Yao Qi <yao.qi@linaro.org>
10892
10893 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10894 frames-invalid annotation.
10895
10896 2015-11-27 Yao Qi <yao.qi@linaro.org>
10897
10898 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10899
10900 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10901
10902 * gdb.threads/names.exp: New file.
10903 * gdb.threads/names.c: New file.
10904 * README: Mention gdb,no_thread_names.
10905
10906 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10907
10908 PR 19297
10909 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10910 support" error.
10911
10912 2015-11-24 Pedro Alves <palves@redhat.com>
10913
10914 PR 17539
10915 * gdb.base/display.exp: Expect displays to be sorted in ascending
10916 order. Use multi_line.
10917 * gdb.base/solib-display.exp: Likewise.
10918
10919 2015-11-24 Pedro Alves <palves@redhat.com>
10920
10921 PR 17539
10922 * gdb.base/display.exp: Expect displays to be sorted in ascending
10923 order. Use multi_line.
10924 * gdb.base/solib-display.exp: Likewise.
10925
10926 2015-11-24 Pedro Alves <palves@redhat.com>
10927
10928 PR 17539
10929 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10930 threads in ascending order.
10931 * gdb.base/foll-fork.exp: Likewise.
10932 * gdb.base/foll-vfork.exp: Likewise.
10933 * gdb.base/multi-forks.exp: Likewise.
10934 * gdb.mi/mi-nonstop.exp: Likewise.
10935 * gdb.mi/mi-nsintrall.exp: Likewise.
10936 * gdb.multi/base.exp: Likewise.
10937 * gdb.multi/multi-arch.exp: Likewise.
10938 * gdb.python/py-inferior.exp: Likewise.
10939 * gdb.threads/break-while-running.exp: Likewise.
10940 * gdb.threads/execl.exp: Likewise.
10941 * gdb.threads/gcore-thread.exp: Likewise.
10942 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10943 * gdb.threads/kill.exp: Likewise.
10944 * gdb.threads/linux-dp.exp: Likewise.
10945 * gdb.threads/multiple-step-overs.exp: Likewise.
10946 * gdb.threads/next-bp-other-thread.exp: Likewise.
10947 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10948 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10949 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10950 * gdb.threads/thread-find.exp: Likewise.
10951 * gdb.threads/tls.exp: Likewise.
10952 * lib/mi-support.exp (mi_reverse_list): Delete.
10953 (mi_check_thread_states): No longer reverse list.
10954
10955 2015-11-24 Pedro Alves <palves@redhat.com>
10956
10957 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10958 use lowercase.
10959
10960 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10961
10962 * gdb.trace/actions.c: Include trace-common.h.
10963 (main): Add a location for a fast tracepoint.
10964 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10965 the normal tracepoints.
10966 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10967
10968 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10969
10970 * save-trace.exp: Factor out code to these...
10971 (gdb_save_tracepoints): New.
10972 (gdb_load_tracepoints): New.
10973 (do_save_load_test): New.
10974
10975 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10976
10977 * gdb.base/asmlabel.exp: New test.
10978 * gdb.base/asmlabel.c: New test case.
10979
10980 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10981
10982 * gdb.base/wrong_frame_bt_full-main.c: New file.
10983 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10984 * gdb.base/wrong_frame_bt_full.exp: New file.
10985
10986 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10987
10988 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10989
10990 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10991
10992 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10993 pstate register when comparing registers values in
10994 sparc64-*-linux-gnu targets to avoid spurious differences.
10995
10996 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10997
10998 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10999
11000 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11001
11002 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11003 as type argument to gdb_compile.
11004 * gdb.base/nested-subp2.exp: Likewise.
11005 * gdb.base/nested-subp3.exp: Likewise.
11006
11007 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11008
11009 * lib/dwarf.exp (_note): Fix left shift of negative value.
11010 * gdb.trace/trace-condition.exp: Likewise.
11011
11012 2015-11-13 Yao Qi <yao.qi@linaro.org>
11013
11014 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11015 comments about d10v.
11016 (test_scalar_returns): Likewise.
11017 * gdb.base/d10v.ld: Remove.
11018 * gdb.base/overlays.exp: Remove the target triplet checking for
11019 d10v-*-*.
11020 * gdb.base/structs.exp (test_struct_returns): Remove the
11021 comments about d10v.
11022 (test_struct_calls): Likewise.
11023
11024 2015-11-13 Yao Qi <yao.qi@linaro.org>
11025
11026 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11027 * gdb.base/gnu_vector.c: Don't include stdio.h.
11028 (main): Don't print res and call add_some_intvecs.
11029
11030 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11031
11032 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11033 macro.
11034 (func5): Removed.
11035 (func4): Use FAST_TRACEPOINT_LABEL.
11036 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11037 macro.
11038 (func): Removed.
11039 (thread_function): Use FAST_TRACEPOINT_LABEL.
11040 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11041 (func): Remove.
11042 (marker): Use FAST_TRACEPOINT_LABEL.
11043 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11044 (pendfunc1): Remove.
11045 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11046 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11047 (foo): Remove.
11048 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11049 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11050 macro.
11051 (func): Remove.
11052 (marker): Use FAST_TRACEPOINT_LABEL.
11053 * gdb.trace/trace-common.h: New header.
11054 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11055 macro.
11056 (func): Remove.
11057 (marker): Use FAST_TRACEPOINT_LABEL.
11058 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11059 (func): Remove.
11060 (thread_function): Use FAST_TRACEPOINT_LABEL.
11061
11062 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11063
11064 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11065 in front.
11066 * gdb.trace/change-loc.exp: Use global pcreg definition.
11067 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11068 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11069 in front.
11070 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11071 * gdb.trace/pending.exp: Likewise.
11072 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11073 * gdb.trace/trace-break.exp: Likewise.
11074 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11075 in front.
11076 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11077 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11078 in front.
11079 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11080
11081 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11082
11083 * gdb.ada/fin_fun_out: New testcase.
11084
11085 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11086
11087 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11088 value associated with DW_AT_byte_size.
11089 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11090 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11091 DW_AT_upper_bound.
11092
11093 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11094
11095 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11096 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11097 version.
11098 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11099 gdb.dwarf2/dw2-canonicalize-type.exp,
11100 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11101 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11102 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11103 provided by gdb_target_symbol_prefix_flags_asm.
11104 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11105 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11106 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11107 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11108 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11109 macros where needed). Use this macro for symbols which require
11110 the prefix provided by SYMBOL_PREFIX.
11111
11112 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11113
11114 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11115 New procs.
11116 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11117 representing expressions, of more than one list element.
11118 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11119 to prepend linker symbol prefix to f.
11120 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11121 table_1 and table_2.
11122 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11123 Likewise, for f and g.
11124 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11125 for ptr.
11126 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11127 for main.
11128 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11129 table_1_ptr and table_2_ptr.
11130
11131 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11132 Joel Brobecker <brobecker@adacore.com>
11133
11134 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11135
11136 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11137
11138 * gdb.reverse/s390-mvcle.c: New test.
11139 * gdb.reverse/s390-mvcle.exp: New file.
11140 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11141
11142 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11143
11144 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11145
11146 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11147
11148 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11149 reaching marker2.
11150 * gdb.reverse/getresuid-reverse.exp: Likewise.
11151 * gdb.reverse/pipe-reverse.exp: Likewise.
11152 * gdb.reverse/readv-reverse.exp: Likewise.
11153 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11154 * gdb.reverse/time-reverse.exp: Likewise.
11155 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11156
11157 2015-10-30 Yao Qi <yao.qi@linaro.org>
11158
11159 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11160 (empty_cycle): Remove.
11161 (main): Don't call empty_cycle. Don't use watch_count_done.
11162 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11163 empty_cycle. Rewrite the code counting HW watchpoints.
11164
11165 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11166
11167 * gdb.reverse/fstatat-reverse.c: New test.
11168 * gdb.reverse/fstatat-reverse.exp: New file.
11169 * gdb.reverse/getresuid-reverse.c: New test.
11170 * gdb.reverse/getresuid-reverse.exp: New file.
11171 * gdb.reverse/pipe-reverse.c: New test.
11172 * gdb.reverse/pipe-reverse.exp: New file.
11173 * gdb.reverse/readv-reverse.c: New test.
11174 * gdb.reverse/readv-reverse.exp: New file.
11175 * gdb.reverse/recvmsg-reverse.c: New test.
11176 * gdb.reverse/recvmsg-reverse.exp: New file.
11177 * gdb.reverse/time-reverse.c: New test.
11178 * gdb.reverse/time-reverse.exp: New file.
11179 * gdb.reverse/waitpid-reverse.c: New test.
11180 * gdb.reverse/waitpid-reverse.exp: New file.
11181
11182 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11183
11184 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11185
11186 2015-10-26 Doug Evans <dje@google.com>
11187
11188 PR symtab/17391
11189 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11190 * gdb.dwarf2/bad-regnum.c: New file.
11191 * gdb.dwarf2/bad-regnum.exp: New file.
11192
11193 2015-10-26 Doug Evans <dje@google.com>
11194
11195 PR python/18938
11196 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11197 file.
11198
11199 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11200
11201 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11202 for a change by "Mention language in compile error message".
11203
11204 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11205
11206 PR python/18073
11207 * gdb.python/py-type.c (C::a_method): New.
11208 (C::a_const_method): New.
11209 (C::a_static_method): New.
11210 (a_function): New.
11211 * gdb.python/py-type.exp (test_fields): Test getting fields
11212 from function and method.
11213
11214 2015-10-21 Keven Boell <keven.boell@intel.com>
11215
11216 * gdb.fortran/vla-alloc-assoc.exp: New file.
11217 * gdb.fortran/vla-datatypes.exp: New file.
11218 * gdb.fortran/vla-datatypes.f90: New file.
11219 * gdb.fortran/vla-history.exp: New file.
11220 * gdb.fortran/vla-ptype-sub.exp: New file.
11221 * gdb.fortran/vla-ptype.exp: New file.
11222 * gdb.fortran/vla-sizeof.exp: New file.
11223 * gdb.fortran/vla-sub.f90: New file.
11224 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11225 * gdb.fortran/vla-value-sub-finish.exp: New file.
11226 * gdb.fortran/vla-value-sub.exp: New file.
11227 * gdb.fortran/vla-value.exp: New file.
11228 * gdb.fortran/vla-ptr-info.exp: New file.
11229 * gdb.mi/mi-vla-fortran.exp: New file.
11230 * gdb.mi/vla.f90: New file.
11231
11232 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11233
11234 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11235 of hardwired timeout value.
11236
11237 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11238 Pedro Alves <palves@redhat.com>
11239
11240 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11241 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11242
11243 2015-10-19 Josh Stone <jistone@redhat.com>
11244
11245 * gdb.base/catch-syscall.c: Include <sched.h>.
11246 (unknown_syscall): New variable.
11247 (main): Trigger a vfork and an unknown syscall.
11248 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11249 (unknown_syscall_number): Likewise.
11250 (check_call_to_syscall): Accept an optional syscall pattern.
11251 (check_return_from_syscall): Likewise.
11252 (check_continue): Likewise.
11253 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11254 (test_catch_syscall_skipping_return): New test toggling off 'catch
11255 syscall' to step over the syscall return, then toggling back on.
11256 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11257 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11258 (do_syscall_tests): Call test_catch_syscall_without_args and
11259 test_catch_syscall_mid_vfork.
11260 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11261 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11262
11263 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11264
11265 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11266 print g_vE): Add new pass patterns.
11267 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11268 print various symbol names for vptr fields.
11269
11270 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11271
11272 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11273 results.
11274
11275 2015-10-12 Yao Qi <yao.qi@linaro.org>
11276
11277 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11278
11279 2015-10-12 Yao Qi <yao.qi@linaro.org>
11280
11281 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11282 is aarch64*-*-linux*.
11283
11284 2015-10-12 Yao Qi <yao.qi@linaro.org>
11285
11286 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11287 (can_relocate_bcond_true): ... it.
11288 (can_relocate_bcond_false): New function.
11289 (foo): Likewise.
11290 (can_relocate_bl): Likewise.
11291 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11292 can_relocate_bl.
11293
11294 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11295
11296 * gdb.base/nested-addr.c: New file.
11297 * gdb.base/nested-addr.exp: New testcase.
11298
11299 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11300
11301 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11302 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11303 its output. Ignore the output of "record goto begin" and instead
11304 check that GDB is replaying.
11305
11306 2015-10-09 Pedro Alves <palves@redhat.com>
11307
11308 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11309 (top level): Use it in the run with no args test.
11310
11311 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11312
11313 * gdb.dlang/properties.exp: New file.
11314
11315 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11316
11317 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11318 whether or not address 0x1000 is mapped on the target.
11319
11320 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11321
11322 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11323 build.
11324
11325 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11326
11327 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11328 instruction-history test.
11329
11330 2015-09-28 Doug Evans <dje@google.com>
11331
11332 * gdb.base/gcore.c (array_func): Add reference to static_array.
11333
11334 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11335
11336 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11337 source line.
11338
11339 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11340
11341 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11342 short or char as base type.
11343
11344 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11345
11346 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11347 to allow any size enum.
11348
11349 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11350
11351 * gdb.ada/array_ptr_renaming.exp: New testcase.
11352 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11353 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11354
11355 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11356
11357 * gdb.trace/ftrace-lock.c: New file.
11358 * gdb.trace/ftrace-lock.exp: New file.
11359
11360 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11361
11362 * gdb.arch/insn-reloc.c: New file.
11363 * gdb.arch/ftrace-insn-reloc.exp: New file.
11364
11365 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11366
11367 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11368 instruction.
11369 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11370 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11371 * gdb.trace/range-stepping.c: Likewise.
11372 * gdb.trace/trace-break.c: Likewise.
11373 * gdb.trace/trace-mt.c (thread_function): Likewise.
11374 * gdb.trace/ftrace.c (marker): Likewise.
11375 * gdb.trace/trace-condition.c (marker): Likewise.
11376 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11377 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11378 is_aarch64_target.
11379
11380 2015-09-18 Doug Evans <xdje42@gmail.com>
11381
11382 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11383 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11384
11385 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11386
11387 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11388 the breakpoint.
11389
11390 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11391
11392 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11393 the pending breakpoint. Remove timeout override for "Run till
11394 MI pending breakpoint on pendfunc3 on thread 2" test.
11395
11396 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11397
11398 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11399 filename pattern.
11400
11401 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11402
11403 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11404 in breakpoint filename pattern.
11405
11406 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11407
11408 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11409
11410 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11411
11412 * gdb.linespec/explicit.exp: Check for readline support for
11413 tab-completion tests. Fix obvious typo.
11414
11415 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11416
11417 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11418 and replay.
11419
11420 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11421
11422 * gdb.btrace/non-stop.c: New.
11423 * gdb.btrace/non-stop.exp: New.
11424
11425 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11426 Yao Qi <yao.qi@linaro.org>
11427
11428 * gdb.trace/trace-condition.c: New file.
11429 * gdb.trace/trace-condition.exp: New file.
11430
11431 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11432
11433 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11434 for testing bytecode compilation.
11435
11436 2015-09-16 Pedro Alves <palves@redhat.com>
11437 Sandra Loosemore <sandra@codesourcery.com>
11438
11439 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11440 (SECONDS): Redefine.
11441 (main): Call pthread_kill and alarm early.
11442 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11443 support.
11444 (test): If the target can't hardware step and doesn't support
11445 displaced stepping, increase the timeout.
11446
11447 2015-09-16 Pedro Alves <palves@redhat.com>
11448
11449 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11450 (enable_debug): New procedures.
11451 (test): Use them. Bail out if waiting for threads fails.
11452 (top level): Bail out if a test fails.
11453
11454 2015-09-16 Yao Qi <yao.qi@linaro.org>
11455
11456 * gdb.asm/asm-source.exp: Set asm-arch for
11457 aarch64*-*-* target.
11458 * gdb.asm/aarch64.inc: New file.
11459
11460 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11461
11462 * gdb.ada/array_of_variable_length.exp: New testcase.
11463 * gdb.ada/array_of_variable_length/foo.adb: New file.
11464 * gdb.ada/array_of_variable_length/pck.adb: New file.
11465 * gdb.ada/array_of_variable_length/pck.ads: New file.
11466
11467 2015-09-15 Doug Evans <dje@google.com>
11468
11469 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11470 of function static local variable.
11471
11472 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11473
11474 * gdb.threads/tls-so_extern.exp: New test file.
11475 * gdb.threads/tls-so_extern.c: New test file.
11476 * gdb.threads/tls-so_extern_main.c: New test file.
11477
11478 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11479
11480 * gdb.opt/solib-intra-step-lib.c: New file.
11481 * gdb.opt/solib-intra-step-main.c: New file.
11482 * gdb.opt/solib-intra-step.exp: New file.
11483
11484 2015-09-15 Pedro Alves <palves@redhat.com>
11485
11486 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11487 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11488
11489 2015-09-14 Pedro Alves <palves@redhat.com>
11490
11491 * gdb.base/hook-stop-continue.c: Delete.
11492 * gdb.base/hook-stop-continue.exp: Delete.
11493 * gdb.base/hook-stop-frame.c: Delete.
11494 * gdb.base/hook-stop-frame.exp: Delete.
11495 * gdb.base/hook-stop.c: New file.
11496 * gdb.base/hook-stop.exp: New file.
11497
11498 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11499
11500 * gdb.ada/access_to_packed_array.exp: New testcase.
11501 * gdb.ada/access_to_packed_array/foo.adb: New file.
11502 * gdb.ada/access_to_packed_array/pack.adb: New file.
11503 * gdb.ada/access_to_packed_array/pack.ads: New file.
11504
11505 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11506
11507 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11508 buffer size test.
11509
11510 2015-09-11 Don Breazeal <donb@codesourcery.com>
11511
11512 * gdb.base/foll-exec.c: Add copyright header. Fix
11513 formatting issues.
11514 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11515 (do_exec_tests): Use clean_restart in place of zap_session,
11516 and for test initialization. Fix formatting issues. Use
11517 fail in place of perror.
11518 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11519 an expect statement to match an expression with output from
11520 the program under debug.
11521 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11522 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11523 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11524 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11525 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11526
11527 2015-09-09 Doug Evans <dje@google.com>
11528
11529 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11530
11531 2015-09-09 Doug Evans <dje@google.com>
11532
11533 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11534
11535 2015-09-09 Doug Evans <dje@google.com>
11536
11537 * gdb.base/savedregs.exp: Fix typo.
11538
11539 2015-09-09 Pedro Alves <palves@redhat.com>
11540
11541 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11542
11543 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11544
11545 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11546 command actually switches threads. Give up on remaining
11547 tests if target fails to stop at breakpoint.
11548
11549 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11550
11551 * gdb.ada/funcall_char.exp: New testcase.
11552 * gdb.ada/funcall_char/foo.adb: New file.
11553
11554 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11555
11556 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11557 expected outputs. Add two testcases for completing ambiguous
11558 functions.
11559 * gdb.ada/complete/aux_pck.adb: New file.
11560 * gdb.ada/complete/aux_pck.ads: New file.
11561 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11562 Ambiguous_Func functions.
11563 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11564 * gdb.ada/complete/pck.adb: Likewise.
11565
11566 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11567
11568 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11569 failures to run the test program under GDB.
11570
11571 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11572
11573 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11574 to C.
11575
11576 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11577
11578 * gdb.base/run-after-attach.exp: New test file.
11579 * gdb.base/run-after-attach.c: New test file.
11580
11581 2015-08-26 Don Breazeal <donb@codesourcery.com>
11582
11583 * gdb.base/foll-exec-2.c: New test program.
11584 * gdb.base/foll-exec-2.exp: New test.
11585
11586 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11587
11588 * gdb.base/nested-subp1.exp: New file.
11589 * gdb.base/nested-subp1.c: New file.
11590 * gdb.base/nested-subp2.exp: New file.
11591 * gdb.base/nested-subp2.c: New file.
11592 * gdb.base/nested-subp3.exp: New file.
11593 * gdb.base/nested-subp3.c: New file.
11594
11595 2015-08-24 Pedro Alves <palves@redhat.com>
11596
11597 * gdb.server/connect-without-multi-process.c: New file.
11598 * gdb.server/connect-without-multi-process.exp: New file.
11599
11600 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11601
11602 * gdb.opt/inline-markers.c: Make z int.
11603
11604 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11605
11606 * gdb.opt/inline-markers.c: Make z volatile.
11607
11608 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11609
11610 * gdb.opt/inline-bt.c: New volatile global z.
11611 * gdb.opt/inline-cmds.c: Likewise.
11612 * gdb.opt/inline-locals.c: Likewise.
11613 * gdb.opt/inline-markers.c: New extern global z.
11614 (marker): Use z.
11615 (inline_fn): Likewise.
11616
11617 2015-08-24 Pedro Alves <palves@redhat.com>
11618
11619 * config/m32r-stub.exp: Remove file.
11620 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11621 * gdb.base/call-rt-st.exp: Likewise.
11622 * gdb.base/call-strs.exp: Likewise.
11623 * gdb.base/default.exp: Remove references to h8300-*-hms and
11624 *-*-udi*.
11625 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11626
11627 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11628
11629 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11630 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11631 and "return" use KFAIL when GDB can not read/write the vector
11632 return value.
11633
11634 2015-08-21 Gary Benson <gbenson@redhat.com>
11635
11636 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11637
11638 2015-08-20 Pedro Alves <palves@redhat.com>
11639
11640 * gdb.server/solib-list.exp: No longer expect an interior stop in
11641 non-stop mode.
11642
11643 2015-08-20 Pedro Alves <palves@redhat.com>
11644
11645 * gdb.server/connect-stopped-target.c: New file.
11646 * gdb.server/connect-stopped-target.exp: New file.
11647
11648 2015-08-20 Pedro Alves <palves@redhat.com>
11649
11650 * gdb.dwarf2/comp-unit-lang.exp: New file.
11651 * gdb.dwarf2/comp-unit-lang.c: New file.
11652
11653 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11654
11655 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11656 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11657
11658 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11659
11660 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11661 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11662
11663 2015-08-18 Doug Evans <dje@google.com>
11664 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11665
11666 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11667 skip_python_tests. New arg prompt_regexp.
11668 (skip_python_tests): New function.
11669 * lib/mi-support.exp (mi_skip_python_tests): New function.
11670 * gdb.python/py-mi-objfile-gdb.py: New file.
11671 * gdb.python/py-mi-objfile.c: New file.
11672 * gdb.python/py-mi-objfile.exp: New file.
11673
11674 2015-08-17 Keith Seitz <keiths@redhat.com>
11675
11676 * gdb.linespec/explicit.exp: Move strace test from here ...
11677 * gdb.trace/strace.exp: ... to here.
11678
11679 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11680
11681 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11682 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11683
11684 2015-08-14 Doug Evans <xdje42@gmail.com>
11685
11686 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11687 inferior before selecting a new file.
11688
11689 2015-08-14 Doug Evans <xdje42@gmail.com>
11690
11691 * gdb.mi/mi-disassemble.exp: Update.
11692 * gdb.base/disasm-optim.S: New file.
11693 * gdb.base/disasm-optim.c: New file.
11694 * gdb.base/disasm-optim.h: New file.
11695 * gdb.base/disasm-optim.exp: New file.
11696
11697 2015-08-14 Keith Seitz <keiths@redhat.com>
11698
11699 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11700 "evaluated-by".
11701
11702 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11703
11704 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11705
11706 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11707
11708 * gdb.ada/fun_renaming.exp: New testcase.
11709 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11710 * gdb.ada/fun_renaming/pack.adb: New file.
11711 * gdb.ada/fun_renaming/pack.ads: New file.
11712
11713 2015-08-12 Keith Seitz <keiths@redhat.com>
11714
11715 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11716 gdb_get_line_number.
11717
11718 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11719
11720 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11721 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11722 gdb.base/dso2dso.exp: New files.
11723
11724 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11725 Pedro Alves <palves@redhat.com>
11726 Keith Seitz <keiths@redhat.com>
11727
11728 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11729 GDBFLAGS.
11730
11731 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11732
11733 * gdb.base/gdbhistsize-history.exp
11734 (test_histsize_history_setting): Use save_vars.
11735 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11736 Use save_vars.
11737 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11738 * gdb.base/readline.exp: Use save_vars.
11739
11740 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11741
11742 * lib/gdb.exp (save_vars): New proc.
11743
11744 2015-08-11 Keith Seitz <keiths@redhat.com>
11745
11746 * gdb.base/help.exp: Update help_breakpoint_text.
11747
11748 2015-08-11 Keith Seitz <keiths@redhat.com>
11749
11750 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11751 (at toplevel): Call test_explicit_breakpoints.
11752 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11753 breakpoints.
11754 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11755 breakpoint conditions, "-cond".
11756
11757 2015-08-11 Keith Seitz <keiths@redhat.com>
11758
11759 * gdb.linespec/3explicit.c: New file.
11760 * gdb.linespec/cpexplicit.cc: New file.
11761 * gdb.linespec/cpexplicit.exp: New file.
11762 * gdb.linespec/explicit.c: New file.
11763 * gdb.linespec/explicit.exp: New file.
11764 * gdb.linespec/explicit2.c: New file.
11765 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11766 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11767 before using in the matching pattern.
11768 Clarify that `prefix' is a regular expression.
11769
11770 2015-08-11 Keith Seitz <keiths@redhat.com>
11771
11772 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11773 test.
11774 Add tests for missing ",FMT" and ",".
11775
11776 2015-08-10 Doug Evans <dje@google.com>
11777 Keith Seitz <keiths@redhat.com>
11778
11779 PR gdb/17960
11780 * gdb.base/completion.exp: Add location completer tests.
11781
11782 2015-08-07 Pedro Alves <palves@redhat.com>
11783
11784 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11785 tests here.
11786 (top level): Run do_test with and without displaced stepping.
11787
11788 2015-08-07 Pedro Alves <palves@redhat.com>
11789
11790 * gdb.base/valgrind-disp-step.c: New file.
11791 * gdb.base/valgrind-disp-step.exp: New file.
11792
11793 2015-08-07 Pedro Alves <palves@redhat.com>
11794
11795 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11796 Delete function.
11797 (main): Add alarm. Run an infinite loop instead of calling
11798 wait_threads.
11799 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11800 comment.
11801 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11802 Delete function.
11803 (main): Add alarm. Run an infinite loop instead of calling
11804 wait_threads.
11805 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11806 comment.
11807
11808 2015-08-07 Pedro Alves <palves@redhat.com>
11809
11810 * gdb.base/checkpoint-ns.exp: New file.
11811 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11812 standard_testfile.
11813
11814 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11815
11816 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11817 * gdb.btrace/instruction_history.exp: Update.
11818 * gdb.btrace/tsx.exp: New.
11819 * gdb.btrace/tsx.c: New.
11820
11821 2015-08-06 Pedro Alves <palves@redhat.com>
11822
11823 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11824 increase timeout.
11825 * gdb.reverse/until-precsave.exp: Bump timeouts.
11826
11827 2015-08-06 Pedro Alves <palves@redhat.com>
11828
11829 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11830
11831 2015-08-06 Pedro Alves <palves@redhat.com>
11832
11833 PR gdb/18749
11834 * gdb.threads/process-dies-while-handling-bp.c: New file.
11835 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11836
11837 2015-08-06 Pedro Alves <palves@redhat.com>
11838
11839 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11840 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11841
11842 2015-08-05 Pedro Alves <palves@redhat.com>
11843
11844 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11845 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11846
11847 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11848
11849 * gdb.base/bp-permanent.exp: Report test as unsupported if
11850 the target cannot stop at the permanent breakpoint.
11851
11852 2015-08-03 Doug Evans <dje@google.com>
11853
11854 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11855 10000.
11856
11857 2015-08-03 Doug Evans <dje@google.com>
11858
11859 * Makefile.in (workers/%.worker, build-perf): New rule.
11860 (GDB_PERFTEST_MODE): New variable.
11861 (check-perf): Use it.
11862 (clean): Clean up gdb.perf parallel build subdirs.
11863 * lib/build-piece.exp: New file.
11864 * lib/gdb.exp (make_gdb_parallel_path): New function
11865 (standard_output_file, standard_temp_file): Call it.
11866 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11867 of $GDB_PARALLEL.
11868 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11869
11870 2015-08-03 Doug Evans <dje@google.com>
11871
11872 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11873 (LOG_FILE_NAME): New global.
11874 (TextReporter.__init__): Initialize self.txt_sum.
11875 (TextReporter.report): Add support for multiple data-points.
11876 Move report to perftest.sum, put raw data in perftest.log.
11877 (TextReporter.start): Open sum and log files.
11878 (TextReporter.end): Close sum and log files.
11879 * gdb.perf/lib/perftest/testresult.py
11880 (SingleStatisticTestResult.record): Handle multiple data-points.
11881
11882 2015-07-31 Pedro Alves <palves@redhat.com>
11883
11884 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11885 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11886 kill_wait_spawned_process instead of explicit "kill -9".
11887 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11888 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11889 kill_wait_spawned_process.
11890 * gdb.base/attach-twice.exp: Likewise.
11891 * gdb.base/attach.exp: Likewise.
11892 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11893 gdb_test_multiple.
11894 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11895 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11896 kill_wait_spawned_process.
11897 * gdb.base/valgrind-infcall.exp: Likewise.
11898 * gdb.multi/multi-attach.exp: Likewise.
11899 * gdb.python/py-prompt.exp: Likewise.
11900 * gdb.python/py-sync-interp.exp: Likewise.
11901 * gdb.server/ext-attach.exp: Likewise.
11902 * gdb.threads/attach-into-signal.exp (corefunc): Use
11903 spawn_wait_for_attach, spawn_id_get_pid and
11904 kill_wait_spawned_process.
11905 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11906 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11907 spawn_id_get_pid and kill_wait_spawned_process.
11908 * gdb.threads/attach-stopped.exp (corefunc): Use
11909 spawn_wait_for_attach, spawn_id_get_pid and
11910 kill_wait_spawned_process.
11911 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11912 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11913 kill_wait_spawned_process instead of explicit "kill -9".
11914 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11915 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11916 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11917 processes. Don't map cygwin/windows pids here. Now returns a
11918 spawn id list.
11919
11920 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11921
11922 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11923 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11924 correct patch.
11925
11926 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11927
11928 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11929
11930 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11931
11932 Reapply:
11933 2014-05-21 Mark Wielaard <mjw@redhat.com>
11934
11935 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11936
11937 2015-07-30 Pedro Alves <palves@redhat.com>
11938
11939 * linux-low.c (handle_extended_wait): Set the child's last
11940 reported status to TARGET_WAITKIND_STOPPED.
11941
11942 2015-07-30 Pedro Alves <palves@redhat.com>
11943
11944 PR threads/18600
11945 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11946 only shows inferior 1.
11947
11948 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11949 Pedro Alves <palves@redhat.com>
11950
11951 PR threads/18600
11952 * gdb.threads/fork-plus-threads.c: New file.
11953 * gdb.threads/fork-plus-threads.exp: New file.
11954
11955 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11956
11957 * gdb.base/batch-preserve-term-settings.exp
11958 (test_terminal_settings_preserved_after_cli_exit): Use
11959 send_quit_command.
11960
11961 2015-07-29 Pedro Alves <palves@redhat.com>
11962 Don Breazeal <donb@codesourcery.com>
11963
11964 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11965 output from both inferior_spawn_id and gdb_spawn_id.
11966
11967 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11968
11969 * gdb.threads/attach-into-signal.exp (corefunc): Use
11970 with_test_prefix on nested loops, uniquefying the test messages.
11971
11972 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11973
11974 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11975 commit.
11976
11977 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11978
11979 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11980 New proc.
11981 (test_terminal_settings_preserved_after_sigterm): New test.
11982
11983 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11984
11985 * gdb.base/batch-preserve-term-settings.exp
11986 (test_terminal_settings_preserved_after_cli_exit): New test.
11987
11988 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11989
11990 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11991 manipulation of saved_gdbflags.
11992 (test_terminal_settings_preserved): Remove global declaration of
11993 the unused variable pagination_prompt. Remove manipulation of
11994 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11995 GDBFLAGS.
11996
11997 2015-07-29 Pedro Alves <palves@redhat.com>
11998
11999 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12000
12001 2015-07-29 Pedro Alves <palves@redhat.com>
12002
12003 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12004 at the top.
12005
12006 2015-07-29 Pedro Alves <palves@redhat.com>
12007
12008 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12009 (main): Call gdb_unbuffer_output.
12010 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12011 (main): Call gdb_unbuffer_output.
12012 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12013 (main): Call gdb_unbuffer_output.
12014 * gdb.base/call-strs.exp: Adjust to step over the
12015 gdb_unbuffer_output call.
12016 * gdb.base/catch-gdb-caused-signals.c: Include
12017 "../lib/unbuffer_output.c".
12018 (main): Call gdb_unbuffer_output.
12019 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12020 (main): Call gdb_unbuffer_output.
12021 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12022 (main): Call gdb_unbuffer_output.
12023 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12024 (main): Call gdb_unbuffer_output.
12025 * gdb.base/shlib-call.exp: Adjust to step over the
12026 gdb_unbuffer_output call.
12027 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12028 (main): Call gdb_unbuffer_output.
12029 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12030 (main): Call gdb_unbuffer_output.
12031 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12032 (main): Rename to ...
12033 (test): ... this.
12034 (main): Reimplement.
12035 * gdb.base/varargs.exp: Run to test instead of to main.
12036 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12037 (main): Call gdb_unbuffer_output.
12038
12039 2015-07-29 Pedro Alves <palves@redhat.com>
12040
12041 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12042 factore out from mi_continue_dprintf. For call-style dprintfs,
12043 expect dprintf output out of $inferior_spawn_id.
12044 (mi_continue_dprintf): Use mi_expect_dprintf.
12045 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12046 (main): Call gdb_unbuffer_output.
12047
12048 2015-07-29 Pedro Alves <palves@redhat.com>
12049
12050 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12051 (default_mi_gdb_start): Set inferior_spawn_id instead of
12052 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12053 gdb_spawn_id.
12054 (mi_gdb_test): Always expect inferior output from both
12055 $inferior_spawn_id and $gdb_spawn_id.
12056
12057 2015-07-29 Pedro Alves <palves@redhat.com>
12058
12059 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12060 send_inferior and $inferior_spawn_id.
12061
12062 2015-07-29 Pedro Alves <palves@redhat.com>
12063
12064 * gdb.gdb/complaints.exp (test_initial_complaints)
12065 (test_serial_complaints, test_short_complaints): Use
12066 gdb_test_stdio.
12067 (test_empty_complaint): Handle $inferior_spawn_id !=
12068 $gdb_spawn_id.
12069
12070 2015-07-29 Pedro Alves <palves@redhat.com>
12071
12072 * gdb.base/varargs.exp: Use gdb_test_stdio.
12073
12074 2015-07-29 Pedro Alves <palves@redhat.com>
12075
12076 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12077
12078 2015-07-29 Pedro Alves <palves@redhat.com>
12079
12080 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12081
12082 2015-07-29 Pedro Alves <palves@redhat.com>
12083
12084 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12085 parameter into two new parameters, "inf_result" and "gdb_result".
12086 Expect inferior output and gdb output from $inferior_spawn_id and
12087 $gdb_spawn_id, respectively. Adjust all callers.
12088
12089 2015-07-29 Pedro Alves <palves@redhat.com>
12090
12091 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12092 of gdb_test_sequence.
12093
12094 2015-07-29 Pedro Alves <palves@redhat.com>
12095
12096 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12097 (saw_spurious_output): Expect inferior output from
12098 $inferior_spawn_id. Use gdb_test_stdio.
12099
12100 2015-07-29 Pedro Alves <palves@redhat.com>
12101
12102 * gdb.base/dprintf.exp: Use standard_testfile. Change
12103 prepare_for_testing call.
12104 (srcfile): Don't set.
12105 (restart): New procedure.
12106 (test_dprintf): New procecure, use to continue over dprintfs.
12107 (test_call, test_agent): New procedures, tests moved here.
12108 Restart gdb and recreate dprintfs. Adjust expected output.
12109
12110 2015-07-29 Pedro Alves <palves@redhat.com>
12111
12112 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12113
12114 2015-07-29 Pedro Alves <palves@redhat.com>
12115
12116 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12117
12118 2015-07-29 Pedro Alves <palves@redhat.com>
12119
12120 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12121 gdb_test_stdio.
12122
12123 2015-07-29 Pedro Alves <palves@redhat.com>
12124
12125 * lib/gdb.exp (gdb_test_stdio): New procedure.
12126
12127 2015-07-29 Pedro Alves <palves@redhat.com>
12128
12129 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12130
12131 2015-07-29 Pedro Alves <palves@redhat.com>
12132
12133 * gdb.base/call-signal-resume.exp: Remove check for
12134 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12135 * gdb.base/unwindonsignal.exp: Likewise.
12136 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12137 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12138
12139 2015-07-29 Pedro Alves <palves@redhat.com>
12140
12141 * gdb.base/siginfo-addr.c (pass): New function.
12142 (handler): Call it iff si_addr is correct.
12143 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12144 Set a breakpoint at "pass" and continue to it.
12145
12146 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12147
12148 * gdb.python/py-objfile.exp: Make some tests have unique names.
12149 * gdb.python/py-pp-registration.exp: Likewise.
12150
12151 2015-07-28 Pedro Alves <palves@redhat.com>
12152
12153 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12154
12155 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12156
12157 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12158
12159 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12160
12161 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12162
12163 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12164
12165 * gdb.base/gdb-sigterm-2.exp: New test.
12166
12167 2015-07-25 Doug Evans <xdje42@gmail.com>
12168
12169 Revert:
12170 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12171 (workers/%.worker, build-perf): New rule.
12172 (GDB_PERFTEST_MODE): New variable.
12173 (check-perf): Use it.
12174 (clean): Clean up gdb.perf parallel build subdirs.
12175 * lib/build-piece.exp: New file.
12176 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12177 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12178 name.
12179 (standard_temp_file): Ditto.
12180 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12181 of $GDB_PARALLEL.
12182
12183 2015-07-24 Doug Evans <dje@google.com>
12184
12185 * gdb.perf/lib/perftest/utils.py: New file.
12186 * gdb.perf/gm-hello.cc: New file.
12187 * gdb.perf/gm-pervasive-typedef.cc: New file.
12188 * gdb.perf/gm-pervasive-typedef.h: New file.
12189 * gdb.perf/gm-std.cc: New file.
12190 * gdb.perf/gm-std.h: New file.
12191 * gdb.perf/gm-use-cerr.cc: New file.
12192 * gdb.perf/gm-utils.h: New file.
12193 * gdb.perf/gmonster-null-lookup.py: New file.
12194 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12195 * gdb.perf/gmonster-print-cerr.py: New file.
12196 * gdb.perf/gmonster-ptype-string.py: New file.
12197 * gdb.perf/gmonster-runto-main.py: New file.
12198 * gdb.perf/gmonster-select-file.py: New file.
12199 * gdb.perf/gmonster1-null-lookup.exp: New file.
12200 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12201 * gdb.perf/gmonster1-print-cerr.exp: New file.
12202 * gdb.perf/gmonster1-ptype-string.exp: New file.
12203 * gdb.perf/gmonster1-runto-main.exp: New file.
12204 * gdb.perf/gmonster1-select-file.exp: New file.
12205 * gdb.perf/gmonster1.cc: New file.
12206 * gdb.perf/gmonster1.exp: New file.
12207 * gdb.perf/gmonster2-null-lookup.exp: New file.
12208 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12209 * gdb.perf/gmonster2-print-cerr.exp: New file.
12210 * gdb.perf/gmonster2-ptype-string.exp: New file.
12211 * gdb.perf/gmonster2-runto-main.exp: New file.
12212 * gdb.perf/gmonster2-select-file.exp: New file.
12213 * gdb.perf/gmonster2.cc: New file.
12214 * gdb.perf/gmonster2.exp: New file.
12215
12216 2015-07-24 Doug Evans <dje@google.com>
12217
12218 * gdb.perf/README: New file.
12219 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12220 * lib/gen-perf-test.exp: New file.
12221
12222 2015-07-24 Doug Evans <dje@google.com>
12223
12224 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12225 (PerfTest::startup): New function.
12226 (PerfTest::run): Return result of calling body.
12227 (PerfTest::assemble): Rewrite.
12228 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12229 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12230 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12231 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12232 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12233
12234 2015-07-24 Doug Evans <dje@google.com>
12235
12236 * lib/gdb.exp (clean_restart): Make executable optional.
12237
12238 2015-07-24 Doug Evans <dje@google.com>
12239
12240 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12241 compiler_info references.
12242 * gdb.cp/temargs.exp: Ditto.
12243 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12244 (get_compiler_info): Early exit if already computed. Set compiler_info
12245 to "unknown" if there was a problem.
12246 (test_compiler_info): Add function comment. Call get_compiler_info.
12247
12248 2015-07-24 Doug Evans <dje@google.com>
12249
12250 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12251 (workers/%.worker, build-perf): New rule.
12252 (GDB_PERFTEST_MODE): New variable.
12253 (check-perf): Use it.
12254 (clean): Clean up gdb.perf parallel build subdirs.
12255 * lib/build-piece.exp: New file.
12256 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12257 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12258 name.
12259 (standard_temp_file): Ditto.
12260 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12261 of $GDB_PARALLEL.
12262
12263 2015-07-24 Doug Evans <dje@google.com>
12264
12265 * lib/future.exp (gdb_default_target_compile): New option
12266 "early_flags".
12267 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12268 --as-needed.
12269
12270 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12271
12272 * gdb.base/catch-syscall.exp: Call gdb_exit before
12273 gdb_skip_xml_test.
12274
12275 2015-07-24 Pedro Alves <palves@redhat.com>
12276
12277 * gdb.python/py-events.exp: Accept output between the stop event
12278 and the prompt.
12279 * gdb.python/py-evsignal.exp: Likewise.
12280 * gdb.python/py-evthreads.exp: Likewise.
12281
12282 2015-07-24 Pedro Alves <palves@redhat.com>
12283
12284 PR gdb/18717
12285 * gdb.threads/non-ldr-exit.c: New file.
12286 * gdb.threads/non-ldr-exit.exp: New file.
12287
12288 2015-07-24 Yao Qi <yao.qi@linaro.org>
12289
12290 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12291 restarting process.
12292
12293 2015-07-24 Yao Qi <yao.qi@linaro.org>
12294
12295 * gdb.server/ext-restart.exp: New file.
12296
12297 2015-07-24 Yao Qi <yao.qi@linaro.org>
12298
12299 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12300 argument options.
12301 * gdb.server/ext-wrapper.exp: New file.
12302
12303 2015-07-23 Doug Evans <dje@google.com>
12304
12305 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12306 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12307
12308 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12309
12310 * gdb.ada/var_arr_typedef.exp: New testcase.
12311 * gdb.ada/var_arr_typedef/pack.adb: New file.
12312 * gdb.ada/var_arr_typedef/pack.ads: New file.
12313 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12314
12315 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12316
12317 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12318
12319 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12320
12321 * gdb.arch/i386-biarch-core.exp: Replace istarget
12322 by "complete set gnutarget". Remove expectation for the "core-file"
12323 command.
12324
12325 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12326
12327 Revert the previous commit:
12328 Tests for validate symbol file using build-id.
12329
12330 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12331
12332 Tests for validate symbol file using build-id.
12333 * gdb.base/solib-mismatch-lib.c: New file.
12334 * gdb.base/solib-mismatch-libmod.c: New file.
12335 * gdb.base/solib-mismatch.c: New file.
12336 * gdb.base/solib-mismatch.exp: New file.
12337
12338 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12339
12340 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12341 nios2-*-linux*.
12342 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12343 * gdb.base/siginfo.exp: Likewise.
12344 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12345
12346 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12347
12348 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12349 Move it to ...
12350 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12351 ... here.
12352 * gdb.trace/range-stepping.exp: Check that the target supports
12353 range stepping.
12354
12355 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12356
12357 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12358
12359 2015-07-14 Pedro Alves <palves@redhat.com>
12360
12361 * gdb.base/killed-outside.exp: New file.
12362 * gdb.base/killed-outside.c: New file.
12363
12364 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12365
12366 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12367 (n at main): New.
12368 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12369
12370 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12371
12372 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12373 infcall tests instead of setting up for KFAIL.
12374
12375 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12376
12377 * gdb.btrace/record_goto-step.exp: New.
12378
12379 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12380
12381 PR compile/18484
12382 * gdb.compile/compile.c (struct struct_type): Add volatile to
12383 selffield's type.
12384 * gdb.compile/compile.exp
12385 (compile code struct_object.selffield = &struct_object): Skip further
12386 struct_object tests if this one xfails.
12387
12388 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12389
12390 PR exp/18617
12391 * gdb.trace/ax.exp: Add test.
12392
12393 2015-07-07 Yao Qi <yao.qi@linaro.org>
12394
12395 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12396 instead of istarget "aarch64*-*-*".
12397 * gdb.arch/aarch64-fp.exp: Likewise.
12398 * gdb.base/float.exp: Likewise.
12399 * gdb.reverse/aarch64.exp: Likewise.
12400 * lib/gdb.exp (is_aarch64_target): New proc.
12401
12402 2015-07-07 Yao Qi <yao.qi@linaro.org>
12403
12404 * lib/gdb.exp (is_aarch32_target): New proc.
12405 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12406 instead of "istarget "arm*-*-*"".
12407 * gdb.arch/arm-disp-step.exp: Likewise.
12408 * gdb.arch/thumb-bx-pc.exp: Likewise.
12409 * gdb.arch/thumb-prologue.exp: Likewise.
12410 * gdb.arch/thumb-singlestep.exp: Likewise.
12411 * gdb.base/disp-step-syscall.exp: Likewise.
12412 * gdb.base/float.exp: Likewise.
12413
12414 2015-07-07 Yao Qi <yao.qi@linaro.org>
12415
12416 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12417 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12418
12419 2015-07-07 Yao Qi <yao.qi@linaro.org>
12420
12421 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12422 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12423 if it exists.
12424 * gdb.multi/multi-arch.exp: Likewise.
12425
12426 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12427
12428 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12429 print.
12430
12431 2015-07-07 Yao Qi <yao.qi@linaro.org>
12432
12433 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12434
12435 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12436
12437 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12438 '[' and ']' characters.
12439
12440 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12441
12442 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12443
12444 2015-06-29 Pedro Alves <palves@redhat.com>
12445
12446 PR threads/18127
12447 * gdb.threads/hand-call-new-thread.c: New file.
12448 * gdb.threads/hand-call-new-thread.c: New file.
12449
12450 2015-06-26 Keith Seitz <keiths@redhat.com>
12451 Doug Evans <dje@google.com>
12452
12453 PR 16253
12454 * gdb.cp/var-tag-2.cc: New file.
12455 * gdb.cp/var-tag-3.cc: New file.
12456 * gdb.cp/var-tag-4.cc: New file.
12457 * gdb.cp/var-tag.cc: New file.
12458 * gdb.cp/var-tag.exp: New file.
12459
12460 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12461
12462 * gdb.base/history-duplicates.exp: New test.
12463
12464 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12465
12466 * gdb.base/completion.exp: Test the completion of the "focus"
12467 command.
12468
12469 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12470
12471 * gdb.arch/amd64-prologue-skip.S: New file.
12472 * gdb.arch/amd64-prologue-skip.exp: New file.
12473
12474 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12475
12476 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12477 is_address_zero_readable check.
12478
12479 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12480
12481 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12482 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12483
12484 2015-06-24 Yao Qi <yao.qi@linaro.org>
12485
12486 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12487 linux targets.
12488
12489 2015-06-24 Yao Qi <yao.qi@linaro.org>
12490
12491 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12492 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12493 * gdb.base/siginfo-thread.exp: Likewise.
12494
12495 2015-06-22 Yao Qi <yao.qi@linaro.org>
12496
12497 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12498
12499 2015-06-22 Yao Qi <yao.qi@linaro.org>
12500
12501 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12502 aarch64*-*-*.
12503 (skip_hw_watchpoint_tests): Likewise.
12504
12505 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12506
12507 * gdb.base/gdbinit-history.exp: Test the interaction between
12508 setting GDBHISTSIZE and setting the history size via .gdbinit.
12509
12510 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12511
12512 PR gdb/16999
12513 * gdb.base/gdbhistsize-history.exp: New test.
12514
12515 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12516
12517 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12518 with GDBHISTSIZE.
12519 * gdb.base/readline.exp: Likewise.
12520
12521 2015-06-17 Yao Qi <yao.qi@linaro.org>
12522
12523 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12524 line.
12525
12526 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12527
12528 * gdb.base/gdbinit-history.exp: Add test case to check that
12529 an unlimited history file does not get truncated on exit.
12530
12531 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12532
12533 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12534 (VECTOR): New macro. Use it...
12535 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12536 ...for these typedefs.
12537 (int8, char1, int1, double1): New typedefs.
12538 (struct just_int2, struct two_int2): New structures.
12539 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12540 (add_structvecs, add_singlevecs): New functions.
12541 (main): Call add_some_intvecs twice.
12542 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12543 the compile and exit upon failure. Try compiling for the "native"
12544 architecture. Test inferior function calls with vector arguments
12545 and vector return value handling with "finish" and "return".
12546
12547 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12548
12549 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12550 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12551 PE file.
12552 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12553
12554 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12555
12556 PR breakpoints/16465
12557 * gdb.mi/mi-dprintf-pending.c: New file.
12558 * gdb.mi/mi-dprintf-pending.exp: New test.
12559 * gdb.mi/mi-dprintf-pendshr.c: New file.
12560
12561 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12562 Mircea Gherzan <mircea.gherzan@intel.com>
12563
12564 * gdb.arch/i386-mpx-map.c: New file.
12565 * gdb.arch/i386-mpx-map.exp: New File.
12566
12567 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12568
12569 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12570 * gdb.arch/i386-mpx.exp: Indentation fixed.
12571
12572 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12573
12574 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12575 function and improved indentation.
12576 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12577 gdb_test_multiple. Added additional tests to skip the test.
12578
12579 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12580
12581 * gdb.arch/i386-avx512.c: Change path in include file.
12582 * gdb.arch/i386-avx512.exp: Change include dir path
12583 compilation flag.
12584 * gdb.arch/i386-mpx.c: Change path in include file.
12585 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12586 flag.
12587
12588 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12589
12590 * gdb.compile/compile-print.exp (compile print *vararray@3)
12591 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12592
12593 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12594
12595 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12596 (do not keep jit in memory): ... this.
12597 (expect 5): Change it to ...
12598 (expect no 5): ... this.
12599
12600 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12601
12602 PR gdb/15564
12603 * gdb.mi/mi-detach.exp: New file.
12604
12605 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12606
12607 PR symtab/18392
12608 * gdb.arch/amd64-tailcall-self.S: New file.
12609 * gdb.arch/amd64-tailcall-self.c: New file.
12610 * gdb.arch/amd64-tailcall-self.exp: New file.
12611
12612 2015-05-28 Don Breazeal <donb@codesourcery.com>
12613
12614 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12615 tests for remote targets by checking is_target_gdbserver.
12616
12617 2015-05-27 Doug Evans <dje@google.com>
12618
12619 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12620 * gdb.dwarf2/opaque-type-lookup.c: New file.
12621 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12622
12623 2015-05-26 Doug Evans <dje@google.com>
12624
12625 * gdb.cp/iostream.cc: New file.
12626 * gdb.cp/iostream.exp: New file.
12627
12628 2015-05-26 Doug Evans <dje@google.com>
12629
12630 * gdb.dwarf2/dw2-op-call.exp: Update.
12631 * gdb.dwarf2/dw4-sig-types.exp: Update.
12632 * gdb.dwarf2/implptr.exp: Update.
12633 * gdb.mi/mi-cmd-param-changed.exp: Update.
12634
12635 2015-05-26 Doug Evans <dje@google.com>
12636
12637 * gdb.python/py-lazy-string.c: New file.
12638 * gdb.python/py-lazy-string.exp: New file.
12639 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12640 (main): Update. Add estring3.
12641 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12642 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12643
12644 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12645 Yao Qi <yao.qi@linaro.org>
12646
12647 * gdb.reverse/aarch64.c: New.
12648 * gdb.reverse/aarch64.exp: New.
12649
12650 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12651
12652 * lib/gdb.exp (supports_process_record): Return true for
12653 aarch64*-linux*.
12654 (supports_reverse): Likewise.
12655
12656 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12657
12658 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12659 Use with_test_prefix.
12660
12661 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12662
12663 * gdb.base/completion.exp: Add test for completion of layout
12664 names.
12665
12666 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12667
12668 * lib/gdb.exp (skip_tui_tests): New proc.
12669 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12670
12671 2015-05-19 Pedro Alves <palves@redhat.com>
12672
12673 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12674 Save the whole env array instead of just HOME. Unset HISTSIZE in
12675 the environment while testing. Restore whole environment
12676 afterwards.
12677
12678 2015-05-16 Doug Evans <xdje42@gmail.com>
12679
12680 * gdb.guile/scm-ports.c: New file.
12681 * gdb.guile/scm-ports.exp: Add memory port tests.
12682
12683 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12684
12685 * gdb.compile/compile-print.c: New file.
12686 * gdb.compile/compile-print.exp: New file.
12687
12688 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12689
12690 * gdb.compile/compile-ops.exp: Cast param to void.
12691 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12692 (compile code struct_object.selffield = &struct_object): Add xfail.
12693
12694 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12695
12696 * gdb.ada/arr_enum_with_gap: New testcase.
12697
12698 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12699
12700 * gdb.ada/byte_packed_arr: New testcase.
12701
12702 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12703
12704 * gdb.ada/pckd_neg: New testcase.
12705
12706 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12707
12708 PR gdb/17820
12709 * gdb.base/gdbinit-history.exp: New test.
12710 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12711 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12712
12713 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12714
12715 * gdb.python/py-xmethods.cc: Enhance test case.
12716 * gdb.python/py-xmethods.exp: New tests.
12717 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12718 function.
12719 (B_indexoper): Likewise.
12720 (global_dm_list) : Add new xmethod worker functions.
12721
12722 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12723
12724 * gdb.base/coredump-filter.exp: Correctly unset
12725 "coredump_var_addr" array.
12726
12727 2015-05-08 Pedro Alves <palves@redhat.com>
12728
12729 * gdb.server/non-existing-program.exp: Unset spawn_id.
12730
12731 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12732
12733 PR python/18291
12734 * gdb.python/py-xmethods.exp: Add tests.
12735
12736 2015-05-08 Yao Qi <yao.qi@linaro.org>
12737
12738 PR gdb/18208
12739 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12740 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12741 function set_coredump_filter, and remove remote_exec call.
12742 Remove argument ipid. Callers update.
12743 (top level): Don't get inferior's PID.
12744
12745 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12746
12747 * gdb.base/watch_thread_num.exp: Skip test on targets without
12748 access watchpoints.
12749
12750 2015-05-06 Pedro Alves <palves@redhat.com>
12751
12752 PR server/18081
12753 * gdb.server/non-existing-program.exp: New file.
12754
12755 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12756
12757 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12758
12759 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12760
12761 * gdb.ada/out_of_line_in_inlined: New testcase.
12762
12763 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12764
12765 * gdb.ada/var_rec_arr: New testcase.
12766
12767 2015-04-30 Yao Qi <yao.qi@linaro.org>
12768
12769 * gdb.base/break-idempotent.exp: If
12770 skip_hw_watchpoint_multi_tests returns true, skip the tests
12771 on "rwatch" and "awatch".
12772
12773 2015-04-30 Yao Qi <yao.qi@linaro.org>
12774
12775 * gdb.base/relativedebug.exp: Invoke gdb command
12776 "info sharedlibrary", and if libc.so doesn't have debug info,
12777 skip the test.
12778
12779 2015-04-29 Doug Evans <dje@google.com>
12780
12781 * gdb.python/py-xmethods.exp: Add ptype tests.
12782 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12783 get_result_type method.
12784
12785 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12786
12787 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12788 the target does not support hardware watchpoints.
12789
12790 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12791
12792 * gdb.base/break-always.exp: Abort testing if writing to memory
12793 causes an error.
12794
12795 2015-04-28 Doug Evans <dje@google.com>
12796
12797 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12798 * gdb.python/py-pp-registration.exp: ... here. New file.
12799 * gdb.python/py-pp-registration.c: New file.
12800 * gdb.python/py-pp-registration.py: New file.
12801
12802 2015-04-28 Doug Evans <dje@google.com>
12803
12804 * gdb.python/py-bad-printers.c: New file.
12805 * gdb.python/py-bad-printers.py: New file.
12806 * gdb.python/py-bad-printers.exp: New file.
12807
12808 2015-04-28 Sasha Smundak <asmundak@google.com>
12809
12810 * gdb.python/py-type.exp: New test.
12811
12812 2015-04-28 Andy Wingo <wingo@igalia.com>
12813
12814 * gdb.python/py-parameter.exp:
12815 * gdb.guile/scm-parameter.exp: Escape the path that we are
12816 matching against, as it might contain characters that are special
12817 to regular expressions.
12818
12819 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12820
12821 * gdb.ada/rec_comp: New testcase.
12822
12823 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12824
12825 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12826 before using it.
12827
12828 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12829
12830 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12831 new tests for verilog output.
12832
12833 2015-04-24 Yao Qi <yao.qi@linaro.org>
12834
12835 * boards/remote-gdbserver-on-localhost.exp: New file.
12836
12837 2015-04-23 Pedro Alves <palves@redhat.com>
12838
12839 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12840 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12841 "end of file", remove $inferior_spawn_id from the indirect list.
12842
12843 2015-04-23 Pedro Alves <palves@redhat.com>
12844
12845 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12846
12847 2015-04-23 Pedro Alves <palves@redhat.com>
12848
12849 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12850 on $any_spawn_id instead of only on $gdb_spawn_id.
12851
12852 2015-04-21 Pierre Muller <muller@sourceware.org>
12853
12854 PR pascal/17815
12855 * lib/pascal.exp (gpc_compile): Add new option "class".
12856 (fpc_compile): Likewise.
12857 * gdb.pascal/case-insensitive-symbols.pas: New file.
12858 * gdb.pascal/case-insensitive-symbols.exp: New file.
12859
12860 2015-04-20 Gary Benson <gbenson@redhat.com>
12861
12862 * gdb.base/attach.exp: Fix three extended remote failures.
12863
12864 2015-04-17 Gary Benson <gbenson@redhat.com>
12865
12866 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12867 the main executable over the remote protocol.
12868
12869 2015-04-16 Pedro Alves <palves@redhat.com>
12870
12871 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12872 a new gdbserver if gdbserver_reconnect_p is set.
12873
12874 2015-04-16 Pedro Alves <palves@redhat.com>
12875
12876 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12877 is set, don't exit gdbserver.
12878
12879 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12880
12881 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12882 appropriate .insn, such that an older assembler can be used.
12883 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12884 the z/Architecture instruction set on 31-bit targets as well.
12885
12886 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12887
12888 * gdb.go/handcall.exp: Remove all logic related to the first
12889 breakpoint and rely on go_runto_main instead.
12890 * gdb.go/strings.exp: Likewise.
12891 * gdb.go/unsafe.exp: Likewise.
12892 * gdb.go/hello.exp: Likewise. Also rename the remaining
12893 breakpoint marker to "breakpoint 1".
12894 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12895 * gdb.go/strings.go: Likewise.
12896 * gdb.go/unsafe.go: Likewise.
12897 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12898 "set breakpoint 2 here" and rename the remaining breakpoint marker
12899 to "breakpoint 1".
12900
12901 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12902
12903 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12904 if itertools.imap is not present.
12905 * gdb.python/py-objfile.exp: Add parentheses.
12906 * gdb.python/py-type.exp: Same.
12907 * gdb.python/py-unwind-maint.py: Same.
12908
12909 2015-04-15 Yao Qi <yao.qi@linaro.org>
12910
12911 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12912 of ":$ptr_size" and set its form explicitly.
12913
12914 2015-04-15 Pedro Alves <palves@redhat.com>
12915 Yao Qi <yao.qi@linaro.org>
12916
12917 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12918 timeout by factor of 4.
12919 (test_regular_watch): Likewise.
12920 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12921 * gdb.reverse/sigall-reverse.exp: Likewise.
12922 * gdb.reverse/until-precsave.exp: Likewise.
12923 * lib/gdb.exp (with_timeout_factor): New proc.
12924 (gdb_expect): Move some code to ...
12925 (get_largest_timeout): ... here. New procedure.
12926
12927 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
12928
12929 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12930
12931 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12932
12933 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12934 to write to the .text section.
12935
12936 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12937
12938 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12939 Handle the case of targets that do not provide PID information.
12940
12941 2015-04-13 Yao Qi <yao.qi@linaro.org>
12942
12943 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12944 and use expect instead of gdb_expect.
12945
12946 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12947
12948 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12949 "coredump_var_addr" to avoid naming conflict with other testcases.
12950
12951 2015-04-10 Pedro Alves <palves@redhat.com>
12952
12953 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12954 gdb_test_sequence and gdb_assert.
12955
12956 2015-04-10 Pedro Alves <palves@redhat.com>
12957
12958 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12959 test messages that don't include the breakpoint address.
12960
12961 2015-04-10 Yao Qi <yao.qi@linaro.org>
12962
12963 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12964 false for some offset and width combinations which aren't
12965 supported by linux kernel.
12966
12967 2015-04-10 Pedro Alves <palves@redhat.com>
12968
12969 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12970 procedure, factored out from ...
12971 (top level): ... here. Add "set displaced-stepping" testing axis.
12972 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12973 parameter "displaced". Use it.
12974 (top level): Use foreach and add "set displaced-stepping" testing
12975 axis.
12976
12977 2015-04-10 Pedro Alves <palves@redhat.com>
12978
12979 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12980 Remove comment.
12981 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12982 both the address of the instruction that triggers the watchpoint
12983 and the address of the instruction immediately after, and use
12984 those addresses for the test. Fix comment.
12985
12986 2015-04-10 Pedro Alves <palves@redhat.com>
12987
12988 * gdb.base/sigstep.exp (breakpoint_to_handler)
12989 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12990 Test "backtrace" in handler.
12991 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12992 (top level): Add new "displaced" test axis to
12993 breakpoint_to_handler, breakpoint_to_handler_entry and
12994 breakpoint_over_handler.
12995
12996 2015-04-10 Pedro Alves <palves@redhat.com>
12997
12998 PR gdb/18216
12999 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13000
13001 2015-04-10 Yao Qi <yao.qi@linaro.org>
13002
13003 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13004 (test_add_rn_pc): New function.
13005 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13006 (top level): Invoke test_add_rn_pc.
13007
13008 2015-04-10 Pedro Alves <palves@redhat.com>
13009
13010 PR gdb/13858
13011 * gdb.base/step-over-no-symbols.exp: New file.
13012
13013 2015-04-09 Andy Wingo <wingo@igalia.com>
13014
13015 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13016 after the Python tests.
13017
13018 2015-04-08 Keith Seitz <keiths@redhat.com>
13019
13020 PR python/16699
13021 * gdb.python/py-completion.exp: New tests for completion.
13022 * gdb.python/py-completion.py (CompleteLimit1): New class.
13023 (CompleteLimit2): Likewise.
13024 (CompleteLimit3): Likewise.
13025 (CompleteLimit4): Likewise.
13026 (CompleteLimit5): Likewise.
13027 (CompleteLimit6): Likewise.
13028 (CompleteLimit7): Likewise.
13029
13030 2015-04-08 Pedro Alves <palves@redhat.com>
13031
13032 PR gdb/18214
13033 PR gdb/18216
13034 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13035 function.
13036 (main): Install it as SIGUSR1 handler.
13037 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13038 parameter. Always use "setup" as prefix. Toggle "set
13039 displaced-stepping" off/on depending on global. Don't switch to
13040 thread 1 here.
13041 (top level): Add displaced stepping "off/on" test axis. Update
13042 "setup" calls. Wrap each subtest with with_test_prefix. Test
13043 continuing with a queued signal in each thread.
13044
13045 2015-04-08 Pedro Alves <palves@redhat.com>
13046
13047 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13048 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13049 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13050 Return early if running to main fails.
13051 * gdb.trace/while-stepping.exp: Likewise.
13052
13053 2015-04-07 Pedro Alves <palves@redhat.com>
13054
13055 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13056 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13057 interact with inferior program.
13058
13059 2015-04-07 Pedro Alves <palves@redhat.com>
13060
13061 * lib/gdb.exp (inferior_spawn_id): New global.
13062 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13063 spawn id after processing the user code.
13064 (default_gdb_start): Set inferior_spawn_id.
13065 (send_inferior): New procedure.
13066 * lib/gdbserver-support.exp (gdbserver_start): Set
13067 inferior_spawn_id.
13068 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13069
13070 2015-04-07 Pedro Alves <palves@redhat.com>
13071
13072 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13073 * lib/gdbserver-support.exp (gdbserver_start): Make
13074 $server_spawn_id global.
13075 (gdbserver_start): Don't wait for gdbserver's spawn id with
13076 expect_background.
13077 (close_gdbserver): New procedure.
13078 (gdb_exit): Rename the default version and reimplement.
13079
13080 2015-04-07 Pedro Alves <palves@redhat.com>
13081
13082 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13083 append the substituted item, not the original item.
13084
13085 2015-04-07 Pedro Alves <palves@redhat.com>
13086
13087 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13088 gdb_expect.
13089
13090 2015-04-07 Pedro Alves <palves@redhat.com>
13091
13092 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13093 output appearing once only.
13094
13095 2015-04-07 Pedro Alves <palves@redhat.com>
13096
13097 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13098 that doesn't expect anything. Return early if running to main
13099 fails.
13100
13101 2015-04-07 Yao Qi <yao.qi@linaro.org>
13102
13103 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13104 (child_function): Call alarm.
13105 (main): Move call to alarm into the loop.
13106 * gdb.threads/non-stop-fair-events.exp: Build program with
13107 -DTIMEOUT=$timeout.
13108
13109 2015-04-06 Doug Evans <xdje42@gmail.com>
13110
13111 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13112 Fix dest parameter to board_info.
13113 (fpc_compile): Ditto.
13114 (gdb_compile_pascal): Rename dest arg to destfile.
13115
13116 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13117
13118 * gdb.ada/funcall_ref.exp: New file.
13119 * gdb.ada/funcall_ref/foo.adb: New file.
13120
13121 2015-04-02 Yao Qi <yao.qi@linaro.org>
13122
13123 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13124 is remote.
13125
13126 2015-04-02 Gary Benson <gbenson@redhat.com>
13127
13128 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13129
13130 2015-04-01 Sasha Smundak <asmundak@google.com>
13131
13132 * gdb.python/py-unwind-maint.c: New file.
13133 * gdb.python/py-unwind-maint.exp: New test.
13134 * gdb.python/py-unwind-maint.py: New file.
13135 * gdb.python/py-unwind.c: New file.
13136 * gdb.python/py-unwind.exp: New test.
13137 * gdb.python/py-unwind.py: New test.
13138
13139 2015-04-01 Pedro Alves <palves@redhat.com>
13140
13141 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13142 to fail instead of non-existent $test.
13143
13144 2015-04-01 Pedro Alves <palves@redhat.com>
13145
13146 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13147 GDBFLAGS if not empty.
13148
13149 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13150
13151 * gdb.ada/complete.exp: Remove "multi_line".
13152 * gdb.ada/info_exc.exp: Remove "multi_line".
13153 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13154 * gdb.ada/ptype_field.exp: Remove "multi_line".
13155 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13156 * gdb.ada/tagged.exp: Remove "multi_line".
13157 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13158 [multi_line ...]
13159 * gdb.btrace/delta.exp: Likewise.
13160 * gdb.btrace/exception.exp: Likewise.
13161 * gdb.btrace/function_call_history.exp: Likewise.
13162 * gdb.btrace/instruction_history.exp: Likewise.
13163 * gdb.btrace/nohist.exp: Likewise.
13164 * gdb.btrace/record_goto.exp: Likewise.
13165 * gdb.btrace/segv.exp: Likewise.
13166 * gdb.btrace/stepi.exp: Likewise.
13167 * gdb.btrace/tailcall.exp: Likewise.
13168 * gdb.btrace/unknown_functions.exp: Likewise.
13169 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13170 * lib/gdb.exp: Add the "multi_line" helper.
13171
13172 2015-04-01 Pedro Alves <palves@redhat.com>
13173
13174 * gdb.threads/tid-reuse.c: New file.
13175 * gdb.threads/tid-reuse.exp: New file.
13176
13177 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13178
13179 PR corefiles/16092
13180 * gdb.base/coredump-filter.c: New file.
13181 * gdb.base/coredump-filter.exp: Likewise.
13182
13183 2015-03-27 Petr Machata <pmachata@redhat.com>
13184
13185 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13186 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13187 (Dwarf::assemble): Initialize them.
13188 (Dwarf::lines): New function.
13189
13190 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13191
13192 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13193 SYMBOL_PREFIX for x86_64-*-cygwin.
13194
13195 2015-03-26 Andy Wingo <wingo@igalia.com>
13196
13197 PR symtab/18148
13198 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13199 const_value but not a location.
13200 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13201 location defined in non-main CUs are visible.
13202
13203 2015-03-26 Yao Qi <yao.qi@linaro.org>
13204
13205 PR testsuite/18139
13206 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13207 Add a line number entry for the same line.
13208 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13209 Add a line number entry for the same line.
13210
13211 2015-03-26 Yao Qi <yao.qi@linaro.org>
13212
13213 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13214 .int 0.
13215 (func): Likewise. Add .Lfunc_1 label.
13216 Use .Lfunc_1 label.
13217 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13218 .int 0.
13219 (func): Likewise.
13220 Use .Lfunc_1 label.
13221
13222 2015-03-26 Yao Qi <yao.qi@linaro.org>
13223
13224 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13225 Call gdb_compile instead to compile each .s files without debug
13226 information.
13227
13228 2015-03-26 Yao Qi <yao.qi@linaro.org>
13229
13230 * gdb.base/savedregs.exp (process_saved_regs): Make
13231 "Saved registers:" optional in the pattern.
13232
13233 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13234
13235 * gdb.btrace/next.exp: Merged into step.exp.
13236 * gdb.btrace/finish.exp: Merged into step.exp.
13237 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13238 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13239 "record goto" and checking the exact replay position.
13240 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13241 check for "Recording format" in "info record" output.
13242 * gdb.btrace/record_goto.exp: Choose test file based on target.
13243 * gdb.btrace/x86-record_goto.S: Renamed into ...
13244 * gdb.btrace/x86_64-record_goto.S: ... this.
13245 * gdb.btrace/i686-record_goto.S: New.
13246 * gdb.btrace/x86-tailcall.S: Renamed into ...
13247 * gdb.btrace/x86_64-tailcall.S: ... this.
13248 * gdb.btrace/i686-tailcall.S: New.
13249 * gdb.btrace/x86-tailcall.c: Renamed into ...
13250 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13251 separate statements. Update test.
13252 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13253 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13254 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13255 * gdb.btrace/tailcall.exp: Choose test file based on target.
13256 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13257
13258 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13259
13260 * gdb.btrace/exception.exp: Increase BTS buffer size.
13261
13262 2015-03-24 Pedro Alves <palves@redhat.com>
13263
13264 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13265
13266 2015-03-24 Pedro Alves <palves@redhat.com>
13267
13268 * gdb.threads/schedlock.exp (test_step): No longer expect that
13269 "set scheduler-locking step" with "next" over a function call runs
13270 threads unlocked.
13271
13272 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13273
13274 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13275
13276 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13277
13278 PR breakpoints/16466
13279 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13280 * gdb.mi/mi-pending.c (thread_func): New function.
13281 (int main): Add threading support required.
13282 * gdb.mi/mi-pending.exp: Add tests for this issue.
13283 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13284 (pendfunc2): Remove stdio dependency.
13285 * gdb.mi/mi-pendshr2.c: New file.
13286
13287 2015-03-23 Keith Seitz <keiths@redhat.com>
13288
13289 * gdb.linespec/keywords.c: New file.
13290 * gdb.linespec/keywords.exp: New file.
13291
13292 2015-03-23 Keith Seitz <keiths@redhat.com>
13293
13294 PR gdb/18021
13295 * gdb.dwarf2/staticvirtual.exp: New test.
13296
13297 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13298
13299 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13300 * README: Remove HP-UX and gdb.hp.
13301 (configuration):
13302 * configure: Regenerate.
13303 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13304 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13305 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13306 gdb.hp/gdb.defects/Makefile.
13307 * gdb.hp/Makefile.in: File deleted.
13308 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13309 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13310 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13311 * gdb.hp/gdb.aCC/run.c: File deleted.
13312 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13313 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13314 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13315 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13316 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13317 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13318 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13319 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13320 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13321 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13322 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13323 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13324 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13325 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13326 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13327 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13328 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13329 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13330 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13331 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13332 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13333 * gdb.hp/gdb.compat/average.c: File deleted.
13334 * gdb.hp/gdb.compat/sum.c: File deleted.
13335 * gdb.hp/gdb.compat/xdb.c: File deleted.
13336 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13337 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13338 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13339 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13340 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13341 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13342 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13343 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13344 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13345 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13346 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13347 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13348 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13349 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13350 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13351 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13352 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13353 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13354 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13355 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13356 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13357 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13358 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13359 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13360 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13361 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13362 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13363 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13364 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13365 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13366 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13367 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13368 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13369 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13370 * gdb.hp/tools/odump: File deleted.
13371
13372 2015-03-19 Pedro Alves <palves@redhat.com>
13373
13374 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13375 (saw_thread_3): New globals.
13376 (top level): Increment them when an event for the corresponding
13377 thread is seen.
13378 (no thread starvation): New test.
13379
13380 2015-03-19 Pedro Alves <palves@redhat.com>
13381
13382 * gdb.threads/continue-pending-status.c: New file.
13383 * gdb.threads/continue-pending-status.exp: New file.
13384
13385 2015-03-18 Pedro Alves <palves@redhat.com>
13386
13387 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13388 Use gdb_is_target_remote instead of is_remote. Use
13389 gdb_test_multiple instead of gdb_expect. Exit early if
13390 gdb_test_multiple hits its internal matches. Tighten stepi tests
13391 expected output. Fail on exit with any signal, instead of just
13392 SIGILL.
13393
13394 2015-03-18 Yao Qi <yao.qi@linaro.org>
13395
13396 PR tdep/18107
13397 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13398 variable.
13399 * gdb.base/catch-syscall.exp: Don't skip it on
13400 aarch64*-*-linux* target. Remove elements in all_syscalls.
13401 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13402 target.
13403 (setup_all_syscalls): New proc.
13404
13405 2015-03-16 Yao Qi <yao.qi@linaro.org>
13406
13407 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13408 (top level): Skip tests if valid_addr_p returns false for
13409 $cmd1 or $cmd2.
13410
13411 2015-03-11 Andy Wingo <wingo@igalia.com>
13412
13413 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13414
13415 2015-03-11 Yao Qi <yao.qi@linaro.org>
13416
13417 * gdb.base/catch-syscall.exp: Fix typo in comments.
13418
13419 2015-03-11 Yao Qi <yao.qi@linaro.org>
13420
13421 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13422
13423 2015-03-09 Pedro Alves <palves@redhat.com>
13424
13425 * dg-extract-results.py: Delete.
13426
13427 2015-03-09 Pedro Alves <palves@redhat.com>
13428
13429 Merge dg-extract-results.sh from GCC upstream (r218843).
13430
13431 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13432 * dg-extract-results.sh: Use --text with grep to avoid issues with
13433 binary files. Fall back to cat -v, if that doesn't work.
13434
13435 2015-03-05 Pedro Alves <palves@redhat.com>
13436
13437 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13438
13439 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13440
13441 * lib/mi-support.exp (mi_expect_interrupt): Accept
13442 alternative event for when in all-stop mode.
13443
13444 2015-03-04 Pedro Alves <palves@redhat.com>
13445
13446 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13447
13448 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13449
13450 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13451
13452 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13453
13454 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13455 regexps for GDB's current line display, accept a hex address
13456 preceding the line number.
13457
13458 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13459
13460 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13461 the 'arch1' variable for "s390*-linux*" targets.
13462
13463 2015-03-04 Pedro Alves <palves@redhat.com>
13464
13465 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13466 (main): Pass missing retval argument to pthread_join call.
13467
13468 2015-03-02 Pedro Alves <palves@redhat.com>
13469
13470 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13471 (top level): Call do_test with non-stop as well.
13472
13473 2015-03-02 Pedro Alves <palves@redhat.com>
13474
13475 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13476 -1.
13477
13478 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13479
13480 * gdb.arch/s390-vregs.exp: New test.
13481 * gdb.arch/s390-vregs.S: New file.
13482
13483 2015-02-27 Pedro Alves <palves@redhat.com>
13484
13485 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13486 call to catch_command_errors.
13487 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13488 catch_command_errors.
13489
13490 2015-02-27 Pedro Alves <palves@redhat.com>
13491
13492 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13493 "true" for boolean result.
13494 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13495 prototype of main.
13496
13497 2015-02-27 Pedro Alves <palves@redhat.com>
13498
13499 * lib/unbuffer_output.c: New file.
13500 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13501 (main): Call gdb_unbuffer_output.
13502
13503 2015-02-27 Yao Qi <yao.qi@linaro.org>
13504
13505 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13506 target.
13507
13508 2015-02-26 Doug Evans <dje@google.com>
13509
13510 * gdb.cp/class2.cc (Dbase, D): New classes.
13511 (main): New local delta.
13512 * gdb.cp/class2.exp: Test printing delta.
13513 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13514 (dynbar): New global.
13515 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13516
13517 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13518
13519 * gdb.compile/compile-ifunc.c: New file.
13520 * gdb.compile/compile-ifunc.exp: New file.
13521
13522 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13523
13524 * gdb.base/structs.exp: Check for correct struct on finish.
13525
13526 2015-02-26 Yao Qi <yao.qi@linaro.org>
13527
13528 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13529 is zero.
13530
13531 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13532
13533 * gdb.arch/cordic.ko.bz2: New file.
13534 * gdb.arch/cordic.ko.debug.bz2: New file.
13535 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13536
13537 2015-02-25 Yao Qi <yao.qi@linaro.org>
13538
13539 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13540 aarch64*-*-* target.
13541
13542 2015-02-23 Pedro Alves <palves@redhat.com>
13543
13544 * lib/gdb.exp (delete_breakpoints): Rewrite using
13545 gdb_test_multiple.
13546
13547 2015-02-23 Pedro Alves <palves@redhat.com>
13548
13549 * gdb.base/info-os.c: Include stdlib.h.
13550
13551 2015-02-22 Doug Evans <xdje42@gmail.com>
13552
13553 PR symtab/17855
13554 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13555 is read after symbols have been re-read.
13556 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13557 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13558
13559 2015-02-21 Doug Evans <dje@google.com>
13560
13561 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13562
13563 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13564
13565 PR corefiles/17808
13566 * gdb.arch/i386-biarch-core.core.bz2: New file.
13567 * gdb.arch/i386-biarch-core.exp: New file.
13568
13569 2015-02-21 Pedro Alves <palves@redhat.com>
13570
13571 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13572 runto_main fails.
13573
13574 2015-02-20 Pedro Alves <palves@redhat.com>
13575
13576 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13577 info probes.
13578
13579 2015-02-20 Pedro Alves <palves@redhat.com>
13580
13581 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13582
13583 2015-02-20 Pedro Alves <palves@redhat.com>
13584
13585 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13586 clean_restart before gdb_target_supports_trace.
13587
13588 2015-02-20 Pedro Alves <palves@redhat.com>
13589
13590 PR threads/18006
13591 * gdb.threads/clone-thread_db.c: New file.
13592 * gdb.threads/clone-thread_db.exp: New file.
13593
13594 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13595
13596 PR breakpoints/16812
13597 * gdb.base/catch-gdb-caused-signals.c: New file.
13598 * gdb.base/catch-gdb-caused-signals.exp: New file.
13599
13600 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13601
13602 * configure: Regenerated.
13603 * configure.ac: Use GDB_AC_TRANSFORM.
13604 * aclocal.m4: sinclude ../transform.m4.
13605
13606 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13607
13608 * lib/dtrace.exp: New file.
13609 * gdb.base/dtrace-probe.exp: Likewise.
13610 * gdb.base/dtrace-probe.d: Likewise.
13611 * gdb.base/dtrace-probe.c: Likewise.
13612 * lib/pdtrace.in: Likewise.
13613 * configure.ac: Output variables with the transformed names of
13614 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13615 * configure: Regenerated.
13616
13617 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13618
13619 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13620 expected message when trying to access $_probe_* convenience
13621 variables while not on a probe.
13622
13623 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13624
13625 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13626
13627 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13628
13629 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13630 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13631
13632 2015-02-10 Doug Evans <xdje42@gmail.com>
13633
13634 * lib/gdb.exp (gdb_load): Always return a result.
13635
13636 2015-02-10 Pedro Alves <palves@redhat.com>
13637
13638 * gdb.threads/signal-sigtrap.c: New file.
13639 * gdb.threads/signal-sigtrap.exp: New file.
13640
13641 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13642
13643 * gdb.trace/no-attach-trace.c: New file.
13644 * gdb.trace/no-attach-trace.exp: New file.
13645
13646 2015-02-09 Mark Wielaard <mjw@redhat.com>
13647
13648 * gdb.dwarf2/atomic.c: New file.
13649 * gdb.dwarf2/atomic-type.exp: Likewise.
13650
13651 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13652
13653 * gdb.btrace/buffer-size.exp: Update "info record" output.
13654 * gdb.btrace/delta.exp: Update "info record" output.
13655 * gdb.btrace/enable.exp: Update "info record" output.
13656 * gdb.btrace/finish.exp: Update "info record" output.
13657 * gdb.btrace/instruction_history.exp: Update "info record" output.
13658 * gdb.btrace/next.exp: Update "info record" output.
13659 * gdb.btrace/nexti.exp: Update "info record" output.
13660 * gdb.btrace/step.exp: Update "info record" output.
13661 * gdb.btrace/stepi.exp: Update "info record" output.
13662 * gdb.btrace/nohist.exp: Update "info record" output.
13663
13664 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13665
13666 * gdb.btrace/buffer-size: New.
13667
13668 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13669
13670 * gdb.btrace/delta.exp: Update "info record" output.
13671 * gdb.btrace/enable.exp: Update "info record" output.
13672 * gdb.btrace/finish.exp: Update "info record" output.
13673 * gdb.btrace/instruction_history.exp: Update "info record" output.
13674 * gdb.btrace/next.exp: Update "info record" output.
13675 * gdb.btrace/nexti.exp: Update "info record" output.
13676 * gdb.btrace/step.exp: Update "info record" output.
13677 * gdb.btrace/stepi.exp: Update "info record" output.
13678 * gdb.btrace/nohist.exp: Update "info record" output.
13679
13680 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13681
13682 PR gdb/15678
13683 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13684
13685 2015-02-06 Pedro Alves <palves@redhat.com>
13686
13687 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13688 macro.
13689 (seconds_left, again): New globals.
13690 (main): Wait seconds_left in a 1-second sleep loop instead of
13691 sleeping 180 seconds. If 'again' is set, reset the seconds
13692 counter.
13693 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13694 'again' in the inferior before detaching. Print the seconds left.
13695 (options): New global.
13696 (top level): Build program with -DTIMEOUT=$timeout.
13697
13698 2015-02-06 Pedro Alves <palves@redhat.com>
13699
13700 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13701 determine how many seconds to pass to 'alarm'.
13702 * gdb.base/gdb-sigterm.exp (top level): Build program with
13703 -DTIMEOUT=$timeout.
13704 (do_test): Return success/failure indication. Add more verbose
13705 logging. Don't fail if 200 single steps are seen. Instead, fail
13706 when the test times out.
13707 (passes): New global.
13708 (top level): Break the testing loop if testing fails on any
13709 iteration. Use gdb_assert.
13710
13711 2015-02-04 Don Breazeal <donb@codesourcery.com>
13712
13713 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13714 and initialize them.
13715 (ipc_cleanup): New function.
13716 (main): Don't declare shmid, semid, and msqid. Add a call to
13717 atexit so that we call ipc_cleanup on exit.
13718
13719 2015-02-04 Pedro Alves <palves@redhat.com>
13720
13721 * boards/native-extended-gdbserver.exp: Remove any target variant
13722 specifications from the board name before clearing the isremote
13723 flag from board_info.
13724
13725 2015-01-31 Doug Evans <xdje42@gmail.com>
13726
13727 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13728
13729 2015-01-31 Gary Benson <gbenson@redhat.com>
13730
13731 * gdb.base/completion.exp: Disable completion limiting for
13732 existing tests. Add new tests to check completion limiting.
13733 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13734
13735 2015-01-31 Doug Evans <xdje42@gmail.com>
13736
13737 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13738
13739 2015-01-31 Doug Evans <xdje42@gmail.com>
13740
13741 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13742 entries. Duplicate file section script entries.
13743 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13744 inlined entries. Add test for safe-path rejection.
13745 * gdb.python/py-section-script.c: Add duplicate inlined section script
13746 entries. Duplicate file section script entries.
13747 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13748 inlined entries. Add test for safe-path rejection.
13749
13750 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13751
13752 * gdb.ada/disc_arr_bound: New testcase.
13753
13754 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13755
13756 * gdb.ada/mi_var_array: New testcase.
13757
13758 2015-01-27 Doug Evans <dje@google.com>
13759
13760 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13761 Add test for objfile.filename, objfile.username after objfile
13762 has been unloaded.
13763
13764 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13765
13766 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13767 the second test to print the name attribute of value
13768 returned by the call to gdb.lookup_type, and adjust
13769 the expected output accordingly.
13770
13771 2015-01-25 Mark Wielaard <mjw@redhat.com>
13772
13773 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13774 * gdb.base/disp-step-fork.c: Include unistd.h.
13775 * gdb.base/siginfo-obj.c: Include stdio.h.
13776 * gdb.base/siginfo-thread.c: Likewise.
13777 * gdb.mi/non-stop.c: Include unistd.h.
13778 * gdb.mi/nsthrexec.c: Include stdio.h.
13779 * gdb.mi/pthreads.c: Include unistd.h.
13780 * gdb.modula2/unbounded1.c (main): Declare returns int.
13781 * gdb.reverse/consecutive-reverse.c: Likewise.
13782 * gdb.threads/create-fail.c: Include unistd.h.
13783 * gdb.threads/killed.c: Likewise.
13784 * gdb.threads/linux-dp.c: Likewise.
13785 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13786 * gdb.threads/non-ldr-exc-2.c: Likewise.
13787 * gdb.threads/non-ldr-exc-3.c: Likewise.
13788 * gdb.threads/non-ldr-exc-4.c: Likewise.
13789 * gdb.threads/pthreads.c: Include unistd.h.
13790 (main): Declare returns int.
13791 * gdb.threads/tls-main.c (foo): New declaration.
13792 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13793
13794 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13795
13796 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13797 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13798
13799 2015-01-15 Mark Wielaard <mjw@redhat.com>
13800
13801 * gdb.base/noreturn-return.c: New file.
13802 * gdb.base/noreturn-return.exp: New file.
13803 * gdb.base/noreturn-finish.c: New file.
13804 * gdb.base/noreturn-finish.exp: New file.
13805
13806 2015-01-23 Pedro Alves <palves@redhat.com>
13807
13808 * gdb.threads/continue-pending-after-query.c: New file.
13809 * gdb.threads/continue-pending-after-query.exp: New file.
13810
13811 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13812 Simon Marchi <simon.marchi@ericsson.com>
13813
13814 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13815 * gdb.base/valgrind-db-attach.exp: Same.
13816 * gdb.base/valgrind-infcall.exp: Same.
13817 * lib/mi-support.exp (default_mi_gdb_start): Same.
13818 * lib/prompt.exp (default_prompt_gdb_start): Same.
13819 * lib/gdb.exp (default_gdb_spawn): Same.
13820 (gdb_interact): New.
13821
13822
13823 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13824
13825 * gdb.compile/compile.exp (pointer to jit function): New test.
13826
13827 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13828
13829 * lib/gdb.exp (supports_process_record): Return true for
13830 powerpc*-*-linux*.
13831 (supports_reverse): Likewise.
13832
13833 2015-01-15 Don Breazeal <donb@codesourcery.com>
13834
13835 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13836 instead of checking whether the target board is remote and
13837 use spawn_wait_for_attach instead of exec/sleep.
13838 * gdb.base/attach-twice.exp: Likewise.
13839
13840 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13841
13842 * gdb.ada/var_arr_attrs: New testcase.
13843
13844 2015-01-14 Pedro Alves <palves@redhat.com>
13845 Joel Brobecker <brobecker@adacore.com>
13846
13847 PR gdb/17525
13848 * gdb.base/bp-cmds-execution-x-script.c: New file.
13849 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13850 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13851
13852 2015-01-14 Pedro Alves <palves@redhat.com>
13853
13854 PR cli/17828
13855 * gdb.base/batch-preserve-term-settings.c: New file.
13856 * gdb.base/batch-preserve-term-settings.exp: New file.
13857
13858 2015-01-13 Doug Evans <dje@google.com>
13859
13860 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13861 binary.
13862
13863 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13864
13865 * Makefile.in (clean mostlyclean): Do not delete *.py.
13866
13867 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13868
13869 * gdb.python/py-lookup-type.exp: New file.
13870
13871 2015-01-12 Pedro Alves <palves@redhat.com>
13872
13873 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13874 restore GDBFLAGS before returning.
13875
13876 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13877
13878 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13879 is_amd64_regs_target and is_x86_like_target.
13880
13881 2015-01-11 Doug Evans <xdje42@gmail.com>
13882
13883 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13884 is given without an explicit form.
13885 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13886 attributes.
13887 * gdb.dwarf/corrupt.exp: Ditto.
13888 * gdb.dwarf2/enum-type.exp: Ditto.
13889 * gdb.trace/entry-values.exp: Ditto.
13890 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13891
13892 2015-01-11 Doug Evans <xdje42@gmail.com>
13893
13894 PR gdb/15830
13895 * gdb.base/maint.exp: Remove references to "maint demangle".
13896 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13897 Add tests for explicitly specifying language to demangle.
13898 * gdb.dlang/demangle.exp: Ditto.
13899
13900 2015-01-09 Pedro Alves <palves@redhat.com>
13901
13902 * gdb.threads/non-stop-fair-events.c: New file.
13903 * gdb.threads/non-stop-fair-events.exp: New file.
13904
13905 2015-01-09 Pedro Alves <palves@redhat.com>
13906
13907 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13908 the global scope. Set a breakpoint after all threads are started
13909 rather than stepping over two source lines. Expect the prompt.
13910 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13911 global.
13912 (NUM): Now 15.
13913 (main): Use threads_started_barrier to wait for all threads to
13914 start. Main thread no longer calls thread_function. Exit after
13915 180 seconds.
13916 (loop): New function.
13917 (thread_function): Wait on threads_started_barrier barrier. Call
13918 'loop' at each iteration.
13919 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13920 threads have started, instead of hardcoding number of "next"
13921 steps. Use an access watchpoint instead of a write watchpoint.
13922
13923 2015-01-09 Pedro Alves <palves@redhat.com>
13924
13925 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13926 (thread_func): Wait on barrier.
13927 (main): Wait for all threads to start before stopping GDB.
13928 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13929 global.
13930 (thread1_func, thread2_func): Wait on barrier.
13931 (main): Wait for all threads to start before stopping GDB.
13932 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13933 New global.
13934 (thread1_func, thread2_func): Wait on barrier.
13935 (main): Wait for all threads to start before stopping GDB.
13936
13937 2015-01-09 Pedro Alves <palves@redhat.com>
13938
13939 * gdb.threads/attach-many-short-lived-threads.c: New file.
13940 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13941
13942 2014-01-09 Pedro Alves <palves@redhat.com>
13943
13944 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13945 instead of to thread 2.
13946 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13947 Add barrier around each pthread_create call instead of around all
13948 calls.
13949 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13950 Set a break on thread_function and have the child threads hit it
13951 one at at a time.
13952
13953 2015-01-09 Pedro Alves <palves@redhat.com>
13954
13955 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13956 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13957 false.
13958 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13959 checking whether the target board is remote.
13960 * gdb.multi/multi-attach.exp: Likewise.
13961 * gdb.python/py-sync-interp.exp: Likewise.
13962 * gdb.server/ext-attach.exp: Likewise.
13963 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13964 tests that need to attach, instead of checking whether the target
13965 board is remote at the top of the file.
13966
13967 2015-01-08 Yao Qi <yao@codesourcery.com>
13968
13969 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13970
13971 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13972
13973 Fix testcase compilation.
13974 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13975
13976 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13977
13978 * gdb.python/py-type.exp: Add a couple test about empty
13979 array creation, and negative-length array creation.
13980
13981 2015-01-02 Doug Evans <xdje42@gmail.com>
13982
13983 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13984
13985 2015-01-02 Doug Evans <dje@google.com>
13986
13987 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13988
13989 2014-12-29 Yao Qi <yao@codesourcery.com>
13990
13991 * gdb.trace/entry-values.exp: Update comments. Rename variable
13992 bar_call_foo to returned_from_foo.
13993
13994 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13995
13996 PR gdb/17394
13997 * gdb.linespec/break-asm-file.c: New file.
13998 * gdb.linespec/break-asm-file.exp: New file.
13999 * gdb.linespec/break-asm-file0.s: New file.
14000 * gdb.linespec/break-asm-file1.s: New file.
14001
14002 2014-12-18 Nigel Stephens <nigel@mips.com>
14003 Maciej W. Rozycki <macro@codesourcery.com>
14004
14005 * gdb.base/float.exp: Handle the new output from "info float" on
14006 MIPS targets.
14007
14008 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14009
14010 Fix MinGW compilation.
14011 * gdb.compile/compile-ops.exp: Update untested message if
14012 !skip_compile_feature_tests.
14013 * gdb.compile/compile-setjmp.exp: Likewise.
14014 * gdb.compile/compile-tls.exp: Likewise.
14015 * gdb.compile/compile.exp: Likewise.
14016 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14017 supported on this host".
14018
14019 2014-12-16 Doug Evans <xdje42@gmail.com>
14020
14021 * boards/stabs.exp: New file.
14022
14023 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14024
14025 * gdb.base/completion.exp: Adjust to format changes of "maint
14026 print user-registers".
14027
14028 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14029
14030 PR server/17457
14031 * gdb.arch/aarch64-fp.c: New file.
14032 * gdb.arch/aarch64-fp.exp: New file.
14033
14034 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14035
14036 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14037 r210637, r210913, r211666, r215400, r215817).
14038
14039 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14040 * dg-extract-results.py: New file.
14041 * dg-extract-results.sh: Use it if the environment seems
14042 suitable.
14043
14044 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14045
14046 * dg-extract-results.py (parse_run): Handle warnings that
14047 are printed before a test harness is run.
14048
14049 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14050
14051 * dg-extract-results.py (Named): Remove __cmp__ method.
14052 (output_variation): Use a key to sort variation.harnesses.
14053
14054 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14055
14056 * dg-extract-results.py: For Python 3, force sys.stdout to
14057 handle surrogate escape sequences.
14058 (safe_open): New function.
14059 (output_segment, main): Use it.
14060
14061 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14062
14063 * dg-extract-results.py (Prog.result_re): Include options
14064 in test name.
14065
14066 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14067
14068 * dg-extract-results.py (output_variation): Always sort if
14069 do_sum.
14070
14071 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14072
14073 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14074 as long as we get pagination notifications.
14075
14076 2014-12-15 Jason Merrill <jason@redhat.com>
14077
14078 * Makefile.in (check-gdb.%): Restore.
14079 * README: Mention it.
14080
14081 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14082
14083 * gdb.ada/str_uninit: New testcase.
14084
14085 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14086
14087 PR symtab/17642
14088 * gdb.base/vla-stub-define.c: New file.
14089 * gdb.base/vla-stub.c: New file.
14090 * gdb.base/vla-stub.exp: New file.
14091
14092 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14093 Jan Kratochvil <jan.kratochvil@redhat.com>
14094 Tom Tromey <tromey@redhat.com>
14095
14096 * configure.ac: Add gdb.compile/.
14097 * configure: Regenerate.
14098 * gdb.compile/Makefile.in: New file.
14099 * gdb.compile/compile-ops.exp: New file.
14100 * gdb.compile/compile-ops.c: New file.
14101 * gdb.compile/compile-tls.c: New file.
14102 * gdb.compile/compile-tls.exp: New file.
14103 * gdb.compile/compile-constvar.S: New file.
14104 * gdb.compile/compile-constvar.c: New file.
14105 * gdb.compile/compile-mod.c: New file.
14106 * gdb.compile/compile-nodebug.c: New file.
14107 * gdb.compile/compile-setjmp-mod.c: New file.
14108 * gdb.compile/compile-setjmp.c: New file.
14109 * gdb.compile/compile-setjmp.exp: New file.
14110 * gdb.compile/compile-shlib.c: New file.
14111 * gdb.compile/compile.c: New file.
14112 * gdb.compile/compile.exp: New file.
14113 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14114
14115 2014-12-12 Tom Tromey <tromey@redhat.com>
14116
14117 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14118 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14119
14120 2014-12-12 Doug Evans <dje@google.com>
14121
14122 * lib/gdb-python.exp (get_python_valueof): New function.
14123 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14124
14125 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14126
14127 * gdb.base/completion.exp: Add test for completion of "info
14128 registers ".
14129
14130 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14131
14132 * gdb.base/func-ptrs.c: New file.
14133 * gdb.base/func-ptrs.exp: New file.
14134
14135 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14136
14137 PR breakpoints/17012
14138 * gdb.base/dprintf-detach.c: New file.
14139 * gdb.base/dprintf-detach.exp: New file.
14140
14141 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14142
14143 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14144 * lib/gdb.exp (target_is_gdbserver): New procedure.
14145
14146 2014-12-08 Doug Evans <dje@google.com>
14147
14148 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14149
14150 2014-12-05 Yao Qi <yao@codesourcery.com>
14151
14152 * gdb.guile/scm-error.exp: Remove the third argument to
14153 gdb_remote_download.
14154 * gdb.guile/scm-frame-args.exp: Likewise.
14155 * gdb.guile/scm-section-script.exp: Likewise.
14156
14157 2014-12-05 Yao Qi <yao@codesourcery.com>
14158
14159 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14160
14161 2014-12-04 Doug Evans <dje@google.com>
14162
14163 * gdb.python/py-objfile.exp: Add tests for
14164 objfile.add_separate_debug_file.
14165
14166 2014-12-04 Doug Evans <dje@google.com>
14167
14168 * lib/gdb.exp (get_build_id): New function.
14169 (build_id_debug_filename_get): Rewrite to use it.
14170 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14171
14172 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14173
14174 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14175 `method(long)', not just 0x0.
14176 * gdb.cp/nsalias.exp: Align code labels to 4.
14177 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14178 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14179 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14180 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14181 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14182 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14183
14184 2014-12-02 Doug Evans <dje@google.com>
14185
14186 PR symtab/17602
14187 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14188 * gdb.cp/anon-ns2.cc: ... here. New file.
14189 * gdb.cp/anon-ns.exp: Update.
14190
14191 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14192
14193 * gdb.python/py-events.py (inferior_call_handler): New.
14194 (register_changed_handler, memory_changed_handler): New.
14195 (test_events.invoke): Register new handlers.
14196 * gdb.python/py-events.exp: Add tests for inferior call,
14197 memory_changed and register_changed events.
14198
14199 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14200
14201 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14202 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14203 if the linker doesn't understand this.
14204
14205 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14206
14207 * gdb.python/python.exp: Change expected reply to help().
14208
14209 2014-12-01 Yao Qi <yao@codesourcery.com>
14210
14211 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14212 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14213 * configure: Re-generated.
14214
14215 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14216
14217 * gdb.cp/chained-calls.cc: New file.
14218 * gdb.cp/chained-calls.exp: New file.
14219 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14220
14221 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14222
14223 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14224 * gdb.dwarf2/symtab-producer.exp: Same.
14225 * gdb.gdb/python-interrupts.exp: Same.
14226 * gdb.gdb/python-selftest.exp: Same.
14227 * gdb.python/py-linetable.exp: Same.
14228 * gdb.python/py-type.exp: Same.
14229 * gdb.python/py-value-cc.exp: Same.
14230 * gdb.python/py-value.exp: Same.
14231
14232 2014-11-28 Yao Qi <yao@codesourcery.com>
14233
14234 * gdb.base/break-probes.exp: Match library name prefixed with
14235 sysroot.
14236
14237 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14238
14239 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14240 test expected output. Add parentheses for the call to print.
14241 Remove L suffix from integers.
14242
14243 2014-11-26 Doug Evans <dje@google.com>
14244
14245 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14246
14247 2014-11-22 Yao Qi <yao@codesourcery.com>
14248
14249 * gdb.trace/entry-values.c: Remove asms.
14250 (foo): Add foo_label.
14251 (bar): Add bar_label.
14252 * gdb.trace/entry-values.exp: Remove code computing foo's
14253 length and bar's length.
14254 (Dwarf::assemble): Invoke function_range for bar and use
14255 MACRO_AT_func for foo.
14256
14257 2014-11-22 Yao Qi <yao@codesourcery.com>
14258
14259 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14260 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14261 Use .Lgcc43_procstart instead of gcc43.
14262
14263 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14264
14265 * gdb.ada/n_arr_bound: New testcase.
14266
14267 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14268
14269 PR breakpoints/10737
14270 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14271 test_catch_syscall_multi_arch.
14272 (test_catch_syscall_multi_arch): New function.
14273
14274 2014-11-20 Doug Evans <xdje42@gmail.com>
14275
14276 * gdb.base/maint.exp: Update expected output.
14277
14278 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14279
14280 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14281 4-byte instruction on S390.
14282
14283 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14284
14285 * gdb.ada/arr_arr: New testcase.
14286
14287 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14288
14289 * gdb.ada/pkd_arr_elem: New Testcase.
14290
14291 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14292
14293 * gdb.reverse/break-precsave: Expect completion message for
14294 core file reads.
14295 * gdb.reverse/consecutive-precsave.exp: Likewise.
14296 * gdb.reverse/finish-precsave.exp: Likewise.
14297 * gdb.reverse/i386-precsave.exp: Likewise.
14298 * gdb.reverse/machinestate-precsave.exp: Likewise.
14299 * gdb.reverse/sigall-precsave.exp: Likewise.
14300 * gdb.reverse/solib-precsave.exp: Likewise.
14301 * gdb.reverse/step-precsave.exp: Likewise.
14302 * gdb.reverse/until-precsave.exp: Likewise.
14303 * gdb.reverse/watch-precsave.exp: Likewise.
14304
14305 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14306
14307 * gdb.base/bp-permanent.c: Include unistd.h.
14308 * gdb.python/py-framefilter-mi.c (main): Add return type.
14309 * gdb.python/py-framefilter.c (main): Likewise.
14310 * gdb.trace/actions-changed.c (main): Likewise.
14311
14312 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14313
14314 * gdb.mi/until.c: Add eye-catchers.
14315 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14316 line numbers.
14317
14318 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14319
14320 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14321 function header variants in break1.c.
14322 * gdb.base/ena-dis-br.exp: Likewise.
14323 * gdb.base/hbreak2.exp: Likewise.
14324 * gdb.reverse/until-precsave.exp: Drop references to removed
14325 non-prototype function header variants in ur1.c.
14326 * gdb.reverse/until-reverse.exp: Likewise.
14327
14328 2014-11-17 Petr Machata <pmachata@redhat.com>
14329
14330 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14331 ${_cu_offset_size} bytes abbrev offset.
14332
14333 2014-11-15 Doug Evans <xdje42@gmail.com>
14334
14335 PR symtab/17559
14336 * gdb.base/line-symtabs.exp: New file.
14337 * gdb.base/line-symtabs.c: New file.
14338 * gdb.base/line-symtabs.h: New file.
14339
14340 2014-11-14 Yao Qi <yao@codesourcery.com>
14341
14342 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14343 (func): Add label func_label.
14344 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14345 Replace low_pc and high_pc with MACRO_AT_range.
14346 Replace name, low_pc and high_pc with MACRO_AT_func.
14347
14348 2014-11-14 Yao Qi <yao@codesourcery.com>
14349
14350 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14351 Replace name, low_pc and high_pc with MACRO_AT_func.
14352
14353 2014-11-14 Yao Qi <yao@codesourcery.com>
14354
14355 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14356 produce debug information.
14357 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14358
14359 2014-11-14 Yao Qi <yao@codesourcery.com>
14360
14361 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14362 object and get function length.
14363 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14364 with MACRO_AT_func.
14365 (top-level): Replace gdb_compile and clean_restart with
14366 prepare_for_testing.
14367 * gdb.dwarf2/main.c (main): Add label main_label.
14368
14369 2014-11-14 Yao Qi <yao@codesourcery.com>
14370
14371 * lib/dwarf.exp (function_range): New procedure.
14372 (Dwarf::_handle_macro_at_func): New procedure.
14373 (Dwarf::_handle_macro_at_range): New procedure.
14374 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14375
14376 2014-11-14 Yao Qi <yao@codesourcery.com>
14377
14378 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14379 (_handle_attribute): New procedure.
14380
14381 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14382
14383 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14384 * gdb.base/call-sc.c (zed): Likewise.
14385 * gdb.base/checkpoint.c (main): Likewise.
14386 * gdb.base/dump.c (main): Likewise.
14387 * gdb.base/gcore.c (main): Likewise.
14388 * gdb.base/huge.c (main): Likewise.
14389 * gdb.base/multi-forks.c (main): Likewise.
14390 * gdb.base/pr10179-a.c (main): Likewise.
14391 * gdb.base/savedregs.c (main): Likewise.
14392 * gdb.base/sigaltstack.c (main): Likewise.
14393 * gdb.base/siginfo.c (main): Likewise.
14394 * gdb.base/structs.c (zed): Likewise.
14395 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14396 * gdb.mi/mi-syn-frame.c (main): Likewise.
14397 * gdb.mi/until.c (foo, main): Likewise.
14398 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14399 * gdb.base/solib-weak.c (foo): Declare.
14400 * gdb.base/attach-twice.c: Include stdio.h.
14401 * gdb.base/weaklib1.c: Likewise.
14402 * gdb.base/weaklib2.c: Likewise.
14403 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14404 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14405 unistd.h.
14406 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14407 * gdb.mi/mi-exit-code.c: Likewise.
14408 * gdb.base/break-interp-lib.c: Include string.h.
14409 * gdb.base/coremaker.c: Likewise.
14410 * gdb.base/testenv.c: Likewise.
14411 * gdb.python/py-finish-breakpoint.c: Likewise.
14412 * gdb.base/inferior-died.c: Include sys/wait.h.
14413 * gdb.base/fileio.c: Include time.h.
14414 * gdb.base/async-shell.c: Include unistd.h.
14415 * gdb.base/dprintf-non-stop.c: Likewise.
14416 * gdb.base/info-os.c: Likewise.
14417 * gdb.mi/mi-console.c: Likewise.
14418 * gdb.mi/watch-nonstop.c: Likewise.
14419 * gdb.python/py-events.c: Likewise.
14420 * gdb.base/async.c (baz): Move up before its invocation.
14421 * gdb.base/code_elim2.c (my_global_func): Likewise.
14422 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14423 * gdb.base/advance.c (func2): Likewise.
14424
14425 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14426
14427 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14428 variant.
14429 * gdb.base/annota3.c: Likewise.
14430 * gdb.base/async.c: Likewise.
14431 * gdb.base/average.c: Likewise.
14432 * gdb.base/call-ar-st.c: Likewise.
14433 * gdb.base/call-rt-st.c: Likewise.
14434 * gdb.base/call-sc.c: Likewise.
14435 * gdb.base/call-strs.c: Likewise.
14436 * gdb.base/ending-run.c: Likewise.
14437 * gdb.base/execd-prog.c: Likewise.
14438 * gdb.base/exprs.c: Likewise.
14439 * gdb.base/foll-exec.c: Likewise.
14440 * gdb.base/foll-fork.c: Likewise.
14441 * gdb.base/foll-vfork.c: Likewise.
14442 * gdb.base/funcargs.c: Likewise.
14443 * gdb.base/gcore.c: Likewise.
14444 * gdb.base/jump.c: Likewise.
14445 * gdb.base/langs0.c: Likewise.
14446 * gdb.base/langs1.c: Likewise.
14447 * gdb.base/langs2.c: Likewise.
14448 * gdb.base/mips_pro.c: Likewise.
14449 * gdb.base/nodebug.c: Likewise.
14450 * gdb.base/opaque0.c: Likewise.
14451 * gdb.base/opaque1.c: Likewise.
14452 * gdb.base/recurse.c: Likewise.
14453 * gdb.base/run.c: Likewise.
14454 * gdb.base/scope0.c: Likewise.
14455 * gdb.base/scope1.c: Likewise.
14456 * gdb.base/setshow.c: Likewise.
14457 * gdb.base/setvar.c: Likewise.
14458 * gdb.base/shmain.c: Likewise.
14459 * gdb.base/shr1.c: Likewise.
14460 * gdb.base/shr2.c: Likewise.
14461 * gdb.base/sigall.c: Likewise.
14462 * gdb.base/signals.c: Likewise.
14463 * gdb.base/so-indr-cl.c: Likewise.
14464 * gdb.base/solib2.c: Likewise.
14465 * gdb.base/structs.c: Likewise.
14466 * gdb.base/sum.c: Likewise.
14467 * gdb.base/vforked-prog.c: Likewise.
14468 * gdb.base/watchpoint.c: Likewise.
14469 * gdb.reverse/shr2.c: Likewise.
14470 * gdb.reverse/until-reverse.c: Likewise.
14471 * gdb.reverse/ur1.c: Likewise.
14472 * gdb.reverse/watch-reverse.c: Likewise.
14473
14474 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14475
14476 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14477 variant.
14478 * gdb.base/sepdebug.exp: Drop references to removed code.
14479
14480 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14481
14482 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14483 variant. Preserve original line numbering.
14484 * gdb.base/list1.c: Likewise.
14485
14486 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14487
14488 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14489 variant.
14490 * gdb.base/break1.c: Likewise.
14491 * gdb.base/break.exp: Drop references to removed code.
14492
14493 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14494
14495 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14496 variant.
14497
14498 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14499
14500 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14501
14502 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14503
14504 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14505 logic into perform_all_tests() and invoke it with and without
14506 function header prototypes.
14507 (do_function_calls): Remove conditional XFAIL for PR 5318.
14508 (rerun_and_prepare): Remove duplicate code.
14509 (perform_all_tests): New. Main logic moved here.
14510
14511 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14512
14513 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14514 code guarded by #ifdef NO_PROTOTYPES.
14515 (t_double_many_args): Likewise.
14516 (DEF_FUNC_MANY_ARGS_1): Likewise.
14517 (DEF_FUNC_VALUES_1): Likewise.
14518 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14519 guarded by #ifdef PROTOTYPES.
14520
14521 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14522
14523 * gdb.mi/mi-console.c: Add eye-catcher.
14524 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14525 instead of literal line number.
14526
14527 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14528
14529 * gdb.base/shr2.c: Add eye-catcher.
14530 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14531 line number.
14532
14533 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14534
14535 * gdb.base/jump.c: Add eye-catchers.
14536 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14537 numbers.
14538
14539 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14540
14541 * gdb.base/execd-prog.c: Add eye-catchers.
14542 * gdb.base/foll-exec.c: Likewise.
14543 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14544 line numbers.
14545
14546 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14547
14548 * gdb.base/ending-run.c: Add eye-catchers.
14549 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14550 literal line numbers.
14551
14552 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14553
14554 * gdb.base/call-rt-st.c: Add eye-catchers.
14555 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14556 literal line numbers.
14557
14558 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14559
14560 * gdb.base/call-ar-st.c: Add eye-catchers.
14561 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14562 literal line numbers.
14563
14564 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14565
14566 * gdb.base/average.c: Add eye-catchers.
14567 * gdb.base/sum.c: Likewise.
14568 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14569 regexps dynamically.
14570
14571 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14572
14573 * gdb.base/solib1.c: Add eye-catchers.
14574 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14575 literal line numbers.
14576
14577 2014-11-12 Pedro Alves <palves@redhat.com>
14578
14579 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14580 leader has exited.
14581
14582 2014-11-12 Pedro Alves <palves@redhat.com>
14583
14584 * gdb.arch/i386-bp_permanent.c: New file.
14585 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14586 (srcfile): Set to i386-bp_permanent.c.
14587 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14588 that stepi does not execute the 'leave' instruction, instead of
14589 testing it does execute.
14590 * gdb.base/bp-permanent.c: New file.
14591 * gdb.base/bp-permanent.exp: New file.
14592
14593 2014-11-10 Doug Evans <xdje42@gmail.com>
14594
14595 PR symtab/17564
14596 * gdb.base/symtab-search-order.exp: New file.
14597 * gdb.base/symtab-search-order.c: New file.
14598 * gdb.base/symtab-search-order-1.c: New file.
14599 * gdb.base/symtab-search-order-shlib-1.c: New file.
14600
14601 2014-11-07 Pedro Alves <palves@redhat.com>
14602
14603 PR gdb/17511
14604 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14605 i?86-*-linux*.
14606
14607 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14608
14609 PR c++/17494
14610 * gdb.cp/pr17494.cc: New file.
14611 * gdb.cp/pr17494.exp: New file.
14612
14613 2014-11-02 Yao Qi <yao@codesourcery.com>
14614
14615 * gdb.python/python.exp: Get working directory and match the
14616 output of "set extended-prompt \\w " with it.
14617
14618 2014-10-30 Doug Evans <dje@google.com>
14619
14620 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14621 in objfiles.
14622 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14623 in progspaces.
14624
14625 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14626
14627 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14628 * gdb.base/realname-expand.exp: Likewise.
14629 * gdb.linespec/macro-relative.exp: Likewise.
14630
14631 2014-10-29 Pedro Alves <palves@redhat.com>
14632
14633 PR gdb/17408
14634 * gdb.threads/schedlock.c (some_function): New function.
14635 (call_function): New global.
14636 (MAYBE_CALL_SOME_FUNCTION): New macro.
14637 (thread_function): Call it.
14638 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14639 and use it instead of a global counter. Adjust all callers.
14640 (get_current_thread): Use "find current thread" for test message
14641 here rather than having all callers pass down the same string.
14642 (goto_loop): New procedure, factored out from ...
14643 (my_continue): ... this.
14644 (step_ten_loops): Change parameter from test message to command to
14645 use. Adjust.
14646 (list_count): Delete global.
14647 (check_result): New procedure, factored out from duplicate top
14648 level code.
14649 (continue tests): Wrap in with_test_prefix.
14650 (test_step): New procedure, factored out from duplicate top level
14651 code.
14652 (top level): Test "step" in combination with all scheduler-locking
14653 modes. Test "next" in combination with all scheduler-locking
14654 modes, and in combination with stepping over a function call or
14655 not.
14656 * gdb.threads/next-bp-other-thread.c: New file.
14657 * gdb.threads/next-bp-other-thread.exp: New file.
14658
14659 2014-10-29 Pedro Alves <palves@redhat.com>
14660
14661 PR python/17372
14662 * gdb.python/python.exp: Test a multi-line command that spawns
14663 interactive Python.
14664 * gdb.base/multi-line-starts-subshell.exp: New file.
14665
14666 2014-10-29 Yao Qi <yao@codesourcery.com>
14667
14668 * gdb.base/fileio.exp: Make directories on host.
14669
14670 2014-10-29 Yao Qi <yao@codesourcery.com>
14671
14672 * gdb.base/fileio.c (test_write): Close the file.
14673
14674 2014-10-28 Pedro Alves <palves@redhat.com>
14675
14676 PR gdb/12623
14677 * gdb.base/sigstep.c (no_handler): New global.
14678 (main): If 'no_handler is true, set the signal handlers to
14679 SIG_IGN.
14680 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14681 with_sw_watch and no_handler parameters. Handle them.
14682 (top level) <stepping over handler when stopped at a breakpoint
14683 test>: Add a test axis for testing with a software watchpoint, and
14684 another for testing with the signal handler set to SIG_IGN.
14685 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14686 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14687
14688 2014-10-28 Pedro Alves <palves@redhat.com>
14689
14690 PR gdb/17511
14691 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14692 * gdb.base/sigstep.exp (other_handler_location): New global.
14693 (advance): Support stepping into the signal handler, and running
14694 commands while in the handler.
14695 (in_handler_map): New global.
14696 (top level): In the advance test, add combinations for getting
14697 into the handler with stepping commands, and for running commands
14698 in the handler. Add comment descripting the advancei tests.
14699
14700 2014-10-28 Pedro Alves <palves@redhat.com>
14701
14702 * gdb.base/sigstep.exp: Use build_executable instead of
14703 prepare_for_testing.
14704 (top level): Move code that starts GDB, runs to main and creates a
14705 display to ...
14706 (restart): ... this new procedure.
14707 (top level): Move backtrace from signal handler test to ...
14708 (validate_backtrace): ... this new procedure.
14709 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14710 with_test_prefix. Always restart GDB.
14711 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14712 with_test_prefix. Always restart GDB. No need to delete
14713 breakpoints after the test.
14714 (test_skip_handler): Remove prefix parameter.
14715 (skip_over_handler, breakpoint_to_handler)
14716 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14717 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14718 restart GDB. No need to delete breakpoints after the test.
14719 (top level): Use foreach to call the test procedures with
14720 different commands.
14721
14722 2014-10-28 Pedro Alves <palves@redhat.com>
14723
14724 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14725 instead of GNATS numbers.
14726 * gdb.base/sigbpt.exp: Likewise.
14727 * gdb.base/siginfo.exp: Likewise.
14728 * gdb.base/sigstep.exp: Likewise.
14729
14730 2014-10-27 Pedro Alves <palves@redhat.com>
14731
14732 * gdb.base/sigstep.c (dummy): New global.
14733 (main): Issue a couple writes to the new global.
14734 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14735 procedures.
14736 (skip_over_handler): Use test_skip_handler.
14737 (top level): Call skip_over_handler for stepi and nexti too.
14738 (breakpoint_over_handler): Use test_skip_handler.
14739 (top level): Call breakpoint_over_handler for stepi and nexti too.
14740
14741 2014-10-27 Yao Qi <yao@codesourcery.com>
14742
14743 * gdb.trace/tfile.c (adjust_function_address)
14744 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14745 function descriptor.
14746
14747 2014-10-24 Don Breazeal <donb@codesourcery.com>
14748
14749 * gdb.base/foll-fork.exp (test_follow_fork,
14750 catch_fork_child_follow): Check for updated fork messages emitted
14751 from infrun.c.
14752 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14753 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14754 vfork_and_exec_child_follow_through_step): Check for updated vfork
14755 messages emitted from infrun.c.
14756
14757 2014-10-24 Pedro Alves <palves@redhat.com>
14758
14759 * gdb.base/corefile.exp: Remove references to ultrix.
14760 * gdb.base/interrupt.exp: Likewise.
14761 * gdb.base/whatis.exp: Likewise.
14762 * gdb.gdb/selftest.exp: Likewise.
14763 * gdb.threads/manythreads.exp: Likewise.
14764 * gdb.threads/print-threads.exp: Likewise.
14765 * gdb.threads/pthreads.exp:: Likewise.
14766 * gdb.threads/schedlock.exp: Likewise.
14767
14768 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14769
14770 * gdb.cp/non-trivial-retval.cc: Add a test case.
14771 * gdb.cp/non-trivial-retval.exp: Add a test.
14772
14773 2014-10-20 Yao Qi <yao@codesourcery.com>
14774
14775 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14776 * gdb.python/py-objfile-script-gdb.py: New file.
14777 * gdb.python/py-objfile-script.exp: Update reference to
14778 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14779 of remote_download. Remove the dest file.
14780
14781 2014-10-20 Yao Qi <yao@codesourcery.com>
14782
14783 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14784 * gdb.base/step-line.exp: Likewise.
14785 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14786 * gdb.dwarf2/dw2-basic.exp: Likewise.
14787 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14788 * gdb.dwarf2/dw2-filename.exp: Likewise.
14789 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14790 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14791 * gdb.dwarf2/dw2-producer.exp: Likewise.
14792 * gdb.dwarf2/mac-fileno.exp: Likewise.
14793 * gdb.python/py-frame-args.exp: Likewise.
14794 * gdb.python/py-framefilter.exp: Likewise.
14795 * gdb.python/py-mi.exp: Likewise.
14796 * gdb.python/py-objfile-script.exp: Likewise
14797 * gdb.python/py-pp-integral.exp: Likewise.
14798 * gdb.python/py-pp-re-notag.exp: Likewise.
14799 * gdb.python/py-prettyprint.exp: Likewise.
14800 * gdb.python/py-section-script.exp: Likewise.
14801 * gdb.python/py-typeprint.exp: Likewise.
14802 * gdb.python/py-xmethods.exp: Likewise.
14803 * gdb.stabs/weird.exp: Likewise.
14804 * gdb.xml/tdesc-regs.exp: Likewise.
14805
14806 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14807
14808 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14809 (out_cu): Use addr_len for the size of addresses.
14810 (out_line): Likewise. Size DW_LNE_set_address instruction
14811 according to addr_len.
14812 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14813 (FUNC): Add START_INSNS to definition.
14814
14815 2014-10-18 Yao Qi <yao@codesourcery.com>
14816
14817 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14818 gdb_has_argv0 return true.
14819 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14820 check [target_info exists noargs], check [gdb_has_argv0]
14821 instead.
14822 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14823 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14824 procedures.
14825
14826 2014-10-17 Doug Evans <dje@google.com>
14827
14828 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14829 event.
14830 * gdb.python/py-events.py: Add clear_objfiles event.
14831
14832 2014-10-17 Doug Evans <dje@google.com>
14833
14834 * gdb.python/py-objfile.exp: Test progspace attribute.
14835
14836 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14837
14838 * gdb.guile/scm-breakpoint.exp: Do not assume any
14839 directory separators when matching source file paths.
14840 * gdb.python/py-breakpoint.exp: Likewise.
14841 * gdb.reverse/break-precsave.exp: Likewise.
14842 * gdb.reverse/break-reverse.exp: Likewise.
14843 * gdb.reverse/consecutive-precsave.exp: Likewise.
14844 * gdb.reverse/finish-precsave.exp: Likewise.
14845 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14846 * gdb.reverse/finish-reverse.exp: Likewise.
14847 * gdb.reverse/i386-precsave.exp: Likewise.
14848 * gdb.reverse/i387-env-reverse.exp: Likewise.
14849 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14850 * gdb.reverse/machinestate-precsave.exp: Likewise.
14851 * gdb.reverse/machinestate.exp: Likewise.
14852 * gdb.reverse/sigall-precsave.exp: Likewise.
14853 * gdb.reverse/solib-precsave.exp: Likewise.
14854 * gdb.reverse/step-precsave.exp: Likewise.
14855 * gdb.reverse/until-precsave.exp: Likewise.
14856 * gdb.reverse/watch-precsave.exp: Likewise.
14857 * gdb.reverse/watch-reverse.exp: Likewise.
14858
14859 2014-10-17 Yao Qi <yao@codesourcery.com>
14860
14861 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14862 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14863
14864 2014-10-17 Pedro Alves <palves@redhat.com>
14865
14866 PR gdb/17471
14867 * gdb.base/bg-execution-repeat.c: New file.
14868 * gdb.base/bg-execution-repeat.exp: New file.
14869
14870 2014-10-17 Pedro Alves <palves@redhat.com>
14871
14872 PR gdb/17300
14873 * gdb.base/continue-all-already-running.c: New file.
14874 * gdb.base/continue-all-already-running.exp: New file.
14875
14876 2014-10-17 Pedro Alves <palves@redhat.com>
14877
14878 PR gdb/17472
14879 * gdb.base/annota-input-while-running.c: New file.
14880 * gdb.base/annota-input-while-running.exp: New file.
14881
14882 2014-10-17 Pedro Alves <palves@redhat.com>
14883
14884 * gdb.base/callfuncs.exp: emove references to osf.
14885 * gdb.base/sigall.exp: Likewise.
14886 * gdb.gdb/selftest.exp: Likewise.
14887 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14888 * gdb.mi/non-stop.c: Likewise.
14889 * gdb.mi/pthreads.c: Likewise.
14890 * gdb.reverse/sigall-precsave.exp: Likewise.
14891 * gdb.reverse/sigall-reverse.exp: Likewise.
14892 * gdb.threads/pthreads.c: Likewise.
14893 * gdb.threads/pthreads.exp: Likewise.
14894
14895 2014-10-17 Yao Qi <yao@codesourcery.com>
14896
14897 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14898 check 'target_info exists noargs'.
14899 (test_command_prompt_position): Likewise.
14900 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14901 Remove "set args".
14902 (progvar_simple_while_test): Likewise.
14903 (progvar_complex_if_while_test): Likewise.
14904 (if_while_breakpoint_command_test): Likewise.
14905 (infrun_breakpoint_command_test): Likewise.
14906 (breakpoint_command_test): Likewise.
14907 (watchpoint_command_test): Likewise.
14908 (bp_deleted_in_command_test): Likewise.
14909 (temporary_breakpoint_commands): Likewise.
14910
14911 2014-10-16 Yao Qi <yao@codesourcery.com>
14912
14913 * gdb.base/remotetimeout.exp: Remove noargs checking.
14914
14915 2014-10-15 Pedro Alves <palves@redhat.com>
14916
14917 PR breakpoints/9649
14918 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14919 * gdb.base/breakpoint-in-ro-region.exp
14920 (probe_target_hardware_step): New procedure.
14921 (top level): Probe hardware stepping and hardware breakpoint
14922 support. Test stepping through a read-only region, with both
14923 "breakpoint auto-hw" on and off and both "always-inserted" on and
14924 off.
14925
14926 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14927
14928 * gdb.dlang/demangle.exp: Update for demangling changes.
14929
14930 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14931
14932 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14933 * gdb.cp/non-trivial-retval.exp: Add new tests.
14934
14935 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14936
14937 PR c++/13403
14938 PR c++/15154
14939 * gdb.cp/non-trivial-retval.cc: New file.
14940 * gdb.cp/non-trivial-retval.exp: New file.
14941
14942 2014-10-15 Yao Qi <yao@codesourcery.com>
14943
14944 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14945 remote host.
14946
14947 2014-10-15 Yao Qi <yao@codesourcery.com>
14948
14949 * gdb.python/py-symbol.exp: Match file base name if host is
14950 remote, otherwise match file name with dir name.
14951 * gdb.python/py-symtab.exp: Likewise.
14952 * gdb.python/python.exp: Likewise.
14953
14954 2014-10-15 Yao Qi <yao@codesourcery.com>
14955
14956 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14957 pattern.
14958 * gdb.python/py-symtab.exp: Likewise.
14959 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14960 locationn.
14961
14962 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14963
14964 * gdb.ada/addr_arith: New testcase.
14965
14966 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14967
14968 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14969 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14970 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14971 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14972
14973 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14974
14975 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14976 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14977 * gdb.arch/stap-eval-lang-ada.exp: New file.
14978
14979 2014-10-14 Yao Qi <yao@codesourcery.com>
14980
14981 * gdb.mi/mi-var-child.c (nothing1): New function.
14982 (nothing2): New function.
14983 (do_children_tests): Set function pointers by nothing1 and
14984 nothing2.
14985 * gdb.mi/mi-var-child.exp: Step over new added statements.
14986 Update test to match the new output.
14987 * gdb.mi/var-cmd.c (nothing1): New function.
14988 (nothing2): New function.
14989 (do_children_tests): Set function pointers by nothing1 and
14990 nothing2.
14991 * gdb.mi/mi-var-display.exp: Update test to match output.
14992 Step to the line specified by $line_dct_nothing.
14993 Increase the number of lines to step.
14994
14995 2014-10-14 Yao Qi <yao@codesourcery.com>
14996
14997 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14998 tests.
14999 * gdb.mi/mi2-var-child.exp: Likewise.
15000
15001 2014-10-13 Doug Evans <dje@google.com>
15002
15003 * gdb.python/py-objfile.exp: Change name of file name test.
15004
15005 2014-10-13 Doug Evans <dje@google.com>
15006
15007 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15008 from the start of the CU.
15009
15010 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15011 Yao Qi <yao@codesourcery.com>
15012
15013 Fix "save breakpoints" for "catch" command.
15014 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15015 Remove -nonewline. Match also the added "main" line.
15016
15017 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15018
15019 Fix "save breakpoints" for "disable $bpnum" command.
15020 * gdb.base/save-bp.c (main): Add label.
15021 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15022
15023 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15024
15025 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15026
15027 2014-10-11 Yao Qi <yao@codesourcery.com>
15028
15029 * gdb.server/server-kill.exp: Execute command
15030 "set remote trace-status-packet on" before "tstatus".
15031
15032 2014-10-11 Yao Qi <yao@codesourcery.com>
15033
15034 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15035 (main): Call getppid.
15036 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15037 and continue to it. Read variable "server_pid".
15038
15039 2014-10-11 Yao Qi <yao@codesourcery.com>
15040
15041 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15042
15043 2014-10-11 Yao Qi <yao@codesourcery.com>
15044
15045 * gdb.threads/thread-find.exp: Don't execute command
15046 "info threads".
15047 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15048 * gdb.threads/linux-dp.exp: Don't check the condition
15049 $threads_created equals to zero.
15050
15051 2014-10-10 Pedro Alves <palves@redhat.com>
15052
15053 * gdb.base/bigcore.exp: Remove references to IRIX.
15054 * gdb.base/funcargs.exp: Likewise.
15055 * gdb.base/interrupt.exp: Likewise.
15056 * gdb.base/mips_pro.exp: Likewise.
15057 * gdb.base/nodebug.exp: Likewise.
15058 * gdb.base/setvar.exp: Likewise.
15059 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15060
15061 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15062 Pedro Alves <palves@redhat.com>
15063
15064 PR symtab/14466
15065 * gdb.base/vdso-warning.c: New file.
15066 * gdb.base/vdso-warning.exp: New file.
15067
15068 2014-10-02 Doug Evans <dje@google.com>
15069
15070 * gdb.base/structs.c (main): Don't run forever.
15071
15072 2014-10-02 Pedro Alves <palves@redhat.com>
15073
15074 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15075 (top level) <stop threads 1, stop threads 2>: Use it.
15076
15077 2014-10-02 Pedro Alves <palves@redhat.com>
15078
15079 * gdb.threads/break-while-running.exp (test): Add new
15080 'update_thread_list' argument. Skip "info threads" if false.
15081 (top level): Add new 'update_thread_list' axis.
15082
15083 2014-10-02 Pedro Alves <palves@redhat.com>
15084
15085 PR breakpoints/17431
15086 * gdb.base/execl-update-breakpoints.c: New file.
15087 * gdb.base/execl-update-breakpoints.exp: New file.
15088
15089 2014-10-01 Pedro Alves <palves@redhat.com>
15090
15091 * gdb.base/breakpoint-in-ro-region.c: New file.
15092 * gdb.base/breakpoint-in-ro-region.exp: New file.
15093
15094 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15095
15096 * gdb.mi/mi-exit-code.exp: New file.
15097 * gdb.mi/mi-exit-code.c: New file.
15098
15099 2014-09-30 Yao Qi <yao@codesourcery.com>
15100
15101 * lib/prelink-support.exp (build_executable_own_libs): Error if
15102 the target isn't native.
15103
15104 2014-09-30 Yao Qi <yao@codesourcery.com>
15105
15106 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15107 false.
15108
15109 2014-09-22 Pedro Alves <palves@redhat.com>
15110
15111 * gdb.threads/break-while-running.exp: New file.
15112 * gdb.threads/break-while-running.c: New file.
15113
15114 2014-09-19 Yao Qi <yao@codesourcery.com>
15115
15116 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15117 Invoke test. Restart GDB with --readnow and invoke test again.
15118
15119 2014-09-19 Yao Qi <yao@codesourcery.com>
15120
15121 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15122 proc set_breakpoint_on_gcd_function. Invoke
15123 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15124 invoke set_breakpoint_on_gcd_function again.
15125
15126 2014-09-18 Doug Evans <dje@google.com>
15127
15128 * gdb.dwarf2/symtab-producer.exp: New file.
15129
15130 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15131
15132 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15133 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15134 * gdb.base/global-var-nested-by-dso.c: Likewise.
15135 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15136
15137 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15138 Pedro Alves <palves@redhat.com>
15139
15140 * gdb.base/watch-bitfields.exp: Pass string other than test file
15141 name to prepare_for_testing.
15142 (watch): New procedure.
15143 (expect_watchpoint): Use with_test_prefix.
15144 (top level): Factor out tests to ...
15145 (test_watch_location, test_regular_watch): ... these new
15146 procedures, and use with_test_prefix and gdb_continue_to_end.
15147
15148 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15149
15150 PR breakpoints/12526
15151 * gdb.base/watch-bitfields.exp: New file.
15152 * gdb.base/watch-bitfields.c: New file.
15153
15154 2014-09-16 Pedro Alves <palves@redhat.com>
15155
15156 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15157 software and hardware addresses, not software address against
15158 itself.
15159
15160 2014-09-16 Pedro Alves <palves@redhat.com>
15161
15162 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15163 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15164
15165 2014-09-16 Pedro Alves <palves@redhat.com>
15166
15167 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15168 files.
15169 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15170 "*-*-vxworks*" throughout.
15171 * gdb.base/break.exp: Likewise.
15172 * gdb.base/default.exp: Likewise.
15173 * gdb.base/scope.exp: Likewise.
15174 * gdb.base/sepdebug.exp: Likewise.
15175 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15176 throughout.
15177 * gdb.base/run.c: Likewise.
15178 * gdb.base/sepdebug.c: Likewise.
15179 * gdb.hp/gdb.aCC/run.c: Likewise.
15180 * gdb.reverse/until-reverse.c: Likewise.
15181 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15182
15183 2014-09-16 Yao Qi <yao@codesourcery.com>
15184
15185 * boards/local-remote-host-native.exp: New file.
15186
15187 2014-09-14 Doug Evans <xdje42@gmail.com>
15188
15189 * gdb.threads/queue-signal.c (thread_count): New variable.
15190 (thread_count_mutex, thread_count_condvar): New variables.
15191 (incr_thread_count, wait_all_threads_running): New functions.
15192 (main): Wait for all threads to be in their thread functions.
15193
15194 2014-09-13 Doug Evans <xdje42@gmail.com>
15195
15196 * gdb.threads/queue-signal.c: New file.
15197 * gdb.threads/queue-signal.exp: New file.
15198
15199 2014-09-13 Doug Evans <xdje42@gmail.com>
15200
15201 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15202 be consistent with what default_gdb_init uses.
15203 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15204 the plain text of the prompt. Add some logging printfs.
15205 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15206
15207 2014-09-12 Pedro Alves <palves@redhat.com>
15208
15209 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15210 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15211 * gdb.arch/i386-size-overlap.exp: Likewise.
15212 * gdb.arch/i386-size.exp: Likewise.
15213 * gdb.arch/i386-unwind.exp: Likewise.
15214 * gdb.base/a2-run.exp: Likewise.
15215 * gdb.base/break.exp: Likewise.
15216 * gdb.base/charset.exp: Likewise.
15217 * gdb.base/chng-syms.exp: Likewise.
15218 * gdb.base/commands.exp: Likewise.
15219 * gdb.base/dbx.exp: Likewise.
15220 * gdb.base/find.exp: Likewise.
15221 * gdb.base/funcargs.exp: Likewise.
15222 * gdb.base/jit-simple.exp: Likewise.
15223 * gdb.base/reread.exp: Likewise.
15224 * gdb.base/sepdebug.exp: Likewise.
15225 * gdb.base/step-bt.exp: Likewise.
15226 * gdb.cp/mb-inline.exp: Likewise.
15227 * gdb.cp/mb-templates.exp: Likewise.
15228 * gdb.objc/basicclass.exp: Likewise.
15229 * gdb.threads/killed.exp: Likewise.
15230
15231 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15232
15233 PR tdep/17379
15234 * gdb.arch/powerpc-stackless.S: New file.
15235 * gdb.arch/powerpc-stackless.exp: New file.
15236
15237 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15238
15239 * gdb.base/attach.c: Include unistd.h.
15240 (main): Call alarm. Add label postloop.
15241 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15242 gdb_breakpoint, gdb_continue_to_breakpoint.
15243 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15244
15245 2014-09-11 Pedro Alves <palves@redhat.com>
15246
15247 PR gdb/17347
15248 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15249 * gdb.base/attach.exp (test_command_line_attach_run): New
15250 procedure.
15251 (top level): Call it.
15252
15253 2014-09-11 Pedro Alves <palves@redhat.com>
15254
15255 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15256 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15257 (do_command_attach_tests): Use spawn_wait_for_attach.
15258 * gdb.base/solib-overlap.exp: Likewise.
15259 * gdb.multi/multi-attach.exp: Likewise.
15260 * gdb.python/py-prompt.exp: Likewise.
15261 * gdb.python/py-sync-interp.exp: Likewise.
15262 * gdb.server/ext-attach.exp: Likewise.
15263
15264 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15265
15266 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15267 command in testcase. Simplify testcase.
15268
15269 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15270
15271 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15272
15273 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15274
15275 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15276
15277 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15278
15279 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15280
15281 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15282
15283 * gdb.dwarf2/dynarr-ptr.c: New file.
15284 * gdb.dwarf2/dynarr-ptr.exp: New file.
15285
15286 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15287
15288 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15289 of 30 rather than hardcoding 120 for a slow test case. Take the
15290 `gdb,timeout' target setting into account for this calculation.
15291 Don't extend the timeout for the test cases that don't need it.
15292
15293 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15294
15295 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15296 a factor of 2 for a slow test case. Take the `gdb,timeout'
15297 target setting into account for this calculation.
15298 * gdb.reverse/until-precsave.exp: Increase the timeout by
15299 a factor of 15 and 3 respectively rather than adding 120
15300 for a pair of slow test cases. Take the `gdb,timeout'
15301 target setting into account for this calculation.
15302
15303 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15304
15305 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15306 timeout, don't pass one down to gdb_expect.
15307 (gdb_expect): Rework timeout selection.
15308
15309 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15310
15311 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15312 exception on timeout.
15313 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15314 (gdbserver_start_extended): Catch any `gdbserver_start' error
15315 exceptions.
15316 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15317 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15318 `gdbserver_gdb_load' error exceptions.
15319
15320 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15321
15322 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15323 120 on waiting for the TCP socket to open.
15324
15325 2014-09-09 Doug Evans <xdje42@gmail.com>
15326
15327 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15328 _caller_matches, _any_caller_is, _any_caller_matches.
15329
15330 2014-09-09 Doug Evans <xdje42@gmail.com>
15331
15332 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15333
15334 2014-09-09 Yao Qi <yao@codesourcery.com>
15335
15336 * gdb.mi/mi-var-display.exp: Set print symbol off.
15337
15338 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15339
15340 PR gdb/17035
15341 * gdb.base/commands.exp: Add tests to verify user-defined
15342 commands with empty bodies.
15343 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15344 python commands in `show user command`.
15345 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15346 scheme commands in `show user command`.
15347
15348 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15349
15350 PR python/17355
15351 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15352 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15353 * gdb.python/py-framefilter-invalidarg.exp: New file.
15354 * gdb.python/py-framefilter-invalidarg.py: New file.
15355
15356 2014-09-06 Doug Evans <xdje42@gmail.com>
15357
15358 PR 15276
15359 * gdb.python/py-caller-is.c: New file.
15360 * gdb.python/py-caller-is.exp: New file.
15361
15362 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15363
15364 PR gdb/17235
15365 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15366 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15367
15368 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15369
15370 PR fortran/17237
15371 * gdb.fortran/print-formatted.exp: New file.
15372 * gdb.fortran/print-formatted.f90: Likewise.
15373
15374 2014-09-03 Sasha Smundak <asmundak@google.com>
15375
15376 * gdb.python/py-frame.exp: Test Frame.read_register.
15377
15378 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15379
15380 PR python/16699
15381 * gdb.python/py-completion.exp: New file.
15382 * gdb.python/py-completion.py: Likewise.
15383
15384 2014-08-28 Doug Evans <dje@google.com>
15385
15386 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15387 eax,etc. are live with values set by gdb and thus the compiler can't
15388 use them.
15389 * gdb.arch/i386-pseudo.c (main): Ditto.
15390
15391 2014-08-27 Doug Evans <dje@google.com>
15392
15393 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15394
15395 2014-08-25 Doug Evans <dje@google.com>
15396
15397 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15398 (main): Ditto.
15399
15400 2014-08-25 Doug Evans <dje@google.com>
15401
15402 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15403
15404 2014-08-24 Yao Qi <yao@codesourcery.com>
15405
15406 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15407 symbol off.
15408 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15409
15410 2014-08-22 Doug Evans <dje@google.com>
15411
15412 PR 17276
15413 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15414 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15415 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15416
15417 2014-08-22 Yao Qi <yao@codesourcery.com>
15418
15419 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15420 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15421 * gdb.python/python.exp: Likewise. Use .py file on the host
15422 instead of the build.
15423
15424 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15425
15426 * gdb.threads/gcore-stale-thread.c: New file.
15427 * gdb.threads/gcore-stale-thread.exp: New file.
15428
15429 2014-08-21 Pedro Alves <palves@redhat.com>
15430
15431 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15432 * gdb.base/gcore-relro-pie.exp: Likewise.
15433 * gdb.base/gcore-relro.exp: Likewise.
15434 * gdb.base/gcore.exp: Likewise.
15435 * gdb.base/print-symbol-loading.exp: Likewise.
15436 * gdb.threads/gcore-thread.exp: Likewise.
15437 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15438
15439 2014-08-20 Pedro Alves <palves@redhat.com>
15440 Jan Kratochvil <jan.kratochvil@redhat.com>
15441
15442 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15443 configure.
15444 (EXPECT): Handle READ1 being set.
15445 (all): Depend on EXTRA_RULES.
15446 (check-read1, expect-read1, read1.so, read1): New rules.
15447 * README (Testsuite Parameters): Document the READ1 make variable.
15448 (Race detection): New section.
15449 * configure: Regenerate.
15450 * configure.ac: If build==host==target, and running under a
15451 GNU/glibc system, add read1 to the extra Makefile rules.
15452 (EXTRA_RULES): AC_SUBST it.
15453 * lib/read1.c: New file.
15454
15455 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15456
15457 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15458 the handling of variables declared as a typedef to an array
15459 which a DW_AT_data_location attribute.
15460
15461 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15462 Pedro Alves <palves@redhat.com>
15463
15464 PR symtab/14604
15465 PR symtab/14605
15466 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15467 gdb_test.
15468
15469 2014-08-19 Pedro Alves <palves@redhat.com>
15470
15471 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15472
15473 2014-08-19 Yao Qi <yao@codesourcery.com>
15474
15475 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15476 right line.
15477
15478 2014-08-18 David Blaikie <dblaikie@gmail.com>
15479
15480 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15481
15482 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15483
15484 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15485 attribute in array range.
15486
15487 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15488
15489 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15490
15491 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15492
15493 PR c++/17132
15494 * gdb.cp/pr17132.cc: New file.
15495 * gdb.cp/pr17132.exp: New file.
15496
15497 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15498
15499 * gdb.python/py-xmethods.py (A_getarrayind)
15500 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15501 Use 'print' with function call syntax.
15502 (E_method_matcher.match): Fix tab vs space indentation mixup.
15503
15504 2014-08-15 Yao Qi <yao@codesourcery.com>
15505
15506 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15507 false.
15508
15509 2014-08-15 Yao Qi <yao@codesourcery.com>
15510
15511 * gdb.cp/casts.exp: Set print symbol off.
15512 * gdb.cp/class2.exp: Likewise.
15513 * gdb.cp/overload.exp: Likewise.
15514 * gdb.cp/templates.exp: Likewise.
15515
15516 2014-08-11 Doug Evans <dje@google.com>
15517
15518 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15519 (test_load_shlib): Update.
15520
15521 2014-08-09 Yao Qi <yao@codesourcery.com>
15522
15523 * gdb.base/display.exp: Invoke is_address_zero_readable.
15524 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15525 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15526 * gdb.base/hbreak-unmapped.exp: Return if
15527 is_address_zero_readable returns true.
15528 * gdb.base/signest.exp: Likewise.
15529 * gdb.base/signull.exp: Likewise.
15530 * gdb.base/sigbpt.exp: Likewise.
15531 * gdb.guile/scm-disasm.exp: Do the test if
15532 is_address_zero_readable returns false.
15533 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15534 * gdb.python/py-arch.exp: Likewise.
15535 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15536 * lib/gdb.exp (is_address_zero_readable): New proc.
15537
15538 2014-08-09 Yao Qi <yao@codesourcery.com>
15539
15540 PR testsuite/13443
15541 * gdb.mi/mi-var-display.exp: Make test messages unique.
15542
15543 2014-08-04 Tom Tromey <tromey@redhat.com>
15544
15545 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15546 target 0".
15547
15548 2014-08-04 Tom Tromey <tromey@redhat.com>
15549
15550 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15551 "target_resume".
15552
15553 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15554
15555 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15556 inner_vla_struct_object_size.
15557 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15558 as xfail.
15559
15560 2014-07-30 Pedro Alves <palves@redhat.com>
15561
15562 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15563 comment.
15564
15565 2014-07-29 Yao Qi <yao@codesourcery.com>
15566
15567 PR gdb/17206
15568 * gdb.base/until-nodebug.exp: New.
15569
15570 2014-07-28 Doug Evans <xdje42@gmail.com>
15571
15572 PR guile/17203
15573 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15574 previously existing parameter, and previously ambiguously spelled
15575 parameter.
15576
15577 2014-07-28 Will Newton <will.newton@linaro.org>
15578
15579 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15580
15581 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15582 Doug Evans <xdje42@gmail.com>
15583
15584 PR guile/17146
15585 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15586
15587 2014-07-25 Pedro Alves <palves@redhat.com>
15588
15589 * gdb.threads/signal-command-handle-nopass.c: New file.
15590 * gdb.threads/signal-command-handle-nopass.exp: New file.
15591 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15592 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15593 * gdb.threads/signal-delivered-right-thread.c: New file.
15594 * gdb.threads/signal-delivered-right-thread.exp: New file.
15595
15596 2014-07-25 Pedro Alves <palves@redhat.com>
15597
15598 * gdb.base/double-prompt-target-event-error.exp
15599 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15600 match.
15601 (cancel_pagination_in_target_event): Rework double prompt
15602 detection.
15603 * gdb.base/paginate-after-ctrl-c-running.exp
15604 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15605 <return>' match.
15606 * gdb.base/paginate-bg-execution.exp
15607 (test_bg_execution_pagination_return)
15608 (test_bg_execution_pagination_cancel): Remove '-notransfer
15609 <return>' matches.
15610 * gdb.base/paginate-execution-startup.exp
15611 (test_fg_execution_pagination_return)
15612 (test_fg_execution_pagination_cancel): Remove '-notransfer
15613 <return>' matches.
15614 * gdb.base/paginate-inferior-exit.exp
15615 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15616 match.
15617 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15618 * lib/gdb.exp (pagination_prompt): Run text through
15619 string_to_regexp.
15620 (gdb_test_multiple): Match $pagination_prompt instead of
15621 "<return>".
15622 (string_to_regexp): Move to lib/gdb-utils.exp.
15623
15624 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15625
15626 * gdb.arch/amd64-entry-value-paramref.S: New file.
15627 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15628 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15629 * gdb.arch/amd64-optimout-repeat.S: New file.
15630 * gdb.arch/amd64-optimout-repeat.c: New file.
15631 * gdb.arch/amd64-optimout-repeat.exp: New file.
15632
15633 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15634
15635 PR gdb/17170
15636 * gdb.base/statistics.exp: New file.
15637
15638 2014-07-17 Doug Evans <dje@google.com>
15639
15640 PR gdb/17170
15641 * gdb.base/maint.exp: Update testing of per-command stats.
15642
15643 2014-07-16 Pedro Alves <palves@redhat.com>
15644
15645 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15646 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15647 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15648 (tfile_write_buf): New functions.
15649 (add_memory_block): Rewrite using the above.
15650 (adjust_function_address): New function.
15651 (FUNCTION_ADDRESS): New macro.
15652 (write_basic_trace_file): Remove short_x local, and use
15653 tfile_write_16. Change type of func_addr local to unsigned long
15654 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15655 here. Cast argument of add_memory_block to char pointer.
15656 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15657 (main): Remove parameters.
15658 * gdb.trace/tfile.exp: Remove nowarnings.
15659
15660 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15661
15662 * gdb.base/debug-expr.exp: Test string evaluation with
15663 "debug expression" on.
15664
15665 2014-07-15 Pedro Alves <palves@redhat.com>
15666
15667 * gdb.base/reread.exp: Use clean_restart.
15668
15669 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15670
15671 * gdb.arch/avr-flash-qualifer.c: New.
15672 * gdb.arch/avr-flash-qualifer.exp: New.
15673
15674 2014-07-14 Pedro Alves <palves@redhat.com>
15675
15676 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15677 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15678
15679 2014-07-14 Pedro Alves <palves@redhat.com>
15680
15681 * gdb.base/double-prompt-target-event-error.c: New file.
15682 * gdb.base/double-prompt-target-event-error.exp: New file.
15683
15684 2014-07-14 Pedro Alves <palves@redhat.com>
15685
15686 PR gdb/17072
15687 * gdb.base/paginate-inferior-exit.c: New file.
15688 * gdb.base/paginate-inferior-exit.exp: New file.
15689
15690 2014-07-14 Pedro Alves <palves@redhat.com>
15691
15692 PR gdb/17072
15693 * gdb.base/paginate-bg-execution.c: New file.
15694 * gdb.base/paginate-bg-execution.exp: New file.
15695
15696 2014-07-14 Pedro Alves <palves@redhat.com>
15697
15698 PR gdb/17072
15699 * gdb.base/paginate-execution-startup.c: New file.
15700 * gdb.base/paginate-execution-startup.exp: New file.
15701 * lib/gdb.exp (pagination_prompt): New global.
15702 (default_gdb_spawn): New procedure, factored out from
15703 default_gdb_spawn.
15704 (default_gdb_start): Adjust to call default_gdb_spawn.
15705 (gdb_spawn): New procedure.
15706
15707 2014-07-14 Pedro Alves <palves@redhat.com>
15708
15709 * lib/gdb.exp (gdb_assert): New procedure.
15710 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15711
15712 2014-07-14 Pedro Alves <palves@redhat.com>
15713
15714 * gdb.base/execution-termios.c: New file.
15715 * gdb.base/execution-termios.exp: New file.
15716
15717 2014-07-14 Tom Tromey <tromey@redhat.com>
15718
15719 * gdb.cp/vla-cxx.cc: New file.
15720 * gdb.cp/vla-cxx.exp: New file.
15721
15722 2014-07-14 Tom Tromey <tromey@redhat.com>
15723
15724 * gdb.reverse/rerun-prec.c: New file.
15725 * gdb.reverse/rerun-prec.exp: New file.
15726
15727 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15728 Maciej W. Rozycki <macro@codesourcery.com>
15729
15730 * lib/gdb-utils.exp: New file.
15731 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15732 inline `gdb_init_command' processing.
15733 (gdb_start_cmd): Likewise.
15734 * lib/mi-support.exp (mi_run_cmd): Likewise.
15735 * README: Document `gdb_init_command' and `gdb_init_commands'.
15736
15737 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15738
15739 Fix false FAIL running under a very long directory name.
15740 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15741 and "set print elements 10000". Twice.
15742
15743 2014-07-11 Yao Qi <yao@codesourcery.com>
15744
15745 * gdb.base/exprs.exp: "set print symbol off".
15746
15747 2014-07-11 Pedro Alves <palves@redhat.com>
15748
15749 * gdb.threads/kill.c: New file.
15750 * gdb.threads/kill.exp: New file.
15751
15752 2014-07-10 Yao Qi <yao@codesourcery.com>
15753
15754 * gdb.trace/tfile.c (write_basic_trace_file)
15755 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15756 address written to trace file.
15757
15758 2014-07-09 Pedro Alves <palves@redhat.com>
15759
15760 * gdb.base/attach-wait-input.exp: New file.
15761 * gdb.base/attach-wait-input.c: New file.
15762
15763 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15764
15765 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15766 setting up test structures.
15767 (main): Call new test function.
15768 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15769 test function, continue into test function and walk test
15770 structures.
15771
15772 2014-07-02 Yao Qi <yao@codesourcery.com>
15773
15774 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15775 'bar_start' at the beginning of functions 'foo' and 'bar'
15776 respectively.
15777 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15778 instead of 'foo' and 'bar'.
15779
15780 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15781
15782 * gdb.btrace/segv.exp: New.
15783 * gdb.btrace/segv.c: New.
15784
15785 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15786
15787 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15788 instruction.
15789
15790 2014-06-30 Mark Wielaard <mjw@redhat.com>
15791
15792 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15793 vulture, vilify, villar): New volatile array constants.
15794 (vindictive, vegetation): New const volatile array constants.
15795 * gdb.base/volatile.exp: Test volatile and const volatile array
15796 types.
15797
15798 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15799
15800 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15801 target lacks support for awatch, rwatch, or hbreak.
15802
15803 2014-06-27 Yao Qi <yao@codesourcery.com>
15804
15805 * gdb.multi/dummy-frame-restore.exp: New.
15806 * gdb.multi/dummy-frame-restore.c: New.
15807
15808 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15809
15810 * gdb.btrace/gcore.exp: New.
15811
15812 2014-06-23 Pedro Alves <palves@redhat.com>
15813
15814 * gdb.base/watchpoint-reuse-slot.c: New file.
15815 * gdb.base/watchpoint-reuse-slot.exp: New file.
15816
15817 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15818
15819 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15820 progspace's filename in 'info', 'enable' and 'disable' command
15821 tests.
15822
15823 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15824
15825 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15826 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15827 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15828
15829 2014-06-20 Gary Benson <gbenson@redhat.com>
15830
15831 * gdb.arch/i386-avx.exp: Fix include file location.
15832 * gdb.arch/i386-sse.exp: Likewise.
15833
15834 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15835
15836 * gdb.dlang/expression.exp: New file.
15837
15838 2014-06-19 Pedro Alves <palves@redhat.com>
15839
15840 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15841 out from ...
15842 (top level): ... here. Iterate running tests under different
15843 scheduler-locking settings.
15844
15845 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15846
15847 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15848 to DW_FORM_addr and use non-zero addresses.
15849
15850 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15851
15852 PR gdb/17017
15853 * gdb.python/py-xmethods.cc: Add global function call counters and
15854 increment them in their respective functions. Remove "cout"
15855 statements.
15856 * gdb.python/py-xmethods.exp: Make tests check the global function
15857 call counters instead of depending on inferior IO.
15858
15859 2014-06-18 Don Breazeal <donb@codesourcery.com>
15860
15861 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15862 Deleted procedure.
15863 (explicit_fork_parent_follow): Deleted procedure.
15864 (explicit_fork_child_follow): Deleted procedure.
15865 (test_follow_fork): New procedure.
15866 (do_fork_tests): Replace calls to deleted procedures with
15867 calls to test_follow_fork and reset GDB for subsequent
15868 procedure calls.
15869
15870 2014-06-17 Yao Qi <yao@codesourcery.com>
15871
15872 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15873 CP1252.
15874
15875 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
15876
15877 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15878 Initialize ptr and S explicitly.
15879 (skip_type_update_when_not_use_rtti_test): Likewise.
15880
15881 2014-06-16 Keith Seitz <keiths@redhat.com>
15882
15883 PR mi/15863
15884 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15885 the inferior is started.
15886
15887 2014-06-16 Pedro Alves <palves@redhat.com>
15888
15889 * gdb.base/break-main-file-remove-fail.c: New file.
15890 * gdb.base/break-main-file-remove-fail.exp: New file.
15891 * gdb.base/break-unload-file.exp: Use build_executable instead of
15892 prepare_for_testing.
15893 (test_break): New parameter "initial_load". Handle it.
15894 (top level): Add initial_load cmdline/file axis.
15895
15896 2014-06-12 Tom Tromey <tromey@redhat.com>
15897
15898 * gdb.base/completion.exp: Don't use directory name in test.
15899
15900 2014-06-09 Gary Benson <gbenson@redhat.com>
15901
15902 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15903 separate the always-available ANSI-standard signals from the
15904 signals that require checking.
15905 (main): Likewise.
15906 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15907 Likewise.
15908 (main): Likewise.
15909
15910 2014-06-07 Keith Seitz <keiths@redhat.com>
15911
15912 Revert:
15913 PR c++/16253
15914 * gdb.cp/var-tag.cc: New file.
15915 * gdb.cp/var-tag.exp: New file.
15916 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15917 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15918 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15919 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15920
15921 2014-06-06 Doug Evans <xdje42@gmail.com>
15922
15923 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15924
15925 2014-06-06 Pedro Alves <palves@redhat.com>
15926
15927 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15928 in target debug output instead of looking at RSP packets,
15929 disabling the test on any target that uses hardware stepping.
15930 Update comments.
15931
15932 2014-06-06 Pedro Alves <palves@redhat.com>
15933
15934 * gdb.base/break-unload-file.exp: Fix typo.
15935
15936 2014-06-06 Yao Qi <yao@codesourcery.com>
15937
15938 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15939 from "jit_function" to "^jit_function".
15940
15941 2014-06-06 Yao Qi <yao@codesourcery.com>
15942
15943 * gdb.base/async.c (foo): Add one statement.
15944 * gdb.base/async.exp: Get the next instruction address and
15945 match the output of "nexti" by instruction address. Match
15946 the hex address in the output of "finish".
15947
15948 2014-06-06 Gary Benson <gbenson@redhat.com>
15949
15950 * gdb.base/call-signals.c: Remove preprocessor conditionals
15951 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15952 SIGSEGV and SIGTERM.
15953 * gdb.base/sigall.c: Likewise.
15954 * gdb.base/unwindonsignal.c: Likewise.
15955 * gdb.reverse/sigall-reverse.c: Likewise.
15956
15957 2014-06-06 Yao Qi <yao@codesourcery.com>
15958
15959 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15960 readable, skip the test.
15961
15962 2014-06-06 Yao Qi <yao@codesourcery.com>
15963
15964 * gdb.threads/staticthreads.c (thread_function): Move the line
15965 setting breakpoint on forward.
15966 * gdb.threads/staticthreads.exp: Update comments.
15967
15968 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15969
15970 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15971 "history-append! type error".
15972
15973 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15974
15975 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15976 erroneous dprintf expected input.
15977
15978 2014-06-04 Doug Evans <xdje42@gmail.com>
15979
15980 * gdb.guile/scm-generics.exp: Delete.
15981
15982 2014-06-04 Doug Evans <xdje42@gmail.com>
15983
15984 * gdb.guile/scm-breakpoint.exp: Update.
15985 Add tests for breakpoint registration.
15986
15987 2014-06-04 Tom Tromey <tromey@redhat.com>
15988
15989 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15990 VLA-in-union.
15991 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15992 inner_vla_struct, vla_union types. Initialize objects of those
15993 types and compute their sizes.
15994
15995 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15996 Hui Zhu <hui@codesourcery.com>
15997
15998 * gdb.base/fileio.exp: Add test for shell not available as well as
15999 available.
16000 * gdb.base/fileio.c (test_system): Check for shell twice.
16001
16002 2014-06-04 Yao Qi <yao@codesourcery.com>
16003
16004 * gdb.base/auto-connect-native-target.exp: Remove redundant
16005 space from the regexp pattern.
16006
16007 2014-06-04 Yao Qi <yao@codesourcery.com>
16008
16009 * gdb.base/default.exp: Replace "child" with "native" in
16010 regexp pattern.
16011
16012 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16013
16014 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16015 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16016 * gdb.python/py-xmethods.py: Python script supporting the
16017 new testcase and tests.
16018
16019 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16020 Pedro Alves <palves@redhat.com>
16021
16022 PR breakpoints/17000
16023 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16024 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16025
16026 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16027
16028 * gdb.base/subst.exp: Add tests to verify partial path matching
16029 output.
16030
16031 2014-06-03 Pedro Alves <palves@redhat.com>
16032
16033 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16034 target that doesn't use software single-stepping.
16035
16036 2014-06-03 Pedro Alves <palves@redhat.com>
16037
16038 PR breakpoints/17000
16039 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16040 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16041
16042 2014-06-02 Doug Evans <xdje42@gmail.com>
16043
16044 * gdb.guile/scm-parameter.exp: New file.
16045
16046 2014-06-02 Doug Evans <xdje42@gmail.com>
16047
16048 * gdb.guile/scm-cmd.c: New file.
16049 * gdb.guile/scm-cmd.exp: New file.
16050
16051 2014-06-02 Doug Evans <xdje42@gmail.com>
16052
16053 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16054 pretty-printer lookup.
16055 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16056 (make-pp_s-printer): Call it.
16057 (make-pretty-printer-from-dict): New function.
16058 (lookup-pretty-printer-maker-from-dict): New function.
16059 (*pretty-printer*): Simplify.
16060 (make-objfile-pp_s-printer): New function.
16061 (install-objfile-pretty-printers!): New function.
16062 (make-progspace-pp_s-printer): New function.
16063 (install-progspace-pretty-printers!): New function.
16064 * gdb.guile/scm-progspace.c: New file.
16065 * gdb.guile/scm-progspace.exp: New file.
16066
16067 2014-06-02 Pedro Alves <palves@redhat.com>
16068
16069 * gdb.base/dprintf-bp-same-addr.c: New file.
16070 * gdb.base/dprintf-bp-same-addr.exp: New file.
16071
16072 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16073
16074 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16075 * gdb.arch/powerpc-power.s: Likewise.
16076
16077 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16078
16079 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16080
16081 2014-06-01 Yao Qi <yao@codesourcery.com>
16082
16083 * gdb.base/watchpoint.exp (test_watch_location): Check null
16084 pointer can be dereferenced. If not, do the test, otherwise
16085 skip it.
16086
16087 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16088
16089 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16090 results.
16091 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16092
16093 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16094
16095 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16096 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16097 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16098 * gdb.arch/amd64-invalid-stack-top.c: New file.
16099 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16100
16101 2014-05-30 Pedro Alves <palves@redhat.com>
16102
16103 PR breakpoints/17000
16104 * gdb.base/sss-bp-on-user-bp.c: New file.
16105 * gdb.base/sss-bp-on-user-bp.exp: New file.
16106
16107 2014-05-30 David Blaikie <dblaikie@gmail.com>
16108
16109 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16110 gnu_inline semantics via attribute.
16111 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16112 source explicitly specifies the required semantics.
16113
16114 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16115
16116 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16117
16118 2014-05-29 Pedro Alves <palves@redhat.com>
16119 Tom Tromey <tromey@redhat.com>
16120
16121 * gdb.base/async-shell.exp: Don't enable target-async.
16122 * gdb.base/async.exp
16123 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16124 parameter. Adjust.
16125 (top level): Don't test with "target-async".
16126 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16127 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16128 * gdb.base/inferior-died.exp: Don't enable target-async.
16129 * gdb.base/interrupt-noterm.exp: Likewise.
16130 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16131 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16132 * gdb.mi/mi-nonstop.exp: Likewise.
16133 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16134 * gdb.mi/mi-nsintrall.exp: Likewise.
16135 * gdb.mi/mi-nsmoribund.exp: Likewise.
16136 * gdb.mi/mi-nsthrexec.exp: Likewise.
16137 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16138 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16139 * gdb.python/py-evsignal.exp: Don't enable target-async.
16140 * gdb.python/py-evthreads.exp: Likewise.
16141 * gdb.python/py-prompt.exp: Likewise.
16142 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16143 * gdb.server/solib-list.exp: Don't enable target-async.
16144 * gdb.threads/thread-specific-bp.exp: Likewise.
16145 * lib/mi-support.exp: Adjust to use mi-async.
16146
16147 2014-05-29 Pedro Alves <palves@redhat.com>
16148
16149 PR gdb/13860
16150 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16151 reason, even in sync mode.
16152
16153 2014-05-29 Pedro Alves <palves@redhat.com>
16154 Hui Zhu <hui@codesourcery.com>
16155
16156 PR PR15693
16157 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16158 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16159 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16160 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16161
16162 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16163
16164 * config/monitor.exp (gdb_target_monitor): Replace use of
16165 "set remotebaud" by "set serial baud".
16166
16167 2014-05-26 Andy Wingo <wingo@igalia.com>
16168
16169 * gdb.guile/scm-breakpoint.exp:
16170 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16171 properties instead of gdb-object-properties.
16172
16173 2014-05-26 Yao Qi <yao@codesourcery.com>
16174
16175 * gdb.server/no-thread-db.exp: Specify source file name
16176 explicitly when setting a breakpoint.
16177
16178 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16179
16180 * gdb.btrace/vdso.c: New.
16181 * gdb.btrace/vdso.exp: New.
16182
16183 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16184
16185 * gdb.base/gcore.exp (capture_command_output): Move ...
16186 * lib/gdb.exp (capture_command_output): ... here.
16187
16188 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16189
16190 * gdb.btrace/data.exp: Test memory access during btrace replay.
16191
16192 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16193
16194 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16195
16196 2014-05-21 Pedro Alves <palves@redhat.com>
16197
16198 PR gdb/13860
16199 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16200 (top level): Test that output related to execution commands is
16201 sent to the console with CLI commands, but not with MI commands.
16202 Test that breakpoint events are always mirrored to the console.
16203 Also expect the new source line to be output after a "next" in
16204 async mode too. Make it a pass/fail test.
16205 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16206 output.
16207 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16208
16209 2014-05-21 Pedro Alves <palves@redhat.com>
16210
16211 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16212 Use them to test variations of "list" after reaching a breakpoint.
16213 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16214 Test "list" with listsize 10 after reaching a breakpoint.
16215 * gdb.python/python.exp (decode_line current location line
16216 number): Adjust expected line number.
16217
16218 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16219
16220 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16221 behavior for $args, pass it directly to "run".
16222
16223 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16224
16225 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16226 30000 to 65536.
16227
16228 2014-05-21 Pedro Alves <palves@redhat.com>
16229
16230 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16231 auto-connect-native-target off".
16232 * gdb.base/auto-connect-native-target.c: New file.
16233 * gdb.base/auto-connect-native-target.exp: New file.
16234
16235 2014-05-21 Pedro Alves <palves@redhat.com>
16236
16237 * gdb.base/default.exp: Test "target native" instead of "target
16238 child".
16239
16240 2014-05-21 Mark Wielaard <mjw@redhat.com>
16241
16242 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16243
16244 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16245
16246 Fix TLS access for -static -pthread.
16247 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16248 <HAVE_TLS> (thread_function, main): Initialize it.
16249 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16250 Add clean_restart.
16251 <$have_tls != "">: Check TLSVAR.
16252
16253 2014-05-21 Pedro Alves <palves@redhat.com>
16254
16255 * gdb.base/dcache-line-read-error.c: New.
16256 * gdb.base/dcache-line-read-error.exp: New.
16257
16258 2014-05-20 Pedro Alves <palves@redhat.com>
16259
16260 * gdb.base/compare-sections.c: New file.
16261 * gdb.base/compare-sections.exp: New file.
16262
16263 2014-05-20 Pedro Alves <palves@redhat.com>
16264
16265 * gdb.base/break-idempotent.c: New file.
16266 * gdb.base/break-idempotent.exp: New file.
16267
16268 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16269
16270 * gdb.btrace/nohist.exp: New.
16271
16272 2014-05-20 Yao Qi <yao@codesourcery.com>
16273
16274 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16275 gdb.reverse directory and gdb_reverse_timeout exists in board
16276 setting.
16277 * README: Document gdb_reverse_timeout.
16278
16279 2014-05-20 Yao Qi <yao@codesourcery.com>
16280
16281 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16282 'test_file_name'. Treat args as a string instead of a list.
16283 (gdb_init): Rename argument 'args' by 'test_file_name'.
16284
16285 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16286
16287 * gdb.arch/powerpc-power.exp: New file.
16288 * gdb.arch/powerpc-power.s: New file.
16289
16290 2014-05-16 Doug Evans <dje@google.com>
16291
16292 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16293 * gdb.base/completion.exp: Check that all expected files exist
16294 before doing file completion.
16295
16296 2014-05-16 Doug Evans <dje@google.com>
16297
16298 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16299 Update.
16300 (do_syscall_tests_without_xml): Update.
16301
16302 2014-05-16 Pedro Alves <palves@redhat.com>
16303
16304 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16305 instead of "unknown output after running".
16306
16307 2014-05-16 Yao Qi <yao@codesourcery.com>
16308
16309 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16310 file1.txt from host at the end.
16311 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16312
16313 2014-05-15 Doug Evans <dje@google.com>
16314
16315 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16316 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16317 loading file. Add test for TU lookup.
16318
16319 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16320
16321 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16322 calling "-exec-arguments" or "set args" before running the
16323 inferior.
16324
16325 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16326
16327 * lib/mi-support.exp (mi_expect_stop): Expect message for
16328 inferiors that exit with non-zero exit code.
16329
16330 2014-05-14 Yao Qi <yao@codesourcery.com>
16331
16332 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16333 match absolute path on remote host.
16334 (test_file_list_exec_source_files): Remove "/" from the
16335 pattern.
16336
16337 2014-05-14 Yao Qi <yao@codesourcery.com>
16338
16339 * boards/local-remote-host-notty.exp (${board}_file): New
16340 proc.
16341
16342 2014-05-07 Kyle McMartin <kyle@redhat.com>
16343
16344 Pushed by Joel Brobecker <brobecker@adacore.com>.
16345 * gdb.arch/aarch64-atomic-inst.c: New file.
16346 * gdb.arch/aarch64-atomic-inst.exp: New file.
16347
16348 2014-05-07 Yao Qi <yao@codesourcery.com>
16349
16350 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16351 in current context" too.
16352
16353 2014-05-05 Keith Seitz <keiths@redhat.com>
16354
16355 * gdb.linespec/ls-dollar.exp: Add test for linespec
16356 file:convenience_variable.
16357
16358 2014-05-05 Yao Qi <yao@codesourcery.com>
16359
16360 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16361 traceframes into tfile and ctf trace files. Read data from
16362 trace file and test collected data.
16363 (gdb_collect_locals_test): Likewise.
16364 (gdb_unavailable_registers_test): Likewise.
16365 (gdb_unavailable_floats): Likewise.
16366 (gdb_collect_globals_test): Likewise.
16367 (top-level): Append "ctf" to trace_file_targets if GDB
16368 supports.
16369
16370 2014-05-05 Yao Qi <yao@codesourcery.com>
16371
16372 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16373 code to ...
16374 (gdb_collect_args_test_1): ... it. New proc.
16375 (gdb_collect_locals_test): Move some code to ...
16376 (gdb_collect_locals_test_1): ... it. New proc.
16377 (gdb_unavailable_registers_test): Move some code to ...
16378 (gdb_unavailable_registers_test_1): ... it. New proc.
16379 (gdb_unavailable_floats): Move some code to ...
16380 (gdb_unavailable_floats_1): ... it. New proc.
16381
16382 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16383
16384 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16385 probes to test for bitness recognition.
16386 * gdb.arch/amd64-stap-optional-prefix.exp
16387 (test_probe_value_without_reg): New procedure.
16388 Add code to test for different kinds of bitness.
16389
16390 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16391
16392 PR breakpoints/16889
16393 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16394 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16395
16396 2014-05-01 Pedro Alves <palves@redhat.com>
16397
16398 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16399 gdb_file_cmd if no file is specified.
16400 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16401 last_loaded_file to set the remote exec-file.
16402
16403 2014-05-01 Pedro Alves <palves@redhat.com>
16404
16405 * boards/local-remote-host.exp: New file.
16406
16407 2014-05-01 Pedro Alves <palves@redhat.com>
16408
16409 * boards/local-remote-host.exp: Rename to ...
16410 * boards/local-remote-host-notty.exp: ... this.
16411
16412 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16413
16414 * gdb.ada/dyn_arrayidx: New testcase.
16415
16416 2014-04-26 Yao Qi <yao@codesourcery.com>
16417
16418 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16419 and compute the length of function main. Save it in
16420 $main_length.
16421 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16422 (top-level): Use gdb_compile to compile objects into
16423 executable and restart GDB. Remove invocation to
16424 prepare_for_testing.
16425
16426 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16427 Pedro Alves <palves@redhat.com>
16428
16429 PR server/16255
16430 * gdb.multi/multi-attach.c: New file.
16431 * gdb.multi/multi-attach.exp: New file.
16432
16433 2014-04-25 Pedro Alves <palves@redhat.com>
16434
16435 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16436 user.
16437 (top level): Test that "set remote conditional-breakpoints-packet
16438 off" works as intended.
16439 * gdb.base/dprintf.exp: Test that "set remote
16440 breakpoint-commands-packet off" works as intended.
16441 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16442 New function.
16443 (top level): Call it.
16444 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16445 remote fast-tracepoints-packet off" works as intended.
16446 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16447 * lib/gdb.exp (gdb_is_target_remote): ... here.
16448
16449 2014-04-24 David Blaikie <dblaikie@gmail.com>
16450
16451 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16452 ensure clang would not discard them.
16453 * gdb.base/gdbvars.c: Ditto.
16454 * gdb.base/memattr.c: Ditto.
16455 * gdb.base/whatis.c: Ditto.
16456 * gdb.python/py-prettyprint.c: Ditto.
16457 * gdb.trace/actions.c: Ditto.
16458 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16459 ensure clang would not discard it.
16460
16461 2014-04-24 David Blaikie <dblaikie@gmail.com>
16462
16463 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16464 clang to emit the full definition of type required by the test
16465 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16466
16467 2014-04-24 David Blaikie <dblaikie@gmail.com>
16468
16469 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16470 coax Clang into emitting the definition of the type.
16471 * gdb.cp/pr10728-x.h (y): Ditto.
16472 * gdb.cp/pr10728-y.cc (y): Ditto.
16473
16474 2014-04-24 David Blaikie <dblaikie@gmail.com>
16475
16476 * gdb.base/label.exp: XFAIL label related tests under Clang.
16477 * gdb.cp/cplabel.exp: Ditto.
16478 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16479 under Clang those using labels.
16480
16481 2014-04-25 Yao Qi <yao@codesourcery.com>
16482
16483 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16484 double_label.
16485 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16486 partial_label and double_label.
16487
16488 2014-04-24 David Blaikie <dblaikie@gmail.com>
16489
16490 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16491
16492 2014-04-24 David Blaikie <dblaikie@gmail.com>
16493
16494 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16495 of the function to work across GCC and Clang.
16496 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16497 pointer types (const void ** const V void **).
16498
16499 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16500 Walfred Tedeschi <walfred.tedeschi@intel.com>
16501
16502 * Makefile.in (EXECUTABLES): Added i386-avx512.
16503 * gdb.arch/i386-avx512.c: New file.
16504 * gdb.arch/i386-avx512.exp: Likewise.
16505
16506 2014-04-23 Keith Seitz <keiths@redhat.com>
16507
16508 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16509 (mi_make_breakpoint_table): New procedure.
16510 (mi_create_breakpoint): Use mi_make_breakpoint
16511 and return the result.
16512 (mi_make_breakpoint): New procedure.
16513 (mi_build_kv_pairs): New procedure.
16514
16515 * gdb.mi/mi-break.exp: Remove unused globals,
16516 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16517 All callers updated.
16518 * gdb.mi/mi-dprintf.exp: Use variable to track command
16519 number.
16520 Update all callers of mi_create_breakpoint and use
16521 mi_make_breakpoint_table.
16522 Remove any unused global variables.
16523 * gdb.mi/mi-nonstop.exp: Likewise.
16524 * gdb.mi/mi-nsintrall.exp: Likewise.
16525 * gdb.mi/mi-nsmoribund.exp: Likewise.
16526 * gdb.mi/mi-nsthrexec.exp: Likewise.
16527 * gdb.mi/mi-reverse.exp: Likewise.
16528 * gdb.mi/mi-simplerun.exp: Likewise.
16529 * gdb.mi/mi-stepn.exp: Likewise.
16530 * gdb.mi/mi-syn-frame.exp: Likewise.
16531 * gdb.mi/mi-until.exp: Likewise.
16532 * gdb.mi/mi-var-cp.exp: Likewise.
16533 * gdb.mi/mi-var-display.exp: Likewise.
16534 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16535 * gdb.mi/mi2-var-child.exp: Likewise.
16536 * gdb.mi/mi-vla-c99.exp: Likewise.
16537 * lib/mi-support.exp: Likewise.
16538
16539 From Ian Lance Taylor <iant@cygnus.com>:
16540 * lib/gdb.exp (parse_args): New procedure.
16541
16542 2014-04-23 Pedro Alves <palves@redhat.com>
16543
16544 * gdb.base/break-unload-file.c: New file.
16545 * gdb.base/break-unload-file.exp: New file.
16546 * gdb.base/sym-file-lib.c (baz): New function.
16547 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16548 field.
16549 (load): Store the segment's mapped size.
16550 (unload): New function.
16551 (unload_shlib): New function.
16552 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16553 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16554 set a breakpoint at baz, and call it.
16555 * gdb.base/sym-file.exp: New tests for stale breakpoint
16556 instructions.
16557
16558 2014-04-23 Pedro Alves <palves@redhat.com>
16559
16560 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16561 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16562 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16563 * gdb.base/hbreak-unmapped.c: New file.
16564 * gdb.base/hbreak-unmapped.exp: New file.
16565 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16566 * lib/gdb.exp (gdb_is_target_remote): ... here.
16567
16568 2014-04-22 Pedro Alves <palves@redhat.com>
16569
16570 * gdb.base/consecutive-step-over.c: New file.
16571 * gdb.base/consecutive-step-over.exp: New file.
16572
16573 2014-04-22 Pedro Alves <palves@redhat.com>
16574
16575 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16576 instead of send_gdb/gdb_expect.
16577
16578 2014-04-22 Yao Qi <yao@codesourcery.com>
16579
16580 * lib/trace-support.exp (generate_tracefile): New procedure.
16581 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16582 return 0.
16583 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16584 if generate_tracefile returns 1.
16585
16586 2014-04-18 Tom Tromey <palves@redhat.com>
16587 Pedro alves <tromey@redhat.com>
16588
16589 PR backtrace/15558
16590 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16591 with a backtrace limit.
16592 * gdb.python/py-frame-inline.exp: Test running to an inline
16593 function with a backtrace limit, and printing the newest frame.
16594 * gdb.python/py-frame-inline.c (main): Call f.
16595
16596 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16597
16598 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16599
16600 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16601
16602 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16603 Drop prefix from unsupported source file path.
16604
16605 2014-04-17 Yao Qi <yao@codesourcery.com>
16606
16607 * lib/gdb.exp (with_target_charset): New proc.
16608 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16609 with_target_charset.
16610 (test_print_strings): Likewise.
16611 (test_repeat_bytes): Likewise.
16612 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16613 for some tests.
16614
16615 2014-04-16 Keith Seitz <keiths@redhat.com>
16616
16617 PR gdb/15827
16618 * gdb.dwarf2/corrupt.c: New file.
16619 * gdb.dwarf2/corrupt.exp: New file.
16620
16621 2014-04-16 Keith Seitz <keiths@redhat.com>
16622
16623 PR c++/16597
16624 * gdb.cp/namelessclass.cc: New file.
16625 * gdb.cp/namelessclass.exp: New file.
16626 * gdb.cp/namelessclass.S: New file.
16627
16628 2014-04-16 Doug Evans <dje@google.com>
16629
16630 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16631 Add comment.
16632 (gdbserver_default_get_comm_port): New function.
16633 (gdbserver_start): Check if board file provided
16634 "gdbserver,get_comm_port" and use it if so.
16635 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16636 (gdb,socketport): Set to "stdio".
16637 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16638 (stdio_gdbserver_template): Delete.
16639 (${board}_get_remote_address): Update.
16640 (${board}_build_remote_cmd): Delete.
16641 (${board}_get_comm_port): New function.
16642 (${board}_spawn): Update.
16643 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16644 Delete.
16645 (${board}_get_remote_address): Update.
16646 (${board}_get_comm_port): New function.
16647
16648 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16649
16650 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16651 appearing in any order.
16652
16653 2014-04-15 Doug Evans <dje@google.com>
16654
16655 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16656 uninitialized value of "description".
16657
16658 2014-04-15 Keith Seitz <keiths@redhat.com>
16659
16660 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16661 Remove unused globals.
16662 (test_running_the_program): Likewise.
16663 (test_controlled_execution): Likewise.
16664 (test_controlling_breakpoints): Likewise.
16665 (test_program_termination): Likewise.
16666
16667 2014-04-15 Keith Seitz <keiths@redhat.com>
16668
16669 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16670 unused globals.
16671 (test_rbreak_creation_and_listing): Likewise.
16672 (test_ignore_count): Likewise.
16673 (test_error): Likewise.
16674
16675 2014-04-15 Pedro Alves <palves@redhat.com>
16676
16677 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16678 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16679 sym-file-loader.c.
16680 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16681 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16682 to sym-file-loader.c.
16683 (struct library): Forward declare.
16684 (load_shlib, lookup_function): Change prototypes.
16685 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16686 (translate_offset): Remove declarations.
16687 (get_text_addr): New declaration.
16688 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16689 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16690 sym-file-loader.h.
16691 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16692 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16693 here from sym-file-loader.h.
16694 (struct library): New structure.
16695 (load_shlib, lookup_function): Change prototypes and adjust to
16696 work with a struct library.
16697 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16698 (translate_offset): Make static.
16699 (get_text_addr): New function.
16700 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16701
16702 2014-04-15 Pedro Alves <palves@redhat.com>
16703
16704 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16705
16706 2014-04-15 Pedro Alves <palves@redhat.com>
16707
16708 * gdb.base/sym-file-loader.c: Include <limits.h>.
16709 (SELF_LINK): New define.
16710 (get_origin): New function.
16711 (load_shlib): Use it.
16712 * gdb.base/sym-file.exp: Don't early return if the target is
16713 remote. Use runto_main, and issue fail is that fails. Use
16714 gdb_load_shlibs.
16715 (shlib_name): Delete.
16716 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16717
16718 2014-04-15 Pedro Alves <palves@redhat.com>
16719
16720 * gdb.base/sym-file.exp: Remove regex characters from test
16721 message. Don't refer to breakpoint numbers in test messages.
16722
16723 2014-04-14 Keith Seitz <keiths@redhat.com>
16724
16725 PR c++/16253
16726 * gdb.cp/var-tag.cc: New file.
16727 * gdb.cp/var-tag.exp: New file.
16728 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16729 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16730 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16731 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16732
16733 2014-04-14 Tom Tromey <tromey@redhat.com>
16734
16735 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16736 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16737 type.
16738 * gdb.cp/enum-class.exp: New file.
16739 * gdb.cp/enum-class.cc: New file.
16740
16741 2014-04-14 Tom Tromey <tromey@redhat.com>
16742
16743 * gdb.dwarf2/enum-type.exp: New file.
16744
16745 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16746
16747 * gdb.mi/mi-vla-c99.exp: New file.
16748 * gdb.mi/vla.c: New file.
16749
16750 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16751
16752 * gdb.base/vla-datatypes.c: New file.
16753 * gdb.base/vla-datatypes.exp: New file.
16754
16755 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16756
16757 * gdb.base/vla-ptr.c: New file.
16758 * gdb.base/vla-ptr.exp: New file.
16759
16760 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16761
16762 * gdb.dwarf2/count.exp: New file.
16763
16764 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16765
16766 * gdb.base/vla-sideeffect.c: New file.
16767 * gdb.base/vla-sideeffect.exp: New file.
16768
16769 2014-04-14 David Blaikie <dblaikie@gmail.com>
16770
16771 * gdb.mi/non-stop.c: Add return value for non-void function return
16772 statement.
16773 * gdb.threads/staticthreads.c: Ditto.
16774
16775 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16776 Doug Evans <xdje42@gmail.com>
16777
16778 * gdb.guile/scm-value.c: Improve test case.
16779 * gdb.guile/scm-value.exp: Add new test.
16780
16781 2014-04-11 David Blaikie <dblaikie@gmail.com>
16782
16783 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16784 override Clang's default.
16785
16786 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16787
16788 Revert the following changes (regressions):
16789
16790 * gdb.base/vla-sideeffect.c: New file.
16791 * gdb.base/vla-sideeffect.exp: New file.
16792
16793 * gdb.dwarf2/count.exp: New file.
16794
16795 * gdb.base/vla-multi.c: New file.
16796 * gdb.base/vla-multi.exp: New file.
16797
16798 * gdb.base/vla-ptr.c: New file.
16799 * gdb.base/vla-ptr.exp: New file.
16800
16801 * gdb.base/vla-datatypes.c: New file.
16802 * gdb.base/vla-datatypes.exp: New file.
16803
16804 * gdb.mi/mi-vla-c99.exp: New file.
16805 * gdb.mi/vla.c: New file.
16806
16807 2014-04-11 Keith Seitz <keiths@redhat.com>
16808
16809 PR c++/16675
16810 * gdb.cp/cpsizeof.exp: New file.
16811 * gdb.cp/cpsizeof.cc: New file.
16812
16813 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16814
16815 * gdb.mi/mi-vla-c99.exp: New file.
16816 * gdb.mi/vla.c: New file.
16817
16818 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16819
16820 * gdb.base/vla-datatypes.c: New file.
16821 * gdb.base/vla-datatypes.exp: New file.
16822
16823 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16824
16825 * gdb.base/vla-ptr.c: New file.
16826 * gdb.base/vla-ptr.exp: New file.
16827
16828 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16829
16830 * gdb.base/vla-multi.c: New file.
16831 * gdb.base/vla-multi.exp: New file.
16832
16833 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16834
16835 * gdb.dwarf2/count.exp: New file.
16836
16837 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16838
16839 * gdb.base/vla-sideeffect.c: New file.
16840 * gdb.base/vla-sideeffect.exp: New file.
16841
16842 2014-04-11 Yao Qi <yao@codesourcery.com>
16843
16844 * gdb.base/completion.exp: Check file exists before running tests
16845 on file completion.
16846
16847 2014-04-10 Pedro Alves <palves@redhat.com>
16848
16849 * gdb.base/cond-eval-mode.c: New file.
16850 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16851 prepare_for_testing to build the new file. Check result of
16852 runto_main.
16853 (test_break, test_watch): New procedures.
16854 (top level): Use them.
16855
16856 2014-04-08 Pierre Muller <muller@sourceware.org>
16857
16858 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16859 Ctrl-V use for mingw hosts.
16860
16861 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16862
16863 * gdb.python/py-value.c: Improve test case.
16864 * gdb.python/py-value.exp: Add new test.
16865
16866 2014-04-07 David Blaikie <dblaikie@gmail.com>
16867
16868 * lib/compiler.c: Identify the clang compiler.
16869 * lib/compiler.cc: Ditto.
16870
16871 2014-04-03 Yao Qi <yao@codesourcery.com>
16872
16873 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16874
16875 2014-04-01 Anton Blanchard <anton@samba.org>
16876
16877 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16878 messages unique.
16879
16880 2014-04-01 Anton Blanchard <anton@samba.org>
16881
16882 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16883 prepare_for_testing.
16884
16885 2014-04-01 Anton Blanchard <anton@samba.org>
16886
16887 * gdb.arch/ppc64-atomic-inst.c: Remove.
16888 * gdb.arch/ppc64-atomic-inst.S: New file.
16889 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16890
16891 2014-03-31 Doug Evans <dje@google.com>
16892
16893 * gdb.base/print-symbol-loading-lib.c: New file.
16894 * gdb.base/print-symbol-loading-main.c: New file.
16895 * gdb.base/print-symbol-loading.exp: New file.
16896
16897 2014-03-31 Yao Qi <yao@codesourcery.com>
16898
16899 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16900
16901 2014-03-28 Joel Brobecker <brobecker@adacore.com>
16902
16903 * gdb.ada/mi_dyn_arr: New testcase.
16904
16905 2014-03-27 Doug Evans <dje@google.com>
16906
16907 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16908
16909 2014-03-27 Yao Qi <yao@codesourcery.com>
16910
16911 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16912 if target is nios2-*-*.
16913
16914 2014-03-26 Yao Qi <yao@codesourcery.com>
16915
16916 * lib/gdb.exp (readline_is_used): New proc.
16917 * gdb.base/completion.exp: Move tests on command complete up.
16918 Skip the rest of tests if readline is not used.
16919 * gdb.ada/complete.exp: Skp the test if readline is not
16920 used.
16921 * gdb.base/filesym.exp: Likewise.
16922 * gdb.base/macscp.exp: Likewise.
16923 * gdb.base/readline-ask.exp: Likewise.
16924 * gdb.base/readline.exp: Likewise.
16925 * gdb.python/py-cmd.exp: Likewise.
16926 * gdb.trace/tfile.exp: Likewise.
16927
16928 2014-03-26 Yao Qi <yao@codesourcery.com>
16929
16930 * gdb.base/macscp.exp: Fix code format issues.
16931
16932 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16933
16934 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16935 * gdb.asm/powerpc64le.inc: New file.
16936
16937 2014-03-25 Pedro Alves <palves@redhat.com>
16938 Doug Evans <dje@google.com>
16939
16940 * gdb.base/source-execution.c: New file.
16941 * gdb.base/source-execution.exp: New file.
16942 * gdb.base/source-execution.gdb: New file.
16943
16944 2014-03-24 Doug Evans <dje@google.com>
16945
16946 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16947 using fission.
16948
16949 2014-03-24 Hui Zhu <hui@codesourcery.com>
16950 Pedro Alves <palves@redhat.com>
16951
16952 PR breakpoints/16101
16953 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16954 test pass/fail messages. Detect missing support for dprintf when
16955 breakpoints are actually inserted.
16956 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16957 breakpoints are actually inserted.
16958 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16959 fails.
16960
16961 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16962
16963 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16964
16965 2014-03-22 Doug Evans <xdje42@gmail.com>
16966
16967 * gdb.python/python.exp (python not supported): Verify multi-line
16968 python command issues an error.
16969 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16970 guile command issues an error.
16971
16972 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16973
16974 * gdb.threads/thread-specific.exp: Handle the lack of usable
16975 $this_breakpoint and $this_thread.
16976
16977 2014-03-21 Hui Zhu <hui@codesourcery.com>
16978
16979 * gdb.base/attach.exp (do_command_attach_tests): New.
16980
16981 2014-03-20 Tom Tromey <tromey@redhat.com>
16982 Pedro Alves <palves@redhat.com>
16983
16984 PR cli/15718
16985 * gdb.base/condbreak-call-false.c: New file.
16986 * gdb.base/condbreak-call-false.exp: New file.
16987
16988 2014-03-20 Pedro Alves <palves@redhat.com>
16989
16990 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16991 Delete.
16992 (block_signals, unblock_signals): Delete.
16993 (child_function_2, main): Remove references to deleted variable
16994 and functions.
16995
16996 2014-03-20 Pedro Alves <palves@redhat.com>
16997
16998 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16999 Use pthread_kill to signal thread 2.
17000 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17001 Adjust to make the test send itself a signal rather than using the
17002 host's "kill" command.
17003
17004 2014-03-20 Pedro Alves <palves@redhat.com>
17005
17006 * gdb.threads/multiple-step-overs.c: New file.
17007 * gdb.threads/multiple-step-overs.exp: New file.
17008 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17009 Adjust expected infrun debug output.
17010
17011 2014-03-20 Pedro Alves <palves@redhat.com>
17012
17013 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17014 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17015
17016 2014-03-20 Pedro Alves <palves@redhat.com>
17017
17018 PR breakpoints/7143
17019 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17020 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17021 of gdb_test_multiple.
17022 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17023 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17024
17025 2014-03-20 Pedro Alves <palves@redhat.com>
17026
17027 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17028 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17029
17030 2014-03-19 Pedro Alves <palves@redhat.com>
17031
17032 * gdb.base/async.exp: Remove early return.
17033
17034 2014-03-19 Pedro Alves <palves@redhat.com>
17035
17036 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17037
17038 2014-03-19 Pedro Alves <palves@redhat.com>
17039
17040 * gdb.base/async.exp (test_background): Expect \r\n after
17041 "completed." in the fail pattern.
17042
17043 2014-03-19 Pedro Alves <palves@redhat.com>
17044
17045 * gdb.base/async.exp (test_background): New procedure.
17046 Use it for all background execution command tests.
17047
17048 2014-03-19 Pedro Alves <palves@redhat.com>
17049
17050 * gdb.base/async.exp: Use prepare_for_testing.
17051
17052 2014-03-19 Pedro Alves <palves@redhat.com>
17053
17054 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17055 the same line.
17056
17057 2014-03-19 Pedro Alves <palves@redhat.com>
17058
17059 * gdb.base/async.c (main): Add "jump here" and "until here" line
17060 marker comments.
17061 * gdb.base/async.exp (jump_here): New global.
17062 (jump& test): Use it.
17063 (until_here): New global.
17064 (until& test): Use it.
17065
17066 2014-03-19 Pedro Alves <palves@redhat.com>
17067
17068 * gdb.base/async.exp: Don't frob gdb_protocol.
17069
17070 2014-03-18 Doug Evans <xdje42@gmail.com>
17071
17072 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17073 Fix spelling of exec-done-display.
17074
17075 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17076
17077 PR gdb/15358
17078 * gdb.base/gdb-sigterm.c: New file.
17079 * gdb.base/gdb-sigterm.exp: New file.
17080
17081 2014-03-18 Pedro Alves <palves@redhat.com>
17082
17083 PR gdb/13860
17084 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17085 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17086 solib-event.
17087
17088 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17089
17090 * gdb.ada/pckd_arr_ren: New testcase.
17091
17092 2014-03-13 Doug Evans <xdje42@gmail.com>
17093
17094 PR guile/16612
17095 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17096 collect after discarding symbols.
17097
17098 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17099 Doug Evans <xdje42@gmail.com>
17100
17101 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17102 to history survives a gc.
17103
17104 2014-03-13 Pedro Alves <palves@redhat.com>
17105
17106 * gdb.base/default.exp: Don't test "target procfs".
17107
17108 2014-03-13 Pedro Alves <palves@redhat.com>
17109
17110 * gdb.base/default.exp: Update "target child" and "target procfs"
17111 tests to not expect "Unix".
17112
17113 2014-03-12 Tom Tromey <tromey@redhat.com>
17114
17115 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17116 New procs. Add target-async tests.
17117 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17118 Add target-async tests.
17119
17120 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17121
17122 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17123 'func_start' and 'func_end' for the beginning and end of the
17124 function code, respectively.
17125 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17126 'func_end' instead of 'func' and 'main'.
17127
17128 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17129
17130 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17131 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17132 generate the debug info assembler source.
17133
17134 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17135
17136 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17137 * gdb.dwarf2/arr-subrange.exp: Likewise.
17138 * gdb.dwarf2/dwz.exp: Likewise.
17139 * gdb.dwarf2/method-ptr.exp: Likewise.
17140 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17141 * gdb.dwarf2/subrange.exp: Likewise.
17142 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17143 * gdb.dwarf2/implptrpiece.exp: Likewise.
17144 * gdb.dwarf2/nostaticblock.exp: Likewise.
17145
17146 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17147
17148 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17149 directory to absolute path name arguments.
17150
17151 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17152
17153 * gdb.ada/tagged_access: New testcase.
17154
17155 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17156
17157 * gdb.btrace/data.exp: Update expected output.
17158
17159 2014-03-06 Yao Qi <yao@codesourcery.com>
17160
17161 * gdb.trace/pr16508.exp: New file.
17162
17163 2014-03-05 Pedro Alves <palves@redhat.com>
17164
17165 PR gdb/16575
17166 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17167 procedure.
17168 (top level): Adjust to use it. Add tests that exercise breakpoint
17169 interaction with the code-cache.
17170
17171 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17172
17173 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17174 test for 'history-append!'.
17175
17176 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17177
17178 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17179 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17180 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17181 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17182 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17183 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17184
17185 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17186
17187 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17188 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17189 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17190
17191 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17192
17193 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17194
17195 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17196
17197 * gdb.dwarf2/arr-stride.c: New file.
17198 * gdb.dwarf2/arr-stride.exp: New file.
17199
17200 2014-02-26 Pedro Alves <palves@redhat.com>
17201
17202 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17203 that won't ever trigger. Make sure that GDB reports the correct
17204 breakpoint that caused the stop.
17205
17206 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17207
17208 PR gdb/16626
17209 * gdb.base/auto-load-script: New file.
17210 * gdb.base/auto-load.c: New file.
17211 * gdb.base/auto-load.exp: New file.
17212
17213 PR gdb/16626
17214 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17215
17216 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17217
17218 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17219 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17220
17221 2014-02-24 Doug Evans <dje@google.com>
17222
17223 * lib/gdb.exp (run_on_host): Log error output if program fails.
17224
17225 2014-02-21 Pedro Alves <palves@redhat.com>
17226
17227 * gdb.threads/step-after-sr-lock.c: Rename to ...
17228 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17229 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17230 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17231 ... this.
17232
17233 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17234
17235 PR tdep/16397
17236 * gdb.arch/amd64-stap-special-operands.exp: New file.
17237 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17238 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17239 * gdb.arch/amd64-stap-triplet.S: Likewise.
17240 * gdb.arch/amd64-stap-triplet.c: Likewise.
17241
17242 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17243
17244 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17245 in .section pseudo-op.
17246
17247 2014-02-20 lin zuojian <manjian2006@gmail.com>
17248 Joel Brobecker <brobecker@adacore.com>
17249 Doug Evans <xdje42@gmail.com>
17250
17251 PR symtab/16581
17252 * gdb.dwarf2/dw2-icycle.S: New file.
17253 * gdb.dwarf2/dw2-icycle.c: New file.
17254 * gdb.dwarf2/dw2-icycle.exp: New file.
17255
17256 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17257
17258 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17259 operations on gdb.Value objects.
17260 * gdb.python/py-value-cc.exp: Add new test to test operations on
17261 gdb.Value objects.
17262
17263 2014-02-18 Doug Evans <dje@google.com>
17264
17265 * Makefile.in (TESTS): New variable.
17266 (expanded_tests, expanded_tests_or_none): New variables
17267 (check-single): Pass $(expanded_tests_or_none) to runtest.
17268 (check-parallel): Only run tests in $(TESTS) if non-empty.
17269 (check/no-matching-tests-found): New rule.
17270 * README: Document TESTS makefile variable.
17271
17272 2014-02-18 Doug Evans <dje@google.com>
17273
17274 * Makefile.in (check-parallel): rm -rf outputs temp.
17275
17276 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17277
17278 Fix "ERROR: no fileid for" in the testsuite.
17279 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17280
17281 2014-02-12 Doug Evans <dje@google.com>
17282
17283 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17284 (MISCELLANEOUS): New variable.
17285 (clean): rm -rf $(MISCELLANEOUS).
17286 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17287 dwp live in the same directory as symlinks, with each symlink pointed
17288 to a differently named file in a different directory.
17289
17290 2014-02-11 Doug Evans <dje@google.com>
17291
17292 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17293 of Tcl file commands.
17294
17295 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17296
17297 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17298 "kill -SIGUSR1 -1".
17299
17300 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17301
17302 * gdb.ada/tick_length_array_enum_idx: New testcase.
17303
17304 2014-02-10 Doug Evans <xdje42@gmail.com>
17305
17306 * configure.ac (AC_OUTPUT): Add gdb.guile.
17307 * configure: Regenerate.
17308 * lib/gdb-guile.exp: New file.
17309 * lib/gdb.exp (get_target_charset): New function.
17310 * gdb.base/help.exp: Update expected output from "apropos apropos".
17311 * gdb.guile/Makefile.in: New file.
17312 * gdb.guile/guile.exp: New file.
17313 * gdb.guile/scm-arch.c: New file.
17314 * gdb.guile/scm-arch.exp: New file.
17315 * gdb.guile/scm-block.c: New file.
17316 * gdb.guile/scm-block.exp: New file.
17317 * gdb.guile/scm-breakpoint.c: New file.
17318 * gdb.guile/scm-breakpoint.exp: New file.
17319 * gdb.guile/scm-disasm.c: New file.
17320 * gdb.guile/scm-disasm.exp: New file.
17321 * gdb.guile/scm-equal.c: New file.
17322 * gdb.guile/scm-equal.exp: New file.
17323 * gdb.guile/scm-error.exp: New file.
17324 * gdb.guile/scm-error.scm: New file.
17325 * gdb.guile/scm-frame-args.c: New file.
17326 * gdb.guile/scm-frame-args.exp: New file.
17327 * gdb.guile/scm-frame-args.scm: New file.
17328 * gdb.guile/scm-frame-inline.c: New file.
17329 * gdb.guile/scm-frame-inline.exp: New file.
17330 * gdb.guile/scm-frame.c: New file.
17331 * gdb.guile/scm-frame.exp: New file.
17332 * gdb.guile/scm-generics.exp: New file.
17333 * gdb.guile/scm-gsmob.exp: New file.
17334 * gdb.guile/scm-iterator.c: New file.
17335 * gdb.guile/scm-iterator.exp: New file.
17336 * gdb.guile/scm-math.c: New file.
17337 * gdb.guile/scm-math.exp: New file.
17338 * gdb.guile/scm-objfile-script-gdb.in: New file.
17339 * gdb.guile/scm-objfile-script.c: New file.
17340 * gdb.guile/scm-objfile-script.exp: New file.
17341 * gdb.guile/scm-objfile.c: New file.
17342 * gdb.guile/scm-objfile.exp: New file.
17343 * gdb.guile/scm-ports.exp: New file.
17344 * gdb.guile/scm-pretty-print.c: New file.
17345 * gdb.guile/scm-pretty-print.exp: New file.
17346 * gdb.guile/scm-pretty-print.scm: New file.
17347 * gdb.guile/scm-section-script.c: New file.
17348 * gdb.guile/scm-section-script.exp: New file.
17349 * gdb.guile/scm-section-script.scm: New file.
17350 * gdb.guile/scm-symbol.c: New file.
17351 * gdb.guile/scm-symbol.exp: New file.
17352 * gdb.guile/scm-symtab-2.c: New file.
17353 * gdb.guile/scm-symtab.c: New file.
17354 * gdb.guile/scm-symtab.exp: New file.
17355 * gdb.guile/scm-type.c: New file.
17356 * gdb.guile/scm-type.exp: New file.
17357 * gdb.guile/scm-value-cc.cc: New file.
17358 * gdb.guile/scm-value-cc.exp: New file.
17359 * gdb.guile/scm-value.c: New file.
17360 * gdb.guile/scm-value.exp: New file.
17361 * gdb.guile/source2.scm: New file.
17362 * gdb.guile/types-module.cc: New file.
17363 * gdb.guile/types-module.exp: New file.
17364
17365 2014-02-10 Yao Qi <yao@codesourcery.com>
17366
17367 PR testsuite/16543
17368 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17369 * configure: Regenerated.
17370 * Makefile.in: New file.
17371
17372 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17373
17374 * gdb.python/py-framefilter.exp: Fix typo.
17375
17376 2014-02-08 Yao Qi <yao@codesourcery.com>
17377
17378 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17379 that no =breakpoint-modified is emitted when breakpoints are
17380 modified through MI commands.
17381
17382 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17383 Pedro Alves <palves@redhat.com>
17384
17385 * gdb.threads/step-after-sr-lock.c: New file.
17386 * gdb.threads/step-after-sr-lock.exp: New file.
17387
17388 2014-02-07 Pedro Alves <palves@redhat.com>
17389
17390 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17391
17392 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17393
17394 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17395 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17396
17397 2014-02-06 Doug Evans <xdje42@gmail.com>
17398
17399 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17400 output.
17401
17402 * gdb.gdb/python-interrupts.exp: New file.
17403
17404 2014-02-05 Yao Qi <yao@codesourcery.com>
17405
17406 * gdb.trace/report.exp (use_collected_data): Test the output
17407 of "info threads" and "info inferiors".
17408
17409 2014-02-05 Yao Qi <yao@codesourcery.com>
17410
17411 Revert this patch:
17412
17413 2013-05-24 Yao Qi <yao@codesourcery.com>
17414
17415 * gdb.trace/tfile.exp: Test inferior and thread.
17416
17417 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17418
17419 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17420 on a function.
17421 * gdb.base/step-bt.c: Call hello via function pointer to make
17422 sure its first instruction is executed on powerpc64le-linux.
17423
17424 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17425
17426 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17427
17428 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17429
17430 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17431 of the test patterns for use on little-endian systems.
17432
17433 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17434
17435 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17436 (decimal_vector): Fix for little-endian.
17437
17438 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17439
17440 * gdb.arch/sparc-sysstep.exp: New file.
17441 * gdb.arch/sparc-sysstep.c: Likewise.
17442
17443 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17444
17445 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17446
17447 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17448
17449 2014-01-23 Tom Tromey <tromey@redhat.com>
17450
17451 * gdb.ada/array_char_idx: New testcase.
17452
17453 2014-01-23 Tom Tromey <tromey@redhat.com>
17454
17455 PR python/16487:
17456 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17457 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17458 classes.
17459
17460 2014-01-23 Tom Tromey <tromey@redhat.com>
17461
17462 PR python/16491:
17463 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17464 string from an inferior frame.
17465 * gdb.python/py-framefilter-mi.exp: Update.
17466
17467 2014-01-22 Doug Evans <dje@google.com>
17468
17469 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17470
17471 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17472
17473 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17474
17475 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17476
17477 * gdb.trace/entry-values.exp: Remove excess space character from
17478 regex patterns. Handle s390 call instruction.
17479
17480 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17481
17482 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17483 define "*_start" label. Make "name" static.
17484 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17485 ${name} by references to ${name}_start.
17486
17487 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17488
17489 * gdb.base/info-macros.exp: Remove "debug" from the compile
17490 options.
17491
17492 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17493
17494 * gdb.dlang/demangle.exp: New file.
17495
17496 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17497
17498 * gdb.dlang/primitive-types.exp: New file.
17499
17500 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17501
17502 * configure.ac: Create gdb.dlang/Makefile.
17503 * configure: Regenerate.
17504 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17505 * gdb.dlang/Makefile.in: New file.
17506 * lib/d-support.exp: New file.
17507 * lib/gdb.exp (skip_d_tests): New proc.
17508
17509 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17510
17511 * gdb.btrace/delta.exp: Check reverse stepi.
17512 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17513 * gdb.btrace/finish.exp: New.
17514 * gdb.btrace/next.exp: New.
17515 * gdb.btrace/nexti.exp: New.
17516 * gdb.btrace/record_goto.c: Add comments.
17517 * gdb.btrace/step.exp: New.
17518 * gdb.btrace/stepi.exp: New.
17519 * gdb.btrace/multi-thread-step.c: New.
17520 * gdb.btrace/multi-thread-step.exp: New.
17521 * gdb.btrace/rn-dl-bind.c: New.
17522 * gdb.btrace/rn-dl-bind.exp: New.
17523 * gdb.btrace/data.c: New.
17524 * gdb.btrace/data.exp: New.
17525 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17526
17527 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17528
17529 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17530 * gdb.btrace/exception.exp: Update.
17531 * gdb.btrace/instruction_history.exp: Update.
17532 * gdb.btrace/record_goto.exp: Update.
17533 * gdb.btrace/tailcall.exp: Update.
17534 * gdb.btrace/unknown_functions.exp: Update.
17535 * gdb.btrace/delta.exp: New.
17536
17537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17538
17539 * gdb.btrace/record_goto.exp: Add backtrace test.
17540 * gdb.btrace/tailcall.exp: Add backtrace test.
17541
17542 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17543
17544 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17545 * gdb.btrace/record_goto.c: New.
17546 * gdb.btrace/record_goto.exp: New.
17547 * gdb.btrace/x86-record_goto.S: New.
17548
17549 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17550
17551 * gdb.btrace/function_call_history.exp: Update tests.
17552 * gdb.btrace/instruction_history.exp: Update tests.
17553
17554 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17555
17556 * gdb.btrace/function_call_history.exp: Fix expected field
17557 order for "record function-call-history".
17558 Add new tests for "record function-call-history /c".
17559 * gdb.btrace/exception.cc: New.
17560 * gdb.btrace/exception.exp: New.
17561 * gdb.btrace/tailcall.exp: New.
17562 * gdb.btrace/x86-tailcall.S: New.
17563 * gdb.btrace/x86-tailcall.c: New.
17564 * gdb.btrace/unknown_functions.c: New.
17565 * gdb.btrace/unknown_functions.exp: New.
17566 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17567
17568 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17569
17570 * gdb.btrace/instruction_history.exp: Update.
17571 * gdb.btrace/function_call_history.exp: Update.
17572
17573 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17574
17575 * gdb.btrace/function_call_history.exp: Fix expected function
17576 trace.
17577 * gdb.btrace/instruction_history.exp: Initialize traced.
17578 Remove traced_functions.
17579
17580 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17581
17582 * gdb.btrace/function_call_history.exp: Update
17583 * gdb.btrace/instruction_history.exp: Update.
17584
17585 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17586
17587 * gdb.btrace/enable.exp: Update expected text.
17588
17589 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17590
17591 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17592 bytes.
17593
17594 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17595
17596 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17597
17598 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17599
17600 * lib/gdb.exp (supports_process_record): Return true for
17601 arm*-linux*. (supports_reverse): Likewise.
17602
17603 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17604
17605 PR python/15464
17606 PR python/16113
17607 * gdb.python/py-type.c: Enhance test case.
17608 * gdb.python/py-value-cc.cc: Likewise
17609 * gdb.python/py-type.exp: Add new tests.
17610 * gdb.python/py-value-cc.exp: Likewise
17611
17612 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17613 Pedro Alves <palves@redhat.com>
17614
17615 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17616 Make "name" extern.
17617 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17618 references to ${name}_start by references to ${name}.
17619
17620 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17621
17622 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17623
17624 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17625
17626 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17627
17628 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17629 Pedro Alves <palves@redhat.com>
17630
17631 * gdb.mi/mi-info-os.exp: Connect to the target with
17632 mi_gdb_target_load.
17633
17634 2014-01-08 Pedro Alves <palves@redhat.com>
17635
17636 * gdb.threads/reconnect-signal.c: New file.
17637 * gdb.threads/reconnect-signal.exp: New file.
17638
17639 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17640
17641 * gdb.base/source-dir.exp: New file.
17642
17643 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17644
17645 * gdb.ada/mi_interface: New testcase.
17646
17647 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17648
17649 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17650 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17651 gdb.ada/pp-rec-component/pck.ads: New files.
17652
17653 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17654
17655 * gdb.python/py-pp-integral.c: New file.
17656 * gdb.python/py-pp-integral.py: New file.
17657 * gdb.python/py-pp-integral.exp: New file.
17658
17659 For older changes see ChangeLog-1993-2013.
17660 \f
17661 ;; Local Variables:
17662 ;; mode: change-log
17663 ;; left-margin: 8
17664 ;; fill-column: 74
17665 ;; version-control: never
17666 ;; End:
17667
17668 Copyright 2014-2019 Free Software Foundation, Inc.
17669 Copying and distribution of this file, with or without modification,
17670 are permitted provided the copyright notice and this notice are preserved.
This page took 0.372741 seconds and 5 git commands to generate.