[gdb/testsuite] Fix duplicate test-names in gdb.fortran
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-05-12 Tom de Vries <tdevries@suse.de>
2
3 * gdb.fortran/complex.exp: Use with_test_prefix.
4
5 2020-05-12 Tom de Vries <tdevries@suse.de>
6
7 * gdb.trace/passcount.exp: Fix test-names.
8
9 2020-05-12 Tom de Vries <tdevries@suse.de>
10
11 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
12
13 2020-05-12 Tom de Vries <tdevries@suse.de>
14
15 * gdb.gdb/complaints.exp: Use with_test_prefix.
16 * gdb.xml/tdesc-regs.exp: Same.
17 * gdb.opt/inline-locals.exp: Fix test name.
18
19 2020-05-12 Tom de Vries <tdevries@suse.de>
20
21 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
22 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
23 * gdb.dwarf2/implref-struct.exp: Same.
24 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
25 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
26
27 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
28
29 * gdb.base/jit-so.exp (one_jit_test): Change test name.
30
31 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
32
33 * lib/check-test-names.exp (all_test_names): New module variable.
34 (counts): Add 'duplicates' field.
35 (_check_duplicates): New procedure.
36 (check): Also check for duplicates.
37 (do_log_summary): Print duplicates count.
38 (do_reset_vars): Reset counter for duplicate test names, and
39 discard all know test names.
40
41 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
42
43 * lib/gdb.exp: Include check-test-names.exp library.
44 * lib/check-test-names.exp: New file.
45
46 2020-05-11 Tom de Vries <tdevries@suse.de>
47
48 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
49
50 2020-05-11 Keith Seitz <keiths@redhat.com>
51
52 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
53
54 2020-05-11 Tom de Vries <tdevries@suse.de>
55
56 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
57 * gdb.cp/cpexprs.exp.in: .. here.
58 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
59 cpexprs.exp.
60
61 2020-05-11 Keith Seitz <keiths@redhat.com>
62
63 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
64 test names.
65 * gdb.ada/arrayptr.exp: Likewise.
66 * gdb.ada/assign_arr.exp: Likewise.
67 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
68 * gdb.ada/bp_on_var.exp: Likewise.
69 * gdb.ada/call_pn.exp: Likewise.
70 * gdb.ada/complete.exp: Likewise.
71 * gdb.ada/fun_overload_menu.exp: Likewise.
72 * gdb.ada/funcall_param.exp: Likewise.
73 * gdb.ada/funcall_ref.exp: Likewise.
74 * gdb.ada/packed_array_assign.exp: Likewise.
75 * gdb.ada/same_component_name.exp: Likewise.
76 * gdb.ada/type_coercion.exp: Likewise.
77 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
78 * gdb.ada/variant_record_packed_array.exp: Likewise.
79
80 2020-05-11 Tom de Vries <tdevries@suse.de>
81
82 PR symtab/25941
83 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
84 out of ...
85 * gdb.dwarf2/clang-debug-names.exp: ... here.
86 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
87 clang-debug-names.exp.in.
88 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
89 * gdb.dwarf2/clang-debug-names-2.c: New test.
90
91 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
92
93 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
94 (fortran_runto_main): New Proc, fortran version of runto_main.
95 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
96 * gdb.fortran/array-bounds.exp: Likewise.
97 * gdb.fortran/array-slices.exp: Likewise.
98 * gdb.fortran/block-data.exp: Likewise.
99 * gdb.fortran/charset.exp: Likewise.
100 * gdb.fortran/common-block.exp: Likewise.
101 * gdb.fortran/complex.exp: Likewise.
102 * gdb.fortran/derived-type-function.exp: Likewise.
103 * gdb.fortran/derived-type.exp: Likewise.
104 * gdb.fortran/info-modules.exp: Likewise.
105 * gdb.fortran/info-types.exp: Likewise.
106 * gdb.fortran/intrinsics.exp: Likewise.
107 * gdb.fortran/library-module.exp: Likewise.
108 * gdb.fortran/logical.exp: Likewise.
109 * gdb.fortran/max-depth.exp: Likewise.
110 * gdb.fortran/module.exp: Likewise.
111 * gdb.fortran/multi-dim.exp: Likewise.
112 * gdb.fortran/nested-funcs.exp: Likewise.
113 * gdb.fortran/print-formatted.exp: Likewise.
114 * gdb.fortran/print_type.exp: Likewise.
115 * gdb.fortran/printing-types.exp: Likewise.
116 * gdb.fortran/ptr-indentation.exp: Likewise.
117 * gdb.fortran/ptype-on-functions.exp: Likewise.
118 * gdb.fortran/subarray.exp: Likewise.
119 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
120 * gdb.fortran/vla-datatypes.exp: Likewise.
121 * gdb.fortran/vla-history.exp: Likewise.
122 * gdb.fortran/vla-ptr-info.exp: Likewise.
123 * gdb.fortran/vla-ptype-sub.exp: Likewise.
124 * gdb.fortran/vla-ptype.exp: Likewise.
125 * gdb.fortran/vla-sizeof.exp: Likewise.
126 * gdb.fortran/vla-type.exp: Likewise.
127 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
128 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
129 * gdb.fortran/vla-value-sub.exp: Likewise.
130 * gdb.fortran/vla-value.exp: Likewise.
131 * gdb.fortran/whatis_type.exp: Likewise.
132 * gdb.mi/mi-var-child-f.exp: Likewise.
133
134 2020-05-09 Tom de Vries <tdevries@suse.de>
135
136 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
137
138 2020-05-08 Tom de Vries <tdevries@suse.de>
139
140 * gdb.dwarf2/clang-debug-names.c: New test.
141 * gdb.dwarf2/clang-debug-names.exp: New file.
142
143 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
144
145 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
146 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
147
148 2020-05-06 Tom de Vries <tdevries@suse.de>
149
150 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
151 breakpoint is at a "recommended breakpoint location".
152 * gdb.reverse/consecutive-reverse.exp: Same.
153
154 2020-05-06 Tom de Vries <tdevries@suse.de>
155
156 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
157 address.
158
159 2020-05-06 Tom de Vries <tdevries@suse.de>
160
161 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
162
163 2020-05-06 Tom de Vries <tdevries@suse.de>
164
165 * gdb.base/store.exp (check_set, up_set): Allowing missing location
166 info for r.
167
168 2020-05-06 Tom de Vries <tdevries@suse.de>
169
170 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
171 necessary.
172
173 2020-05-06 Tom de Vries <tdevries@suse.de>
174
175 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
176 void.
177
178 2020-05-06 Tom de Vries <tdevries@suse.de>
179
180 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
181 of ...
182 * gdb.base/async.exp: ... here.
183 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
184 "recommended breakpoint location".
185
186 2020-05-06 Tom de Vries <tdevries@suse.de>
187
188 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
189
190 2020-05-04 Tom de Vries <tdevries@suse.de>
191
192 * gdb.base/async.exp: Check whether instruction addresses are a
193 "recommended breakpoint location".
194
195 2020-05-03 Tom Tromey <tom@tromey.com>
196
197 * gdb.base/sepdebug.exp: Remove "catch" test.
198 * gdb.base/break.exp: Remove "catch" test.
199 * gdb.base/default.exp: Update expected output.
200
201 2020-05-02 Tom de Vries <tdevries@suse.de>
202
203 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
204 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
205 * gdb.arch/i386-mpx-map.exp: Same.
206 * gdb.arch/i386-mpx-sigsegv.exp: Same.
207 * gdb.arch/i386-mpx-simple_segv.exp: Same.
208 * gdb.arch/i386-mpx.exp: Same.
209
210 2020-05-02 Tom de Vries <tdevries@suse.de>
211
212 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
213
214 2020-05-01 Tom de Vries <tdevries@suse.de>
215
216 * gdb.ada/operator_bp.exp: Allow more than required amount of
217 breakpoint.
218
219 2020-05-01 Tom de Vries <tdevries@suse.de>
220
221 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
222
223 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
224
225 PR gdb/18706
226 * gdb.cp/stub-array-size.cc: New test.
227 * gdb.cp/stub-array-size.exp: New file.
228 * gdb.cp/stub-array-size.h: New test.
229 * gdb.cp/stub-array-size2.cc: New test.
230
231 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
232
233 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
234 output to the new format.
235
236 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
237
238 * gdb.base/break.exp: Use with_test_prefix.
239
240 2020-04-29 Tom de Vries <tdevries@suse.de>
241
242 * lib/gdb.exp (debug_types): New proc.
243 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
244 * gdb.python/py-symtab.exp: Same.
245
246 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
247
248 PR gdb/17320
249 * gdb.base/pretty-array.c: New test.
250 * gdb.base/pretty-array.exp: New file.
251
252 2020-04-29 Tom de Vries <tdevries@suse.de>
253
254 PR symtab/25889
255 * gdb.cp/cpexprs.exp: Adapt for inclusion.
256 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
257 and include cpexprs.exp.
258
259 2020-04-28 Mark Williams <mark@myosotissp.com>
260
261 PR gdb/24480
262 * dw4-toplevel-types.exp: Test for top level types.
263 * dw4-toplevel-types.cc: Test for top level types.
264
265 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
266
267 * gdb.threads/stop-with-handle.exp: Fix typo in comment
268 (theads -> threads).
269
270 2020-04-28 Tom de Vries <tdevries@suse.de>
271
272 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
273
274 2020-04-28 Tom de Vries <tdevries@suse.de>
275
276 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
277
278 2020-04-28 Tom de Vries <tdevries@suse.de>
279
280 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
281
282 2020-04-28 Tom de Vries <tdevries@suse.de>
283
284 * gdb.dwarf2/main-foo.c: New test.
285 * gdb.dwarf2/struct-with-sig.exp: New file.
286
287 2020-04-25 Tom de Vries <tdevries@suse.de>
288
289 * boards/debug-types.exp: New file.
290
291 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
292
293 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
294
295 2020-04-24 Tom Tromey <tom@tromey.com>
296
297 PR symtab/12707:
298 * gdb.python/py-symbol.exp: Update expected results for
299 linkage_name test.
300 * gdb.cp/print-demangle.exp: New file.
301 * gdb.base/c-linkage-name.exp: Fix test.
302 * gdb.guile/scm-symbol.exp: Update expected results for
303 linkage_name test.
304
305 2020-04-24 Tom Tromey <tom@tromey.com>
306
307 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
308 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
309 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
310 assembler.
311
312 2020-04-24 Tom de Vries <tdevries@suse.de>
313
314 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
315 C++.
316
317 2020-04-24 Tom Tromey <tromey@adacore.com>
318
319 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
320 values.
321 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
322 values. Update test for minimal encodings.
323 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
324 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
325 values. Update test for minimal encodings.
326
327 2020-04-24 Tom Tromey <tromey@adacore.com>
328
329 PR python/23662:
330 * gdb.ada/variant.exp: Add Python checks.
331 * gdb.rust/simple.exp: Add dynamic type checks.
332
333 2020-04-24 Tom Tromey <tromey@adacore.com>
334
335 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
336 Make array type matching more lax.
337 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
338 * gdb.ada/mi_variant.exp: New file.
339 * gdb.ada/mi_variant/pck.ads: New file.
340 * gdb.ada/mi_variant/pkg.adb: New file.
341 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
342 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
343
344 2020-04-24 Tom Tromey <tromey@adacore.com>
345
346 * gdb.ada/variant.exp: Add dynamic field offset tests.
347 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
348 * gdb.ada/variant/pkg.adb: Add new variables.
349
350 2020-04-24 Tom Tromey <tromey@adacore.com>
351
352 * gdb.ada/variant.exp: New file
353 * gdb.ada/variant/pkg.adb: New file
354 * gdb.ada/variant/pck.adb: New file
355
356 2020-04-24 Tom de Vries <tdevries@suse.de>
357
358 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
359
360 2020-04-24 Tom de Vries <tdevries@suse.de>
361
362 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
363 flags.
364
365 2020-04-24 Tom de Vries <tdevries@suse.de>
366
367 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
368
369 2020-04-24 Tom de Vries <tdevries@suse.de>
370
371 * lib/gdb.exp (default_gdb_start): Handle eof.
372 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
373 failure.
374 * gdb.base/readnever.exp: Handle clean_restart failure.
375
376 2020-04-23 Tom de Vries <tdevries@suse.de>
377
378 * gdb.base/decl-before-def.exp: Run to main and print a again.
379
380 2020-04-23 Tom de Vries <tdevries@suse.de>
381
382 * gdb.base/decl-before-def-decl.c: New test.
383 * gdb.base/decl-before-def-def.c: New test.
384 * gdb.base/decl-before-def.exp: New file.
385
386 2020-04-23 Tom de Vries <tdevries@suse.de>
387
388 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
389
390 2020-04-22 Tom de Vries <tdevries@suse.de>
391
392 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
393 debug_info_offset.
394 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
395 before $objsfile in the line line.
396
397 2020-04-22 Tom de Vries <tdevries@suse.de>
398
399 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
400
401 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
402
403 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
404 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
405 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
406 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
407 * gdb.base/jit-protocol.h: Update definitions to match all usage
408 contexts.
409
410 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
411
412 * gdb.base: Rename all jit related test and source files.
413
414 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
415
416 * gdb.base/jit-reader.exp: Relax register output check.
417
418 2020-04-22 Tom de Vries <tdevries@suse.de>
419
420 PR symtab/25764
421 * gdb.base/psym-external-decl-2.c: New test.
422 * gdb.base/psym-external-decl.c: New test.
423 * gdb.base/psym-external-decl.exp: New file.
424 * gdb.threads/tls.exp: Add PR25807 kfail.
425
426 2020-04-22 Tom de Vries <tdevries@suse.de>
427
428 PR symtab/25801
429 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
430 in "info source" output.
431
432 2020-04-22 Tom de Vries <tdevries@suse.de>
433
434 PR symtab/25700
435 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
436 symtab for imported_unit.c.
437
438 2020-04-21 Gary Benson <gbenson@redhat.com>
439
440 * gdb.base/advance.c (func): New argument, to match call site.
441 (func2, func3): Add return statements.
442
443 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
444
445 * gdb.multi/run-only-second-inf.c: New file.
446 * gdb.multi/run-only-second-inf.exp: New file.
447
448 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
449
450 * gdb.btrace/multi-inferior.c: New test.
451 * gdb.btrace/multi-inferior.exp: New file.
452
453 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
454
455 * gdb.btrace/enable-new-thread.c: New test.
456 * gdb.btrace/enable-new-thread.exp: New file.
457
458 2020-04-21 Tom de Vries <tdevries@suse.de>
459
460 PR gdb/25471
461 * gdb.threads/killed-outside.c: New test.
462 * gdb.threads/killed-outside.exp: New file.
463
464 2020-04-20 Gary Benson <gbenson@redhat.com>
465
466 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
467 * gdb.base/nested-subp2.exp: Likewise.
468 * gdb.base/nested-subp3.exp: Likewise.
469
470 2020-04-20 Gary Benson <gbenson@redhat.com>
471
472 * gdb.base/nested-subp1.exp: Disable test when using clang.
473 * gdb.base/nested-subp2.exp: Likewise.
474 * gdb.base/nested-subp3.exp: Likewise.
475
476 2020-04-20 Gary Benson <gbenson@redhat.com>
477
478 * gdb.cp/exception.cc: Fix compilation error with clang.
479
480 2020-04-20 Gary Benson <gbenson@redhat.com>
481
482 * gdb.trace/tspeed.c: Fix compilation error with clang.
483
484 2020-04-20 Gary Benson <gbenson@redhat.com>
485
486 * gdb.base/jit-main.c: Fix compilation error with clang.
487
488 2020-04-17 Kamil Rytarowski <n54@gmx.com>
489
490 * gdb.base/attach-twice.c: Include "sys/types.h".
491 (PTRACE_ATTACH): Add fallback definition.
492 (main): Pass `0' to the 4th argument of `ptrace'.
493
494 2020-04-17 Kamil Rytarowski <n54@gmx.com>
495
496 * gdb.base/fork-running-state.c: Include "signal.h".
497
498 2020-04-17 Tom Tromey <tromey@adacore.com>
499
500 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
501 Update tests.
502 * gdb.btrace/cpu.exp: Update tests.
503 * gdb.base/maint.exp: Update tests.
504 * gdb.base/default.exp: Update tests.
505 * gdb.base/completion.exp: Update tests.
506
507 2020-04-16 Tom de Vries <tdevries@suse.de>
508
509 PR symtab/25791
510 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
511 (ensure_gdb_index): and factor out and move ...
512 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
513 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
514
515 2020-04-16 Tom de Vries <tdevries@suse.de>
516
517 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
518 loading exec.
519
520 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
521
522 * gdb.base/many-completions.exp: New file.
523
524 2020-04-14 Tom de Vries <tdevries@suse.de>
525
526 PR symtab/25718
527 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
528
529 2020-04-14 Tom de Vries <tdevries@suse.de>
530
531 PR symtab/25720
532 * gdb.base/maint-expand-symbols-header-file.c: New test.
533 * gdb.base/maint-expand-symbols-header-file.exp: New file.
534 * gdb.base/maint-expand-symbols-header-file.h: New test.
535
536 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
537
538 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
539 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
540 get_func_info.
541 (get_func_info): Delete.
542 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
543 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
544 * lib/dwarf.exp (get_func_info): New function.
545
546 2020-04-13 Tom de Vries <tdevries@suse.de>
547
548 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
549 to what find_gnatmake does.
550
551 2020-04-10 Tom de Vries <tdevries@suse.de>
552
553 * gdb.base/style.exp: Expect "Expanding full symbols" message for
554 -readnow.
555
556 2020-04-10 Tom de Vries <tdevries@suse.de>
557
558 PR cli/25808
559 * gdb.base/style.c: Add leading newlines.
560 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
561 Check listing of main's one-line body.
562
563 2020-04-08 Tom de Vries <tdevries@suse.de>
564
565 * lib/gdb.exp (psymtabs_p): New proc.
566 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
567 importing unit" unsupported if there are no partial symbols.
568
569 2020-04-08 Tom de Vries <tdevries@suse.de>
570
571 PR testsuite/25760
572 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
573
574 2020-04-07 Tom de Vries <tdevries@suse.de>
575
576 PR symtab/25796
577 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
578
579 2020-04-07 Tom de Vries <tdevries@suse.de>
580
581 * gdb.base/check-psymtab.c: New test.
582 * gdb.base/check-psymtab.exp: New file.
583
584 2020-04-06 Tom Tromey <tromey@adacore.com>
585
586 * gdb.ada/variant-record/proc.adb: New file.
587 * gdb.ada/variant-record/value.adb: New file.
588 * gdb.ada/variant-record/value.s: New file.
589 * gdb.ada/variant-record.exp: New file.
590
591 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
592
593 PR gdb/25325
594 * gdb.cp/typed-enum.cc: New test.
595 * gdb.cp/typed-enum.exp: New file.
596
597 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
598
599 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
600 * gdb.dwarf2/dw2-inline-small-func.c: New file.
601 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
602 * gdb.dwarf2/dw2-inline-small-func.h: New file.
603 * gdb.opt/inline-small-func.c: New file.
604 * gdb.opt/inline-small-func.exp: New file.
605 * gdb.opt/inline-small-func.h: New file.
606
607 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
608
609 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
610 function.
611
612 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
613
614 * lib/dwarf.exp (function_range): Allow compiler options to be
615 specified.
616
617 2020-04-02 Tom de Vries <tdevries@suse.de>
618
619 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
620 __attribute__((always_inline)).
621 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
622
623 2020-04-02 Tom de Vries <tdevries@suse.de>
624
625 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
626 (gdbserver_gdb_exit): ... here. Add timeout warning.
627 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
628 (connect_target_extended_remote): Append new server_spawn_id to
629 server_spawn_ids.
630 (cleanup): New proc.
631 (setup, <toplevel>): Call cleanup.
632
633 2020-04-02 Tom de Vries <tdevries@suse.de>
634
635 * gdb.base/main-psymtab.exp: New file.
636
637 2020-04-02 Tom de Vries <tdevries@suse.de>
638
639 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
640
641 2020-04-01 Tom Tromey <tom@tromey.com>
642
643 * gdb.base/complex-parts.exp: Add type tests.
644
645 2020-04-01 Tom Tromey <tom@tromey.com>
646
647 * gdb.base/complex-parts.exp: Add arithmetic tests.
648
649 2020-04-01 Tom Tromey <tom@tromey.com>
650
651 * gdb.compile/compile.exp: Update.
652 * gdb.compile/compile-cplus.exp: Update.
653 * gdb.base/varargs.exp: Update.
654 * gdb.base/floatn.exp: Update.
655 * gdb.base/endianity.exp: Update.
656 * gdb.base/callfuncs.exp (do_function_calls): Update.
657 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
658 (complex_float_integral_args): Update.
659 * gdb.base/complex.exp: Update.
660 * gdb.base/complex-parts.exp: Update.
661
662 2020-04-01 Tom Tromey <tromey@adacore.com>
663
664 * gdb.rust/union.rs: New file.
665 * gdb.rust/union.exp: New file.
666 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
667 (main): Update.
668 * gdb.rust/simple.exp: Move union tests to union.exp.
669
670 2020-04-01 Tom Tromey <tromey@adacore.com>
671
672 * gdb.rust/simple.rs (main): Remove "y0".
673
674 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
675
676 * gdb.multi/stop-all-on-exit.c: New test.
677 * gdb.multi/stop-all-on-exit.exp: New file.
678
679 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
680
681 PR gdb/24789
682 * gdb.cp/misc.cc: Add integer reference variable.
683 * gdb.cp/misc.exp: Add test.
684
685 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
686
687 * gdb.server/stop-reply-no-thread.exp: Enhance the test
688 scenario to cover execution until the end and also the case
689
690 2020-03-31 Tom de Vries <tdevries@suse.de>
691
692 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
693 c. Use "maint info symtabs" to check symtab expansion.
694
695 2020-03-30 Tom de Vries <tdevries@suse.de>
696
697 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
698 unsupported.
699 (verify_psymtab_expanded): Move ...
700 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
701 test.
702 (readnow): New proc.
703
704 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
705
706 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
707 with $hex.
708
709 2020-03-20 Tom Tromey <tromey@adacore.com>
710
711 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
712
713 2020-03-20 Tom Tromey <tromey@adacore.com>
714
715 * gdb.ada/sub_variant/subv.adb: New file.
716 * gdb.ada/sub_variant.exp: New file.
717
718 2020-03-20 Tom de Vries <tdevries@suse.de>
719
720 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
721 first break fails.
722 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
723
724 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
725
726 * gdb.server/exit-multiple-threads.c: New file.
727 * gdb.server/exit-multiple-threads.exp: New file.
728
729 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
730
731 * gdb.fortran/mixed-lang-stack.c: New file.
732 * gdb.fortran/mixed-lang-stack.cpp: New file.
733 * gdb.fortran/mixed-lang-stack.exp: New file.
734 * gdb.fortran/mixed-lang-stack.f90: New file.
735
736 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
737
738 * gdb.linespec/cp-completion-aliases.cc: New file.
739 * gdb.linespec/cp-completion-aliases.exp: New file.
740
741 2020-03-19 Tom de Vries <tdevries@suse.de>
742
743 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
744 more precise.
745
746 2020-03-18 Tom de Vries <tdevries@suse.de>
747
748 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
749 * gdb.dwarf2/break-inline-psymtab.c: New test.
750 * gdb.dwarf2/break-inline-psymtab.exp: New file.
751
752 2020-03-16 Tom de Vries <tdevries@suse.de>
753
754 * lib/cache.exp (gdb_do_cache): Add and handle local variables
755 cache_verify and cache_verify_proc.
756
757 2020-03-15 Tom de Vries <tdevries@suse.de>
758
759 * gdb.server/solib-list.exp: Handle
760 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
761
762 2020-03-15 Tom de Vries <tdevries@suse.de>
763
764 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
765 objfiles".
766
767 2020-03-14 Tom Tromey <tom@tromey.com>
768
769 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
770
771 2020-03-14 Tom de Vries <tdevries@suse.de>
772
773 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
774
775 2020-03-14 Tom de Vries <tdevries@suse.de>
776
777 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
778 result in line-by-line fashion.
779
780 2020-03-14 Tom de Vries <tdevries@suse.de>
781
782 * lib/gdb.exp (supports_statement_frontiers): New proc.
783 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
784
785 2020-03-14 Tom de Vries <tdevries@suse.de>
786
787 * gdb.base/printcmds.exp: Add missing quoting for "print
788 teststring2".
789
790 2020-03-13 Tom Tromey <tom@tromey.com>
791
792 * gdb.base/printcmds.exp (test_print_strings): Add regression
793 test.
794 * gdb.base/printcmds.c (charptr): New typedef.
795 (teststring2): New global.
796
797 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
798
799 * gdb.base/break-interp.exp: Use the tail of the filename, not the
800 full path in the test name.
801 (test_ld): Add some with_test_prefix blocks to make test names
802 unique.
803
804 2020-03-13 Tom de Vries <tdevries@suse.de>
805
806 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
807
808 2020-03-13 Tom de Vries <tdevries@suse.de>
809
810 * gdb.mi/mi-sym-info.exp: Make matching more precise.
811
812 2020-03-13 Tom de Vries <tdevries@suse.de>
813
814 PR symtab/25646
815 * gdb.dwarf2/imported-unit.exp: Add test.
816
817 2020-03-13 Tom de Vries <tdevries@suse.de>
818
819 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
820 (var1, var2): New variable.
821 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
822 matching symbols.
823
824 2020-03-13 Tom de Vries <tdevries@suse.de>
825
826 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
827 (Term::command): Use prompt prefix.
828 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
829 * gdb.tui/tui-layout-asm-short-prog.exp: Use
830 command_no_prompt_prefix instead of prefix.
831 * gdb.tui/tui-layout-asm.exp: Same.
832
833 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
834
835 * gdb.base/break-interp.exp: Use foreach_with_prefix.
836
837 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
838
839 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
840 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
841 on" while stepping over the test instruction, match printed
842 message.
843
844 2020-03-12 Tom de Vries <tdevries@suse.de>
845
846 * gdb.base/info-types.exp: Use exp_continue during matching of output
847 of "info types".
848
849 2020-03-12 Tom de Vries <tdevries@suse.de>
850
851 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
852
853 2020-03-12 Tom de Vries <tdevries@suse.de>
854
855 * gdb.fortran/module.exp: Use exp_continue during matching of output
856 of "info variable -n".
857
858 2020-03-12 Tom de Vries <tdevries@suse.de>
859
860 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
861 gdb.dwarf2/dw2-ranges-base.c.
862
863 2020-03-12 Tom de Vries <tdevries@suse.de>
864
865 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
866 in presence of GLIBC debuginfo.
867
868 2020-03-12 Tom de Vries <tdevries@suse.de>
869
870 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
871 $core.
872
873 2020-03-12 Tom de Vries <tdevries@suse.de>
874
875 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
876 more precise.
877
878 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
879
880 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
881 from Unix to Windows path.
882
883 2020-03-11 Tom de Vries <tdevries@suse.de>
884
885 * gdb.ada/minsyms.exp: Set language to ada.
886
887 2020-03-11 Tom de Vries <tdevries@suse.de>
888
889 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
890
891 2020-03-11 Tom de Vries <tdevries@suse.de>
892
893 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
894
895 2020-03-11 Tom Tromey <tromey@adacore.com>
896
897 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
898
899 2020-03-11 Tom de Vries <tdevries@suse.de>
900
901 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
902
903 2020-03-11 Tom de Vries <tdevries@suse.de>
904
905 * gdb.base/break-interp.exp: Limit verbose scope.
906
907 2020-03-11 Tom de Vries <tdevries@suse.de>
908
909 * gdb.fortran/logical.f90: Define variable with character type.
910 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
911
912 2020-03-11 Tom de Vries <tdevries@suse.de>
913
914 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
915
916 2020-03-11 Tom de Vries <tdevries@suse.de>
917
918 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
919 symtabs.
920
921 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
922 Bernd Edlinger <bernd.edlinger@hotmail.de>
923
924 * gdb.cp/step-and-next-inline.cc: New file.
925 * gdb.cp/step-and-next-inline.exp: New file.
926 * gdb.cp/step-and-next-inline.h: New file.
927 * gdb.dwarf2/dw2-is-stmt.c: New file.
928 * gdb.dwarf2/dw2-is-stmt.exp: New file.
929 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
930 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
931 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
932
933 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
934
935 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
936 is-stmt flag in the line table.
937
938 2020-03-09 Tom de Vries <tdevries@suse.de>
939
940 * lib/gdb.exp (cached_file): Create cache dir.
941
942 2020-03-07 Tom de Vries <tdevries@suse.de>
943
944 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
945 * gdb.cp/rvalue-ref-params.exp: Same.
946
947 2020-03-06 Tom de Vries <tdevries@suse.de>
948
949 * lib/gdb.exp (tentative_rename, cached_file): New proc.
950 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
951
952 2020-03-06 Tom de Vries <tdevries@suse.de>
953
954 * README: Fix "the the".
955 * gdb.base/dprintf.exp: Same.
956
957 2020-03-05 Tom de Vries <tdevries@suse.de>
958
959 * gdb.base/maint.exp: Update "main print statistics" expected output.
960
961 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
962
963 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
964 (fortran_int8): Likewise.
965 (fortran_real4): Likewise.
966 (fortran_real8): Likewise.
967 (fortran_complex4): Likewise.
968 (fortran_logical4): Likewise.
969 (fortran_character1): Likewise.
970
971 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
972
973 * gdb.fortran/logical.exp: Add tests that any non-zero value is
974 printed as true.
975
976 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
977
978 * gdb.base/printcmds.exp: Add test to verify printf of a
979 variable holding an address.
980
981 2020-03-03 Tom de Vries <tdevries@suse.de>
982
983 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
984
985 2020-03-03 Tom de Vries <tdevries@suse.de>
986
987 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
988 gdb_test_multiple call.
989
990 2020-03-03 Tom de Vries <tdevries@suse.de>
991
992 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
993 gdb_test_multiple calls.
994
995 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
996
997 * gdb.base/default.exp: Remove test of 'set history filename'.
998 * gdb.base/gdbinit-history.exp: Add tests for setting the history
999 filename to the empty string.
1000 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1001 and GDBHISTSIZE.
1002
1003 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1004
1005 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1006 disabled.
1007
1008 2020-03-02 Pedro Alves <palves@redhat.com>
1009 Tom de Vries <tdevries@suse.de>
1010
1011 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1012 -prompt prefix, before user_code argument. Add -lbl option likewise.
1013 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1014 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1015 argument.
1016 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1017 have "\r\n" at start-of-line, instead of at end-of-line.
1018
1019 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
1020
1021 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1022 libinproctrace.so.
1023
1024 2020-02-28 Luis Machado <luis.machado@linaro.org>
1025
1026 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1027 to "p/x".
1028
1029 2020-02-28 Luis Machado <luis.machado@linaro.org>
1030
1031 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1032 asm/ptrace.h and error.h.
1033
1034 2020-02-28 Tom de Vries <tdevries@suse.de>
1035
1036 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1037 (struct wrapper, do_something, mundane/symada__cS): Move ...
1038 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1039 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1040 Update "print symada__cS before partial symtab expansion" regexp.
1041 Update breakpoint location. Flush symbol cache after expansion.
1042
1043 2020-02-28 Luis Machado <luis.machado@linaro.org>
1044
1045 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1046
1047 2020-02-27 Tom de Vries <tdevries@suse.de>
1048
1049 * config/sid.exp: Remove unused globals.
1050 * gdb.base/attach.exp: Same.
1051 * gdb.base/catch-load.exp: Same.
1052 * gdb.base/dbx.exp: Same.
1053 * lib/gdb.exp: Same.
1054 * lib/mi-support.exp: Same.
1055 * lib/prompt.exp: Same.
1056
1057 2020-02-27 Tom de Vries <tdevries@suse.de>
1058
1059 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1060 not set.
1061
1062 2020-02-26 Aaron Merey <amerey@redhat.com>
1063
1064 * gdb.debuginfod: New directory for debuginfod tests.
1065 * gdb.debuginfod/main.c: New test file.
1066 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1067
1068 2020-02-26 Tom de Vries <tdevries@suse.de>
1069
1070 PR gdb/25603
1071 * gdb.base/persistent-lang.cc: New test.
1072 * gdb.base/persistent-lang.exp: New file.
1073
1074 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1075
1076 * gdb.fortran/derived-type-striding.exp: Add a new test.
1077 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1078 new test.
1079
1080 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1081
1082 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1083 names.
1084
1085 2020-02-25 Tom de Vries <tdevries@suse.de>
1086
1087 PR go/18926
1088 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1089
1090 2020-02-24 Tom de Vries <tdevries@suse.de>
1091
1092 PR gdb/25592
1093 * gdb.base/info-locals-unused-static-var.c: New test.
1094 * gdb.base/info-locals-unused-static-var.exp: New file.
1095
1096 2020-02-22 Tom Tromey <tom@tromey.com>
1097
1098 * gdb.python/tui-window.exp: New file.
1099 * gdb.python/tui-window.py: New file.
1100
1101 2020-02-22 Tom Tromey <tom@tromey.com>
1102
1103 PR tui/17850:
1104 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1105 tests.
1106
1107 2020-02-22 Tom Tromey <tom@tromey.com>
1108
1109 * gdb.tui/new-layout.exp: Add sub-layout tests.
1110
1111 2020-02-22 Tom Tromey <tom@tromey.com>
1112
1113 * gdb.tui/new-layout.exp: New file.
1114
1115 2020-02-22 Tom Tromey <tom@tromey.com>
1116
1117 * gdb.rust/rust-style.rs: New file.
1118 * gdb.rust/rust-style.exp: New file.
1119 * gdb.base/style.exp: Test structure printing.
1120 * gdb.base/style.c (struct some_struct): New type.
1121 (enum etype): New type.
1122 (struct_value): New global.
1123
1124 2020-02-21 Tom de Vries <tdevries@suse.de>
1125
1126 PR go/18926
1127 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1128 Remove blanket xfails. Use message argument for gdb_breakpoint.
1129 Make continuing to breakpoint test conditional on setting breakpoint.
1130 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1131 DW_AT_name attribute. Add xfail for GCC PR93866.
1132
1133 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1134
1135 * gdb.dwarf2/cpp-linkage-name.c: New file.
1136 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1137
1138 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
1139
1140 * lib/gdb.exp (gdb_wrapper_init): Reset
1141 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1142 not exist.
1143
1144 2020-02-20 Tom de Vries <tdevries@suse.de>
1145
1146 PR go/17018
1147 * gdb.go/hello.exp: Copy ...
1148 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1149 print of st to print value of global definition. Add xfail for GCC
1150 PR93844.
1151 * gdb.go/hello.exp: Remove printing of st before definition.
1152 * gdb.go/hello.go: Copy ...
1153 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1154 to st.
1155 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1156
1157 2020-02-20 Tom de Vries <tdevries@suse.de>
1158
1159 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1160 (gdb_simple_compile): Handle compile_flags go by using .go extension
1161 for source file.
1162 * gdb.go/chan.exp: Use support_go_compile.
1163 * gdb.go/handcall.exp: Same.
1164 * gdb.go/hello.exp: Same.
1165 * gdb.go/integers.exp: Same.
1166 * gdb.go/max-depth.exp: Same.
1167 * gdb.go/methods.exp: Same.
1168 * gdb.go/package.exp: Same.
1169 * gdb.go/strings.exp: Same.
1170 * gdb.go/types.exp: Same.
1171 * gdb.go/unsafe.exp: Same.
1172
1173 2020-02-19 Tom de Vries <tdevries@suse.de>
1174
1175 * gdb.python/lib-types.exp: Make xfail more strict.
1176
1177 2020-02-19 Tom de Vries <tdevries@suse.de>
1178
1179 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1180
1181 2020-02-19 Doug Evans <dje@google.com>
1182
1183 PR rust/25535
1184 * gdb.rust/simple.exp: Add test.
1185 * gdb.rust/simple.rs: Add test.
1186
1187 2020-02-19 Tom de Vries <tdevries@suse.de>
1188
1189 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1190 output line-by-line.
1191
1192 2020-02-19 Tom de Vries <tdevries@suse.de>
1193
1194 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
1195
1196 2020-02-19 Tom de Vries <tdevries@suse.de>
1197
1198 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
1199 prelink.
1200
1201 2020-02-19 Tom de Vries <tdevries@suse.de>
1202
1203 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
1204 (gdb_do_cache): Use gdb_do_cache_wrap.
1205 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
1206
1207 2020-02-19 Tom de Vries <tdevries@suse.de>
1208
1209 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
1210 gdb_compile option.
1211
1212 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1213
1214 * gdb.base/printcmds.exp (test_print_enums): Update expected
1215 output.
1216
1217 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1218
1219 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
1220 for "unknown".
1221
1222 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1223
1224 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
1225 enumerator.
1226
1227 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1228
1229 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
1230 FE_, add FE_NONE.
1231 (three): Update.
1232 (enum flag_enum_without_zero): New enum.
1233 (flag_enum_without_zero): New variable.
1234 (enum not_flag_enum): New enum.
1235 (three_not_flag): New variable.
1236 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
1237 (test_print_enums): Add more tests for printing flag enums.
1238
1239 2020-02-18 Tom de Vries <tdevries@suse.de>
1240
1241 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
1242 (gdb_compile_ada): ... here.
1243 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
1244 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
1245
1246 2020-02-14 Tom Tromey <tom@tromey.com>
1247
1248 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
1249 build directory.
1250 * boards/gdbserver-base.exp: Update path to gdbserver.
1251
1252 2020-02-13 Tom de Vries <tdevries@suse.de>
1253
1254 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
1255
1256 2020-02-13 Tom de Vries <tdevries@suse.de>
1257
1258 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
1259 are missing.
1260
1261 2020-02-13 Tom de Vries <tdevries@suse.de>
1262
1263 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
1264 call.
1265
1266 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1267
1268 PR tui/25126
1269 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
1270 * gdb.base/cached-source-file.c: New file.
1271 * gdb.base/cached-source-file.exp: New file.
1272
1273 2020-02-11 Tom de Vries <tdevries@suse.de>
1274
1275 PR testsuite/25488
1276 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
1277
1278 2020-02-10 Tom de Vries <tdevries@suse.de>
1279
1280 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
1281
1282 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
1283
1284 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
1285 and $after_addr are both integers before making a comparison.
1286
1287 2020-02-09 Tom de Vries <tdevries@suse.de>
1288
1289 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
1290 command output and paste it into gdb.log. If any, paste catch message
1291 to gdb.log.
1292
1293 2020-02-07 Tom Tromey <tromey@adacore.com>
1294
1295 PR breakpoints/24915:
1296 * gdb.base/annotate-symlink.exp: Use setup_xfail.
1297
1298 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
1299
1300 * gdb.tui/tui-missing-src.exp: Add the "missing source
1301 file" test for the TUI.
1302
1303 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1304
1305 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
1306 including a port number in the output.
1307
1308 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1309
1310 * lib/fortran.exp (fortran_int4): Handle clang.
1311 (fortran_int8): Likewise.
1312 (fortran_real4): Likewise.
1313 (fortran_real8): Likewise.
1314 (fortran_complex4): Likewise.
1315 (fortran_logical4): Likewise.
1316 (fortran_character1): Likewise.
1317
1318 2020-02-04 Tom de Vries <tdevries@suse.de>
1319
1320 * README (Race detection): Add note.
1321
1322 2020-02-04 Tom de Vries <tdevries@suse.de>
1323
1324 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
1325
1326 2020-02-04 Tom de Vries <tdevries@suse.de>
1327
1328 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
1329
1330 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1331
1332 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
1333 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
1334 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
1335 blttar, bnetarl.
1336 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
1337 binary for blttar, bnetarl.
1338 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
1339 wait instruction. Delete ldmx test.
1340 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
1341
1342 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1343
1344 * gdb.fortran/array-bounds-high.exp: New file.
1345 * gdb.fortran/array-bounds-high.f90: New file.
1346
1347 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
1348
1349 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
1350 Replace #include of <sys/fcntl.h> by <fcntl.h>.
1351
1352 2020-02-01 Tom de Vries <tdevries@suse.de>
1353
1354 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
1355
1356 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
1357
1358 PR tui/9765
1359 * gdb.tui/tui-layout-asm-short-prog.S: New file.
1360 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
1361
1362 2020-01-29 Luis Machado <luis.machado@linaro.org>
1363
1364 * gdb.arch/aarch64-brk-patterns.c: New source file.
1365 * gdb.arch/aarch64-brk-patterns.exp: New test.
1366
1367 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1368
1369 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
1370 GCC/Clang version.
1371 * gdb.cp/pass-by-ref.exp: Ditto.
1372
1373 2020-01-29 Tom de Vries <tdevries@suse.de>
1374
1375 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
1376 * gdb.threads/watchpoint-fork-mt.c: Same.
1377 * gdb.threads/watchpoint-fork-parent.c: Same.
1378 * gdb.threads/watchpoint-fork-st.c: Same.
1379 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
1380
1381 2020-01-27 Luis Machado <luis.machado@linaro.org>
1382
1383 * gdb.base/step-over-syscall.exp (setup): Check if we're already
1384 sitting at a syscall instruction when we hit the syscall function's
1385 breakpoint.
1386 Check PC against one obtained with the x command.
1387 Validate syscall number.
1388 (step_over_syscall): Don't continue to the syscall instruction if
1389 we're already there.
1390
1391 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1392
1393 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
1394
1395 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1396
1397 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
1398 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
1399
1400 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1401
1402 * gdb.dwarf2/dw2-inline-stepping.c: New file.
1403 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
1404
1405 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1406
1407 * gdb.base/maint.exp: Update line table parsing test.
1408 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
1409
1410 2020-01-24 Pedro Alves <palves@redhat.com>
1411
1412 PR gdb/25410
1413 * gdb.multi/multi-re-run-1.c: New.
1414 * gdb.multi/multi-re-run-2.c: New.
1415 * gdb.multi/multi-re-run.exp: New.
1416
1417 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1418
1419 PR gdb/23718
1420 * gdb.server/server-kill-python.exp: New file.
1421
1422 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1423
1424 * gdb.server/multi-ui-errors.c: New file.
1425 * gdb.server/multi-ui-errors.exp: New file.
1426
1427 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1428
1429 PR tui/9765
1430 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
1431
1432 2020-01-19 Tom Tromey <tom@tromey.com>
1433
1434 * gdb.tui/main.exp: Add check for plain "file".
1435
1436 2020-01-16 Christian Biesinger <cbiesinger@google.com>
1437
1438 * lib/gdb.exp: Fix spelling error (seperatelly).
1439
1440 2020-01-14 Tom Tromey <tom@tromey.com>
1441
1442 PR symtab/12535:
1443 * gdb.python/python.exp: Test decode_line with empty string
1444 argument.
1445
1446 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
1447
1448 * gdb.base/skip-inline.exp: Extend test.
1449
1450 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1451
1452 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
1453 * gdb.dwarf2/dw2-bad-elf.c: New file.
1454 * gdb.dwarf2/dw2-bad-elf.exp: New file.
1455
1456 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1457
1458 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
1459 _line_saw_file.
1460
1461 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1462
1463 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
1464 border.
1465
1466 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1467
1468 * gdb.multi/multi-target.exp (setup): Factor out "info
1469 connections" and "info inferiors" tests to ...
1470 (test_info_inferiors): ... this new procedure.
1471 (top level): Run new "info-inferiors" tests.
1472
1473 2020-01-10 Pedro Alves <palves@redhat.com>
1474
1475 * gdb.server/bkpt-other-inferior.exp: New file.
1476
1477 2020-01-10 Pedro Alves <palves@redhat.com>
1478
1479 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
1480 of "add-inferior".
1481 * gdb.base/quit-live.exp: Likewise.
1482 * gdb.base/remote-exec-file.exp: Likewise.
1483 * gdb.guile/scm-progspace.exp: Likewise.
1484 * gdb.linespec/linespec.exp: Likewise.
1485 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1486 * gdb.mi/user-selected-context-sync.exp: Likewise.
1487 * gdb.multi/multi-target.exp (setup): Add "info connection" and
1488 "info inferiors" tests.
1489 * gdb.multi/remove-inferiors.exp: Adjust expected output of
1490 "add-inferior".
1491 * gdb.multi/watchpoint-multi.exp: Likewise.
1492 * gdb.python/py-inferior.exp: Likewise.
1493 * gdb.server/extended-remote-restart.exp: Likewise.
1494 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
1495 "info inferiors".
1496 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1497 * gdb.trace/report.exp: Likewise.
1498
1499 2020-01-10 Pedro Alves <palves@redhat.com>
1500
1501 * gdb.multi/multi-target.c: New file.
1502 * gdb.multi/multi-target.exp: New file.
1503 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1504 mode requested, but remote does not support non-stop".
1505
1506 2020-01-10 Pedro Alves <palves@redhat.com>
1507
1508 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1509 disconnect before reconnecting.
1510
1511 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1512 Pedro Alves <palves@redhat.com>
1513
1514 * gdb.server/connect-without-multi-process.exp: Also test
1515 continuing to end.
1516
1517 2020-01-10 Pedro Alves <palves@redhat.com>
1518
1519 * gdb.base/remote-exec-file.exp: New file.
1520
1521 2020-01-10 Pedro Alves <palves@redhat.com>
1522
1523 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1524 output.
1525 * gdb.threads/async.c: New.
1526 * gdb.threads/async.exp: New.
1527 * gdb.multi/tids-gid-reset.c: New.
1528 * gdb.multi/tids-gid-reset.exp: New.
1529
1530 2020-01-10 George Barrett <bob@bob131.so>
1531
1532 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1533 to help in finding the image relocation offset.
1534 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1535 options in arguments.
1536 (stap_test_no_debuginfo): Likewise.
1537 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1538 test variants.
1539 (stap_test): Add null semaphore relocation test.
1540
1541 2020-01-10 George Barrett <bob@bob131.so>
1542
1543 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1544 * gdb.base/stap-probe.exp: Likewise.
1545 (stap_test): Pass argument as an additional flag.
1546 (stap_test_no_debuginfo): Likewise.
1547 (stap_test): Check `info probes stap' output for semaphore
1548 addresses if the test binary is supposed to have them.
1549
1550 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1551
1552 * gdb.tui/basic.exp: Add more scrolling tests.
1553
1554 2020-01-09 Tom Tromey <tom@tromey.com>
1555
1556 PR tui/18932:
1557 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1558 meangingful value.
1559 (Term::command, Term::resize): Update.
1560 * gdb.tui/basic.exp: Add scrolling test.
1561
1562 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1563
1564 * gdb.tui/tui-layout-asm.exp: New file.
1565
1566 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1567
1568 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1569
1570 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1571
1572 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1573 (Term::enter_tui): Use Term::prepare_for_tui.
1574
1575 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1576
1577 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1578 called.
1579
1580 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1581
1582 * gdb.base/skip.exp: Fix race condition in test.
1583
1584 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1585
1586 * gdb.base/backtrace.c: New file.
1587 * gdb.base/backtrace.exp: New file.
1588
1589 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1590
1591 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1592
1593 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1594
1595 * gdb.base/style.exp: Test that warnings are styled.
1596
1597 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1598
1599 * gdb.base/line65535.exp: New file.
1600 * gdb.base/line65535.c: New file.
1601
1602 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1603
1604 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1605 * lib/gnat_debug_info_test.adb: New file.
1606 * gdb.ada/ptype_tagged_param.exp: Use
1607 gnat_runtime_has_debug_info, expect a different output if
1608 runtime does not have debug info.
1609
1610 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1611
1612 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1613 (another) quote in test name.
1614
1615 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1616
1617 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1618 Add quote in test name.
1619
1620 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1621
1622 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1623 directory instead.
1624 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1625 * gdb.cp/pass-by-ref-2.cc: New file.
1626 * gdb.cp/pass-by-ref-2.exp: New file.
1627
1628 2019-12-20 Tom Tromey <tom@tromey.com>
1629
1630 * gdb.tui/list-before.exp: New file.
1631
1632 2019-12-20 Tom Tromey <tom@tromey.com>
1633
1634 * gdb.tui/list.exp: Check for source on initial listing.
1635
1636 2019-12-11 Tom Tromey <tromey@adacore.com>
1637
1638 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1639 Add crlf test.
1640
1641 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
1642
1643 * gdb.base/default.exp: Update value of $_gdb_major.
1644
1645 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1646
1647 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1648
1649 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1650
1651 * gdb.base/skip.exp: Whitespace fix.
1652
1653 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1654
1655 * gdb.base/skip-inline.c: New file.
1656 * gdb.base/skip-inline.exp: New file.
1657
1658 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1659
1660 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1661 jit_function_00 to jit_function_stack_mangle.
1662 * gdb.base/jithost.c (jit_function_t): Rename to...
1663 (jit_function_stack_mangle_t): ... this.
1664 (jit_function_add_t): New typedef.
1665 (jit_function_00_code): Rename to...
1666 (jit_function_stack_mangle_code): ... this, make static.
1667 (jit_function_add_code): New.
1668 (main): Generate "add" function and call it. Adjust to changes
1669 in jithost_abi.
1670 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1671 (struct jithost_abi) <begin, end>: Remove fields.
1672 <object, function_stack_mangle, function_add>: New fields.
1673 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1674 code_end>: Remove fields.
1675 <func_stack_mangle>: New field.
1676 (read_debug_info): Adjust to renaming, create block for "add"
1677 function.
1678 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1679
1680 2019-12-11 Tom Tromey <tom@tromey.com>
1681
1682 * gdb.tui/resize.exp: Fix regexp.
1683 * gdb.tui/regs.exp: Fix regexps.
1684 * gdb.tui/main.exp: Fix regexp.
1685
1686 2019-12-11 Tom Tromey <tom@tromey.com>
1687
1688 * gdb.tui/resize.exp: Update.
1689 * gdb.tui/empty.exp (layouts): Update.
1690
1691 2019-12-11 Tom Tromey <tom@tromey.com>
1692
1693 * gdb.tui/regs.exp: Update.
1694 * gdb.tui/empty.exp (layouts): Update.
1695 * gdb.tui/basic.exp: Update.
1696 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1697
1698 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1699
1700 * gdb.base/options.exp: Add -raw-values in the print completion list.
1701 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1702
1703 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1704
1705 * gdb.threads/omp-par-scope.c: New file.
1706 * gdb/threads/omp-par-scope.exp: New file.
1707
1708 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1709
1710 * lib/gdb.exp (support_nested_function_tests): New proc.
1711
1712 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1713
1714 * lib/gdb.exp (gdb_compile_openmp): New proc.
1715 (build_executable_from_specs): Add an "openmp" option.
1716 (gdb_compile_pthreads): Add non-executable case.
1717
1718 2019-12-10 Tom Tromey <tromey@adacore.com>
1719
1720 * gdb.ada/unchecked_union.exp: New file.
1721 * gdb.ada/unchecked_union/pck.adb: New file.
1722 * gdb.ada/unchecked_union/pck.ads: New file.
1723 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1724 * gdb-utils.exp (string_to_regexp): Also quote "?".
1725
1726 2019-12-10 George Barrett <bob@bob131.so>
1727
1728 Test scripted probe breakpoints.
1729 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1730 * gdb.python/py-breakpoint.c (main): Likewise.
1731 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1732 specifier test.
1733 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1734
1735 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1736
1737 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1738 an rvalue parameter.
1739 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1740 parameter.
1741
1742 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1743
1744 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1745 modules.
1746
1747 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1748
1749 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1750 broken version of GCC.
1751
1752 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1753
1754 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1755 sym-info-cmds library.
1756 * gdb.fortran/info-types.exp: Likewise.
1757 * lib/sym-info-cmds.exp: New file.
1758
1759 2019-12-08 Tom de Vries <tdevries@suse.de>
1760
1761 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1762
1763 2019-12-07 Keith Seitz <keiths@redhat.com>
1764
1765 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1766 * gdb.base/corefile-buildid-shlib.c: New file.
1767 * gdb.base/corefile-buildid.c: New file.
1768 * gdb.base/corefile-buildid.exp: New file.
1769
1770 2019-12-06 Tom de Vries <tdevries@suse.de>
1771
1772 * gdb.dwarf2/varval.exp: Add decl before def test.
1773
1774 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1775
1776 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1777
1778 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1779
1780 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1781 CV and reference conversion for overload resolution.
1782 * gdb.cp/rvalue-ref-overload.exp: Test it.
1783
1784 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1785
1786 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1787 * gdb.base/frameapply.exp: Test faas without command.
1788
1789 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1790
1791 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1792 Fortran tests.
1793 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1794 order.
1795
1796 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1797
1798 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1799 casting to type with no kind specified.
1800 (test_basic_parsing_of_type_kinds): Additional tests for types
1801 with no kind specified, and add tests for single/double
1802 precision/complex types.
1803
1804 2019-12-04 Tom Tromey <tromey@adacore.com>
1805
1806 * gdb.base/endianity.c (struct other) <x>: New field.
1807 (main): Initialize it.
1808 * gdb.base/endianity.exp: Update.
1809
1810 2019-12-04 Tom Tromey <tromey@adacore.com>
1811
1812 * gdb.ada/scalar_storage/storage.adb: New file.
1813 * gdb.ada/scalar_storage/pck.adb: New file.
1814 * gdb.ada/scalar_storage/pck.ads: New file.
1815 * gdb.ada/scalar_storage.exp: New file.
1816
1817 2019-12-04 Tom Tromey <tromey@adacore.com>
1818
1819 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1820 (main): Initialize it.
1821 * gdb.base/endianity.exp: Update.
1822
1823 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1824
1825 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1826
1827 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1828
1829 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1830 -symbol-info-module-functions and -symbol-info-module-variables.
1831
1832 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1833
1834 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1835
1836 2019-12-01 Richard Bunt <richard.bunt@arm.com>
1837 Andrew Burgess <andrew.burgess@embecosm.com>
1838
1839 * gdb.fortran/derived-type-striding.exp: New file.
1840 * gdb.fortran/derived-type-striding.f90: New file.
1841 * gdb.fortran/array-slices.exp: New file.
1842 * gdb.fortran/array-slices.f90: New file.
1843
1844 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1845
1846 * gdb.base/define.exp: Test . in command names.
1847 * gdb.base/setshow.exp: Update test, as . is now part of
1848 command name.
1849
1850 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1851
1852 * gdb.base/define-prefix.exp: New file.
1853
1854 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1855
1856 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1857 compile.
1858 (skip_btrace_pt_tests): Likewise.
1859
1860 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1861
1862 * gdb.fortran/info-modules.exp: Compile source files in correct
1863 order.
1864
1865 2019-11-27 Kevin Buettner <kevinb@redhat.com>
1866
1867 * gdb.dwarf2/imported-unit.exp: New file.
1868 * gdb.dwarf2/imported-unit.c: New file.
1869
1870 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1871
1872 * gdb.mi/mi-fortran-modules-2.f90: New file.
1873 * gdb.mi/mi-fortran-modules.exp: New file.
1874 * gdb.mi/mi-fortran-modules.f90: New file.
1875
1876 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1877
1878 * gdb.mi/mi-sym-info-1.c: New file.
1879 * gdb.mi/mi-sym-info-2.c: New file.
1880 * gdb.mi/mi-sym-info.exp: New file.
1881
1882 2019-11-22 Tom Tromey <tromey@adacore.com>
1883
1884 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1885 * gdb.ada/tasks/foo.adb: Add another stopping location.
1886
1887 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1888
1889 * gdb.base/endianity.c: New test.
1890 * gdb.base/endianity.exp: New file.
1891
1892 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1893
1894 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1895
1896 2019-11-21 Tom de Vries <tdevries@suse.de>
1897
1898 PR gdb/24956
1899 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1900
1901 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1902
1903 * gdb.python/py-progspace.exp: Add missing parentheses on some
1904 'print' commands.
1905
1906 2019-11-19 Tom Tromey <tom@tromey.com>
1907
1908 * gdb.tui/winheight.exp: New file.
1909
1910 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1911
1912 * gdb.base/ctf-whatis.c: Delete.
1913 * gdb.base/ctf-whatis.exp: Delete.
1914 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1915
1916 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1917
1918 * gdb.base/ctf-cvexpr.exp: Delete.
1919 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1920
1921 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1922
1923 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1924 the compiler. Clean up header comment a little.
1925 * gdb.base/ctf-ptype.exp: Likewise.
1926 * gdb.base/ctf-whatis.exp: Likewise.
1927 * lib/gdb.exp (skip_ctf_tests): New proc.
1928
1929 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1930
1931 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1932 * gdb.tui/corefile-run.exp: New file.
1933
1934 2019-11-14 Tom Tromey <tromey@adacore.com>
1935
1936 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1937 regression tests.
1938
1939 2019-11-12 Tom Tromey <tom@tromey.com>
1940
1941 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1942 after any command. Expect prompt after WAIT_FOR is seen.
1943 (enter_tui): Enable resize messages.
1944 (command): Expect command in output.
1945 (get_line): Avoid error when cursor appears to be off-screen.
1946 (dump_screen): Include screen size in title.
1947 (_do_resize): New proc, from "resize".
1948 (resize): Rewrite. Do resize in two steps.
1949 * gdb.tui/empty.exp (layouts): Fix entries.
1950 (check_boxes): Remove xfail.
1951 (check_text): Dump screen on failure.
1952
1953 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1954
1955 * gdb.python/py-symbol.exp: Add test for
1956 gdb.lookup_static_symbols.
1957
1958 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1959
1960 * gdb.python/py-symbol.c: Declare and call function from new
1961 py-symbol-2.c file.
1962 * gdb.python/py-symbol.exp: Compile both source files, and add new
1963 tests for gdb.lookup_static_symbol.
1964 * gdb.python/py-symbol-2.c: New file.
1965
1966 2019-11-02 Tom de Vries <tdevries@suse.de>
1967
1968 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1969 * gdb.base/anon.exp: Same.
1970 * gdb.base/auto-connect-native-target.exp: Same.
1971 * gdb.base/call-ar-st.exp: Same.
1972 * gdb.base/catch-syscall.exp: Same.
1973 * gdb.base/commands.exp: Same.
1974 * gdb.base/default.exp: Same.
1975 * gdb.base/display.exp: Same.
1976 * gdb.base/float.exp: Same.
1977 * gdb.base/foll-fork.exp: Same.
1978 * gdb.base/help.exp: Same.
1979 * gdb.base/info-macros.exp: Same.
1980 * gdb.base/info-proc.exp: Same.
1981 * gdb.base/info-target.exp: Same.
1982 * gdb.base/long_long.exp: Same.
1983 * gdb.base/macscp.exp: Same.
1984 * gdb.base/memattr.exp: Same.
1985 * gdb.base/nofield.exp: Same.
1986 * gdb.base/pointers.exp: Same.
1987 * gdb.base/printcmds.exp: Same.
1988 * gdb.base/ptype.exp: Same.
1989 * gdb.base/restore.exp: Same.
1990 * gdb.base/return.exp: Same.
1991 * gdb.base/scope.exp: Same.
1992 * gdb.base/set-noassign.exp: Same.
1993 * gdb.base/setshow.exp: Same.
1994 * gdb.base/shlib-call.exp: Same.
1995 * gdb.base/signals.exp: Same.
1996 * gdb.base/sigstep.exp: Same.
1997 * gdb.base/skip.exp: Same.
1998 * gdb.base/solib-symbol.exp: Same.
1999 * gdb.base/stap-probe.exp: Same.
2000 * gdb.base/step-line.exp: Same.
2001 * gdb.base/step-test.exp: Same.
2002 * gdb.base/style.exp: Same.
2003 * gdb.base/varargs.exp: Same.
2004 * gdb.base/vla-datatypes.exp: Same.
2005 * gdb.base/vla-ptr.exp: Same.
2006 * gdb.base/vla-sideeffect.exp: Same.
2007 * gdb.base/volatile.exp: Same.
2008 * gdb.base/watch-cond-infcall.exp: Same.
2009 * gdb.base/watchpoint.exp: Same.
2010
2011 2019-11-02 Tom de Vries <tdevries@suse.de>
2012
2013 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2014 * gdb.cp/cpexprs.exp: Same.
2015 * gdb.cp/except-multi-location.exp: Same.
2016 * gdb.cp/exceptprint.exp: Same.
2017 * gdb.cp/gdb2384.exp: Same.
2018 * gdb.cp/inherit.exp: Same.
2019 * gdb.cp/m-static.exp: Same.
2020 * gdb.cp/meth-typedefs.exp: Same.
2021 * gdb.cp/misc.exp: Same.
2022 * gdb.cp/namespace.exp: Same.
2023 * gdb.cp/non-trivial-retval.exp: Same.
2024 * gdb.cp/overload.exp: Same.
2025 * gdb.cp/pr17132.exp: Same.
2026 * gdb.cp/re-set-overloaded.exp: Same.
2027 * gdb.cp/rvalue-ref-types.exp: Same.
2028 * gdb.cp/templates.exp: Same.
2029
2030 2019-11-01 Luis Machado <luis.machado@linaro.org>
2031
2032 PR gdb/25124
2033
2034 * gdb.arch/pr25124.S: New file.
2035 * gdb.arch/pr25124.exp: New file.
2036
2037 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2038
2039 * gdb.fortran/info-modules.exp: Update expected results, and add
2040 additional tests for 'info module functinos', and 'info module
2041 variables'.
2042 * gdb.fortran/info-types.exp: Update expected results.
2043 * gdb.fortran/info-types.f90: Extend testcase with additional
2044 module variables and functions.
2045
2046 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2047
2048 * gdb.fortran/info-modules.exp: New file.
2049 * gdb.fortran/info-types.exp: Build with new file.
2050 * gdb.fortran/info-types.f90: Include and use new module.
2051 * gdb.fortran/info-types-2.f90: New file.
2052
2053 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2054
2055 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2056 * gdb.base/settings.exp: Test all settings types using
2057 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2058 that now verifies that the value of "maint show" is the same as
2059 returned by the settings functions. Test the type of the
2060 maintenance settings.
2061 * gdb.base/default.exp: Update show_conv_list.
2062
2063 2019-10-31 Tom de Vries <tdevries@suse.de>
2064
2065 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2066 gdb_test.
2067 * gdb.arch/amd64-disp-step.exp: Same.
2068 * gdb.asm/asm-source.exp: Same.
2069 * gdb.btrace/buffer-size.exp: Same.
2070 * gdb.btrace/cpu.exp: Same.
2071 * gdb.btrace/enable.exp: Same.
2072 * gdb.dwarf2/count.exp: Same.
2073 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2074 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2075 * gdb.fortran/vla-datatypes.exp: Same.
2076 * gdb.fortran/vla-history.exp: Same.
2077 * gdb.fortran/vla-ptype.exp: Same.
2078 * gdb.fortran/vla-value.exp: Same.
2079 * gdb.fortran/whatis_type.exp: Same.
2080 * gdb.guile/guile.exp: Same.
2081 * gdb.multi/tids.exp: Same.
2082 * gdb.python/py-finish-breakpoint.exp: Same.
2083 * gdb.python/py-framefilter.exp: Same.
2084 * gdb.python/py-pp-registration.exp: Same.
2085 * gdb.python/py-xmethods.exp: Same.
2086 * gdb.python/python.exp: Same.
2087 * gdb.server/connect-with-no-symbol-file.exp: Same.
2088 * gdb.server/no-thread-db.exp: Same.
2089 * gdb.server/run-without-local-binary.exp: Same.
2090 * gdb.stabs/weird.exp: Same.
2091 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2092 * gdb.threads/thread-find.exp: Same.
2093 * gdb.threads/tls-shared.exp: Same.
2094 * gdb.threads/tls.exp: Same.
2095 * gdb.threads/wp-replication.exp: Same.
2096 * gdb.trace/ax.exp: Same.
2097 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2098
2099 2019-10-31 Tom de Vries <tdevries@suse.de>
2100
2101 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2102 * gdb.ada/array_subscript_addr.exp: Same.
2103 * gdb.ada/arrayidx.exp: Same.
2104 * gdb.ada/arrayparam.exp: Same.
2105 * gdb.ada/arrayptr.exp: Same.
2106 * gdb.ada/boolean_expr.exp: Same.
2107 * gdb.ada/call_pn.exp: Same.
2108 * gdb.ada/complete.exp: Same.
2109 * gdb.ada/fixed_cmp.exp: Same.
2110 * gdb.ada/fun_addr.exp: Same.
2111 * gdb.ada/funcall_param.exp: Same.
2112 * gdb.ada/interface.exp: Same.
2113 * gdb.ada/mod_from_name.exp: Same.
2114 * gdb.ada/null_array.exp: Same.
2115 * gdb.ada/packed_array.exp: Same.
2116 * gdb.ada/packed_tagged.exp: Same.
2117 * gdb.ada/print_chars.exp: Same.
2118 * gdb.ada/print_pc.exp: Same.
2119 * gdb.ada/ptype_arith_binop.exp: Same.
2120 * gdb.ada/ptype_field.exp: Same.
2121 * gdb.ada/ptype_tagged_param.exp: Same.
2122 * gdb.ada/rec_return.exp: Same.
2123 * gdb.ada/ref_tick_size.exp: Same.
2124 * gdb.ada/str_ref_cmp.exp: Same.
2125 * gdb.ada/taft_type.exp: Same.
2126 * gdb.ada/tagged.exp: Same.
2127 * gdb.ada/type_coercion.exp: Same.
2128 * gdb.ada/uninitialized_vars.exp: Same.
2129
2130 2019-10-30 Tom de Vries <tdevries@suse.de>
2131
2132 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2133
2134 2019-10-26 Tom de Vries <tdevries@suse.de>
2135
2136 * gdb.base/bigcore.c: Fix typos in comments.
2137 * gdb.base/ctf-ptype.c: Same.
2138 * gdb.base/long_long.c: Same.
2139 * gdb.dwarf2/dw2-op-out-param.S: Same.
2140 * gdb.python/py-evthreads.c: Same.
2141 * gdb.reverse/i387-stack-reverse.c: Same.
2142 * gdb.trace/tfile.c: Same.
2143 * lib/compiler.c: Same.
2144 * lib/compiler.cc: Same.
2145
2146 2019-10-25 Tom de Vries <tdevries@suse.de>
2147
2148 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2149 gdb_test_multiple calls.
2150 * gdb.reverse/sigall-reverse.exp: Same.
2151 * gdb.reverse/solib-precsave.exp: Same.
2152 * gdb.reverse/solib-reverse.exp: Same.
2153 * gdb.reverse/until-precsave.exp: Same.
2154 * gdb.reverse/until-reverse.exp: Same.
2155
2156 2019-10-24 Tom de Vries <tdevries@suse.de>
2157
2158 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2159 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2160 kfail using -wrap pattern flag and convenience variable
2161 gdb_test_name.
2162
2163 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2164
2165 * gdb.python/py-progspace.exp: Add tests for the
2166 Progspace.block_for_pc method.
2167
2168 2019-10-23 Tom Tromey <tom@tromey.com>
2169
2170 * configure: Rebuild.
2171 * aclocal.m4: Use m4_include, not sinclude.
2172
2173 2019-10-21 Tom de Vries <tdevries@suse.de>
2174
2175 * gdb.base/infcall-nested-structs.c: Add
2176 __attribute__((noinline,noclone)) to all functions.
2177 (call_all): Add missing variable initialization. Simplify return value.
2178 (breakpt): Increment volatile variable, to prevent call from being
2179 optimized out.
2180 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2181
2182 2019-10-17 Tom de Vries <tdevries@suse.de>
2183
2184 * gdb.fortran/module.exp: Allow info variables to print info for files
2185 other than module.f90.
2186
2187 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2188
2189 * gdb.fortran/module.exp: Extend with 'info variables' test.
2190
2191 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2192
2193 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
2194 F77_FOR_TARGET.
2195
2196 2019-10-16 Tom de Vries <tdevries@suse.de>
2197
2198 PR tdep/25096
2199 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
2200
2201 2019-10-16 Tom de Vries <tdevries@suse.de>
2202
2203 PR tdep/24104
2204 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
2205 Add KFAIL for PR tdep/25096.
2206
2207 2019-10-16 Tom de Vries <tdevries@suse.de>
2208
2209 PR testsuite/25059
2210 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
2211
2212 2019-10-16 Tom de Vries <tdevries@suse.de>
2213
2214 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
2215 as signed.
2216
2217 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
2218
2219 * gdb.mi/list-thread-groups-available.exp: Read entries one by
2220 one instead of increasing timeout.
2221
2222 2019-10-13 Tom de Vries <tdevries@suse.de>
2223
2224 PR record/25038
2225 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
2226 * gdb.reverse/sigall-reverse.exp: Same.
2227 * gdb.reverse/solib-precsave.exp: Same.
2228 * gdb.reverse/solib-reverse.exp: Same.
2229 * gdb.reverse/step-precsave.exp: Same.
2230 * gdb.reverse/until-precsave.exp: Same.
2231 * gdb.reverse/until-reverse.exp: Same.
2232 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
2233
2234 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
2235
2236 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
2237 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
2238 (cmp_struct_05_01, cmp_struct_static_02_01)
2239 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
2240 comparisons.
2241
2242 2019-10-10 Tom de Vries <tdevries@suse.de>
2243
2244 PR testsuite/24888
2245 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
2246 gnatlink.
2247
2248 2019-10-09 Tom de Vries <tdevries@suse.de>
2249
2250 PR testsuite/25048
2251 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
2252
2253 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2254
2255 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
2256 exceptions due to missing debug information.
2257
2258 2019-10-07 Tom de Vries <tdevries@suse.de>
2259
2260 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
2261
2262 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2263
2264 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
2265 * gdb.base/annota1.exp: Update to use gdb_test_name.
2266
2267 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
2268
2269 * gdb.base/ctf-whatis.exp: New file.
2270 * gdb.base/ctf-whatis.c: New file.
2271 * gdb.base/ctf-ptype.exp: New file.
2272 * gdb.base/ctf-ptype.c: New file.
2273 * gdb.base/ctf-constvars.exp: New file.
2274 * gdb.base/ctf-constvars.c: New file.
2275 * gdb.base/ctf-cvexpr.exp: New file.
2276
2277 2019-10-04 Tom de Vries <tdevries@suse.de>
2278
2279 * gdb.cp/local-static.c (main): Move declaration of int i out of the
2280 for loop.
2281
2282 2019-10-03 Tom Tromey <tom@tromey.com>
2283
2284 PR rust/24976:
2285 * gdb.rust/simple.rs (Union2): New type.
2286 (main): Use Union2.
2287 * gdb.rust/simple.exp: Add test.
2288
2289 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2290
2291 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
2292 nested function prefix.
2293
2294 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
2295 Richard Bunt <richard.bunt@arm.com>
2296 Andrew Burgess <andrew.burgess@embecosm.com>
2297
2298 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
2299 nested functions.
2300 * gdb.fortran/nested-funcs.f90: Update expected results.
2301 * gdb.fortran/nested-funcs-2.exp: New file.
2302 * gdb.fortran/nested-funcs-2.f90: New file.
2303
2304 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2305
2306 * gdb.python/py-parameter.exp: Make test names unique.
2307 * gdb.python/py-template.exp: Likewise.
2308 * gdb.python/py-value.exp: Likewise.
2309
2310 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2311
2312 * gdb.base/break-interp.exp: Reduce test name duplication.
2313 * gdb.base/call-sc.exp: Likewise.
2314 * gdb.base/callfuncs.exp: Likewise.
2315 * gdb.base/charset.exp: Likewise.
2316 * gdb.base/dump.exp: Likewise.
2317 * gdb.base/ena-dis-br.exp: Likewise.
2318 * gdb.base/relational.exp: Likewise.
2319 * gdb.base/step-over-syscall.exp: Likewise.
2320 * gdb.base/structs.exp: Likewise.
2321
2322 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2323
2324 * gdb.linespec/explicit.exp: Make test names unique.
2325 * gdb.linespec/ls-errs.exp: Likewise.
2326
2327 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2328
2329 * gdb.reverse/break-precsave.exp: Make test names unique.
2330 * gdb.reverse/break-reverse.exp: Likewise.
2331 * gdb.reverse/finish-precsave.exp: Likewise.
2332 * gdb.reverse/finish-reverse.exp: Likewise.
2333 * gdb.reverse/machinestate-precsave.exp: Likewise.
2334 * gdb.reverse/machinestate.exp: Likewise.
2335 * gdb.reverse/readv-reverse.exp: Likewise.
2336 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2337 * gdb.reverse/sigall-precsave.exp: Likewise.
2338 * gdb.reverse/sigall-reverse.exp: Likewise.
2339 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
2340 * gdb.reverse/watch-precsave.exp: Likewise.
2341 * gdb.reverse/watch-reverse.exp: Likewise.
2342
2343 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2344
2345 * gdb.threads/stop-with-handle.c: New file.
2346 * gdb.threads/stop-with-handle.exp: New file.
2347
2348 2019-10-03 Tom de Vries <tdevries@suse.de>
2349
2350 PR testsuite/25059
2351 * gdb.base/list-missing-source.exp: Allowing the "Compilation
2352 directory" line to be missing.
2353
2354 2019-10-03 Tom de Vries <tdevries@suse.de>
2355
2356 PR testsuite/25059
2357 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
2358 type optional.
2359
2360 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
2361
2362 * gdb.python/py-format-string.c (string.h): New include.
2363 (main): Fill a_struct_with_union.the_union.an_int with bytes of
2364 the same value, for endianness-independence.
2365 * gdb.python/py-format-string.exp (default_regexp_dict)
2366 (test_pretty_structs, test_format): Adjust expected output to the
2367 changed initialization.
2368
2369 2019-10-02 Tom Tromey <tromey@adacore.com>
2370
2371 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
2372
2373 2019-10-02 Pedro Alves <palves@redhat.com>
2374 Andrew Burgess <andrew.burgess@embecosm.com>
2375
2376 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
2377 "print-file-var.h".
2378 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2379 (get_version_1): Print this_version_id and its address.
2380 Add extern "C" wrappers around interface functions.
2381 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
2382 "print-file-var.h".
2383 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2384 (get_version_2): Print this_version_id and its address.
2385 Add extern "C" wrappers around interface functions.
2386 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
2387 <stddef.h> and "print-file-var.h".
2388 Add extern "C" wrappers around interface functions.
2389 [VERSION_ID_MAIN] (this_version_id): Define.
2390 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
2391 * gdb.base/print-file-var.h: Add some #defines to simplify setting
2392 up extern "C" blocks.
2393 * gdb.base/print-file-var.exp (test): New, factored out from top
2394 level.
2395 (top level): Test all combinations of attribute hidden or not,
2396 dlopen or not, and this_version_id symbol in main file or not.
2397 Compile tests as both C++ and C, make test names unique.
2398
2399 2019-10-01 Tom Tromey <tom@tromey.com>
2400
2401 * gdb.base/style.exp: Test "show logging filename".
2402
2403 2019-10-01 Tom Tromey <tom@tromey.com>
2404
2405 * lib/gdb-utils.exp (style): Handle "metadata" argument.
2406 * gdb.base/style.exp: Add metadata style test.
2407
2408 2019-10-01 Tom Tromey <tom@tromey.com>
2409
2410 * gdb.base/style.exp: Test "pwd".
2411
2412 2019-10-01 Tom Tromey <tom@tromey.com>
2413
2414 * gdb.base/style.exp: Update tests.
2415
2416 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
2417
2418 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
2419 'six' to unsigned.
2420 (s1): Initialize fields 'four' and 'six' instead of 'three' and
2421 'five'. Use an all-ones bit pattern for each.
2422 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
2423 to its changed values.
2424
2425 2019-09-30 Tom Tromey <tromey@adacore.com>
2426
2427 * gdb.rust/traits.rs: Disable all warnings.
2428
2429 2019-09-29 Tom de Vries <tdevries@suse.de>
2430
2431 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
2432
2433 2019-09-29 Tom de Vries <tdevries@suse.de>
2434
2435 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
2436
2437 2019-09-27 Tom de Vries <tdevries@suse.de>
2438
2439 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
2440
2441 2019-09-27 Tom de Vries <tdevries@suse.de>
2442
2443 PR record/23188
2444 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
2445
2446 2019-09-26 Tom Tromey <tromey@adacore.com>
2447
2448 * gdb.ada/py_taft.exp: New file.
2449 * gdb.ada/py_taft/main.adb: New file.
2450 * gdb.ada/py_taft/pkg.adb: New file.
2451 * gdb.ada/py_taft/pkg.ads: New file.
2452
2453 2019-09-24 Tom de Vries <tdevries@suse.de>
2454
2455 PR gdb/24598
2456 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
2457
2458 2019-09-22 Tom de Vries <tdevries@suse.de>
2459
2460 * gdb.base/restore.exp: Allow register variables to be optimized out at
2461 -O0.
2462
2463 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
2464
2465 * gdb.arch/spu-info.exp: Remove file.
2466 * gdb.arch/spu-info.c: Remove file.
2467 * gdb.arch/spu-ls.exp: Remove file.
2468 * gdb.arch/spu-ls.c: Remove file.
2469
2470 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
2471 * gdb.asm/spu.inc: Remove file.
2472
2473 * gdb.base/dump.exp: Remove support for spu*-*-*.
2474 * gdb.base/stack-checking.exp: Likewise.
2475 * gdb.base/overlays.exp: Likewise.
2476 * gdb.base/ovlymgr.c: Likewise.
2477 * gdb.base/spu.ld: Remove file.
2478
2479 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
2480 * gdb.cp/cpexprs.exp: Likewise.
2481 * gdb.cp/exception.exp: Likewise.
2482 * gdb.cp/gdb2495.exp: Likewise.
2483 * gdb.cp/mb-templates.exp: Likewise.
2484 * gdb.cp/pr9167.exp: Likewise.
2485 * gdb.cp/userdef.exp: Likewise.
2486
2487 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
2488
2489 * gdb.cell: Remove directory.
2490 * lib/cell.exp: Remove file.
2491
2492 2019-09-19 Tom de Vries <tdevries@suse.de>
2493
2494 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
2495
2496 2019-09-19 Tom de Vries <tdevries@suse.de>
2497
2498 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2499
2500 2019-09-19 Tom de Vries <tdevries@suse.de>
2501
2502 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2503 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2504 (gdb_target_cmd): ... here.
2505 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2506 value 2.
2507
2508 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2509
2510 * gdb.base/source-dir.exp: Avoid having directory names in test
2511 names.
2512
2513 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2514
2515 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2516 directory.
2517
2518 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2519
2520 * gdb.base/list-missing-source.exp: New file.
2521
2522 2019-09-14 Tom de Vries <tdevries@suse.de>
2523
2524 PR teststuite/24599
2525 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2526 * lib/ada.exp (gnatmake_version_at_least): New proc.
2527
2528 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2529
2530 * gdb.base/maint.exp: Use exec_has_index_section.
2531
2532 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2533
2534 * gdb.base/maint.exp: Add test for 'maint info sections'.
2535
2536 2019-09-12 Tom de Vries <tdevries@suse.de>
2537
2538 * gdb.base/store.exp: Allow register variables to be optimized out at
2539 -O0.
2540
2541 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2542
2543 * gdb.ada/rdv_wait.exp: Update to new task names.
2544 * gdb.base/task_switch_in_core.exp: Likewise.
2545 * gdb.base/info_sources_base.c: Likewise.
2546
2547 2019-09-10 Tom Tromey <tromey@adacore.com>
2548
2549 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2550
2551 2019-09-10 Tom Tromey <tromey@adacore.com>
2552
2553 * gdb.ada/dgopt.exp: New file.
2554 * gdb.ada/dgopt/x.adb: New file.
2555
2556 2019-09-08 Tom Tromey <tom@tromey.com>
2557
2558 * gdb.tui/resize.exp: Remove setup_xfail.
2559 * gdb.tui/regs.exp: Remove setup_xfail.
2560 * gdb.tui/basic.exp: Remove setup_xfail.
2561
2562 2019-09-06 David Blaikie <dblaikie@gmail.com>
2563
2564 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2565 * gdb.cp/cplabel.exp: Ditto.
2566 * gdb.linespec/ls-errs.exp: Ditto.
2567
2568 2019-09-05 Tom de Vries <tdevries@suse.de>
2569
2570 * lib/gdb.exp (cmp_file_string): New proc.
2571 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2572 runto_main. Verify save breakpoints output.
2573
2574 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2575
2576 * gdb.base/info-var.exp: Test info variables without running
2577 to main, to avoid expect's buffer overflow.
2578
2579 2019-09-03 Tom Tromey <tromey@adacore.com>
2580
2581 * gdb.ada/bias.exp: New file.
2582 * gdb.ada/bias/bias.adb: New file.
2583 * gdb.ada/print_chars.exp: Add regression test.
2584 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2585 (MC): New variable.
2586
2587 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2588
2589 * gdb.base/argv0-symlink.exp: Run only on native target
2590 and local host.
2591
2592 2019-08-29 Tom de Vries <tdevries@suse.de>
2593
2594 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2595 diverse debug info.
2596 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2597
2598 2019-08-28 Tom de Vries <tdevries@suse.de>
2599
2600 * gdb.base/info-var.exp: Allow info variables to print info for files
2601 other than info-var-f1.c and info-var-f2.c.
2602
2603 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2604
2605 * gdb.fortran/info-types.exp: Add module.
2606 * gdb.fortran/info-types.f90: Update expected results.
2607
2608 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2609
2610 * gdb.fortran/info-types.exp: New file.
2611 * gdb.fortran/info-types.f90: New file.
2612 * lib/fortran.exp (fortran_character1): New proc.
2613
2614 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2615
2616 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2617 functions'. Reindent as needed.
2618 * gdb.base/info-var-f1.c: New file.
2619 * gdb.base/info-var-f2.c: New file.
2620 * gdb.base/info-var.exp: New file.
2621 * gdb.base/info-var.h: New file.
2622
2623 2019-08-26 Tom de Vries <tdevries@suse.de>
2624
2625 PR c++/24852
2626 * gdb.cp/no-libstdcxx-probe.exp: New test.
2627
2628 2019-08-26 Tom de Vries <tdevries@suse.de>
2629
2630 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2631 * tests need to be skipped.
2632 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2633 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2634 mi_skip_libstdcxx_probe_tests.
2635
2636 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2637
2638 * gdb.python/py-xmethods.exp: Use raw strings when passing
2639 arguments to SimpleXMethodMatcher.
2640
2641 2019-08-22 Tom de Vries <tdevries@suse.de>
2642
2643 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2644 more informative.
2645
2646 2019-08-21 Pedro Alves <palves@redhat.com>
2647
2648 * gdb.base/with.exp: Test "with" with no arguments.
2649
2650 2019-08-21 Tom de Vries <tdevries@suse.de>
2651
2652 * gdb.base/gdb-caching-proc.exp: Sort files.
2653
2654 2019-08-20 Tom de Vries <tdevries@suse.de>
2655
2656 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2657 compilation.
2658
2659 2019-08-16 Tom de Vries <tdevries@suse.de>
2660
2661 * gdb.base/compare-sections.exp ("after run to main"): Allow
2662 mismatched read-only sections for PIE executables.
2663
2664 2019-08-16 Tom Tromey <tom@tromey.com>
2665
2666 * lib/tuiterm.exp (_csi_Z): New proc.
2667 * gdb.tui/basic.exp: Update window positions.
2668 * gdb.tui/empty.exp: Update window positions.
2669
2670 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2671
2672 * gdb.base/examine-backward.exp: Correct regexp for
2673 "examine 3 bytes backward from ${address_zero}".
2674
2675 2019-08-15 Tom Tromey <tom@tromey.com>
2676
2677 * gdb.tui/empty.exp: Enable resizing tests.
2678
2679 2019-08-15 Tom Tromey <tromey@adacore.com>
2680
2681 * gdb.ada/char_enum.exp: Add regression tests.
2682 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2683 and '0'.
2684 (Char, Gchar): Update.
2685 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2686
2687 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2688
2689 * gdb.python/python.exp: Expect a leading underscore on
2690 GdbOutput{,Error}File.
2691
2692 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2693
2694 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2695 Windows host.
2696
2697 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2698
2699 * gdb.base/batch-preserve-term-settings.exp
2700 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2701
2702 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2703
2704 * lib/gdb.exp: When running on a mingw target, replace
2705 /x/ with x:/.
2706
2707 2019-08-14 Alan Hayward <alan.hayward@arm.com>
2708
2709 * gdb.arch/aarch64-prologue.c: New test.
2710 * gdb.arch/aarch64-prologue.exp: New file.
2711
2712 2019-08-13 Tom de Vries <tdevries@suse.de>
2713
2714 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2715 Thread.
2716
2717 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2718
2719 * gdb.python/py-completion.exp: Download the .py file to the host
2720 and use its host pathname. Conditionalize tests that use
2721 tab completion and manipulate files on the build machine.
2722 * gdb.python/py-events.exp: Download the .py file to the host
2723 and use its host pathname.
2724 * gdb.python/py-evsignal.exp: Likewise.
2725 * gdb.python/py-evthreads.exp: Likewise.
2726 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2727 pathname syntax.
2728 * gdb.python/py-framefilter.exp: Download the .py file to the right
2729 place on the host. Match Windows pathname syntax.
2730 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2731 .py file to the host and use its host pathname.
2732 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2733 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2734 build pathname. Skip symlink test on Windows host. Add missing
2735 newline at end of file.
2736 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2737 and use its host pathname.
2738 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2739 * gdb.python/py-section-script.exp: Use host location of binfile
2740 on safe-path. Use correct path separator on Windows host.
2741 Reorder alternatives in gdb_test_multiple to prevent matching
2742 the wrong alternative on success.
2743 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2744
2745 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2746
2747 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2748 expect the GDB inferior to no longer immediately stop after
2749 being resumed with "signal SIGINT".
2750
2751 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2752
2753 * gdb.linespec/break-ask.exp: Generalize regexps to match
2754 Windows pathnames too.
2755
2756 2019-08-08 Tom de Vries <tdevries@suse.de>
2757
2758 PR testsuite/24862
2759 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2760
2761 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2762
2763 * gdb.base/style.exp: Update tests for help doc new invariants.
2764 * gdb.base/help.exp: Likewise.
2765
2766 2019-08-06 Tom Tromey <tom@tromey.com>
2767
2768 * gdb.base/style.exp: Add disassemble test.
2769 * gdb.base/style.c (some_called_function): New function.
2770 (main): Use it.
2771
2772 2019-08-05 Christian Biesinger <cbiesinger@google.com>
2773
2774 * gdb.python/py-block.exp: Test dictionary access on blocks.
2775
2776 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
2777
2778 PR gdb/24863
2779 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2780 -list-thread-groups --available test when running under
2781 check-read1.
2782
2783 2019-08-05 Tom de Vries <tdevries@suse.de>
2784
2785 PR testsuite/24863
2786 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2787 * gdb.base/help.exp: Use with_read1_timeout_factor.
2788 * gdb.base/info-macros.exp: Same.
2789 * gdb.cp/nested-types.exp: Same.
2790
2791 2019-08-05 Tom de Vries <tdevries@suse.de>
2792
2793 * lib/gdb.exp (version_at_least): Factor out of ...
2794 (tcl_version_at_least): ... here.
2795 (gdb_compile): Fail if pie results in non-PIE executable.
2796 (readelf_version, readelf_prints_pie): New proc.
2797 (exec_is_pie): Return -1 if unknown.
2798
2799 2019-08-05 Tom de Vries <tdevries@suse.de>
2800
2801 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2802
2803 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2804
2805 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2806
2807 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2808
2809 * lib/completion-support.exp (test_gdb_complete_none): Skip
2810 tab completion tests if no readline support.
2811 (test_gdb_complete_unique_re): Likewise.
2812 (test_gdb_complete_multiple): Likewise.
2813
2814 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2815
2816 * gdb.base/info_sources.exp: New file.
2817 * gdb.base/info_sources.c: New file.
2818 * gdb.base/info_sources_base.c: New file.
2819
2820 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2821
2822 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2823 prefix argument.
2824 (test_exit_status): Add prefix argument.
2825
2826 2019-08-01 Tom de Vries <tdevries@suse.de>
2827
2828 PR testsuite/24863
2829 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2830 calling exp_continue for new thread and thread exited messages.
2831
2832 2019-08-01 Tom de Vries <tdevries@suse.de>
2833
2834 PR testsuite/24863
2835 * gdb.base/structs.exp: Fix check-read1 timeout using
2836 gdb_test_sequence.
2837 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2838
2839 2019-08-01 Tom de Vries <tdevries@suse.de>
2840
2841 PR testsuite/24863
2842 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2843 line.
2844
2845 2019-08-01 Tom de Vries <tdevries@suse.de>
2846
2847 PR testsuite/24863
2848 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2849
2850 2019-07-30 Tom Tromey <tromey@adacore.com>
2851
2852 * gdb.ada/display_nested.exp: New file.
2853 * gdb.ada/display_nested/foo.adb: New file.
2854 * gdb.ada/display_nested/pack.adb: New file.
2855 * gdb.ada/display_nested/pack.ads: New file.
2856
2857 2019-07-30 Christian Biesinger <cbiesinger@google.com>
2858
2859 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2860 namespace.
2861 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2862
2863 2019-07-30 Tom de Vries <tdevries@suse.de>
2864
2865 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2866 instead.
2867
2868 2019-07-30 Tom de Vries <tdevries@suse.de>
2869
2870 PR testsuite/24834
2871 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2872 (exec_is_pie): New proc.
2873
2874 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2875
2876 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2877
2878 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2879
2880 * gdb.python/py-objfile.c: Add global and static vars.
2881 * gdb.python/py-objfile.exp: Test new functions Objfile.
2882 lookup_global_symbol and lookup_static_symbol.
2883
2884 2019-07-29 Tom Tromey <tom@tromey.com>
2885
2886 * lib/tuiterm.exp (Term::_csi_@): New proc.
2887 (Term::_csi_X): Don't move cursor.
2888
2889 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2890
2891 * gdb.base/options.exp: Update backtrace - completion to
2892 new option -frame-info.
2893 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2894 Test new 'set print frame-info'. Test backtrace -frame-info
2895 overriding 'set print frame-info'.
2896 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2897 Test new 'set print frame-info'.
2898 Verify consistency of backtrace with and without filters, with and
2899 without -no-filters.
2900 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2901 default.
2902
2903 2019-07-29 Tom de Vries <tdevries@suse.de>
2904
2905 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2906 no arguments".
2907
2908 2019-07-29 Tom de Vries <tdevries@suse.de>
2909
2910 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2911 is a substring of the first for "complete non-unique file name".
2912
2913 2019-07-29 Tom de Vries <tdevries@suse.de>
2914
2915 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2916 with ".*".
2917
2918 2019-07-29 Tom de Vries <tdevries@suse.de>
2919
2920 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2921 Pass prompt_regexp parameter to gdb_test_multiple calls.
2922
2923 2019-07-29 Tom de Vries <tdevries@suse.de>
2924
2925 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2926 print registers" regexps.
2927
2928 2019-07-29 Tom de Vries <tdevries@suse.de>
2929
2930 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2931
2932 2019-07-29 Tom de Vries <tdevries@suse.de>
2933
2934 PR gdb/24855
2935 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2936 (skip_python_tests_prompt): Add prompt_regexp argument to
2937 gdb_test_multiple calls.
2938
2939 2019-07-27 Tom Tromey <tom@tromey.com>
2940
2941 * gdb.tui/main.exp: New file.
2942
2943 2019-07-27 Tom Tromey <tom@tromey.com>
2944
2945 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2946 optional.
2947 * gdb.tui/empty.exp: New file.
2948
2949 2019-07-27 Tom Tromey <tom@tromey.com>
2950
2951 * lib/tuiterm.exp (spawn): New proc.
2952 (Term::resize): New proc.
2953 * gdb.tui/resize.exp: New file.
2954
2955 2019-07-27 Tom Tromey <tom@tromey.com>
2956
2957 * gdb.tui/list.exp: New file.
2958
2959 2019-07-27 Tom Tromey <tom@tromey.com>
2960
2961 * gdb.tui/regs.exp: New file.
2962
2963 2019-07-27 Tom Tromey <tom@tromey.com>
2964
2965 * gdb.tui/basic.exp: Add "layout split" test.
2966
2967 2019-07-27 Tom Tromey <tom@tromey.com>
2968
2969 * gdb.tui/basic.exp: Add "layout asm" test.
2970
2971 2019-07-27 Tom Tromey <tom@tromey.com>
2972
2973 * lib/tuiterm.exp: New file.
2974 * gdb.tui/basic.exp: New file.
2975
2976 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2977
2978 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2979 Enable tests associated with this flag. Adjust regex
2980 referencing "foo_low" to now refer to "foo_cold" instead.
2981
2982 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2983
2984 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2985 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2986 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2987 foo_cold. Revise comments to match.
2988 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2989 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2990 were wrapped into this proc; Call do_test in loop from outermost
2991 level.
2992 (foo_low): Rename all occurrences to "foo_cold".
2993 (backtrace from baz): New test.
2994 (x2/i foo_cold): New test.
2995 (info line *foo_cold): New test.
2996
2997 2019-07-26 Tom de Vries <tdevries@suse.de>
2998
2999 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3000
3001 2019-07-25 Tom de Vries <tdevries@suse.de>
3002
3003 PR testsuite/24830
3004 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3005 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3006 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3007 (skip_libstdcxx_probe_tests): ... here.
3008 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3009
3010 2019-07-24 Tom de Vries <tdevries@suse.de>
3011
3012 PR testsuite/24807
3013 * gdb.objc/basicclass.m: Include stdio.h.
3014 * gdb.objc/nondebug.m: Same.
3015 * gdb.objc/objcdecode.m: Same.
3016
3017 2019-07-24 Tom de Vries <tdevries@suse.de>
3018
3019 PR testsuite/24612
3020 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3021 additional_flags.
3022
3023 2019-07-24 Tom de Vries <tdevries@suse.de>
3024
3025 PR testsuite/24831
3026 * gdb.multi/tids.exp: Update error messages for info threads.
3027
3028 2019-07-24 Tom de Vries <tdevries@suse.de>
3029
3030 * gdb.base/info-types.exp: Allow info types to print info for more than
3031 one file.
3032
3033 2019-07-23 Tom de Vries <tdevries@suse.de>
3034
3035 PR testsuite/24842
3036 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3037 gdb_spawn_with_cmdline_opts.
3038
3039 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3040
3041 * gdb.arch/arm-cmse-sgstubs.c: New test.
3042 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3043
3044 2019-07-23 Tom de Vries <tdevries@suse.de>
3045
3046 PR testsuite/24711
3047 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3048 issuing next command.
3049
3050 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3051
3052 * gdb.ada/info_auto_lang.exp: Update expected results.
3053 * gdb.base/info-types.c: Add additional types to check.
3054 * gdb.base/info-types.exp: Update expected results.
3055
3056 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3057
3058 * gdb.base/info-types.c: New file.
3059 * gdb.base/info-types.exp: New file.
3060
3061 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3062
3063 * gdb.arch/riscv-bp-infcall.c: New file.
3064 * gdb.arch/riscv-bp-infcall.exp: New file.
3065
3066 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3067
3068 PR breakpoints/24541
3069 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3070
3071 2019-07-14 Tom de Vries <tdevries@suse.de>
3072
3073 PR testsuite/24760
3074 * gdb.objc/basicclass.exp: Fix unterminated string.
3075
3076 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3077 Andrew Burgess <andrew.burgess@embecosm.com>
3078
3079 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3080 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3081 negative bounds.
3082 * gdb.fortran/vla-value.exp: Print elements of an array with
3083 negative bounds.
3084 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3085 testing.
3086
3087 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3088
3089 * gdb.base/options.exp (expect_string): Dequote strings in
3090 results.
3091 (test-string): Test strings with different quoting and reindent.
3092
3093 2019-07-10 Tom Tromey <tromey@adacore.com>
3094
3095 * gdb.ada/mi_ex_cond.exp: Update expected results.
3096 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3097 * gdb.ada/mi_catch_ex.exp: Update expected results.
3098 * gdb.ada/mi_catch_assert.exp: Update expected results.
3099 * gdb.ada/catch_ex.exp (catch_exception_info)
3100 (catch_exception_entry, catch_assert_entry)
3101 (catch_unhandled_entry): Update.
3102 * gdb.ada/catch_assert_if.exp: Update expected results.
3103
3104 2019-07-10 Richard Bunt <richard.bunt@arm.com>
3105 Stephen Roberts <stephen.roberts@arm.com>
3106
3107 * gdb.base/define.exp: Restore original prompt.
3108
3109 2019-07-09 Pedro Alves <palves@redhat.com>
3110
3111 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3112 breakpoints" output.
3113 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3114 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3115 throw" creates breakpoint.
3116 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3117 'type="catchpoint"'.
3118
3119 2019-07-09 Pedro Alves <palves@redhat.com>
3120
3121 PR c++/15468
3122 * gdb.cp/except-multi-location-lib.cc: New.
3123 * gdb.cp/except-multi-location-main.cc: New.
3124 * gdb.cp/except-multi-location.exp: New.
3125
3126 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3127
3128 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3129 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3130 argument and update callers.
3131
3132 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3133
3134 * gdb.arch/amd64-break-on-asm-line.S: New file.
3135 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3136
3137 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3138
3139 * gdb.base/printcmds.exp: Test printing C string and
3140 C wide string convenience vars without transiting via the inferior.
3141 Also make test names unique.
3142
3143 2019-07-08 Alan Hayward <alan.hayward@arm.com>
3144
3145 PR breakpoints/25011
3146 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3147
3148 2019-07-04 Pedro Alves <palves@redhat.com>
3149
3150 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3151 body returned ok(0), break(3) or continue(4).
3152 * gdb.testsuite/foreach_with_prefix.exp: New file.
3153
3154 2019-07-04 Alan Hayward <alan.hayward@arm.com>
3155
3156 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3157
3158 2019-07-03 Pedro Alves <palves@redhat.com>
3159
3160 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3161 "return -code".
3162
3163 2019-07-03 Pedro Alves <palves@redhat.com>
3164
3165 PR cli/24732
3166 * gdb.base/shell.exp: Load completion-support.exp.
3167 Adjust expected error output. Add completion tests.
3168
3169 2019-07-03 Pedro Alves <palves@redhat.com>
3170
3171 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3172 string_to_regexp.
3173
3174 2019-07-03 Pedro Alves <palves@redhat.com>
3175
3176 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3177 (expect_integer): Adjust to expect "-string".
3178 (expect_string): New.
3179 (all_options): Expect "-string".
3180 (test-flag, test-boolean): Adjust to expect "-string".
3181 (test-string): New proc.
3182 (top level): Call it.
3183
3184 2019-07-03 Pedro Alves <palves@redhat.com>
3185
3186 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3187 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3188 the expected output in the success.
3189
3190 2019-07-03 Pedro Alves <palves@redhat.com>
3191
3192 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3193 Split one gdb_test_multiple call in two to avoid a race.
3194
3195 2019-07-03 Pedro Alves <palves@redhat.com>
3196
3197 * gdb.base/with.c: New file.
3198 * gdb.base/with.exp: New file.
3199
3200 2019-07-03 Pedro Alves <palves@redhat.com>
3201
3202 * gdb.base/settings.exp: Replace all references to "maint
3203 test-settings set" with references to "maint set test-settings",
3204 and all references to "maint test-settings show" with references
3205 to "maint show test-settings".
3206
3207 2019-07-03 Pedro Alves <palves@redhat.com>
3208
3209 * gdb.base/settings.exp (test-string): Adjust expected out when
3210 testing "maint test-settings show filename"
3211
3212 2019-07-02 Pedro Alves <palves@redhat.com>
3213
3214 * gdb.base/options.exp (test-info-threads): New procedure.
3215 (top level): Call it.
3216
3217 2019-06-28 Tom Tromey <tromey@adacore.com>
3218
3219 * gdb.dwarf2/ada-linkage-name.c: New file.
3220 * gdb.dwarf2/ada-linkage-name.exp: New file.
3221
3222 2019-06-27 Tom Tromey <tromey@adacore.com>
3223
3224 PR c++/20020:
3225 * gdb.cp/constexpr-field.exp: Use setup_xfail.
3226
3227 2019-06-26 Tom de Vries <tdevries@suse.de>
3228
3229 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
3230
3231 2019-06-26 Tom de Vries <tdevries@suse.de>
3232
3233 * gdb.base/index-cache.exp: Add back missing debug option.
3234
3235 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3236
3237 * gdb.base/alias.exp: Test non matching/non existing prefixes.
3238
3239 2019-06-25 Tom de Vries <tdevries@suse.de>
3240
3241 PR testsuite/24727
3242 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
3243
3244 2019-06-24 Tom de Vries <tdevries@suse.de>
3245
3246 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
3247
3248 2019-06-24 Tom de Vries <tdevries@suse.de>
3249
3250 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
3251 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
3252 * gdb.trace/unavailable-dwarf-piece.exp: Same.
3253
3254 2019-06-24 Tom de Vries <tdevries@suse.de>
3255
3256 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
3257
3258 2019-06-21 Tom de Vries <tdevries@suse.de>
3259
3260 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
3261
3262 2019-06-21 Tom de Vries <tdevries@suse.de>
3263
3264 PR testsuite/24518
3265 PR ada/24713
3266 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
3267 index.
3268
3269 2019-06-19 Tom Tromey <tromey@adacore.com>
3270
3271 * gdb.ada/length_cond.exp: Add intro comment.
3272
3273 2019-06-19 Tom Tromey <tromey@adacore.com>
3274
3275 * gdb.ada/length_cond.exp: New file.
3276 * gdb.ada/length_cond/length_cond.adb: New file.
3277 * gdb.ada/length_cond/pck.adb: New file.
3278 * gdb.ada/length_cond/pck.ads: New file.
3279
3280 2019-06-18 Tom de Vries <tdevries@suse.de>
3281
3282 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
3283
3284 2019-06-18 Tom Tromey <tromey@adacore.com>
3285
3286 * gdb.base/list0.h: Add comment explaining control character.
3287
3288 2019-06-18 Tom de Vries <tdevries@suse.de>
3289
3290 * boards/fission.exp: Break up long debug_flags line.
3291
3292 2019-06-16 Tom de Vries <tdevries@suse.de>
3293
3294 PR gdb/24445
3295 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
3296 generated index.
3297
3298 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3299
3300 PR gdb/24686
3301 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
3302 improve detection of bug gdb/24541.
3303
3304 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
3305
3306 PR gdb/24669
3307 * gdb.base/index-cache.exp (uses_readnow,
3308 expecting_index_cache_use): Define global variable.
3309 (test_cache_enabled_miss, test_cache_enabled_hit): Use
3310 expecting_index_cache_use.
3311
3312 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
3313 Andrew Burgess <andrew.burgess@embecosm.com>
3314
3315 * gdb.fortran/pointers.f90: New file.
3316 * gdb.fortran/print_type.exp: New file.
3317 * gdb.fortran/vla-ptype.exp: Adapt expected results.
3318 * gdb.fortran/vla-type.exp: Likewise.
3319 * gdb.fortran/vla-value.exp: Likewise.
3320 * gdb.mi/mi-vla-fortran.exp: Likewise.
3321
3322 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3323
3324 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
3325 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
3326 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
3327 as a stop reason.
3328
3329 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3330
3331 * gdb.base/annota1.exp: Update expected results.
3332 * gdb.cp/annota2.exp: Likewise.
3333 * gdb.cp/annota3.exp: Likewise.
3334
3335 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3336
3337 * gdb.base/style-logging.exp: Remove path from test name.
3338
3339 2019-06-14 Tom Tromey <tromey@adacore.com>
3340
3341 PR gdb/24502:
3342 * gdb.base/style-logging.exp: New file.
3343
3344 2019-06-14 Tom Tromey <tromey@adacore.com>
3345
3346 * gdb.base/symfile-warn.exp: New file.
3347 * gdb.base/symfile-warn.c: New file.
3348
3349 2019-06-14 Tom Tromey <tromey@adacore.com>
3350
3351 * gdb.base/annotate-symlink.exp: New file.
3352
3353 2019-06-14 Tom Tromey <tromey@adacore.com>
3354
3355 * gdb.ada/set_wstr.exp: Add reassignment test.
3356
3357 2019-06-14 Tom Tromey <tromey@adacore.com>
3358
3359 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
3360 'unchecked_access and 'unrestricted_access as well.
3361
3362 2019-06-14 Tom Tromey <tromey@adacore.com>
3363
3364 PR ada/24539:
3365 * gdb.ada/vla.exp: Update tests.
3366 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
3367 pragma.
3368
3369 2019-06-13 Pedro Alves <palves@redhat.com>
3370
3371 * gdb.base/settings.exp (test-integer): Test junk after
3372 "unlimited".
3373
3374 2019-06-13 Pedro Alves <palves@redhat.com>
3375
3376 * gdb.base/options.exp (test-thread-apply): New.
3377 (top level): Call it.
3378
3379 2019-06-13 Pedro Alves <palves@redhat.com>
3380
3381 * gdb.base/options.exp (test-frame-apply): New.
3382 (top level): Test print commands with different "frame apply"
3383 prefixes.
3384
3385 2019-06-13 Pedro Alves <palves@redhat.com>
3386
3387 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
3388 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
3389 'max_completions' parameter and handle it.
3390 (test_gdb_completion_offers_commands): New.
3391
3392 2019-06-13 Pedro Alves <palves@redhat.com>
3393
3394 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
3395
3396 2019-06-13 Pedro Alves <palves@redhat.com>
3397
3398 * gdb.base/options.exp (test-backtrace): New.
3399 (top level): Call it.
3400
3401 2019-06-13 Pedro Alves <palves@redhat.com>
3402
3403 * gdb.guile/scm-frame-args.exp: Use "set print
3404 raw-frame-arguments" instead of "set print raw frame-arguments".
3405 * gdb.python/py-frame-args.exp: Likewise.
3406
3407 2019-06-13 Pedro Alves <palves@redhat.com>
3408
3409 * gdb.compile/compile.exp: Adjust expected output to option
3410 processing changes.
3411
3412 2019-06-13 Pedro Alves <palves@redhat.com>
3413
3414 * gdb.base/options.exp: Build executable.
3415 (test-print): New procedure.
3416 (top level): Call it, once for "print" and another for "compile
3417 print".
3418
3419 2019-06-13 Pedro Alves <palves@redhat.com>
3420
3421 * gdb.base/options.c: New file.
3422 * gdb.base/options.exp: New file.
3423
3424 2019-06-13 Pedro Alves <palves@redhat.com>
3425
3426 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
3427 that "o" is ambiguous.
3428
3429 2019-06-13 Pedro Alves <palves@redhat.com>
3430
3431 * gdb.base/settings.c: New file.
3432 * gdb.base/settings.exp: New file.
3433
3434 2019-06-13 Pedro Alves <palves@redhat.com>
3435
3436 * gdb.base/completion.exp: Fix comment typo.
3437
3438 2019-06-13 Pedro Alves <palves@redhat.com>
3439
3440 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
3441 foo --1" test.
3442
3443 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
3444
3445 * gdb.fortran/block-data.f: New.
3446 * gdb.fortran/block-data.exp: New.
3447
3448 2019-06-11 Tom de Vries <tdevries@suse.de>
3449
3450 PR testsuite/24521
3451 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
3452 message.
3453
3454 2019-06-11 Tom de Vries <tdevries@suse.de>
3455
3456 PR testsuite/24521
3457 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
3458
3459 2019-06-11 Tom de Vries <tdevries@suse.de>
3460
3461 * boards/readnow.exp: New file.
3462
3463 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
3464
3465 * gdb.fortran/vla-sizeof.exp: Update expected results.
3466
3467 2019-06-06 Amos Bird <amosbird@gmail.com>
3468
3469 * gdb.base/annota1.exp (thread_switch): Add test for
3470 thread-exited annotation.
3471
3472 2019-06-06 Tom Tromey <tromey@adacore.com>
3473
3474 * gdb.base/maint.exp: Expect command started/finished output.
3475
3476 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3477
3478 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
3479 comment.
3480 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
3481
3482 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3483
3484 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
3485 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
3486 * gdb.arch/riscv-unwind-long-insn.c: New file.
3487 * gdb.arch/riscv-unwind-long-insn.exp: New file.
3488
3489 2019-06-04 Christian Biesinger <cbiesinger@google.com>
3490
3491 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
3492
3493 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3494
3495 * lib/gdb.exp (help_list_trailer): New regexp variable
3496 factorizing the help trailer message.
3497 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3498 arg to allow to better factorize various tests.
3499 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3500 (test_prefix_command_help): Use help_list_trailer.
3501 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3502 * gdb.guile/scm-cmd.exp: Likewise.
3503 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3504 * gdb.base/help.exp: Use test_user_defined_class_help.
3505 * gdb.base/style.exp: Add tests for styling of help and apropos.
3506 * lib/gdb-utils.exp (style): Add title and highlight styles.
3507
3508 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3509
3510 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3511 $_shell_exitsignal.
3512 * gdb.base/default.exp: Update for new convenience variables.
3513
3514 2019-05-29 Tom Tromey <tromey@adacore.com>
3515
3516 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3517 to "break complete ada" test case's regexp.
3518
3519 2019-05-29 Tom Tromey <tromey@adacore.com>
3520
3521 PR c++/20020:
3522 * gdb.cp/constexpr-field.exp: New file.
3523 * gdb.cp/constexpr-field.cc: New file.
3524
3525 2019-05-29 Tom Tromey <tromey@adacore.com>
3526
3527 * gdb.base/finish.exp (finish_no_print): New proc.
3528 (finish_tests): Call it.
3529
3530 2019-05-24 Tom de Vries <tdevries@suse.de>
3531
3532 * gdb.dwarf2/gdb-add-index.exp: New file.
3533
3534 2019-05-22 Tom Tromey <tromey@adacore.com>
3535
3536 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3537 * gdb.base/style.exp: Use "style".
3538 * lib/gdb-utils.exp (style): New proc.
3539
3540 2019-05-22 Tom de Vries <tdevries@suse.de>
3541
3542 * gdb.base/align.exp: Require c++11.
3543
3544 2019-05-22 Tom de Vries <tdevries@suse.de>
3545
3546 PR testsuite/24586
3547 * gdb.python/py-mi-var-info-path-expression.exp: Call
3548 mi_skip_python_tests to check if python is supported.
3549
3550 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3551
3552 * gdb.arch/aarch64-pauth.c: New test.
3553 * gdb.arch/aarch64-pauth.exp: New file.
3554
3555 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3556
3557 * README (Re-running Tests Outside The Testsuite): New section.
3558
3559 2019-05-21 Tom de Vries <tdevries@suse.de>
3560
3561 * gdb.arch/amd64-eval.exp: Require c++11.
3562 * gdb.base/max-depth.exp: Same.
3563 * gdb.compile/compile-cplus-array-decay.exp: Same.
3564 * gdb.cp/meth-typedefs.exp: Same.
3565 * gdb.cp/subtypes.exp: Same.
3566 * gdb.cp/temargs.exp: Same.
3567
3568 2019-05-21 Alan Hayward <alan.hayward@arm.com>
3569
3570 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3571
3572 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3573
3574 PR gdb/18644
3575 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3576 * gdb.fortran/printing-types.exp: Add new test.
3577 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3578 testing.
3579 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3580 setup_kfail call.
3581
3582 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3583
3584 * README (Running the Testsuite): Change example.
3585 (Testsuite Parameters): Remove TRANSCRIPT.
3586 * lib/gdb.exp: Remove TRANSCRIPT check.
3587
3588 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3589
3590 * README (Testsuite Parameters): Add replay logging to
3591 GDBSERVER_DEBUG.
3592 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3593 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3594 as a comma separated list.
3595 (gdb_debug_init): Override procedure.
3596
3597 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3598
3599 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3600 (gdb_write_cmd_file): New procedure.
3601 * lib/gdbserver-support.exp (gdbserver_start): Call
3602 gdbserver_write_cmd_file.
3603 (gdbserver_write_cmd_file): New procedure.
3604
3605 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3606
3607 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3608 (delete_breakpoints): Likewise.
3609 (gdb_run_cmd): Likewise.
3610 (gdb_start_cmd): Likewise.
3611 (gdb_starti_cmd): Likewise.
3612 (gdb_internal_error_resync): Likewise.
3613 (gdb_test_multiple): Likewise.
3614 (gdb_reinitialize_dir): Likewise.
3615 (default_gdb_exit): Likewise.
3616 (gdb_file_cmd): Mark kill as optional.
3617 (default_gdb_start): Call gdb_stdin_log_init.
3618 (send_gdb): Call gdb_stdin_log_write.
3619 (rerun_to_main): Mark Y as an answer.
3620 (gdb_stdin_log_init): New function.
3621 (gdb_stdin_log_write): Likewise.
3622
3623 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3624
3625 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3626 * gdb.base/debug-expr.exp: Likewise.
3627 * gdb.base/foll-fork.exp: Likewise.
3628 * gdb.base/foll-vfork.exp: Likewise.
3629 * gdb.base/fork-print-inferior-events.exp: Likewise.
3630 * gdb.base/gdb-sigterm.exp: Likewise.
3631 * gdb.base/gdbinit-history.exp: Likewise.
3632 * gdb.base/osabi.exp: Likewise.
3633 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3634 * gdb.base/ui-redirect.exp: Likewise.
3635 * gdb.gdb/unittest.exp: Likewise.
3636 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3637 * gdb.mi/mi-watch.exp: Likewise.
3638 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3639 * gdb.mi/user-selected-context-sync.exp: Likewise.
3640 * gdb.python/python.exp: Disable debug test when debugging.
3641 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3642 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3643 Likewise.
3644 * gdb.threads/stepi-random-signal.exp: Likewise.
3645
3646 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3647
3648 * Makefile.in: Pass through GDB_DEBUG.
3649 * README (Testsuite Parameters): Add GDB_DEBUG.
3650 (gdb,debug): Add board setting.
3651 * lib/gdb.exp (default_gdb_start): Start debugging.
3652 (gdb_debug_enabled): New procedure.
3653 (gdb_debug_init): Likewise.
3654
3655 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3656
3657 * Makefile.in: Pass through GDB_DEBUG.
3658 * README (Testsuite Parameters): Add GDB_DEBUG.
3659 (gdb,debug): Add board setting.
3660 * lib/gdb.exp (default_gdb_start): Start debugging.
3661 (gdb_debug_enabled): New procedure.
3662 (gdb_debug_init): Likewise.
3663
3664 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3665
3666 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3667
3668 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3669
3670 * gdb.base/ui-redirect.exp: Test redirection.
3671
3672 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3673
3674 * gdb.mi/mi-complete.exp: New file.
3675 * gdb.mi/mi-complete.cc: Likewise.
3676
3677 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3678
3679 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3680 indexed and sliced arrays, and pointers to arrays.
3681
3682 2019-05-14 Tom Tromey <tromey@adacore.com>
3683
3684 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3685 styling test.
3686
3687 2019-05-14 Tom de Vries <tdevries@suse.de>
3688
3689 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3690 selection entry encoding.
3691
3692 2019-05-10 Tom Tromey <tromey@adacore.com>
3693
3694 * gdb.ada/info_exc.exp: Add "complete" test.
3695
3696 2019-05-09 Tom de Vries <tdevries@suse.de>
3697
3698 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3699 CU-relative.
3700
3701 2019-05-09 Tom de Vries <tdevries@suse.de>
3702
3703 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3704 CU-relative.
3705
3706 2019-05-08 Joel Brobecker <brobecker@adacore.com>
3707
3708 * gdb.ada/frame_arg_lang.exp: New testcase.
3709 * gdb.ada/frame_arg_lang/bla.adb: New file.
3710 * gdb.ada/frame_arg_lang/pck.ads: New file.
3711 * gdb.ada/frame_arg_lang/pck.adb: New file.
3712 * gdb.ada/frame_arg_lang/foo.c: New file.
3713
3714 2019-05-08 Tom Tromey <tromey@adacore.com>
3715
3716 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3717
3718 2019-05-08 Tom Tromey <tromey@adacore.com>
3719
3720 * gdb.base/ptype-offsets.exp: Update tests.
3721
3722 2019-05-08 Tom Tromey <tromey@adacore.com>
3723
3724 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3725 cases.
3726 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3727 "short".
3728
3729 2019-05-08 Tom Tromey <tromey@adacore.com>
3730
3731 * gdb.ada/vla.exp: New file.
3732 * gdb.ada/vla/vla.adb: New file.
3733
3734 2019-05-07 Tom de Vries <tdevries@suse.de>
3735
3736 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3737
3738 2019-05-07 Tom de Vries <tdevries@suse.de>
3739
3740 PR testsuite/24522
3741 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3742 section.
3743
3744 2019-05-07 Tom de Vries <tdevries@suse.de>
3745
3746 PR testsuite/24522
3747 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3748 .debug_aranges section.
3749
3750 2019-05-07 Tom de Vries <tdevries@suse.de>
3751
3752 PR testsuite/24159
3753 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3754
3755 2019-05-06 Tom de Vries <tdevries@suse.de>
3756
3757 * lib/gdb.exp (exec_has_index_section): New proc.
3758 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3759 section.
3760
3761 2019-05-04 Tom de Vries <tdevries@suse.de>
3762
3763 * boards/cc-with-debug-names.exp: New file.
3764
3765 2019-05-03 Tom Tromey <tromey@adacore.com>
3766
3767 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3768 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3769 * gdb.ada/char_enum.exp: Add test.
3770
3771 2019-05-03 Tom de Vries <tdevries@suse.de>
3772
3773 * boards/cc-with-gdb-index.exp: New file.
3774
3775 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3776
3777 * gdb.rust/simple.exp: Add new test case.
3778 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3779 (main): Initialise an instance of the new struct.
3780
3781 2019-05-01 Tom Tromey <tromey@adacore.com>
3782
3783 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3784 record.
3785 (NPR): New variable.
3786 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3787 test.
3788
3789 2019-05-01 Tom Tromey <tromey@adacore.com>
3790
3791 * gdb.ada/packed_array_assign.exp: Add packed assignment
3792 regression test.
3793
3794 2019-05-01 Tom de Vries <tdevries@suse.de>
3795
3796 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3797
3798 2019-05-01 Tom de Vries <tdevries@suse.de>
3799
3800 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3801
3802 2019-04-30 Ali Tamur <tamur@google.com>
3803
3804 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3805
3806 2019-04-30 Tom Tromey <tromey@adacore.com>
3807
3808 * lib/ada.exp (find_ada_tool): New proc.
3809 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3810 * gdb.ada/catch_ex_std.exp: New file.
3811 * gdb.ada/catch_ex_std/foo.adb: New file.
3812 * gdb.ada/catch_ex_std/some_package.adb: New file.
3813 * gdb.ada/catch_ex_std/some_package.ads: New file.
3814
3815 2019-04-30 Tom Tromey <tromey@adacore.com>
3816
3817 PR c++/24470:
3818 * gdb.cp/temargs.cc: Add test code from PR.
3819
3820 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3821
3822 * gdb.fortran/vla-datatypes.exp: Update expected results.
3823 * gdb.fortran/vla-ptype.exp: Likewise.
3824 * gdb.fortran/vla-type.exp: Likewise.
3825 * gdb.fortran/vla-value.exp: Likewise.
3826
3827 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3828
3829 * gdb.fortran/ptr-indentation.exp: Update expected results.
3830 * gdb.fortran/ptype-on-functions.exp: Likewise.
3831 * gdb.fortran/vla-ptr-info.exp: Likewise.
3832 * gdb.fortran/vla-value.exp: Likewise.
3833
3834 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3835
3836 * gdb.fortran/ptype-on-functions.exp: New file.
3837 * gdb.fortran/ptype-on-functions.f90: New file.
3838
3839 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3840
3841 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3842 case void string.
3843
3844 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3845
3846 * gdb.fortran/complex.exp: Expand.
3847 * gdb.fortran/complex.f: Renamed to...
3848 * gdb.fortran/complex.f90: ...this, and extended to add more
3849 complex values.
3850
3851 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3852
3853 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3854 MODULO, CMPLX.
3855
3856 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3857 Richard Bunt <richard.bunt@arm.com>
3858
3859 * gdb.base/max-depth.c: New file.
3860 * gdb.base/max-depth.exp: New file.
3861 * gdb.python/py-nested-maps.c: New file.
3862 * gdb.python/py-nested-maps.exp: New file.
3863 * gdb.python/py-nested-maps.py: New file.
3864 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3865 (test_all_common): Call test_max_depth.
3866 * gdb.fortran/max-depth.exp: New file.
3867 * gdb.fortran/max-depth.f90: New file.
3868 * gdb.go/max-depth.exp: New file.
3869 * gdb.go/max-depth.go: New file.
3870 * gdb.modula2/max-depth.exp: New file.
3871 * gdb.modula2/max-depth.c: New file.
3872 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3873
3874 2019-04-29 Tom de Vries <tdevries@suse.de>
3875
3876 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3877
3878 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3879
3880 * gdb.base/callexit.exp: Test may-call-functions off.
3881
3882 2019-04-25 Keith Seitz <keiths@redhat.com>
3883
3884 PR c++/24367
3885 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3886 (another_incomplete_struct, test_incomplete): New definitions.
3887 (main): Use new definitions.
3888 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3889 functions.
3890
3891 2019-04-25 Ali Tamur <tamur@google.com>
3892
3893 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3894
3895 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3896
3897 PR corefiles/11608
3898 PR corefiles/18187
3899 * gdb.base/coredump-filter-build-id.exp: New file.
3900
3901 2019-04-25 Alan Hayward <alan.hayward@arm.com>
3902
3903 * Makefile.in: Pass through GDBSERVER_DEBUG.
3904 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3905 (gdbserver,debug): Add board setting.
3906 * gdb.trace/tspeed.exp: Skip when debugging.
3907 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3908 * lib/gdbserver-support.exp: Likewise
3909
3910 2019-04-24 Tom Tromey <tromey@adacore.com>
3911
3912 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3913 Rust.
3914
3915 2019-04-24 Tom Tromey <tromey@adacore.com>
3916
3917 * gdb.arch/amd64-eval.exp: Test bitfield return.
3918 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3919 (class Foo) <return_bitfields>: New method.
3920 (main): Call it.
3921
3922 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3923
3924 * gdb.cp/many-args.cc: New file.
3925 * gdb.cp/many-args.exp: New file.
3926
3927 2019-04-23 Tom de Vries <tdevries@suse.de>
3928
3929 PR gdb/24433
3930 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3931
3932 2019-04-23 Alan Hayward <alan.hayward@arm.com>
3933
3934 * gdb.trace/backtrace.exp: Use nopie flag.
3935 * gdb.trace/circ.exp: Likewise.
3936 * gdb.trace/collection.exp: Likewise.
3937 * gdb.trace/ftrace.exp: Likewise.
3938 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3939 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3940 * gdb.trace/qtro.exp: Likewise.
3941 * gdb.trace/read-memory.exp: Likewise.
3942 * gdb.trace/report.exp: Likewise.
3943 * gdb.trace/tfile.exp: Likewise.
3944 * gdb.trace/tfind.exp: Likewise.
3945 * gdb.trace/unavailable.exp: Likewise.
3946
3947 2019-04-22 Pedro Alves <palves@redhat.com>
3948
3949 * gdb.base/solib-probes-nosharedlibrary.c,
3950 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3951
3952 2019-04-19 Tom Tromey <tromey@adacore.com>
3953
3954 * gdb.ada/ptype_union.c: New file.
3955 * gdb.ada/ptype_union.exp: New file.
3956
3957 2019-04-19 Tom Tromey <tromey@adacore.com>
3958
3959 PR symtab/24423:
3960 * gdb.base/list0.h (foo): Add a control-l character.
3961
3962 2019-04-18 Tom de Vries <tdevries@suse.de>
3963
3964 PR gdb/24433
3965 * boards/local-board.exp: Set sysroot to "".
3966
3967 2019-04-18 Tom de Vries <tdevries@suse.de>
3968 Pedro Alves <palves@redhat.com>
3969
3970 PR gdb/24454
3971 * gdb.threads/vfork-follow-child-exec.c: New file.
3972 * gdb.threads/vfork-follow-child-exec.exp: New file.
3973 * gdb.threads/vfork-follow-child-exit.c: New file.
3974 * gdb.threads/vfork-follow-child-exit.exp: New file.
3975
3976 2019-04-15 Leszek Swirski <leszeks@google.com>
3977
3978 * gdb.arch/amd64-eval.cc: New file.
3979 * gdb.arch/amd64-eval.exp: New file.
3980
3981 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3982
3983 * gdb.server/sysroot.c: New test.
3984 * gdb.server/sysroot.exp: New file.
3985 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3986 matching param.
3987
3988 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3989
3990 * gdb.base/align.exp: Extend test to cover structures containing
3991 only static fields.
3992
3993 2019-04-11 Tom de Vries <tdevries@suse.de>
3994
3995 * boards/cc-with-dwz-m.exp: New file.
3996 * boards/cc-with-dwz.exp: New file.
3997 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3998
3999 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
4000
4001 * gdb.base/start-cpp.exp: New file.
4002 * gdb.base/start-cpp.cc: New file.
4003
4004 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4005
4006 * gdb.python/py-thrhandle.exp: Adjust tests to call
4007 thread_from_handle instead of thread_from_thread_handle.
4008
4009 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4010
4011 * gdb.python/py-thrhandle.exp: Add tests for
4012 gdb.InferiorThread.handle.
4013
4014 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4015
4016 * gdb.python/py-function.exp: Check calling helper function from
4017 all languages.
4018 * lib/gdb.exp (gdb_supported_languages): New proc.
4019
4020 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4021
4022 * gdb.base/complex-parts.c: New file.
4023 * gdb.base/complex-parts.exp: New file.
4024
4025 2019-04-01 Tom Tromey <tromey@adacore.com>
4026
4027 PR symtab/23331:
4028 * gdb.dwarf2/dw2-ranges-main.c: New file.
4029 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4030 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4031
4032 2019-03-30 Simon Marchi <simark@simark.ca>
4033
4034 * gdb.base/default.exp: Add values for $_gdb_major and
4035 $_gdb_minor.
4036
4037 2019-03-29 Tom Tromey <tromey@adacore.com>
4038
4039 * gdb.base/help.exp: Tighten apropos regexp.
4040
4041 2019-03-29 Keith Seitz <keiths@redhat.com>
4042
4043 * gdb.fortran/array-bounds.exp: New file.
4044 * gdb.fortran/array-bounds.f90: New file.
4045
4046 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4047
4048 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4049
4050 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4051
4052 * gdb.multi/hello.c (main): Increase alarm timer.
4053
4054 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4055
4056 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4057 factor when no hardware watchpoint support.
4058
4059 2019-03-28 Alan Hayward <alan.hayward@arm.com>
4060 Pedro Alves <palves@redhat.com>
4061
4062 * boards/local-board.exp: set sysroot to /.
4063
4064 2019-03-27 Alan Hayward <alan.hayward@arm.com>
4065
4066 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4067 in child.
4068
4069 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4070
4071 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4072 field.
4073 (make_container): Initialise new field.
4074 * gdb.python/py-prettyprint.exp: Add new tests.
4075 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4076 <display_hint>: New method.
4077
4078 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4079
4080 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4081 gdb_continue_to_breakpoint more throughout this test.
4082 (run_lang_tests) Supply unique test names, and use
4083 gdb_test_no_output.
4084
4085 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4086
4087 * gdb.base/finish-pretty.exp: Update expected results.
4088 * gdb.base/pretty-print.c: New file.
4089 * gdb.base/pretty-print.exp: New file.
4090
4091 2019-03-25 Pedro Alves <palves@redhat.com>
4092
4093 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4094 move comments outside list. Append '-i "" eof' section.
4095
4096 2019-03-22 Alan Hayward <alan.hayward@arm.com>
4097
4098 PR testsuite/25016
4099 * README: Add pie options.
4100 * gdb.base/break-interp.exp: Ensure pie is disabled.
4101 * gdb.base/dump.exp: Likewise.
4102 * lib/gdb.exp (gdb_compile): Add pie option.
4103
4104 2019-03-19 Tom Tromey <tromey@adacore.com>
4105
4106 * gdb.mi/mi2-cli-display.c: New file.
4107 * gdb.mi/mi2-cli-display.exp: New file.
4108
4109 2019-03-18 Joel Brobecker <brobecker@adacore.com>
4110 Tom Tromey <tromey@adacore.com>
4111
4112 * gdb.ada/ptype_array/pck.adb: New file.
4113 * gdb.ada/ptype_array/pck.ads: New file.
4114 * gdb.ada/ptype_array/foo.adb: New file.
4115 * gdb.ada/ptype_array.exp: New file.
4116
4117 2019-03-14 Tom Tromey <tromey@adacore.com>
4118
4119 * gdb.base/style.exp: Add "set style sources" test.
4120
4121 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4122
4123 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4124 * mi-breakpoint-multiple-locations.exp: ... this.
4125 (make_breakpoints_pattern): New proc.
4126 (do_test): Add mi_version parameter, test -break-insert,
4127 -break-info and =breakpoint-created.
4128
4129 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4130
4131 * config/default.exp: Remove 'load_lib gdb.exp'.
4132 * config/monitor.exp: Likewise.
4133 * config/sid.exp: Likewise.
4134 * config/sim.exp: Likewise.
4135 * config/slite.exp: Likewise.
4136 * config/unix.exp: Likewise.
4137 * gdb.base/default.exp: Remove unhelpful comment.
4138
4139 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4140
4141 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4142
4143 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4144
4145 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4146
4147 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4148
4149 * gdb.fortran/type-kinds.exp: Update expected results.
4150
4151 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4152
4153 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4154
4155 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4156
4157 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4158 function.
4159 (test_basic_parsing_of_type_kinds): Expand types tested.
4160 (test_parsing_invalid_type_kinds): New function.
4161
4162 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4163
4164 * gdb.fortran/intrinsics.exp: New file.
4165 * gdb.fortran/intrinsics.f90: New file.
4166 * gdb.fortran/type-kinds.exp: New file.
4167
4168 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4169
4170 * gdb.fortran/dot-ops.exp: New file.
4171
4172 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4173
4174 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4175 Check upper and lower case logical literals.
4176
4177 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4178
4179 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4180 Remove duplicate tests.
4181
4182 2019-03-06 Alan Hayward <alan.hayward@arm.com>
4183
4184 * lib/gdb.exp (builtin_cd): rename of cd.
4185 (cd): Override builtin.
4186
4187 2019-03-06 Richard Bunt <richard.bunt@arm.com>
4188
4189 * gdb.fortran/function-calls.exp: New file.
4190 * gdb.fortran/function-calls.f90: New test.
4191
4192 2019-03-04 Richard Bunt <richard.bunt@arm.com>
4193
4194 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
4195 on user program standard output.
4196 * gdb.fortran/short-circuit-argument-list.f90: Record function
4197 calls.
4198
4199 2019-02-28 Alan Hayward <alan.hayward@arm.com>
4200
4201 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
4202 failure.
4203
4204 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4205
4206 PR gdb/8527
4207 * gdb.base/interrupt-daemon-attach.c,
4208 gdb.base/interrupt-daemon-attach.exp: New test.
4209
4210 2019-02-27 Pedro Alves <palves@redhat.com>
4211
4212 * gdb.base/page.exp: Add tests for "set width/height -1".
4213
4214 2019-02-27 Pedro Alves <palves@redhat.com>
4215
4216 * gdb.base/page.exp: Add tests for "set/show width/height" with
4217 "infinite" values.
4218
4219 2019-02-27 Tom Tromey <tromey@adacore.com>
4220
4221 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
4222 2.4.
4223 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
4224 workaround.
4225
4226 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
4227
4228 * gdb.base/align.exp: Extend to compile in both C and C++, and add
4229 tests for structs with static members.
4230
4231 2019-02-26 Tom Tromey <tromey@adacore.com>
4232
4233 * gdb.python/py-value.exp (test_value_from_buffer): Check for
4234 ValueError, not TypeError.
4235
4236 2019-02-26 Kevin Buettner <kevinb@redhat.com>
4237
4238 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
4239 call from main program.
4240
4241 2019-02-23 Joel Brobecker <brobecker@adacore.com>
4242
4243 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
4244 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
4245 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
4246 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
4247 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
4248
4249 2019-02-22 Keith Seitz <keiths@redhat.com>
4250
4251 PR symtab/23853
4252 * gdb.base/symlink-sourcefile.c: New file.
4253 * gdb.base/symlink-sourcefile.exp: New file.
4254
4255 2019-02-20 Tom Tromey <tom@tromey.com>
4256
4257 * gdb.base/info_qt.exp: Update.
4258
4259 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
4260
4261 * gdb.base/source.exp: Move "error in sourced script" code to
4262 the end.
4263 * gdb.base/source-error.gdb: Move contents to
4264 source-error-1.gdb. Add new code to source source-error-1.gdb.
4265 * gdb.base/source-error-1.gdb: New file, from previous
4266 source-error.gdb.
4267
4268 2019-02-17 Tom Tromey <tom@tromey.com>
4269
4270 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
4271 for macro styling.
4272 * gdb.base/style.c (SOME_MACRO): New macro.
4273
4274 2019-02-17 Tom Tromey <tom@tromey.com>
4275
4276 * gdb.base/style.exp: Add line-wrapping tests.
4277 * gdb.base/page.exp: Add test for quitting during pagination.
4278
4279 2019-02-17 Joel Brobecker <brobecker@adacore.com>
4280
4281 * gdb.ada/big_packed_array: New testcase.
4282 * gdb.ada/homonym.exp: Fix incorrect expected output for
4283 "break <homonym__get_value>" test.
4284
4285 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
4286
4287 PR breakpoints/21870
4288 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
4289 and prepare_for_testing. Add comment.
4290 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
4291 redundant cleanup call. Clean up comment.
4292
4293 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
4294
4295 PR breakpoints/21870
4296 * gdb.arch/aarch64-dbreg-contents.exp: New file.
4297 * gdb.arch/aarch64-dbreg-contents.c: New file.
4298
4299 2019-02-10 Joel Brobecker <brobecker@adacore.com>
4300
4301 * gdb.ada/mi_ref_changeable: New testcase.
4302
4303 2019-02-07 Alan Hayward <alan.hayward@arm.com>
4304
4305 * gdb.base/attach.exp: Add double attach test.
4306
4307 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
4308
4309 * lib/gdb.exp (default_gdb_start): Don't match pagination
4310 prompt.
4311 (gdb_init): Set stty_init.
4312
4313 2019-01-27 Tom Tromey <tom@tromey.com>
4314
4315 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
4316 skip_python_tests.
4317
4318 2019-01-24 Alan Hayward <alan.hayward@arm.com>
4319
4320 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
4321 New structure.
4322 (struct struct_static_02_02): Likewise.
4323 (struct struct_static_02_03): Likewise.
4324 (struct struct_static_02_04): Likewise.
4325 (struct struct_static_04_01): Likewise.
4326 (struct struct_static_04_02): Likewise.
4327 (struct struct_static_04_03): Likewise.
4328 (struct struct_static_04_04): Likewise.
4329 (struct struct_static_06_01): Likewise.
4330 (struct struct_static_06_02): Likewise.
4331 (struct struct_static_06_03): Likewise.
4332 (struct struct_static_06_04): Likewise.
4333 (cmp_struct_static_02_01): Likewise.
4334 (cmp_struct_static_02_02): Likewise.
4335 (cmp_struct_static_02_03): Likewise.
4336 (cmp_struct_static_02_04): Likewise.
4337 (cmp_struct_static_04_01): Likewise.
4338 (cmp_struct_static_04_02): Likewise.
4339 (cmp_struct_static_04_03): Likewise.
4340 (cmp_struct_static_04_04): Likewise.
4341 (cmp_struct_static_06_01): Likewise.
4342 (cmp_struct_static_06_02): Likewise.
4343 (cmp_struct_static_06_03): Likewise.
4344 (cmp_struct_static_06_04): Likewise.
4345 (call_all): Test new structs.
4346 * gdb.base/infcall-nested-structs.exp: Likewise.
4347
4348 2019-01-21 Alan Hayward <alan.hayward@arm.com>
4349 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
4350
4351 2019-01-21 Alan Hayward <alan.hayward@arm.com>
4352 * gdb.base/stack-protector.c: New test.
4353 * gdb.base/stack-protector.exp: New file.
4354 * gdb.cp/ovldbreak.exp: Only allow a single break line.
4355 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
4356 option.
4357 (gdb_compile): Remove stack protector for GCC and prevent
4358 recursion.
4359
4360 2019-01-16 Keith Seitz <keiths@redhat.com>
4361
4362 PR gdb/23773
4363 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
4364
4365 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4366
4367 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
4368 aliases.
4369 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
4370 tests.
4371 * gdb.arch/powerpc-vector-regs.c: New file.
4372 * gdb.arch/powerpc-vector-regs.exp: New file.
4373
4374 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4375
4376 * gdb.arch/altivec-regs.exp: Fix the list passed to
4377 gdb_expect_list when testing "info vector".
4378
4379 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4380
4381 * gdb.base/style.exp: Don't include path in testname.
4382
4383 2019-01-10 Keith Seitz <keiths@redhat.com>
4384
4385 PR gdb/23712
4386 PR symtab/23010
4387 * gdb.dwarf2/multidictionary.exp: New file.
4388
4389 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
4390
4391 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
4392 (test_gnuv3_style_demangling): ... this.
4393 (test_lucid_style_demangling): Remove.
4394 (test_arm_style_demangling): Remove.
4395 (test_hp_style_demangling): Remove.
4396 (do_tests): Remove calls to the above.
4397
4398 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4399
4400 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
4401 case.
4402
4403 2019-01-06 Tom Tromey <tom@tromey.com>
4404
4405 PR gdb/28155:
4406 * gdb.dwarf2/typedef-void-finish.exp: New file.
4407
4408 2018-12-28 Tom Tromey <tom@tromey.com>
4409 Simon Marchi <simark@simark.ca>
4410
4411 * gdb.base/jit-exec.exp: New file.
4412 * gdb.base/jit-exec.c: New file.
4413 * gdb.base/jit-execd.c: New file.
4414
4415 2018-12-28 Tom Tromey <tom@tromey.com>
4416
4417 * gdb.base/style.exp: Update test to check for address styling.
4418
4419 2018-12-28 Tom Tromey <tom@tromey.com>
4420
4421 * gdb.base/style.exp: Add test for styling of "Reading symbols"
4422 message.
4423
4424 2018-12-28 Tom Tromey <tom@tromey.com>
4425
4426 * gdb.base/style.exp: Add test for version number styling.
4427
4428 2018-12-28 Tom Tromey <tom@tromey.com>
4429
4430 * gdb.base/style.exp: Add test for print_address_symbolic.
4431
4432 2018-12-28 Tom Tromey <tom@tromey.com>
4433
4434 * gdb.base/style.exp: Add test for breakpoint setting.
4435
4436 2018-12-28 Tom Tromey <tom@tromey.com>
4437
4438 * gdb.base/style.exp: Add test for variable names.
4439
4440 2018-12-28 Tom Tromey <tom@tromey.com>
4441
4442 * gdb.base/style.exp: New file.
4443 * gdb.base/style.c: New file.
4444
4445 2018-12-28 Tom Tromey <tom@tromey.com>
4446
4447 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
4448 "dumb".
4449 * gdb.base/readline.exp (operate_and_get_next): Save and restore
4450 the TERM environment variable.
4451
4452 2018-12-27 Tom Tromey <tom@tromey.com>
4453
4454 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
4455 pagination test.
4456
4457 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
4458
4459 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
4460 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
4461
4462 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4463
4464 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
4465 Filename a.adb changed to bp_fun_addr.adb.
4466 gdb.ada/bp_fun_addr.exp: Update test accordingly.
4467
4468 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
4469
4470 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
4471 non-PIE executables.
4472 * README: Mention the gdb,nopie_flag board setting.
4473 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
4474 non-PIE executable.
4475 * gdb.arch/amd64-entry-value.exp: Likewise.
4476 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
4477 * gdb.arch/i386-float.exp: Likewise.
4478 * gdb.arch/i386-signal.exp: Likewise.
4479 * gdb.mi/mi-reg-undefined.exp: Likewise.
4480
4481 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
4482
4483 PR gdb/23974
4484 * gdb.base/info-os.exp: Check return for unknown "info os" type.
4485
4486 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4487
4488 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4489 Update order of results accordingly.
4490
4491 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
4492
4493 * gdb.base/annota1.exp: Update a test regexp.
4494
4495 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4496
4497 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4498
4499 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4500
4501 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4502 (reuse_time): Initialize to REUSE_TIME_CAP.
4503 (check_rc): New function.
4504 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4505 Check pthread_create rc.
4506 (spawner_thread_func): Check pthread_create and pthread_join rc.
4507
4508 2018-12-08 Pedro Alves <palves@redhat.com>
4509
4510 * gdb.base/list.exp (test_forward_search): Rename to ...
4511 (test_forward_reverse_search): ... this. Also test reverse-search
4512 and the forward-search alias.
4513
4514 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4515
4516 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4517 local timeout variable before return, and remove all local timeout
4518 variable entirely.
4519 (gdb_load): Likewise.
4520
4521 2018-12-01 Tom de Vries <tdevries@suse.de>
4522
4523 * gdb.base/gdb-caching-proc.exp: New file.
4524
4525 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4526
4527 * Makefile.in (TIMESTAMP): New variable.
4528 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4529 command.
4530 (check-single-racy): Likewise.
4531 (check/%.exp): Likewise.
4532 (check-racy/%.exp): Likewise.
4533 (workers/%.worker): Likewise.
4534 (build-perf): Likewise.
4535 (check-perf): Likewise.
4536 * README: Describe new "TS" and "TS_FORMAT" variables.
4537 * print-ts.py: New file.
4538
4539 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4540
4541 PR python/23714
4542 * gdb.python/python.exp: Test command repetition after
4543 gdb.execute.
4544
4545 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4546
4547 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4548 is correctly aligned.
4549
4550 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4551
4552 * gdb.ada/info_auto_lang.exp: New testcase.
4553 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4554 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4555 * gdb.ada/info_auto_lang/some_c.c: New file.
4556
4557 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4558
4559 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4560 FUNC_lang language syntax.
4561
4562 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4563
4564 * gdb.base/info_minsym.c: New file.
4565 * gdb.base/info_minsym.exp: New file.
4566
4567 2018-11-19 Tom Tromey <tom@tromey.com>
4568
4569 PR rust/23625:
4570 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4571 * gdb.rust/expr.exp: Update expected output. Change one test.
4572
4573 2018-11-19 Tom Tromey <tom@tromey.com>
4574
4575 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4576
4577 2018-11-19 Pedro Alves <palves@redhat.com>
4578
4579 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4580 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4581 see the expected warning.
4582
4583 2018-11-16 Alan Hayward <alan.hayward@arm.com>
4584
4585 PR gdb/22736:
4586 * gdb.cp/infcall-nodebug-lib.c: New test.
4587 * gdb.cp/infcall-nodebug-main.c: New test.
4588 * gdb.cp/infcall-nodebug.exp: New file.
4589
4590 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4591
4592 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4593 completer tests.
4594
4595 2018-11-09 Tom de Vries <tdevries@suse.de>
4596
4597 * gdb.base/msym-lang.c: New test.
4598 * gdb.base/msym-lang.exp: New file.
4599 * gdb.base/msym-lang-main.c: New test.
4600
4601 2018-11-08 Tom Tromey <tom@tromey.com>
4602
4603 PR gdb/23555:
4604 PR gdb/23838:
4605 * gdb.base/warning.exp: New file.
4606
4607 2018-11-08 Jan Beulich <jbeulich@suse.com>
4608
4609 * testsuite/gdb.arch/i386-avx512.c,
4610 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4611
4612 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4613
4614 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4615 point hardware.
4616
4617 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4618
4619 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4620 * gdb.dwarf2/missing-type-name.exp: New file.
4621
4622 2018-11-06 Tom de Vries <tdevries@suse.de>
4623
4624 * gdb.base/many-headers.c: New test.
4625 * gdb.base/many-headers.exp: New file.
4626
4627 2018-11-06 Jim Wilson <jimw@sifive.com>
4628
4629 * gdb.base/code_elim.exp: For riscv, set additional_flags
4630 to include -msmall-data-limit=0.
4631
4632 2018-11-01 Joel Brobecker <brobecker@adacore.com>
4633
4634 * gdb.ada/watch_minus_l: New testcase.
4635
4636 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4637
4638 * gdb.arch/aix-sighandle.c: New file.
4639 * gdb.arch/aix-sighandle.exp: New file.
4640
4641 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4642
4643 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4644 registers being unions.
4645
4646 2018-10-31 Tom de Vries <tdevries@suse.de>
4647
4648 * lib/valgrind.exp: New file.
4649 (vgdb_start, vgdb_stop): New procs, factored out of ...
4650 * gdb.base/valgrind-bt.exp: ... here, ...
4651 * gdb.base/valgrind-disp-step.exp: ... here and ...
4652 * gdb.base/valgrind-infcall.exp: ... here.
4653
4654 2018-10-31 Tom de Vries <tdevries@suse.de>
4655
4656 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4657
4658 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4659
4660 * gdb.dwarf2/void-type.c: New file.
4661 * gdb.dwarf2/void-type.exp: New file.
4662
4663 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4664
4665 * gdb.base/info_qt.c: New file.
4666 * gdb.base/info_qt.exp: New file.
4667
4668 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4669
4670 * gdb.arch/powerpc-htm-regs.c: New file.
4671 * gdb.arch/powerpc-htm-regs.exp: New file.
4672
4673 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4674
4675 * gdb.arch/powerpc-tar.c: New file.
4676 * gdb.arch/powerpc-tar.exp: New file.
4677
4678 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4679
4680 * gdb.arch/powerpc-ppr-dscr.c: New file.
4681 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4682
4683 2018-10-25 Tom de Vries <tdevries@suse.de>
4684
4685 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4686
4687 2018-10-24 Tom de Vries <tdevries@suse.de>
4688
4689 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4690 longer exists error.
4691
4692 2018-10-24 Tom de Vries <tdevries@suse.de>
4693
4694 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4695
4696 2018-10-24 Tom de Vries <tdevries@suse.de>
4697
4698 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4699 --db-attach in valgrind.
4700
4701 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4702
4703 * gdb.arch/riscv-reg-aliases.c: New file.
4704 * gdb.arch/riscv-reg-aliases.exp: New file.
4705
4706 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4707
4708 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4709
4710 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4711
4712 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4713
4714 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4715
4716 * gdb.cp/ovldbreak.exp: Fix regexps.
4717
4718 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4719
4720 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4721
4722 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4723
4724 PR cli/23785
4725 * gdb.base/restore.exp: New test to check if "restore" with an
4726 invalid file doesn't segfault.
4727
4728 2018-10-18 Tom de Vries <tdevries@suse.de>
4729
4730 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4731 * gdb.ada/excep_handle.exp: Same.
4732 * gdb.ada/mi_string_access.exp: Same.
4733 * gdb.ada/mi_var_union.exp: Same.
4734 * gdb.arch/arc-analyze-prologue.exp: Same.
4735 * gdb.arch/arc-decode-insn.exp: Same.
4736 * gdb.base/readnever.exp: Same.
4737 * gdb.fortran/printing-types.exp: Same.
4738 * gdb.guile/scm-lazy-string.exp: Same.
4739
4740 2018-10-16 Tom de Vries <tdevries@suse.de>
4741
4742 PR gdb/23730
4743 * gdb.base/catch-follow-exec.c: Add copyright notice.
4744 * gdb.base/catch-follow-exec.exp: Rewrite to use
4745 gdb_spawn_with_cmdline_opts. Require gdb-native.
4746
4747 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4748
4749 * gdb.trace/actions-changed.exp: Check for arch support.
4750 * gdb.trace/actions.exp: Likewise.
4751 * gdb.trace/ax.exp: Likewise.
4752 * gdb.trace/backtrace.exp: Likewise.
4753 * gdb.trace/change-loc.exp: Likewise.
4754 * gdb.trace/deltrace.exp: Likewise.
4755 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4756 * gdb.trace/ftrace.exp: Likewise.
4757 * gdb.trace/infotrace.exp: Check for arch support.
4758 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4759 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4760 * gdb.trace/mi-tsv-changed.exp: Likewise.
4761 * gdb.trace/packetlen.exp: Likewise.
4762 * gdb.trace/passc-dyn.exp: Likewise.
4763 * gdb.trace/passcount.exp: Likewise.
4764 * gdb.trace/pending.exp: Likewise.
4765 * gdb.trace/range-stepping.exp: Check for shlib support.
4766 * gdb.trace/report.exp: Check for arch support.
4767 * gdb.trace/save-trace.exp: Likewise.
4768 * gdb.trace/signal.exp: Check for signal support.
4769 * gdb.trace/tfind.exp: Check for arch support.
4770 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4771 * gdb.trace/trace-common.h: Add comment.
4772 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4773 * gdb.trace/trace-enable-disable.exp: Likewise.
4774 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4775 * gdb.trace/tracecmd.exp: Check for arch support.
4776 * gdb.trace/tspeed.exp: Check for shlib and target support.
4777 * gdb.trace/tstatus.exp: Check for arch support.
4778 * gdb.trace/tsv.exp: Likewise.
4779 * gdb.trace/while-dyn.exp: Likewise.
4780 * gdb.trace/while-stepping.exp: Likewise.
4781 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4782
4783 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4784
4785 * gdb.trace/tspeed.exp: Remove nowarnings.
4786 (prepare_for_trace_test): Declare "global ipalib".
4787 * gdb.trace/tspeed.c: Include unistd.h.
4788 (main): Remove superfluous printf argument.
4789
4790 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4791
4792 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4793 directory prefix on the filename.
4794
4795 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4796
4797 * gdb.gdb/unittest.exp: Update expected message informing that
4798 selftests have been disabled.
4799 * gdb.server/unittest.exp: Likewise.
4800
4801 2018-10-09 Tom de Vries <tdevries@suse.de>
4802
4803 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4804 with runto_main.
4805
4806 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
4807
4808 PR c++/16841
4809 * gdb.cp/virtbase2.cc: New file.
4810 * gdb.cp/virtbase2.exp: New file.
4811
4812 2018-10-06 Tom Tromey <tom@tromey.com>
4813
4814 PR python/19399:
4815 * gdb.python/py-inferior.exp: Add architecture test.
4816
4817 2018-10-06 Tom Tromey <tom@tromey.com>
4818
4819 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4820 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4821
4822 2018-10-06 Tom Tromey <tom@tromey.com>
4823
4824 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4825 of a "throw" catchpoint.
4826
4827 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4828
4829 * gdb.base/info-proc.exp: Update string expected from "help info
4830 proc".
4831
4832 2018-10-04 Tom Tromey <tom@tromey.com>
4833
4834 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4835 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4836 (test_initial_complaints, test_empty_complaints): Update.
4837 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4838
4839 2018-10-04 Tom Tromey <tom@tromey.com>
4840
4841 PR cli/19551:
4842 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4843 * lib/gdb.exp (gdb_file_cmd): Update.
4844 * gdb.stabs/weird.exp (print_weird_var): Update.
4845 * gdb.server/solib-list.exp: Update.
4846 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4847 * gdb.mi/mi-cli.exp: Update.
4848 * gdb.linespec/linespec.exp: Update.
4849 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4850 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4851 * gdb.cp/cp-relocate.exp: Update.
4852 * gdb.base/sym-file.exp: Update.
4853 * gdb.base/relocate.exp: Update.
4854 * gdb.base/readnever.exp: Update.
4855 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4856 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4857 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4858 * gdb.base/code_elim.exp: Update.
4859 * gdb.base/break-unload-file.exp (test_break): Update.
4860 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4861 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4862 Update.
4863 * gdb.base/attach.exp (do_attach_tests): Update.
4864 * gdb.base/sepdebug.exp: Update.
4865 * gdb.python/py-section-script.exp: Update.
4866
4867 2018-10-04 Tom Tromey <tom@tromey.com>
4868
4869 PR cli/22234:
4870 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4871 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4872 output.
4873
4874 2018-10-04 Tom Tromey <tom@tromey.com>
4875
4876 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4877 set width and height to 0.
4878 (test_command_line_attach_run): Use -quiet.
4879
4880 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4881
4882 * lib/gdb.exp (skip_ifunc_tests): New.
4883 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4884 other compile failures.
4885 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4886
4887 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4888
4889 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4890 is_amd64_regs_target.
4891
4892 2018-10-01 Alan Hayward <alan.hayward@arm.com>
4893
4894 * gdb.arch/aarch64-sighandler-regs.c: New test.
4895 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4896 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4897
4898 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4899
4900 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4901 assembly.
4902
4903 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4904
4905 * gdb.base/frame-selection.exp: New file.
4906 * gdb.base/frame-selection.c: New file.
4907
4908 2018-09-27 Alan Hayward <alan.hayward@arm.com>
4909
4910 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4911 pthread barrier.
4912 (main): Likewise.
4913
4914 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4915
4916 * gdb.base/large-frame-1.c: New file.
4917 * gdb.base/large-frame-2.c: New file.
4918 * gdb.base/large-frame.exp: New file.
4919 * gdb.base/large-frame.h: New file.
4920
4921 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4922
4923 PR gdb/20948
4924 * gdb.base/write_mem.exp: New test.
4925 * gdb.base/write_mem.c: Likewise.
4926
4927 2018-09-23 Tom Tromey <tom@tromey.com>
4928
4929 PR python/18852:
4930 * gdb.python/py-parameter.exp: Add test for parameter that throws
4931 on "set".
4932
4933 2018-09-23 Tom Tromey <tom@tromey.com>
4934
4935 PR python/17284:
4936 * gdb.python/py-template.exp (test_template_arg): Add test for
4937 negative template argument number.
4938
4939 2018-09-23 Tom Tromey <tom@tromey.com>
4940
4941 PR python/14062:
4942 * gdb.python/python.exp: Add test for post_event error.
4943
4944 2018-09-23 Tom Tromey <tom@tromey.com>
4945
4946 PR python/18170:
4947 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4948 convert pointers to int and long.
4949
4950 2018-09-23 Tom Tromey <tom@tromey.com>
4951
4952 PR python/20126:
4953 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4954 signed-ness conversion tests.
4955
4956 2018-09-23 Tom Tromey <tom@tromey.com>
4957
4958 PR python/18352;
4959 * gdb.python/py-value.exp (test_float_conversion): New proc.
4960 Use it.
4961
4962 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4963
4964 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4965
4966 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4967
4968 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4969 no readline.
4970 * gdb.base/utf8-identifiers.exp: Likewise.
4971 * gdb.cp/cpcompletion.exp: Likewise.
4972 * gdb.linespec/cpcompletion.exp: Likewise.
4973 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4974 * gdb.linespec/cpls-ops.exp: Likewise.
4975
4976 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4977 Chris January <chris.january@arm.com>
4978
4979 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4980 * gdb.fortran/short-circuit-argument-list.exp: New file.
4981 * gdb.fortran/short-circuit-argument-list.f90: New test.
4982
4983 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4984
4985 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4986 "arch=" keyword when executing "-stack-list-frames".
4987
4988 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4989
4990 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4991 "arch=" keyword when executing "-stack-list-frames".
4992
4993 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4994
4995 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4996 break ada".
4997
4998 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4999
5000 PR python/23669
5001 * gdb.python/python.exp: Test gdb.execute("show commands").
5002
5003 2018-09-16 Tom Tromey <tom@tromey.com>
5004
5005 * gdb.base/new-ui.exp (do_execution_tests): Update.
5006 * gdb.base/dbx.exp (test_breakpoints): Update.
5007
5008 2018-09-14 Alan Hayward <alan.hayward@arm.com>
5009
5010 * lib/gdb.exp (gdb_simple_compile): Add proc.
5011 (is_elf_target): Use gdb_simple_compile.
5012 (skip_altivec_tests): Likewise.
5013 (skip_vsx_tests): Likewise.
5014 (skip_tsx_tests): Likewise.
5015 (skip_btrace_tests): Likewise.
5016 (skip_btrace_pt_tests): Likewise.
5017 (gdb_can_simple_compile): Likewise.
5018 (gdb_has_argv0): Likewise.
5019 (gdb_target_symbol_prefix): Likewise.
5020 (target_supports_scheduler_locking): Likewise.
5021
5022 2018-09-13 Tom Tromey <tom@tromey.com>
5023
5024 * Makefile.in (TAGS): Recognize proc_with_prefix and
5025 gdb_caching_proc.
5026
5027 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5028
5029 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5030 method.
5031
5032 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5033
5034 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5035 and a few other Inferior properties when the Inferior is no
5036 longer valid.
5037
5038 2018-09-13 Tom Tromey <tom@tromey.com>
5039
5040 PR rust/23650:
5041 * gdb.rust/simple.exp: Add test for enum field access error.
5042
5043 2018-09-13 Tom Tromey <tom@tromey.com>
5044
5045 PR rust/23626:
5046 * gdb.rust/simple.rs (EmptyEnum): New type.
5047 (main): Use it.
5048 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5049
5050 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5051
5052 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5053 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5054 * gdb.python/py-symtab.exp: Update test printing an objfile.
5055
5056 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5057
5058 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5059 object.
5060
5061 2018-09-12 Alan Hayward <alan.hayward@arm.com>
5062
5063 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5064 (support_complex_tests): Use gdb_can_simple_compile.
5065 (is_ilp32_target): Likewise.
5066 (is_lp64_target): Likewise.
5067 (is_64_target): Likewise.
5068 (is_amd64_regs_target): Likewise.
5069 (is_aarch32_target): Likewise.
5070 (gdb_int128_helper): Likewise.
5071
5072 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5073
5074 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5075
5076 2018-09-10 Jerome Guitton <guitton@adacore.com>
5077
5078 * gdb.ada/same_component_name: Add test for case of tagged record
5079 with variable-length fields.
5080
5081 2018-09-10 Xavier Roirand <roirand@adacore.com>
5082
5083 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5084 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5085 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5086 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5087
5088 2018-09-10 Xavier Roirand <roirand@adacore.com>
5089
5090 * gdb.ada/mi_string_access.exp: New testcase.
5091 * gdb.ada/mi_string_access/bar.adb: New file.
5092 * gdb.ada/mi_string_access/pck.adb: New file.
5093 * gdb.ada/mi_string_access/pck.asd: New file.
5094
5095 2018-09-10 Xavier Roirand <roirand@adacore.com>
5096
5097 * gdb.ada/mi_var_union.exp: New testcase.
5098 * gdb.ada/mi_var_union/bar.adb: New file.
5099 * gdb.ada/mi_var_union/pck.adb: New file.
5100 * gdb.ada/mi_var_union/pck.asd: New file.
5101
5102 2018-09-08 Tom Tromey <tom@tromey.com>
5103
5104 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5105
5106 2018-09-08 Tom Tromey <tom@tromey.com>
5107
5108 PR python/16047:
5109 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5110 (register_pretty_printers): Register new printer.
5111 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5112 test.
5113 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5114 (an_int_type3): New global.
5115
5116 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5117
5118 * gdb.ada/expr_with_funcall: New testcase.
5119
5120 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5121
5122 * gdb.ada/packed_array_assign: New testcase.
5123
5124 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5125
5126 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5127 names, and add test prefixes to make test names unique.
5128
5129 2018-09-05 Tom de Vries <tdevries@suse.de>
5130
5131 * gdb.dwarf2/varval.exp: Add test.
5132
5133 2018-09-04 Gary Benson <gbenson@redhat.com>
5134
5135 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5136 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5137
5138 2018-08-31 Tom Tromey <tom@tromey.com>
5139
5140 * gdb.rust/simple.rs: Rename second variable "v".
5141
5142 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5143
5144 * gdb.base/funcargs.c (use_a): New function.
5145 (recurse): Call use_a.
5146
5147 2018-08-29 Keith Seitz <keiths@redhat.com>
5148
5149 * gdb.compile/compile-cplus-anonymous.cc: New file.
5150 * gdb.compile/compile-cplus-anonymous.exp: New file.
5151 * gdb.compile/compile-cplus-array-decay.cc: New file.
5152 * gdb.compile/compile-cplus-array-decay.exp: New file.
5153 * gdb.compile/compile-cplus-inherit.cc: New file.
5154 * gdb.compile/compile-cplus-inherit.exp: New file.
5155 * gdb.compile/compile-cplus-member.cc: New file.
5156 * gdb.compile/compile-cplus-member.exp: New file.
5157 * gdb.compile/compile-cplus-method.cc: New file.
5158 * gdb.compile/compile-cplus-method.exp: New file.
5159 * gdb.compile/compile-cplus-mod.c: "New" file.
5160 * gdb.compile/compile-cplus-namespace.cc: New file.
5161 * gdb.compile/compile-cplus-namespace.exp: New file.
5162 * gdb.compile/compile-cplus-nested.cc: New file.
5163 * gdb.compile/compile-cplus-nested.exp: New file.
5164 * gdb.compile/compile-cplus-print.c: "New" file.
5165 * gdb.compile/compile-cplus-print.exp: "New" file.
5166 * gdb.compile/compile-cplus-virtual.cc: New file.
5167 * gdb.compile/compile-cplus-virtual.exp: New file.
5168 * gdb.compile/compile-cplus.c: "New" file.
5169 * gdb.compile/compile-cplus.exp: "New" file.
5170 * lib/compile-support.exp: New file.
5171
5172 2018-08-16 Gary Benson <gbenson@redhat.com>
5173
5174 PR gdb/13000:
5175 * gdb.base/batch-exit-status.exp: New file.
5176 * gdb.base/batch-exit-status.good-commands: Likewise.
5177 * gdb.base/batch-exit-status.bad-commands: Likewise.
5178
5179 2018-08-29 Alan Hayward <alan.hayward@arm.com>
5180
5181 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5182 (struct struct02): Likewise.
5183 (struct struct03): Likewise.
5184 (struct struct04): Likewise.
5185 (struct struct_01_01): New struct.
5186 (struct struct_01_02): Likewise.
5187 (struct struct_01_03): Likewise.
5188 (struct struct_01_04): Likewise.
5189 (struct struct_02_01): Likewise.
5190 (struct struct_02_02): Likewise.
5191 (struct struct_02_03): Likewise.
5192 (struct struct_02_04): Likewise.
5193 (struct struct_04_01): Likewise.
5194 (struct struct_04_02): Likewise.
5195 (struct struct_04_03): Likewise.
5196 (struct struct_04_04): Likewise.
5197 (struct struct_05_01): Likewise.
5198 (struct struct_05_02): Likewise.
5199 (struct struct_05_03): Likewise.
5200 (struct struct_05_04): Likewise.
5201 (cmp_struct01): Remove function.
5202 (cmp_struct02): Likewise.
5203 (cmp_struct03): Likewise.
5204 (cmp_struct04): Likewise.
5205 (cmp_struct_01_01): Add Function.
5206 (cmp_struct_01_02): Likewise.
5207 (cmp_struct_01_03): Likewise.
5208 (cmp_struct_01_04): Likewise.
5209 (cmp_struct_02_01): Likewise.
5210 (cmp_struct_02_02): Likewise.
5211 (cmp_struct_02_03): Likewise.
5212 (cmp_struct_02_04): Likewise.
5213 (cmp_struct_04_01): Likewise.
5214 (cmp_struct_04_02): Likewise.
5215 (cmp_struct_04_03): Likewise.
5216 (cmp_struct_04_04): Likewise.
5217 (cmp_struct_05_01): Likewise.
5218 (cmp_struct_05_02): Likewise.
5219 (cmp_struct_05_03): Likewise.
5220 (cmp_struct_05_04): Likewise.
5221 (call_all): Add new structs.
5222 * gdb.base/infcall-nested-structs.exp: Likewise.
5223
5224 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
5225
5226 * gdb.python/py-framefilter-mi.exp: Update regexp to
5227 check for "arch" field in frame output.
5228
5229 2018-08-23 Kevin Buettner <kevinb@redhat.com>
5230
5231 * gdb.dwarf2/dw2-ranges-func.c: New file.
5232 * gdb.dwarf2/dw2-ranges-func.exp: New file.
5233
5234 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
5235
5236 * gdb.base/term.exp: Compare terminal settings with values from
5237 the inferior.
5238 * gdb.base/term.c: Get and set terminal settings.
5239
5240 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
5241
5242 * lib/mi-support.exp (mi_expect_stop): Update regexp to
5243 accommodate new "arch" field in frame output.
5244 * gdb.mi/mi-return.exp: Likewise.
5245 * gdb.mi/mi-stack.exp: Likewise.
5246 * gdb.mi/mi-syn-frame.exp: Likewise.
5247 * gdb.mi/user-selected-context-sync.exp: Likewise.
5248
5249 2018-08-19 Michael Spang <spang@google.com>
5250
5251 PR gdb/11786
5252 * gdb.base/gcore-tls-pie.c: New file.
5253 * gdb.base/gcore-tls-pie.exp: New file.
5254
5255 2018-08-18 Kevin Buettner <kevinb@redhat.com>
5256
5257 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
5258 * gdb.dwarf2/varval.c: New file.
5259 * gdb.dwarf2/varval.exp: New file.
5260
5261 2018-08-17 Alan Hayward <alan.hayward@arm.com>
5262
5263 PR gdb/18931
5264 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
5265
5266 2018-08-16 Keith Seitz <keiths@redhat.com>
5267
5268 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
5269 tests expected to pass.
5270
5271 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
5272
5273 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
5274 -data-disassemble -a.
5275 (test_disassembly_bogus_args): Likewise.
5276
5277 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
5278
5279 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
5280
5281 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5282
5283 * gdb.base/vla-optimized-out.exp: Add new test.
5284
5285 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5286
5287 * gdb.base/vla-optimized-out-o3.exp: Delete.
5288 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
5289 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
5290 deleted tests.
5291
5292 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
5293
5294 PR gdb/18050:
5295 * gdb.server/extended-remote-restart.c: New file.
5296 * gdb.server/extended-remote-restart.exp: New file.
5297
5298 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
5299
5300 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
5301 "set variable index = 42".
5302
5303 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
5304
5305 * boards/index-cache-gdb.exp: New file.
5306 * gdb.dwarf2/index-cache.exp: New file.
5307 * gdb.dwarf2/index-cache.c: New file.
5308 * gdb.base/maint.exp: Check if we are using the index cache.
5309
5310 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5311
5312 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
5313 MAKEFLAGS.
5314
5315 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5316
5317 * dg-extract-results.sh: Move to toplevel contrib.
5318 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
5319 * Makefile.in (check-parallel-racy): Likewise.
5320
5321 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
5322
5323 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
5324 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
5325 tests if the target supports scheduler locking.
5326
5327 2018-08-04 Tom de Vries <tdevries@suse.de>
5328
5329 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
5330
5331 2018-08-02 Tom Tromey <tom@tromey.com>
5332
5333 PR symtab/16842.
5334 * gdb.cp/temargs.exp: Test "info address" of a template
5335 parameter.
5336
5337 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
5338
5339 * gdb.python/py-mi-var-info-path-expression.c: New file.
5340 * gdb.python/py-mi-var-info-path-expression.py: New file.
5341 * gdb.python/py-mi-var-info-path-expression.exp: New file.
5342
5343 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
5344
5345 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
5346 error after "cannot resolve name" string.
5347
5348 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
5349
5350 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
5351 started.
5352 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
5353
5354 2018-07-28 Tom de Vries <tdevries@suse.de>
5355
5356 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
5357
5358 2018-07-26 Tom de Vries <tdevries@suse.de>
5359
5360 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
5361
5362 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
5363
5364 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
5365 is visible.
5366
5367 2018-07-26 Tom de Vries <tdevries@suse.de>
5368
5369 PR breakpoints/23366
5370 * gdb.base/catch-follow-exec.c: New test.
5371 * gdb.base/catch-follow-exec.exp: New file.
5372
5373 2018-07-25 Tom de Vries <tdevries@suse.de>
5374
5375 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
5376 vla-optimized-out.c.
5377
5378 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
5379
5380 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
5381 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
5382
5383 2018-07-20 Tom de Vries <tdevries@suse.de>
5384
5385 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
5386 NOCLONE macro.
5387 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
5388
5389 2018-07-19 Tom de Vries <tdevries@suse.de>
5390
5391 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
5392 regular expression.
5393
5394 2018-07-18 Tom de Vries <tdevries@suse.de>
5395
5396 * gdb.base/vla-optimized-out.c: New test.
5397 * gdb.base/vla-optimized-out.exp: New file.
5398
5399 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
5400
5401 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
5402 message "No address associated with hostname" when gdbserver
5403 cannot resolve the hostname.
5404
5405 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5406
5407 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
5408 Add some test prefixes to make tests unique.
5409
5410 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5411
5412 * gdb.base/frameapply.c: New file.
5413 * gdb.base/frameapply.exp: New file.
5414
5415 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5416
5417 * gdb.base/skip.exp: Update expected error message.
5418
5419 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5420 Jan Kratochvil <jan.kratochvil@redhat.com>
5421 Paul Fertser <fercerpav@gmail.com>
5422 Tsutomu Seki <sekiriki@gmail.com>
5423
5424 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
5425 parameter.
5426 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
5427 by default.
5428 * boards/native-gdbserver.exp: Likewise.
5429 * gdb.server/run-without-local-binary.exp: Improve regexp used
5430 for detecting when a remote debugging connection succeeds.
5431 * gdb.server/server-connect.exp: New file.
5432 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
5433 Do not prefix the port number with ":".
5434 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
5435 support for detecting and using it. Add '$debughost_gdbserver'
5436 to the list of arguments used to start gdbserver. Handle case
5437 when gdbserver cannot resolve a network name.
5438
5439 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5440
5441 PR c++/23373
5442 * gdb.base/ptype-offsets.cc (struct static_member): New
5443 struct.
5444 (main) <stmember>: New variable.
5445 * gdb.base/ptype-offsets.exp: Add test for printing a struct
5446 with a static member in it.
5447
5448 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
5449
5450 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
5451 watchpoints enabled and disabled.
5452
5453 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5454
5455 * gdb.base/examine-backward.exp: Still run tests around address
5456 0x0, even if address 0x0 is not readable. Update the pattern for
5457 matching address 0x0 in expected output.
5458
5459 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
5460
5461 * gdb.base/share-env-with-gdbserver.c (main): Add call to
5462 malloc/free.
5463
5464 2018-07-04 Tom de Vries <tdevries@suse.de>
5465
5466 * gdb.dwarf2/dw2-error.exp: Update expected error message.
5467
5468 2018-07-02 Maciej W. Rozycki <macro@mips.com>
5469
5470 PR tdep/8282
5471 * gdb.arch/mips-disassembler-options.exp: New test.
5472 * gdb.arch/mips-disassembler-options.s: New test source.
5473
5474 2018-06-29 Pedro Alves <palves@redhat.com>
5475
5476 * gdb.threads/names.exp: Adjust expected "info threads" output.
5477
5478 2018-06-29 Pedro Alves <palves@redhat.com>
5479
5480 * gdb.opt/inline-break.exp (line number, address): Add "info
5481 break" tests.
5482
5483 2018-06-29 Pedro Alves <palves@redhat.com>
5484
5485 * gdb.opt/inline-break.c (func1): Add "break here" marker.
5486 * gdb.opt/inline-break.exp: Test setting breakpoints by line
5487 number and address and running to them.
5488
5489 2018-06-29 Richard Bunt <richard.bunt@arm.com>
5490
5491 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
5492
5493 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5494
5495 * lib/compiler.c: Remove executable permission flag.
5496
5497 2018-06-28 Richard Bunt <richard.bunt@arm.com>
5498
5499 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5500 code.
5501 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5502
5503 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5504
5505 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5506
5507 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5508
5509 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5510 address argument is omitted.
5511
5512 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5513
5514 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5515
5516 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
5517
5518 PR gdb/21695
5519 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5520 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5521
5522 2018-06-26 Tom Tromey <tom@tromey.com>
5523
5524 PR rust/22574:
5525 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5526 * gdb.rust/simple.rs (struct SimpleLayout): New.
5527
5528 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5529
5530 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5531 "info registers" output.
5532
5533 2018-06-21 Richard Bunt <richard.bunt@arm.com>
5534
5535 * gdb.base/watchpoint-hw-attach.c: New test.
5536 * gdb.base/watchpoint-hw-attach.exp: New file.
5537
5538 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5539
5540 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5541 through /bin/sh.
5542 * boards/dwarf4-gdb-index.exp: Likewise.
5543 * boards/fission-dwp.exp: Likewise.
5544
5545 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5546
5547 * gdb.base/float128.exp: Add comment and improved fail message
5548 to the failure case of "print large128" test.
5549
5550 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5551
5552 * configure.ac: Remove AC_PREREQ.
5553 * configure: Re-generate.
5554
5555 2018-06-19 Pedro Alves <palves@redhat.com>
5556
5557 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5558 (func_extern_caller): New.
5559 (main): Call func_extern_caller.
5560 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5561 logic change.
5562
5563 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
5564
5565 PR gdb/16841
5566 * gdb.cp/typedef-base.cc: New file.
5567 * gdb.cp/typedef-base.exp: New file.
5568
5569 2018-06-18 Tom de Vries <tdevries@suse.de>
5570
5571 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5572
5573 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5574 Richard Bunt <Richard.Bunt@arm.com>
5575
5576 * gdb.threads/attach-slow-waitpid.c: New file.
5577 * gdb.threads/attach-slow-waitpid.exp: New file.
5578 * gdb.threads/slow-waitpid.c: New file.
5579
5580 2018-06-14 Pedro Alves <palves@redhat.com>
5581
5582 * gdb.base/fork-running-state.c: Include <errno.h>.
5583 (exit_if_relative_exits): New.
5584 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5585 exits.
5586 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5587 child exits.
5588
5589 2018-06-14 Tom de Vries <tdevries@suse.de>
5590
5591 PR cli/22573
5592 * gdb.base/finish-pretty.c: New test.
5593 * gdb.base/finish-pretty.exp: New file.
5594
5595 2018-06-14 Pedro Alves <palves@redhat.com>
5596
5597 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5598 gdb's expected startup output.
5599
5600 2018-06-14 Pedro Alves <palves@redhat.com>
5601
5602 * lib/selftest-support.exp (selftest_setup): Remove inlined
5603 function handling.
5604
5605 2018-06-14 Tom de Vries <tdevries@suse.de>
5606
5607 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5608 matching of breakpoint printing.
5609
5610 2018-06-13 Tom de Vries <tdevries@suse.de>
5611
5612 PR testsuite/23269
5613 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5614 (fork_child): ... here, and ...
5615 (fork_parent): ... here.
5616
5617 2018-06-12 Tom de Vries <tdevries@suse.de>
5618
5619 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5620
5621 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5622 Stephen Roberts <stephen.roberts@arm.com>
5623
5624 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5625 rewrite test to describe action performed, rather than possible
5626 failure.
5627
5628 2018-06-08 Gary Benson <gbenson@redhat.com>
5629
5630 * gdb.threads/check-libthread-db.exp: New file.
5631 * gdb.threads/check-libthread-db.c: Likewise.
5632
5633 2018-06-05 Tom Tromey <tom@tromey.com>
5634
5635 * gdb.base/default.exp: Update expected "show version" output.
5636
5637 2018-06-05 Tom Tromey <tom@tromey.com>
5638
5639 PR cli/12326:
5640 * gdb.cp/static-print-quit.exp: Update.
5641 * lib/gdb.exp (pagination_prompt): Update.
5642 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5643 * gdb.python/python.exp: Update.
5644
5645 2018-06-04 Joel Brobecker <brobecker@adacore.com>
5646
5647 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5648
5649 2018-06-01 Joel Brobecker <brobecker@adacore.com>
5650
5651 * gdb.ada/bp_fun_addr: New testcase.
5652
5653 2018-06-01 Tom Tromey <tom@tromey.com>
5654
5655 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5656 results.
5657 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5658 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5659 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5660 * gdb.base/maint.exp (maint_pass_if): Update.
5661
5662 2018-05-31 Maciej W. Rozycki <macro@mips.com>
5663
5664 * gdb.base/endian.exp: New test.
5665 * gdb.base/endian.c: New test source.
5666
5667 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5668
5669 PR gdb/23203
5670 * gdb.base/bt-selected-frame.c: New file.
5671 * gdb.base/bt-selected-frame.exp: New file.
5672 * lib/gdb.exp (get_current_frame_number): New function.
5673
5674 2018-05-24 Maciej W. Rozycki <macro@mips.com>
5675 Pedro Alves <palves@redhat.com>
5676
5677 * gdb.threads/tls-core.c: Include <stdlib.h>
5678 (thread_proc): Call `abort'.
5679 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5680 (tls_core_test): New procedure, bits factored out from ...
5681 (top level): ... here. Test both native cores and gcore cores.
5682
5683 2018-05-23 Tom Tromey <tom@tromey.com>
5684
5685 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5686
5687 2018-05-23 Tom Tromey <tom@tromey.com>
5688
5689 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5690 symfile_complaints.
5691 (test_short_complaints): Likewise.
5692 (test_empty_complaints): Likewise.
5693 (test_initial_complaints): Update.
5694
5695 2018-05-23 Tom Tromey <tom@tromey.com>
5696
5697 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5698
5699 2018-05-23 Tom Tromey <tom@tromey.com>
5700
5701 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5702 (test_short_complaints): Update.
5703
5704 2018-05-22 Pedro Alves <palves@redhat.com>
5705
5706 * gdb.base/remote.exp: Only gdb_start after compiling the
5707 testcase. Issue "disconnect" before testing "set remote" command
5708 defaults. Issue clean_restart before running to main.
5709
5710 2018-05-22 Pedro Alves <palves@redhat.com>
5711
5712 * gdb.base/remote.exp: Adjust expected output of "show remote
5713 memory-write-packet-size". Add tests for "set remote
5714 memory-write-packet-size 0" and "set remote
5715 memory-write-packet-size fixed/limit".
5716
5717 2018-05-22 Pedro Alves <palves@redhat.com>
5718
5719 PR gdb/22973
5720 * gdb.base/utf8-identifiers.c: New file.
5721 * gdb.base/utf8-identifiers.exp: New file.
5722
5723 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5724
5725 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5726
5727 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5728
5729 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5730
5731 2018-05-18 Tom Tromey <tom@tromey.com>
5732
5733 * gdb.base/ptype-offsets.exp: Update.
5734
5735 2018-05-17 Keith Seitz <keiths@redhat.com>
5736
5737 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5738 in expected breakpoint stop locations.
5739 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5740 move to proper scope to test variable values.
5741 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5742 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5743 New functions.
5744 (main): Call not_inline_func3.
5745 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5746 inline_func1, inline_func2, and inline_func3. Test that when each
5747 breakpoint is hit, GDB properly reports both the stop location
5748 and the backtrace. Repeat tests for temporary breakpoints.
5749
5750 2018-05-15 Maciej W. Rozycki <macro@mips.com>
5751
5752 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5753 rather then trying to access it in determining whether the PID
5754 of `gdbserver' could have been retrieved.
5755
5756 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5757
5758 * gdb.arch/amd64-init-x87-values.S: New file.
5759 * gdb.arch/amd64-init-x87-values.exp: New file.
5760
5761 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5762
5763 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5764
5765 2018-05-04 Tom Tromey <tom@tromey.com>
5766
5767 PR python/22730:
5768 * gdb.python/python.exp: Test multi-line execute.
5769
5770 2018-05-04 Tom Tromey <tom@tromey.com>
5771
5772 PR python/22731:
5773 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5774
5775 2018-05-04 Tom Tromey <tom@tromey.com>
5776
5777 PR gdb/11750:
5778 * gdb.base/define.exp: Test defining a user command inside a user
5779 command.
5780 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5781
5782 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5783 Pedro Alves <palves@redhat.com>
5784
5785 PR breakpoints/19806 and support for PR external/20207.
5786 * gdb.base/watchpoint-unaligned.c: New file.
5787 * gdb.base/watchpoint-unaligned.exp: New file.
5788
5789 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5790
5791 * gdb.base/maint.exp: Make test names unique, use
5792 test_prefix_command_help to test 'help maint info', and remove
5793 repeated test of 'help maint'.
5794
5795 2018-05-04 Tom Tromey <tom@tromey.com>
5796
5797 PR gdb/22619:
5798 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5799 behavior.
5800
5801 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5802
5803 * gdb.base/maint.exp: Process output from 'maint print registers'
5804 line at a time.
5805
5806 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5807
5808 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5809 timeout.
5810
5811 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5812
5813 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5814 filter pattern.
5815
5816 2018-05-02 Pedro Alves <palves@redhat.com>
5817
5818 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5819 to_log_command renames.
5820 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5821
5822 2018-05-02 Tom Tromey <tom@tromey.com>
5823
5824 * gdb.python/py-parameter.exp: Set test message.
5825
5826 2018-05-02 Tom Tromey <tom@tromey.com>
5827
5828 PR python/20084:
5829 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5830 PARAM_ZUINTEGER_UNLIMITED tests.
5831
5832 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5833
5834 PR rust/23124
5835 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5836 when casting.
5837
5838 2018-04-30 Tom Tromey <tom@tromey.com>
5839
5840 * gdb.python/py-type.exp: Check align attribute.
5841 * gdb.python/py-type.c: New "aligncheck" global.
5842
5843 2018-04-30 Tom Tromey <tom@tromey.com>
5844
5845 PR exp/17095:
5846 * gdb.dwarf2/dw2-align.exp: New file.
5847 * gdb.cp/align.exp: New file.
5848 * gdb.base/align.exp: New file.
5849 * lib/gdb.exp (gdb_int128_helper): New proc.
5850 (has_int128_c, has_int128_cxx): New caching procs.
5851
5852 2018-04-27 Tom Tromey <tom@tromey.com>
5853
5854 PR rust/22545:
5855 * gdb.rust/simple.exp: Add inclusive range tests.
5856
5857 2018-04-26 Pedro Alves <palves@redhat.com>
5858
5859 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5860 ifunc breakpoint locations correctly of ifunc breakpoints set
5861 while the program resolves the ifunc.
5862
5863 2018-04-26 Pedro Alves <palves@redhat.com>
5864
5865 * gdb.base/gnu-ifunc-final.c: New file.
5866 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5867 * gdb.base/gnu-ifunc.exp (executable): Delete.
5868 (staticexecutable): Adjust.
5869 (lib_opts, exec_opts): Delete.
5870 (make_binsuffix, build, set-break): New procedures.
5871 (misc_tests): New, with tests factored out from the top level.
5872 (top level): Test different combinations of ifunc resolver name,
5873 resolver with and with debug info, and ifunc target with and
5874 without debug info. Wrap static tests with with_target_prefix.
5875
5876 2018-04-26 Pedro Alves <palves@redhat.com>
5877
5878 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5879 return type" warnings.
5880
5881 2018-04-25 Pedro Alves <palves@redhat.com>
5882
5883 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5884 killed".
5885 * gdb.base/kill-after-signal.exp: Likewise.
5886 * gdb.threads/kill.exp: Likewise.
5887
5888 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5889 Sergio Durigan Junior <sergiodj@redhat.com>
5890 Pedro Alves <palves@redhat.com>
5891
5892 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5893 regexps to expect for '[Inferior ... detached]' as well.
5894 * gdb.base/attach.exp: Likewise.
5895 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5896 "gdb_continue_to_end".
5897 (test_catch_syscall_with_wrong_args): Likewise.
5898 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5899 ']'. Don't set 'verbose' on.
5900 * gdb.base/foll-vfork.exp: Likewise.
5901 * gdb.base/fork-print-inferior-events.c: New file.
5902 * gdb.base/fork-print-inferior-events.exp: New file.
5903 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5904 '[Inferior ... has been killed]' message.
5905 * gdb.base/kill-after-signal.exp: Likewise.
5906 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5907 detach message.
5908 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5909 message.
5910 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5911 regexps to expect for '[Inferior ... detached]' as well.
5912 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5913
5914 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5915
5916 PR gdb/23104
5917 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5918
5919 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5920
5921 PR gdb/23095
5922 * gdb.base/break-probes.exp: Pass shlib_load to
5923 prepare_for_testing. Set normal_bp to r_debug_state if target is
5924 bsd.
5925
5926 2018-04-19 Richard Bunt <richard.bunt@arm.com>
5927
5928 * gdb.threads/multiple-successive-infcall.c: New test.
5929 * gdb.threads/multiple-successive-infcall.exp: New file.
5930
5931 2018-04-17 Tom Tromey <tom@tromey.com>
5932
5933 * gdb.rust/simple.rs (Union): New type.
5934 (main): New local "u".
5935 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5936
5937 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5938
5939 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5940 number information in output of "whereis" command.
5941 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5942
5943 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5944
5945 * gdb.ada/info_types.exp: Adjust expected output to the line
5946 numbers now printed by "info var/func/type".
5947 * gdb.base/completion.exp: Likewise.
5948 * gdb.base/included.exp: Likewise.
5949 * gdb.cp/cp-relocate.exp: Likewise.
5950 * gdb.cp/cplusfuncs.exp: Likewise.
5951 * gdb.cp/namespace.exp: Likewise.
5952 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5953
5954 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5955
5956 * gdb.btrace/cpu.exp: New.
5957
5958 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5959
5960 * gdb.base/step-indirect-call-thunk.exp: New.
5961 * gdb.base/step-indirect-call-thunk.c: New.
5962 * gdb.reverse/step-indirect-call-thunk.exp: New.
5963 * gdb.reverse/step-indirect-call-thunk.c: New.
5964
5965 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5966
5967 * gdb.base/pie-fork.c: New file.
5968 * gdb.base/pie-fork.exp: New file.
5969
5970 2018-04-11 Tom Tromey <tom@tromey.com>
5971
5972 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5973
5974 2018-04-10 Pedro Alves <palves@redhat.com>
5975
5976 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5977 exits. Instead loop running forever.
5978 (fork_parent): Run forever too.
5979
5980 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5981
5982 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5983 mi_continue_to_line.
5984 * gdb.mi/mi-stack.c (callee4): Add comment.
5985
5986 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5987
5988 * gdb.mi/mi-stack.exp: Fix indentation.
5989
5990 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5991
5992 PR gdb/22979
5993 * gdb.arch/amd64-osabi.exp: New file.
5994
5995 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5996
5997 PR gdb/22980
5998 * gdb.base/osabi.exp: New file.
5999
6000 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
6001
6002 * gdb.cp/static-typedef-print.exp: New file.
6003 * gdb.cp/static-typedef-print.cc: New file.
6004
6005 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6006
6007 * gdb.ada/varsize_limit: New testcase.
6008
6009 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6010
6011 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6012
6013 * gdb.ada/notcplusplus: New testcase.
6014
6015 * gdb.base/c-linkage-name.c: New file.
6016 * gdb.base/c-linkage-name.exp: New testcase.
6017
6018 2018-03-26 Tom Tromey <tom@tromey.com>
6019
6020 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6021 * gdb.python/py-framefilter.py (name_error): New global.
6022 (ErrorInName.function): Use name_error.
6023
6024 2018-03-26 Tom Tromey <tom@tromey.com>
6025
6026 PR backtrace/15582:
6027 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6028
6029 2018-03-23 Keith Seitz <keiths@redhat.com>
6030
6031 PR c++/22968
6032 * gdb.cp/subtypes.exp: New file.
6033 * gdb.cp/subtypes.h: New file.
6034 * gdb.cp/subtypes.cc: New file.
6035 * gdb.cp/subtypes-2.cc: New file.
6036
6037 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6038
6039 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6040 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6041 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6042 -nostartfiles when compiling the test. Confirm that all registers
6043 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6044
6045 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6046
6047 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6048 option, syntax was wrong anyway.
6049 * gdb.arch/arm-disp-step.exp: Likewise.
6050 * gdb.arch/sparc64-regs.exp: Likewise.
6051 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6052 option, syntax was wrong anyway, switch to use
6053 prepare_for_testing.
6054 * gdb.arch/i386-disp-step.exp: Likewise.
6055
6056 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6057
6058 * gdb.ada/exec_changed.exp: Replace "target_info exists
6059 use_gdb_stub" by "use_gdb_stub".
6060 * gdb.ada/start.exp: Likewise.
6061 * gdb.base/async-shell.exp: Likewise.
6062 * gdb.base/attach-pie-misread.exp: Likewise.
6063 * gdb.base/attach-wait-input.exp: Likewise.
6064 * gdb.base/break-entry.exp: Likewise.
6065 * gdb.base/break-interp.exp: Likewise.
6066 * gdb.base/dprintf-detach.exp: Likewise.
6067 * gdb.base/nostdlib.exp: Likewise.
6068 * gdb.base/solib-nodir.exp: Likewise.
6069 * gdb.base/statistics.exp: Likewise.
6070 * gdb.base/testenv.exp: Likewise.
6071 * gdb.mi/mi-exec-run.exp: Likewise.
6072 * gdb.mi/mi-start.exp: Likewise.
6073 * gdb.multi/dummy-frame-restore.exp: Likewise.
6074 * gdb.multi/multi-arch-exec.exp: Likewise.
6075 * gdb.multi/multi-arch.exp: Likewise.
6076 * gdb.multi/tids.exp: Likewise.
6077 * gdb.multi/watchpoint-multi.exp: Likewise.
6078 * gdb.python/py-events.exp: Likewise.
6079 * gdb.threads/attach-into-signal.exp: Likewise.
6080 * gdb.threads/attach-stopped.exp: Likewise.
6081 * gdb.threads/threadapply.exp: Likewise.
6082 * lib/selftest-support.exp: Likewise.
6083
6084 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6085
6086 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6087
6088 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6089
6090 * gdb.perf/template-breakpoints.cc: New file.
6091 * gdb.perf/template-breakpoints.exp: New file.
6092 * gdb.perf/template-breakpoints.py: New file.
6093
6094 2018-03-19 Tom Tromey <tom@tromey.com>
6095
6096 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6097 y0.
6098 * gdb.rust/simple.exp: Test bare identifier form of struct
6099 initializer.
6100
6101 2018-03-19 Tom Tromey <tom@tromey.com>
6102
6103 * gdb.gdb/observer.exp: Remove.
6104
6105 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6106
6107 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6108 "qualified" option when setting breakpoints.
6109 * gdb.trace/backtrace.exp: Likewise.
6110 * gdb.trace/circ.exp: Likewise.
6111 * gdb.trace/collection.exp: Likewise.
6112 * gdb.trace/disconnected-tracing.exp: Likewise.
6113 * gdb.trace/ftrace-lock.exp: Likewise.
6114 * gdb.trace/ftrace.exp: Likewise.
6115 * gdb.trace/infotrace.exp: Likewise.
6116 * gdb.trace/packetlen.exp: Likewise.
6117 * gdb.trace/passc-dyn.exp: Likewise.
6118 * gdb.trace/qtro.exp: Likewise.
6119 * gdb.trace/read-memory.exp: Likewise.
6120 * gdb.trace/report.exp: Likewise.
6121 * gdb.trace/signal.exp: Likewise.
6122 * gdb.trace/status-stop.exp: Likewise.
6123 * gdb.trace/strace.exp: Likewise.
6124 * gdb.trace/tfind.exp: Likewise.
6125 * gdb.trace/trace-break.exp: Likewise.
6126 * gdb.trace/trace-condition.exp: Likewise.
6127 * gdb.trace/trace-mt.exp: Likewise.
6128 * gdb.trace/tstatus.exp: Likewise.
6129 * gdb.trace/tsv.exp: Likewise.
6130 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6131 * gdb.trace/unavailable.exp: Likewise.
6132 * gdb.trace/while-dyn.exp: Likewise.
6133
6134 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6135
6136 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6137 that libinproctrace is copied to the target.
6138
6139 2018-03-14 Tom Tromey <tom@tromey.com>
6140
6141 PR cli/14977:
6142 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6143 a null pointer.
6144 * gdb.base/wchar.exp: Likewise.
6145
6146 2018-03-14 Tom Tromey <tom@tromey.com>
6147
6148 PR cli/19918:
6149 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6150 flag.
6151
6152 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6153
6154 PR gdb/22841
6155 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6156 "target" to remote_exec.
6157
6158 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6159
6160 PR gdb/22841
6161 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6162 ${board}_upload): Remove.
6163
6164 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6165
6166 * gdb.cp/watch-cp.cc: New test.
6167 * gdb.cp/watch-cp.exp: New file.
6168
6169 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6170
6171 * gdb.base/infcall-nested-structs.exp: New file.
6172 * gdb.base/infcall-nested-structs.c: New file.
6173 * gdb.base/float.exp: Add riscv support.
6174
6175 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6176
6177 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6178 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6179
6180 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6181
6182 * gdb.server/abspath.exp: New file.
6183 * lib/gdb.exp (with_cwd): New procedure.
6184
6185 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6186
6187 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6188 use it.
6189 (gdb_is_target_remote_prompt): New proc.
6190 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6191 (gdb_is_target_native): Pass prompt parameter to
6192 gdb_is_target_1.
6193
6194 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
6195
6196 * gdb.base/load-command.c: New file.
6197 * gdb.base/load-command.exp: New file.
6198 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
6199 (gdb_is_target_1): ...this, and generalize for other targets
6200 than just remote.
6201 (gdb_is_target_remote): Use gdb_is_target_1.
6202 (gdb_is_target_native): use gdb_is_target_1.
6203
6204 2018-02-26 Tom Tromey <tom@tromey.com>
6205
6206 PR python/16497:
6207 * gdb.python/py-framefilter.exp: Update test.
6208
6209 2018-02-26 Tom Tromey <tom@tromey.com>
6210
6211 * gdb.dwarf2/variant.c: New file.
6212 * gdb.dwarf2/variant.exp: New file.
6213
6214 2018-02-26 Tom Tromey <tom@tromey.com>
6215
6216 * gdb.rust/simple.exp: Accept more possible results in enum test.
6217
6218 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
6219
6220 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
6221 parentheses.
6222
6223 2018-02-23 Maciej W. Rozycki <macro@mips.com>
6224
6225 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
6226 name of a variable: $actual_linejj -> $actual_line.
6227
6228 2018-02-21 John Baldwin <jhb@FreeBSD.org>
6229
6230 * gdb.arch/amd64-i386-address.exp: Fix a typo.
6231
6232 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
6233
6234 * gdb.btrace/buffer-size.exp: Do not force BTS.
6235
6236 2018-02-14 Pedro Alves <palves@redhat.com>
6237
6238 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
6239 getting a "Quit".
6240
6241 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
6242
6243 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
6244 Fix test name.
6245
6246 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
6247
6248 * gdb.cp/m-static.exp: Check type of optimized out static
6249 member.
6250
6251 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
6252
6253 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
6254 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
6255
6256 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
6257 Leszek Swirski <leszeks@google.com>
6258
6259 * gdb.python/py-prettyprint.c
6260 (struct to_string_returns_value_inner,
6261 struct to_string_returns_value_wrapper): New.
6262 (main): Add tsrvw variable.
6263 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
6264 ToStringReturnsValueWrapper): New classes.
6265 (register_pretty_printers): Register new pretty-printers.
6266 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
6267 recursive pretty printer.
6268 * gdb.python/py-mi.exp: Likewise.
6269
6270 2018-02-01 Leszek Swirski <leszeks@google.com>
6271
6272 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
6273 functions with the same name as an include file are parsed
6274 correctly.
6275
6276 2018-02-01 Yao Qi <yao.qi@linaro.org>
6277
6278 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
6279 "\[^\r\n\]*".
6280
6281 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
6282
6283 * gdb.arch/powerpc-prologue-frame.s: New file.
6284 * gdb.arch/powerpc-prologue-frame.c: Likewise.
6285 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
6286
6287 2018-01-31 Joel Brobecker <brobecker@adacore.com>
6288
6289 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
6290
6291 2018-01-30 Pedro Alves <palves@redhat.com>
6292
6293 PR gdb/13211
6294 * gdb.base/interrupt-daemon.c: New.
6295 * gdb.base/interrupt-daemon.exp: New.
6296 * gdb.multi/multi-term-settings.c: New.
6297 * gdb.multi/multi-term-settings.exp: New.
6298
6299 2018-01-30 Joel Brobecker <brobecker@adacore.com>
6300
6301 * gdb.base/break.exp: Save the location where the breakpoint
6302 on break.c:47 was actually inserted when debugging the version
6303 compiled at -O2 and use it in the expected output of the "info
6304 break" test performed soon after.
6305
6306 2018-01-22 Pedro Alves <palves@redhat.com>
6307 Sergio Durigan Junior <sergiodj@redhat.com>
6308
6309 * gdb.base/whatis.exp: Add tests for 'set print object on' +
6310 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
6311
6312 2018-01-22 Joel Brobecker <brobecker@adacore.com>
6313
6314 * gdb.base/break-include.c, gdb.base/break-include.inc,
6315 gdb.base/break-include.exp: New files.
6316 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
6317 line number now being the actual line number where the breakpoint
6318 was inserted.
6319 * gdb.mi/mi-break.exp: Likewise.
6320 * gdb.mi/mi-reverse.exp: Likewise.
6321 * gdb.mi/mi-simplerun.exp: Ditto.
6322
6323 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6324
6325 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
6326 varobj.
6327 * gdb.mi/mi-var-create-rtti.exp: Likewise.
6328
6329 2018-01-21 Don Breazeal <donb@codesourcery.com>
6330 Andrew Burgess <andrew.burgess@embecosm.com>
6331
6332 * gdb.mi/basics.c: Add new global.
6333 * gdb.mi/mi-frame-regs.exp: New file.
6334 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
6335 case.
6336
6337 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6338
6339 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
6340 non-parameter, and on an unknown symbol.
6341
6342 2018-01-19 Tom Tromey <tom@tromey.com>
6343
6344 * gdb.rust/modules.rs (TWENTY_THREE): New global.
6345 * gdb.rust/modules.exp: Add ::-qualified lookup test.
6346
6347 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6348
6349 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
6350 setrlimit and chdir to int.
6351
6352 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6353
6354 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
6355 function.
6356 (my_tend): Likewise.
6357 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
6358 rationale of avoiding FP- and vector instructions.
6359
6360 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
6361
6362 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
6363 "info reg" with "\[ \t\]*".
6364 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6365 "\[ \t\]+".
6366 * gdb.arch/s390-multiarch.exp: Ditto.
6367 * gdb.base/pc-fp.exp: Ditto.
6368 * gdb.reverse/i386-precsave.exp: Ditto.
6369 * gdb.reverse/i386-reverse.exp: Ditto.
6370 * gdb.reverse/i387-env-reverse.exp: Ditto.
6371 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6372
6373 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6374
6375 * lib/gdb.exp (gdb_compile): Re-enable use of
6376 universal_compile_options for languages other than Rust.
6377
6378 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6379
6380 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
6381
6382 2018-01-17 Mike Gulick <mgulick@mathworks.com>
6383
6384 PR gdb/16577
6385 * gdb.base/solib-vanish.exp: New.
6386 * gdb.base/solib-vanish-main.c: New.
6387 * gdb.base/solib-vanish-lib1.c: New.
6388 * gdb.base/solib-vanish-lib2.c: New.
6389
6390 2018-01-17 Yao Qi <yao.qi@linaro.org>
6391
6392 * gdb.compile/compile.exp: Match the address printed for
6393 frame in the output of command "bt".
6394
6395 2018-01-15 Tom Tromey <tom@tromey.com>
6396
6397 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
6398 compute sp_reg.
6399
6400 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6401
6402 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
6403 to prepare.
6404 (prepare): Return 0 on error, 1 on success.
6405
6406 2018-01-12 Pedro Alves <palves@redhat.com>
6407
6408 * gdb.base/continue-after-aborted-step-over.c: New.
6409 * gdb.base/continue-after-aborted-step-over.exp: New.
6410
6411 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
6412
6413 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
6414 options when not creating an executable.
6415
6416 2018-01-11 Pedro Alves <palves@redhat.com>
6417
6418 PR remote/22597
6419 * gdb.server/stop-reply-no-thread.c: New file.
6420 * gdb.server/stop-reply-no-thread.exp: New file.
6421
6422 2018-01-10 Pedro Alves <palves@redhat.com>
6423
6424 PR gdb/22670
6425 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
6426 functions too. Test setting breakpoints and printing C functions
6427 with no debug info too.
6428 * gdb.ada/bp_c_mixed_case/qux.c: New file.
6429
6430 2018-01-10 Pedro Alves <palves@redhat.com>
6431
6432 PR gdb/22670
6433 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
6434 a fail.
6435
6436 2018-01-10 Pedro Alves <palves@redhat.com>
6437
6438 PR gdb/22670
6439 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
6440
6441 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6442
6443 * gdb.server/unittest.exp: Match the output in non-development
6444 mode.
6445
6446 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6447
6448 * gdb.gdb/unittest.exp: Match output in non-development mode.
6449
6450 2018-01-08 Joel Brobecker <brobecker@adacore.com>
6451
6452 * gdb.ada/access_tagged_param.exp: Relax expected output
6453 for value of "ObjL" in "continue" to pck.inspect breakpoint
6454 test.
6455
6456 2018-01-08 Joel Brobecker <brobecker@adacore.com>
6457
6458 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
6459 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
6460
6461 2018-01-05 Pedro Alves <palves@redhat.com>
6462
6463 PR gdb/18653
6464 * gdb.base/libsegfault.exp: New.
6465
6466 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6467
6468 PR gdb/22670
6469 * gdb.ada/access_tagged_param.exp: New file.
6470 * gdb.ada/access_tagged_param/foo.adb: New file.
6471
6472 2018-01-05 Pedro Alves <palves@redhat.com>
6473
6474 PR gdb/22670
6475 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
6476 exercise lower case too, and to exercise both full matching and
6477 wild matching.
6478
6479 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6480
6481 * gdb.ada/rename_subscript_param: New testcase.
6482
6483 2018-01-05 Jerome Guitton <guitton@adacore.com>
6484
6485 * gdb.ada/arr_acc_idx_w_gap: New testcase.
6486
6487 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6488
6489 * gdb.ada/convvar_comp: New testcase.
6490
6491 2018-01-05 Xavier Roirand <roirand@adacore.com>
6492
6493 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
6494 (My_Table): New global variable.
6495 * testsuite/gdb.ada/array_char_idx.exp: Add test.
6496
6497 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6498
6499 PR gdb/22670
6500 * gdb.ada/maint_with_ada: New testcase.
6501
6502 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6503
6504 PR gdb/22670
6505 * gdb.ada/bp_c_mixed_case: New testcase.
6506
6507 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6508
6509 PR gdb/22670
6510 * gdb.ada/complete.exp: Add "complete break ada" test.
6511
6512 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6513
6514 PR gdb/22670
6515 * gdb.ada/info_addr_mixed_case: New testcase.
6516
6517 2018-01-03 Xavier Roirand <roirand@adacore.com>
6518
6519 * gdb.ada/excep_handle.exp: New testcase.
6520 * gdb.ada/excep_handle/foo.adb: New file.
6521 * gdb.ada/excep_handle/pck.ads: New file.
6522
6523 2018-01-03 Joel Brobecker <brobecker@adacore.com>
6524
6525 * gdb.base/step-line.c: Add extra empty line in copyright header.
6526 * gdb.base/step-line.inp: Likewise.
6527
6528 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6529
6530 * gdb.ada/dyn_stride.exp: Add slice test.
6531
6532 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6533
6534 * gdb.ada/dyn_stride: New testcase.
6535
6536 2017-12-27 Stafford Horne <shorne@gmail.com>
6537
6538 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6539 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6540
6541 2017-12-27 Stafford Horne <shorne@gmail.com>
6542
6543 * gdb.base/reggroups.c: New file.
6544 * gdb.base/reggroups.exp: New file.
6545
6546 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6547
6548 * gdb.dwarf2/ada-valprint-error.c: New file.
6549 * gdb.dwarf2/ada-valprint-error.exp: New file.
6550
6551 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6552
6553 * gdb.ada/assign_arr: New testcase.
6554
6555 2017-12-18 Xavier Roirand <roirand@adacore.com>
6556
6557 * gdb.ada/funcall_ptr: New testcase.
6558
6559 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6560
6561 PR cli/16224
6562 * gdb.base/ptype-offsets.cc: New file.
6563 * gdb.base/ptype-offsets.exp: New file.
6564
6565 2017-12-15 Yao Qi <yao.qi@linaro.org>
6566
6567 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6568 if XML is disabled.
6569
6570 2017-12-15 Xavier Roirand <roirand@adacore.com>
6571
6572 * gdb.ada/same_component_name: New testcase.
6573
6574 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6575
6576 * gdb.ada/str_binop_equal: New testcase.
6577
6578 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6579
6580 * gdb.ada/task_switch_in_core: New testcase.
6581
6582 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6583
6584 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6585 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6586 call test_bkpt_qualified.
6587 (test_bkpt_qualified): New proc.
6588
6589 2017-12-13 Pedro Alves <palves@redhat.com>
6590
6591 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6592 Tighten regexp by matching with an anchor.
6593
6594 2017-12-13 Pedro Alves <palves@redhat.com>
6595
6596 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6597 ("expression with namespace"): New set of tests.
6598 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6599 (Nested::Test_NS::qux): New.
6600 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6601 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6602
6603 2017-12-13 Joel Brobecker <brobecker@adacore.com>
6604
6605 * gdb.base/server-del-break.c: New file.
6606 * gdb.base/server-del-break.exp: New file.
6607
6608 2017-12-12 Stafford Horne <shorne@gmail.com>
6609
6610 * gdb.xml/tdesc-regs.exp: Add or1k support.
6611
6612 2017-12-12 Stafford Horne <shorne@gmail.com>
6613
6614 * gdb.base/bp-permanent.c: Define nop of or1k.
6615
6616 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6617
6618 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6619 output with components being reordered.
6620
6621 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6622
6623 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6624 output with components being reordered.
6625
6626 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6627 Pedro Alves <palves@redhat.com>
6628
6629 * gdb.base/maint.exp (check for .gdb_index): Check also for
6630 .debug_names.
6631 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6632 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6633 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6634 (.gdb_index used after symbol reloading): Support also .debug_names.
6635 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6636
6637 2017-12-08 Yao Qi <yao.qi@linaro.org>
6638
6639 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6640 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6641
6642 2017-12-08 Yao Qi <yao.qi@linaro.org>
6643
6644 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6645 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6646
6647 2017-12-08 Yao Qi <yao.qi@linaro.org>
6648
6649 * gdb.arch/aarch64-tagged-pointer.c: New file.
6650 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6651
6652 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6653
6654 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6655 "int".
6656
6657 2017-12-07 Keith Seitz <keiths@redhat.com>
6658
6659 PR breakpoints/22569
6660 * gdb.linespec/ls-errs.exp: Change expected result of "break
6661 -source this file has spaces.c -line 3".
6662 Check that an explicit source file followed by whitespace is
6663 identified as an invalid explicit location.
6664
6665 2017-12-07 Keith Seitz <keiths@redhat.com>
6666
6667 * gdb.cp/nested-types.cc: New file.
6668 * gdb.cp/nested-types.exp: New file.
6669 * lib/cp-support.exp: Load data-structures.exp library.
6670 (debug_cp_test_ptype_class): New global.
6671 (cp_ptype_class_verbose, next_line): New procedures.
6672 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6673 Add and document new return value.
6674 Switch the list of lines to a queue.
6675 Add support for new `type' key for nested type definitions.
6676 Add debugging/troubleshooting messages.
6677 * lib/data-structures.exp: New file.
6678
6679 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6680
6681 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6682 with proc_with_prefix, don't use with_test_prefix.
6683
6684 2017-12-07 Tom Tromey <tom@tromey.com>
6685
6686 * gdb.base/break.exp: Add test for empty "commands".
6687
6688 2017-12-07 Yao Qi <yao.qi@linaro.org>
6689
6690 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6691 malloc and catch syscall.
6692
6693 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6694
6695 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
6696 tests for explicit locations.
6697
6698 2017-12-06 Pedro Alves <palves@redhat.com>
6699
6700 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6701 force-disabling XML descriptions.
6702
6703 2017-12-04 Pedro Alves <palves@redhat.com>
6704
6705 PR gdb/22499
6706 * gdb.arch/amd64-disp-step-avx.S: New file.
6707 * gdb.arch/amd64-disp-step-avx.exp: New file.
6708
6709 2017-12-03 Pedro Alves <palves@redhat.com>
6710
6711 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6712 and <string.h>.
6713 (parent_function): Print distinct messages when waitpid fails, or
6714 the child exits with a signal, or the child exits for an unhandled
6715 reason.
6716 * gdb.threads/process-dies-while-detaching.exp
6717 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6718 it. Wait for both inferior output and GDB's prompt. Use an
6719 indirect spawn id list.
6720 (do_detach): New parameter 'child_exit'. Use it to compute
6721 expected inferior output.
6722 (test_detach, test_detach_watch, test_detach_killed_outside):
6723 Adjust to pass down the expected child exit kind.
6724
6725 2017-12-01 Joel Brobecker <brobecker@adacore.com>
6726 Sergio Durigan Junior <sergiodj@redhat.com>
6727 Pedro Alves <palves@redhat.com>
6728
6729 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6730
6731 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6732
6733 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6734 to 'symbol-file' and 'add-symbol-file' can be
6735 position-independent.
6736
6737 2017-12-01 Yao Qi <yao.qi@linaro.org>
6738
6739 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6740 the URL in copyright header.
6741 * gdb.arch/aarch64-fp.exp: Likewise.
6742 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6743 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6744 * gdb.base/expand-psymtabs.exp: Likewise.
6745 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6746 * gdb.fortran/common-block.exp: Likewise.
6747 * gdb.fortran/common-block.f90: Likewise.
6748 * gdb.fortran/logical.exp: Likewise.
6749 * gdb.fortran/vla-datatypes.f90: Likewise.
6750 * gdb.fortran/vla-sub.f90: Likewise.
6751
6752 2017-11-30 Joel Brobecker <brobecker@adacore.com>
6753
6754 * gdb.ada/repeat_dyn: New testcase.
6755
6756 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6757
6758 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6759 Update for changed thread numbering.
6760 * gdb.cell/bt.exp: Update for changed GDB output.
6761
6762 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6763
6764 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6765 setting isremote by hand.
6766 * boards/dwarf4-gdb-index.exp: Likewise.
6767 * boards/fission.exp: Likewise.
6768 * boards/stabs.exp: Likewise.
6769
6770 2017-11-30 Pedro Alves <palves@redhat.com>
6771
6772 * gdb.linespec/cpls-ops.exp
6773 (check_explicit_skips_function_argument): Extract the underlying
6774 type of size_t instead of hardcoding it.
6775
6776 2017-11-29 Pedro Alves <palves@redhat.com>
6777
6778 PR c++/19436
6779 * gdb.linespec/cpls-abi-tag.cc: New file.
6780 * gdb.linespec/cpls-abi-tag.exp: New file.
6781
6782 2017-11-29 Pedro Alves <palves@redhat.com>
6783
6784 * gdb.base/langs.exp: Use -qualified.
6785 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6786 it.
6787 * gdb.cp/namespace.exp: Use -qualified.
6788 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6789 (overload-3, template-overload, template-ret-type, const-overload)
6790 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6791 procedures.
6792 (test_driver): Call them.
6793 * gdb.cp/save-bp-qualified.cc: New.
6794 * gdb.cp/save-bp-qualified.exp: New.
6795 * gdb.linespec/explicit.exp: Test -qualified.
6796 * lib/completion-support.exp (completion::explicit_opts_list): Add
6797 "-qualified".
6798 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6799
6800 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6801
6802 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6803
6804 2017-11-29 Tom Tromey <tom@tromey.com>
6805
6806 * gdb.base/relocate.exp: Update invalid argument test.
6807 Add new tests for invalid arguments.
6808
6809 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6810
6811 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6812 Return 0 as a long.
6813 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6814
6815 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6816
6817 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6818 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6819 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6820 func ().
6821 * gdb.cp/shadow.cc (B.func): Return 0.
6822
6823 2017-11-27 Joel Brobecker <brobecker@adacore.com>
6824
6825 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6826 expected output in gdb_expect call to allow the exception
6827 message to be present as well. Fix syntax confusion to avoid
6828 TCL thinking that exception_name is an array.
6829
6830 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6831
6832 * gdb.arch/spu-info.c: Include <unistd.h>.
6833 (do_signal_test): Fix broken calls to write.
6834 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6835 Fix checks for empty mailboxes. Update signal tests for corrected
6836 do_signal_test routine. Allow nonzero event status.
6837 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6838 * gdb.cell/arch.exp: Use standard_output_file.
6839 * gdb.cell/break.exp: Likewise.
6840 * gdb.cell/bt.exp: Likewise.
6841 * gdb.cell/core.exp: Likewise.
6842 * gdb.cell/dwarfaddr.exp: Likewise.
6843 * gdb.cell/ea-cache.exp: Likewise.
6844 * gdb.cell/ea-standalone.exp: Likewise.
6845 * gdb.cell/f-regs.exp: Likewise.
6846 * gdb.cell/fork.exp: Likewise.
6847 * gdb.cell/gcore.exp: Likewise.
6848 * gdb.cell/mem-access.exp: Likewise.
6849 * gdb.cell/ptype.exp: Likewise.
6850 * gdb.cell/registers.exp: Likewise.
6851 * gdb.cell/sizeof.exp: Likewise.
6852 * gdb.cell/solib-symbol.exp: Likewise.
6853 * gdb.cell/solib.exp: Likewise.
6854
6855 2017-11-25 Pedro Alves <palves@redhat.com>
6856
6857 * gdb.base/complete-empty.exp: New file.
6858 * gdb.base/completion.exp: Adjust.
6859
6860 2017-11-25 Pedro Alves <palves@redhat.com>
6861
6862 * gdb.linespec/cpls-ops.cc: New file.
6863 * gdb.linespec/cpls-ops.exp: New file.
6864 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6865 factored out from ...
6866 (test_complete_prefix_range): ... this.
6867
6868 2017-11-24 Pedro Alves <palves@redhat.com>
6869
6870 * gdb.linespec/cpcompletion.exp: New file.
6871 * gdb.linespec/cpls-hyphen.cc: New file.
6872 * gdb.linespec/cpls.cc: New file.
6873 * gdb.linespec/cpls2.cc: New file.
6874 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6875 test to use test_gdb_complete_unique. Add label completion,
6876 keyword completion and explicit location completion tests.
6877 * lib/completion-support.exp: New file.
6878
6879 2017-11-24 Joel Brobecker <brobecker@adacore.com>
6880
6881 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6882 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6883 when hitting an exception catchpoint.
6884
6885 2017-11-22 Yao Qi <yao.qi@linaro.org>
6886
6887 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6888
6889 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6890
6891 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6892 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6893 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6894
6895 2017-11-22 Yao Qi <yao.qi@linaro.org>
6896
6897 * gdb.base/info-os.exp: Pass pthreads.
6898 * gdb.multi/multi-attach.exp: Likewise.
6899
6900 2017-11-22 Yao Qi <yao.qi@linaro.org>
6901
6902 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6903 compiler.
6904
6905 2017-11-22 Yao Qi <yao.qi@linaro.org>
6906
6907 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6908 * gdb.base/break-interp.exp: Likewise.
6909 * gdb.base/jit-attach-pie.exp: Likewise.
6910
6911 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6912
6913 * gdb.base/float128.c (large128): New variable.
6914 * gdb.base/float128.exp: Add test to print largest __float128 value.
6915
6916 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6917
6918 * gdb.arch/vsx-regs.exp: Update register content checks.
6919
6920 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6921
6922 * gdb.arch/ppc-longdouble.exp: New file.
6923 * gdb.arch/ppc-longdouble.c: Likewise.
6924
6925 2017-11-21 Pedro Alves <palves@redhat.com>
6926
6927 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6928
6929 2017-11-20 Pedro Alves <palves@redhat.com>
6930
6931 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6932 (long_double_typedef): New typedefs.
6933 Use DEF on double and long double.
6934 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6935 cases.
6936 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6937 and 'long_double_ptr_same_size' locals. Use them to decide
6938 whether cast from array/function to float is valid/invalid.
6939
6940 2017-11-17 Tom Tromey <tom@tromey.com>
6941
6942 * gdb.rust/traits.rs: New file.
6943 * gdb.rust/traits.exp: New file.
6944
6945 2017-11-17 Joel Brobecker <brobecker@adacore.com>
6946
6947 * gdb.ada/minsyms: New testcase.
6948
6949 2017-11-16 Pedro Alves <palves@redhat.com>
6950
6951 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6952 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6953
6954 2017-11-16 Pedro Alves <palves@redhat.com>
6955
6956 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6957 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6958
6959 2017-11-16 Pedro Alves <palves@redhat.com>
6960
6961 * gdb.server/reconnect-ctrl-c.c: New file.
6962 * gdb.server/reconnect-ctrl-c.exp: New file.
6963
6964 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6965
6966 * gdb.python/py-rbreak.exp: New file.
6967 * gdb.python/py-rbreak.c: New file.
6968 * gdb.python/py-rbreak-func2.c: New file.
6969
6970 2017-11-16 Pedro Alves <palves@redhat.com>
6971
6972 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6973 pattern.
6974 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6975 GDB.
6976
6977 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6978
6979 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6980 regex.
6981
6982 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6983
6984 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6985 test names.
6986
6987 2017-11-09 Pedro Alves <palves@redhat.com>
6988
6989 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6990 factored out from ...
6991 (top level): ... here, and adjusted to avoid expecting beyond the
6992 prompt in a single gdb_test_multiple.
6993
6994 2017-11-09 Pedro Alves <palves@redhat.com>
6995
6996 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6997 output.
6998 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6999 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7000 * gdb.server/ext-run.exp ("kill" test): Likewise.
7001 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7002
7003 2017-11-09 Pedro Alves <palves@redhat.com>
7004
7005 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7006 match till end of line.
7007
7008 2017-11-09 Pedro Alves <palves@redhat.com>
7009
7010 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7011
7012 2017-11-09 Pedro Alves <palves@redhat.com>
7013
7014 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7015 New procedures, factored out from ...
7016 (top level): ... here, and adjusted to avoid expecting beyond the
7017 prompt in one go.
7018
7019 2017-11-09 Pedro Alves <palves@redhat.com>
7020
7021 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7022 output. Fix '?' match.
7023
7024 2017-11-08 Joel Brobecker <brobecker@adacore.com>
7025
7026 * gdb.ada/scoped_watch: New testcase.
7027 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7028 which is actually correct.
7029 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7030 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7031
7032 2017-11-08 Pedro Alves <palves@redhat.com>
7033
7034 * gdb.gdb/complaints.exp (test_initial_complaints)
7035 (test_serial_complaints, test_short_complaints): Call
7036 complaint_internal instead of complaint.
7037
7038 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7039
7040 * gdb.threads/tls-core.c: New file.
7041 * gdb.threads/tls-core.exp: Likewise.
7042
7043 2017-11-08 Pedro Alves <palves@redhat.com>
7044
7045 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7046 (p Exported_Capitalized): New test.
7047 (p exported_capitalized): New test.
7048
7049 2017-11-07 Pedro Alves <palves@redhat.com>
7050
7051 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7052
7053 2017-11-07 Pedro Alves <palves@redhat.com>
7054
7055 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7056 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7057 (disable_invalid, disable_inverted, disable_negative): New
7058 procedures.
7059 ("bad numbers"): New set of tests.
7060
7061 2017-11-07 Pedro Alves <palves@redhat.com>
7062
7063 * gdb.cp/ena-dis-br-range.exp: Add tests.
7064
7065 2017-11-07 Pedro Alves <palves@redhat.com>
7066
7067 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7068
7069 2017-11-07 Xavier Roirand <roirand@adacore.com>
7070 Pedro Alves <palves@redhat.com>
7071
7072 * gdb.base/ena-dis-br.exp: Add reference to
7073 gdb.cp/ena-dis-br-range.exp.
7074 * gdb.cp/ena-dis-br-range.exp: New file.
7075 * gdb.cp/ena-dis-br-range.cc: New file.
7076
7077 2017-11-06 Pedro Alves <palves@redhat.com>
7078
7079 * gdb.base/attach-non-pgrp-leader.c: New.
7080 * gdb.base/attach-non-pgrp-leader.exp: New.
7081
7082 2017-11-06 Pedro Alves <palves@redhat.com>
7083
7084 * configure.ac: No longer check for termio.h and sgtty.h.
7085 * configure: Regenerate.
7086 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7087 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7088 Remove termio and sgtty code.
7089
7090 2017-11-03 Yao Qi <yao.qi@linaro.org>
7091
7092 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7093 in GDB is disabled.
7094
7095 2017-11-03 Yao Qi <yao.qi@linaro.org>
7096
7097 * gdb.python/py-thrhandle.exp: Skip it if python is not
7098 enabled.
7099
7100 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7101
7102 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7103 as a breakpoint command.
7104
7105 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7106
7107 PR python/21213
7108 * gdb.python/py-infthread.exp: Test calling
7109 InferiorThread.inferior () multiple times in a row.
7110
7111 2017-10-27 Keith Seitz <keiths@redhat.com>
7112
7113 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7114 Test "info break" for every inlined function breakpoint.
7115
7116 2017-10-27 Yao Qi <yao.qi@linaro.org>
7117
7118 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7119
7120 2017-10-26 Patrick Frants <osscontribute@gmail.com>
7121
7122 * gdb.cp/classes.exp (test_static_members): Test printing
7123 Outer::instance.
7124 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7125 (Inner::instance, Outer::instance): New.
7126
7127 2017-10-24 Pedro Alves <palves@redhat.com>
7128
7129 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7130 extra console" test in two stages.
7131
7132 2017-10-24 Pedro Alves <palves@redhat.com>
7133
7134 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7135
7136 2017-10-24 Pedro Alves <palves@redhat.com>
7137
7138 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7139 loop.
7140
7141 2017-10-24 Pedro Alves <palves@redhat.com>
7142
7143 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7144 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7145
7146 2017-10-24 Pedro Alves <palves@redhat.com>
7147
7148 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7149 parameter and handle it. Don't output read value in test name.
7150
7151 2017-10-24 Pedro Alves <palves@redhat.com>
7152
7153 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7154 custom test name.
7155
7156 2017-10-24 Pedro Alves <palves@redhat.com>
7157
7158 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7159 include the unstable output directory name in the test's name.
7160 (initial_setup_simple) <'set args'>: Use custom test name.
7161
7162 2017-10-24 Pedro Alves <palves@redhat.com>
7163
7164 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7165 with explicit test name.
7166
7167 2017-10-20 Pedro Alves <palves@redhat.com>
7168
7169 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7170 'wait -i'. Use gdb_assert and remote_close.
7171
7172 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7173
7174 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7175 number from variable rather than hard-coded.
7176
7177 2017-10-19 Pedro Alves <palves@redhat.com>
7178
7179 * gdb.base/long-inferior-output.c: New file.
7180 * gdb.base/long-inferior-output.exp: New file.
7181
7182 2017-11-18 Keith Seitz <keiths@redhat.com>
7183
7184 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7185 method.
7186 (main): Call it.
7187 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7188 Add additional user-defined conversion operator tests.
7189
7190 2017-10-17 Pedro Alves <palves@redhat.com>
7191
7192 * boards/native-stdio-gdbserver.exp: Load "local-board".
7193
7194 2017-10-17 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.base/quit-live.c: New file.
7197 * gdb.base/quit-live.exp: New file.
7198
7199 2017-10-16 Keith Seitz <keiths@redhat.com>
7200
7201 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
7202 (class_with_protected_typedef, class_with_private_typedef)
7203 (struct_with_public_typedef, struct_with_protected_typedef)
7204 (struct_with_private_typedef): New classes/structs.
7205 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
7206 typedefs and access specifiers.
7207
7208 2017-10-16 Pedro Alves <palves@redhat.com>
7209 Simon Marchi <simon.marchi@polymtl.ca>
7210
7211 * README (Local vs Remote vs Native): New section.
7212 * boards/local-board.exp: New file, with bits factored out from
7213 ...
7214 * boards/native-extended-gdbserver.exp: ... here. Load
7215 "local-board".
7216 * boards/native-gdbserver.exp: Load "local-board".
7217 (${board}_spawn, ${board}_exec): Delete.
7218 * boards/native-stdio-gdbserver.exp: Most contents factored out to
7219 ...
7220 * boards/stdio-gdbserver-base.exp: ... this new file.
7221 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
7222 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
7223 procedure.
7224 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
7225 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
7226 stdio_gdbserver_command.
7227 (${board}_get_remote_address, ${board}_get_comm_port)
7228 (${board}_download, ${board}_upload): Delete.
7229 (get_target_remote_pipe_cmd): New.
7230
7231 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
7232
7233 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
7234 test_bkpt_deletion, test_bkpt_cond_and_cmds,
7235 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
7236 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
7237 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
7238 remove with_test_prefix.
7239
7240 2017-10-13 Pedro Alves <palves@redhat.com>
7241
7242 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
7243 * gdb.base/annota1.exp: Use it instead of is_remote.
7244 * gdb.base/annota3.exp: Use it instead of is_remote.
7245 * gdb.cp/annota2.exp: Use it instead of is_remote.
7246 * gdb.cp/annota3.exp: Use it instead of is_remote.
7247 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
7248
7249 2017-10-13 Pedro Alves <palves@redhat.com>
7250
7251 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
7252 (test_num_test_vars, run_and_count_vars, find_env)
7253 (test_set_unset_env, test_inherit_env_var): New procedures.
7254 (top level): Use them.
7255
7256 2017-10-13 Pedro Alves <palves@redhat.com>
7257
7258 * lib/selftest-support.exp (selftest_setup): Extend comments, and
7259 also skip on stub-like targets.
7260
7261 2017-10-13 Pedro Alves <palves@redhat.com>
7262
7263 PR gdb/22293
7264 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
7265 (top level): Move some tests to ...
7266 (test_not_found): ... this new procedure.
7267 (top level): Call it.
7268
7269 2017-10-13 Pedro Alves <palves@redhat.com>
7270
7271 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
7272 expect different "info terminal" output if testing with a
7273 non-native target.
7274
7275 2017-10-13 Pedro Alves <palves@redhat.com>
7276 Simon Marchi <simon.marchi@polymtl.ca>
7277
7278 PR python/12966
7279 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
7280
7281 2017-10-13 Pedro Alves <palves@redhat.com>
7282
7283 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
7284 already.
7285
7286 2017-10-13 Pedro Alves <palves@redhat.com>
7287
7288 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
7289 is_remote.
7290
7291 2017-10-13 Pedro Alves <palves@redhat.com>
7292
7293 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
7294 is_remote.
7295
7296 2017-10-13 Pedro Alves <palves@redhat.com>
7297
7298 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
7299 is set.
7300 (corefile_test_attach): Likewise. Check can_spawn_for_attach
7301 instead of is_remote.
7302
7303 2017-10-13 Pedro Alves <palves@redhat.com>
7304
7305 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
7306 (top level): Add comment.
7307
7308 2017-10-13 Pedro Alves <palves@redhat.com>
7309
7310 * gdb.base/remote.exp (top level): Fix comment typo and add
7311 missing return.
7312
7313 2017-10-13 Pedro Alves <palves@redhat.com>
7314 Simon Marchi <simon.marchi@polymtl.ca>
7315
7316 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
7317 calls and add comments. Skip test if use_gdb_stub is set.
7318 (top level): Use "set cwd" command instead of "cd" command.
7319
7320 2017-10-13 Pedro Alves <palves@redhat.com>
7321
7322 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
7323 is_remote target check.
7324
7325 2017-10-13 Pedro Alves <palves@redhat.com>
7326
7327 * gdb.base/scope.exp: Use build_executable + clean_restart +
7328 gdb_file_cmd instead of prepare_for_testing and no longer skip
7329 "before run" tests on is_remote target boards. Update comments.
7330 * boards/native-extended-gdbserver.exp
7331 (extended_gdbserver_load_last_file): New, factored out from ...
7332 (gdb_load): ... this. Move further below and add comment.
7333 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
7334
7335 2017-10-12 Pedro Alves <palves@redhat.com>
7336
7337 * gdb.base/attach.exp: Remove references to gdb64.
7338 * gdb.base/dbx.exp: Remove references to gdb64.
7339
7340 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7341 Pedro Alves <palves@redhat.com>
7342
7343 * gdb.base/label.exp: Remove is_remote target check.
7344
7345 2017-10-12 Pedro Alves <palves@redhat.com>
7346
7347 * gdb.base/auvx.exp (coredir): Update comment.
7348 (top level) <core_works>: Use "set cwd" command instead of "cd"
7349 command.
7350
7351 2017-10-12 Pedro Alves <palves@redhat.com>
7352 Simon Marchi <simon.marchi@polymtl.ca>
7353
7354 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
7355 target boards.
7356
7357 2017-10-12 Pedro Alves <palves@redhat.com>
7358 Simon Marchi <simon.marchi@polymtl.ca>
7359
7360 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
7361 Instead skip if there's any gdb_protocol set.
7362
7363 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7364 Pedro Alves <palves@redhat.com>
7365
7366 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
7367
7368 2017-10-12 Pedro Alves <palves@redhat.com>
7369 Simon Marchi <simon.marchi@polymtl.ca>
7370
7371 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
7372 instead of on dejagnu remote boards.
7373
7374 2017-10-12 Pedro Alves <palves@redhat.com>
7375 Simon Marchi <simon.marchi@polymtl.ca>
7376
7377 * gdb.base/inferior-died.exp: Remove is_remote and isnative
7378 checks. Use build_executable + clean_restart instead of
7379 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
7380 of enabling non-stop after starting gdb.
7381
7382 2017-10-12 Pedro Alves <palves@redhat.com>
7383
7384 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
7385 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7386 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7387 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7388
7389 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
7390
7391 * gdb.arch/arc-tdesc-cpu.exp: New file.
7392 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
7393
7394 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
7395
7396 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
7397
7398 2017-10-10 Pedro Alves <palves@redhat.com>
7399
7400 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
7401 expect CLI output.
7402
7403 2017-10-10 Pedro Alves <palves@redhat.com>
7404
7405 * lib/selftest-support.exp (selftest_setup): Update for
7406 captured_command_loop's prototype change.
7407
7408 2017-10-09 Pedro Alves <palves@redhat.com>
7409
7410 Test both arch1=>arch2 and arch2=>arch1.
7411
7412 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
7413 (srcfile2, binfile2, march1, march2): Remove globals. Largely
7414 factored out to...
7415 (append_arch1_options, append_arch2_options, append_arch_options)
7416 (build_executables): New procedures.
7417 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
7418 local.
7419 (top level): Add new 'first_arch' testing axis.
7420
7421 2017-10-09 Pedro Alves <palves@redhat.com>
7422
7423 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
7424 (barrier): New.
7425 (thread_start, all_started): New functions.
7426 (main): Spawn new thread and wait until it is scheduled.
7427 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
7428 option.
7429 (do_test): Add 'selected_thread' parameter. Run to all_started
7430 instead of main. Explicitly set the breakpoint at main. Switch
7431 to the SELECTED_THREAD thread.
7432 (top level): Test handling the exec event with either the main
7433 thread or the second thread selected.
7434
7435 2017-10-09 Pedro Alves <palves@redhat.com>
7436
7437 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
7438 logic. Move STOP marker after the value checks.
7439 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
7440 regexp.
7441
7442 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
7443
7444 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
7445
7446 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
7447
7448 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
7449 integer-to-dfp conversion.
7450 * gdb.base/dfp-test.exp: Likewise.
7451
7452 2017-10-04 Pedro Alves <palves@redhat.com>
7453
7454 * gdb.multi/hangout.c: Include <unistd.h>.
7455 (hangout_loop): New function.
7456 (main): Call alarm. Call hangout_loop in a loop.
7457 * gdb.multi/hello.c: Include <unistd.h>.
7458 (hello_loop): New function.
7459 (main): Call alarm. Call hangout_loop in a loop.
7460 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
7461 inferior with the other selected.
7462
7463 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
7464
7465 * gdb.mi/list-thread-groups-available.exp: New file.
7466 * gdb.mi/list-thread-groups-available.c: New file.
7467
7468 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7469
7470 * gdb.base/set-cwd.exp: Make it available on
7471 native-extended-gdbserver.
7472
7473 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7474
7475 * gdb.base/set-cwd.c: New file.
7476 * gdb.base/set-cwd.exp: Likewise.
7477
7478 2017-10-02 Tom Tromey <tom@tromey.com>
7479
7480 PR rust/22236:
7481 * gdb.rust/simple.rs (main): New variable "fslice".
7482 * gdb.rust/simple.exp: Add slice tests. Update string tests.
7483
7484 2017-10-02 Tom Tromey <tom@tromey.com>
7485
7486 * gdb.rust/simple.exp: Test ptype of a slice.
7487
7488 2017-10-02 Tom Tromey <tom@tromey.com>
7489
7490 * gdb.rust/simple.exp: Test index of slice.
7491
7492 2017-09-27 Tom Tromey <tom@tromey.com>
7493
7494 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
7495
7496 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7497 Pedro Alves <palves@redhat.com>
7498
7499 * gdb.base/compare-sections.exp (get value of read-only section): Read
7500 as unsigned value.
7501 (corrupt read-only section): Likewise and don't set written if patching
7502 failed.
7503
7504 2017-09-21 Kevin Buettner <kevinb@redhat.com>
7505
7506 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7507 files.
7508
7509 2017-09-20 Pedro Alves <palves@redhat.com>
7510
7511 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7512 symbol names in gdb's output.
7513 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7514
7515 2017-09-20 Pedro Alves <palves@redhat.com>
7516
7517 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7518 Rename to ...
7519 (test_list_ambiguous_symbol): ... this and add a symbol name
7520 parameter. Adjust.
7521 (test_list_ambiguous_function): Reimplement on top of
7522 test_list_ambiguous_symbol and also test listing ambiguous
7523 variables.
7524 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7525 (ambiguous_fun): ... this.
7526 (ambiguous_var): New.
7527 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7528 (ambiguous_fun): ... this.
7529 (ambiguous_var): New.
7530
7531 2017-09-19 John Baldwin <jhb@FreeBSD.org>
7532
7533 * gdb.base/starti.c: New file.
7534 * gdb.base/starti.exp: New file.
7535 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7536
7537 2017-09-14 Pedro Alves <palves@redhat.com>
7538
7539 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7540 (top level): Use it instead of runto.
7541
7542 2017-09-11 Tom Tromey <tom@tromey.com>
7543
7544 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7545
7546 2017-09-11 Tom Tromey <tom@tromey.com>
7547
7548 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7549 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7550
7551 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7552
7553 * gdb.fortran/printing-types.exp: New file.
7554 * gdb.fortran/printing-types.exp: New file.
7555
7556 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7557
7558 * gdb.fortran/vla-ptype.exp: Fix typos.
7559 * gdb.fortran/vla-value.exp: Same.
7560
7561 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7562
7563 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7564 * gdb.mi/mi-var-child-f.exp: Likewise.
7565 * gdb.mi/mi-vla-fortran.exp: Likewise.
7566
7567 2017-09-08 Frank Penczek <frank.penczek@intel.com>
7568 Christoph Weinmann <christoph.t.weinmann@intel.com>
7569 Bernhard Heckel <bernhard.heckel@intel.com>
7570
7571 * gdb.fortran/ptr-indentation.f90: New file.
7572 * gdb.fortran/ptr-indentation.exp: New file.
7573
7574 2017-09-05 Tom Tromey <tom@tromey.com>
7575
7576 PR gdb/22010:
7577 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7578
7579 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7580
7581 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7582
7583 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7584
7585 * gdb.threads/tls-nodebug-pie.c: New file.
7586 * gdb.threads/tls-nodebug-pie.exp: New file.
7587
7588 2017-09-05 Tom Tromey <tom@tromey.com>
7589
7590 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7591 for rust.
7592
7593 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7594
7595 * gdb.multi/multi-arch-exec.exp: Test with different
7596 "follow-exec-mode" settings.
7597 (do_test): New procedure.
7598
7599 2017-09-04 Pedro Alves <palves@redhat.com>
7600
7601 * gdb.base/func-static.c (S::method const, S::method volatile)
7602 (S::method volatile const): New methods.
7603 (c_s, v_s, cv_s): New instances.
7604 (main): Call method() on them.
7605 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7606 (cannot_resolve): New procedure.
7607 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7608 print-quote-unquoted columns.
7609 (do_test): Test printing each scope too.
7610
7611 2017-09-04 Pedro Alves <palves@redhat.com>
7612
7613 * gdb.base/local-static.exp: Also test with
7614 class::method::variable wholly quoted.
7615 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7616
7617 2017-09-04 Pedro Alves <palves@redhat.com>
7618
7619 * gdb.base/local-static.c: New.
7620 * gdb.base/local-static.cc: New.
7621 * gdb.base/local-static.exp: New.
7622
7623 2017-09-04 Pedro Alves <palves@redhat.com>
7624
7625 * gdb.asm/asm-source.exp: Add casts to int.
7626 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7627 (dataglobal64_1, dataglobal64_2): New globals.
7628 * gdb.base/nodebug.exp: Test different expressions involving the
7629 new globals, with print, whatis and ptype. Add casts to int.
7630 * gdb.base/solib-display.exp: Add casts to int.
7631 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7632 * gdb.cp/m-static.exp: Add cast to int.
7633 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7634 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7635 tls variable with no debug info without a cast. Test with a cast
7636 to int too.
7637 * gdb.trace/entry-values.exp: Add casts.
7638
7639 2017-09-04 Pedro Alves <palves@redhat.com>
7640
7641 * gdb.base/nodebug.exp: Test that ptype's error about functions
7642 with unknown return type includes the function name too.
7643
7644 2017-09-04 Pedro Alves <palves@redhat.com>
7645
7646 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7647 return type of munmap in infcall.
7648 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7649 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7650 type of ftell in infcall.
7651 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7652 type of getpid in infcall.
7653 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7654 infcall.
7655 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7656 Bail on failure to extract the pid.
7657 * gdb.base/nodebug.c: #include <stdint.h>.
7658 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7659 New functions.
7660 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7661 Change expected output of print/whatis/ptype with functions with
7662 no debug info. Test all supported languages. Call
7663 test_call_promotion.
7664 * gdb.compile/compile.exp: Adjust expected output to expect
7665 warning.
7666 * gdb.threads/siginfo-threads.exp: Likewise.
7667
7668 2017-09-04 Pedro Alves <palves@redhat.com>
7669
7670 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7671 "prototypes". Test calling float functions via prototyped and
7672 unprototyped function pointers.
7673 (perform_all_tests): New parameter "prototypes". Pass it down.
7674 (top level): Pass down "prototypes" parameter to
7675 perform_all_tests.
7676
7677 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7678
7679 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7680 Test with nested loops.
7681
7682 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7683
7684 * gdb.base/commands.exp: Call the new procedures.
7685 (loop_break_test, loop_continue_test): New procedures.
7686
7687 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7688
7689 * gdb.base/commands.exp: Call new procedure.
7690 (define_if_without_arg_test): New procedure.
7691
7692 2017-09-04 Pedro Alves <palves@redhat.com>
7693
7694 * gdb.base/list-ambiguous.exp: New file.
7695 * gdb.base/list-ambiguous0.c: New file.
7696 * gdb.base/list-ambiguous1.c: New file.
7697 * gdb.base/list.exp (test_list_range): Adjust expected output.
7698
7699 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7700
7701 * gdb.base/share-env-with-gdbserver.c: New file.
7702 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7703
7704 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7705
7706 * gdb.base/commands.exp (gdbvar_simple_if_test,
7707 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7708 progvar_simple_if_test, progvar_simple_while_test,
7709 progvar_complex_if_while_test, user_defined_command_test,
7710 user_defined_command_args_eval,
7711 user_defined_command_args_stack_test,
7712 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7713 temporary_breakpoint_commands,
7714 gdb_test_no_prompt, redefine_hook_test,
7715 redefine_backtrace_test): Remove "global gdb_prompt".
7716
7717 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7718
7719 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7720 New proc, call it from toplevel.
7721
7722 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7723
7724 PR remote/21852
7725 * gdb.server/normal.c: New file, copied from gdb.base.
7726 * gdb.server/run-without-local-binary.exp: New file.
7727
7728 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
7729
7730 * gdb.arch/sparc64-adi.exp: New file.
7731 * gdb.arch/sparc64-adi.c: New file.
7732
7733 2017-08-22 Pedro Alves <palves@redhat.com>
7734
7735 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7736 (top level): Add "list all overloads" tests.
7737
7738 2017-08-22 Tom Tromey <tom@tromey.com>
7739
7740 * gdb.gdb/xfullpath.exp: Remove.
7741
7742 2017-08-21 Pedro Alves <palves@redhat.com>
7743
7744 PR gdb/19487
7745 * gdb.base/symbol-alias.c: New.
7746 * gdb.base/symbol-alias2.c: New.
7747 * gdb.base/symbol-alias.exp: New.
7748
7749 2017-08-21 Pedro Alves <palves@redhat.com>
7750
7751 * gdb.base/dfp-test.c
7752 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7753 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7754 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7755 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7756 * gdb.base/whatis-ptype-typedefs.c: New.
7757 * gdb.base/whatis-ptype-typedefs.exp: New.
7758 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7759 (an_int, an_int_type, an_int_type2): New globals.
7760 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7761 involving typedefs and cast expressions.
7762 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7763 (lookup_typedefs_function): New.
7764 (typedefs_pretty_printers_dict): New.
7765 (top level): Register lookup_typedefs_function in
7766 gdb.pretty_printers.
7767
7768 2017-08-18 Yao Qi <yao.qi@linaro.org>
7769
7770 * gdb.server/unittest.exp: New.
7771
7772 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7773
7774 PR gdb/21954
7775 * gdb.base/environ.exp: Add test to check if 'unset environment'
7776 works.
7777
7778 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7779
7780 * lib/gdb.exp (universal_compile_options): New caching proc.
7781 (gdb_compile): Suppress GCC's coloring of messages.
7782
7783 2017-08-14 Tom Tromey <tom@tromey.com>
7784
7785 PR gdb/21675:
7786 * gdb.base/printcmds.exp (test_radices): New function.
7787 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7788 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7789 * lib/gdb.exp (get_integer_valueof): Use p/d.
7790
7791 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7792
7793 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7794 characters.
7795
7796 2017-08-05 Tom Tromey <tom@tromey.com>
7797
7798 * gdb.rust/simple.exp: Allow String to appear in a different
7799 namespace.
7800
7801 2017-07-26 Yao Qi <yao.qi@linaro.org>
7802
7803 * gdb.gdb/unittest.exp: Invoke command
7804 "maintenance check xml-descriptions".
7805
7806 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7807
7808 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7809 calling context.
7810 (hex128): Drop erroneous calculation of parameters.
7811
7812 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7813
7814 * gdb.python/py-unwind.exp: Disable stack protection when
7815 building test file.
7816
7817 2017-07-20 Pedro Alves <palves@redhat.com>
7818
7819 * gdb.base/default.exp (set language): Adjust expected output.
7820
7821 2017-07-20 Pedro Alves <palves@redhat.com>
7822
7823 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7824 (test_minsym): ... this, and make static.
7825 (get_pck__foo__bar__minsym): Rename to ...
7826 (get_test_minsym): ... this.
7827 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7828 symbol names and comments.
7829 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7830 (get_test_minsym): ... this.
7831 (pck__foo__bar__minsym__2): Rename to ...
7832 (test_minsym): ... this.
7833 (main): Adjust.
7834
7835 2017-07-17 Pedro Alves <palves@redhat.com>
7836
7837 * gdb.base/completion.exp: Adjust expected output.
7838 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7839 the completer works.
7840
7841 2017-07-17 Pedro Alves <palves@redhat.com>
7842
7843 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7844
7845 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7846
7847 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7848
7849 2017-07-14 Tom Tromey <tom@tromey.com>
7850
7851 PR rust/21764:
7852 * gdb.rust/simple.exp: Add tests.
7853
7854 2017-07-14 Tom Tromey <tom@tromey.com>
7855
7856 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7857
7858 2017-07-14 Pedro Alves <palves@redhat.com>
7859
7860 * gdb.linespec/base/one/thefile.cc (z1): New function.
7861 * gdb.linespec/base/two/thefile.cc (z2): New function.
7862 * gdb.linespec/linespec.exp: Add tests.
7863
7864 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7865
7866 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7867 to mi_create_breakpoint.
7868
7869 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7870
7871 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7872 mi_create_breakpoint.
7873
7874 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7875
7876 * gdb.dlang/demangle.exp: Update for demangling changes.
7877
7878 2017-07-09 Tom Tromey <tom@tromey.com>
7879
7880 * gdb.dwarf2/shortpiece.exp: New file.
7881
7882 2017-07-06 David Blaikie <dblaikie@gmail.com>
7883
7884 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7885 built from fissiont-multi-cu{1,2}.c.
7886 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7887 except putting 'main' and 'func' in separate CUs in the same DWO file.
7888 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7889 test.
7890 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7891 test.
7892
7893 2017-07-06 Pedro Alves <palves@redhat.com>
7894
7895 * gdb.python/py-unwind.exp: Test flushregs.
7896
7897 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7898
7899 PR cli/21688
7900 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7901 tests for alias commands and trailing whitespace.
7902
7903 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7904
7905 PR cli/21688
7906 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7907 procedure. Call it.
7908
7909 2017-06-29 Pedro Alves <palves@redhat.com>
7910
7911 * gdb.base/printcmds.exp: Add tests.
7912
7913 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7914
7915 PR gdb/21337
7916 * gdb.base/reread-readsym.exp: New file.
7917 * gdb.base/reread-readsym.c: New file.
7918
7919 2017-06-21 Kevin Buettner <kevinb@redhat.com>
7920
7921 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7922 subpattern.
7923
7924 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7925
7926 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7927 extended mnemonic.
7928 * gdb.arch/powerpc-power9.s: Likewise.
7929
7930 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7931
7932 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7933 on 32-bit x86 targets. Exploit is_*_target macros where
7934 appropriate.
7935
7936 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7937
7938 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7939 register pieces.
7940
7941 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7942
7943 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7944 located in one or more DWARF pieces.
7945
7946 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7947
7948 * lib/gdb.exp (get_endianness): New proc.
7949 * gdb.arch/aarch64-fp.exp: Use it.
7950 * gdb.arch/altivec-regs.exp: Likewise.
7951 * gdb.arch/e500-regs.exp: Likewise.
7952 * gdb.arch/vsx-regs.exp: Likewise.
7953 * gdb.base/dump.exp: Likewise.
7954 * gdb.base/funcargs.exp: Likewise.
7955 * gdb.base/gnu_vector.exp: Likewise.
7956 * gdb.dwarf2/formdata16.exp: Likewise.
7957 * gdb.dwarf2/implptrpiece.exp: Likewise.
7958 * gdb.dwarf2/nonvar-access.exp: Likewise.
7959 * gdb.python/py-inferior.exp: Likewise.
7960 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7961
7962 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7963
7964 PR gdb/21226
7965 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7966 stack value pieces are taken from the LSB end.
7967
7968 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7969
7970 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7971 variable at nonzero offset.
7972
7973 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7974
7975 * gdb.dwarf2/var-access.c: New file.
7976 * gdb.dwarf2/var-access.exp: New test.
7977 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7978
7979 2017-06-12 Tom Tromey <tom@tromey.com>
7980
7981 * gdb.dwarf2/formdata16.exp: Add tests.
7982
7983 2017-06-12 Tom Tromey <tom@tromey.com>
7984
7985 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7986
7987 2017-06-12 Tom Tromey <tom@tromey.com>
7988
7989 PR exp/16225:
7990 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7991 * gdb.arch/vsx-regs.exp: Update tests.
7992 * gdb.arch/s390-vregs.exp (hex128): New proc.
7993 Update test.
7994 * gdb.arch/altivec-regs.exp: Update tests.
7995
7996 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7997
7998 * gdb.base/startup-with-shell.c: New file.
7999 * gdb.base/startup-with-shell.exp: Likewise.
8000
8001 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8002
8003 * gdb.server/non-existing-program.exp: Update regex in order to
8004 reflect the fact that gdbserver is now using fork_inferior (with a
8005 shell) to startup the inferior.
8006
8007 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8008
8009 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8010 support function calls from GDB.
8011
8012 2017-05-21 Tom Tromey <tom@tromey.com>
8013
8014 PR rust/21466:
8015 * gdb.rust/unsized.exp: New file.
8016 * gdb.rust/unsized.rs: New file.
8017
8018 2017-05-19 Tom Tromey <tom@tromey.com>
8019
8020 PR rust/21484:
8021 * gdb.rust/watch.exp: New file.
8022 * gdb.rust/watch.rs: New file.
8023
8024 2017-05-18 Tom Tromey <tom@tromey.com>
8025
8026 * gdb.rust/simple.exp: Allow Box to be qualified.
8027
8028 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8029
8030 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8031
8032 2017-05-18 Pedro Alves <palves@redhat.com>
8033
8034 * gdb.base/fileio.c (test_write, test_read, test_close)
8035 (test_fstat): Don't print 'ret' in the fail path.
8036
8037 2017-05-18 Pedro Alves <palves@redhat.com>
8038
8039 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8040 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8041 (test_system, test_rename, test_unlink, test_time): Change
8042 prototypes.
8043 * gdb.base/fileio.exp (stop_msg): Adjust.
8044
8045 2017-05-18 Pedro Alves <palves@redhat.com>
8046
8047 * gdb.base/fileio.c (null_str): New global.
8048 (test_stat): Use it.
8049 * gdb.base/fileio.exp: Remove nowarnings.
8050
8051 2017-05-17 Yao Qi <yao.qi@linaro.org>
8052
8053 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8054
8055 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8056
8057 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8058 argument command.
8059 (top-level): Invoke test_set_inferior_tty.
8060
8061 2017-05-04 Pedro Alves <palves@redhat.com>
8062
8063 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8064 Add parens to print call for Python 3.
8065
8066 2017-05-03 Keith Seitz <keiths@redhat.com>
8067
8068 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8069 (main): Call it.
8070
8071 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8072
8073 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8074 to prev and next.
8075
8076 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8077
8078 * gdb.python/py-record-btrace.exp: Remove test for
8079 gdb.BtraceInstruction.error.
8080
8081 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8082
8083 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8084
8085 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8086
8087 * gdb.python/py-record-btrace-threads.c: New file.
8088 * gdb.python/py-record-btrace-threads.exp: New file.
8089
8090 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8091
8092 PR testsuite/8595
8093 * gdb.base/environ.exp: Make test available in all architectures.
8094 Move bits related to "info program" testing to
8095 gdb.base/info-program.exp. Rewrite tests to use the two new
8096 procedures mentione below.
8097 (test_set_show_env_var) New procedure.
8098 (test_set_show_env_var_equal): Likewise.
8099 * gdb.base/info-program.exp: New file.
8100
8101 2017-04-27 Keith Seitz <keiths@redhat.com>
8102
8103 * gdb.cp/oranking.cc (test15): New function.
8104 (main): Call test15 and declare additional variables for testing.
8105 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8106 "p foo101('abc')" tests.
8107 Add tests for cv qualifier overloads.
8108 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8109 "lvalue reference overload" test.
8110 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8111 "print value of f1 on Child&& in f2" test.
8112
8113 2017-04-19 Pedro Alves <palves@redhat.com>
8114
8115 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8116 procedure.
8117 (top level): Call it.
8118 * lib/gdb.exp (gdb_define_cmd): New procedure.
8119
8120 2017-04-12 Pedro Alves <palves@redhat.com>
8121
8122 PR gdb/21323
8123 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8124 (wchar): New global.
8125 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8126 (do_test_wide_char, wide_char_types_no_program, top level): Add
8127 wchar_t testing.
8128
8129 2017-04-12 Pedro Alves <palves@redhat.com>
8130
8131 PR c++/21323
8132 * gdb.cp/wide_char_types.c: New file.
8133 * gdb.cp/wide_char_types.exp: New file.
8134
8135 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8136
8137 PR gdb/21352
8138 * gdb.trace/tsv.exp: Add test for "tsave -r".
8139
8140 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8141
8142 * gdb.dlang/watch-loc.c: New file.
8143 * gdb.dlang/watch-loc.exp: New file.
8144
8145 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8146
8147 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8148
8149 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8150
8151 * gdb.arch/arc-analyze-prologue.S: New file.
8152 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8153
8154 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8155
8156 * gdb.arch/arc-decode-insn.S: New file.
8157 * gdb.arch/arc-decode-insn.exp: Likewise.
8158
8159 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8160
8161 PR tdep/20928
8162 * gdb.arch/sparc64-regs.exp: New file.
8163 * gdb.arch/sparc64-regs.S: Likewise.
8164
8165 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8166
8167 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8168 and memory view on Python 3.
8169
8170 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
8171 Keith Seitz <keiths@redhat.com>
8172
8173 PR gdb/14441
8174 * gdb.cp/demangle.exp: Add rvalue reference tests.
8175 * gdb.cp/rvalue-ref-casts.cc: New file.
8176 * gdb.cp/rvalue-ref-casts.exp: New file.
8177 * gdb.cp/rvalue-ref-overload.cc: New file.
8178 * gdb.cp/rvalue-ref-overload.exp: New file.
8179 * gdb.cp/rvalue-ref-params.cc: New file.
8180 * gdb.cp/rvalue-ref-params.exp: New file.
8181 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8182 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8183 * gdb.cp/rvalue-ref-types.cc: New file.
8184 * gdb.cp/rvalue-ref-types.exp: New file.
8185 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8186 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8187
8188 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8189
8190 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8191 New procedure.
8192
8193 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8194
8195 * lib/mi-support.exp (mi_gdb_test): Add additional message
8196 for unexpected output.
8197
8198 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8199
8200 * gdb.base/examine-backward.c (Barrier): New character array
8201 constant, to ensure that TestStrings is preceded by a string
8202 terminator.
8203
8204 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8205
8206 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
8207 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
8208 and implicit pointer into such a location.
8209
8210 2017-03-16 Doug Evans <dje@google.com>
8211
8212 * gdb.python/py-lazy-string (pointer): Really add new typedef.
8213
8214 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
8215
8216 * gdb.cp/m-static.exp: Fix expectation for prototype of
8217 test5.single_constructor and single_constructor::single_constructor.
8218
8219 2017-03-16 Doug Evans <dje@google.com>
8220
8221 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
8222 * gdb.guile/scm-lazy-string.c: New file.
8223 * gdb.guile/scm-value.exp: Move lazy string tests to ...
8224 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
8225 for pointer, array, typedef lazy strings.
8226
8227 2017-03-16 Doug Evans <dje@google.com>
8228
8229 PR python/17728, python/18439, python/18779
8230 * gdb.python/py-value.c (main) Delete locals sptr, sn.
8231 * gdb.python/py-lazy-string.c (pointer): New typedef.
8232 (main): New locals ptr, array, typedef_ptr.
8233 * gdb.python/py-value.exp: Move lazy string tests to ...
8234 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
8235 array, typedef lazy strings.
8236
8237 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
8238
8239 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
8240 Add optional 'test' parameter.
8241
8242 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8243
8244 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8245 Skip for versions of DejaGnu < 1.5.
8246
8247 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8248
8249 * lib/gdb.exp (dejagnu_version): New proc.
8250 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8251 Use dejagnu_version.
8252
8253 2017-03-10 Keith Seitz <keiths@redhat.com>
8254
8255 PR c++/8128
8256 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
8257 type from destructor regexps.
8258 Add a branch which actually passes the test.
8259 Adjust "ptype t5i" test names.
8260
8261 2017-03-08 Pedro Alves <palves@redhat.com>
8262
8263 * gdb.base/step-over-exit.exp: Add explicit test message.
8264
8265 2017-03-08 Pedro Alves <palves@redhat.com>
8266
8267 PR gdb/18360
8268 * gdb.threads/interrupt-while-step-over.c: New file.
8269 * gdb.threads/interrupt-while-step-over.exp: New file.
8270
8271 2017-03-08 Pedro Alves <palves@redhat.com>
8272
8273 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
8274 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
8275
8276 2017-03-08 Pedro Alves <palves@redhat.com>
8277
8278 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
8279 PKRU as not supported as a PASS.
8280
8281 2017-03-08 Pedro Alves <palves@redhat.com>
8282
8283 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
8284 prefix instead of $binfile1/$binfile2.
8285 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
8286 in test message.
8287 * gdb.python/py-completion.exp: Use "load python file" as test
8288 messages instead of unstable path names.
8289
8290 2017-03-08 Pedro Alves <palves@redhat.com>
8291 Jan Kratochvil <jan.kratochvil@redhat.com>
8292
8293 PR cli/21218
8294 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8295 New proc.
8296 (top level): Call it.
8297
8298 2017-03-08 Pedro Alves <palves@redhat.com>
8299
8300 PR tui/21216
8301 * gdb.tui/tui-nl-filtered-output.exp: New file.
8302
8303 2017-03-08 Pedro Alves <palves@redhat.com>
8304
8305 * gdb.base/completion.exp: Move TUI completion tests to ...
8306 * gdb.tui/completion.exp: ... this new file.
8307
8308 2017-03-08 Pedro Alves <palves@redhat.com>
8309
8310 * gdb.base/tui-disasm-long-lines.c,
8311 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
8312 gdb.base/tui-layout.exp: Move to ...
8313 * gdb.tui/: ... this new directory.
8314
8315 2017-03-07 Pedro Alves <palves@redhat.com>
8316
8317 * gdb.base/tui-layout.c: New file.
8318 * gdb.base/tui-layout.exp: New file.
8319
8320 2017-03-07 Pedro Alves <palves@redhat.com>
8321
8322 * gdb.base/tui-layout.c: Rename to ...
8323 * gdb.base/tui-disasm-long-lines.c: ... this.
8324 * gdb.base/tui-layout.exp: Rename to ...
8325 * gdb.base/tui-disasm-long-lines.exp: ... this.
8326
8327 2017-03-07 Pedro Alves <palves@redhat.com>
8328
8329 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
8330
8331 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8332
8333 * i386-mpx-call.c: New file.
8334 * i386-mpx-call.exp: New file.
8335
8336 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8337
8338 * gdb.arch/powerpc-power.exp: Delete test.
8339 * gdb.arch/powerpc-power.s: Likewise.
8340 * gdb.disasm/disassembler-options.exp: New test.
8341 * gdb.arch/powerpc-altivec.exp: Likewise.
8342 * gdb.arch/powerpc-altivec.s: Likewise.
8343 * gdb.arch/powerpc-altivec2.exp: Likewise.
8344 * gdb.arch/powerpc-altivec2.s: Likewise.
8345 * gdb.arch/powerpc-altivec3.exp: Likewise.
8346 * gdb.arch/powerpc-altivec3.s: Likewise.
8347 * gdb.arch/powerpc-power7.exp: Likewise.
8348 * gdb.arch/powerpc-power7.s: Likewise.
8349 * gdb.arch/powerpc-power8.exp: Likewise.
8350 * gdb.arch/powerpc-power8.s: Likewise.
8351 * gdb.arch/powerpc-power9.exp: Likewise.
8352 * gdb.arch/powerpc-power9.s: Likewise.
8353 * gdb.arch/powerpc-vsx.exp: Likewise.
8354 * gdb.arch/powerpc-vsx.s: Likewise.
8355 * gdb.arch/powerpc-vsx2.exp: Likewise.
8356 * gdb.arch/powerpc-vsx2.s: Likewise.
8357 * gdb.arch/powerpc-vsx3.exp: Likewise.
8358 * gdb.arch/powerpc-vsx3.s: Likewise.
8359 * gdb.arch/arm-disassembler-options.exp: Likewise.
8360 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
8361 * gdb.arch/s390-disassembler-options.exp: Likewise.
8362
8363 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
8364
8365 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
8366 (check_supported_features): ... this. Changed return type to void.
8367 (supports_rdseed): New static global.
8368 (rdseed): Check supports_rdseed.
8369 (initialize): Call check_supported_features.
8370
8371 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8372
8373 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
8374 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
8375 and lqarx/stqcx.
8376 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
8377 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
8378
8379 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8380
8381 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
8382 uppercase.
8383
8384 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8385
8386 * gdb.dwarf2/formdata16.c: New file.
8387 * gdb.dwarf2/formdata16.exp: New file.
8388 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
8389
8390 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8391
8392 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
8393 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
8394 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
8395 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
8396 DW_AT_GNU_*.
8397
8398 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8399
8400 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
8401
8402 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
8403
8404 PR gdb/21164
8405 * gdb.base/maint.exp: Add testcases for when the commands do
8406 not have arguments.
8407
8408 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
8409
8410 * gdb.cp/chained-calls.exp: Use p instead of P.
8411
8412 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
8413
8414 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
8415 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
8416
8417 2017-02-14 Tom Tromey <tom@tromey.com>
8418
8419 PR python/13598:
8420 * gdb.python/py-events.exp: Add before_prompt event tests.
8421
8422 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8423
8424 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
8425
8426 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
8427
8428 * gdb.linespec/explicit.c (my_unique_function_name): New function.
8429 (main): Call my_unique_function_name.
8430 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
8431 completion of patterns with a single match.
8432 Add missing -re switches to gdb_test_multiple calls.
8433
8434 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
8435
8436 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
8437 return if core file is not recognized.
8438
8439 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8440
8441 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
8442 and extra UIs.
8443
8444 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8445
8446 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
8447 proc_with_prefix.
8448
8449 2017-02-10 Tom Tromey <tom@tromey.com>
8450
8451 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
8452
8453 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
8454
8455 PR gdb/21122
8456 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
8457
8458 2017-02-08 Jerome Guitton <guitton@adacore.com>
8459
8460 * gdb.base/define.exp: Add test for command abbreviations
8461 in define.
8462
8463 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
8464
8465 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
8466 * gdb.reverse/insn-reverse-x86.c: New file.
8467
8468 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8469
8470 PR tdep/20936
8471 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
8472
8473 2017-02-03 Tom Tromey <tom@tromey.com>
8474
8475 PR rust/21097:
8476 * gdb.rust/simple.exp: Add new tests.
8477
8478 2017-02-02 Pedro Alves <palves@redhat.com>
8479
8480 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
8481 tests.
8482
8483 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8484
8485 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
8486 taking a 2-byte value out of a 4-byte DWARF implicit value on
8487 big-endian targets.
8488 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
8489 logic. Add test cases for DW_OP_implicit.
8490
8491 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8492
8493 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
8494
8495 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8496
8497 * gdb.btrace/enable.exp: Call gdb_exit before
8498 skip_gdbserver_tests.
8499
8500 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8501
8502 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8503 GDBFLAGS.
8504
8505 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8506
8507 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8508 the test is skipped.
8509 * gdb.btrace/data.exp: Likewise.
8510 * gdb.btrace/delta.exp: Likewise.
8511 * gdb.btrace/dlopen.exp: Likewise.
8512 * gdb.btrace/enable-running.exp: Likewise.
8513 * gdb.btrace/enable.exp: Likewise.
8514 * gdb.btrace/exception.exp: Likewise.
8515 * gdb.btrace/function_call_history.exp: Likewise.
8516 * gdb.btrace/gcore.exp: Likewise.
8517 * gdb.btrace/instruction_history.exp: Likewise.
8518 * gdb.btrace/multi-thread-step.exp: Likewise.
8519 * gdb.btrace/nohist.exp: Likewise.
8520 * gdb.btrace/non-stop.exp: Likewise.
8521 * gdb.btrace/reconnect.exp: Likewise.
8522 * gdb.btrace/record_goto-step.exp: Likewise.
8523 * gdb.btrace/record_goto.exp: Likewise.
8524 * gdb.btrace/rn-dl-bind.exp: Likewise.
8525 * gdb.btrace/segv.exp: Likewise.
8526 * gdb.btrace/step.exp: Likewise.
8527 * gdb.btrace/stepi.exp: Likewise.
8528 * gdb.btrace/tailcall-only.exp: Likewise.
8529 * gdb.btrace/tailcall.exp: Likewise.
8530 * gdb.btrace/tsx.exp: Likewise.
8531 * gdb.btrace/unknown_functions.exp: Likewise.
8532 * gdb.btrace/vdso.exp: Likewise.
8533
8534 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8535
8536 * gdb.btrace/enable-running.c: New.
8537 * gdb.btrace/enable-running.exp: New.
8538
8539 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8540
8541 * gdb.arch/amd64-gs_base.c: New file.
8542 * gdb.arch/amd64-gs_base.exp: New file.
8543
8544 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8545
8546 * lib/memory.exp: Remove spurious empty newlines.
8547
8548 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8549
8550 * gdb.python/py-bad-printers.exp: Load python file using "source".
8551 * gdb.python/py-events.exp: Likewise.
8552 * gdb.python/py-evsignal.exp: Likewise.
8553 * gdb.python/py-evthreads.exp: Likewise.
8554 * gdb.python/py-frame-args.exp: Likewise.
8555 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8556 * gdb.python/py-framefilter-mi.exp: Likewise.
8557 * gdb.python/py-framefilter.exp: Likewise.
8558 * gdb.python/py-mi.exp: Likewise.
8559 * gdb.python/py-pp-maint.exp: Likewise.
8560 * gdb.python/py-pp-registration.exp: Likewise.
8561 * gdb.python/py-prettyprint.exp: Likewise.
8562 (run_lang_tests): Likewise.
8563 * gdb.python/py-typeprint.exp: Likewise.
8564
8565 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8566
8567 * lib/memory.exp: New file.
8568 * lib/gdb.exp: Load memory.exp.
8569 * gdb.base/memattr.exp (delete_memory): Move proc to
8570 lib/memory.exp and rename to delete_memory_regions.
8571 Replace delete_memory with delete_memory_regions.
8572 Cleanup memory regions before tests.
8573 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8574 before tests.
8575
8576 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8577
8578 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8579 files.
8580 (initialize): New function conditionally defined.
8581 (testcases): Move within conditional block.
8582 (main): Call initialize.
8583 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8584 of gdb.reverse/insn-reverse.c.
8585 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8586 gdb.reverse/insn-reverse.c.
8587
8588 2017-01-26 Yao Qi <yao.qi@linaro.org>
8589
8590 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8591 disassemble on address 0.
8592
8593 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8594 Yao Qi <yao.qi@linaro.org>
8595
8596 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8597 * gdb.dwarf2/implptr-64bit.S: Remove.
8598 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8599 variables in caller's context. Add DW_OP_implicit_value.
8600
8601 2017-01-25 Yao Qi <yao.qi@linaro.org>
8602
8603 * lib/dwarf.exp (Dwarf::_location): Handle
8604 DW_OP_GNU_implicit_pointer with proper size.
8605
8606 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8607
8608 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8609 and add untested calls.
8610
8611 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8612
8613 * gdb.python/python.exp: Check line number against what GDB thinks
8614 the line number is for func1.
8615
8616 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8617
8618 * gdb.dlang/debug-expr.exp: New file.
8619
8620 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
8621
8622 Fix test names for the following files:
8623
8624 * gdb.ada/exec_changed.exp
8625 * gdb.ada/info_types.exp
8626 * gdb.arch/aarch64-atomic-inst.exp
8627 * gdb.arch/aarch64-fp.exp
8628 * gdb.arch/altivec-abi.exp
8629 * gdb.arch/altivec-regs.exp
8630 * gdb.arch/amd64-byte.exp
8631 * gdb.arch/amd64-disp-step.exp
8632 * gdb.arch/amd64-dword.exp
8633 * gdb.arch/amd64-entry-value-inline.exp
8634 * gdb.arch/amd64-entry-value-param.exp
8635 * gdb.arch/amd64-entry-value-paramref.exp
8636 * gdb.arch/amd64-entry-value.exp
8637 * gdb.arch/amd64-i386-address.exp
8638 * gdb.arch/amd64-invalid-stack-middle.exp
8639 * gdb.arch/amd64-invalid-stack-top.exp
8640 * gdb.arch/amd64-optimout-repeat.exp
8641 * gdb.arch/amd64-prologue-skip.exp
8642 * gdb.arch/amd64-prologue-xmm.exp
8643 * gdb.arch/amd64-stap-special-operands.exp
8644 * gdb.arch/amd64-stap-wrong-subexp.exp
8645 * gdb.arch/amd64-tailcall-cxx.exp
8646 * gdb.arch/amd64-tailcall-noret.exp
8647 * gdb.arch/amd64-tailcall-ret.exp
8648 * gdb.arch/amd64-tailcall-self.exp
8649 * gdb.arch/amd64-word.exp
8650 * gdb.arch/arm-bl-branch-dest.exp
8651 * gdb.arch/arm-disp-step.exp
8652 * gdb.arch/arm-neon.exp
8653 * gdb.arch/arm-single-step-kernel-helper.exp
8654 * gdb.arch/avr-flash-qualifier.exp
8655 * gdb.arch/disp-step-insn-reloc.exp
8656 * gdb.arch/e500-abi.exp
8657 * gdb.arch/e500-regs.exp
8658 * gdb.arch/ftrace-insn-reloc.exp
8659 * gdb.arch/i386-avx512.exp
8660 * gdb.arch/i386-bp_permanent.exp
8661 * gdb.arch/i386-byte.exp
8662 * gdb.arch/i386-cfi-notcurrent.exp
8663 * gdb.arch/i386-disp-step.exp
8664 * gdb.arch/i386-dr3-watch.exp
8665 * gdb.arch/i386-float.exp
8666 * gdb.arch/i386-gnu-cfi.exp
8667 * gdb.arch/i386-mpx-map.exp
8668 * gdb.arch/i386-mpx-sigsegv.exp
8669 * gdb.arch/i386-mpx-simple_segv.exp
8670 * gdb.arch/i386-mpx.exp
8671 * gdb.arch/i386-permbkpt.exp
8672 * gdb.arch/i386-prologue.exp
8673 * gdb.arch/i386-signal.exp
8674 * gdb.arch/i386-size-overlap.exp
8675 * gdb.arch/i386-unwind.exp
8676 * gdb.arch/i386-word.exp
8677 * gdb.arch/mips-fcr.exp
8678 * gdb.arch/powerpc-d128-regs.exp
8679 * gdb.arch/powerpc-stackless.exp
8680 * gdb.arch/ppc64-atomic-inst.exp
8681 * gdb.arch/s390-stackless.exp
8682 * gdb.arch/s390-tdbregs.exp
8683 * gdb.arch/s390-vregs.exp
8684 * gdb.arch/sparc-sysstep.exp
8685 * gdb.arch/thumb-bx-pc.exp
8686 * gdb.arch/thumb-singlestep.exp
8687 * gdb.arch/thumb2-it.exp
8688 * gdb.arch/vsx-regs.exp
8689 * gdb.asm/asm-source.exp
8690 * gdb.base/a2-run.exp
8691 * gdb.base/advance.exp
8692 * gdb.base/all-bin.exp
8693 * gdb.base/anon.exp
8694 * gdb.base/args.exp
8695 * gdb.base/arithmet.exp
8696 * gdb.base/async-shell.exp
8697 * gdb.base/async.exp
8698 * gdb.base/attach-pie-noexec.exp
8699 * gdb.base/attach-twice.exp
8700 * gdb.base/auto-load.exp
8701 * gdb.base/bang.exp
8702 * gdb.base/bitfields.exp
8703 * gdb.base/break-always.exp
8704 * gdb.base/break-caller-line.exp
8705 * gdb.base/break-entry.exp
8706 * gdb.base/break-inline.exp
8707 * gdb.base/break-on-linker-gcd-function.exp
8708 * gdb.base/break-probes.exp
8709 * gdb.base/break.exp
8710 * gdb.base/breakpoint-shadow.exp
8711 * gdb.base/call-ar-st.exp
8712 * gdb.base/call-sc.exp
8713 * gdb.base/call-signal-resume.exp
8714 * gdb.base/call-strs.exp
8715 * gdb.base/callfuncs.exp
8716 * gdb.base/catch-fork-static.exp
8717 * gdb.base/catch-gdb-caused-signals.exp
8718 * gdb.base/catch-load.exp
8719 * gdb.base/catch-signal-fork.exp
8720 * gdb.base/catch-signal.exp
8721 * gdb.base/catch-syscall.exp
8722 * gdb.base/charset.exp
8723 * gdb.base/checkpoint.exp
8724 * gdb.base/chng-syms.exp
8725 * gdb.base/code-expr.exp
8726 * gdb.base/code_elim.exp
8727 * gdb.base/commands.exp
8728 * gdb.base/completion.exp
8729 * gdb.base/complex.exp
8730 * gdb.base/cond-expr.exp
8731 * gdb.base/condbreak.exp
8732 * gdb.base/consecutive.exp
8733 * gdb.base/continue-all-already-running.exp
8734 * gdb.base/coredump-filter.exp
8735 * gdb.base/corefile.exp
8736 * gdb.base/dbx.exp
8737 * gdb.base/debug-expr.exp
8738 * gdb.base/define.exp
8739 * gdb.base/del.exp
8740 * gdb.base/disabled-location.exp
8741 * gdb.base/disasm-end-cu.exp
8742 * gdb.base/disasm-optim.exp
8743 * gdb.base/display.exp
8744 * gdb.base/duplicate-bp.exp
8745 * gdb.base/ena-dis-br.exp
8746 * gdb.base/ending-run.exp
8747 * gdb.base/enumval.exp
8748 * gdb.base/environ.exp
8749 * gdb.base/eu-strip-infcall.exp
8750 * gdb.base/eval-avoid-side-effects.exp
8751 * gdb.base/eval-skip.exp
8752 * gdb.base/exitsignal.exp
8753 * gdb.base/expand-psymtabs.exp
8754 * gdb.base/filesym.exp
8755 * gdb.base/find-unmapped.exp
8756 * gdb.base/finish.exp
8757 * gdb.base/float.exp
8758 * gdb.base/foll-exec-mode.exp
8759 * gdb.base/foll-exec.exp
8760 * gdb.base/foll-fork.exp
8761 * gdb.base/fortran-sym-case.exp
8762 * gdb.base/freebpcmd.exp
8763 * gdb.base/func-ptr.exp
8764 * gdb.base/func-ptrs.exp
8765 * gdb.base/funcargs.exp
8766 * gdb.base/gcore-buffer-overflow.exp
8767 * gdb.base/gcore-relro-pie.exp
8768 * gdb.base/gcore-relro.exp
8769 * gdb.base/gcore.exp
8770 * gdb.base/gdb1090.exp
8771 * gdb.base/gdb11530.exp
8772 * gdb.base/gdb11531.exp
8773 * gdb.base/gdb1821.exp
8774 * gdb.base/gdbindex-stabs.exp
8775 * gdb.base/gdbvars.exp
8776 * gdb.base/hbreak.exp
8777 * gdb.base/hbreak2.exp
8778 * gdb.base/included.exp
8779 * gdb.base/infcall-input.exp
8780 * gdb.base/inferior-died.exp
8781 * gdb.base/infnan.exp
8782 * gdb.base/info-macros.exp
8783 * gdb.base/info-os.exp
8784 * gdb.base/info-proc.exp
8785 * gdb.base/info-shared.exp
8786 * gdb.base/info-target.exp
8787 * gdb.base/infoline.exp
8788 * gdb.base/interp.exp
8789 * gdb.base/interrupt.exp
8790 * gdb.base/jit-reader.exp
8791 * gdb.base/jit-simple.exp
8792 * gdb.base/kill-after-signal.exp
8793 * gdb.base/kill-detach-inferiors-cmd.exp
8794 * gdb.base/label.exp
8795 * gdb.base/langs.exp
8796 * gdb.base/ldbl_e308.exp
8797 * gdb.base/line-symtabs.exp
8798 * gdb.base/linespecs.exp
8799 * gdb.base/list.exp
8800 * gdb.base/long_long.exp
8801 * gdb.base/longest-types.exp
8802 * gdb.base/maint.exp
8803 * gdb.base/max-value-size.exp
8804 * gdb.base/memattr.exp
8805 * gdb.base/mips_pro.exp
8806 * gdb.base/morestack.exp
8807 * gdb.base/moribund-step.exp
8808 * gdb.base/multi-forks.exp
8809 * gdb.base/nested-addr.exp
8810 * gdb.base/nextoverexit.exp
8811 * gdb.base/noreturn-finish.exp
8812 * gdb.base/noreturn-return.exp
8813 * gdb.base/nostdlib.exp
8814 * gdb.base/offsets.exp
8815 * gdb.base/opaque.exp
8816 * gdb.base/pc-fp.exp
8817 * gdb.base/permissions.exp
8818 * gdb.base/print-symbol-loading.exp
8819 * gdb.base/prologue-include.exp
8820 * gdb.base/psymtab.exp
8821 * gdb.base/ptype.exp
8822 * gdb.base/random-signal.exp
8823 * gdb.base/randomize.exp
8824 * gdb.base/range-stepping.exp
8825 * gdb.base/readline-ask.exp
8826 * gdb.base/recpar.exp
8827 * gdb.base/recurse.exp
8828 * gdb.base/relational.exp
8829 * gdb.base/restore.exp
8830 * gdb.base/return-nodebug.exp
8831 * gdb.base/return.exp
8832 * gdb.base/run-after-attach.exp
8833 * gdb.base/save-bp.exp
8834 * gdb.base/scope.exp
8835 * gdb.base/sect-cmd.exp
8836 * gdb.base/set-lang-auto.exp
8837 * gdb.base/set-noassign.exp
8838 * gdb.base/setvar.exp
8839 * gdb.base/sigall.exp
8840 * gdb.base/sigbpt.exp
8841 * gdb.base/siginfo-addr.exp
8842 * gdb.base/siginfo-infcall.exp
8843 * gdb.base/siginfo-obj.exp
8844 * gdb.base/siginfo.exp
8845 * gdb.base/signals-state-child.exp
8846 * gdb.base/signest.exp
8847 * gdb.base/sigstep.exp
8848 * gdb.base/sizeof.exp
8849 * gdb.base/skip.exp
8850 * gdb.base/solib-corrupted.exp
8851 * gdb.base/solib-nodir.exp
8852 * gdb.base/solib-search.exp
8853 * gdb.base/stack-checking.exp
8854 * gdb.base/stale-infcall.exp
8855 * gdb.base/stap-probe.exp
8856 * gdb.base/start.exp
8857 * gdb.base/step-break.exp
8858 * gdb.base/step-bt.exp
8859 * gdb.base/step-line.exp
8860 * gdb.base/step-over-exit.exp
8861 * gdb.base/step-over-syscall.exp
8862 * gdb.base/step-resume-infcall.exp
8863 * gdb.base/step-test.exp
8864 * gdb.base/store.exp
8865 * gdb.base/structs3.exp
8866 * gdb.base/sym-file.exp
8867 * gdb.base/symbol-without-target_section.exp
8868 * gdb.base/term.exp
8869 * gdb.base/testenv.exp
8870 * gdb.base/ui-redirect.exp
8871 * gdb.base/until.exp
8872 * gdb.base/unwindonsignal.exp
8873 * gdb.base/value-double-free.exp
8874 * gdb.base/vla-datatypes.exp
8875 * gdb.base/vla-ptr.exp
8876 * gdb.base/vla-sideeffect.exp
8877 * gdb.base/volatile.exp
8878 * gdb.base/watch-cond-infcall.exp
8879 * gdb.base/watch-cond.exp
8880 * gdb.base/watch-non-mem.exp
8881 * gdb.base/watch-read.exp
8882 * gdb.base/watch-vfork.exp
8883 * gdb.base/watchpoint-cond-gone.exp
8884 * gdb.base/watchpoint-delete.exp
8885 * gdb.base/watchpoint-hw-hit-once.exp
8886 * gdb.base/watchpoint-hw.exp
8887 * gdb.base/watchpoint-stops-at-right-insn.exp
8888 * gdb.base/watchpoints.exp
8889 * gdb.base/wchar.exp
8890 * gdb.base/whatis-exp.exp
8891 * gdb.btrace/buffer-size.exp
8892 * gdb.btrace/data.exp
8893 * gdb.btrace/delta.exp
8894 * gdb.btrace/dlopen.exp
8895 * gdb.btrace/enable.exp
8896 * gdb.btrace/exception.exp
8897 * gdb.btrace/function_call_history.exp
8898 * gdb.btrace/gcore.exp
8899 * gdb.btrace/instruction_history.exp
8900 * gdb.btrace/nohist.exp
8901 * gdb.btrace/reconnect.exp
8902 * gdb.btrace/record_goto-step.exp
8903 * gdb.btrace/record_goto.exp
8904 * gdb.btrace/rn-dl-bind.exp
8905 * gdb.btrace/segv.exp
8906 * gdb.btrace/step.exp
8907 * gdb.btrace/stepi.exp
8908 * gdb.btrace/tailcall-only.exp
8909 * gdb.btrace/tailcall.exp
8910 * gdb.btrace/tsx.exp
8911 * gdb.btrace/unknown_functions.exp
8912 * gdb.btrace/vdso.exp
8913 * gdb.compile/compile-ifunc.exp
8914 * gdb.compile/compile-ops.exp
8915 * gdb.compile/compile-print.exp
8916 * gdb.compile/compile-setjmp.exp
8917 * gdb.cp/abstract-origin.exp
8918 * gdb.cp/ambiguous.exp
8919 * gdb.cp/annota2.exp
8920 * gdb.cp/annota3.exp
8921 * gdb.cp/anon-ns.exp
8922 * gdb.cp/anon-struct.exp
8923 * gdb.cp/anon-union.exp
8924 * gdb.cp/arg-reference.exp
8925 * gdb.cp/baseenum.exp
8926 * gdb.cp/bool.exp
8927 * gdb.cp/breakpoint.exp
8928 * gdb.cp/bs15503.exp
8929 * gdb.cp/call-c.exp
8930 * gdb.cp/casts.exp
8931 * gdb.cp/chained-calls.exp
8932 * gdb.cp/class2.exp
8933 * gdb.cp/classes.exp
8934 * gdb.cp/cmpd-minsyms.exp
8935 * gdb.cp/converts.exp
8936 * gdb.cp/cp-relocate.exp
8937 * gdb.cp/cpcompletion.exp
8938 * gdb.cp/cpexprs.exp
8939 * gdb.cp/cplabel.exp
8940 * gdb.cp/cplusfuncs.exp
8941 * gdb.cp/cpsizeof.exp
8942 * gdb.cp/ctti.exp
8943 * gdb.cp/derivation.exp
8944 * gdb.cp/destrprint.exp
8945 * gdb.cp/dispcxx.exp
8946 * gdb.cp/enum-class.exp
8947 * gdb.cp/exception.exp
8948 * gdb.cp/exceptprint.exp
8949 * gdb.cp/expand-psymtabs-cxx.exp
8950 * gdb.cp/expand-sals.exp
8951 * gdb.cp/extern-c.exp
8952 * gdb.cp/filename.exp
8953 * gdb.cp/formatted-ref.exp
8954 * gdb.cp/fpointer.exp
8955 * gdb.cp/gdb1355.exp
8956 * gdb.cp/gdb2495.exp
8957 * gdb.cp/hang.exp
8958 * gdb.cp/impl-this.exp
8959 * gdb.cp/infcall-dlopen.exp
8960 * gdb.cp/inherit.exp
8961 * gdb.cp/iostream.exp
8962 * gdb.cp/koenig.exp
8963 * gdb.cp/local.exp
8964 * gdb.cp/m-data.exp
8965 * gdb.cp/m-static.exp
8966 * gdb.cp/mb-ctor.exp
8967 * gdb.cp/mb-inline.exp
8968 * gdb.cp/mb-templates.exp
8969 * gdb.cp/member-name.exp
8970 * gdb.cp/member-ptr.exp
8971 * gdb.cp/meth-typedefs.exp
8972 * gdb.cp/method.exp
8973 * gdb.cp/method2.exp
8974 * gdb.cp/minsym-fallback.exp
8975 * gdb.cp/misc.exp
8976 * gdb.cp/namelessclass.exp
8977 * gdb.cp/namespace-enum.exp
8978 * gdb.cp/namespace-nested-import.exp
8979 * gdb.cp/namespace.exp
8980 * gdb.cp/nextoverthrow.exp
8981 * gdb.cp/no-dmgl-verbose.exp
8982 * gdb.cp/non-trivial-retval.exp
8983 * gdb.cp/noparam.exp
8984 * gdb.cp/nsdecl.exp
8985 * gdb.cp/nsimport.exp
8986 * gdb.cp/nsnested.exp
8987 * gdb.cp/nsnoimports.exp
8988 * gdb.cp/nsrecurs.exp
8989 * gdb.cp/nsstress.exp
8990 * gdb.cp/nsusing.exp
8991 * gdb.cp/operator.exp
8992 * gdb.cp/oranking.exp
8993 * gdb.cp/overload-const.exp
8994 * gdb.cp/overload.exp
8995 * gdb.cp/ovldbreak.exp
8996 * gdb.cp/ovsrch.exp
8997 * gdb.cp/paren-type.exp
8998 * gdb.cp/parse-lang.exp
8999 * gdb.cp/pass-by-ref.exp
9000 * gdb.cp/pr-1023.exp
9001 * gdb.cp/pr-1210.exp
9002 * gdb.cp/pr-574.exp
9003 * gdb.cp/pr10687.exp
9004 * gdb.cp/pr12028.exp
9005 * gdb.cp/pr17132.exp
9006 * gdb.cp/pr17494.exp
9007 * gdb.cp/pr9067.exp
9008 * gdb.cp/pr9167.exp
9009 * gdb.cp/pr9631.exp
9010 * gdb.cp/printmethod.exp
9011 * gdb.cp/psmang.exp
9012 * gdb.cp/psymtab-parameter.exp
9013 * gdb.cp/ptype-cv-cp.exp
9014 * gdb.cp/ptype-flags.exp
9015 * gdb.cp/re-set-overloaded.exp
9016 * gdb.cp/ref-types.exp
9017 * gdb.cp/rtti.exp
9018 * gdb.cp/scope-err.exp
9019 * gdb.cp/shadow.exp
9020 * gdb.cp/smartp.exp
9021 * gdb.cp/static-method.exp
9022 * gdb.cp/static-print-quit.exp
9023 * gdb.cp/temargs.exp
9024 * gdb.cp/templates.exp
9025 * gdb.cp/try_catch.exp
9026 * gdb.cp/typedef-operator.exp
9027 * gdb.cp/typeid.exp
9028 * gdb.cp/userdef.exp
9029 * gdb.cp/using-crash.exp
9030 * gdb.cp/var-tag.exp
9031 * gdb.cp/virtbase.exp
9032 * gdb.cp/virtfunc.exp
9033 * gdb.cp/virtfunc2.exp
9034 * gdb.cp/vla-cxx.exp
9035 * gdb.disasm/t01_mov.exp
9036 * gdb.disasm/t02_mova.exp
9037 * gdb.disasm/t03_add.exp
9038 * gdb.disasm/t04_sub.exp
9039 * gdb.disasm/t05_cmp.exp
9040 * gdb.disasm/t06_ari2.exp
9041 * gdb.disasm/t07_ari3.exp
9042 * gdb.disasm/t08_or.exp
9043 * gdb.disasm/t09_xor.exp
9044 * gdb.disasm/t10_and.exp
9045 * gdb.disasm/t11_logs.exp
9046 * gdb.disasm/t12_bit.exp
9047 * gdb.disasm/t13_otr.exp
9048 * gdb.dlang/circular.exp
9049 * gdb.dwarf2/arr-stride.exp
9050 * gdb.dwarf2/arr-subrange.exp
9051 * gdb.dwarf2/atomic-type.exp
9052 * gdb.dwarf2/bad-regnum.exp
9053 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9054 * gdb.dwarf2/callframecfa.exp
9055 * gdb.dwarf2/clztest.exp
9056 * gdb.dwarf2/corrupt.exp
9057 * gdb.dwarf2/data-loc.exp
9058 * gdb.dwarf2/dup-psym.exp
9059 * gdb.dwarf2/dw2-anon-mptr.exp
9060 * gdb.dwarf2/dw2-anonymous-func.exp
9061 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9062 * gdb.dwarf2/dw2-bad-unresolved.exp
9063 * gdb.dwarf2/dw2-basic.exp
9064 * gdb.dwarf2/dw2-canonicalize-type.exp
9065 * gdb.dwarf2/dw2-case-insensitive.exp
9066 * gdb.dwarf2/dw2-common-block.exp
9067 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9068 * gdb.dwarf2/dw2-compressed.exp
9069 * gdb.dwarf2/dw2-const.exp
9070 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9071 * gdb.dwarf2/dw2-cu-size.exp
9072 * gdb.dwarf2/dw2-dup-frame.exp
9073 * gdb.dwarf2/dw2-entry-value.exp
9074 * gdb.dwarf2/dw2-icycle.exp
9075 * gdb.dwarf2/dw2-ifort-parameter.exp
9076 * gdb.dwarf2/dw2-inline-break.exp
9077 * gdb.dwarf2/dw2-inline-param.exp
9078 * gdb.dwarf2/dw2-intercu.exp
9079 * gdb.dwarf2/dw2-intermix.exp
9080 * gdb.dwarf2/dw2-lexical-block-bare.exp
9081 * gdb.dwarf2/dw2-linkage-name-trust.exp
9082 * gdb.dwarf2/dw2-minsym-in-cu.exp
9083 * gdb.dwarf2/dw2-noloc.exp
9084 * gdb.dwarf2/dw2-op-call.exp
9085 * gdb.dwarf2/dw2-op-out-param.exp
9086 * gdb.dwarf2/dw2-opt-structptr.exp
9087 * gdb.dwarf2/dw2-param-error.exp
9088 * gdb.dwarf2/dw2-producer.exp
9089 * gdb.dwarf2/dw2-ranges-base.exp
9090 * gdb.dwarf2/dw2-ref-missing-frame.exp
9091 * gdb.dwarf2/dw2-reg-undefined.exp
9092 * gdb.dwarf2/dw2-regno-invalid.exp
9093 * gdb.dwarf2/dw2-restore.exp
9094 * gdb.dwarf2/dw2-restrict.exp
9095 * gdb.dwarf2/dw2-single-line-discriminators.exp
9096 * gdb.dwarf2/dw2-strp.exp
9097 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9098 * gdb.dwarf2/dw2-unresolved.exp
9099 * gdb.dwarf2/dw2-var-zero-addr.exp
9100 * gdb.dwarf2/dw4-sig-types.exp
9101 * gdb.dwarf2/dwz.exp
9102 * gdb.dwarf2/dynarr-ptr.exp
9103 * gdb.dwarf2/enum-type.exp
9104 * gdb.dwarf2/gdb-index.exp
9105 * gdb.dwarf2/implptr-64bit.exp
9106 * gdb.dwarf2/implptr-optimized-out.exp
9107 * gdb.dwarf2/implptr.exp
9108 * gdb.dwarf2/implref-array.exp
9109 * gdb.dwarf2/implref-const.exp
9110 * gdb.dwarf2/implref-global.exp
9111 * gdb.dwarf2/implref-struct.exp
9112 * gdb.dwarf2/mac-fileno.exp
9113 * gdb.dwarf2/main-subprogram.exp
9114 * gdb.dwarf2/member-ptr-forwardref.exp
9115 * gdb.dwarf2/method-ptr.exp
9116 * gdb.dwarf2/missing-sig-type.exp
9117 * gdb.dwarf2/nonvar-access.exp
9118 * gdb.dwarf2/opaque-type-lookup.exp
9119 * gdb.dwarf2/pieces-optimized-out.exp
9120 * gdb.dwarf2/pieces.exp
9121 * gdb.dwarf2/pr10770.exp
9122 * gdb.dwarf2/pr13961.exp
9123 * gdb.dwarf2/staticvirtual.exp
9124 * gdb.dwarf2/subrange.exp
9125 * gdb.dwarf2/symtab-producer.exp
9126 * gdb.dwarf2/trace-crash.exp
9127 * gdb.dwarf2/typeddwarf.exp
9128 * gdb.dwarf2/valop.exp
9129 * gdb.dwarf2/watch-notconst.exp
9130 * gdb.fortran/array-element.exp
9131 * gdb.fortran/charset.exp
9132 * gdb.fortran/common-block.exp
9133 * gdb.fortran/complex.exp
9134 * gdb.fortran/derived-type-function.exp
9135 * gdb.fortran/derived-type.exp
9136 * gdb.fortran/logical.exp
9137 * gdb.fortran/module.exp
9138 * gdb.fortran/multi-dim.exp
9139 * gdb.fortran/nested-funcs.exp
9140 * gdb.fortran/print-formatted.exp
9141 * gdb.fortran/subarray.exp
9142 * gdb.fortran/vla-alloc-assoc.exp
9143 * gdb.fortran/vla-datatypes.exp
9144 * gdb.fortran/vla-history.exp
9145 * gdb.fortran/vla-ptr-info.exp
9146 * gdb.fortran/vla-ptype-sub.exp
9147 * gdb.fortran/vla-ptype.exp
9148 * gdb.fortran/vla-sizeof.exp
9149 * gdb.fortran/vla-type.exp
9150 * gdb.fortran/vla-value-sub-arbitrary.exp
9151 * gdb.fortran/vla-value-sub-finish.exp
9152 * gdb.fortran/vla-value-sub.exp
9153 * gdb.fortran/vla-value.exp
9154 * gdb.fortran/whatis_type.exp
9155 * gdb.go/chan.exp
9156 * gdb.go/handcall.exp
9157 * gdb.go/hello.exp
9158 * gdb.go/integers.exp
9159 * gdb.go/methods.exp
9160 * gdb.go/package.exp
9161 * gdb.go/strings.exp
9162 * gdb.go/types.exp
9163 * gdb.go/unsafe.exp
9164 * gdb.guile/scm-arch.exp
9165 * gdb.guile/scm-block.exp
9166 * gdb.guile/scm-breakpoint.exp
9167 * gdb.guile/scm-cmd.exp
9168 * gdb.guile/scm-disasm.exp
9169 * gdb.guile/scm-equal.exp
9170 * gdb.guile/scm-frame-args.exp
9171 * gdb.guile/scm-frame-inline.exp
9172 * gdb.guile/scm-frame.exp
9173 * gdb.guile/scm-iterator.exp
9174 * gdb.guile/scm-math.exp
9175 * gdb.guile/scm-objfile.exp
9176 * gdb.guile/scm-ports.exp
9177 * gdb.guile/scm-symbol.exp
9178 * gdb.guile/scm-symtab.exp
9179 * gdb.guile/scm-value-cc.exp
9180 * gdb.guile/types-module.exp
9181 * gdb.linespec/break-ask.exp
9182 * gdb.linespec/cpexplicit.exp
9183 * gdb.linespec/explicit.exp
9184 * gdb.linespec/keywords.exp
9185 * gdb.linespec/linespec.exp
9186 * gdb.linespec/ls-dollar.exp
9187 * gdb.linespec/ls-errs.exp
9188 * gdb.linespec/skip-two.exp
9189 * gdb.linespec/thread.exp
9190 * gdb.mi/mi-async.exp
9191 * gdb.mi/mi-basics.exp
9192 * gdb.mi/mi-break.exp
9193 * gdb.mi/mi-catch-load.exp
9194 * gdb.mi/mi-cli.exp
9195 * gdb.mi/mi-cmd-param-changed.exp
9196 * gdb.mi/mi-console.exp
9197 * gdb.mi/mi-detach.exp
9198 * gdb.mi/mi-disassemble.exp
9199 * gdb.mi/mi-eval.exp
9200 * gdb.mi/mi-file-transfer.exp
9201 * gdb.mi/mi-file.exp
9202 * gdb.mi/mi-fill-memory.exp
9203 * gdb.mi/mi-inheritance-syntax-error.exp
9204 * gdb.mi/mi-linespec-err-cp.exp
9205 * gdb.mi/mi-logging.exp
9206 * gdb.mi/mi-memory-changed.exp
9207 * gdb.mi/mi-read-memory.exp
9208 * gdb.mi/mi-record-changed.exp
9209 * gdb.mi/mi-reg-undefined.exp
9210 * gdb.mi/mi-regs.exp
9211 * gdb.mi/mi-return.exp
9212 * gdb.mi/mi-reverse.exp
9213 * gdb.mi/mi-simplerun.exp
9214 * gdb.mi/mi-solib.exp
9215 * gdb.mi/mi-stack.exp
9216 * gdb.mi/mi-stepi.exp
9217 * gdb.mi/mi-syn-frame.exp
9218 * gdb.mi/mi-until.exp
9219 * gdb.mi/mi-var-block.exp
9220 * gdb.mi/mi-var-child.exp
9221 * gdb.mi/mi-var-cmd.exp
9222 * gdb.mi/mi-var-cp.exp
9223 * gdb.mi/mi-var-display.exp
9224 * gdb.mi/mi-var-invalidate.exp
9225 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
9226 * gdb.mi/mi-vla-fortran.exp
9227 * gdb.mi/mi-watch.exp
9228 * gdb.mi/mi2-var-child.exp
9229 * gdb.mi/user-selected-context-sync.exp
9230 * gdb.modula2/unbounded-array.exp
9231 * gdb.multi/dummy-frame-restore.exp
9232 * gdb.multi/multi-arch-exec.exp
9233 * gdb.multi/multi-arch.exp
9234 * gdb.multi/tids.exp
9235 * gdb.multi/watchpoint-multi.exp
9236 * gdb.opencl/callfuncs.exp
9237 * gdb.opencl/convs_casts.exp
9238 * gdb.opencl/datatypes.exp
9239 * gdb.opencl/operators.exp
9240 * gdb.opencl/vec_comps.exp
9241 * gdb.opt/clobbered-registers-O2.exp
9242 * gdb.opt/inline-break.exp
9243 * gdb.opt/inline-bt.exp
9244 * gdb.opt/inline-cmds.exp
9245 * gdb.opt/inline-locals.exp
9246 * gdb.pascal/case-insensitive-symbols.exp
9247 * gdb.pascal/floats.exp
9248 * gdb.pascal/gdb11492.exp
9249 * gdb.python/lib-types.exp
9250 * gdb.python/py-arch.exp
9251 * gdb.python/py-as-string.exp
9252 * gdb.python/py-bad-printers.exp
9253 * gdb.python/py-block.exp
9254 * gdb.python/py-breakpoint-create-fail.exp
9255 * gdb.python/py-breakpoint.exp
9256 * gdb.python/py-caller-is.exp
9257 * gdb.python/py-cmd.exp
9258 * gdb.python/py-explore-cc.exp
9259 * gdb.python/py-explore.exp
9260 * gdb.python/py-finish-breakpoint.exp
9261 * gdb.python/py-finish-breakpoint2.exp
9262 * gdb.python/py-frame-args.exp
9263 * gdb.python/py-frame-inline.exp
9264 * gdb.python/py-frame.exp
9265 * gdb.python/py-framefilter-mi.exp
9266 * gdb.python/py-infthread.exp
9267 * gdb.python/py-lazy-string.exp
9268 * gdb.python/py-linetable.exp
9269 * gdb.python/py-mi-events.exp
9270 * gdb.python/py-mi-objfile.exp
9271 * gdb.python/py-mi.exp
9272 * gdb.python/py-objfile.exp
9273 * gdb.python/py-pp-integral.exp
9274 * gdb.python/py-pp-maint.exp
9275 * gdb.python/py-pp-re-notag.exp
9276 * gdb.python/py-pp-registration.exp
9277 * gdb.python/py-recurse-unwind.exp
9278 * gdb.python/py-strfns.exp
9279 * gdb.python/py-symbol.exp
9280 * gdb.python/py-symtab.exp
9281 * gdb.python/py-sync-interp.exp
9282 * gdb.python/py-typeprint.exp
9283 * gdb.python/py-unwind-maint.exp
9284 * gdb.python/py-unwind.exp
9285 * gdb.python/py-value-cc.exp
9286 * gdb.python/py-xmethods.exp
9287 * gdb.reverse/amd64-tailcall-reverse.exp
9288 * gdb.reverse/break-precsave.exp
9289 * gdb.reverse/break-reverse.exp
9290 * gdb.reverse/consecutive-precsave.exp
9291 * gdb.reverse/consecutive-reverse.exp
9292 * gdb.reverse/finish-precsave.exp
9293 * gdb.reverse/finish-reverse-bkpt.exp
9294 * gdb.reverse/finish-reverse.exp
9295 * gdb.reverse/fstatat-reverse.exp
9296 * gdb.reverse/getresuid-reverse.exp
9297 * gdb.reverse/i386-precsave.exp
9298 * gdb.reverse/i386-reverse.exp
9299 * gdb.reverse/i386-sse-reverse.exp
9300 * gdb.reverse/i387-env-reverse.exp
9301 * gdb.reverse/i387-stack-reverse.exp
9302 * gdb.reverse/insn-reverse.exp
9303 * gdb.reverse/machinestate-precsave.exp
9304 * gdb.reverse/machinestate.exp
9305 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9306 * gdb.reverse/pipe-reverse.exp
9307 * gdb.reverse/readv-reverse.exp
9308 * gdb.reverse/recvmsg-reverse.exp
9309 * gdb.reverse/rerun-prec.exp
9310 * gdb.reverse/s390-mvcle.exp
9311 * gdb.reverse/step-precsave.exp
9312 * gdb.reverse/step-reverse.exp
9313 * gdb.reverse/time-reverse.exp
9314 * gdb.reverse/until-precsave.exp
9315 * gdb.reverse/until-reverse.exp
9316 * gdb.reverse/waitpid-reverse.exp
9317 * gdb.reverse/watch-precsave.exp
9318 * gdb.reverse/watch-reverse.exp
9319 * gdb.rust/generics.exp
9320 * gdb.rust/methods.exp
9321 * gdb.rust/modules.exp
9322 * gdb.rust/simple.exp
9323 * gdb.server/connect-with-no-symbol-file.exp
9324 * gdb.server/ext-attach.exp
9325 * gdb.server/ext-restart.exp
9326 * gdb.server/ext-wrapper.exp
9327 * gdb.server/file-transfer.exp
9328 * gdb.server/server-exec-info.exp
9329 * gdb.server/server-kill.exp
9330 * gdb.server/server-mon.exp
9331 * gdb.server/wrapper.exp
9332 * gdb.stabs/exclfwd.exp
9333 * gdb.stabs/gdb11479.exp
9334 * gdb.threads/clone-new-thread-event.exp
9335 * gdb.threads/corethreads.exp
9336 * gdb.threads/current-lwp-dead.exp
9337 * gdb.threads/dlopen-libpthread.exp
9338 * gdb.threads/gcore-thread.exp
9339 * gdb.threads/sigstep-threads.exp
9340 * gdb.threads/watchpoint-fork.exp
9341 * gdb.trace/actions-changed.exp
9342 * gdb.trace/backtrace.exp
9343 * gdb.trace/change-loc.exp
9344 * gdb.trace/circ.exp
9345 * gdb.trace/collection.exp
9346 * gdb.trace/disconnected-tracing.exp
9347 * gdb.trace/ftrace.exp
9348 * gdb.trace/mi-trace-frame-collected.exp
9349 * gdb.trace/mi-trace-unavailable.exp
9350 * gdb.trace/mi-traceframe-changed.exp
9351 * gdb.trace/mi-tsv-changed.exp
9352 * gdb.trace/no-attach-trace.exp
9353 * gdb.trace/passc-dyn.exp
9354 * gdb.trace/qtro.exp
9355 * gdb.trace/range-stepping.exp
9356 * gdb.trace/read-memory.exp
9357 * gdb.trace/save-trace.exp
9358 * gdb.trace/signal.exp
9359 * gdb.trace/status-stop.exp
9360 * gdb.trace/tfile.exp
9361 * gdb.trace/trace-break.exp
9362 * gdb.trace/trace-buffer-size.exp
9363 * gdb.trace/trace-condition.exp
9364 * gdb.trace/tracefile-pseudo-reg.exp
9365 * gdb.trace/tstatus.exp
9366 * gdb.trace/unavailable.exp
9367 * gdb.trace/while-dyn.exp
9368 * gdb.trace/while-stepping.exp
9369
9370 2016-12-22 Doug Evans <xdje42@gmail.com>
9371
9372 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
9373 and msymbols.
9374
9375 2016-12-19 Yao Qi <yao.qi@linaro.org>
9376
9377 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
9378 (test_with_self): Don't call do_steps_and_nexts, and remove
9379 code about stepping into xmalloc.
9380
9381 2016-12-09 Yao Qi <yao.qi@linaro.org>
9382
9383 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
9384
9385 2016-12-09 Yao Qi <yao.qi@linaro.org>
9386
9387 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
9388
9389 2016-12-09 Pedro Alves <palves@redhat.com>
9390
9391 * gdb.base/all-architectures-0.exp: New file.
9392 * gdb.base/all-architectures-1.exp: New file.
9393 * gdb.base/all-architectures-2.exp: New file.
9394 * gdb.base/all-architectures-3.exp: New file.
9395 * gdb.base/all-architectures-4.exp: New file.
9396 * gdb.base/all-architectures-5.exp: New file.
9397 * gdb.base/all-architectures-6.exp: New file.
9398 * gdb.base/all-architectures-7.exp: New file.
9399 * gdb.base/all-architectures.exp.in: New file.
9400
9401 2016-12-09 Yao Qi <yao.qi@linaro.org>
9402
9403 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
9404
9405 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
9406
9407 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
9408 possible.
9409 Remove useless pattern-matching code.
9410
9411 2016-12-02 Pedro Alves <palves@redhat.com>
9412
9413 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
9414 procedure.
9415 (top level): Call it.
9416
9417 2016-12-02 Pedro Alves <palves@redhat.com>
9418
9419 * gdb.base/commands.exp (user_defined_command_args_stack_test):
9420 New procedure.
9421 (top level): Call it.
9422
9423 2016-12-02 Pedro Alves <palves@redhat.com>
9424
9425 PR cli/20559
9426 * gdb.base/commands.exp (user_defined_command_args_eval): New
9427 procedure.
9428 (top level): Call it.
9429
9430 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
9431
9432 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
9433 timeout handling.
9434
9435 2016-12-02 Tom Tromey <tom@tromey.com>
9436
9437 * gdb.dwarf2/main-subprogram.c: New file.
9438 * gdb.dwarf2/main-subprogram.exp: New file.
9439
9440 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9441
9442 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
9443 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
9444 gdb_test_no_output for a couple of cases.
9445 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
9446
9447 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9448
9449 Fix test names and standardize compilation error messages throughout
9450 the following files:
9451
9452 * gdb.ada/start.exp
9453 * gdb.arch/alpha-step.exp
9454 * gdb.arch/e500-prologue.exp
9455 * gdb.arch/ftrace-insn-reloc.exp
9456 * gdb.arch/gdb1291.exp
9457 * gdb.arch/gdb1431.exp
9458 * gdb.arch/gdb1558.exp
9459 * gdb.arch/i386-dr3-watch.exp
9460 * gdb.arch/i386-sse-stack-align.exp
9461 * gdb.arch/ia64-breakpoint-shadow.exp
9462 * gdb.arch/pa-nullify.exp
9463 * gdb.arch/powerpc-aix-prologue.exp
9464 * gdb.arch/thumb-bx-pc.exp
9465 * gdb.base/annota1.exp
9466 * gdb.base/annota3.exp
9467 * gdb.base/arrayidx.exp
9468 * gdb.base/assign.exp
9469 * gdb.base/attach.exp
9470 * gdb.base/auxv.exp
9471 * gdb.base/bang.exp
9472 * gdb.base/bfp-test.exp
9473 * gdb.base/bigcore.exp
9474 * gdb.base/bitfields2.exp
9475 * gdb.base/break-fun-addr.exp
9476 * gdb.base/break-probes.exp
9477 * gdb.base/call-rt-st.exp
9478 * gdb.base/callexit.exp
9479 * gdb.base/catch-fork-kill.exp
9480 * gdb.base/charset.exp
9481 * gdb.base/checkpoint.exp
9482 * gdb.base/comprdebug.exp
9483 * gdb.base/constvars.exp
9484 * gdb.base/coredump-filter.exp
9485 * gdb.base/cursal.exp
9486 * gdb.base/cvexpr.exp
9487 * gdb.base/detach.exp
9488 * gdb.base/display.exp
9489 * gdb.base/dmsym.exp
9490 * gdb.base/dprintf-pending.exp
9491 * gdb.base/dso2dso.exp
9492 * gdb.base/dtrace-probe.exp
9493 * gdb.base/dump.exp
9494 * gdb.base/enum_cond.exp
9495 * gdb.base/exe-lock.exp
9496 * gdb.base/exec-invalid-sysroot.exp
9497 * gdb.base/execl-update-breakpoints.exp
9498 * gdb.base/exprs.exp
9499 * gdb.base/fileio.exp
9500 * gdb.base/find.exp
9501 * gdb.base/finish.exp
9502 * gdb.base/fixsection.exp
9503 * gdb.base/foll-vfork.exp
9504 * gdb.base/frame-args.exp
9505 * gdb.base/gcore.exp
9506 * gdb.base/gdb1250.exp
9507 * gdb.base/global-var-nested-by-dso.exp
9508 * gdb.base/gnu-ifunc.exp
9509 * gdb.base/hashline1.exp
9510 * gdb.base/hashline2.exp
9511 * gdb.base/hashline3.exp
9512 * gdb.base/hbreak-in-shr-unsupported.exp
9513 * gdb.base/huge.exp
9514 * gdb.base/infcall-input.exp
9515 * gdb.base/info-fun.exp
9516 * gdb.base/info-shared.exp
9517 * gdb.base/jit-simple.exp
9518 * gdb.base/jit-so.exp
9519 * gdb.base/jit.exp
9520 * gdb.base/jump.exp
9521 * gdb.base/label.exp
9522 * gdb.base/lineinc.exp
9523 * gdb.base/logical.exp
9524 * gdb.base/longjmp.exp
9525 * gdb.base/macscp.exp
9526 * gdb.base/miscexprs.exp
9527 * gdb.base/new-ui-echo.exp
9528 * gdb.base/new-ui-pending-input.exp
9529 * gdb.base/new-ui.exp
9530 * gdb.base/nodebug.exp
9531 * gdb.base/nofield.exp
9532 * gdb.base/offsets.exp
9533 * gdb.base/overlays.exp
9534 * gdb.base/pending.exp
9535 * gdb.base/pointers.exp
9536 * gdb.base/pr11022.exp
9537 * gdb.base/printcmds.exp
9538 * gdb.base/prologue.exp
9539 * gdb.base/ptr-typedef.exp
9540 * gdb.base/realname-expand.exp
9541 * gdb.base/relativedebug.exp
9542 * gdb.base/relocate.exp
9543 * gdb.base/remote.exp
9544 * gdb.base/reread.exp
9545 * gdb.base/return2.exp
9546 * gdb.base/savedregs.exp
9547 * gdb.base/sep.exp
9548 * gdb.base/sepdebug.exp
9549 * gdb.base/sepsymtab.exp
9550 * gdb.base/set-inferior-tty.exp
9551 * gdb.base/setshow.exp
9552 * gdb.base/shlib-call.exp
9553 * gdb.base/sigaltstack.exp
9554 * gdb.base/siginfo-addr.exp
9555 * gdb.base/signals.exp
9556 * gdb.base/signull.exp
9557 * gdb.base/sigrepeat.exp
9558 * gdb.base/so-impl-ld.exp
9559 * gdb.base/solib-display.exp
9560 * gdb.base/solib-overlap.exp
9561 * gdb.base/solib-search.exp
9562 * gdb.base/solib-symbol.exp
9563 * gdb.base/structs.exp
9564 * gdb.base/structs2.exp
9565 * gdb.base/symtab-search-order.exp
9566 * gdb.base/twice.exp
9567 * gdb.base/unload.exp
9568 * gdb.base/varargs.exp
9569 * gdb.base/watchpoint-solib.exp
9570 * gdb.base/watchpoint.exp
9571 * gdb.base/whatis.exp
9572 * gdb.base/wrong_frame_bt_full.exp
9573 * gdb.btrace/dlopen.exp
9574 * gdb.cell/ea-standalone.exp
9575 * gdb.cell/ea-test.exp
9576 * gdb.cp/dispcxx.exp
9577 * gdb.cp/gdb2384.exp
9578 * gdb.cp/method2.exp
9579 * gdb.cp/nextoverthrow.exp
9580 * gdb.cp/pr10728.exp
9581 * gdb.disasm/am33.exp
9582 * gdb.disasm/h8300s.exp
9583 * gdb.disasm/mn10300.exp
9584 * gdb.disasm/sh3.exp
9585 * gdb.dwarf2/dw2-dir-file-name.exp
9586 * gdb.fortran/complex.exp
9587 * gdb.fortran/library-module.exp
9588 * gdb.guile/scm-pretty-print.exp
9589 * gdb.guile/scm-symbol.exp
9590 * gdb.guile/scm-type.exp
9591 * gdb.guile/scm-value.exp
9592 * gdb.linespec/linespec.exp
9593 * gdb.mi/gdb701.exp
9594 * gdb.mi/gdb792.exp
9595 * gdb.mi/mi-breakpoint-changed.exp
9596 * gdb.mi/mi-dprintf-pending.exp
9597 * gdb.mi/mi-dprintf.exp
9598 * gdb.mi/mi-exit-code.exp
9599 * gdb.mi/mi-pending.exp
9600 * gdb.mi/mi-solib.exp
9601 * gdb.mi/new-ui-mi-sync.exp
9602 * gdb.mi/pr11022.exp
9603 * gdb.mi/user-selected-context-sync.exp
9604 * gdb.opt/solib-intra-step.exp
9605 * gdb.python/py-events.exp
9606 * gdb.python/py-finish-breakpoint.exp
9607 * gdb.python/py-mi.exp
9608 * gdb.python/py-prettyprint.exp
9609 * gdb.python/py-shared.exp
9610 * gdb.python/py-symbol.exp
9611 * gdb.python/py-template.exp
9612 * gdb.python/py-type.exp
9613 * gdb.python/py-value.exp
9614 * gdb.reverse/solib-precsave.exp
9615 * gdb.reverse/solib-reverse.exp
9616 * gdb.server/solib-list.exp
9617 * gdb.stabs/weird.exp
9618 * gdb.threads/reconnect-signal.exp
9619 * gdb.threads/stepi-random-signal.exp
9620 * gdb.trace/actions.exp
9621 * gdb.trace/ax.exp
9622 * gdb.trace/backtrace.exp
9623 * gdb.trace/change-loc.exp
9624 * gdb.trace/deltrace.exp
9625 * gdb.trace/ftrace-lock.exp
9626 * gdb.trace/ftrace.exp
9627 * gdb.trace/infotrace.exp
9628 * gdb.trace/mi-tracepoint-changed.exp
9629 * gdb.trace/packetlen.exp
9630 * gdb.trace/passcount.exp
9631 * gdb.trace/pending.exp
9632 * gdb.trace/range-stepping.exp
9633 * gdb.trace/report.exp
9634 * gdb.trace/stap-trace.exp
9635 * gdb.trace/tfind.exp
9636 * gdb.trace/trace-break.exp
9637 * gdb.trace/trace-condition.exp
9638 * gdb.trace/trace-enable-disable.exp
9639 * gdb.trace/trace-mt.exp
9640 * gdb.trace/tracecmd.exp
9641 * gdb.trace/tspeed.exp
9642 * gdb.trace/tsv.exp
9643 * lib/perftest.exp
9644
9645 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9646
9647 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9648 with gdb_test_no_output.
9649 Use command as test name.
9650
9651 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9652
9653 Fix test names starting with uppercase throughout the files.
9654
9655 * gdb.ada/assign_1.exp
9656 * gdb.ada/boolean_expr.exp
9657 * gdb.base/arrayidx.exp
9658 * gdb.base/del.exp
9659 * gdb.base/gcore-buffer-overflow.exp
9660 * gdb.base/testenv.exp
9661 * gdb.compile/compile.exp
9662 * gdb.python/py-framefilter-invalidarg.exp
9663 * gdb.python/py-framefilter.exp
9664
9665 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9666
9667 Fix test names starting with uppercase throughout the files.
9668
9669 * gdb.ada/array_return.exp
9670 * gdb.ada/expr_delims.exp
9671 * gdb.ada/mi_dyn_arr.exp
9672 * gdb.ada/mi_interface.exp
9673 * gdb.ada/mi_var_array.exp
9674 * gdb.ada/watch_arg.exp
9675 * gdb.arch/alpha-step.exp
9676 * gdb.arch/altivec-regs.exp
9677 * gdb.arch/e500-regs.exp
9678 * gdb.arch/powerpc-d128-regs.exp
9679 * gdb.base/arrayidx.exp
9680 * gdb.base/break.exp
9681 * gdb.base/checkpoint.exp
9682 * gdb.base/debug-expr.exp
9683 * gdb.base/dmsym.exp
9684 * gdb.base/radix.exp
9685 * gdb.base/sepdebug.exp
9686 * gdb.base/testenv.exp
9687 * gdb.base/watch_thread_num.exp
9688 * gdb.base/watchpoint-cond-gone.exp
9689 * gdb.cell/break.exp
9690 * gdb.cell/ea-cache.exp
9691 * gdb.compile/compile.exp
9692 * gdb.cp/gdb2495.exp
9693 * gdb.gdb/selftest.exp
9694 * gdb.gdb/xfullpath.exp
9695 * gdb.go/hello.exp
9696 * gdb.go/integers.exp
9697 * gdb.objc/basicclass.exp
9698 * gdb.pascal/hello.exp
9699 * gdb.pascal/integers.exp
9700 * gdb.python/py-breakpoint.exp
9701 * gdb.python/py-cmd.exp
9702 * gdb.python/py-linetable.exp
9703 * gdb.python/py-xmethods.exp
9704 * gdb.python/python.exp
9705 * gdb.reverse/consecutive-precsave.exp
9706 * gdb.reverse/finish-precsave.exp
9707 * gdb.reverse/i386-precsave.exp
9708 * gdb.reverse/machinestate-precsave.exp
9709 * gdb.reverse/sigall-precsave.exp
9710 * gdb.reverse/solib-precsave.exp
9711 * gdb.reverse/step-precsave.exp
9712 * gdb.reverse/until-precsave.exp
9713 * gdb.reverse/watch-precsave.exp
9714 * gdb.threads/leader-exit.exp
9715 * gdb.threads/pthreads.exp
9716 * gdb.threads/wp-replication.exp
9717 * gdb.trace/actions.exp
9718 * gdb.trace/mi-tsv-changed.exp
9719 * gdb.trace/tsv.exp
9720
9721 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9722
9723 Fix test names starting with uppercase throughout the files.
9724
9725 * gdb.arch/i386-bp_permanent.exp
9726 * gdb.arch/i386-gnu-cfi.exp
9727 * gdb.base/disasm-end-cu.exp
9728 * gdb.base/macscp.exp
9729 * gdb.base/pending.exp
9730 * gdb.base/watch_thread_num.exp
9731 * gdb.cp/exception.exp
9732 * gdb.cp/gdb2495.exp
9733 * gdb.cp/local.exp
9734 * gdb.python/py-evsignal.exp
9735 * gdb.python/python.exp
9736 * gdb.trace/tracecmd.exp
9737
9738 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9739
9740 Fix test names starting with uppercase throughout the files.
9741
9742 * gdb.base/charset.exp
9743 * gdb.base/eval.exp
9744 * gdb.base/multi-forks.exp
9745 * gdb.guile/scm-progspace.exp
9746 * gdb.opencl/datatypes.exp
9747 * gdb.python/py-block.exp
9748 * gdb.python/py-function.exp
9749 * gdb.python/py-symbol.exp
9750 * gdb.python/py-symtab.exp
9751 * gdb.python/py-xmethods.exp
9752 * gdb.reverse/break-precsave.exp
9753 * gdb.reverse/break-reverse.exp
9754 * gdb.reverse/consecutive-precsave.exp
9755 * gdb.reverse/consecutive-reverse.exp
9756 * gdb.reverse/finish-precsave.exp
9757 * gdb.reverse/finish-reverse-bkpt.exp
9758 * gdb.reverse/finish-reverse.exp
9759 * gdb.reverse/fstatat-reverse.exp
9760 * gdb.reverse/getresuid-reverse.exp
9761 * gdb.reverse/i386-precsave.exp
9762 * gdb.reverse/i386-reverse.exp
9763 * gdb.reverse/i386-sse-reverse.exp
9764 * gdb.reverse/i387-stack-reverse.exp
9765 * gdb.reverse/insn-reverse.exp
9766 * gdb.reverse/machinestate-precsave.exp
9767 * gdb.reverse/machinestate.exp
9768 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9769 * gdb.reverse/pipe-reverse.exp
9770 * gdb.reverse/readv-reverse.exp
9771 * gdb.reverse/recvmsg-reverse.exp
9772 * gdb.reverse/rerun-prec.exp
9773 * gdb.reverse/s390-mvcle.exp
9774 * gdb.reverse/sigall-precsave.exp
9775 * gdb.reverse/sigall-reverse.exp
9776 * gdb.reverse/solib-precsave.exp
9777 * gdb.reverse/solib-reverse.exp
9778 * gdb.reverse/step-precsave.exp
9779 * gdb.reverse/step-reverse.exp
9780 * gdb.reverse/time-reverse.exp
9781 * gdb.reverse/until-precsave.exp
9782 * gdb.reverse/until-reverse.exp
9783 * gdb.reverse/waitpid-reverse.exp
9784 * gdb.reverse/watch-precsave.exp
9785 * gdb.reverse/watch-reverse.exp
9786
9787 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9788
9789 Fix test names starting with uppercase throughout the files.
9790
9791 * gdb.arch/i386-mpx-simple_segv.exp
9792 * gdb.arch/i386-mpx.exp
9793 * gdb.arch/i386-permbkpt.exp
9794 * gdb.arch/pa-nullify.exp
9795 * gdb.arch/powerpc-d128-regs.exp
9796 * gdb.arch/vsx-regs.exp
9797 * gdb.base/bfp-test.exp
9798 * gdb.base/break.exp
9799 * gdb.base/breakpoint-shadow.exp
9800 * gdb.base/callfuncs.exp
9801 * gdb.base/charset.exp
9802 * gdb.base/commands.exp
9803 * gdb.base/completion.exp
9804 * gdb.base/dfp-test.exp
9805 * gdb.base/echo.exp
9806 * gdb.base/ending-run.exp
9807 * gdb.base/eval.exp
9808 * gdb.base/expand-psymtabs.exp
9809 * gdb.base/float128.exp
9810 * gdb.base/floatn.exp
9811 * gdb.base/foll-exec-mode.exp
9812 * gdb.base/gdb1056.exp
9813 * gdb.base/gdb11531.exp
9814 * gdb.base/kill-after-signal.exp
9815 * gdb.base/multi-forks.exp
9816 * gdb.base/overlays.exp
9817 * gdb.base/pending.exp
9818 * gdb.base/sepdebug.exp
9819 * gdb.base/testenv.exp
9820 * gdb.base/valgrind-db-attach.exp
9821 * gdb.base/watch_thread_num.exp
9822 * gdb.base/watchpoint-cond-gone.exp
9823 * gdb.base/watchpoint.exp
9824 * gdb.base/watchpoints.exp
9825 * gdb.cp/arg-reference.exp
9826 * gdb.cp/baseenum.exp
9827 * gdb.cp/operator.exp
9828 * gdb.cp/shadow.exp
9829 * gdb.dwarf2/dw2-op-out-param.exp
9830 * gdb.dwarf2/dw2-reg-undefined.exp
9831 * gdb.go/chan.exp
9832 * gdb.go/hello.exp
9833 * gdb.go/integers.exp
9834 * gdb.go/methods.exp
9835 * gdb.go/package.exp
9836 * gdb.guile/scm-parameter.exp
9837 * gdb.guile/scm-progspace.exp
9838 * gdb.guile/scm-value.exp
9839 * gdb.mi/mi-pending.exp
9840 * gdb.mi/user-selected-context-sync.exp
9841 * gdb.multi/multi-attach.exp
9842 * gdb.multi/tids.exp
9843 * gdb.opt/clobbered-registers-O2.exp
9844 * gdb.pascal/floats.exp
9845 * gdb.pascal/integers.exp
9846 * gdb.python/py-block.exp
9847 * gdb.python/py-events.exp
9848 * gdb.python/py-parameter.exp
9849 * gdb.python/py-symbol.exp
9850 * gdb.python/py-symtab.exp
9851 * gdb.python/py-type.exp
9852 * gdb.python/py-value.exp
9853 * gdb.python/py-xmethods.exp
9854 * gdb.python/python.exp
9855 * gdb.reverse/break-precsave.exp
9856 * gdb.reverse/consecutive-precsave.exp
9857 * gdb.reverse/finish-precsave.exp
9858 * gdb.reverse/i386-precsave.exp
9859 * gdb.reverse/machinestate-precsave.exp
9860 * gdb.reverse/sigall-precsave.exp
9861 * gdb.reverse/solib-precsave.exp
9862 * gdb.reverse/step-precsave.exp
9863 * gdb.reverse/until-precsave.exp
9864 * gdb.reverse/watch-precsave.exp
9865 * gdb.server/ext-attach.exp
9866 * gdb.server/ext-restart.exp
9867 * gdb.server/ext-run.exp
9868 * gdb.server/ext-wrapper.exp
9869 * gdb.stabs/gdb11479.exp
9870 * gdb.stabs/weird.exp
9871 * gdb.threads/attach-many-short-lived-threads.exp
9872 * gdb.threads/kill.exp
9873 * gdb.threads/watchpoint-fork.exp
9874
9875 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9876
9877 Fix test names starting with uppercase throughout all the files below.
9878
9879 * gdb.ada/array_return.exp
9880 * gdb.ada/catch_ex.exp
9881 * gdb.ada/info_exc.exp
9882 * gdb.ada/mi_catch_ex.exp
9883 * gdb.ada/mi_dyn_arr.exp
9884 * gdb.ada/mi_ex_cond.exp
9885 * gdb.ada/mi_exc_info.exp
9886 * gdb.ada/mi_interface.exp
9887 * gdb.ada/mi_task_arg.exp
9888 * gdb.ada/mi_task_info.exp
9889 * gdb.ada/mi_var_array.exp
9890 * gdb.arch/alpha-step.exp
9891 * gdb.arch/amd64-disp-step.exp
9892 * gdb.arch/arm-disp-step.exp
9893 * gdb.arch/disp-step-insn-reloc.exp
9894 * gdb.arch/e500-prologue.exp
9895 * gdb.arch/ftrace-insn-reloc.exp
9896 * gdb.arch/gdb1558.exp
9897 * gdb.arch/i386-bp_permanent.exp
9898 * gdb.arch/i386-disp-step.exp
9899 * gdb.arch/i386-float.exp
9900 * gdb.arch/i386-gnu-cfi.exp
9901 * gdb.arch/ia64-breakpoint-shadow.exp
9902 * gdb.arch/mips16-thunks.exp
9903 * gdb.arch/pa-nullify.exp
9904 * gdb.arch/powerpc-aix-prologue.exp
9905 * gdb.arch/powerpc-power.exp
9906 * gdb.arch/ppc-dfp.exp
9907 * gdb.arch/s390-tdbregs.exp
9908 * gdb.arch/spu-info.exp
9909 * gdb.arch/spu-ls.exp
9910 * gdb.arch/thumb-bx-pc.exp
9911 * gdb.base/advance.exp
9912 * gdb.base/annota-input-while-running.exp
9913 * gdb.base/arrayidx.exp
9914 * gdb.base/asmlabel.exp
9915 * gdb.base/async.exp
9916 * gdb.base/attach-wait-input.exp
9917 * gdb.base/auto-connect-native-target.exp
9918 * gdb.base/batch-preserve-term-settings.exp
9919 * gdb.base/bfp-test.exp
9920 * gdb.base/bigcore.exp
9921 * gdb.base/bp-permanent.exp
9922 * gdb.base/break-always.exp
9923 * gdb.base/break-fun-addr.exp
9924 * gdb.base/break-idempotent.exp
9925 * gdb.base/break-main-file-remove-fail.exp
9926 * gdb.base/break-probes.exp
9927 * gdb.base/break-unload-file.exp
9928 * gdb.base/break.exp
9929 * gdb.base/call-ar-st.exp
9930 * gdb.base/call-rt-st.exp
9931 * gdb.base/call-sc.exp
9932 * gdb.base/call-signal-resume.exp
9933 * gdb.base/call-strs.exp
9934 * gdb.base/callexit.exp
9935 * gdb.base/callfuncs.exp
9936 * gdb.base/catch-gdb-caused-signals.exp
9937 * gdb.base/catch-signal-siginfo-cond.exp
9938 * gdb.base/catch-syscall.exp
9939 * gdb.base/compare-sections.exp
9940 * gdb.base/cond-eval-mode.exp
9941 * gdb.base/condbreak-call-false.exp
9942 * gdb.base/consecutive-step-over.exp
9943 * gdb.base/cursal.exp
9944 * gdb.base/disabled-location.exp
9945 * gdb.base/disasm-end-cu.exp
9946 * gdb.base/display.exp
9947 * gdb.base/double-prompt-target-event-error.exp
9948 * gdb.base/dprintf-bp-same-addr.exp
9949 * gdb.base/dprintf-detach.exp
9950 * gdb.base/dprintf-next.exp
9951 * gdb.base/dprintf-non-stop.exp
9952 * gdb.base/dprintf-pending.exp
9953 * gdb.base/dso2dso.exp
9954 * gdb.base/ending-run.exp
9955 * gdb.base/enum_cond.exp
9956 * gdb.base/examine-backward.exp
9957 * gdb.base/exe-lock.exp
9958 * gdb.base/exec-invalid-sysroot.exp
9959 * gdb.base/execl-update-breakpoints.exp
9960 * gdb.base/execution-termios.exp
9961 * gdb.base/fileio.exp
9962 * gdb.base/fixsection.exp
9963 * gdb.base/foll-exec-mode.exp
9964 * gdb.base/foll-exec.exp
9965 * gdb.base/fork-running-state.exp
9966 * gdb.base/frame-args.exp
9967 * gdb.base/fullpath-expand.exp
9968 * gdb.base/func-ptr.exp
9969 * gdb.base/gcore-relro-pie.exp
9970 * gdb.base/gdb1090.exp
9971 * gdb.base/gdb1555.exp
9972 * gdb.base/global-var-nested-by-dso.exp
9973 * gdb.base/gnu-ifunc.exp
9974 * gdb.base/hbreak-in-shr-unsupported.exp
9975 * gdb.base/hbreak-unmapped.exp
9976 * gdb.base/hook-stop.exp
9977 * gdb.base/infcall-input.exp
9978 * gdb.base/info-fun.exp
9979 * gdb.base/info-shared.exp
9980 * gdb.base/interrupt-noterm.exp
9981 * gdb.base/jit-so.exp
9982 * gdb.base/jit.exp
9983 * gdb.base/line-symtabs.exp
9984 * gdb.base/list.exp
9985 * gdb.base/longjmp.exp
9986 * gdb.base/macscp.exp
9987 * gdb.base/max-value-size.exp
9988 * gdb.base/nodebug.exp
9989 * gdb.base/nofield.exp
9990 * gdb.base/overlays.exp
9991 * gdb.base/paginate-after-ctrl-c-running.exp
9992 * gdb.base/paginate-bg-execution.exp
9993 * gdb.base/paginate-inferior-exit.exp
9994 * gdb.base/pending.exp
9995 * gdb.base/pr11022.exp
9996 * gdb.base/printcmds.exp
9997 * gdb.base/ptr-typedef.exp
9998 * gdb.base/ptype.exp
9999 * gdb.base/randomize.exp
10000 * gdb.base/range-stepping.exp
10001 * gdb.base/realname-expand.exp
10002 * gdb.base/relativedebug.exp
10003 * gdb.base/remote.exp
10004 * gdb.base/savedregs.exp
10005 * gdb.base/sepdebug.exp
10006 * gdb.base/set-noassign.exp
10007 * gdb.base/shlib-call.exp
10008 * gdb.base/shreloc.exp
10009 * gdb.base/sigaltstack.exp
10010 * gdb.base/sigbpt.exp
10011 * gdb.base/siginfo-addr.exp
10012 * gdb.base/siginfo-obj.exp
10013 * gdb.base/siginfo-thread.exp
10014 * gdb.base/signest.exp
10015 * gdb.base/signull.exp
10016 * gdb.base/sigrepeat.exp
10017 * gdb.base/skip.exp
10018 * gdb.base/so-impl-ld.exp
10019 * gdb.base/solib-corrupted.exp
10020 * gdb.base/solib-disc.exp
10021 * gdb.base/solib-display.exp
10022 * gdb.base/solib-overlap.exp
10023 * gdb.base/solib-search.exp
10024 * gdb.base/solib-symbol.exp
10025 * gdb.base/source-execution.exp
10026 * gdb.base/sss-bp-on-user-bp-2.exp
10027 * gdb.base/sss-bp-on-user-bp.exp
10028 * gdb.base/stack-checking.exp
10029 * gdb.base/stale-infcall.exp
10030 * gdb.base/step-break.exp
10031 * gdb.base/step-line.exp
10032 * gdb.base/step-over-exit.exp
10033 * gdb.base/step-test.exp
10034 * gdb.base/structs.exp
10035 * gdb.base/sym-file.exp
10036 * gdb.base/symtab-search-order.exp
10037 * gdb.base/term.exp
10038 * gdb.base/type-opaque.exp
10039 * gdb.base/unload.exp
10040 * gdb.base/until-nodebug.exp
10041 * gdb.base/until.exp
10042 * gdb.base/unwindonsignal.exp
10043 * gdb.base/watch-cond.exp
10044 * gdb.base/watch-non-mem.exp
10045 * gdb.base/watch_thread_num.exp
10046 * gdb.base/watchpoint-reuse-slot.exp
10047 * gdb.base/watchpoint-solib.exp
10048 * gdb.base/watchpoint.exp
10049 * gdb.btrace/dlopen.exp
10050 * gdb.cell/arch.exp
10051 * gdb.cell/break.exp
10052 * gdb.cell/bt.exp
10053 * gdb.cell/core.exp
10054 * gdb.cell/data.exp
10055 * gdb.cell/dwarfaddr.exp
10056 * gdb.cell/ea-cache.exp
10057 * gdb.cell/ea-standalone.exp
10058 * gdb.cell/ea-test.exp
10059 * gdb.cell/f-regs.exp
10060 * gdb.cell/fork.exp
10061 * gdb.cell/gcore.exp
10062 * gdb.cell/mem-access.exp
10063 * gdb.cell/ptype.exp
10064 * gdb.cell/registers.exp
10065 * gdb.cell/sizeof.exp
10066 * gdb.cell/solib-symbol.exp
10067 * gdb.cell/solib.exp
10068 * gdb.compile/compile-tls.exp
10069 * gdb.cp/exception.exp
10070 * gdb.cp/gdb2495.exp
10071 * gdb.cp/local.exp
10072 * gdb.cp/mb-inline.exp
10073 * gdb.cp/mb-templates.exp
10074 * gdb.cp/pr10687.exp
10075 * gdb.cp/pr9167.exp
10076 * gdb.cp/scope-err.exp
10077 * gdb.cp/templates.exp
10078 * gdb.cp/virtfunc.exp
10079 * gdb.dwarf2/dw2-dir-file-name.exp
10080 * gdb.dwarf2/dw2-single-line-discriminators.exp
10081 * gdb.fortran/complex.exp
10082 * gdb.fortran/library-module.exp
10083 * gdb.guile/guile.exp
10084 * gdb.guile/scm-cmd.exp
10085 * gdb.guile/scm-frame-inline.exp
10086 * gdb.guile/scm-objfile.exp
10087 * gdb.guile/scm-pretty-print.exp
10088 * gdb.guile/scm-symbol.exp
10089 * gdb.guile/scm-type.exp
10090 * gdb.guile/scm-value.exp
10091 * gdb.linespec/keywords.exp
10092 * gdb.linespec/ls-errs.exp
10093 * gdb.linespec/macro-relative.exp
10094 * gdb.linespec/thread.exp
10095 * gdb.mi/mi-breakpoint-changed.exp
10096 * gdb.mi/mi-dprintf-pending.exp
10097 * gdb.mi/mi-fullname-deleted.exp
10098 * gdb.mi/mi-logging.exp
10099 * gdb.mi/mi-pending.exp
10100 * gdb.mi/mi-solib.exp
10101 * gdb.mi/new-ui-mi-sync.exp
10102 * gdb.mi/user-selected-context-sync.exp
10103 * gdb.multi/dummy-frame-restore.exp
10104 * gdb.multi/multi-arch-exec.exp
10105 * gdb.multi/remove-inferiors.exp
10106 * gdb.multi/watchpoint-multi-exit.exp
10107 * gdb.opt/solib-intra-step.exp
10108 * gdb.perf/backtrace.exp
10109 * gdb.perf/single-step.exp
10110 * gdb.perf/skip-command.exp
10111 * gdb.perf/skip-prologue.exp
10112 * gdb.perf/solib.exp
10113 * gdb.python/lib-types.exp
10114 * gdb.python/py-as-string.exp
10115 * gdb.python/py-bad-printers.exp
10116 * gdb.python/py-block.exp
10117 * gdb.python/py-breakpoint.exp
10118 * gdb.python/py-cmd.exp
10119 * gdb.python/py-events.exp
10120 * gdb.python/py-evthreads.exp
10121 * gdb.python/py-finish-breakpoint.exp
10122 * gdb.python/py-finish-breakpoint2.exp
10123 * gdb.python/py-frame-inline.exp
10124 * gdb.python/py-frame.exp
10125 * gdb.python/py-inferior.exp
10126 * gdb.python/py-infthread.exp
10127 * gdb.python/py-mi.exp
10128 * gdb.python/py-objfile.exp
10129 * gdb.python/py-pp-maint.exp
10130 * gdb.python/py-pp-registration.exp
10131 * gdb.python/py-prettyprint.exp
10132 * gdb.python/py-recurse-unwind.exp
10133 * gdb.python/py-shared.exp
10134 * gdb.python/py-symbol.exp
10135 * gdb.python/py-symtab.exp
10136 * gdb.python/py-template.exp
10137 * gdb.python/py-type.exp
10138 * gdb.python/py-unwind-maint.exp
10139 * gdb.python/py-unwind.exp
10140 * gdb.python/py-value.exp
10141 * gdb.python/python.exp
10142 * gdb.reverse/finish-reverse-bkpt.exp
10143 * gdb.reverse/insn-reverse.exp
10144 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10145 * gdb.reverse/solib-precsave.exp
10146 * gdb.reverse/solib-reverse.exp
10147 * gdb.stabs/gdb11479.exp
10148 * gdb.stabs/weird.exp
10149 * gdb.threads/fork-child-threads.exp
10150 * gdb.threads/fork-plus-threads.exp
10151 * gdb.threads/fork-thread-pending.exp
10152 * gdb.threads/forking-threads-plus-breakpoint.exp
10153 * gdb.threads/hand-call-in-threads.exp
10154 * gdb.threads/interrupted-hand-call.exp
10155 * gdb.threads/linux-dp.exp
10156 * gdb.threads/local-watch-wrong-thread.exp
10157 * gdb.threads/next-while-other-thread-longjmps.exp
10158 * gdb.threads/non-ldr-exit.exp
10159 * gdb.threads/pending-step.exp
10160 * gdb.threads/print-threads.exp
10161 * gdb.threads/process-dies-while-detaching.exp
10162 * gdb.threads/process-dies-while-handling-bp.exp
10163 * gdb.threads/pthreads.exp
10164 * gdb.threads/queue-signal.exp
10165 * gdb.threads/reconnect-signal.exp
10166 * gdb.threads/signal-command-handle-nopass.exp
10167 * gdb.threads/signal-command-multiple-signals-pending.exp
10168 * gdb.threads/signal-delivered-right-thread.exp
10169 * gdb.threads/signal-sigtrap.exp
10170 * gdb.threads/sigthread.exp
10171 * gdb.threads/staticthreads.exp
10172 * gdb.threads/stepi-random-signal.exp
10173 * gdb.threads/thread-unwindonsignal.exp
10174 * gdb.threads/thread_check.exp
10175 * gdb.threads/thread_events.exp
10176 * gdb.threads/tid-reuse.exp
10177 * gdb.threads/tls-nodebug.exp
10178 * gdb.threads/tls-shared.exp
10179 * gdb.threads/tls-so_extern.exp
10180 * gdb.threads/tls.exp
10181 * gdb.threads/wp-replication.exp
10182 * gdb.trace/actions-changed.exp
10183 * gdb.trace/actions.exp
10184 * gdb.trace/backtrace.exp
10185 * gdb.trace/change-loc.exp
10186 * gdb.trace/collection.exp
10187 * gdb.trace/deltrace.exp
10188 * gdb.trace/disconnected-tracing.exp
10189 * gdb.trace/entry-values.exp
10190 * gdb.trace/ftrace-lock.exp
10191 * gdb.trace/ftrace.exp
10192 * gdb.trace/infotrace.exp
10193 * gdb.trace/mi-trace-frame-collected.exp
10194 * gdb.trace/mi-trace-unavailable.exp
10195 * gdb.trace/mi-traceframe-changed.exp
10196 * gdb.trace/mi-tracepoint-changed.exp
10197 * gdb.trace/mi-tsv-changed.exp
10198 * gdb.trace/no-attach-trace.exp
10199 * gdb.trace/packetlen.exp
10200 * gdb.trace/passc-dyn.exp
10201 * gdb.trace/passcount.exp
10202 * gdb.trace/pending.exp
10203 * gdb.trace/pr16508.exp
10204 * gdb.trace/qtro.exp
10205 * gdb.trace/range-stepping.exp
10206 * gdb.trace/read-memory.exp
10207 * gdb.trace/report.exp
10208 * gdb.trace/save-trace.exp
10209 * gdb.trace/signal.exp
10210 * gdb.trace/stap-trace.exp
10211 * gdb.trace/status-stop.exp
10212 * gdb.trace/strace.exp
10213 * gdb.trace/tfile.exp
10214 * gdb.trace/tfind.exp
10215 * gdb.trace/trace-break.exp
10216 * gdb.trace/trace-condition.exp
10217 * gdb.trace/trace-enable-disable.exp
10218 * gdb.trace/trace-mt.exp
10219 * gdb.trace/tracecmd.exp
10220 * gdb.trace/tracefile-pseudo-reg.exp
10221 * gdb.trace/tspeed.exp
10222 * gdb.trace/tstatus.exp
10223 * gdb.trace/tsv.exp
10224 * gdb.trace/unavailable.exp
10225 * gdb.trace/while-dyn.exp
10226 * gdb.trace/while-stepping.exp
10227 * lib/gdb-guile.exp
10228 * lib/gdb.exp
10229 * lib/mi-support.exp
10230 * lib/pascal.exp
10231 * lib/perftest.exp
10232 * lib/prelink-support.exp
10233 * lib/selftest-support.exp
10234
10235 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
10236
10237 * Makefile.in: Include disable-implicit-rules.mk.
10238
10239 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10240
10241 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
10242 non-byte-aligned bit fields.
10243
10244 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10245
10246 PR gdb/12616
10247 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
10248 respects the DW_AT_data_bit_offset attribute.
10249
10250 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
10251
10252 * gdb.base/default.exp: Fix output of "set language".
10253
10254 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
10255
10256 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
10257 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
10258 make.
10259 * configure.ac: Remove checks for the make program.
10260 * configure: Re-generate.
10261
10262 2016-11-16 Kevin Buettner <kevinb@redhat.com>
10263
10264 * gdb.python/py-recurse-unwind.c (main): Add loop.
10265 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
10266 to read_register() and gdb.parse_and_eval(). Make each code
10267 call a separate case that can be individually tested.
10268 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
10269 proc. Call cont_and_backtrace for each of the code paths that
10270 we want to test in the unwinder.
10271
10272 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
10273
10274 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
10275 the definition of struct S.
10276
10277 2016-11-11 Catherine Moore <clm@codesourcery.com>
10278
10279 * gdb.base/dump.exp: Identify verilog format dump tests as such.
10280
10281 2016-11-09 Pedro Alves <palves@redhat.com>
10282
10283 * gdb.base/commands.exp (runto_or_return): New procedure.
10284 (gdbvar_simple_if_test, gdbvar_simple_while_test)
10285 (gdbvar_complex_if_while_test, progvar_simple_if_test)
10286 (progvar_simple_while_test, progvar_complex_if_while_test)
10287 (if_while_breakpoint_command_test)
10288 (infrun_breakpoint_command_test, breakpoint_command_test)
10289 (user_defined_command_test, watchpoint_command_test)
10290 (test_command_prompt_position, redefine_hook_test)
10291 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
10292 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
10293 multi_line_input and multi_line. Remove gdb_expect and
10294 gdb_stop_suppressing_tests uses.
10295 * lib/gdb.exp (valnum_re): New global.
10296 (multi_line_input): New procedure.
10297
10298 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
10299
10300 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
10301 Remove.
10302 (test_setup): Define with proc_with_prefix.
10303 (test_cli_inferior): Likewise.
10304 (test_cli_thread): Likewise.
10305 (test_cli_frame): Likewise.
10306 (test_cli_select_frame): Likewise.
10307 (test_cli_up_down): Likewise.
10308 (test_mi_thread_select): Likewise.
10309 (test_mi_stack_select_frame): Likewise.
10310 (test_cli_in_mi_inferior): Likewise.
10311 (test_cli_in_mi_thread): Likewise.
10312 (test_cli_in_mi_frame): Likewise.
10313 (top level): Do not use with_test_prefix_procname.
10314
10315 2016-11-09 Pedro Alves <palves@redhat.com>
10316
10317 * gdb.base/commands.exp (gdbvar_simple_if_test)
10318 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
10319 (progvar_simple_if_test, progvar_simple_while_test)
10320 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
10321 (infrun_breakpoint_command_test, breakpoint_command_test)
10322 (user_defined_command_test, watchpoint_command_test)
10323 (test_command_prompt_position, deprecated_command_test)
10324 (bp_deleted_in_command, temporary_breakpoint_commands)
10325 (stray_arg0_test, source_file_with_indented_comment)
10326 (recursive_source_test, if_commands_test)
10327 (error_clears_commands_left, redefine_hook_test)
10328 (redefine_backtrace_test): Use proc_with_prefix.
10329 * lib/gdb.exp (proc_with_prefix): New proc.
10330
10331 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10332
10333 * gdb.base/tui-layout.c: New file.
10334 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
10335 disassembly window contains very long lines.
10336
10337 2016-11-08 Tom Tromey <tom@tromey.com>
10338
10339 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10340 depend on Python 2.
10341
10342 2016-11-08 Tom Tromey <tom@tromey.com>
10343
10344 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
10345 New method.
10346
10347 2016-10-29 Manish Goregaokar <manish@mozilla.com>
10348
10349 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
10350
10351 2016-10-27 Manish Goregaokar <manish@mozilla.com>
10352
10353 * gdb.rust/simple.rs: Add test for univariant enums without
10354 discriminants and for encoded struct-like enums.
10355
10356 2016-10-28 Pedro Alves <palves@redhat.com>
10357
10358 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
10359 gdb_test_multiple, tighten regexps and match symtabs and line
10360 tables incrementally.
10361
10362 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
10363
10364 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
10365 general.
10366
10367 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
10368
10369 * gdb.base/exec-invalid-sysroot.exp: New file.
10370
10371 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10372
10373 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
10374
10375 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10376
10377 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
10378
10379 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
10380
10381 * gdb.base/killed-outside.exp: Remove $options from a call to
10382 `prepare_for_testing'.
10383
10384 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10385
10386 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10387 Change test message.
10388
10389 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10390
10391 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10392 Update comment.
10393
10394 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10395
10396 * gdb.trace/mi-trace-save.exp: New file.
10397
10398 2016-10-13 Yao Qi <yao.qi@linaro.org>
10399
10400 * gdb.base/code_elim.exp (get_var_address): Remove.
10401 * gdb.base/relocate.exp: Likewise.
10402 * gdb.base/shreloc.exp: Likewise.
10403 * lib/gdb.exp (get_var_address): New.
10404
10405 2016-10-13 Yao Qi <yao.qi@linaro.org>
10406
10407 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
10408 floating point tests if $skip_float_test is false.
10409
10410 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
10411
10412 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
10413 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
10414 argc values.
10415 Add 1 to argc so we guarantee distinct initial/modified argc values.
10416
10417 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10418
10419 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
10420
10421 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10422
10423 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
10424 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
10425 * gdb.arch/vsx-regs.exp: Likewise.
10426
10427 2016-10-07 Yao Qi <yao.qi@linaro.org>
10428
10429 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
10430
10431 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
10432
10433 * gdb.python/python.exp: Test decode_line("*0").
10434
10435 2016-10-06 Doug Evans <dje@google.com>
10436
10437 * gdb.python/py-value.exp (test_value_creation): Add test for large
10438 unsigned 64-bit value.
10439
10440 2016-10-06 Tom Tromey <tom@tromey.com>
10441
10442 * gdb.compile/compile.exp: Change java tests to rust.
10443 * gdb.base/setshow.exp: Change java tests to rust.
10444 * gdb.base/default.exp: Remove java from language list.
10445 * README (Examples): Update language example.
10446 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
10447 test.
10448 * lib/gdb.exp (skip_java_tests): Remove.
10449 * lib/java.exp: Remove.
10450 * gdb.java: Remove.
10451
10452 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10453
10454 * gdb.arch/mips-fcr.exp: New test.
10455 * gdb.arch/mips-fcr.c: Source for the new test.
10456
10457 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10458
10459 * gdb.base/solib-disc.exp: Use `standard_output_file'
10460 throughout.
10461
10462 2016-10-06 Pedro Alves <palves@redhat.com>
10463
10464 * gdb.base/jit-simple-dl.c: New file.
10465 * gdb.base/jit-simple-jit.c: New file, factored out from ...
10466 * gdb.base/jit-simple.c: ... this.
10467 * gdb.base/jit-simple.exp (jit_run): Delete.
10468 (build_jit): New proc.
10469 (jit_test_reread): Recompile either the main program or the shared
10470 library, depending on what is being tested. Skip changing address
10471 if caller wants to. Compare before/after addresses. If testing
10472 standalone, explicitly load the binary. Test "maint info
10473 breakpoints".
10474 (top level): Add "standalone vs shared lib" and "change address"
10475 vs "same address" axes.
10476
10477 2016-10-06 Pedro Alves <palves@redhat.com>
10478
10479 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
10480 call.
10481 (jit_run): Delete.
10482 (jit_test_reread): Use with_test_prefix. Reload the main binary
10483 explicitly. Compare the before/after addresses of the JIT
10484 descriptor.
10485
10486 2016-08-15 Doug Evans <dje@google.com>
10487
10488 * gdb.xml/extra-regs.xml: Update, end field now required, default type
10489 for single bitfields is bool.
10490 * gdb.xml/tdesc-regs.exp: Ditto.
10491
10492 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10493
10494 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10495
10496 2016-10-05 Yao Qi <yao.qi@linaro.org>
10497
10498 * lib/gdb.exp (support_complex_tests): Return zero if
10499 gdb_skip_float_test return true.
10500
10501 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10502 Simon Marchi <simon.marchi@ericsson.com>
10503
10504 PR gdb/20487
10505 * gdb.mi/user-selected-context-sync.exp: New file.
10506 * gdb.mi/user-selected-context-sync.c: New file.
10507
10508 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10509 Simon Marchi <simon.marchi@ericsson.com>
10510
10511 PR gdb/20487
10512 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10513 =thread-select-event check.
10514
10515 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10516
10517 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10518 the compulsory L operand changes.
10519 * gdb.arch/powerpc-power.s: Likewise.
10520
10521 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10522
10523 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10524 * gdb.base/jit-attach-pie.c: New file.
10525 * gdb.base/jit-attach-pie.exp: New file.
10526
10527 2016-09-28 Pedro Alves <palves@redhat.com>
10528
10529 * gdb.base/infcall-input.c: New file.
10530 * gdb.base/infcall-input.exp: New file.
10531
10532 2016-09-22 Yao Qi <yao.qi@linaro.org>
10533
10534 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10535 (gdb_exit): Rename it to ...
10536 (gdbserver_gdb_exit): ... Close GDBserver.
10537 (gdb_exit): New proc, call gdbserver_gdb_exit.
10538 (mi_gdb_exit): Likewise.
10539
10540 2016-09-22 Yao Qi <yao.qi@linaro.org>
10541
10542 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10543 path.
10544 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10545 Remove duplication.
10546
10547 2016-09-22 Yao Qi <yao.qi@linaro.org>
10548
10549 * lib/gdbserver-support.exp: Check the existence of
10550 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10551
10552 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10553
10554 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10555
10556 2016-09-21 Tom Tromey <tom@tromey.com>
10557
10558 PR gdb/20604:
10559 * gdb.base/quit.exp: New file.
10560
10561 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10562
10563 * .gitignore: New file.
10564
10565 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10566
10567 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10568 throughout.
10569
10570 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10571
10572 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10573
10574 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10575
10576 * gdb.cp/casts.cc (decltype): Move it ...
10577 (main): ... with its call to ...
10578 * gdb.cp/casts03.cc: ... a new file.
10579 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10580
10581 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10582
10583 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10584
10585 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10586
10587 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10588 and sync up the test with tests in gas/testsuite/gas/ppc.
10589 * gdb.arch/powerpc-power.exp: Likewise.
10590
10591 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10592
10593 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10594
10595 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10596 Jan Kratochvil <jan.kratochvil@redhat.com>
10597
10598 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10599 make m1's definition to be different from m2's. Use 'dummy' as an
10600 argument for probe 'two'.
10601
10602 2016-09-10 Jon Beniston <jon@beniston.com>
10603
10604 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10605 for sim target.
10606
10607 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10608
10609 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10610 variable declaration.
10611 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10612 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10613 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10614 received HWCAP as its argument.
10615
10616 2016-09-06 Pedro Alves <palves@redhat.com>
10617
10618 * gdb.base/new-ui-pending-input.c: New file.
10619 * gdb.base/new-ui-pending-input.exp: New file.
10620 * gdb.exp (clear_gdb_spawn_id): New procedure.
10621 (with_spawn_id): Check whether gdb_spawn_id exists before
10622 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10623 on exit.
10624
10625 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10626
10627 * gdb.base/float128.c: New file.
10628 * gdb.base/float128.exp: Likewise.
10629 * gdb.base/floatn.c: Likewise.
10630 * gdb.base/floatn.exp: Likewise.
10631
10632 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10633
10634 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10635
10636 2016-09-05 Pedro Alves <palves@redhat.com>
10637
10638 PR backtrace/19927
10639 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10640 unwinders are immediately called as side effect of "source" or
10641 "disable unwinder" commands.
10642 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10643
10644 2016-09-02 Yao Qi <yao.qi@linaro.org>
10645
10646 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10647 is true and $type is "float" or "double".
10648
10649 2016-09-02 Yao Qi <yao.qi@linaro.org>
10650
10651 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10652 true.
10653 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10654 * gdb.base/call-rt-st.exp: Likewise.
10655 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10656 return value instead of gdb,skip_float_test.
10657 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10658 (do_function_calls): Use its return value instead of
10659 gdb,skip_float_test.
10660 * gdb.base/finish.exp: Likewise.
10661 * gdb.base/funcargs.exp: Likewise.
10662 * gdb.base/return.exp: Likewise.
10663 * gdb.base/return2.exp: Likewise.
10664 * gdb.base/varargs.exp: Likewise.
10665 * lib/gdb.exp (gdb_skip_float_test): Change it to
10666 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10667
10668 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10669
10670 * gdb.multi/tids.exp: Test "thread apply all".
10671
10672 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10673
10674 * gdb.base/default.exp (tty): Remove.
10675
10676 2016-08-24 Kevin Buettner <kevinb@redhat.com>
10677
10678 * gdb.python/py-recurse-unwind.c: New file.
10679 * gdb.python/py-recurse-unwind.py: New file.
10680 * gdb.python/py-recurse-unwind.exp: New file.
10681
10682 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10683
10684 * gdb.base/set-inferior-tty.exp: New file.
10685 * gdb.base/set-inferior-tty.c: New file.
10686
10687 2016-08-23 Pedro Alves <palves@redhat.com>
10688
10689 PR gdb/20494
10690 * gdb.base/new-ui-echo.c: New file.
10691 * gdb.base/new-ui-echo.exp: New file.
10692
10693 2016-08-23 Yao Qi <yao.qi@linaro.org>
10694
10695 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10696 gdbserver_spawn.
10697 * gdb.server/connect-without-multi-process.exp (do_test):
10698 Likewise.
10699
10700 2016-08-23 Yao Qi <yao.qi@linaro.org>
10701
10702 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10703 standalone_txt. Delete gdb_txt and standalone_txt on host
10704 and target. Spawn the binary on target. Copy files from
10705 target to host.
10706
10707 2016-08-22 Pedro Alves <palves@redhat.com>
10708
10709 PR gdb/20505
10710 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10711 with_test_prefix. Factor out bits to ...
10712 (test_no_vdso): ... this new procedure.
10713
10714 2016-08-19 Carl Love <cel@us.ibm.com>
10715
10716 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10717 maintaining separate logic for constructing the output path.
10718 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10719 * gdb.arch/ppc-dfp.exp: Likewise.
10720 * gdb.arch/ppc-fp.exp: Likewise.
10721 * gdb.arch/vsx-regs.exp: Likewise.
10722 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10723 binprefix for generating the additional binary files.
10724
10725 2016-08-19 Pedro Alves <palves@redhat.com>
10726
10727 * gdb.trace/mi-trace-frame-collected.exp
10728 (test_trace_frame_collected): On x32, expect two registers.
10729
10730 2016-08-18 Carl Love <cel@us.ibm.com>
10731
10732 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10733 and sync up the test with tests in gas/testsuite/gas/ppc.
10734 * gdb.arch/powerpc-power.exp: Likewise.
10735
10736 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10737
10738 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10739 expected error message.
10740
10741 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10742
10743 * gdb.multi/remove-inferiors.exp: New file.
10744 * gdb.multi/remove-inferiors.c: New file.
10745
10746 2016-08-12 Yao Qi <yao.qi@linaro.org>
10747
10748 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10749 argument list.
10750
10751 2016-08-10 Pedro Alves <palves@redhat.com>
10752
10753 PR gdb/19187
10754 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10755 setup_kfails.
10756
10757 2016-08-09 Pedro Alves <palves@redhat.com>
10758 Simon Marchi <simon.marchi@ericsson.com>
10759
10760 PR gdb/20418
10761 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10762 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10763
10764 2016-08-09 Pedro Alves <palves@redhat.com>
10765
10766 PR mi/20431
10767 * gdb.mi/mi-cmd-error.exp: New file.
10768
10769 2016-08-09 Pedro Alves <palves@redhat.com>
10770
10771 PR gdb/18653
10772 * gdb.base/signals-state-child.c: New file.
10773 * gdb.base/signals-state-child.exp: New file.
10774 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10775
10776 2016-08-09 Pedro Alves <palves@redhat.com>
10777
10778 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10779
10780 2016-08-03 Tom Tromey <tom@tromey.com>
10781
10782 PR python/18565:
10783 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10784
10785 2016-08-01 Yao Qi <yao.qi@linaro.org>
10786
10787 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10788 variable mode to "multi-process" if $multi_process is 1, otherwise
10789 set it to "single-process".
10790
10791 2016-08-01 Yao Qi <yao.qi@linaro.org>
10792
10793 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10794 * gdb.cp/cpexprs.exp: Likewise.
10795 * gdb.cp/m-static.exp: Likewise.
10796
10797 2016-07-26 Tom Tromey <tom@tromey.com>
10798
10799 PR python/20190:
10800 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10801 test.
10802
10803 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10804
10805 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10806 selecting assembly source files.
10807 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10808 assembly source files.
10809 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10810 assembly source files.
10811 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10812 selecting assembly source files.
10813
10814 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10815
10816 * gdb.base/new-ui.exp (do_test_invalid_args): New
10817 procedure.
10818
10819 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10820
10821 * gdb.btrace/reconnect.c: New file.
10822 * gdb.btrace/reconnect.exp: New file.
10823
10824 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10825
10826 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10827 to test_catch_syscall_group.
10828 (test_catch_syscall_group): New.
10829
10830 2016-07-21 Tom Tromey <tom@tromey.com>
10831
10832 * gdb.rust/simple.rs (main): Use empty struct expression.
10833 * gdb.rust/simple.exp: Add tests for empty struct expression.
10834
10835 2016-07-21 Yao Qi <yao.qi@linaro.org>
10836
10837 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10838 if gdb_skip_xml_test is true on some targets.
10839
10840 2016-07-21 Yao Qi <yao.qi@linaro.org>
10841
10842 * gdb.server/solib-list.exp: Unset last_loaded_file.
10843
10844 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10845
10846 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10847 "step into captured_main (args)".
10848
10849 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10850
10851 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10852
10853 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10854
10855 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10856
10857 2016-07-19 Pedro Alves <palves@redhat.com>
10858
10859 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10860 * gdb.opt/inline-bt.exp: Likewise.
10861 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10862 additional_flags=-Winline.
10863 * gdb.opt/inline-locals.exp: Likewise.
10864 * gdb.opt/inline-markers.c (ATTR): Define.
10865 (inlined_fn): Use it.
10866
10867 2016-07-19 Yao Qi <yao.qi@linaro.org>
10868
10869 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10870 (test_with_self): Remove some code. Remove argument executable.
10871 (top-level): Use do_self_tests.
10872
10873 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
10874 Don Breazeal <donb@codesourcery.com>
10875
10876 * gdb.base/maint.exp: Escape paths used in regular expressions.
10877 * gdb.stabs/weird.exp: Likewise.
10878
10879 2016-07-13 Tom Tromey <tom@tromey.com>
10880
10881 PR python/15620, PR python/18620:
10882 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10883 (test_bkpt_events): New procs.
10884
10885 2016-07-13 Tom Tromey <tom@tromey.com>
10886
10887 PR python/17698:
10888 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10889 test.
10890 (test_watchpoints): Likewise.
10891 (test_bkpt_pending): New proc.
10892
10893 2016-07-13 Tom Tromey <tom@tromey.com>
10894
10895 PR cli/18053:
10896 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10897 completion test.
10898
10899 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10900
10901 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10902 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10903 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10904 f_label.
10905 (g): Rename g_end_lbl to g_label.
10906 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10907 low_pc and high_pc.
10908 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10909
10910 2016-07-12 Tom Tromey <tom@tromey.com>
10911
10912 PR python/19293:
10913 * gdb.python/py-unwind-maint.exp: Update tests.
10914
10915 2016-07-12 Yao Qi <yao.qi@linaro.org>
10916
10917 * lib/selftest-support.exp (selftest_setup): Match the output
10918 when captured_main is inlined.
10919
10920 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10921
10922 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10923 New variables.
10924 (print this%a, print this%b, print this): New tests.
10925 * gdb.fortran/derived-types.f90 (this): New object and
10926 initialization.
10927
10928 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10929
10930 * gdb.ada/arraydim.exp: Remove extra directory level in build
10931 directory.
10932
10933 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10934
10935 * lib/ada.exp: Remove extra directory level in build directory.
10936 * gdb.ada/cond_lang.exp: Likewise.
10937 * gdb.ada/exec_changed.exp: Likewise.
10938 * gdb.ada/lang_switch.exp: Likewise.
10939
10940 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10941
10942 * simple.rs: Add test for raw pointer subscripting.
10943 * simple.exp: Add test expectations.
10944
10945 2016-07-05 Yao Qi <yao.qi@linaro.org>
10946
10947 * gdb.mi/mi-reverse.exp: Match =record-started output.
10948
10949 2016-07-01 Pedro Alves <palves@redhat.com>
10950
10951 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10952 procedure.
10953 (jit_reader_test): Test the jit reader's unwinder.
10954 * gdb.base/jithost.c (jit_function_00_code): New global.
10955 (main): Use memcpy to fill in the mmapped code, instead of poking
10956 bytes manually here.
10957 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10958 value.
10959 (read_debug_info): Save the function's range.
10960 (read_sp): New function.
10961 (unwind_frame): Use it. Also unwind RBP.
10962 (get_frame_id): Use read_sp.
10963 (gdb_init_reader): Use calloc instead of malloc.
10964 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10965 parameter. Use gdb_test_multiple.
10966
10967 2016-07-01 Pedro Alves <palves@redhat.com>
10968 Antoine Tremblay <antoine.tremblay@ericsson.com>
10969
10970 * gdb.threads/process-dies-while-detaching.c: New file.
10971 * gdb.threads/process-dies-while-detaching.exp: New file.
10972
10973 2016-07-01 Pedro Alves <palves@redhat.com>
10974
10975 * gdb.multi/watchpoint-multi-exit.c: New file.
10976 * gdb.multi/watchpoint-multi-exit.exp: New file.
10977
10978 2016-06-30 Pedro Alves <palves@redhat.com>
10979
10980 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10981 unset inferior_spawn_id.
10982
10983 2016-06-30 Pedro Alves <palves@redhat.com>
10984
10985 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10986 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10987
10988 2016-06-29 Yao Qi <yao.qi@linaro.org>
10989
10990 * gdb.base/return.c: Add copyright header.
10991
10992 2016-06-29 Tom Tromey <tom@tromey.com>
10993
10994 PR python/20129:
10995 * gdb.python/py-framefilter.exp: Add tests for setting priority
10996 and disabling of non-existent frame filter.
10997
10998 2016-06-29 Yao Qi <yao.qi@linaro.org>
10999
11000 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11001 0x0f07ff.
11002
11003 2016-06-28 Yao Qi <yao.qi@linaro.org>
11004
11005 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11006 triplets. Start gdb, execute catch syscall, and continue. Check
11007 gdb's output to determine catch syscall is supported.
11008
11009 2016-06-27 Manish Goregaokar <manish@mozilla.com>
11010
11011 * gdb.rust/simple.rs: Add test for returning unit in a function.
11012 * gdb.rust/simple.exp: Add expectation for functions returning
11013 unit.
11014
11015 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11016
11017 * gdb.python/py-breakpoint-create-fail.c,
11018 gdb.python/py-breakpoint-create-fail.exp,
11019 gdb.python/py-breakpoint-create-fail.py: New testcase.
11020
11021 2016-06-25 Manish Goregaokar <manish@mozilla.com>
11022
11023 PR gdb/20239
11024 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
11025 * gdb.rust/simple.exp: Add test expectations for new NonZero
11026 tests.
11027
11028 2016-06-24 David Taylor <dtaylor@emc.com>
11029
11030 * gdb.base/offsets.exp: New file.
11031 * gdb.base/offsets.c: New file.
11032
11033 2016-06-23 Tom Tromey <tom@tromey.com>
11034
11035 PR gdb/16483:
11036 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11037 before any filters are loaded.
11038
11039 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11040
11041 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11042 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11043 structs.
11044 * gdb.fortran/derived-type-function.exp: New file.
11045 * gdb.fortran/derived-type-function.f90: New file.
11046
11047
11048 2016-06-21 Pedro Alves <palves@redhat.com>
11049
11050 * gdb.base/new-ui.exp: New file.
11051 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11052 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11053 (with_spawn_id): New procedure.
11054
11055 2016-06-21 Pedro Alves <palves@redhat.com>
11056
11057 * gdb.mi/mi-exec-run.exp: New file.
11058
11059 2016-06-21 Pedro Alves <palves@redhat.com>
11060
11061 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11062 breakpoint command's output on the main UI.
11063 (test_break): New procedure, factored out from calls in the top
11064 level.
11065 (top level): Use foreach_with_prefix to test MI as main UI and as
11066 separate UI.
11067
11068 2016-06-21 Pedro Alves <palves@redhat.com>
11069
11070 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11071 (test_awatch_creation_and_listing)
11072 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11073 Remove 'type' parameter.
11074 (test_watchpoint_all): New parameter mi_mode. Remove
11075 with_test_prefix.
11076 (top level): Use foreach_with_prefix, and add main/separate UI MI
11077 testing axis.
11078
11079 2016-06-21 Pedro Alves <palves@redhat.com>
11080
11081 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11082 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11083 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11084 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11085 (gdb_main_spawn_id, mi_spawn_id): Declare and
11086 comment.
11087 (mi_create_inferior_pty): New procedure,
11088 factored out from default_mi_gdb_start.
11089 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11090 procedures.
11091 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11092 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11093 Use mi_create_inferior_pty.
11094 (mi_gdb_start): Use eval to pass down args list.
11095
11096 2016-06-21 Pedro Alves <palves@redhat.com>
11097
11098 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11099 * gdb.opt/inline-cmds.exp: Add MI tests.
11100
11101 2016-06-21 Pedro Alves <palves@redhat.com>
11102
11103 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11104
11105 2016-06-21 Pedro Alves <palves@redhat.com>
11106
11107 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11108 (top level): Use it instead of mi_execute_to.
11109
11110 2016-06-21 Pedro Alves <palves@redhat.com>
11111
11112 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11113 (cont_handler_str): New.
11114 (signal_stop_handler): Set stop_handler_str instead of printing to
11115 stdout.
11116 (continue_handler): Set cont_handler_str instead of printing to
11117 stdout.
11118 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11119 mi_send_resuming_command. Print stop_handler_str and
11120 cont_handler_str instead of expecting the python events print
11121 directly.
11122
11123 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11124
11125 * gdb.base/jit-reader.exp: New file.
11126 * gdb.base/jithost.c: New file.
11127 * gdb.base/jithost.h: New file.
11128 * gdb.base/jitreader.c : New file.
11129 * gdb.base/jit-protocol.h: New file.
11130
11131 2016-06-17 Yao Qi <yao.qi@linaro.org>
11132
11133 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11134 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11135 and detach-on-fork. Adjust tests.
11136 (top level): Invoke break_cond_on_syscall with combinations of
11137 syscall, follow-fork-mode and detach-on-fork.
11138
11139 2016-06-17 Yao Qi <yao.qi@linaro.org>
11140
11141 * gdb.base/step-over-exit.c: New.
11142 * gdb.base/step-over-exit.exp: New.
11143
11144 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11145
11146 * gdb.base/float.exp: Add target check for nds32*-*-*.
11147 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11148
11149 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11150
11151 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11152 for unsupported target features.
11153 * gdb.base/call-rt-st.exp: Likewise.
11154 * gdb.base/call-sc.exp: Likewise.
11155 * gdb.base/call-signal-resume.exp: Likewise.
11156 * gdb.base/call-strs.exp: Likewise.
11157 * gdb.base/callexit.exp: Likewise.
11158 * gdb.base/callfuncs.exp: Likewise.
11159 * gdb.base/nodebug.exp: Likewise.
11160 * gdb.base/printcmds.exp: Likewise.
11161 * gdb.base/ptype.exp: Likewise.
11162 * gdb.base/structs.exp: Likewise.
11163 * gdb.base/unwindonsignal.exp: Likewise.
11164 * gdb.cp/gdb2495.exp: Likewise.
11165 * gdb.cp/templates.exp: Likewise.
11166 * gdb.cp/virtfunc.exp: Likewise.
11167 * gdb.threads/hand-call-in-threads.exp: Likewise.
11168 * gdb.threads/interrupted-hand-call.exp: Likewise.
11169 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11170
11171 2016-06-10 Tom Tromey <tom@tromey.com>
11172
11173 PR rust/20110:
11174 * gdb.rust/expr.exp: Add test for integer constant larger than
11175 i32.
11176
11177 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11178
11179 * gdb.fortran/nested-funcs.exp: New.
11180 * gdb.fortran/nested-funcs.f90: New.
11181
11182 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11183
11184 * gdb.base/examine-backward.c: New file.
11185 * gdb.base/examine-backward.exp: New file.
11186
11187 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11188
11189 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11190 matching.
11191
11192 2016-06-02 Tom Tromey <tom@tromey.com>
11193
11194 PR python/18984:
11195 * gdb.python/py-shared.exp: Add solib_name test.
11196
11197 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
11198
11199 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
11200
11201 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
11202
11203 PR c++/19893
11204 * gdb.dwarf2/implref.exp: Rename to...
11205 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
11206 * gdb.dwarf2/implref-array.c: New file.
11207 * gdb.dwarf2/implref-array.exp: Likewise.
11208 * gdb.dwarf2/implref-global.c: Likewise.
11209 * gdb.dwarf2/implref-global.exp: Likewise.
11210 * gdb.dwarf2/implref-struct.c: Likewise.
11211 * gdb.dwarf2/implref-struct.exp: Likewise.
11212
11213 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11214
11215 * gdb.trace/trace-condition.exp: Add 64bit tests.
11216
11217 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11218
11219 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
11220 bits types.
11221 (main): Adapt to 8 to 64 bits types.
11222 * gdb.trace/trace-condition.exp: Add new tests.
11223
11224 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11225
11226 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
11227
11228 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11229
11230 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
11231 Move condition tests...
11232 * gdb.trace/trace-condition.exp: Here.
11233
11234 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11235
11236 * gdb.trace/trace-condition.exp: Add counter-case tests.
11237
11238 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11239
11240 PR c++/15231
11241 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
11242 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
11243
11244 2016-05-27 Pedro Alves <palves@redhat.com>
11245
11246 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11247 New procedure.
11248 (top level): Call it, and bail out of DejaGnu is known to be bad.
11249
11250 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
11251
11252 * gdb.base/whatis.c: Extend the test case.
11253 * gdb.base/whatis.exp: Add additional tests.
11254
11255 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11256
11257 * gdb.fortran/type.f90: Add pointer variable.
11258 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
11259
11260 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11261
11262 * gdb.fortran/vla-type.exp: Fix testcase name.
11263
11264 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11265
11266 * gdb.fortran/vla-type.exp: Access elements in nested structs.
11267
11268 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11269
11270 * gdb.fortran/type.f90: Add nested structures.
11271 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
11272 * gdb.fortran/derived-type.exp: Adapt expected output.
11273 * gdb.fortran/vla-type.exp: Adapt expected output.
11274
11275 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11276
11277 * gdb.fortran/whatis_type.exp: Adapt expected output.
11278
11279 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11280
11281 * gdb.fortran/print_type.exp: Fix expected output.
11282 * gdb.fortran/whatis_type.exp: Fix expected output.
11283
11284 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11285
11286 * gdb.fortran/whatis_type.exp: Use multi_line.
11287
11288 2016-05-24 Tom Tromey <tom@tromey.com>
11289
11290 PR python/17386:
11291 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
11292 use value as an index.
11293
11294 2016-05-23 Tom Tromey <tom@tromey.com>
11295
11296 PR python/17981:
11297 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
11298 no-breakpoint case.
11299
11300 2016-05-24 Pedro Alves <palves@redhat.com>
11301
11302 PR gdb/19828
11303 * gdb.threads/clone-attach-detach.c: New file.
11304 * gdb.threads/clone-attach-detach.exp: New file.
11305
11306 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
11307
11308 * gdb.base/annota-input-while-running.exp: Fix syntax error.
11309
11310 2016-05-23 Tom Tromey <tom@tromey.com>
11311
11312 PR python/19438, PR python/18393:
11313 * gdb.python/py-progspace.exp: Add "dir" test.
11314 * gdb.python/py-objfile.exp: Add "dir" test.
11315
11316 2016-05-23 Yao Qi <yao.qi@linaro.org>
11317
11318 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
11319 * gdb.arch/thumb2-it.exp: Likewise.
11320
11321 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
11322
11323 * gdb.mi/mi-threads-interrupt.c: New file.
11324 * gdb.mi/mi-threads-interrupt.exp: New file.
11325
11326 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
11327
11328 PR gdb/18077
11329 * gdb.mi/mi-async-run.exp: New file.
11330 * gdb.mi/mi-async-run.c: New file.
11331
11332 2016-05-17 Tom Tromey <tom@tromey.com>
11333 Manish Goregaokar <manishsmail@gmail.com>
11334
11335 * lib/rust-support.exp: New file.
11336 * lib/gdb.exp (skip_rust_tests): New proc.
11337 (build_executable_from_specs): Handle rust.
11338 * lib/future.exp (gdb_find_rustc): New proc.
11339 (gdb_default_target_compile): Handle rust.
11340 * gdb.rust/expr.exp: New file.
11341 * gdb.rust/generics.exp: New file.
11342 * gdb.rust/generics.rs: New file.
11343 * gdb.rust/methods.exp: New file.
11344 * gdb.rust/methods.rs: New file.
11345 * gdb.rust/modules.exp: New file.
11346 * gdb.rust/modules.rs: New file.
11347 * gdb.rust/simple.exp: New file.
11348 * gdb.rust/simple.rs: New file.
11349
11350 2016-05-17 Tom Tromey <tom@tromey.com>
11351
11352 * gdb.base/default.exp (set language): Add rust.
11353
11354 2016-05-17 Tom Tromey <tom@tromey.com>
11355
11356 * gdb.gdb/unittest.exp: New file.
11357
11358 2016-05-16 Yao Qi <yao.qi@linaro.org>
11359
11360 * gdb.base/batch-preserve-term-settings.exp: Remove variable
11361 shell_prompt. Update shell_prompt_re.
11362
11363 2016-05-12 Doug Evans <dje@google.com>
11364
11365 PR symtab/19999
11366 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
11367 $options when building executable.
11368 * gdb.dwarf2/fission-loclists-pie.S: New file.
11369 * gdb.dwarf2/fission-loclists-pie.exp: New file.
11370
11371 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11372
11373 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
11374 of [is_remote target],
11375
11376 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11377
11378 * lib/gdb.exp (use_gdb_stub): New procedure.
11379
11380 2016-05-03 Yunlian Jiang <yunlian@google.com>
11381 Doug Evans <dje@google.com>
11382
11383 PR symtab/19914
11384 * gdb.dwarf2/dwp-sepdebug.c: New file.
11385 * gdb.dwarf2/dwp-sepdebug.exp: New file.
11386
11387 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11388
11389 * gdb.base/detach.exp: Remove is_remote check.
11390
11391 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11392
11393 * gdb.base/annota-input-while-running.exp: Don't check for
11394 [is_remote target]. Enable annotations after running to main.
11395 Remove unused "set test..." line.
11396
11397 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11398
11399 * gdb.trace/trace-enable-disable.exp: New file.
11400 * gdb.trace/trace-enable-disable.c: New file.
11401
11402 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11403
11404 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
11405 use it in info sharedlibrary test.
11406 * gdb.trace/ftrace-lock.exp: Likewise.
11407 * gdb.trace/ftrace.exp: Likewise.
11408 * gdb.trace/range-stepping.exp: Likewise.
11409 * gdb.trace/trace-break.exp: Likewise.
11410 * gdb.trace/trace-condition.exp: Likewise.
11411 * gdb.trace/trace-mt.exp: Likewise.
11412
11413 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11414
11415 * lib/gdb.exp (gdb_load_shlibs): Rename to...
11416 (gdb_load_shlib): ... this.
11417 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
11418 gdb_load_shlib.
11419 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
11420 * gdb.base/ctxobj.exp: Likewise.
11421 * gdb.base/dprintf-pending.exp: Likewise.
11422 * gdb.base/dso2dso.exp: Likewise.
11423 * gdb.base/fixsection.exp: Likewise.
11424 * gdb.base/gcore-relro.exp: Likewise.
11425 * gdb.base/gdb1555.exp: Likewise.
11426 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11427 * gdb.base/gnu-ifunc.exp: Likewise.
11428 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
11429 * gdb.base/jit-so.exp (one_jit_test): Likewise.
11430 * gdb.base/pending.exp: Likewise.
11431 * gdb.base/print-file-var.exp: Likewise.
11432 * gdb.base/print-symbol-loading.exp: Likewise.
11433 * gdb.base/shlib-call.exp: Likewise.
11434 * gdb.base/shreloc.exp: Likewise.
11435 * gdb.base/so-impl-ld.exp: Likewise.
11436 * gdb.base/solib-disc.exp: Likewise.
11437 * gdb.base/solib-nodir.exp: Likewise.
11438 * gdb.base/solib-overlap.exp: Likewise.
11439 * gdb.base/solib-symbol.exp: Likewise.
11440 * gdb.base/solib-weak.exp (do_test): Likewise.
11441 * gdb.base/sym-file.exp: Likewise.
11442 * gdb.base/symtab-search-order.exp: Likewise.
11443 * gdb.base/type-opaque.exp: Likewise.
11444 * gdb.base/unload.exp: Likewise.
11445 * gdb.base/watchpoint-solib.exp: Likewise.
11446 * gdb.compile/compile.exp: Likewise.
11447 * gdb.cp/gdb2384.exp: Likewise.
11448 * gdb.cp/infcall-dlopen.exp: Likewise.
11449 * gdb.cp/re-set-overloaded.exp: Likewise.
11450 * gdb.fortran/library-module.exp: Likewise.
11451 * gdb.opt/solib-intra-step.exp: Likewise.
11452 * gdb.python/py-finish-breakpoint.exp: Likewise.
11453 * gdb.python/py-shared.exp: Likewise.
11454 * gdb.reverse/solib-precsave.exp: Likewise.
11455 * gdb.reverse/solib-reverse.exp: Likewise.
11456 * gdb.server/solib-list.exp: Likewise.
11457 * gdb.threads/dlopen-libpthread.exp: Likewise.
11458 * gdb.threads/tls-shared.exp: Likewise.
11459 * gdb.threads/tls-so_extern.exp: Likewise.
11460 * gdb.trace/change-loc.exp: Likewise.
11461 * gdb.trace/ftrace-lock.exp: Likewise.
11462 * gdb.trace/ftrace.exp: Likewise.
11463 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
11464 * gdb.trace/pending.exp: Likewise.
11465 * gdb.trace/range-stepping.exp: Likewise.
11466 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
11467 (strace_info_marker): Likewise.
11468 (strace_probe_marker): Likewise.
11469 (strace_trace_on_same_addr): Likewise.
11470 (strace_trace_on_diff_addr): Likewise.
11471 * gdb.trace/trace-break.exp: Likewise.
11472 * gdb.trace/trace-condition.exp: Likewise.
11473 * gdb.trace/trace-mt.exp: Likewise.
11474
11475 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11476
11477 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
11478 result of gdb_remote_download.
11479 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
11480 * gdb.base/dso2dso.exp: Likewise.
11481 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11482 * gdb.base/print-file-var.exp: Likewise.
11483 * gdb.base/shlib-call.exp: Likewise.
11484 * gdb.base/shreloc.exp: Likewise.
11485 * gdb.base/solib-overlap.exp: Likewise.
11486 * gdb.base/solib-weak.exp (do_test): Likewise.
11487 * gdb.base/unload.exp: Likewise.
11488
11489 2016-04-27 Yao Qi <yao.qi@linaro.org>
11490
11491 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
11492 exists.
11493
11494 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11495
11496 * vla-type.exp: Print structure from toplevel.
11497
11498 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11499
11500 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11501 of dynamic types.
11502 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11503 of dynamic types.
11504
11505 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11506
11507 * gdb.fortran/vla-type.f90: New file.
11508 * gdb.fortran/vla-type.exp: New file.
11509
11510 2016-04-25 Yao Qi <yao.qi@linaro.org>
11511
11512 * gdb.base/branch-to-self.c: New file.
11513 * gdb.base/branch-to-self.exp: New file.
11514
11515 2016-04-22 Yao Qi <yao.qi@linaro.org>
11516
11517 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11518 more after $hex.
11519
11520 2016-04-22 Yao Qi <yao.qi@linaro.org>
11521
11522 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11523 * gdb.base/annota3.exp: Likewise.
11524
11525 2016-04-22 Yao Qi <yao.qi@linaro.org>
11526
11527 * gdb.reverse/step-precsave.exp: Do one step and test program
11528 stops in "callee" and do multiple steps until program goes out
11529 of "callee".
11530 * gdb.reverse/step-reverse.exp: Likewise.
11531
11532 2016-04-22 Yao Qi <yao.qi@linaro.org>
11533
11534 * gdb.trace/signal.exp: Also pass if
11535 $tracepoint_hits($i) > $iterations.
11536
11537 2016-04-22 Yao Qi <yao.qi@linaro.org>
11538
11539 * gdb.trace/signal.c: New file.
11540 * gdb.trace/signal.exp: New file.
11541
11542 2016-04-19 Doug Evans <xdje42@gmail.com>
11543
11544 * gdb.base/bad-file.exp: New file.
11545
11546 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11547
11548 * gdb.dwarf2/implref.exp: New file.
11549
11550 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11551
11552 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11553 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11554 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11555 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11556 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11557 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11558 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11559 * lib/fortran.exp (fortran_int4): New procedure.
11560 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11561 (fortran_logical4): Likewise.
11562
11563 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11564
11565 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11566
11567 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11568
11569 * lib/compiler.c: Add Intel specific preprocessor macros.
11570 * lib/compiler.cc: Likewise.
11571
11572 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
11573
11574 * gdb.server/connect-with-no-symbol-file.c: New file.
11575 * gdb.server/connect-with-no-symbol-file.exp: New file.
11576
11577 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11578
11579 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11580
11581 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11582
11583 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11584 standard output directory.
11585
11586 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11587
11588 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11589
11590 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11591
11592 * gdb.btrace/instruction_history.c (loop): Add declaration.
11593
11594 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11595
11596 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11597
11598 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11599
11600 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11601 parentheses to print.
11602 (continue_handler): Likewise.
11603
11604 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11605
11606 * gdb.server/solib-list.exp: Remove is_remote check.
11607 Pass shlib= to gdb_compile. Don't link shared library with
11608 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11609 Run binary filename through "readlink -f" on the target.
11610
11611 2016-04-08 Pedro Alves <palves@redhat.com>
11612
11613 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11614 interpreter filename as argument to gdbserver_spawn.
11615 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11616 Return empty if $last_loaded_file does not exist.
11617
11618 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11619
11620 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11621 * gdb.base/jit-main.c: Use exit after usage.
11622
11623 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11624
11625 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11626 GDBHISTSIZE prior to the tests.
11627 * gdb.base/gdbinit-history.exp: Likewise.
11628
11629 2016-04-07 Pedro Alves <palves@redhat.com>
11630
11631 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11632 instead of build_executable. Use gdb_load_shlibs.
11633
11634 2016-04-07 Yao Qi <yao.qi@linaro.org>
11635
11636 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11637 Execute "si" command.
11638
11639 2016-04-07 Yao Qi <yao.qi@linaro.org>
11640
11641 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11642 number instead of the comments on some line.
11643
11644 2016-04-06 Don Breazeal <donb@codesourcery.com>
11645
11646 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11647 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11648
11649 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11650
11651 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11652 standard_output_file. Remove unused binfile variable.
11653
11654 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
11655
11656 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11657 * gdb.python/py-mi-objfile.exp: Match "list main" output
11658 in console format.
11659
11660 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11661
11662 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11663 absolute.
11664
11665 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11666
11667 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11668 absolute.
11669 * gdb.trace/ftrace.exp: Likewise.
11670 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11671 targets as well.
11672 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11673 (gdb_load_shlibs): Copy libraries to test directory when testing
11674 natively. Only set solib-search-path if testing remotely.
11675 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11676
11677 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11678
11679 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11680 gdb_download. Use it even if the target is not remote.
11681 * gdb.base/jit.exp (compile_jit_test): Likewise.
11682 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11683 output directory if the destination board is local, otherwise use
11684 the standard remote_download from DejaGnu.
11685 (gdb_download): Remove.
11686 (gdb_load_shlibs): Use gdb_remote_download instead of
11687 gdb_download.
11688 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11689 Use gdb_remote_download instead of gdb_download. Use it even if
11690 the target is not remote.
11691 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11692 instead of gdb_download.
11693
11694 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11695
11696 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11697 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11698 run.
11699
11700 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
11701
11702 PR gdb/19820
11703 * gdb.base/printcmds.exp: Add artificial arrays tests.
11704
11705 2016-03-31 Pedro Alves <palves@redhat.com>
11706
11707 PR gdb/19858
11708 * gdb.base/jit-main.c: Include unistd.h.
11709 (ATTACH): Define to 0 if not already defined.
11710 (wait_for_gdb, mypid): New globals.
11711 (WAIT_FOR_GDB): New macro.
11712 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11713 some breakpoint locations.
11714 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11715 New procedures.
11716 (one_jit_test): Add REATTACH parameter, and handle it. Use
11717 continue_to_test_location.
11718 (top level): Test attach, and adjusts calls to one_jit_test.
11719
11720 2016-03-31 Pedro Alves <palves@redhat.com>
11721
11722 PR gdb/19858
11723 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11724 BINSUFFIX parameter, and handle it.
11725 (top level): Adjust calls compile_jit_test.
11726
11727 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
11728
11729 PR python/19743
11730 * gdb.python/py-mi-events-gdb.py: New file.
11731 * gdb.python/py-mi-events.c: New file.
11732 * gdb.python/py-mi-events.exp: New file.
11733
11734 2016-03-30 Yao Qi <yao.qi@linaro.org>
11735
11736 * gdb.reverse/until-precsave.exp: Match function name only.
11737 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11738 Move malloc to a condition block.
11739 * gdb.reverse/until-reverse.exp: Match function name only.
11740
11741 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11742
11743 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11744 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11745 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11746 variable for GPR 0 instead of assuming it is register 0.
11747 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11748 * lib/trace-support.exp: Add s390 registers.
11749
11750 2016-03-29 Yao Qi <yao.qi@linaro.org>
11751
11752 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11753
11754 2016-03-24 Yao Qi <yao.qi@linaro.org>
11755
11756 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11757 test message.
11758
11759 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11760
11761 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11762 maintaining separate logic for constructing the output path.
11763
11764 2016-03-16 Don Breazeal <donb@codesourcery.com>
11765
11766 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11767 Retry fork and waitpid on interrupted system call errors.
11768 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11769 Use with_timeout_factor to increase timeout by factor of 10.
11770
11771 2016-03-15 Don Breazeal <donb@codesourcery.com>
11772
11773 * gdb.cp/scope-err.cc: New test program.
11774 * gdb.cp/scope-err.exp: New test script.
11775 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11776 lines and "set breakpoint here" comment.
11777 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11778 Fixed some whitespace and format issues.
11779 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11780 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11781
11782 2016-03-15 Doug Evans <dje@google.com>
11783
11784 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11785 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11786 All callers updated. Add tests for enums, mixed flags register.
11787
11788 2016-03-15 Doug Evans <dje@google.com>
11789
11790 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11791 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11792
11793 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11794
11795 * gdb.base/default.exp: Add $_as_string to the list of expected
11796 convenience functions.
11797
11798 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11799
11800 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11801
11802 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11803
11804 * gdb.python/py-as-string.exp: New file.
11805 * gdb.python/py-as-string.c: New file.
11806
11807 2016-03-09 Pedro Alves <palves@redhat.com>
11808
11809 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11810 signal" -> "Thread NN received signal" output change.
11811 * gdb.threads/ia64-sigill.exp: Likewise.
11812 * gdb.threads/linux-dp.exp: Likewise.
11813 * gdb.threads/manythreads.exp: Likewise.
11814 * gdb.threads/pending-step.exp: Likewise.
11815 * gdb.threads/print-threads.exp: Likewise.
11816 * gdb.threads/sigstep-threads.exp: Likewise.
11817 * gdb.threads/staticthreads.exp: Likewise.
11818 * gdb.threads/tls.exp: Likewise.
11819
11820 2016-03-09 Pedro Alves <palves@redhat.com>
11821
11822 * gdb.base/command-line-input.exp: New file.
11823
11824 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11825
11826 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11827 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11828 * gdb.trace/pending.exp: Accept leading dot before function name.
11829 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11830 * lib/trace-support.exp: Set registers for ppc.
11831
11832 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11833
11834 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11835 use it for disassembly; accept .main in addition to main in backtrace.
11836
11837 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
11838 Marcin Kościelnicki <koriakin@0x04.net>
11839
11840 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11841 (gdb_recursion_test_ptr): New global variable.
11842 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11843 gdb_recursion_test.
11844 (gdb_c_test): Ditto.
11845
11846 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11847
11848 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11849 ordering.
11850
11851 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11852
11853 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11854 (bar): Add bar_start_lbl label.
11855 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11856 of foo/bar for emitting DWARF and tracing.
11857
11858 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11859
11860 * analyze-racy-logs.py: Set executable bit.
11861
11862 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11863
11864 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11865 (CHECK_TARGET_TMP): Likewise.
11866 (check-single-racy): New rule.
11867 (check-parallel-racy): Likewise.
11868 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11869 (do-check-parallel-racy): New rule.
11870 (check-racy/%.exp): Likewise.
11871 * README (Racy testcases): New section.
11872 * analyze-racy-logs.py: New file.
11873
11874 2016-03-03 Doug Evans <dje@google.com>
11875
11876 * gdb.base/skip.exp: Use with_test_prefix.
11877
11878 2016-03-03 Yao Qi <yao.qi@linaro.org>
11879
11880 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11881 Invoke step_over_syscall "clone" and break_cond_on_syscall
11882 "clone".
11883 * gdb.base/step-over-clone.c: New file.
11884
11885 2016-03-03 Yao Qi <yao.qi@linaro.org>
11886
11887 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11888 code format.
11889
11890 2016-03-03 Yao Qi <yao.qi@linaro.org>
11891
11892 * gdb.base/disp-step-fork.c: Rename to ...
11893 * gdb.base/step-over-fork.c: ... it. New file.
11894 * gdb.base/disp-step-vfork.c: Rename to ...
11895 * gdb.base/step-over-vfork.c: ... it. New file.
11896 * gdb.base/disp-step-syscall.exp: Rename to ...
11897 * gdb.base/step-over-syscall.exp: ... it. New file.
11898 (disp_step_cross_syscall): Rename to ...
11899 (step_over_syscall): ... it.
11900
11901 2016-03-03 Yao Qi <yao.qi@linaro.org>
11902
11903 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11904 If target supports condition evaluation on target, invoke
11905 break_cond_on_syscall for fork and vfork.
11906
11907 2016-03-03 Yao Qi <yao.qi@linaro.org>
11908
11909 * gdb.base/disp-step-syscall.exp: Don't invoke
11910 support_displaced_stepping.
11911 (disp_step_cross_syscall): Test with displaced stepping off and
11912 on if supported.
11913
11914 2016-03-03 Yao Qi <yao.qi@linaro.org>
11915
11916 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11917 proc.
11918 (setup): New proc.
11919 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11920 and setup.
11921
11922 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11923
11924 * gdb.fortran/vla-history.exp: Remove breakpoint.
11925
11926 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11927
11928 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11929 exceeds timeout.
11930
11931 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11932
11933 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11934 breakpoint.
11935
11936 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11937
11938 * gdb.mi/vla.f90: Nullify pointer after declaration.
11939
11940 2016-03-01 Pedro Alves <palves@redhat.com>
11941
11942 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11943
11944 2016-03-01 Pedro Alves <palves@redhat.com>
11945
11946 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11947 before anything else.
11948 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11949 _GNU_SOURCE here.
11950 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11951 before anything else.
11952 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11953
11954 2016-03-01 Pedro Alves <palves@redhat.com>
11955
11956 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11957
11958 2016-03-01 Yao Qi <yao.qi@linaro.org>
11959
11960 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11961 prepare_for_testing.
11962
11963 2016-03-01 Yao Qi <yao.qi@linaro.org>
11964
11965 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11966
11967 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11968
11969 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11970 manually constructing the output path.
11971
11972 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11973
11974 * gdb.arch/s390-stackless.S: New.
11975 * gdb.arch/s390-stackless.exp: New.
11976
11977 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11978
11979 * gdb.dlang/circular.c: New file.
11980 * gdb.dlang/circular.exp: New file.
11981
11982 2016-02-26 Yao Qi <yao.qi@linaro.org>
11983
11984 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11985 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11986 (testcases): Update.
11987
11988 2016-02-26 Yao Qi <yao.qi@linaro.org>
11989
11990 * gdb.reverse/aarch64.c: Rename to ...
11991 * gdb.reverse/insn-reverse.c: ... it.
11992 * gdb.reverse/aarch64.exp: Rename to ...
11993 * gdb.reverse/insn-reverse.exp: ... it.
11994
11995 2016-02-26 Yao Qi <yao.qi@linaro.org>
11996
11997 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11998 (testcase_ftype): New.
11999 (testcases): New array.
12000 (n_testcases): New.
12001 (main): Call each element in testcases.
12002 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12003 (read_testcase): New.
12004 Do the tests in a loop.
12005
12006 2016-02-25 Yao Qi <yao.qi@linaro.org>
12007
12008 * gdb.base/branches.c: Remove.
12009
12010 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12011
12012 PR gdb/13808
12013 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12014
12015 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12016
12017 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12018
12019 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12020
12021 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12022 change x86_64 call_insn to 'callq'.
12023
12024 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12025
12026 * gdb.trace/tfile-avx.c: Move to...
12027 * gdb.trace/tracefile-pseudo-reg.c: Here.
12028 * gdb.trace/tfile-avx.exp: Move to...
12029 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12030
12031 2016-02-24 Gary Benson <gbenson@redhat.com>
12032
12033 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12034 message on attach.
12035
12036 2016-02-23 Doug Evans <dje@google.com>
12037
12038 * gdb.base/skip.c (test_skip): New function.
12039 (end_test_skip_file_and_function): New function.
12040 (test_skip_file_and_function): New function.
12041 * gdb.base/skip1.c (test_skip): New function.
12042 (skip1_test_skip_file_and_function): New function.
12043 * gdb.base/skip.exp: Add tests for new skip options.
12044 * gdb.base/skip-solib.exp: Update expected output.
12045 * gdb.perf/skip-command.cc: New file.
12046 * gdb.perf/skip-command.exp: New file.
12047 * gdb.perf/skip-command.py: New file.
12048
12049 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12050
12051 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12052 info registers pattern.
12053
12054 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12055
12056 * lib/future.exp: Add D support.
12057 (gdb_find_gdc): New proc.
12058 (gdb_default_target_compile): Add D support.
12059
12060 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
12061
12062 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12063 user+system time.
12064 (trace_speed_test): Determine the iteration count for a time
12065 between 15..30 seconds.
12066
12067 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12068
12069 * gdb.arch/i386-mpx-sigsegv.c: New file.
12070 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12071 * gdb.arch/i386-mpx-simple_segv.c: New file.
12072 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12073
12074 2016-02-18 Yao Qi <yao.qi@linaro.org>
12075
12076 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12077 Don't call setup_kfail.
12078
12079 2016-02-18 Yao Qi <yao.qi@linaro.org>
12080
12081 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12082 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12083
12084 2016-02-16 Doug Evans <dje@google.com>
12085
12086 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12087 * gdb.base/skip1.c: Ditto.
12088 * gdb.base/skip.exp: Whitespace cleanup.
12089
12090 2016-02-16 Don Breazeal <donb@codesourcery.com>
12091
12092 PR remote/19496
12093 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12094 Remove kfail for PR remote/19496.
12095
12096 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12097
12098 * lib/gdb.exp (standard_temp_file): Return a path specific to
12099 the runtest invocation.
12100
12101 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12102
12103 * gdb.trace/save-trace.exp: Change relative path to be in the
12104 standard output directory.
12105
12106 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12107
12108 * gdb.arch/i386-prologue.c: Add missing prototypes.
12109
12110 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12111
12112 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12113 * gdb.arch/i386-prologue.exp: Likewise.
12114 * gdb.arch/i386-size.exp: Likewise.
12115
12116 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12117
12118 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12119 define object file path.
12120 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12121 file path.
12122 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12123 standard_output_file to define binfile.
12124
12125 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12126
12127 Fix compatibility with recent gfortran-5.3.1.
12128 * gdb.fortran/vla-history.exp (print vla1 allocated)
12129 (print vla2 allocated, print $2, print $3): Remove
12130 (print $4): Rename to ...
12131 (print $2): ... here.
12132 (print $9): Rename to ...
12133 (print $5): ... here.
12134 (print $10): Rename to ...
12135 (print $6): ... here.
12136 * gdb.fortran/vla.f90: Add pvla initialization.
12137
12138 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12139
12140 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12141 New test.
12142 * gdb.fortran/vla-value-sub.exp: Likewise.
12143
12144 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12145
12146 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12147
12148 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12149
12150 * i386-biarch-core.exp: Define corefile using
12151 standard_output_file.
12152
12153 2016-02-12 Yao Qi <yao.qi@linaro.org>
12154
12155 * gdb.arch/arm-single-step-kernel-helper.c: New.
12156 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12157
12158 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12159
12160 * gdb.btrace/tailcall-only.exp: New.
12161 * gdb.btrace/tailcall-only.c: New.
12162 * gdb.btrace/x86_64-tailcall-only.S: New.
12163 * gdb.btrace/i686-tailcall-only.S: New.
12164
12165 2016-02-11 Pedro Alves <palves@redhat.com>
12166
12167 * README (Parallel testing): Add missing double quotes.
12168
12169 2016-02-11 Pedro Alves <palves@redhat.com>
12170
12171 * README (Parallel testing): New section.
12172 (GDB_PARALLEL): Rewrite.
12173 (FORCE_PARALLEL): Document.
12174
12175 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12176
12177 * gdb.trace/tfile-avx.c: New test.
12178 * gdb.trace/tfile-avx.exp: New test.
12179
12180 2016-02-09 Keith Seitz <keiths@redhat.com>
12181
12182 PR breakpoints/19546
12183 * gdb.base/infcall-exec.c: New file.
12184 * gdb.base/infcall-exec2.c: New file.
12185 * gdb.base/infcall-exec.exp: New file.
12186
12187 2016-02-09 Keith Seitz <keiths@redhat.com>
12188
12189 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12190 (toplevel): Call test_bkpt_address.
12191
12192 2016-02-09 Keith Seitz <keiths@redhat.com>
12193
12194 PR python/19506
12195 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
12196 (toplevel): Call test_bkpt_address.
12197
12198 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
12199
12200 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
12201 to AC_OUTPUT.
12202 * configure: Regenerate.
12203
12204 2016-02-09 Pedro Alves <palves@redhat.com>
12205
12206 PR breakpoints/19548
12207 * gdb.base/execl-update-breakpoints.c (some_function): New
12208 function.
12209 (main): Call it.
12210 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
12211 Tighten expected GDB output.
12212
12213 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12214
12215 * Makefile.in (ALL_SUBDIRS): Remove.
12216 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
12217 (distclean maintainer-clean realclean): Likewise.
12218 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
12219 * configure: Regenerate.
12220 * gdb.ada/Makefile.in: Delete.
12221 * gdb.arch/Makefile.in: Likewise.
12222 * gdb.asm/Makefile.in: Likewise.
12223 * gdb.base/Makefile.in: Likewise.
12224 * gdb.btrace/Makefile.in: Likewise.
12225 * gdb.cell/Makefile.in: Likewise.
12226 * gdb.compile/Makefile.in: Likewise.
12227 * gdb.cp/Makefile.in: Likewise.
12228 * gdb.disasm/Makefile.in: Likewise.
12229 * gdb.dlang/Makefile.in: Likewise.
12230 * gdb.dwarf2/Makefile.in: Likewise.
12231 * gdb.fortran/Makefile.in: Likewise.
12232 * gdb.gdb/Makefile.in: Likewise.
12233 * gdb.go/Makefile.in: Likewise.
12234 * gdb.guile/Makefile.in: Likewise.
12235 * gdb.java/Makefile.in: Likewise.
12236 * gdb.linespec/Makefile.in: Likewise.
12237 * gdb.mi/Makefile.in: Likewise.
12238 * gdb.modula2/Makefile.in: Likewise.
12239 * gdb.multi/Makefile.in: Likewise.
12240 * gdb.objc/Makefile.in: Likewise.
12241 * gdb.opencl/Makefile.in: Likewise.
12242 * gdb.opt/Makefile.in: Likewise.
12243 * gdb.pascal/Makefile.in: Likewise.
12244 * gdb.perf/Makefile.in: Likewise.
12245 * gdb.python/Makefile.in: Likewise.
12246 * gdb.reverse/Makefile.in: Likewise.
12247 * gdb.server/Makefile.in: Likewise.
12248 * gdb.stabs/Makefile.in: Likewise.
12249 * gdb.threads/Makefile.in: Likewise.
12250 * gdb.trace/Makefile.in: Likewise.
12251 * gdb.xml/Makefile.in: Likewise.
12252 * lib/gdb.exp (make_gdb_parallel_path): Add check for
12253 GDB_PARALLEL.
12254 (standard_output_file): Remove check for GDB_PARALLEL, always
12255 return path in outputs/$subdir/$testname.
12256
12257 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12258
12259 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
12260 (site.exp): Assign abs_srcdir to tcl's srcdir.
12261
12262 2016-02-04 Yao Qi <yao.qi@linaro.org>
12263
12264 * gdb.base/foll-exec-mode.c: Include limits.h.
12265 (main): Add parameters argc and argv. Get directory from
12266 argv[0].
12267 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
12268 compilation.
12269 * gdb.base/foll-exec.c: Include limits.h.
12270 (main): Add parameters argc and argv.
12271 Get directory from argv[0].
12272 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
12273 Adjust tests on the number of lines as source code changed.
12274 * gdb.base/foll-vfork-exit.c: Include limits.h.
12275 (main): Add one line of statement before vfork.
12276 * gdb.base/foll-vfork.c: Include limits.h and string.h.
12277 (main): Add parameters argc and argv. Get directory from
12278 argv[0].
12279 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
12280 (setup_gdb): Set tbreak to skip some source lines.
12281 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
12282 (main): Add parameters argc and argv. Get directory from
12283 argv[0].
12284 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
12285 compilation.
12286 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
12287 (main): Add parameters argc and argv. Get directory from
12288 argv[0].
12289 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
12290 compilation.
12291
12292 2016-02-01 Doug Evans <dje@google.com>
12293
12294 * gdb.base/skip.exp: Clean up multiple references to same test name.
12295
12296 2016-02-01 Pedro Alves <palves@redhat.com>
12297
12298 PR remote/19496
12299 * gdb.threads/forking-threads-plus-breakpoint.exp
12300 (displaced_stepping_supported): New global.
12301 (probe_displaced_stepping_support): New procedure.
12302 (do_test): Add 'displaced' parameter, and use it.
12303 (top level): Check for displaced stepping support. Add displaced
12304 stepping on/off testing axis.
12305
12306 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12307
12308 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
12309 pointer. Don't perform further tests on the unassociated pointer
12310 if the first test fails.
12311
12312 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12313
12314 * gdb.base/max-value-size.c: New file.
12315 * gdb.base/max-value-size.exp: New file.
12316 * gdb.base/huge.exp: Disable max-value-size for this test.
12317
12318 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
12319
12320 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12321
12322 2016-01-28 Yao Qi <yao.qi@linaro.org>
12323
12324 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
12325
12326 2016-01-25 Pedro Alves <palves@redhat.com>
12327
12328 PR threads/19461
12329 * gdb.base/fork-running-state.c: New file.
12330 * gdb.base/fork-running-state.exp: New file.
12331
12332 2016-01-25 Pedro Alves <palves@redhat.com>
12333
12334 PR gdb/19494
12335 * gdb.base/catch-fork-kill.c: New file.
12336 * gdb.base/catch-fork-kill.exp: New file.
12337
12338 2016-01-25 Pedro Alves <palves@redhat.com>
12339
12340 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
12341 Delete, moved to lib/gdb.exp.
12342 * gdb.threads/forking-threads-plus-breakpoint.exp
12343 (foreach_with_prefix): Likewise.
12344 * gdb.threads/process-dies-while-handling-bp.exp
12345 (foreach_with_prefix): Likewise.
12346 * lib/gdb.exp (foreach_with_prefix): New procedure.
12347
12348 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
12349
12350 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
12351 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
12352
12353 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
12354
12355 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
12356 endian targets.
12357
12358 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12359 Pedro Alves <palves@redhat.com>
12360
12361 Fix testsuite compatibility with Guile.
12362 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
12363 number.
12364
12365 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12366
12367 Fix testsuite compatibility with Guile.
12368 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
12369 (thread 1): New test for backtrace through signal handler.
12370
12371 2016-01-22 Yao Qi <yao.qi@linaro.org>
12372
12373 PR testsuite/19491
12374 * gdb.base/multi-forks.c: Include
12375 ../lib/unbuffer_output.c
12376 (main): Call gdb_unbuffer_output.
12377
12378 2016-01-21 Doug Evans <dje@google.com>
12379
12380 * lib/ada.exp (gdb_compile_ada): Fix typo.
12381
12382 2016-01-21 Joel Brobecker <brobecker@adacore.com>
12383
12384 * gdb.base/break-fun-addr.exp: New file.
12385 * gdb.base/break-fun-addr1.c: New file.
12386 * gdb.base/break-fun-addr2.c: New file.
12387
12388 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
12389
12390 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
12391 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
12392 enum flag values.
12393
12394 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12395
12396 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
12397 when GDB can not set the vector return value. Add more comments
12398 for clarification.
12399
12400 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
12401
12402 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
12403 command.
12404
12405 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12406
12407 * Makefile.in (DO_RUNTEST): Add --status and update usages.
12408
12409 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12410
12411 * Makefile.in (check-single): Pass --status to runtest.
12412 (check/%.exp): Likewise.
12413
12414 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12415
12416 * Makefile.in (check-parallel): Propagate return code from make
12417 do-check-parallel.
12418
12419 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
12420
12421 * gdb.trace/ftrace.exp: Fix expected message on continue.
12422 * gdb.trace/pending.exp: Fix expected message on continue.
12423 * gdb.trace/trace-break.exp: Fix expected message on continue.
12424
12425 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
12426
12427 * lib/gdb.exp (gdb_test): Remove unused global references.
12428
12429 2016-01-18 Pedro Alves <palves@redhat.com>
12430
12431 * gdb.base/async-shell.exp: Adjust expected output.
12432 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
12433 * gdb.base/siginfo-thread.exp: Adjust expected output.
12434 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
12435 * gdb.java/jnpe.exp: Adjust expected output.
12436 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
12437 * gdb.threads/continue-pending-status.exp: Adjust expected output.
12438 * gdb.threads/leader-exit.exp: Adjust expected output.
12439 * gdb.threads/manythreads.exp: Adjust expected output.
12440 * gdb.threads/pthreads.exp: Adjust expected output.
12441 * gdb.threads/schedlock.exp: Adjust expected output.
12442 * gdb.threads/siginfo-threads.exp: Adjust expected output.
12443 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
12444 expected output.
12445 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
12446 output.
12447 * gdb.threads/sigthread.exp: Adjust expected output.
12448 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
12449
12450 2016-01-18 Yao Qi <yao.qi@linaro.org>
12451
12452 * gdb.guile/scm-section-script.c: Replace @progbits with
12453 %progbits.
12454 * gdb.python/py-section-script.c: Likewise.
12455
12456 2016-01-15 Pedro Alves <palves@redhat.com>
12457
12458 * gdb.multi/tids.exp: Test star wildcard ranges.
12459
12460 2016-01-15 Pedro Alves <palves@redhat.com>
12461
12462 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
12463 command from "thread apply" invocation.
12464 (thr_apply_info_thr_invalid): Default the expected output to the
12465 input tid list.
12466 (top level): Add tests that use convenience variables. Add tests
12467 for "thread apply" with a valid TID list, but missing the command.
12468
12469 2016-01-13 Pedro Alves <palves@redhat.com>
12470
12471 * gdb.base/default.exp: Expect $_gthread as well.
12472 * gdb.multi/tids.exp: Test $_gthread.
12473 * gdb.threads/thread-specific.exp: Test $_gthread.
12474
12475 2016-01-13 Pedro Alves <palves@redhat.com>
12476
12477 * gdb.multi/tids.exp: Test "info threads -gid".
12478
12479 2016-01-13 Pedro Alves <palves@redhat.com>
12480
12481 * gdb.multi/tids.exp: Test InferiorThread.global_num and
12482 Breakpoint.thread.
12483 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
12484
12485 2016-01-07 Pedro Alves <palves@redhat.com>
12486
12487 * gdb.base/break.exp: Adjust to output changes.
12488 * gdb.base/hbreak2.exp: Likewise.
12489 * gdb.base/sepdebug.exp: Likewise.
12490 * gdb.base/watch_thread_num.exp: Likewise.
12491 * gdb.linespec/keywords.exp: Likewise.
12492 * gdb.multi/info-threads.exp: Likewise.
12493 * gdb.threads/thread-find.exp: Likewise.
12494 * gdb.multi/tids.c: New file.
12495 * gdb.multi/tids.exp: New file.
12496
12497 2016-01-13 Pedro Alves <palves@redhat.com>
12498
12499 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12500
12501 2016-01-13 Pedro Alves <palves@redhat.com>
12502
12503 * gdb.base/default.exp: Expect $_inferior as well.
12504 * gdb.multi/base.exp: Test $_inferior.
12505
12506 2016-01-13 Pedro Alves <palves@redhat.com>
12507
12508 PR breakpoints/19388
12509 * gdb.base/catch-signal-siginfo-cond.c: New file.
12510 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12511
12512 2016-01-12 Josh Stone <jistone@redhat.com>
12513 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12514
12515 * gdb.base/catch-syscall.c (do_execve): New variable.
12516 (main): Conditionally trigger an execve.
12517 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12518 (test_catch_syscall_execve): New, check entry/return across execve.
12519 (do_syscall_tests): Call test_catch_syscall_execve.
12520
12521 2016-01-12 Pedro Alves <palves@redhat.com>
12522
12523 * gdb.base/random-signal.exp (do_test): New procedure, with body
12524 of testcase moved in.
12525
12526 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12527 Pedro Alves <palves@redhat.com>
12528
12529 * gdb.base/funcargs.exp (finish from indirectly called function):
12530 Reintroduce the case for 'First'.
12531
12532 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12533 Pedro Alves <palves@redhat.com>
12534
12535 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12536 (tcatch_vfork_then_child_follow_exec)
12537 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12538 identification.
12539
12540 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12541
12542 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12543 and repeats to unlimited.
12544 * gdb.python/py-value.exp: Likewise.
12545 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12546 and repeats to unlimited.
12547
12548 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12549
12550 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12551 and reordering the functions.
12552 * gdb.multi/hangout.c: Likewise.
12553 * gdb.multi/hello.c: Likewise.
12554
12555 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12556
12557 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12558 absolute.
12559 (SingleStatisticTestResult.report): Use dict.keys instead of
12560 dict.iterkeys.
12561
12562 2016-01-06 Pedro Alves <palves@redhat.com>
12563
12564 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12565
12566 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12567
12568 * gdb.btrace/dlopen.exp: New.
12569 * gdb.btrace/dlopen.c: New.
12570 * gdb.btrace/dlopen-dso.c: New.
12571
12572 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12573
12574 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12575 PATTERN argument is optional.
12576
12577 2015-12-24 Joel Brobecker <brobecker@adacore.com>
12578
12579 * lib/ada.exp (target_compile_ada_from_dir): New function.
12580 (gdb_compile_ada): Reimplement avoiding the use of project files.
12581 * gdb.ada/gnat_ada.gpr: Delete.
12582 * gdb.ada/cond_lang.exp: Adjust test to make path before
12583 filename optional.
12584 * gdb.ada/small_reg_param.exp: Likewise.
12585
12586 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12587
12588 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12589
12590 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12591
12592 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12593 case.
12594
12595 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12596
12597 * gdb.base/break.exp: Remove dead code.
12598 * gdb.base/sepdebug.exp: Likewise.
12599
12600 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12601
12602 * gdb.asm/asm-source.exp: Remove HP-UX references.
12603 * gdb.base/annota1.exp: Likewise.
12604 * gdb.base/annota3.exp: Likewise.
12605 * gdb.base/attach.exp: Likewise.
12606 * gdb.base/bigcore.exp: Likewise.
12607 * gdb.base/break.exp: Likewise.
12608 * gdb.base/call-ar-st.exp: Likewise.
12609 * gdb.base/callfuncs.exp: Likewise.
12610 * gdb.base/catch-fork-static.exp: Likewise.
12611 * gdb.base/display.exp: Likewise.
12612 * gdb.base/foll-exec-mode.exp: Likewise.
12613 * gdb.base/foll-exec.exp: Likewise.
12614 * gdb.base/foll-fork.exp: Likewise.
12615 * gdb.base/foll-vfork.exp: Likewise.
12616 * gdb.base/funcargs.exp: Likewise.
12617 * gdb.base/hbreak2.exp: Likewise.
12618 * gdb.base/inferior-died.exp: Likewise.
12619 * gdb.base/interrupt.exp: Likewise.
12620 * gdb.base/multi-forks.exp: Likewise.
12621 * gdb.base/nodebug.exp: Likewise.
12622 * gdb.base/sepdebug.exp: Likewise.
12623 * gdb.base/solib1.c: Likewise.
12624 * gdb.base/step-test.exp: Likewise.
12625 * gdb.mi/non-stop.c: Likewise.
12626 * gdb.mi/pthreads.c: Likewise.
12627 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12628 * gdb.threads/pthreads.c: Likewise.
12629 * gdb.threads/staticthreads.exp: Likewise.
12630 * lib/future.exp: Likewise.
12631 * lib/gdb.exp: Likewise.
12632 * gdb.base/so-indr-cl.c: Remove.
12633 * gdb.base/so-indr-cl.exp: Likewise.
12634 * gdb.base/solib.c: Likewise.
12635 * gdb.base/solib.exp: Likewise.
12636 * gdb.base/solib2.c: Likewise.
12637
12638 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12639
12640 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12641 * gdb.base/call-ar-st.exp: Likewise.
12642 * gdb.base/callfuncs.exp: Likewise.
12643 * gdb.base/condbreak.exp: Likewise.
12644 * gdb.base/constvars.exp: Likewise.
12645 * gdb.base/hbreak2.exp: Likewise.
12646 * gdb.base/langs.exp: Likewise.
12647 * gdb.base/list.exp: Likewise.
12648 * gdb.base/long_long.exp: Likewise.
12649 * gdb.base/ptype.exp: Likewise.
12650 * gdb.base/scope.exp: Likewise.
12651 * gdb.base/signals.exp: Likewise.
12652 * gdb.base/so-impl-ld.exp: Likewise.
12653 * gdb.base/varargs.exp: Likewise.
12654 * gdb.base/volatile.exp: Likewise.
12655 * gdb.base/whatis.exp: Likewise.
12656 * gdb.cp/cplusfuncs.exp: Likewise.
12657 * gdb.cp/inherit.exp: Likewise.
12658 * gdb.cp/local.exp: Likewise.
12659 * gdb.cp/member-ptr.exp: Likewise.
12660 * gdb.cp/method.exp: Likewise.
12661 * gdb.cp/overload.exp: Likewise.
12662 * gdb.cp/templates.exp: Likewise.
12663 * gdb.stabs/weird.exp: Likewise.
12664 * lib/compiler.c: Likewise.
12665 * lib/compiler.cc: Likewise.
12666 * lib/cp-support.exp: Likewise.
12667 * lib/gdb.exp: Likewise.
12668
12669 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12670
12671 * configure.ac: Remove HP-UX case.
12672 * configure: Regenerate.
12673
12674 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12675
12676 * lib/gdb.exp (gdb_compile): Add function doc.
12677
12678 2015-12-17 Pedro Alves <palves@redhat.com>
12679
12680 PR threads/19354
12681 * gdb.multi/info-threads.exp: New file.
12682
12683 2015-12-15 Yao Qi <yao.qi@linaro.org>
12684
12685 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12686 is aarch64*-*-*.
12687
12688 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12689
12690 * gdb.base/history-duplicates.exp: Skip if no readline support.
12691
12692 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12693
12694 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12695
12696 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12697
12698 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12699
12700 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12701
12702 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12703 ctrl-C if nointerrupts target property is set.
12704 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12705 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12706 * gdb.base/paginate-bg-execution.exp: Likewise.
12707 * gdb.base/paginate-execution-startup.exp: Likewise.
12708 * gdb.base/random-signal.exp: Likewise.
12709 * gdb.base/range-stepping.exp: Likewise.
12710 * gdb.cp/annota2.exp: Likewise.
12711 * gdb.cp/annota3.exp: Likewise.
12712 * gdb.gdb/selftest.exp: Likewise.
12713 * gdb.threads/continue-pending-status.exp: Likewise.
12714 * gdb.threads/leader-exit.exp: Likewise.
12715 * gdb.threads/manythreads.exp: Likewise.
12716 * gdb.threads/pthreads.exp: Likewise.
12717 * gdb.threads/schedlock.exp: Likewise.
12718 * gdb.threads/sigthread.exp: Likewise.
12719
12720 2015-12-11 Don Breazeal <donb@codesourcery.com>
12721
12722 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12723 remote.
12724 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12725 * gdb.base/foll-exec.exp (main): Enable for target remote.
12726 * gdb.base/foll-fork.exp (main): Likewise.
12727 * gdb.base/foll-vfork.exp (main): Likewise.
12728 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12729 (proc continue_to_exit_bp_loc): Use clean_restart.
12730 * gdb.base/pie-execl.exp (main): Disable for target remote.
12731 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12732 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12733 * gdb.threads/execl.exp (main): Likewise.
12734 * gdb.threads/fork-child-threads.exp (main): Likewise.
12735 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12736 remote.
12737 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12738 remote.
12739 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12740 pid.tid style ptids, instead of just tid.
12741 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12742 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12743 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12744 ptids, instead of just tid.
12745
12746 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12747
12748 * gdb.base/list.exp (test_list_forward): Add end of file error
12749 test.
12750 (test_repeat_list_command): Add end of file error test.
12751 (test_list_backwards): Add beginning of file error test.
12752
12753 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12754
12755 * gdb.base/list.exp (test_list_invalid_args): New function,
12756 defined, and called.
12757
12758 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12759
12760 * gdb.base/list.exp (test_list): Make test names unique.
12761
12762 2015-12-11 Yao Qi <yao.qi@linaro.org>
12763
12764 * gdb.base/coremaker2.c: Remove.
12765
12766 2015-12-10 Pedro Alves <palves@redhat.com>
12767
12768 * gdb.multi/base.exp: Remove stale "spaces" references.
12769
12770 2015-12-10 Pedro Alves <palves@redhat.com>
12771
12772 * gdb.multi/base.exp: Don't use nowarnings.
12773 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12774 * gdb.multi/hangout.c: Include stdio.h.
12775 * gdb.multi/hello.c: Include stdlib.h.
12776 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12777 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12778 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12779
12780 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12781
12782 * gdb.dwarf2/dw2-ranges-base.c: New file.
12783 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12784 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12785 support additional line table, and debug ranges generation.
12786 (Dwarf::ranges): New function, generate .debug_ranges.
12787 (Dwarf::lines): Support generating simple line table programs.
12788 (Dwarf::assemble): Initialise new namespace variables.
12789
12790 2015-12-09 Kevin Buettner <kevinb@redhat.com>
12791
12792 * gdb.base/async.exp (proc test_background): Add case for
12793 asynchronous execution not supported.
12794
12795 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
12796
12797 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12798 format and change test names to make them unique.
12799
12800 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12801 Pedro Alves <pedro@redhat.com>
12802
12803 PR gdb/18702
12804 Add checking of floatformats setup on x86_64 hosts.
12805 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12806 (smallval, bigval): New labels/constants.
12807 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12808 float" after loading bigval and smallval.
12809
12810 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12811
12812 * gdb.ada/fun_overload_menu.exp: New testcase.
12813 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12814
12815 2015-12-04 Josh Stone <jistone@redhat.com>
12816
12817 * gdb.base/catch-fork-static.exp: New.
12818
12819 2015-12-03 Yao Qi <yao.qi@linaro.org>
12820
12821 * gdb.base/sizeof.c: Don't include stdio.h and
12822 ../lib/unbuffer_output.c.
12823 (main): New variable 'size' and 'value'. Remove printf and
12824 gdb_unbuffer_output. Assign return value to size and value.
12825 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12826 at the beginning.
12827 (check_sizeof): Check the result by printing variable 'size'.
12828 (check_valueof): Check the result by printing variable 'value'.
12829
12830 2015-12-01 Yao Qi <yao.qi@linaro.org>
12831
12832 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12833 for aarch64*-*-linux* target.
12834
12835 2015-11-30 Pedro Alves <palves@redhat.com>
12836
12837 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12838
12839 2015-11-30 Pedro Alves <palves@redhat.com>
12840
12841 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12842 Handle non-stop mode vCont replies.
12843
12844 2015-11-30 Pedro Alves <palves@redhat.com>
12845
12846 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12847 prepare_for_testing. Start gdb with "set non-stop on" appended to
12848 GDBFLAGS. Lax expected stop output.
12849
12850 2015-11-27 Yao Qi <yao.qi@linaro.org>
12851
12852 * gdb.arch/arm-neon.exp: New.
12853 * gdb.arch/arm-neon.c: New.
12854
12855 2015-11-27 Yao Qi <yao.qi@linaro.org>
12856
12857 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12858
12859 2015-11-27 Yao Qi <yao.qi@linaro.org>
12860
12861 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12862 frames-invalid annotation.
12863
12864 2015-11-27 Yao Qi <yao.qi@linaro.org>
12865
12866 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12867
12868 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12869
12870 * gdb.threads/names.exp: New file.
12871 * gdb.threads/names.c: New file.
12872 * README: Mention gdb,no_thread_names.
12873
12874 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12875
12876 PR 19297
12877 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12878 support" error.
12879
12880 2015-11-24 Pedro Alves <palves@redhat.com>
12881
12882 PR 17539
12883 * gdb.base/display.exp: Expect displays to be sorted in ascending
12884 order. Use multi_line.
12885 * gdb.base/solib-display.exp: Likewise.
12886
12887 2015-11-24 Pedro Alves <palves@redhat.com>
12888
12889 PR 17539
12890 * gdb.base/display.exp: Expect displays to be sorted in ascending
12891 order. Use multi_line.
12892 * gdb.base/solib-display.exp: Likewise.
12893
12894 2015-11-24 Pedro Alves <palves@redhat.com>
12895
12896 PR 17539
12897 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12898 threads in ascending order.
12899 * gdb.base/foll-fork.exp: Likewise.
12900 * gdb.base/foll-vfork.exp: Likewise.
12901 * gdb.base/multi-forks.exp: Likewise.
12902 * gdb.mi/mi-nonstop.exp: Likewise.
12903 * gdb.mi/mi-nsintrall.exp: Likewise.
12904 * gdb.multi/base.exp: Likewise.
12905 * gdb.multi/multi-arch.exp: Likewise.
12906 * gdb.python/py-inferior.exp: Likewise.
12907 * gdb.threads/break-while-running.exp: Likewise.
12908 * gdb.threads/execl.exp: Likewise.
12909 * gdb.threads/gcore-thread.exp: Likewise.
12910 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12911 * gdb.threads/kill.exp: Likewise.
12912 * gdb.threads/linux-dp.exp: Likewise.
12913 * gdb.threads/multiple-step-overs.exp: Likewise.
12914 * gdb.threads/next-bp-other-thread.exp: Likewise.
12915 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12916 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12917 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12918 * gdb.threads/thread-find.exp: Likewise.
12919 * gdb.threads/tls.exp: Likewise.
12920 * lib/mi-support.exp (mi_reverse_list): Delete.
12921 (mi_check_thread_states): No longer reverse list.
12922
12923 2015-11-24 Pedro Alves <palves@redhat.com>
12924
12925 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12926 use lowercase.
12927
12928 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12929
12930 * gdb.trace/actions.c: Include trace-common.h.
12931 (main): Add a location for a fast tracepoint.
12932 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12933 the normal tracepoints.
12934 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12935
12936 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12937
12938 * save-trace.exp: Factor out code to these...
12939 (gdb_save_tracepoints): New.
12940 (gdb_load_tracepoints): New.
12941 (do_save_load_test): New.
12942
12943 2015-11-23 Kevin Buettner <kevinb@redhat.com>
12944
12945 * gdb.base/asmlabel.exp: New test.
12946 * gdb.base/asmlabel.c: New test case.
12947
12948 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12949
12950 * gdb.base/wrong_frame_bt_full-main.c: New file.
12951 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12952 * gdb.base/wrong_frame_bt_full.exp: New file.
12953
12954 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12955
12956 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12957
12958 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12959
12960 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12961 pstate register when comparing registers values in
12962 sparc64-*-linux-gnu targets to avoid spurious differences.
12963
12964 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12965
12966 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12967
12968 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12969
12970 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12971 as type argument to gdb_compile.
12972 * gdb.base/nested-subp2.exp: Likewise.
12973 * gdb.base/nested-subp3.exp: Likewise.
12974
12975 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12976
12977 * lib/dwarf.exp (_note): Fix left shift of negative value.
12978 * gdb.trace/trace-condition.exp: Likewise.
12979
12980 2015-11-13 Yao Qi <yao.qi@linaro.org>
12981
12982 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12983 comments about d10v.
12984 (test_scalar_returns): Likewise.
12985 * gdb.base/d10v.ld: Remove.
12986 * gdb.base/overlays.exp: Remove the target triplet checking for
12987 d10v-*-*.
12988 * gdb.base/structs.exp (test_struct_returns): Remove the
12989 comments about d10v.
12990 (test_struct_calls): Likewise.
12991
12992 2015-11-13 Yao Qi <yao.qi@linaro.org>
12993
12994 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12995 * gdb.base/gnu_vector.c: Don't include stdio.h.
12996 (main): Don't print res and call add_some_intvecs.
12997
12998 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12999
13000 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13001 macro.
13002 (func5): Removed.
13003 (func4): Use FAST_TRACEPOINT_LABEL.
13004 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13005 macro.
13006 (func): Removed.
13007 (thread_function): Use FAST_TRACEPOINT_LABEL.
13008 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13009 (func): Remove.
13010 (marker): Use FAST_TRACEPOINT_LABEL.
13011 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13012 (pendfunc1): Remove.
13013 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13014 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13015 (foo): Remove.
13016 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13017 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13018 macro.
13019 (func): Remove.
13020 (marker): Use FAST_TRACEPOINT_LABEL.
13021 * gdb.trace/trace-common.h: New header.
13022 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13023 macro.
13024 (func): Remove.
13025 (marker): Use FAST_TRACEPOINT_LABEL.
13026 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13027 (func): Remove.
13028 (thread_function): Use FAST_TRACEPOINT_LABEL.
13029
13030 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13031
13032 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13033 in front.
13034 * gdb.trace/change-loc.exp: Use global pcreg definition.
13035 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13036 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13037 in front.
13038 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13039 * gdb.trace/pending.exp: Likewise.
13040 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13041 * gdb.trace/trace-break.exp: Likewise.
13042 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13043 in front.
13044 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13045 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13046 in front.
13047 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13048
13049 2015-11-09 Joel Brobecker <brobecker@adacore.com>
13050
13051 * gdb.ada/fin_fun_out: New testcase.
13052
13053 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13054
13055 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13056 value associated with DW_AT_byte_size.
13057 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13058 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13059 DW_AT_upper_bound.
13060
13061 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13062
13063 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13064 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13065 version.
13066 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13067 gdb.dwarf2/dw2-canonicalize-type.exp,
13068 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13069 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13070 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13071 provided by gdb_target_symbol_prefix_flags_asm.
13072 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13073 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13074 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13075 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13076 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13077 macros where needed). Use this macro for symbols which require
13078 the prefix provided by SYMBOL_PREFIX.
13079
13080 2015-11-05 Kevin Buettner <kevinb@redhat.com>
13081
13082 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13083 New procs.
13084 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13085 representing expressions, of more than one list element.
13086 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13087 to prepend linker symbol prefix to f.
13088 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13089 table_1 and table_2.
13090 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13091 Likewise, for f and g.
13092 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13093 for ptr.
13094 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13095 for main.
13096 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13097 table_1_ptr and table_2_ptr.
13098
13099 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13100 Joel Brobecker <brobecker@adacore.com>
13101
13102 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13103
13104 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13105
13106 * gdb.reverse/s390-mvcle.c: New test.
13107 * gdb.reverse/s390-mvcle.exp: New file.
13108 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13109
13110 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13111
13112 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13113
13114 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13115
13116 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13117 reaching marker2.
13118 * gdb.reverse/getresuid-reverse.exp: Likewise.
13119 * gdb.reverse/pipe-reverse.exp: Likewise.
13120 * gdb.reverse/readv-reverse.exp: Likewise.
13121 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13122 * gdb.reverse/time-reverse.exp: Likewise.
13123 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13124
13125 2015-10-30 Yao Qi <yao.qi@linaro.org>
13126
13127 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13128 (empty_cycle): Remove.
13129 (main): Don't call empty_cycle. Don't use watch_count_done.
13130 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13131 empty_cycle. Rewrite the code counting HW watchpoints.
13132
13133 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13134
13135 * gdb.reverse/fstatat-reverse.c: New test.
13136 * gdb.reverse/fstatat-reverse.exp: New file.
13137 * gdb.reverse/getresuid-reverse.c: New test.
13138 * gdb.reverse/getresuid-reverse.exp: New file.
13139 * gdb.reverse/pipe-reverse.c: New test.
13140 * gdb.reverse/pipe-reverse.exp: New file.
13141 * gdb.reverse/readv-reverse.c: New test.
13142 * gdb.reverse/readv-reverse.exp: New file.
13143 * gdb.reverse/recvmsg-reverse.c: New test.
13144 * gdb.reverse/recvmsg-reverse.exp: New file.
13145 * gdb.reverse/time-reverse.c: New test.
13146 * gdb.reverse/time-reverse.exp: New file.
13147 * gdb.reverse/waitpid-reverse.c: New test.
13148 * gdb.reverse/waitpid-reverse.exp: New file.
13149
13150 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13151
13152 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13153
13154 2015-10-26 Doug Evans <dje@google.com>
13155
13156 PR symtab/17391
13157 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13158 * gdb.dwarf2/bad-regnum.c: New file.
13159 * gdb.dwarf2/bad-regnum.exp: New file.
13160
13161 2015-10-26 Doug Evans <dje@google.com>
13162
13163 PR python/18938
13164 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13165 file.
13166
13167 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13168
13169 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13170 for a change by "Mention language in compile error message".
13171
13172 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13173
13174 PR python/18073
13175 * gdb.python/py-type.c (C::a_method): New.
13176 (C::a_const_method): New.
13177 (C::a_static_method): New.
13178 (a_function): New.
13179 * gdb.python/py-type.exp (test_fields): Test getting fields
13180 from function and method.
13181
13182 2015-10-21 Keven Boell <keven.boell@intel.com>
13183
13184 * gdb.fortran/vla-alloc-assoc.exp: New file.
13185 * gdb.fortran/vla-datatypes.exp: New file.
13186 * gdb.fortran/vla-datatypes.f90: New file.
13187 * gdb.fortran/vla-history.exp: New file.
13188 * gdb.fortran/vla-ptype-sub.exp: New file.
13189 * gdb.fortran/vla-ptype.exp: New file.
13190 * gdb.fortran/vla-sizeof.exp: New file.
13191 * gdb.fortran/vla-sub.f90: New file.
13192 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13193 * gdb.fortran/vla-value-sub-finish.exp: New file.
13194 * gdb.fortran/vla-value-sub.exp: New file.
13195 * gdb.fortran/vla-value.exp: New file.
13196 * gdb.fortran/vla-ptr-info.exp: New file.
13197 * gdb.mi/mi-vla-fortran.exp: New file.
13198 * gdb.mi/vla.f90: New file.
13199
13200 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
13201
13202 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
13203 of hardwired timeout value.
13204
13205 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13206 Pedro Alves <palves@redhat.com>
13207
13208 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
13209 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
13210
13211 2015-10-19 Josh Stone <jistone@redhat.com>
13212
13213 * gdb.base/catch-syscall.c: Include <sched.h>.
13214 (unknown_syscall): New variable.
13215 (main): Trigger a vfork and an unknown syscall.
13216 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
13217 (unknown_syscall_number): Likewise.
13218 (check_call_to_syscall): Accept an optional syscall pattern.
13219 (check_return_from_syscall): Likewise.
13220 (check_continue): Likewise.
13221 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
13222 (test_catch_syscall_skipping_return): New test toggling off 'catch
13223 syscall' to step over the syscall return, then toggling back on.
13224 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
13225 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
13226 (do_syscall_tests): Call test_catch_syscall_without_args and
13227 test_catch_syscall_mid_vfork.
13228 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
13229 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
13230
13231 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
13232
13233 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
13234 print g_vE): Add new pass patterns.
13235 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
13236 print various symbol names for vptr fields.
13237
13238 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
13239
13240 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
13241 results.
13242
13243 2015-10-12 Yao Qi <yao.qi@linaro.org>
13244
13245 * gdb.arch/disp-step-insn-reloc.exp: New test case.
13246
13247 2015-10-12 Yao Qi <yao.qi@linaro.org>
13248
13249 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
13250 is aarch64*-*-linux*.
13251
13252 2015-10-12 Yao Qi <yao.qi@linaro.org>
13253
13254 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
13255 (can_relocate_bcond_true): ... it.
13256 (can_relocate_bcond_false): New function.
13257 (foo): Likewise.
13258 (can_relocate_bl): Likewise.
13259 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
13260 can_relocate_bl.
13261
13262 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
13263
13264 * gdb.base/nested-addr.c: New file.
13265 * gdb.base/nested-addr.exp: New testcase.
13266
13267 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
13268
13269 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
13270 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
13271 its output. Ignore the output of "record goto begin" and instead
13272 check that GDB is replaying.
13273
13274 2015-10-09 Pedro Alves <palves@redhat.com>
13275
13276 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
13277 (top level): Use it in the run with no args test.
13278
13279 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
13280
13281 * gdb.dlang/properties.exp: New file.
13282
13283 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
13284
13285 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
13286 whether or not address 0x1000 is mapped on the target.
13287
13288 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
13289
13290 * gdb.python/py-type.exp: Do not run tests if binaries fail to
13291 build.
13292
13293 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
13294
13295 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
13296 instruction-history test.
13297
13298 2015-09-28 Doug Evans <dje@google.com>
13299
13300 * gdb.base/gcore.c (array_func): Add reference to static_array.
13301
13302 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
13303
13304 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
13305 source line.
13306
13307 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
13308
13309 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
13310 short or char as base type.
13311
13312 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
13313
13314 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
13315 to allow any size enum.
13316
13317 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
13318
13319 * gdb.ada/array_ptr_renaming.exp: New testcase.
13320 * gdb.ada/array_ptr_renaming/foo.adb: New file.
13321 * gdb.ada/array_ptr_renaming/pack.ads: New file.
13322
13323 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13324
13325 * gdb.trace/ftrace-lock.c: New file.
13326 * gdb.trace/ftrace-lock.exp: New file.
13327
13328 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13329
13330 * gdb.arch/insn-reloc.c: New file.
13331 * gdb.arch/ftrace-insn-reloc.exp: New file.
13332
13333 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13334
13335 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
13336 instruction.
13337 * gdb.trace/pendshr1.c (pendfunc): Likewise.
13338 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
13339 * gdb.trace/range-stepping.c: Likewise.
13340 * gdb.trace/trace-break.c: Likewise.
13341 * gdb.trace/trace-mt.c (thread_function): Likewise.
13342 * gdb.trace/ftrace.c (marker): Likewise.
13343 * gdb.trace/trace-condition.c (marker): Likewise.
13344 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13345 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
13346 is_aarch64_target.
13347
13348 2015-09-18 Doug Evans <xdje42@gmail.com>
13349
13350 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
13351 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
13352
13353 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13354
13355 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
13356 the breakpoint.
13357
13358 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13359
13360 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
13361 the pending breakpoint. Remove timeout override for "Run till
13362 MI pending breakpoint on pendfunc3 on thread 2" test.
13363
13364 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13365
13366 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
13367 filename pattern.
13368
13369 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13370
13371 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
13372 in breakpoint filename pattern.
13373
13374 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13375
13376 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
13377
13378 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13379
13380 * gdb.linespec/explicit.exp: Check for readline support for
13381 tab-completion tests. Fix obvious typo.
13382
13383 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13384
13385 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
13386 and replay.
13387
13388 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13389
13390 * gdb.btrace/non-stop.c: New.
13391 * gdb.btrace/non-stop.exp: New.
13392
13393 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
13394 Yao Qi <yao.qi@linaro.org>
13395
13396 * gdb.trace/trace-condition.c: New file.
13397 * gdb.trace/trace-condition.exp: New file.
13398
13399 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
13400
13401 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
13402 for testing bytecode compilation.
13403
13404 2015-09-16 Pedro Alves <palves@redhat.com>
13405 Sandra Loosemore <sandra@codesourcery.com>
13406
13407 * gdb.threads/non-stop-fair-events.c (timeout): New global.
13408 (SECONDS): Redefine.
13409 (main): Call pthread_kill and alarm early.
13410 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
13411 support.
13412 (test): If the target can't hardware step and doesn't support
13413 displaced stepping, increase the timeout.
13414
13415 2015-09-16 Pedro Alves <palves@redhat.com>
13416
13417 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
13418 (enable_debug): New procedures.
13419 (test): Use them. Bail out if waiting for threads fails.
13420 (top level): Bail out if a test fails.
13421
13422 2015-09-16 Yao Qi <yao.qi@linaro.org>
13423
13424 * gdb.asm/asm-source.exp: Set asm-arch for
13425 aarch64*-*-* target.
13426 * gdb.asm/aarch64.inc: New file.
13427
13428 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
13429
13430 * gdb.ada/array_of_variable_length.exp: New testcase.
13431 * gdb.ada/array_of_variable_length/foo.adb: New file.
13432 * gdb.ada/array_of_variable_length/pck.adb: New file.
13433 * gdb.ada/array_of_variable_length/pck.ads: New file.
13434
13435 2015-09-15 Doug Evans <dje@google.com>
13436
13437 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
13438 of function static local variable.
13439
13440 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13441
13442 * gdb.threads/tls-so_extern.exp: New test file.
13443 * gdb.threads/tls-so_extern.c: New test file.
13444 * gdb.threads/tls-so_extern_main.c: New test file.
13445
13446 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13447
13448 * gdb.opt/solib-intra-step-lib.c: New file.
13449 * gdb.opt/solib-intra-step-main.c: New file.
13450 * gdb.opt/solib-intra-step.exp: New file.
13451
13452 2015-09-15 Pedro Alves <palves@redhat.com>
13453
13454 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
13455 gdb_continue_to_breakpoint instead of gdb_test_multiple.
13456
13457 2015-09-14 Pedro Alves <palves@redhat.com>
13458
13459 * gdb.base/hook-stop-continue.c: Delete.
13460 * gdb.base/hook-stop-continue.exp: Delete.
13461 * gdb.base/hook-stop-frame.c: Delete.
13462 * gdb.base/hook-stop-frame.exp: Delete.
13463 * gdb.base/hook-stop.c: New file.
13464 * gdb.base/hook-stop.exp: New file.
13465
13466 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
13467
13468 * gdb.ada/access_to_packed_array.exp: New testcase.
13469 * gdb.ada/access_to_packed_array/foo.adb: New file.
13470 * gdb.ada/access_to_packed_array/pack.adb: New file.
13471 * gdb.ada/access_to_packed_array/pack.ads: New file.
13472
13473 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
13474
13475 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
13476 buffer size test.
13477
13478 2015-09-11 Don Breazeal <donb@codesourcery.com>
13479
13480 * gdb.base/foll-exec.c: Add copyright header. Fix
13481 formatting issues.
13482 * gdb.base/foll-exec.exp (zap_session): Delete proc.
13483 (do_exec_tests): Use clean_restart in place of zap_session,
13484 and for test initialization. Fix formatting issues. Use
13485 fail in place of perror.
13486 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
13487 an expect statement to match an expression with output from
13488 the program under debug.
13489 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
13490 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
13491 * gdb.threads/non-ldr-exc-2.exp: Likewise.
13492 * gdb.threads/non-ldr-exc-3.exp: Likewise.
13493 * gdb.threads/non-ldr-exc-4.exp: Likewise.
13494
13495 2015-09-09 Doug Evans <dje@google.com>
13496
13497 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13498
13499 2015-09-09 Doug Evans <dje@google.com>
13500
13501 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13502
13503 2015-09-09 Doug Evans <dje@google.com>
13504
13505 * gdb.base/savedregs.exp: Fix typo.
13506
13507 2015-09-09 Pedro Alves <palves@redhat.com>
13508
13509 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13510
13511 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13512
13513 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13514 command actually switches threads. Give up on remaining
13515 tests if target fails to stop at breakpoint.
13516
13517 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13518
13519 * gdb.ada/funcall_char.exp: New testcase.
13520 * gdb.ada/funcall_char/foo.adb: New file.
13521
13522 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13523
13524 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13525 expected outputs. Add two testcases for completing ambiguous
13526 functions.
13527 * gdb.ada/complete/aux_pck.adb: New file.
13528 * gdb.ada/complete/aux_pck.ads: New file.
13529 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13530 Ambiguous_Func functions.
13531 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13532 * gdb.ada/complete/pck.adb: Likewise.
13533
13534 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13535
13536 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13537 failures to run the test program under GDB.
13538
13539 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
13540
13541 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13542 to C.
13543
13544 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13545
13546 * gdb.base/run-after-attach.exp: New test file.
13547 * gdb.base/run-after-attach.c: New test file.
13548
13549 2015-08-26 Don Breazeal <donb@codesourcery.com>
13550
13551 * gdb.base/foll-exec-2.c: New test program.
13552 * gdb.base/foll-exec-2.exp: New test.
13553
13554 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13555
13556 * gdb.base/nested-subp1.exp: New file.
13557 * gdb.base/nested-subp1.c: New file.
13558 * gdb.base/nested-subp2.exp: New file.
13559 * gdb.base/nested-subp2.c: New file.
13560 * gdb.base/nested-subp3.exp: New file.
13561 * gdb.base/nested-subp3.c: New file.
13562
13563 2015-08-24 Pedro Alves <palves@redhat.com>
13564
13565 * gdb.server/connect-without-multi-process.c: New file.
13566 * gdb.server/connect-without-multi-process.exp: New file.
13567
13568 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13569
13570 * gdb.opt/inline-markers.c: Make z int.
13571
13572 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13573
13574 * gdb.opt/inline-markers.c: Make z volatile.
13575
13576 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13577
13578 * gdb.opt/inline-bt.c: New volatile global z.
13579 * gdb.opt/inline-cmds.c: Likewise.
13580 * gdb.opt/inline-locals.c: Likewise.
13581 * gdb.opt/inline-markers.c: New extern global z.
13582 (marker): Use z.
13583 (inline_fn): Likewise.
13584
13585 2015-08-24 Pedro Alves <palves@redhat.com>
13586
13587 * config/m32r-stub.exp: Remove file.
13588 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13589 * gdb.base/call-rt-st.exp: Likewise.
13590 * gdb.base/call-strs.exp: Likewise.
13591 * gdb.base/default.exp: Remove references to h8300-*-hms and
13592 *-*-udi*.
13593 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13594
13595 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13596
13597 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13598 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13599 and "return" use KFAIL when GDB can not read/write the vector
13600 return value.
13601
13602 2015-08-21 Gary Benson <gbenson@redhat.com>
13603
13604 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13605
13606 2015-08-20 Pedro Alves <palves@redhat.com>
13607
13608 * gdb.server/solib-list.exp: No longer expect an interior stop in
13609 non-stop mode.
13610
13611 2015-08-20 Pedro Alves <palves@redhat.com>
13612
13613 * gdb.server/connect-stopped-target.c: New file.
13614 * gdb.server/connect-stopped-target.exp: New file.
13615
13616 2015-08-20 Pedro Alves <palves@redhat.com>
13617
13618 * gdb.dwarf2/comp-unit-lang.exp: New file.
13619 * gdb.dwarf2/comp-unit-lang.c: New file.
13620
13621 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13622
13623 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13624 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13625
13626 2015-08-19 Kevin Buettner <kevinb@redhat.com>
13627
13628 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13629 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13630
13631 2015-08-18 Doug Evans <dje@google.com>
13632 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13633
13634 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13635 skip_python_tests. New arg prompt_regexp.
13636 (skip_python_tests): New function.
13637 * lib/mi-support.exp (mi_skip_python_tests): New function.
13638 * gdb.python/py-mi-objfile-gdb.py: New file.
13639 * gdb.python/py-mi-objfile.c: New file.
13640 * gdb.python/py-mi-objfile.exp: New file.
13641
13642 2015-08-17 Keith Seitz <keiths@redhat.com>
13643
13644 * gdb.linespec/explicit.exp: Move strace test from here ...
13645 * gdb.trace/strace.exp: ... to here.
13646
13647 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13648
13649 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13650 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13651
13652 2015-08-14 Doug Evans <xdje42@gmail.com>
13653
13654 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13655 inferior before selecting a new file.
13656
13657 2015-08-14 Doug Evans <xdje42@gmail.com>
13658
13659 * gdb.mi/mi-disassemble.exp: Update.
13660 * gdb.base/disasm-optim.S: New file.
13661 * gdb.base/disasm-optim.c: New file.
13662 * gdb.base/disasm-optim.h: New file.
13663 * gdb.base/disasm-optim.exp: New file.
13664
13665 2015-08-14 Keith Seitz <keiths@redhat.com>
13666
13667 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13668 "evaluated-by".
13669
13670 2015-08-13 Joel Brobecker <brobecker@adacore.com>
13671
13672 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13673
13674 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13675
13676 * gdb.ada/fun_renaming.exp: New testcase.
13677 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13678 * gdb.ada/fun_renaming/pack.adb: New file.
13679 * gdb.ada/fun_renaming/pack.ads: New file.
13680
13681 2015-08-12 Keith Seitz <keiths@redhat.com>
13682
13683 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13684 gdb_get_line_number.
13685
13686 2015-08-12 Joel Brobecker <brobecker@adacore.com>
13687
13688 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13689 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13690 gdb.base/dso2dso.exp: New files.
13691
13692 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13693 Pedro Alves <palves@redhat.com>
13694 Keith Seitz <keiths@redhat.com>
13695
13696 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13697 GDBFLAGS.
13698
13699 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13700
13701 * gdb.base/gdbhistsize-history.exp
13702 (test_histsize_history_setting): Use save_vars.
13703 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13704 Use save_vars.
13705 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13706 * gdb.base/readline.exp: Use save_vars.
13707
13708 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13709
13710 * lib/gdb.exp (save_vars): New proc.
13711
13712 2015-08-11 Keith Seitz <keiths@redhat.com>
13713
13714 * gdb.base/help.exp: Update help_breakpoint_text.
13715
13716 2015-08-11 Keith Seitz <keiths@redhat.com>
13717
13718 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13719 (at toplevel): Call test_explicit_breakpoints.
13720 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13721 breakpoints.
13722 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13723 breakpoint conditions, "-cond".
13724
13725 2015-08-11 Keith Seitz <keiths@redhat.com>
13726
13727 * gdb.linespec/3explicit.c: New file.
13728 * gdb.linespec/cpexplicit.cc: New file.
13729 * gdb.linespec/cpexplicit.exp: New file.
13730 * gdb.linespec/explicit.c: New file.
13731 * gdb.linespec/explicit.exp: New file.
13732 * gdb.linespec/explicit2.c: New file.
13733 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13734 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13735 before using in the matching pattern.
13736 Clarify that `prefix' is a regular expression.
13737
13738 2015-08-11 Keith Seitz <keiths@redhat.com>
13739
13740 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13741 test.
13742 Add tests for missing ",FMT" and ",".
13743
13744 2015-08-10 Doug Evans <dje@google.com>
13745 Keith Seitz <keiths@redhat.com>
13746
13747 PR gdb/17960
13748 * gdb.base/completion.exp: Add location completer tests.
13749
13750 2015-08-07 Pedro Alves <palves@redhat.com>
13751
13752 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13753 tests here.
13754 (top level): Run do_test with and without displaced stepping.
13755
13756 2015-08-07 Pedro Alves <palves@redhat.com>
13757
13758 * gdb.base/valgrind-disp-step.c: New file.
13759 * gdb.base/valgrind-disp-step.exp: New file.
13760
13761 2015-08-07 Pedro Alves <palves@redhat.com>
13762
13763 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13764 Delete function.
13765 (main): Add alarm. Run an infinite loop instead of calling
13766 wait_threads.
13767 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13768 comment.
13769 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13770 Delete function.
13771 (main): Add alarm. Run an infinite loop instead of calling
13772 wait_threads.
13773 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13774 comment.
13775
13776 2015-08-07 Pedro Alves <palves@redhat.com>
13777
13778 * gdb.base/checkpoint-ns.exp: New file.
13779 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13780 standard_testfile.
13781
13782 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13783
13784 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13785 * gdb.btrace/instruction_history.exp: Update.
13786 * gdb.btrace/tsx.exp: New.
13787 * gdb.btrace/tsx.c: New.
13788
13789 2015-08-06 Pedro Alves <palves@redhat.com>
13790
13791 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13792 increase timeout.
13793 * gdb.reverse/until-precsave.exp: Bump timeouts.
13794
13795 2015-08-06 Pedro Alves <palves@redhat.com>
13796
13797 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13798
13799 2015-08-06 Pedro Alves <palves@redhat.com>
13800
13801 PR gdb/18749
13802 * gdb.threads/process-dies-while-handling-bp.c: New file.
13803 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13804
13805 2015-08-06 Pedro Alves <palves@redhat.com>
13806
13807 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13808 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13809
13810 2015-08-05 Pedro Alves <palves@redhat.com>
13811
13812 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13813 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13814
13815 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13816
13817 * gdb.base/bp-permanent.exp: Report test as unsupported if
13818 the target cannot stop at the permanent breakpoint.
13819
13820 2015-08-03 Doug Evans <dje@google.com>
13821
13822 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13823 10000.
13824
13825 2015-08-03 Doug Evans <dje@google.com>
13826
13827 * Makefile.in (workers/%.worker, build-perf): New rule.
13828 (GDB_PERFTEST_MODE): New variable.
13829 (check-perf): Use it.
13830 (clean): Clean up gdb.perf parallel build subdirs.
13831 * lib/build-piece.exp: New file.
13832 * lib/gdb.exp (make_gdb_parallel_path): New function
13833 (standard_output_file, standard_temp_file): Call it.
13834 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13835 of $GDB_PARALLEL.
13836 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13837
13838 2015-08-03 Doug Evans <dje@google.com>
13839
13840 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
13841 (LOG_FILE_NAME): New global.
13842 (TextReporter.__init__): Initialize self.txt_sum.
13843 (TextReporter.report): Add support for multiple data-points.
13844 Move report to perftest.sum, put raw data in perftest.log.
13845 (TextReporter.start): Open sum and log files.
13846 (TextReporter.end): Close sum and log files.
13847 * gdb.perf/lib/perftest/testresult.py
13848 (SingleStatisticTestResult.record): Handle multiple data-points.
13849
13850 2015-07-31 Pedro Alves <palves@redhat.com>
13851
13852 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13853 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13854 kill_wait_spawned_process instead of explicit "kill -9".
13855 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13856 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13857 kill_wait_spawned_process.
13858 * gdb.base/attach-twice.exp: Likewise.
13859 * gdb.base/attach.exp: Likewise.
13860 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13861 gdb_test_multiple.
13862 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13863 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13864 kill_wait_spawned_process.
13865 * gdb.base/valgrind-infcall.exp: Likewise.
13866 * gdb.multi/multi-attach.exp: Likewise.
13867 * gdb.python/py-prompt.exp: Likewise.
13868 * gdb.python/py-sync-interp.exp: Likewise.
13869 * gdb.server/ext-attach.exp: Likewise.
13870 * gdb.threads/attach-into-signal.exp (corefunc): Use
13871 spawn_wait_for_attach, spawn_id_get_pid and
13872 kill_wait_spawned_process.
13873 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13874 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13875 spawn_id_get_pid and kill_wait_spawned_process.
13876 * gdb.threads/attach-stopped.exp (corefunc): Use
13877 spawn_wait_for_attach, spawn_id_get_pid and
13878 kill_wait_spawned_process.
13879 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13880 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13881 kill_wait_spawned_process instead of explicit "kill -9".
13882 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13883 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13884 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13885 processes. Don't map cygwin/windows pids here. Now returns a
13886 spawn id list.
13887
13888 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13889
13890 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13891 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13892 correct patch.
13893
13894 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13895
13896 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13897
13898 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13899
13900 Reapply:
13901 2014-05-21 Mark Wielaard <mjw@redhat.com>
13902
13903 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13904
13905 2015-07-30 Pedro Alves <palves@redhat.com>
13906
13907 * linux-low.c (handle_extended_wait): Set the child's last
13908 reported status to TARGET_WAITKIND_STOPPED.
13909
13910 2015-07-30 Pedro Alves <palves@redhat.com>
13911
13912 PR threads/18600
13913 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13914 only shows inferior 1.
13915
13916 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13917 Pedro Alves <palves@redhat.com>
13918
13919 PR threads/18600
13920 * gdb.threads/fork-plus-threads.c: New file.
13921 * gdb.threads/fork-plus-threads.exp: New file.
13922
13923 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13924
13925 * gdb.base/batch-preserve-term-settings.exp
13926 (test_terminal_settings_preserved_after_cli_exit): Use
13927 send_quit_command.
13928
13929 2015-07-29 Pedro Alves <palves@redhat.com>
13930 Don Breazeal <donb@codesourcery.com>
13931
13932 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13933 output from both inferior_spawn_id and gdb_spawn_id.
13934
13935 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13936
13937 * gdb.threads/attach-into-signal.exp (corefunc): Use
13938 with_test_prefix on nested loops, uniquefying the test messages.
13939
13940 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13941
13942 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13943 commit.
13944
13945 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13946
13947 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13948 New proc.
13949 (test_terminal_settings_preserved_after_sigterm): New test.
13950
13951 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13952
13953 * gdb.base/batch-preserve-term-settings.exp
13954 (test_terminal_settings_preserved_after_cli_exit): New test.
13955
13956 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13957
13958 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13959 manipulation of saved_gdbflags.
13960 (test_terminal_settings_preserved): Remove global declaration of
13961 the unused variable pagination_prompt. Remove manipulation of
13962 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13963 GDBFLAGS.
13964
13965 2015-07-29 Pedro Alves <palves@redhat.com>
13966
13967 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13968
13969 2015-07-29 Pedro Alves <palves@redhat.com>
13970
13971 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13972 at the top.
13973
13974 2015-07-29 Pedro Alves <palves@redhat.com>
13975
13976 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13977 (main): Call gdb_unbuffer_output.
13978 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13979 (main): Call gdb_unbuffer_output.
13980 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13981 (main): Call gdb_unbuffer_output.
13982 * gdb.base/call-strs.exp: Adjust to step over the
13983 gdb_unbuffer_output call.
13984 * gdb.base/catch-gdb-caused-signals.c: Include
13985 "../lib/unbuffer_output.c".
13986 (main): Call gdb_unbuffer_output.
13987 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13988 (main): Call gdb_unbuffer_output.
13989 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13990 (main): Call gdb_unbuffer_output.
13991 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13992 (main): Call gdb_unbuffer_output.
13993 * gdb.base/shlib-call.exp: Adjust to step over the
13994 gdb_unbuffer_output call.
13995 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13996 (main): Call gdb_unbuffer_output.
13997 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13998 (main): Call gdb_unbuffer_output.
13999 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14000 (main): Rename to ...
14001 (test): ... this.
14002 (main): Reimplement.
14003 * gdb.base/varargs.exp: Run to test instead of to main.
14004 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14005 (main): Call gdb_unbuffer_output.
14006
14007 2015-07-29 Pedro Alves <palves@redhat.com>
14008
14009 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14010 factore out from mi_continue_dprintf. For call-style dprintfs,
14011 expect dprintf output out of $inferior_spawn_id.
14012 (mi_continue_dprintf): Use mi_expect_dprintf.
14013 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14014 (main): Call gdb_unbuffer_output.
14015
14016 2015-07-29 Pedro Alves <palves@redhat.com>
14017
14018 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14019 (default_mi_gdb_start): Set inferior_spawn_id instead of
14020 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14021 gdb_spawn_id.
14022 (mi_gdb_test): Always expect inferior output from both
14023 $inferior_spawn_id and $gdb_spawn_id.
14024
14025 2015-07-29 Pedro Alves <palves@redhat.com>
14026
14027 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14028 send_inferior and $inferior_spawn_id.
14029
14030 2015-07-29 Pedro Alves <palves@redhat.com>
14031
14032 * gdb.gdb/complaints.exp (test_initial_complaints)
14033 (test_serial_complaints, test_short_complaints): Use
14034 gdb_test_stdio.
14035 (test_empty_complaint): Handle $inferior_spawn_id !=
14036 $gdb_spawn_id.
14037
14038 2015-07-29 Pedro Alves <palves@redhat.com>
14039
14040 * gdb.base/varargs.exp: Use gdb_test_stdio.
14041
14042 2015-07-29 Pedro Alves <palves@redhat.com>
14043
14044 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14045
14046 2015-07-29 Pedro Alves <palves@redhat.com>
14047
14048 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14049
14050 2015-07-29 Pedro Alves <palves@redhat.com>
14051
14052 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14053 parameter into two new parameters, "inf_result" and "gdb_result".
14054 Expect inferior output and gdb output from $inferior_spawn_id and
14055 $gdb_spawn_id, respectively. Adjust all callers.
14056
14057 2015-07-29 Pedro Alves <palves@redhat.com>
14058
14059 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14060 of gdb_test_sequence.
14061
14062 2015-07-29 Pedro Alves <palves@redhat.com>
14063
14064 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14065 (saw_spurious_output): Expect inferior output from
14066 $inferior_spawn_id. Use gdb_test_stdio.
14067
14068 2015-07-29 Pedro Alves <palves@redhat.com>
14069
14070 * gdb.base/dprintf.exp: Use standard_testfile. Change
14071 prepare_for_testing call.
14072 (srcfile): Don't set.
14073 (restart): New procedure.
14074 (test_dprintf): New procecure, use to continue over dprintfs.
14075 (test_call, test_agent): New procedures, tests moved here.
14076 Restart gdb and recreate dprintfs. Adjust expected output.
14077
14078 2015-07-29 Pedro Alves <palves@redhat.com>
14079
14080 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14081
14082 2015-07-29 Pedro Alves <palves@redhat.com>
14083
14084 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14085
14086 2015-07-29 Pedro Alves <palves@redhat.com>
14087
14088 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14089 gdb_test_stdio.
14090
14091 2015-07-29 Pedro Alves <palves@redhat.com>
14092
14093 * lib/gdb.exp (gdb_test_stdio): New procedure.
14094
14095 2015-07-29 Pedro Alves <palves@redhat.com>
14096
14097 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14098
14099 2015-07-29 Pedro Alves <palves@redhat.com>
14100
14101 * gdb.base/call-signal-resume.exp: Remove check for
14102 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14103 * gdb.base/unwindonsignal.exp: Likewise.
14104 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14105 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14106
14107 2015-07-29 Pedro Alves <palves@redhat.com>
14108
14109 * gdb.base/siginfo-addr.c (pass): New function.
14110 (handler): Call it iff si_addr is correct.
14111 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14112 Set a breakpoint at "pass" and continue to it.
14113
14114 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14115
14116 * gdb.python/py-objfile.exp: Make some tests have unique names.
14117 * gdb.python/py-pp-registration.exp: Likewise.
14118
14119 2015-07-28 Pedro Alves <palves@redhat.com>
14120
14121 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14122
14123 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14124
14125 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14126
14127 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14128
14129 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14130
14131 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14132
14133 * gdb.base/gdb-sigterm-2.exp: New test.
14134
14135 2015-07-25 Doug Evans <xdje42@gmail.com>
14136
14137 Revert:
14138 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14139 (workers/%.worker, build-perf): New rule.
14140 (GDB_PERFTEST_MODE): New variable.
14141 (check-perf): Use it.
14142 (clean): Clean up gdb.perf parallel build subdirs.
14143 * lib/build-piece.exp: New file.
14144 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14145 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14146 name.
14147 (standard_temp_file): Ditto.
14148 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14149 of $GDB_PARALLEL.
14150
14151 2015-07-24 Doug Evans <dje@google.com>
14152
14153 * gdb.perf/lib/perftest/utils.py: New file.
14154 * gdb.perf/gm-hello.cc: New file.
14155 * gdb.perf/gm-pervasive-typedef.cc: New file.
14156 * gdb.perf/gm-pervasive-typedef.h: New file.
14157 * gdb.perf/gm-std.cc: New file.
14158 * gdb.perf/gm-std.h: New file.
14159 * gdb.perf/gm-use-cerr.cc: New file.
14160 * gdb.perf/gm-utils.h: New file.
14161 * gdb.perf/gmonster-null-lookup.py: New file.
14162 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14163 * gdb.perf/gmonster-print-cerr.py: New file.
14164 * gdb.perf/gmonster-ptype-string.py: New file.
14165 * gdb.perf/gmonster-runto-main.py: New file.
14166 * gdb.perf/gmonster-select-file.py: New file.
14167 * gdb.perf/gmonster1-null-lookup.exp: New file.
14168 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14169 * gdb.perf/gmonster1-print-cerr.exp: New file.
14170 * gdb.perf/gmonster1-ptype-string.exp: New file.
14171 * gdb.perf/gmonster1-runto-main.exp: New file.
14172 * gdb.perf/gmonster1-select-file.exp: New file.
14173 * gdb.perf/gmonster1.cc: New file.
14174 * gdb.perf/gmonster1.exp: New file.
14175 * gdb.perf/gmonster2-null-lookup.exp: New file.
14176 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14177 * gdb.perf/gmonster2-print-cerr.exp: New file.
14178 * gdb.perf/gmonster2-ptype-string.exp: New file.
14179 * gdb.perf/gmonster2-runto-main.exp: New file.
14180 * gdb.perf/gmonster2-select-file.exp: New file.
14181 * gdb.perf/gmonster2.cc: New file.
14182 * gdb.perf/gmonster2.exp: New file.
14183
14184 2015-07-24 Doug Evans <dje@google.com>
14185
14186 * gdb.perf/README: New file.
14187 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14188 * lib/gen-perf-test.exp: New file.
14189
14190 2015-07-24 Doug Evans <dje@google.com>
14191
14192 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14193 (PerfTest::startup): New function.
14194 (PerfTest::run): Return result of calling body.
14195 (PerfTest::assemble): Rewrite.
14196 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
14197 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
14198 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
14199 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
14200 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
14201
14202 2015-07-24 Doug Evans <dje@google.com>
14203
14204 * lib/gdb.exp (clean_restart): Make executable optional.
14205
14206 2015-07-24 Doug Evans <dje@google.com>
14207
14208 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
14209 compiler_info references.
14210 * gdb.cp/temargs.exp: Ditto.
14211 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
14212 (get_compiler_info): Early exit if already computed. Set compiler_info
14213 to "unknown" if there was a problem.
14214 (test_compiler_info): Add function comment. Call get_compiler_info.
14215
14216 2015-07-24 Doug Evans <dje@google.com>
14217
14218 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14219 (workers/%.worker, build-perf): New rule.
14220 (GDB_PERFTEST_MODE): New variable.
14221 (check-perf): Use it.
14222 (clean): Clean up gdb.perf parallel build subdirs.
14223 * lib/build-piece.exp: New file.
14224 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14225 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14226 name.
14227 (standard_temp_file): Ditto.
14228 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14229 of $GDB_PARALLEL.
14230
14231 2015-07-24 Doug Evans <dje@google.com>
14232
14233 * lib/future.exp (gdb_default_target_compile): New option
14234 "early_flags".
14235 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
14236 --as-needed.
14237
14238 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
14239
14240 * gdb.base/catch-syscall.exp: Call gdb_exit before
14241 gdb_skip_xml_test.
14242
14243 2015-07-24 Pedro Alves <palves@redhat.com>
14244
14245 * gdb.python/py-events.exp: Accept output between the stop event
14246 and the prompt.
14247 * gdb.python/py-evsignal.exp: Likewise.
14248 * gdb.python/py-evthreads.exp: Likewise.
14249
14250 2015-07-24 Pedro Alves <palves@redhat.com>
14251
14252 PR gdb/18717
14253 * gdb.threads/non-ldr-exit.c: New file.
14254 * gdb.threads/non-ldr-exit.exp: New file.
14255
14256 2015-07-24 Yao Qi <yao.qi@linaro.org>
14257
14258 * gdb.server/ext-wrapper.exp: Test --wrapper option when
14259 restarting process.
14260
14261 2015-07-24 Yao Qi <yao.qi@linaro.org>
14262
14263 * gdb.server/ext-restart.exp: New file.
14264
14265 2015-07-24 Yao Qi <yao.qi@linaro.org>
14266
14267 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
14268 argument options.
14269 * gdb.server/ext-wrapper.exp: New file.
14270
14271 2015-07-23 Doug Evans <dje@google.com>
14272
14273 * gdb.dwarf2/dw2-dummy-cu.S: New file.
14274 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
14275
14276 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
14277
14278 * gdb.ada/var_arr_typedef.exp: New testcase.
14279 * gdb.ada/var_arr_typedef/pack.adb: New file.
14280 * gdb.ada/var_arr_typedef/pack.ads: New file.
14281 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
14282
14283 2015-07-20 Joel Brobecker <brobecker@adacore.com>
14284
14285 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
14286
14287 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14288
14289 * gdb.arch/i386-biarch-core.exp: Replace istarget
14290 by "complete set gnutarget". Remove expectation for the "core-file"
14291 command.
14292
14293 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14294
14295 Revert the previous commit:
14296 Tests for validate symbol file using build-id.
14297
14298 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
14299
14300 Tests for validate symbol file using build-id.
14301 * gdb.base/solib-mismatch-lib.c: New file.
14302 * gdb.base/solib-mismatch-libmod.c: New file.
14303 * gdb.base/solib-mismatch.c: New file.
14304 * gdb.base/solib-mismatch.exp: New file.
14305
14306 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
14307
14308 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
14309 nios2-*-linux*.
14310 * gdb.base/sigbpt.exp (stepi_out): Likewise.
14311 * gdb.base/siginfo.exp: Likewise.
14312 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14313
14314 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
14315
14316 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
14317 Move it to ...
14318 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
14319 ... here.
14320 * gdb.trace/range-stepping.exp: Check that the target supports
14321 range stepping.
14322
14323 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14324
14325 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14326
14327 2015-07-14 Pedro Alves <palves@redhat.com>
14328
14329 * gdb.base/killed-outside.exp: New file.
14330 * gdb.base/killed-outside.c: New file.
14331
14332 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14333
14334 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
14335 (n at main): New.
14336 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
14337
14338 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14339
14340 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
14341 infcall tests instead of setting up for KFAIL.
14342
14343 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
14344
14345 * gdb.btrace/record_goto-step.exp: New.
14346
14347 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14348
14349 PR compile/18484
14350 * gdb.compile/compile.c (struct struct_type): Add volatile to
14351 selffield's type.
14352 * gdb.compile/compile.exp
14353 (compile code struct_object.selffield = &struct_object): Skip further
14354 struct_object tests if this one xfails.
14355
14356 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
14357
14358 PR exp/18617
14359 * gdb.trace/ax.exp: Add test.
14360
14361 2015-07-07 Yao Qi <yao.qi@linaro.org>
14362
14363 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
14364 instead of istarget "aarch64*-*-*".
14365 * gdb.arch/aarch64-fp.exp: Likewise.
14366 * gdb.base/float.exp: Likewise.
14367 * gdb.reverse/aarch64.exp: Likewise.
14368 * lib/gdb.exp (is_aarch64_target): New proc.
14369
14370 2015-07-07 Yao Qi <yao.qi@linaro.org>
14371
14372 * lib/gdb.exp (is_aarch32_target): New proc.
14373 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
14374 instead of "istarget "arm*-*-*"".
14375 * gdb.arch/arm-disp-step.exp: Likewise.
14376 * gdb.arch/thumb-bx-pc.exp: Likewise.
14377 * gdb.arch/thumb-prologue.exp: Likewise.
14378 * gdb.arch/thumb-singlestep.exp: Likewise.
14379 * gdb.base/disp-step-syscall.exp: Likewise.
14380 * gdb.base/float.exp: Likewise.
14381
14382 2015-07-07 Yao Qi <yao.qi@linaro.org>
14383
14384 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
14385 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
14386
14387 2015-07-07 Yao Qi <yao.qi@linaro.org>
14388
14389 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
14390 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
14391 if it exists.
14392 * gdb.multi/multi-arch.exp: Likewise.
14393
14394 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
14395
14396 * gdb.python/py-lazy-string.exp: Add missing parentheses to
14397 print.
14398
14399 2015-07-07 Yao Qi <yao.qi@linaro.org>
14400
14401 * gdb.arch/thumb-singlestep.exp: Do one more single step.
14402
14403 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
14404
14405 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
14406 '[' and ']' characters.
14407
14408 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
14409
14410 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14411
14412 2015-06-29 Pedro Alves <palves@redhat.com>
14413
14414 PR threads/18127
14415 * gdb.threads/hand-call-new-thread.c: New file.
14416 * gdb.threads/hand-call-new-thread.c: New file.
14417
14418 2015-06-26 Keith Seitz <keiths@redhat.com>
14419 Doug Evans <dje@google.com>
14420
14421 PR 16253
14422 * gdb.cp/var-tag-2.cc: New file.
14423 * gdb.cp/var-tag-3.cc: New file.
14424 * gdb.cp/var-tag-4.cc: New file.
14425 * gdb.cp/var-tag.cc: New file.
14426 * gdb.cp/var-tag.exp: New file.
14427
14428 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14429
14430 * gdb.base/history-duplicates.exp: New test.
14431
14432 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14433
14434 * gdb.base/completion.exp: Test the completion of the "focus"
14435 command.
14436
14437 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14438
14439 * gdb.arch/amd64-prologue-skip.S: New file.
14440 * gdb.arch/amd64-prologue-skip.exp: New file.
14441
14442 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
14443
14444 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
14445 is_address_zero_readable check.
14446
14447 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
14448
14449 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
14450 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
14451
14452 2015-06-24 Yao Qi <yao.qi@linaro.org>
14453
14454 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
14455 linux targets.
14456
14457 2015-06-24 Yao Qi <yao.qi@linaro.org>
14458
14459 * lib/gdb.exp (supports_get_siginfo_type): New proc.
14460 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
14461 * gdb.base/siginfo-thread.exp: Likewise.
14462
14463 2015-06-22 Yao Qi <yao.qi@linaro.org>
14464
14465 * boards/remote-gdbserver-on-localhost.exp: Add comments.
14466
14467 2015-06-22 Yao Qi <yao.qi@linaro.org>
14468
14469 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
14470 aarch64*-*-*.
14471 (skip_hw_watchpoint_tests): Likewise.
14472
14473 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
14474
14475 * gdb.base/gdbinit-history.exp: Test the interaction between
14476 setting GDBHISTSIZE and setting the history size via .gdbinit.
14477
14478 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14479
14480 PR gdb/16999
14481 * gdb.base/gdbhistsize-history.exp: New test.
14482
14483 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14484
14485 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
14486 with GDBHISTSIZE.
14487 * gdb.base/readline.exp: Likewise.
14488
14489 2015-06-17 Yao Qi <yao.qi@linaro.org>
14490
14491 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
14492 line.
14493
14494 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14495
14496 * gdb.base/gdbinit-history.exp: Add test case to check that
14497 an unlimited history file does not get truncated on exit.
14498
14499 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14500
14501 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14502 (VECTOR): New macro. Use it...
14503 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14504 ...for these typedefs.
14505 (int8, char1, int1, double1): New typedefs.
14506 (struct just_int2, struct two_int2): New structures.
14507 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14508 (add_structvecs, add_singlevecs): New functions.
14509 (main): Call add_some_intvecs twice.
14510 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14511 the compile and exit upon failure. Try compiling for the "native"
14512 architecture. Test inferior function calls with vector arguments
14513 and vector return value handling with "finish" and "return".
14514
14515 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14516
14517 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14518 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14519 PE file.
14520 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14521
14522 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14523
14524 PR breakpoints/16465
14525 * gdb.mi/mi-dprintf-pending.c: New file.
14526 * gdb.mi/mi-dprintf-pending.exp: New test.
14527 * gdb.mi/mi-dprintf-pendshr.c: New file.
14528
14529 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14530 Mircea Gherzan <mircea.gherzan@intel.com>
14531
14532 * gdb.arch/i386-mpx-map.c: New file.
14533 * gdb.arch/i386-mpx-map.exp: New File.
14534
14535 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14536
14537 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14538 * gdb.arch/i386-mpx.exp: Indentation fixed.
14539
14540 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14541
14542 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14543 function and improved indentation.
14544 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14545 gdb_test_multiple. Added additional tests to skip the test.
14546
14547 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14548
14549 * gdb.arch/i386-avx512.c: Change path in include file.
14550 * gdb.arch/i386-avx512.exp: Change include dir path
14551 compilation flag.
14552 * gdb.arch/i386-mpx.c: Change path in include file.
14553 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14554 flag.
14555
14556 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14557
14558 * gdb.compile/compile-print.exp (compile print *vararray@3)
14559 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14560
14561 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14562
14563 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14564 (do not keep jit in memory): ... this.
14565 (expect 5): Change it to ...
14566 (expect no 5): ... this.
14567
14568 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14569
14570 PR gdb/15564
14571 * gdb.mi/mi-detach.exp: New file.
14572
14573 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14574
14575 PR symtab/18392
14576 * gdb.arch/amd64-tailcall-self.S: New file.
14577 * gdb.arch/amd64-tailcall-self.c: New file.
14578 * gdb.arch/amd64-tailcall-self.exp: New file.
14579
14580 2015-05-28 Don Breazeal <donb@codesourcery.com>
14581
14582 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14583 tests for remote targets by checking is_target_gdbserver.
14584
14585 2015-05-27 Doug Evans <dje@google.com>
14586
14587 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14588 * gdb.dwarf2/opaque-type-lookup.c: New file.
14589 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14590
14591 2015-05-26 Doug Evans <dje@google.com>
14592
14593 * gdb.cp/iostream.cc: New file.
14594 * gdb.cp/iostream.exp: New file.
14595
14596 2015-05-26 Doug Evans <dje@google.com>
14597
14598 * gdb.dwarf2/dw2-op-call.exp: Update.
14599 * gdb.dwarf2/dw4-sig-types.exp: Update.
14600 * gdb.dwarf2/implptr.exp: Update.
14601 * gdb.mi/mi-cmd-param-changed.exp: Update.
14602
14603 2015-05-26 Doug Evans <dje@google.com>
14604
14605 * gdb.python/py-lazy-string.c: New file.
14606 * gdb.python/py-lazy-string.exp: New file.
14607 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14608 (main): Update. Add estring3.
14609 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14610 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14611
14612 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14613 Yao Qi <yao.qi@linaro.org>
14614
14615 * gdb.reverse/aarch64.c: New.
14616 * gdb.reverse/aarch64.exp: New.
14617
14618 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14619
14620 * lib/gdb.exp (supports_process_record): Return true for
14621 aarch64*-linux*.
14622 (supports_reverse): Likewise.
14623
14624 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14625
14626 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14627 Use with_test_prefix.
14628
14629 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14630
14631 * gdb.base/completion.exp: Add test for completion of layout
14632 names.
14633
14634 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14635
14636 * lib/gdb.exp (skip_tui_tests): New proc.
14637 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14638
14639 2015-05-19 Pedro Alves <palves@redhat.com>
14640
14641 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14642 Save the whole env array instead of just HOME. Unset HISTSIZE in
14643 the environment while testing. Restore whole environment
14644 afterwards.
14645
14646 2015-05-16 Doug Evans <xdje42@gmail.com>
14647
14648 * gdb.guile/scm-ports.c: New file.
14649 * gdb.guile/scm-ports.exp: Add memory port tests.
14650
14651 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14652
14653 * gdb.compile/compile-print.c: New file.
14654 * gdb.compile/compile-print.exp: New file.
14655
14656 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14657
14658 * gdb.compile/compile-ops.exp: Cast param to void.
14659 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14660 (compile code struct_object.selffield = &struct_object): Add xfail.
14661
14662 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14663
14664 * gdb.ada/arr_enum_with_gap: New testcase.
14665
14666 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14667
14668 * gdb.ada/byte_packed_arr: New testcase.
14669
14670 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14671
14672 * gdb.ada/pckd_neg: New testcase.
14673
14674 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14675
14676 PR gdb/17820
14677 * gdb.base/gdbinit-history.exp: New test.
14678 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14679 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14680
14681 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14682
14683 * gdb.python/py-xmethods.cc: Enhance test case.
14684 * gdb.python/py-xmethods.exp: New tests.
14685 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14686 function.
14687 (B_indexoper): Likewise.
14688 (global_dm_list) : Add new xmethod worker functions.
14689
14690 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14691
14692 * gdb.base/coredump-filter.exp: Correctly unset
14693 "coredump_var_addr" array.
14694
14695 2015-05-08 Pedro Alves <palves@redhat.com>
14696
14697 * gdb.server/non-existing-program.exp: Unset spawn_id.
14698
14699 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14700
14701 PR python/18291
14702 * gdb.python/py-xmethods.exp: Add tests.
14703
14704 2015-05-08 Yao Qi <yao.qi@linaro.org>
14705
14706 PR gdb/18208
14707 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14708 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14709 function set_coredump_filter, and remove remote_exec call.
14710 Remove argument ipid. Callers update.
14711 (top level): Don't get inferior's PID.
14712
14713 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14714
14715 * gdb.base/watch_thread_num.exp: Skip test on targets without
14716 access watchpoints.
14717
14718 2015-05-06 Pedro Alves <palves@redhat.com>
14719
14720 PR server/18081
14721 * gdb.server/non-existing-program.exp: New file.
14722
14723 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14724
14725 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14726
14727 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14728
14729 * gdb.ada/out_of_line_in_inlined: New testcase.
14730
14731 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14732
14733 * gdb.ada/var_rec_arr: New testcase.
14734
14735 2015-04-30 Yao Qi <yao.qi@linaro.org>
14736
14737 * gdb.base/break-idempotent.exp: If
14738 skip_hw_watchpoint_multi_tests returns true, skip the tests
14739 on "rwatch" and "awatch".
14740
14741 2015-04-30 Yao Qi <yao.qi@linaro.org>
14742
14743 * gdb.base/relativedebug.exp: Invoke gdb command
14744 "info sharedlibrary", and if libc.so doesn't have debug info,
14745 skip the test.
14746
14747 2015-04-29 Doug Evans <dje@google.com>
14748
14749 * gdb.python/py-xmethods.exp: Add ptype tests.
14750 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14751 get_result_type method.
14752
14753 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14754
14755 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14756 the target does not support hardware watchpoints.
14757
14758 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14759
14760 * gdb.base/break-always.exp: Abort testing if writing to memory
14761 causes an error.
14762
14763 2015-04-28 Doug Evans <dje@google.com>
14764
14765 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14766 * gdb.python/py-pp-registration.exp: ... here. New file.
14767 * gdb.python/py-pp-registration.c: New file.
14768 * gdb.python/py-pp-registration.py: New file.
14769
14770 2015-04-28 Doug Evans <dje@google.com>
14771
14772 * gdb.python/py-bad-printers.c: New file.
14773 * gdb.python/py-bad-printers.py: New file.
14774 * gdb.python/py-bad-printers.exp: New file.
14775
14776 2015-04-28 Sasha Smundak <asmundak@google.com>
14777
14778 * gdb.python/py-type.exp: New test.
14779
14780 2015-04-28 Andy Wingo <wingo@igalia.com>
14781
14782 * gdb.python/py-parameter.exp:
14783 * gdb.guile/scm-parameter.exp: Escape the path that we are
14784 matching against, as it might contain characters that are special
14785 to regular expressions.
14786
14787 2015-04-27 Joel Brobecker <brobecker@adacore.com>
14788
14789 * gdb.ada/rec_comp: New testcase.
14790
14791 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14792
14793 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14794 before using it.
14795
14796 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14797
14798 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14799 new tests for verilog output.
14800
14801 2015-04-24 Yao Qi <yao.qi@linaro.org>
14802
14803 * boards/remote-gdbserver-on-localhost.exp: New file.
14804
14805 2015-04-23 Pedro Alves <palves@redhat.com>
14806
14807 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14808 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14809 "end of file", remove $inferior_spawn_id from the indirect list.
14810
14811 2015-04-23 Pedro Alves <palves@redhat.com>
14812
14813 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14814
14815 2015-04-23 Pedro Alves <palves@redhat.com>
14816
14817 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14818 on $any_spawn_id instead of only on $gdb_spawn_id.
14819
14820 2015-04-21 Pierre Muller <muller@sourceware.org>
14821
14822 PR pascal/17815
14823 * lib/pascal.exp (gpc_compile): Add new option "class".
14824 (fpc_compile): Likewise.
14825 * gdb.pascal/case-insensitive-symbols.pas: New file.
14826 * gdb.pascal/case-insensitive-symbols.exp: New file.
14827
14828 2015-04-20 Gary Benson <gbenson@redhat.com>
14829
14830 * gdb.base/attach.exp: Fix three extended remote failures.
14831
14832 2015-04-17 Gary Benson <gbenson@redhat.com>
14833
14834 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14835 the main executable over the remote protocol.
14836
14837 2015-04-16 Pedro Alves <palves@redhat.com>
14838
14839 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14840 a new gdbserver if gdbserver_reconnect_p is set.
14841
14842 2015-04-16 Pedro Alves <palves@redhat.com>
14843
14844 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14845 is set, don't exit gdbserver.
14846
14847 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14848
14849 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14850 appropriate .insn, such that an older assembler can be used.
14851 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14852 the z/Architecture instruction set on 31-bit targets as well.
14853
14854 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14855
14856 * gdb.go/handcall.exp: Remove all logic related to the first
14857 breakpoint and rely on go_runto_main instead.
14858 * gdb.go/strings.exp: Likewise.
14859 * gdb.go/unsafe.exp: Likewise.
14860 * gdb.go/hello.exp: Likewise. Also rename the remaining
14861 breakpoint marker to "breakpoint 1".
14862 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14863 * gdb.go/strings.go: Likewise.
14864 * gdb.go/unsafe.go: Likewise.
14865 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14866 "set breakpoint 2 here" and rename the remaining breakpoint marker
14867 to "breakpoint 1".
14868
14869 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14870
14871 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14872 if itertools.imap is not present.
14873 * gdb.python/py-objfile.exp: Add parentheses.
14874 * gdb.python/py-type.exp: Same.
14875 * gdb.python/py-unwind-maint.py: Same.
14876
14877 2015-04-15 Yao Qi <yao.qi@linaro.org>
14878
14879 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14880 of ":$ptr_size" and set its form explicitly.
14881
14882 2015-04-15 Pedro Alves <palves@redhat.com>
14883 Yao Qi <yao.qi@linaro.org>
14884
14885 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14886 timeout by factor of 4.
14887 (test_regular_watch): Likewise.
14888 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14889 * gdb.reverse/sigall-reverse.exp: Likewise.
14890 * gdb.reverse/until-precsave.exp: Likewise.
14891 * lib/gdb.exp (with_timeout_factor): New proc.
14892 (gdb_expect): Move some code to ...
14893 (get_largest_timeout): ... here. New procedure.
14894
14895 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
14896
14897 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14898
14899 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14900
14901 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14902 to write to the .text section.
14903
14904 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14905
14906 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14907 Handle the case of targets that do not provide PID information.
14908
14909 2015-04-13 Yao Qi <yao.qi@linaro.org>
14910
14911 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14912 and use expect instead of gdb_expect.
14913
14914 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14915
14916 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14917 "coredump_var_addr" to avoid naming conflict with other testcases.
14918
14919 2015-04-10 Pedro Alves <palves@redhat.com>
14920
14921 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14922 gdb_test_sequence and gdb_assert.
14923
14924 2015-04-10 Pedro Alves <palves@redhat.com>
14925
14926 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14927 test messages that don't include the breakpoint address.
14928
14929 2015-04-10 Yao Qi <yao.qi@linaro.org>
14930
14931 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14932 false for some offset and width combinations which aren't
14933 supported by linux kernel.
14934
14935 2015-04-10 Pedro Alves <palves@redhat.com>
14936
14937 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14938 procedure, factored out from ...
14939 (top level): ... here. Add "set displaced-stepping" testing axis.
14940 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14941 parameter "displaced". Use it.
14942 (top level): Use foreach and add "set displaced-stepping" testing
14943 axis.
14944
14945 2015-04-10 Pedro Alves <palves@redhat.com>
14946
14947 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14948 Remove comment.
14949 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14950 both the address of the instruction that triggers the watchpoint
14951 and the address of the instruction immediately after, and use
14952 those addresses for the test. Fix comment.
14953
14954 2015-04-10 Pedro Alves <palves@redhat.com>
14955
14956 * gdb.base/sigstep.exp (breakpoint_to_handler)
14957 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14958 Test "backtrace" in handler.
14959 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14960 (top level): Add new "displaced" test axis to
14961 breakpoint_to_handler, breakpoint_to_handler_entry and
14962 breakpoint_over_handler.
14963
14964 2015-04-10 Pedro Alves <palves@redhat.com>
14965
14966 PR gdb/18216
14967 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14968
14969 2015-04-10 Yao Qi <yao.qi@linaro.org>
14970
14971 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14972 (test_add_rn_pc): New function.
14973 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14974 (top level): Invoke test_add_rn_pc.
14975
14976 2015-04-10 Pedro Alves <palves@redhat.com>
14977
14978 PR gdb/13858
14979 * gdb.base/step-over-no-symbols.exp: New file.
14980
14981 2015-04-09 Andy Wingo <wingo@igalia.com>
14982
14983 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14984 after the Python tests.
14985
14986 2015-04-08 Keith Seitz <keiths@redhat.com>
14987
14988 PR python/16699
14989 * gdb.python/py-completion.exp: New tests for completion.
14990 * gdb.python/py-completion.py (CompleteLimit1): New class.
14991 (CompleteLimit2): Likewise.
14992 (CompleteLimit3): Likewise.
14993 (CompleteLimit4): Likewise.
14994 (CompleteLimit5): Likewise.
14995 (CompleteLimit6): Likewise.
14996 (CompleteLimit7): Likewise.
14997
14998 2015-04-08 Pedro Alves <palves@redhat.com>
14999
15000 PR gdb/18214
15001 PR gdb/18216
15002 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15003 function.
15004 (main): Install it as SIGUSR1 handler.
15005 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15006 parameter. Always use "setup" as prefix. Toggle "set
15007 displaced-stepping" off/on depending on global. Don't switch to
15008 thread 1 here.
15009 (top level): Add displaced stepping "off/on" test axis. Update
15010 "setup" calls. Wrap each subtest with with_test_prefix. Test
15011 continuing with a queued signal in each thread.
15012
15013 2015-04-08 Pedro Alves <palves@redhat.com>
15014
15015 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15016 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15017 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15018 Return early if running to main fails.
15019 * gdb.trace/while-stepping.exp: Likewise.
15020
15021 2015-04-07 Pedro Alves <palves@redhat.com>
15022
15023 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15024 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15025 interact with inferior program.
15026
15027 2015-04-07 Pedro Alves <palves@redhat.com>
15028
15029 * lib/gdb.exp (inferior_spawn_id): New global.
15030 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15031 spawn id after processing the user code.
15032 (default_gdb_start): Set inferior_spawn_id.
15033 (send_inferior): New procedure.
15034 * lib/gdbserver-support.exp (gdbserver_start): Set
15035 inferior_spawn_id.
15036 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15037
15038 2015-04-07 Pedro Alves <palves@redhat.com>
15039
15040 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15041 * lib/gdbserver-support.exp (gdbserver_start): Make
15042 $server_spawn_id global.
15043 (gdbserver_start): Don't wait for gdbserver's spawn id with
15044 expect_background.
15045 (close_gdbserver): New procedure.
15046 (gdb_exit): Rename the default version and reimplement.
15047
15048 2015-04-07 Pedro Alves <palves@redhat.com>
15049
15050 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
15051 append the substituted item, not the original item.
15052
15053 2015-04-07 Pedro Alves <palves@redhat.com>
15054
15055 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15056 gdb_expect.
15057
15058 2015-04-07 Pedro Alves <palves@redhat.com>
15059
15060 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15061 output appearing once only.
15062
15063 2015-04-07 Pedro Alves <palves@redhat.com>
15064
15065 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15066 that doesn't expect anything. Return early if running to main
15067 fails.
15068
15069 2015-04-07 Yao Qi <yao.qi@linaro.org>
15070
15071 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15072 (child_function): Call alarm.
15073 (main): Move call to alarm into the loop.
15074 * gdb.threads/non-stop-fair-events.exp: Build program with
15075 -DTIMEOUT=$timeout.
15076
15077 2015-04-06 Doug Evans <xdje42@gmail.com>
15078
15079 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15080 Fix dest parameter to board_info.
15081 (fpc_compile): Ditto.
15082 (gdb_compile_pascal): Rename dest arg to destfile.
15083
15084 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15085
15086 * gdb.ada/funcall_ref.exp: New file.
15087 * gdb.ada/funcall_ref/foo.adb: New file.
15088
15089 2015-04-02 Yao Qi <yao.qi@linaro.org>
15090
15091 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15092 is remote.
15093
15094 2015-04-02 Gary Benson <gbenson@redhat.com>
15095
15096 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15097
15098 2015-04-01 Sasha Smundak <asmundak@google.com>
15099
15100 * gdb.python/py-unwind-maint.c: New file.
15101 * gdb.python/py-unwind-maint.exp: New test.
15102 * gdb.python/py-unwind-maint.py: New file.
15103 * gdb.python/py-unwind.c: New file.
15104 * gdb.python/py-unwind.exp: New test.
15105 * gdb.python/py-unwind.py: New test.
15106
15107 2015-04-01 Pedro Alves <palves@redhat.com>
15108
15109 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15110 to fail instead of non-existent $test.
15111
15112 2015-04-01 Pedro Alves <palves@redhat.com>
15113
15114 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15115 GDBFLAGS if not empty.
15116
15117 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15118
15119 * gdb.ada/complete.exp: Remove "multi_line".
15120 * gdb.ada/info_exc.exp: Remove "multi_line".
15121 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15122 * gdb.ada/ptype_field.exp: Remove "multi_line".
15123 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15124 * gdb.ada/tagged.exp: Remove "multi_line".
15125 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15126 [multi_line ...]
15127 * gdb.btrace/delta.exp: Likewise.
15128 * gdb.btrace/exception.exp: Likewise.
15129 * gdb.btrace/function_call_history.exp: Likewise.
15130 * gdb.btrace/instruction_history.exp: Likewise.
15131 * gdb.btrace/nohist.exp: Likewise.
15132 * gdb.btrace/record_goto.exp: Likewise.
15133 * gdb.btrace/segv.exp: Likewise.
15134 * gdb.btrace/stepi.exp: Likewise.
15135 * gdb.btrace/tailcall.exp: Likewise.
15136 * gdb.btrace/unknown_functions.exp: Likewise.
15137 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15138 * lib/gdb.exp: Add the "multi_line" helper.
15139
15140 2015-04-01 Pedro Alves <palves@redhat.com>
15141
15142 * gdb.threads/tid-reuse.c: New file.
15143 * gdb.threads/tid-reuse.exp: New file.
15144
15145 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15146
15147 PR corefiles/16092
15148 * gdb.base/coredump-filter.c: New file.
15149 * gdb.base/coredump-filter.exp: Likewise.
15150
15151 2015-03-27 Petr Machata <pmachata@redhat.com>
15152
15153 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15154 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15155 (Dwarf::assemble): Initialize them.
15156 (Dwarf::lines): New function.
15157
15158 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15159
15160 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15161 SYMBOL_PREFIX for x86_64-*-cygwin.
15162
15163 2015-03-26 Andy Wingo <wingo@igalia.com>
15164
15165 PR symtab/18148
15166 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15167 const_value but not a location.
15168 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15169 location defined in non-main CUs are visible.
15170
15171 2015-03-26 Yao Qi <yao.qi@linaro.org>
15172
15173 PR testsuite/18139
15174 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15175 Add a line number entry for the same line.
15176 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15177 Add a line number entry for the same line.
15178
15179 2015-03-26 Yao Qi <yao.qi@linaro.org>
15180
15181 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15182 .int 0.
15183 (func): Likewise. Add .Lfunc_1 label.
15184 Use .Lfunc_1 label.
15185 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15186 .int 0.
15187 (func): Likewise.
15188 Use .Lfunc_1 label.
15189
15190 2015-03-26 Yao Qi <yao.qi@linaro.org>
15191
15192 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15193 Call gdb_compile instead to compile each .s files without debug
15194 information.
15195
15196 2015-03-26 Yao Qi <yao.qi@linaro.org>
15197
15198 * gdb.base/savedregs.exp (process_saved_regs): Make
15199 "Saved registers:" optional in the pattern.
15200
15201 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15202
15203 * gdb.btrace/next.exp: Merged into step.exp.
15204 * gdb.btrace/finish.exp: Merged into step.exp.
15205 * gdb.btrace/nexti.exp: Merged into stepi.exp.
15206 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
15207 "record goto" and checking the exact replay position.
15208 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
15209 check for "Recording format" in "info record" output.
15210 * gdb.btrace/record_goto.exp: Choose test file based on target.
15211 * gdb.btrace/x86-record_goto.S: Renamed into ...
15212 * gdb.btrace/x86_64-record_goto.S: ... this.
15213 * gdb.btrace/i686-record_goto.S: New.
15214 * gdb.btrace/x86-tailcall.S: Renamed into ...
15215 * gdb.btrace/x86_64-tailcall.S: ... this.
15216 * gdb.btrace/i686-tailcall.S: New.
15217 * gdb.btrace/x86-tailcall.c: Renamed into ...
15218 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
15219 separate statements. Update test.
15220 * gdb.btrace/delta.exp: Use record_goto.c as test file.
15221 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
15222 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
15223 * gdb.btrace/tailcall.exp: Choose test file based on target.
15224 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
15225
15226 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15227
15228 * gdb.btrace/exception.exp: Increase BTS buffer size.
15229
15230 2015-03-24 Pedro Alves <palves@redhat.com>
15231
15232 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
15233
15234 2015-03-24 Pedro Alves <palves@redhat.com>
15235
15236 * gdb.threads/schedlock.exp (test_step): No longer expect that
15237 "set scheduler-locking step" with "next" over a function call runs
15238 threads unlocked.
15239
15240 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15241
15242 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
15243
15244 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15245
15246 PR breakpoints/16466
15247 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
15248 * gdb.mi/mi-pending.c (thread_func): New function.
15249 (int main): Add threading support required.
15250 * gdb.mi/mi-pending.exp: Add tests for this issue.
15251 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
15252 (pendfunc2): Remove stdio dependency.
15253 * gdb.mi/mi-pendshr2.c: New file.
15254
15255 2015-03-23 Keith Seitz <keiths@redhat.com>
15256
15257 * gdb.linespec/keywords.c: New file.
15258 * gdb.linespec/keywords.exp: New file.
15259
15260 2015-03-23 Keith Seitz <keiths@redhat.com>
15261
15262 PR gdb/18021
15263 * gdb.dwarf2/staticvirtual.exp: New test.
15264
15265 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15266
15267 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
15268 * README: Remove HP-UX and gdb.hp.
15269 (configuration):
15270 * configure: Regenerate.
15271 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
15272 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
15273 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
15274 gdb.hp/gdb.defects/Makefile.
15275 * gdb.hp/Makefile.in: File deleted.
15276 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
15277 * gdb.hp/gdb.aCC/optimize.c: File deleted.
15278 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
15279 * gdb.hp/gdb.aCC/run.c: File deleted.
15280 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
15281 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
15282 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
15283 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
15284 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
15285 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
15286 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
15287 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
15288 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
15289 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
15290 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
15291 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
15292 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
15293 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
15294 * gdb.hp/gdb.base-hp/reg.s: File deleted.
15295 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
15296 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
15297 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
15298 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
15299 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
15300 * gdb.hp/gdb.compat/Makefile.in: File deleted.
15301 * gdb.hp/gdb.compat/average.c: File deleted.
15302 * gdb.hp/gdb.compat/sum.c: File deleted.
15303 * gdb.hp/gdb.compat/xdb.c: File deleted.
15304 * gdb.hp/gdb.compat/xdb0.c: File deleted.
15305 * gdb.hp/gdb.compat/xdb0.h: File deleted.
15306 * gdb.hp/gdb.compat/xdb1.c: File deleted.
15307 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
15308 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
15309 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
15310 * gdb.hp/gdb.defects/Makefile.in: File deleted.
15311 * gdb.hp/gdb.defects/bs14602.c: File deleted.
15312 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
15313 * gdb.hp/gdb.defects/solib-d.c: File deleted.
15314 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
15315 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
15316 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
15317 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
15318 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
15319 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
15320 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
15321 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
15322 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
15323 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
15324 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
15325 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
15326 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
15327 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
15328 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
15329 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
15330 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
15331 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
15332 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
15333 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
15334 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
15335 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
15336 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
15337 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
15338 * gdb.hp/tools/odump: File deleted.
15339
15340 2015-03-19 Pedro Alves <palves@redhat.com>
15341
15342 * gdb.threads/continue-pending-status.exp (saw_thread_2)
15343 (saw_thread_3): New globals.
15344 (top level): Increment them when an event for the corresponding
15345 thread is seen.
15346 (no thread starvation): New test.
15347
15348 2015-03-19 Pedro Alves <palves@redhat.com>
15349
15350 * gdb.threads/continue-pending-status.c: New file.
15351 * gdb.threads/continue-pending-status.exp: New file.
15352
15353 2015-03-18 Pedro Alves <palves@redhat.com>
15354
15355 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15356 Use gdb_is_target_remote instead of is_remote. Use
15357 gdb_test_multiple instead of gdb_expect. Exit early if
15358 gdb_test_multiple hits its internal matches. Tighten stepi tests
15359 expected output. Fail on exit with any signal, instead of just
15360 SIGILL.
15361
15362 2015-03-18 Yao Qi <yao.qi@linaro.org>
15363
15364 PR tdep/18107
15365 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
15366 variable.
15367 * gdb.base/catch-syscall.exp: Don't skip it on
15368 aarch64*-*-linux* target. Remove elements in all_syscalls.
15369 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
15370 target.
15371 (setup_all_syscalls): New proc.
15372
15373 2015-03-16 Yao Qi <yao.qi@linaro.org>
15374
15375 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
15376 (top level): Skip tests if valid_addr_p returns false for
15377 $cmd1 or $cmd2.
15378
15379 2015-03-11 Andy Wingo <wingo@igalia.com>
15380
15381 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
15382
15383 2015-03-11 Yao Qi <yao.qi@linaro.org>
15384
15385 * gdb.base/catch-syscall.exp: Fix typo in comments.
15386
15387 2015-03-11 Yao Qi <yao.qi@linaro.org>
15388
15389 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
15390
15391 2015-03-09 Pedro Alves <palves@redhat.com>
15392
15393 * dg-extract-results.py: Delete.
15394
15395 2015-03-09 Pedro Alves <palves@redhat.com>
15396
15397 Merge dg-extract-results.sh from GCC upstream (r218843).
15398
15399 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
15400 * dg-extract-results.sh: Use --text with grep to avoid issues with
15401 binary files. Fall back to cat -v, if that doesn't work.
15402
15403 2015-03-05 Pedro Alves <palves@redhat.com>
15404
15405 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
15406
15407 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
15408
15409 * lib/mi-support.exp (mi_expect_interrupt): Accept
15410 alternative event for when in all-stop mode.
15411
15412 2015-03-04 Pedro Alves <palves@redhat.com>
15413
15414 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
15415
15416 2015-03-04 Mark Kettenis <kettenis@gnu.org>
15417
15418 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
15419
15420 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15421
15422 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
15423 regexps for GDB's current line display, accept a hex address
15424 preceding the line number.
15425
15426 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15427
15428 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
15429 the 'arch1' variable for "s390*-linux*" targets.
15430
15431 2015-03-04 Pedro Alves <palves@redhat.com>
15432
15433 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
15434 (main): Pass missing retval argument to pthread_join call.
15435
15436 2015-03-02 Pedro Alves <palves@redhat.com>
15437
15438 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
15439 (top level): Call do_test with non-stop as well.
15440
15441 2015-03-02 Pedro Alves <palves@redhat.com>
15442
15443 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
15444 -1.
15445
15446 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15447
15448 * gdb.arch/s390-vregs.exp: New test.
15449 * gdb.arch/s390-vregs.S: New file.
15450
15451 2015-02-27 Pedro Alves <palves@redhat.com>
15452
15453 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
15454 call to catch_command_errors.
15455 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
15456 catch_command_errors.
15457
15458 2015-02-27 Pedro Alves <palves@redhat.com>
15459
15460 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
15461 "true" for boolean result.
15462 * gdb.gdb/selftest.exp (test_with_self): Also accept full
15463 prototype of main.
15464
15465 2015-02-27 Pedro Alves <palves@redhat.com>
15466
15467 * lib/unbuffer_output.c: New file.
15468 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
15469 (main): Call gdb_unbuffer_output.
15470
15471 2015-02-27 Yao Qi <yao.qi@linaro.org>
15472
15473 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
15474 target.
15475
15476 2015-02-26 Doug Evans <dje@google.com>
15477
15478 * gdb.cp/class2.cc (Dbase, D): New classes.
15479 (main): New local delta.
15480 * gdb.cp/class2.exp: Test printing delta.
15481 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
15482 (dynbar): New global.
15483 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
15484
15485 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15486
15487 * gdb.compile/compile-ifunc.c: New file.
15488 * gdb.compile/compile-ifunc.exp: New file.
15489
15490 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
15491
15492 * gdb.base/structs.exp: Check for correct struct on finish.
15493
15494 2015-02-26 Yao Qi <yao.qi@linaro.org>
15495
15496 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15497 is zero.
15498
15499 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15500
15501 * gdb.arch/cordic.ko.bz2: New file.
15502 * gdb.arch/cordic.ko.debug.bz2: New file.
15503 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15504
15505 2015-02-25 Yao Qi <yao.qi@linaro.org>
15506
15507 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15508 aarch64*-*-* target.
15509
15510 2015-02-23 Pedro Alves <palves@redhat.com>
15511
15512 * lib/gdb.exp (delete_breakpoints): Rewrite using
15513 gdb_test_multiple.
15514
15515 2015-02-23 Pedro Alves <palves@redhat.com>
15516
15517 * gdb.base/info-os.c: Include stdlib.h.
15518
15519 2015-02-22 Doug Evans <xdje42@gmail.com>
15520
15521 PR symtab/17855
15522 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15523 is read after symbols have been re-read.
15524 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15525 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15526
15527 2015-02-21 Doug Evans <dje@google.com>
15528
15529 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15530
15531 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15532
15533 PR corefiles/17808
15534 * gdb.arch/i386-biarch-core.core.bz2: New file.
15535 * gdb.arch/i386-biarch-core.exp: New file.
15536
15537 2015-02-21 Pedro Alves <palves@redhat.com>
15538
15539 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15540 runto_main fails.
15541
15542 2015-02-20 Pedro Alves <palves@redhat.com>
15543
15544 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15545 info probes.
15546
15547 2015-02-20 Pedro Alves <palves@redhat.com>
15548
15549 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15550
15551 2015-02-20 Pedro Alves <palves@redhat.com>
15552
15553 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15554 clean_restart before gdb_target_supports_trace.
15555
15556 2015-02-20 Pedro Alves <palves@redhat.com>
15557
15558 PR threads/18006
15559 * gdb.threads/clone-thread_db.c: New file.
15560 * gdb.threads/clone-thread_db.exp: New file.
15561
15562 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15563
15564 PR breakpoints/16812
15565 * gdb.base/catch-gdb-caused-signals.c: New file.
15566 * gdb.base/catch-gdb-caused-signals.exp: New file.
15567
15568 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15569
15570 * configure: Regenerated.
15571 * configure.ac: Use GDB_AC_TRANSFORM.
15572 * aclocal.m4: sinclude ../transform.m4.
15573
15574 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15575
15576 * lib/dtrace.exp: New file.
15577 * gdb.base/dtrace-probe.exp: Likewise.
15578 * gdb.base/dtrace-probe.d: Likewise.
15579 * gdb.base/dtrace-probe.c: Likewise.
15580 * lib/pdtrace.in: Likewise.
15581 * configure.ac: Output variables with the transformed names of
15582 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15583 * configure: Regenerated.
15584
15585 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15586
15587 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15588 expected message when trying to access $_probe_* convenience
15589 variables while not on a probe.
15590
15591 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15592
15593 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15594
15595 2015-02-11 Pedro Alves <pedro@codesourcery.com>
15596
15597 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15598 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15599
15600 2015-02-10 Doug Evans <xdje42@gmail.com>
15601
15602 * lib/gdb.exp (gdb_load): Always return a result.
15603
15604 2015-02-10 Pedro Alves <palves@redhat.com>
15605
15606 * gdb.threads/signal-sigtrap.c: New file.
15607 * gdb.threads/signal-sigtrap.exp: New file.
15608
15609 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15610
15611 * gdb.trace/no-attach-trace.c: New file.
15612 * gdb.trace/no-attach-trace.exp: New file.
15613
15614 2015-02-09 Mark Wielaard <mjw@redhat.com>
15615
15616 * gdb.dwarf2/atomic.c: New file.
15617 * gdb.dwarf2/atomic-type.exp: Likewise.
15618
15619 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15620
15621 * gdb.btrace/buffer-size.exp: Update "info record" output.
15622 * gdb.btrace/delta.exp: Update "info record" output.
15623 * gdb.btrace/enable.exp: Update "info record" output.
15624 * gdb.btrace/finish.exp: Update "info record" output.
15625 * gdb.btrace/instruction_history.exp: Update "info record" output.
15626 * gdb.btrace/next.exp: Update "info record" output.
15627 * gdb.btrace/nexti.exp: Update "info record" output.
15628 * gdb.btrace/step.exp: Update "info record" output.
15629 * gdb.btrace/stepi.exp: Update "info record" output.
15630 * gdb.btrace/nohist.exp: Update "info record" output.
15631
15632 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15633
15634 * gdb.btrace/buffer-size: New.
15635
15636 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15637
15638 * gdb.btrace/delta.exp: Update "info record" output.
15639 * gdb.btrace/enable.exp: Update "info record" output.
15640 * gdb.btrace/finish.exp: Update "info record" output.
15641 * gdb.btrace/instruction_history.exp: Update "info record" output.
15642 * gdb.btrace/next.exp: Update "info record" output.
15643 * gdb.btrace/nexti.exp: Update "info record" output.
15644 * gdb.btrace/step.exp: Update "info record" output.
15645 * gdb.btrace/stepi.exp: Update "info record" output.
15646 * gdb.btrace/nohist.exp: Update "info record" output.
15647
15648 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15649
15650 PR gdb/15678
15651 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15652
15653 2015-02-06 Pedro Alves <palves@redhat.com>
15654
15655 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15656 macro.
15657 (seconds_left, again): New globals.
15658 (main): Wait seconds_left in a 1-second sleep loop instead of
15659 sleeping 180 seconds. If 'again' is set, reset the seconds
15660 counter.
15661 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15662 'again' in the inferior before detaching. Print the seconds left.
15663 (options): New global.
15664 (top level): Build program with -DTIMEOUT=$timeout.
15665
15666 2015-02-06 Pedro Alves <palves@redhat.com>
15667
15668 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15669 determine how many seconds to pass to 'alarm'.
15670 * gdb.base/gdb-sigterm.exp (top level): Build program with
15671 -DTIMEOUT=$timeout.
15672 (do_test): Return success/failure indication. Add more verbose
15673 logging. Don't fail if 200 single steps are seen. Instead, fail
15674 when the test times out.
15675 (passes): New global.
15676 (top level): Break the testing loop if testing fails on any
15677 iteration. Use gdb_assert.
15678
15679 2015-02-04 Don Breazeal <donb@codesourcery.com>
15680
15681 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15682 and initialize them.
15683 (ipc_cleanup): New function.
15684 (main): Don't declare shmid, semid, and msqid. Add a call to
15685 atexit so that we call ipc_cleanup on exit.
15686
15687 2015-02-04 Pedro Alves <palves@redhat.com>
15688
15689 * boards/native-extended-gdbserver.exp: Remove any target variant
15690 specifications from the board name before clearing the isremote
15691 flag from board_info.
15692
15693 2015-01-31 Doug Evans <xdje42@gmail.com>
15694
15695 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15696
15697 2015-01-31 Gary Benson <gbenson@redhat.com>
15698
15699 * gdb.base/completion.exp: Disable completion limiting for
15700 existing tests. Add new tests to check completion limiting.
15701 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15702
15703 2015-01-31 Doug Evans <xdje42@gmail.com>
15704
15705 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15706
15707 2015-01-31 Doug Evans <xdje42@gmail.com>
15708
15709 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15710 entries. Duplicate file section script entries.
15711 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15712 inlined entries. Add test for safe-path rejection.
15713 * gdb.python/py-section-script.c: Add duplicate inlined section script
15714 entries. Duplicate file section script entries.
15715 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15716 inlined entries. Add test for safe-path rejection.
15717
15718 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15719
15720 * gdb.ada/disc_arr_bound: New testcase.
15721
15722 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15723
15724 * gdb.ada/mi_var_array: New testcase.
15725
15726 2015-01-27 Doug Evans <dje@google.com>
15727
15728 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15729 Add test for objfile.filename, objfile.username after objfile
15730 has been unloaded.
15731
15732 2015-01-26 Joel Brobecker <brobecker@adacore.com>
15733
15734 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15735 the second test to print the name attribute of value
15736 returned by the call to gdb.lookup_type, and adjust
15737 the expected output accordingly.
15738
15739 2015-01-25 Mark Wielaard <mjw@redhat.com>
15740
15741 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15742 * gdb.base/disp-step-fork.c: Include unistd.h.
15743 * gdb.base/siginfo-obj.c: Include stdio.h.
15744 * gdb.base/siginfo-thread.c: Likewise.
15745 * gdb.mi/non-stop.c: Include unistd.h.
15746 * gdb.mi/nsthrexec.c: Include stdio.h.
15747 * gdb.mi/pthreads.c: Include unistd.h.
15748 * gdb.modula2/unbounded1.c (main): Declare returns int.
15749 * gdb.reverse/consecutive-reverse.c: Likewise.
15750 * gdb.threads/create-fail.c: Include unistd.h.
15751 * gdb.threads/killed.c: Likewise.
15752 * gdb.threads/linux-dp.c: Likewise.
15753 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15754 * gdb.threads/non-ldr-exc-2.c: Likewise.
15755 * gdb.threads/non-ldr-exc-3.c: Likewise.
15756 * gdb.threads/non-ldr-exc-4.c: Likewise.
15757 * gdb.threads/pthreads.c: Include unistd.h.
15758 (main): Declare returns int.
15759 * gdb.threads/tls-main.c (foo): New declaration.
15760 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15761
15762 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15763
15764 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15765 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15766
15767 2015-01-15 Mark Wielaard <mjw@redhat.com>
15768
15769 * gdb.base/noreturn-return.c: New file.
15770 * gdb.base/noreturn-return.exp: New file.
15771 * gdb.base/noreturn-finish.c: New file.
15772 * gdb.base/noreturn-finish.exp: New file.
15773
15774 2015-01-23 Pedro Alves <palves@redhat.com>
15775
15776 * gdb.threads/continue-pending-after-query.c: New file.
15777 * gdb.threads/continue-pending-after-query.exp: New file.
15778
15779 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15780 Simon Marchi <simon.marchi@ericsson.com>
15781
15782 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15783 * gdb.base/valgrind-db-attach.exp: Same.
15784 * gdb.base/valgrind-infcall.exp: Same.
15785 * lib/mi-support.exp (default_mi_gdb_start): Same.
15786 * lib/prompt.exp (default_prompt_gdb_start): Same.
15787 * lib/gdb.exp (default_gdb_spawn): Same.
15788 (gdb_interact): New.
15789
15790
15791 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15792
15793 * gdb.compile/compile.exp (pointer to jit function): New test.
15794
15795 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
15796
15797 * lib/gdb.exp (supports_process_record): Return true for
15798 powerpc*-*-linux*.
15799 (supports_reverse): Likewise.
15800
15801 2015-01-15 Don Breazeal <donb@codesourcery.com>
15802
15803 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15804 instead of checking whether the target board is remote and
15805 use spawn_wait_for_attach instead of exec/sleep.
15806 * gdb.base/attach-twice.exp: Likewise.
15807
15808 2015-01-15 Joel Brobecker <brobecker@adacore.com>
15809
15810 * gdb.ada/var_arr_attrs: New testcase.
15811
15812 2015-01-14 Pedro Alves <palves@redhat.com>
15813 Joel Brobecker <brobecker@adacore.com>
15814
15815 PR gdb/17525
15816 * gdb.base/bp-cmds-execution-x-script.c: New file.
15817 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15818 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15819
15820 2015-01-14 Pedro Alves <palves@redhat.com>
15821
15822 PR cli/17828
15823 * gdb.base/batch-preserve-term-settings.c: New file.
15824 * gdb.base/batch-preserve-term-settings.exp: New file.
15825
15826 2015-01-13 Doug Evans <dje@google.com>
15827
15828 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15829 binary.
15830
15831 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15832
15833 * Makefile.in (clean mostlyclean): Do not delete *.py.
15834
15835 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15836
15837 * gdb.python/py-lookup-type.exp: New file.
15838
15839 2015-01-12 Pedro Alves <palves@redhat.com>
15840
15841 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15842 restore GDBFLAGS before returning.
15843
15844 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15845
15846 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15847 is_amd64_regs_target and is_x86_like_target.
15848
15849 2015-01-11 Doug Evans <xdje42@gmail.com>
15850
15851 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15852 is given without an explicit form.
15853 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15854 attributes.
15855 * gdb.dwarf/corrupt.exp: Ditto.
15856 * gdb.dwarf2/enum-type.exp: Ditto.
15857 * gdb.trace/entry-values.exp: Ditto.
15858 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15859
15860 2015-01-11 Doug Evans <xdje42@gmail.com>
15861
15862 PR gdb/15830
15863 * gdb.base/maint.exp: Remove references to "maint demangle".
15864 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15865 Add tests for explicitly specifying language to demangle.
15866 * gdb.dlang/demangle.exp: Ditto.
15867
15868 2015-01-09 Pedro Alves <palves@redhat.com>
15869
15870 * gdb.threads/non-stop-fair-events.c: New file.
15871 * gdb.threads/non-stop-fair-events.exp: New file.
15872
15873 2015-01-09 Pedro Alves <palves@redhat.com>
15874
15875 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15876 the global scope. Set a breakpoint after all threads are started
15877 rather than stepping over two source lines. Expect the prompt.
15878 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15879 global.
15880 (NUM): Now 15.
15881 (main): Use threads_started_barrier to wait for all threads to
15882 start. Main thread no longer calls thread_function. Exit after
15883 180 seconds.
15884 (loop): New function.
15885 (thread_function): Wait on threads_started_barrier barrier. Call
15886 'loop' at each iteration.
15887 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15888 threads have started, instead of hardcoding number of "next"
15889 steps. Use an access watchpoint instead of a write watchpoint.
15890
15891 2015-01-09 Pedro Alves <palves@redhat.com>
15892
15893 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15894 (thread_func): Wait on barrier.
15895 (main): Wait for all threads to start before stopping GDB.
15896 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15897 global.
15898 (thread1_func, thread2_func): Wait on barrier.
15899 (main): Wait for all threads to start before stopping GDB.
15900 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15901 New global.
15902 (thread1_func, thread2_func): Wait on barrier.
15903 (main): Wait for all threads to start before stopping GDB.
15904
15905 2015-01-09 Pedro Alves <palves@redhat.com>
15906
15907 * gdb.threads/attach-many-short-lived-threads.c: New file.
15908 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15909
15910 2014-01-09 Pedro Alves <palves@redhat.com>
15911
15912 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15913 instead of to thread 2.
15914 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15915 Add barrier around each pthread_create call instead of around all
15916 calls.
15917 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15918 Set a break on thread_function and have the child threads hit it
15919 one at at a time.
15920
15921 2015-01-09 Pedro Alves <palves@redhat.com>
15922
15923 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15924 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15925 false.
15926 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15927 checking whether the target board is remote.
15928 * gdb.multi/multi-attach.exp: Likewise.
15929 * gdb.python/py-sync-interp.exp: Likewise.
15930 * gdb.server/ext-attach.exp: Likewise.
15931 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15932 tests that need to attach, instead of checking whether the target
15933 board is remote at the top of the file.
15934
15935 2015-01-08 Yao Qi <yao@codesourcery.com>
15936
15937 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15938
15939 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15940
15941 Fix testcase compilation.
15942 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15943
15944 2015-01-06 Joel Brobecker <brobecker@adacore.com>
15945
15946 * gdb.python/py-type.exp: Add a couple test about empty
15947 array creation, and negative-length array creation.
15948
15949 2015-01-02 Doug Evans <xdje42@gmail.com>
15950
15951 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15952
15953 2015-01-02 Doug Evans <dje@google.com>
15954
15955 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15956
15957 2014-12-29 Yao Qi <yao@codesourcery.com>
15958
15959 * gdb.trace/entry-values.exp: Update comments. Rename variable
15960 bar_call_foo to returned_from_foo.
15961
15962 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15963
15964 PR gdb/17394
15965 * gdb.linespec/break-asm-file.c: New file.
15966 * gdb.linespec/break-asm-file.exp: New file.
15967 * gdb.linespec/break-asm-file0.s: New file.
15968 * gdb.linespec/break-asm-file1.s: New file.
15969
15970 2014-12-18 Nigel Stephens <nigel@mips.com>
15971 Maciej W. Rozycki <macro@codesourcery.com>
15972
15973 * gdb.base/float.exp: Handle the new output from "info float" on
15974 MIPS targets.
15975
15976 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15977
15978 Fix MinGW compilation.
15979 * gdb.compile/compile-ops.exp: Update untested message if
15980 !skip_compile_feature_tests.
15981 * gdb.compile/compile-setjmp.exp: Likewise.
15982 * gdb.compile/compile-tls.exp: Likewise.
15983 * gdb.compile/compile.exp: Likewise.
15984 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15985 supported on this host".
15986
15987 2014-12-16 Doug Evans <xdje42@gmail.com>
15988
15989 * boards/stabs.exp: New file.
15990
15991 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15992
15993 * gdb.base/completion.exp: Adjust to format changes of "maint
15994 print user-registers".
15995
15996 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15997
15998 PR server/17457
15999 * gdb.arch/aarch64-fp.c: New file.
16000 * gdb.arch/aarch64-fp.exp: New file.
16001
16002 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16003
16004 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16005 r210637, r210913, r211666, r215400, r215817).
16006
16007 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16008 * dg-extract-results.py: New file.
16009 * dg-extract-results.sh: Use it if the environment seems
16010 suitable.
16011
16012 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16013
16014 * dg-extract-results.py (parse_run): Handle warnings that
16015 are printed before a test harness is run.
16016
16017 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16018
16019 * dg-extract-results.py (Named): Remove __cmp__ method.
16020 (output_variation): Use a key to sort variation.harnesses.
16021
16022 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16023
16024 * dg-extract-results.py: For Python 3, force sys.stdout to
16025 handle surrogate escape sequences.
16026 (safe_open): New function.
16027 (output_segment, main): Use it.
16028
16029 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16030
16031 * dg-extract-results.py (Prog.result_re): Include options
16032 in test name.
16033
16034 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16035
16036 * dg-extract-results.py (output_variation): Always sort if
16037 do_sum.
16038
16039 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16040
16041 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16042 as long as we get pagination notifications.
16043
16044 2014-12-15 Jason Merrill <jason@redhat.com>
16045
16046 * Makefile.in (check-gdb.%): Restore.
16047 * README: Mention it.
16048
16049 2014-12-13 Joel Brobecker <brobecker@adacore.com>
16050
16051 * gdb.ada/str_uninit: New testcase.
16052
16053 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16054
16055 PR symtab/17642
16056 * gdb.base/vla-stub-define.c: New file.
16057 * gdb.base/vla-stub.c: New file.
16058 * gdb.base/vla-stub.exp: New file.
16059
16060 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16061 Jan Kratochvil <jan.kratochvil@redhat.com>
16062 Tom Tromey <tromey@redhat.com>
16063
16064 * configure.ac: Add gdb.compile/.
16065 * configure: Regenerate.
16066 * gdb.compile/Makefile.in: New file.
16067 * gdb.compile/compile-ops.exp: New file.
16068 * gdb.compile/compile-ops.c: New file.
16069 * gdb.compile/compile-tls.c: New file.
16070 * gdb.compile/compile-tls.exp: New file.
16071 * gdb.compile/compile-constvar.S: New file.
16072 * gdb.compile/compile-constvar.c: New file.
16073 * gdb.compile/compile-mod.c: New file.
16074 * gdb.compile/compile-nodebug.c: New file.
16075 * gdb.compile/compile-setjmp-mod.c: New file.
16076 * gdb.compile/compile-setjmp.c: New file.
16077 * gdb.compile/compile-setjmp.exp: New file.
16078 * gdb.compile/compile-shlib.c: New file.
16079 * gdb.compile/compile.c: New file.
16080 * gdb.compile/compile.exp: New file.
16081 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16082
16083 2014-12-12 Tom Tromey <tromey@redhat.com>
16084
16085 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16086 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16087
16088 2014-12-12 Doug Evans <dje@google.com>
16089
16090 * lib/gdb-python.exp (get_python_valueof): New function.
16091 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16092
16093 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16094
16095 * gdb.base/completion.exp: Add test for completion of "info
16096 registers ".
16097
16098 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16099
16100 * gdb.base/func-ptrs.c: New file.
16101 * gdb.base/func-ptrs.exp: New file.
16102
16103 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16104
16105 PR breakpoints/17012
16106 * gdb.base/dprintf-detach.c: New file.
16107 * gdb.base/dprintf-detach.exp: New file.
16108
16109 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16110
16111 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16112 * lib/gdb.exp (target_is_gdbserver): New procedure.
16113
16114 2014-12-08 Doug Evans <dje@google.com>
16115
16116 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16117
16118 2014-12-05 Yao Qi <yao@codesourcery.com>
16119
16120 * gdb.guile/scm-error.exp: Remove the third argument to
16121 gdb_remote_download.
16122 * gdb.guile/scm-frame-args.exp: Likewise.
16123 * gdb.guile/scm-section-script.exp: Likewise.
16124
16125 2014-12-05 Yao Qi <yao@codesourcery.com>
16126
16127 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16128
16129 2014-12-04 Doug Evans <dje@google.com>
16130
16131 * gdb.python/py-objfile.exp: Add tests for
16132 objfile.add_separate_debug_file.
16133
16134 2014-12-04 Doug Evans <dje@google.com>
16135
16136 * lib/gdb.exp (get_build_id): New function.
16137 (build_id_debug_filename_get): Rewrite to use it.
16138 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16139
16140 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16141
16142 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16143 `method(long)', not just 0x0.
16144 * gdb.cp/nsalias.exp: Align code labels to 4.
16145 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16146 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16147 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16148 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16149 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16150 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16151
16152 2014-12-02 Doug Evans <dje@google.com>
16153
16154 PR symtab/17602
16155 * gdb.cp/anon-ns.cc: Move guts of this file to ...
16156 * gdb.cp/anon-ns2.cc: ... here. New file.
16157 * gdb.cp/anon-ns.exp: Update.
16158
16159 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
16160
16161 * gdb.python/py-events.py (inferior_call_handler): New.
16162 (register_changed_handler, memory_changed_handler): New.
16163 (test_events.invoke): Register new handlers.
16164 * gdb.python/py-events.exp: Add tests for inferior call,
16165 memory_changed and register_changed events.
16166
16167 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16168
16169 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16170 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16171 if the linker doesn't understand this.
16172
16173 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16174
16175 * gdb.python/python.exp: Change expected reply to help().
16176
16177 2014-12-01 Yao Qi <yao@codesourcery.com>
16178
16179 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16180 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16181 * configure: Re-generated.
16182
16183 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16184
16185 * gdb.cp/chained-calls.cc: New file.
16186 * gdb.cp/chained-calls.exp: New file.
16187 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16188
16189 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16190
16191 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16192 * gdb.dwarf2/symtab-producer.exp: Same.
16193 * gdb.gdb/python-interrupts.exp: Same.
16194 * gdb.gdb/python-selftest.exp: Same.
16195 * gdb.python/py-linetable.exp: Same.
16196 * gdb.python/py-type.exp: Same.
16197 * gdb.python/py-value-cc.exp: Same.
16198 * gdb.python/py-value.exp: Same.
16199
16200 2014-11-28 Yao Qi <yao@codesourcery.com>
16201
16202 * gdb.base/break-probes.exp: Match library name prefixed with
16203 sysroot.
16204
16205 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
16206
16207 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
16208 test expected output. Add parentheses for the call to print.
16209 Remove L suffix from integers.
16210
16211 2014-11-26 Doug Evans <dje@google.com>
16212
16213 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
16214
16215 2014-11-22 Yao Qi <yao@codesourcery.com>
16216
16217 * gdb.trace/entry-values.c: Remove asms.
16218 (foo): Add foo_label.
16219 (bar): Add bar_label.
16220 * gdb.trace/entry-values.exp: Remove code computing foo's
16221 length and bar's length.
16222 (Dwarf::assemble): Invoke function_range for bar and use
16223 MACRO_AT_func for foo.
16224
16225 2014-11-22 Yao Qi <yao@codesourcery.com>
16226
16227 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
16228 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
16229 Use .Lgcc43_procstart instead of gcc43.
16230
16231 2014-11-21 Joel Brobecker <brobecker@adacore.com>
16232
16233 * gdb.ada/n_arr_bound: New testcase.
16234
16235 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
16236
16237 PR breakpoints/10737
16238 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
16239 test_catch_syscall_multi_arch.
16240 (test_catch_syscall_multi_arch): New function.
16241
16242 2014-11-20 Doug Evans <xdje42@gmail.com>
16243
16244 * gdb.base/maint.exp: Update expected output.
16245
16246 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
16247
16248 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
16249 4-byte instruction on S390.
16250
16251 2014-11-19 Joel Brobecker <brobecker@adacore.com>
16252
16253 * gdb.ada/arr_arr: New testcase.
16254
16255 2014-11-19 Joel Brobecker <brobecker@adacore.com>
16256
16257 * gdb.ada/pkd_arr_elem: New Testcase.
16258
16259 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
16260
16261 * gdb.reverse/break-precsave: Expect completion message for
16262 core file reads.
16263 * gdb.reverse/consecutive-precsave.exp: Likewise.
16264 * gdb.reverse/finish-precsave.exp: Likewise.
16265 * gdb.reverse/i386-precsave.exp: Likewise.
16266 * gdb.reverse/machinestate-precsave.exp: Likewise.
16267 * gdb.reverse/sigall-precsave.exp: Likewise.
16268 * gdb.reverse/solib-precsave.exp: Likewise.
16269 * gdb.reverse/step-precsave.exp: Likewise.
16270 * gdb.reverse/until-precsave.exp: Likewise.
16271 * gdb.reverse/watch-precsave.exp: Likewise.
16272
16273 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16274
16275 * gdb.base/bp-permanent.c: Include unistd.h.
16276 * gdb.python/py-framefilter-mi.c (main): Add return type.
16277 * gdb.python/py-framefilter.c (main): Likewise.
16278 * gdb.trace/actions-changed.c (main): Likewise.
16279
16280 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16281
16282 * gdb.mi/until.c: Add eye-catchers.
16283 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
16284 line numbers.
16285
16286 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16287
16288 * gdb.base/condbreak.exp: Drop references to removed non-prototype
16289 function header variants in break1.c.
16290 * gdb.base/ena-dis-br.exp: Likewise.
16291 * gdb.base/hbreak2.exp: Likewise.
16292 * gdb.reverse/until-precsave.exp: Drop references to removed
16293 non-prototype function header variants in ur1.c.
16294 * gdb.reverse/until-reverse.exp: Likewise.
16295
16296 2014-11-17 Petr Machata <pmachata@redhat.com>
16297
16298 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
16299 ${_cu_offset_size} bytes abbrev offset.
16300
16301 2014-11-15 Doug Evans <xdje42@gmail.com>
16302
16303 PR symtab/17559
16304 * gdb.base/line-symtabs.exp: New file.
16305 * gdb.base/line-symtabs.c: New file.
16306 * gdb.base/line-symtabs.h: New file.
16307
16308 2014-11-14 Yao Qi <yao@codesourcery.com>
16309
16310 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
16311 (func): Add label func_label.
16312 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
16313 Replace low_pc and high_pc with MACRO_AT_range.
16314 Replace name, low_pc and high_pc with MACRO_AT_func.
16315
16316 2014-11-14 Yao Qi <yao@codesourcery.com>
16317
16318 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
16319 Replace name, low_pc and high_pc with MACRO_AT_func.
16320
16321 2014-11-14 Yao Qi <yao@codesourcery.com>
16322
16323 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
16324 produce debug information.
16325 * gdb.dwarf2/implptr-optimized-out.S: Removed.
16326
16327 2014-11-14 Yao Qi <yao@codesourcery.com>
16328
16329 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
16330 object and get function length.
16331 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
16332 with MACRO_AT_func.
16333 (top-level): Replace gdb_compile and clean_restart with
16334 prepare_for_testing.
16335 * gdb.dwarf2/main.c (main): Add label main_label.
16336
16337 2014-11-14 Yao Qi <yao@codesourcery.com>
16338
16339 * lib/dwarf.exp (function_range): New procedure.
16340 (Dwarf::_handle_macro_at_func): New procedure.
16341 (Dwarf::_handle_macro_at_range): New procedure.
16342 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
16343
16344 2014-11-14 Yao Qi <yao@codesourcery.com>
16345
16346 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
16347 (_handle_attribute): New procedure.
16348
16349 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16350
16351 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16352 * gdb.base/call-sc.c (zed): Likewise.
16353 * gdb.base/checkpoint.c (main): Likewise.
16354 * gdb.base/dump.c (main): Likewise.
16355 * gdb.base/gcore.c (main): Likewise.
16356 * gdb.base/huge.c (main): Likewise.
16357 * gdb.base/multi-forks.c (main): Likewise.
16358 * gdb.base/pr10179-a.c (main): Likewise.
16359 * gdb.base/savedregs.c (main): Likewise.
16360 * gdb.base/sigaltstack.c (main): Likewise.
16361 * gdb.base/siginfo.c (main): Likewise.
16362 * gdb.base/structs.c (zed): Likewise.
16363 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
16364 * gdb.mi/mi-syn-frame.c (main): Likewise.
16365 * gdb.mi/until.c (foo, main): Likewise.
16366 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
16367 * gdb.base/solib-weak.c (foo): Declare.
16368 * gdb.base/attach-twice.c: Include stdio.h.
16369 * gdb.base/weaklib1.c: Likewise.
16370 * gdb.base/weaklib2.c: Likewise.
16371 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
16372 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
16373 unistd.h.
16374 * gdb.base/attach-pie-misread.c: Include stdlib.h.
16375 * gdb.mi/mi-exit-code.c: Likewise.
16376 * gdb.base/break-interp-lib.c: Include string.h.
16377 * gdb.base/coremaker.c: Likewise.
16378 * gdb.base/testenv.c: Likewise.
16379 * gdb.python/py-finish-breakpoint.c: Likewise.
16380 * gdb.base/inferior-died.c: Include sys/wait.h.
16381 * gdb.base/fileio.c: Include time.h.
16382 * gdb.base/async-shell.c: Include unistd.h.
16383 * gdb.base/dprintf-non-stop.c: Likewise.
16384 * gdb.base/info-os.c: Likewise.
16385 * gdb.mi/mi-console.c: Likewise.
16386 * gdb.mi/watch-nonstop.c: Likewise.
16387 * gdb.python/py-events.c: Likewise.
16388 * gdb.base/async.c (baz): Move up before its invocation.
16389 * gdb.base/code_elim2.c (my_global_func): Likewise.
16390 * gdb.base/skip-solib-lib.c (multiply): Likewise.
16391 * gdb.base/advance.c (func2): Likewise.
16392
16393 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16394
16395 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
16396 variant.
16397 * gdb.base/annota3.c: Likewise.
16398 * gdb.base/async.c: Likewise.
16399 * gdb.base/average.c: Likewise.
16400 * gdb.base/call-ar-st.c: Likewise.
16401 * gdb.base/call-rt-st.c: Likewise.
16402 * gdb.base/call-sc.c: Likewise.
16403 * gdb.base/call-strs.c: Likewise.
16404 * gdb.base/ending-run.c: Likewise.
16405 * gdb.base/execd-prog.c: Likewise.
16406 * gdb.base/exprs.c: Likewise.
16407 * gdb.base/foll-exec.c: Likewise.
16408 * gdb.base/foll-fork.c: Likewise.
16409 * gdb.base/foll-vfork.c: Likewise.
16410 * gdb.base/funcargs.c: Likewise.
16411 * gdb.base/gcore.c: Likewise.
16412 * gdb.base/jump.c: Likewise.
16413 * gdb.base/langs0.c: Likewise.
16414 * gdb.base/langs1.c: Likewise.
16415 * gdb.base/langs2.c: Likewise.
16416 * gdb.base/mips_pro.c: Likewise.
16417 * gdb.base/nodebug.c: Likewise.
16418 * gdb.base/opaque0.c: Likewise.
16419 * gdb.base/opaque1.c: Likewise.
16420 * gdb.base/recurse.c: Likewise.
16421 * gdb.base/run.c: Likewise.
16422 * gdb.base/scope0.c: Likewise.
16423 * gdb.base/scope1.c: Likewise.
16424 * gdb.base/setshow.c: Likewise.
16425 * gdb.base/setvar.c: Likewise.
16426 * gdb.base/shmain.c: Likewise.
16427 * gdb.base/shr1.c: Likewise.
16428 * gdb.base/shr2.c: Likewise.
16429 * gdb.base/sigall.c: Likewise.
16430 * gdb.base/signals.c: Likewise.
16431 * gdb.base/so-indr-cl.c: Likewise.
16432 * gdb.base/solib2.c: Likewise.
16433 * gdb.base/structs.c: Likewise.
16434 * gdb.base/sum.c: Likewise.
16435 * gdb.base/vforked-prog.c: Likewise.
16436 * gdb.base/watchpoint.c: Likewise.
16437 * gdb.reverse/shr2.c: Likewise.
16438 * gdb.reverse/until-reverse.c: Likewise.
16439 * gdb.reverse/ur1.c: Likewise.
16440 * gdb.reverse/watch-reverse.c: Likewise.
16441
16442 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16443
16444 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
16445 variant.
16446 * gdb.base/sepdebug.exp: Drop references to removed code.
16447
16448 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16449
16450 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
16451 variant. Preserve original line numbering.
16452 * gdb.base/list1.c: Likewise.
16453
16454 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16455
16456 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
16457 variant.
16458 * gdb.base/break1.c: Likewise.
16459 * gdb.base/break.exp: Drop references to removed code.
16460
16461 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16462
16463 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
16464 variant.
16465
16466 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16467
16468 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
16469
16470 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16471
16472 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
16473 logic into perform_all_tests() and invoke it with and without
16474 function header prototypes.
16475 (do_function_calls): Remove conditional XFAIL for PR 5318.
16476 (rerun_and_prepare): Remove duplicate code.
16477 (perform_all_tests): New. Main logic moved here.
16478
16479 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16480
16481 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
16482 code guarded by #ifdef NO_PROTOTYPES.
16483 (t_double_many_args): Likewise.
16484 (DEF_FUNC_MANY_ARGS_1): Likewise.
16485 (DEF_FUNC_VALUES_1): Likewise.
16486 (t_structs_ldc): Renamed from t_structs_fc in conditional code
16487 guarded by #ifdef PROTOTYPES.
16488
16489 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16490
16491 * gdb.mi/mi-console.c: Add eye-catcher.
16492 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
16493 instead of literal line number.
16494
16495 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16496
16497 * gdb.base/shr2.c: Add eye-catcher.
16498 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16499 line number.
16500
16501 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16502
16503 * gdb.base/jump.c: Add eye-catchers.
16504 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16505 numbers.
16506
16507 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16508
16509 * gdb.base/execd-prog.c: Add eye-catchers.
16510 * gdb.base/foll-exec.c: Likewise.
16511 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16512 line numbers.
16513
16514 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16515
16516 * gdb.base/ending-run.c: Add eye-catchers.
16517 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16518 literal line numbers.
16519
16520 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16521
16522 * gdb.base/call-rt-st.c: Add eye-catchers.
16523 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16524 literal line numbers.
16525
16526 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16527
16528 * gdb.base/call-ar-st.c: Add eye-catchers.
16529 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16530 literal line numbers.
16531
16532 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16533
16534 * gdb.base/average.c: Add eye-catchers.
16535 * gdb.base/sum.c: Likewise.
16536 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16537 regexps dynamically.
16538
16539 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16540
16541 * gdb.base/solib1.c: Add eye-catchers.
16542 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16543 literal line numbers.
16544
16545 2014-11-12 Pedro Alves <palves@redhat.com>
16546
16547 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16548 leader has exited.
16549
16550 2014-11-12 Pedro Alves <palves@redhat.com>
16551
16552 * gdb.arch/i386-bp_permanent.c: New file.
16553 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16554 (srcfile): Set to i386-bp_permanent.c.
16555 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16556 that stepi does not execute the 'leave' instruction, instead of
16557 testing it does execute.
16558 * gdb.base/bp-permanent.c: New file.
16559 * gdb.base/bp-permanent.exp: New file.
16560
16561 2014-11-10 Doug Evans <xdje42@gmail.com>
16562
16563 PR symtab/17564
16564 * gdb.base/symtab-search-order.exp: New file.
16565 * gdb.base/symtab-search-order.c: New file.
16566 * gdb.base/symtab-search-order-1.c: New file.
16567 * gdb.base/symtab-search-order-shlib-1.c: New file.
16568
16569 2014-11-07 Pedro Alves <palves@redhat.com>
16570
16571 PR gdb/17511
16572 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16573 i?86-*-linux*.
16574
16575 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16576
16577 PR c++/17494
16578 * gdb.cp/pr17494.cc: New file.
16579 * gdb.cp/pr17494.exp: New file.
16580
16581 2014-11-02 Yao Qi <yao@codesourcery.com>
16582
16583 * gdb.python/python.exp: Get working directory and match the
16584 output of "set extended-prompt \\w " with it.
16585
16586 2014-10-30 Doug Evans <dje@google.com>
16587
16588 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16589 in objfiles.
16590 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16591 in progspaces.
16592
16593 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
16594
16595 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16596 * gdb.base/realname-expand.exp: Likewise.
16597 * gdb.linespec/macro-relative.exp: Likewise.
16598
16599 2014-10-29 Pedro Alves <palves@redhat.com>
16600
16601 PR gdb/17408
16602 * gdb.threads/schedlock.c (some_function): New function.
16603 (call_function): New global.
16604 (MAYBE_CALL_SOME_FUNCTION): New macro.
16605 (thread_function): Call it.
16606 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16607 and use it instead of a global counter. Adjust all callers.
16608 (get_current_thread): Use "find current thread" for test message
16609 here rather than having all callers pass down the same string.
16610 (goto_loop): New procedure, factored out from ...
16611 (my_continue): ... this.
16612 (step_ten_loops): Change parameter from test message to command to
16613 use. Adjust.
16614 (list_count): Delete global.
16615 (check_result): New procedure, factored out from duplicate top
16616 level code.
16617 (continue tests): Wrap in with_test_prefix.
16618 (test_step): New procedure, factored out from duplicate top level
16619 code.
16620 (top level): Test "step" in combination with all scheduler-locking
16621 modes. Test "next" in combination with all scheduler-locking
16622 modes, and in combination with stepping over a function call or
16623 not.
16624 * gdb.threads/next-bp-other-thread.c: New file.
16625 * gdb.threads/next-bp-other-thread.exp: New file.
16626
16627 2014-10-29 Pedro Alves <palves@redhat.com>
16628
16629 PR python/17372
16630 * gdb.python/python.exp: Test a multi-line command that spawns
16631 interactive Python.
16632 * gdb.base/multi-line-starts-subshell.exp: New file.
16633
16634 2014-10-29 Yao Qi <yao@codesourcery.com>
16635
16636 * gdb.base/fileio.exp: Make directories on host.
16637
16638 2014-10-29 Yao Qi <yao@codesourcery.com>
16639
16640 * gdb.base/fileio.c (test_write): Close the file.
16641
16642 2014-10-28 Pedro Alves <palves@redhat.com>
16643
16644 PR gdb/12623
16645 * gdb.base/sigstep.c (no_handler): New global.
16646 (main): If 'no_handler is true, set the signal handlers to
16647 SIG_IGN.
16648 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16649 with_sw_watch and no_handler parameters. Handle them.
16650 (top level) <stepping over handler when stopped at a breakpoint
16651 test>: Add a test axis for testing with a software watchpoint, and
16652 another for testing with the signal handler set to SIG_IGN.
16653 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16654 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16655
16656 2014-10-28 Pedro Alves <palves@redhat.com>
16657
16658 PR gdb/17511
16659 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16660 * gdb.base/sigstep.exp (other_handler_location): New global.
16661 (advance): Support stepping into the signal handler, and running
16662 commands while in the handler.
16663 (in_handler_map): New global.
16664 (top level): In the advance test, add combinations for getting
16665 into the handler with stepping commands, and for running commands
16666 in the handler. Add comment descripting the advancei tests.
16667
16668 2014-10-28 Pedro Alves <palves@redhat.com>
16669
16670 * gdb.base/sigstep.exp: Use build_executable instead of
16671 prepare_for_testing.
16672 (top level): Move code that starts GDB, runs to main and creates a
16673 display to ...
16674 (restart): ... this new procedure.
16675 (top level): Move backtrace from signal handler test to ...
16676 (validate_backtrace): ... this new procedure.
16677 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16678 with_test_prefix. Always restart GDB.
16679 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16680 with_test_prefix. Always restart GDB. No need to delete
16681 breakpoints after the test.
16682 (test_skip_handler): Remove prefix parameter.
16683 (skip_over_handler, breakpoint_to_handler)
16684 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16685 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16686 restart GDB. No need to delete breakpoints after the test.
16687 (top level): Use foreach to call the test procedures with
16688 different commands.
16689
16690 2014-10-28 Pedro Alves <palves@redhat.com>
16691
16692 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16693 instead of GNATS numbers.
16694 * gdb.base/sigbpt.exp: Likewise.
16695 * gdb.base/siginfo.exp: Likewise.
16696 * gdb.base/sigstep.exp: Likewise.
16697
16698 2014-10-27 Pedro Alves <palves@redhat.com>
16699
16700 * gdb.base/sigstep.c (dummy): New global.
16701 (main): Issue a couple writes to the new global.
16702 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16703 procedures.
16704 (skip_over_handler): Use test_skip_handler.
16705 (top level): Call skip_over_handler for stepi and nexti too.
16706 (breakpoint_over_handler): Use test_skip_handler.
16707 (top level): Call breakpoint_over_handler for stepi and nexti too.
16708
16709 2014-10-27 Yao Qi <yao@codesourcery.com>
16710
16711 * gdb.trace/tfile.c (adjust_function_address)
16712 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16713 function descriptor.
16714
16715 2014-10-24 Don Breazeal <donb@codesourcery.com>
16716
16717 * gdb.base/foll-fork.exp (test_follow_fork,
16718 catch_fork_child_follow): Check for updated fork messages emitted
16719 from infrun.c.
16720 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16721 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16722 vfork_and_exec_child_follow_through_step): Check for updated vfork
16723 messages emitted from infrun.c.
16724
16725 2014-10-24 Pedro Alves <palves@redhat.com>
16726
16727 * gdb.base/corefile.exp: Remove references to ultrix.
16728 * gdb.base/interrupt.exp: Likewise.
16729 * gdb.base/whatis.exp: Likewise.
16730 * gdb.gdb/selftest.exp: Likewise.
16731 * gdb.threads/manythreads.exp: Likewise.
16732 * gdb.threads/print-threads.exp: Likewise.
16733 * gdb.threads/pthreads.exp:: Likewise.
16734 * gdb.threads/schedlock.exp: Likewise.
16735
16736 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16737
16738 * gdb.cp/non-trivial-retval.cc: Add a test case.
16739 * gdb.cp/non-trivial-retval.exp: Add a test.
16740
16741 2014-10-20 Yao Qi <yao@codesourcery.com>
16742
16743 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16744 * gdb.python/py-objfile-script-gdb.py: New file.
16745 * gdb.python/py-objfile-script.exp: Update reference to
16746 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16747 of remote_download. Remove the dest file.
16748
16749 2014-10-20 Yao Qi <yao@codesourcery.com>
16750
16751 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16752 * gdb.base/step-line.exp: Likewise.
16753 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16754 * gdb.dwarf2/dw2-basic.exp: Likewise.
16755 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16756 * gdb.dwarf2/dw2-filename.exp: Likewise.
16757 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16758 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16759 * gdb.dwarf2/dw2-producer.exp: Likewise.
16760 * gdb.dwarf2/mac-fileno.exp: Likewise.
16761 * gdb.python/py-frame-args.exp: Likewise.
16762 * gdb.python/py-framefilter.exp: Likewise.
16763 * gdb.python/py-mi.exp: Likewise.
16764 * gdb.python/py-objfile-script.exp: Likewise
16765 * gdb.python/py-pp-integral.exp: Likewise.
16766 * gdb.python/py-pp-re-notag.exp: Likewise.
16767 * gdb.python/py-prettyprint.exp: Likewise.
16768 * gdb.python/py-section-script.exp: Likewise.
16769 * gdb.python/py-typeprint.exp: Likewise.
16770 * gdb.python/py-xmethods.exp: Likewise.
16771 * gdb.stabs/weird.exp: Likewise.
16772 * gdb.xml/tdesc-regs.exp: Likewise.
16773
16774 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16775
16776 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16777 (out_cu): Use addr_len for the size of addresses.
16778 (out_line): Likewise. Size DW_LNE_set_address instruction
16779 according to addr_len.
16780 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16781 (FUNC): Add START_INSNS to definition.
16782
16783 2014-10-18 Yao Qi <yao@codesourcery.com>
16784
16785 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16786 gdb_has_argv0 return true.
16787 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16788 check [target_info exists noargs], check [gdb_has_argv0]
16789 instead.
16790 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16791 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16792 procedures.
16793
16794 2014-10-17 Doug Evans <dje@google.com>
16795
16796 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16797 event.
16798 * gdb.python/py-events.py: Add clear_objfiles event.
16799
16800 2014-10-17 Doug Evans <dje@google.com>
16801
16802 * gdb.python/py-objfile.exp: Test progspace attribute.
16803
16804 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
16805
16806 * gdb.guile/scm-breakpoint.exp: Do not assume any
16807 directory separators when matching source file paths.
16808 * gdb.python/py-breakpoint.exp: Likewise.
16809 * gdb.reverse/break-precsave.exp: Likewise.
16810 * gdb.reverse/break-reverse.exp: Likewise.
16811 * gdb.reverse/consecutive-precsave.exp: Likewise.
16812 * gdb.reverse/finish-precsave.exp: Likewise.
16813 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16814 * gdb.reverse/finish-reverse.exp: Likewise.
16815 * gdb.reverse/i386-precsave.exp: Likewise.
16816 * gdb.reverse/i387-env-reverse.exp: Likewise.
16817 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16818 * gdb.reverse/machinestate-precsave.exp: Likewise.
16819 * gdb.reverse/machinestate.exp: Likewise.
16820 * gdb.reverse/sigall-precsave.exp: Likewise.
16821 * gdb.reverse/solib-precsave.exp: Likewise.
16822 * gdb.reverse/step-precsave.exp: Likewise.
16823 * gdb.reverse/until-precsave.exp: Likewise.
16824 * gdb.reverse/watch-precsave.exp: Likewise.
16825 * gdb.reverse/watch-reverse.exp: Likewise.
16826
16827 2014-10-17 Yao Qi <yao@codesourcery.com>
16828
16829 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16830 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16831
16832 2014-10-17 Pedro Alves <palves@redhat.com>
16833
16834 PR gdb/17471
16835 * gdb.base/bg-execution-repeat.c: New file.
16836 * gdb.base/bg-execution-repeat.exp: New file.
16837
16838 2014-10-17 Pedro Alves <palves@redhat.com>
16839
16840 PR gdb/17300
16841 * gdb.base/continue-all-already-running.c: New file.
16842 * gdb.base/continue-all-already-running.exp: New file.
16843
16844 2014-10-17 Pedro Alves <palves@redhat.com>
16845
16846 PR gdb/17472
16847 * gdb.base/annota-input-while-running.c: New file.
16848 * gdb.base/annota-input-while-running.exp: New file.
16849
16850 2014-10-17 Pedro Alves <palves@redhat.com>
16851
16852 * gdb.base/callfuncs.exp: emove references to osf.
16853 * gdb.base/sigall.exp: Likewise.
16854 * gdb.gdb/selftest.exp: Likewise.
16855 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16856 * gdb.mi/non-stop.c: Likewise.
16857 * gdb.mi/pthreads.c: Likewise.
16858 * gdb.reverse/sigall-precsave.exp: Likewise.
16859 * gdb.reverse/sigall-reverse.exp: Likewise.
16860 * gdb.threads/pthreads.c: Likewise.
16861 * gdb.threads/pthreads.exp: Likewise.
16862
16863 2014-10-17 Yao Qi <yao@codesourcery.com>
16864
16865 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16866 check 'target_info exists noargs'.
16867 (test_command_prompt_position): Likewise.
16868 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16869 Remove "set args".
16870 (progvar_simple_while_test): Likewise.
16871 (progvar_complex_if_while_test): Likewise.
16872 (if_while_breakpoint_command_test): Likewise.
16873 (infrun_breakpoint_command_test): Likewise.
16874 (breakpoint_command_test): Likewise.
16875 (watchpoint_command_test): Likewise.
16876 (bp_deleted_in_command_test): Likewise.
16877 (temporary_breakpoint_commands): Likewise.
16878
16879 2014-10-16 Yao Qi <yao@codesourcery.com>
16880
16881 * gdb.base/remotetimeout.exp: Remove noargs checking.
16882
16883 2014-10-15 Pedro Alves <palves@redhat.com>
16884
16885 PR breakpoints/9649
16886 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16887 * gdb.base/breakpoint-in-ro-region.exp
16888 (probe_target_hardware_step): New procedure.
16889 (top level): Probe hardware stepping and hardware breakpoint
16890 support. Test stepping through a read-only region, with both
16891 "breakpoint auto-hw" on and off and both "always-inserted" on and
16892 off.
16893
16894 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16895
16896 * gdb.dlang/demangle.exp: Update for demangling changes.
16897
16898 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16899
16900 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16901 * gdb.cp/non-trivial-retval.exp: Add new tests.
16902
16903 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16904
16905 PR c++/13403
16906 PR c++/15154
16907 * gdb.cp/non-trivial-retval.cc: New file.
16908 * gdb.cp/non-trivial-retval.exp: New file.
16909
16910 2014-10-15 Yao Qi <yao@codesourcery.com>
16911
16912 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16913 remote host.
16914
16915 2014-10-15 Yao Qi <yao@codesourcery.com>
16916
16917 * gdb.python/py-symbol.exp: Match file base name if host is
16918 remote, otherwise match file name with dir name.
16919 * gdb.python/py-symtab.exp: Likewise.
16920 * gdb.python/python.exp: Likewise.
16921
16922 2014-10-15 Yao Qi <yao@codesourcery.com>
16923
16924 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16925 pattern.
16926 * gdb.python/py-symtab.exp: Likewise.
16927 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16928 locationn.
16929
16930 2014-10-14 Joel Brobecker <brobecker@adacore.com>
16931
16932 * gdb.ada/addr_arith: New testcase.
16933
16934 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16935
16936 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16937 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16938 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16939 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16940
16941 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16942
16943 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16944 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16945 * gdb.arch/stap-eval-lang-ada.exp: New file.
16946
16947 2014-10-14 Yao Qi <yao@codesourcery.com>
16948
16949 * gdb.mi/mi-var-child.c (nothing1): New function.
16950 (nothing2): New function.
16951 (do_children_tests): Set function pointers by nothing1 and
16952 nothing2.
16953 * gdb.mi/mi-var-child.exp: Step over new added statements.
16954 Update test to match the new output.
16955 * gdb.mi/var-cmd.c (nothing1): New function.
16956 (nothing2): New function.
16957 (do_children_tests): Set function pointers by nothing1 and
16958 nothing2.
16959 * gdb.mi/mi-var-display.exp: Update test to match output.
16960 Step to the line specified by $line_dct_nothing.
16961 Increase the number of lines to step.
16962
16963 2014-10-14 Yao Qi <yao@codesourcery.com>
16964
16965 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16966 tests.
16967 * gdb.mi/mi2-var-child.exp: Likewise.
16968
16969 2014-10-13 Doug Evans <dje@google.com>
16970
16971 * gdb.python/py-objfile.exp: Change name of file name test.
16972
16973 2014-10-13 Doug Evans <dje@google.com>
16974
16975 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16976 from the start of the CU.
16977
16978 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16979 Yao Qi <yao@codesourcery.com>
16980
16981 Fix "save breakpoints" for "catch" command.
16982 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16983 Remove -nonewline. Match also the added "main" line.
16984
16985 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16986
16987 Fix "save breakpoints" for "disable $bpnum" command.
16988 * gdb.base/save-bp.c (main): Add label.
16989 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16990
16991 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16992
16993 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16994
16995 2014-10-11 Yao Qi <yao@codesourcery.com>
16996
16997 * gdb.server/server-kill.exp: Execute command
16998 "set remote trace-status-packet on" before "tstatus".
16999
17000 2014-10-11 Yao Qi <yao@codesourcery.com>
17001
17002 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17003 (main): Call getppid.
17004 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17005 and continue to it. Read variable "server_pid".
17006
17007 2014-10-11 Yao Qi <yao@codesourcery.com>
17008
17009 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17010
17011 2014-10-11 Yao Qi <yao@codesourcery.com>
17012
17013 * gdb.threads/thread-find.exp: Don't execute command
17014 "info threads".
17015 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17016 * gdb.threads/linux-dp.exp: Don't check the condition
17017 $threads_created equals to zero.
17018
17019 2014-10-10 Pedro Alves <palves@redhat.com>
17020
17021 * gdb.base/bigcore.exp: Remove references to IRIX.
17022 * gdb.base/funcargs.exp: Likewise.
17023 * gdb.base/interrupt.exp: Likewise.
17024 * gdb.base/mips_pro.exp: Likewise.
17025 * gdb.base/nodebug.exp: Likewise.
17026 * gdb.base/setvar.exp: Likewise.
17027 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17028
17029 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17030 Pedro Alves <palves@redhat.com>
17031
17032 PR symtab/14466
17033 * gdb.base/vdso-warning.c: New file.
17034 * gdb.base/vdso-warning.exp: New file.
17035
17036 2014-10-02 Doug Evans <dje@google.com>
17037
17038 * gdb.base/structs.c (main): Don't run forever.
17039
17040 2014-10-02 Pedro Alves <palves@redhat.com>
17041
17042 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17043 (top level) <stop threads 1, stop threads 2>: Use it.
17044
17045 2014-10-02 Pedro Alves <palves@redhat.com>
17046
17047 * gdb.threads/break-while-running.exp (test): Add new
17048 'update_thread_list' argument. Skip "info threads" if false.
17049 (top level): Add new 'update_thread_list' axis.
17050
17051 2014-10-02 Pedro Alves <palves@redhat.com>
17052
17053 PR breakpoints/17431
17054 * gdb.base/execl-update-breakpoints.c: New file.
17055 * gdb.base/execl-update-breakpoints.exp: New file.
17056
17057 2014-10-01 Pedro Alves <palves@redhat.com>
17058
17059 * gdb.base/breakpoint-in-ro-region.c: New file.
17060 * gdb.base/breakpoint-in-ro-region.exp: New file.
17061
17062 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17063
17064 * gdb.mi/mi-exit-code.exp: New file.
17065 * gdb.mi/mi-exit-code.c: New file.
17066
17067 2014-09-30 Yao Qi <yao@codesourcery.com>
17068
17069 * lib/prelink-support.exp (build_executable_own_libs): Error if
17070 the target isn't native.
17071
17072 2014-09-30 Yao Qi <yao@codesourcery.com>
17073
17074 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17075 false.
17076
17077 2014-09-22 Pedro Alves <palves@redhat.com>
17078
17079 * gdb.threads/break-while-running.exp: New file.
17080 * gdb.threads/break-while-running.c: New file.
17081
17082 2014-09-19 Yao Qi <yao@codesourcery.com>
17083
17084 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17085 Invoke test. Restart GDB with --readnow and invoke test again.
17086
17087 2014-09-19 Yao Qi <yao@codesourcery.com>
17088
17089 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17090 proc set_breakpoint_on_gcd_function. Invoke
17091 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17092 invoke set_breakpoint_on_gcd_function again.
17093
17094 2014-09-18 Doug Evans <dje@google.com>
17095
17096 * gdb.dwarf2/symtab-producer.exp: New file.
17097
17098 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17099
17100 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17101 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17102 * gdb.base/global-var-nested-by-dso.c: Likewise.
17103 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17104
17105 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17106 Pedro Alves <palves@redhat.com>
17107
17108 * gdb.base/watch-bitfields.exp: Pass string other than test file
17109 name to prepare_for_testing.
17110 (watch): New procedure.
17111 (expect_watchpoint): Use with_test_prefix.
17112 (top level): Factor out tests to ...
17113 (test_watch_location, test_regular_watch): ... these new
17114 procedures, and use with_test_prefix and gdb_continue_to_end.
17115
17116 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17117
17118 PR breakpoints/12526
17119 * gdb.base/watch-bitfields.exp: New file.
17120 * gdb.base/watch-bitfields.c: New file.
17121
17122 2014-09-16 Pedro Alves <palves@redhat.com>
17123
17124 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17125 software and hardware addresses, not software address against
17126 itself.
17127
17128 2014-09-16 Pedro Alves <palves@redhat.com>
17129
17130 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17131 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17132
17133 2014-09-16 Pedro Alves <palves@redhat.com>
17134
17135 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17136 files.
17137 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17138 "*-*-vxworks*" throughout.
17139 * gdb.base/break.exp: Likewise.
17140 * gdb.base/default.exp: Likewise.
17141 * gdb.base/scope.exp: Likewise.
17142 * gdb.base/sepdebug.exp: Likewise.
17143 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17144 throughout.
17145 * gdb.base/run.c: Likewise.
17146 * gdb.base/sepdebug.c: Likewise.
17147 * gdb.hp/gdb.aCC/run.c: Likewise.
17148 * gdb.reverse/until-reverse.c: Likewise.
17149 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17150
17151 2014-09-16 Yao Qi <yao@codesourcery.com>
17152
17153 * boards/local-remote-host-native.exp: New file.
17154
17155 2014-09-14 Doug Evans <xdje42@gmail.com>
17156
17157 * gdb.threads/queue-signal.c (thread_count): New variable.
17158 (thread_count_mutex, thread_count_condvar): New variables.
17159 (incr_thread_count, wait_all_threads_running): New functions.
17160 (main): Wait for all threads to be in their thread functions.
17161
17162 2014-09-13 Doug Evans <xdje42@gmail.com>
17163
17164 * gdb.threads/queue-signal.c: New file.
17165 * gdb.threads/queue-signal.exp: New file.
17166
17167 2014-09-13 Doug Evans <xdje42@gmail.com>
17168
17169 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17170 be consistent with what default_gdb_init uses.
17171 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17172 the plain text of the prompt. Add some logging printfs.
17173 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17174
17175 2014-09-12 Pedro Alves <palves@redhat.com>
17176
17177 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17178 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17179 * gdb.arch/i386-size-overlap.exp: Likewise.
17180 * gdb.arch/i386-size.exp: Likewise.
17181 * gdb.arch/i386-unwind.exp: Likewise.
17182 * gdb.base/a2-run.exp: Likewise.
17183 * gdb.base/break.exp: Likewise.
17184 * gdb.base/charset.exp: Likewise.
17185 * gdb.base/chng-syms.exp: Likewise.
17186 * gdb.base/commands.exp: Likewise.
17187 * gdb.base/dbx.exp: Likewise.
17188 * gdb.base/find.exp: Likewise.
17189 * gdb.base/funcargs.exp: Likewise.
17190 * gdb.base/jit-simple.exp: Likewise.
17191 * gdb.base/reread.exp: Likewise.
17192 * gdb.base/sepdebug.exp: Likewise.
17193 * gdb.base/step-bt.exp: Likewise.
17194 * gdb.cp/mb-inline.exp: Likewise.
17195 * gdb.cp/mb-templates.exp: Likewise.
17196 * gdb.objc/basicclass.exp: Likewise.
17197 * gdb.threads/killed.exp: Likewise.
17198
17199 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17200
17201 PR tdep/17379
17202 * gdb.arch/powerpc-stackless.S: New file.
17203 * gdb.arch/powerpc-stackless.exp: New file.
17204
17205 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17206
17207 * gdb.base/attach.c: Include unistd.h.
17208 (main): Call alarm. Add label postloop.
17209 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
17210 gdb_breakpoint, gdb_continue_to_breakpoint.
17211 (test_command_line_attach_run): Kill ${testpid} in one exit path.
17212
17213 2014-09-11 Pedro Alves <palves@redhat.com>
17214
17215 PR gdb/17347
17216 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
17217 * gdb.base/attach.exp (test_command_line_attach_run): New
17218 procedure.
17219 (top level): Call it.
17220
17221 2014-09-11 Pedro Alves <palves@redhat.com>
17222
17223 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
17224 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
17225 (do_command_attach_tests): Use spawn_wait_for_attach.
17226 * gdb.base/solib-overlap.exp: Likewise.
17227 * gdb.multi/multi-attach.exp: Likewise.
17228 * gdb.python/py-prompt.exp: Likewise.
17229 * gdb.python/py-sync-interp.exp: Likewise.
17230 * gdb.server/ext-attach.exp: Likewise.
17231
17232 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
17233
17234 * gdb.fortran/array-element.exp: Remove unexpected "continue"
17235 command in testcase. Simplify testcase.
17236
17237 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17238
17239 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
17240
17241 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17242
17243 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
17244
17245 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17246
17247 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
17248
17249 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17250
17251 * gdb.dwarf2/dynarr-ptr.c: New file.
17252 * gdb.dwarf2/dynarr-ptr.exp: New file.
17253
17254 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17255
17256 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
17257 of 30 rather than hardcoding 120 for a slow test case. Take the
17258 `gdb,timeout' target setting into account for this calculation.
17259 Don't extend the timeout for the test cases that don't need it.
17260
17261 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17262
17263 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
17264 a factor of 2 for a slow test case. Take the `gdb,timeout'
17265 target setting into account for this calculation.
17266 * gdb.reverse/until-precsave.exp: Increase the timeout by
17267 a factor of 15 and 3 respectively rather than adding 120
17268 for a pair of slow test cases. Take the `gdb,timeout'
17269 target setting into account for this calculation.
17270
17271 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17272
17273 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
17274 timeout, don't pass one down to gdb_expect.
17275 (gdb_expect): Rework timeout selection.
17276
17277 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17278
17279 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
17280 exception on timeout.
17281 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
17282 (gdbserver_start_extended): Catch any `gdbserver_start' error
17283 exceptions.
17284 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
17285 * lib/mi-support.exp (mi_gdb_target_load): Catch any
17286 `gdbserver_gdb_load' error exceptions.
17287
17288 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17289
17290 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
17291 120 on waiting for the TCP socket to open.
17292
17293 2014-09-09 Doug Evans <xdje42@gmail.com>
17294
17295 * gdb.base/default.exp (show_conv_list): Add _caller_is,
17296 _caller_matches, _any_caller_is, _any_caller_matches.
17297
17298 2014-09-09 Doug Evans <xdje42@gmail.com>
17299
17300 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
17301
17302 2014-09-09 Yao Qi <yao@codesourcery.com>
17303
17304 * gdb.mi/mi-var-display.exp: Set print symbol off.
17305
17306 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
17307
17308 PR gdb/17035
17309 * gdb.base/commands.exp: Add tests to verify user-defined
17310 commands with empty bodies.
17311 * gdb.python/py-cmd.exp: Test that we don't show user-defined
17312 python commands in `show user command`.
17313 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
17314 scheme commands in `show user command`.
17315
17316 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17317
17318 PR python/17355
17319 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
17320 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
17321 * gdb.python/py-framefilter-invalidarg.exp: New file.
17322 * gdb.python/py-framefilter-invalidarg.py: New file.
17323
17324 2014-09-06 Doug Evans <xdje42@gmail.com>
17325
17326 PR 15276
17327 * gdb.python/py-caller-is.c: New file.
17328 * gdb.python/py-caller-is.exp: New file.
17329
17330 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
17331
17332 PR gdb/17235
17333 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
17334 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
17335
17336 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
17337
17338 PR fortran/17237
17339 * gdb.fortran/print-formatted.exp: New file.
17340 * gdb.fortran/print-formatted.f90: Likewise.
17341
17342 2014-09-03 Sasha Smundak <asmundak@google.com>
17343
17344 * gdb.python/py-frame.exp: Test Frame.read_register.
17345
17346 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
17347
17348 PR python/16699
17349 * gdb.python/py-completion.exp: New file.
17350 * gdb.python/py-completion.py: Likewise.
17351
17352 2014-08-28 Doug Evans <dje@google.com>
17353
17354 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
17355 eax,etc. are live with values set by gdb and thus the compiler can't
17356 use them.
17357 * gdb.arch/i386-pseudo.c (main): Ditto.
17358
17359 2014-08-27 Doug Evans <dje@google.com>
17360
17361 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
17362
17363 2014-08-25 Doug Evans <dje@google.com>
17364
17365 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
17366 (main): Ditto.
17367
17368 2014-08-25 Doug Evans <dje@google.com>
17369
17370 * gdb.threads/thread-execl.exp: #include <stdio.h>.
17371
17372 2014-08-24 Yao Qi <yao@codesourcery.com>
17373
17374 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
17375 symbol off.
17376 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
17377
17378 2014-08-22 Doug Evans <dje@google.com>
17379
17380 PR 17276
17381 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
17382 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
17383 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
17384
17385 2014-08-22 Yao Qi <yao@codesourcery.com>
17386
17387 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
17388 * gdb.python/py-finish-breakpoint2.exp: Likewise.
17389 * gdb.python/python.exp: Likewise. Use .py file on the host
17390 instead of the build.
17391
17392 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17393
17394 * gdb.threads/gcore-stale-thread.c: New file.
17395 * gdb.threads/gcore-stale-thread.exp: New file.
17396
17397 2014-08-21 Pedro Alves <palves@redhat.com>
17398
17399 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
17400 * gdb.base/gcore-relro-pie.exp: Likewise.
17401 * gdb.base/gcore-relro.exp: Likewise.
17402 * gdb.base/gcore.exp: Likewise.
17403 * gdb.base/print-symbol-loading.exp: Likewise.
17404 * gdb.threads/gcore-thread.exp: Likewise.
17405 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
17406
17407 2014-08-20 Pedro Alves <palves@redhat.com>
17408 Jan Kratochvil <jan.kratochvil@redhat.com>
17409
17410 * Makefile.in (EXTRA_RULES, CC): New variables, get from
17411 configure.
17412 (EXPECT): Handle READ1 being set.
17413 (all): Depend on EXTRA_RULES.
17414 (check-read1, expect-read1, read1.so, read1): New rules.
17415 * README (Testsuite Parameters): Document the READ1 make variable.
17416 (Race detection): New section.
17417 * configure: Regenerate.
17418 * configure.ac: If build==host==target, and running under a
17419 GNU/glibc system, add read1 to the extra Makefile rules.
17420 (EXTRA_RULES): AC_SUBST it.
17421 * lib/read1.c: New file.
17422
17423 2014-08-20 Joel Brobecker <brobecker@adacore.com>
17424
17425 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
17426 the handling of variables declared as a typedef to an array
17427 which a DW_AT_data_location attribute.
17428
17429 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
17430 Pedro Alves <palves@redhat.com>
17431
17432 PR symtab/14604
17433 PR symtab/14605
17434 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
17435 gdb_test.
17436
17437 2014-08-19 Pedro Alves <palves@redhat.com>
17438
17439 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
17440
17441 2014-08-19 Yao Qi <yao@codesourcery.com>
17442
17443 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
17444 right line.
17445
17446 2014-08-18 David Blaikie <dblaikie@gmail.com>
17447
17448 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
17449
17450 2014-08-18 Joel Brobecker <brobecker@adacore.com>
17451
17452 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
17453 attribute in array range.
17454
17455 2014-08-18 Joel Brobecker <brobecker@adacore.com>
17456
17457 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
17458
17459 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17460
17461 PR c++/17132
17462 * gdb.cp/pr17132.cc: New file.
17463 * gdb.cp/pr17132.exp: New file.
17464
17465 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17466
17467 * gdb.python/py-xmethods.py (A_getarrayind)
17468 (E_method_char_worker.__call__, E_method_int_worker.__call__):
17469 Use 'print' with function call syntax.
17470 (E_method_matcher.match): Fix tab vs space indentation mixup.
17471
17472 2014-08-15 Yao Qi <yao@codesourcery.com>
17473
17474 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
17475 false.
17476
17477 2014-08-15 Yao Qi <yao@codesourcery.com>
17478
17479 * gdb.cp/casts.exp: Set print symbol off.
17480 * gdb.cp/class2.exp: Likewise.
17481 * gdb.cp/overload.exp: Likewise.
17482 * gdb.cp/templates.exp: Likewise.
17483
17484 2014-08-11 Doug Evans <dje@google.com>
17485
17486 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
17487 (test_load_shlib): Update.
17488
17489 2014-08-09 Yao Qi <yao@codesourcery.com>
17490
17491 * gdb.base/display.exp: Invoke is_address_zero_readable.
17492 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
17493 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17494 * gdb.base/hbreak-unmapped.exp: Return if
17495 is_address_zero_readable returns true.
17496 * gdb.base/signest.exp: Likewise.
17497 * gdb.base/signull.exp: Likewise.
17498 * gdb.base/sigbpt.exp: Likewise.
17499 * gdb.guile/scm-disasm.exp: Do the test if
17500 is_address_zero_readable returns false.
17501 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17502 * gdb.python/py-arch.exp: Likewise.
17503 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17504 * lib/gdb.exp (is_address_zero_readable): New proc.
17505
17506 2014-08-09 Yao Qi <yao@codesourcery.com>
17507
17508 PR testsuite/13443
17509 * gdb.mi/mi-var-display.exp: Make test messages unique.
17510
17511 2014-08-04 Tom Tromey <tromey@redhat.com>
17512
17513 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17514 target 0".
17515
17516 2014-08-04 Tom Tromey <tromey@redhat.com>
17517
17518 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17519 "target_resume".
17520
17521 2014-08-01 Joel Brobecker <brobecker@adacore.com>
17522
17523 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17524 inner_vla_struct_object_size.
17525 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17526 as xfail.
17527
17528 2014-07-30 Pedro Alves <palves@redhat.com>
17529
17530 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17531 comment.
17532
17533 2014-07-29 Yao Qi <yao@codesourcery.com>
17534
17535 PR gdb/17206
17536 * gdb.base/until-nodebug.exp: New.
17537
17538 2014-07-28 Doug Evans <xdje42@gmail.com>
17539
17540 PR guile/17203
17541 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17542 previously existing parameter, and previously ambiguously spelled
17543 parameter.
17544
17545 2014-07-28 Will Newton <will.newton@linaro.org>
17546
17547 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17548
17549 2014-07-26 Ludovic Courtès <ludo@gnu.org>
17550 Doug Evans <xdje42@gmail.com>
17551
17552 PR guile/17146
17553 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17554
17555 2014-07-25 Pedro Alves <palves@redhat.com>
17556
17557 * gdb.threads/signal-command-handle-nopass.c: New file.
17558 * gdb.threads/signal-command-handle-nopass.exp: New file.
17559 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17560 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17561 * gdb.threads/signal-delivered-right-thread.c: New file.
17562 * gdb.threads/signal-delivered-right-thread.exp: New file.
17563
17564 2014-07-25 Pedro Alves <palves@redhat.com>
17565
17566 * gdb.base/double-prompt-target-event-error.exp
17567 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17568 match.
17569 (cancel_pagination_in_target_event): Rework double prompt
17570 detection.
17571 * gdb.base/paginate-after-ctrl-c-running.exp
17572 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17573 <return>' match.
17574 * gdb.base/paginate-bg-execution.exp
17575 (test_bg_execution_pagination_return)
17576 (test_bg_execution_pagination_cancel): Remove '-notransfer
17577 <return>' matches.
17578 * gdb.base/paginate-execution-startup.exp
17579 (test_fg_execution_pagination_return)
17580 (test_fg_execution_pagination_cancel): Remove '-notransfer
17581 <return>' matches.
17582 * gdb.base/paginate-inferior-exit.exp
17583 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17584 match.
17585 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17586 * lib/gdb.exp (pagination_prompt): Run text through
17587 string_to_regexp.
17588 (gdb_test_multiple): Match $pagination_prompt instead of
17589 "<return>".
17590 (string_to_regexp): Move to lib/gdb-utils.exp.
17591
17592 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17593
17594 * gdb.arch/amd64-entry-value-paramref.S: New file.
17595 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17596 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17597 * gdb.arch/amd64-optimout-repeat.S: New file.
17598 * gdb.arch/amd64-optimout-repeat.c: New file.
17599 * gdb.arch/amd64-optimout-repeat.exp: New file.
17600
17601 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17602
17603 PR gdb/17170
17604 * gdb.base/statistics.exp: New file.
17605
17606 2014-07-17 Doug Evans <dje@google.com>
17607
17608 PR gdb/17170
17609 * gdb.base/maint.exp: Update testing of per-command stats.
17610
17611 2014-07-16 Pedro Alves <palves@redhat.com>
17612
17613 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17614 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17615 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17616 (tfile_write_buf): New functions.
17617 (add_memory_block): Rewrite using the above.
17618 (adjust_function_address): New function.
17619 (FUNCTION_ADDRESS): New macro.
17620 (write_basic_trace_file): Remove short_x local, and use
17621 tfile_write_16. Change type of func_addr local to unsigned long
17622 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17623 here. Cast argument of add_memory_block to char pointer.
17624 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17625 (main): Remove parameters.
17626 * gdb.trace/tfile.exp: Remove nowarnings.
17627
17628 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17629
17630 * gdb.base/debug-expr.exp: Test string evaluation with
17631 "debug expression" on.
17632
17633 2014-07-15 Pedro Alves <palves@redhat.com>
17634
17635 * gdb.base/reread.exp: Use clean_restart.
17636
17637 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17638
17639 * gdb.arch/avr-flash-qualifer.c: New.
17640 * gdb.arch/avr-flash-qualifer.exp: New.
17641
17642 2014-07-14 Pedro Alves <palves@redhat.com>
17643
17644 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17645 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17646
17647 2014-07-14 Pedro Alves <palves@redhat.com>
17648
17649 * gdb.base/double-prompt-target-event-error.c: New file.
17650 * gdb.base/double-prompt-target-event-error.exp: New file.
17651
17652 2014-07-14 Pedro Alves <palves@redhat.com>
17653
17654 PR gdb/17072
17655 * gdb.base/paginate-inferior-exit.c: New file.
17656 * gdb.base/paginate-inferior-exit.exp: New file.
17657
17658 2014-07-14 Pedro Alves <palves@redhat.com>
17659
17660 PR gdb/17072
17661 * gdb.base/paginate-bg-execution.c: New file.
17662 * gdb.base/paginate-bg-execution.exp: New file.
17663
17664 2014-07-14 Pedro Alves <palves@redhat.com>
17665
17666 PR gdb/17072
17667 * gdb.base/paginate-execution-startup.c: New file.
17668 * gdb.base/paginate-execution-startup.exp: New file.
17669 * lib/gdb.exp (pagination_prompt): New global.
17670 (default_gdb_spawn): New procedure, factored out from
17671 default_gdb_spawn.
17672 (default_gdb_start): Adjust to call default_gdb_spawn.
17673 (gdb_spawn): New procedure.
17674
17675 2014-07-14 Pedro Alves <palves@redhat.com>
17676
17677 * lib/gdb.exp (gdb_assert): New procedure.
17678 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17679
17680 2014-07-14 Pedro Alves <palves@redhat.com>
17681
17682 * gdb.base/execution-termios.c: New file.
17683 * gdb.base/execution-termios.exp: New file.
17684
17685 2014-07-14 Tom Tromey <tromey@redhat.com>
17686
17687 * gdb.cp/vla-cxx.cc: New file.
17688 * gdb.cp/vla-cxx.exp: New file.
17689
17690 2014-07-14 Tom Tromey <tromey@redhat.com>
17691
17692 * gdb.reverse/rerun-prec.c: New file.
17693 * gdb.reverse/rerun-prec.exp: New file.
17694
17695 2014-07-12 Maciej W. Rozycki <macro@mips.com>
17696 Maciej W. Rozycki <macro@codesourcery.com>
17697
17698 * lib/gdb-utils.exp: New file.
17699 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17700 inline `gdb_init_command' processing.
17701 (gdb_start_cmd): Likewise.
17702 * lib/mi-support.exp (mi_run_cmd): Likewise.
17703 * README: Document `gdb_init_command' and `gdb_init_commands'.
17704
17705 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17706
17707 Fix false FAIL running under a very long directory name.
17708 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17709 and "set print elements 10000". Twice.
17710
17711 2014-07-11 Yao Qi <yao@codesourcery.com>
17712
17713 * gdb.base/exprs.exp: "set print symbol off".
17714
17715 2014-07-11 Pedro Alves <palves@redhat.com>
17716
17717 * gdb.threads/kill.c: New file.
17718 * gdb.threads/kill.exp: New file.
17719
17720 2014-07-10 Yao Qi <yao@codesourcery.com>
17721
17722 * gdb.trace/tfile.c (write_basic_trace_file)
17723 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17724 address written to trace file.
17725
17726 2014-07-09 Pedro Alves <palves@redhat.com>
17727
17728 * gdb.base/attach-wait-input.exp: New file.
17729 * gdb.base/attach-wait-input.c: New file.
17730
17731 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17732
17733 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17734 setting up test structures.
17735 (main): Call new test function.
17736 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17737 test function, continue into test function and walk test
17738 structures.
17739
17740 2014-07-02 Yao Qi <yao@codesourcery.com>
17741
17742 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17743 'bar_start' at the beginning of functions 'foo' and 'bar'
17744 respectively.
17745 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17746 instead of 'foo' and 'bar'.
17747
17748 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17749
17750 * gdb.btrace/segv.exp: New.
17751 * gdb.btrace/segv.c: New.
17752
17753 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
17754
17755 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17756 instruction.
17757
17758 2014-06-30 Mark Wielaard <mjw@redhat.com>
17759
17760 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17761 vulture, vilify, villar): New volatile array constants.
17762 (vindictive, vegetation): New const volatile array constants.
17763 * gdb.base/volatile.exp: Test volatile and const volatile array
17764 types.
17765
17766 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17767
17768 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17769 target lacks support for awatch, rwatch, or hbreak.
17770
17771 2014-06-27 Yao Qi <yao@codesourcery.com>
17772
17773 * gdb.multi/dummy-frame-restore.exp: New.
17774 * gdb.multi/dummy-frame-restore.c: New.
17775
17776 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17777
17778 * gdb.btrace/gcore.exp: New.
17779
17780 2014-06-23 Pedro Alves <palves@redhat.com>
17781
17782 * gdb.base/watchpoint-reuse-slot.c: New file.
17783 * gdb.base/watchpoint-reuse-slot.exp: New file.
17784
17785 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17786
17787 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17788 progspace's filename in 'info', 'enable' and 'disable' command
17789 tests.
17790
17791 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17792
17793 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17794 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17795 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17796
17797 2014-06-20 Gary Benson <gbenson@redhat.com>
17798
17799 * gdb.arch/i386-avx.exp: Fix include file location.
17800 * gdb.arch/i386-sse.exp: Likewise.
17801
17802 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17803
17804 * gdb.dlang/expression.exp: New file.
17805
17806 2014-06-19 Pedro Alves <palves@redhat.com>
17807
17808 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17809 out from ...
17810 (top level): ... here. Iterate running tests under different
17811 scheduler-locking settings.
17812
17813 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
17814
17815 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17816 to DW_FORM_addr and use non-zero addresses.
17817
17818 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17819
17820 PR gdb/17017
17821 * gdb.python/py-xmethods.cc: Add global function call counters and
17822 increment them in their respective functions. Remove "cout"
17823 statements.
17824 * gdb.python/py-xmethods.exp: Make tests check the global function
17825 call counters instead of depending on inferior IO.
17826
17827 2014-06-18 Don Breazeal <donb@codesourcery.com>
17828
17829 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17830 Deleted procedure.
17831 (explicit_fork_parent_follow): Deleted procedure.
17832 (explicit_fork_child_follow): Deleted procedure.
17833 (test_follow_fork): New procedure.
17834 (do_fork_tests): Replace calls to deleted procedures with
17835 calls to test_follow_fork and reset GDB for subsequent
17836 procedure calls.
17837
17838 2014-06-17 Yao Qi <yao@codesourcery.com>
17839
17840 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17841 CP1252.
17842
17843 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
17844
17845 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17846 Initialize ptr and S explicitly.
17847 (skip_type_update_when_not_use_rtti_test): Likewise.
17848
17849 2014-06-16 Keith Seitz <keiths@redhat.com>
17850
17851 PR mi/15863
17852 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17853 the inferior is started.
17854
17855 2014-06-16 Pedro Alves <palves@redhat.com>
17856
17857 * gdb.base/break-main-file-remove-fail.c: New file.
17858 * gdb.base/break-main-file-remove-fail.exp: New file.
17859 * gdb.base/break-unload-file.exp: Use build_executable instead of
17860 prepare_for_testing.
17861 (test_break): New parameter "initial_load". Handle it.
17862 (top level): Add initial_load cmdline/file axis.
17863
17864 2014-06-12 Tom Tromey <tromey@redhat.com>
17865
17866 * gdb.base/completion.exp: Don't use directory name in test.
17867
17868 2014-06-09 Gary Benson <gbenson@redhat.com>
17869
17870 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17871 separate the always-available ANSI-standard signals from the
17872 signals that require checking.
17873 (main): Likewise.
17874 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17875 Likewise.
17876 (main): Likewise.
17877
17878 2014-06-07 Keith Seitz <keiths@redhat.com>
17879
17880 Revert:
17881 PR c++/16253
17882 * gdb.cp/var-tag.cc: New file.
17883 * gdb.cp/var-tag.exp: New file.
17884 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17885 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17886 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17887 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17888
17889 2014-06-06 Doug Evans <xdje42@gmail.com>
17890
17891 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17892
17893 2014-06-06 Pedro Alves <palves@redhat.com>
17894
17895 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17896 in target debug output instead of looking at RSP packets,
17897 disabling the test on any target that uses hardware stepping.
17898 Update comments.
17899
17900 2014-06-06 Pedro Alves <palves@redhat.com>
17901
17902 * gdb.base/break-unload-file.exp: Fix typo.
17903
17904 2014-06-06 Yao Qi <yao@codesourcery.com>
17905
17906 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17907 from "jit_function" to "^jit_function".
17908
17909 2014-06-06 Yao Qi <yao@codesourcery.com>
17910
17911 * gdb.base/async.c (foo): Add one statement.
17912 * gdb.base/async.exp: Get the next instruction address and
17913 match the output of "nexti" by instruction address. Match
17914 the hex address in the output of "finish".
17915
17916 2014-06-06 Gary Benson <gbenson@redhat.com>
17917
17918 * gdb.base/call-signals.c: Remove preprocessor conditionals
17919 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17920 SIGSEGV and SIGTERM.
17921 * gdb.base/sigall.c: Likewise.
17922 * gdb.base/unwindonsignal.c: Likewise.
17923 * gdb.reverse/sigall-reverse.c: Likewise.
17924
17925 2014-06-06 Yao Qi <yao@codesourcery.com>
17926
17927 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17928 readable, skip the test.
17929
17930 2014-06-06 Yao Qi <yao@codesourcery.com>
17931
17932 * gdb.threads/staticthreads.c (thread_function): Move the line
17933 setting breakpoint on forward.
17934 * gdb.threads/staticthreads.exp: Update comments.
17935
17936 2014-06-05 Ludovic Courtès <ludo@gnu.org>
17937
17938 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17939 "history-append! type error".
17940
17941 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17942
17943 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17944 erroneous dprintf expected input.
17945
17946 2014-06-04 Doug Evans <xdje42@gmail.com>
17947
17948 * gdb.guile/scm-generics.exp: Delete.
17949
17950 2014-06-04 Doug Evans <xdje42@gmail.com>
17951
17952 * gdb.guile/scm-breakpoint.exp: Update.
17953 Add tests for breakpoint registration.
17954
17955 2014-06-04 Tom Tromey <tromey@redhat.com>
17956
17957 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17958 VLA-in-union.
17959 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17960 inner_vla_struct, vla_union types. Initialize objects of those
17961 types and compute their sizes.
17962
17963 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17964 Hui Zhu <hui@codesourcery.com>
17965
17966 * gdb.base/fileio.exp: Add test for shell not available as well as
17967 available.
17968 * gdb.base/fileio.c (test_system): Check for shell twice.
17969
17970 2014-06-04 Yao Qi <yao@codesourcery.com>
17971
17972 * gdb.base/auto-connect-native-target.exp: Remove redundant
17973 space from the regexp pattern.
17974
17975 2014-06-04 Yao Qi <yao@codesourcery.com>
17976
17977 * gdb.base/default.exp: Replace "child" with "native" in
17978 regexp pattern.
17979
17980 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17981
17982 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17983 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17984 * gdb.python/py-xmethods.py: Python script supporting the
17985 new testcase and tests.
17986
17987 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17988 Pedro Alves <palves@redhat.com>
17989
17990 PR breakpoints/17000
17991 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17992 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17993
17994 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17995
17996 * gdb.base/subst.exp: Add tests to verify partial path matching
17997 output.
17998
17999 2014-06-03 Pedro Alves <palves@redhat.com>
18000
18001 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18002 target that doesn't use software single-stepping.
18003
18004 2014-06-03 Pedro Alves <palves@redhat.com>
18005
18006 PR breakpoints/17000
18007 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18008 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18009
18010 2014-06-02 Doug Evans <xdje42@gmail.com>
18011
18012 * gdb.guile/scm-parameter.exp: New file.
18013
18014 2014-06-02 Doug Evans <xdje42@gmail.com>
18015
18016 * gdb.guile/scm-cmd.c: New file.
18017 * gdb.guile/scm-cmd.exp: New file.
18018
18019 2014-06-02 Doug Evans <xdje42@gmail.com>
18020
18021 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18022 pretty-printer lookup.
18023 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18024 (make-pp_s-printer): Call it.
18025 (make-pretty-printer-from-dict): New function.
18026 (lookup-pretty-printer-maker-from-dict): New function.
18027 (*pretty-printer*): Simplify.
18028 (make-objfile-pp_s-printer): New function.
18029 (install-objfile-pretty-printers!): New function.
18030 (make-progspace-pp_s-printer): New function.
18031 (install-progspace-pretty-printers!): New function.
18032 * gdb.guile/scm-progspace.c: New file.
18033 * gdb.guile/scm-progspace.exp: New file.
18034
18035 2014-06-02 Pedro Alves <palves@redhat.com>
18036
18037 * gdb.base/dprintf-bp-same-addr.c: New file.
18038 * gdb.base/dprintf-bp-same-addr.exp: New file.
18039
18040 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18041
18042 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18043 * gdb.arch/powerpc-power.s: Likewise.
18044
18045 2014-06-02 Joel Brobecker <brobecker@adacore.com>
18046
18047 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18048
18049 2014-06-01 Yao Qi <yao@codesourcery.com>
18050
18051 * gdb.base/watchpoint.exp (test_watch_location): Check null
18052 pointer can be dereferenced. If not, do the test, otherwise
18053 skip it.
18054
18055 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18056
18057 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18058 results.
18059 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18060
18061 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18062
18063 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18064 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18065 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18066 * gdb.arch/amd64-invalid-stack-top.c: New file.
18067 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18068
18069 2014-05-30 Pedro Alves <palves@redhat.com>
18070
18071 PR breakpoints/17000
18072 * gdb.base/sss-bp-on-user-bp.c: New file.
18073 * gdb.base/sss-bp-on-user-bp.exp: New file.
18074
18075 2014-05-30 David Blaikie <dblaikie@gmail.com>
18076
18077 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18078 gnu_inline semantics via attribute.
18079 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18080 source explicitly specifies the required semantics.
18081
18082 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18083
18084 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18085
18086 2014-05-29 Pedro Alves <palves@redhat.com>
18087 Tom Tromey <tromey@redhat.com>
18088
18089 * gdb.base/async-shell.exp: Don't enable target-async.
18090 * gdb.base/async.exp
18091 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18092 parameter. Adjust.
18093 (top level): Don't test with "target-async".
18094 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18095 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18096 * gdb.base/inferior-died.exp: Don't enable target-async.
18097 * gdb.base/interrupt-noterm.exp: Likewise.
18098 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18099 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18100 * gdb.mi/mi-nonstop.exp: Likewise.
18101 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18102 * gdb.mi/mi-nsintrall.exp: Likewise.
18103 * gdb.mi/mi-nsmoribund.exp: Likewise.
18104 * gdb.mi/mi-nsthrexec.exp: Likewise.
18105 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18106 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18107 * gdb.python/py-evsignal.exp: Don't enable target-async.
18108 * gdb.python/py-evthreads.exp: Likewise.
18109 * gdb.python/py-prompt.exp: Likewise.
18110 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18111 * gdb.server/solib-list.exp: Don't enable target-async.
18112 * gdb.threads/thread-specific-bp.exp: Likewise.
18113 * lib/mi-support.exp: Adjust to use mi-async.
18114
18115 2014-05-29 Pedro Alves <palves@redhat.com>
18116
18117 PR gdb/13860
18118 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18119 reason, even in sync mode.
18120
18121 2014-05-29 Pedro Alves <palves@redhat.com>
18122 Hui Zhu <hui@codesourcery.com>
18123
18124 PR PR15693
18125 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18126 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18127 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18128 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18129
18130 2014-05-28 Joel Brobecker <brobecker@adacore.com>
18131
18132 * config/monitor.exp (gdb_target_monitor): Replace use of
18133 "set remotebaud" by "set serial baud".
18134
18135 2014-05-26 Andy Wingo <wingo@igalia.com>
18136
18137 * gdb.guile/scm-breakpoint.exp:
18138 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18139 properties instead of gdb-object-properties.
18140
18141 2014-05-26 Yao Qi <yao@codesourcery.com>
18142
18143 * gdb.server/no-thread-db.exp: Specify source file name
18144 explicitly when setting a breakpoint.
18145
18146 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18147
18148 * gdb.btrace/vdso.c: New.
18149 * gdb.btrace/vdso.exp: New.
18150
18151 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18152
18153 * gdb.base/gcore.exp (capture_command_output): Move ...
18154 * lib/gdb.exp (capture_command_output): ... here.
18155
18156 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18157
18158 * gdb.btrace/data.exp: Test memory access during btrace replay.
18159
18160 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18161
18162 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18163
18164 2014-05-21 Pedro Alves <palves@redhat.com>
18165
18166 PR gdb/13860
18167 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18168 (top level): Test that output related to execution commands is
18169 sent to the console with CLI commands, but not with MI commands.
18170 Test that breakpoint events are always mirrored to the console.
18171 Also expect the new source line to be output after a "next" in
18172 async mode too. Make it a pass/fail test.
18173 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18174 output.
18175 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18176
18177 2014-05-21 Pedro Alves <palves@redhat.com>
18178
18179 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18180 Use them to test variations of "list" after reaching a breakpoint.
18181 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18182 Test "list" with listsize 10 after reaching a breakpoint.
18183 * gdb.python/python.exp (decode_line current location line
18184 number): Adjust expected line number.
18185
18186 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18187
18188 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18189 behavior for $args, pass it directly to "run".
18190
18191 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18192
18193 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
18194 30000 to 65536.
18195
18196 2014-05-21 Pedro Alves <palves@redhat.com>
18197
18198 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
18199 auto-connect-native-target off".
18200 * gdb.base/auto-connect-native-target.c: New file.
18201 * gdb.base/auto-connect-native-target.exp: New file.
18202
18203 2014-05-21 Pedro Alves <palves@redhat.com>
18204
18205 * gdb.base/default.exp: Test "target native" instead of "target
18206 child".
18207
18208 2014-05-21 Mark Wielaard <mjw@redhat.com>
18209
18210 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18211
18212 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18213
18214 Fix TLS access for -static -pthread.
18215 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
18216 <HAVE_TLS> (thread_function, main): Initialize it.
18217 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
18218 Add clean_restart.
18219 <$have_tls != "">: Check TLSVAR.
18220
18221 2014-05-21 Pedro Alves <palves@redhat.com>
18222
18223 * gdb.base/dcache-line-read-error.c: New.
18224 * gdb.base/dcache-line-read-error.exp: New.
18225
18226 2014-05-20 Pedro Alves <palves@redhat.com>
18227
18228 * gdb.base/compare-sections.c: New file.
18229 * gdb.base/compare-sections.exp: New file.
18230
18231 2014-05-20 Pedro Alves <palves@redhat.com>
18232
18233 * gdb.base/break-idempotent.c: New file.
18234 * gdb.base/break-idempotent.exp: New file.
18235
18236 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
18237
18238 * gdb.btrace/nohist.exp: New.
18239
18240 2014-05-20 Yao Qi <yao@codesourcery.com>
18241
18242 * lib/gdb.exp (gdb_init): Set timeout if test file is under
18243 gdb.reverse directory and gdb_reverse_timeout exists in board
18244 setting.
18245 * README: Document gdb_reverse_timeout.
18246
18247 2014-05-20 Yao Qi <yao@codesourcery.com>
18248
18249 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
18250 'test_file_name'. Treat args as a string instead of a list.
18251 (gdb_init): Rename argument 'args' by 'test_file_name'.
18252
18253 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
18254
18255 * gdb.arch/powerpc-power.exp: New file.
18256 * gdb.arch/powerpc-power.s: New file.
18257
18258 2014-05-16 Doug Evans <dje@google.com>
18259
18260 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
18261 * gdb.base/completion.exp: Check that all expected files exist
18262 before doing file completion.
18263
18264 2014-05-16 Doug Evans <dje@google.com>
18265
18266 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
18267 Update.
18268 (do_syscall_tests_without_xml): Update.
18269
18270 2014-05-16 Pedro Alves <palves@redhat.com>
18271
18272 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
18273 instead of "unknown output after running".
18274
18275 2014-05-16 Yao Qi <yao@codesourcery.com>
18276
18277 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
18278 file1.txt from host at the end.
18279 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18280
18281 2014-05-15 Doug Evans <dje@google.com>
18282
18283 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
18284 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
18285 loading file. Add test for TU lookup.
18286
18287 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18288
18289 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
18290 calling "-exec-arguments" or "set args" before running the
18291 inferior.
18292
18293 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18294
18295 * lib/mi-support.exp (mi_expect_stop): Expect message for
18296 inferiors that exit with non-zero exit code.
18297
18298 2014-05-14 Yao Qi <yao@codesourcery.com>
18299
18300 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
18301 match absolute path on remote host.
18302 (test_file_list_exec_source_files): Remove "/" from the
18303 pattern.
18304
18305 2014-05-14 Yao Qi <yao@codesourcery.com>
18306
18307 * boards/local-remote-host-notty.exp (${board}_file): New
18308 proc.
18309
18310 2014-05-07 Kyle McMartin <kyle@redhat.com>
18311
18312 Pushed by Joel Brobecker <brobecker@adacore.com>.
18313 * gdb.arch/aarch64-atomic-inst.c: New file.
18314 * gdb.arch/aarch64-atomic-inst.exp: New file.
18315
18316 2014-05-07 Yao Qi <yao@codesourcery.com>
18317
18318 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
18319 in current context" too.
18320
18321 2014-05-05 Keith Seitz <keiths@redhat.com>
18322
18323 * gdb.linespec/ls-dollar.exp: Add test for linespec
18324 file:convenience_variable.
18325
18326 2014-05-05 Yao Qi <yao@codesourcery.com>
18327
18328 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
18329 traceframes into tfile and ctf trace files. Read data from
18330 trace file and test collected data.
18331 (gdb_collect_locals_test): Likewise.
18332 (gdb_unavailable_registers_test): Likewise.
18333 (gdb_unavailable_floats): Likewise.
18334 (gdb_collect_globals_test): Likewise.
18335 (top-level): Append "ctf" to trace_file_targets if GDB
18336 supports.
18337
18338 2014-05-05 Yao Qi <yao@codesourcery.com>
18339
18340 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
18341 code to ...
18342 (gdb_collect_args_test_1): ... it. New proc.
18343 (gdb_collect_locals_test): Move some code to ...
18344 (gdb_collect_locals_test_1): ... it. New proc.
18345 (gdb_unavailable_registers_test): Move some code to ...
18346 (gdb_unavailable_registers_test_1): ... it. New proc.
18347 (gdb_unavailable_floats): Move some code to ...
18348 (gdb_unavailable_floats_1): ... it. New proc.
18349
18350 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18351
18352 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
18353 probes to test for bitness recognition.
18354 * gdb.arch/amd64-stap-optional-prefix.exp
18355 (test_probe_value_without_reg): New procedure.
18356 Add code to test for different kinds of bitness.
18357
18358 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18359
18360 PR breakpoints/16889
18361 * gdb.arch/amd64-stap-optional-prefix.S: New file.
18362 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18363
18364 2014-05-01 Pedro Alves <palves@redhat.com>
18365
18366 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
18367 gdb_file_cmd if no file is specified.
18368 * boards/native-extended-gdbserver.exp (gdb_load): Use the
18369 last_loaded_file to set the remote exec-file.
18370
18371 2014-05-01 Pedro Alves <palves@redhat.com>
18372
18373 * boards/local-remote-host.exp: New file.
18374
18375 2014-05-01 Pedro Alves <palves@redhat.com>
18376
18377 * boards/local-remote-host.exp: Rename to ...
18378 * boards/local-remote-host-notty.exp: ... this.
18379
18380 2014-04-28 Joel Brobecker <brobecker@adacore.com>
18381
18382 * gdb.ada/dyn_arrayidx: New testcase.
18383
18384 2014-04-26 Yao Qi <yao@codesourcery.com>
18385
18386 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
18387 and compute the length of function main. Save it in
18388 $main_length.
18389 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
18390 (top-level): Use gdb_compile to compile objects into
18391 executable and restart GDB. Remove invocation to
18392 prepare_for_testing.
18393
18394 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
18395 Pedro Alves <palves@redhat.com>
18396
18397 PR server/16255
18398 * gdb.multi/multi-attach.c: New file.
18399 * gdb.multi/multi-attach.exp: New file.
18400
18401 2014-04-25 Pedro Alves <palves@redhat.com>
18402
18403 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
18404 user.
18405 (top level): Test that "set remote conditional-breakpoints-packet
18406 off" works as intended.
18407 * gdb.base/dprintf.exp: Test that "set remote
18408 breakpoint-commands-packet off" works as intended.
18409 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
18410 New function.
18411 (top level): Call it.
18412 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
18413 remote fast-tracepoints-packet off" works as intended.
18414 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
18415 * lib/gdb.exp (gdb_is_target_remote): ... here.
18416
18417 2014-04-24 David Blaikie <dblaikie@gmail.com>
18418
18419 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
18420 ensure clang would not discard them.
18421 * gdb.base/gdbvars.c: Ditto.
18422 * gdb.base/memattr.c: Ditto.
18423 * gdb.base/whatis.c: Ditto.
18424 * gdb.python/py-prettyprint.c: Ditto.
18425 * gdb.trace/actions.c: Ditto.
18426 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
18427 ensure clang would not discard it.
18428
18429 2014-04-24 David Blaikie <dblaikie@gmail.com>
18430
18431 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
18432 clang to emit the full definition of type required by the test
18433 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
18434
18435 2014-04-24 David Blaikie <dblaikie@gmail.com>
18436
18437 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
18438 coax Clang into emitting the definition of the type.
18439 * gdb.cp/pr10728-x.h (y): Ditto.
18440 * gdb.cp/pr10728-y.cc (y): Ditto.
18441
18442 2014-04-24 David Blaikie <dblaikie@gmail.com>
18443
18444 * gdb.base/label.exp: XFAIL label related tests under Clang.
18445 * gdb.cp/cplabel.exp: Ditto.
18446 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
18447 under Clang those using labels.
18448
18449 2014-04-25 Yao Qi <yao@codesourcery.com>
18450
18451 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
18452 double_label.
18453 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
18454 partial_label and double_label.
18455
18456 2014-04-24 David Blaikie <dblaikie@gmail.com>
18457
18458 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
18459
18460 2014-04-24 David Blaikie <dblaikie@gmail.com>
18461
18462 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
18463 of the function to work across GCC and Clang.
18464 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
18465 pointer types (const void ** const V void **).
18466
18467 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
18468 Walfred Tedeschi <walfred.tedeschi@intel.com>
18469
18470 * Makefile.in (EXECUTABLES): Added i386-avx512.
18471 * gdb.arch/i386-avx512.c: New file.
18472 * gdb.arch/i386-avx512.exp: Likewise.
18473
18474 2014-04-23 Keith Seitz <keiths@redhat.com>
18475
18476 * lib/mi-support.exp (mi_list_breakpoints): Delete.
18477 (mi_make_breakpoint_table): New procedure.
18478 (mi_create_breakpoint): Use mi_make_breakpoint
18479 and return the result.
18480 (mi_make_breakpoint): New procedure.
18481 (mi_build_kv_pairs): New procedure.
18482
18483 * gdb.mi/mi-break.exp: Remove unused globals,
18484 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
18485 All callers updated.
18486 * gdb.mi/mi-dprintf.exp: Use variable to track command
18487 number.
18488 Update all callers of mi_create_breakpoint and use
18489 mi_make_breakpoint_table.
18490 Remove any unused global variables.
18491 * gdb.mi/mi-nonstop.exp: Likewise.
18492 * gdb.mi/mi-nsintrall.exp: Likewise.
18493 * gdb.mi/mi-nsmoribund.exp: Likewise.
18494 * gdb.mi/mi-nsthrexec.exp: Likewise.
18495 * gdb.mi/mi-reverse.exp: Likewise.
18496 * gdb.mi/mi-simplerun.exp: Likewise.
18497 * gdb.mi/mi-stepn.exp: Likewise.
18498 * gdb.mi/mi-syn-frame.exp: Likewise.
18499 * gdb.mi/mi-until.exp: Likewise.
18500 * gdb.mi/mi-var-cp.exp: Likewise.
18501 * gdb.mi/mi-var-display.exp: Likewise.
18502 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18503 * gdb.mi/mi2-var-child.exp: Likewise.
18504 * gdb.mi/mi-vla-c99.exp: Likewise.
18505 * lib/mi-support.exp: Likewise.
18506
18507 From Ian Lance Taylor <iant@cygnus.com>:
18508 * lib/gdb.exp (parse_args): New procedure.
18509
18510 2014-04-23 Pedro Alves <palves@redhat.com>
18511
18512 * gdb.base/break-unload-file.c: New file.
18513 * gdb.base/break-unload-file.exp: New file.
18514 * gdb.base/sym-file-lib.c (baz): New function.
18515 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18516 field.
18517 (load): Store the segment's mapped size.
18518 (unload): New function.
18519 (unload_shlib): New function.
18520 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18521 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18522 set a breakpoint at baz, and call it.
18523 * gdb.base/sym-file.exp: New tests for stale breakpoint
18524 instructions.
18525
18526 2014-04-23 Pedro Alves <palves@redhat.com>
18527
18528 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18529 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18530 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18531 * gdb.base/hbreak-unmapped.c: New file.
18532 * gdb.base/hbreak-unmapped.exp: New file.
18533 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18534 * lib/gdb.exp (gdb_is_target_remote): ... here.
18535
18536 2014-04-22 Pedro Alves <palves@redhat.com>
18537
18538 * gdb.base/consecutive-step-over.c: New file.
18539 * gdb.base/consecutive-step-over.exp: New file.
18540
18541 2014-04-22 Pedro Alves <palves@redhat.com>
18542
18543 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18544 instead of send_gdb/gdb_expect.
18545
18546 2014-04-22 Yao Qi <yao@codesourcery.com>
18547
18548 * lib/trace-support.exp (generate_tracefile): New procedure.
18549 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18550 return 0.
18551 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18552 if generate_tracefile returns 1.
18553
18554 2014-04-18 Tom Tromey <palves@redhat.com>
18555 Pedro alves <tromey@redhat.com>
18556
18557 PR backtrace/15558
18558 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18559 with a backtrace limit.
18560 * gdb.python/py-frame-inline.exp: Test running to an inline
18561 function with a backtrace limit, and printing the newest frame.
18562 * gdb.python/py-frame-inline.c (main): Call f.
18563
18564 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18565
18566 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18567
18568 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18569
18570 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18571 Drop prefix from unsupported source file path.
18572
18573 2014-04-17 Yao Qi <yao@codesourcery.com>
18574
18575 * lib/gdb.exp (with_target_charset): New proc.
18576 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18577 with_target_charset.
18578 (test_print_strings): Likewise.
18579 (test_repeat_bytes): Likewise.
18580 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18581 for some tests.
18582
18583 2014-04-16 Keith Seitz <keiths@redhat.com>
18584
18585 PR gdb/15827
18586 * gdb.dwarf2/corrupt.c: New file.
18587 * gdb.dwarf2/corrupt.exp: New file.
18588
18589 2014-04-16 Keith Seitz <keiths@redhat.com>
18590
18591 PR c++/16597
18592 * gdb.cp/namelessclass.cc: New file.
18593 * gdb.cp/namelessclass.exp: New file.
18594 * gdb.cp/namelessclass.S: New file.
18595
18596 2014-04-16 Doug Evans <dje@google.com>
18597
18598 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18599 Add comment.
18600 (gdbserver_default_get_comm_port): New function.
18601 (gdbserver_start): Check if board file provided
18602 "gdbserver,get_comm_port" and use it if so.
18603 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18604 (gdb,socketport): Set to "stdio".
18605 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18606 (stdio_gdbserver_template): Delete.
18607 (${board}_get_remote_address): Update.
18608 (${board}_build_remote_cmd): Delete.
18609 (${board}_get_comm_port): New function.
18610 (${board}_spawn): Update.
18611 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18612 Delete.
18613 (${board}_get_remote_address): Update.
18614 (${board}_get_comm_port): New function.
18615
18616 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
18617
18618 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18619 appearing in any order.
18620
18621 2014-04-15 Doug Evans <dje@google.com>
18622
18623 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18624 uninitialized value of "description".
18625
18626 2014-04-15 Keith Seitz <keiths@redhat.com>
18627
18628 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18629 Remove unused globals.
18630 (test_running_the_program): Likewise.
18631 (test_controlled_execution): Likewise.
18632 (test_controlling_breakpoints): Likewise.
18633 (test_program_termination): Likewise.
18634
18635 2014-04-15 Keith Seitz <keiths@redhat.com>
18636
18637 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18638 unused globals.
18639 (test_rbreak_creation_and_listing): Likewise.
18640 (test_ignore_count): Likewise.
18641 (test_error): Likewise.
18642
18643 2014-04-15 Pedro Alves <palves@redhat.com>
18644
18645 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18646 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18647 sym-file-loader.c.
18648 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18649 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18650 to sym-file-loader.c.
18651 (struct library): Forward declare.
18652 (load_shlib, lookup_function): Change prototypes.
18653 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18654 (translate_offset): Remove declarations.
18655 (get_text_addr): New declaration.
18656 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18657 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18658 sym-file-loader.h.
18659 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18660 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18661 here from sym-file-loader.h.
18662 (struct library): New structure.
18663 (load_shlib, lookup_function): Change prototypes and adjust to
18664 work with a struct library.
18665 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18666 (translate_offset): Make static.
18667 (get_text_addr): New function.
18668 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18669
18670 2014-04-15 Pedro Alves <palves@redhat.com>
18671
18672 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18673
18674 2014-04-15 Pedro Alves <palves@redhat.com>
18675
18676 * gdb.base/sym-file-loader.c: Include <limits.h>.
18677 (SELF_LINK): New define.
18678 (get_origin): New function.
18679 (load_shlib): Use it.
18680 * gdb.base/sym-file.exp: Don't early return if the target is
18681 remote. Use runto_main, and issue fail is that fails. Use
18682 gdb_load_shlibs.
18683 (shlib_name): Delete.
18684 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18685
18686 2014-04-15 Pedro Alves <palves@redhat.com>
18687
18688 * gdb.base/sym-file.exp: Remove regex characters from test
18689 message. Don't refer to breakpoint numbers in test messages.
18690
18691 2014-04-14 Keith Seitz <keiths@redhat.com>
18692
18693 PR c++/16253
18694 * gdb.cp/var-tag.cc: New file.
18695 * gdb.cp/var-tag.exp: New file.
18696 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18697 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18698 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18699 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18700
18701 2014-04-14 Tom Tromey <tromey@redhat.com>
18702
18703 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18704 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18705 type.
18706 * gdb.cp/enum-class.exp: New file.
18707 * gdb.cp/enum-class.cc: New file.
18708
18709 2014-04-14 Tom Tromey <tromey@redhat.com>
18710
18711 * gdb.dwarf2/enum-type.exp: New file.
18712
18713 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18714
18715 * gdb.mi/mi-vla-c99.exp: New file.
18716 * gdb.mi/vla.c: New file.
18717
18718 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18719
18720 * gdb.base/vla-datatypes.c: New file.
18721 * gdb.base/vla-datatypes.exp: New file.
18722
18723 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18724
18725 * gdb.base/vla-ptr.c: New file.
18726 * gdb.base/vla-ptr.exp: New file.
18727
18728 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18729
18730 * gdb.dwarf2/count.exp: New file.
18731
18732 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18733
18734 * gdb.base/vla-sideeffect.c: New file.
18735 * gdb.base/vla-sideeffect.exp: New file.
18736
18737 2014-04-14 David Blaikie <dblaikie@gmail.com>
18738
18739 * gdb.mi/non-stop.c: Add return value for non-void function return
18740 statement.
18741 * gdb.threads/staticthreads.c: Ditto.
18742
18743 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18744 Doug Evans <xdje42@gmail.com>
18745
18746 * gdb.guile/scm-value.c: Improve test case.
18747 * gdb.guile/scm-value.exp: Add new test.
18748
18749 2014-04-11 David Blaikie <dblaikie@gmail.com>
18750
18751 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18752 override Clang's default.
18753
18754 2014-04-11 Joel Brobecker <brobecker@adacore.com>
18755
18756 Revert the following changes (regressions):
18757
18758 * gdb.base/vla-sideeffect.c: New file.
18759 * gdb.base/vla-sideeffect.exp: New file.
18760
18761 * gdb.dwarf2/count.exp: New file.
18762
18763 * gdb.base/vla-multi.c: New file.
18764 * gdb.base/vla-multi.exp: New file.
18765
18766 * gdb.base/vla-ptr.c: New file.
18767 * gdb.base/vla-ptr.exp: New file.
18768
18769 * gdb.base/vla-datatypes.c: New file.
18770 * gdb.base/vla-datatypes.exp: New file.
18771
18772 * gdb.mi/mi-vla-c99.exp: New file.
18773 * gdb.mi/vla.c: New file.
18774
18775 2014-04-11 Keith Seitz <keiths@redhat.com>
18776
18777 PR c++/16675
18778 * gdb.cp/cpsizeof.exp: New file.
18779 * gdb.cp/cpsizeof.cc: New file.
18780
18781 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18782
18783 * gdb.mi/mi-vla-c99.exp: New file.
18784 * gdb.mi/vla.c: New file.
18785
18786 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18787
18788 * gdb.base/vla-datatypes.c: New file.
18789 * gdb.base/vla-datatypes.exp: New file.
18790
18791 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18792
18793 * gdb.base/vla-ptr.c: New file.
18794 * gdb.base/vla-ptr.exp: New file.
18795
18796 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18797
18798 * gdb.base/vla-multi.c: New file.
18799 * gdb.base/vla-multi.exp: New file.
18800
18801 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18802
18803 * gdb.dwarf2/count.exp: New file.
18804
18805 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18806
18807 * gdb.base/vla-sideeffect.c: New file.
18808 * gdb.base/vla-sideeffect.exp: New file.
18809
18810 2014-04-11 Yao Qi <yao@codesourcery.com>
18811
18812 * gdb.base/completion.exp: Check file exists before running tests
18813 on file completion.
18814
18815 2014-04-10 Pedro Alves <palves@redhat.com>
18816
18817 * gdb.base/cond-eval-mode.c: New file.
18818 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18819 prepare_for_testing to build the new file. Check result of
18820 runto_main.
18821 (test_break, test_watch): New procedures.
18822 (top level): Use them.
18823
18824 2014-04-08 Pierre Muller <muller@sourceware.org>
18825
18826 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18827 Ctrl-V use for mingw hosts.
18828
18829 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18830
18831 * gdb.python/py-value.c: Improve test case.
18832 * gdb.python/py-value.exp: Add new test.
18833
18834 2014-04-07 David Blaikie <dblaikie@gmail.com>
18835
18836 * lib/compiler.c: Identify the clang compiler.
18837 * lib/compiler.cc: Ditto.
18838
18839 2014-04-03 Yao Qi <yao@codesourcery.com>
18840
18841 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18842
18843 2014-04-01 Anton Blanchard <anton@samba.org>
18844
18845 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18846 messages unique.
18847
18848 2014-04-01 Anton Blanchard <anton@samba.org>
18849
18850 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18851 prepare_for_testing.
18852
18853 2014-04-01 Anton Blanchard <anton@samba.org>
18854
18855 * gdb.arch/ppc64-atomic-inst.c: Remove.
18856 * gdb.arch/ppc64-atomic-inst.S: New file.
18857 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18858
18859 2014-03-31 Doug Evans <dje@google.com>
18860
18861 * gdb.base/print-symbol-loading-lib.c: New file.
18862 * gdb.base/print-symbol-loading-main.c: New file.
18863 * gdb.base/print-symbol-loading.exp: New file.
18864
18865 2014-03-31 Yao Qi <yao@codesourcery.com>
18866
18867 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18868
18869 2014-03-28 Joel Brobecker <brobecker@adacore.com>
18870
18871 * gdb.ada/mi_dyn_arr: New testcase.
18872
18873 2014-03-27 Doug Evans <dje@google.com>
18874
18875 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18876
18877 2014-03-27 Yao Qi <yao@codesourcery.com>
18878
18879 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18880 if target is nios2-*-*.
18881
18882 2014-03-26 Yao Qi <yao@codesourcery.com>
18883
18884 * lib/gdb.exp (readline_is_used): New proc.
18885 * gdb.base/completion.exp: Move tests on command complete up.
18886 Skip the rest of tests if readline is not used.
18887 * gdb.ada/complete.exp: Skp the test if readline is not
18888 used.
18889 * gdb.base/filesym.exp: Likewise.
18890 * gdb.base/macscp.exp: Likewise.
18891 * gdb.base/readline-ask.exp: Likewise.
18892 * gdb.base/readline.exp: Likewise.
18893 * gdb.python/py-cmd.exp: Likewise.
18894 * gdb.trace/tfile.exp: Likewise.
18895
18896 2014-03-26 Yao Qi <yao@codesourcery.com>
18897
18898 * gdb.base/macscp.exp: Fix code format issues.
18899
18900 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18901
18902 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18903 * gdb.asm/powerpc64le.inc: New file.
18904
18905 2014-03-25 Pedro Alves <palves@redhat.com>
18906 Doug Evans <dje@google.com>
18907
18908 * gdb.base/source-execution.c: New file.
18909 * gdb.base/source-execution.exp: New file.
18910 * gdb.base/source-execution.gdb: New file.
18911
18912 2014-03-24 Doug Evans <dje@google.com>
18913
18914 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18915 using fission.
18916
18917 2014-03-24 Hui Zhu <hui@codesourcery.com>
18918 Pedro Alves <palves@redhat.com>
18919
18920 PR breakpoints/16101
18921 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18922 test pass/fail messages. Detect missing support for dprintf when
18923 breakpoints are actually inserted.
18924 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18925 breakpoints are actually inserted.
18926 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18927 fails.
18928
18929 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18930
18931 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18932
18933 2014-03-22 Doug Evans <xdje42@gmail.com>
18934
18935 * gdb.python/python.exp (python not supported): Verify multi-line
18936 python command issues an error.
18937 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18938 guile command issues an error.
18939
18940 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18941
18942 * gdb.threads/thread-specific.exp: Handle the lack of usable
18943 $this_breakpoint and $this_thread.
18944
18945 2014-03-21 Hui Zhu <hui@codesourcery.com>
18946
18947 * gdb.base/attach.exp (do_command_attach_tests): New.
18948
18949 2014-03-20 Tom Tromey <tromey@redhat.com>
18950 Pedro Alves <palves@redhat.com>
18951
18952 PR cli/15718
18953 * gdb.base/condbreak-call-false.c: New file.
18954 * gdb.base/condbreak-call-false.exp: New file.
18955
18956 2014-03-20 Pedro Alves <palves@redhat.com>
18957
18958 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18959 Delete.
18960 (block_signals, unblock_signals): Delete.
18961 (child_function_2, main): Remove references to deleted variable
18962 and functions.
18963
18964 2014-03-20 Pedro Alves <palves@redhat.com>
18965
18966 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18967 Use pthread_kill to signal thread 2.
18968 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18969 Adjust to make the test send itself a signal rather than using the
18970 host's "kill" command.
18971
18972 2014-03-20 Pedro Alves <palves@redhat.com>
18973
18974 * gdb.threads/multiple-step-overs.c: New file.
18975 * gdb.threads/multiple-step-overs.exp: New file.
18976 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18977 Adjust expected infrun debug output.
18978
18979 2014-03-20 Pedro Alves <palves@redhat.com>
18980
18981 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18982 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18983
18984 2014-03-20 Pedro Alves <palves@redhat.com>
18985
18986 PR breakpoints/7143
18987 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18988 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18989 of gdb_test_multiple.
18990 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18991 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18992
18993 2014-03-20 Pedro Alves <palves@redhat.com>
18994
18995 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18996 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18997
18998 2014-03-19 Pedro Alves <palves@redhat.com>
18999
19000 * gdb.base/async.exp: Remove early return.
19001
19002 2014-03-19 Pedro Alves <palves@redhat.com>
19003
19004 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19005
19006 2014-03-19 Pedro Alves <palves@redhat.com>
19007
19008 * gdb.base/async.exp (test_background): Expect \r\n after
19009 "completed." in the fail pattern.
19010
19011 2014-03-19 Pedro Alves <palves@redhat.com>
19012
19013 * gdb.base/async.exp (test_background): New procedure.
19014 Use it for all background execution command tests.
19015
19016 2014-03-19 Pedro Alves <palves@redhat.com>
19017
19018 * gdb.base/async.exp: Use prepare_for_testing.
19019
19020 2014-03-19 Pedro Alves <palves@redhat.com>
19021
19022 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19023 the same line.
19024
19025 2014-03-19 Pedro Alves <palves@redhat.com>
19026
19027 * gdb.base/async.c (main): Add "jump here" and "until here" line
19028 marker comments.
19029 * gdb.base/async.exp (jump_here): New global.
19030 (jump& test): Use it.
19031 (until_here): New global.
19032 (until& test): Use it.
19033
19034 2014-03-19 Pedro Alves <palves@redhat.com>
19035
19036 * gdb.base/async.exp: Don't frob gdb_protocol.
19037
19038 2014-03-18 Doug Evans <xdje42@gmail.com>
19039
19040 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19041 Fix spelling of exec-done-display.
19042
19043 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19044
19045 PR gdb/15358
19046 * gdb.base/gdb-sigterm.c: New file.
19047 * gdb.base/gdb-sigterm.exp: New file.
19048
19049 2014-03-18 Pedro Alves <palves@redhat.com>
19050
19051 PR gdb/13860
19052 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19053 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19054 solib-event.
19055
19056 2014-03-17 Joel Brobecker <brobecker@adacore.com>
19057
19058 * gdb.ada/pckd_arr_ren: New testcase.
19059
19060 2014-03-13 Doug Evans <xdje42@gmail.com>
19061
19062 PR guile/16612
19063 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19064 collect after discarding symbols.
19065
19066 2014-03-13 Ludovic Courtès <ludo@gnu.org>
19067 Doug Evans <xdje42@gmail.com>
19068
19069 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19070 to history survives a gc.
19071
19072 2014-03-13 Pedro Alves <palves@redhat.com>
19073
19074 * gdb.base/default.exp: Don't test "target procfs".
19075
19076 2014-03-13 Pedro Alves <palves@redhat.com>
19077
19078 * gdb.base/default.exp: Update "target child" and "target procfs"
19079 tests to not expect "Unix".
19080
19081 2014-03-12 Tom Tromey <tromey@redhat.com>
19082
19083 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19084 New procs. Add target-async tests.
19085 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19086 Add target-async tests.
19087
19088 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19089
19090 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19091 'func_start' and 'func_end' for the beginning and end of the
19092 function code, respectively.
19093 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19094 'func_end' instead of 'func' and 'main'.
19095
19096 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19097
19098 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19099 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19100 generate the debug info assembler source.
19101
19102 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19103
19104 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19105 * gdb.dwarf2/arr-subrange.exp: Likewise.
19106 * gdb.dwarf2/dwz.exp: Likewise.
19107 * gdb.dwarf2/method-ptr.exp: Likewise.
19108 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19109 * gdb.dwarf2/subrange.exp: Likewise.
19110 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19111 * gdb.dwarf2/implptrpiece.exp: Likewise.
19112 * gdb.dwarf2/nostaticblock.exp: Likewise.
19113
19114 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19115
19116 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19117 directory to absolute path name arguments.
19118
19119 2014-03-10 Joel Brobecker <brobecker@adacore.com>
19120
19121 * gdb.ada/tagged_access: New testcase.
19122
19123 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19124
19125 * gdb.btrace/data.exp: Update expected output.
19126
19127 2014-03-06 Yao Qi <yao@codesourcery.com>
19128
19129 * gdb.trace/pr16508.exp: New file.
19130
19131 2014-03-05 Pedro Alves <palves@redhat.com>
19132
19133 PR gdb/16575
19134 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19135 procedure.
19136 (top level): Adjust to use it. Add tests that exercise breakpoint
19137 interaction with the code-cache.
19138
19139 2014-02-26 Ludovic Courtès <ludo@gnu.org>
19140
19141 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19142 test for 'history-append!'.
19143
19144 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19145
19146 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19147 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19148 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19149 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19150 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19151 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19152
19153 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19154
19155 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19156 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19157 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19158
19159 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19160
19161 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19162
19163 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19164
19165 * gdb.dwarf2/arr-stride.c: New file.
19166 * gdb.dwarf2/arr-stride.exp: New file.
19167
19168 2014-02-26 Pedro Alves <palves@redhat.com>
19169
19170 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19171 that won't ever trigger. Make sure that GDB reports the correct
19172 breakpoint that caused the stop.
19173
19174 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19175
19176 PR gdb/16626
19177 * gdb.base/auto-load-script: New file.
19178 * gdb.base/auto-load.c: New file.
19179 * gdb.base/auto-load.exp: New file.
19180
19181 PR gdb/16626
19182 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19183
19184 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19185
19186 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19187 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19188
19189 2014-02-24 Doug Evans <dje@google.com>
19190
19191 * lib/gdb.exp (run_on_host): Log error output if program fails.
19192
19193 2014-02-21 Pedro Alves <palves@redhat.com>
19194
19195 * gdb.threads/step-after-sr-lock.c: Rename to ...
19196 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
19197 * gdb.threads/step-after-sr-lock.exp: Rename to ...
19198 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19199 ... this.
19200
19201 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
19202
19203 PR tdep/16397
19204 * gdb.arch/amd64-stap-special-operands.exp: New file.
19205 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
19206 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
19207 * gdb.arch/amd64-stap-triplet.S: Likewise.
19208 * gdb.arch/amd64-stap-triplet.c: Likewise.
19209
19210 2014-02-20 Joel Brobecker <brobecker@adacore.com>
19211
19212 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
19213 in .section pseudo-op.
19214
19215 2014-02-20 lin zuojian <manjian2006@gmail.com>
19216 Joel Brobecker <brobecker@adacore.com>
19217 Doug Evans <xdje42@gmail.com>
19218
19219 PR symtab/16581
19220 * gdb.dwarf2/dw2-icycle.S: New file.
19221 * gdb.dwarf2/dw2-icycle.c: New file.
19222 * gdb.dwarf2/dw2-icycle.exp: New file.
19223
19224 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
19225
19226 * gdb.python/py-value-cc.cc: Improve test case to enable testing
19227 operations on gdb.Value objects.
19228 * gdb.python/py-value-cc.exp: Add new test to test operations on
19229 gdb.Value objects.
19230
19231 2014-02-18 Doug Evans <dje@google.com>
19232
19233 * Makefile.in (TESTS): New variable.
19234 (expanded_tests, expanded_tests_or_none): New variables
19235 (check-single): Pass $(expanded_tests_or_none) to runtest.
19236 (check-parallel): Only run tests in $(TESTS) if non-empty.
19237 (check/no-matching-tests-found): New rule.
19238 * README: Document TESTS makefile variable.
19239
19240 2014-02-18 Doug Evans <dje@google.com>
19241
19242 * Makefile.in (check-parallel): rm -rf outputs temp.
19243
19244 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19245
19246 Fix "ERROR: no fileid for" in the testsuite.
19247 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
19248
19249 2014-02-12 Doug Evans <dje@google.com>
19250
19251 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
19252 (MISCELLANEOUS): New variable.
19253 (clean): rm -rf $(MISCELLANEOUS).
19254 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
19255 dwp live in the same directory as symlinks, with each symlink pointed
19256 to a differently named file in a different directory.
19257
19258 2014-02-11 Doug Evans <dje@google.com>
19259
19260 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
19261 of Tcl file commands.
19262
19263 2014-02-10 Mark Kettenis <kettenis@gnu.org>
19264
19265 * gdb.threads/step-after-sr-lock.exp: Avoid executing
19266 "kill -SIGUSR1 -1".
19267
19268 2014-02-10 Joel Brobecker <brobecker@adacore.com>
19269
19270 * gdb.ada/tick_length_array_enum_idx: New testcase.
19271
19272 2014-02-10 Doug Evans <xdje42@gmail.com>
19273
19274 * configure.ac (AC_OUTPUT): Add gdb.guile.
19275 * configure: Regenerate.
19276 * lib/gdb-guile.exp: New file.
19277 * lib/gdb.exp (get_target_charset): New function.
19278 * gdb.base/help.exp: Update expected output from "apropos apropos".
19279 * gdb.guile/Makefile.in: New file.
19280 * gdb.guile/guile.exp: New file.
19281 * gdb.guile/scm-arch.c: New file.
19282 * gdb.guile/scm-arch.exp: New file.
19283 * gdb.guile/scm-block.c: New file.
19284 * gdb.guile/scm-block.exp: New file.
19285 * gdb.guile/scm-breakpoint.c: New file.
19286 * gdb.guile/scm-breakpoint.exp: New file.
19287 * gdb.guile/scm-disasm.c: New file.
19288 * gdb.guile/scm-disasm.exp: New file.
19289 * gdb.guile/scm-equal.c: New file.
19290 * gdb.guile/scm-equal.exp: New file.
19291 * gdb.guile/scm-error.exp: New file.
19292 * gdb.guile/scm-error.scm: New file.
19293 * gdb.guile/scm-frame-args.c: New file.
19294 * gdb.guile/scm-frame-args.exp: New file.
19295 * gdb.guile/scm-frame-args.scm: New file.
19296 * gdb.guile/scm-frame-inline.c: New file.
19297 * gdb.guile/scm-frame-inline.exp: New file.
19298 * gdb.guile/scm-frame.c: New file.
19299 * gdb.guile/scm-frame.exp: New file.
19300 * gdb.guile/scm-generics.exp: New file.
19301 * gdb.guile/scm-gsmob.exp: New file.
19302 * gdb.guile/scm-iterator.c: New file.
19303 * gdb.guile/scm-iterator.exp: New file.
19304 * gdb.guile/scm-math.c: New file.
19305 * gdb.guile/scm-math.exp: New file.
19306 * gdb.guile/scm-objfile-script-gdb.in: New file.
19307 * gdb.guile/scm-objfile-script.c: New file.
19308 * gdb.guile/scm-objfile-script.exp: New file.
19309 * gdb.guile/scm-objfile.c: New file.
19310 * gdb.guile/scm-objfile.exp: New file.
19311 * gdb.guile/scm-ports.exp: New file.
19312 * gdb.guile/scm-pretty-print.c: New file.
19313 * gdb.guile/scm-pretty-print.exp: New file.
19314 * gdb.guile/scm-pretty-print.scm: New file.
19315 * gdb.guile/scm-section-script.c: New file.
19316 * gdb.guile/scm-section-script.exp: New file.
19317 * gdb.guile/scm-section-script.scm: New file.
19318 * gdb.guile/scm-symbol.c: New file.
19319 * gdb.guile/scm-symbol.exp: New file.
19320 * gdb.guile/scm-symtab-2.c: New file.
19321 * gdb.guile/scm-symtab.c: New file.
19322 * gdb.guile/scm-symtab.exp: New file.
19323 * gdb.guile/scm-type.c: New file.
19324 * gdb.guile/scm-type.exp: New file.
19325 * gdb.guile/scm-value-cc.cc: New file.
19326 * gdb.guile/scm-value-cc.exp: New file.
19327 * gdb.guile/scm-value.c: New file.
19328 * gdb.guile/scm-value.exp: New file.
19329 * gdb.guile/source2.scm: New file.
19330 * gdb.guile/types-module.cc: New file.
19331 * gdb.guile/types-module.exp: New file.
19332
19333 2014-02-10 Yao Qi <yao@codesourcery.com>
19334
19335 PR testsuite/16543
19336 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
19337 * configure: Regenerated.
19338 * Makefile.in: New file.
19339
19340 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
19341
19342 * gdb.python/py-framefilter.exp: Fix typo.
19343
19344 2014-02-08 Yao Qi <yao@codesourcery.com>
19345
19346 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
19347 that no =breakpoint-modified is emitted when breakpoints are
19348 modified through MI commands.
19349
19350 2014-02-07 Pedro Alves <pedro@codesourcery.com>
19351 Pedro Alves <palves@redhat.com>
19352
19353 * gdb.threads/step-after-sr-lock.c: New file.
19354 * gdb.threads/step-after-sr-lock.exp: New file.
19355
19356 2014-02-07 Pedro Alves <palves@redhat.com>
19357
19358 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
19359
19360 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
19361
19362 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
19363 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
19364
19365 2014-02-06 Doug Evans <xdje42@gmail.com>
19366
19367 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
19368 output.
19369
19370 * gdb.gdb/python-interrupts.exp: New file.
19371
19372 2014-02-05 Yao Qi <yao@codesourcery.com>
19373
19374 * gdb.trace/report.exp (use_collected_data): Test the output
19375 of "info threads" and "info inferiors".
19376
19377 2014-02-05 Yao Qi <yao@codesourcery.com>
19378
19379 Revert this patch:
19380
19381 2013-05-24 Yao Qi <yao@codesourcery.com>
19382
19383 * gdb.trace/tfile.exp: Test inferior and thread.
19384
19385 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19386
19387 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
19388 on a function.
19389 * gdb.base/step-bt.c: Call hello via function pointer to make
19390 sure its first instruction is executed on powerpc64le-linux.
19391
19392 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19393
19394 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
19395
19396 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19397
19398 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
19399 of the test patterns for use on little-endian systems.
19400
19401 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19402
19403 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
19404 (decimal_vector): Fix for little-endian.
19405
19406 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
19407
19408 * gdb.arch/sparc-sysstep.exp: New file.
19409 * gdb.arch/sparc-sysstep.c: Likewise.
19410
19411 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
19412
19413 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19414
19415 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
19416
19417 2014-01-23 Tom Tromey <tromey@redhat.com>
19418
19419 * gdb.ada/array_char_idx: New testcase.
19420
19421 2014-01-23 Tom Tromey <tromey@redhat.com>
19422
19423 PR python/16487:
19424 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
19425 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
19426 classes.
19427
19428 2014-01-23 Tom Tromey <tromey@redhat.com>
19429
19430 PR python/16491:
19431 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
19432 string from an inferior frame.
19433 * gdb.python/py-framefilter-mi.exp: Update.
19434
19435 2014-01-22 Doug Evans <dje@google.com>
19436
19437 * gdb.server/server-mon.exp: Add tests for "set debug-format".
19438
19439 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19440
19441 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
19442
19443 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19444
19445 * gdb.trace/entry-values.exp: Remove excess space character from
19446 regex patterns. Handle s390 call instruction.
19447
19448 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19449
19450 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
19451 define "*_start" label. Make "name" static.
19452 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
19453 ${name} by references to ${name}_start.
19454
19455 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19456
19457 * gdb.base/info-macros.exp: Remove "debug" from the compile
19458 options.
19459
19460 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19461
19462 * gdb.dlang/demangle.exp: New file.
19463
19464 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19465
19466 * gdb.dlang/primitive-types.exp: New file.
19467
19468 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19469
19470 * configure.ac: Create gdb.dlang/Makefile.
19471 * configure: Regenerate.
19472 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
19473 * gdb.dlang/Makefile.in: New file.
19474 * lib/d-support.exp: New file.
19475 * lib/gdb.exp (skip_d_tests): New proc.
19476
19477 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19478
19479 * gdb.btrace/delta.exp: Check reverse stepi.
19480 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
19481 * gdb.btrace/finish.exp: New.
19482 * gdb.btrace/next.exp: New.
19483 * gdb.btrace/nexti.exp: New.
19484 * gdb.btrace/record_goto.c: Add comments.
19485 * gdb.btrace/step.exp: New.
19486 * gdb.btrace/stepi.exp: New.
19487 * gdb.btrace/multi-thread-step.c: New.
19488 * gdb.btrace/multi-thread-step.exp: New.
19489 * gdb.btrace/rn-dl-bind.c: New.
19490 * gdb.btrace/rn-dl-bind.exp: New.
19491 * gdb.btrace/data.c: New.
19492 * gdb.btrace/data.exp: New.
19493 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19494
19495 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19496
19497 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19498 * gdb.btrace/exception.exp: Update.
19499 * gdb.btrace/instruction_history.exp: Update.
19500 * gdb.btrace/record_goto.exp: Update.
19501 * gdb.btrace/tailcall.exp: Update.
19502 * gdb.btrace/unknown_functions.exp: Update.
19503 * gdb.btrace/delta.exp: New.
19504
19505 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19506
19507 * gdb.btrace/record_goto.exp: Add backtrace test.
19508 * gdb.btrace/tailcall.exp: Add backtrace test.
19509
19510 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19511
19512 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19513 * gdb.btrace/record_goto.c: New.
19514 * gdb.btrace/record_goto.exp: New.
19515 * gdb.btrace/x86-record_goto.S: New.
19516
19517 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19518
19519 * gdb.btrace/function_call_history.exp: Update tests.
19520 * gdb.btrace/instruction_history.exp: Update tests.
19521
19522 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19523
19524 * gdb.btrace/function_call_history.exp: Fix expected field
19525 order for "record function-call-history".
19526 Add new tests for "record function-call-history /c".
19527 * gdb.btrace/exception.cc: New.
19528 * gdb.btrace/exception.exp: New.
19529 * gdb.btrace/tailcall.exp: New.
19530 * gdb.btrace/x86-tailcall.S: New.
19531 * gdb.btrace/x86-tailcall.c: New.
19532 * gdb.btrace/unknown_functions.c: New.
19533 * gdb.btrace/unknown_functions.exp: New.
19534 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19535
19536 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19537
19538 * gdb.btrace/instruction_history.exp: Update.
19539 * gdb.btrace/function_call_history.exp: Update.
19540
19541 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19542
19543 * gdb.btrace/function_call_history.exp: Fix expected function
19544 trace.
19545 * gdb.btrace/instruction_history.exp: Initialize traced.
19546 Remove traced_functions.
19547
19548 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19549
19550 * gdb.btrace/function_call_history.exp: Update
19551 * gdb.btrace/instruction_history.exp: Update.
19552
19553 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19554
19555 * gdb.btrace/enable.exp: Update expected text.
19556
19557 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19558
19559 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19560 bytes.
19561
19562 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19563
19564 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19565
19566 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
19567
19568 * lib/gdb.exp (supports_process_record): Return true for
19569 arm*-linux*. (supports_reverse): Likewise.
19570
19571 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19572
19573 PR python/15464
19574 PR python/16113
19575 * gdb.python/py-type.c: Enhance test case.
19576 * gdb.python/py-value-cc.cc: Likewise
19577 * gdb.python/py-type.exp: Add new tests.
19578 * gdb.python/py-value-cc.exp: Likewise
19579
19580 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19581 Pedro Alves <palves@redhat.com>
19582
19583 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19584 Make "name" extern.
19585 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19586 references to ${name}_start by references to ${name}.
19587
19588 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19589
19590 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19591
19592 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19593
19594 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19595
19596 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19597 Pedro Alves <palves@redhat.com>
19598
19599 * gdb.mi/mi-info-os.exp: Connect to the target with
19600 mi_gdb_target_load.
19601
19602 2014-01-08 Pedro Alves <palves@redhat.com>
19603
19604 * gdb.threads/reconnect-signal.c: New file.
19605 * gdb.threads/reconnect-signal.exp: New file.
19606
19607 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19608
19609 * gdb.base/source-dir.exp: New file.
19610
19611 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19612
19613 * gdb.ada/mi_interface: New testcase.
19614
19615 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19616
19617 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19618 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19619 gdb.ada/pp-rec-component/pck.ads: New files.
19620
19621 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19622
19623 * gdb.python/py-pp-integral.c: New file.
19624 * gdb.python/py-pp-integral.py: New file.
19625 * gdb.python/py-pp-integral.exp: New file.
19626
19627 For older changes see ChangeLog-1993-2013.
19628 \f
19629 ;; Local Variables:
19630 ;; mode: change-log
19631 ;; left-margin: 8
19632 ;; fill-column: 74
19633 ;; version-control: never
19634 ;; End:
19635
19636 Copyright 2014-2020 Free Software Foundation, Inc.
19637 Copying and distribution of this file, with or without modification,
19638 are permitted provided the copyright notice and this notice are preserved.
This page took 0.450104 seconds and 5 git commands to generate.