Clean-up gdb.ada test names
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-05-11 Keith Seitz <keiths@redhat.com>
2
3 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4 test names.
5 * gdb.ada/arrayptr.exp: Likewise.
6 * gdb.ada/assign_arr.exp: Likewise.
7 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
8 * gdb.ada/bp_on_var.exp: Likewise.
9 * gdb.ada/call_pn.exp: Likewise.
10 * gdb.ada/complete.exp: Likewise.
11 * gdb.ada/fun_overload_menu.exp: Likewise.
12 * gdb.ada/funcall_param.exp: Likewise.
13 * gdb.ada/funcall_ref.exp: Likewise.
14 * gdb.ada/packed_array_assign.exp: Likewise.
15 * gdb.ada/same_component_name.exp: Likewise.
16 * gdb.ada/type_coercion.exp: Likewise.
17 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
18 * gdb.ada/variant_record_packed_array.exp: Likewise.
19
20 2020-05-11 Tom de Vries <tdevries@suse.de>
21
22 PR symtab/25941
23 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
24 out of ...
25 * gdb.dwarf2/clang-debug-names.exp: ... here.
26 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
27 clang-debug-names.exp.in.
28 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
29 * gdb.dwarf2/clang-debug-names-2.c: New test.
30
31 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
32
33 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
34 (fortran_runto_main): New Proc, fortran version of runto_main.
35 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
36 * gdb.fortran/array-bounds.exp: Likewise.
37 * gdb.fortran/array-slices.exp: Likewise.
38 * gdb.fortran/block-data.exp: Likewise.
39 * gdb.fortran/charset.exp: Likewise.
40 * gdb.fortran/common-block.exp: Likewise.
41 * gdb.fortran/complex.exp: Likewise.
42 * gdb.fortran/derived-type-function.exp: Likewise.
43 * gdb.fortran/derived-type.exp: Likewise.
44 * gdb.fortran/info-modules.exp: Likewise.
45 * gdb.fortran/info-types.exp: Likewise.
46 * gdb.fortran/intrinsics.exp: Likewise.
47 * gdb.fortran/library-module.exp: Likewise.
48 * gdb.fortran/logical.exp: Likewise.
49 * gdb.fortran/max-depth.exp: Likewise.
50 * gdb.fortran/module.exp: Likewise.
51 * gdb.fortran/multi-dim.exp: Likewise.
52 * gdb.fortran/nested-funcs.exp: Likewise.
53 * gdb.fortran/print-formatted.exp: Likewise.
54 * gdb.fortran/print_type.exp: Likewise.
55 * gdb.fortran/printing-types.exp: Likewise.
56 * gdb.fortran/ptr-indentation.exp: Likewise.
57 * gdb.fortran/ptype-on-functions.exp: Likewise.
58 * gdb.fortran/subarray.exp: Likewise.
59 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
60 * gdb.fortran/vla-datatypes.exp: Likewise.
61 * gdb.fortran/vla-history.exp: Likewise.
62 * gdb.fortran/vla-ptr-info.exp: Likewise.
63 * gdb.fortran/vla-ptype-sub.exp: Likewise.
64 * gdb.fortran/vla-ptype.exp: Likewise.
65 * gdb.fortran/vla-sizeof.exp: Likewise.
66 * gdb.fortran/vla-type.exp: Likewise.
67 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
68 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
69 * gdb.fortran/vla-value-sub.exp: Likewise.
70 * gdb.fortran/vla-value.exp: Likewise.
71 * gdb.fortran/whatis_type.exp: Likewise.
72 * gdb.mi/mi-var-child-f.exp: Likewise.
73
74 2020-05-09 Tom de Vries <tdevries@suse.de>
75
76 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
77
78 2020-05-08 Tom de Vries <tdevries@suse.de>
79
80 * gdb.dwarf2/clang-debug-names.c: New test.
81 * gdb.dwarf2/clang-debug-names.exp: New file.
82
83 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
84
85 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
86 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
87
88 2020-05-06 Tom de Vries <tdevries@suse.de>
89
90 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
91 breakpoint is at a "recommended breakpoint location".
92 * gdb.reverse/consecutive-reverse.exp: Same.
93
94 2020-05-06 Tom de Vries <tdevries@suse.de>
95
96 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
97 address.
98
99 2020-05-06 Tom de Vries <tdevries@suse.de>
100
101 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
102
103 2020-05-06 Tom de Vries <tdevries@suse.de>
104
105 * gdb.base/store.exp (check_set, up_set): Allowing missing location
106 info for r.
107
108 2020-05-06 Tom de Vries <tdevries@suse.de>
109
110 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
111 necessary.
112
113 2020-05-06 Tom de Vries <tdevries@suse.de>
114
115 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
116 void.
117
118 2020-05-06 Tom de Vries <tdevries@suse.de>
119
120 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
121 of ...
122 * gdb.base/async.exp: ... here.
123 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
124 "recommended breakpoint location".
125
126 2020-05-06 Tom de Vries <tdevries@suse.de>
127
128 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
129
130 2020-05-04 Tom de Vries <tdevries@suse.de>
131
132 * gdb.base/async.exp: Check whether instruction addresses are a
133 "recommended breakpoint location".
134
135 2020-05-03 Tom Tromey <tom@tromey.com>
136
137 * gdb.base/sepdebug.exp: Remove "catch" test.
138 * gdb.base/break.exp: Remove "catch" test.
139 * gdb.base/default.exp: Update expected output.
140
141 2020-05-02 Tom de Vries <tdevries@suse.de>
142
143 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
144 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
145 * gdb.arch/i386-mpx-map.exp: Same.
146 * gdb.arch/i386-mpx-sigsegv.exp: Same.
147 * gdb.arch/i386-mpx-simple_segv.exp: Same.
148 * gdb.arch/i386-mpx.exp: Same.
149
150 2020-05-02 Tom de Vries <tdevries@suse.de>
151
152 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
153
154 2020-05-01 Tom de Vries <tdevries@suse.de>
155
156 * gdb.ada/operator_bp.exp: Allow more than required amount of
157 breakpoint.
158
159 2020-05-01 Tom de Vries <tdevries@suse.de>
160
161 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
162
163 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
164
165 PR gdb/18706
166 * gdb.cp/stub-array-size.cc: New test.
167 * gdb.cp/stub-array-size.exp: New file.
168 * gdb.cp/stub-array-size.h: New test.
169 * gdb.cp/stub-array-size2.cc: New test.
170
171 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
172
173 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
174 output to the new format.
175
176 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
177
178 * gdb.base/break.exp: Use with_test_prefix.
179
180 2020-04-29 Tom de Vries <tdevries@suse.de>
181
182 * lib/gdb.exp (debug_types): New proc.
183 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
184 * gdb.python/py-symtab.exp: Same.
185
186 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
187
188 PR gdb/17320
189 * gdb.base/pretty-array.c: New test.
190 * gdb.base/pretty-array.exp: New file.
191
192 2020-04-29 Tom de Vries <tdevries@suse.de>
193
194 PR symtab/25889
195 * gdb.cp/cpexprs.exp: Adapt for inclusion.
196 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
197 and include cpexprs.exp.
198
199 2020-04-28 Mark Williams <mark@myosotissp.com>
200
201 PR gdb/24480
202 * dw4-toplevel-types.exp: Test for top level types.
203 * dw4-toplevel-types.cc: Test for top level types.
204
205 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
206
207 * gdb.threads/stop-with-handle.exp: Fix typo in comment
208 (theads -> threads).
209
210 2020-04-28 Tom de Vries <tdevries@suse.de>
211
212 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
213
214 2020-04-28 Tom de Vries <tdevries@suse.de>
215
216 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
217
218 2020-04-28 Tom de Vries <tdevries@suse.de>
219
220 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
221
222 2020-04-28 Tom de Vries <tdevries@suse.de>
223
224 * gdb.dwarf2/main-foo.c: New test.
225 * gdb.dwarf2/struct-with-sig.exp: New file.
226
227 2020-04-25 Tom de Vries <tdevries@suse.de>
228
229 * boards/debug-types.exp: New file.
230
231 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
232
233 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
234
235 2020-04-24 Tom Tromey <tom@tromey.com>
236
237 PR symtab/12707:
238 * gdb.python/py-symbol.exp: Update expected results for
239 linkage_name test.
240 * gdb.cp/print-demangle.exp: New file.
241 * gdb.base/c-linkage-name.exp: Fix test.
242 * gdb.guile/scm-symbol.exp: Update expected results for
243 linkage_name test.
244
245 2020-04-24 Tom Tromey <tom@tromey.com>
246
247 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
248 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
249 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
250 assembler.
251
252 2020-04-24 Tom de Vries <tdevries@suse.de>
253
254 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
255 C++.
256
257 2020-04-24 Tom Tromey <tromey@adacore.com>
258
259 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
260 values.
261 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
262 values. Update test for minimal encodings.
263 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
264 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
265 values. Update test for minimal encodings.
266
267 2020-04-24 Tom Tromey <tromey@adacore.com>
268
269 PR python/23662:
270 * gdb.ada/variant.exp: Add Python checks.
271 * gdb.rust/simple.exp: Add dynamic type checks.
272
273 2020-04-24 Tom Tromey <tromey@adacore.com>
274
275 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
276 Make array type matching more lax.
277 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
278 * gdb.ada/mi_variant.exp: New file.
279 * gdb.ada/mi_variant/pck.ads: New file.
280 * gdb.ada/mi_variant/pkg.adb: New file.
281 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
282 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
283
284 2020-04-24 Tom Tromey <tromey@adacore.com>
285
286 * gdb.ada/variant.exp: Add dynamic field offset tests.
287 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
288 * gdb.ada/variant/pkg.adb: Add new variables.
289
290 2020-04-24 Tom Tromey <tromey@adacore.com>
291
292 * gdb.ada/variant.exp: New file
293 * gdb.ada/variant/pkg.adb: New file
294 * gdb.ada/variant/pck.adb: New file
295
296 2020-04-24 Tom de Vries <tdevries@suse.de>
297
298 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
299
300 2020-04-24 Tom de Vries <tdevries@suse.de>
301
302 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
303 flags.
304
305 2020-04-24 Tom de Vries <tdevries@suse.de>
306
307 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
308
309 2020-04-24 Tom de Vries <tdevries@suse.de>
310
311 * lib/gdb.exp (default_gdb_start): Handle eof.
312 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
313 failure.
314 * gdb.base/readnever.exp: Handle clean_restart failure.
315
316 2020-04-23 Tom de Vries <tdevries@suse.de>
317
318 * gdb.base/decl-before-def.exp: Run to main and print a again.
319
320 2020-04-23 Tom de Vries <tdevries@suse.de>
321
322 * gdb.base/decl-before-def-decl.c: New test.
323 * gdb.base/decl-before-def-def.c: New test.
324 * gdb.base/decl-before-def.exp: New file.
325
326 2020-04-23 Tom de Vries <tdevries@suse.de>
327
328 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
329
330 2020-04-22 Tom de Vries <tdevries@suse.de>
331
332 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
333 debug_info_offset.
334 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
335 before $objsfile in the line line.
336
337 2020-04-22 Tom de Vries <tdevries@suse.de>
338
339 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
340
341 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
342
343 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
344 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
345 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
346 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
347 * gdb.base/jit-protocol.h: Update definitions to match all usage
348 contexts.
349
350 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
351
352 * gdb.base: Rename all jit related test and source files.
353
354 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
355
356 * gdb.base/jit-reader.exp: Relax register output check.
357
358 2020-04-22 Tom de Vries <tdevries@suse.de>
359
360 PR symtab/25764
361 * gdb.base/psym-external-decl-2.c: New test.
362 * gdb.base/psym-external-decl.c: New test.
363 * gdb.base/psym-external-decl.exp: New file.
364 * gdb.threads/tls.exp: Add PR25807 kfail.
365
366 2020-04-22 Tom de Vries <tdevries@suse.de>
367
368 PR symtab/25801
369 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
370 in "info source" output.
371
372 2020-04-22 Tom de Vries <tdevries@suse.de>
373
374 PR symtab/25700
375 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
376 symtab for imported_unit.c.
377
378 2020-04-21 Gary Benson <gbenson@redhat.com>
379
380 * gdb.base/advance.c (func): New argument, to match call site.
381 (func2, func3): Add return statements.
382
383 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
384
385 * gdb.multi/run-only-second-inf.c: New file.
386 * gdb.multi/run-only-second-inf.exp: New file.
387
388 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
389
390 * gdb.btrace/multi-inferior.c: New test.
391 * gdb.btrace/multi-inferior.exp: New file.
392
393 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
394
395 * gdb.btrace/enable-new-thread.c: New test.
396 * gdb.btrace/enable-new-thread.exp: New file.
397
398 2020-04-21 Tom de Vries <tdevries@suse.de>
399
400 PR gdb/25471
401 * gdb.threads/killed-outside.c: New test.
402 * gdb.threads/killed-outside.exp: New file.
403
404 2020-04-20 Gary Benson <gbenson@redhat.com>
405
406 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
407 * gdb.base/nested-subp2.exp: Likewise.
408 * gdb.base/nested-subp3.exp: Likewise.
409
410 2020-04-20 Gary Benson <gbenson@redhat.com>
411
412 * gdb.base/nested-subp1.exp: Disable test when using clang.
413 * gdb.base/nested-subp2.exp: Likewise.
414 * gdb.base/nested-subp3.exp: Likewise.
415
416 2020-04-20 Gary Benson <gbenson@redhat.com>
417
418 * gdb.cp/exception.cc: Fix compilation error with clang.
419
420 2020-04-20 Gary Benson <gbenson@redhat.com>
421
422 * gdb.trace/tspeed.c: Fix compilation error with clang.
423
424 2020-04-20 Gary Benson <gbenson@redhat.com>
425
426 * gdb.base/jit-main.c: Fix compilation error with clang.
427
428 2020-04-17 Kamil Rytarowski <n54@gmx.com>
429
430 * gdb.base/attach-twice.c: Include "sys/types.h".
431 (PTRACE_ATTACH): Add fallback definition.
432 (main): Pass `0' to the 4th argument of `ptrace'.
433
434 2020-04-17 Kamil Rytarowski <n54@gmx.com>
435
436 * gdb.base/fork-running-state.c: Include "signal.h".
437
438 2020-04-17 Tom Tromey <tromey@adacore.com>
439
440 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
441 Update tests.
442 * gdb.btrace/cpu.exp: Update tests.
443 * gdb.base/maint.exp: Update tests.
444 * gdb.base/default.exp: Update tests.
445 * gdb.base/completion.exp: Update tests.
446
447 2020-04-16 Tom de Vries <tdevries@suse.de>
448
449 PR symtab/25791
450 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
451 (ensure_gdb_index): and factor out and move ...
452 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
453 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
454
455 2020-04-16 Tom de Vries <tdevries@suse.de>
456
457 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
458 loading exec.
459
460 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
461
462 * gdb.base/many-completions.exp: New file.
463
464 2020-04-14 Tom de Vries <tdevries@suse.de>
465
466 PR symtab/25718
467 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
468
469 2020-04-14 Tom de Vries <tdevries@suse.de>
470
471 PR symtab/25720
472 * gdb.base/maint-expand-symbols-header-file.c: New test.
473 * gdb.base/maint-expand-symbols-header-file.exp: New file.
474 * gdb.base/maint-expand-symbols-header-file.h: New test.
475
476 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
477
478 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
479 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
480 get_func_info.
481 (get_func_info): Delete.
482 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
483 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
484 * lib/dwarf.exp (get_func_info): New function.
485
486 2020-04-13 Tom de Vries <tdevries@suse.de>
487
488 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
489 to what find_gnatmake does.
490
491 2020-04-10 Tom de Vries <tdevries@suse.de>
492
493 * gdb.base/style.exp: Expect "Expanding full symbols" message for
494 -readnow.
495
496 2020-04-10 Tom de Vries <tdevries@suse.de>
497
498 PR cli/25808
499 * gdb.base/style.c: Add leading newlines.
500 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
501 Check listing of main's one-line body.
502
503 2020-04-08 Tom de Vries <tdevries@suse.de>
504
505 * lib/gdb.exp (psymtabs_p): New proc.
506 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
507 importing unit" unsupported if there are no partial symbols.
508
509 2020-04-08 Tom de Vries <tdevries@suse.de>
510
511 PR testsuite/25760
512 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
513
514 2020-04-07 Tom de Vries <tdevries@suse.de>
515
516 PR symtab/25796
517 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
518
519 2020-04-07 Tom de Vries <tdevries@suse.de>
520
521 * gdb.base/check-psymtab.c: New test.
522 * gdb.base/check-psymtab.exp: New file.
523
524 2020-04-06 Tom Tromey <tromey@adacore.com>
525
526 * gdb.ada/variant-record/proc.adb: New file.
527 * gdb.ada/variant-record/value.adb: New file.
528 * gdb.ada/variant-record/value.s: New file.
529 * gdb.ada/variant-record.exp: New file.
530
531 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
532
533 PR gdb/25325
534 * gdb.cp/typed-enum.cc: New test.
535 * gdb.cp/typed-enum.exp: New file.
536
537 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
538
539 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
540 * gdb.dwarf2/dw2-inline-small-func.c: New file.
541 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
542 * gdb.dwarf2/dw2-inline-small-func.h: New file.
543 * gdb.opt/inline-small-func.c: New file.
544 * gdb.opt/inline-small-func.exp: New file.
545 * gdb.opt/inline-small-func.h: New file.
546
547 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
548
549 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
550 function.
551
552 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
553
554 * lib/dwarf.exp (function_range): Allow compiler options to be
555 specified.
556
557 2020-04-02 Tom de Vries <tdevries@suse.de>
558
559 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
560 __attribute__((always_inline)).
561 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
562
563 2020-04-02 Tom de Vries <tdevries@suse.de>
564
565 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
566 (gdbserver_gdb_exit): ... here. Add timeout warning.
567 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
568 (connect_target_extended_remote): Append new server_spawn_id to
569 server_spawn_ids.
570 (cleanup): New proc.
571 (setup, <toplevel>): Call cleanup.
572
573 2020-04-02 Tom de Vries <tdevries@suse.de>
574
575 * gdb.base/main-psymtab.exp: New file.
576
577 2020-04-02 Tom de Vries <tdevries@suse.de>
578
579 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
580
581 2020-04-01 Tom Tromey <tom@tromey.com>
582
583 * gdb.base/complex-parts.exp: Add type tests.
584
585 2020-04-01 Tom Tromey <tom@tromey.com>
586
587 * gdb.base/complex-parts.exp: Add arithmetic tests.
588
589 2020-04-01 Tom Tromey <tom@tromey.com>
590
591 * gdb.compile/compile.exp: Update.
592 * gdb.compile/compile-cplus.exp: Update.
593 * gdb.base/varargs.exp: Update.
594 * gdb.base/floatn.exp: Update.
595 * gdb.base/endianity.exp: Update.
596 * gdb.base/callfuncs.exp (do_function_calls): Update.
597 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
598 (complex_float_integral_args): Update.
599 * gdb.base/complex.exp: Update.
600 * gdb.base/complex-parts.exp: Update.
601
602 2020-04-01 Tom Tromey <tromey@adacore.com>
603
604 * gdb.rust/union.rs: New file.
605 * gdb.rust/union.exp: New file.
606 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
607 (main): Update.
608 * gdb.rust/simple.exp: Move union tests to union.exp.
609
610 2020-04-01 Tom Tromey <tromey@adacore.com>
611
612 * gdb.rust/simple.rs (main): Remove "y0".
613
614 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
615
616 * gdb.multi/stop-all-on-exit.c: New test.
617 * gdb.multi/stop-all-on-exit.exp: New file.
618
619 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
620
621 PR gdb/24789
622 * gdb.cp/misc.cc: Add integer reference variable.
623 * gdb.cp/misc.exp: Add test.
624
625 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
626
627 * gdb.server/stop-reply-no-thread.exp: Enhance the test
628 scenario to cover execution until the end and also the case
629
630 2020-03-31 Tom de Vries <tdevries@suse.de>
631
632 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
633 c. Use "maint info symtabs" to check symtab expansion.
634
635 2020-03-30 Tom de Vries <tdevries@suse.de>
636
637 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
638 unsupported.
639 (verify_psymtab_expanded): Move ...
640 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
641 test.
642 (readnow): New proc.
643
644 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
645
646 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
647 with $hex.
648
649 2020-03-20 Tom Tromey <tromey@adacore.com>
650
651 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
652
653 2020-03-20 Tom Tromey <tromey@adacore.com>
654
655 * gdb.ada/sub_variant/subv.adb: New file.
656 * gdb.ada/sub_variant.exp: New file.
657
658 2020-03-20 Tom de Vries <tdevries@suse.de>
659
660 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
661 first break fails.
662 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
663
664 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
665
666 * gdb.server/exit-multiple-threads.c: New file.
667 * gdb.server/exit-multiple-threads.exp: New file.
668
669 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
670
671 * gdb.fortran/mixed-lang-stack.c: New file.
672 * gdb.fortran/mixed-lang-stack.cpp: New file.
673 * gdb.fortran/mixed-lang-stack.exp: New file.
674 * gdb.fortran/mixed-lang-stack.f90: New file.
675
676 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
677
678 * gdb.linespec/cp-completion-aliases.cc: New file.
679 * gdb.linespec/cp-completion-aliases.exp: New file.
680
681 2020-03-19 Tom de Vries <tdevries@suse.de>
682
683 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
684 more precise.
685
686 2020-03-18 Tom de Vries <tdevries@suse.de>
687
688 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
689 * gdb.dwarf2/break-inline-psymtab.c: New test.
690 * gdb.dwarf2/break-inline-psymtab.exp: New file.
691
692 2020-03-16 Tom de Vries <tdevries@suse.de>
693
694 * lib/cache.exp (gdb_do_cache): Add and handle local variables
695 cache_verify and cache_verify_proc.
696
697 2020-03-15 Tom de Vries <tdevries@suse.de>
698
699 * gdb.server/solib-list.exp: Handle
700 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
701
702 2020-03-15 Tom de Vries <tdevries@suse.de>
703
704 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
705 objfiles".
706
707 2020-03-14 Tom Tromey <tom@tromey.com>
708
709 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
710
711 2020-03-14 Tom de Vries <tdevries@suse.de>
712
713 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
714
715 2020-03-14 Tom de Vries <tdevries@suse.de>
716
717 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
718 result in line-by-line fashion.
719
720 2020-03-14 Tom de Vries <tdevries@suse.de>
721
722 * lib/gdb.exp (supports_statement_frontiers): New proc.
723 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
724
725 2020-03-14 Tom de Vries <tdevries@suse.de>
726
727 * gdb.base/printcmds.exp: Add missing quoting for "print
728 teststring2".
729
730 2020-03-13 Tom Tromey <tom@tromey.com>
731
732 * gdb.base/printcmds.exp (test_print_strings): Add regression
733 test.
734 * gdb.base/printcmds.c (charptr): New typedef.
735 (teststring2): New global.
736
737 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
738
739 * gdb.base/break-interp.exp: Use the tail of the filename, not the
740 full path in the test name.
741 (test_ld): Add some with_test_prefix blocks to make test names
742 unique.
743
744 2020-03-13 Tom de Vries <tdevries@suse.de>
745
746 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
747
748 2020-03-13 Tom de Vries <tdevries@suse.de>
749
750 * gdb.mi/mi-sym-info.exp: Make matching more precise.
751
752 2020-03-13 Tom de Vries <tdevries@suse.de>
753
754 PR symtab/25646
755 * gdb.dwarf2/imported-unit.exp: Add test.
756
757 2020-03-13 Tom de Vries <tdevries@suse.de>
758
759 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
760 (var1, var2): New variable.
761 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
762 matching symbols.
763
764 2020-03-13 Tom de Vries <tdevries@suse.de>
765
766 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
767 (Term::command): Use prompt prefix.
768 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
769 * gdb.tui/tui-layout-asm-short-prog.exp: Use
770 command_no_prompt_prefix instead of prefix.
771 * gdb.tui/tui-layout-asm.exp: Same.
772
773 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
774
775 * gdb.base/break-interp.exp: Use foreach_with_prefix.
776
777 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
778
779 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
780 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
781 on" while stepping over the test instruction, match printed
782 message.
783
784 2020-03-12 Tom de Vries <tdevries@suse.de>
785
786 * gdb.base/info-types.exp: Use exp_continue during matching of output
787 of "info types".
788
789 2020-03-12 Tom de Vries <tdevries@suse.de>
790
791 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
792
793 2020-03-12 Tom de Vries <tdevries@suse.de>
794
795 * gdb.fortran/module.exp: Use exp_continue during matching of output
796 of "info variable -n".
797
798 2020-03-12 Tom de Vries <tdevries@suse.de>
799
800 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
801 gdb.dwarf2/dw2-ranges-base.c.
802
803 2020-03-12 Tom de Vries <tdevries@suse.de>
804
805 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
806 in presence of GLIBC debuginfo.
807
808 2020-03-12 Tom de Vries <tdevries@suse.de>
809
810 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
811 $core.
812
813 2020-03-12 Tom de Vries <tdevries@suse.de>
814
815 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
816 more precise.
817
818 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
819
820 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
821 from Unix to Windows path.
822
823 2020-03-11 Tom de Vries <tdevries@suse.de>
824
825 * gdb.ada/minsyms.exp: Set language to ada.
826
827 2020-03-11 Tom de Vries <tdevries@suse.de>
828
829 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
830
831 2020-03-11 Tom de Vries <tdevries@suse.de>
832
833 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
834
835 2020-03-11 Tom Tromey <tromey@adacore.com>
836
837 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
838
839 2020-03-11 Tom de Vries <tdevries@suse.de>
840
841 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
842
843 2020-03-11 Tom de Vries <tdevries@suse.de>
844
845 * gdb.base/break-interp.exp: Limit verbose scope.
846
847 2020-03-11 Tom de Vries <tdevries@suse.de>
848
849 * gdb.fortran/logical.f90: Define variable with character type.
850 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
851
852 2020-03-11 Tom de Vries <tdevries@suse.de>
853
854 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
855
856 2020-03-11 Tom de Vries <tdevries@suse.de>
857
858 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
859 symtabs.
860
861 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
862 Bernd Edlinger <bernd.edlinger@hotmail.de>
863
864 * gdb.cp/step-and-next-inline.cc: New file.
865 * gdb.cp/step-and-next-inline.exp: New file.
866 * gdb.cp/step-and-next-inline.h: New file.
867 * gdb.dwarf2/dw2-is-stmt.c: New file.
868 * gdb.dwarf2/dw2-is-stmt.exp: New file.
869 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
870 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
871 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
872
873 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
874
875 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
876 is-stmt flag in the line table.
877
878 2020-03-09 Tom de Vries <tdevries@suse.de>
879
880 * lib/gdb.exp (cached_file): Create cache dir.
881
882 2020-03-07 Tom de Vries <tdevries@suse.de>
883
884 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
885 * gdb.cp/rvalue-ref-params.exp: Same.
886
887 2020-03-06 Tom de Vries <tdevries@suse.de>
888
889 * lib/gdb.exp (tentative_rename, cached_file): New proc.
890 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
891
892 2020-03-06 Tom de Vries <tdevries@suse.de>
893
894 * README: Fix "the the".
895 * gdb.base/dprintf.exp: Same.
896
897 2020-03-05 Tom de Vries <tdevries@suse.de>
898
899 * gdb.base/maint.exp: Update "main print statistics" expected output.
900
901 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
902
903 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
904 (fortran_int8): Likewise.
905 (fortran_real4): Likewise.
906 (fortran_real8): Likewise.
907 (fortran_complex4): Likewise.
908 (fortran_logical4): Likewise.
909 (fortran_character1): Likewise.
910
911 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
912
913 * gdb.fortran/logical.exp: Add tests that any non-zero value is
914 printed as true.
915
916 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
917
918 * gdb.base/printcmds.exp: Add test to verify printf of a
919 variable holding an address.
920
921 2020-03-03 Tom de Vries <tdevries@suse.de>
922
923 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
924
925 2020-03-03 Tom de Vries <tdevries@suse.de>
926
927 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
928 gdb_test_multiple call.
929
930 2020-03-03 Tom de Vries <tdevries@suse.de>
931
932 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
933 gdb_test_multiple calls.
934
935 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
936
937 * gdb.base/default.exp: Remove test of 'set history filename'.
938 * gdb.base/gdbinit-history.exp: Add tests for setting the history
939 filename to the empty string.
940 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
941 and GDBHISTSIZE.
942
943 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
944
945 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
946 disabled.
947
948 2020-03-02 Pedro Alves <palves@redhat.com>
949 Tom de Vries <tdevries@suse.de>
950
951 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
952 -prompt prefix, before user_code argument. Add -lbl option likewise.
953 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
954 (gdb_is_target_1): Add -prompt prefix and move to before user_code
955 argument.
956 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
957 have "\r\n" at start-of-line, instead of at end-of-line.
958
959 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
960
961 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
962 libinproctrace.so.
963
964 2020-02-28 Luis Machado <luis.machado@linaro.org>
965
966 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
967 to "p/x".
968
969 2020-02-28 Luis Machado <luis.machado@linaro.org>
970
971 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
972 asm/ptrace.h and error.h.
973
974 2020-02-28 Tom de Vries <tdevries@suse.de>
975
976 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
977 (struct wrapper, do_something, mundane/symada__cS): Move ...
978 * gdb.base/c-linkage-name-2.c: ... here. New source file.
979 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
980 Update "print symada__cS before partial symtab expansion" regexp.
981 Update breakpoint location. Flush symbol cache after expansion.
982
983 2020-02-28 Luis Machado <luis.machado@linaro.org>
984
985 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
986
987 2020-02-27 Tom de Vries <tdevries@suse.de>
988
989 * config/sid.exp: Remove unused globals.
990 * gdb.base/attach.exp: Same.
991 * gdb.base/catch-load.exp: Same.
992 * gdb.base/dbx.exp: Same.
993 * lib/gdb.exp: Same.
994 * lib/mi-support.exp: Same.
995 * lib/prompt.exp: Same.
996
997 2020-02-27 Tom de Vries <tdevries@suse.de>
998
999 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1000 not set.
1001
1002 2020-02-26 Aaron Merey <amerey@redhat.com>
1003
1004 * gdb.debuginfod: New directory for debuginfod tests.
1005 * gdb.debuginfod/main.c: New test file.
1006 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1007
1008 2020-02-26 Tom de Vries <tdevries@suse.de>
1009
1010 PR gdb/25603
1011 * gdb.base/persistent-lang.cc: New test.
1012 * gdb.base/persistent-lang.exp: New file.
1013
1014 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1015
1016 * gdb.fortran/derived-type-striding.exp: Add a new test.
1017 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1018 new test.
1019
1020 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1021
1022 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1023 names.
1024
1025 2020-02-25 Tom de Vries <tdevries@suse.de>
1026
1027 PR go/18926
1028 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1029
1030 2020-02-24 Tom de Vries <tdevries@suse.de>
1031
1032 PR gdb/25592
1033 * gdb.base/info-locals-unused-static-var.c: New test.
1034 * gdb.base/info-locals-unused-static-var.exp: New file.
1035
1036 2020-02-22 Tom Tromey <tom@tromey.com>
1037
1038 * gdb.python/tui-window.exp: New file.
1039 * gdb.python/tui-window.py: New file.
1040
1041 2020-02-22 Tom Tromey <tom@tromey.com>
1042
1043 PR tui/17850:
1044 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1045 tests.
1046
1047 2020-02-22 Tom Tromey <tom@tromey.com>
1048
1049 * gdb.tui/new-layout.exp: Add sub-layout tests.
1050
1051 2020-02-22 Tom Tromey <tom@tromey.com>
1052
1053 * gdb.tui/new-layout.exp: New file.
1054
1055 2020-02-22 Tom Tromey <tom@tromey.com>
1056
1057 * gdb.rust/rust-style.rs: New file.
1058 * gdb.rust/rust-style.exp: New file.
1059 * gdb.base/style.exp: Test structure printing.
1060 * gdb.base/style.c (struct some_struct): New type.
1061 (enum etype): New type.
1062 (struct_value): New global.
1063
1064 2020-02-21 Tom de Vries <tdevries@suse.de>
1065
1066 PR go/18926
1067 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1068 Remove blanket xfails. Use message argument for gdb_breakpoint.
1069 Make continuing to breakpoint test conditional on setting breakpoint.
1070 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1071 DW_AT_name attribute. Add xfail for GCC PR93866.
1072
1073 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1074
1075 * gdb.dwarf2/cpp-linkage-name.c: New file.
1076 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1077
1078 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
1079
1080 * lib/gdb.exp (gdb_wrapper_init): Reset
1081 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1082 not exist.
1083
1084 2020-02-20 Tom de Vries <tdevries@suse.de>
1085
1086 PR go/17018
1087 * gdb.go/hello.exp: Copy ...
1088 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1089 print of st to print value of global definition. Add xfail for GCC
1090 PR93844.
1091 * gdb.go/hello.exp: Remove printing of st before definition.
1092 * gdb.go/hello.go: Copy ...
1093 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1094 to st.
1095 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1096
1097 2020-02-20 Tom de Vries <tdevries@suse.de>
1098
1099 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1100 (gdb_simple_compile): Handle compile_flags go by using .go extension
1101 for source file.
1102 * gdb.go/chan.exp: Use support_go_compile.
1103 * gdb.go/handcall.exp: Same.
1104 * gdb.go/hello.exp: Same.
1105 * gdb.go/integers.exp: Same.
1106 * gdb.go/max-depth.exp: Same.
1107 * gdb.go/methods.exp: Same.
1108 * gdb.go/package.exp: Same.
1109 * gdb.go/strings.exp: Same.
1110 * gdb.go/types.exp: Same.
1111 * gdb.go/unsafe.exp: Same.
1112
1113 2020-02-19 Tom de Vries <tdevries@suse.de>
1114
1115 * gdb.python/lib-types.exp: Make xfail more strict.
1116
1117 2020-02-19 Tom de Vries <tdevries@suse.de>
1118
1119 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1120
1121 2020-02-19 Doug Evans <dje@google.com>
1122
1123 PR rust/25535
1124 * gdb.rust/simple.exp: Add test.
1125 * gdb.rust/simple.rs: Add test.
1126
1127 2020-02-19 Tom de Vries <tdevries@suse.de>
1128
1129 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1130 output line-by-line.
1131
1132 2020-02-19 Tom de Vries <tdevries@suse.de>
1133
1134 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
1135
1136 2020-02-19 Tom de Vries <tdevries@suse.de>
1137
1138 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
1139 prelink.
1140
1141 2020-02-19 Tom de Vries <tdevries@suse.de>
1142
1143 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
1144 (gdb_do_cache): Use gdb_do_cache_wrap.
1145 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
1146
1147 2020-02-19 Tom de Vries <tdevries@suse.de>
1148
1149 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
1150 gdb_compile option.
1151
1152 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1153
1154 * gdb.base/printcmds.exp (test_print_enums): Update expected
1155 output.
1156
1157 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1158
1159 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
1160 for "unknown".
1161
1162 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1163
1164 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
1165 enumerator.
1166
1167 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1168
1169 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
1170 FE_, add FE_NONE.
1171 (three): Update.
1172 (enum flag_enum_without_zero): New enum.
1173 (flag_enum_without_zero): New variable.
1174 (enum not_flag_enum): New enum.
1175 (three_not_flag): New variable.
1176 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
1177 (test_print_enums): Add more tests for printing flag enums.
1178
1179 2020-02-18 Tom de Vries <tdevries@suse.de>
1180
1181 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
1182 (gdb_compile_ada): ... here.
1183 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
1184 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
1185
1186 2020-02-14 Tom Tromey <tom@tromey.com>
1187
1188 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
1189 build directory.
1190 * boards/gdbserver-base.exp: Update path to gdbserver.
1191
1192 2020-02-13 Tom de Vries <tdevries@suse.de>
1193
1194 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
1195
1196 2020-02-13 Tom de Vries <tdevries@suse.de>
1197
1198 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
1199 are missing.
1200
1201 2020-02-13 Tom de Vries <tdevries@suse.de>
1202
1203 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
1204 call.
1205
1206 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1207
1208 PR tui/25126
1209 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
1210 * gdb.base/cached-source-file.c: New file.
1211 * gdb.base/cached-source-file.exp: New file.
1212
1213 2020-02-11 Tom de Vries <tdevries@suse.de>
1214
1215 PR testsuite/25488
1216 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
1217
1218 2020-02-10 Tom de Vries <tdevries@suse.de>
1219
1220 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
1221
1222 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
1223
1224 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
1225 and $after_addr are both integers before making a comparison.
1226
1227 2020-02-09 Tom de Vries <tdevries@suse.de>
1228
1229 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
1230 command output and paste it into gdb.log. If any, paste catch message
1231 to gdb.log.
1232
1233 2020-02-07 Tom Tromey <tromey@adacore.com>
1234
1235 PR breakpoints/24915:
1236 * gdb.base/annotate-symlink.exp: Use setup_xfail.
1237
1238 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
1239
1240 * gdb.tui/tui-missing-src.exp: Add the "missing source
1241 file" test for the TUI.
1242
1243 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1244
1245 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
1246 including a port number in the output.
1247
1248 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1249
1250 * lib/fortran.exp (fortran_int4): Handle clang.
1251 (fortran_int8): Likewise.
1252 (fortran_real4): Likewise.
1253 (fortran_real8): Likewise.
1254 (fortran_complex4): Likewise.
1255 (fortran_logical4): Likewise.
1256 (fortran_character1): Likewise.
1257
1258 2020-02-04 Tom de Vries <tdevries@suse.de>
1259
1260 * README (Race detection): Add note.
1261
1262 2020-02-04 Tom de Vries <tdevries@suse.de>
1263
1264 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
1265
1266 2020-02-04 Tom de Vries <tdevries@suse.de>
1267
1268 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
1269
1270 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1271
1272 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
1273 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
1274 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
1275 blttar, bnetarl.
1276 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
1277 binary for blttar, bnetarl.
1278 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
1279 wait instruction. Delete ldmx test.
1280 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
1281
1282 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1283
1284 * gdb.fortran/array-bounds-high.exp: New file.
1285 * gdb.fortran/array-bounds-high.f90: New file.
1286
1287 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
1288
1289 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
1290 Replace #include of <sys/fcntl.h> by <fcntl.h>.
1291
1292 2020-02-01 Tom de Vries <tdevries@suse.de>
1293
1294 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
1295
1296 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
1297
1298 PR tui/9765
1299 * gdb.tui/tui-layout-asm-short-prog.S: New file.
1300 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
1301
1302 2020-01-29 Luis Machado <luis.machado@linaro.org>
1303
1304 * gdb.arch/aarch64-brk-patterns.c: New source file.
1305 * gdb.arch/aarch64-brk-patterns.exp: New test.
1306
1307 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1308
1309 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
1310 GCC/Clang version.
1311 * gdb.cp/pass-by-ref.exp: Ditto.
1312
1313 2020-01-29 Tom de Vries <tdevries@suse.de>
1314
1315 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
1316 * gdb.threads/watchpoint-fork-mt.c: Same.
1317 * gdb.threads/watchpoint-fork-parent.c: Same.
1318 * gdb.threads/watchpoint-fork-st.c: Same.
1319 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
1320
1321 2020-01-27 Luis Machado <luis.machado@linaro.org>
1322
1323 * gdb.base/step-over-syscall.exp (setup): Check if we're already
1324 sitting at a syscall instruction when we hit the syscall function's
1325 breakpoint.
1326 Check PC against one obtained with the x command.
1327 Validate syscall number.
1328 (step_over_syscall): Don't continue to the syscall instruction if
1329 we're already there.
1330
1331 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1332
1333 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
1334
1335 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1336
1337 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
1338 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
1339
1340 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1341
1342 * gdb.dwarf2/dw2-inline-stepping.c: New file.
1343 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
1344
1345 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1346
1347 * gdb.base/maint.exp: Update line table parsing test.
1348 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
1349
1350 2020-01-24 Pedro Alves <palves@redhat.com>
1351
1352 PR gdb/25410
1353 * gdb.multi/multi-re-run-1.c: New.
1354 * gdb.multi/multi-re-run-2.c: New.
1355 * gdb.multi/multi-re-run.exp: New.
1356
1357 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1358
1359 PR gdb/23718
1360 * gdb.server/server-kill-python.exp: New file.
1361
1362 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1363
1364 * gdb.server/multi-ui-errors.c: New file.
1365 * gdb.server/multi-ui-errors.exp: New file.
1366
1367 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1368
1369 PR tui/9765
1370 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
1371
1372 2020-01-19 Tom Tromey <tom@tromey.com>
1373
1374 * gdb.tui/main.exp: Add check for plain "file".
1375
1376 2020-01-16 Christian Biesinger <cbiesinger@google.com>
1377
1378 * lib/gdb.exp: Fix spelling error (seperatelly).
1379
1380 2020-01-14 Tom Tromey <tom@tromey.com>
1381
1382 PR symtab/12535:
1383 * gdb.python/python.exp: Test decode_line with empty string
1384 argument.
1385
1386 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
1387
1388 * gdb.base/skip-inline.exp: Extend test.
1389
1390 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1391
1392 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
1393 * gdb.dwarf2/dw2-bad-elf.c: New file.
1394 * gdb.dwarf2/dw2-bad-elf.exp: New file.
1395
1396 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1397
1398 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
1399 _line_saw_file.
1400
1401 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1402
1403 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
1404 border.
1405
1406 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1407
1408 * gdb.multi/multi-target.exp (setup): Factor out "info
1409 connections" and "info inferiors" tests to ...
1410 (test_info_inferiors): ... this new procedure.
1411 (top level): Run new "info-inferiors" tests.
1412
1413 2020-01-10 Pedro Alves <palves@redhat.com>
1414
1415 * gdb.server/bkpt-other-inferior.exp: New file.
1416
1417 2020-01-10 Pedro Alves <palves@redhat.com>
1418
1419 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
1420 of "add-inferior".
1421 * gdb.base/quit-live.exp: Likewise.
1422 * gdb.base/remote-exec-file.exp: Likewise.
1423 * gdb.guile/scm-progspace.exp: Likewise.
1424 * gdb.linespec/linespec.exp: Likewise.
1425 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1426 * gdb.mi/user-selected-context-sync.exp: Likewise.
1427 * gdb.multi/multi-target.exp (setup): Add "info connection" and
1428 "info inferiors" tests.
1429 * gdb.multi/remove-inferiors.exp: Adjust expected output of
1430 "add-inferior".
1431 * gdb.multi/watchpoint-multi.exp: Likewise.
1432 * gdb.python/py-inferior.exp: Likewise.
1433 * gdb.server/extended-remote-restart.exp: Likewise.
1434 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
1435 "info inferiors".
1436 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1437 * gdb.trace/report.exp: Likewise.
1438
1439 2020-01-10 Pedro Alves <palves@redhat.com>
1440
1441 * gdb.multi/multi-target.c: New file.
1442 * gdb.multi/multi-target.exp: New file.
1443 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1444 mode requested, but remote does not support non-stop".
1445
1446 2020-01-10 Pedro Alves <palves@redhat.com>
1447
1448 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1449 disconnect before reconnecting.
1450
1451 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1452 Pedro Alves <palves@redhat.com>
1453
1454 * gdb.server/connect-without-multi-process.exp: Also test
1455 continuing to end.
1456
1457 2020-01-10 Pedro Alves <palves@redhat.com>
1458
1459 * gdb.base/remote-exec-file.exp: New file.
1460
1461 2020-01-10 Pedro Alves <palves@redhat.com>
1462
1463 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1464 output.
1465 * gdb.threads/async.c: New.
1466 * gdb.threads/async.exp: New.
1467 * gdb.multi/tids-gid-reset.c: New.
1468 * gdb.multi/tids-gid-reset.exp: New.
1469
1470 2020-01-10 George Barrett <bob@bob131.so>
1471
1472 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1473 to help in finding the image relocation offset.
1474 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1475 options in arguments.
1476 (stap_test_no_debuginfo): Likewise.
1477 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1478 test variants.
1479 (stap_test): Add null semaphore relocation test.
1480
1481 2020-01-10 George Barrett <bob@bob131.so>
1482
1483 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1484 * gdb.base/stap-probe.exp: Likewise.
1485 (stap_test): Pass argument as an additional flag.
1486 (stap_test_no_debuginfo): Likewise.
1487 (stap_test): Check `info probes stap' output for semaphore
1488 addresses if the test binary is supposed to have them.
1489
1490 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1491
1492 * gdb.tui/basic.exp: Add more scrolling tests.
1493
1494 2020-01-09 Tom Tromey <tom@tromey.com>
1495
1496 PR tui/18932:
1497 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1498 meangingful value.
1499 (Term::command, Term::resize): Update.
1500 * gdb.tui/basic.exp: Add scrolling test.
1501
1502 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1503
1504 * gdb.tui/tui-layout-asm.exp: New file.
1505
1506 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1507
1508 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1509
1510 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1511
1512 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1513 (Term::enter_tui): Use Term::prepare_for_tui.
1514
1515 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1516
1517 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1518 called.
1519
1520 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1521
1522 * gdb.base/skip.exp: Fix race condition in test.
1523
1524 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1525
1526 * gdb.base/backtrace.c: New file.
1527 * gdb.base/backtrace.exp: New file.
1528
1529 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1530
1531 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1532
1533 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1534
1535 * gdb.base/style.exp: Test that warnings are styled.
1536
1537 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1538
1539 * gdb.base/line65535.exp: New file.
1540 * gdb.base/line65535.c: New file.
1541
1542 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1543
1544 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1545 * lib/gnat_debug_info_test.adb: New file.
1546 * gdb.ada/ptype_tagged_param.exp: Use
1547 gnat_runtime_has_debug_info, expect a different output if
1548 runtime does not have debug info.
1549
1550 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1551
1552 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1553 (another) quote in test name.
1554
1555 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1556
1557 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1558 Add quote in test name.
1559
1560 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1561
1562 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1563 directory instead.
1564 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1565 * gdb.cp/pass-by-ref-2.cc: New file.
1566 * gdb.cp/pass-by-ref-2.exp: New file.
1567
1568 2019-12-20 Tom Tromey <tom@tromey.com>
1569
1570 * gdb.tui/list-before.exp: New file.
1571
1572 2019-12-20 Tom Tromey <tom@tromey.com>
1573
1574 * gdb.tui/list.exp: Check for source on initial listing.
1575
1576 2019-12-11 Tom Tromey <tromey@adacore.com>
1577
1578 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1579 Add crlf test.
1580
1581 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
1582
1583 * gdb.base/default.exp: Update value of $_gdb_major.
1584
1585 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1586
1587 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1588
1589 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1590
1591 * gdb.base/skip.exp: Whitespace fix.
1592
1593 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1594
1595 * gdb.base/skip-inline.c: New file.
1596 * gdb.base/skip-inline.exp: New file.
1597
1598 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1599
1600 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1601 jit_function_00 to jit_function_stack_mangle.
1602 * gdb.base/jithost.c (jit_function_t): Rename to...
1603 (jit_function_stack_mangle_t): ... this.
1604 (jit_function_add_t): New typedef.
1605 (jit_function_00_code): Rename to...
1606 (jit_function_stack_mangle_code): ... this, make static.
1607 (jit_function_add_code): New.
1608 (main): Generate "add" function and call it. Adjust to changes
1609 in jithost_abi.
1610 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1611 (struct jithost_abi) <begin, end>: Remove fields.
1612 <object, function_stack_mangle, function_add>: New fields.
1613 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1614 code_end>: Remove fields.
1615 <func_stack_mangle>: New field.
1616 (read_debug_info): Adjust to renaming, create block for "add"
1617 function.
1618 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1619
1620 2019-12-11 Tom Tromey <tom@tromey.com>
1621
1622 * gdb.tui/resize.exp: Fix regexp.
1623 * gdb.tui/regs.exp: Fix regexps.
1624 * gdb.tui/main.exp: Fix regexp.
1625
1626 2019-12-11 Tom Tromey <tom@tromey.com>
1627
1628 * gdb.tui/resize.exp: Update.
1629 * gdb.tui/empty.exp (layouts): Update.
1630
1631 2019-12-11 Tom Tromey <tom@tromey.com>
1632
1633 * gdb.tui/regs.exp: Update.
1634 * gdb.tui/empty.exp (layouts): Update.
1635 * gdb.tui/basic.exp: Update.
1636 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1637
1638 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1639
1640 * gdb.base/options.exp: Add -raw-values in the print completion list.
1641 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1642
1643 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1644
1645 * gdb.threads/omp-par-scope.c: New file.
1646 * gdb/threads/omp-par-scope.exp: New file.
1647
1648 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1649
1650 * lib/gdb.exp (support_nested_function_tests): New proc.
1651
1652 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1653
1654 * lib/gdb.exp (gdb_compile_openmp): New proc.
1655 (build_executable_from_specs): Add an "openmp" option.
1656 (gdb_compile_pthreads): Add non-executable case.
1657
1658 2019-12-10 Tom Tromey <tromey@adacore.com>
1659
1660 * gdb.ada/unchecked_union.exp: New file.
1661 * gdb.ada/unchecked_union/pck.adb: New file.
1662 * gdb.ada/unchecked_union/pck.ads: New file.
1663 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1664 * gdb-utils.exp (string_to_regexp): Also quote "?".
1665
1666 2019-12-10 George Barrett <bob@bob131.so>
1667
1668 Test scripted probe breakpoints.
1669 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1670 * gdb.python/py-breakpoint.c (main): Likewise.
1671 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1672 specifier test.
1673 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1674
1675 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1676
1677 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1678 an rvalue parameter.
1679 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1680 parameter.
1681
1682 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1683
1684 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1685 modules.
1686
1687 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1688
1689 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1690 broken version of GCC.
1691
1692 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1693
1694 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1695 sym-info-cmds library.
1696 * gdb.fortran/info-types.exp: Likewise.
1697 * lib/sym-info-cmds.exp: New file.
1698
1699 2019-12-08 Tom de Vries <tdevries@suse.de>
1700
1701 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1702
1703 2019-12-07 Keith Seitz <keiths@redhat.com>
1704
1705 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1706 * gdb.base/corefile-buildid-shlib.c: New file.
1707 * gdb.base/corefile-buildid.c: New file.
1708 * gdb.base/corefile-buildid.exp: New file.
1709
1710 2019-12-06 Tom de Vries <tdevries@suse.de>
1711
1712 * gdb.dwarf2/varval.exp: Add decl before def test.
1713
1714 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1715
1716 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1717
1718 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1719
1720 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1721 CV and reference conversion for overload resolution.
1722 * gdb.cp/rvalue-ref-overload.exp: Test it.
1723
1724 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1725
1726 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1727 * gdb.base/frameapply.exp: Test faas without command.
1728
1729 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1730
1731 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1732 Fortran tests.
1733 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1734 order.
1735
1736 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1737
1738 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1739 casting to type with no kind specified.
1740 (test_basic_parsing_of_type_kinds): Additional tests for types
1741 with no kind specified, and add tests for single/double
1742 precision/complex types.
1743
1744 2019-12-04 Tom Tromey <tromey@adacore.com>
1745
1746 * gdb.base/endianity.c (struct other) <x>: New field.
1747 (main): Initialize it.
1748 * gdb.base/endianity.exp: Update.
1749
1750 2019-12-04 Tom Tromey <tromey@adacore.com>
1751
1752 * gdb.ada/scalar_storage/storage.adb: New file.
1753 * gdb.ada/scalar_storage/pck.adb: New file.
1754 * gdb.ada/scalar_storage/pck.ads: New file.
1755 * gdb.ada/scalar_storage.exp: New file.
1756
1757 2019-12-04 Tom Tromey <tromey@adacore.com>
1758
1759 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1760 (main): Initialize it.
1761 * gdb.base/endianity.exp: Update.
1762
1763 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1764
1765 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1766
1767 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1768
1769 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1770 -symbol-info-module-functions and -symbol-info-module-variables.
1771
1772 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1773
1774 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1775
1776 2019-12-01 Richard Bunt <richard.bunt@arm.com>
1777 Andrew Burgess <andrew.burgess@embecosm.com>
1778
1779 * gdb.fortran/derived-type-striding.exp: New file.
1780 * gdb.fortran/derived-type-striding.f90: New file.
1781 * gdb.fortran/array-slices.exp: New file.
1782 * gdb.fortran/array-slices.f90: New file.
1783
1784 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1785
1786 * gdb.base/define.exp: Test . in command names.
1787 * gdb.base/setshow.exp: Update test, as . is now part of
1788 command name.
1789
1790 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1791
1792 * gdb.base/define-prefix.exp: New file.
1793
1794 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1795
1796 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1797 compile.
1798 (skip_btrace_pt_tests): Likewise.
1799
1800 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1801
1802 * gdb.fortran/info-modules.exp: Compile source files in correct
1803 order.
1804
1805 2019-11-27 Kevin Buettner <kevinb@redhat.com>
1806
1807 * gdb.dwarf2/imported-unit.exp: New file.
1808 * gdb.dwarf2/imported-unit.c: New file.
1809
1810 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1811
1812 * gdb.mi/mi-fortran-modules-2.f90: New file.
1813 * gdb.mi/mi-fortran-modules.exp: New file.
1814 * gdb.mi/mi-fortran-modules.f90: New file.
1815
1816 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1817
1818 * gdb.mi/mi-sym-info-1.c: New file.
1819 * gdb.mi/mi-sym-info-2.c: New file.
1820 * gdb.mi/mi-sym-info.exp: New file.
1821
1822 2019-11-22 Tom Tromey <tromey@adacore.com>
1823
1824 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1825 * gdb.ada/tasks/foo.adb: Add another stopping location.
1826
1827 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1828
1829 * gdb.base/endianity.c: New test.
1830 * gdb.base/endianity.exp: New file.
1831
1832 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1833
1834 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1835
1836 2019-11-21 Tom de Vries <tdevries@suse.de>
1837
1838 PR gdb/24956
1839 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1840
1841 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1842
1843 * gdb.python/py-progspace.exp: Add missing parentheses on some
1844 'print' commands.
1845
1846 2019-11-19 Tom Tromey <tom@tromey.com>
1847
1848 * gdb.tui/winheight.exp: New file.
1849
1850 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1851
1852 * gdb.base/ctf-whatis.c: Delete.
1853 * gdb.base/ctf-whatis.exp: Delete.
1854 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1855
1856 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1857
1858 * gdb.base/ctf-cvexpr.exp: Delete.
1859 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1860
1861 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1862
1863 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1864 the compiler. Clean up header comment a little.
1865 * gdb.base/ctf-ptype.exp: Likewise.
1866 * gdb.base/ctf-whatis.exp: Likewise.
1867 * lib/gdb.exp (skip_ctf_tests): New proc.
1868
1869 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1870
1871 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1872 * gdb.tui/corefile-run.exp: New file.
1873
1874 2019-11-14 Tom Tromey <tromey@adacore.com>
1875
1876 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1877 regression tests.
1878
1879 2019-11-12 Tom Tromey <tom@tromey.com>
1880
1881 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1882 after any command. Expect prompt after WAIT_FOR is seen.
1883 (enter_tui): Enable resize messages.
1884 (command): Expect command in output.
1885 (get_line): Avoid error when cursor appears to be off-screen.
1886 (dump_screen): Include screen size in title.
1887 (_do_resize): New proc, from "resize".
1888 (resize): Rewrite. Do resize in two steps.
1889 * gdb.tui/empty.exp (layouts): Fix entries.
1890 (check_boxes): Remove xfail.
1891 (check_text): Dump screen on failure.
1892
1893 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1894
1895 * gdb.python/py-symbol.exp: Add test for
1896 gdb.lookup_static_symbols.
1897
1898 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1899
1900 * gdb.python/py-symbol.c: Declare and call function from new
1901 py-symbol-2.c file.
1902 * gdb.python/py-symbol.exp: Compile both source files, and add new
1903 tests for gdb.lookup_static_symbol.
1904 * gdb.python/py-symbol-2.c: New file.
1905
1906 2019-11-02 Tom de Vries <tdevries@suse.de>
1907
1908 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1909 * gdb.base/anon.exp: Same.
1910 * gdb.base/auto-connect-native-target.exp: Same.
1911 * gdb.base/call-ar-st.exp: Same.
1912 * gdb.base/catch-syscall.exp: Same.
1913 * gdb.base/commands.exp: Same.
1914 * gdb.base/default.exp: Same.
1915 * gdb.base/display.exp: Same.
1916 * gdb.base/float.exp: Same.
1917 * gdb.base/foll-fork.exp: Same.
1918 * gdb.base/help.exp: Same.
1919 * gdb.base/info-macros.exp: Same.
1920 * gdb.base/info-proc.exp: Same.
1921 * gdb.base/info-target.exp: Same.
1922 * gdb.base/long_long.exp: Same.
1923 * gdb.base/macscp.exp: Same.
1924 * gdb.base/memattr.exp: Same.
1925 * gdb.base/nofield.exp: Same.
1926 * gdb.base/pointers.exp: Same.
1927 * gdb.base/printcmds.exp: Same.
1928 * gdb.base/ptype.exp: Same.
1929 * gdb.base/restore.exp: Same.
1930 * gdb.base/return.exp: Same.
1931 * gdb.base/scope.exp: Same.
1932 * gdb.base/set-noassign.exp: Same.
1933 * gdb.base/setshow.exp: Same.
1934 * gdb.base/shlib-call.exp: Same.
1935 * gdb.base/signals.exp: Same.
1936 * gdb.base/sigstep.exp: Same.
1937 * gdb.base/skip.exp: Same.
1938 * gdb.base/solib-symbol.exp: Same.
1939 * gdb.base/stap-probe.exp: Same.
1940 * gdb.base/step-line.exp: Same.
1941 * gdb.base/step-test.exp: Same.
1942 * gdb.base/style.exp: Same.
1943 * gdb.base/varargs.exp: Same.
1944 * gdb.base/vla-datatypes.exp: Same.
1945 * gdb.base/vla-ptr.exp: Same.
1946 * gdb.base/vla-sideeffect.exp: Same.
1947 * gdb.base/volatile.exp: Same.
1948 * gdb.base/watch-cond-infcall.exp: Same.
1949 * gdb.base/watchpoint.exp: Same.
1950
1951 2019-11-02 Tom de Vries <tdevries@suse.de>
1952
1953 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1954 * gdb.cp/cpexprs.exp: Same.
1955 * gdb.cp/except-multi-location.exp: Same.
1956 * gdb.cp/exceptprint.exp: Same.
1957 * gdb.cp/gdb2384.exp: Same.
1958 * gdb.cp/inherit.exp: Same.
1959 * gdb.cp/m-static.exp: Same.
1960 * gdb.cp/meth-typedefs.exp: Same.
1961 * gdb.cp/misc.exp: Same.
1962 * gdb.cp/namespace.exp: Same.
1963 * gdb.cp/non-trivial-retval.exp: Same.
1964 * gdb.cp/overload.exp: Same.
1965 * gdb.cp/pr17132.exp: Same.
1966 * gdb.cp/re-set-overloaded.exp: Same.
1967 * gdb.cp/rvalue-ref-types.exp: Same.
1968 * gdb.cp/templates.exp: Same.
1969
1970 2019-11-01 Luis Machado <luis.machado@linaro.org>
1971
1972 PR gdb/25124
1973
1974 * gdb.arch/pr25124.S: New file.
1975 * gdb.arch/pr25124.exp: New file.
1976
1977 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1978
1979 * gdb.fortran/info-modules.exp: Update expected results, and add
1980 additional tests for 'info module functinos', and 'info module
1981 variables'.
1982 * gdb.fortran/info-types.exp: Update expected results.
1983 * gdb.fortran/info-types.f90: Extend testcase with additional
1984 module variables and functions.
1985
1986 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1987
1988 * gdb.fortran/info-modules.exp: New file.
1989 * gdb.fortran/info-types.exp: Build with new file.
1990 * gdb.fortran/info-types.f90: Include and use new module.
1991 * gdb.fortran/info-types-2.f90: New file.
1992
1993 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1994
1995 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1996 * gdb.base/settings.exp: Test all settings types using
1997 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1998 that now verifies that the value of "maint show" is the same as
1999 returned by the settings functions. Test the type of the
2000 maintenance settings.
2001 * gdb.base/default.exp: Update show_conv_list.
2002
2003 2019-10-31 Tom de Vries <tdevries@suse.de>
2004
2005 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2006 gdb_test.
2007 * gdb.arch/amd64-disp-step.exp: Same.
2008 * gdb.asm/asm-source.exp: Same.
2009 * gdb.btrace/buffer-size.exp: Same.
2010 * gdb.btrace/cpu.exp: Same.
2011 * gdb.btrace/enable.exp: Same.
2012 * gdb.dwarf2/count.exp: Same.
2013 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2014 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2015 * gdb.fortran/vla-datatypes.exp: Same.
2016 * gdb.fortran/vla-history.exp: Same.
2017 * gdb.fortran/vla-ptype.exp: Same.
2018 * gdb.fortran/vla-value.exp: Same.
2019 * gdb.fortran/whatis_type.exp: Same.
2020 * gdb.guile/guile.exp: Same.
2021 * gdb.multi/tids.exp: Same.
2022 * gdb.python/py-finish-breakpoint.exp: Same.
2023 * gdb.python/py-framefilter.exp: Same.
2024 * gdb.python/py-pp-registration.exp: Same.
2025 * gdb.python/py-xmethods.exp: Same.
2026 * gdb.python/python.exp: Same.
2027 * gdb.server/connect-with-no-symbol-file.exp: Same.
2028 * gdb.server/no-thread-db.exp: Same.
2029 * gdb.server/run-without-local-binary.exp: Same.
2030 * gdb.stabs/weird.exp: Same.
2031 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2032 * gdb.threads/thread-find.exp: Same.
2033 * gdb.threads/tls-shared.exp: Same.
2034 * gdb.threads/tls.exp: Same.
2035 * gdb.threads/wp-replication.exp: Same.
2036 * gdb.trace/ax.exp: Same.
2037 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2038
2039 2019-10-31 Tom de Vries <tdevries@suse.de>
2040
2041 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2042 * gdb.ada/array_subscript_addr.exp: Same.
2043 * gdb.ada/arrayidx.exp: Same.
2044 * gdb.ada/arrayparam.exp: Same.
2045 * gdb.ada/arrayptr.exp: Same.
2046 * gdb.ada/boolean_expr.exp: Same.
2047 * gdb.ada/call_pn.exp: Same.
2048 * gdb.ada/complete.exp: Same.
2049 * gdb.ada/fixed_cmp.exp: Same.
2050 * gdb.ada/fun_addr.exp: Same.
2051 * gdb.ada/funcall_param.exp: Same.
2052 * gdb.ada/interface.exp: Same.
2053 * gdb.ada/mod_from_name.exp: Same.
2054 * gdb.ada/null_array.exp: Same.
2055 * gdb.ada/packed_array.exp: Same.
2056 * gdb.ada/packed_tagged.exp: Same.
2057 * gdb.ada/print_chars.exp: Same.
2058 * gdb.ada/print_pc.exp: Same.
2059 * gdb.ada/ptype_arith_binop.exp: Same.
2060 * gdb.ada/ptype_field.exp: Same.
2061 * gdb.ada/ptype_tagged_param.exp: Same.
2062 * gdb.ada/rec_return.exp: Same.
2063 * gdb.ada/ref_tick_size.exp: Same.
2064 * gdb.ada/str_ref_cmp.exp: Same.
2065 * gdb.ada/taft_type.exp: Same.
2066 * gdb.ada/tagged.exp: Same.
2067 * gdb.ada/type_coercion.exp: Same.
2068 * gdb.ada/uninitialized_vars.exp: Same.
2069
2070 2019-10-30 Tom de Vries <tdevries@suse.de>
2071
2072 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2073
2074 2019-10-26 Tom de Vries <tdevries@suse.de>
2075
2076 * gdb.base/bigcore.c: Fix typos in comments.
2077 * gdb.base/ctf-ptype.c: Same.
2078 * gdb.base/long_long.c: Same.
2079 * gdb.dwarf2/dw2-op-out-param.S: Same.
2080 * gdb.python/py-evthreads.c: Same.
2081 * gdb.reverse/i387-stack-reverse.c: Same.
2082 * gdb.trace/tfile.c: Same.
2083 * lib/compiler.c: Same.
2084 * lib/compiler.cc: Same.
2085
2086 2019-10-25 Tom de Vries <tdevries@suse.de>
2087
2088 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2089 gdb_test_multiple calls.
2090 * gdb.reverse/sigall-reverse.exp: Same.
2091 * gdb.reverse/solib-precsave.exp: Same.
2092 * gdb.reverse/solib-reverse.exp: Same.
2093 * gdb.reverse/until-precsave.exp: Same.
2094 * gdb.reverse/until-reverse.exp: Same.
2095
2096 2019-10-24 Tom de Vries <tdevries@suse.de>
2097
2098 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2099 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2100 kfail using -wrap pattern flag and convenience variable
2101 gdb_test_name.
2102
2103 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2104
2105 * gdb.python/py-progspace.exp: Add tests for the
2106 Progspace.block_for_pc method.
2107
2108 2019-10-23 Tom Tromey <tom@tromey.com>
2109
2110 * configure: Rebuild.
2111 * aclocal.m4: Use m4_include, not sinclude.
2112
2113 2019-10-21 Tom de Vries <tdevries@suse.de>
2114
2115 * gdb.base/infcall-nested-structs.c: Add
2116 __attribute__((noinline,noclone)) to all functions.
2117 (call_all): Add missing variable initialization. Simplify return value.
2118 (breakpt): Increment volatile variable, to prevent call from being
2119 optimized out.
2120 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2121
2122 2019-10-17 Tom de Vries <tdevries@suse.de>
2123
2124 * gdb.fortran/module.exp: Allow info variables to print info for files
2125 other than module.f90.
2126
2127 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2128
2129 * gdb.fortran/module.exp: Extend with 'info variables' test.
2130
2131 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2132
2133 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
2134 F77_FOR_TARGET.
2135
2136 2019-10-16 Tom de Vries <tdevries@suse.de>
2137
2138 PR tdep/25096
2139 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
2140
2141 2019-10-16 Tom de Vries <tdevries@suse.de>
2142
2143 PR tdep/24104
2144 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
2145 Add KFAIL for PR tdep/25096.
2146
2147 2019-10-16 Tom de Vries <tdevries@suse.de>
2148
2149 PR testsuite/25059
2150 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
2151
2152 2019-10-16 Tom de Vries <tdevries@suse.de>
2153
2154 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
2155 as signed.
2156
2157 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
2158
2159 * gdb.mi/list-thread-groups-available.exp: Read entries one by
2160 one instead of increasing timeout.
2161
2162 2019-10-13 Tom de Vries <tdevries@suse.de>
2163
2164 PR record/25038
2165 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
2166 * gdb.reverse/sigall-reverse.exp: Same.
2167 * gdb.reverse/solib-precsave.exp: Same.
2168 * gdb.reverse/solib-reverse.exp: Same.
2169 * gdb.reverse/step-precsave.exp: Same.
2170 * gdb.reverse/until-precsave.exp: Same.
2171 * gdb.reverse/until-reverse.exp: Same.
2172 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
2173
2174 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
2175
2176 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
2177 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
2178 (cmp_struct_05_01, cmp_struct_static_02_01)
2179 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
2180 comparisons.
2181
2182 2019-10-10 Tom de Vries <tdevries@suse.de>
2183
2184 PR testsuite/24888
2185 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
2186 gnatlink.
2187
2188 2019-10-09 Tom de Vries <tdevries@suse.de>
2189
2190 PR testsuite/25048
2191 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
2192
2193 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2194
2195 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
2196 exceptions due to missing debug information.
2197
2198 2019-10-07 Tom de Vries <tdevries@suse.de>
2199
2200 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
2201
2202 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2203
2204 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
2205 * gdb.base/annota1.exp: Update to use gdb_test_name.
2206
2207 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
2208
2209 * gdb.base/ctf-whatis.exp: New file.
2210 * gdb.base/ctf-whatis.c: New file.
2211 * gdb.base/ctf-ptype.exp: New file.
2212 * gdb.base/ctf-ptype.c: New file.
2213 * gdb.base/ctf-constvars.exp: New file.
2214 * gdb.base/ctf-constvars.c: New file.
2215 * gdb.base/ctf-cvexpr.exp: New file.
2216
2217 2019-10-04 Tom de Vries <tdevries@suse.de>
2218
2219 * gdb.cp/local-static.c (main): Move declaration of int i out of the
2220 for loop.
2221
2222 2019-10-03 Tom Tromey <tom@tromey.com>
2223
2224 PR rust/24976:
2225 * gdb.rust/simple.rs (Union2): New type.
2226 (main): Use Union2.
2227 * gdb.rust/simple.exp: Add test.
2228
2229 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2230
2231 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
2232 nested function prefix.
2233
2234 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
2235 Richard Bunt <richard.bunt@arm.com>
2236 Andrew Burgess <andrew.burgess@embecosm.com>
2237
2238 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
2239 nested functions.
2240 * gdb.fortran/nested-funcs.f90: Update expected results.
2241 * gdb.fortran/nested-funcs-2.exp: New file.
2242 * gdb.fortran/nested-funcs-2.f90: New file.
2243
2244 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2245
2246 * gdb.python/py-parameter.exp: Make test names unique.
2247 * gdb.python/py-template.exp: Likewise.
2248 * gdb.python/py-value.exp: Likewise.
2249
2250 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2251
2252 * gdb.base/break-interp.exp: Reduce test name duplication.
2253 * gdb.base/call-sc.exp: Likewise.
2254 * gdb.base/callfuncs.exp: Likewise.
2255 * gdb.base/charset.exp: Likewise.
2256 * gdb.base/dump.exp: Likewise.
2257 * gdb.base/ena-dis-br.exp: Likewise.
2258 * gdb.base/relational.exp: Likewise.
2259 * gdb.base/step-over-syscall.exp: Likewise.
2260 * gdb.base/structs.exp: Likewise.
2261
2262 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2263
2264 * gdb.linespec/explicit.exp: Make test names unique.
2265 * gdb.linespec/ls-errs.exp: Likewise.
2266
2267 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2268
2269 * gdb.reverse/break-precsave.exp: Make test names unique.
2270 * gdb.reverse/break-reverse.exp: Likewise.
2271 * gdb.reverse/finish-precsave.exp: Likewise.
2272 * gdb.reverse/finish-reverse.exp: Likewise.
2273 * gdb.reverse/machinestate-precsave.exp: Likewise.
2274 * gdb.reverse/machinestate.exp: Likewise.
2275 * gdb.reverse/readv-reverse.exp: Likewise.
2276 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2277 * gdb.reverse/sigall-precsave.exp: Likewise.
2278 * gdb.reverse/sigall-reverse.exp: Likewise.
2279 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
2280 * gdb.reverse/watch-precsave.exp: Likewise.
2281 * gdb.reverse/watch-reverse.exp: Likewise.
2282
2283 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2284
2285 * gdb.threads/stop-with-handle.c: New file.
2286 * gdb.threads/stop-with-handle.exp: New file.
2287
2288 2019-10-03 Tom de Vries <tdevries@suse.de>
2289
2290 PR testsuite/25059
2291 * gdb.base/list-missing-source.exp: Allowing the "Compilation
2292 directory" line to be missing.
2293
2294 2019-10-03 Tom de Vries <tdevries@suse.de>
2295
2296 PR testsuite/25059
2297 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
2298 type optional.
2299
2300 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
2301
2302 * gdb.python/py-format-string.c (string.h): New include.
2303 (main): Fill a_struct_with_union.the_union.an_int with bytes of
2304 the same value, for endianness-independence.
2305 * gdb.python/py-format-string.exp (default_regexp_dict)
2306 (test_pretty_structs, test_format): Adjust expected output to the
2307 changed initialization.
2308
2309 2019-10-02 Tom Tromey <tromey@adacore.com>
2310
2311 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
2312
2313 2019-10-02 Pedro Alves <palves@redhat.com>
2314 Andrew Burgess <andrew.burgess@embecosm.com>
2315
2316 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
2317 "print-file-var.h".
2318 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2319 (get_version_1): Print this_version_id and its address.
2320 Add extern "C" wrappers around interface functions.
2321 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
2322 "print-file-var.h".
2323 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2324 (get_version_2): Print this_version_id and its address.
2325 Add extern "C" wrappers around interface functions.
2326 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
2327 <stddef.h> and "print-file-var.h".
2328 Add extern "C" wrappers around interface functions.
2329 [VERSION_ID_MAIN] (this_version_id): Define.
2330 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
2331 * gdb.base/print-file-var.h: Add some #defines to simplify setting
2332 up extern "C" blocks.
2333 * gdb.base/print-file-var.exp (test): New, factored out from top
2334 level.
2335 (top level): Test all combinations of attribute hidden or not,
2336 dlopen or not, and this_version_id symbol in main file or not.
2337 Compile tests as both C++ and C, make test names unique.
2338
2339 2019-10-01 Tom Tromey <tom@tromey.com>
2340
2341 * gdb.base/style.exp: Test "show logging filename".
2342
2343 2019-10-01 Tom Tromey <tom@tromey.com>
2344
2345 * lib/gdb-utils.exp (style): Handle "metadata" argument.
2346 * gdb.base/style.exp: Add metadata style test.
2347
2348 2019-10-01 Tom Tromey <tom@tromey.com>
2349
2350 * gdb.base/style.exp: Test "pwd".
2351
2352 2019-10-01 Tom Tromey <tom@tromey.com>
2353
2354 * gdb.base/style.exp: Update tests.
2355
2356 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
2357
2358 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
2359 'six' to unsigned.
2360 (s1): Initialize fields 'four' and 'six' instead of 'three' and
2361 'five'. Use an all-ones bit pattern for each.
2362 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
2363 to its changed values.
2364
2365 2019-09-30 Tom Tromey <tromey@adacore.com>
2366
2367 * gdb.rust/traits.rs: Disable all warnings.
2368
2369 2019-09-29 Tom de Vries <tdevries@suse.de>
2370
2371 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
2372
2373 2019-09-29 Tom de Vries <tdevries@suse.de>
2374
2375 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
2376
2377 2019-09-27 Tom de Vries <tdevries@suse.de>
2378
2379 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
2380
2381 2019-09-27 Tom de Vries <tdevries@suse.de>
2382
2383 PR record/23188
2384 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
2385
2386 2019-09-26 Tom Tromey <tromey@adacore.com>
2387
2388 * gdb.ada/py_taft.exp: New file.
2389 * gdb.ada/py_taft/main.adb: New file.
2390 * gdb.ada/py_taft/pkg.adb: New file.
2391 * gdb.ada/py_taft/pkg.ads: New file.
2392
2393 2019-09-24 Tom de Vries <tdevries@suse.de>
2394
2395 PR gdb/24598
2396 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
2397
2398 2019-09-22 Tom de Vries <tdevries@suse.de>
2399
2400 * gdb.base/restore.exp: Allow register variables to be optimized out at
2401 -O0.
2402
2403 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
2404
2405 * gdb.arch/spu-info.exp: Remove file.
2406 * gdb.arch/spu-info.c: Remove file.
2407 * gdb.arch/spu-ls.exp: Remove file.
2408 * gdb.arch/spu-ls.c: Remove file.
2409
2410 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
2411 * gdb.asm/spu.inc: Remove file.
2412
2413 * gdb.base/dump.exp: Remove support for spu*-*-*.
2414 * gdb.base/stack-checking.exp: Likewise.
2415 * gdb.base/overlays.exp: Likewise.
2416 * gdb.base/ovlymgr.c: Likewise.
2417 * gdb.base/spu.ld: Remove file.
2418
2419 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
2420 * gdb.cp/cpexprs.exp: Likewise.
2421 * gdb.cp/exception.exp: Likewise.
2422 * gdb.cp/gdb2495.exp: Likewise.
2423 * gdb.cp/mb-templates.exp: Likewise.
2424 * gdb.cp/pr9167.exp: Likewise.
2425 * gdb.cp/userdef.exp: Likewise.
2426
2427 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
2428
2429 * gdb.cell: Remove directory.
2430 * lib/cell.exp: Remove file.
2431
2432 2019-09-19 Tom de Vries <tdevries@suse.de>
2433
2434 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
2435
2436 2019-09-19 Tom de Vries <tdevries@suse.de>
2437
2438 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2439
2440 2019-09-19 Tom de Vries <tdevries@suse.de>
2441
2442 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2443 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2444 (gdb_target_cmd): ... here.
2445 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2446 value 2.
2447
2448 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2449
2450 * gdb.base/source-dir.exp: Avoid having directory names in test
2451 names.
2452
2453 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2454
2455 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2456 directory.
2457
2458 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2459
2460 * gdb.base/list-missing-source.exp: New file.
2461
2462 2019-09-14 Tom de Vries <tdevries@suse.de>
2463
2464 PR teststuite/24599
2465 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2466 * lib/ada.exp (gnatmake_version_at_least): New proc.
2467
2468 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2469
2470 * gdb.base/maint.exp: Use exec_has_index_section.
2471
2472 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2473
2474 * gdb.base/maint.exp: Add test for 'maint info sections'.
2475
2476 2019-09-12 Tom de Vries <tdevries@suse.de>
2477
2478 * gdb.base/store.exp: Allow register variables to be optimized out at
2479 -O0.
2480
2481 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2482
2483 * gdb.ada/rdv_wait.exp: Update to new task names.
2484 * gdb.base/task_switch_in_core.exp: Likewise.
2485 * gdb.base/info_sources_base.c: Likewise.
2486
2487 2019-09-10 Tom Tromey <tromey@adacore.com>
2488
2489 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2490
2491 2019-09-10 Tom Tromey <tromey@adacore.com>
2492
2493 * gdb.ada/dgopt.exp: New file.
2494 * gdb.ada/dgopt/x.adb: New file.
2495
2496 2019-09-08 Tom Tromey <tom@tromey.com>
2497
2498 * gdb.tui/resize.exp: Remove setup_xfail.
2499 * gdb.tui/regs.exp: Remove setup_xfail.
2500 * gdb.tui/basic.exp: Remove setup_xfail.
2501
2502 2019-09-06 David Blaikie <dblaikie@gmail.com>
2503
2504 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2505 * gdb.cp/cplabel.exp: Ditto.
2506 * gdb.linespec/ls-errs.exp: Ditto.
2507
2508 2019-09-05 Tom de Vries <tdevries@suse.de>
2509
2510 * lib/gdb.exp (cmp_file_string): New proc.
2511 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2512 runto_main. Verify save breakpoints output.
2513
2514 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2515
2516 * gdb.base/info-var.exp: Test info variables without running
2517 to main, to avoid expect's buffer overflow.
2518
2519 2019-09-03 Tom Tromey <tromey@adacore.com>
2520
2521 * gdb.ada/bias.exp: New file.
2522 * gdb.ada/bias/bias.adb: New file.
2523 * gdb.ada/print_chars.exp: Add regression test.
2524 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2525 (MC): New variable.
2526
2527 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2528
2529 * gdb.base/argv0-symlink.exp: Run only on native target
2530 and local host.
2531
2532 2019-08-29 Tom de Vries <tdevries@suse.de>
2533
2534 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2535 diverse debug info.
2536 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2537
2538 2019-08-28 Tom de Vries <tdevries@suse.de>
2539
2540 * gdb.base/info-var.exp: Allow info variables to print info for files
2541 other than info-var-f1.c and info-var-f2.c.
2542
2543 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2544
2545 * gdb.fortran/info-types.exp: Add module.
2546 * gdb.fortran/info-types.f90: Update expected results.
2547
2548 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2549
2550 * gdb.fortran/info-types.exp: New file.
2551 * gdb.fortran/info-types.f90: New file.
2552 * lib/fortran.exp (fortran_character1): New proc.
2553
2554 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2555
2556 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2557 functions'. Reindent as needed.
2558 * gdb.base/info-var-f1.c: New file.
2559 * gdb.base/info-var-f2.c: New file.
2560 * gdb.base/info-var.exp: New file.
2561 * gdb.base/info-var.h: New file.
2562
2563 2019-08-26 Tom de Vries <tdevries@suse.de>
2564
2565 PR c++/24852
2566 * gdb.cp/no-libstdcxx-probe.exp: New test.
2567
2568 2019-08-26 Tom de Vries <tdevries@suse.de>
2569
2570 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2571 * tests need to be skipped.
2572 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2573 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2574 mi_skip_libstdcxx_probe_tests.
2575
2576 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2577
2578 * gdb.python/py-xmethods.exp: Use raw strings when passing
2579 arguments to SimpleXMethodMatcher.
2580
2581 2019-08-22 Tom de Vries <tdevries@suse.de>
2582
2583 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2584 more informative.
2585
2586 2019-08-21 Pedro Alves <palves@redhat.com>
2587
2588 * gdb.base/with.exp: Test "with" with no arguments.
2589
2590 2019-08-21 Tom de Vries <tdevries@suse.de>
2591
2592 * gdb.base/gdb-caching-proc.exp: Sort files.
2593
2594 2019-08-20 Tom de Vries <tdevries@suse.de>
2595
2596 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2597 compilation.
2598
2599 2019-08-16 Tom de Vries <tdevries@suse.de>
2600
2601 * gdb.base/compare-sections.exp ("after run to main"): Allow
2602 mismatched read-only sections for PIE executables.
2603
2604 2019-08-16 Tom Tromey <tom@tromey.com>
2605
2606 * lib/tuiterm.exp (_csi_Z): New proc.
2607 * gdb.tui/basic.exp: Update window positions.
2608 * gdb.tui/empty.exp: Update window positions.
2609
2610 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2611
2612 * gdb.base/examine-backward.exp: Correct regexp for
2613 "examine 3 bytes backward from ${address_zero}".
2614
2615 2019-08-15 Tom Tromey <tom@tromey.com>
2616
2617 * gdb.tui/empty.exp: Enable resizing tests.
2618
2619 2019-08-15 Tom Tromey <tromey@adacore.com>
2620
2621 * gdb.ada/char_enum.exp: Add regression tests.
2622 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2623 and '0'.
2624 (Char, Gchar): Update.
2625 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2626
2627 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2628
2629 * gdb.python/python.exp: Expect a leading underscore on
2630 GdbOutput{,Error}File.
2631
2632 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2633
2634 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2635 Windows host.
2636
2637 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2638
2639 * gdb.base/batch-preserve-term-settings.exp
2640 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2641
2642 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2643
2644 * lib/gdb.exp: When running on a mingw target, replace
2645 /x/ with x:/.
2646
2647 2019-08-14 Alan Hayward <alan.hayward@arm.com>
2648
2649 * gdb.arch/aarch64-prologue.c: New test.
2650 * gdb.arch/aarch64-prologue.exp: New file.
2651
2652 2019-08-13 Tom de Vries <tdevries@suse.de>
2653
2654 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2655 Thread.
2656
2657 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2658
2659 * gdb.python/py-completion.exp: Download the .py file to the host
2660 and use its host pathname. Conditionalize tests that use
2661 tab completion and manipulate files on the build machine.
2662 * gdb.python/py-events.exp: Download the .py file to the host
2663 and use its host pathname.
2664 * gdb.python/py-evsignal.exp: Likewise.
2665 * gdb.python/py-evthreads.exp: Likewise.
2666 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2667 pathname syntax.
2668 * gdb.python/py-framefilter.exp: Download the .py file to the right
2669 place on the host. Match Windows pathname syntax.
2670 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2671 .py file to the host and use its host pathname.
2672 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2673 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2674 build pathname. Skip symlink test on Windows host. Add missing
2675 newline at end of file.
2676 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2677 and use its host pathname.
2678 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2679 * gdb.python/py-section-script.exp: Use host location of binfile
2680 on safe-path. Use correct path separator on Windows host.
2681 Reorder alternatives in gdb_test_multiple to prevent matching
2682 the wrong alternative on success.
2683 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2684
2685 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2686
2687 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2688 expect the GDB inferior to no longer immediately stop after
2689 being resumed with "signal SIGINT".
2690
2691 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2692
2693 * gdb.linespec/break-ask.exp: Generalize regexps to match
2694 Windows pathnames too.
2695
2696 2019-08-08 Tom de Vries <tdevries@suse.de>
2697
2698 PR testsuite/24862
2699 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2700
2701 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2702
2703 * gdb.base/style.exp: Update tests for help doc new invariants.
2704 * gdb.base/help.exp: Likewise.
2705
2706 2019-08-06 Tom Tromey <tom@tromey.com>
2707
2708 * gdb.base/style.exp: Add disassemble test.
2709 * gdb.base/style.c (some_called_function): New function.
2710 (main): Use it.
2711
2712 2019-08-05 Christian Biesinger <cbiesinger@google.com>
2713
2714 * gdb.python/py-block.exp: Test dictionary access on blocks.
2715
2716 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
2717
2718 PR gdb/24863
2719 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2720 -list-thread-groups --available test when running under
2721 check-read1.
2722
2723 2019-08-05 Tom de Vries <tdevries@suse.de>
2724
2725 PR testsuite/24863
2726 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2727 * gdb.base/help.exp: Use with_read1_timeout_factor.
2728 * gdb.base/info-macros.exp: Same.
2729 * gdb.cp/nested-types.exp: Same.
2730
2731 2019-08-05 Tom de Vries <tdevries@suse.de>
2732
2733 * lib/gdb.exp (version_at_least): Factor out of ...
2734 (tcl_version_at_least): ... here.
2735 (gdb_compile): Fail if pie results in non-PIE executable.
2736 (readelf_version, readelf_prints_pie): New proc.
2737 (exec_is_pie): Return -1 if unknown.
2738
2739 2019-08-05 Tom de Vries <tdevries@suse.de>
2740
2741 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2742
2743 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2744
2745 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2746
2747 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2748
2749 * lib/completion-support.exp (test_gdb_complete_none): Skip
2750 tab completion tests if no readline support.
2751 (test_gdb_complete_unique_re): Likewise.
2752 (test_gdb_complete_multiple): Likewise.
2753
2754 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2755
2756 * gdb.base/info_sources.exp: New file.
2757 * gdb.base/info_sources.c: New file.
2758 * gdb.base/info_sources_base.c: New file.
2759
2760 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2761
2762 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2763 prefix argument.
2764 (test_exit_status): Add prefix argument.
2765
2766 2019-08-01 Tom de Vries <tdevries@suse.de>
2767
2768 PR testsuite/24863
2769 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2770 calling exp_continue for new thread and thread exited messages.
2771
2772 2019-08-01 Tom de Vries <tdevries@suse.de>
2773
2774 PR testsuite/24863
2775 * gdb.base/structs.exp: Fix check-read1 timeout using
2776 gdb_test_sequence.
2777 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2778
2779 2019-08-01 Tom de Vries <tdevries@suse.de>
2780
2781 PR testsuite/24863
2782 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2783 line.
2784
2785 2019-08-01 Tom de Vries <tdevries@suse.de>
2786
2787 PR testsuite/24863
2788 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2789
2790 2019-07-30 Tom Tromey <tromey@adacore.com>
2791
2792 * gdb.ada/display_nested.exp: New file.
2793 * gdb.ada/display_nested/foo.adb: New file.
2794 * gdb.ada/display_nested/pack.adb: New file.
2795 * gdb.ada/display_nested/pack.ads: New file.
2796
2797 2019-07-30 Christian Biesinger <cbiesinger@google.com>
2798
2799 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2800 namespace.
2801 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2802
2803 2019-07-30 Tom de Vries <tdevries@suse.de>
2804
2805 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2806 instead.
2807
2808 2019-07-30 Tom de Vries <tdevries@suse.de>
2809
2810 PR testsuite/24834
2811 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2812 (exec_is_pie): New proc.
2813
2814 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2815
2816 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2817
2818 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2819
2820 * gdb.python/py-objfile.c: Add global and static vars.
2821 * gdb.python/py-objfile.exp: Test new functions Objfile.
2822 lookup_global_symbol and lookup_static_symbol.
2823
2824 2019-07-29 Tom Tromey <tom@tromey.com>
2825
2826 * lib/tuiterm.exp (Term::_csi_@): New proc.
2827 (Term::_csi_X): Don't move cursor.
2828
2829 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2830
2831 * gdb.base/options.exp: Update backtrace - completion to
2832 new option -frame-info.
2833 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2834 Test new 'set print frame-info'. Test backtrace -frame-info
2835 overriding 'set print frame-info'.
2836 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2837 Test new 'set print frame-info'.
2838 Verify consistency of backtrace with and without filters, with and
2839 without -no-filters.
2840 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2841 default.
2842
2843 2019-07-29 Tom de Vries <tdevries@suse.de>
2844
2845 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2846 no arguments".
2847
2848 2019-07-29 Tom de Vries <tdevries@suse.de>
2849
2850 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2851 is a substring of the first for "complete non-unique file name".
2852
2853 2019-07-29 Tom de Vries <tdevries@suse.de>
2854
2855 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2856 with ".*".
2857
2858 2019-07-29 Tom de Vries <tdevries@suse.de>
2859
2860 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2861 Pass prompt_regexp parameter to gdb_test_multiple calls.
2862
2863 2019-07-29 Tom de Vries <tdevries@suse.de>
2864
2865 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2866 print registers" regexps.
2867
2868 2019-07-29 Tom de Vries <tdevries@suse.de>
2869
2870 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2871
2872 2019-07-29 Tom de Vries <tdevries@suse.de>
2873
2874 PR gdb/24855
2875 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2876 (skip_python_tests_prompt): Add prompt_regexp argument to
2877 gdb_test_multiple calls.
2878
2879 2019-07-27 Tom Tromey <tom@tromey.com>
2880
2881 * gdb.tui/main.exp: New file.
2882
2883 2019-07-27 Tom Tromey <tom@tromey.com>
2884
2885 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2886 optional.
2887 * gdb.tui/empty.exp: New file.
2888
2889 2019-07-27 Tom Tromey <tom@tromey.com>
2890
2891 * lib/tuiterm.exp (spawn): New proc.
2892 (Term::resize): New proc.
2893 * gdb.tui/resize.exp: New file.
2894
2895 2019-07-27 Tom Tromey <tom@tromey.com>
2896
2897 * gdb.tui/list.exp: New file.
2898
2899 2019-07-27 Tom Tromey <tom@tromey.com>
2900
2901 * gdb.tui/regs.exp: New file.
2902
2903 2019-07-27 Tom Tromey <tom@tromey.com>
2904
2905 * gdb.tui/basic.exp: Add "layout split" test.
2906
2907 2019-07-27 Tom Tromey <tom@tromey.com>
2908
2909 * gdb.tui/basic.exp: Add "layout asm" test.
2910
2911 2019-07-27 Tom Tromey <tom@tromey.com>
2912
2913 * lib/tuiterm.exp: New file.
2914 * gdb.tui/basic.exp: New file.
2915
2916 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2917
2918 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2919 Enable tests associated with this flag. Adjust regex
2920 referencing "foo_low" to now refer to "foo_cold" instead.
2921
2922 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2923
2924 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2925 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2926 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2927 foo_cold. Revise comments to match.
2928 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2929 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2930 were wrapped into this proc; Call do_test in loop from outermost
2931 level.
2932 (foo_low): Rename all occurrences to "foo_cold".
2933 (backtrace from baz): New test.
2934 (x2/i foo_cold): New test.
2935 (info line *foo_cold): New test.
2936
2937 2019-07-26 Tom de Vries <tdevries@suse.de>
2938
2939 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2940
2941 2019-07-25 Tom de Vries <tdevries@suse.de>
2942
2943 PR testsuite/24830
2944 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2945 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2946 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2947 (skip_libstdcxx_probe_tests): ... here.
2948 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2949
2950 2019-07-24 Tom de Vries <tdevries@suse.de>
2951
2952 PR testsuite/24807
2953 * gdb.objc/basicclass.m: Include stdio.h.
2954 * gdb.objc/nondebug.m: Same.
2955 * gdb.objc/objcdecode.m: Same.
2956
2957 2019-07-24 Tom de Vries <tdevries@suse.de>
2958
2959 PR testsuite/24612
2960 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2961 additional_flags.
2962
2963 2019-07-24 Tom de Vries <tdevries@suse.de>
2964
2965 PR testsuite/24831
2966 * gdb.multi/tids.exp: Update error messages for info threads.
2967
2968 2019-07-24 Tom de Vries <tdevries@suse.de>
2969
2970 * gdb.base/info-types.exp: Allow info types to print info for more than
2971 one file.
2972
2973 2019-07-23 Tom de Vries <tdevries@suse.de>
2974
2975 PR testsuite/24842
2976 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2977 gdb_spawn_with_cmdline_opts.
2978
2979 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2980
2981 * gdb.arch/arm-cmse-sgstubs.c: New test.
2982 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2983
2984 2019-07-23 Tom de Vries <tdevries@suse.de>
2985
2986 PR testsuite/24711
2987 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2988 issuing next command.
2989
2990 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2991
2992 * gdb.ada/info_auto_lang.exp: Update expected results.
2993 * gdb.base/info-types.c: Add additional types to check.
2994 * gdb.base/info-types.exp: Update expected results.
2995
2996 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2997
2998 * gdb.base/info-types.c: New file.
2999 * gdb.base/info-types.exp: New file.
3000
3001 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3002
3003 * gdb.arch/riscv-bp-infcall.c: New file.
3004 * gdb.arch/riscv-bp-infcall.exp: New file.
3005
3006 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3007
3008 PR breakpoints/24541
3009 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3010
3011 2019-07-14 Tom de Vries <tdevries@suse.de>
3012
3013 PR testsuite/24760
3014 * gdb.objc/basicclass.exp: Fix unterminated string.
3015
3016 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3017 Andrew Burgess <andrew.burgess@embecosm.com>
3018
3019 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3020 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3021 negative bounds.
3022 * gdb.fortran/vla-value.exp: Print elements of an array with
3023 negative bounds.
3024 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3025 testing.
3026
3027 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3028
3029 * gdb.base/options.exp (expect_string): Dequote strings in
3030 results.
3031 (test-string): Test strings with different quoting and reindent.
3032
3033 2019-07-10 Tom Tromey <tromey@adacore.com>
3034
3035 * gdb.ada/mi_ex_cond.exp: Update expected results.
3036 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3037 * gdb.ada/mi_catch_ex.exp: Update expected results.
3038 * gdb.ada/mi_catch_assert.exp: Update expected results.
3039 * gdb.ada/catch_ex.exp (catch_exception_info)
3040 (catch_exception_entry, catch_assert_entry)
3041 (catch_unhandled_entry): Update.
3042 * gdb.ada/catch_assert_if.exp: Update expected results.
3043
3044 2019-07-10 Richard Bunt <richard.bunt@arm.com>
3045 Stephen Roberts <stephen.roberts@arm.com>
3046
3047 * gdb.base/define.exp: Restore original prompt.
3048
3049 2019-07-09 Pedro Alves <palves@redhat.com>
3050
3051 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3052 breakpoints" output.
3053 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3054 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3055 throw" creates breakpoint.
3056 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3057 'type="catchpoint"'.
3058
3059 2019-07-09 Pedro Alves <palves@redhat.com>
3060
3061 PR c++/15468
3062 * gdb.cp/except-multi-location-lib.cc: New.
3063 * gdb.cp/except-multi-location-main.cc: New.
3064 * gdb.cp/except-multi-location.exp: New.
3065
3066 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3067
3068 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3069 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3070 argument and update callers.
3071
3072 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3073
3074 * gdb.arch/amd64-break-on-asm-line.S: New file.
3075 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3076
3077 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3078
3079 * gdb.base/printcmds.exp: Test printing C string and
3080 C wide string convenience vars without transiting via the inferior.
3081 Also make test names unique.
3082
3083 2019-07-08 Alan Hayward <alan.hayward@arm.com>
3084
3085 PR breakpoints/25011
3086 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3087
3088 2019-07-04 Pedro Alves <palves@redhat.com>
3089
3090 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3091 body returned ok(0), break(3) or continue(4).
3092 * gdb.testsuite/foreach_with_prefix.exp: New file.
3093
3094 2019-07-04 Alan Hayward <alan.hayward@arm.com>
3095
3096 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3097
3098 2019-07-03 Pedro Alves <palves@redhat.com>
3099
3100 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3101 "return -code".
3102
3103 2019-07-03 Pedro Alves <palves@redhat.com>
3104
3105 PR cli/24732
3106 * gdb.base/shell.exp: Load completion-support.exp.
3107 Adjust expected error output. Add completion tests.
3108
3109 2019-07-03 Pedro Alves <palves@redhat.com>
3110
3111 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3112 string_to_regexp.
3113
3114 2019-07-03 Pedro Alves <palves@redhat.com>
3115
3116 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3117 (expect_integer): Adjust to expect "-string".
3118 (expect_string): New.
3119 (all_options): Expect "-string".
3120 (test-flag, test-boolean): Adjust to expect "-string".
3121 (test-string): New proc.
3122 (top level): Call it.
3123
3124 2019-07-03 Pedro Alves <palves@redhat.com>
3125
3126 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3127 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3128 the expected output in the success.
3129
3130 2019-07-03 Pedro Alves <palves@redhat.com>
3131
3132 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3133 Split one gdb_test_multiple call in two to avoid a race.
3134
3135 2019-07-03 Pedro Alves <palves@redhat.com>
3136
3137 * gdb.base/with.c: New file.
3138 * gdb.base/with.exp: New file.
3139
3140 2019-07-03 Pedro Alves <palves@redhat.com>
3141
3142 * gdb.base/settings.exp: Replace all references to "maint
3143 test-settings set" with references to "maint set test-settings",
3144 and all references to "maint test-settings show" with references
3145 to "maint show test-settings".
3146
3147 2019-07-03 Pedro Alves <palves@redhat.com>
3148
3149 * gdb.base/settings.exp (test-string): Adjust expected out when
3150 testing "maint test-settings show filename"
3151
3152 2019-07-02 Pedro Alves <palves@redhat.com>
3153
3154 * gdb.base/options.exp (test-info-threads): New procedure.
3155 (top level): Call it.
3156
3157 2019-06-28 Tom Tromey <tromey@adacore.com>
3158
3159 * gdb.dwarf2/ada-linkage-name.c: New file.
3160 * gdb.dwarf2/ada-linkage-name.exp: New file.
3161
3162 2019-06-27 Tom Tromey <tromey@adacore.com>
3163
3164 PR c++/20020:
3165 * gdb.cp/constexpr-field.exp: Use setup_xfail.
3166
3167 2019-06-26 Tom de Vries <tdevries@suse.de>
3168
3169 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
3170
3171 2019-06-26 Tom de Vries <tdevries@suse.de>
3172
3173 * gdb.base/index-cache.exp: Add back missing debug option.
3174
3175 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3176
3177 * gdb.base/alias.exp: Test non matching/non existing prefixes.
3178
3179 2019-06-25 Tom de Vries <tdevries@suse.de>
3180
3181 PR testsuite/24727
3182 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
3183
3184 2019-06-24 Tom de Vries <tdevries@suse.de>
3185
3186 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
3187
3188 2019-06-24 Tom de Vries <tdevries@suse.de>
3189
3190 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
3191 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
3192 * gdb.trace/unavailable-dwarf-piece.exp: Same.
3193
3194 2019-06-24 Tom de Vries <tdevries@suse.de>
3195
3196 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
3197
3198 2019-06-21 Tom de Vries <tdevries@suse.de>
3199
3200 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
3201
3202 2019-06-21 Tom de Vries <tdevries@suse.de>
3203
3204 PR testsuite/24518
3205 PR ada/24713
3206 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
3207 index.
3208
3209 2019-06-19 Tom Tromey <tromey@adacore.com>
3210
3211 * gdb.ada/length_cond.exp: Add intro comment.
3212
3213 2019-06-19 Tom Tromey <tromey@adacore.com>
3214
3215 * gdb.ada/length_cond.exp: New file.
3216 * gdb.ada/length_cond/length_cond.adb: New file.
3217 * gdb.ada/length_cond/pck.adb: New file.
3218 * gdb.ada/length_cond/pck.ads: New file.
3219
3220 2019-06-18 Tom de Vries <tdevries@suse.de>
3221
3222 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
3223
3224 2019-06-18 Tom Tromey <tromey@adacore.com>
3225
3226 * gdb.base/list0.h: Add comment explaining control character.
3227
3228 2019-06-18 Tom de Vries <tdevries@suse.de>
3229
3230 * boards/fission.exp: Break up long debug_flags line.
3231
3232 2019-06-16 Tom de Vries <tdevries@suse.de>
3233
3234 PR gdb/24445
3235 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
3236 generated index.
3237
3238 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3239
3240 PR gdb/24686
3241 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
3242 improve detection of bug gdb/24541.
3243
3244 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
3245
3246 PR gdb/24669
3247 * gdb.base/index-cache.exp (uses_readnow,
3248 expecting_index_cache_use): Define global variable.
3249 (test_cache_enabled_miss, test_cache_enabled_hit): Use
3250 expecting_index_cache_use.
3251
3252 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
3253 Andrew Burgess <andrew.burgess@embecosm.com>
3254
3255 * gdb.fortran/pointers.f90: New file.
3256 * gdb.fortran/print_type.exp: New file.
3257 * gdb.fortran/vla-ptype.exp: Adapt expected results.
3258 * gdb.fortran/vla-type.exp: Likewise.
3259 * gdb.fortran/vla-value.exp: Likewise.
3260 * gdb.mi/mi-vla-fortran.exp: Likewise.
3261
3262 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3263
3264 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
3265 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
3266 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
3267 as a stop reason.
3268
3269 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3270
3271 * gdb.base/annota1.exp: Update expected results.
3272 * gdb.cp/annota2.exp: Likewise.
3273 * gdb.cp/annota3.exp: Likewise.
3274
3275 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3276
3277 * gdb.base/style-logging.exp: Remove path from test name.
3278
3279 2019-06-14 Tom Tromey <tromey@adacore.com>
3280
3281 PR gdb/24502:
3282 * gdb.base/style-logging.exp: New file.
3283
3284 2019-06-14 Tom Tromey <tromey@adacore.com>
3285
3286 * gdb.base/symfile-warn.exp: New file.
3287 * gdb.base/symfile-warn.c: New file.
3288
3289 2019-06-14 Tom Tromey <tromey@adacore.com>
3290
3291 * gdb.base/annotate-symlink.exp: New file.
3292
3293 2019-06-14 Tom Tromey <tromey@adacore.com>
3294
3295 * gdb.ada/set_wstr.exp: Add reassignment test.
3296
3297 2019-06-14 Tom Tromey <tromey@adacore.com>
3298
3299 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
3300 'unchecked_access and 'unrestricted_access as well.
3301
3302 2019-06-14 Tom Tromey <tromey@adacore.com>
3303
3304 PR ada/24539:
3305 * gdb.ada/vla.exp: Update tests.
3306 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
3307 pragma.
3308
3309 2019-06-13 Pedro Alves <palves@redhat.com>
3310
3311 * gdb.base/settings.exp (test-integer): Test junk after
3312 "unlimited".
3313
3314 2019-06-13 Pedro Alves <palves@redhat.com>
3315
3316 * gdb.base/options.exp (test-thread-apply): New.
3317 (top level): Call it.
3318
3319 2019-06-13 Pedro Alves <palves@redhat.com>
3320
3321 * gdb.base/options.exp (test-frame-apply): New.
3322 (top level): Test print commands with different "frame apply"
3323 prefixes.
3324
3325 2019-06-13 Pedro Alves <palves@redhat.com>
3326
3327 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
3328 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
3329 'max_completions' parameter and handle it.
3330 (test_gdb_completion_offers_commands): New.
3331
3332 2019-06-13 Pedro Alves <palves@redhat.com>
3333
3334 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
3335
3336 2019-06-13 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.base/options.exp (test-backtrace): New.
3339 (top level): Call it.
3340
3341 2019-06-13 Pedro Alves <palves@redhat.com>
3342
3343 * gdb.guile/scm-frame-args.exp: Use "set print
3344 raw-frame-arguments" instead of "set print raw frame-arguments".
3345 * gdb.python/py-frame-args.exp: Likewise.
3346
3347 2019-06-13 Pedro Alves <palves@redhat.com>
3348
3349 * gdb.compile/compile.exp: Adjust expected output to option
3350 processing changes.
3351
3352 2019-06-13 Pedro Alves <palves@redhat.com>
3353
3354 * gdb.base/options.exp: Build executable.
3355 (test-print): New procedure.
3356 (top level): Call it, once for "print" and another for "compile
3357 print".
3358
3359 2019-06-13 Pedro Alves <palves@redhat.com>
3360
3361 * gdb.base/options.c: New file.
3362 * gdb.base/options.exp: New file.
3363
3364 2019-06-13 Pedro Alves <palves@redhat.com>
3365
3366 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
3367 that "o" is ambiguous.
3368
3369 2019-06-13 Pedro Alves <palves@redhat.com>
3370
3371 * gdb.base/settings.c: New file.
3372 * gdb.base/settings.exp: New file.
3373
3374 2019-06-13 Pedro Alves <palves@redhat.com>
3375
3376 * gdb.base/completion.exp: Fix comment typo.
3377
3378 2019-06-13 Pedro Alves <palves@redhat.com>
3379
3380 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
3381 foo --1" test.
3382
3383 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
3384
3385 * gdb.fortran/block-data.f: New.
3386 * gdb.fortran/block-data.exp: New.
3387
3388 2019-06-11 Tom de Vries <tdevries@suse.de>
3389
3390 PR testsuite/24521
3391 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
3392 message.
3393
3394 2019-06-11 Tom de Vries <tdevries@suse.de>
3395
3396 PR testsuite/24521
3397 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
3398
3399 2019-06-11 Tom de Vries <tdevries@suse.de>
3400
3401 * boards/readnow.exp: New file.
3402
3403 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
3404
3405 * gdb.fortran/vla-sizeof.exp: Update expected results.
3406
3407 2019-06-06 Amos Bird <amosbird@gmail.com>
3408
3409 * gdb.base/annota1.exp (thread_switch): Add test for
3410 thread-exited annotation.
3411
3412 2019-06-06 Tom Tromey <tromey@adacore.com>
3413
3414 * gdb.base/maint.exp: Expect command started/finished output.
3415
3416 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3417
3418 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
3419 comment.
3420 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
3421
3422 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3423
3424 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
3425 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
3426 * gdb.arch/riscv-unwind-long-insn.c: New file.
3427 * gdb.arch/riscv-unwind-long-insn.exp: New file.
3428
3429 2019-06-04 Christian Biesinger <cbiesinger@google.com>
3430
3431 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
3432
3433 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3434
3435 * lib/gdb.exp (help_list_trailer): New regexp variable
3436 factorizing the help trailer message.
3437 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3438 arg to allow to better factorize various tests.
3439 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3440 (test_prefix_command_help): Use help_list_trailer.
3441 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3442 * gdb.guile/scm-cmd.exp: Likewise.
3443 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3444 * gdb.base/help.exp: Use test_user_defined_class_help.
3445 * gdb.base/style.exp: Add tests for styling of help and apropos.
3446 * lib/gdb-utils.exp (style): Add title and highlight styles.
3447
3448 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3449
3450 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3451 $_shell_exitsignal.
3452 * gdb.base/default.exp: Update for new convenience variables.
3453
3454 2019-05-29 Tom Tromey <tromey@adacore.com>
3455
3456 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3457 to "break complete ada" test case's regexp.
3458
3459 2019-05-29 Tom Tromey <tromey@adacore.com>
3460
3461 PR c++/20020:
3462 * gdb.cp/constexpr-field.exp: New file.
3463 * gdb.cp/constexpr-field.cc: New file.
3464
3465 2019-05-29 Tom Tromey <tromey@adacore.com>
3466
3467 * gdb.base/finish.exp (finish_no_print): New proc.
3468 (finish_tests): Call it.
3469
3470 2019-05-24 Tom de Vries <tdevries@suse.de>
3471
3472 * gdb.dwarf2/gdb-add-index.exp: New file.
3473
3474 2019-05-22 Tom Tromey <tromey@adacore.com>
3475
3476 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3477 * gdb.base/style.exp: Use "style".
3478 * lib/gdb-utils.exp (style): New proc.
3479
3480 2019-05-22 Tom de Vries <tdevries@suse.de>
3481
3482 * gdb.base/align.exp: Require c++11.
3483
3484 2019-05-22 Tom de Vries <tdevries@suse.de>
3485
3486 PR testsuite/24586
3487 * gdb.python/py-mi-var-info-path-expression.exp: Call
3488 mi_skip_python_tests to check if python is supported.
3489
3490 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3491
3492 * gdb.arch/aarch64-pauth.c: New test.
3493 * gdb.arch/aarch64-pauth.exp: New file.
3494
3495 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3496
3497 * README (Re-running Tests Outside The Testsuite): New section.
3498
3499 2019-05-21 Tom de Vries <tdevries@suse.de>
3500
3501 * gdb.arch/amd64-eval.exp: Require c++11.
3502 * gdb.base/max-depth.exp: Same.
3503 * gdb.compile/compile-cplus-array-decay.exp: Same.
3504 * gdb.cp/meth-typedefs.exp: Same.
3505 * gdb.cp/subtypes.exp: Same.
3506 * gdb.cp/temargs.exp: Same.
3507
3508 2019-05-21 Alan Hayward <alan.hayward@arm.com>
3509
3510 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3511
3512 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3513
3514 PR gdb/18644
3515 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3516 * gdb.fortran/printing-types.exp: Add new test.
3517 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3518 testing.
3519 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3520 setup_kfail call.
3521
3522 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3523
3524 * README (Running the Testsuite): Change example.
3525 (Testsuite Parameters): Remove TRANSCRIPT.
3526 * lib/gdb.exp: Remove TRANSCRIPT check.
3527
3528 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3529
3530 * README (Testsuite Parameters): Add replay logging to
3531 GDBSERVER_DEBUG.
3532 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3533 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3534 as a comma separated list.
3535 (gdb_debug_init): Override procedure.
3536
3537 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3538
3539 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3540 (gdb_write_cmd_file): New procedure.
3541 * lib/gdbserver-support.exp (gdbserver_start): Call
3542 gdbserver_write_cmd_file.
3543 (gdbserver_write_cmd_file): New procedure.
3544
3545 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3546
3547 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3548 (delete_breakpoints): Likewise.
3549 (gdb_run_cmd): Likewise.
3550 (gdb_start_cmd): Likewise.
3551 (gdb_starti_cmd): Likewise.
3552 (gdb_internal_error_resync): Likewise.
3553 (gdb_test_multiple): Likewise.
3554 (gdb_reinitialize_dir): Likewise.
3555 (default_gdb_exit): Likewise.
3556 (gdb_file_cmd): Mark kill as optional.
3557 (default_gdb_start): Call gdb_stdin_log_init.
3558 (send_gdb): Call gdb_stdin_log_write.
3559 (rerun_to_main): Mark Y as an answer.
3560 (gdb_stdin_log_init): New function.
3561 (gdb_stdin_log_write): Likewise.
3562
3563 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3564
3565 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3566 * gdb.base/debug-expr.exp: Likewise.
3567 * gdb.base/foll-fork.exp: Likewise.
3568 * gdb.base/foll-vfork.exp: Likewise.
3569 * gdb.base/fork-print-inferior-events.exp: Likewise.
3570 * gdb.base/gdb-sigterm.exp: Likewise.
3571 * gdb.base/gdbinit-history.exp: Likewise.
3572 * gdb.base/osabi.exp: Likewise.
3573 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3574 * gdb.base/ui-redirect.exp: Likewise.
3575 * gdb.gdb/unittest.exp: Likewise.
3576 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3577 * gdb.mi/mi-watch.exp: Likewise.
3578 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3579 * gdb.mi/user-selected-context-sync.exp: Likewise.
3580 * gdb.python/python.exp: Disable debug test when debugging.
3581 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3582 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3583 Likewise.
3584 * gdb.threads/stepi-random-signal.exp: Likewise.
3585
3586 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3587
3588 * Makefile.in: Pass through GDB_DEBUG.
3589 * README (Testsuite Parameters): Add GDB_DEBUG.
3590 (gdb,debug): Add board setting.
3591 * lib/gdb.exp (default_gdb_start): Start debugging.
3592 (gdb_debug_enabled): New procedure.
3593 (gdb_debug_init): Likewise.
3594
3595 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3596
3597 * Makefile.in: Pass through GDB_DEBUG.
3598 * README (Testsuite Parameters): Add GDB_DEBUG.
3599 (gdb,debug): Add board setting.
3600 * lib/gdb.exp (default_gdb_start): Start debugging.
3601 (gdb_debug_enabled): New procedure.
3602 (gdb_debug_init): Likewise.
3603
3604 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3605
3606 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3607
3608 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3609
3610 * gdb.base/ui-redirect.exp: Test redirection.
3611
3612 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3613
3614 * gdb.mi/mi-complete.exp: New file.
3615 * gdb.mi/mi-complete.cc: Likewise.
3616
3617 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3618
3619 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3620 indexed and sliced arrays, and pointers to arrays.
3621
3622 2019-05-14 Tom Tromey <tromey@adacore.com>
3623
3624 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3625 styling test.
3626
3627 2019-05-14 Tom de Vries <tdevries@suse.de>
3628
3629 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3630 selection entry encoding.
3631
3632 2019-05-10 Tom Tromey <tromey@adacore.com>
3633
3634 * gdb.ada/info_exc.exp: Add "complete" test.
3635
3636 2019-05-09 Tom de Vries <tdevries@suse.de>
3637
3638 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3639 CU-relative.
3640
3641 2019-05-09 Tom de Vries <tdevries@suse.de>
3642
3643 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3644 CU-relative.
3645
3646 2019-05-08 Joel Brobecker <brobecker@adacore.com>
3647
3648 * gdb.ada/frame_arg_lang.exp: New testcase.
3649 * gdb.ada/frame_arg_lang/bla.adb: New file.
3650 * gdb.ada/frame_arg_lang/pck.ads: New file.
3651 * gdb.ada/frame_arg_lang/pck.adb: New file.
3652 * gdb.ada/frame_arg_lang/foo.c: New file.
3653
3654 2019-05-08 Tom Tromey <tromey@adacore.com>
3655
3656 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3657
3658 2019-05-08 Tom Tromey <tromey@adacore.com>
3659
3660 * gdb.base/ptype-offsets.exp: Update tests.
3661
3662 2019-05-08 Tom Tromey <tromey@adacore.com>
3663
3664 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3665 cases.
3666 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3667 "short".
3668
3669 2019-05-08 Tom Tromey <tromey@adacore.com>
3670
3671 * gdb.ada/vla.exp: New file.
3672 * gdb.ada/vla/vla.adb: New file.
3673
3674 2019-05-07 Tom de Vries <tdevries@suse.de>
3675
3676 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3677
3678 2019-05-07 Tom de Vries <tdevries@suse.de>
3679
3680 PR testsuite/24522
3681 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3682 section.
3683
3684 2019-05-07 Tom de Vries <tdevries@suse.de>
3685
3686 PR testsuite/24522
3687 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3688 .debug_aranges section.
3689
3690 2019-05-07 Tom de Vries <tdevries@suse.de>
3691
3692 PR testsuite/24159
3693 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3694
3695 2019-05-06 Tom de Vries <tdevries@suse.de>
3696
3697 * lib/gdb.exp (exec_has_index_section): New proc.
3698 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3699 section.
3700
3701 2019-05-04 Tom de Vries <tdevries@suse.de>
3702
3703 * boards/cc-with-debug-names.exp: New file.
3704
3705 2019-05-03 Tom Tromey <tromey@adacore.com>
3706
3707 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3708 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3709 * gdb.ada/char_enum.exp: Add test.
3710
3711 2019-05-03 Tom de Vries <tdevries@suse.de>
3712
3713 * boards/cc-with-gdb-index.exp: New file.
3714
3715 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3716
3717 * gdb.rust/simple.exp: Add new test case.
3718 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3719 (main): Initialise an instance of the new struct.
3720
3721 2019-05-01 Tom Tromey <tromey@adacore.com>
3722
3723 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3724 record.
3725 (NPR): New variable.
3726 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3727 test.
3728
3729 2019-05-01 Tom Tromey <tromey@adacore.com>
3730
3731 * gdb.ada/packed_array_assign.exp: Add packed assignment
3732 regression test.
3733
3734 2019-05-01 Tom de Vries <tdevries@suse.de>
3735
3736 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3737
3738 2019-05-01 Tom de Vries <tdevries@suse.de>
3739
3740 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3741
3742 2019-04-30 Ali Tamur <tamur@google.com>
3743
3744 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3745
3746 2019-04-30 Tom Tromey <tromey@adacore.com>
3747
3748 * lib/ada.exp (find_ada_tool): New proc.
3749 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3750 * gdb.ada/catch_ex_std.exp: New file.
3751 * gdb.ada/catch_ex_std/foo.adb: New file.
3752 * gdb.ada/catch_ex_std/some_package.adb: New file.
3753 * gdb.ada/catch_ex_std/some_package.ads: New file.
3754
3755 2019-04-30 Tom Tromey <tromey@adacore.com>
3756
3757 PR c++/24470:
3758 * gdb.cp/temargs.cc: Add test code from PR.
3759
3760 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3761
3762 * gdb.fortran/vla-datatypes.exp: Update expected results.
3763 * gdb.fortran/vla-ptype.exp: Likewise.
3764 * gdb.fortran/vla-type.exp: Likewise.
3765 * gdb.fortran/vla-value.exp: Likewise.
3766
3767 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3768
3769 * gdb.fortran/ptr-indentation.exp: Update expected results.
3770 * gdb.fortran/ptype-on-functions.exp: Likewise.
3771 * gdb.fortran/vla-ptr-info.exp: Likewise.
3772 * gdb.fortran/vla-value.exp: Likewise.
3773
3774 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3775
3776 * gdb.fortran/ptype-on-functions.exp: New file.
3777 * gdb.fortran/ptype-on-functions.f90: New file.
3778
3779 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3780
3781 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3782 case void string.
3783
3784 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3785
3786 * gdb.fortran/complex.exp: Expand.
3787 * gdb.fortran/complex.f: Renamed to...
3788 * gdb.fortran/complex.f90: ...this, and extended to add more
3789 complex values.
3790
3791 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3792
3793 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3794 MODULO, CMPLX.
3795
3796 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3797 Richard Bunt <richard.bunt@arm.com>
3798
3799 * gdb.base/max-depth.c: New file.
3800 * gdb.base/max-depth.exp: New file.
3801 * gdb.python/py-nested-maps.c: New file.
3802 * gdb.python/py-nested-maps.exp: New file.
3803 * gdb.python/py-nested-maps.py: New file.
3804 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3805 (test_all_common): Call test_max_depth.
3806 * gdb.fortran/max-depth.exp: New file.
3807 * gdb.fortran/max-depth.f90: New file.
3808 * gdb.go/max-depth.exp: New file.
3809 * gdb.go/max-depth.go: New file.
3810 * gdb.modula2/max-depth.exp: New file.
3811 * gdb.modula2/max-depth.c: New file.
3812 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3813
3814 2019-04-29 Tom de Vries <tdevries@suse.de>
3815
3816 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3817
3818 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3819
3820 * gdb.base/callexit.exp: Test may-call-functions off.
3821
3822 2019-04-25 Keith Seitz <keiths@redhat.com>
3823
3824 PR c++/24367
3825 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3826 (another_incomplete_struct, test_incomplete): New definitions.
3827 (main): Use new definitions.
3828 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3829 functions.
3830
3831 2019-04-25 Ali Tamur <tamur@google.com>
3832
3833 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3834
3835 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3836
3837 PR corefiles/11608
3838 PR corefiles/18187
3839 * gdb.base/coredump-filter-build-id.exp: New file.
3840
3841 2019-04-25 Alan Hayward <alan.hayward@arm.com>
3842
3843 * Makefile.in: Pass through GDBSERVER_DEBUG.
3844 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3845 (gdbserver,debug): Add board setting.
3846 * gdb.trace/tspeed.exp: Skip when debugging.
3847 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3848 * lib/gdbserver-support.exp: Likewise
3849
3850 2019-04-24 Tom Tromey <tromey@adacore.com>
3851
3852 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3853 Rust.
3854
3855 2019-04-24 Tom Tromey <tromey@adacore.com>
3856
3857 * gdb.arch/amd64-eval.exp: Test bitfield return.
3858 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3859 (class Foo) <return_bitfields>: New method.
3860 (main): Call it.
3861
3862 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3863
3864 * gdb.cp/many-args.cc: New file.
3865 * gdb.cp/many-args.exp: New file.
3866
3867 2019-04-23 Tom de Vries <tdevries@suse.de>
3868
3869 PR gdb/24433
3870 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3871
3872 2019-04-23 Alan Hayward <alan.hayward@arm.com>
3873
3874 * gdb.trace/backtrace.exp: Use nopie flag.
3875 * gdb.trace/circ.exp: Likewise.
3876 * gdb.trace/collection.exp: Likewise.
3877 * gdb.trace/ftrace.exp: Likewise.
3878 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3879 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3880 * gdb.trace/qtro.exp: Likewise.
3881 * gdb.trace/read-memory.exp: Likewise.
3882 * gdb.trace/report.exp: Likewise.
3883 * gdb.trace/tfile.exp: Likewise.
3884 * gdb.trace/tfind.exp: Likewise.
3885 * gdb.trace/unavailable.exp: Likewise.
3886
3887 2019-04-22 Pedro Alves <palves@redhat.com>
3888
3889 * gdb.base/solib-probes-nosharedlibrary.c,
3890 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3891
3892 2019-04-19 Tom Tromey <tromey@adacore.com>
3893
3894 * gdb.ada/ptype_union.c: New file.
3895 * gdb.ada/ptype_union.exp: New file.
3896
3897 2019-04-19 Tom Tromey <tromey@adacore.com>
3898
3899 PR symtab/24423:
3900 * gdb.base/list0.h (foo): Add a control-l character.
3901
3902 2019-04-18 Tom de Vries <tdevries@suse.de>
3903
3904 PR gdb/24433
3905 * boards/local-board.exp: Set sysroot to "".
3906
3907 2019-04-18 Tom de Vries <tdevries@suse.de>
3908 Pedro Alves <palves@redhat.com>
3909
3910 PR gdb/24454
3911 * gdb.threads/vfork-follow-child-exec.c: New file.
3912 * gdb.threads/vfork-follow-child-exec.exp: New file.
3913 * gdb.threads/vfork-follow-child-exit.c: New file.
3914 * gdb.threads/vfork-follow-child-exit.exp: New file.
3915
3916 2019-04-15 Leszek Swirski <leszeks@google.com>
3917
3918 * gdb.arch/amd64-eval.cc: New file.
3919 * gdb.arch/amd64-eval.exp: New file.
3920
3921 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3922
3923 * gdb.server/sysroot.c: New test.
3924 * gdb.server/sysroot.exp: New file.
3925 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3926 matching param.
3927
3928 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3929
3930 * gdb.base/align.exp: Extend test to cover structures containing
3931 only static fields.
3932
3933 2019-04-11 Tom de Vries <tdevries@suse.de>
3934
3935 * boards/cc-with-dwz-m.exp: New file.
3936 * boards/cc-with-dwz.exp: New file.
3937 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3938
3939 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
3940
3941 * gdb.base/start-cpp.exp: New file.
3942 * gdb.base/start-cpp.cc: New file.
3943
3944 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3945
3946 * gdb.python/py-thrhandle.exp: Adjust tests to call
3947 thread_from_handle instead of thread_from_thread_handle.
3948
3949 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3950
3951 * gdb.python/py-thrhandle.exp: Add tests for
3952 gdb.InferiorThread.handle.
3953
3954 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3955
3956 * gdb.python/py-function.exp: Check calling helper function from
3957 all languages.
3958 * lib/gdb.exp (gdb_supported_languages): New proc.
3959
3960 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3961
3962 * gdb.base/complex-parts.c: New file.
3963 * gdb.base/complex-parts.exp: New file.
3964
3965 2019-04-01 Tom Tromey <tromey@adacore.com>
3966
3967 PR symtab/23331:
3968 * gdb.dwarf2/dw2-ranges-main.c: New file.
3969 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3970 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3971
3972 2019-03-30 Simon Marchi <simark@simark.ca>
3973
3974 * gdb.base/default.exp: Add values for $_gdb_major and
3975 $_gdb_minor.
3976
3977 2019-03-29 Tom Tromey <tromey@adacore.com>
3978
3979 * gdb.base/help.exp: Tighten apropos regexp.
3980
3981 2019-03-29 Keith Seitz <keiths@redhat.com>
3982
3983 * gdb.fortran/array-bounds.exp: New file.
3984 * gdb.fortran/array-bounds.f90: New file.
3985
3986 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3987
3988 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3989
3990 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3991
3992 * gdb.multi/hello.c (main): Increase alarm timer.
3993
3994 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3995
3996 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3997 factor when no hardware watchpoint support.
3998
3999 2019-03-28 Alan Hayward <alan.hayward@arm.com>
4000 Pedro Alves <palves@redhat.com>
4001
4002 * boards/local-board.exp: set sysroot to /.
4003
4004 2019-03-27 Alan Hayward <alan.hayward@arm.com>
4005
4006 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4007 in child.
4008
4009 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4010
4011 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4012 field.
4013 (make_container): Initialise new field.
4014 * gdb.python/py-prettyprint.exp: Add new tests.
4015 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4016 <display_hint>: New method.
4017
4018 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4019
4020 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4021 gdb_continue_to_breakpoint more throughout this test.
4022 (run_lang_tests) Supply unique test names, and use
4023 gdb_test_no_output.
4024
4025 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4026
4027 * gdb.base/finish-pretty.exp: Update expected results.
4028 * gdb.base/pretty-print.c: New file.
4029 * gdb.base/pretty-print.exp: New file.
4030
4031 2019-03-25 Pedro Alves <palves@redhat.com>
4032
4033 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4034 move comments outside list. Append '-i "" eof' section.
4035
4036 2019-03-22 Alan Hayward <alan.hayward@arm.com>
4037
4038 PR testsuite/25016
4039 * README: Add pie options.
4040 * gdb.base/break-interp.exp: Ensure pie is disabled.
4041 * gdb.base/dump.exp: Likewise.
4042 * lib/gdb.exp (gdb_compile): Add pie option.
4043
4044 2019-03-19 Tom Tromey <tromey@adacore.com>
4045
4046 * gdb.mi/mi2-cli-display.c: New file.
4047 * gdb.mi/mi2-cli-display.exp: New file.
4048
4049 2019-03-18 Joel Brobecker <brobecker@adacore.com>
4050 Tom Tromey <tromey@adacore.com>
4051
4052 * gdb.ada/ptype_array/pck.adb: New file.
4053 * gdb.ada/ptype_array/pck.ads: New file.
4054 * gdb.ada/ptype_array/foo.adb: New file.
4055 * gdb.ada/ptype_array.exp: New file.
4056
4057 2019-03-14 Tom Tromey <tromey@adacore.com>
4058
4059 * gdb.base/style.exp: Add "set style sources" test.
4060
4061 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4062
4063 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4064 * mi-breakpoint-multiple-locations.exp: ... this.
4065 (make_breakpoints_pattern): New proc.
4066 (do_test): Add mi_version parameter, test -break-insert,
4067 -break-info and =breakpoint-created.
4068
4069 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4070
4071 * config/default.exp: Remove 'load_lib gdb.exp'.
4072 * config/monitor.exp: Likewise.
4073 * config/sid.exp: Likewise.
4074 * config/sim.exp: Likewise.
4075 * config/slite.exp: Likewise.
4076 * config/unix.exp: Likewise.
4077 * gdb.base/default.exp: Remove unhelpful comment.
4078
4079 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4080
4081 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4082
4083 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4084
4085 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4086
4087 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4088
4089 * gdb.fortran/type-kinds.exp: Update expected results.
4090
4091 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4092
4093 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4094
4095 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4096
4097 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4098 function.
4099 (test_basic_parsing_of_type_kinds): Expand types tested.
4100 (test_parsing_invalid_type_kinds): New function.
4101
4102 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4103
4104 * gdb.fortran/intrinsics.exp: New file.
4105 * gdb.fortran/intrinsics.f90: New file.
4106 * gdb.fortran/type-kinds.exp: New file.
4107
4108 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4109
4110 * gdb.fortran/dot-ops.exp: New file.
4111
4112 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4113
4114 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4115 Check upper and lower case logical literals.
4116
4117 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4118
4119 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4120 Remove duplicate tests.
4121
4122 2019-03-06 Alan Hayward <alan.hayward@arm.com>
4123
4124 * lib/gdb.exp (builtin_cd): rename of cd.
4125 (cd): Override builtin.
4126
4127 2019-03-06 Richard Bunt <richard.bunt@arm.com>
4128
4129 * gdb.fortran/function-calls.exp: New file.
4130 * gdb.fortran/function-calls.f90: New test.
4131
4132 2019-03-04 Richard Bunt <richard.bunt@arm.com>
4133
4134 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
4135 on user program standard output.
4136 * gdb.fortran/short-circuit-argument-list.f90: Record function
4137 calls.
4138
4139 2019-02-28 Alan Hayward <alan.hayward@arm.com>
4140
4141 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
4142 failure.
4143
4144 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4145
4146 PR gdb/8527
4147 * gdb.base/interrupt-daemon-attach.c,
4148 gdb.base/interrupt-daemon-attach.exp: New test.
4149
4150 2019-02-27 Pedro Alves <palves@redhat.com>
4151
4152 * gdb.base/page.exp: Add tests for "set width/height -1".
4153
4154 2019-02-27 Pedro Alves <palves@redhat.com>
4155
4156 * gdb.base/page.exp: Add tests for "set/show width/height" with
4157 "infinite" values.
4158
4159 2019-02-27 Tom Tromey <tromey@adacore.com>
4160
4161 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
4162 2.4.
4163 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
4164 workaround.
4165
4166 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
4167
4168 * gdb.base/align.exp: Extend to compile in both C and C++, and add
4169 tests for structs with static members.
4170
4171 2019-02-26 Tom Tromey <tromey@adacore.com>
4172
4173 * gdb.python/py-value.exp (test_value_from_buffer): Check for
4174 ValueError, not TypeError.
4175
4176 2019-02-26 Kevin Buettner <kevinb@redhat.com>
4177
4178 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
4179 call from main program.
4180
4181 2019-02-23 Joel Brobecker <brobecker@adacore.com>
4182
4183 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
4184 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
4185 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
4186 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
4187 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
4188
4189 2019-02-22 Keith Seitz <keiths@redhat.com>
4190
4191 PR symtab/23853
4192 * gdb.base/symlink-sourcefile.c: New file.
4193 * gdb.base/symlink-sourcefile.exp: New file.
4194
4195 2019-02-20 Tom Tromey <tom@tromey.com>
4196
4197 * gdb.base/info_qt.exp: Update.
4198
4199 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
4200
4201 * gdb.base/source.exp: Move "error in sourced script" code to
4202 the end.
4203 * gdb.base/source-error.gdb: Move contents to
4204 source-error-1.gdb. Add new code to source source-error-1.gdb.
4205 * gdb.base/source-error-1.gdb: New file, from previous
4206 source-error.gdb.
4207
4208 2019-02-17 Tom Tromey <tom@tromey.com>
4209
4210 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
4211 for macro styling.
4212 * gdb.base/style.c (SOME_MACRO): New macro.
4213
4214 2019-02-17 Tom Tromey <tom@tromey.com>
4215
4216 * gdb.base/style.exp: Add line-wrapping tests.
4217 * gdb.base/page.exp: Add test for quitting during pagination.
4218
4219 2019-02-17 Joel Brobecker <brobecker@adacore.com>
4220
4221 * gdb.ada/big_packed_array: New testcase.
4222 * gdb.ada/homonym.exp: Fix incorrect expected output for
4223 "break <homonym__get_value>" test.
4224
4225 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
4226
4227 PR breakpoints/21870
4228 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
4229 and prepare_for_testing. Add comment.
4230 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
4231 redundant cleanup call. Clean up comment.
4232
4233 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
4234
4235 PR breakpoints/21870
4236 * gdb.arch/aarch64-dbreg-contents.exp: New file.
4237 * gdb.arch/aarch64-dbreg-contents.c: New file.
4238
4239 2019-02-10 Joel Brobecker <brobecker@adacore.com>
4240
4241 * gdb.ada/mi_ref_changeable: New testcase.
4242
4243 2019-02-07 Alan Hayward <alan.hayward@arm.com>
4244
4245 * gdb.base/attach.exp: Add double attach test.
4246
4247 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
4248
4249 * lib/gdb.exp (default_gdb_start): Don't match pagination
4250 prompt.
4251 (gdb_init): Set stty_init.
4252
4253 2019-01-27 Tom Tromey <tom@tromey.com>
4254
4255 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
4256 skip_python_tests.
4257
4258 2019-01-24 Alan Hayward <alan.hayward@arm.com>
4259
4260 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
4261 New structure.
4262 (struct struct_static_02_02): Likewise.
4263 (struct struct_static_02_03): Likewise.
4264 (struct struct_static_02_04): Likewise.
4265 (struct struct_static_04_01): Likewise.
4266 (struct struct_static_04_02): Likewise.
4267 (struct struct_static_04_03): Likewise.
4268 (struct struct_static_04_04): Likewise.
4269 (struct struct_static_06_01): Likewise.
4270 (struct struct_static_06_02): Likewise.
4271 (struct struct_static_06_03): Likewise.
4272 (struct struct_static_06_04): Likewise.
4273 (cmp_struct_static_02_01): Likewise.
4274 (cmp_struct_static_02_02): Likewise.
4275 (cmp_struct_static_02_03): Likewise.
4276 (cmp_struct_static_02_04): Likewise.
4277 (cmp_struct_static_04_01): Likewise.
4278 (cmp_struct_static_04_02): Likewise.
4279 (cmp_struct_static_04_03): Likewise.
4280 (cmp_struct_static_04_04): Likewise.
4281 (cmp_struct_static_06_01): Likewise.
4282 (cmp_struct_static_06_02): Likewise.
4283 (cmp_struct_static_06_03): Likewise.
4284 (cmp_struct_static_06_04): Likewise.
4285 (call_all): Test new structs.
4286 * gdb.base/infcall-nested-structs.exp: Likewise.
4287
4288 2019-01-21 Alan Hayward <alan.hayward@arm.com>
4289 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
4290
4291 2019-01-21 Alan Hayward <alan.hayward@arm.com>
4292 * gdb.base/stack-protector.c: New test.
4293 * gdb.base/stack-protector.exp: New file.
4294 * gdb.cp/ovldbreak.exp: Only allow a single break line.
4295 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
4296 option.
4297 (gdb_compile): Remove stack protector for GCC and prevent
4298 recursion.
4299
4300 2019-01-16 Keith Seitz <keiths@redhat.com>
4301
4302 PR gdb/23773
4303 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
4304
4305 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4306
4307 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
4308 aliases.
4309 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
4310 tests.
4311 * gdb.arch/powerpc-vector-regs.c: New file.
4312 * gdb.arch/powerpc-vector-regs.exp: New file.
4313
4314 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4315
4316 * gdb.arch/altivec-regs.exp: Fix the list passed to
4317 gdb_expect_list when testing "info vector".
4318
4319 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4320
4321 * gdb.base/style.exp: Don't include path in testname.
4322
4323 2019-01-10 Keith Seitz <keiths@redhat.com>
4324
4325 PR gdb/23712
4326 PR symtab/23010
4327 * gdb.dwarf2/multidictionary.exp: New file.
4328
4329 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
4330
4331 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
4332 (test_gnuv3_style_demangling): ... this.
4333 (test_lucid_style_demangling): Remove.
4334 (test_arm_style_demangling): Remove.
4335 (test_hp_style_demangling): Remove.
4336 (do_tests): Remove calls to the above.
4337
4338 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4339
4340 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
4341 case.
4342
4343 2019-01-06 Tom Tromey <tom@tromey.com>
4344
4345 PR gdb/28155:
4346 * gdb.dwarf2/typedef-void-finish.exp: New file.
4347
4348 2018-12-28 Tom Tromey <tom@tromey.com>
4349 Simon Marchi <simark@simark.ca>
4350
4351 * gdb.base/jit-exec.exp: New file.
4352 * gdb.base/jit-exec.c: New file.
4353 * gdb.base/jit-execd.c: New file.
4354
4355 2018-12-28 Tom Tromey <tom@tromey.com>
4356
4357 * gdb.base/style.exp: Update test to check for address styling.
4358
4359 2018-12-28 Tom Tromey <tom@tromey.com>
4360
4361 * gdb.base/style.exp: Add test for styling of "Reading symbols"
4362 message.
4363
4364 2018-12-28 Tom Tromey <tom@tromey.com>
4365
4366 * gdb.base/style.exp: Add test for version number styling.
4367
4368 2018-12-28 Tom Tromey <tom@tromey.com>
4369
4370 * gdb.base/style.exp: Add test for print_address_symbolic.
4371
4372 2018-12-28 Tom Tromey <tom@tromey.com>
4373
4374 * gdb.base/style.exp: Add test for breakpoint setting.
4375
4376 2018-12-28 Tom Tromey <tom@tromey.com>
4377
4378 * gdb.base/style.exp: Add test for variable names.
4379
4380 2018-12-28 Tom Tromey <tom@tromey.com>
4381
4382 * gdb.base/style.exp: New file.
4383 * gdb.base/style.c: New file.
4384
4385 2018-12-28 Tom Tromey <tom@tromey.com>
4386
4387 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
4388 "dumb".
4389 * gdb.base/readline.exp (operate_and_get_next): Save and restore
4390 the TERM environment variable.
4391
4392 2018-12-27 Tom Tromey <tom@tromey.com>
4393
4394 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
4395 pagination test.
4396
4397 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
4398
4399 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
4400 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
4401
4402 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4403
4404 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
4405 Filename a.adb changed to bp_fun_addr.adb.
4406 gdb.ada/bp_fun_addr.exp: Update test accordingly.
4407
4408 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
4409
4410 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
4411 non-PIE executables.
4412 * README: Mention the gdb,nopie_flag board setting.
4413 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
4414 non-PIE executable.
4415 * gdb.arch/amd64-entry-value.exp: Likewise.
4416 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
4417 * gdb.arch/i386-float.exp: Likewise.
4418 * gdb.arch/i386-signal.exp: Likewise.
4419 * gdb.mi/mi-reg-undefined.exp: Likewise.
4420
4421 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
4422
4423 PR gdb/23974
4424 * gdb.base/info-os.exp: Check return for unknown "info os" type.
4425
4426 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4427
4428 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4429 Update order of results accordingly.
4430
4431 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
4432
4433 * gdb.base/annota1.exp: Update a test regexp.
4434
4435 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4436
4437 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4438
4439 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4440
4441 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4442 (reuse_time): Initialize to REUSE_TIME_CAP.
4443 (check_rc): New function.
4444 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4445 Check pthread_create rc.
4446 (spawner_thread_func): Check pthread_create and pthread_join rc.
4447
4448 2018-12-08 Pedro Alves <palves@redhat.com>
4449
4450 * gdb.base/list.exp (test_forward_search): Rename to ...
4451 (test_forward_reverse_search): ... this. Also test reverse-search
4452 and the forward-search alias.
4453
4454 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4455
4456 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4457 local timeout variable before return, and remove all local timeout
4458 variable entirely.
4459 (gdb_load): Likewise.
4460
4461 2018-12-01 Tom de Vries <tdevries@suse.de>
4462
4463 * gdb.base/gdb-caching-proc.exp: New file.
4464
4465 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4466
4467 * Makefile.in (TIMESTAMP): New variable.
4468 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4469 command.
4470 (check-single-racy): Likewise.
4471 (check/%.exp): Likewise.
4472 (check-racy/%.exp): Likewise.
4473 (workers/%.worker): Likewise.
4474 (build-perf): Likewise.
4475 (check-perf): Likewise.
4476 * README: Describe new "TS" and "TS_FORMAT" variables.
4477 * print-ts.py: New file.
4478
4479 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4480
4481 PR python/23714
4482 * gdb.python/python.exp: Test command repetition after
4483 gdb.execute.
4484
4485 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4486
4487 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4488 is correctly aligned.
4489
4490 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4491
4492 * gdb.ada/info_auto_lang.exp: New testcase.
4493 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4494 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4495 * gdb.ada/info_auto_lang/some_c.c: New file.
4496
4497 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4498
4499 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4500 FUNC_lang language syntax.
4501
4502 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4503
4504 * gdb.base/info_minsym.c: New file.
4505 * gdb.base/info_minsym.exp: New file.
4506
4507 2018-11-19 Tom Tromey <tom@tromey.com>
4508
4509 PR rust/23625:
4510 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4511 * gdb.rust/expr.exp: Update expected output. Change one test.
4512
4513 2018-11-19 Tom Tromey <tom@tromey.com>
4514
4515 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4516
4517 2018-11-19 Pedro Alves <palves@redhat.com>
4518
4519 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4520 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4521 see the expected warning.
4522
4523 2018-11-16 Alan Hayward <alan.hayward@arm.com>
4524
4525 PR gdb/22736:
4526 * gdb.cp/infcall-nodebug-lib.c: New test.
4527 * gdb.cp/infcall-nodebug-main.c: New test.
4528 * gdb.cp/infcall-nodebug.exp: New file.
4529
4530 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4531
4532 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4533 completer tests.
4534
4535 2018-11-09 Tom de Vries <tdevries@suse.de>
4536
4537 * gdb.base/msym-lang.c: New test.
4538 * gdb.base/msym-lang.exp: New file.
4539 * gdb.base/msym-lang-main.c: New test.
4540
4541 2018-11-08 Tom Tromey <tom@tromey.com>
4542
4543 PR gdb/23555:
4544 PR gdb/23838:
4545 * gdb.base/warning.exp: New file.
4546
4547 2018-11-08 Jan Beulich <jbeulich@suse.com>
4548
4549 * testsuite/gdb.arch/i386-avx512.c,
4550 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4551
4552 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4553
4554 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4555 point hardware.
4556
4557 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4558
4559 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4560 * gdb.dwarf2/missing-type-name.exp: New file.
4561
4562 2018-11-06 Tom de Vries <tdevries@suse.de>
4563
4564 * gdb.base/many-headers.c: New test.
4565 * gdb.base/many-headers.exp: New file.
4566
4567 2018-11-06 Jim Wilson <jimw@sifive.com>
4568
4569 * gdb.base/code_elim.exp: For riscv, set additional_flags
4570 to include -msmall-data-limit=0.
4571
4572 2018-11-01 Joel Brobecker <brobecker@adacore.com>
4573
4574 * gdb.ada/watch_minus_l: New testcase.
4575
4576 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4577
4578 * gdb.arch/aix-sighandle.c: New file.
4579 * gdb.arch/aix-sighandle.exp: New file.
4580
4581 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4582
4583 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4584 registers being unions.
4585
4586 2018-10-31 Tom de Vries <tdevries@suse.de>
4587
4588 * lib/valgrind.exp: New file.
4589 (vgdb_start, vgdb_stop): New procs, factored out of ...
4590 * gdb.base/valgrind-bt.exp: ... here, ...
4591 * gdb.base/valgrind-disp-step.exp: ... here and ...
4592 * gdb.base/valgrind-infcall.exp: ... here.
4593
4594 2018-10-31 Tom de Vries <tdevries@suse.de>
4595
4596 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4597
4598 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4599
4600 * gdb.dwarf2/void-type.c: New file.
4601 * gdb.dwarf2/void-type.exp: New file.
4602
4603 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4604
4605 * gdb.base/info_qt.c: New file.
4606 * gdb.base/info_qt.exp: New file.
4607
4608 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4609
4610 * gdb.arch/powerpc-htm-regs.c: New file.
4611 * gdb.arch/powerpc-htm-regs.exp: New file.
4612
4613 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4614
4615 * gdb.arch/powerpc-tar.c: New file.
4616 * gdb.arch/powerpc-tar.exp: New file.
4617
4618 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4619
4620 * gdb.arch/powerpc-ppr-dscr.c: New file.
4621 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4622
4623 2018-10-25 Tom de Vries <tdevries@suse.de>
4624
4625 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4626
4627 2018-10-24 Tom de Vries <tdevries@suse.de>
4628
4629 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4630 longer exists error.
4631
4632 2018-10-24 Tom de Vries <tdevries@suse.de>
4633
4634 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4635
4636 2018-10-24 Tom de Vries <tdevries@suse.de>
4637
4638 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4639 --db-attach in valgrind.
4640
4641 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4642
4643 * gdb.arch/riscv-reg-aliases.c: New file.
4644 * gdb.arch/riscv-reg-aliases.exp: New file.
4645
4646 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4647
4648 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4649
4650 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4651
4652 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4653
4654 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4655
4656 * gdb.cp/ovldbreak.exp: Fix regexps.
4657
4658 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4659
4660 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4661
4662 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4663
4664 PR cli/23785
4665 * gdb.base/restore.exp: New test to check if "restore" with an
4666 invalid file doesn't segfault.
4667
4668 2018-10-18 Tom de Vries <tdevries@suse.de>
4669
4670 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4671 * gdb.ada/excep_handle.exp: Same.
4672 * gdb.ada/mi_string_access.exp: Same.
4673 * gdb.ada/mi_var_union.exp: Same.
4674 * gdb.arch/arc-analyze-prologue.exp: Same.
4675 * gdb.arch/arc-decode-insn.exp: Same.
4676 * gdb.base/readnever.exp: Same.
4677 * gdb.fortran/printing-types.exp: Same.
4678 * gdb.guile/scm-lazy-string.exp: Same.
4679
4680 2018-10-16 Tom de Vries <tdevries@suse.de>
4681
4682 PR gdb/23730
4683 * gdb.base/catch-follow-exec.c: Add copyright notice.
4684 * gdb.base/catch-follow-exec.exp: Rewrite to use
4685 gdb_spawn_with_cmdline_opts. Require gdb-native.
4686
4687 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4688
4689 * gdb.trace/actions-changed.exp: Check for arch support.
4690 * gdb.trace/actions.exp: Likewise.
4691 * gdb.trace/ax.exp: Likewise.
4692 * gdb.trace/backtrace.exp: Likewise.
4693 * gdb.trace/change-loc.exp: Likewise.
4694 * gdb.trace/deltrace.exp: Likewise.
4695 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4696 * gdb.trace/ftrace.exp: Likewise.
4697 * gdb.trace/infotrace.exp: Check for arch support.
4698 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4699 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4700 * gdb.trace/mi-tsv-changed.exp: Likewise.
4701 * gdb.trace/packetlen.exp: Likewise.
4702 * gdb.trace/passc-dyn.exp: Likewise.
4703 * gdb.trace/passcount.exp: Likewise.
4704 * gdb.trace/pending.exp: Likewise.
4705 * gdb.trace/range-stepping.exp: Check for shlib support.
4706 * gdb.trace/report.exp: Check for arch support.
4707 * gdb.trace/save-trace.exp: Likewise.
4708 * gdb.trace/signal.exp: Check for signal support.
4709 * gdb.trace/tfind.exp: Check for arch support.
4710 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4711 * gdb.trace/trace-common.h: Add comment.
4712 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4713 * gdb.trace/trace-enable-disable.exp: Likewise.
4714 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4715 * gdb.trace/tracecmd.exp: Check for arch support.
4716 * gdb.trace/tspeed.exp: Check for shlib and target support.
4717 * gdb.trace/tstatus.exp: Check for arch support.
4718 * gdb.trace/tsv.exp: Likewise.
4719 * gdb.trace/while-dyn.exp: Likewise.
4720 * gdb.trace/while-stepping.exp: Likewise.
4721 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4722
4723 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4724
4725 * gdb.trace/tspeed.exp: Remove nowarnings.
4726 (prepare_for_trace_test): Declare "global ipalib".
4727 * gdb.trace/tspeed.c: Include unistd.h.
4728 (main): Remove superfluous printf argument.
4729
4730 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4731
4732 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4733 directory prefix on the filename.
4734
4735 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4736
4737 * gdb.gdb/unittest.exp: Update expected message informing that
4738 selftests have been disabled.
4739 * gdb.server/unittest.exp: Likewise.
4740
4741 2018-10-09 Tom de Vries <tdevries@suse.de>
4742
4743 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4744 with runto_main.
4745
4746 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
4747
4748 PR c++/16841
4749 * gdb.cp/virtbase2.cc: New file.
4750 * gdb.cp/virtbase2.exp: New file.
4751
4752 2018-10-06 Tom Tromey <tom@tromey.com>
4753
4754 PR python/19399:
4755 * gdb.python/py-inferior.exp: Add architecture test.
4756
4757 2018-10-06 Tom Tromey <tom@tromey.com>
4758
4759 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4760 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4761
4762 2018-10-06 Tom Tromey <tom@tromey.com>
4763
4764 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4765 of a "throw" catchpoint.
4766
4767 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4768
4769 * gdb.base/info-proc.exp: Update string expected from "help info
4770 proc".
4771
4772 2018-10-04 Tom Tromey <tom@tromey.com>
4773
4774 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4775 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4776 (test_initial_complaints, test_empty_complaints): Update.
4777 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4778
4779 2018-10-04 Tom Tromey <tom@tromey.com>
4780
4781 PR cli/19551:
4782 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4783 * lib/gdb.exp (gdb_file_cmd): Update.
4784 * gdb.stabs/weird.exp (print_weird_var): Update.
4785 * gdb.server/solib-list.exp: Update.
4786 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4787 * gdb.mi/mi-cli.exp: Update.
4788 * gdb.linespec/linespec.exp: Update.
4789 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4790 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4791 * gdb.cp/cp-relocate.exp: Update.
4792 * gdb.base/sym-file.exp: Update.
4793 * gdb.base/relocate.exp: Update.
4794 * gdb.base/readnever.exp: Update.
4795 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4796 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4797 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4798 * gdb.base/code_elim.exp: Update.
4799 * gdb.base/break-unload-file.exp (test_break): Update.
4800 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4801 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4802 Update.
4803 * gdb.base/attach.exp (do_attach_tests): Update.
4804 * gdb.base/sepdebug.exp: Update.
4805 * gdb.python/py-section-script.exp: Update.
4806
4807 2018-10-04 Tom Tromey <tom@tromey.com>
4808
4809 PR cli/22234:
4810 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4811 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4812 output.
4813
4814 2018-10-04 Tom Tromey <tom@tromey.com>
4815
4816 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4817 set width and height to 0.
4818 (test_command_line_attach_run): Use -quiet.
4819
4820 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4821
4822 * lib/gdb.exp (skip_ifunc_tests): New.
4823 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4824 other compile failures.
4825 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4826
4827 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4828
4829 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4830 is_amd64_regs_target.
4831
4832 2018-10-01 Alan Hayward <alan.hayward@arm.com>
4833
4834 * gdb.arch/aarch64-sighandler-regs.c: New test.
4835 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4836 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4837
4838 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4839
4840 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4841 assembly.
4842
4843 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4844
4845 * gdb.base/frame-selection.exp: New file.
4846 * gdb.base/frame-selection.c: New file.
4847
4848 2018-09-27 Alan Hayward <alan.hayward@arm.com>
4849
4850 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4851 pthread barrier.
4852 (main): Likewise.
4853
4854 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4855
4856 * gdb.base/large-frame-1.c: New file.
4857 * gdb.base/large-frame-2.c: New file.
4858 * gdb.base/large-frame.exp: New file.
4859 * gdb.base/large-frame.h: New file.
4860
4861 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4862
4863 PR gdb/20948
4864 * gdb.base/write_mem.exp: New test.
4865 * gdb.base/write_mem.c: Likewise.
4866
4867 2018-09-23 Tom Tromey <tom@tromey.com>
4868
4869 PR python/18852:
4870 * gdb.python/py-parameter.exp: Add test for parameter that throws
4871 on "set".
4872
4873 2018-09-23 Tom Tromey <tom@tromey.com>
4874
4875 PR python/17284:
4876 * gdb.python/py-template.exp (test_template_arg): Add test for
4877 negative template argument number.
4878
4879 2018-09-23 Tom Tromey <tom@tromey.com>
4880
4881 PR python/14062:
4882 * gdb.python/python.exp: Add test for post_event error.
4883
4884 2018-09-23 Tom Tromey <tom@tromey.com>
4885
4886 PR python/18170:
4887 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4888 convert pointers to int and long.
4889
4890 2018-09-23 Tom Tromey <tom@tromey.com>
4891
4892 PR python/20126:
4893 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4894 signed-ness conversion tests.
4895
4896 2018-09-23 Tom Tromey <tom@tromey.com>
4897
4898 PR python/18352;
4899 * gdb.python/py-value.exp (test_float_conversion): New proc.
4900 Use it.
4901
4902 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4903
4904 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4905
4906 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4907
4908 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4909 no readline.
4910 * gdb.base/utf8-identifiers.exp: Likewise.
4911 * gdb.cp/cpcompletion.exp: Likewise.
4912 * gdb.linespec/cpcompletion.exp: Likewise.
4913 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4914 * gdb.linespec/cpls-ops.exp: Likewise.
4915
4916 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4917 Chris January <chris.january@arm.com>
4918
4919 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4920 * gdb.fortran/short-circuit-argument-list.exp: New file.
4921 * gdb.fortran/short-circuit-argument-list.f90: New test.
4922
4923 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4924
4925 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4926 "arch=" keyword when executing "-stack-list-frames".
4927
4928 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4929
4930 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4931 "arch=" keyword when executing "-stack-list-frames".
4932
4933 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4934
4935 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4936 break ada".
4937
4938 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4939
4940 PR python/23669
4941 * gdb.python/python.exp: Test gdb.execute("show commands").
4942
4943 2018-09-16 Tom Tromey <tom@tromey.com>
4944
4945 * gdb.base/new-ui.exp (do_execution_tests): Update.
4946 * gdb.base/dbx.exp (test_breakpoints): Update.
4947
4948 2018-09-14 Alan Hayward <alan.hayward@arm.com>
4949
4950 * lib/gdb.exp (gdb_simple_compile): Add proc.
4951 (is_elf_target): Use gdb_simple_compile.
4952 (skip_altivec_tests): Likewise.
4953 (skip_vsx_tests): Likewise.
4954 (skip_tsx_tests): Likewise.
4955 (skip_btrace_tests): Likewise.
4956 (skip_btrace_pt_tests): Likewise.
4957 (gdb_can_simple_compile): Likewise.
4958 (gdb_has_argv0): Likewise.
4959 (gdb_target_symbol_prefix): Likewise.
4960 (target_supports_scheduler_locking): Likewise.
4961
4962 2018-09-13 Tom Tromey <tom@tromey.com>
4963
4964 * Makefile.in (TAGS): Recognize proc_with_prefix and
4965 gdb_caching_proc.
4966
4967 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4968
4969 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4970 method.
4971
4972 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4973
4974 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4975 and a few other Inferior properties when the Inferior is no
4976 longer valid.
4977
4978 2018-09-13 Tom Tromey <tom@tromey.com>
4979
4980 PR rust/23650:
4981 * gdb.rust/simple.exp: Add test for enum field access error.
4982
4983 2018-09-13 Tom Tromey <tom@tromey.com>
4984
4985 PR rust/23626:
4986 * gdb.rust/simple.rs (EmptyEnum): New type.
4987 (main): Use it.
4988 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4989
4990 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4991
4992 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4993 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4994 * gdb.python/py-symtab.exp: Update test printing an objfile.
4995
4996 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4997
4998 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4999 object.
5000
5001 2018-09-12 Alan Hayward <alan.hayward@arm.com>
5002
5003 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5004 (support_complex_tests): Use gdb_can_simple_compile.
5005 (is_ilp32_target): Likewise.
5006 (is_lp64_target): Likewise.
5007 (is_64_target): Likewise.
5008 (is_amd64_regs_target): Likewise.
5009 (is_aarch32_target): Likewise.
5010 (gdb_int128_helper): Likewise.
5011
5012 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5013
5014 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5015
5016 2018-09-10 Jerome Guitton <guitton@adacore.com>
5017
5018 * gdb.ada/same_component_name: Add test for case of tagged record
5019 with variable-length fields.
5020
5021 2018-09-10 Xavier Roirand <roirand@adacore.com>
5022
5023 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5024 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5025 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5026 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5027
5028 2018-09-10 Xavier Roirand <roirand@adacore.com>
5029
5030 * gdb.ada/mi_string_access.exp: New testcase.
5031 * gdb.ada/mi_string_access/bar.adb: New file.
5032 * gdb.ada/mi_string_access/pck.adb: New file.
5033 * gdb.ada/mi_string_access/pck.asd: New file.
5034
5035 2018-09-10 Xavier Roirand <roirand@adacore.com>
5036
5037 * gdb.ada/mi_var_union.exp: New testcase.
5038 * gdb.ada/mi_var_union/bar.adb: New file.
5039 * gdb.ada/mi_var_union/pck.adb: New file.
5040 * gdb.ada/mi_var_union/pck.asd: New file.
5041
5042 2018-09-08 Tom Tromey <tom@tromey.com>
5043
5044 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5045
5046 2018-09-08 Tom Tromey <tom@tromey.com>
5047
5048 PR python/16047:
5049 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5050 (register_pretty_printers): Register new printer.
5051 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5052 test.
5053 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5054 (an_int_type3): New global.
5055
5056 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5057
5058 * gdb.ada/expr_with_funcall: New testcase.
5059
5060 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5061
5062 * gdb.ada/packed_array_assign: New testcase.
5063
5064 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5065
5066 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5067 names, and add test prefixes to make test names unique.
5068
5069 2018-09-05 Tom de Vries <tdevries@suse.de>
5070
5071 * gdb.dwarf2/varval.exp: Add test.
5072
5073 2018-09-04 Gary Benson <gbenson@redhat.com>
5074
5075 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5076 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5077
5078 2018-08-31 Tom Tromey <tom@tromey.com>
5079
5080 * gdb.rust/simple.rs: Rename second variable "v".
5081
5082 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5083
5084 * gdb.base/funcargs.c (use_a): New function.
5085 (recurse): Call use_a.
5086
5087 2018-08-29 Keith Seitz <keiths@redhat.com>
5088
5089 * gdb.compile/compile-cplus-anonymous.cc: New file.
5090 * gdb.compile/compile-cplus-anonymous.exp: New file.
5091 * gdb.compile/compile-cplus-array-decay.cc: New file.
5092 * gdb.compile/compile-cplus-array-decay.exp: New file.
5093 * gdb.compile/compile-cplus-inherit.cc: New file.
5094 * gdb.compile/compile-cplus-inherit.exp: New file.
5095 * gdb.compile/compile-cplus-member.cc: New file.
5096 * gdb.compile/compile-cplus-member.exp: New file.
5097 * gdb.compile/compile-cplus-method.cc: New file.
5098 * gdb.compile/compile-cplus-method.exp: New file.
5099 * gdb.compile/compile-cplus-mod.c: "New" file.
5100 * gdb.compile/compile-cplus-namespace.cc: New file.
5101 * gdb.compile/compile-cplus-namespace.exp: New file.
5102 * gdb.compile/compile-cplus-nested.cc: New file.
5103 * gdb.compile/compile-cplus-nested.exp: New file.
5104 * gdb.compile/compile-cplus-print.c: "New" file.
5105 * gdb.compile/compile-cplus-print.exp: "New" file.
5106 * gdb.compile/compile-cplus-virtual.cc: New file.
5107 * gdb.compile/compile-cplus-virtual.exp: New file.
5108 * gdb.compile/compile-cplus.c: "New" file.
5109 * gdb.compile/compile-cplus.exp: "New" file.
5110 * lib/compile-support.exp: New file.
5111
5112 2018-08-16 Gary Benson <gbenson@redhat.com>
5113
5114 PR gdb/13000:
5115 * gdb.base/batch-exit-status.exp: New file.
5116 * gdb.base/batch-exit-status.good-commands: Likewise.
5117 * gdb.base/batch-exit-status.bad-commands: Likewise.
5118
5119 2018-08-29 Alan Hayward <alan.hayward@arm.com>
5120
5121 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5122 (struct struct02): Likewise.
5123 (struct struct03): Likewise.
5124 (struct struct04): Likewise.
5125 (struct struct_01_01): New struct.
5126 (struct struct_01_02): Likewise.
5127 (struct struct_01_03): Likewise.
5128 (struct struct_01_04): Likewise.
5129 (struct struct_02_01): Likewise.
5130 (struct struct_02_02): Likewise.
5131 (struct struct_02_03): Likewise.
5132 (struct struct_02_04): Likewise.
5133 (struct struct_04_01): Likewise.
5134 (struct struct_04_02): Likewise.
5135 (struct struct_04_03): Likewise.
5136 (struct struct_04_04): Likewise.
5137 (struct struct_05_01): Likewise.
5138 (struct struct_05_02): Likewise.
5139 (struct struct_05_03): Likewise.
5140 (struct struct_05_04): Likewise.
5141 (cmp_struct01): Remove function.
5142 (cmp_struct02): Likewise.
5143 (cmp_struct03): Likewise.
5144 (cmp_struct04): Likewise.
5145 (cmp_struct_01_01): Add Function.
5146 (cmp_struct_01_02): Likewise.
5147 (cmp_struct_01_03): Likewise.
5148 (cmp_struct_01_04): Likewise.
5149 (cmp_struct_02_01): Likewise.
5150 (cmp_struct_02_02): Likewise.
5151 (cmp_struct_02_03): Likewise.
5152 (cmp_struct_02_04): Likewise.
5153 (cmp_struct_04_01): Likewise.
5154 (cmp_struct_04_02): Likewise.
5155 (cmp_struct_04_03): Likewise.
5156 (cmp_struct_04_04): Likewise.
5157 (cmp_struct_05_01): Likewise.
5158 (cmp_struct_05_02): Likewise.
5159 (cmp_struct_05_03): Likewise.
5160 (cmp_struct_05_04): Likewise.
5161 (call_all): Add new structs.
5162 * gdb.base/infcall-nested-structs.exp: Likewise.
5163
5164 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
5165
5166 * gdb.python/py-framefilter-mi.exp: Update regexp to
5167 check for "arch" field in frame output.
5168
5169 2018-08-23 Kevin Buettner <kevinb@redhat.com>
5170
5171 * gdb.dwarf2/dw2-ranges-func.c: New file.
5172 * gdb.dwarf2/dw2-ranges-func.exp: New file.
5173
5174 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
5175
5176 * gdb.base/term.exp: Compare terminal settings with values from
5177 the inferior.
5178 * gdb.base/term.c: Get and set terminal settings.
5179
5180 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
5181
5182 * lib/mi-support.exp (mi_expect_stop): Update regexp to
5183 accommodate new "arch" field in frame output.
5184 * gdb.mi/mi-return.exp: Likewise.
5185 * gdb.mi/mi-stack.exp: Likewise.
5186 * gdb.mi/mi-syn-frame.exp: Likewise.
5187 * gdb.mi/user-selected-context-sync.exp: Likewise.
5188
5189 2018-08-19 Michael Spang <spang@google.com>
5190
5191 PR gdb/11786
5192 * gdb.base/gcore-tls-pie.c: New file.
5193 * gdb.base/gcore-tls-pie.exp: New file.
5194
5195 2018-08-18 Kevin Buettner <kevinb@redhat.com>
5196
5197 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
5198 * gdb.dwarf2/varval.c: New file.
5199 * gdb.dwarf2/varval.exp: New file.
5200
5201 2018-08-17 Alan Hayward <alan.hayward@arm.com>
5202
5203 PR gdb/18931
5204 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
5205
5206 2018-08-16 Keith Seitz <keiths@redhat.com>
5207
5208 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
5209 tests expected to pass.
5210
5211 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
5212
5213 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
5214 -data-disassemble -a.
5215 (test_disassembly_bogus_args): Likewise.
5216
5217 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
5218
5219 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
5220
5221 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5222
5223 * gdb.base/vla-optimized-out.exp: Add new test.
5224
5225 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5226
5227 * gdb.base/vla-optimized-out-o3.exp: Delete.
5228 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
5229 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
5230 deleted tests.
5231
5232 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
5233
5234 PR gdb/18050:
5235 * gdb.server/extended-remote-restart.c: New file.
5236 * gdb.server/extended-remote-restart.exp: New file.
5237
5238 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
5239
5240 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
5241 "set variable index = 42".
5242
5243 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
5244
5245 * boards/index-cache-gdb.exp: New file.
5246 * gdb.dwarf2/index-cache.exp: New file.
5247 * gdb.dwarf2/index-cache.c: New file.
5248 * gdb.base/maint.exp: Check if we are using the index cache.
5249
5250 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5251
5252 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
5253 MAKEFLAGS.
5254
5255 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5256
5257 * dg-extract-results.sh: Move to toplevel contrib.
5258 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
5259 * Makefile.in (check-parallel-racy): Likewise.
5260
5261 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
5262
5263 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
5264 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
5265 tests if the target supports scheduler locking.
5266
5267 2018-08-04 Tom de Vries <tdevries@suse.de>
5268
5269 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
5270
5271 2018-08-02 Tom Tromey <tom@tromey.com>
5272
5273 PR symtab/16842.
5274 * gdb.cp/temargs.exp: Test "info address" of a template
5275 parameter.
5276
5277 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
5278
5279 * gdb.python/py-mi-var-info-path-expression.c: New file.
5280 * gdb.python/py-mi-var-info-path-expression.py: New file.
5281 * gdb.python/py-mi-var-info-path-expression.exp: New file.
5282
5283 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
5284
5285 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
5286 error after "cannot resolve name" string.
5287
5288 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
5289
5290 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
5291 started.
5292 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
5293
5294 2018-07-28 Tom de Vries <tdevries@suse.de>
5295
5296 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
5297
5298 2018-07-26 Tom de Vries <tdevries@suse.de>
5299
5300 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
5301
5302 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
5303
5304 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
5305 is visible.
5306
5307 2018-07-26 Tom de Vries <tdevries@suse.de>
5308
5309 PR breakpoints/23366
5310 * gdb.base/catch-follow-exec.c: New test.
5311 * gdb.base/catch-follow-exec.exp: New file.
5312
5313 2018-07-25 Tom de Vries <tdevries@suse.de>
5314
5315 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
5316 vla-optimized-out.c.
5317
5318 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
5319
5320 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
5321 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
5322
5323 2018-07-20 Tom de Vries <tdevries@suse.de>
5324
5325 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
5326 NOCLONE macro.
5327 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
5328
5329 2018-07-19 Tom de Vries <tdevries@suse.de>
5330
5331 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
5332 regular expression.
5333
5334 2018-07-18 Tom de Vries <tdevries@suse.de>
5335
5336 * gdb.base/vla-optimized-out.c: New test.
5337 * gdb.base/vla-optimized-out.exp: New file.
5338
5339 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
5340
5341 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
5342 message "No address associated with hostname" when gdbserver
5343 cannot resolve the hostname.
5344
5345 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5346
5347 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
5348 Add some test prefixes to make tests unique.
5349
5350 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5351
5352 * gdb.base/frameapply.c: New file.
5353 * gdb.base/frameapply.exp: New file.
5354
5355 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5356
5357 * gdb.base/skip.exp: Update expected error message.
5358
5359 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5360 Jan Kratochvil <jan.kratochvil@redhat.com>
5361 Paul Fertser <fercerpav@gmail.com>
5362 Tsutomu Seki <sekiriki@gmail.com>
5363
5364 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
5365 parameter.
5366 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
5367 by default.
5368 * boards/native-gdbserver.exp: Likewise.
5369 * gdb.server/run-without-local-binary.exp: Improve regexp used
5370 for detecting when a remote debugging connection succeeds.
5371 * gdb.server/server-connect.exp: New file.
5372 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
5373 Do not prefix the port number with ":".
5374 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
5375 support for detecting and using it. Add '$debughost_gdbserver'
5376 to the list of arguments used to start gdbserver. Handle case
5377 when gdbserver cannot resolve a network name.
5378
5379 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5380
5381 PR c++/23373
5382 * gdb.base/ptype-offsets.cc (struct static_member): New
5383 struct.
5384 (main) <stmember>: New variable.
5385 * gdb.base/ptype-offsets.exp: Add test for printing a struct
5386 with a static member in it.
5387
5388 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
5389
5390 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
5391 watchpoints enabled and disabled.
5392
5393 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5394
5395 * gdb.base/examine-backward.exp: Still run tests around address
5396 0x0, even if address 0x0 is not readable. Update the pattern for
5397 matching address 0x0 in expected output.
5398
5399 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
5400
5401 * gdb.base/share-env-with-gdbserver.c (main): Add call to
5402 malloc/free.
5403
5404 2018-07-04 Tom de Vries <tdevries@suse.de>
5405
5406 * gdb.dwarf2/dw2-error.exp: Update expected error message.
5407
5408 2018-07-02 Maciej W. Rozycki <macro@mips.com>
5409
5410 PR tdep/8282
5411 * gdb.arch/mips-disassembler-options.exp: New test.
5412 * gdb.arch/mips-disassembler-options.s: New test source.
5413
5414 2018-06-29 Pedro Alves <palves@redhat.com>
5415
5416 * gdb.threads/names.exp: Adjust expected "info threads" output.
5417
5418 2018-06-29 Pedro Alves <palves@redhat.com>
5419
5420 * gdb.opt/inline-break.exp (line number, address): Add "info
5421 break" tests.
5422
5423 2018-06-29 Pedro Alves <palves@redhat.com>
5424
5425 * gdb.opt/inline-break.c (func1): Add "break here" marker.
5426 * gdb.opt/inline-break.exp: Test setting breakpoints by line
5427 number and address and running to them.
5428
5429 2018-06-29 Richard Bunt <richard.bunt@arm.com>
5430
5431 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
5432
5433 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5434
5435 * lib/compiler.c: Remove executable permission flag.
5436
5437 2018-06-28 Richard Bunt <richard.bunt@arm.com>
5438
5439 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5440 code.
5441 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5442
5443 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5444
5445 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5446
5447 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5448
5449 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5450 address argument is omitted.
5451
5452 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5453
5454 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5455
5456 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
5457
5458 PR gdb/21695
5459 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5460 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5461
5462 2018-06-26 Tom Tromey <tom@tromey.com>
5463
5464 PR rust/22574:
5465 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5466 * gdb.rust/simple.rs (struct SimpleLayout): New.
5467
5468 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5469
5470 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5471 "info registers" output.
5472
5473 2018-06-21 Richard Bunt <richard.bunt@arm.com>
5474
5475 * gdb.base/watchpoint-hw-attach.c: New test.
5476 * gdb.base/watchpoint-hw-attach.exp: New file.
5477
5478 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5479
5480 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5481 through /bin/sh.
5482 * boards/dwarf4-gdb-index.exp: Likewise.
5483 * boards/fission-dwp.exp: Likewise.
5484
5485 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5486
5487 * gdb.base/float128.exp: Add comment and improved fail message
5488 to the failure case of "print large128" test.
5489
5490 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5491
5492 * configure.ac: Remove AC_PREREQ.
5493 * configure: Re-generate.
5494
5495 2018-06-19 Pedro Alves <palves@redhat.com>
5496
5497 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5498 (func_extern_caller): New.
5499 (main): Call func_extern_caller.
5500 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5501 logic change.
5502
5503 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
5504
5505 PR gdb/16841
5506 * gdb.cp/typedef-base.cc: New file.
5507 * gdb.cp/typedef-base.exp: New file.
5508
5509 2018-06-18 Tom de Vries <tdevries@suse.de>
5510
5511 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5512
5513 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5514 Richard Bunt <Richard.Bunt@arm.com>
5515
5516 * gdb.threads/attach-slow-waitpid.c: New file.
5517 * gdb.threads/attach-slow-waitpid.exp: New file.
5518 * gdb.threads/slow-waitpid.c: New file.
5519
5520 2018-06-14 Pedro Alves <palves@redhat.com>
5521
5522 * gdb.base/fork-running-state.c: Include <errno.h>.
5523 (exit_if_relative_exits): New.
5524 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5525 exits.
5526 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5527 child exits.
5528
5529 2018-06-14 Tom de Vries <tdevries@suse.de>
5530
5531 PR cli/22573
5532 * gdb.base/finish-pretty.c: New test.
5533 * gdb.base/finish-pretty.exp: New file.
5534
5535 2018-06-14 Pedro Alves <palves@redhat.com>
5536
5537 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5538 gdb's expected startup output.
5539
5540 2018-06-14 Pedro Alves <palves@redhat.com>
5541
5542 * lib/selftest-support.exp (selftest_setup): Remove inlined
5543 function handling.
5544
5545 2018-06-14 Tom de Vries <tdevries@suse.de>
5546
5547 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5548 matching of breakpoint printing.
5549
5550 2018-06-13 Tom de Vries <tdevries@suse.de>
5551
5552 PR testsuite/23269
5553 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5554 (fork_child): ... here, and ...
5555 (fork_parent): ... here.
5556
5557 2018-06-12 Tom de Vries <tdevries@suse.de>
5558
5559 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5560
5561 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5562 Stephen Roberts <stephen.roberts@arm.com>
5563
5564 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5565 rewrite test to describe action performed, rather than possible
5566 failure.
5567
5568 2018-06-08 Gary Benson <gbenson@redhat.com>
5569
5570 * gdb.threads/check-libthread-db.exp: New file.
5571 * gdb.threads/check-libthread-db.c: Likewise.
5572
5573 2018-06-05 Tom Tromey <tom@tromey.com>
5574
5575 * gdb.base/default.exp: Update expected "show version" output.
5576
5577 2018-06-05 Tom Tromey <tom@tromey.com>
5578
5579 PR cli/12326:
5580 * gdb.cp/static-print-quit.exp: Update.
5581 * lib/gdb.exp (pagination_prompt): Update.
5582 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5583 * gdb.python/python.exp: Update.
5584
5585 2018-06-04 Joel Brobecker <brobecker@adacore.com>
5586
5587 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5588
5589 2018-06-01 Joel Brobecker <brobecker@adacore.com>
5590
5591 * gdb.ada/bp_fun_addr: New testcase.
5592
5593 2018-06-01 Tom Tromey <tom@tromey.com>
5594
5595 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5596 results.
5597 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5598 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5599 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5600 * gdb.base/maint.exp (maint_pass_if): Update.
5601
5602 2018-05-31 Maciej W. Rozycki <macro@mips.com>
5603
5604 * gdb.base/endian.exp: New test.
5605 * gdb.base/endian.c: New test source.
5606
5607 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5608
5609 PR gdb/23203
5610 * gdb.base/bt-selected-frame.c: New file.
5611 * gdb.base/bt-selected-frame.exp: New file.
5612 * lib/gdb.exp (get_current_frame_number): New function.
5613
5614 2018-05-24 Maciej W. Rozycki <macro@mips.com>
5615 Pedro Alves <palves@redhat.com>
5616
5617 * gdb.threads/tls-core.c: Include <stdlib.h>
5618 (thread_proc): Call `abort'.
5619 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5620 (tls_core_test): New procedure, bits factored out from ...
5621 (top level): ... here. Test both native cores and gcore cores.
5622
5623 2018-05-23 Tom Tromey <tom@tromey.com>
5624
5625 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5626
5627 2018-05-23 Tom Tromey <tom@tromey.com>
5628
5629 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5630 symfile_complaints.
5631 (test_short_complaints): Likewise.
5632 (test_empty_complaints): Likewise.
5633 (test_initial_complaints): Update.
5634
5635 2018-05-23 Tom Tromey <tom@tromey.com>
5636
5637 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5638
5639 2018-05-23 Tom Tromey <tom@tromey.com>
5640
5641 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5642 (test_short_complaints): Update.
5643
5644 2018-05-22 Pedro Alves <palves@redhat.com>
5645
5646 * gdb.base/remote.exp: Only gdb_start after compiling the
5647 testcase. Issue "disconnect" before testing "set remote" command
5648 defaults. Issue clean_restart before running to main.
5649
5650 2018-05-22 Pedro Alves <palves@redhat.com>
5651
5652 * gdb.base/remote.exp: Adjust expected output of "show remote
5653 memory-write-packet-size". Add tests for "set remote
5654 memory-write-packet-size 0" and "set remote
5655 memory-write-packet-size fixed/limit".
5656
5657 2018-05-22 Pedro Alves <palves@redhat.com>
5658
5659 PR gdb/22973
5660 * gdb.base/utf8-identifiers.c: New file.
5661 * gdb.base/utf8-identifiers.exp: New file.
5662
5663 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5664
5665 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5666
5667 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5668
5669 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5670
5671 2018-05-18 Tom Tromey <tom@tromey.com>
5672
5673 * gdb.base/ptype-offsets.exp: Update.
5674
5675 2018-05-17 Keith Seitz <keiths@redhat.com>
5676
5677 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5678 in expected breakpoint stop locations.
5679 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5680 move to proper scope to test variable values.
5681 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5682 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5683 New functions.
5684 (main): Call not_inline_func3.
5685 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5686 inline_func1, inline_func2, and inline_func3. Test that when each
5687 breakpoint is hit, GDB properly reports both the stop location
5688 and the backtrace. Repeat tests for temporary breakpoints.
5689
5690 2018-05-15 Maciej W. Rozycki <macro@mips.com>
5691
5692 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5693 rather then trying to access it in determining whether the PID
5694 of `gdbserver' could have been retrieved.
5695
5696 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5697
5698 * gdb.arch/amd64-init-x87-values.S: New file.
5699 * gdb.arch/amd64-init-x87-values.exp: New file.
5700
5701 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5702
5703 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5704
5705 2018-05-04 Tom Tromey <tom@tromey.com>
5706
5707 PR python/22730:
5708 * gdb.python/python.exp: Test multi-line execute.
5709
5710 2018-05-04 Tom Tromey <tom@tromey.com>
5711
5712 PR python/22731:
5713 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5714
5715 2018-05-04 Tom Tromey <tom@tromey.com>
5716
5717 PR gdb/11750:
5718 * gdb.base/define.exp: Test defining a user command inside a user
5719 command.
5720 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5721
5722 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5723 Pedro Alves <palves@redhat.com>
5724
5725 PR breakpoints/19806 and support for PR external/20207.
5726 * gdb.base/watchpoint-unaligned.c: New file.
5727 * gdb.base/watchpoint-unaligned.exp: New file.
5728
5729 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5730
5731 * gdb.base/maint.exp: Make test names unique, use
5732 test_prefix_command_help to test 'help maint info', and remove
5733 repeated test of 'help maint'.
5734
5735 2018-05-04 Tom Tromey <tom@tromey.com>
5736
5737 PR gdb/22619:
5738 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5739 behavior.
5740
5741 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5742
5743 * gdb.base/maint.exp: Process output from 'maint print registers'
5744 line at a time.
5745
5746 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5747
5748 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5749 timeout.
5750
5751 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5752
5753 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5754 filter pattern.
5755
5756 2018-05-02 Pedro Alves <palves@redhat.com>
5757
5758 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5759 to_log_command renames.
5760 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5761
5762 2018-05-02 Tom Tromey <tom@tromey.com>
5763
5764 * gdb.python/py-parameter.exp: Set test message.
5765
5766 2018-05-02 Tom Tromey <tom@tromey.com>
5767
5768 PR python/20084:
5769 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5770 PARAM_ZUINTEGER_UNLIMITED tests.
5771
5772 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5773
5774 PR rust/23124
5775 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5776 when casting.
5777
5778 2018-04-30 Tom Tromey <tom@tromey.com>
5779
5780 * gdb.python/py-type.exp: Check align attribute.
5781 * gdb.python/py-type.c: New "aligncheck" global.
5782
5783 2018-04-30 Tom Tromey <tom@tromey.com>
5784
5785 PR exp/17095:
5786 * gdb.dwarf2/dw2-align.exp: New file.
5787 * gdb.cp/align.exp: New file.
5788 * gdb.base/align.exp: New file.
5789 * lib/gdb.exp (gdb_int128_helper): New proc.
5790 (has_int128_c, has_int128_cxx): New caching procs.
5791
5792 2018-04-27 Tom Tromey <tom@tromey.com>
5793
5794 PR rust/22545:
5795 * gdb.rust/simple.exp: Add inclusive range tests.
5796
5797 2018-04-26 Pedro Alves <palves@redhat.com>
5798
5799 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5800 ifunc breakpoint locations correctly of ifunc breakpoints set
5801 while the program resolves the ifunc.
5802
5803 2018-04-26 Pedro Alves <palves@redhat.com>
5804
5805 * gdb.base/gnu-ifunc-final.c: New file.
5806 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5807 * gdb.base/gnu-ifunc.exp (executable): Delete.
5808 (staticexecutable): Adjust.
5809 (lib_opts, exec_opts): Delete.
5810 (make_binsuffix, build, set-break): New procedures.
5811 (misc_tests): New, with tests factored out from the top level.
5812 (top level): Test different combinations of ifunc resolver name,
5813 resolver with and with debug info, and ifunc target with and
5814 without debug info. Wrap static tests with with_target_prefix.
5815
5816 2018-04-26 Pedro Alves <palves@redhat.com>
5817
5818 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5819 return type" warnings.
5820
5821 2018-04-25 Pedro Alves <palves@redhat.com>
5822
5823 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5824 killed".
5825 * gdb.base/kill-after-signal.exp: Likewise.
5826 * gdb.threads/kill.exp: Likewise.
5827
5828 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5829 Sergio Durigan Junior <sergiodj@redhat.com>
5830 Pedro Alves <palves@redhat.com>
5831
5832 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5833 regexps to expect for '[Inferior ... detached]' as well.
5834 * gdb.base/attach.exp: Likewise.
5835 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5836 "gdb_continue_to_end".
5837 (test_catch_syscall_with_wrong_args): Likewise.
5838 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5839 ']'. Don't set 'verbose' on.
5840 * gdb.base/foll-vfork.exp: Likewise.
5841 * gdb.base/fork-print-inferior-events.c: New file.
5842 * gdb.base/fork-print-inferior-events.exp: New file.
5843 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5844 '[Inferior ... has been killed]' message.
5845 * gdb.base/kill-after-signal.exp: Likewise.
5846 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5847 detach message.
5848 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5849 message.
5850 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5851 regexps to expect for '[Inferior ... detached]' as well.
5852 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5853
5854 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5855
5856 PR gdb/23104
5857 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5858
5859 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5860
5861 PR gdb/23095
5862 * gdb.base/break-probes.exp: Pass shlib_load to
5863 prepare_for_testing. Set normal_bp to r_debug_state if target is
5864 bsd.
5865
5866 2018-04-19 Richard Bunt <richard.bunt@arm.com>
5867
5868 * gdb.threads/multiple-successive-infcall.c: New test.
5869 * gdb.threads/multiple-successive-infcall.exp: New file.
5870
5871 2018-04-17 Tom Tromey <tom@tromey.com>
5872
5873 * gdb.rust/simple.rs (Union): New type.
5874 (main): New local "u".
5875 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5876
5877 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5878
5879 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5880 number information in output of "whereis" command.
5881 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5882
5883 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5884
5885 * gdb.ada/info_types.exp: Adjust expected output to the line
5886 numbers now printed by "info var/func/type".
5887 * gdb.base/completion.exp: Likewise.
5888 * gdb.base/included.exp: Likewise.
5889 * gdb.cp/cp-relocate.exp: Likewise.
5890 * gdb.cp/cplusfuncs.exp: Likewise.
5891 * gdb.cp/namespace.exp: Likewise.
5892 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5893
5894 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5895
5896 * gdb.btrace/cpu.exp: New.
5897
5898 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5899
5900 * gdb.base/step-indirect-call-thunk.exp: New.
5901 * gdb.base/step-indirect-call-thunk.c: New.
5902 * gdb.reverse/step-indirect-call-thunk.exp: New.
5903 * gdb.reverse/step-indirect-call-thunk.c: New.
5904
5905 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5906
5907 * gdb.base/pie-fork.c: New file.
5908 * gdb.base/pie-fork.exp: New file.
5909
5910 2018-04-11 Tom Tromey <tom@tromey.com>
5911
5912 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5913
5914 2018-04-10 Pedro Alves <palves@redhat.com>
5915
5916 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5917 exits. Instead loop running forever.
5918 (fork_parent): Run forever too.
5919
5920 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5921
5922 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5923 mi_continue_to_line.
5924 * gdb.mi/mi-stack.c (callee4): Add comment.
5925
5926 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5927
5928 * gdb.mi/mi-stack.exp: Fix indentation.
5929
5930 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5931
5932 PR gdb/22979
5933 * gdb.arch/amd64-osabi.exp: New file.
5934
5935 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5936
5937 PR gdb/22980
5938 * gdb.base/osabi.exp: New file.
5939
5940 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
5941
5942 * gdb.cp/static-typedef-print.exp: New file.
5943 * gdb.cp/static-typedef-print.cc: New file.
5944
5945 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5946
5947 * gdb.ada/varsize_limit: New testcase.
5948
5949 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5950
5951 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5952
5953 * gdb.ada/notcplusplus: New testcase.
5954
5955 * gdb.base/c-linkage-name.c: New file.
5956 * gdb.base/c-linkage-name.exp: New testcase.
5957
5958 2018-03-26 Tom Tromey <tom@tromey.com>
5959
5960 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5961 * gdb.python/py-framefilter.py (name_error): New global.
5962 (ErrorInName.function): Use name_error.
5963
5964 2018-03-26 Tom Tromey <tom@tromey.com>
5965
5966 PR backtrace/15582:
5967 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5968
5969 2018-03-23 Keith Seitz <keiths@redhat.com>
5970
5971 PR c++/22968
5972 * gdb.cp/subtypes.exp: New file.
5973 * gdb.cp/subtypes.h: New file.
5974 * gdb.cp/subtypes.cc: New file.
5975 * gdb.cp/subtypes-2.cc: New file.
5976
5977 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5978
5979 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5980 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5981 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5982 -nostartfiles when compiling the test. Confirm that all registers
5983 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5984
5985 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5986
5987 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5988 option, syntax was wrong anyway.
5989 * gdb.arch/arm-disp-step.exp: Likewise.
5990 * gdb.arch/sparc64-regs.exp: Likewise.
5991 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5992 option, syntax was wrong anyway, switch to use
5993 prepare_for_testing.
5994 * gdb.arch/i386-disp-step.exp: Likewise.
5995
5996 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5997
5998 * gdb.ada/exec_changed.exp: Replace "target_info exists
5999 use_gdb_stub" by "use_gdb_stub".
6000 * gdb.ada/start.exp: Likewise.
6001 * gdb.base/async-shell.exp: Likewise.
6002 * gdb.base/attach-pie-misread.exp: Likewise.
6003 * gdb.base/attach-wait-input.exp: Likewise.
6004 * gdb.base/break-entry.exp: Likewise.
6005 * gdb.base/break-interp.exp: Likewise.
6006 * gdb.base/dprintf-detach.exp: Likewise.
6007 * gdb.base/nostdlib.exp: Likewise.
6008 * gdb.base/solib-nodir.exp: Likewise.
6009 * gdb.base/statistics.exp: Likewise.
6010 * gdb.base/testenv.exp: Likewise.
6011 * gdb.mi/mi-exec-run.exp: Likewise.
6012 * gdb.mi/mi-start.exp: Likewise.
6013 * gdb.multi/dummy-frame-restore.exp: Likewise.
6014 * gdb.multi/multi-arch-exec.exp: Likewise.
6015 * gdb.multi/multi-arch.exp: Likewise.
6016 * gdb.multi/tids.exp: Likewise.
6017 * gdb.multi/watchpoint-multi.exp: Likewise.
6018 * gdb.python/py-events.exp: Likewise.
6019 * gdb.threads/attach-into-signal.exp: Likewise.
6020 * gdb.threads/attach-stopped.exp: Likewise.
6021 * gdb.threads/threadapply.exp: Likewise.
6022 * lib/selftest-support.exp: Likewise.
6023
6024 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6025
6026 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6027
6028 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6029
6030 * gdb.perf/template-breakpoints.cc: New file.
6031 * gdb.perf/template-breakpoints.exp: New file.
6032 * gdb.perf/template-breakpoints.py: New file.
6033
6034 2018-03-19 Tom Tromey <tom@tromey.com>
6035
6036 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6037 y0.
6038 * gdb.rust/simple.exp: Test bare identifier form of struct
6039 initializer.
6040
6041 2018-03-19 Tom Tromey <tom@tromey.com>
6042
6043 * gdb.gdb/observer.exp: Remove.
6044
6045 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6046
6047 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6048 "qualified" option when setting breakpoints.
6049 * gdb.trace/backtrace.exp: Likewise.
6050 * gdb.trace/circ.exp: Likewise.
6051 * gdb.trace/collection.exp: Likewise.
6052 * gdb.trace/disconnected-tracing.exp: Likewise.
6053 * gdb.trace/ftrace-lock.exp: Likewise.
6054 * gdb.trace/ftrace.exp: Likewise.
6055 * gdb.trace/infotrace.exp: Likewise.
6056 * gdb.trace/packetlen.exp: Likewise.
6057 * gdb.trace/passc-dyn.exp: Likewise.
6058 * gdb.trace/qtro.exp: Likewise.
6059 * gdb.trace/read-memory.exp: Likewise.
6060 * gdb.trace/report.exp: Likewise.
6061 * gdb.trace/signal.exp: Likewise.
6062 * gdb.trace/status-stop.exp: Likewise.
6063 * gdb.trace/strace.exp: Likewise.
6064 * gdb.trace/tfind.exp: Likewise.
6065 * gdb.trace/trace-break.exp: Likewise.
6066 * gdb.trace/trace-condition.exp: Likewise.
6067 * gdb.trace/trace-mt.exp: Likewise.
6068 * gdb.trace/tstatus.exp: Likewise.
6069 * gdb.trace/tsv.exp: Likewise.
6070 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6071 * gdb.trace/unavailable.exp: Likewise.
6072 * gdb.trace/while-dyn.exp: Likewise.
6073
6074 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6075
6076 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6077 that libinproctrace is copied to the target.
6078
6079 2018-03-14 Tom Tromey <tom@tromey.com>
6080
6081 PR cli/14977:
6082 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6083 a null pointer.
6084 * gdb.base/wchar.exp: Likewise.
6085
6086 2018-03-14 Tom Tromey <tom@tromey.com>
6087
6088 PR cli/19918:
6089 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6090 flag.
6091
6092 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6093
6094 PR gdb/22841
6095 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6096 "target" to remote_exec.
6097
6098 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6099
6100 PR gdb/22841
6101 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6102 ${board}_upload): Remove.
6103
6104 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6105
6106 * gdb.cp/watch-cp.cc: New test.
6107 * gdb.cp/watch-cp.exp: New file.
6108
6109 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6110
6111 * gdb.base/infcall-nested-structs.exp: New file.
6112 * gdb.base/infcall-nested-structs.c: New file.
6113 * gdb.base/float.exp: Add riscv support.
6114
6115 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6116
6117 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6118 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6119
6120 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6121
6122 * gdb.server/abspath.exp: New file.
6123 * lib/gdb.exp (with_cwd): New procedure.
6124
6125 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6126
6127 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6128 use it.
6129 (gdb_is_target_remote_prompt): New proc.
6130 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6131 (gdb_is_target_native): Pass prompt parameter to
6132 gdb_is_target_1.
6133
6134 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
6135
6136 * gdb.base/load-command.c: New file.
6137 * gdb.base/load-command.exp: New file.
6138 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
6139 (gdb_is_target_1): ...this, and generalize for other targets
6140 than just remote.
6141 (gdb_is_target_remote): Use gdb_is_target_1.
6142 (gdb_is_target_native): use gdb_is_target_1.
6143
6144 2018-02-26 Tom Tromey <tom@tromey.com>
6145
6146 PR python/16497:
6147 * gdb.python/py-framefilter.exp: Update test.
6148
6149 2018-02-26 Tom Tromey <tom@tromey.com>
6150
6151 * gdb.dwarf2/variant.c: New file.
6152 * gdb.dwarf2/variant.exp: New file.
6153
6154 2018-02-26 Tom Tromey <tom@tromey.com>
6155
6156 * gdb.rust/simple.exp: Accept more possible results in enum test.
6157
6158 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
6159
6160 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
6161 parentheses.
6162
6163 2018-02-23 Maciej W. Rozycki <macro@mips.com>
6164
6165 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
6166 name of a variable: $actual_linejj -> $actual_line.
6167
6168 2018-02-21 John Baldwin <jhb@FreeBSD.org>
6169
6170 * gdb.arch/amd64-i386-address.exp: Fix a typo.
6171
6172 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
6173
6174 * gdb.btrace/buffer-size.exp: Do not force BTS.
6175
6176 2018-02-14 Pedro Alves <palves@redhat.com>
6177
6178 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
6179 getting a "Quit".
6180
6181 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
6182
6183 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
6184 Fix test name.
6185
6186 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
6187
6188 * gdb.cp/m-static.exp: Check type of optimized out static
6189 member.
6190
6191 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
6192
6193 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
6194 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
6195
6196 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
6197 Leszek Swirski <leszeks@google.com>
6198
6199 * gdb.python/py-prettyprint.c
6200 (struct to_string_returns_value_inner,
6201 struct to_string_returns_value_wrapper): New.
6202 (main): Add tsrvw variable.
6203 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
6204 ToStringReturnsValueWrapper): New classes.
6205 (register_pretty_printers): Register new pretty-printers.
6206 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
6207 recursive pretty printer.
6208 * gdb.python/py-mi.exp: Likewise.
6209
6210 2018-02-01 Leszek Swirski <leszeks@google.com>
6211
6212 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
6213 functions with the same name as an include file are parsed
6214 correctly.
6215
6216 2018-02-01 Yao Qi <yao.qi@linaro.org>
6217
6218 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
6219 "\[^\r\n\]*".
6220
6221 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
6222
6223 * gdb.arch/powerpc-prologue-frame.s: New file.
6224 * gdb.arch/powerpc-prologue-frame.c: Likewise.
6225 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
6226
6227 2018-01-31 Joel Brobecker <brobecker@adacore.com>
6228
6229 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
6230
6231 2018-01-30 Pedro Alves <palves@redhat.com>
6232
6233 PR gdb/13211
6234 * gdb.base/interrupt-daemon.c: New.
6235 * gdb.base/interrupt-daemon.exp: New.
6236 * gdb.multi/multi-term-settings.c: New.
6237 * gdb.multi/multi-term-settings.exp: New.
6238
6239 2018-01-30 Joel Brobecker <brobecker@adacore.com>
6240
6241 * gdb.base/break.exp: Save the location where the breakpoint
6242 on break.c:47 was actually inserted when debugging the version
6243 compiled at -O2 and use it in the expected output of the "info
6244 break" test performed soon after.
6245
6246 2018-01-22 Pedro Alves <palves@redhat.com>
6247 Sergio Durigan Junior <sergiodj@redhat.com>
6248
6249 * gdb.base/whatis.exp: Add tests for 'set print object on' +
6250 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
6251
6252 2018-01-22 Joel Brobecker <brobecker@adacore.com>
6253
6254 * gdb.base/break-include.c, gdb.base/break-include.inc,
6255 gdb.base/break-include.exp: New files.
6256 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
6257 line number now being the actual line number where the breakpoint
6258 was inserted.
6259 * gdb.mi/mi-break.exp: Likewise.
6260 * gdb.mi/mi-reverse.exp: Likewise.
6261 * gdb.mi/mi-simplerun.exp: Ditto.
6262
6263 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6264
6265 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
6266 varobj.
6267 * gdb.mi/mi-var-create-rtti.exp: Likewise.
6268
6269 2018-01-21 Don Breazeal <donb@codesourcery.com>
6270 Andrew Burgess <andrew.burgess@embecosm.com>
6271
6272 * gdb.mi/basics.c: Add new global.
6273 * gdb.mi/mi-frame-regs.exp: New file.
6274 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
6275 case.
6276
6277 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6278
6279 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
6280 non-parameter, and on an unknown symbol.
6281
6282 2018-01-19 Tom Tromey <tom@tromey.com>
6283
6284 * gdb.rust/modules.rs (TWENTY_THREE): New global.
6285 * gdb.rust/modules.exp: Add ::-qualified lookup test.
6286
6287 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6288
6289 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
6290 setrlimit and chdir to int.
6291
6292 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6293
6294 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
6295 function.
6296 (my_tend): Likewise.
6297 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
6298 rationale of avoiding FP- and vector instructions.
6299
6300 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
6301
6302 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
6303 "info reg" with "\[ \t\]*".
6304 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6305 "\[ \t\]+".
6306 * gdb.arch/s390-multiarch.exp: Ditto.
6307 * gdb.base/pc-fp.exp: Ditto.
6308 * gdb.reverse/i386-precsave.exp: Ditto.
6309 * gdb.reverse/i386-reverse.exp: Ditto.
6310 * gdb.reverse/i387-env-reverse.exp: Ditto.
6311 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6312
6313 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6314
6315 * lib/gdb.exp (gdb_compile): Re-enable use of
6316 universal_compile_options for languages other than Rust.
6317
6318 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6319
6320 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
6321
6322 2018-01-17 Mike Gulick <mgulick@mathworks.com>
6323
6324 PR gdb/16577
6325 * gdb.base/solib-vanish.exp: New.
6326 * gdb.base/solib-vanish-main.c: New.
6327 * gdb.base/solib-vanish-lib1.c: New.
6328 * gdb.base/solib-vanish-lib2.c: New.
6329
6330 2018-01-17 Yao Qi <yao.qi@linaro.org>
6331
6332 * gdb.compile/compile.exp: Match the address printed for
6333 frame in the output of command "bt".
6334
6335 2018-01-15 Tom Tromey <tom@tromey.com>
6336
6337 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
6338 compute sp_reg.
6339
6340 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6341
6342 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
6343 to prepare.
6344 (prepare): Return 0 on error, 1 on success.
6345
6346 2018-01-12 Pedro Alves <palves@redhat.com>
6347
6348 * gdb.base/continue-after-aborted-step-over.c: New.
6349 * gdb.base/continue-after-aborted-step-over.exp: New.
6350
6351 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
6352
6353 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
6354 options when not creating an executable.
6355
6356 2018-01-11 Pedro Alves <palves@redhat.com>
6357
6358 PR remote/22597
6359 * gdb.server/stop-reply-no-thread.c: New file.
6360 * gdb.server/stop-reply-no-thread.exp: New file.
6361
6362 2018-01-10 Pedro Alves <palves@redhat.com>
6363
6364 PR gdb/22670
6365 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
6366 functions too. Test setting breakpoints and printing C functions
6367 with no debug info too.
6368 * gdb.ada/bp_c_mixed_case/qux.c: New file.
6369
6370 2018-01-10 Pedro Alves <palves@redhat.com>
6371
6372 PR gdb/22670
6373 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
6374 a fail.
6375
6376 2018-01-10 Pedro Alves <palves@redhat.com>
6377
6378 PR gdb/22670
6379 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
6380
6381 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6382
6383 * gdb.server/unittest.exp: Match the output in non-development
6384 mode.
6385
6386 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6387
6388 * gdb.gdb/unittest.exp: Match output in non-development mode.
6389
6390 2018-01-08 Joel Brobecker <brobecker@adacore.com>
6391
6392 * gdb.ada/access_tagged_param.exp: Relax expected output
6393 for value of "ObjL" in "continue" to pck.inspect breakpoint
6394 test.
6395
6396 2018-01-08 Joel Brobecker <brobecker@adacore.com>
6397
6398 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
6399 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
6400
6401 2018-01-05 Pedro Alves <palves@redhat.com>
6402
6403 PR gdb/18653
6404 * gdb.base/libsegfault.exp: New.
6405
6406 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6407
6408 PR gdb/22670
6409 * gdb.ada/access_tagged_param.exp: New file.
6410 * gdb.ada/access_tagged_param/foo.adb: New file.
6411
6412 2018-01-05 Pedro Alves <palves@redhat.com>
6413
6414 PR gdb/22670
6415 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
6416 exercise lower case too, and to exercise both full matching and
6417 wild matching.
6418
6419 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6420
6421 * gdb.ada/rename_subscript_param: New testcase.
6422
6423 2018-01-05 Jerome Guitton <guitton@adacore.com>
6424
6425 * gdb.ada/arr_acc_idx_w_gap: New testcase.
6426
6427 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6428
6429 * gdb.ada/convvar_comp: New testcase.
6430
6431 2018-01-05 Xavier Roirand <roirand@adacore.com>
6432
6433 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
6434 (My_Table): New global variable.
6435 * testsuite/gdb.ada/array_char_idx.exp: Add test.
6436
6437 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6438
6439 PR gdb/22670
6440 * gdb.ada/maint_with_ada: New testcase.
6441
6442 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6443
6444 PR gdb/22670
6445 * gdb.ada/bp_c_mixed_case: New testcase.
6446
6447 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6448
6449 PR gdb/22670
6450 * gdb.ada/complete.exp: Add "complete break ada" test.
6451
6452 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6453
6454 PR gdb/22670
6455 * gdb.ada/info_addr_mixed_case: New testcase.
6456
6457 2018-01-03 Xavier Roirand <roirand@adacore.com>
6458
6459 * gdb.ada/excep_handle.exp: New testcase.
6460 * gdb.ada/excep_handle/foo.adb: New file.
6461 * gdb.ada/excep_handle/pck.ads: New file.
6462
6463 2018-01-03 Joel Brobecker <brobecker@adacore.com>
6464
6465 * gdb.base/step-line.c: Add extra empty line in copyright header.
6466 * gdb.base/step-line.inp: Likewise.
6467
6468 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6469
6470 * gdb.ada/dyn_stride.exp: Add slice test.
6471
6472 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6473
6474 * gdb.ada/dyn_stride: New testcase.
6475
6476 2017-12-27 Stafford Horne <shorne@gmail.com>
6477
6478 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6479 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6480
6481 2017-12-27 Stafford Horne <shorne@gmail.com>
6482
6483 * gdb.base/reggroups.c: New file.
6484 * gdb.base/reggroups.exp: New file.
6485
6486 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6487
6488 * gdb.dwarf2/ada-valprint-error.c: New file.
6489 * gdb.dwarf2/ada-valprint-error.exp: New file.
6490
6491 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6492
6493 * gdb.ada/assign_arr: New testcase.
6494
6495 2017-12-18 Xavier Roirand <roirand@adacore.com>
6496
6497 * gdb.ada/funcall_ptr: New testcase.
6498
6499 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6500
6501 PR cli/16224
6502 * gdb.base/ptype-offsets.cc: New file.
6503 * gdb.base/ptype-offsets.exp: New file.
6504
6505 2017-12-15 Yao Qi <yao.qi@linaro.org>
6506
6507 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6508 if XML is disabled.
6509
6510 2017-12-15 Xavier Roirand <roirand@adacore.com>
6511
6512 * gdb.ada/same_component_name: New testcase.
6513
6514 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6515
6516 * gdb.ada/str_binop_equal: New testcase.
6517
6518 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6519
6520 * gdb.ada/task_switch_in_core: New testcase.
6521
6522 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6523
6524 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6525 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6526 call test_bkpt_qualified.
6527 (test_bkpt_qualified): New proc.
6528
6529 2017-12-13 Pedro Alves <palves@redhat.com>
6530
6531 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6532 Tighten regexp by matching with an anchor.
6533
6534 2017-12-13 Pedro Alves <palves@redhat.com>
6535
6536 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6537 ("expression with namespace"): New set of tests.
6538 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6539 (Nested::Test_NS::qux): New.
6540 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6541 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6542
6543 2017-12-13 Joel Brobecker <brobecker@adacore.com>
6544
6545 * gdb.base/server-del-break.c: New file.
6546 * gdb.base/server-del-break.exp: New file.
6547
6548 2017-12-12 Stafford Horne <shorne@gmail.com>
6549
6550 * gdb.xml/tdesc-regs.exp: Add or1k support.
6551
6552 2017-12-12 Stafford Horne <shorne@gmail.com>
6553
6554 * gdb.base/bp-permanent.c: Define nop of or1k.
6555
6556 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6557
6558 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6559 output with components being reordered.
6560
6561 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6562
6563 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6564 output with components being reordered.
6565
6566 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6567 Pedro Alves <palves@redhat.com>
6568
6569 * gdb.base/maint.exp (check for .gdb_index): Check also for
6570 .debug_names.
6571 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6572 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6573 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6574 (.gdb_index used after symbol reloading): Support also .debug_names.
6575 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6576
6577 2017-12-08 Yao Qi <yao.qi@linaro.org>
6578
6579 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6580 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6581
6582 2017-12-08 Yao Qi <yao.qi@linaro.org>
6583
6584 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6585 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6586
6587 2017-12-08 Yao Qi <yao.qi@linaro.org>
6588
6589 * gdb.arch/aarch64-tagged-pointer.c: New file.
6590 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6591
6592 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6593
6594 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6595 "int".
6596
6597 2017-12-07 Keith Seitz <keiths@redhat.com>
6598
6599 PR breakpoints/22569
6600 * gdb.linespec/ls-errs.exp: Change expected result of "break
6601 -source this file has spaces.c -line 3".
6602 Check that an explicit source file followed by whitespace is
6603 identified as an invalid explicit location.
6604
6605 2017-12-07 Keith Seitz <keiths@redhat.com>
6606
6607 * gdb.cp/nested-types.cc: New file.
6608 * gdb.cp/nested-types.exp: New file.
6609 * lib/cp-support.exp: Load data-structures.exp library.
6610 (debug_cp_test_ptype_class): New global.
6611 (cp_ptype_class_verbose, next_line): New procedures.
6612 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6613 Add and document new return value.
6614 Switch the list of lines to a queue.
6615 Add support for new `type' key for nested type definitions.
6616 Add debugging/troubleshooting messages.
6617 * lib/data-structures.exp: New file.
6618
6619 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6620
6621 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6622 with proc_with_prefix, don't use with_test_prefix.
6623
6624 2017-12-07 Tom Tromey <tom@tromey.com>
6625
6626 * gdb.base/break.exp: Add test for empty "commands".
6627
6628 2017-12-07 Yao Qi <yao.qi@linaro.org>
6629
6630 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6631 malloc and catch syscall.
6632
6633 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6634
6635 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
6636 tests for explicit locations.
6637
6638 2017-12-06 Pedro Alves <palves@redhat.com>
6639
6640 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6641 force-disabling XML descriptions.
6642
6643 2017-12-04 Pedro Alves <palves@redhat.com>
6644
6645 PR gdb/22499
6646 * gdb.arch/amd64-disp-step-avx.S: New file.
6647 * gdb.arch/amd64-disp-step-avx.exp: New file.
6648
6649 2017-12-03 Pedro Alves <palves@redhat.com>
6650
6651 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6652 and <string.h>.
6653 (parent_function): Print distinct messages when waitpid fails, or
6654 the child exits with a signal, or the child exits for an unhandled
6655 reason.
6656 * gdb.threads/process-dies-while-detaching.exp
6657 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6658 it. Wait for both inferior output and GDB's prompt. Use an
6659 indirect spawn id list.
6660 (do_detach): New parameter 'child_exit'. Use it to compute
6661 expected inferior output.
6662 (test_detach, test_detach_watch, test_detach_killed_outside):
6663 Adjust to pass down the expected child exit kind.
6664
6665 2017-12-01 Joel Brobecker <brobecker@adacore.com>
6666 Sergio Durigan Junior <sergiodj@redhat.com>
6667 Pedro Alves <palves@redhat.com>
6668
6669 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6670
6671 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6672
6673 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6674 to 'symbol-file' and 'add-symbol-file' can be
6675 position-independent.
6676
6677 2017-12-01 Yao Qi <yao.qi@linaro.org>
6678
6679 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6680 the URL in copyright header.
6681 * gdb.arch/aarch64-fp.exp: Likewise.
6682 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6683 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6684 * gdb.base/expand-psymtabs.exp: Likewise.
6685 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6686 * gdb.fortran/common-block.exp: Likewise.
6687 * gdb.fortran/common-block.f90: Likewise.
6688 * gdb.fortran/logical.exp: Likewise.
6689 * gdb.fortran/vla-datatypes.f90: Likewise.
6690 * gdb.fortran/vla-sub.f90: Likewise.
6691
6692 2017-11-30 Joel Brobecker <brobecker@adacore.com>
6693
6694 * gdb.ada/repeat_dyn: New testcase.
6695
6696 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6697
6698 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6699 Update for changed thread numbering.
6700 * gdb.cell/bt.exp: Update for changed GDB output.
6701
6702 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6703
6704 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6705 setting isremote by hand.
6706 * boards/dwarf4-gdb-index.exp: Likewise.
6707 * boards/fission.exp: Likewise.
6708 * boards/stabs.exp: Likewise.
6709
6710 2017-11-30 Pedro Alves <palves@redhat.com>
6711
6712 * gdb.linespec/cpls-ops.exp
6713 (check_explicit_skips_function_argument): Extract the underlying
6714 type of size_t instead of hardcoding it.
6715
6716 2017-11-29 Pedro Alves <palves@redhat.com>
6717
6718 PR c++/19436
6719 * gdb.linespec/cpls-abi-tag.cc: New file.
6720 * gdb.linespec/cpls-abi-tag.exp: New file.
6721
6722 2017-11-29 Pedro Alves <palves@redhat.com>
6723
6724 * gdb.base/langs.exp: Use -qualified.
6725 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6726 it.
6727 * gdb.cp/namespace.exp: Use -qualified.
6728 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6729 (overload-3, template-overload, template-ret-type, const-overload)
6730 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6731 procedures.
6732 (test_driver): Call them.
6733 * gdb.cp/save-bp-qualified.cc: New.
6734 * gdb.cp/save-bp-qualified.exp: New.
6735 * gdb.linespec/explicit.exp: Test -qualified.
6736 * lib/completion-support.exp (completion::explicit_opts_list): Add
6737 "-qualified".
6738 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6739
6740 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6741
6742 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6743
6744 2017-11-29 Tom Tromey <tom@tromey.com>
6745
6746 * gdb.base/relocate.exp: Update invalid argument test.
6747 Add new tests for invalid arguments.
6748
6749 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6750
6751 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6752 Return 0 as a long.
6753 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6754
6755 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6756
6757 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6758 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6759 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6760 func ().
6761 * gdb.cp/shadow.cc (B.func): Return 0.
6762
6763 2017-11-27 Joel Brobecker <brobecker@adacore.com>
6764
6765 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6766 expected output in gdb_expect call to allow the exception
6767 message to be present as well. Fix syntax confusion to avoid
6768 TCL thinking that exception_name is an array.
6769
6770 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6771
6772 * gdb.arch/spu-info.c: Include <unistd.h>.
6773 (do_signal_test): Fix broken calls to write.
6774 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6775 Fix checks for empty mailboxes. Update signal tests for corrected
6776 do_signal_test routine. Allow nonzero event status.
6777 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6778 * gdb.cell/arch.exp: Use standard_output_file.
6779 * gdb.cell/break.exp: Likewise.
6780 * gdb.cell/bt.exp: Likewise.
6781 * gdb.cell/core.exp: Likewise.
6782 * gdb.cell/dwarfaddr.exp: Likewise.
6783 * gdb.cell/ea-cache.exp: Likewise.
6784 * gdb.cell/ea-standalone.exp: Likewise.
6785 * gdb.cell/f-regs.exp: Likewise.
6786 * gdb.cell/fork.exp: Likewise.
6787 * gdb.cell/gcore.exp: Likewise.
6788 * gdb.cell/mem-access.exp: Likewise.
6789 * gdb.cell/ptype.exp: Likewise.
6790 * gdb.cell/registers.exp: Likewise.
6791 * gdb.cell/sizeof.exp: Likewise.
6792 * gdb.cell/solib-symbol.exp: Likewise.
6793 * gdb.cell/solib.exp: Likewise.
6794
6795 2017-11-25 Pedro Alves <palves@redhat.com>
6796
6797 * gdb.base/complete-empty.exp: New file.
6798 * gdb.base/completion.exp: Adjust.
6799
6800 2017-11-25 Pedro Alves <palves@redhat.com>
6801
6802 * gdb.linespec/cpls-ops.cc: New file.
6803 * gdb.linespec/cpls-ops.exp: New file.
6804 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6805 factored out from ...
6806 (test_complete_prefix_range): ... this.
6807
6808 2017-11-24 Pedro Alves <palves@redhat.com>
6809
6810 * gdb.linespec/cpcompletion.exp: New file.
6811 * gdb.linespec/cpls-hyphen.cc: New file.
6812 * gdb.linespec/cpls.cc: New file.
6813 * gdb.linespec/cpls2.cc: New file.
6814 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6815 test to use test_gdb_complete_unique. Add label completion,
6816 keyword completion and explicit location completion tests.
6817 * lib/completion-support.exp: New file.
6818
6819 2017-11-24 Joel Brobecker <brobecker@adacore.com>
6820
6821 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6822 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6823 when hitting an exception catchpoint.
6824
6825 2017-11-22 Yao Qi <yao.qi@linaro.org>
6826
6827 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6828
6829 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6830
6831 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6832 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6833 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6834
6835 2017-11-22 Yao Qi <yao.qi@linaro.org>
6836
6837 * gdb.base/info-os.exp: Pass pthreads.
6838 * gdb.multi/multi-attach.exp: Likewise.
6839
6840 2017-11-22 Yao Qi <yao.qi@linaro.org>
6841
6842 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6843 compiler.
6844
6845 2017-11-22 Yao Qi <yao.qi@linaro.org>
6846
6847 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6848 * gdb.base/break-interp.exp: Likewise.
6849 * gdb.base/jit-attach-pie.exp: Likewise.
6850
6851 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6852
6853 * gdb.base/float128.c (large128): New variable.
6854 * gdb.base/float128.exp: Add test to print largest __float128 value.
6855
6856 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6857
6858 * gdb.arch/vsx-regs.exp: Update register content checks.
6859
6860 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6861
6862 * gdb.arch/ppc-longdouble.exp: New file.
6863 * gdb.arch/ppc-longdouble.c: Likewise.
6864
6865 2017-11-21 Pedro Alves <palves@redhat.com>
6866
6867 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6868
6869 2017-11-20 Pedro Alves <palves@redhat.com>
6870
6871 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6872 (long_double_typedef): New typedefs.
6873 Use DEF on double and long double.
6874 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6875 cases.
6876 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6877 and 'long_double_ptr_same_size' locals. Use them to decide
6878 whether cast from array/function to float is valid/invalid.
6879
6880 2017-11-17 Tom Tromey <tom@tromey.com>
6881
6882 * gdb.rust/traits.rs: New file.
6883 * gdb.rust/traits.exp: New file.
6884
6885 2017-11-17 Joel Brobecker <brobecker@adacore.com>
6886
6887 * gdb.ada/minsyms: New testcase.
6888
6889 2017-11-16 Pedro Alves <palves@redhat.com>
6890
6891 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6892 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6893
6894 2017-11-16 Pedro Alves <palves@redhat.com>
6895
6896 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6897 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6898
6899 2017-11-16 Pedro Alves <palves@redhat.com>
6900
6901 * gdb.server/reconnect-ctrl-c.c: New file.
6902 * gdb.server/reconnect-ctrl-c.exp: New file.
6903
6904 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6905
6906 * gdb.python/py-rbreak.exp: New file.
6907 * gdb.python/py-rbreak.c: New file.
6908 * gdb.python/py-rbreak-func2.c: New file.
6909
6910 2017-11-16 Pedro Alves <palves@redhat.com>
6911
6912 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6913 pattern.
6914 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6915 GDB.
6916
6917 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6918
6919 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6920 regex.
6921
6922 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6923
6924 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6925 test names.
6926
6927 2017-11-09 Pedro Alves <palves@redhat.com>
6928
6929 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6930 factored out from ...
6931 (top level): ... here, and adjusted to avoid expecting beyond the
6932 prompt in a single gdb_test_multiple.
6933
6934 2017-11-09 Pedro Alves <palves@redhat.com>
6935
6936 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6937 output.
6938 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6939 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6940 * gdb.server/ext-run.exp ("kill" test): Likewise.
6941 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6942
6943 2017-11-09 Pedro Alves <palves@redhat.com>
6944
6945 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6946 match till end of line.
6947
6948 2017-11-09 Pedro Alves <palves@redhat.com>
6949
6950 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6951
6952 2017-11-09 Pedro Alves <palves@redhat.com>
6953
6954 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6955 New procedures, factored out from ...
6956 (top level): ... here, and adjusted to avoid expecting beyond the
6957 prompt in one go.
6958
6959 2017-11-09 Pedro Alves <palves@redhat.com>
6960
6961 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6962 output. Fix '?' match.
6963
6964 2017-11-08 Joel Brobecker <brobecker@adacore.com>
6965
6966 * gdb.ada/scoped_watch: New testcase.
6967 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6968 which is actually correct.
6969 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6970 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6971
6972 2017-11-08 Pedro Alves <palves@redhat.com>
6973
6974 * gdb.gdb/complaints.exp (test_initial_complaints)
6975 (test_serial_complaints, test_short_complaints): Call
6976 complaint_internal instead of complaint.
6977
6978 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6979
6980 * gdb.threads/tls-core.c: New file.
6981 * gdb.threads/tls-core.exp: Likewise.
6982
6983 2017-11-08 Pedro Alves <palves@redhat.com>
6984
6985 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6986 (p Exported_Capitalized): New test.
6987 (p exported_capitalized): New test.
6988
6989 2017-11-07 Pedro Alves <palves@redhat.com>
6990
6991 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6992
6993 2017-11-07 Pedro Alves <palves@redhat.com>
6994
6995 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6996 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6997 (disable_invalid, disable_inverted, disable_negative): New
6998 procedures.
6999 ("bad numbers"): New set of tests.
7000
7001 2017-11-07 Pedro Alves <palves@redhat.com>
7002
7003 * gdb.cp/ena-dis-br-range.exp: Add tests.
7004
7005 2017-11-07 Pedro Alves <palves@redhat.com>
7006
7007 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7008
7009 2017-11-07 Xavier Roirand <roirand@adacore.com>
7010 Pedro Alves <palves@redhat.com>
7011
7012 * gdb.base/ena-dis-br.exp: Add reference to
7013 gdb.cp/ena-dis-br-range.exp.
7014 * gdb.cp/ena-dis-br-range.exp: New file.
7015 * gdb.cp/ena-dis-br-range.cc: New file.
7016
7017 2017-11-06 Pedro Alves <palves@redhat.com>
7018
7019 * gdb.base/attach-non-pgrp-leader.c: New.
7020 * gdb.base/attach-non-pgrp-leader.exp: New.
7021
7022 2017-11-06 Pedro Alves <palves@redhat.com>
7023
7024 * configure.ac: No longer check for termio.h and sgtty.h.
7025 * configure: Regenerate.
7026 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7027 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7028 Remove termio and sgtty code.
7029
7030 2017-11-03 Yao Qi <yao.qi@linaro.org>
7031
7032 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7033 in GDB is disabled.
7034
7035 2017-11-03 Yao Qi <yao.qi@linaro.org>
7036
7037 * gdb.python/py-thrhandle.exp: Skip it if python is not
7038 enabled.
7039
7040 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7041
7042 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7043 as a breakpoint command.
7044
7045 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7046
7047 PR python/21213
7048 * gdb.python/py-infthread.exp: Test calling
7049 InferiorThread.inferior () multiple times in a row.
7050
7051 2017-10-27 Keith Seitz <keiths@redhat.com>
7052
7053 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7054 Test "info break" for every inlined function breakpoint.
7055
7056 2017-10-27 Yao Qi <yao.qi@linaro.org>
7057
7058 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7059
7060 2017-10-26 Patrick Frants <osscontribute@gmail.com>
7061
7062 * gdb.cp/classes.exp (test_static_members): Test printing
7063 Outer::instance.
7064 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7065 (Inner::instance, Outer::instance): New.
7066
7067 2017-10-24 Pedro Alves <palves@redhat.com>
7068
7069 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7070 extra console" test in two stages.
7071
7072 2017-10-24 Pedro Alves <palves@redhat.com>
7073
7074 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7075
7076 2017-10-24 Pedro Alves <palves@redhat.com>
7077
7078 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7079 loop.
7080
7081 2017-10-24 Pedro Alves <palves@redhat.com>
7082
7083 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7084 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7085
7086 2017-10-24 Pedro Alves <palves@redhat.com>
7087
7088 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7089 parameter and handle it. Don't output read value in test name.
7090
7091 2017-10-24 Pedro Alves <palves@redhat.com>
7092
7093 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7094 custom test name.
7095
7096 2017-10-24 Pedro Alves <palves@redhat.com>
7097
7098 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7099 include the unstable output directory name in the test's name.
7100 (initial_setup_simple) <'set args'>: Use custom test name.
7101
7102 2017-10-24 Pedro Alves <palves@redhat.com>
7103
7104 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7105 with explicit test name.
7106
7107 2017-10-20 Pedro Alves <palves@redhat.com>
7108
7109 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7110 'wait -i'. Use gdb_assert and remote_close.
7111
7112 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7113
7114 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7115 number from variable rather than hard-coded.
7116
7117 2017-10-19 Pedro Alves <palves@redhat.com>
7118
7119 * gdb.base/long-inferior-output.c: New file.
7120 * gdb.base/long-inferior-output.exp: New file.
7121
7122 2017-11-18 Keith Seitz <keiths@redhat.com>
7123
7124 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7125 method.
7126 (main): Call it.
7127 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7128 Add additional user-defined conversion operator tests.
7129
7130 2017-10-17 Pedro Alves <palves@redhat.com>
7131
7132 * boards/native-stdio-gdbserver.exp: Load "local-board".
7133
7134 2017-10-17 Pedro Alves <palves@redhat.com>
7135
7136 * gdb.base/quit-live.c: New file.
7137 * gdb.base/quit-live.exp: New file.
7138
7139 2017-10-16 Keith Seitz <keiths@redhat.com>
7140
7141 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
7142 (class_with_protected_typedef, class_with_private_typedef)
7143 (struct_with_public_typedef, struct_with_protected_typedef)
7144 (struct_with_private_typedef): New classes/structs.
7145 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
7146 typedefs and access specifiers.
7147
7148 2017-10-16 Pedro Alves <palves@redhat.com>
7149 Simon Marchi <simon.marchi@polymtl.ca>
7150
7151 * README (Local vs Remote vs Native): New section.
7152 * boards/local-board.exp: New file, with bits factored out from
7153 ...
7154 * boards/native-extended-gdbserver.exp: ... here. Load
7155 "local-board".
7156 * boards/native-gdbserver.exp: Load "local-board".
7157 (${board}_spawn, ${board}_exec): Delete.
7158 * boards/native-stdio-gdbserver.exp: Most contents factored out to
7159 ...
7160 * boards/stdio-gdbserver-base.exp: ... this new file.
7161 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
7162 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
7163 procedure.
7164 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
7165 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
7166 stdio_gdbserver_command.
7167 (${board}_get_remote_address, ${board}_get_comm_port)
7168 (${board}_download, ${board}_upload): Delete.
7169 (get_target_remote_pipe_cmd): New.
7170
7171 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
7172
7173 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
7174 test_bkpt_deletion, test_bkpt_cond_and_cmds,
7175 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
7176 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
7177 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
7178 remove with_test_prefix.
7179
7180 2017-10-13 Pedro Alves <palves@redhat.com>
7181
7182 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
7183 * gdb.base/annota1.exp: Use it instead of is_remote.
7184 * gdb.base/annota3.exp: Use it instead of is_remote.
7185 * gdb.cp/annota2.exp: Use it instead of is_remote.
7186 * gdb.cp/annota3.exp: Use it instead of is_remote.
7187 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
7188
7189 2017-10-13 Pedro Alves <palves@redhat.com>
7190
7191 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
7192 (test_num_test_vars, run_and_count_vars, find_env)
7193 (test_set_unset_env, test_inherit_env_var): New procedures.
7194 (top level): Use them.
7195
7196 2017-10-13 Pedro Alves <palves@redhat.com>
7197
7198 * lib/selftest-support.exp (selftest_setup): Extend comments, and
7199 also skip on stub-like targets.
7200
7201 2017-10-13 Pedro Alves <palves@redhat.com>
7202
7203 PR gdb/22293
7204 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
7205 (top level): Move some tests to ...
7206 (test_not_found): ... this new procedure.
7207 (top level): Call it.
7208
7209 2017-10-13 Pedro Alves <palves@redhat.com>
7210
7211 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
7212 expect different "info terminal" output if testing with a
7213 non-native target.
7214
7215 2017-10-13 Pedro Alves <palves@redhat.com>
7216 Simon Marchi <simon.marchi@polymtl.ca>
7217
7218 PR python/12966
7219 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
7220
7221 2017-10-13 Pedro Alves <palves@redhat.com>
7222
7223 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
7224 already.
7225
7226 2017-10-13 Pedro Alves <palves@redhat.com>
7227
7228 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
7229 is_remote.
7230
7231 2017-10-13 Pedro Alves <palves@redhat.com>
7232
7233 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
7234 is_remote.
7235
7236 2017-10-13 Pedro Alves <palves@redhat.com>
7237
7238 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
7239 is set.
7240 (corefile_test_attach): Likewise. Check can_spawn_for_attach
7241 instead of is_remote.
7242
7243 2017-10-13 Pedro Alves <palves@redhat.com>
7244
7245 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
7246 (top level): Add comment.
7247
7248 2017-10-13 Pedro Alves <palves@redhat.com>
7249
7250 * gdb.base/remote.exp (top level): Fix comment typo and add
7251 missing return.
7252
7253 2017-10-13 Pedro Alves <palves@redhat.com>
7254 Simon Marchi <simon.marchi@polymtl.ca>
7255
7256 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
7257 calls and add comments. Skip test if use_gdb_stub is set.
7258 (top level): Use "set cwd" command instead of "cd" command.
7259
7260 2017-10-13 Pedro Alves <palves@redhat.com>
7261
7262 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
7263 is_remote target check.
7264
7265 2017-10-13 Pedro Alves <palves@redhat.com>
7266
7267 * gdb.base/scope.exp: Use build_executable + clean_restart +
7268 gdb_file_cmd instead of prepare_for_testing and no longer skip
7269 "before run" tests on is_remote target boards. Update comments.
7270 * boards/native-extended-gdbserver.exp
7271 (extended_gdbserver_load_last_file): New, factored out from ...
7272 (gdb_load): ... this. Move further below and add comment.
7273 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
7274
7275 2017-10-12 Pedro Alves <palves@redhat.com>
7276
7277 * gdb.base/attach.exp: Remove references to gdb64.
7278 * gdb.base/dbx.exp: Remove references to gdb64.
7279
7280 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7281 Pedro Alves <palves@redhat.com>
7282
7283 * gdb.base/label.exp: Remove is_remote target check.
7284
7285 2017-10-12 Pedro Alves <palves@redhat.com>
7286
7287 * gdb.base/auvx.exp (coredir): Update comment.
7288 (top level) <core_works>: Use "set cwd" command instead of "cd"
7289 command.
7290
7291 2017-10-12 Pedro Alves <palves@redhat.com>
7292 Simon Marchi <simon.marchi@polymtl.ca>
7293
7294 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
7295 target boards.
7296
7297 2017-10-12 Pedro Alves <palves@redhat.com>
7298 Simon Marchi <simon.marchi@polymtl.ca>
7299
7300 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
7301 Instead skip if there's any gdb_protocol set.
7302
7303 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7304 Pedro Alves <palves@redhat.com>
7305
7306 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
7307
7308 2017-10-12 Pedro Alves <palves@redhat.com>
7309 Simon Marchi <simon.marchi@polymtl.ca>
7310
7311 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
7312 instead of on dejagnu remote boards.
7313
7314 2017-10-12 Pedro Alves <palves@redhat.com>
7315 Simon Marchi <simon.marchi@polymtl.ca>
7316
7317 * gdb.base/inferior-died.exp: Remove is_remote and isnative
7318 checks. Use build_executable + clean_restart instead of
7319 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
7320 of enabling non-stop after starting gdb.
7321
7322 2017-10-12 Pedro Alves <palves@redhat.com>
7323
7324 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
7325 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7326 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7327 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7328
7329 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
7330
7331 * gdb.arch/arc-tdesc-cpu.exp: New file.
7332 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
7333
7334 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
7335
7336 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
7337
7338 2017-10-10 Pedro Alves <palves@redhat.com>
7339
7340 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
7341 expect CLI output.
7342
7343 2017-10-10 Pedro Alves <palves@redhat.com>
7344
7345 * lib/selftest-support.exp (selftest_setup): Update for
7346 captured_command_loop's prototype change.
7347
7348 2017-10-09 Pedro Alves <palves@redhat.com>
7349
7350 Test both arch1=>arch2 and arch2=>arch1.
7351
7352 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
7353 (srcfile2, binfile2, march1, march2): Remove globals. Largely
7354 factored out to...
7355 (append_arch1_options, append_arch2_options, append_arch_options)
7356 (build_executables): New procedures.
7357 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
7358 local.
7359 (top level): Add new 'first_arch' testing axis.
7360
7361 2017-10-09 Pedro Alves <palves@redhat.com>
7362
7363 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
7364 (barrier): New.
7365 (thread_start, all_started): New functions.
7366 (main): Spawn new thread and wait until it is scheduled.
7367 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
7368 option.
7369 (do_test): Add 'selected_thread' parameter. Run to all_started
7370 instead of main. Explicitly set the breakpoint at main. Switch
7371 to the SELECTED_THREAD thread.
7372 (top level): Test handling the exec event with either the main
7373 thread or the second thread selected.
7374
7375 2017-10-09 Pedro Alves <palves@redhat.com>
7376
7377 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
7378 logic. Move STOP marker after the value checks.
7379 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
7380 regexp.
7381
7382 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
7383
7384 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
7385
7386 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
7387
7388 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
7389 integer-to-dfp conversion.
7390 * gdb.base/dfp-test.exp: Likewise.
7391
7392 2017-10-04 Pedro Alves <palves@redhat.com>
7393
7394 * gdb.multi/hangout.c: Include <unistd.h>.
7395 (hangout_loop): New function.
7396 (main): Call alarm. Call hangout_loop in a loop.
7397 * gdb.multi/hello.c: Include <unistd.h>.
7398 (hello_loop): New function.
7399 (main): Call alarm. Call hangout_loop in a loop.
7400 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
7401 inferior with the other selected.
7402
7403 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
7404
7405 * gdb.mi/list-thread-groups-available.exp: New file.
7406 * gdb.mi/list-thread-groups-available.c: New file.
7407
7408 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7409
7410 * gdb.base/set-cwd.exp: Make it available on
7411 native-extended-gdbserver.
7412
7413 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7414
7415 * gdb.base/set-cwd.c: New file.
7416 * gdb.base/set-cwd.exp: Likewise.
7417
7418 2017-10-02 Tom Tromey <tom@tromey.com>
7419
7420 PR rust/22236:
7421 * gdb.rust/simple.rs (main): New variable "fslice".
7422 * gdb.rust/simple.exp: Add slice tests. Update string tests.
7423
7424 2017-10-02 Tom Tromey <tom@tromey.com>
7425
7426 * gdb.rust/simple.exp: Test ptype of a slice.
7427
7428 2017-10-02 Tom Tromey <tom@tromey.com>
7429
7430 * gdb.rust/simple.exp: Test index of slice.
7431
7432 2017-09-27 Tom Tromey <tom@tromey.com>
7433
7434 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
7435
7436 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7437 Pedro Alves <palves@redhat.com>
7438
7439 * gdb.base/compare-sections.exp (get value of read-only section): Read
7440 as unsigned value.
7441 (corrupt read-only section): Likewise and don't set written if patching
7442 failed.
7443
7444 2017-09-21 Kevin Buettner <kevinb@redhat.com>
7445
7446 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7447 files.
7448
7449 2017-09-20 Pedro Alves <palves@redhat.com>
7450
7451 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7452 symbol names in gdb's output.
7453 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7454
7455 2017-09-20 Pedro Alves <palves@redhat.com>
7456
7457 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7458 Rename to ...
7459 (test_list_ambiguous_symbol): ... this and add a symbol name
7460 parameter. Adjust.
7461 (test_list_ambiguous_function): Reimplement on top of
7462 test_list_ambiguous_symbol and also test listing ambiguous
7463 variables.
7464 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7465 (ambiguous_fun): ... this.
7466 (ambiguous_var): New.
7467 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7468 (ambiguous_fun): ... this.
7469 (ambiguous_var): New.
7470
7471 2017-09-19 John Baldwin <jhb@FreeBSD.org>
7472
7473 * gdb.base/starti.c: New file.
7474 * gdb.base/starti.exp: New file.
7475 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7476
7477 2017-09-14 Pedro Alves <palves@redhat.com>
7478
7479 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7480 (top level): Use it instead of runto.
7481
7482 2017-09-11 Tom Tromey <tom@tromey.com>
7483
7484 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7485
7486 2017-09-11 Tom Tromey <tom@tromey.com>
7487
7488 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7489 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7490
7491 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7492
7493 * gdb.fortran/printing-types.exp: New file.
7494 * gdb.fortran/printing-types.exp: New file.
7495
7496 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7497
7498 * gdb.fortran/vla-ptype.exp: Fix typos.
7499 * gdb.fortran/vla-value.exp: Same.
7500
7501 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7502
7503 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7504 * gdb.mi/mi-var-child-f.exp: Likewise.
7505 * gdb.mi/mi-vla-fortran.exp: Likewise.
7506
7507 2017-09-08 Frank Penczek <frank.penczek@intel.com>
7508 Christoph Weinmann <christoph.t.weinmann@intel.com>
7509 Bernhard Heckel <bernhard.heckel@intel.com>
7510
7511 * gdb.fortran/ptr-indentation.f90: New file.
7512 * gdb.fortran/ptr-indentation.exp: New file.
7513
7514 2017-09-05 Tom Tromey <tom@tromey.com>
7515
7516 PR gdb/22010:
7517 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7518
7519 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7520
7521 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7522
7523 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7524
7525 * gdb.threads/tls-nodebug-pie.c: New file.
7526 * gdb.threads/tls-nodebug-pie.exp: New file.
7527
7528 2017-09-05 Tom Tromey <tom@tromey.com>
7529
7530 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7531 for rust.
7532
7533 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7534
7535 * gdb.multi/multi-arch-exec.exp: Test with different
7536 "follow-exec-mode" settings.
7537 (do_test): New procedure.
7538
7539 2017-09-04 Pedro Alves <palves@redhat.com>
7540
7541 * gdb.base/func-static.c (S::method const, S::method volatile)
7542 (S::method volatile const): New methods.
7543 (c_s, v_s, cv_s): New instances.
7544 (main): Call method() on them.
7545 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7546 (cannot_resolve): New procedure.
7547 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7548 print-quote-unquoted columns.
7549 (do_test): Test printing each scope too.
7550
7551 2017-09-04 Pedro Alves <palves@redhat.com>
7552
7553 * gdb.base/local-static.exp: Also test with
7554 class::method::variable wholly quoted.
7555 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7556
7557 2017-09-04 Pedro Alves <palves@redhat.com>
7558
7559 * gdb.base/local-static.c: New.
7560 * gdb.base/local-static.cc: New.
7561 * gdb.base/local-static.exp: New.
7562
7563 2017-09-04 Pedro Alves <palves@redhat.com>
7564
7565 * gdb.asm/asm-source.exp: Add casts to int.
7566 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7567 (dataglobal64_1, dataglobal64_2): New globals.
7568 * gdb.base/nodebug.exp: Test different expressions involving the
7569 new globals, with print, whatis and ptype. Add casts to int.
7570 * gdb.base/solib-display.exp: Add casts to int.
7571 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7572 * gdb.cp/m-static.exp: Add cast to int.
7573 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7574 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7575 tls variable with no debug info without a cast. Test with a cast
7576 to int too.
7577 * gdb.trace/entry-values.exp: Add casts.
7578
7579 2017-09-04 Pedro Alves <palves@redhat.com>
7580
7581 * gdb.base/nodebug.exp: Test that ptype's error about functions
7582 with unknown return type includes the function name too.
7583
7584 2017-09-04 Pedro Alves <palves@redhat.com>
7585
7586 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7587 return type of munmap in infcall.
7588 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7589 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7590 type of ftell in infcall.
7591 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7592 type of getpid in infcall.
7593 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7594 infcall.
7595 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7596 Bail on failure to extract the pid.
7597 * gdb.base/nodebug.c: #include <stdint.h>.
7598 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7599 New functions.
7600 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7601 Change expected output of print/whatis/ptype with functions with
7602 no debug info. Test all supported languages. Call
7603 test_call_promotion.
7604 * gdb.compile/compile.exp: Adjust expected output to expect
7605 warning.
7606 * gdb.threads/siginfo-threads.exp: Likewise.
7607
7608 2017-09-04 Pedro Alves <palves@redhat.com>
7609
7610 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7611 "prototypes". Test calling float functions via prototyped and
7612 unprototyped function pointers.
7613 (perform_all_tests): New parameter "prototypes". Pass it down.
7614 (top level): Pass down "prototypes" parameter to
7615 perform_all_tests.
7616
7617 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7618
7619 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7620 Test with nested loops.
7621
7622 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7623
7624 * gdb.base/commands.exp: Call the new procedures.
7625 (loop_break_test, loop_continue_test): New procedures.
7626
7627 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7628
7629 * gdb.base/commands.exp: Call new procedure.
7630 (define_if_without_arg_test): New procedure.
7631
7632 2017-09-04 Pedro Alves <palves@redhat.com>
7633
7634 * gdb.base/list-ambiguous.exp: New file.
7635 * gdb.base/list-ambiguous0.c: New file.
7636 * gdb.base/list-ambiguous1.c: New file.
7637 * gdb.base/list.exp (test_list_range): Adjust expected output.
7638
7639 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7640
7641 * gdb.base/share-env-with-gdbserver.c: New file.
7642 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7643
7644 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7645
7646 * gdb.base/commands.exp (gdbvar_simple_if_test,
7647 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7648 progvar_simple_if_test, progvar_simple_while_test,
7649 progvar_complex_if_while_test, user_defined_command_test,
7650 user_defined_command_args_eval,
7651 user_defined_command_args_stack_test,
7652 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7653 temporary_breakpoint_commands,
7654 gdb_test_no_prompt, redefine_hook_test,
7655 redefine_backtrace_test): Remove "global gdb_prompt".
7656
7657 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7658
7659 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7660 New proc, call it from toplevel.
7661
7662 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7663
7664 PR remote/21852
7665 * gdb.server/normal.c: New file, copied from gdb.base.
7666 * gdb.server/run-without-local-binary.exp: New file.
7667
7668 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
7669
7670 * gdb.arch/sparc64-adi.exp: New file.
7671 * gdb.arch/sparc64-adi.c: New file.
7672
7673 2017-08-22 Pedro Alves <palves@redhat.com>
7674
7675 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7676 (top level): Add "list all overloads" tests.
7677
7678 2017-08-22 Tom Tromey <tom@tromey.com>
7679
7680 * gdb.gdb/xfullpath.exp: Remove.
7681
7682 2017-08-21 Pedro Alves <palves@redhat.com>
7683
7684 PR gdb/19487
7685 * gdb.base/symbol-alias.c: New.
7686 * gdb.base/symbol-alias2.c: New.
7687 * gdb.base/symbol-alias.exp: New.
7688
7689 2017-08-21 Pedro Alves <palves@redhat.com>
7690
7691 * gdb.base/dfp-test.c
7692 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7693 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7694 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7695 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7696 * gdb.base/whatis-ptype-typedefs.c: New.
7697 * gdb.base/whatis-ptype-typedefs.exp: New.
7698 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7699 (an_int, an_int_type, an_int_type2): New globals.
7700 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7701 involving typedefs and cast expressions.
7702 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7703 (lookup_typedefs_function): New.
7704 (typedefs_pretty_printers_dict): New.
7705 (top level): Register lookup_typedefs_function in
7706 gdb.pretty_printers.
7707
7708 2017-08-18 Yao Qi <yao.qi@linaro.org>
7709
7710 * gdb.server/unittest.exp: New.
7711
7712 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7713
7714 PR gdb/21954
7715 * gdb.base/environ.exp: Add test to check if 'unset environment'
7716 works.
7717
7718 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7719
7720 * lib/gdb.exp (universal_compile_options): New caching proc.
7721 (gdb_compile): Suppress GCC's coloring of messages.
7722
7723 2017-08-14 Tom Tromey <tom@tromey.com>
7724
7725 PR gdb/21675:
7726 * gdb.base/printcmds.exp (test_radices): New function.
7727 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7728 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7729 * lib/gdb.exp (get_integer_valueof): Use p/d.
7730
7731 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7732
7733 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7734 characters.
7735
7736 2017-08-05 Tom Tromey <tom@tromey.com>
7737
7738 * gdb.rust/simple.exp: Allow String to appear in a different
7739 namespace.
7740
7741 2017-07-26 Yao Qi <yao.qi@linaro.org>
7742
7743 * gdb.gdb/unittest.exp: Invoke command
7744 "maintenance check xml-descriptions".
7745
7746 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7747
7748 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7749 calling context.
7750 (hex128): Drop erroneous calculation of parameters.
7751
7752 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7753
7754 * gdb.python/py-unwind.exp: Disable stack protection when
7755 building test file.
7756
7757 2017-07-20 Pedro Alves <palves@redhat.com>
7758
7759 * gdb.base/default.exp (set language): Adjust expected output.
7760
7761 2017-07-20 Pedro Alves <palves@redhat.com>
7762
7763 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7764 (test_minsym): ... this, and make static.
7765 (get_pck__foo__bar__minsym): Rename to ...
7766 (get_test_minsym): ... this.
7767 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7768 symbol names and comments.
7769 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7770 (get_test_minsym): ... this.
7771 (pck__foo__bar__minsym__2): Rename to ...
7772 (test_minsym): ... this.
7773 (main): Adjust.
7774
7775 2017-07-17 Pedro Alves <palves@redhat.com>
7776
7777 * gdb.base/completion.exp: Adjust expected output.
7778 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7779 the completer works.
7780
7781 2017-07-17 Pedro Alves <palves@redhat.com>
7782
7783 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7784
7785 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7786
7787 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7788
7789 2017-07-14 Tom Tromey <tom@tromey.com>
7790
7791 PR rust/21764:
7792 * gdb.rust/simple.exp: Add tests.
7793
7794 2017-07-14 Tom Tromey <tom@tromey.com>
7795
7796 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7797
7798 2017-07-14 Pedro Alves <palves@redhat.com>
7799
7800 * gdb.linespec/base/one/thefile.cc (z1): New function.
7801 * gdb.linespec/base/two/thefile.cc (z2): New function.
7802 * gdb.linespec/linespec.exp: Add tests.
7803
7804 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7805
7806 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7807 to mi_create_breakpoint.
7808
7809 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7810
7811 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7812 mi_create_breakpoint.
7813
7814 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7815
7816 * gdb.dlang/demangle.exp: Update for demangling changes.
7817
7818 2017-07-09 Tom Tromey <tom@tromey.com>
7819
7820 * gdb.dwarf2/shortpiece.exp: New file.
7821
7822 2017-07-06 David Blaikie <dblaikie@gmail.com>
7823
7824 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7825 built from fissiont-multi-cu{1,2}.c.
7826 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7827 except putting 'main' and 'func' in separate CUs in the same DWO file.
7828 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7829 test.
7830 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7831 test.
7832
7833 2017-07-06 Pedro Alves <palves@redhat.com>
7834
7835 * gdb.python/py-unwind.exp: Test flushregs.
7836
7837 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7838
7839 PR cli/21688
7840 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7841 tests for alias commands and trailing whitespace.
7842
7843 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7844
7845 PR cli/21688
7846 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7847 procedure. Call it.
7848
7849 2017-06-29 Pedro Alves <palves@redhat.com>
7850
7851 * gdb.base/printcmds.exp: Add tests.
7852
7853 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7854
7855 PR gdb/21337
7856 * gdb.base/reread-readsym.exp: New file.
7857 * gdb.base/reread-readsym.c: New file.
7858
7859 2017-06-21 Kevin Buettner <kevinb@redhat.com>
7860
7861 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7862 subpattern.
7863
7864 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7865
7866 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7867 extended mnemonic.
7868 * gdb.arch/powerpc-power9.s: Likewise.
7869
7870 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7871
7872 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7873 on 32-bit x86 targets. Exploit is_*_target macros where
7874 appropriate.
7875
7876 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7877
7878 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7879 register pieces.
7880
7881 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7882
7883 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7884 located in one or more DWARF pieces.
7885
7886 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7887
7888 * lib/gdb.exp (get_endianness): New proc.
7889 * gdb.arch/aarch64-fp.exp: Use it.
7890 * gdb.arch/altivec-regs.exp: Likewise.
7891 * gdb.arch/e500-regs.exp: Likewise.
7892 * gdb.arch/vsx-regs.exp: Likewise.
7893 * gdb.base/dump.exp: Likewise.
7894 * gdb.base/funcargs.exp: Likewise.
7895 * gdb.base/gnu_vector.exp: Likewise.
7896 * gdb.dwarf2/formdata16.exp: Likewise.
7897 * gdb.dwarf2/implptrpiece.exp: Likewise.
7898 * gdb.dwarf2/nonvar-access.exp: Likewise.
7899 * gdb.python/py-inferior.exp: Likewise.
7900 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7901
7902 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7903
7904 PR gdb/21226
7905 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7906 stack value pieces are taken from the LSB end.
7907
7908 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7909
7910 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7911 variable at nonzero offset.
7912
7913 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7914
7915 * gdb.dwarf2/var-access.c: New file.
7916 * gdb.dwarf2/var-access.exp: New test.
7917 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7918
7919 2017-06-12 Tom Tromey <tom@tromey.com>
7920
7921 * gdb.dwarf2/formdata16.exp: Add tests.
7922
7923 2017-06-12 Tom Tromey <tom@tromey.com>
7924
7925 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7926
7927 2017-06-12 Tom Tromey <tom@tromey.com>
7928
7929 PR exp/16225:
7930 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7931 * gdb.arch/vsx-regs.exp: Update tests.
7932 * gdb.arch/s390-vregs.exp (hex128): New proc.
7933 Update test.
7934 * gdb.arch/altivec-regs.exp: Update tests.
7935
7936 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7937
7938 * gdb.base/startup-with-shell.c: New file.
7939 * gdb.base/startup-with-shell.exp: Likewise.
7940
7941 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7942
7943 * gdb.server/non-existing-program.exp: Update regex in order to
7944 reflect the fact that gdbserver is now using fork_inferior (with a
7945 shell) to startup the inferior.
7946
7947 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7948
7949 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7950 support function calls from GDB.
7951
7952 2017-05-21 Tom Tromey <tom@tromey.com>
7953
7954 PR rust/21466:
7955 * gdb.rust/unsized.exp: New file.
7956 * gdb.rust/unsized.rs: New file.
7957
7958 2017-05-19 Tom Tromey <tom@tromey.com>
7959
7960 PR rust/21484:
7961 * gdb.rust/watch.exp: New file.
7962 * gdb.rust/watch.rs: New file.
7963
7964 2017-05-18 Tom Tromey <tom@tromey.com>
7965
7966 * gdb.rust/simple.exp: Allow Box to be qualified.
7967
7968 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7969
7970 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7971
7972 2017-05-18 Pedro Alves <palves@redhat.com>
7973
7974 * gdb.base/fileio.c (test_write, test_read, test_close)
7975 (test_fstat): Don't print 'ret' in the fail path.
7976
7977 2017-05-18 Pedro Alves <palves@redhat.com>
7978
7979 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7980 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7981 (test_system, test_rename, test_unlink, test_time): Change
7982 prototypes.
7983 * gdb.base/fileio.exp (stop_msg): Adjust.
7984
7985 2017-05-18 Pedro Alves <palves@redhat.com>
7986
7987 * gdb.base/fileio.c (null_str): New global.
7988 (test_stat): Use it.
7989 * gdb.base/fileio.exp: Remove nowarnings.
7990
7991 2017-05-17 Yao Qi <yao.qi@linaro.org>
7992
7993 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7994
7995 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7996
7997 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7998 argument command.
7999 (top-level): Invoke test_set_inferior_tty.
8000
8001 2017-05-04 Pedro Alves <palves@redhat.com>
8002
8003 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8004 Add parens to print call for Python 3.
8005
8006 2017-05-03 Keith Seitz <keiths@redhat.com>
8007
8008 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8009 (main): Call it.
8010
8011 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8012
8013 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8014 to prev and next.
8015
8016 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8017
8018 * gdb.python/py-record-btrace.exp: Remove test for
8019 gdb.BtraceInstruction.error.
8020
8021 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8022
8023 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8024
8025 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8026
8027 * gdb.python/py-record-btrace-threads.c: New file.
8028 * gdb.python/py-record-btrace-threads.exp: New file.
8029
8030 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8031
8032 PR testsuite/8595
8033 * gdb.base/environ.exp: Make test available in all architectures.
8034 Move bits related to "info program" testing to
8035 gdb.base/info-program.exp. Rewrite tests to use the two new
8036 procedures mentione below.
8037 (test_set_show_env_var) New procedure.
8038 (test_set_show_env_var_equal): Likewise.
8039 * gdb.base/info-program.exp: New file.
8040
8041 2017-04-27 Keith Seitz <keiths@redhat.com>
8042
8043 * gdb.cp/oranking.cc (test15): New function.
8044 (main): Call test15 and declare additional variables for testing.
8045 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8046 "p foo101('abc')" tests.
8047 Add tests for cv qualifier overloads.
8048 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8049 "lvalue reference overload" test.
8050 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8051 "print value of f1 on Child&& in f2" test.
8052
8053 2017-04-19 Pedro Alves <palves@redhat.com>
8054
8055 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8056 procedure.
8057 (top level): Call it.
8058 * lib/gdb.exp (gdb_define_cmd): New procedure.
8059
8060 2017-04-12 Pedro Alves <palves@redhat.com>
8061
8062 PR gdb/21323
8063 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8064 (wchar): New global.
8065 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8066 (do_test_wide_char, wide_char_types_no_program, top level): Add
8067 wchar_t testing.
8068
8069 2017-04-12 Pedro Alves <palves@redhat.com>
8070
8071 PR c++/21323
8072 * gdb.cp/wide_char_types.c: New file.
8073 * gdb.cp/wide_char_types.exp: New file.
8074
8075 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8076
8077 PR gdb/21352
8078 * gdb.trace/tsv.exp: Add test for "tsave -r".
8079
8080 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8081
8082 * gdb.dlang/watch-loc.c: New file.
8083 * gdb.dlang/watch-loc.exp: New file.
8084
8085 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8086
8087 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8088
8089 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8090
8091 * gdb.arch/arc-analyze-prologue.S: New file.
8092 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8093
8094 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8095
8096 * gdb.arch/arc-decode-insn.S: New file.
8097 * gdb.arch/arc-decode-insn.exp: Likewise.
8098
8099 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8100
8101 PR tdep/20928
8102 * gdb.arch/sparc64-regs.exp: New file.
8103 * gdb.arch/sparc64-regs.S: Likewise.
8104
8105 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8106
8107 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8108 and memory view on Python 3.
8109
8110 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
8111 Keith Seitz <keiths@redhat.com>
8112
8113 PR gdb/14441
8114 * gdb.cp/demangle.exp: Add rvalue reference tests.
8115 * gdb.cp/rvalue-ref-casts.cc: New file.
8116 * gdb.cp/rvalue-ref-casts.exp: New file.
8117 * gdb.cp/rvalue-ref-overload.cc: New file.
8118 * gdb.cp/rvalue-ref-overload.exp: New file.
8119 * gdb.cp/rvalue-ref-params.cc: New file.
8120 * gdb.cp/rvalue-ref-params.exp: New file.
8121 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8122 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8123 * gdb.cp/rvalue-ref-types.cc: New file.
8124 * gdb.cp/rvalue-ref-types.exp: New file.
8125 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8126 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8127
8128 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8129
8130 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8131 New procedure.
8132
8133 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8134
8135 * lib/mi-support.exp (mi_gdb_test): Add additional message
8136 for unexpected output.
8137
8138 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8139
8140 * gdb.base/examine-backward.c (Barrier): New character array
8141 constant, to ensure that TestStrings is preceded by a string
8142 terminator.
8143
8144 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8145
8146 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
8147 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
8148 and implicit pointer into such a location.
8149
8150 2017-03-16 Doug Evans <dje@google.com>
8151
8152 * gdb.python/py-lazy-string (pointer): Really add new typedef.
8153
8154 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
8155
8156 * gdb.cp/m-static.exp: Fix expectation for prototype of
8157 test5.single_constructor and single_constructor::single_constructor.
8158
8159 2017-03-16 Doug Evans <dje@google.com>
8160
8161 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
8162 * gdb.guile/scm-lazy-string.c: New file.
8163 * gdb.guile/scm-value.exp: Move lazy string tests to ...
8164 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
8165 for pointer, array, typedef lazy strings.
8166
8167 2017-03-16 Doug Evans <dje@google.com>
8168
8169 PR python/17728, python/18439, python/18779
8170 * gdb.python/py-value.c (main) Delete locals sptr, sn.
8171 * gdb.python/py-lazy-string.c (pointer): New typedef.
8172 (main): New locals ptr, array, typedef_ptr.
8173 * gdb.python/py-value.exp: Move lazy string tests to ...
8174 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
8175 array, typedef lazy strings.
8176
8177 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
8178
8179 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
8180 Add optional 'test' parameter.
8181
8182 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8183
8184 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8185 Skip for versions of DejaGnu < 1.5.
8186
8187 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8188
8189 * lib/gdb.exp (dejagnu_version): New proc.
8190 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8191 Use dejagnu_version.
8192
8193 2017-03-10 Keith Seitz <keiths@redhat.com>
8194
8195 PR c++/8128
8196 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
8197 type from destructor regexps.
8198 Add a branch which actually passes the test.
8199 Adjust "ptype t5i" test names.
8200
8201 2017-03-08 Pedro Alves <palves@redhat.com>
8202
8203 * gdb.base/step-over-exit.exp: Add explicit test message.
8204
8205 2017-03-08 Pedro Alves <palves@redhat.com>
8206
8207 PR gdb/18360
8208 * gdb.threads/interrupt-while-step-over.c: New file.
8209 * gdb.threads/interrupt-while-step-over.exp: New file.
8210
8211 2017-03-08 Pedro Alves <palves@redhat.com>
8212
8213 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
8214 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
8215
8216 2017-03-08 Pedro Alves <palves@redhat.com>
8217
8218 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
8219 PKRU as not supported as a PASS.
8220
8221 2017-03-08 Pedro Alves <palves@redhat.com>
8222
8223 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
8224 prefix instead of $binfile1/$binfile2.
8225 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
8226 in test message.
8227 * gdb.python/py-completion.exp: Use "load python file" as test
8228 messages instead of unstable path names.
8229
8230 2017-03-08 Pedro Alves <palves@redhat.com>
8231 Jan Kratochvil <jan.kratochvil@redhat.com>
8232
8233 PR cli/21218
8234 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8235 New proc.
8236 (top level): Call it.
8237
8238 2017-03-08 Pedro Alves <palves@redhat.com>
8239
8240 PR tui/21216
8241 * gdb.tui/tui-nl-filtered-output.exp: New file.
8242
8243 2017-03-08 Pedro Alves <palves@redhat.com>
8244
8245 * gdb.base/completion.exp: Move TUI completion tests to ...
8246 * gdb.tui/completion.exp: ... this new file.
8247
8248 2017-03-08 Pedro Alves <palves@redhat.com>
8249
8250 * gdb.base/tui-disasm-long-lines.c,
8251 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
8252 gdb.base/tui-layout.exp: Move to ...
8253 * gdb.tui/: ... this new directory.
8254
8255 2017-03-07 Pedro Alves <palves@redhat.com>
8256
8257 * gdb.base/tui-layout.c: New file.
8258 * gdb.base/tui-layout.exp: New file.
8259
8260 2017-03-07 Pedro Alves <palves@redhat.com>
8261
8262 * gdb.base/tui-layout.c: Rename to ...
8263 * gdb.base/tui-disasm-long-lines.c: ... this.
8264 * gdb.base/tui-layout.exp: Rename to ...
8265 * gdb.base/tui-disasm-long-lines.exp: ... this.
8266
8267 2017-03-07 Pedro Alves <palves@redhat.com>
8268
8269 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
8270
8271 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8272
8273 * i386-mpx-call.c: New file.
8274 * i386-mpx-call.exp: New file.
8275
8276 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8277
8278 * gdb.arch/powerpc-power.exp: Delete test.
8279 * gdb.arch/powerpc-power.s: Likewise.
8280 * gdb.disasm/disassembler-options.exp: New test.
8281 * gdb.arch/powerpc-altivec.exp: Likewise.
8282 * gdb.arch/powerpc-altivec.s: Likewise.
8283 * gdb.arch/powerpc-altivec2.exp: Likewise.
8284 * gdb.arch/powerpc-altivec2.s: Likewise.
8285 * gdb.arch/powerpc-altivec3.exp: Likewise.
8286 * gdb.arch/powerpc-altivec3.s: Likewise.
8287 * gdb.arch/powerpc-power7.exp: Likewise.
8288 * gdb.arch/powerpc-power7.s: Likewise.
8289 * gdb.arch/powerpc-power8.exp: Likewise.
8290 * gdb.arch/powerpc-power8.s: Likewise.
8291 * gdb.arch/powerpc-power9.exp: Likewise.
8292 * gdb.arch/powerpc-power9.s: Likewise.
8293 * gdb.arch/powerpc-vsx.exp: Likewise.
8294 * gdb.arch/powerpc-vsx.s: Likewise.
8295 * gdb.arch/powerpc-vsx2.exp: Likewise.
8296 * gdb.arch/powerpc-vsx2.s: Likewise.
8297 * gdb.arch/powerpc-vsx3.exp: Likewise.
8298 * gdb.arch/powerpc-vsx3.s: Likewise.
8299 * gdb.arch/arm-disassembler-options.exp: Likewise.
8300 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
8301 * gdb.arch/s390-disassembler-options.exp: Likewise.
8302
8303 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
8304
8305 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
8306 (check_supported_features): ... this. Changed return type to void.
8307 (supports_rdseed): New static global.
8308 (rdseed): Check supports_rdseed.
8309 (initialize): Call check_supported_features.
8310
8311 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8312
8313 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
8314 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
8315 and lqarx/stqcx.
8316 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
8317 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
8318
8319 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8320
8321 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
8322 uppercase.
8323
8324 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8325
8326 * gdb.dwarf2/formdata16.c: New file.
8327 * gdb.dwarf2/formdata16.exp: New file.
8328 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
8329
8330 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8331
8332 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
8333 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
8334 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
8335 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
8336 DW_AT_GNU_*.
8337
8338 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8339
8340 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
8341
8342 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
8343
8344 PR gdb/21164
8345 * gdb.base/maint.exp: Add testcases for when the commands do
8346 not have arguments.
8347
8348 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
8349
8350 * gdb.cp/chained-calls.exp: Use p instead of P.
8351
8352 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
8353
8354 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
8355 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
8356
8357 2017-02-14 Tom Tromey <tom@tromey.com>
8358
8359 PR python/13598:
8360 * gdb.python/py-events.exp: Add before_prompt event tests.
8361
8362 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8363
8364 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
8365
8366 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
8367
8368 * gdb.linespec/explicit.c (my_unique_function_name): New function.
8369 (main): Call my_unique_function_name.
8370 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
8371 completion of patterns with a single match.
8372 Add missing -re switches to gdb_test_multiple calls.
8373
8374 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
8375
8376 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
8377 return if core file is not recognized.
8378
8379 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8380
8381 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
8382 and extra UIs.
8383
8384 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8385
8386 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
8387 proc_with_prefix.
8388
8389 2017-02-10 Tom Tromey <tom@tromey.com>
8390
8391 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
8392
8393 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
8394
8395 PR gdb/21122
8396 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
8397
8398 2017-02-08 Jerome Guitton <guitton@adacore.com>
8399
8400 * gdb.base/define.exp: Add test for command abbreviations
8401 in define.
8402
8403 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
8404
8405 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
8406 * gdb.reverse/insn-reverse-x86.c: New file.
8407
8408 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8409
8410 PR tdep/20936
8411 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
8412
8413 2017-02-03 Tom Tromey <tom@tromey.com>
8414
8415 PR rust/21097:
8416 * gdb.rust/simple.exp: Add new tests.
8417
8418 2017-02-02 Pedro Alves <palves@redhat.com>
8419
8420 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
8421 tests.
8422
8423 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8424
8425 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
8426 taking a 2-byte value out of a 4-byte DWARF implicit value on
8427 big-endian targets.
8428 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
8429 logic. Add test cases for DW_OP_implicit.
8430
8431 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8432
8433 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
8434
8435 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8436
8437 * gdb.btrace/enable.exp: Call gdb_exit before
8438 skip_gdbserver_tests.
8439
8440 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8441
8442 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8443 GDBFLAGS.
8444
8445 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8446
8447 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8448 the test is skipped.
8449 * gdb.btrace/data.exp: Likewise.
8450 * gdb.btrace/delta.exp: Likewise.
8451 * gdb.btrace/dlopen.exp: Likewise.
8452 * gdb.btrace/enable-running.exp: Likewise.
8453 * gdb.btrace/enable.exp: Likewise.
8454 * gdb.btrace/exception.exp: Likewise.
8455 * gdb.btrace/function_call_history.exp: Likewise.
8456 * gdb.btrace/gcore.exp: Likewise.
8457 * gdb.btrace/instruction_history.exp: Likewise.
8458 * gdb.btrace/multi-thread-step.exp: Likewise.
8459 * gdb.btrace/nohist.exp: Likewise.
8460 * gdb.btrace/non-stop.exp: Likewise.
8461 * gdb.btrace/reconnect.exp: Likewise.
8462 * gdb.btrace/record_goto-step.exp: Likewise.
8463 * gdb.btrace/record_goto.exp: Likewise.
8464 * gdb.btrace/rn-dl-bind.exp: Likewise.
8465 * gdb.btrace/segv.exp: Likewise.
8466 * gdb.btrace/step.exp: Likewise.
8467 * gdb.btrace/stepi.exp: Likewise.
8468 * gdb.btrace/tailcall-only.exp: Likewise.
8469 * gdb.btrace/tailcall.exp: Likewise.
8470 * gdb.btrace/tsx.exp: Likewise.
8471 * gdb.btrace/unknown_functions.exp: Likewise.
8472 * gdb.btrace/vdso.exp: Likewise.
8473
8474 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8475
8476 * gdb.btrace/enable-running.c: New.
8477 * gdb.btrace/enable-running.exp: New.
8478
8479 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8480
8481 * gdb.arch/amd64-gs_base.c: New file.
8482 * gdb.arch/amd64-gs_base.exp: New file.
8483
8484 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8485
8486 * lib/memory.exp: Remove spurious empty newlines.
8487
8488 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8489
8490 * gdb.python/py-bad-printers.exp: Load python file using "source".
8491 * gdb.python/py-events.exp: Likewise.
8492 * gdb.python/py-evsignal.exp: Likewise.
8493 * gdb.python/py-evthreads.exp: Likewise.
8494 * gdb.python/py-frame-args.exp: Likewise.
8495 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8496 * gdb.python/py-framefilter-mi.exp: Likewise.
8497 * gdb.python/py-framefilter.exp: Likewise.
8498 * gdb.python/py-mi.exp: Likewise.
8499 * gdb.python/py-pp-maint.exp: Likewise.
8500 * gdb.python/py-pp-registration.exp: Likewise.
8501 * gdb.python/py-prettyprint.exp: Likewise.
8502 (run_lang_tests): Likewise.
8503 * gdb.python/py-typeprint.exp: Likewise.
8504
8505 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8506
8507 * lib/memory.exp: New file.
8508 * lib/gdb.exp: Load memory.exp.
8509 * gdb.base/memattr.exp (delete_memory): Move proc to
8510 lib/memory.exp and rename to delete_memory_regions.
8511 Replace delete_memory with delete_memory_regions.
8512 Cleanup memory regions before tests.
8513 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8514 before tests.
8515
8516 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8517
8518 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8519 files.
8520 (initialize): New function conditionally defined.
8521 (testcases): Move within conditional block.
8522 (main): Call initialize.
8523 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8524 of gdb.reverse/insn-reverse.c.
8525 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8526 gdb.reverse/insn-reverse.c.
8527
8528 2017-01-26 Yao Qi <yao.qi@linaro.org>
8529
8530 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8531 disassemble on address 0.
8532
8533 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8534 Yao Qi <yao.qi@linaro.org>
8535
8536 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8537 * gdb.dwarf2/implptr-64bit.S: Remove.
8538 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8539 variables in caller's context. Add DW_OP_implicit_value.
8540
8541 2017-01-25 Yao Qi <yao.qi@linaro.org>
8542
8543 * lib/dwarf.exp (Dwarf::_location): Handle
8544 DW_OP_GNU_implicit_pointer with proper size.
8545
8546 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8547
8548 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8549 and add untested calls.
8550
8551 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8552
8553 * gdb.python/python.exp: Check line number against what GDB thinks
8554 the line number is for func1.
8555
8556 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8557
8558 * gdb.dlang/debug-expr.exp: New file.
8559
8560 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
8561
8562 Fix test names for the following files:
8563
8564 * gdb.ada/exec_changed.exp
8565 * gdb.ada/info_types.exp
8566 * gdb.arch/aarch64-atomic-inst.exp
8567 * gdb.arch/aarch64-fp.exp
8568 * gdb.arch/altivec-abi.exp
8569 * gdb.arch/altivec-regs.exp
8570 * gdb.arch/amd64-byte.exp
8571 * gdb.arch/amd64-disp-step.exp
8572 * gdb.arch/amd64-dword.exp
8573 * gdb.arch/amd64-entry-value-inline.exp
8574 * gdb.arch/amd64-entry-value-param.exp
8575 * gdb.arch/amd64-entry-value-paramref.exp
8576 * gdb.arch/amd64-entry-value.exp
8577 * gdb.arch/amd64-i386-address.exp
8578 * gdb.arch/amd64-invalid-stack-middle.exp
8579 * gdb.arch/amd64-invalid-stack-top.exp
8580 * gdb.arch/amd64-optimout-repeat.exp
8581 * gdb.arch/amd64-prologue-skip.exp
8582 * gdb.arch/amd64-prologue-xmm.exp
8583 * gdb.arch/amd64-stap-special-operands.exp
8584 * gdb.arch/amd64-stap-wrong-subexp.exp
8585 * gdb.arch/amd64-tailcall-cxx.exp
8586 * gdb.arch/amd64-tailcall-noret.exp
8587 * gdb.arch/amd64-tailcall-ret.exp
8588 * gdb.arch/amd64-tailcall-self.exp
8589 * gdb.arch/amd64-word.exp
8590 * gdb.arch/arm-bl-branch-dest.exp
8591 * gdb.arch/arm-disp-step.exp
8592 * gdb.arch/arm-neon.exp
8593 * gdb.arch/arm-single-step-kernel-helper.exp
8594 * gdb.arch/avr-flash-qualifier.exp
8595 * gdb.arch/disp-step-insn-reloc.exp
8596 * gdb.arch/e500-abi.exp
8597 * gdb.arch/e500-regs.exp
8598 * gdb.arch/ftrace-insn-reloc.exp
8599 * gdb.arch/i386-avx512.exp
8600 * gdb.arch/i386-bp_permanent.exp
8601 * gdb.arch/i386-byte.exp
8602 * gdb.arch/i386-cfi-notcurrent.exp
8603 * gdb.arch/i386-disp-step.exp
8604 * gdb.arch/i386-dr3-watch.exp
8605 * gdb.arch/i386-float.exp
8606 * gdb.arch/i386-gnu-cfi.exp
8607 * gdb.arch/i386-mpx-map.exp
8608 * gdb.arch/i386-mpx-sigsegv.exp
8609 * gdb.arch/i386-mpx-simple_segv.exp
8610 * gdb.arch/i386-mpx.exp
8611 * gdb.arch/i386-permbkpt.exp
8612 * gdb.arch/i386-prologue.exp
8613 * gdb.arch/i386-signal.exp
8614 * gdb.arch/i386-size-overlap.exp
8615 * gdb.arch/i386-unwind.exp
8616 * gdb.arch/i386-word.exp
8617 * gdb.arch/mips-fcr.exp
8618 * gdb.arch/powerpc-d128-regs.exp
8619 * gdb.arch/powerpc-stackless.exp
8620 * gdb.arch/ppc64-atomic-inst.exp
8621 * gdb.arch/s390-stackless.exp
8622 * gdb.arch/s390-tdbregs.exp
8623 * gdb.arch/s390-vregs.exp
8624 * gdb.arch/sparc-sysstep.exp
8625 * gdb.arch/thumb-bx-pc.exp
8626 * gdb.arch/thumb-singlestep.exp
8627 * gdb.arch/thumb2-it.exp
8628 * gdb.arch/vsx-regs.exp
8629 * gdb.asm/asm-source.exp
8630 * gdb.base/a2-run.exp
8631 * gdb.base/advance.exp
8632 * gdb.base/all-bin.exp
8633 * gdb.base/anon.exp
8634 * gdb.base/args.exp
8635 * gdb.base/arithmet.exp
8636 * gdb.base/async-shell.exp
8637 * gdb.base/async.exp
8638 * gdb.base/attach-pie-noexec.exp
8639 * gdb.base/attach-twice.exp
8640 * gdb.base/auto-load.exp
8641 * gdb.base/bang.exp
8642 * gdb.base/bitfields.exp
8643 * gdb.base/break-always.exp
8644 * gdb.base/break-caller-line.exp
8645 * gdb.base/break-entry.exp
8646 * gdb.base/break-inline.exp
8647 * gdb.base/break-on-linker-gcd-function.exp
8648 * gdb.base/break-probes.exp
8649 * gdb.base/break.exp
8650 * gdb.base/breakpoint-shadow.exp
8651 * gdb.base/call-ar-st.exp
8652 * gdb.base/call-sc.exp
8653 * gdb.base/call-signal-resume.exp
8654 * gdb.base/call-strs.exp
8655 * gdb.base/callfuncs.exp
8656 * gdb.base/catch-fork-static.exp
8657 * gdb.base/catch-gdb-caused-signals.exp
8658 * gdb.base/catch-load.exp
8659 * gdb.base/catch-signal-fork.exp
8660 * gdb.base/catch-signal.exp
8661 * gdb.base/catch-syscall.exp
8662 * gdb.base/charset.exp
8663 * gdb.base/checkpoint.exp
8664 * gdb.base/chng-syms.exp
8665 * gdb.base/code-expr.exp
8666 * gdb.base/code_elim.exp
8667 * gdb.base/commands.exp
8668 * gdb.base/completion.exp
8669 * gdb.base/complex.exp
8670 * gdb.base/cond-expr.exp
8671 * gdb.base/condbreak.exp
8672 * gdb.base/consecutive.exp
8673 * gdb.base/continue-all-already-running.exp
8674 * gdb.base/coredump-filter.exp
8675 * gdb.base/corefile.exp
8676 * gdb.base/dbx.exp
8677 * gdb.base/debug-expr.exp
8678 * gdb.base/define.exp
8679 * gdb.base/del.exp
8680 * gdb.base/disabled-location.exp
8681 * gdb.base/disasm-end-cu.exp
8682 * gdb.base/disasm-optim.exp
8683 * gdb.base/display.exp
8684 * gdb.base/duplicate-bp.exp
8685 * gdb.base/ena-dis-br.exp
8686 * gdb.base/ending-run.exp
8687 * gdb.base/enumval.exp
8688 * gdb.base/environ.exp
8689 * gdb.base/eu-strip-infcall.exp
8690 * gdb.base/eval-avoid-side-effects.exp
8691 * gdb.base/eval-skip.exp
8692 * gdb.base/exitsignal.exp
8693 * gdb.base/expand-psymtabs.exp
8694 * gdb.base/filesym.exp
8695 * gdb.base/find-unmapped.exp
8696 * gdb.base/finish.exp
8697 * gdb.base/float.exp
8698 * gdb.base/foll-exec-mode.exp
8699 * gdb.base/foll-exec.exp
8700 * gdb.base/foll-fork.exp
8701 * gdb.base/fortran-sym-case.exp
8702 * gdb.base/freebpcmd.exp
8703 * gdb.base/func-ptr.exp
8704 * gdb.base/func-ptrs.exp
8705 * gdb.base/funcargs.exp
8706 * gdb.base/gcore-buffer-overflow.exp
8707 * gdb.base/gcore-relro-pie.exp
8708 * gdb.base/gcore-relro.exp
8709 * gdb.base/gcore.exp
8710 * gdb.base/gdb1090.exp
8711 * gdb.base/gdb11530.exp
8712 * gdb.base/gdb11531.exp
8713 * gdb.base/gdb1821.exp
8714 * gdb.base/gdbindex-stabs.exp
8715 * gdb.base/gdbvars.exp
8716 * gdb.base/hbreak.exp
8717 * gdb.base/hbreak2.exp
8718 * gdb.base/included.exp
8719 * gdb.base/infcall-input.exp
8720 * gdb.base/inferior-died.exp
8721 * gdb.base/infnan.exp
8722 * gdb.base/info-macros.exp
8723 * gdb.base/info-os.exp
8724 * gdb.base/info-proc.exp
8725 * gdb.base/info-shared.exp
8726 * gdb.base/info-target.exp
8727 * gdb.base/infoline.exp
8728 * gdb.base/interp.exp
8729 * gdb.base/interrupt.exp
8730 * gdb.base/jit-reader.exp
8731 * gdb.base/jit-simple.exp
8732 * gdb.base/kill-after-signal.exp
8733 * gdb.base/kill-detach-inferiors-cmd.exp
8734 * gdb.base/label.exp
8735 * gdb.base/langs.exp
8736 * gdb.base/ldbl_e308.exp
8737 * gdb.base/line-symtabs.exp
8738 * gdb.base/linespecs.exp
8739 * gdb.base/list.exp
8740 * gdb.base/long_long.exp
8741 * gdb.base/longest-types.exp
8742 * gdb.base/maint.exp
8743 * gdb.base/max-value-size.exp
8744 * gdb.base/memattr.exp
8745 * gdb.base/mips_pro.exp
8746 * gdb.base/morestack.exp
8747 * gdb.base/moribund-step.exp
8748 * gdb.base/multi-forks.exp
8749 * gdb.base/nested-addr.exp
8750 * gdb.base/nextoverexit.exp
8751 * gdb.base/noreturn-finish.exp
8752 * gdb.base/noreturn-return.exp
8753 * gdb.base/nostdlib.exp
8754 * gdb.base/offsets.exp
8755 * gdb.base/opaque.exp
8756 * gdb.base/pc-fp.exp
8757 * gdb.base/permissions.exp
8758 * gdb.base/print-symbol-loading.exp
8759 * gdb.base/prologue-include.exp
8760 * gdb.base/psymtab.exp
8761 * gdb.base/ptype.exp
8762 * gdb.base/random-signal.exp
8763 * gdb.base/randomize.exp
8764 * gdb.base/range-stepping.exp
8765 * gdb.base/readline-ask.exp
8766 * gdb.base/recpar.exp
8767 * gdb.base/recurse.exp
8768 * gdb.base/relational.exp
8769 * gdb.base/restore.exp
8770 * gdb.base/return-nodebug.exp
8771 * gdb.base/return.exp
8772 * gdb.base/run-after-attach.exp
8773 * gdb.base/save-bp.exp
8774 * gdb.base/scope.exp
8775 * gdb.base/sect-cmd.exp
8776 * gdb.base/set-lang-auto.exp
8777 * gdb.base/set-noassign.exp
8778 * gdb.base/setvar.exp
8779 * gdb.base/sigall.exp
8780 * gdb.base/sigbpt.exp
8781 * gdb.base/siginfo-addr.exp
8782 * gdb.base/siginfo-infcall.exp
8783 * gdb.base/siginfo-obj.exp
8784 * gdb.base/siginfo.exp
8785 * gdb.base/signals-state-child.exp
8786 * gdb.base/signest.exp
8787 * gdb.base/sigstep.exp
8788 * gdb.base/sizeof.exp
8789 * gdb.base/skip.exp
8790 * gdb.base/solib-corrupted.exp
8791 * gdb.base/solib-nodir.exp
8792 * gdb.base/solib-search.exp
8793 * gdb.base/stack-checking.exp
8794 * gdb.base/stale-infcall.exp
8795 * gdb.base/stap-probe.exp
8796 * gdb.base/start.exp
8797 * gdb.base/step-break.exp
8798 * gdb.base/step-bt.exp
8799 * gdb.base/step-line.exp
8800 * gdb.base/step-over-exit.exp
8801 * gdb.base/step-over-syscall.exp
8802 * gdb.base/step-resume-infcall.exp
8803 * gdb.base/step-test.exp
8804 * gdb.base/store.exp
8805 * gdb.base/structs3.exp
8806 * gdb.base/sym-file.exp
8807 * gdb.base/symbol-without-target_section.exp
8808 * gdb.base/term.exp
8809 * gdb.base/testenv.exp
8810 * gdb.base/ui-redirect.exp
8811 * gdb.base/until.exp
8812 * gdb.base/unwindonsignal.exp
8813 * gdb.base/value-double-free.exp
8814 * gdb.base/vla-datatypes.exp
8815 * gdb.base/vla-ptr.exp
8816 * gdb.base/vla-sideeffect.exp
8817 * gdb.base/volatile.exp
8818 * gdb.base/watch-cond-infcall.exp
8819 * gdb.base/watch-cond.exp
8820 * gdb.base/watch-non-mem.exp
8821 * gdb.base/watch-read.exp
8822 * gdb.base/watch-vfork.exp
8823 * gdb.base/watchpoint-cond-gone.exp
8824 * gdb.base/watchpoint-delete.exp
8825 * gdb.base/watchpoint-hw-hit-once.exp
8826 * gdb.base/watchpoint-hw.exp
8827 * gdb.base/watchpoint-stops-at-right-insn.exp
8828 * gdb.base/watchpoints.exp
8829 * gdb.base/wchar.exp
8830 * gdb.base/whatis-exp.exp
8831 * gdb.btrace/buffer-size.exp
8832 * gdb.btrace/data.exp
8833 * gdb.btrace/delta.exp
8834 * gdb.btrace/dlopen.exp
8835 * gdb.btrace/enable.exp
8836 * gdb.btrace/exception.exp
8837 * gdb.btrace/function_call_history.exp
8838 * gdb.btrace/gcore.exp
8839 * gdb.btrace/instruction_history.exp
8840 * gdb.btrace/nohist.exp
8841 * gdb.btrace/reconnect.exp
8842 * gdb.btrace/record_goto-step.exp
8843 * gdb.btrace/record_goto.exp
8844 * gdb.btrace/rn-dl-bind.exp
8845 * gdb.btrace/segv.exp
8846 * gdb.btrace/step.exp
8847 * gdb.btrace/stepi.exp
8848 * gdb.btrace/tailcall-only.exp
8849 * gdb.btrace/tailcall.exp
8850 * gdb.btrace/tsx.exp
8851 * gdb.btrace/unknown_functions.exp
8852 * gdb.btrace/vdso.exp
8853 * gdb.compile/compile-ifunc.exp
8854 * gdb.compile/compile-ops.exp
8855 * gdb.compile/compile-print.exp
8856 * gdb.compile/compile-setjmp.exp
8857 * gdb.cp/abstract-origin.exp
8858 * gdb.cp/ambiguous.exp
8859 * gdb.cp/annota2.exp
8860 * gdb.cp/annota3.exp
8861 * gdb.cp/anon-ns.exp
8862 * gdb.cp/anon-struct.exp
8863 * gdb.cp/anon-union.exp
8864 * gdb.cp/arg-reference.exp
8865 * gdb.cp/baseenum.exp
8866 * gdb.cp/bool.exp
8867 * gdb.cp/breakpoint.exp
8868 * gdb.cp/bs15503.exp
8869 * gdb.cp/call-c.exp
8870 * gdb.cp/casts.exp
8871 * gdb.cp/chained-calls.exp
8872 * gdb.cp/class2.exp
8873 * gdb.cp/classes.exp
8874 * gdb.cp/cmpd-minsyms.exp
8875 * gdb.cp/converts.exp
8876 * gdb.cp/cp-relocate.exp
8877 * gdb.cp/cpcompletion.exp
8878 * gdb.cp/cpexprs.exp
8879 * gdb.cp/cplabel.exp
8880 * gdb.cp/cplusfuncs.exp
8881 * gdb.cp/cpsizeof.exp
8882 * gdb.cp/ctti.exp
8883 * gdb.cp/derivation.exp
8884 * gdb.cp/destrprint.exp
8885 * gdb.cp/dispcxx.exp
8886 * gdb.cp/enum-class.exp
8887 * gdb.cp/exception.exp
8888 * gdb.cp/exceptprint.exp
8889 * gdb.cp/expand-psymtabs-cxx.exp
8890 * gdb.cp/expand-sals.exp
8891 * gdb.cp/extern-c.exp
8892 * gdb.cp/filename.exp
8893 * gdb.cp/formatted-ref.exp
8894 * gdb.cp/fpointer.exp
8895 * gdb.cp/gdb1355.exp
8896 * gdb.cp/gdb2495.exp
8897 * gdb.cp/hang.exp
8898 * gdb.cp/impl-this.exp
8899 * gdb.cp/infcall-dlopen.exp
8900 * gdb.cp/inherit.exp
8901 * gdb.cp/iostream.exp
8902 * gdb.cp/koenig.exp
8903 * gdb.cp/local.exp
8904 * gdb.cp/m-data.exp
8905 * gdb.cp/m-static.exp
8906 * gdb.cp/mb-ctor.exp
8907 * gdb.cp/mb-inline.exp
8908 * gdb.cp/mb-templates.exp
8909 * gdb.cp/member-name.exp
8910 * gdb.cp/member-ptr.exp
8911 * gdb.cp/meth-typedefs.exp
8912 * gdb.cp/method.exp
8913 * gdb.cp/method2.exp
8914 * gdb.cp/minsym-fallback.exp
8915 * gdb.cp/misc.exp
8916 * gdb.cp/namelessclass.exp
8917 * gdb.cp/namespace-enum.exp
8918 * gdb.cp/namespace-nested-import.exp
8919 * gdb.cp/namespace.exp
8920 * gdb.cp/nextoverthrow.exp
8921 * gdb.cp/no-dmgl-verbose.exp
8922 * gdb.cp/non-trivial-retval.exp
8923 * gdb.cp/noparam.exp
8924 * gdb.cp/nsdecl.exp
8925 * gdb.cp/nsimport.exp
8926 * gdb.cp/nsnested.exp
8927 * gdb.cp/nsnoimports.exp
8928 * gdb.cp/nsrecurs.exp
8929 * gdb.cp/nsstress.exp
8930 * gdb.cp/nsusing.exp
8931 * gdb.cp/operator.exp
8932 * gdb.cp/oranking.exp
8933 * gdb.cp/overload-const.exp
8934 * gdb.cp/overload.exp
8935 * gdb.cp/ovldbreak.exp
8936 * gdb.cp/ovsrch.exp
8937 * gdb.cp/paren-type.exp
8938 * gdb.cp/parse-lang.exp
8939 * gdb.cp/pass-by-ref.exp
8940 * gdb.cp/pr-1023.exp
8941 * gdb.cp/pr-1210.exp
8942 * gdb.cp/pr-574.exp
8943 * gdb.cp/pr10687.exp
8944 * gdb.cp/pr12028.exp
8945 * gdb.cp/pr17132.exp
8946 * gdb.cp/pr17494.exp
8947 * gdb.cp/pr9067.exp
8948 * gdb.cp/pr9167.exp
8949 * gdb.cp/pr9631.exp
8950 * gdb.cp/printmethod.exp
8951 * gdb.cp/psmang.exp
8952 * gdb.cp/psymtab-parameter.exp
8953 * gdb.cp/ptype-cv-cp.exp
8954 * gdb.cp/ptype-flags.exp
8955 * gdb.cp/re-set-overloaded.exp
8956 * gdb.cp/ref-types.exp
8957 * gdb.cp/rtti.exp
8958 * gdb.cp/scope-err.exp
8959 * gdb.cp/shadow.exp
8960 * gdb.cp/smartp.exp
8961 * gdb.cp/static-method.exp
8962 * gdb.cp/static-print-quit.exp
8963 * gdb.cp/temargs.exp
8964 * gdb.cp/templates.exp
8965 * gdb.cp/try_catch.exp
8966 * gdb.cp/typedef-operator.exp
8967 * gdb.cp/typeid.exp
8968 * gdb.cp/userdef.exp
8969 * gdb.cp/using-crash.exp
8970 * gdb.cp/var-tag.exp
8971 * gdb.cp/virtbase.exp
8972 * gdb.cp/virtfunc.exp
8973 * gdb.cp/virtfunc2.exp
8974 * gdb.cp/vla-cxx.exp
8975 * gdb.disasm/t01_mov.exp
8976 * gdb.disasm/t02_mova.exp
8977 * gdb.disasm/t03_add.exp
8978 * gdb.disasm/t04_sub.exp
8979 * gdb.disasm/t05_cmp.exp
8980 * gdb.disasm/t06_ari2.exp
8981 * gdb.disasm/t07_ari3.exp
8982 * gdb.disasm/t08_or.exp
8983 * gdb.disasm/t09_xor.exp
8984 * gdb.disasm/t10_and.exp
8985 * gdb.disasm/t11_logs.exp
8986 * gdb.disasm/t12_bit.exp
8987 * gdb.disasm/t13_otr.exp
8988 * gdb.dlang/circular.exp
8989 * gdb.dwarf2/arr-stride.exp
8990 * gdb.dwarf2/arr-subrange.exp
8991 * gdb.dwarf2/atomic-type.exp
8992 * gdb.dwarf2/bad-regnum.exp
8993 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8994 * gdb.dwarf2/callframecfa.exp
8995 * gdb.dwarf2/clztest.exp
8996 * gdb.dwarf2/corrupt.exp
8997 * gdb.dwarf2/data-loc.exp
8998 * gdb.dwarf2/dup-psym.exp
8999 * gdb.dwarf2/dw2-anon-mptr.exp
9000 * gdb.dwarf2/dw2-anonymous-func.exp
9001 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9002 * gdb.dwarf2/dw2-bad-unresolved.exp
9003 * gdb.dwarf2/dw2-basic.exp
9004 * gdb.dwarf2/dw2-canonicalize-type.exp
9005 * gdb.dwarf2/dw2-case-insensitive.exp
9006 * gdb.dwarf2/dw2-common-block.exp
9007 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9008 * gdb.dwarf2/dw2-compressed.exp
9009 * gdb.dwarf2/dw2-const.exp
9010 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9011 * gdb.dwarf2/dw2-cu-size.exp
9012 * gdb.dwarf2/dw2-dup-frame.exp
9013 * gdb.dwarf2/dw2-entry-value.exp
9014 * gdb.dwarf2/dw2-icycle.exp
9015 * gdb.dwarf2/dw2-ifort-parameter.exp
9016 * gdb.dwarf2/dw2-inline-break.exp
9017 * gdb.dwarf2/dw2-inline-param.exp
9018 * gdb.dwarf2/dw2-intercu.exp
9019 * gdb.dwarf2/dw2-intermix.exp
9020 * gdb.dwarf2/dw2-lexical-block-bare.exp
9021 * gdb.dwarf2/dw2-linkage-name-trust.exp
9022 * gdb.dwarf2/dw2-minsym-in-cu.exp
9023 * gdb.dwarf2/dw2-noloc.exp
9024 * gdb.dwarf2/dw2-op-call.exp
9025 * gdb.dwarf2/dw2-op-out-param.exp
9026 * gdb.dwarf2/dw2-opt-structptr.exp
9027 * gdb.dwarf2/dw2-param-error.exp
9028 * gdb.dwarf2/dw2-producer.exp
9029 * gdb.dwarf2/dw2-ranges-base.exp
9030 * gdb.dwarf2/dw2-ref-missing-frame.exp
9031 * gdb.dwarf2/dw2-reg-undefined.exp
9032 * gdb.dwarf2/dw2-regno-invalid.exp
9033 * gdb.dwarf2/dw2-restore.exp
9034 * gdb.dwarf2/dw2-restrict.exp
9035 * gdb.dwarf2/dw2-single-line-discriminators.exp
9036 * gdb.dwarf2/dw2-strp.exp
9037 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9038 * gdb.dwarf2/dw2-unresolved.exp
9039 * gdb.dwarf2/dw2-var-zero-addr.exp
9040 * gdb.dwarf2/dw4-sig-types.exp
9041 * gdb.dwarf2/dwz.exp
9042 * gdb.dwarf2/dynarr-ptr.exp
9043 * gdb.dwarf2/enum-type.exp
9044 * gdb.dwarf2/gdb-index.exp
9045 * gdb.dwarf2/implptr-64bit.exp
9046 * gdb.dwarf2/implptr-optimized-out.exp
9047 * gdb.dwarf2/implptr.exp
9048 * gdb.dwarf2/implref-array.exp
9049 * gdb.dwarf2/implref-const.exp
9050 * gdb.dwarf2/implref-global.exp
9051 * gdb.dwarf2/implref-struct.exp
9052 * gdb.dwarf2/mac-fileno.exp
9053 * gdb.dwarf2/main-subprogram.exp
9054 * gdb.dwarf2/member-ptr-forwardref.exp
9055 * gdb.dwarf2/method-ptr.exp
9056 * gdb.dwarf2/missing-sig-type.exp
9057 * gdb.dwarf2/nonvar-access.exp
9058 * gdb.dwarf2/opaque-type-lookup.exp
9059 * gdb.dwarf2/pieces-optimized-out.exp
9060 * gdb.dwarf2/pieces.exp
9061 * gdb.dwarf2/pr10770.exp
9062 * gdb.dwarf2/pr13961.exp
9063 * gdb.dwarf2/staticvirtual.exp
9064 * gdb.dwarf2/subrange.exp
9065 * gdb.dwarf2/symtab-producer.exp
9066 * gdb.dwarf2/trace-crash.exp
9067 * gdb.dwarf2/typeddwarf.exp
9068 * gdb.dwarf2/valop.exp
9069 * gdb.dwarf2/watch-notconst.exp
9070 * gdb.fortran/array-element.exp
9071 * gdb.fortran/charset.exp
9072 * gdb.fortran/common-block.exp
9073 * gdb.fortran/complex.exp
9074 * gdb.fortran/derived-type-function.exp
9075 * gdb.fortran/derived-type.exp
9076 * gdb.fortran/logical.exp
9077 * gdb.fortran/module.exp
9078 * gdb.fortran/multi-dim.exp
9079 * gdb.fortran/nested-funcs.exp
9080 * gdb.fortran/print-formatted.exp
9081 * gdb.fortran/subarray.exp
9082 * gdb.fortran/vla-alloc-assoc.exp
9083 * gdb.fortran/vla-datatypes.exp
9084 * gdb.fortran/vla-history.exp
9085 * gdb.fortran/vla-ptr-info.exp
9086 * gdb.fortran/vla-ptype-sub.exp
9087 * gdb.fortran/vla-ptype.exp
9088 * gdb.fortran/vla-sizeof.exp
9089 * gdb.fortran/vla-type.exp
9090 * gdb.fortran/vla-value-sub-arbitrary.exp
9091 * gdb.fortran/vla-value-sub-finish.exp
9092 * gdb.fortran/vla-value-sub.exp
9093 * gdb.fortran/vla-value.exp
9094 * gdb.fortran/whatis_type.exp
9095 * gdb.go/chan.exp
9096 * gdb.go/handcall.exp
9097 * gdb.go/hello.exp
9098 * gdb.go/integers.exp
9099 * gdb.go/methods.exp
9100 * gdb.go/package.exp
9101 * gdb.go/strings.exp
9102 * gdb.go/types.exp
9103 * gdb.go/unsafe.exp
9104 * gdb.guile/scm-arch.exp
9105 * gdb.guile/scm-block.exp
9106 * gdb.guile/scm-breakpoint.exp
9107 * gdb.guile/scm-cmd.exp
9108 * gdb.guile/scm-disasm.exp
9109 * gdb.guile/scm-equal.exp
9110 * gdb.guile/scm-frame-args.exp
9111 * gdb.guile/scm-frame-inline.exp
9112 * gdb.guile/scm-frame.exp
9113 * gdb.guile/scm-iterator.exp
9114 * gdb.guile/scm-math.exp
9115 * gdb.guile/scm-objfile.exp
9116 * gdb.guile/scm-ports.exp
9117 * gdb.guile/scm-symbol.exp
9118 * gdb.guile/scm-symtab.exp
9119 * gdb.guile/scm-value-cc.exp
9120 * gdb.guile/types-module.exp
9121 * gdb.linespec/break-ask.exp
9122 * gdb.linespec/cpexplicit.exp
9123 * gdb.linespec/explicit.exp
9124 * gdb.linespec/keywords.exp
9125 * gdb.linespec/linespec.exp
9126 * gdb.linespec/ls-dollar.exp
9127 * gdb.linespec/ls-errs.exp
9128 * gdb.linespec/skip-two.exp
9129 * gdb.linespec/thread.exp
9130 * gdb.mi/mi-async.exp
9131 * gdb.mi/mi-basics.exp
9132 * gdb.mi/mi-break.exp
9133 * gdb.mi/mi-catch-load.exp
9134 * gdb.mi/mi-cli.exp
9135 * gdb.mi/mi-cmd-param-changed.exp
9136 * gdb.mi/mi-console.exp
9137 * gdb.mi/mi-detach.exp
9138 * gdb.mi/mi-disassemble.exp
9139 * gdb.mi/mi-eval.exp
9140 * gdb.mi/mi-file-transfer.exp
9141 * gdb.mi/mi-file.exp
9142 * gdb.mi/mi-fill-memory.exp
9143 * gdb.mi/mi-inheritance-syntax-error.exp
9144 * gdb.mi/mi-linespec-err-cp.exp
9145 * gdb.mi/mi-logging.exp
9146 * gdb.mi/mi-memory-changed.exp
9147 * gdb.mi/mi-read-memory.exp
9148 * gdb.mi/mi-record-changed.exp
9149 * gdb.mi/mi-reg-undefined.exp
9150 * gdb.mi/mi-regs.exp
9151 * gdb.mi/mi-return.exp
9152 * gdb.mi/mi-reverse.exp
9153 * gdb.mi/mi-simplerun.exp
9154 * gdb.mi/mi-solib.exp
9155 * gdb.mi/mi-stack.exp
9156 * gdb.mi/mi-stepi.exp
9157 * gdb.mi/mi-syn-frame.exp
9158 * gdb.mi/mi-until.exp
9159 * gdb.mi/mi-var-block.exp
9160 * gdb.mi/mi-var-child.exp
9161 * gdb.mi/mi-var-cmd.exp
9162 * gdb.mi/mi-var-cp.exp
9163 * gdb.mi/mi-var-display.exp
9164 * gdb.mi/mi-var-invalidate.exp
9165 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
9166 * gdb.mi/mi-vla-fortran.exp
9167 * gdb.mi/mi-watch.exp
9168 * gdb.mi/mi2-var-child.exp
9169 * gdb.mi/user-selected-context-sync.exp
9170 * gdb.modula2/unbounded-array.exp
9171 * gdb.multi/dummy-frame-restore.exp
9172 * gdb.multi/multi-arch-exec.exp
9173 * gdb.multi/multi-arch.exp
9174 * gdb.multi/tids.exp
9175 * gdb.multi/watchpoint-multi.exp
9176 * gdb.opencl/callfuncs.exp
9177 * gdb.opencl/convs_casts.exp
9178 * gdb.opencl/datatypes.exp
9179 * gdb.opencl/operators.exp
9180 * gdb.opencl/vec_comps.exp
9181 * gdb.opt/clobbered-registers-O2.exp
9182 * gdb.opt/inline-break.exp
9183 * gdb.opt/inline-bt.exp
9184 * gdb.opt/inline-cmds.exp
9185 * gdb.opt/inline-locals.exp
9186 * gdb.pascal/case-insensitive-symbols.exp
9187 * gdb.pascal/floats.exp
9188 * gdb.pascal/gdb11492.exp
9189 * gdb.python/lib-types.exp
9190 * gdb.python/py-arch.exp
9191 * gdb.python/py-as-string.exp
9192 * gdb.python/py-bad-printers.exp
9193 * gdb.python/py-block.exp
9194 * gdb.python/py-breakpoint-create-fail.exp
9195 * gdb.python/py-breakpoint.exp
9196 * gdb.python/py-caller-is.exp
9197 * gdb.python/py-cmd.exp
9198 * gdb.python/py-explore-cc.exp
9199 * gdb.python/py-explore.exp
9200 * gdb.python/py-finish-breakpoint.exp
9201 * gdb.python/py-finish-breakpoint2.exp
9202 * gdb.python/py-frame-args.exp
9203 * gdb.python/py-frame-inline.exp
9204 * gdb.python/py-frame.exp
9205 * gdb.python/py-framefilter-mi.exp
9206 * gdb.python/py-infthread.exp
9207 * gdb.python/py-lazy-string.exp
9208 * gdb.python/py-linetable.exp
9209 * gdb.python/py-mi-events.exp
9210 * gdb.python/py-mi-objfile.exp
9211 * gdb.python/py-mi.exp
9212 * gdb.python/py-objfile.exp
9213 * gdb.python/py-pp-integral.exp
9214 * gdb.python/py-pp-maint.exp
9215 * gdb.python/py-pp-re-notag.exp
9216 * gdb.python/py-pp-registration.exp
9217 * gdb.python/py-recurse-unwind.exp
9218 * gdb.python/py-strfns.exp
9219 * gdb.python/py-symbol.exp
9220 * gdb.python/py-symtab.exp
9221 * gdb.python/py-sync-interp.exp
9222 * gdb.python/py-typeprint.exp
9223 * gdb.python/py-unwind-maint.exp
9224 * gdb.python/py-unwind.exp
9225 * gdb.python/py-value-cc.exp
9226 * gdb.python/py-xmethods.exp
9227 * gdb.reverse/amd64-tailcall-reverse.exp
9228 * gdb.reverse/break-precsave.exp
9229 * gdb.reverse/break-reverse.exp
9230 * gdb.reverse/consecutive-precsave.exp
9231 * gdb.reverse/consecutive-reverse.exp
9232 * gdb.reverse/finish-precsave.exp
9233 * gdb.reverse/finish-reverse-bkpt.exp
9234 * gdb.reverse/finish-reverse.exp
9235 * gdb.reverse/fstatat-reverse.exp
9236 * gdb.reverse/getresuid-reverse.exp
9237 * gdb.reverse/i386-precsave.exp
9238 * gdb.reverse/i386-reverse.exp
9239 * gdb.reverse/i386-sse-reverse.exp
9240 * gdb.reverse/i387-env-reverse.exp
9241 * gdb.reverse/i387-stack-reverse.exp
9242 * gdb.reverse/insn-reverse.exp
9243 * gdb.reverse/machinestate-precsave.exp
9244 * gdb.reverse/machinestate.exp
9245 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9246 * gdb.reverse/pipe-reverse.exp
9247 * gdb.reverse/readv-reverse.exp
9248 * gdb.reverse/recvmsg-reverse.exp
9249 * gdb.reverse/rerun-prec.exp
9250 * gdb.reverse/s390-mvcle.exp
9251 * gdb.reverse/step-precsave.exp
9252 * gdb.reverse/step-reverse.exp
9253 * gdb.reverse/time-reverse.exp
9254 * gdb.reverse/until-precsave.exp
9255 * gdb.reverse/until-reverse.exp
9256 * gdb.reverse/waitpid-reverse.exp
9257 * gdb.reverse/watch-precsave.exp
9258 * gdb.reverse/watch-reverse.exp
9259 * gdb.rust/generics.exp
9260 * gdb.rust/methods.exp
9261 * gdb.rust/modules.exp
9262 * gdb.rust/simple.exp
9263 * gdb.server/connect-with-no-symbol-file.exp
9264 * gdb.server/ext-attach.exp
9265 * gdb.server/ext-restart.exp
9266 * gdb.server/ext-wrapper.exp
9267 * gdb.server/file-transfer.exp
9268 * gdb.server/server-exec-info.exp
9269 * gdb.server/server-kill.exp
9270 * gdb.server/server-mon.exp
9271 * gdb.server/wrapper.exp
9272 * gdb.stabs/exclfwd.exp
9273 * gdb.stabs/gdb11479.exp
9274 * gdb.threads/clone-new-thread-event.exp
9275 * gdb.threads/corethreads.exp
9276 * gdb.threads/current-lwp-dead.exp
9277 * gdb.threads/dlopen-libpthread.exp
9278 * gdb.threads/gcore-thread.exp
9279 * gdb.threads/sigstep-threads.exp
9280 * gdb.threads/watchpoint-fork.exp
9281 * gdb.trace/actions-changed.exp
9282 * gdb.trace/backtrace.exp
9283 * gdb.trace/change-loc.exp
9284 * gdb.trace/circ.exp
9285 * gdb.trace/collection.exp
9286 * gdb.trace/disconnected-tracing.exp
9287 * gdb.trace/ftrace.exp
9288 * gdb.trace/mi-trace-frame-collected.exp
9289 * gdb.trace/mi-trace-unavailable.exp
9290 * gdb.trace/mi-traceframe-changed.exp
9291 * gdb.trace/mi-tsv-changed.exp
9292 * gdb.trace/no-attach-trace.exp
9293 * gdb.trace/passc-dyn.exp
9294 * gdb.trace/qtro.exp
9295 * gdb.trace/range-stepping.exp
9296 * gdb.trace/read-memory.exp
9297 * gdb.trace/save-trace.exp
9298 * gdb.trace/signal.exp
9299 * gdb.trace/status-stop.exp
9300 * gdb.trace/tfile.exp
9301 * gdb.trace/trace-break.exp
9302 * gdb.trace/trace-buffer-size.exp
9303 * gdb.trace/trace-condition.exp
9304 * gdb.trace/tracefile-pseudo-reg.exp
9305 * gdb.trace/tstatus.exp
9306 * gdb.trace/unavailable.exp
9307 * gdb.trace/while-dyn.exp
9308 * gdb.trace/while-stepping.exp
9309
9310 2016-12-22 Doug Evans <xdje42@gmail.com>
9311
9312 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
9313 and msymbols.
9314
9315 2016-12-19 Yao Qi <yao.qi@linaro.org>
9316
9317 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
9318 (test_with_self): Don't call do_steps_and_nexts, and remove
9319 code about stepping into xmalloc.
9320
9321 2016-12-09 Yao Qi <yao.qi@linaro.org>
9322
9323 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
9324
9325 2016-12-09 Yao Qi <yao.qi@linaro.org>
9326
9327 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
9328
9329 2016-12-09 Pedro Alves <palves@redhat.com>
9330
9331 * gdb.base/all-architectures-0.exp: New file.
9332 * gdb.base/all-architectures-1.exp: New file.
9333 * gdb.base/all-architectures-2.exp: New file.
9334 * gdb.base/all-architectures-3.exp: New file.
9335 * gdb.base/all-architectures-4.exp: New file.
9336 * gdb.base/all-architectures-5.exp: New file.
9337 * gdb.base/all-architectures-6.exp: New file.
9338 * gdb.base/all-architectures-7.exp: New file.
9339 * gdb.base/all-architectures.exp.in: New file.
9340
9341 2016-12-09 Yao Qi <yao.qi@linaro.org>
9342
9343 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
9344
9345 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
9346
9347 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
9348 possible.
9349 Remove useless pattern-matching code.
9350
9351 2016-12-02 Pedro Alves <palves@redhat.com>
9352
9353 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
9354 procedure.
9355 (top level): Call it.
9356
9357 2016-12-02 Pedro Alves <palves@redhat.com>
9358
9359 * gdb.base/commands.exp (user_defined_command_args_stack_test):
9360 New procedure.
9361 (top level): Call it.
9362
9363 2016-12-02 Pedro Alves <palves@redhat.com>
9364
9365 PR cli/20559
9366 * gdb.base/commands.exp (user_defined_command_args_eval): New
9367 procedure.
9368 (top level): Call it.
9369
9370 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
9371
9372 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
9373 timeout handling.
9374
9375 2016-12-02 Tom Tromey <tom@tromey.com>
9376
9377 * gdb.dwarf2/main-subprogram.c: New file.
9378 * gdb.dwarf2/main-subprogram.exp: New file.
9379
9380 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9381
9382 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
9383 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
9384 gdb_test_no_output for a couple of cases.
9385 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
9386
9387 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9388
9389 Fix test names and standardize compilation error messages throughout
9390 the following files:
9391
9392 * gdb.ada/start.exp
9393 * gdb.arch/alpha-step.exp
9394 * gdb.arch/e500-prologue.exp
9395 * gdb.arch/ftrace-insn-reloc.exp
9396 * gdb.arch/gdb1291.exp
9397 * gdb.arch/gdb1431.exp
9398 * gdb.arch/gdb1558.exp
9399 * gdb.arch/i386-dr3-watch.exp
9400 * gdb.arch/i386-sse-stack-align.exp
9401 * gdb.arch/ia64-breakpoint-shadow.exp
9402 * gdb.arch/pa-nullify.exp
9403 * gdb.arch/powerpc-aix-prologue.exp
9404 * gdb.arch/thumb-bx-pc.exp
9405 * gdb.base/annota1.exp
9406 * gdb.base/annota3.exp
9407 * gdb.base/arrayidx.exp
9408 * gdb.base/assign.exp
9409 * gdb.base/attach.exp
9410 * gdb.base/auxv.exp
9411 * gdb.base/bang.exp
9412 * gdb.base/bfp-test.exp
9413 * gdb.base/bigcore.exp
9414 * gdb.base/bitfields2.exp
9415 * gdb.base/break-fun-addr.exp
9416 * gdb.base/break-probes.exp
9417 * gdb.base/call-rt-st.exp
9418 * gdb.base/callexit.exp
9419 * gdb.base/catch-fork-kill.exp
9420 * gdb.base/charset.exp
9421 * gdb.base/checkpoint.exp
9422 * gdb.base/comprdebug.exp
9423 * gdb.base/constvars.exp
9424 * gdb.base/coredump-filter.exp
9425 * gdb.base/cursal.exp
9426 * gdb.base/cvexpr.exp
9427 * gdb.base/detach.exp
9428 * gdb.base/display.exp
9429 * gdb.base/dmsym.exp
9430 * gdb.base/dprintf-pending.exp
9431 * gdb.base/dso2dso.exp
9432 * gdb.base/dtrace-probe.exp
9433 * gdb.base/dump.exp
9434 * gdb.base/enum_cond.exp
9435 * gdb.base/exe-lock.exp
9436 * gdb.base/exec-invalid-sysroot.exp
9437 * gdb.base/execl-update-breakpoints.exp
9438 * gdb.base/exprs.exp
9439 * gdb.base/fileio.exp
9440 * gdb.base/find.exp
9441 * gdb.base/finish.exp
9442 * gdb.base/fixsection.exp
9443 * gdb.base/foll-vfork.exp
9444 * gdb.base/frame-args.exp
9445 * gdb.base/gcore.exp
9446 * gdb.base/gdb1250.exp
9447 * gdb.base/global-var-nested-by-dso.exp
9448 * gdb.base/gnu-ifunc.exp
9449 * gdb.base/hashline1.exp
9450 * gdb.base/hashline2.exp
9451 * gdb.base/hashline3.exp
9452 * gdb.base/hbreak-in-shr-unsupported.exp
9453 * gdb.base/huge.exp
9454 * gdb.base/infcall-input.exp
9455 * gdb.base/info-fun.exp
9456 * gdb.base/info-shared.exp
9457 * gdb.base/jit-simple.exp
9458 * gdb.base/jit-so.exp
9459 * gdb.base/jit.exp
9460 * gdb.base/jump.exp
9461 * gdb.base/label.exp
9462 * gdb.base/lineinc.exp
9463 * gdb.base/logical.exp
9464 * gdb.base/longjmp.exp
9465 * gdb.base/macscp.exp
9466 * gdb.base/miscexprs.exp
9467 * gdb.base/new-ui-echo.exp
9468 * gdb.base/new-ui-pending-input.exp
9469 * gdb.base/new-ui.exp
9470 * gdb.base/nodebug.exp
9471 * gdb.base/nofield.exp
9472 * gdb.base/offsets.exp
9473 * gdb.base/overlays.exp
9474 * gdb.base/pending.exp
9475 * gdb.base/pointers.exp
9476 * gdb.base/pr11022.exp
9477 * gdb.base/printcmds.exp
9478 * gdb.base/prologue.exp
9479 * gdb.base/ptr-typedef.exp
9480 * gdb.base/realname-expand.exp
9481 * gdb.base/relativedebug.exp
9482 * gdb.base/relocate.exp
9483 * gdb.base/remote.exp
9484 * gdb.base/reread.exp
9485 * gdb.base/return2.exp
9486 * gdb.base/savedregs.exp
9487 * gdb.base/sep.exp
9488 * gdb.base/sepdebug.exp
9489 * gdb.base/sepsymtab.exp
9490 * gdb.base/set-inferior-tty.exp
9491 * gdb.base/setshow.exp
9492 * gdb.base/shlib-call.exp
9493 * gdb.base/sigaltstack.exp
9494 * gdb.base/siginfo-addr.exp
9495 * gdb.base/signals.exp
9496 * gdb.base/signull.exp
9497 * gdb.base/sigrepeat.exp
9498 * gdb.base/so-impl-ld.exp
9499 * gdb.base/solib-display.exp
9500 * gdb.base/solib-overlap.exp
9501 * gdb.base/solib-search.exp
9502 * gdb.base/solib-symbol.exp
9503 * gdb.base/structs.exp
9504 * gdb.base/structs2.exp
9505 * gdb.base/symtab-search-order.exp
9506 * gdb.base/twice.exp
9507 * gdb.base/unload.exp
9508 * gdb.base/varargs.exp
9509 * gdb.base/watchpoint-solib.exp
9510 * gdb.base/watchpoint.exp
9511 * gdb.base/whatis.exp
9512 * gdb.base/wrong_frame_bt_full.exp
9513 * gdb.btrace/dlopen.exp
9514 * gdb.cell/ea-standalone.exp
9515 * gdb.cell/ea-test.exp
9516 * gdb.cp/dispcxx.exp
9517 * gdb.cp/gdb2384.exp
9518 * gdb.cp/method2.exp
9519 * gdb.cp/nextoverthrow.exp
9520 * gdb.cp/pr10728.exp
9521 * gdb.disasm/am33.exp
9522 * gdb.disasm/h8300s.exp
9523 * gdb.disasm/mn10300.exp
9524 * gdb.disasm/sh3.exp
9525 * gdb.dwarf2/dw2-dir-file-name.exp
9526 * gdb.fortran/complex.exp
9527 * gdb.fortran/library-module.exp
9528 * gdb.guile/scm-pretty-print.exp
9529 * gdb.guile/scm-symbol.exp
9530 * gdb.guile/scm-type.exp
9531 * gdb.guile/scm-value.exp
9532 * gdb.linespec/linespec.exp
9533 * gdb.mi/gdb701.exp
9534 * gdb.mi/gdb792.exp
9535 * gdb.mi/mi-breakpoint-changed.exp
9536 * gdb.mi/mi-dprintf-pending.exp
9537 * gdb.mi/mi-dprintf.exp
9538 * gdb.mi/mi-exit-code.exp
9539 * gdb.mi/mi-pending.exp
9540 * gdb.mi/mi-solib.exp
9541 * gdb.mi/new-ui-mi-sync.exp
9542 * gdb.mi/pr11022.exp
9543 * gdb.mi/user-selected-context-sync.exp
9544 * gdb.opt/solib-intra-step.exp
9545 * gdb.python/py-events.exp
9546 * gdb.python/py-finish-breakpoint.exp
9547 * gdb.python/py-mi.exp
9548 * gdb.python/py-prettyprint.exp
9549 * gdb.python/py-shared.exp
9550 * gdb.python/py-symbol.exp
9551 * gdb.python/py-template.exp
9552 * gdb.python/py-type.exp
9553 * gdb.python/py-value.exp
9554 * gdb.reverse/solib-precsave.exp
9555 * gdb.reverse/solib-reverse.exp
9556 * gdb.server/solib-list.exp
9557 * gdb.stabs/weird.exp
9558 * gdb.threads/reconnect-signal.exp
9559 * gdb.threads/stepi-random-signal.exp
9560 * gdb.trace/actions.exp
9561 * gdb.trace/ax.exp
9562 * gdb.trace/backtrace.exp
9563 * gdb.trace/change-loc.exp
9564 * gdb.trace/deltrace.exp
9565 * gdb.trace/ftrace-lock.exp
9566 * gdb.trace/ftrace.exp
9567 * gdb.trace/infotrace.exp
9568 * gdb.trace/mi-tracepoint-changed.exp
9569 * gdb.trace/packetlen.exp
9570 * gdb.trace/passcount.exp
9571 * gdb.trace/pending.exp
9572 * gdb.trace/range-stepping.exp
9573 * gdb.trace/report.exp
9574 * gdb.trace/stap-trace.exp
9575 * gdb.trace/tfind.exp
9576 * gdb.trace/trace-break.exp
9577 * gdb.trace/trace-condition.exp
9578 * gdb.trace/trace-enable-disable.exp
9579 * gdb.trace/trace-mt.exp
9580 * gdb.trace/tracecmd.exp
9581 * gdb.trace/tspeed.exp
9582 * gdb.trace/tsv.exp
9583 * lib/perftest.exp
9584
9585 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9586
9587 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9588 with gdb_test_no_output.
9589 Use command as test name.
9590
9591 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9592
9593 Fix test names starting with uppercase throughout the files.
9594
9595 * gdb.ada/assign_1.exp
9596 * gdb.ada/boolean_expr.exp
9597 * gdb.base/arrayidx.exp
9598 * gdb.base/del.exp
9599 * gdb.base/gcore-buffer-overflow.exp
9600 * gdb.base/testenv.exp
9601 * gdb.compile/compile.exp
9602 * gdb.python/py-framefilter-invalidarg.exp
9603 * gdb.python/py-framefilter.exp
9604
9605 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9606
9607 Fix test names starting with uppercase throughout the files.
9608
9609 * gdb.ada/array_return.exp
9610 * gdb.ada/expr_delims.exp
9611 * gdb.ada/mi_dyn_arr.exp
9612 * gdb.ada/mi_interface.exp
9613 * gdb.ada/mi_var_array.exp
9614 * gdb.ada/watch_arg.exp
9615 * gdb.arch/alpha-step.exp
9616 * gdb.arch/altivec-regs.exp
9617 * gdb.arch/e500-regs.exp
9618 * gdb.arch/powerpc-d128-regs.exp
9619 * gdb.base/arrayidx.exp
9620 * gdb.base/break.exp
9621 * gdb.base/checkpoint.exp
9622 * gdb.base/debug-expr.exp
9623 * gdb.base/dmsym.exp
9624 * gdb.base/radix.exp
9625 * gdb.base/sepdebug.exp
9626 * gdb.base/testenv.exp
9627 * gdb.base/watch_thread_num.exp
9628 * gdb.base/watchpoint-cond-gone.exp
9629 * gdb.cell/break.exp
9630 * gdb.cell/ea-cache.exp
9631 * gdb.compile/compile.exp
9632 * gdb.cp/gdb2495.exp
9633 * gdb.gdb/selftest.exp
9634 * gdb.gdb/xfullpath.exp
9635 * gdb.go/hello.exp
9636 * gdb.go/integers.exp
9637 * gdb.objc/basicclass.exp
9638 * gdb.pascal/hello.exp
9639 * gdb.pascal/integers.exp
9640 * gdb.python/py-breakpoint.exp
9641 * gdb.python/py-cmd.exp
9642 * gdb.python/py-linetable.exp
9643 * gdb.python/py-xmethods.exp
9644 * gdb.python/python.exp
9645 * gdb.reverse/consecutive-precsave.exp
9646 * gdb.reverse/finish-precsave.exp
9647 * gdb.reverse/i386-precsave.exp
9648 * gdb.reverse/machinestate-precsave.exp
9649 * gdb.reverse/sigall-precsave.exp
9650 * gdb.reverse/solib-precsave.exp
9651 * gdb.reverse/step-precsave.exp
9652 * gdb.reverse/until-precsave.exp
9653 * gdb.reverse/watch-precsave.exp
9654 * gdb.threads/leader-exit.exp
9655 * gdb.threads/pthreads.exp
9656 * gdb.threads/wp-replication.exp
9657 * gdb.trace/actions.exp
9658 * gdb.trace/mi-tsv-changed.exp
9659 * gdb.trace/tsv.exp
9660
9661 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9662
9663 Fix test names starting with uppercase throughout the files.
9664
9665 * gdb.arch/i386-bp_permanent.exp
9666 * gdb.arch/i386-gnu-cfi.exp
9667 * gdb.base/disasm-end-cu.exp
9668 * gdb.base/macscp.exp
9669 * gdb.base/pending.exp
9670 * gdb.base/watch_thread_num.exp
9671 * gdb.cp/exception.exp
9672 * gdb.cp/gdb2495.exp
9673 * gdb.cp/local.exp
9674 * gdb.python/py-evsignal.exp
9675 * gdb.python/python.exp
9676 * gdb.trace/tracecmd.exp
9677
9678 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9679
9680 Fix test names starting with uppercase throughout the files.
9681
9682 * gdb.base/charset.exp
9683 * gdb.base/eval.exp
9684 * gdb.base/multi-forks.exp
9685 * gdb.guile/scm-progspace.exp
9686 * gdb.opencl/datatypes.exp
9687 * gdb.python/py-block.exp
9688 * gdb.python/py-function.exp
9689 * gdb.python/py-symbol.exp
9690 * gdb.python/py-symtab.exp
9691 * gdb.python/py-xmethods.exp
9692 * gdb.reverse/break-precsave.exp
9693 * gdb.reverse/break-reverse.exp
9694 * gdb.reverse/consecutive-precsave.exp
9695 * gdb.reverse/consecutive-reverse.exp
9696 * gdb.reverse/finish-precsave.exp
9697 * gdb.reverse/finish-reverse-bkpt.exp
9698 * gdb.reverse/finish-reverse.exp
9699 * gdb.reverse/fstatat-reverse.exp
9700 * gdb.reverse/getresuid-reverse.exp
9701 * gdb.reverse/i386-precsave.exp
9702 * gdb.reverse/i386-reverse.exp
9703 * gdb.reverse/i386-sse-reverse.exp
9704 * gdb.reverse/i387-stack-reverse.exp
9705 * gdb.reverse/insn-reverse.exp
9706 * gdb.reverse/machinestate-precsave.exp
9707 * gdb.reverse/machinestate.exp
9708 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9709 * gdb.reverse/pipe-reverse.exp
9710 * gdb.reverse/readv-reverse.exp
9711 * gdb.reverse/recvmsg-reverse.exp
9712 * gdb.reverse/rerun-prec.exp
9713 * gdb.reverse/s390-mvcle.exp
9714 * gdb.reverse/sigall-precsave.exp
9715 * gdb.reverse/sigall-reverse.exp
9716 * gdb.reverse/solib-precsave.exp
9717 * gdb.reverse/solib-reverse.exp
9718 * gdb.reverse/step-precsave.exp
9719 * gdb.reverse/step-reverse.exp
9720 * gdb.reverse/time-reverse.exp
9721 * gdb.reverse/until-precsave.exp
9722 * gdb.reverse/until-reverse.exp
9723 * gdb.reverse/waitpid-reverse.exp
9724 * gdb.reverse/watch-precsave.exp
9725 * gdb.reverse/watch-reverse.exp
9726
9727 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9728
9729 Fix test names starting with uppercase throughout the files.
9730
9731 * gdb.arch/i386-mpx-simple_segv.exp
9732 * gdb.arch/i386-mpx.exp
9733 * gdb.arch/i386-permbkpt.exp
9734 * gdb.arch/pa-nullify.exp
9735 * gdb.arch/powerpc-d128-regs.exp
9736 * gdb.arch/vsx-regs.exp
9737 * gdb.base/bfp-test.exp
9738 * gdb.base/break.exp
9739 * gdb.base/breakpoint-shadow.exp
9740 * gdb.base/callfuncs.exp
9741 * gdb.base/charset.exp
9742 * gdb.base/commands.exp
9743 * gdb.base/completion.exp
9744 * gdb.base/dfp-test.exp
9745 * gdb.base/echo.exp
9746 * gdb.base/ending-run.exp
9747 * gdb.base/eval.exp
9748 * gdb.base/expand-psymtabs.exp
9749 * gdb.base/float128.exp
9750 * gdb.base/floatn.exp
9751 * gdb.base/foll-exec-mode.exp
9752 * gdb.base/gdb1056.exp
9753 * gdb.base/gdb11531.exp
9754 * gdb.base/kill-after-signal.exp
9755 * gdb.base/multi-forks.exp
9756 * gdb.base/overlays.exp
9757 * gdb.base/pending.exp
9758 * gdb.base/sepdebug.exp
9759 * gdb.base/testenv.exp
9760 * gdb.base/valgrind-db-attach.exp
9761 * gdb.base/watch_thread_num.exp
9762 * gdb.base/watchpoint-cond-gone.exp
9763 * gdb.base/watchpoint.exp
9764 * gdb.base/watchpoints.exp
9765 * gdb.cp/arg-reference.exp
9766 * gdb.cp/baseenum.exp
9767 * gdb.cp/operator.exp
9768 * gdb.cp/shadow.exp
9769 * gdb.dwarf2/dw2-op-out-param.exp
9770 * gdb.dwarf2/dw2-reg-undefined.exp
9771 * gdb.go/chan.exp
9772 * gdb.go/hello.exp
9773 * gdb.go/integers.exp
9774 * gdb.go/methods.exp
9775 * gdb.go/package.exp
9776 * gdb.guile/scm-parameter.exp
9777 * gdb.guile/scm-progspace.exp
9778 * gdb.guile/scm-value.exp
9779 * gdb.mi/mi-pending.exp
9780 * gdb.mi/user-selected-context-sync.exp
9781 * gdb.multi/multi-attach.exp
9782 * gdb.multi/tids.exp
9783 * gdb.opt/clobbered-registers-O2.exp
9784 * gdb.pascal/floats.exp
9785 * gdb.pascal/integers.exp
9786 * gdb.python/py-block.exp
9787 * gdb.python/py-events.exp
9788 * gdb.python/py-parameter.exp
9789 * gdb.python/py-symbol.exp
9790 * gdb.python/py-symtab.exp
9791 * gdb.python/py-type.exp
9792 * gdb.python/py-value.exp
9793 * gdb.python/py-xmethods.exp
9794 * gdb.python/python.exp
9795 * gdb.reverse/break-precsave.exp
9796 * gdb.reverse/consecutive-precsave.exp
9797 * gdb.reverse/finish-precsave.exp
9798 * gdb.reverse/i386-precsave.exp
9799 * gdb.reverse/machinestate-precsave.exp
9800 * gdb.reverse/sigall-precsave.exp
9801 * gdb.reverse/solib-precsave.exp
9802 * gdb.reverse/step-precsave.exp
9803 * gdb.reverse/until-precsave.exp
9804 * gdb.reverse/watch-precsave.exp
9805 * gdb.server/ext-attach.exp
9806 * gdb.server/ext-restart.exp
9807 * gdb.server/ext-run.exp
9808 * gdb.server/ext-wrapper.exp
9809 * gdb.stabs/gdb11479.exp
9810 * gdb.stabs/weird.exp
9811 * gdb.threads/attach-many-short-lived-threads.exp
9812 * gdb.threads/kill.exp
9813 * gdb.threads/watchpoint-fork.exp
9814
9815 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9816
9817 Fix test names starting with uppercase throughout all the files below.
9818
9819 * gdb.ada/array_return.exp
9820 * gdb.ada/catch_ex.exp
9821 * gdb.ada/info_exc.exp
9822 * gdb.ada/mi_catch_ex.exp
9823 * gdb.ada/mi_dyn_arr.exp
9824 * gdb.ada/mi_ex_cond.exp
9825 * gdb.ada/mi_exc_info.exp
9826 * gdb.ada/mi_interface.exp
9827 * gdb.ada/mi_task_arg.exp
9828 * gdb.ada/mi_task_info.exp
9829 * gdb.ada/mi_var_array.exp
9830 * gdb.arch/alpha-step.exp
9831 * gdb.arch/amd64-disp-step.exp
9832 * gdb.arch/arm-disp-step.exp
9833 * gdb.arch/disp-step-insn-reloc.exp
9834 * gdb.arch/e500-prologue.exp
9835 * gdb.arch/ftrace-insn-reloc.exp
9836 * gdb.arch/gdb1558.exp
9837 * gdb.arch/i386-bp_permanent.exp
9838 * gdb.arch/i386-disp-step.exp
9839 * gdb.arch/i386-float.exp
9840 * gdb.arch/i386-gnu-cfi.exp
9841 * gdb.arch/ia64-breakpoint-shadow.exp
9842 * gdb.arch/mips16-thunks.exp
9843 * gdb.arch/pa-nullify.exp
9844 * gdb.arch/powerpc-aix-prologue.exp
9845 * gdb.arch/powerpc-power.exp
9846 * gdb.arch/ppc-dfp.exp
9847 * gdb.arch/s390-tdbregs.exp
9848 * gdb.arch/spu-info.exp
9849 * gdb.arch/spu-ls.exp
9850 * gdb.arch/thumb-bx-pc.exp
9851 * gdb.base/advance.exp
9852 * gdb.base/annota-input-while-running.exp
9853 * gdb.base/arrayidx.exp
9854 * gdb.base/asmlabel.exp
9855 * gdb.base/async.exp
9856 * gdb.base/attach-wait-input.exp
9857 * gdb.base/auto-connect-native-target.exp
9858 * gdb.base/batch-preserve-term-settings.exp
9859 * gdb.base/bfp-test.exp
9860 * gdb.base/bigcore.exp
9861 * gdb.base/bp-permanent.exp
9862 * gdb.base/break-always.exp
9863 * gdb.base/break-fun-addr.exp
9864 * gdb.base/break-idempotent.exp
9865 * gdb.base/break-main-file-remove-fail.exp
9866 * gdb.base/break-probes.exp
9867 * gdb.base/break-unload-file.exp
9868 * gdb.base/break.exp
9869 * gdb.base/call-ar-st.exp
9870 * gdb.base/call-rt-st.exp
9871 * gdb.base/call-sc.exp
9872 * gdb.base/call-signal-resume.exp
9873 * gdb.base/call-strs.exp
9874 * gdb.base/callexit.exp
9875 * gdb.base/callfuncs.exp
9876 * gdb.base/catch-gdb-caused-signals.exp
9877 * gdb.base/catch-signal-siginfo-cond.exp
9878 * gdb.base/catch-syscall.exp
9879 * gdb.base/compare-sections.exp
9880 * gdb.base/cond-eval-mode.exp
9881 * gdb.base/condbreak-call-false.exp
9882 * gdb.base/consecutive-step-over.exp
9883 * gdb.base/cursal.exp
9884 * gdb.base/disabled-location.exp
9885 * gdb.base/disasm-end-cu.exp
9886 * gdb.base/display.exp
9887 * gdb.base/double-prompt-target-event-error.exp
9888 * gdb.base/dprintf-bp-same-addr.exp
9889 * gdb.base/dprintf-detach.exp
9890 * gdb.base/dprintf-next.exp
9891 * gdb.base/dprintf-non-stop.exp
9892 * gdb.base/dprintf-pending.exp
9893 * gdb.base/dso2dso.exp
9894 * gdb.base/ending-run.exp
9895 * gdb.base/enum_cond.exp
9896 * gdb.base/examine-backward.exp
9897 * gdb.base/exe-lock.exp
9898 * gdb.base/exec-invalid-sysroot.exp
9899 * gdb.base/execl-update-breakpoints.exp
9900 * gdb.base/execution-termios.exp
9901 * gdb.base/fileio.exp
9902 * gdb.base/fixsection.exp
9903 * gdb.base/foll-exec-mode.exp
9904 * gdb.base/foll-exec.exp
9905 * gdb.base/fork-running-state.exp
9906 * gdb.base/frame-args.exp
9907 * gdb.base/fullpath-expand.exp
9908 * gdb.base/func-ptr.exp
9909 * gdb.base/gcore-relro-pie.exp
9910 * gdb.base/gdb1090.exp
9911 * gdb.base/gdb1555.exp
9912 * gdb.base/global-var-nested-by-dso.exp
9913 * gdb.base/gnu-ifunc.exp
9914 * gdb.base/hbreak-in-shr-unsupported.exp
9915 * gdb.base/hbreak-unmapped.exp
9916 * gdb.base/hook-stop.exp
9917 * gdb.base/infcall-input.exp
9918 * gdb.base/info-fun.exp
9919 * gdb.base/info-shared.exp
9920 * gdb.base/interrupt-noterm.exp
9921 * gdb.base/jit-so.exp
9922 * gdb.base/jit.exp
9923 * gdb.base/line-symtabs.exp
9924 * gdb.base/list.exp
9925 * gdb.base/longjmp.exp
9926 * gdb.base/macscp.exp
9927 * gdb.base/max-value-size.exp
9928 * gdb.base/nodebug.exp
9929 * gdb.base/nofield.exp
9930 * gdb.base/overlays.exp
9931 * gdb.base/paginate-after-ctrl-c-running.exp
9932 * gdb.base/paginate-bg-execution.exp
9933 * gdb.base/paginate-inferior-exit.exp
9934 * gdb.base/pending.exp
9935 * gdb.base/pr11022.exp
9936 * gdb.base/printcmds.exp
9937 * gdb.base/ptr-typedef.exp
9938 * gdb.base/ptype.exp
9939 * gdb.base/randomize.exp
9940 * gdb.base/range-stepping.exp
9941 * gdb.base/realname-expand.exp
9942 * gdb.base/relativedebug.exp
9943 * gdb.base/remote.exp
9944 * gdb.base/savedregs.exp
9945 * gdb.base/sepdebug.exp
9946 * gdb.base/set-noassign.exp
9947 * gdb.base/shlib-call.exp
9948 * gdb.base/shreloc.exp
9949 * gdb.base/sigaltstack.exp
9950 * gdb.base/sigbpt.exp
9951 * gdb.base/siginfo-addr.exp
9952 * gdb.base/siginfo-obj.exp
9953 * gdb.base/siginfo-thread.exp
9954 * gdb.base/signest.exp
9955 * gdb.base/signull.exp
9956 * gdb.base/sigrepeat.exp
9957 * gdb.base/skip.exp
9958 * gdb.base/so-impl-ld.exp
9959 * gdb.base/solib-corrupted.exp
9960 * gdb.base/solib-disc.exp
9961 * gdb.base/solib-display.exp
9962 * gdb.base/solib-overlap.exp
9963 * gdb.base/solib-search.exp
9964 * gdb.base/solib-symbol.exp
9965 * gdb.base/source-execution.exp
9966 * gdb.base/sss-bp-on-user-bp-2.exp
9967 * gdb.base/sss-bp-on-user-bp.exp
9968 * gdb.base/stack-checking.exp
9969 * gdb.base/stale-infcall.exp
9970 * gdb.base/step-break.exp
9971 * gdb.base/step-line.exp
9972 * gdb.base/step-over-exit.exp
9973 * gdb.base/step-test.exp
9974 * gdb.base/structs.exp
9975 * gdb.base/sym-file.exp
9976 * gdb.base/symtab-search-order.exp
9977 * gdb.base/term.exp
9978 * gdb.base/type-opaque.exp
9979 * gdb.base/unload.exp
9980 * gdb.base/until-nodebug.exp
9981 * gdb.base/until.exp
9982 * gdb.base/unwindonsignal.exp
9983 * gdb.base/watch-cond.exp
9984 * gdb.base/watch-non-mem.exp
9985 * gdb.base/watch_thread_num.exp
9986 * gdb.base/watchpoint-reuse-slot.exp
9987 * gdb.base/watchpoint-solib.exp
9988 * gdb.base/watchpoint.exp
9989 * gdb.btrace/dlopen.exp
9990 * gdb.cell/arch.exp
9991 * gdb.cell/break.exp
9992 * gdb.cell/bt.exp
9993 * gdb.cell/core.exp
9994 * gdb.cell/data.exp
9995 * gdb.cell/dwarfaddr.exp
9996 * gdb.cell/ea-cache.exp
9997 * gdb.cell/ea-standalone.exp
9998 * gdb.cell/ea-test.exp
9999 * gdb.cell/f-regs.exp
10000 * gdb.cell/fork.exp
10001 * gdb.cell/gcore.exp
10002 * gdb.cell/mem-access.exp
10003 * gdb.cell/ptype.exp
10004 * gdb.cell/registers.exp
10005 * gdb.cell/sizeof.exp
10006 * gdb.cell/solib-symbol.exp
10007 * gdb.cell/solib.exp
10008 * gdb.compile/compile-tls.exp
10009 * gdb.cp/exception.exp
10010 * gdb.cp/gdb2495.exp
10011 * gdb.cp/local.exp
10012 * gdb.cp/mb-inline.exp
10013 * gdb.cp/mb-templates.exp
10014 * gdb.cp/pr10687.exp
10015 * gdb.cp/pr9167.exp
10016 * gdb.cp/scope-err.exp
10017 * gdb.cp/templates.exp
10018 * gdb.cp/virtfunc.exp
10019 * gdb.dwarf2/dw2-dir-file-name.exp
10020 * gdb.dwarf2/dw2-single-line-discriminators.exp
10021 * gdb.fortran/complex.exp
10022 * gdb.fortran/library-module.exp
10023 * gdb.guile/guile.exp
10024 * gdb.guile/scm-cmd.exp
10025 * gdb.guile/scm-frame-inline.exp
10026 * gdb.guile/scm-objfile.exp
10027 * gdb.guile/scm-pretty-print.exp
10028 * gdb.guile/scm-symbol.exp
10029 * gdb.guile/scm-type.exp
10030 * gdb.guile/scm-value.exp
10031 * gdb.linespec/keywords.exp
10032 * gdb.linespec/ls-errs.exp
10033 * gdb.linespec/macro-relative.exp
10034 * gdb.linespec/thread.exp
10035 * gdb.mi/mi-breakpoint-changed.exp
10036 * gdb.mi/mi-dprintf-pending.exp
10037 * gdb.mi/mi-fullname-deleted.exp
10038 * gdb.mi/mi-logging.exp
10039 * gdb.mi/mi-pending.exp
10040 * gdb.mi/mi-solib.exp
10041 * gdb.mi/new-ui-mi-sync.exp
10042 * gdb.mi/user-selected-context-sync.exp
10043 * gdb.multi/dummy-frame-restore.exp
10044 * gdb.multi/multi-arch-exec.exp
10045 * gdb.multi/remove-inferiors.exp
10046 * gdb.multi/watchpoint-multi-exit.exp
10047 * gdb.opt/solib-intra-step.exp
10048 * gdb.perf/backtrace.exp
10049 * gdb.perf/single-step.exp
10050 * gdb.perf/skip-command.exp
10051 * gdb.perf/skip-prologue.exp
10052 * gdb.perf/solib.exp
10053 * gdb.python/lib-types.exp
10054 * gdb.python/py-as-string.exp
10055 * gdb.python/py-bad-printers.exp
10056 * gdb.python/py-block.exp
10057 * gdb.python/py-breakpoint.exp
10058 * gdb.python/py-cmd.exp
10059 * gdb.python/py-events.exp
10060 * gdb.python/py-evthreads.exp
10061 * gdb.python/py-finish-breakpoint.exp
10062 * gdb.python/py-finish-breakpoint2.exp
10063 * gdb.python/py-frame-inline.exp
10064 * gdb.python/py-frame.exp
10065 * gdb.python/py-inferior.exp
10066 * gdb.python/py-infthread.exp
10067 * gdb.python/py-mi.exp
10068 * gdb.python/py-objfile.exp
10069 * gdb.python/py-pp-maint.exp
10070 * gdb.python/py-pp-registration.exp
10071 * gdb.python/py-prettyprint.exp
10072 * gdb.python/py-recurse-unwind.exp
10073 * gdb.python/py-shared.exp
10074 * gdb.python/py-symbol.exp
10075 * gdb.python/py-symtab.exp
10076 * gdb.python/py-template.exp
10077 * gdb.python/py-type.exp
10078 * gdb.python/py-unwind-maint.exp
10079 * gdb.python/py-unwind.exp
10080 * gdb.python/py-value.exp
10081 * gdb.python/python.exp
10082 * gdb.reverse/finish-reverse-bkpt.exp
10083 * gdb.reverse/insn-reverse.exp
10084 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10085 * gdb.reverse/solib-precsave.exp
10086 * gdb.reverse/solib-reverse.exp
10087 * gdb.stabs/gdb11479.exp
10088 * gdb.stabs/weird.exp
10089 * gdb.threads/fork-child-threads.exp
10090 * gdb.threads/fork-plus-threads.exp
10091 * gdb.threads/fork-thread-pending.exp
10092 * gdb.threads/forking-threads-plus-breakpoint.exp
10093 * gdb.threads/hand-call-in-threads.exp
10094 * gdb.threads/interrupted-hand-call.exp
10095 * gdb.threads/linux-dp.exp
10096 * gdb.threads/local-watch-wrong-thread.exp
10097 * gdb.threads/next-while-other-thread-longjmps.exp
10098 * gdb.threads/non-ldr-exit.exp
10099 * gdb.threads/pending-step.exp
10100 * gdb.threads/print-threads.exp
10101 * gdb.threads/process-dies-while-detaching.exp
10102 * gdb.threads/process-dies-while-handling-bp.exp
10103 * gdb.threads/pthreads.exp
10104 * gdb.threads/queue-signal.exp
10105 * gdb.threads/reconnect-signal.exp
10106 * gdb.threads/signal-command-handle-nopass.exp
10107 * gdb.threads/signal-command-multiple-signals-pending.exp
10108 * gdb.threads/signal-delivered-right-thread.exp
10109 * gdb.threads/signal-sigtrap.exp
10110 * gdb.threads/sigthread.exp
10111 * gdb.threads/staticthreads.exp
10112 * gdb.threads/stepi-random-signal.exp
10113 * gdb.threads/thread-unwindonsignal.exp
10114 * gdb.threads/thread_check.exp
10115 * gdb.threads/thread_events.exp
10116 * gdb.threads/tid-reuse.exp
10117 * gdb.threads/tls-nodebug.exp
10118 * gdb.threads/tls-shared.exp
10119 * gdb.threads/tls-so_extern.exp
10120 * gdb.threads/tls.exp
10121 * gdb.threads/wp-replication.exp
10122 * gdb.trace/actions-changed.exp
10123 * gdb.trace/actions.exp
10124 * gdb.trace/backtrace.exp
10125 * gdb.trace/change-loc.exp
10126 * gdb.trace/collection.exp
10127 * gdb.trace/deltrace.exp
10128 * gdb.trace/disconnected-tracing.exp
10129 * gdb.trace/entry-values.exp
10130 * gdb.trace/ftrace-lock.exp
10131 * gdb.trace/ftrace.exp
10132 * gdb.trace/infotrace.exp
10133 * gdb.trace/mi-trace-frame-collected.exp
10134 * gdb.trace/mi-trace-unavailable.exp
10135 * gdb.trace/mi-traceframe-changed.exp
10136 * gdb.trace/mi-tracepoint-changed.exp
10137 * gdb.trace/mi-tsv-changed.exp
10138 * gdb.trace/no-attach-trace.exp
10139 * gdb.trace/packetlen.exp
10140 * gdb.trace/passc-dyn.exp
10141 * gdb.trace/passcount.exp
10142 * gdb.trace/pending.exp
10143 * gdb.trace/pr16508.exp
10144 * gdb.trace/qtro.exp
10145 * gdb.trace/range-stepping.exp
10146 * gdb.trace/read-memory.exp
10147 * gdb.trace/report.exp
10148 * gdb.trace/save-trace.exp
10149 * gdb.trace/signal.exp
10150 * gdb.trace/stap-trace.exp
10151 * gdb.trace/status-stop.exp
10152 * gdb.trace/strace.exp
10153 * gdb.trace/tfile.exp
10154 * gdb.trace/tfind.exp
10155 * gdb.trace/trace-break.exp
10156 * gdb.trace/trace-condition.exp
10157 * gdb.trace/trace-enable-disable.exp
10158 * gdb.trace/trace-mt.exp
10159 * gdb.trace/tracecmd.exp
10160 * gdb.trace/tracefile-pseudo-reg.exp
10161 * gdb.trace/tspeed.exp
10162 * gdb.trace/tstatus.exp
10163 * gdb.trace/tsv.exp
10164 * gdb.trace/unavailable.exp
10165 * gdb.trace/while-dyn.exp
10166 * gdb.trace/while-stepping.exp
10167 * lib/gdb-guile.exp
10168 * lib/gdb.exp
10169 * lib/mi-support.exp
10170 * lib/pascal.exp
10171 * lib/perftest.exp
10172 * lib/prelink-support.exp
10173 * lib/selftest-support.exp
10174
10175 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
10176
10177 * Makefile.in: Include disable-implicit-rules.mk.
10178
10179 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10180
10181 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
10182 non-byte-aligned bit fields.
10183
10184 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10185
10186 PR gdb/12616
10187 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
10188 respects the DW_AT_data_bit_offset attribute.
10189
10190 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
10191
10192 * gdb.base/default.exp: Fix output of "set language".
10193
10194 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
10195
10196 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
10197 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
10198 make.
10199 * configure.ac: Remove checks for the make program.
10200 * configure: Re-generate.
10201
10202 2016-11-16 Kevin Buettner <kevinb@redhat.com>
10203
10204 * gdb.python/py-recurse-unwind.c (main): Add loop.
10205 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
10206 to read_register() and gdb.parse_and_eval(). Make each code
10207 call a separate case that can be individually tested.
10208 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
10209 proc. Call cont_and_backtrace for each of the code paths that
10210 we want to test in the unwinder.
10211
10212 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
10213
10214 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
10215 the definition of struct S.
10216
10217 2016-11-11 Catherine Moore <clm@codesourcery.com>
10218
10219 * gdb.base/dump.exp: Identify verilog format dump tests as such.
10220
10221 2016-11-09 Pedro Alves <palves@redhat.com>
10222
10223 * gdb.base/commands.exp (runto_or_return): New procedure.
10224 (gdbvar_simple_if_test, gdbvar_simple_while_test)
10225 (gdbvar_complex_if_while_test, progvar_simple_if_test)
10226 (progvar_simple_while_test, progvar_complex_if_while_test)
10227 (if_while_breakpoint_command_test)
10228 (infrun_breakpoint_command_test, breakpoint_command_test)
10229 (user_defined_command_test, watchpoint_command_test)
10230 (test_command_prompt_position, redefine_hook_test)
10231 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
10232 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
10233 multi_line_input and multi_line. Remove gdb_expect and
10234 gdb_stop_suppressing_tests uses.
10235 * lib/gdb.exp (valnum_re): New global.
10236 (multi_line_input): New procedure.
10237
10238 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
10239
10240 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
10241 Remove.
10242 (test_setup): Define with proc_with_prefix.
10243 (test_cli_inferior): Likewise.
10244 (test_cli_thread): Likewise.
10245 (test_cli_frame): Likewise.
10246 (test_cli_select_frame): Likewise.
10247 (test_cli_up_down): Likewise.
10248 (test_mi_thread_select): Likewise.
10249 (test_mi_stack_select_frame): Likewise.
10250 (test_cli_in_mi_inferior): Likewise.
10251 (test_cli_in_mi_thread): Likewise.
10252 (test_cli_in_mi_frame): Likewise.
10253 (top level): Do not use with_test_prefix_procname.
10254
10255 2016-11-09 Pedro Alves <palves@redhat.com>
10256
10257 * gdb.base/commands.exp (gdbvar_simple_if_test)
10258 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
10259 (progvar_simple_if_test, progvar_simple_while_test)
10260 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
10261 (infrun_breakpoint_command_test, breakpoint_command_test)
10262 (user_defined_command_test, watchpoint_command_test)
10263 (test_command_prompt_position, deprecated_command_test)
10264 (bp_deleted_in_command, temporary_breakpoint_commands)
10265 (stray_arg0_test, source_file_with_indented_comment)
10266 (recursive_source_test, if_commands_test)
10267 (error_clears_commands_left, redefine_hook_test)
10268 (redefine_backtrace_test): Use proc_with_prefix.
10269 * lib/gdb.exp (proc_with_prefix): New proc.
10270
10271 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10272
10273 * gdb.base/tui-layout.c: New file.
10274 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
10275 disassembly window contains very long lines.
10276
10277 2016-11-08 Tom Tromey <tom@tromey.com>
10278
10279 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10280 depend on Python 2.
10281
10282 2016-11-08 Tom Tromey <tom@tromey.com>
10283
10284 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
10285 New method.
10286
10287 2016-10-29 Manish Goregaokar <manish@mozilla.com>
10288
10289 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
10290
10291 2016-10-27 Manish Goregaokar <manish@mozilla.com>
10292
10293 * gdb.rust/simple.rs: Add test for univariant enums without
10294 discriminants and for encoded struct-like enums.
10295
10296 2016-10-28 Pedro Alves <palves@redhat.com>
10297
10298 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
10299 gdb_test_multiple, tighten regexps and match symtabs and line
10300 tables incrementally.
10301
10302 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
10303
10304 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
10305 general.
10306
10307 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
10308
10309 * gdb.base/exec-invalid-sysroot.exp: New file.
10310
10311 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10312
10313 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
10314
10315 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10316
10317 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
10318
10319 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
10320
10321 * gdb.base/killed-outside.exp: Remove $options from a call to
10322 `prepare_for_testing'.
10323
10324 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10325
10326 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10327 Change test message.
10328
10329 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10330
10331 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10332 Update comment.
10333
10334 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10335
10336 * gdb.trace/mi-trace-save.exp: New file.
10337
10338 2016-10-13 Yao Qi <yao.qi@linaro.org>
10339
10340 * gdb.base/code_elim.exp (get_var_address): Remove.
10341 * gdb.base/relocate.exp: Likewise.
10342 * gdb.base/shreloc.exp: Likewise.
10343 * lib/gdb.exp (get_var_address): New.
10344
10345 2016-10-13 Yao Qi <yao.qi@linaro.org>
10346
10347 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
10348 floating point tests if $skip_float_test is false.
10349
10350 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
10351
10352 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
10353 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
10354 argc values.
10355 Add 1 to argc so we guarantee distinct initial/modified argc values.
10356
10357 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10358
10359 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
10360
10361 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10362
10363 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
10364 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
10365 * gdb.arch/vsx-regs.exp: Likewise.
10366
10367 2016-10-07 Yao Qi <yao.qi@linaro.org>
10368
10369 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
10370
10371 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
10372
10373 * gdb.python/python.exp: Test decode_line("*0").
10374
10375 2016-10-06 Doug Evans <dje@google.com>
10376
10377 * gdb.python/py-value.exp (test_value_creation): Add test for large
10378 unsigned 64-bit value.
10379
10380 2016-10-06 Tom Tromey <tom@tromey.com>
10381
10382 * gdb.compile/compile.exp: Change java tests to rust.
10383 * gdb.base/setshow.exp: Change java tests to rust.
10384 * gdb.base/default.exp: Remove java from language list.
10385 * README (Examples): Update language example.
10386 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
10387 test.
10388 * lib/gdb.exp (skip_java_tests): Remove.
10389 * lib/java.exp: Remove.
10390 * gdb.java: Remove.
10391
10392 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10393
10394 * gdb.arch/mips-fcr.exp: New test.
10395 * gdb.arch/mips-fcr.c: Source for the new test.
10396
10397 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10398
10399 * gdb.base/solib-disc.exp: Use `standard_output_file'
10400 throughout.
10401
10402 2016-10-06 Pedro Alves <palves@redhat.com>
10403
10404 * gdb.base/jit-simple-dl.c: New file.
10405 * gdb.base/jit-simple-jit.c: New file, factored out from ...
10406 * gdb.base/jit-simple.c: ... this.
10407 * gdb.base/jit-simple.exp (jit_run): Delete.
10408 (build_jit): New proc.
10409 (jit_test_reread): Recompile either the main program or the shared
10410 library, depending on what is being tested. Skip changing address
10411 if caller wants to. Compare before/after addresses. If testing
10412 standalone, explicitly load the binary. Test "maint info
10413 breakpoints".
10414 (top level): Add "standalone vs shared lib" and "change address"
10415 vs "same address" axes.
10416
10417 2016-10-06 Pedro Alves <palves@redhat.com>
10418
10419 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
10420 call.
10421 (jit_run): Delete.
10422 (jit_test_reread): Use with_test_prefix. Reload the main binary
10423 explicitly. Compare the before/after addresses of the JIT
10424 descriptor.
10425
10426 2016-08-15 Doug Evans <dje@google.com>
10427
10428 * gdb.xml/extra-regs.xml: Update, end field now required, default type
10429 for single bitfields is bool.
10430 * gdb.xml/tdesc-regs.exp: Ditto.
10431
10432 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10433
10434 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10435
10436 2016-10-05 Yao Qi <yao.qi@linaro.org>
10437
10438 * lib/gdb.exp (support_complex_tests): Return zero if
10439 gdb_skip_float_test return true.
10440
10441 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10442 Simon Marchi <simon.marchi@ericsson.com>
10443
10444 PR gdb/20487
10445 * gdb.mi/user-selected-context-sync.exp: New file.
10446 * gdb.mi/user-selected-context-sync.c: New file.
10447
10448 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10449 Simon Marchi <simon.marchi@ericsson.com>
10450
10451 PR gdb/20487
10452 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10453 =thread-select-event check.
10454
10455 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10456
10457 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10458 the compulsory L operand changes.
10459 * gdb.arch/powerpc-power.s: Likewise.
10460
10461 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10462
10463 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10464 * gdb.base/jit-attach-pie.c: New file.
10465 * gdb.base/jit-attach-pie.exp: New file.
10466
10467 2016-09-28 Pedro Alves <palves@redhat.com>
10468
10469 * gdb.base/infcall-input.c: New file.
10470 * gdb.base/infcall-input.exp: New file.
10471
10472 2016-09-22 Yao Qi <yao.qi@linaro.org>
10473
10474 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10475 (gdb_exit): Rename it to ...
10476 (gdbserver_gdb_exit): ... Close GDBserver.
10477 (gdb_exit): New proc, call gdbserver_gdb_exit.
10478 (mi_gdb_exit): Likewise.
10479
10480 2016-09-22 Yao Qi <yao.qi@linaro.org>
10481
10482 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10483 path.
10484 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10485 Remove duplication.
10486
10487 2016-09-22 Yao Qi <yao.qi@linaro.org>
10488
10489 * lib/gdbserver-support.exp: Check the existence of
10490 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10491
10492 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10493
10494 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10495
10496 2016-09-21 Tom Tromey <tom@tromey.com>
10497
10498 PR gdb/20604:
10499 * gdb.base/quit.exp: New file.
10500
10501 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10502
10503 * .gitignore: New file.
10504
10505 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10506
10507 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10508 throughout.
10509
10510 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10511
10512 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10513
10514 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10515
10516 * gdb.cp/casts.cc (decltype): Move it ...
10517 (main): ... with its call to ...
10518 * gdb.cp/casts03.cc: ... a new file.
10519 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10520
10521 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10522
10523 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10524
10525 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10526
10527 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10528 and sync up the test with tests in gas/testsuite/gas/ppc.
10529 * gdb.arch/powerpc-power.exp: Likewise.
10530
10531 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10532
10533 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10534
10535 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10536 Jan Kratochvil <jan.kratochvil@redhat.com>
10537
10538 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10539 make m1's definition to be different from m2's. Use 'dummy' as an
10540 argument for probe 'two'.
10541
10542 2016-09-10 Jon Beniston <jon@beniston.com>
10543
10544 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10545 for sim target.
10546
10547 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10548
10549 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10550 variable declaration.
10551 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10552 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10553 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10554 received HWCAP as its argument.
10555
10556 2016-09-06 Pedro Alves <palves@redhat.com>
10557
10558 * gdb.base/new-ui-pending-input.c: New file.
10559 * gdb.base/new-ui-pending-input.exp: New file.
10560 * gdb.exp (clear_gdb_spawn_id): New procedure.
10561 (with_spawn_id): Check whether gdb_spawn_id exists before
10562 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10563 on exit.
10564
10565 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10566
10567 * gdb.base/float128.c: New file.
10568 * gdb.base/float128.exp: Likewise.
10569 * gdb.base/floatn.c: Likewise.
10570 * gdb.base/floatn.exp: Likewise.
10571
10572 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10573
10574 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10575
10576 2016-09-05 Pedro Alves <palves@redhat.com>
10577
10578 PR backtrace/19927
10579 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10580 unwinders are immediately called as side effect of "source" or
10581 "disable unwinder" commands.
10582 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10583
10584 2016-09-02 Yao Qi <yao.qi@linaro.org>
10585
10586 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10587 is true and $type is "float" or "double".
10588
10589 2016-09-02 Yao Qi <yao.qi@linaro.org>
10590
10591 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10592 true.
10593 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10594 * gdb.base/call-rt-st.exp: Likewise.
10595 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10596 return value instead of gdb,skip_float_test.
10597 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10598 (do_function_calls): Use its return value instead of
10599 gdb,skip_float_test.
10600 * gdb.base/finish.exp: Likewise.
10601 * gdb.base/funcargs.exp: Likewise.
10602 * gdb.base/return.exp: Likewise.
10603 * gdb.base/return2.exp: Likewise.
10604 * gdb.base/varargs.exp: Likewise.
10605 * lib/gdb.exp (gdb_skip_float_test): Change it to
10606 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10607
10608 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10609
10610 * gdb.multi/tids.exp: Test "thread apply all".
10611
10612 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10613
10614 * gdb.base/default.exp (tty): Remove.
10615
10616 2016-08-24 Kevin Buettner <kevinb@redhat.com>
10617
10618 * gdb.python/py-recurse-unwind.c: New file.
10619 * gdb.python/py-recurse-unwind.py: New file.
10620 * gdb.python/py-recurse-unwind.exp: New file.
10621
10622 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10623
10624 * gdb.base/set-inferior-tty.exp: New file.
10625 * gdb.base/set-inferior-tty.c: New file.
10626
10627 2016-08-23 Pedro Alves <palves@redhat.com>
10628
10629 PR gdb/20494
10630 * gdb.base/new-ui-echo.c: New file.
10631 * gdb.base/new-ui-echo.exp: New file.
10632
10633 2016-08-23 Yao Qi <yao.qi@linaro.org>
10634
10635 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10636 gdbserver_spawn.
10637 * gdb.server/connect-without-multi-process.exp (do_test):
10638 Likewise.
10639
10640 2016-08-23 Yao Qi <yao.qi@linaro.org>
10641
10642 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10643 standalone_txt. Delete gdb_txt and standalone_txt on host
10644 and target. Spawn the binary on target. Copy files from
10645 target to host.
10646
10647 2016-08-22 Pedro Alves <palves@redhat.com>
10648
10649 PR gdb/20505
10650 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10651 with_test_prefix. Factor out bits to ...
10652 (test_no_vdso): ... this new procedure.
10653
10654 2016-08-19 Carl Love <cel@us.ibm.com>
10655
10656 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10657 maintaining separate logic for constructing the output path.
10658 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10659 * gdb.arch/ppc-dfp.exp: Likewise.
10660 * gdb.arch/ppc-fp.exp: Likewise.
10661 * gdb.arch/vsx-regs.exp: Likewise.
10662 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10663 binprefix for generating the additional binary files.
10664
10665 2016-08-19 Pedro Alves <palves@redhat.com>
10666
10667 * gdb.trace/mi-trace-frame-collected.exp
10668 (test_trace_frame_collected): On x32, expect two registers.
10669
10670 2016-08-18 Carl Love <cel@us.ibm.com>
10671
10672 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10673 and sync up the test with tests in gas/testsuite/gas/ppc.
10674 * gdb.arch/powerpc-power.exp: Likewise.
10675
10676 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10677
10678 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10679 expected error message.
10680
10681 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10682
10683 * gdb.multi/remove-inferiors.exp: New file.
10684 * gdb.multi/remove-inferiors.c: New file.
10685
10686 2016-08-12 Yao Qi <yao.qi@linaro.org>
10687
10688 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10689 argument list.
10690
10691 2016-08-10 Pedro Alves <palves@redhat.com>
10692
10693 PR gdb/19187
10694 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10695 setup_kfails.
10696
10697 2016-08-09 Pedro Alves <palves@redhat.com>
10698 Simon Marchi <simon.marchi@ericsson.com>
10699
10700 PR gdb/20418
10701 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10702 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10703
10704 2016-08-09 Pedro Alves <palves@redhat.com>
10705
10706 PR mi/20431
10707 * gdb.mi/mi-cmd-error.exp: New file.
10708
10709 2016-08-09 Pedro Alves <palves@redhat.com>
10710
10711 PR gdb/18653
10712 * gdb.base/signals-state-child.c: New file.
10713 * gdb.base/signals-state-child.exp: New file.
10714 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10715
10716 2016-08-09 Pedro Alves <palves@redhat.com>
10717
10718 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10719
10720 2016-08-03 Tom Tromey <tom@tromey.com>
10721
10722 PR python/18565:
10723 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10724
10725 2016-08-01 Yao Qi <yao.qi@linaro.org>
10726
10727 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10728 variable mode to "multi-process" if $multi_process is 1, otherwise
10729 set it to "single-process".
10730
10731 2016-08-01 Yao Qi <yao.qi@linaro.org>
10732
10733 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10734 * gdb.cp/cpexprs.exp: Likewise.
10735 * gdb.cp/m-static.exp: Likewise.
10736
10737 2016-07-26 Tom Tromey <tom@tromey.com>
10738
10739 PR python/20190:
10740 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10741 test.
10742
10743 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10744
10745 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10746 selecting assembly source files.
10747 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10748 assembly source files.
10749 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10750 assembly source files.
10751 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10752 selecting assembly source files.
10753
10754 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10755
10756 * gdb.base/new-ui.exp (do_test_invalid_args): New
10757 procedure.
10758
10759 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10760
10761 * gdb.btrace/reconnect.c: New file.
10762 * gdb.btrace/reconnect.exp: New file.
10763
10764 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10765
10766 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10767 to test_catch_syscall_group.
10768 (test_catch_syscall_group): New.
10769
10770 2016-07-21 Tom Tromey <tom@tromey.com>
10771
10772 * gdb.rust/simple.rs (main): Use empty struct expression.
10773 * gdb.rust/simple.exp: Add tests for empty struct expression.
10774
10775 2016-07-21 Yao Qi <yao.qi@linaro.org>
10776
10777 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10778 if gdb_skip_xml_test is true on some targets.
10779
10780 2016-07-21 Yao Qi <yao.qi@linaro.org>
10781
10782 * gdb.server/solib-list.exp: Unset last_loaded_file.
10783
10784 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10785
10786 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10787 "step into captured_main (args)".
10788
10789 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10790
10791 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10792
10793 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10794
10795 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10796
10797 2016-07-19 Pedro Alves <palves@redhat.com>
10798
10799 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10800 * gdb.opt/inline-bt.exp: Likewise.
10801 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10802 additional_flags=-Winline.
10803 * gdb.opt/inline-locals.exp: Likewise.
10804 * gdb.opt/inline-markers.c (ATTR): Define.
10805 (inlined_fn): Use it.
10806
10807 2016-07-19 Yao Qi <yao.qi@linaro.org>
10808
10809 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10810 (test_with_self): Remove some code. Remove argument executable.
10811 (top-level): Use do_self_tests.
10812
10813 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
10814 Don Breazeal <donb@codesourcery.com>
10815
10816 * gdb.base/maint.exp: Escape paths used in regular expressions.
10817 * gdb.stabs/weird.exp: Likewise.
10818
10819 2016-07-13 Tom Tromey <tom@tromey.com>
10820
10821 PR python/15620, PR python/18620:
10822 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10823 (test_bkpt_events): New procs.
10824
10825 2016-07-13 Tom Tromey <tom@tromey.com>
10826
10827 PR python/17698:
10828 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10829 test.
10830 (test_watchpoints): Likewise.
10831 (test_bkpt_pending): New proc.
10832
10833 2016-07-13 Tom Tromey <tom@tromey.com>
10834
10835 PR cli/18053:
10836 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10837 completion test.
10838
10839 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10840
10841 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10842 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10843 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10844 f_label.
10845 (g): Rename g_end_lbl to g_label.
10846 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10847 low_pc and high_pc.
10848 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10849
10850 2016-07-12 Tom Tromey <tom@tromey.com>
10851
10852 PR python/19293:
10853 * gdb.python/py-unwind-maint.exp: Update tests.
10854
10855 2016-07-12 Yao Qi <yao.qi@linaro.org>
10856
10857 * lib/selftest-support.exp (selftest_setup): Match the output
10858 when captured_main is inlined.
10859
10860 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10861
10862 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10863 New variables.
10864 (print this%a, print this%b, print this): New tests.
10865 * gdb.fortran/derived-types.f90 (this): New object and
10866 initialization.
10867
10868 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10869
10870 * gdb.ada/arraydim.exp: Remove extra directory level in build
10871 directory.
10872
10873 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10874
10875 * lib/ada.exp: Remove extra directory level in build directory.
10876 * gdb.ada/cond_lang.exp: Likewise.
10877 * gdb.ada/exec_changed.exp: Likewise.
10878 * gdb.ada/lang_switch.exp: Likewise.
10879
10880 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10881
10882 * simple.rs: Add test for raw pointer subscripting.
10883 * simple.exp: Add test expectations.
10884
10885 2016-07-05 Yao Qi <yao.qi@linaro.org>
10886
10887 * gdb.mi/mi-reverse.exp: Match =record-started output.
10888
10889 2016-07-01 Pedro Alves <palves@redhat.com>
10890
10891 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10892 procedure.
10893 (jit_reader_test): Test the jit reader's unwinder.
10894 * gdb.base/jithost.c (jit_function_00_code): New global.
10895 (main): Use memcpy to fill in the mmapped code, instead of poking
10896 bytes manually here.
10897 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10898 value.
10899 (read_debug_info): Save the function's range.
10900 (read_sp): New function.
10901 (unwind_frame): Use it. Also unwind RBP.
10902 (get_frame_id): Use read_sp.
10903 (gdb_init_reader): Use calloc instead of malloc.
10904 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10905 parameter. Use gdb_test_multiple.
10906
10907 2016-07-01 Pedro Alves <palves@redhat.com>
10908 Antoine Tremblay <antoine.tremblay@ericsson.com>
10909
10910 * gdb.threads/process-dies-while-detaching.c: New file.
10911 * gdb.threads/process-dies-while-detaching.exp: New file.
10912
10913 2016-07-01 Pedro Alves <palves@redhat.com>
10914
10915 * gdb.multi/watchpoint-multi-exit.c: New file.
10916 * gdb.multi/watchpoint-multi-exit.exp: New file.
10917
10918 2016-06-30 Pedro Alves <palves@redhat.com>
10919
10920 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10921 unset inferior_spawn_id.
10922
10923 2016-06-30 Pedro Alves <palves@redhat.com>
10924
10925 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10926 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10927
10928 2016-06-29 Yao Qi <yao.qi@linaro.org>
10929
10930 * gdb.base/return.c: Add copyright header.
10931
10932 2016-06-29 Tom Tromey <tom@tromey.com>
10933
10934 PR python/20129:
10935 * gdb.python/py-framefilter.exp: Add tests for setting priority
10936 and disabling of non-existent frame filter.
10937
10938 2016-06-29 Yao Qi <yao.qi@linaro.org>
10939
10940 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10941 0x0f07ff.
10942
10943 2016-06-28 Yao Qi <yao.qi@linaro.org>
10944
10945 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10946 triplets. Start gdb, execute catch syscall, and continue. Check
10947 gdb's output to determine catch syscall is supported.
10948
10949 2016-06-27 Manish Goregaokar <manish@mozilla.com>
10950
10951 * gdb.rust/simple.rs: Add test for returning unit in a function.
10952 * gdb.rust/simple.exp: Add expectation for functions returning
10953 unit.
10954
10955 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10956
10957 * gdb.python/py-breakpoint-create-fail.c,
10958 gdb.python/py-breakpoint-create-fail.exp,
10959 gdb.python/py-breakpoint-create-fail.py: New testcase.
10960
10961 2016-06-25 Manish Goregaokar <manish@mozilla.com>
10962
10963 PR gdb/20239
10964 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10965 * gdb.rust/simple.exp: Add test expectations for new NonZero
10966 tests.
10967
10968 2016-06-24 David Taylor <dtaylor@emc.com>
10969
10970 * gdb.base/offsets.exp: New file.
10971 * gdb.base/offsets.c: New file.
10972
10973 2016-06-23 Tom Tromey <tom@tromey.com>
10974
10975 PR gdb/16483:
10976 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10977 before any filters are loaded.
10978
10979 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10980
10981 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10982 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10983 structs.
10984 * gdb.fortran/derived-type-function.exp: New file.
10985 * gdb.fortran/derived-type-function.f90: New file.
10986
10987
10988 2016-06-21 Pedro Alves <palves@redhat.com>
10989
10990 * gdb.base/new-ui.exp: New file.
10991 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10992 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10993 (with_spawn_id): New procedure.
10994
10995 2016-06-21 Pedro Alves <palves@redhat.com>
10996
10997 * gdb.mi/mi-exec-run.exp: New file.
10998
10999 2016-06-21 Pedro Alves <palves@redhat.com>
11000
11001 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11002 breakpoint command's output on the main UI.
11003 (test_break): New procedure, factored out from calls in the top
11004 level.
11005 (top level): Use foreach_with_prefix to test MI as main UI and as
11006 separate UI.
11007
11008 2016-06-21 Pedro Alves <palves@redhat.com>
11009
11010 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11011 (test_awatch_creation_and_listing)
11012 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11013 Remove 'type' parameter.
11014 (test_watchpoint_all): New parameter mi_mode. Remove
11015 with_test_prefix.
11016 (top level): Use foreach_with_prefix, and add main/separate UI MI
11017 testing axis.
11018
11019 2016-06-21 Pedro Alves <palves@redhat.com>
11020
11021 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11022 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11023 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11024 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11025 (gdb_main_spawn_id, mi_spawn_id): Declare and
11026 comment.
11027 (mi_create_inferior_pty): New procedure,
11028 factored out from default_mi_gdb_start.
11029 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11030 procedures.
11031 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11032 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11033 Use mi_create_inferior_pty.
11034 (mi_gdb_start): Use eval to pass down args list.
11035
11036 2016-06-21 Pedro Alves <palves@redhat.com>
11037
11038 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11039 * gdb.opt/inline-cmds.exp: Add MI tests.
11040
11041 2016-06-21 Pedro Alves <palves@redhat.com>
11042
11043 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11044
11045 2016-06-21 Pedro Alves <palves@redhat.com>
11046
11047 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11048 (top level): Use it instead of mi_execute_to.
11049
11050 2016-06-21 Pedro Alves <palves@redhat.com>
11051
11052 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11053 (cont_handler_str): New.
11054 (signal_stop_handler): Set stop_handler_str instead of printing to
11055 stdout.
11056 (continue_handler): Set cont_handler_str instead of printing to
11057 stdout.
11058 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11059 mi_send_resuming_command. Print stop_handler_str and
11060 cont_handler_str instead of expecting the python events print
11061 directly.
11062
11063 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11064
11065 * gdb.base/jit-reader.exp: New file.
11066 * gdb.base/jithost.c: New file.
11067 * gdb.base/jithost.h: New file.
11068 * gdb.base/jitreader.c : New file.
11069 * gdb.base/jit-protocol.h: New file.
11070
11071 2016-06-17 Yao Qi <yao.qi@linaro.org>
11072
11073 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11074 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11075 and detach-on-fork. Adjust tests.
11076 (top level): Invoke break_cond_on_syscall with combinations of
11077 syscall, follow-fork-mode and detach-on-fork.
11078
11079 2016-06-17 Yao Qi <yao.qi@linaro.org>
11080
11081 * gdb.base/step-over-exit.c: New.
11082 * gdb.base/step-over-exit.exp: New.
11083
11084 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11085
11086 * gdb.base/float.exp: Add target check for nds32*-*-*.
11087 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11088
11089 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11090
11091 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11092 for unsupported target features.
11093 * gdb.base/call-rt-st.exp: Likewise.
11094 * gdb.base/call-sc.exp: Likewise.
11095 * gdb.base/call-signal-resume.exp: Likewise.
11096 * gdb.base/call-strs.exp: Likewise.
11097 * gdb.base/callexit.exp: Likewise.
11098 * gdb.base/callfuncs.exp: Likewise.
11099 * gdb.base/nodebug.exp: Likewise.
11100 * gdb.base/printcmds.exp: Likewise.
11101 * gdb.base/ptype.exp: Likewise.
11102 * gdb.base/structs.exp: Likewise.
11103 * gdb.base/unwindonsignal.exp: Likewise.
11104 * gdb.cp/gdb2495.exp: Likewise.
11105 * gdb.cp/templates.exp: Likewise.
11106 * gdb.cp/virtfunc.exp: Likewise.
11107 * gdb.threads/hand-call-in-threads.exp: Likewise.
11108 * gdb.threads/interrupted-hand-call.exp: Likewise.
11109 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11110
11111 2016-06-10 Tom Tromey <tom@tromey.com>
11112
11113 PR rust/20110:
11114 * gdb.rust/expr.exp: Add test for integer constant larger than
11115 i32.
11116
11117 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11118
11119 * gdb.fortran/nested-funcs.exp: New.
11120 * gdb.fortran/nested-funcs.f90: New.
11121
11122 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11123
11124 * gdb.base/examine-backward.c: New file.
11125 * gdb.base/examine-backward.exp: New file.
11126
11127 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11128
11129 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11130 matching.
11131
11132 2016-06-02 Tom Tromey <tom@tromey.com>
11133
11134 PR python/18984:
11135 * gdb.python/py-shared.exp: Add solib_name test.
11136
11137 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
11138
11139 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
11140
11141 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
11142
11143 PR c++/19893
11144 * gdb.dwarf2/implref.exp: Rename to...
11145 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
11146 * gdb.dwarf2/implref-array.c: New file.
11147 * gdb.dwarf2/implref-array.exp: Likewise.
11148 * gdb.dwarf2/implref-global.c: Likewise.
11149 * gdb.dwarf2/implref-global.exp: Likewise.
11150 * gdb.dwarf2/implref-struct.c: Likewise.
11151 * gdb.dwarf2/implref-struct.exp: Likewise.
11152
11153 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11154
11155 * gdb.trace/trace-condition.exp: Add 64bit tests.
11156
11157 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11158
11159 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
11160 bits types.
11161 (main): Adapt to 8 to 64 bits types.
11162 * gdb.trace/trace-condition.exp: Add new tests.
11163
11164 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11165
11166 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
11167
11168 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11169
11170 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
11171 Move condition tests...
11172 * gdb.trace/trace-condition.exp: Here.
11173
11174 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11175
11176 * gdb.trace/trace-condition.exp: Add counter-case tests.
11177
11178 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11179
11180 PR c++/15231
11181 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
11182 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
11183
11184 2016-05-27 Pedro Alves <palves@redhat.com>
11185
11186 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11187 New procedure.
11188 (top level): Call it, and bail out of DejaGnu is known to be bad.
11189
11190 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
11191
11192 * gdb.base/whatis.c: Extend the test case.
11193 * gdb.base/whatis.exp: Add additional tests.
11194
11195 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11196
11197 * gdb.fortran/type.f90: Add pointer variable.
11198 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
11199
11200 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11201
11202 * gdb.fortran/vla-type.exp: Fix testcase name.
11203
11204 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11205
11206 * gdb.fortran/vla-type.exp: Access elements in nested structs.
11207
11208 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11209
11210 * gdb.fortran/type.f90: Add nested structures.
11211 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
11212 * gdb.fortran/derived-type.exp: Adapt expected output.
11213 * gdb.fortran/vla-type.exp: Adapt expected output.
11214
11215 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11216
11217 * gdb.fortran/whatis_type.exp: Adapt expected output.
11218
11219 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11220
11221 * gdb.fortran/print_type.exp: Fix expected output.
11222 * gdb.fortran/whatis_type.exp: Fix expected output.
11223
11224 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11225
11226 * gdb.fortran/whatis_type.exp: Use multi_line.
11227
11228 2016-05-24 Tom Tromey <tom@tromey.com>
11229
11230 PR python/17386:
11231 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
11232 use value as an index.
11233
11234 2016-05-23 Tom Tromey <tom@tromey.com>
11235
11236 PR python/17981:
11237 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
11238 no-breakpoint case.
11239
11240 2016-05-24 Pedro Alves <palves@redhat.com>
11241
11242 PR gdb/19828
11243 * gdb.threads/clone-attach-detach.c: New file.
11244 * gdb.threads/clone-attach-detach.exp: New file.
11245
11246 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
11247
11248 * gdb.base/annota-input-while-running.exp: Fix syntax error.
11249
11250 2016-05-23 Tom Tromey <tom@tromey.com>
11251
11252 PR python/19438, PR python/18393:
11253 * gdb.python/py-progspace.exp: Add "dir" test.
11254 * gdb.python/py-objfile.exp: Add "dir" test.
11255
11256 2016-05-23 Yao Qi <yao.qi@linaro.org>
11257
11258 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
11259 * gdb.arch/thumb2-it.exp: Likewise.
11260
11261 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
11262
11263 * gdb.mi/mi-threads-interrupt.c: New file.
11264 * gdb.mi/mi-threads-interrupt.exp: New file.
11265
11266 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
11267
11268 PR gdb/18077
11269 * gdb.mi/mi-async-run.exp: New file.
11270 * gdb.mi/mi-async-run.c: New file.
11271
11272 2016-05-17 Tom Tromey <tom@tromey.com>
11273 Manish Goregaokar <manishsmail@gmail.com>
11274
11275 * lib/rust-support.exp: New file.
11276 * lib/gdb.exp (skip_rust_tests): New proc.
11277 (build_executable_from_specs): Handle rust.
11278 * lib/future.exp (gdb_find_rustc): New proc.
11279 (gdb_default_target_compile): Handle rust.
11280 * gdb.rust/expr.exp: New file.
11281 * gdb.rust/generics.exp: New file.
11282 * gdb.rust/generics.rs: New file.
11283 * gdb.rust/methods.exp: New file.
11284 * gdb.rust/methods.rs: New file.
11285 * gdb.rust/modules.exp: New file.
11286 * gdb.rust/modules.rs: New file.
11287 * gdb.rust/simple.exp: New file.
11288 * gdb.rust/simple.rs: New file.
11289
11290 2016-05-17 Tom Tromey <tom@tromey.com>
11291
11292 * gdb.base/default.exp (set language): Add rust.
11293
11294 2016-05-17 Tom Tromey <tom@tromey.com>
11295
11296 * gdb.gdb/unittest.exp: New file.
11297
11298 2016-05-16 Yao Qi <yao.qi@linaro.org>
11299
11300 * gdb.base/batch-preserve-term-settings.exp: Remove variable
11301 shell_prompt. Update shell_prompt_re.
11302
11303 2016-05-12 Doug Evans <dje@google.com>
11304
11305 PR symtab/19999
11306 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
11307 $options when building executable.
11308 * gdb.dwarf2/fission-loclists-pie.S: New file.
11309 * gdb.dwarf2/fission-loclists-pie.exp: New file.
11310
11311 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11312
11313 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
11314 of [is_remote target],
11315
11316 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11317
11318 * lib/gdb.exp (use_gdb_stub): New procedure.
11319
11320 2016-05-03 Yunlian Jiang <yunlian@google.com>
11321 Doug Evans <dje@google.com>
11322
11323 PR symtab/19914
11324 * gdb.dwarf2/dwp-sepdebug.c: New file.
11325 * gdb.dwarf2/dwp-sepdebug.exp: New file.
11326
11327 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11328
11329 * gdb.base/detach.exp: Remove is_remote check.
11330
11331 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11332
11333 * gdb.base/annota-input-while-running.exp: Don't check for
11334 [is_remote target]. Enable annotations after running to main.
11335 Remove unused "set test..." line.
11336
11337 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11338
11339 * gdb.trace/trace-enable-disable.exp: New file.
11340 * gdb.trace/trace-enable-disable.c: New file.
11341
11342 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11343
11344 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
11345 use it in info sharedlibrary test.
11346 * gdb.trace/ftrace-lock.exp: Likewise.
11347 * gdb.trace/ftrace.exp: Likewise.
11348 * gdb.trace/range-stepping.exp: Likewise.
11349 * gdb.trace/trace-break.exp: Likewise.
11350 * gdb.trace/trace-condition.exp: Likewise.
11351 * gdb.trace/trace-mt.exp: Likewise.
11352
11353 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11354
11355 * lib/gdb.exp (gdb_load_shlibs): Rename to...
11356 (gdb_load_shlib): ... this.
11357 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
11358 gdb_load_shlib.
11359 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
11360 * gdb.base/ctxobj.exp: Likewise.
11361 * gdb.base/dprintf-pending.exp: Likewise.
11362 * gdb.base/dso2dso.exp: Likewise.
11363 * gdb.base/fixsection.exp: Likewise.
11364 * gdb.base/gcore-relro.exp: Likewise.
11365 * gdb.base/gdb1555.exp: Likewise.
11366 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11367 * gdb.base/gnu-ifunc.exp: Likewise.
11368 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
11369 * gdb.base/jit-so.exp (one_jit_test): Likewise.
11370 * gdb.base/pending.exp: Likewise.
11371 * gdb.base/print-file-var.exp: Likewise.
11372 * gdb.base/print-symbol-loading.exp: Likewise.
11373 * gdb.base/shlib-call.exp: Likewise.
11374 * gdb.base/shreloc.exp: Likewise.
11375 * gdb.base/so-impl-ld.exp: Likewise.
11376 * gdb.base/solib-disc.exp: Likewise.
11377 * gdb.base/solib-nodir.exp: Likewise.
11378 * gdb.base/solib-overlap.exp: Likewise.
11379 * gdb.base/solib-symbol.exp: Likewise.
11380 * gdb.base/solib-weak.exp (do_test): Likewise.
11381 * gdb.base/sym-file.exp: Likewise.
11382 * gdb.base/symtab-search-order.exp: Likewise.
11383 * gdb.base/type-opaque.exp: Likewise.
11384 * gdb.base/unload.exp: Likewise.
11385 * gdb.base/watchpoint-solib.exp: Likewise.
11386 * gdb.compile/compile.exp: Likewise.
11387 * gdb.cp/gdb2384.exp: Likewise.
11388 * gdb.cp/infcall-dlopen.exp: Likewise.
11389 * gdb.cp/re-set-overloaded.exp: Likewise.
11390 * gdb.fortran/library-module.exp: Likewise.
11391 * gdb.opt/solib-intra-step.exp: Likewise.
11392 * gdb.python/py-finish-breakpoint.exp: Likewise.
11393 * gdb.python/py-shared.exp: Likewise.
11394 * gdb.reverse/solib-precsave.exp: Likewise.
11395 * gdb.reverse/solib-reverse.exp: Likewise.
11396 * gdb.server/solib-list.exp: Likewise.
11397 * gdb.threads/dlopen-libpthread.exp: Likewise.
11398 * gdb.threads/tls-shared.exp: Likewise.
11399 * gdb.threads/tls-so_extern.exp: Likewise.
11400 * gdb.trace/change-loc.exp: Likewise.
11401 * gdb.trace/ftrace-lock.exp: Likewise.
11402 * gdb.trace/ftrace.exp: Likewise.
11403 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
11404 * gdb.trace/pending.exp: Likewise.
11405 * gdb.trace/range-stepping.exp: Likewise.
11406 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
11407 (strace_info_marker): Likewise.
11408 (strace_probe_marker): Likewise.
11409 (strace_trace_on_same_addr): Likewise.
11410 (strace_trace_on_diff_addr): Likewise.
11411 * gdb.trace/trace-break.exp: Likewise.
11412 * gdb.trace/trace-condition.exp: Likewise.
11413 * gdb.trace/trace-mt.exp: Likewise.
11414
11415 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11416
11417 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
11418 result of gdb_remote_download.
11419 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
11420 * gdb.base/dso2dso.exp: Likewise.
11421 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11422 * gdb.base/print-file-var.exp: Likewise.
11423 * gdb.base/shlib-call.exp: Likewise.
11424 * gdb.base/shreloc.exp: Likewise.
11425 * gdb.base/solib-overlap.exp: Likewise.
11426 * gdb.base/solib-weak.exp (do_test): Likewise.
11427 * gdb.base/unload.exp: Likewise.
11428
11429 2016-04-27 Yao Qi <yao.qi@linaro.org>
11430
11431 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
11432 exists.
11433
11434 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11435
11436 * vla-type.exp: Print structure from toplevel.
11437
11438 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11439
11440 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11441 of dynamic types.
11442 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11443 of dynamic types.
11444
11445 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11446
11447 * gdb.fortran/vla-type.f90: New file.
11448 * gdb.fortran/vla-type.exp: New file.
11449
11450 2016-04-25 Yao Qi <yao.qi@linaro.org>
11451
11452 * gdb.base/branch-to-self.c: New file.
11453 * gdb.base/branch-to-self.exp: New file.
11454
11455 2016-04-22 Yao Qi <yao.qi@linaro.org>
11456
11457 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11458 more after $hex.
11459
11460 2016-04-22 Yao Qi <yao.qi@linaro.org>
11461
11462 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11463 * gdb.base/annota3.exp: Likewise.
11464
11465 2016-04-22 Yao Qi <yao.qi@linaro.org>
11466
11467 * gdb.reverse/step-precsave.exp: Do one step and test program
11468 stops in "callee" and do multiple steps until program goes out
11469 of "callee".
11470 * gdb.reverse/step-reverse.exp: Likewise.
11471
11472 2016-04-22 Yao Qi <yao.qi@linaro.org>
11473
11474 * gdb.trace/signal.exp: Also pass if
11475 $tracepoint_hits($i) > $iterations.
11476
11477 2016-04-22 Yao Qi <yao.qi@linaro.org>
11478
11479 * gdb.trace/signal.c: New file.
11480 * gdb.trace/signal.exp: New file.
11481
11482 2016-04-19 Doug Evans <xdje42@gmail.com>
11483
11484 * gdb.base/bad-file.exp: New file.
11485
11486 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11487
11488 * gdb.dwarf2/implref.exp: New file.
11489
11490 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11491
11492 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11493 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11494 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11495 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11496 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11497 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11498 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11499 * lib/fortran.exp (fortran_int4): New procedure.
11500 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11501 (fortran_logical4): Likewise.
11502
11503 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11504
11505 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11506
11507 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11508
11509 * lib/compiler.c: Add Intel specific preprocessor macros.
11510 * lib/compiler.cc: Likewise.
11511
11512 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
11513
11514 * gdb.server/connect-with-no-symbol-file.c: New file.
11515 * gdb.server/connect-with-no-symbol-file.exp: New file.
11516
11517 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11518
11519 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11520
11521 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11522
11523 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11524 standard output directory.
11525
11526 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11527
11528 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11529
11530 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11531
11532 * gdb.btrace/instruction_history.c (loop): Add declaration.
11533
11534 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11535
11536 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11537
11538 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11539
11540 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11541 parentheses to print.
11542 (continue_handler): Likewise.
11543
11544 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11545
11546 * gdb.server/solib-list.exp: Remove is_remote check.
11547 Pass shlib= to gdb_compile. Don't link shared library with
11548 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11549 Run binary filename through "readlink -f" on the target.
11550
11551 2016-04-08 Pedro Alves <palves@redhat.com>
11552
11553 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11554 interpreter filename as argument to gdbserver_spawn.
11555 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11556 Return empty if $last_loaded_file does not exist.
11557
11558 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11559
11560 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11561 * gdb.base/jit-main.c: Use exit after usage.
11562
11563 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11564
11565 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11566 GDBHISTSIZE prior to the tests.
11567 * gdb.base/gdbinit-history.exp: Likewise.
11568
11569 2016-04-07 Pedro Alves <palves@redhat.com>
11570
11571 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11572 instead of build_executable. Use gdb_load_shlibs.
11573
11574 2016-04-07 Yao Qi <yao.qi@linaro.org>
11575
11576 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11577 Execute "si" command.
11578
11579 2016-04-07 Yao Qi <yao.qi@linaro.org>
11580
11581 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11582 number instead of the comments on some line.
11583
11584 2016-04-06 Don Breazeal <donb@codesourcery.com>
11585
11586 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11587 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11588
11589 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11590
11591 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11592 standard_output_file. Remove unused binfile variable.
11593
11594 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
11595
11596 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11597 * gdb.python/py-mi-objfile.exp: Match "list main" output
11598 in console format.
11599
11600 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11601
11602 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11603 absolute.
11604
11605 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11606
11607 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11608 absolute.
11609 * gdb.trace/ftrace.exp: Likewise.
11610 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11611 targets as well.
11612 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11613 (gdb_load_shlibs): Copy libraries to test directory when testing
11614 natively. Only set solib-search-path if testing remotely.
11615 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11616
11617 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11618
11619 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11620 gdb_download. Use it even if the target is not remote.
11621 * gdb.base/jit.exp (compile_jit_test): Likewise.
11622 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11623 output directory if the destination board is local, otherwise use
11624 the standard remote_download from DejaGnu.
11625 (gdb_download): Remove.
11626 (gdb_load_shlibs): Use gdb_remote_download instead of
11627 gdb_download.
11628 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11629 Use gdb_remote_download instead of gdb_download. Use it even if
11630 the target is not remote.
11631 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11632 instead of gdb_download.
11633
11634 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11635
11636 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11637 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11638 run.
11639
11640 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
11641
11642 PR gdb/19820
11643 * gdb.base/printcmds.exp: Add artificial arrays tests.
11644
11645 2016-03-31 Pedro Alves <palves@redhat.com>
11646
11647 PR gdb/19858
11648 * gdb.base/jit-main.c: Include unistd.h.
11649 (ATTACH): Define to 0 if not already defined.
11650 (wait_for_gdb, mypid): New globals.
11651 (WAIT_FOR_GDB): New macro.
11652 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11653 some breakpoint locations.
11654 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11655 New procedures.
11656 (one_jit_test): Add REATTACH parameter, and handle it. Use
11657 continue_to_test_location.
11658 (top level): Test attach, and adjusts calls to one_jit_test.
11659
11660 2016-03-31 Pedro Alves <palves@redhat.com>
11661
11662 PR gdb/19858
11663 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11664 BINSUFFIX parameter, and handle it.
11665 (top level): Adjust calls compile_jit_test.
11666
11667 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
11668
11669 PR python/19743
11670 * gdb.python/py-mi-events-gdb.py: New file.
11671 * gdb.python/py-mi-events.c: New file.
11672 * gdb.python/py-mi-events.exp: New file.
11673
11674 2016-03-30 Yao Qi <yao.qi@linaro.org>
11675
11676 * gdb.reverse/until-precsave.exp: Match function name only.
11677 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11678 Move malloc to a condition block.
11679 * gdb.reverse/until-reverse.exp: Match function name only.
11680
11681 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11682
11683 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11684 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11685 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11686 variable for GPR 0 instead of assuming it is register 0.
11687 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11688 * lib/trace-support.exp: Add s390 registers.
11689
11690 2016-03-29 Yao Qi <yao.qi@linaro.org>
11691
11692 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11693
11694 2016-03-24 Yao Qi <yao.qi@linaro.org>
11695
11696 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11697 test message.
11698
11699 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11700
11701 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11702 maintaining separate logic for constructing the output path.
11703
11704 2016-03-16 Don Breazeal <donb@codesourcery.com>
11705
11706 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11707 Retry fork and waitpid on interrupted system call errors.
11708 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11709 Use with_timeout_factor to increase timeout by factor of 10.
11710
11711 2016-03-15 Don Breazeal <donb@codesourcery.com>
11712
11713 * gdb.cp/scope-err.cc: New test program.
11714 * gdb.cp/scope-err.exp: New test script.
11715 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11716 lines and "set breakpoint here" comment.
11717 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11718 Fixed some whitespace and format issues.
11719 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11720 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11721
11722 2016-03-15 Doug Evans <dje@google.com>
11723
11724 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11725 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11726 All callers updated. Add tests for enums, mixed flags register.
11727
11728 2016-03-15 Doug Evans <dje@google.com>
11729
11730 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11731 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11732
11733 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11734
11735 * gdb.base/default.exp: Add $_as_string to the list of expected
11736 convenience functions.
11737
11738 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11739
11740 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11741
11742 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11743
11744 * gdb.python/py-as-string.exp: New file.
11745 * gdb.python/py-as-string.c: New file.
11746
11747 2016-03-09 Pedro Alves <palves@redhat.com>
11748
11749 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11750 signal" -> "Thread NN received signal" output change.
11751 * gdb.threads/ia64-sigill.exp: Likewise.
11752 * gdb.threads/linux-dp.exp: Likewise.
11753 * gdb.threads/manythreads.exp: Likewise.
11754 * gdb.threads/pending-step.exp: Likewise.
11755 * gdb.threads/print-threads.exp: Likewise.
11756 * gdb.threads/sigstep-threads.exp: Likewise.
11757 * gdb.threads/staticthreads.exp: Likewise.
11758 * gdb.threads/tls.exp: Likewise.
11759
11760 2016-03-09 Pedro Alves <palves@redhat.com>
11761
11762 * gdb.base/command-line-input.exp: New file.
11763
11764 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11765
11766 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11767 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11768 * gdb.trace/pending.exp: Accept leading dot before function name.
11769 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11770 * lib/trace-support.exp: Set registers for ppc.
11771
11772 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11773
11774 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11775 use it for disassembly; accept .main in addition to main in backtrace.
11776
11777 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
11778 Marcin Kościelnicki <koriakin@0x04.net>
11779
11780 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11781 (gdb_recursion_test_ptr): New global variable.
11782 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11783 gdb_recursion_test.
11784 (gdb_c_test): Ditto.
11785
11786 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11787
11788 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11789 ordering.
11790
11791 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11792
11793 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11794 (bar): Add bar_start_lbl label.
11795 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11796 of foo/bar for emitting DWARF and tracing.
11797
11798 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11799
11800 * analyze-racy-logs.py: Set executable bit.
11801
11802 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11803
11804 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11805 (CHECK_TARGET_TMP): Likewise.
11806 (check-single-racy): New rule.
11807 (check-parallel-racy): Likewise.
11808 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11809 (do-check-parallel-racy): New rule.
11810 (check-racy/%.exp): Likewise.
11811 * README (Racy testcases): New section.
11812 * analyze-racy-logs.py: New file.
11813
11814 2016-03-03 Doug Evans <dje@google.com>
11815
11816 * gdb.base/skip.exp: Use with_test_prefix.
11817
11818 2016-03-03 Yao Qi <yao.qi@linaro.org>
11819
11820 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11821 Invoke step_over_syscall "clone" and break_cond_on_syscall
11822 "clone".
11823 * gdb.base/step-over-clone.c: New file.
11824
11825 2016-03-03 Yao Qi <yao.qi@linaro.org>
11826
11827 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11828 code format.
11829
11830 2016-03-03 Yao Qi <yao.qi@linaro.org>
11831
11832 * gdb.base/disp-step-fork.c: Rename to ...
11833 * gdb.base/step-over-fork.c: ... it. New file.
11834 * gdb.base/disp-step-vfork.c: Rename to ...
11835 * gdb.base/step-over-vfork.c: ... it. New file.
11836 * gdb.base/disp-step-syscall.exp: Rename to ...
11837 * gdb.base/step-over-syscall.exp: ... it. New file.
11838 (disp_step_cross_syscall): Rename to ...
11839 (step_over_syscall): ... it.
11840
11841 2016-03-03 Yao Qi <yao.qi@linaro.org>
11842
11843 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11844 If target supports condition evaluation on target, invoke
11845 break_cond_on_syscall for fork and vfork.
11846
11847 2016-03-03 Yao Qi <yao.qi@linaro.org>
11848
11849 * gdb.base/disp-step-syscall.exp: Don't invoke
11850 support_displaced_stepping.
11851 (disp_step_cross_syscall): Test with displaced stepping off and
11852 on if supported.
11853
11854 2016-03-03 Yao Qi <yao.qi@linaro.org>
11855
11856 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11857 proc.
11858 (setup): New proc.
11859 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11860 and setup.
11861
11862 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11863
11864 * gdb.fortran/vla-history.exp: Remove breakpoint.
11865
11866 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11867
11868 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11869 exceeds timeout.
11870
11871 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11872
11873 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11874 breakpoint.
11875
11876 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11877
11878 * gdb.mi/vla.f90: Nullify pointer after declaration.
11879
11880 2016-03-01 Pedro Alves <palves@redhat.com>
11881
11882 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11883
11884 2016-03-01 Pedro Alves <palves@redhat.com>
11885
11886 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11887 before anything else.
11888 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11889 _GNU_SOURCE here.
11890 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11891 before anything else.
11892 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11893
11894 2016-03-01 Pedro Alves <palves@redhat.com>
11895
11896 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11897
11898 2016-03-01 Yao Qi <yao.qi@linaro.org>
11899
11900 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11901 prepare_for_testing.
11902
11903 2016-03-01 Yao Qi <yao.qi@linaro.org>
11904
11905 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11906
11907 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11908
11909 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11910 manually constructing the output path.
11911
11912 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11913
11914 * gdb.arch/s390-stackless.S: New.
11915 * gdb.arch/s390-stackless.exp: New.
11916
11917 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11918
11919 * gdb.dlang/circular.c: New file.
11920 * gdb.dlang/circular.exp: New file.
11921
11922 2016-02-26 Yao Qi <yao.qi@linaro.org>
11923
11924 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11925 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11926 (testcases): Update.
11927
11928 2016-02-26 Yao Qi <yao.qi@linaro.org>
11929
11930 * gdb.reverse/aarch64.c: Rename to ...
11931 * gdb.reverse/insn-reverse.c: ... it.
11932 * gdb.reverse/aarch64.exp: Rename to ...
11933 * gdb.reverse/insn-reverse.exp: ... it.
11934
11935 2016-02-26 Yao Qi <yao.qi@linaro.org>
11936
11937 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11938 (testcase_ftype): New.
11939 (testcases): New array.
11940 (n_testcases): New.
11941 (main): Call each element in testcases.
11942 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11943 (read_testcase): New.
11944 Do the tests in a loop.
11945
11946 2016-02-25 Yao Qi <yao.qi@linaro.org>
11947
11948 * gdb.base/branches.c: Remove.
11949
11950 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11951
11952 PR gdb/13808
11953 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11954
11955 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11956
11957 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11958
11959 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11960
11961 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11962 change x86_64 call_insn to 'callq'.
11963
11964 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11965
11966 * gdb.trace/tfile-avx.c: Move to...
11967 * gdb.trace/tracefile-pseudo-reg.c: Here.
11968 * gdb.trace/tfile-avx.exp: Move to...
11969 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11970
11971 2016-02-24 Gary Benson <gbenson@redhat.com>
11972
11973 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11974 message on attach.
11975
11976 2016-02-23 Doug Evans <dje@google.com>
11977
11978 * gdb.base/skip.c (test_skip): New function.
11979 (end_test_skip_file_and_function): New function.
11980 (test_skip_file_and_function): New function.
11981 * gdb.base/skip1.c (test_skip): New function.
11982 (skip1_test_skip_file_and_function): New function.
11983 * gdb.base/skip.exp: Add tests for new skip options.
11984 * gdb.base/skip-solib.exp: Update expected output.
11985 * gdb.perf/skip-command.cc: New file.
11986 * gdb.perf/skip-command.exp: New file.
11987 * gdb.perf/skip-command.py: New file.
11988
11989 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11990
11991 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11992 info registers pattern.
11993
11994 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11995
11996 * lib/future.exp: Add D support.
11997 (gdb_find_gdc): New proc.
11998 (gdb_default_target_compile): Add D support.
11999
12000 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
12001
12002 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12003 user+system time.
12004 (trace_speed_test): Determine the iteration count for a time
12005 between 15..30 seconds.
12006
12007 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12008
12009 * gdb.arch/i386-mpx-sigsegv.c: New file.
12010 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12011 * gdb.arch/i386-mpx-simple_segv.c: New file.
12012 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12013
12014 2016-02-18 Yao Qi <yao.qi@linaro.org>
12015
12016 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12017 Don't call setup_kfail.
12018
12019 2016-02-18 Yao Qi <yao.qi@linaro.org>
12020
12021 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12022 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12023
12024 2016-02-16 Doug Evans <dje@google.com>
12025
12026 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12027 * gdb.base/skip1.c: Ditto.
12028 * gdb.base/skip.exp: Whitespace cleanup.
12029
12030 2016-02-16 Don Breazeal <donb@codesourcery.com>
12031
12032 PR remote/19496
12033 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12034 Remove kfail for PR remote/19496.
12035
12036 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12037
12038 * lib/gdb.exp (standard_temp_file): Return a path specific to
12039 the runtest invocation.
12040
12041 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12042
12043 * gdb.trace/save-trace.exp: Change relative path to be in the
12044 standard output directory.
12045
12046 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12047
12048 * gdb.arch/i386-prologue.c: Add missing prototypes.
12049
12050 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12051
12052 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12053 * gdb.arch/i386-prologue.exp: Likewise.
12054 * gdb.arch/i386-size.exp: Likewise.
12055
12056 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12057
12058 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12059 define object file path.
12060 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12061 file path.
12062 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12063 standard_output_file to define binfile.
12064
12065 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12066
12067 Fix compatibility with recent gfortran-5.3.1.
12068 * gdb.fortran/vla-history.exp (print vla1 allocated)
12069 (print vla2 allocated, print $2, print $3): Remove
12070 (print $4): Rename to ...
12071 (print $2): ... here.
12072 (print $9): Rename to ...
12073 (print $5): ... here.
12074 (print $10): Rename to ...
12075 (print $6): ... here.
12076 * gdb.fortran/vla.f90: Add pvla initialization.
12077
12078 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12079
12080 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12081 New test.
12082 * gdb.fortran/vla-value-sub.exp: Likewise.
12083
12084 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12085
12086 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12087
12088 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12089
12090 * i386-biarch-core.exp: Define corefile using
12091 standard_output_file.
12092
12093 2016-02-12 Yao Qi <yao.qi@linaro.org>
12094
12095 * gdb.arch/arm-single-step-kernel-helper.c: New.
12096 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12097
12098 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12099
12100 * gdb.btrace/tailcall-only.exp: New.
12101 * gdb.btrace/tailcall-only.c: New.
12102 * gdb.btrace/x86_64-tailcall-only.S: New.
12103 * gdb.btrace/i686-tailcall-only.S: New.
12104
12105 2016-02-11 Pedro Alves <palves@redhat.com>
12106
12107 * README (Parallel testing): Add missing double quotes.
12108
12109 2016-02-11 Pedro Alves <palves@redhat.com>
12110
12111 * README (Parallel testing): New section.
12112 (GDB_PARALLEL): Rewrite.
12113 (FORCE_PARALLEL): Document.
12114
12115 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12116
12117 * gdb.trace/tfile-avx.c: New test.
12118 * gdb.trace/tfile-avx.exp: New test.
12119
12120 2016-02-09 Keith Seitz <keiths@redhat.com>
12121
12122 PR breakpoints/19546
12123 * gdb.base/infcall-exec.c: New file.
12124 * gdb.base/infcall-exec2.c: New file.
12125 * gdb.base/infcall-exec.exp: New file.
12126
12127 2016-02-09 Keith Seitz <keiths@redhat.com>
12128
12129 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12130 (toplevel): Call test_bkpt_address.
12131
12132 2016-02-09 Keith Seitz <keiths@redhat.com>
12133
12134 PR python/19506
12135 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
12136 (toplevel): Call test_bkpt_address.
12137
12138 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
12139
12140 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
12141 to AC_OUTPUT.
12142 * configure: Regenerate.
12143
12144 2016-02-09 Pedro Alves <palves@redhat.com>
12145
12146 PR breakpoints/19548
12147 * gdb.base/execl-update-breakpoints.c (some_function): New
12148 function.
12149 (main): Call it.
12150 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
12151 Tighten expected GDB output.
12152
12153 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12154
12155 * Makefile.in (ALL_SUBDIRS): Remove.
12156 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
12157 (distclean maintainer-clean realclean): Likewise.
12158 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
12159 * configure: Regenerate.
12160 * gdb.ada/Makefile.in: Delete.
12161 * gdb.arch/Makefile.in: Likewise.
12162 * gdb.asm/Makefile.in: Likewise.
12163 * gdb.base/Makefile.in: Likewise.
12164 * gdb.btrace/Makefile.in: Likewise.
12165 * gdb.cell/Makefile.in: Likewise.
12166 * gdb.compile/Makefile.in: Likewise.
12167 * gdb.cp/Makefile.in: Likewise.
12168 * gdb.disasm/Makefile.in: Likewise.
12169 * gdb.dlang/Makefile.in: Likewise.
12170 * gdb.dwarf2/Makefile.in: Likewise.
12171 * gdb.fortran/Makefile.in: Likewise.
12172 * gdb.gdb/Makefile.in: Likewise.
12173 * gdb.go/Makefile.in: Likewise.
12174 * gdb.guile/Makefile.in: Likewise.
12175 * gdb.java/Makefile.in: Likewise.
12176 * gdb.linespec/Makefile.in: Likewise.
12177 * gdb.mi/Makefile.in: Likewise.
12178 * gdb.modula2/Makefile.in: Likewise.
12179 * gdb.multi/Makefile.in: Likewise.
12180 * gdb.objc/Makefile.in: Likewise.
12181 * gdb.opencl/Makefile.in: Likewise.
12182 * gdb.opt/Makefile.in: Likewise.
12183 * gdb.pascal/Makefile.in: Likewise.
12184 * gdb.perf/Makefile.in: Likewise.
12185 * gdb.python/Makefile.in: Likewise.
12186 * gdb.reverse/Makefile.in: Likewise.
12187 * gdb.server/Makefile.in: Likewise.
12188 * gdb.stabs/Makefile.in: Likewise.
12189 * gdb.threads/Makefile.in: Likewise.
12190 * gdb.trace/Makefile.in: Likewise.
12191 * gdb.xml/Makefile.in: Likewise.
12192 * lib/gdb.exp (make_gdb_parallel_path): Add check for
12193 GDB_PARALLEL.
12194 (standard_output_file): Remove check for GDB_PARALLEL, always
12195 return path in outputs/$subdir/$testname.
12196
12197 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12198
12199 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
12200 (site.exp): Assign abs_srcdir to tcl's srcdir.
12201
12202 2016-02-04 Yao Qi <yao.qi@linaro.org>
12203
12204 * gdb.base/foll-exec-mode.c: Include limits.h.
12205 (main): Add parameters argc and argv. Get directory from
12206 argv[0].
12207 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
12208 compilation.
12209 * gdb.base/foll-exec.c: Include limits.h.
12210 (main): Add parameters argc and argv.
12211 Get directory from argv[0].
12212 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
12213 Adjust tests on the number of lines as source code changed.
12214 * gdb.base/foll-vfork-exit.c: Include limits.h.
12215 (main): Add one line of statement before vfork.
12216 * gdb.base/foll-vfork.c: Include limits.h and string.h.
12217 (main): Add parameters argc and argv. Get directory from
12218 argv[0].
12219 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
12220 (setup_gdb): Set tbreak to skip some source lines.
12221 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
12222 (main): Add parameters argc and argv. Get directory from
12223 argv[0].
12224 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
12225 compilation.
12226 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
12227 (main): Add parameters argc and argv. Get directory from
12228 argv[0].
12229 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
12230 compilation.
12231
12232 2016-02-01 Doug Evans <dje@google.com>
12233
12234 * gdb.base/skip.exp: Clean up multiple references to same test name.
12235
12236 2016-02-01 Pedro Alves <palves@redhat.com>
12237
12238 PR remote/19496
12239 * gdb.threads/forking-threads-plus-breakpoint.exp
12240 (displaced_stepping_supported): New global.
12241 (probe_displaced_stepping_support): New procedure.
12242 (do_test): Add 'displaced' parameter, and use it.
12243 (top level): Check for displaced stepping support. Add displaced
12244 stepping on/off testing axis.
12245
12246 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12247
12248 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
12249 pointer. Don't perform further tests on the unassociated pointer
12250 if the first test fails.
12251
12252 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12253
12254 * gdb.base/max-value-size.c: New file.
12255 * gdb.base/max-value-size.exp: New file.
12256 * gdb.base/huge.exp: Disable max-value-size for this test.
12257
12258 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
12259
12260 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12261
12262 2016-01-28 Yao Qi <yao.qi@linaro.org>
12263
12264 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
12265
12266 2016-01-25 Pedro Alves <palves@redhat.com>
12267
12268 PR threads/19461
12269 * gdb.base/fork-running-state.c: New file.
12270 * gdb.base/fork-running-state.exp: New file.
12271
12272 2016-01-25 Pedro Alves <palves@redhat.com>
12273
12274 PR gdb/19494
12275 * gdb.base/catch-fork-kill.c: New file.
12276 * gdb.base/catch-fork-kill.exp: New file.
12277
12278 2016-01-25 Pedro Alves <palves@redhat.com>
12279
12280 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
12281 Delete, moved to lib/gdb.exp.
12282 * gdb.threads/forking-threads-plus-breakpoint.exp
12283 (foreach_with_prefix): Likewise.
12284 * gdb.threads/process-dies-while-handling-bp.exp
12285 (foreach_with_prefix): Likewise.
12286 * lib/gdb.exp (foreach_with_prefix): New procedure.
12287
12288 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
12289
12290 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
12291 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
12292
12293 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
12294
12295 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
12296 endian targets.
12297
12298 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12299 Pedro Alves <palves@redhat.com>
12300
12301 Fix testsuite compatibility with Guile.
12302 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
12303 number.
12304
12305 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12306
12307 Fix testsuite compatibility with Guile.
12308 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
12309 (thread 1): New test for backtrace through signal handler.
12310
12311 2016-01-22 Yao Qi <yao.qi@linaro.org>
12312
12313 PR testsuite/19491
12314 * gdb.base/multi-forks.c: Include
12315 ../lib/unbuffer_output.c
12316 (main): Call gdb_unbuffer_output.
12317
12318 2016-01-21 Doug Evans <dje@google.com>
12319
12320 * lib/ada.exp (gdb_compile_ada): Fix typo.
12321
12322 2016-01-21 Joel Brobecker <brobecker@adacore.com>
12323
12324 * gdb.base/break-fun-addr.exp: New file.
12325 * gdb.base/break-fun-addr1.c: New file.
12326 * gdb.base/break-fun-addr2.c: New file.
12327
12328 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
12329
12330 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
12331 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
12332 enum flag values.
12333
12334 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12335
12336 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
12337 when GDB can not set the vector return value. Add more comments
12338 for clarification.
12339
12340 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
12341
12342 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
12343 command.
12344
12345 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12346
12347 * Makefile.in (DO_RUNTEST): Add --status and update usages.
12348
12349 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12350
12351 * Makefile.in (check-single): Pass --status to runtest.
12352 (check/%.exp): Likewise.
12353
12354 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12355
12356 * Makefile.in (check-parallel): Propagate return code from make
12357 do-check-parallel.
12358
12359 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
12360
12361 * gdb.trace/ftrace.exp: Fix expected message on continue.
12362 * gdb.trace/pending.exp: Fix expected message on continue.
12363 * gdb.trace/trace-break.exp: Fix expected message on continue.
12364
12365 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
12366
12367 * lib/gdb.exp (gdb_test): Remove unused global references.
12368
12369 2016-01-18 Pedro Alves <palves@redhat.com>
12370
12371 * gdb.base/async-shell.exp: Adjust expected output.
12372 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
12373 * gdb.base/siginfo-thread.exp: Adjust expected output.
12374 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
12375 * gdb.java/jnpe.exp: Adjust expected output.
12376 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
12377 * gdb.threads/continue-pending-status.exp: Adjust expected output.
12378 * gdb.threads/leader-exit.exp: Adjust expected output.
12379 * gdb.threads/manythreads.exp: Adjust expected output.
12380 * gdb.threads/pthreads.exp: Adjust expected output.
12381 * gdb.threads/schedlock.exp: Adjust expected output.
12382 * gdb.threads/siginfo-threads.exp: Adjust expected output.
12383 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
12384 expected output.
12385 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
12386 output.
12387 * gdb.threads/sigthread.exp: Adjust expected output.
12388 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
12389
12390 2016-01-18 Yao Qi <yao.qi@linaro.org>
12391
12392 * gdb.guile/scm-section-script.c: Replace @progbits with
12393 %progbits.
12394 * gdb.python/py-section-script.c: Likewise.
12395
12396 2016-01-15 Pedro Alves <palves@redhat.com>
12397
12398 * gdb.multi/tids.exp: Test star wildcard ranges.
12399
12400 2016-01-15 Pedro Alves <palves@redhat.com>
12401
12402 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
12403 command from "thread apply" invocation.
12404 (thr_apply_info_thr_invalid): Default the expected output to the
12405 input tid list.
12406 (top level): Add tests that use convenience variables. Add tests
12407 for "thread apply" with a valid TID list, but missing the command.
12408
12409 2016-01-13 Pedro Alves <palves@redhat.com>
12410
12411 * gdb.base/default.exp: Expect $_gthread as well.
12412 * gdb.multi/tids.exp: Test $_gthread.
12413 * gdb.threads/thread-specific.exp: Test $_gthread.
12414
12415 2016-01-13 Pedro Alves <palves@redhat.com>
12416
12417 * gdb.multi/tids.exp: Test "info threads -gid".
12418
12419 2016-01-13 Pedro Alves <palves@redhat.com>
12420
12421 * gdb.multi/tids.exp: Test InferiorThread.global_num and
12422 Breakpoint.thread.
12423 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
12424
12425 2016-01-07 Pedro Alves <palves@redhat.com>
12426
12427 * gdb.base/break.exp: Adjust to output changes.
12428 * gdb.base/hbreak2.exp: Likewise.
12429 * gdb.base/sepdebug.exp: Likewise.
12430 * gdb.base/watch_thread_num.exp: Likewise.
12431 * gdb.linespec/keywords.exp: Likewise.
12432 * gdb.multi/info-threads.exp: Likewise.
12433 * gdb.threads/thread-find.exp: Likewise.
12434 * gdb.multi/tids.c: New file.
12435 * gdb.multi/tids.exp: New file.
12436
12437 2016-01-13 Pedro Alves <palves@redhat.com>
12438
12439 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12440
12441 2016-01-13 Pedro Alves <palves@redhat.com>
12442
12443 * gdb.base/default.exp: Expect $_inferior as well.
12444 * gdb.multi/base.exp: Test $_inferior.
12445
12446 2016-01-13 Pedro Alves <palves@redhat.com>
12447
12448 PR breakpoints/19388
12449 * gdb.base/catch-signal-siginfo-cond.c: New file.
12450 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12451
12452 2016-01-12 Josh Stone <jistone@redhat.com>
12453 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12454
12455 * gdb.base/catch-syscall.c (do_execve): New variable.
12456 (main): Conditionally trigger an execve.
12457 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12458 (test_catch_syscall_execve): New, check entry/return across execve.
12459 (do_syscall_tests): Call test_catch_syscall_execve.
12460
12461 2016-01-12 Pedro Alves <palves@redhat.com>
12462
12463 * gdb.base/random-signal.exp (do_test): New procedure, with body
12464 of testcase moved in.
12465
12466 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12467 Pedro Alves <palves@redhat.com>
12468
12469 * gdb.base/funcargs.exp (finish from indirectly called function):
12470 Reintroduce the case for 'First'.
12471
12472 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12473 Pedro Alves <palves@redhat.com>
12474
12475 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12476 (tcatch_vfork_then_child_follow_exec)
12477 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12478 identification.
12479
12480 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12481
12482 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12483 and repeats to unlimited.
12484 * gdb.python/py-value.exp: Likewise.
12485 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12486 and repeats to unlimited.
12487
12488 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12489
12490 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12491 and reordering the functions.
12492 * gdb.multi/hangout.c: Likewise.
12493 * gdb.multi/hello.c: Likewise.
12494
12495 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12496
12497 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12498 absolute.
12499 (SingleStatisticTestResult.report): Use dict.keys instead of
12500 dict.iterkeys.
12501
12502 2016-01-06 Pedro Alves <palves@redhat.com>
12503
12504 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12505
12506 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12507
12508 * gdb.btrace/dlopen.exp: New.
12509 * gdb.btrace/dlopen.c: New.
12510 * gdb.btrace/dlopen-dso.c: New.
12511
12512 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12513
12514 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12515 PATTERN argument is optional.
12516
12517 2015-12-24 Joel Brobecker <brobecker@adacore.com>
12518
12519 * lib/ada.exp (target_compile_ada_from_dir): New function.
12520 (gdb_compile_ada): Reimplement avoiding the use of project files.
12521 * gdb.ada/gnat_ada.gpr: Delete.
12522 * gdb.ada/cond_lang.exp: Adjust test to make path before
12523 filename optional.
12524 * gdb.ada/small_reg_param.exp: Likewise.
12525
12526 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12527
12528 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12529
12530 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12531
12532 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12533 case.
12534
12535 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12536
12537 * gdb.base/break.exp: Remove dead code.
12538 * gdb.base/sepdebug.exp: Likewise.
12539
12540 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12541
12542 * gdb.asm/asm-source.exp: Remove HP-UX references.
12543 * gdb.base/annota1.exp: Likewise.
12544 * gdb.base/annota3.exp: Likewise.
12545 * gdb.base/attach.exp: Likewise.
12546 * gdb.base/bigcore.exp: Likewise.
12547 * gdb.base/break.exp: Likewise.
12548 * gdb.base/call-ar-st.exp: Likewise.
12549 * gdb.base/callfuncs.exp: Likewise.
12550 * gdb.base/catch-fork-static.exp: Likewise.
12551 * gdb.base/display.exp: Likewise.
12552 * gdb.base/foll-exec-mode.exp: Likewise.
12553 * gdb.base/foll-exec.exp: Likewise.
12554 * gdb.base/foll-fork.exp: Likewise.
12555 * gdb.base/foll-vfork.exp: Likewise.
12556 * gdb.base/funcargs.exp: Likewise.
12557 * gdb.base/hbreak2.exp: Likewise.
12558 * gdb.base/inferior-died.exp: Likewise.
12559 * gdb.base/interrupt.exp: Likewise.
12560 * gdb.base/multi-forks.exp: Likewise.
12561 * gdb.base/nodebug.exp: Likewise.
12562 * gdb.base/sepdebug.exp: Likewise.
12563 * gdb.base/solib1.c: Likewise.
12564 * gdb.base/step-test.exp: Likewise.
12565 * gdb.mi/non-stop.c: Likewise.
12566 * gdb.mi/pthreads.c: Likewise.
12567 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12568 * gdb.threads/pthreads.c: Likewise.
12569 * gdb.threads/staticthreads.exp: Likewise.
12570 * lib/future.exp: Likewise.
12571 * lib/gdb.exp: Likewise.
12572 * gdb.base/so-indr-cl.c: Remove.
12573 * gdb.base/so-indr-cl.exp: Likewise.
12574 * gdb.base/solib.c: Likewise.
12575 * gdb.base/solib.exp: Likewise.
12576 * gdb.base/solib2.c: Likewise.
12577
12578 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12579
12580 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12581 * gdb.base/call-ar-st.exp: Likewise.
12582 * gdb.base/callfuncs.exp: Likewise.
12583 * gdb.base/condbreak.exp: Likewise.
12584 * gdb.base/constvars.exp: Likewise.
12585 * gdb.base/hbreak2.exp: Likewise.
12586 * gdb.base/langs.exp: Likewise.
12587 * gdb.base/list.exp: Likewise.
12588 * gdb.base/long_long.exp: Likewise.
12589 * gdb.base/ptype.exp: Likewise.
12590 * gdb.base/scope.exp: Likewise.
12591 * gdb.base/signals.exp: Likewise.
12592 * gdb.base/so-impl-ld.exp: Likewise.
12593 * gdb.base/varargs.exp: Likewise.
12594 * gdb.base/volatile.exp: Likewise.
12595 * gdb.base/whatis.exp: Likewise.
12596 * gdb.cp/cplusfuncs.exp: Likewise.
12597 * gdb.cp/inherit.exp: Likewise.
12598 * gdb.cp/local.exp: Likewise.
12599 * gdb.cp/member-ptr.exp: Likewise.
12600 * gdb.cp/method.exp: Likewise.
12601 * gdb.cp/overload.exp: Likewise.
12602 * gdb.cp/templates.exp: Likewise.
12603 * gdb.stabs/weird.exp: Likewise.
12604 * lib/compiler.c: Likewise.
12605 * lib/compiler.cc: Likewise.
12606 * lib/cp-support.exp: Likewise.
12607 * lib/gdb.exp: Likewise.
12608
12609 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12610
12611 * configure.ac: Remove HP-UX case.
12612 * configure: Regenerate.
12613
12614 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12615
12616 * lib/gdb.exp (gdb_compile): Add function doc.
12617
12618 2015-12-17 Pedro Alves <palves@redhat.com>
12619
12620 PR threads/19354
12621 * gdb.multi/info-threads.exp: New file.
12622
12623 2015-12-15 Yao Qi <yao.qi@linaro.org>
12624
12625 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12626 is aarch64*-*-*.
12627
12628 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12629
12630 * gdb.base/history-duplicates.exp: Skip if no readline support.
12631
12632 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12633
12634 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12635
12636 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12637
12638 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12639
12640 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12641
12642 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12643 ctrl-C if nointerrupts target property is set.
12644 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12645 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12646 * gdb.base/paginate-bg-execution.exp: Likewise.
12647 * gdb.base/paginate-execution-startup.exp: Likewise.
12648 * gdb.base/random-signal.exp: Likewise.
12649 * gdb.base/range-stepping.exp: Likewise.
12650 * gdb.cp/annota2.exp: Likewise.
12651 * gdb.cp/annota3.exp: Likewise.
12652 * gdb.gdb/selftest.exp: Likewise.
12653 * gdb.threads/continue-pending-status.exp: Likewise.
12654 * gdb.threads/leader-exit.exp: Likewise.
12655 * gdb.threads/manythreads.exp: Likewise.
12656 * gdb.threads/pthreads.exp: Likewise.
12657 * gdb.threads/schedlock.exp: Likewise.
12658 * gdb.threads/sigthread.exp: Likewise.
12659
12660 2015-12-11 Don Breazeal <donb@codesourcery.com>
12661
12662 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12663 remote.
12664 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12665 * gdb.base/foll-exec.exp (main): Enable for target remote.
12666 * gdb.base/foll-fork.exp (main): Likewise.
12667 * gdb.base/foll-vfork.exp (main): Likewise.
12668 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12669 (proc continue_to_exit_bp_loc): Use clean_restart.
12670 * gdb.base/pie-execl.exp (main): Disable for target remote.
12671 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12672 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12673 * gdb.threads/execl.exp (main): Likewise.
12674 * gdb.threads/fork-child-threads.exp (main): Likewise.
12675 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12676 remote.
12677 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12678 remote.
12679 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12680 pid.tid style ptids, instead of just tid.
12681 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12682 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12683 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12684 ptids, instead of just tid.
12685
12686 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12687
12688 * gdb.base/list.exp (test_list_forward): Add end of file error
12689 test.
12690 (test_repeat_list_command): Add end of file error test.
12691 (test_list_backwards): Add beginning of file error test.
12692
12693 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12694
12695 * gdb.base/list.exp (test_list_invalid_args): New function,
12696 defined, and called.
12697
12698 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12699
12700 * gdb.base/list.exp (test_list): Make test names unique.
12701
12702 2015-12-11 Yao Qi <yao.qi@linaro.org>
12703
12704 * gdb.base/coremaker2.c: Remove.
12705
12706 2015-12-10 Pedro Alves <palves@redhat.com>
12707
12708 * gdb.multi/base.exp: Remove stale "spaces" references.
12709
12710 2015-12-10 Pedro Alves <palves@redhat.com>
12711
12712 * gdb.multi/base.exp: Don't use nowarnings.
12713 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12714 * gdb.multi/hangout.c: Include stdio.h.
12715 * gdb.multi/hello.c: Include stdlib.h.
12716 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12717 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12718 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12719
12720 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12721
12722 * gdb.dwarf2/dw2-ranges-base.c: New file.
12723 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12724 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12725 support additional line table, and debug ranges generation.
12726 (Dwarf::ranges): New function, generate .debug_ranges.
12727 (Dwarf::lines): Support generating simple line table programs.
12728 (Dwarf::assemble): Initialise new namespace variables.
12729
12730 2015-12-09 Kevin Buettner <kevinb@redhat.com>
12731
12732 * gdb.base/async.exp (proc test_background): Add case for
12733 asynchronous execution not supported.
12734
12735 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
12736
12737 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12738 format and change test names to make them unique.
12739
12740 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12741 Pedro Alves <pedro@redhat.com>
12742
12743 PR gdb/18702
12744 Add checking of floatformats setup on x86_64 hosts.
12745 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12746 (smallval, bigval): New labels/constants.
12747 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12748 float" after loading bigval and smallval.
12749
12750 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12751
12752 * gdb.ada/fun_overload_menu.exp: New testcase.
12753 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12754
12755 2015-12-04 Josh Stone <jistone@redhat.com>
12756
12757 * gdb.base/catch-fork-static.exp: New.
12758
12759 2015-12-03 Yao Qi <yao.qi@linaro.org>
12760
12761 * gdb.base/sizeof.c: Don't include stdio.h and
12762 ../lib/unbuffer_output.c.
12763 (main): New variable 'size' and 'value'. Remove printf and
12764 gdb_unbuffer_output. Assign return value to size and value.
12765 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12766 at the beginning.
12767 (check_sizeof): Check the result by printing variable 'size'.
12768 (check_valueof): Check the result by printing variable 'value'.
12769
12770 2015-12-01 Yao Qi <yao.qi@linaro.org>
12771
12772 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12773 for aarch64*-*-linux* target.
12774
12775 2015-11-30 Pedro Alves <palves@redhat.com>
12776
12777 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12778
12779 2015-11-30 Pedro Alves <palves@redhat.com>
12780
12781 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12782 Handle non-stop mode vCont replies.
12783
12784 2015-11-30 Pedro Alves <palves@redhat.com>
12785
12786 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12787 prepare_for_testing. Start gdb with "set non-stop on" appended to
12788 GDBFLAGS. Lax expected stop output.
12789
12790 2015-11-27 Yao Qi <yao.qi@linaro.org>
12791
12792 * gdb.arch/arm-neon.exp: New.
12793 * gdb.arch/arm-neon.c: New.
12794
12795 2015-11-27 Yao Qi <yao.qi@linaro.org>
12796
12797 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12798
12799 2015-11-27 Yao Qi <yao.qi@linaro.org>
12800
12801 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12802 frames-invalid annotation.
12803
12804 2015-11-27 Yao Qi <yao.qi@linaro.org>
12805
12806 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12807
12808 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12809
12810 * gdb.threads/names.exp: New file.
12811 * gdb.threads/names.c: New file.
12812 * README: Mention gdb,no_thread_names.
12813
12814 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12815
12816 PR 19297
12817 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12818 support" error.
12819
12820 2015-11-24 Pedro Alves <palves@redhat.com>
12821
12822 PR 17539
12823 * gdb.base/display.exp: Expect displays to be sorted in ascending
12824 order. Use multi_line.
12825 * gdb.base/solib-display.exp: Likewise.
12826
12827 2015-11-24 Pedro Alves <palves@redhat.com>
12828
12829 PR 17539
12830 * gdb.base/display.exp: Expect displays to be sorted in ascending
12831 order. Use multi_line.
12832 * gdb.base/solib-display.exp: Likewise.
12833
12834 2015-11-24 Pedro Alves <palves@redhat.com>
12835
12836 PR 17539
12837 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12838 threads in ascending order.
12839 * gdb.base/foll-fork.exp: Likewise.
12840 * gdb.base/foll-vfork.exp: Likewise.
12841 * gdb.base/multi-forks.exp: Likewise.
12842 * gdb.mi/mi-nonstop.exp: Likewise.
12843 * gdb.mi/mi-nsintrall.exp: Likewise.
12844 * gdb.multi/base.exp: Likewise.
12845 * gdb.multi/multi-arch.exp: Likewise.
12846 * gdb.python/py-inferior.exp: Likewise.
12847 * gdb.threads/break-while-running.exp: Likewise.
12848 * gdb.threads/execl.exp: Likewise.
12849 * gdb.threads/gcore-thread.exp: Likewise.
12850 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12851 * gdb.threads/kill.exp: Likewise.
12852 * gdb.threads/linux-dp.exp: Likewise.
12853 * gdb.threads/multiple-step-overs.exp: Likewise.
12854 * gdb.threads/next-bp-other-thread.exp: Likewise.
12855 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12856 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12857 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12858 * gdb.threads/thread-find.exp: Likewise.
12859 * gdb.threads/tls.exp: Likewise.
12860 * lib/mi-support.exp (mi_reverse_list): Delete.
12861 (mi_check_thread_states): No longer reverse list.
12862
12863 2015-11-24 Pedro Alves <palves@redhat.com>
12864
12865 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12866 use lowercase.
12867
12868 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12869
12870 * gdb.trace/actions.c: Include trace-common.h.
12871 (main): Add a location for a fast tracepoint.
12872 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12873 the normal tracepoints.
12874 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12875
12876 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12877
12878 * save-trace.exp: Factor out code to these...
12879 (gdb_save_tracepoints): New.
12880 (gdb_load_tracepoints): New.
12881 (do_save_load_test): New.
12882
12883 2015-11-23 Kevin Buettner <kevinb@redhat.com>
12884
12885 * gdb.base/asmlabel.exp: New test.
12886 * gdb.base/asmlabel.c: New test case.
12887
12888 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12889
12890 * gdb.base/wrong_frame_bt_full-main.c: New file.
12891 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12892 * gdb.base/wrong_frame_bt_full.exp: New file.
12893
12894 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12895
12896 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12897
12898 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12899
12900 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12901 pstate register when comparing registers values in
12902 sparc64-*-linux-gnu targets to avoid spurious differences.
12903
12904 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12905
12906 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12907
12908 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12909
12910 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12911 as type argument to gdb_compile.
12912 * gdb.base/nested-subp2.exp: Likewise.
12913 * gdb.base/nested-subp3.exp: Likewise.
12914
12915 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12916
12917 * lib/dwarf.exp (_note): Fix left shift of negative value.
12918 * gdb.trace/trace-condition.exp: Likewise.
12919
12920 2015-11-13 Yao Qi <yao.qi@linaro.org>
12921
12922 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12923 comments about d10v.
12924 (test_scalar_returns): Likewise.
12925 * gdb.base/d10v.ld: Remove.
12926 * gdb.base/overlays.exp: Remove the target triplet checking for
12927 d10v-*-*.
12928 * gdb.base/structs.exp (test_struct_returns): Remove the
12929 comments about d10v.
12930 (test_struct_calls): Likewise.
12931
12932 2015-11-13 Yao Qi <yao.qi@linaro.org>
12933
12934 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12935 * gdb.base/gnu_vector.c: Don't include stdio.h.
12936 (main): Don't print res and call add_some_intvecs.
12937
12938 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12939
12940 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12941 macro.
12942 (func5): Removed.
12943 (func4): Use FAST_TRACEPOINT_LABEL.
12944 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12945 macro.
12946 (func): Removed.
12947 (thread_function): Use FAST_TRACEPOINT_LABEL.
12948 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12949 (func): Remove.
12950 (marker): Use FAST_TRACEPOINT_LABEL.
12951 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12952 (pendfunc1): Remove.
12953 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12954 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12955 (foo): Remove.
12956 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12957 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12958 macro.
12959 (func): Remove.
12960 (marker): Use FAST_TRACEPOINT_LABEL.
12961 * gdb.trace/trace-common.h: New header.
12962 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12963 macro.
12964 (func): Remove.
12965 (marker): Use FAST_TRACEPOINT_LABEL.
12966 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12967 (func): Remove.
12968 (thread_function): Use FAST_TRACEPOINT_LABEL.
12969
12970 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12971
12972 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12973 in front.
12974 * gdb.trace/change-loc.exp: Use global pcreg definition.
12975 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12976 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12977 in front.
12978 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12979 * gdb.trace/pending.exp: Likewise.
12980 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12981 * gdb.trace/trace-break.exp: Likewise.
12982 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12983 in front.
12984 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12985 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12986 in front.
12987 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12988
12989 2015-11-09 Joel Brobecker <brobecker@adacore.com>
12990
12991 * gdb.ada/fin_fun_out: New testcase.
12992
12993 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12994
12995 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12996 value associated with DW_AT_byte_size.
12997 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12998 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12999 DW_AT_upper_bound.
13000
13001 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13002
13003 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13004 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13005 version.
13006 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13007 gdb.dwarf2/dw2-canonicalize-type.exp,
13008 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13009 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13010 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13011 provided by gdb_target_symbol_prefix_flags_asm.
13012 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13013 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13014 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13015 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13016 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13017 macros where needed). Use this macro for symbols which require
13018 the prefix provided by SYMBOL_PREFIX.
13019
13020 2015-11-05 Kevin Buettner <kevinb@redhat.com>
13021
13022 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13023 New procs.
13024 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13025 representing expressions, of more than one list element.
13026 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13027 to prepend linker symbol prefix to f.
13028 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13029 table_1 and table_2.
13030 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13031 Likewise, for f and g.
13032 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13033 for ptr.
13034 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13035 for main.
13036 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13037 table_1_ptr and table_2_ptr.
13038
13039 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13040 Joel Brobecker <brobecker@adacore.com>
13041
13042 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13043
13044 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13045
13046 * gdb.reverse/s390-mvcle.c: New test.
13047 * gdb.reverse/s390-mvcle.exp: New file.
13048 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13049
13050 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13051
13052 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13053
13054 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13055
13056 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13057 reaching marker2.
13058 * gdb.reverse/getresuid-reverse.exp: Likewise.
13059 * gdb.reverse/pipe-reverse.exp: Likewise.
13060 * gdb.reverse/readv-reverse.exp: Likewise.
13061 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13062 * gdb.reverse/time-reverse.exp: Likewise.
13063 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13064
13065 2015-10-30 Yao Qi <yao.qi@linaro.org>
13066
13067 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13068 (empty_cycle): Remove.
13069 (main): Don't call empty_cycle. Don't use watch_count_done.
13070 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13071 empty_cycle. Rewrite the code counting HW watchpoints.
13072
13073 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13074
13075 * gdb.reverse/fstatat-reverse.c: New test.
13076 * gdb.reverse/fstatat-reverse.exp: New file.
13077 * gdb.reverse/getresuid-reverse.c: New test.
13078 * gdb.reverse/getresuid-reverse.exp: New file.
13079 * gdb.reverse/pipe-reverse.c: New test.
13080 * gdb.reverse/pipe-reverse.exp: New file.
13081 * gdb.reverse/readv-reverse.c: New test.
13082 * gdb.reverse/readv-reverse.exp: New file.
13083 * gdb.reverse/recvmsg-reverse.c: New test.
13084 * gdb.reverse/recvmsg-reverse.exp: New file.
13085 * gdb.reverse/time-reverse.c: New test.
13086 * gdb.reverse/time-reverse.exp: New file.
13087 * gdb.reverse/waitpid-reverse.c: New test.
13088 * gdb.reverse/waitpid-reverse.exp: New file.
13089
13090 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13091
13092 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13093
13094 2015-10-26 Doug Evans <dje@google.com>
13095
13096 PR symtab/17391
13097 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13098 * gdb.dwarf2/bad-regnum.c: New file.
13099 * gdb.dwarf2/bad-regnum.exp: New file.
13100
13101 2015-10-26 Doug Evans <dje@google.com>
13102
13103 PR python/18938
13104 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13105 file.
13106
13107 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13108
13109 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13110 for a change by "Mention language in compile error message".
13111
13112 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13113
13114 PR python/18073
13115 * gdb.python/py-type.c (C::a_method): New.
13116 (C::a_const_method): New.
13117 (C::a_static_method): New.
13118 (a_function): New.
13119 * gdb.python/py-type.exp (test_fields): Test getting fields
13120 from function and method.
13121
13122 2015-10-21 Keven Boell <keven.boell@intel.com>
13123
13124 * gdb.fortran/vla-alloc-assoc.exp: New file.
13125 * gdb.fortran/vla-datatypes.exp: New file.
13126 * gdb.fortran/vla-datatypes.f90: New file.
13127 * gdb.fortran/vla-history.exp: New file.
13128 * gdb.fortran/vla-ptype-sub.exp: New file.
13129 * gdb.fortran/vla-ptype.exp: New file.
13130 * gdb.fortran/vla-sizeof.exp: New file.
13131 * gdb.fortran/vla-sub.f90: New file.
13132 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13133 * gdb.fortran/vla-value-sub-finish.exp: New file.
13134 * gdb.fortran/vla-value-sub.exp: New file.
13135 * gdb.fortran/vla-value.exp: New file.
13136 * gdb.fortran/vla-ptr-info.exp: New file.
13137 * gdb.mi/mi-vla-fortran.exp: New file.
13138 * gdb.mi/vla.f90: New file.
13139
13140 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
13141
13142 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
13143 of hardwired timeout value.
13144
13145 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13146 Pedro Alves <palves@redhat.com>
13147
13148 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
13149 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
13150
13151 2015-10-19 Josh Stone <jistone@redhat.com>
13152
13153 * gdb.base/catch-syscall.c: Include <sched.h>.
13154 (unknown_syscall): New variable.
13155 (main): Trigger a vfork and an unknown syscall.
13156 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
13157 (unknown_syscall_number): Likewise.
13158 (check_call_to_syscall): Accept an optional syscall pattern.
13159 (check_return_from_syscall): Likewise.
13160 (check_continue): Likewise.
13161 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
13162 (test_catch_syscall_skipping_return): New test toggling off 'catch
13163 syscall' to step over the syscall return, then toggling back on.
13164 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
13165 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
13166 (do_syscall_tests): Call test_catch_syscall_without_args and
13167 test_catch_syscall_mid_vfork.
13168 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
13169 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
13170
13171 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
13172
13173 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
13174 print g_vE): Add new pass patterns.
13175 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
13176 print various symbol names for vptr fields.
13177
13178 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
13179
13180 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
13181 results.
13182
13183 2015-10-12 Yao Qi <yao.qi@linaro.org>
13184
13185 * gdb.arch/disp-step-insn-reloc.exp: New test case.
13186
13187 2015-10-12 Yao Qi <yao.qi@linaro.org>
13188
13189 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
13190 is aarch64*-*-linux*.
13191
13192 2015-10-12 Yao Qi <yao.qi@linaro.org>
13193
13194 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
13195 (can_relocate_bcond_true): ... it.
13196 (can_relocate_bcond_false): New function.
13197 (foo): Likewise.
13198 (can_relocate_bl): Likewise.
13199 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
13200 can_relocate_bl.
13201
13202 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
13203
13204 * gdb.base/nested-addr.c: New file.
13205 * gdb.base/nested-addr.exp: New testcase.
13206
13207 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
13208
13209 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
13210 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
13211 its output. Ignore the output of "record goto begin" and instead
13212 check that GDB is replaying.
13213
13214 2015-10-09 Pedro Alves <palves@redhat.com>
13215
13216 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
13217 (top level): Use it in the run with no args test.
13218
13219 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
13220
13221 * gdb.dlang/properties.exp: New file.
13222
13223 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
13224
13225 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
13226 whether or not address 0x1000 is mapped on the target.
13227
13228 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
13229
13230 * gdb.python/py-type.exp: Do not run tests if binaries fail to
13231 build.
13232
13233 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
13234
13235 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
13236 instruction-history test.
13237
13238 2015-09-28 Doug Evans <dje@google.com>
13239
13240 * gdb.base/gcore.c (array_func): Add reference to static_array.
13241
13242 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
13243
13244 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
13245 source line.
13246
13247 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
13248
13249 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
13250 short or char as base type.
13251
13252 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
13253
13254 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
13255 to allow any size enum.
13256
13257 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
13258
13259 * gdb.ada/array_ptr_renaming.exp: New testcase.
13260 * gdb.ada/array_ptr_renaming/foo.adb: New file.
13261 * gdb.ada/array_ptr_renaming/pack.ads: New file.
13262
13263 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13264
13265 * gdb.trace/ftrace-lock.c: New file.
13266 * gdb.trace/ftrace-lock.exp: New file.
13267
13268 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13269
13270 * gdb.arch/insn-reloc.c: New file.
13271 * gdb.arch/ftrace-insn-reloc.exp: New file.
13272
13273 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13274
13275 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
13276 instruction.
13277 * gdb.trace/pendshr1.c (pendfunc): Likewise.
13278 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
13279 * gdb.trace/range-stepping.c: Likewise.
13280 * gdb.trace/trace-break.c: Likewise.
13281 * gdb.trace/trace-mt.c (thread_function): Likewise.
13282 * gdb.trace/ftrace.c (marker): Likewise.
13283 * gdb.trace/trace-condition.c (marker): Likewise.
13284 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13285 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
13286 is_aarch64_target.
13287
13288 2015-09-18 Doug Evans <xdje42@gmail.com>
13289
13290 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
13291 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
13292
13293 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13294
13295 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
13296 the breakpoint.
13297
13298 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13299
13300 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
13301 the pending breakpoint. Remove timeout override for "Run till
13302 MI pending breakpoint on pendfunc3 on thread 2" test.
13303
13304 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13305
13306 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
13307 filename pattern.
13308
13309 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13310
13311 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
13312 in breakpoint filename pattern.
13313
13314 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13315
13316 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
13317
13318 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13319
13320 * gdb.linespec/explicit.exp: Check for readline support for
13321 tab-completion tests. Fix obvious typo.
13322
13323 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13324
13325 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
13326 and replay.
13327
13328 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13329
13330 * gdb.btrace/non-stop.c: New.
13331 * gdb.btrace/non-stop.exp: New.
13332
13333 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
13334 Yao Qi <yao.qi@linaro.org>
13335
13336 * gdb.trace/trace-condition.c: New file.
13337 * gdb.trace/trace-condition.exp: New file.
13338
13339 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
13340
13341 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
13342 for testing bytecode compilation.
13343
13344 2015-09-16 Pedro Alves <palves@redhat.com>
13345 Sandra Loosemore <sandra@codesourcery.com>
13346
13347 * gdb.threads/non-stop-fair-events.c (timeout): New global.
13348 (SECONDS): Redefine.
13349 (main): Call pthread_kill and alarm early.
13350 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
13351 support.
13352 (test): If the target can't hardware step and doesn't support
13353 displaced stepping, increase the timeout.
13354
13355 2015-09-16 Pedro Alves <palves@redhat.com>
13356
13357 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
13358 (enable_debug): New procedures.
13359 (test): Use them. Bail out if waiting for threads fails.
13360 (top level): Bail out if a test fails.
13361
13362 2015-09-16 Yao Qi <yao.qi@linaro.org>
13363
13364 * gdb.asm/asm-source.exp: Set asm-arch for
13365 aarch64*-*-* target.
13366 * gdb.asm/aarch64.inc: New file.
13367
13368 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
13369
13370 * gdb.ada/array_of_variable_length.exp: New testcase.
13371 * gdb.ada/array_of_variable_length/foo.adb: New file.
13372 * gdb.ada/array_of_variable_length/pck.adb: New file.
13373 * gdb.ada/array_of_variable_length/pck.ads: New file.
13374
13375 2015-09-15 Doug Evans <dje@google.com>
13376
13377 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
13378 of function static local variable.
13379
13380 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13381
13382 * gdb.threads/tls-so_extern.exp: New test file.
13383 * gdb.threads/tls-so_extern.c: New test file.
13384 * gdb.threads/tls-so_extern_main.c: New test file.
13385
13386 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13387
13388 * gdb.opt/solib-intra-step-lib.c: New file.
13389 * gdb.opt/solib-intra-step-main.c: New file.
13390 * gdb.opt/solib-intra-step.exp: New file.
13391
13392 2015-09-15 Pedro Alves <palves@redhat.com>
13393
13394 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
13395 gdb_continue_to_breakpoint instead of gdb_test_multiple.
13396
13397 2015-09-14 Pedro Alves <palves@redhat.com>
13398
13399 * gdb.base/hook-stop-continue.c: Delete.
13400 * gdb.base/hook-stop-continue.exp: Delete.
13401 * gdb.base/hook-stop-frame.c: Delete.
13402 * gdb.base/hook-stop-frame.exp: Delete.
13403 * gdb.base/hook-stop.c: New file.
13404 * gdb.base/hook-stop.exp: New file.
13405
13406 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
13407
13408 * gdb.ada/access_to_packed_array.exp: New testcase.
13409 * gdb.ada/access_to_packed_array/foo.adb: New file.
13410 * gdb.ada/access_to_packed_array/pack.adb: New file.
13411 * gdb.ada/access_to_packed_array/pack.ads: New file.
13412
13413 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
13414
13415 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
13416 buffer size test.
13417
13418 2015-09-11 Don Breazeal <donb@codesourcery.com>
13419
13420 * gdb.base/foll-exec.c: Add copyright header. Fix
13421 formatting issues.
13422 * gdb.base/foll-exec.exp (zap_session): Delete proc.
13423 (do_exec_tests): Use clean_restart in place of zap_session,
13424 and for test initialization. Fix formatting issues. Use
13425 fail in place of perror.
13426 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
13427 an expect statement to match an expression with output from
13428 the program under debug.
13429 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
13430 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
13431 * gdb.threads/non-ldr-exc-2.exp: Likewise.
13432 * gdb.threads/non-ldr-exc-3.exp: Likewise.
13433 * gdb.threads/non-ldr-exc-4.exp: Likewise.
13434
13435 2015-09-09 Doug Evans <dje@google.com>
13436
13437 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13438
13439 2015-09-09 Doug Evans <dje@google.com>
13440
13441 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13442
13443 2015-09-09 Doug Evans <dje@google.com>
13444
13445 * gdb.base/savedregs.exp: Fix typo.
13446
13447 2015-09-09 Pedro Alves <palves@redhat.com>
13448
13449 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13450
13451 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13452
13453 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13454 command actually switches threads. Give up on remaining
13455 tests if target fails to stop at breakpoint.
13456
13457 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13458
13459 * gdb.ada/funcall_char.exp: New testcase.
13460 * gdb.ada/funcall_char/foo.adb: New file.
13461
13462 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13463
13464 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13465 expected outputs. Add two testcases for completing ambiguous
13466 functions.
13467 * gdb.ada/complete/aux_pck.adb: New file.
13468 * gdb.ada/complete/aux_pck.ads: New file.
13469 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13470 Ambiguous_Func functions.
13471 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13472 * gdb.ada/complete/pck.adb: Likewise.
13473
13474 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13475
13476 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13477 failures to run the test program under GDB.
13478
13479 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
13480
13481 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13482 to C.
13483
13484 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13485
13486 * gdb.base/run-after-attach.exp: New test file.
13487 * gdb.base/run-after-attach.c: New test file.
13488
13489 2015-08-26 Don Breazeal <donb@codesourcery.com>
13490
13491 * gdb.base/foll-exec-2.c: New test program.
13492 * gdb.base/foll-exec-2.exp: New test.
13493
13494 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13495
13496 * gdb.base/nested-subp1.exp: New file.
13497 * gdb.base/nested-subp1.c: New file.
13498 * gdb.base/nested-subp2.exp: New file.
13499 * gdb.base/nested-subp2.c: New file.
13500 * gdb.base/nested-subp3.exp: New file.
13501 * gdb.base/nested-subp3.c: New file.
13502
13503 2015-08-24 Pedro Alves <palves@redhat.com>
13504
13505 * gdb.server/connect-without-multi-process.c: New file.
13506 * gdb.server/connect-without-multi-process.exp: New file.
13507
13508 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13509
13510 * gdb.opt/inline-markers.c: Make z int.
13511
13512 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13513
13514 * gdb.opt/inline-markers.c: Make z volatile.
13515
13516 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13517
13518 * gdb.opt/inline-bt.c: New volatile global z.
13519 * gdb.opt/inline-cmds.c: Likewise.
13520 * gdb.opt/inline-locals.c: Likewise.
13521 * gdb.opt/inline-markers.c: New extern global z.
13522 (marker): Use z.
13523 (inline_fn): Likewise.
13524
13525 2015-08-24 Pedro Alves <palves@redhat.com>
13526
13527 * config/m32r-stub.exp: Remove file.
13528 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13529 * gdb.base/call-rt-st.exp: Likewise.
13530 * gdb.base/call-strs.exp: Likewise.
13531 * gdb.base/default.exp: Remove references to h8300-*-hms and
13532 *-*-udi*.
13533 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13534
13535 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13536
13537 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13538 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13539 and "return" use KFAIL when GDB can not read/write the vector
13540 return value.
13541
13542 2015-08-21 Gary Benson <gbenson@redhat.com>
13543
13544 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13545
13546 2015-08-20 Pedro Alves <palves@redhat.com>
13547
13548 * gdb.server/solib-list.exp: No longer expect an interior stop in
13549 non-stop mode.
13550
13551 2015-08-20 Pedro Alves <palves@redhat.com>
13552
13553 * gdb.server/connect-stopped-target.c: New file.
13554 * gdb.server/connect-stopped-target.exp: New file.
13555
13556 2015-08-20 Pedro Alves <palves@redhat.com>
13557
13558 * gdb.dwarf2/comp-unit-lang.exp: New file.
13559 * gdb.dwarf2/comp-unit-lang.c: New file.
13560
13561 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13562
13563 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13564 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13565
13566 2015-08-19 Kevin Buettner <kevinb@redhat.com>
13567
13568 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13569 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13570
13571 2015-08-18 Doug Evans <dje@google.com>
13572 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13573
13574 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13575 skip_python_tests. New arg prompt_regexp.
13576 (skip_python_tests): New function.
13577 * lib/mi-support.exp (mi_skip_python_tests): New function.
13578 * gdb.python/py-mi-objfile-gdb.py: New file.
13579 * gdb.python/py-mi-objfile.c: New file.
13580 * gdb.python/py-mi-objfile.exp: New file.
13581
13582 2015-08-17 Keith Seitz <keiths@redhat.com>
13583
13584 * gdb.linespec/explicit.exp: Move strace test from here ...
13585 * gdb.trace/strace.exp: ... to here.
13586
13587 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13588
13589 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13590 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13591
13592 2015-08-14 Doug Evans <xdje42@gmail.com>
13593
13594 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13595 inferior before selecting a new file.
13596
13597 2015-08-14 Doug Evans <xdje42@gmail.com>
13598
13599 * gdb.mi/mi-disassemble.exp: Update.
13600 * gdb.base/disasm-optim.S: New file.
13601 * gdb.base/disasm-optim.c: New file.
13602 * gdb.base/disasm-optim.h: New file.
13603 * gdb.base/disasm-optim.exp: New file.
13604
13605 2015-08-14 Keith Seitz <keiths@redhat.com>
13606
13607 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13608 "evaluated-by".
13609
13610 2015-08-13 Joel Brobecker <brobecker@adacore.com>
13611
13612 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13613
13614 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13615
13616 * gdb.ada/fun_renaming.exp: New testcase.
13617 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13618 * gdb.ada/fun_renaming/pack.adb: New file.
13619 * gdb.ada/fun_renaming/pack.ads: New file.
13620
13621 2015-08-12 Keith Seitz <keiths@redhat.com>
13622
13623 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13624 gdb_get_line_number.
13625
13626 2015-08-12 Joel Brobecker <brobecker@adacore.com>
13627
13628 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13629 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13630 gdb.base/dso2dso.exp: New files.
13631
13632 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13633 Pedro Alves <palves@redhat.com>
13634 Keith Seitz <keiths@redhat.com>
13635
13636 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13637 GDBFLAGS.
13638
13639 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13640
13641 * gdb.base/gdbhistsize-history.exp
13642 (test_histsize_history_setting): Use save_vars.
13643 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13644 Use save_vars.
13645 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13646 * gdb.base/readline.exp: Use save_vars.
13647
13648 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13649
13650 * lib/gdb.exp (save_vars): New proc.
13651
13652 2015-08-11 Keith Seitz <keiths@redhat.com>
13653
13654 * gdb.base/help.exp: Update help_breakpoint_text.
13655
13656 2015-08-11 Keith Seitz <keiths@redhat.com>
13657
13658 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13659 (at toplevel): Call test_explicit_breakpoints.
13660 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13661 breakpoints.
13662 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13663 breakpoint conditions, "-cond".
13664
13665 2015-08-11 Keith Seitz <keiths@redhat.com>
13666
13667 * gdb.linespec/3explicit.c: New file.
13668 * gdb.linespec/cpexplicit.cc: New file.
13669 * gdb.linespec/cpexplicit.exp: New file.
13670 * gdb.linespec/explicit.c: New file.
13671 * gdb.linespec/explicit.exp: New file.
13672 * gdb.linespec/explicit2.c: New file.
13673 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13674 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13675 before using in the matching pattern.
13676 Clarify that `prefix' is a regular expression.
13677
13678 2015-08-11 Keith Seitz <keiths@redhat.com>
13679
13680 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13681 test.
13682 Add tests for missing ",FMT" and ",".
13683
13684 2015-08-10 Doug Evans <dje@google.com>
13685 Keith Seitz <keiths@redhat.com>
13686
13687 PR gdb/17960
13688 * gdb.base/completion.exp: Add location completer tests.
13689
13690 2015-08-07 Pedro Alves <palves@redhat.com>
13691
13692 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13693 tests here.
13694 (top level): Run do_test with and without displaced stepping.
13695
13696 2015-08-07 Pedro Alves <palves@redhat.com>
13697
13698 * gdb.base/valgrind-disp-step.c: New file.
13699 * gdb.base/valgrind-disp-step.exp: New file.
13700
13701 2015-08-07 Pedro Alves <palves@redhat.com>
13702
13703 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13704 Delete function.
13705 (main): Add alarm. Run an infinite loop instead of calling
13706 wait_threads.
13707 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13708 comment.
13709 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13710 Delete function.
13711 (main): Add alarm. Run an infinite loop instead of calling
13712 wait_threads.
13713 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13714 comment.
13715
13716 2015-08-07 Pedro Alves <palves@redhat.com>
13717
13718 * gdb.base/checkpoint-ns.exp: New file.
13719 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13720 standard_testfile.
13721
13722 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13723
13724 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13725 * gdb.btrace/instruction_history.exp: Update.
13726 * gdb.btrace/tsx.exp: New.
13727 * gdb.btrace/tsx.c: New.
13728
13729 2015-08-06 Pedro Alves <palves@redhat.com>
13730
13731 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13732 increase timeout.
13733 * gdb.reverse/until-precsave.exp: Bump timeouts.
13734
13735 2015-08-06 Pedro Alves <palves@redhat.com>
13736
13737 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13738
13739 2015-08-06 Pedro Alves <palves@redhat.com>
13740
13741 PR gdb/18749
13742 * gdb.threads/process-dies-while-handling-bp.c: New file.
13743 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13744
13745 2015-08-06 Pedro Alves <palves@redhat.com>
13746
13747 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13748 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13749
13750 2015-08-05 Pedro Alves <palves@redhat.com>
13751
13752 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13753 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13754
13755 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13756
13757 * gdb.base/bp-permanent.exp: Report test as unsupported if
13758 the target cannot stop at the permanent breakpoint.
13759
13760 2015-08-03 Doug Evans <dje@google.com>
13761
13762 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13763 10000.
13764
13765 2015-08-03 Doug Evans <dje@google.com>
13766
13767 * Makefile.in (workers/%.worker, build-perf): New rule.
13768 (GDB_PERFTEST_MODE): New variable.
13769 (check-perf): Use it.
13770 (clean): Clean up gdb.perf parallel build subdirs.
13771 * lib/build-piece.exp: New file.
13772 * lib/gdb.exp (make_gdb_parallel_path): New function
13773 (standard_output_file, standard_temp_file): Call it.
13774 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13775 of $GDB_PARALLEL.
13776 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13777
13778 2015-08-03 Doug Evans <dje@google.com>
13779
13780 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
13781 (LOG_FILE_NAME): New global.
13782 (TextReporter.__init__): Initialize self.txt_sum.
13783 (TextReporter.report): Add support for multiple data-points.
13784 Move report to perftest.sum, put raw data in perftest.log.
13785 (TextReporter.start): Open sum and log files.
13786 (TextReporter.end): Close sum and log files.
13787 * gdb.perf/lib/perftest/testresult.py
13788 (SingleStatisticTestResult.record): Handle multiple data-points.
13789
13790 2015-07-31 Pedro Alves <palves@redhat.com>
13791
13792 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13793 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13794 kill_wait_spawned_process instead of explicit "kill -9".
13795 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13796 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13797 kill_wait_spawned_process.
13798 * gdb.base/attach-twice.exp: Likewise.
13799 * gdb.base/attach.exp: Likewise.
13800 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13801 gdb_test_multiple.
13802 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13803 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13804 kill_wait_spawned_process.
13805 * gdb.base/valgrind-infcall.exp: Likewise.
13806 * gdb.multi/multi-attach.exp: Likewise.
13807 * gdb.python/py-prompt.exp: Likewise.
13808 * gdb.python/py-sync-interp.exp: Likewise.
13809 * gdb.server/ext-attach.exp: Likewise.
13810 * gdb.threads/attach-into-signal.exp (corefunc): Use
13811 spawn_wait_for_attach, spawn_id_get_pid and
13812 kill_wait_spawned_process.
13813 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13814 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13815 spawn_id_get_pid and kill_wait_spawned_process.
13816 * gdb.threads/attach-stopped.exp (corefunc): Use
13817 spawn_wait_for_attach, spawn_id_get_pid and
13818 kill_wait_spawned_process.
13819 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13820 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13821 kill_wait_spawned_process instead of explicit "kill -9".
13822 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13823 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13824 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13825 processes. Don't map cygwin/windows pids here. Now returns a
13826 spawn id list.
13827
13828 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13829
13830 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13831 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13832 correct patch.
13833
13834 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13835
13836 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13837
13838 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13839
13840 Reapply:
13841 2014-05-21 Mark Wielaard <mjw@redhat.com>
13842
13843 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13844
13845 2015-07-30 Pedro Alves <palves@redhat.com>
13846
13847 * linux-low.c (handle_extended_wait): Set the child's last
13848 reported status to TARGET_WAITKIND_STOPPED.
13849
13850 2015-07-30 Pedro Alves <palves@redhat.com>
13851
13852 PR threads/18600
13853 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13854 only shows inferior 1.
13855
13856 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13857 Pedro Alves <palves@redhat.com>
13858
13859 PR threads/18600
13860 * gdb.threads/fork-plus-threads.c: New file.
13861 * gdb.threads/fork-plus-threads.exp: New file.
13862
13863 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13864
13865 * gdb.base/batch-preserve-term-settings.exp
13866 (test_terminal_settings_preserved_after_cli_exit): Use
13867 send_quit_command.
13868
13869 2015-07-29 Pedro Alves <palves@redhat.com>
13870 Don Breazeal <donb@codesourcery.com>
13871
13872 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13873 output from both inferior_spawn_id and gdb_spawn_id.
13874
13875 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13876
13877 * gdb.threads/attach-into-signal.exp (corefunc): Use
13878 with_test_prefix on nested loops, uniquefying the test messages.
13879
13880 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13881
13882 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13883 commit.
13884
13885 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13886
13887 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13888 New proc.
13889 (test_terminal_settings_preserved_after_sigterm): New test.
13890
13891 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13892
13893 * gdb.base/batch-preserve-term-settings.exp
13894 (test_terminal_settings_preserved_after_cli_exit): New test.
13895
13896 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13897
13898 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13899 manipulation of saved_gdbflags.
13900 (test_terminal_settings_preserved): Remove global declaration of
13901 the unused variable pagination_prompt. Remove manipulation of
13902 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13903 GDBFLAGS.
13904
13905 2015-07-29 Pedro Alves <palves@redhat.com>
13906
13907 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13908
13909 2015-07-29 Pedro Alves <palves@redhat.com>
13910
13911 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13912 at the top.
13913
13914 2015-07-29 Pedro Alves <palves@redhat.com>
13915
13916 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13917 (main): Call gdb_unbuffer_output.
13918 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13919 (main): Call gdb_unbuffer_output.
13920 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13921 (main): Call gdb_unbuffer_output.
13922 * gdb.base/call-strs.exp: Adjust to step over the
13923 gdb_unbuffer_output call.
13924 * gdb.base/catch-gdb-caused-signals.c: Include
13925 "../lib/unbuffer_output.c".
13926 (main): Call gdb_unbuffer_output.
13927 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13928 (main): Call gdb_unbuffer_output.
13929 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13930 (main): Call gdb_unbuffer_output.
13931 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13932 (main): Call gdb_unbuffer_output.
13933 * gdb.base/shlib-call.exp: Adjust to step over the
13934 gdb_unbuffer_output call.
13935 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13936 (main): Call gdb_unbuffer_output.
13937 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13938 (main): Call gdb_unbuffer_output.
13939 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13940 (main): Rename to ...
13941 (test): ... this.
13942 (main): Reimplement.
13943 * gdb.base/varargs.exp: Run to test instead of to main.
13944 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13945 (main): Call gdb_unbuffer_output.
13946
13947 2015-07-29 Pedro Alves <palves@redhat.com>
13948
13949 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13950 factore out from mi_continue_dprintf. For call-style dprintfs,
13951 expect dprintf output out of $inferior_spawn_id.
13952 (mi_continue_dprintf): Use mi_expect_dprintf.
13953 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13954 (main): Call gdb_unbuffer_output.
13955
13956 2015-07-29 Pedro Alves <palves@redhat.com>
13957
13958 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13959 (default_mi_gdb_start): Set inferior_spawn_id instead of
13960 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13961 gdb_spawn_id.
13962 (mi_gdb_test): Always expect inferior output from both
13963 $inferior_spawn_id and $gdb_spawn_id.
13964
13965 2015-07-29 Pedro Alves <palves@redhat.com>
13966
13967 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13968 send_inferior and $inferior_spawn_id.
13969
13970 2015-07-29 Pedro Alves <palves@redhat.com>
13971
13972 * gdb.gdb/complaints.exp (test_initial_complaints)
13973 (test_serial_complaints, test_short_complaints): Use
13974 gdb_test_stdio.
13975 (test_empty_complaint): Handle $inferior_spawn_id !=
13976 $gdb_spawn_id.
13977
13978 2015-07-29 Pedro Alves <palves@redhat.com>
13979
13980 * gdb.base/varargs.exp: Use gdb_test_stdio.
13981
13982 2015-07-29 Pedro Alves <palves@redhat.com>
13983
13984 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13985
13986 2015-07-29 Pedro Alves <palves@redhat.com>
13987
13988 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13989
13990 2015-07-29 Pedro Alves <palves@redhat.com>
13991
13992 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13993 parameter into two new parameters, "inf_result" and "gdb_result".
13994 Expect inferior output and gdb output from $inferior_spawn_id and
13995 $gdb_spawn_id, respectively. Adjust all callers.
13996
13997 2015-07-29 Pedro Alves <palves@redhat.com>
13998
13999 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14000 of gdb_test_sequence.
14001
14002 2015-07-29 Pedro Alves <palves@redhat.com>
14003
14004 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14005 (saw_spurious_output): Expect inferior output from
14006 $inferior_spawn_id. Use gdb_test_stdio.
14007
14008 2015-07-29 Pedro Alves <palves@redhat.com>
14009
14010 * gdb.base/dprintf.exp: Use standard_testfile. Change
14011 prepare_for_testing call.
14012 (srcfile): Don't set.
14013 (restart): New procedure.
14014 (test_dprintf): New procecure, use to continue over dprintfs.
14015 (test_call, test_agent): New procedures, tests moved here.
14016 Restart gdb and recreate dprintfs. Adjust expected output.
14017
14018 2015-07-29 Pedro Alves <palves@redhat.com>
14019
14020 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14021
14022 2015-07-29 Pedro Alves <palves@redhat.com>
14023
14024 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14025
14026 2015-07-29 Pedro Alves <palves@redhat.com>
14027
14028 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14029 gdb_test_stdio.
14030
14031 2015-07-29 Pedro Alves <palves@redhat.com>
14032
14033 * lib/gdb.exp (gdb_test_stdio): New procedure.
14034
14035 2015-07-29 Pedro Alves <palves@redhat.com>
14036
14037 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14038
14039 2015-07-29 Pedro Alves <palves@redhat.com>
14040
14041 * gdb.base/call-signal-resume.exp: Remove check for
14042 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14043 * gdb.base/unwindonsignal.exp: Likewise.
14044 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14045 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14046
14047 2015-07-29 Pedro Alves <palves@redhat.com>
14048
14049 * gdb.base/siginfo-addr.c (pass): New function.
14050 (handler): Call it iff si_addr is correct.
14051 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14052 Set a breakpoint at "pass" and continue to it.
14053
14054 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14055
14056 * gdb.python/py-objfile.exp: Make some tests have unique names.
14057 * gdb.python/py-pp-registration.exp: Likewise.
14058
14059 2015-07-28 Pedro Alves <palves@redhat.com>
14060
14061 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14062
14063 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14064
14065 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14066
14067 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14068
14069 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14070
14071 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14072
14073 * gdb.base/gdb-sigterm-2.exp: New test.
14074
14075 2015-07-25 Doug Evans <xdje42@gmail.com>
14076
14077 Revert:
14078 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14079 (workers/%.worker, build-perf): New rule.
14080 (GDB_PERFTEST_MODE): New variable.
14081 (check-perf): Use it.
14082 (clean): Clean up gdb.perf parallel build subdirs.
14083 * lib/build-piece.exp: New file.
14084 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14085 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14086 name.
14087 (standard_temp_file): Ditto.
14088 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14089 of $GDB_PARALLEL.
14090
14091 2015-07-24 Doug Evans <dje@google.com>
14092
14093 * gdb.perf/lib/perftest/utils.py: New file.
14094 * gdb.perf/gm-hello.cc: New file.
14095 * gdb.perf/gm-pervasive-typedef.cc: New file.
14096 * gdb.perf/gm-pervasive-typedef.h: New file.
14097 * gdb.perf/gm-std.cc: New file.
14098 * gdb.perf/gm-std.h: New file.
14099 * gdb.perf/gm-use-cerr.cc: New file.
14100 * gdb.perf/gm-utils.h: New file.
14101 * gdb.perf/gmonster-null-lookup.py: New file.
14102 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14103 * gdb.perf/gmonster-print-cerr.py: New file.
14104 * gdb.perf/gmonster-ptype-string.py: New file.
14105 * gdb.perf/gmonster-runto-main.py: New file.
14106 * gdb.perf/gmonster-select-file.py: New file.
14107 * gdb.perf/gmonster1-null-lookup.exp: New file.
14108 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14109 * gdb.perf/gmonster1-print-cerr.exp: New file.
14110 * gdb.perf/gmonster1-ptype-string.exp: New file.
14111 * gdb.perf/gmonster1-runto-main.exp: New file.
14112 * gdb.perf/gmonster1-select-file.exp: New file.
14113 * gdb.perf/gmonster1.cc: New file.
14114 * gdb.perf/gmonster1.exp: New file.
14115 * gdb.perf/gmonster2-null-lookup.exp: New file.
14116 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14117 * gdb.perf/gmonster2-print-cerr.exp: New file.
14118 * gdb.perf/gmonster2-ptype-string.exp: New file.
14119 * gdb.perf/gmonster2-runto-main.exp: New file.
14120 * gdb.perf/gmonster2-select-file.exp: New file.
14121 * gdb.perf/gmonster2.cc: New file.
14122 * gdb.perf/gmonster2.exp: New file.
14123
14124 2015-07-24 Doug Evans <dje@google.com>
14125
14126 * gdb.perf/README: New file.
14127 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14128 * lib/gen-perf-test.exp: New file.
14129
14130 2015-07-24 Doug Evans <dje@google.com>
14131
14132 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14133 (PerfTest::startup): New function.
14134 (PerfTest::run): Return result of calling body.
14135 (PerfTest::assemble): Rewrite.
14136 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
14137 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
14138 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
14139 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
14140 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
14141
14142 2015-07-24 Doug Evans <dje@google.com>
14143
14144 * lib/gdb.exp (clean_restart): Make executable optional.
14145
14146 2015-07-24 Doug Evans <dje@google.com>
14147
14148 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
14149 compiler_info references.
14150 * gdb.cp/temargs.exp: Ditto.
14151 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
14152 (get_compiler_info): Early exit if already computed. Set compiler_info
14153 to "unknown" if there was a problem.
14154 (test_compiler_info): Add function comment. Call get_compiler_info.
14155
14156 2015-07-24 Doug Evans <dje@google.com>
14157
14158 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14159 (workers/%.worker, build-perf): New rule.
14160 (GDB_PERFTEST_MODE): New variable.
14161 (check-perf): Use it.
14162 (clean): Clean up gdb.perf parallel build subdirs.
14163 * lib/build-piece.exp: New file.
14164 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14165 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14166 name.
14167 (standard_temp_file): Ditto.
14168 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14169 of $GDB_PARALLEL.
14170
14171 2015-07-24 Doug Evans <dje@google.com>
14172
14173 * lib/future.exp (gdb_default_target_compile): New option
14174 "early_flags".
14175 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
14176 --as-needed.
14177
14178 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
14179
14180 * gdb.base/catch-syscall.exp: Call gdb_exit before
14181 gdb_skip_xml_test.
14182
14183 2015-07-24 Pedro Alves <palves@redhat.com>
14184
14185 * gdb.python/py-events.exp: Accept output between the stop event
14186 and the prompt.
14187 * gdb.python/py-evsignal.exp: Likewise.
14188 * gdb.python/py-evthreads.exp: Likewise.
14189
14190 2015-07-24 Pedro Alves <palves@redhat.com>
14191
14192 PR gdb/18717
14193 * gdb.threads/non-ldr-exit.c: New file.
14194 * gdb.threads/non-ldr-exit.exp: New file.
14195
14196 2015-07-24 Yao Qi <yao.qi@linaro.org>
14197
14198 * gdb.server/ext-wrapper.exp: Test --wrapper option when
14199 restarting process.
14200
14201 2015-07-24 Yao Qi <yao.qi@linaro.org>
14202
14203 * gdb.server/ext-restart.exp: New file.
14204
14205 2015-07-24 Yao Qi <yao.qi@linaro.org>
14206
14207 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
14208 argument options.
14209 * gdb.server/ext-wrapper.exp: New file.
14210
14211 2015-07-23 Doug Evans <dje@google.com>
14212
14213 * gdb.dwarf2/dw2-dummy-cu.S: New file.
14214 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
14215
14216 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
14217
14218 * gdb.ada/var_arr_typedef.exp: New testcase.
14219 * gdb.ada/var_arr_typedef/pack.adb: New file.
14220 * gdb.ada/var_arr_typedef/pack.ads: New file.
14221 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
14222
14223 2015-07-20 Joel Brobecker <brobecker@adacore.com>
14224
14225 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
14226
14227 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14228
14229 * gdb.arch/i386-biarch-core.exp: Replace istarget
14230 by "complete set gnutarget". Remove expectation for the "core-file"
14231 command.
14232
14233 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14234
14235 Revert the previous commit:
14236 Tests for validate symbol file using build-id.
14237
14238 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
14239
14240 Tests for validate symbol file using build-id.
14241 * gdb.base/solib-mismatch-lib.c: New file.
14242 * gdb.base/solib-mismatch-libmod.c: New file.
14243 * gdb.base/solib-mismatch.c: New file.
14244 * gdb.base/solib-mismatch.exp: New file.
14245
14246 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
14247
14248 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
14249 nios2-*-linux*.
14250 * gdb.base/sigbpt.exp (stepi_out): Likewise.
14251 * gdb.base/siginfo.exp: Likewise.
14252 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14253
14254 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
14255
14256 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
14257 Move it to ...
14258 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
14259 ... here.
14260 * gdb.trace/range-stepping.exp: Check that the target supports
14261 range stepping.
14262
14263 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14264
14265 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14266
14267 2015-07-14 Pedro Alves <palves@redhat.com>
14268
14269 * gdb.base/killed-outside.exp: New file.
14270 * gdb.base/killed-outside.c: New file.
14271
14272 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14273
14274 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
14275 (n at main): New.
14276 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
14277
14278 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14279
14280 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
14281 infcall tests instead of setting up for KFAIL.
14282
14283 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
14284
14285 * gdb.btrace/record_goto-step.exp: New.
14286
14287 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14288
14289 PR compile/18484
14290 * gdb.compile/compile.c (struct struct_type): Add volatile to
14291 selffield's type.
14292 * gdb.compile/compile.exp
14293 (compile code struct_object.selffield = &struct_object): Skip further
14294 struct_object tests if this one xfails.
14295
14296 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
14297
14298 PR exp/18617
14299 * gdb.trace/ax.exp: Add test.
14300
14301 2015-07-07 Yao Qi <yao.qi@linaro.org>
14302
14303 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
14304 instead of istarget "aarch64*-*-*".
14305 * gdb.arch/aarch64-fp.exp: Likewise.
14306 * gdb.base/float.exp: Likewise.
14307 * gdb.reverse/aarch64.exp: Likewise.
14308 * lib/gdb.exp (is_aarch64_target): New proc.
14309
14310 2015-07-07 Yao Qi <yao.qi@linaro.org>
14311
14312 * lib/gdb.exp (is_aarch32_target): New proc.
14313 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
14314 instead of "istarget "arm*-*-*"".
14315 * gdb.arch/arm-disp-step.exp: Likewise.
14316 * gdb.arch/thumb-bx-pc.exp: Likewise.
14317 * gdb.arch/thumb-prologue.exp: Likewise.
14318 * gdb.arch/thumb-singlestep.exp: Likewise.
14319 * gdb.base/disp-step-syscall.exp: Likewise.
14320 * gdb.base/float.exp: Likewise.
14321
14322 2015-07-07 Yao Qi <yao.qi@linaro.org>
14323
14324 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
14325 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
14326
14327 2015-07-07 Yao Qi <yao.qi@linaro.org>
14328
14329 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
14330 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
14331 if it exists.
14332 * gdb.multi/multi-arch.exp: Likewise.
14333
14334 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
14335
14336 * gdb.python/py-lazy-string.exp: Add missing parentheses to
14337 print.
14338
14339 2015-07-07 Yao Qi <yao.qi@linaro.org>
14340
14341 * gdb.arch/thumb-singlestep.exp: Do one more single step.
14342
14343 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
14344
14345 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
14346 '[' and ']' characters.
14347
14348 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
14349
14350 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14351
14352 2015-06-29 Pedro Alves <palves@redhat.com>
14353
14354 PR threads/18127
14355 * gdb.threads/hand-call-new-thread.c: New file.
14356 * gdb.threads/hand-call-new-thread.c: New file.
14357
14358 2015-06-26 Keith Seitz <keiths@redhat.com>
14359 Doug Evans <dje@google.com>
14360
14361 PR 16253
14362 * gdb.cp/var-tag-2.cc: New file.
14363 * gdb.cp/var-tag-3.cc: New file.
14364 * gdb.cp/var-tag-4.cc: New file.
14365 * gdb.cp/var-tag.cc: New file.
14366 * gdb.cp/var-tag.exp: New file.
14367
14368 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14369
14370 * gdb.base/history-duplicates.exp: New test.
14371
14372 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14373
14374 * gdb.base/completion.exp: Test the completion of the "focus"
14375 command.
14376
14377 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14378
14379 * gdb.arch/amd64-prologue-skip.S: New file.
14380 * gdb.arch/amd64-prologue-skip.exp: New file.
14381
14382 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
14383
14384 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
14385 is_address_zero_readable check.
14386
14387 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
14388
14389 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
14390 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
14391
14392 2015-06-24 Yao Qi <yao.qi@linaro.org>
14393
14394 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
14395 linux targets.
14396
14397 2015-06-24 Yao Qi <yao.qi@linaro.org>
14398
14399 * lib/gdb.exp (supports_get_siginfo_type): New proc.
14400 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
14401 * gdb.base/siginfo-thread.exp: Likewise.
14402
14403 2015-06-22 Yao Qi <yao.qi@linaro.org>
14404
14405 * boards/remote-gdbserver-on-localhost.exp: Add comments.
14406
14407 2015-06-22 Yao Qi <yao.qi@linaro.org>
14408
14409 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
14410 aarch64*-*-*.
14411 (skip_hw_watchpoint_tests): Likewise.
14412
14413 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
14414
14415 * gdb.base/gdbinit-history.exp: Test the interaction between
14416 setting GDBHISTSIZE and setting the history size via .gdbinit.
14417
14418 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14419
14420 PR gdb/16999
14421 * gdb.base/gdbhistsize-history.exp: New test.
14422
14423 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14424
14425 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
14426 with GDBHISTSIZE.
14427 * gdb.base/readline.exp: Likewise.
14428
14429 2015-06-17 Yao Qi <yao.qi@linaro.org>
14430
14431 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
14432 line.
14433
14434 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14435
14436 * gdb.base/gdbinit-history.exp: Add test case to check that
14437 an unlimited history file does not get truncated on exit.
14438
14439 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14440
14441 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14442 (VECTOR): New macro. Use it...
14443 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14444 ...for these typedefs.
14445 (int8, char1, int1, double1): New typedefs.
14446 (struct just_int2, struct two_int2): New structures.
14447 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14448 (add_structvecs, add_singlevecs): New functions.
14449 (main): Call add_some_intvecs twice.
14450 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14451 the compile and exit upon failure. Try compiling for the "native"
14452 architecture. Test inferior function calls with vector arguments
14453 and vector return value handling with "finish" and "return".
14454
14455 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14456
14457 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14458 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14459 PE file.
14460 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14461
14462 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14463
14464 PR breakpoints/16465
14465 * gdb.mi/mi-dprintf-pending.c: New file.
14466 * gdb.mi/mi-dprintf-pending.exp: New test.
14467 * gdb.mi/mi-dprintf-pendshr.c: New file.
14468
14469 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14470 Mircea Gherzan <mircea.gherzan@intel.com>
14471
14472 * gdb.arch/i386-mpx-map.c: New file.
14473 * gdb.arch/i386-mpx-map.exp: New File.
14474
14475 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14476
14477 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14478 * gdb.arch/i386-mpx.exp: Indentation fixed.
14479
14480 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14481
14482 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14483 function and improved indentation.
14484 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14485 gdb_test_multiple. Added additional tests to skip the test.
14486
14487 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14488
14489 * gdb.arch/i386-avx512.c: Change path in include file.
14490 * gdb.arch/i386-avx512.exp: Change include dir path
14491 compilation flag.
14492 * gdb.arch/i386-mpx.c: Change path in include file.
14493 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14494 flag.
14495
14496 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14497
14498 * gdb.compile/compile-print.exp (compile print *vararray@3)
14499 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14500
14501 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14502
14503 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14504 (do not keep jit in memory): ... this.
14505 (expect 5): Change it to ...
14506 (expect no 5): ... this.
14507
14508 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14509
14510 PR gdb/15564
14511 * gdb.mi/mi-detach.exp: New file.
14512
14513 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14514
14515 PR symtab/18392
14516 * gdb.arch/amd64-tailcall-self.S: New file.
14517 * gdb.arch/amd64-tailcall-self.c: New file.
14518 * gdb.arch/amd64-tailcall-self.exp: New file.
14519
14520 2015-05-28 Don Breazeal <donb@codesourcery.com>
14521
14522 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14523 tests for remote targets by checking is_target_gdbserver.
14524
14525 2015-05-27 Doug Evans <dje@google.com>
14526
14527 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14528 * gdb.dwarf2/opaque-type-lookup.c: New file.
14529 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14530
14531 2015-05-26 Doug Evans <dje@google.com>
14532
14533 * gdb.cp/iostream.cc: New file.
14534 * gdb.cp/iostream.exp: New file.
14535
14536 2015-05-26 Doug Evans <dje@google.com>
14537
14538 * gdb.dwarf2/dw2-op-call.exp: Update.
14539 * gdb.dwarf2/dw4-sig-types.exp: Update.
14540 * gdb.dwarf2/implptr.exp: Update.
14541 * gdb.mi/mi-cmd-param-changed.exp: Update.
14542
14543 2015-05-26 Doug Evans <dje@google.com>
14544
14545 * gdb.python/py-lazy-string.c: New file.
14546 * gdb.python/py-lazy-string.exp: New file.
14547 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14548 (main): Update. Add estring3.
14549 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14550 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14551
14552 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14553 Yao Qi <yao.qi@linaro.org>
14554
14555 * gdb.reverse/aarch64.c: New.
14556 * gdb.reverse/aarch64.exp: New.
14557
14558 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14559
14560 * lib/gdb.exp (supports_process_record): Return true for
14561 aarch64*-linux*.
14562 (supports_reverse): Likewise.
14563
14564 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14565
14566 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14567 Use with_test_prefix.
14568
14569 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14570
14571 * gdb.base/completion.exp: Add test for completion of layout
14572 names.
14573
14574 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14575
14576 * lib/gdb.exp (skip_tui_tests): New proc.
14577 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14578
14579 2015-05-19 Pedro Alves <palves@redhat.com>
14580
14581 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14582 Save the whole env array instead of just HOME. Unset HISTSIZE in
14583 the environment while testing. Restore whole environment
14584 afterwards.
14585
14586 2015-05-16 Doug Evans <xdje42@gmail.com>
14587
14588 * gdb.guile/scm-ports.c: New file.
14589 * gdb.guile/scm-ports.exp: Add memory port tests.
14590
14591 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14592
14593 * gdb.compile/compile-print.c: New file.
14594 * gdb.compile/compile-print.exp: New file.
14595
14596 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14597
14598 * gdb.compile/compile-ops.exp: Cast param to void.
14599 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14600 (compile code struct_object.selffield = &struct_object): Add xfail.
14601
14602 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14603
14604 * gdb.ada/arr_enum_with_gap: New testcase.
14605
14606 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14607
14608 * gdb.ada/byte_packed_arr: New testcase.
14609
14610 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14611
14612 * gdb.ada/pckd_neg: New testcase.
14613
14614 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14615
14616 PR gdb/17820
14617 * gdb.base/gdbinit-history.exp: New test.
14618 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14619 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14620
14621 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14622
14623 * gdb.python/py-xmethods.cc: Enhance test case.
14624 * gdb.python/py-xmethods.exp: New tests.
14625 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14626 function.
14627 (B_indexoper): Likewise.
14628 (global_dm_list) : Add new xmethod worker functions.
14629
14630 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14631
14632 * gdb.base/coredump-filter.exp: Correctly unset
14633 "coredump_var_addr" array.
14634
14635 2015-05-08 Pedro Alves <palves@redhat.com>
14636
14637 * gdb.server/non-existing-program.exp: Unset spawn_id.
14638
14639 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14640
14641 PR python/18291
14642 * gdb.python/py-xmethods.exp: Add tests.
14643
14644 2015-05-08 Yao Qi <yao.qi@linaro.org>
14645
14646 PR gdb/18208
14647 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14648 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14649 function set_coredump_filter, and remove remote_exec call.
14650 Remove argument ipid. Callers update.
14651 (top level): Don't get inferior's PID.
14652
14653 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14654
14655 * gdb.base/watch_thread_num.exp: Skip test on targets without
14656 access watchpoints.
14657
14658 2015-05-06 Pedro Alves <palves@redhat.com>
14659
14660 PR server/18081
14661 * gdb.server/non-existing-program.exp: New file.
14662
14663 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14664
14665 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14666
14667 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14668
14669 * gdb.ada/out_of_line_in_inlined: New testcase.
14670
14671 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14672
14673 * gdb.ada/var_rec_arr: New testcase.
14674
14675 2015-04-30 Yao Qi <yao.qi@linaro.org>
14676
14677 * gdb.base/break-idempotent.exp: If
14678 skip_hw_watchpoint_multi_tests returns true, skip the tests
14679 on "rwatch" and "awatch".
14680
14681 2015-04-30 Yao Qi <yao.qi@linaro.org>
14682
14683 * gdb.base/relativedebug.exp: Invoke gdb command
14684 "info sharedlibrary", and if libc.so doesn't have debug info,
14685 skip the test.
14686
14687 2015-04-29 Doug Evans <dje@google.com>
14688
14689 * gdb.python/py-xmethods.exp: Add ptype tests.
14690 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14691 get_result_type method.
14692
14693 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14694
14695 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14696 the target does not support hardware watchpoints.
14697
14698 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14699
14700 * gdb.base/break-always.exp: Abort testing if writing to memory
14701 causes an error.
14702
14703 2015-04-28 Doug Evans <dje@google.com>
14704
14705 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14706 * gdb.python/py-pp-registration.exp: ... here. New file.
14707 * gdb.python/py-pp-registration.c: New file.
14708 * gdb.python/py-pp-registration.py: New file.
14709
14710 2015-04-28 Doug Evans <dje@google.com>
14711
14712 * gdb.python/py-bad-printers.c: New file.
14713 * gdb.python/py-bad-printers.py: New file.
14714 * gdb.python/py-bad-printers.exp: New file.
14715
14716 2015-04-28 Sasha Smundak <asmundak@google.com>
14717
14718 * gdb.python/py-type.exp: New test.
14719
14720 2015-04-28 Andy Wingo <wingo@igalia.com>
14721
14722 * gdb.python/py-parameter.exp:
14723 * gdb.guile/scm-parameter.exp: Escape the path that we are
14724 matching against, as it might contain characters that are special
14725 to regular expressions.
14726
14727 2015-04-27 Joel Brobecker <brobecker@adacore.com>
14728
14729 * gdb.ada/rec_comp: New testcase.
14730
14731 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14732
14733 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14734 before using it.
14735
14736 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14737
14738 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14739 new tests for verilog output.
14740
14741 2015-04-24 Yao Qi <yao.qi@linaro.org>
14742
14743 * boards/remote-gdbserver-on-localhost.exp: New file.
14744
14745 2015-04-23 Pedro Alves <palves@redhat.com>
14746
14747 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14748 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14749 "end of file", remove $inferior_spawn_id from the indirect list.
14750
14751 2015-04-23 Pedro Alves <palves@redhat.com>
14752
14753 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14754
14755 2015-04-23 Pedro Alves <palves@redhat.com>
14756
14757 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14758 on $any_spawn_id instead of only on $gdb_spawn_id.
14759
14760 2015-04-21 Pierre Muller <muller@sourceware.org>
14761
14762 PR pascal/17815
14763 * lib/pascal.exp (gpc_compile): Add new option "class".
14764 (fpc_compile): Likewise.
14765 * gdb.pascal/case-insensitive-symbols.pas: New file.
14766 * gdb.pascal/case-insensitive-symbols.exp: New file.
14767
14768 2015-04-20 Gary Benson <gbenson@redhat.com>
14769
14770 * gdb.base/attach.exp: Fix three extended remote failures.
14771
14772 2015-04-17 Gary Benson <gbenson@redhat.com>
14773
14774 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14775 the main executable over the remote protocol.
14776
14777 2015-04-16 Pedro Alves <palves@redhat.com>
14778
14779 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14780 a new gdbserver if gdbserver_reconnect_p is set.
14781
14782 2015-04-16 Pedro Alves <palves@redhat.com>
14783
14784 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14785 is set, don't exit gdbserver.
14786
14787 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14788
14789 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14790 appropriate .insn, such that an older assembler can be used.
14791 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14792 the z/Architecture instruction set on 31-bit targets as well.
14793
14794 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14795
14796 * gdb.go/handcall.exp: Remove all logic related to the first
14797 breakpoint and rely on go_runto_main instead.
14798 * gdb.go/strings.exp: Likewise.
14799 * gdb.go/unsafe.exp: Likewise.
14800 * gdb.go/hello.exp: Likewise. Also rename the remaining
14801 breakpoint marker to "breakpoint 1".
14802 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14803 * gdb.go/strings.go: Likewise.
14804 * gdb.go/unsafe.go: Likewise.
14805 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14806 "set breakpoint 2 here" and rename the remaining breakpoint marker
14807 to "breakpoint 1".
14808
14809 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14810
14811 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14812 if itertools.imap is not present.
14813 * gdb.python/py-objfile.exp: Add parentheses.
14814 * gdb.python/py-type.exp: Same.
14815 * gdb.python/py-unwind-maint.py: Same.
14816
14817 2015-04-15 Yao Qi <yao.qi@linaro.org>
14818
14819 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14820 of ":$ptr_size" and set its form explicitly.
14821
14822 2015-04-15 Pedro Alves <palves@redhat.com>
14823 Yao Qi <yao.qi@linaro.org>
14824
14825 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14826 timeout by factor of 4.
14827 (test_regular_watch): Likewise.
14828 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14829 * gdb.reverse/sigall-reverse.exp: Likewise.
14830 * gdb.reverse/until-precsave.exp: Likewise.
14831 * lib/gdb.exp (with_timeout_factor): New proc.
14832 (gdb_expect): Move some code to ...
14833 (get_largest_timeout): ... here. New procedure.
14834
14835 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
14836
14837 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14838
14839 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14840
14841 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14842 to write to the .text section.
14843
14844 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14845
14846 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14847 Handle the case of targets that do not provide PID information.
14848
14849 2015-04-13 Yao Qi <yao.qi@linaro.org>
14850
14851 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14852 and use expect instead of gdb_expect.
14853
14854 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14855
14856 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14857 "coredump_var_addr" to avoid naming conflict with other testcases.
14858
14859 2015-04-10 Pedro Alves <palves@redhat.com>
14860
14861 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14862 gdb_test_sequence and gdb_assert.
14863
14864 2015-04-10 Pedro Alves <palves@redhat.com>
14865
14866 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14867 test messages that don't include the breakpoint address.
14868
14869 2015-04-10 Yao Qi <yao.qi@linaro.org>
14870
14871 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14872 false for some offset and width combinations which aren't
14873 supported by linux kernel.
14874
14875 2015-04-10 Pedro Alves <palves@redhat.com>
14876
14877 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14878 procedure, factored out from ...
14879 (top level): ... here. Add "set displaced-stepping" testing axis.
14880 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14881 parameter "displaced". Use it.
14882 (top level): Use foreach and add "set displaced-stepping" testing
14883 axis.
14884
14885 2015-04-10 Pedro Alves <palves@redhat.com>
14886
14887 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14888 Remove comment.
14889 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14890 both the address of the instruction that triggers the watchpoint
14891 and the address of the instruction immediately after, and use
14892 those addresses for the test. Fix comment.
14893
14894 2015-04-10 Pedro Alves <palves@redhat.com>
14895
14896 * gdb.base/sigstep.exp (breakpoint_to_handler)
14897 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14898 Test "backtrace" in handler.
14899 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14900 (top level): Add new "displaced" test axis to
14901 breakpoint_to_handler, breakpoint_to_handler_entry and
14902 breakpoint_over_handler.
14903
14904 2015-04-10 Pedro Alves <palves@redhat.com>
14905
14906 PR gdb/18216
14907 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14908
14909 2015-04-10 Yao Qi <yao.qi@linaro.org>
14910
14911 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14912 (test_add_rn_pc): New function.
14913 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14914 (top level): Invoke test_add_rn_pc.
14915
14916 2015-04-10 Pedro Alves <palves@redhat.com>
14917
14918 PR gdb/13858
14919 * gdb.base/step-over-no-symbols.exp: New file.
14920
14921 2015-04-09 Andy Wingo <wingo@igalia.com>
14922
14923 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14924 after the Python tests.
14925
14926 2015-04-08 Keith Seitz <keiths@redhat.com>
14927
14928 PR python/16699
14929 * gdb.python/py-completion.exp: New tests for completion.
14930 * gdb.python/py-completion.py (CompleteLimit1): New class.
14931 (CompleteLimit2): Likewise.
14932 (CompleteLimit3): Likewise.
14933 (CompleteLimit4): Likewise.
14934 (CompleteLimit5): Likewise.
14935 (CompleteLimit6): Likewise.
14936 (CompleteLimit7): Likewise.
14937
14938 2015-04-08 Pedro Alves <palves@redhat.com>
14939
14940 PR gdb/18214
14941 PR gdb/18216
14942 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14943 function.
14944 (main): Install it as SIGUSR1 handler.
14945 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14946 parameter. Always use "setup" as prefix. Toggle "set
14947 displaced-stepping" off/on depending on global. Don't switch to
14948 thread 1 here.
14949 (top level): Add displaced stepping "off/on" test axis. Update
14950 "setup" calls. Wrap each subtest with with_test_prefix. Test
14951 continuing with a queued signal in each thread.
14952
14953 2015-04-08 Pedro Alves <palves@redhat.com>
14954
14955 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14956 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14957 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14958 Return early if running to main fails.
14959 * gdb.trace/while-stepping.exp: Likewise.
14960
14961 2015-04-07 Pedro Alves <palves@redhat.com>
14962
14963 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14964 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14965 interact with inferior program.
14966
14967 2015-04-07 Pedro Alves <palves@redhat.com>
14968
14969 * lib/gdb.exp (inferior_spawn_id): New global.
14970 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14971 spawn id after processing the user code.
14972 (default_gdb_start): Set inferior_spawn_id.
14973 (send_inferior): New procedure.
14974 * lib/gdbserver-support.exp (gdbserver_start): Set
14975 inferior_spawn_id.
14976 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14977
14978 2015-04-07 Pedro Alves <palves@redhat.com>
14979
14980 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14981 * lib/gdbserver-support.exp (gdbserver_start): Make
14982 $server_spawn_id global.
14983 (gdbserver_start): Don't wait for gdbserver's spawn id with
14984 expect_background.
14985 (close_gdbserver): New procedure.
14986 (gdb_exit): Rename the default version and reimplement.
14987
14988 2015-04-07 Pedro Alves <palves@redhat.com>
14989
14990 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14991 append the substituted item, not the original item.
14992
14993 2015-04-07 Pedro Alves <palves@redhat.com>
14994
14995 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14996 gdb_expect.
14997
14998 2015-04-07 Pedro Alves <palves@redhat.com>
14999
15000 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15001 output appearing once only.
15002
15003 2015-04-07 Pedro Alves <palves@redhat.com>
15004
15005 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15006 that doesn't expect anything. Return early if running to main
15007 fails.
15008
15009 2015-04-07 Yao Qi <yao.qi@linaro.org>
15010
15011 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15012 (child_function): Call alarm.
15013 (main): Move call to alarm into the loop.
15014 * gdb.threads/non-stop-fair-events.exp: Build program with
15015 -DTIMEOUT=$timeout.
15016
15017 2015-04-06 Doug Evans <xdje42@gmail.com>
15018
15019 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15020 Fix dest parameter to board_info.
15021 (fpc_compile): Ditto.
15022 (gdb_compile_pascal): Rename dest arg to destfile.
15023
15024 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15025
15026 * gdb.ada/funcall_ref.exp: New file.
15027 * gdb.ada/funcall_ref/foo.adb: New file.
15028
15029 2015-04-02 Yao Qi <yao.qi@linaro.org>
15030
15031 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15032 is remote.
15033
15034 2015-04-02 Gary Benson <gbenson@redhat.com>
15035
15036 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15037
15038 2015-04-01 Sasha Smundak <asmundak@google.com>
15039
15040 * gdb.python/py-unwind-maint.c: New file.
15041 * gdb.python/py-unwind-maint.exp: New test.
15042 * gdb.python/py-unwind-maint.py: New file.
15043 * gdb.python/py-unwind.c: New file.
15044 * gdb.python/py-unwind.exp: New test.
15045 * gdb.python/py-unwind.py: New test.
15046
15047 2015-04-01 Pedro Alves <palves@redhat.com>
15048
15049 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15050 to fail instead of non-existent $test.
15051
15052 2015-04-01 Pedro Alves <palves@redhat.com>
15053
15054 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15055 GDBFLAGS if not empty.
15056
15057 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15058
15059 * gdb.ada/complete.exp: Remove "multi_line".
15060 * gdb.ada/info_exc.exp: Remove "multi_line".
15061 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15062 * gdb.ada/ptype_field.exp: Remove "multi_line".
15063 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15064 * gdb.ada/tagged.exp: Remove "multi_line".
15065 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15066 [multi_line ...]
15067 * gdb.btrace/delta.exp: Likewise.
15068 * gdb.btrace/exception.exp: Likewise.
15069 * gdb.btrace/function_call_history.exp: Likewise.
15070 * gdb.btrace/instruction_history.exp: Likewise.
15071 * gdb.btrace/nohist.exp: Likewise.
15072 * gdb.btrace/record_goto.exp: Likewise.
15073 * gdb.btrace/segv.exp: Likewise.
15074 * gdb.btrace/stepi.exp: Likewise.
15075 * gdb.btrace/tailcall.exp: Likewise.
15076 * gdb.btrace/unknown_functions.exp: Likewise.
15077 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15078 * lib/gdb.exp: Add the "multi_line" helper.
15079
15080 2015-04-01 Pedro Alves <palves@redhat.com>
15081
15082 * gdb.threads/tid-reuse.c: New file.
15083 * gdb.threads/tid-reuse.exp: New file.
15084
15085 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15086
15087 PR corefiles/16092
15088 * gdb.base/coredump-filter.c: New file.
15089 * gdb.base/coredump-filter.exp: Likewise.
15090
15091 2015-03-27 Petr Machata <pmachata@redhat.com>
15092
15093 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15094 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15095 (Dwarf::assemble): Initialize them.
15096 (Dwarf::lines): New function.
15097
15098 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15099
15100 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15101 SYMBOL_PREFIX for x86_64-*-cygwin.
15102
15103 2015-03-26 Andy Wingo <wingo@igalia.com>
15104
15105 PR symtab/18148
15106 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15107 const_value but not a location.
15108 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15109 location defined in non-main CUs are visible.
15110
15111 2015-03-26 Yao Qi <yao.qi@linaro.org>
15112
15113 PR testsuite/18139
15114 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15115 Add a line number entry for the same line.
15116 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15117 Add a line number entry for the same line.
15118
15119 2015-03-26 Yao Qi <yao.qi@linaro.org>
15120
15121 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15122 .int 0.
15123 (func): Likewise. Add .Lfunc_1 label.
15124 Use .Lfunc_1 label.
15125 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15126 .int 0.
15127 (func): Likewise.
15128 Use .Lfunc_1 label.
15129
15130 2015-03-26 Yao Qi <yao.qi@linaro.org>
15131
15132 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15133 Call gdb_compile instead to compile each .s files without debug
15134 information.
15135
15136 2015-03-26 Yao Qi <yao.qi@linaro.org>
15137
15138 * gdb.base/savedregs.exp (process_saved_regs): Make
15139 "Saved registers:" optional in the pattern.
15140
15141 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15142
15143 * gdb.btrace/next.exp: Merged into step.exp.
15144 * gdb.btrace/finish.exp: Merged into step.exp.
15145 * gdb.btrace/nexti.exp: Merged into stepi.exp.
15146 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
15147 "record goto" and checking the exact replay position.
15148 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
15149 check for "Recording format" in "info record" output.
15150 * gdb.btrace/record_goto.exp: Choose test file based on target.
15151 * gdb.btrace/x86-record_goto.S: Renamed into ...
15152 * gdb.btrace/x86_64-record_goto.S: ... this.
15153 * gdb.btrace/i686-record_goto.S: New.
15154 * gdb.btrace/x86-tailcall.S: Renamed into ...
15155 * gdb.btrace/x86_64-tailcall.S: ... this.
15156 * gdb.btrace/i686-tailcall.S: New.
15157 * gdb.btrace/x86-tailcall.c: Renamed into ...
15158 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
15159 separate statements. Update test.
15160 * gdb.btrace/delta.exp: Use record_goto.c as test file.
15161 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
15162 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
15163 * gdb.btrace/tailcall.exp: Choose test file based on target.
15164 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
15165
15166 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15167
15168 * gdb.btrace/exception.exp: Increase BTS buffer size.
15169
15170 2015-03-24 Pedro Alves <palves@redhat.com>
15171
15172 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
15173
15174 2015-03-24 Pedro Alves <palves@redhat.com>
15175
15176 * gdb.threads/schedlock.exp (test_step): No longer expect that
15177 "set scheduler-locking step" with "next" over a function call runs
15178 threads unlocked.
15179
15180 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15181
15182 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
15183
15184 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15185
15186 PR breakpoints/16466
15187 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
15188 * gdb.mi/mi-pending.c (thread_func): New function.
15189 (int main): Add threading support required.
15190 * gdb.mi/mi-pending.exp: Add tests for this issue.
15191 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
15192 (pendfunc2): Remove stdio dependency.
15193 * gdb.mi/mi-pendshr2.c: New file.
15194
15195 2015-03-23 Keith Seitz <keiths@redhat.com>
15196
15197 * gdb.linespec/keywords.c: New file.
15198 * gdb.linespec/keywords.exp: New file.
15199
15200 2015-03-23 Keith Seitz <keiths@redhat.com>
15201
15202 PR gdb/18021
15203 * gdb.dwarf2/staticvirtual.exp: New test.
15204
15205 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15206
15207 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
15208 * README: Remove HP-UX and gdb.hp.
15209 (configuration):
15210 * configure: Regenerate.
15211 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
15212 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
15213 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
15214 gdb.hp/gdb.defects/Makefile.
15215 * gdb.hp/Makefile.in: File deleted.
15216 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
15217 * gdb.hp/gdb.aCC/optimize.c: File deleted.
15218 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
15219 * gdb.hp/gdb.aCC/run.c: File deleted.
15220 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
15221 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
15222 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
15223 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
15224 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
15225 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
15226 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
15227 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
15228 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
15229 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
15230 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
15231 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
15232 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
15233 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
15234 * gdb.hp/gdb.base-hp/reg.s: File deleted.
15235 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
15236 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
15237 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
15238 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
15239 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
15240 * gdb.hp/gdb.compat/Makefile.in: File deleted.
15241 * gdb.hp/gdb.compat/average.c: File deleted.
15242 * gdb.hp/gdb.compat/sum.c: File deleted.
15243 * gdb.hp/gdb.compat/xdb.c: File deleted.
15244 * gdb.hp/gdb.compat/xdb0.c: File deleted.
15245 * gdb.hp/gdb.compat/xdb0.h: File deleted.
15246 * gdb.hp/gdb.compat/xdb1.c: File deleted.
15247 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
15248 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
15249 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
15250 * gdb.hp/gdb.defects/Makefile.in: File deleted.
15251 * gdb.hp/gdb.defects/bs14602.c: File deleted.
15252 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
15253 * gdb.hp/gdb.defects/solib-d.c: File deleted.
15254 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
15255 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
15256 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
15257 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
15258 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
15259 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
15260 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
15261 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
15262 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
15263 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
15264 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
15265 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
15266 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
15267 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
15268 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
15269 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
15270 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
15271 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
15272 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
15273 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
15274 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
15275 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
15276 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
15277 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
15278 * gdb.hp/tools/odump: File deleted.
15279
15280 2015-03-19 Pedro Alves <palves@redhat.com>
15281
15282 * gdb.threads/continue-pending-status.exp (saw_thread_2)
15283 (saw_thread_3): New globals.
15284 (top level): Increment them when an event for the corresponding
15285 thread is seen.
15286 (no thread starvation): New test.
15287
15288 2015-03-19 Pedro Alves <palves@redhat.com>
15289
15290 * gdb.threads/continue-pending-status.c: New file.
15291 * gdb.threads/continue-pending-status.exp: New file.
15292
15293 2015-03-18 Pedro Alves <palves@redhat.com>
15294
15295 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15296 Use gdb_is_target_remote instead of is_remote. Use
15297 gdb_test_multiple instead of gdb_expect. Exit early if
15298 gdb_test_multiple hits its internal matches. Tighten stepi tests
15299 expected output. Fail on exit with any signal, instead of just
15300 SIGILL.
15301
15302 2015-03-18 Yao Qi <yao.qi@linaro.org>
15303
15304 PR tdep/18107
15305 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
15306 variable.
15307 * gdb.base/catch-syscall.exp: Don't skip it on
15308 aarch64*-*-linux* target. Remove elements in all_syscalls.
15309 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
15310 target.
15311 (setup_all_syscalls): New proc.
15312
15313 2015-03-16 Yao Qi <yao.qi@linaro.org>
15314
15315 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
15316 (top level): Skip tests if valid_addr_p returns false for
15317 $cmd1 or $cmd2.
15318
15319 2015-03-11 Andy Wingo <wingo@igalia.com>
15320
15321 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
15322
15323 2015-03-11 Yao Qi <yao.qi@linaro.org>
15324
15325 * gdb.base/catch-syscall.exp: Fix typo in comments.
15326
15327 2015-03-11 Yao Qi <yao.qi@linaro.org>
15328
15329 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
15330
15331 2015-03-09 Pedro Alves <palves@redhat.com>
15332
15333 * dg-extract-results.py: Delete.
15334
15335 2015-03-09 Pedro Alves <palves@redhat.com>
15336
15337 Merge dg-extract-results.sh from GCC upstream (r218843).
15338
15339 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
15340 * dg-extract-results.sh: Use --text with grep to avoid issues with
15341 binary files. Fall back to cat -v, if that doesn't work.
15342
15343 2015-03-05 Pedro Alves <palves@redhat.com>
15344
15345 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
15346
15347 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
15348
15349 * lib/mi-support.exp (mi_expect_interrupt): Accept
15350 alternative event for when in all-stop mode.
15351
15352 2015-03-04 Pedro Alves <palves@redhat.com>
15353
15354 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
15355
15356 2015-03-04 Mark Kettenis <kettenis@gnu.org>
15357
15358 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
15359
15360 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15361
15362 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
15363 regexps for GDB's current line display, accept a hex address
15364 preceding the line number.
15365
15366 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15367
15368 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
15369 the 'arch1' variable for "s390*-linux*" targets.
15370
15371 2015-03-04 Pedro Alves <palves@redhat.com>
15372
15373 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
15374 (main): Pass missing retval argument to pthread_join call.
15375
15376 2015-03-02 Pedro Alves <palves@redhat.com>
15377
15378 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
15379 (top level): Call do_test with non-stop as well.
15380
15381 2015-03-02 Pedro Alves <palves@redhat.com>
15382
15383 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
15384 -1.
15385
15386 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15387
15388 * gdb.arch/s390-vregs.exp: New test.
15389 * gdb.arch/s390-vregs.S: New file.
15390
15391 2015-02-27 Pedro Alves <palves@redhat.com>
15392
15393 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
15394 call to catch_command_errors.
15395 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
15396 catch_command_errors.
15397
15398 2015-02-27 Pedro Alves <palves@redhat.com>
15399
15400 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
15401 "true" for boolean result.
15402 * gdb.gdb/selftest.exp (test_with_self): Also accept full
15403 prototype of main.
15404
15405 2015-02-27 Pedro Alves <palves@redhat.com>
15406
15407 * lib/unbuffer_output.c: New file.
15408 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
15409 (main): Call gdb_unbuffer_output.
15410
15411 2015-02-27 Yao Qi <yao.qi@linaro.org>
15412
15413 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
15414 target.
15415
15416 2015-02-26 Doug Evans <dje@google.com>
15417
15418 * gdb.cp/class2.cc (Dbase, D): New classes.
15419 (main): New local delta.
15420 * gdb.cp/class2.exp: Test printing delta.
15421 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
15422 (dynbar): New global.
15423 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
15424
15425 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15426
15427 * gdb.compile/compile-ifunc.c: New file.
15428 * gdb.compile/compile-ifunc.exp: New file.
15429
15430 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
15431
15432 * gdb.base/structs.exp: Check for correct struct on finish.
15433
15434 2015-02-26 Yao Qi <yao.qi@linaro.org>
15435
15436 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15437 is zero.
15438
15439 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15440
15441 * gdb.arch/cordic.ko.bz2: New file.
15442 * gdb.arch/cordic.ko.debug.bz2: New file.
15443 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15444
15445 2015-02-25 Yao Qi <yao.qi@linaro.org>
15446
15447 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15448 aarch64*-*-* target.
15449
15450 2015-02-23 Pedro Alves <palves@redhat.com>
15451
15452 * lib/gdb.exp (delete_breakpoints): Rewrite using
15453 gdb_test_multiple.
15454
15455 2015-02-23 Pedro Alves <palves@redhat.com>
15456
15457 * gdb.base/info-os.c: Include stdlib.h.
15458
15459 2015-02-22 Doug Evans <xdje42@gmail.com>
15460
15461 PR symtab/17855
15462 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15463 is read after symbols have been re-read.
15464 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15465 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15466
15467 2015-02-21 Doug Evans <dje@google.com>
15468
15469 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15470
15471 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15472
15473 PR corefiles/17808
15474 * gdb.arch/i386-biarch-core.core.bz2: New file.
15475 * gdb.arch/i386-biarch-core.exp: New file.
15476
15477 2015-02-21 Pedro Alves <palves@redhat.com>
15478
15479 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15480 runto_main fails.
15481
15482 2015-02-20 Pedro Alves <palves@redhat.com>
15483
15484 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15485 info probes.
15486
15487 2015-02-20 Pedro Alves <palves@redhat.com>
15488
15489 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15490
15491 2015-02-20 Pedro Alves <palves@redhat.com>
15492
15493 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15494 clean_restart before gdb_target_supports_trace.
15495
15496 2015-02-20 Pedro Alves <palves@redhat.com>
15497
15498 PR threads/18006
15499 * gdb.threads/clone-thread_db.c: New file.
15500 * gdb.threads/clone-thread_db.exp: New file.
15501
15502 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15503
15504 PR breakpoints/16812
15505 * gdb.base/catch-gdb-caused-signals.c: New file.
15506 * gdb.base/catch-gdb-caused-signals.exp: New file.
15507
15508 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15509
15510 * configure: Regenerated.
15511 * configure.ac: Use GDB_AC_TRANSFORM.
15512 * aclocal.m4: sinclude ../transform.m4.
15513
15514 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15515
15516 * lib/dtrace.exp: New file.
15517 * gdb.base/dtrace-probe.exp: Likewise.
15518 * gdb.base/dtrace-probe.d: Likewise.
15519 * gdb.base/dtrace-probe.c: Likewise.
15520 * lib/pdtrace.in: Likewise.
15521 * configure.ac: Output variables with the transformed names of
15522 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15523 * configure: Regenerated.
15524
15525 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15526
15527 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15528 expected message when trying to access $_probe_* convenience
15529 variables while not on a probe.
15530
15531 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15532
15533 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15534
15535 2015-02-11 Pedro Alves <pedro@codesourcery.com>
15536
15537 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15538 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15539
15540 2015-02-10 Doug Evans <xdje42@gmail.com>
15541
15542 * lib/gdb.exp (gdb_load): Always return a result.
15543
15544 2015-02-10 Pedro Alves <palves@redhat.com>
15545
15546 * gdb.threads/signal-sigtrap.c: New file.
15547 * gdb.threads/signal-sigtrap.exp: New file.
15548
15549 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15550
15551 * gdb.trace/no-attach-trace.c: New file.
15552 * gdb.trace/no-attach-trace.exp: New file.
15553
15554 2015-02-09 Mark Wielaard <mjw@redhat.com>
15555
15556 * gdb.dwarf2/atomic.c: New file.
15557 * gdb.dwarf2/atomic-type.exp: Likewise.
15558
15559 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15560
15561 * gdb.btrace/buffer-size.exp: Update "info record" output.
15562 * gdb.btrace/delta.exp: Update "info record" output.
15563 * gdb.btrace/enable.exp: Update "info record" output.
15564 * gdb.btrace/finish.exp: Update "info record" output.
15565 * gdb.btrace/instruction_history.exp: Update "info record" output.
15566 * gdb.btrace/next.exp: Update "info record" output.
15567 * gdb.btrace/nexti.exp: Update "info record" output.
15568 * gdb.btrace/step.exp: Update "info record" output.
15569 * gdb.btrace/stepi.exp: Update "info record" output.
15570 * gdb.btrace/nohist.exp: Update "info record" output.
15571
15572 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15573
15574 * gdb.btrace/buffer-size: New.
15575
15576 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15577
15578 * gdb.btrace/delta.exp: Update "info record" output.
15579 * gdb.btrace/enable.exp: Update "info record" output.
15580 * gdb.btrace/finish.exp: Update "info record" output.
15581 * gdb.btrace/instruction_history.exp: Update "info record" output.
15582 * gdb.btrace/next.exp: Update "info record" output.
15583 * gdb.btrace/nexti.exp: Update "info record" output.
15584 * gdb.btrace/step.exp: Update "info record" output.
15585 * gdb.btrace/stepi.exp: Update "info record" output.
15586 * gdb.btrace/nohist.exp: Update "info record" output.
15587
15588 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15589
15590 PR gdb/15678
15591 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15592
15593 2015-02-06 Pedro Alves <palves@redhat.com>
15594
15595 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15596 macro.
15597 (seconds_left, again): New globals.
15598 (main): Wait seconds_left in a 1-second sleep loop instead of
15599 sleeping 180 seconds. If 'again' is set, reset the seconds
15600 counter.
15601 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15602 'again' in the inferior before detaching. Print the seconds left.
15603 (options): New global.
15604 (top level): Build program with -DTIMEOUT=$timeout.
15605
15606 2015-02-06 Pedro Alves <palves@redhat.com>
15607
15608 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15609 determine how many seconds to pass to 'alarm'.
15610 * gdb.base/gdb-sigterm.exp (top level): Build program with
15611 -DTIMEOUT=$timeout.
15612 (do_test): Return success/failure indication. Add more verbose
15613 logging. Don't fail if 200 single steps are seen. Instead, fail
15614 when the test times out.
15615 (passes): New global.
15616 (top level): Break the testing loop if testing fails on any
15617 iteration. Use gdb_assert.
15618
15619 2015-02-04 Don Breazeal <donb@codesourcery.com>
15620
15621 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15622 and initialize them.
15623 (ipc_cleanup): New function.
15624 (main): Don't declare shmid, semid, and msqid. Add a call to
15625 atexit so that we call ipc_cleanup on exit.
15626
15627 2015-02-04 Pedro Alves <palves@redhat.com>
15628
15629 * boards/native-extended-gdbserver.exp: Remove any target variant
15630 specifications from the board name before clearing the isremote
15631 flag from board_info.
15632
15633 2015-01-31 Doug Evans <xdje42@gmail.com>
15634
15635 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15636
15637 2015-01-31 Gary Benson <gbenson@redhat.com>
15638
15639 * gdb.base/completion.exp: Disable completion limiting for
15640 existing tests. Add new tests to check completion limiting.
15641 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15642
15643 2015-01-31 Doug Evans <xdje42@gmail.com>
15644
15645 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15646
15647 2015-01-31 Doug Evans <xdje42@gmail.com>
15648
15649 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15650 entries. Duplicate file section script entries.
15651 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15652 inlined entries. Add test for safe-path rejection.
15653 * gdb.python/py-section-script.c: Add duplicate inlined section script
15654 entries. Duplicate file section script entries.
15655 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15656 inlined entries. Add test for safe-path rejection.
15657
15658 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15659
15660 * gdb.ada/disc_arr_bound: New testcase.
15661
15662 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15663
15664 * gdb.ada/mi_var_array: New testcase.
15665
15666 2015-01-27 Doug Evans <dje@google.com>
15667
15668 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15669 Add test for objfile.filename, objfile.username after objfile
15670 has been unloaded.
15671
15672 2015-01-26 Joel Brobecker <brobecker@adacore.com>
15673
15674 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15675 the second test to print the name attribute of value
15676 returned by the call to gdb.lookup_type, and adjust
15677 the expected output accordingly.
15678
15679 2015-01-25 Mark Wielaard <mjw@redhat.com>
15680
15681 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15682 * gdb.base/disp-step-fork.c: Include unistd.h.
15683 * gdb.base/siginfo-obj.c: Include stdio.h.
15684 * gdb.base/siginfo-thread.c: Likewise.
15685 * gdb.mi/non-stop.c: Include unistd.h.
15686 * gdb.mi/nsthrexec.c: Include stdio.h.
15687 * gdb.mi/pthreads.c: Include unistd.h.
15688 * gdb.modula2/unbounded1.c (main): Declare returns int.
15689 * gdb.reverse/consecutive-reverse.c: Likewise.
15690 * gdb.threads/create-fail.c: Include unistd.h.
15691 * gdb.threads/killed.c: Likewise.
15692 * gdb.threads/linux-dp.c: Likewise.
15693 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15694 * gdb.threads/non-ldr-exc-2.c: Likewise.
15695 * gdb.threads/non-ldr-exc-3.c: Likewise.
15696 * gdb.threads/non-ldr-exc-4.c: Likewise.
15697 * gdb.threads/pthreads.c: Include unistd.h.
15698 (main): Declare returns int.
15699 * gdb.threads/tls-main.c (foo): New declaration.
15700 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15701
15702 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15703
15704 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15705 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15706
15707 2015-01-15 Mark Wielaard <mjw@redhat.com>
15708
15709 * gdb.base/noreturn-return.c: New file.
15710 * gdb.base/noreturn-return.exp: New file.
15711 * gdb.base/noreturn-finish.c: New file.
15712 * gdb.base/noreturn-finish.exp: New file.
15713
15714 2015-01-23 Pedro Alves <palves@redhat.com>
15715
15716 * gdb.threads/continue-pending-after-query.c: New file.
15717 * gdb.threads/continue-pending-after-query.exp: New file.
15718
15719 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15720 Simon Marchi <simon.marchi@ericsson.com>
15721
15722 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15723 * gdb.base/valgrind-db-attach.exp: Same.
15724 * gdb.base/valgrind-infcall.exp: Same.
15725 * lib/mi-support.exp (default_mi_gdb_start): Same.
15726 * lib/prompt.exp (default_prompt_gdb_start): Same.
15727 * lib/gdb.exp (default_gdb_spawn): Same.
15728 (gdb_interact): New.
15729
15730
15731 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15732
15733 * gdb.compile/compile.exp (pointer to jit function): New test.
15734
15735 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
15736
15737 * lib/gdb.exp (supports_process_record): Return true for
15738 powerpc*-*-linux*.
15739 (supports_reverse): Likewise.
15740
15741 2015-01-15 Don Breazeal <donb@codesourcery.com>
15742
15743 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15744 instead of checking whether the target board is remote and
15745 use spawn_wait_for_attach instead of exec/sleep.
15746 * gdb.base/attach-twice.exp: Likewise.
15747
15748 2015-01-15 Joel Brobecker <brobecker@adacore.com>
15749
15750 * gdb.ada/var_arr_attrs: New testcase.
15751
15752 2015-01-14 Pedro Alves <palves@redhat.com>
15753 Joel Brobecker <brobecker@adacore.com>
15754
15755 PR gdb/17525
15756 * gdb.base/bp-cmds-execution-x-script.c: New file.
15757 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15758 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15759
15760 2015-01-14 Pedro Alves <palves@redhat.com>
15761
15762 PR cli/17828
15763 * gdb.base/batch-preserve-term-settings.c: New file.
15764 * gdb.base/batch-preserve-term-settings.exp: New file.
15765
15766 2015-01-13 Doug Evans <dje@google.com>
15767
15768 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15769 binary.
15770
15771 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15772
15773 * Makefile.in (clean mostlyclean): Do not delete *.py.
15774
15775 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15776
15777 * gdb.python/py-lookup-type.exp: New file.
15778
15779 2015-01-12 Pedro Alves <palves@redhat.com>
15780
15781 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15782 restore GDBFLAGS before returning.
15783
15784 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15785
15786 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15787 is_amd64_regs_target and is_x86_like_target.
15788
15789 2015-01-11 Doug Evans <xdje42@gmail.com>
15790
15791 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15792 is given without an explicit form.
15793 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15794 attributes.
15795 * gdb.dwarf/corrupt.exp: Ditto.
15796 * gdb.dwarf2/enum-type.exp: Ditto.
15797 * gdb.trace/entry-values.exp: Ditto.
15798 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15799
15800 2015-01-11 Doug Evans <xdje42@gmail.com>
15801
15802 PR gdb/15830
15803 * gdb.base/maint.exp: Remove references to "maint demangle".
15804 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15805 Add tests for explicitly specifying language to demangle.
15806 * gdb.dlang/demangle.exp: Ditto.
15807
15808 2015-01-09 Pedro Alves <palves@redhat.com>
15809
15810 * gdb.threads/non-stop-fair-events.c: New file.
15811 * gdb.threads/non-stop-fair-events.exp: New file.
15812
15813 2015-01-09 Pedro Alves <palves@redhat.com>
15814
15815 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15816 the global scope. Set a breakpoint after all threads are started
15817 rather than stepping over two source lines. Expect the prompt.
15818 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15819 global.
15820 (NUM): Now 15.
15821 (main): Use threads_started_barrier to wait for all threads to
15822 start. Main thread no longer calls thread_function. Exit after
15823 180 seconds.
15824 (loop): New function.
15825 (thread_function): Wait on threads_started_barrier barrier. Call
15826 'loop' at each iteration.
15827 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15828 threads have started, instead of hardcoding number of "next"
15829 steps. Use an access watchpoint instead of a write watchpoint.
15830
15831 2015-01-09 Pedro Alves <palves@redhat.com>
15832
15833 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15834 (thread_func): Wait on barrier.
15835 (main): Wait for all threads to start before stopping GDB.
15836 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15837 global.
15838 (thread1_func, thread2_func): Wait on barrier.
15839 (main): Wait for all threads to start before stopping GDB.
15840 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15841 New global.
15842 (thread1_func, thread2_func): Wait on barrier.
15843 (main): Wait for all threads to start before stopping GDB.
15844
15845 2015-01-09 Pedro Alves <palves@redhat.com>
15846
15847 * gdb.threads/attach-many-short-lived-threads.c: New file.
15848 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15849
15850 2014-01-09 Pedro Alves <palves@redhat.com>
15851
15852 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15853 instead of to thread 2.
15854 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15855 Add barrier around each pthread_create call instead of around all
15856 calls.
15857 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15858 Set a break on thread_function and have the child threads hit it
15859 one at at a time.
15860
15861 2015-01-09 Pedro Alves <palves@redhat.com>
15862
15863 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15864 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15865 false.
15866 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15867 checking whether the target board is remote.
15868 * gdb.multi/multi-attach.exp: Likewise.
15869 * gdb.python/py-sync-interp.exp: Likewise.
15870 * gdb.server/ext-attach.exp: Likewise.
15871 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15872 tests that need to attach, instead of checking whether the target
15873 board is remote at the top of the file.
15874
15875 2015-01-08 Yao Qi <yao@codesourcery.com>
15876
15877 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15878
15879 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15880
15881 Fix testcase compilation.
15882 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15883
15884 2015-01-06 Joel Brobecker <brobecker@adacore.com>
15885
15886 * gdb.python/py-type.exp: Add a couple test about empty
15887 array creation, and negative-length array creation.
15888
15889 2015-01-02 Doug Evans <xdje42@gmail.com>
15890
15891 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15892
15893 2015-01-02 Doug Evans <dje@google.com>
15894
15895 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15896
15897 2014-12-29 Yao Qi <yao@codesourcery.com>
15898
15899 * gdb.trace/entry-values.exp: Update comments. Rename variable
15900 bar_call_foo to returned_from_foo.
15901
15902 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15903
15904 PR gdb/17394
15905 * gdb.linespec/break-asm-file.c: New file.
15906 * gdb.linespec/break-asm-file.exp: New file.
15907 * gdb.linespec/break-asm-file0.s: New file.
15908 * gdb.linespec/break-asm-file1.s: New file.
15909
15910 2014-12-18 Nigel Stephens <nigel@mips.com>
15911 Maciej W. Rozycki <macro@codesourcery.com>
15912
15913 * gdb.base/float.exp: Handle the new output from "info float" on
15914 MIPS targets.
15915
15916 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15917
15918 Fix MinGW compilation.
15919 * gdb.compile/compile-ops.exp: Update untested message if
15920 !skip_compile_feature_tests.
15921 * gdb.compile/compile-setjmp.exp: Likewise.
15922 * gdb.compile/compile-tls.exp: Likewise.
15923 * gdb.compile/compile.exp: Likewise.
15924 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15925 supported on this host".
15926
15927 2014-12-16 Doug Evans <xdje42@gmail.com>
15928
15929 * boards/stabs.exp: New file.
15930
15931 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15932
15933 * gdb.base/completion.exp: Adjust to format changes of "maint
15934 print user-registers".
15935
15936 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15937
15938 PR server/17457
15939 * gdb.arch/aarch64-fp.c: New file.
15940 * gdb.arch/aarch64-fp.exp: New file.
15941
15942 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15943
15944 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15945 r210637, r210913, r211666, r215400, r215817).
15946
15947 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15948 * dg-extract-results.py: New file.
15949 * dg-extract-results.sh: Use it if the environment seems
15950 suitable.
15951
15952 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15953
15954 * dg-extract-results.py (parse_run): Handle warnings that
15955 are printed before a test harness is run.
15956
15957 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15958
15959 * dg-extract-results.py (Named): Remove __cmp__ method.
15960 (output_variation): Use a key to sort variation.harnesses.
15961
15962 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15963
15964 * dg-extract-results.py: For Python 3, force sys.stdout to
15965 handle surrogate escape sequences.
15966 (safe_open): New function.
15967 (output_segment, main): Use it.
15968
15969 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15970
15971 * dg-extract-results.py (Prog.result_re): Include options
15972 in test name.
15973
15974 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15975
15976 * dg-extract-results.py (output_variation): Always sort if
15977 do_sum.
15978
15979 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15980
15981 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15982 as long as we get pagination notifications.
15983
15984 2014-12-15 Jason Merrill <jason@redhat.com>
15985
15986 * Makefile.in (check-gdb.%): Restore.
15987 * README: Mention it.
15988
15989 2014-12-13 Joel Brobecker <brobecker@adacore.com>
15990
15991 * gdb.ada/str_uninit: New testcase.
15992
15993 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15994
15995 PR symtab/17642
15996 * gdb.base/vla-stub-define.c: New file.
15997 * gdb.base/vla-stub.c: New file.
15998 * gdb.base/vla-stub.exp: New file.
15999
16000 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16001 Jan Kratochvil <jan.kratochvil@redhat.com>
16002 Tom Tromey <tromey@redhat.com>
16003
16004 * configure.ac: Add gdb.compile/.
16005 * configure: Regenerate.
16006 * gdb.compile/Makefile.in: New file.
16007 * gdb.compile/compile-ops.exp: New file.
16008 * gdb.compile/compile-ops.c: New file.
16009 * gdb.compile/compile-tls.c: New file.
16010 * gdb.compile/compile-tls.exp: New file.
16011 * gdb.compile/compile-constvar.S: New file.
16012 * gdb.compile/compile-constvar.c: New file.
16013 * gdb.compile/compile-mod.c: New file.
16014 * gdb.compile/compile-nodebug.c: New file.
16015 * gdb.compile/compile-setjmp-mod.c: New file.
16016 * gdb.compile/compile-setjmp.c: New file.
16017 * gdb.compile/compile-setjmp.exp: New file.
16018 * gdb.compile/compile-shlib.c: New file.
16019 * gdb.compile/compile.c: New file.
16020 * gdb.compile/compile.exp: New file.
16021 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16022
16023 2014-12-12 Tom Tromey <tromey@redhat.com>
16024
16025 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16026 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16027
16028 2014-12-12 Doug Evans <dje@google.com>
16029
16030 * lib/gdb-python.exp (get_python_valueof): New function.
16031 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16032
16033 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16034
16035 * gdb.base/completion.exp: Add test for completion of "info
16036 registers ".
16037
16038 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16039
16040 * gdb.base/func-ptrs.c: New file.
16041 * gdb.base/func-ptrs.exp: New file.
16042
16043 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16044
16045 PR breakpoints/17012
16046 * gdb.base/dprintf-detach.c: New file.
16047 * gdb.base/dprintf-detach.exp: New file.
16048
16049 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16050
16051 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16052 * lib/gdb.exp (target_is_gdbserver): New procedure.
16053
16054 2014-12-08 Doug Evans <dje@google.com>
16055
16056 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16057
16058 2014-12-05 Yao Qi <yao@codesourcery.com>
16059
16060 * gdb.guile/scm-error.exp: Remove the third argument to
16061 gdb_remote_download.
16062 * gdb.guile/scm-frame-args.exp: Likewise.
16063 * gdb.guile/scm-section-script.exp: Likewise.
16064
16065 2014-12-05 Yao Qi <yao@codesourcery.com>
16066
16067 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16068
16069 2014-12-04 Doug Evans <dje@google.com>
16070
16071 * gdb.python/py-objfile.exp: Add tests for
16072 objfile.add_separate_debug_file.
16073
16074 2014-12-04 Doug Evans <dje@google.com>
16075
16076 * lib/gdb.exp (get_build_id): New function.
16077 (build_id_debug_filename_get): Rewrite to use it.
16078 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16079
16080 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16081
16082 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16083 `method(long)', not just 0x0.
16084 * gdb.cp/nsalias.exp: Align code labels to 4.
16085 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16086 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16087 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16088 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16089 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16090 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16091
16092 2014-12-02 Doug Evans <dje@google.com>
16093
16094 PR symtab/17602
16095 * gdb.cp/anon-ns.cc: Move guts of this file to ...
16096 * gdb.cp/anon-ns2.cc: ... here. New file.
16097 * gdb.cp/anon-ns.exp: Update.
16098
16099 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
16100
16101 * gdb.python/py-events.py (inferior_call_handler): New.
16102 (register_changed_handler, memory_changed_handler): New.
16103 (test_events.invoke): Register new handlers.
16104 * gdb.python/py-events.exp: Add tests for inferior call,
16105 memory_changed and register_changed events.
16106
16107 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16108
16109 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16110 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16111 if the linker doesn't understand this.
16112
16113 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16114
16115 * gdb.python/python.exp: Change expected reply to help().
16116
16117 2014-12-01 Yao Qi <yao@codesourcery.com>
16118
16119 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16120 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16121 * configure: Re-generated.
16122
16123 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16124
16125 * gdb.cp/chained-calls.cc: New file.
16126 * gdb.cp/chained-calls.exp: New file.
16127 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16128
16129 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16130
16131 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16132 * gdb.dwarf2/symtab-producer.exp: Same.
16133 * gdb.gdb/python-interrupts.exp: Same.
16134 * gdb.gdb/python-selftest.exp: Same.
16135 * gdb.python/py-linetable.exp: Same.
16136 * gdb.python/py-type.exp: Same.
16137 * gdb.python/py-value-cc.exp: Same.
16138 * gdb.python/py-value.exp: Same.
16139
16140 2014-11-28 Yao Qi <yao@codesourcery.com>
16141
16142 * gdb.base/break-probes.exp: Match library name prefixed with
16143 sysroot.
16144
16145 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
16146
16147 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
16148 test expected output. Add parentheses for the call to print.
16149 Remove L suffix from integers.
16150
16151 2014-11-26 Doug Evans <dje@google.com>
16152
16153 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
16154
16155 2014-11-22 Yao Qi <yao@codesourcery.com>
16156
16157 * gdb.trace/entry-values.c: Remove asms.
16158 (foo): Add foo_label.
16159 (bar): Add bar_label.
16160 * gdb.trace/entry-values.exp: Remove code computing foo's
16161 length and bar's length.
16162 (Dwarf::assemble): Invoke function_range for bar and use
16163 MACRO_AT_func for foo.
16164
16165 2014-11-22 Yao Qi <yao@codesourcery.com>
16166
16167 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
16168 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
16169 Use .Lgcc43_procstart instead of gcc43.
16170
16171 2014-11-21 Joel Brobecker <brobecker@adacore.com>
16172
16173 * gdb.ada/n_arr_bound: New testcase.
16174
16175 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
16176
16177 PR breakpoints/10737
16178 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
16179 test_catch_syscall_multi_arch.
16180 (test_catch_syscall_multi_arch): New function.
16181
16182 2014-11-20 Doug Evans <xdje42@gmail.com>
16183
16184 * gdb.base/maint.exp: Update expected output.
16185
16186 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
16187
16188 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
16189 4-byte instruction on S390.
16190
16191 2014-11-19 Joel Brobecker <brobecker@adacore.com>
16192
16193 * gdb.ada/arr_arr: New testcase.
16194
16195 2014-11-19 Joel Brobecker <brobecker@adacore.com>
16196
16197 * gdb.ada/pkd_arr_elem: New Testcase.
16198
16199 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
16200
16201 * gdb.reverse/break-precsave: Expect completion message for
16202 core file reads.
16203 * gdb.reverse/consecutive-precsave.exp: Likewise.
16204 * gdb.reverse/finish-precsave.exp: Likewise.
16205 * gdb.reverse/i386-precsave.exp: Likewise.
16206 * gdb.reverse/machinestate-precsave.exp: Likewise.
16207 * gdb.reverse/sigall-precsave.exp: Likewise.
16208 * gdb.reverse/solib-precsave.exp: Likewise.
16209 * gdb.reverse/step-precsave.exp: Likewise.
16210 * gdb.reverse/until-precsave.exp: Likewise.
16211 * gdb.reverse/watch-precsave.exp: Likewise.
16212
16213 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16214
16215 * gdb.base/bp-permanent.c: Include unistd.h.
16216 * gdb.python/py-framefilter-mi.c (main): Add return type.
16217 * gdb.python/py-framefilter.c (main): Likewise.
16218 * gdb.trace/actions-changed.c (main): Likewise.
16219
16220 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16221
16222 * gdb.mi/until.c: Add eye-catchers.
16223 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
16224 line numbers.
16225
16226 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16227
16228 * gdb.base/condbreak.exp: Drop references to removed non-prototype
16229 function header variants in break1.c.
16230 * gdb.base/ena-dis-br.exp: Likewise.
16231 * gdb.base/hbreak2.exp: Likewise.
16232 * gdb.reverse/until-precsave.exp: Drop references to removed
16233 non-prototype function header variants in ur1.c.
16234 * gdb.reverse/until-reverse.exp: Likewise.
16235
16236 2014-11-17 Petr Machata <pmachata@redhat.com>
16237
16238 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
16239 ${_cu_offset_size} bytes abbrev offset.
16240
16241 2014-11-15 Doug Evans <xdje42@gmail.com>
16242
16243 PR symtab/17559
16244 * gdb.base/line-symtabs.exp: New file.
16245 * gdb.base/line-symtabs.c: New file.
16246 * gdb.base/line-symtabs.h: New file.
16247
16248 2014-11-14 Yao Qi <yao@codesourcery.com>
16249
16250 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
16251 (func): Add label func_label.
16252 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
16253 Replace low_pc and high_pc with MACRO_AT_range.
16254 Replace name, low_pc and high_pc with MACRO_AT_func.
16255
16256 2014-11-14 Yao Qi <yao@codesourcery.com>
16257
16258 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
16259 Replace name, low_pc and high_pc with MACRO_AT_func.
16260
16261 2014-11-14 Yao Qi <yao@codesourcery.com>
16262
16263 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
16264 produce debug information.
16265 * gdb.dwarf2/implptr-optimized-out.S: Removed.
16266
16267 2014-11-14 Yao Qi <yao@codesourcery.com>
16268
16269 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
16270 object and get function length.
16271 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
16272 with MACRO_AT_func.
16273 (top-level): Replace gdb_compile and clean_restart with
16274 prepare_for_testing.
16275 * gdb.dwarf2/main.c (main): Add label main_label.
16276
16277 2014-11-14 Yao Qi <yao@codesourcery.com>
16278
16279 * lib/dwarf.exp (function_range): New procedure.
16280 (Dwarf::_handle_macro_at_func): New procedure.
16281 (Dwarf::_handle_macro_at_range): New procedure.
16282 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
16283
16284 2014-11-14 Yao Qi <yao@codesourcery.com>
16285
16286 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
16287 (_handle_attribute): New procedure.
16288
16289 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16290
16291 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16292 * gdb.base/call-sc.c (zed): Likewise.
16293 * gdb.base/checkpoint.c (main): Likewise.
16294 * gdb.base/dump.c (main): Likewise.
16295 * gdb.base/gcore.c (main): Likewise.
16296 * gdb.base/huge.c (main): Likewise.
16297 * gdb.base/multi-forks.c (main): Likewise.
16298 * gdb.base/pr10179-a.c (main): Likewise.
16299 * gdb.base/savedregs.c (main): Likewise.
16300 * gdb.base/sigaltstack.c (main): Likewise.
16301 * gdb.base/siginfo.c (main): Likewise.
16302 * gdb.base/structs.c (zed): Likewise.
16303 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
16304 * gdb.mi/mi-syn-frame.c (main): Likewise.
16305 * gdb.mi/until.c (foo, main): Likewise.
16306 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
16307 * gdb.base/solib-weak.c (foo): Declare.
16308 * gdb.base/attach-twice.c: Include stdio.h.
16309 * gdb.base/weaklib1.c: Likewise.
16310 * gdb.base/weaklib2.c: Likewise.
16311 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
16312 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
16313 unistd.h.
16314 * gdb.base/attach-pie-misread.c: Include stdlib.h.
16315 * gdb.mi/mi-exit-code.c: Likewise.
16316 * gdb.base/break-interp-lib.c: Include string.h.
16317 * gdb.base/coremaker.c: Likewise.
16318 * gdb.base/testenv.c: Likewise.
16319 * gdb.python/py-finish-breakpoint.c: Likewise.
16320 * gdb.base/inferior-died.c: Include sys/wait.h.
16321 * gdb.base/fileio.c: Include time.h.
16322 * gdb.base/async-shell.c: Include unistd.h.
16323 * gdb.base/dprintf-non-stop.c: Likewise.
16324 * gdb.base/info-os.c: Likewise.
16325 * gdb.mi/mi-console.c: Likewise.
16326 * gdb.mi/watch-nonstop.c: Likewise.
16327 * gdb.python/py-events.c: Likewise.
16328 * gdb.base/async.c (baz): Move up before its invocation.
16329 * gdb.base/code_elim2.c (my_global_func): Likewise.
16330 * gdb.base/skip-solib-lib.c (multiply): Likewise.
16331 * gdb.base/advance.c (func2): Likewise.
16332
16333 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16334
16335 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
16336 variant.
16337 * gdb.base/annota3.c: Likewise.
16338 * gdb.base/async.c: Likewise.
16339 * gdb.base/average.c: Likewise.
16340 * gdb.base/call-ar-st.c: Likewise.
16341 * gdb.base/call-rt-st.c: Likewise.
16342 * gdb.base/call-sc.c: Likewise.
16343 * gdb.base/call-strs.c: Likewise.
16344 * gdb.base/ending-run.c: Likewise.
16345 * gdb.base/execd-prog.c: Likewise.
16346 * gdb.base/exprs.c: Likewise.
16347 * gdb.base/foll-exec.c: Likewise.
16348 * gdb.base/foll-fork.c: Likewise.
16349 * gdb.base/foll-vfork.c: Likewise.
16350 * gdb.base/funcargs.c: Likewise.
16351 * gdb.base/gcore.c: Likewise.
16352 * gdb.base/jump.c: Likewise.
16353 * gdb.base/langs0.c: Likewise.
16354 * gdb.base/langs1.c: Likewise.
16355 * gdb.base/langs2.c: Likewise.
16356 * gdb.base/mips_pro.c: Likewise.
16357 * gdb.base/nodebug.c: Likewise.
16358 * gdb.base/opaque0.c: Likewise.
16359 * gdb.base/opaque1.c: Likewise.
16360 * gdb.base/recurse.c: Likewise.
16361 * gdb.base/run.c: Likewise.
16362 * gdb.base/scope0.c: Likewise.
16363 * gdb.base/scope1.c: Likewise.
16364 * gdb.base/setshow.c: Likewise.
16365 * gdb.base/setvar.c: Likewise.
16366 * gdb.base/shmain.c: Likewise.
16367 * gdb.base/shr1.c: Likewise.
16368 * gdb.base/shr2.c: Likewise.
16369 * gdb.base/sigall.c: Likewise.
16370 * gdb.base/signals.c: Likewise.
16371 * gdb.base/so-indr-cl.c: Likewise.
16372 * gdb.base/solib2.c: Likewise.
16373 * gdb.base/structs.c: Likewise.
16374 * gdb.base/sum.c: Likewise.
16375 * gdb.base/vforked-prog.c: Likewise.
16376 * gdb.base/watchpoint.c: Likewise.
16377 * gdb.reverse/shr2.c: Likewise.
16378 * gdb.reverse/until-reverse.c: Likewise.
16379 * gdb.reverse/ur1.c: Likewise.
16380 * gdb.reverse/watch-reverse.c: Likewise.
16381
16382 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16383
16384 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
16385 variant.
16386 * gdb.base/sepdebug.exp: Drop references to removed code.
16387
16388 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16389
16390 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
16391 variant. Preserve original line numbering.
16392 * gdb.base/list1.c: Likewise.
16393
16394 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16395
16396 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
16397 variant.
16398 * gdb.base/break1.c: Likewise.
16399 * gdb.base/break.exp: Drop references to removed code.
16400
16401 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16402
16403 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
16404 variant.
16405
16406 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16407
16408 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
16409
16410 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16411
16412 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
16413 logic into perform_all_tests() and invoke it with and without
16414 function header prototypes.
16415 (do_function_calls): Remove conditional XFAIL for PR 5318.
16416 (rerun_and_prepare): Remove duplicate code.
16417 (perform_all_tests): New. Main logic moved here.
16418
16419 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16420
16421 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
16422 code guarded by #ifdef NO_PROTOTYPES.
16423 (t_double_many_args): Likewise.
16424 (DEF_FUNC_MANY_ARGS_1): Likewise.
16425 (DEF_FUNC_VALUES_1): Likewise.
16426 (t_structs_ldc): Renamed from t_structs_fc in conditional code
16427 guarded by #ifdef PROTOTYPES.
16428
16429 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16430
16431 * gdb.mi/mi-console.c: Add eye-catcher.
16432 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
16433 instead of literal line number.
16434
16435 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16436
16437 * gdb.base/shr2.c: Add eye-catcher.
16438 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16439 line number.
16440
16441 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16442
16443 * gdb.base/jump.c: Add eye-catchers.
16444 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16445 numbers.
16446
16447 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16448
16449 * gdb.base/execd-prog.c: Add eye-catchers.
16450 * gdb.base/foll-exec.c: Likewise.
16451 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16452 line numbers.
16453
16454 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16455
16456 * gdb.base/ending-run.c: Add eye-catchers.
16457 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16458 literal line numbers.
16459
16460 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16461
16462 * gdb.base/call-rt-st.c: Add eye-catchers.
16463 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16464 literal line numbers.
16465
16466 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16467
16468 * gdb.base/call-ar-st.c: Add eye-catchers.
16469 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16470 literal line numbers.
16471
16472 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16473
16474 * gdb.base/average.c: Add eye-catchers.
16475 * gdb.base/sum.c: Likewise.
16476 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16477 regexps dynamically.
16478
16479 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16480
16481 * gdb.base/solib1.c: Add eye-catchers.
16482 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16483 literal line numbers.
16484
16485 2014-11-12 Pedro Alves <palves@redhat.com>
16486
16487 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16488 leader has exited.
16489
16490 2014-11-12 Pedro Alves <palves@redhat.com>
16491
16492 * gdb.arch/i386-bp_permanent.c: New file.
16493 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16494 (srcfile): Set to i386-bp_permanent.c.
16495 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16496 that stepi does not execute the 'leave' instruction, instead of
16497 testing it does execute.
16498 * gdb.base/bp-permanent.c: New file.
16499 * gdb.base/bp-permanent.exp: New file.
16500
16501 2014-11-10 Doug Evans <xdje42@gmail.com>
16502
16503 PR symtab/17564
16504 * gdb.base/symtab-search-order.exp: New file.
16505 * gdb.base/symtab-search-order.c: New file.
16506 * gdb.base/symtab-search-order-1.c: New file.
16507 * gdb.base/symtab-search-order-shlib-1.c: New file.
16508
16509 2014-11-07 Pedro Alves <palves@redhat.com>
16510
16511 PR gdb/17511
16512 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16513 i?86-*-linux*.
16514
16515 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16516
16517 PR c++/17494
16518 * gdb.cp/pr17494.cc: New file.
16519 * gdb.cp/pr17494.exp: New file.
16520
16521 2014-11-02 Yao Qi <yao@codesourcery.com>
16522
16523 * gdb.python/python.exp: Get working directory and match the
16524 output of "set extended-prompt \\w " with it.
16525
16526 2014-10-30 Doug Evans <dje@google.com>
16527
16528 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16529 in objfiles.
16530 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16531 in progspaces.
16532
16533 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
16534
16535 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16536 * gdb.base/realname-expand.exp: Likewise.
16537 * gdb.linespec/macro-relative.exp: Likewise.
16538
16539 2014-10-29 Pedro Alves <palves@redhat.com>
16540
16541 PR gdb/17408
16542 * gdb.threads/schedlock.c (some_function): New function.
16543 (call_function): New global.
16544 (MAYBE_CALL_SOME_FUNCTION): New macro.
16545 (thread_function): Call it.
16546 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16547 and use it instead of a global counter. Adjust all callers.
16548 (get_current_thread): Use "find current thread" for test message
16549 here rather than having all callers pass down the same string.
16550 (goto_loop): New procedure, factored out from ...
16551 (my_continue): ... this.
16552 (step_ten_loops): Change parameter from test message to command to
16553 use. Adjust.
16554 (list_count): Delete global.
16555 (check_result): New procedure, factored out from duplicate top
16556 level code.
16557 (continue tests): Wrap in with_test_prefix.
16558 (test_step): New procedure, factored out from duplicate top level
16559 code.
16560 (top level): Test "step" in combination with all scheduler-locking
16561 modes. Test "next" in combination with all scheduler-locking
16562 modes, and in combination with stepping over a function call or
16563 not.
16564 * gdb.threads/next-bp-other-thread.c: New file.
16565 * gdb.threads/next-bp-other-thread.exp: New file.
16566
16567 2014-10-29 Pedro Alves <palves@redhat.com>
16568
16569 PR python/17372
16570 * gdb.python/python.exp: Test a multi-line command that spawns
16571 interactive Python.
16572 * gdb.base/multi-line-starts-subshell.exp: New file.
16573
16574 2014-10-29 Yao Qi <yao@codesourcery.com>
16575
16576 * gdb.base/fileio.exp: Make directories on host.
16577
16578 2014-10-29 Yao Qi <yao@codesourcery.com>
16579
16580 * gdb.base/fileio.c (test_write): Close the file.
16581
16582 2014-10-28 Pedro Alves <palves@redhat.com>
16583
16584 PR gdb/12623
16585 * gdb.base/sigstep.c (no_handler): New global.
16586 (main): If 'no_handler is true, set the signal handlers to
16587 SIG_IGN.
16588 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16589 with_sw_watch and no_handler parameters. Handle them.
16590 (top level) <stepping over handler when stopped at a breakpoint
16591 test>: Add a test axis for testing with a software watchpoint, and
16592 another for testing with the signal handler set to SIG_IGN.
16593 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16594 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16595
16596 2014-10-28 Pedro Alves <palves@redhat.com>
16597
16598 PR gdb/17511
16599 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16600 * gdb.base/sigstep.exp (other_handler_location): New global.
16601 (advance): Support stepping into the signal handler, and running
16602 commands while in the handler.
16603 (in_handler_map): New global.
16604 (top level): In the advance test, add combinations for getting
16605 into the handler with stepping commands, and for running commands
16606 in the handler. Add comment descripting the advancei tests.
16607
16608 2014-10-28 Pedro Alves <palves@redhat.com>
16609
16610 * gdb.base/sigstep.exp: Use build_executable instead of
16611 prepare_for_testing.
16612 (top level): Move code that starts GDB, runs to main and creates a
16613 display to ...
16614 (restart): ... this new procedure.
16615 (top level): Move backtrace from signal handler test to ...
16616 (validate_backtrace): ... this new procedure.
16617 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16618 with_test_prefix. Always restart GDB.
16619 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16620 with_test_prefix. Always restart GDB. No need to delete
16621 breakpoints after the test.
16622 (test_skip_handler): Remove prefix parameter.
16623 (skip_over_handler, breakpoint_to_handler)
16624 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16625 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16626 restart GDB. No need to delete breakpoints after the test.
16627 (top level): Use foreach to call the test procedures with
16628 different commands.
16629
16630 2014-10-28 Pedro Alves <palves@redhat.com>
16631
16632 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16633 instead of GNATS numbers.
16634 * gdb.base/sigbpt.exp: Likewise.
16635 * gdb.base/siginfo.exp: Likewise.
16636 * gdb.base/sigstep.exp: Likewise.
16637
16638 2014-10-27 Pedro Alves <palves@redhat.com>
16639
16640 * gdb.base/sigstep.c (dummy): New global.
16641 (main): Issue a couple writes to the new global.
16642 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16643 procedures.
16644 (skip_over_handler): Use test_skip_handler.
16645 (top level): Call skip_over_handler for stepi and nexti too.
16646 (breakpoint_over_handler): Use test_skip_handler.
16647 (top level): Call breakpoint_over_handler for stepi and nexti too.
16648
16649 2014-10-27 Yao Qi <yao@codesourcery.com>
16650
16651 * gdb.trace/tfile.c (adjust_function_address)
16652 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16653 function descriptor.
16654
16655 2014-10-24 Don Breazeal <donb@codesourcery.com>
16656
16657 * gdb.base/foll-fork.exp (test_follow_fork,
16658 catch_fork_child_follow): Check for updated fork messages emitted
16659 from infrun.c.
16660 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16661 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16662 vfork_and_exec_child_follow_through_step): Check for updated vfork
16663 messages emitted from infrun.c.
16664
16665 2014-10-24 Pedro Alves <palves@redhat.com>
16666
16667 * gdb.base/corefile.exp: Remove references to ultrix.
16668 * gdb.base/interrupt.exp: Likewise.
16669 * gdb.base/whatis.exp: Likewise.
16670 * gdb.gdb/selftest.exp: Likewise.
16671 * gdb.threads/manythreads.exp: Likewise.
16672 * gdb.threads/print-threads.exp: Likewise.
16673 * gdb.threads/pthreads.exp:: Likewise.
16674 * gdb.threads/schedlock.exp: Likewise.
16675
16676 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16677
16678 * gdb.cp/non-trivial-retval.cc: Add a test case.
16679 * gdb.cp/non-trivial-retval.exp: Add a test.
16680
16681 2014-10-20 Yao Qi <yao@codesourcery.com>
16682
16683 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16684 * gdb.python/py-objfile-script-gdb.py: New file.
16685 * gdb.python/py-objfile-script.exp: Update reference to
16686 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16687 of remote_download. Remove the dest file.
16688
16689 2014-10-20 Yao Qi <yao@codesourcery.com>
16690
16691 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16692 * gdb.base/step-line.exp: Likewise.
16693 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16694 * gdb.dwarf2/dw2-basic.exp: Likewise.
16695 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16696 * gdb.dwarf2/dw2-filename.exp: Likewise.
16697 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16698 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16699 * gdb.dwarf2/dw2-producer.exp: Likewise.
16700 * gdb.dwarf2/mac-fileno.exp: Likewise.
16701 * gdb.python/py-frame-args.exp: Likewise.
16702 * gdb.python/py-framefilter.exp: Likewise.
16703 * gdb.python/py-mi.exp: Likewise.
16704 * gdb.python/py-objfile-script.exp: Likewise
16705 * gdb.python/py-pp-integral.exp: Likewise.
16706 * gdb.python/py-pp-re-notag.exp: Likewise.
16707 * gdb.python/py-prettyprint.exp: Likewise.
16708 * gdb.python/py-section-script.exp: Likewise.
16709 * gdb.python/py-typeprint.exp: Likewise.
16710 * gdb.python/py-xmethods.exp: Likewise.
16711 * gdb.stabs/weird.exp: Likewise.
16712 * gdb.xml/tdesc-regs.exp: Likewise.
16713
16714 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16715
16716 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16717 (out_cu): Use addr_len for the size of addresses.
16718 (out_line): Likewise. Size DW_LNE_set_address instruction
16719 according to addr_len.
16720 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16721 (FUNC): Add START_INSNS to definition.
16722
16723 2014-10-18 Yao Qi <yao@codesourcery.com>
16724
16725 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16726 gdb_has_argv0 return true.
16727 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16728 check [target_info exists noargs], check [gdb_has_argv0]
16729 instead.
16730 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16731 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16732 procedures.
16733
16734 2014-10-17 Doug Evans <dje@google.com>
16735
16736 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16737 event.
16738 * gdb.python/py-events.py: Add clear_objfiles event.
16739
16740 2014-10-17 Doug Evans <dje@google.com>
16741
16742 * gdb.python/py-objfile.exp: Test progspace attribute.
16743
16744 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
16745
16746 * gdb.guile/scm-breakpoint.exp: Do not assume any
16747 directory separators when matching source file paths.
16748 * gdb.python/py-breakpoint.exp: Likewise.
16749 * gdb.reverse/break-precsave.exp: Likewise.
16750 * gdb.reverse/break-reverse.exp: Likewise.
16751 * gdb.reverse/consecutive-precsave.exp: Likewise.
16752 * gdb.reverse/finish-precsave.exp: Likewise.
16753 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16754 * gdb.reverse/finish-reverse.exp: Likewise.
16755 * gdb.reverse/i386-precsave.exp: Likewise.
16756 * gdb.reverse/i387-env-reverse.exp: Likewise.
16757 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16758 * gdb.reverse/machinestate-precsave.exp: Likewise.
16759 * gdb.reverse/machinestate.exp: Likewise.
16760 * gdb.reverse/sigall-precsave.exp: Likewise.
16761 * gdb.reverse/solib-precsave.exp: Likewise.
16762 * gdb.reverse/step-precsave.exp: Likewise.
16763 * gdb.reverse/until-precsave.exp: Likewise.
16764 * gdb.reverse/watch-precsave.exp: Likewise.
16765 * gdb.reverse/watch-reverse.exp: Likewise.
16766
16767 2014-10-17 Yao Qi <yao@codesourcery.com>
16768
16769 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16770 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16771
16772 2014-10-17 Pedro Alves <palves@redhat.com>
16773
16774 PR gdb/17471
16775 * gdb.base/bg-execution-repeat.c: New file.
16776 * gdb.base/bg-execution-repeat.exp: New file.
16777
16778 2014-10-17 Pedro Alves <palves@redhat.com>
16779
16780 PR gdb/17300
16781 * gdb.base/continue-all-already-running.c: New file.
16782 * gdb.base/continue-all-already-running.exp: New file.
16783
16784 2014-10-17 Pedro Alves <palves@redhat.com>
16785
16786 PR gdb/17472
16787 * gdb.base/annota-input-while-running.c: New file.
16788 * gdb.base/annota-input-while-running.exp: New file.
16789
16790 2014-10-17 Pedro Alves <palves@redhat.com>
16791
16792 * gdb.base/callfuncs.exp: emove references to osf.
16793 * gdb.base/sigall.exp: Likewise.
16794 * gdb.gdb/selftest.exp: Likewise.
16795 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16796 * gdb.mi/non-stop.c: Likewise.
16797 * gdb.mi/pthreads.c: Likewise.
16798 * gdb.reverse/sigall-precsave.exp: Likewise.
16799 * gdb.reverse/sigall-reverse.exp: Likewise.
16800 * gdb.threads/pthreads.c: Likewise.
16801 * gdb.threads/pthreads.exp: Likewise.
16802
16803 2014-10-17 Yao Qi <yao@codesourcery.com>
16804
16805 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16806 check 'target_info exists noargs'.
16807 (test_command_prompt_position): Likewise.
16808 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16809 Remove "set args".
16810 (progvar_simple_while_test): Likewise.
16811 (progvar_complex_if_while_test): Likewise.
16812 (if_while_breakpoint_command_test): Likewise.
16813 (infrun_breakpoint_command_test): Likewise.
16814 (breakpoint_command_test): Likewise.
16815 (watchpoint_command_test): Likewise.
16816 (bp_deleted_in_command_test): Likewise.
16817 (temporary_breakpoint_commands): Likewise.
16818
16819 2014-10-16 Yao Qi <yao@codesourcery.com>
16820
16821 * gdb.base/remotetimeout.exp: Remove noargs checking.
16822
16823 2014-10-15 Pedro Alves <palves@redhat.com>
16824
16825 PR breakpoints/9649
16826 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16827 * gdb.base/breakpoint-in-ro-region.exp
16828 (probe_target_hardware_step): New procedure.
16829 (top level): Probe hardware stepping and hardware breakpoint
16830 support. Test stepping through a read-only region, with both
16831 "breakpoint auto-hw" on and off and both "always-inserted" on and
16832 off.
16833
16834 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16835
16836 * gdb.dlang/demangle.exp: Update for demangling changes.
16837
16838 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16839
16840 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16841 * gdb.cp/non-trivial-retval.exp: Add new tests.
16842
16843 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16844
16845 PR c++/13403
16846 PR c++/15154
16847 * gdb.cp/non-trivial-retval.cc: New file.
16848 * gdb.cp/non-trivial-retval.exp: New file.
16849
16850 2014-10-15 Yao Qi <yao@codesourcery.com>
16851
16852 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16853 remote host.
16854
16855 2014-10-15 Yao Qi <yao@codesourcery.com>
16856
16857 * gdb.python/py-symbol.exp: Match file base name if host is
16858 remote, otherwise match file name with dir name.
16859 * gdb.python/py-symtab.exp: Likewise.
16860 * gdb.python/python.exp: Likewise.
16861
16862 2014-10-15 Yao Qi <yao@codesourcery.com>
16863
16864 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16865 pattern.
16866 * gdb.python/py-symtab.exp: Likewise.
16867 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16868 locationn.
16869
16870 2014-10-14 Joel Brobecker <brobecker@adacore.com>
16871
16872 * gdb.ada/addr_arith: New testcase.
16873
16874 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16875
16876 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16877 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16878 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16879 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16880
16881 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16882
16883 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16884 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16885 * gdb.arch/stap-eval-lang-ada.exp: New file.
16886
16887 2014-10-14 Yao Qi <yao@codesourcery.com>
16888
16889 * gdb.mi/mi-var-child.c (nothing1): New function.
16890 (nothing2): New function.
16891 (do_children_tests): Set function pointers by nothing1 and
16892 nothing2.
16893 * gdb.mi/mi-var-child.exp: Step over new added statements.
16894 Update test to match the new output.
16895 * gdb.mi/var-cmd.c (nothing1): New function.
16896 (nothing2): New function.
16897 (do_children_tests): Set function pointers by nothing1 and
16898 nothing2.
16899 * gdb.mi/mi-var-display.exp: Update test to match output.
16900 Step to the line specified by $line_dct_nothing.
16901 Increase the number of lines to step.
16902
16903 2014-10-14 Yao Qi <yao@codesourcery.com>
16904
16905 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16906 tests.
16907 * gdb.mi/mi2-var-child.exp: Likewise.
16908
16909 2014-10-13 Doug Evans <dje@google.com>
16910
16911 * gdb.python/py-objfile.exp: Change name of file name test.
16912
16913 2014-10-13 Doug Evans <dje@google.com>
16914
16915 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16916 from the start of the CU.
16917
16918 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16919 Yao Qi <yao@codesourcery.com>
16920
16921 Fix "save breakpoints" for "catch" command.
16922 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16923 Remove -nonewline. Match also the added "main" line.
16924
16925 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16926
16927 Fix "save breakpoints" for "disable $bpnum" command.
16928 * gdb.base/save-bp.c (main): Add label.
16929 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16930
16931 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16932
16933 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16934
16935 2014-10-11 Yao Qi <yao@codesourcery.com>
16936
16937 * gdb.server/server-kill.exp: Execute command
16938 "set remote trace-status-packet on" before "tstatus".
16939
16940 2014-10-11 Yao Qi <yao@codesourcery.com>
16941
16942 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16943 (main): Call getppid.
16944 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16945 and continue to it. Read variable "server_pid".
16946
16947 2014-10-11 Yao Qi <yao@codesourcery.com>
16948
16949 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16950
16951 2014-10-11 Yao Qi <yao@codesourcery.com>
16952
16953 * gdb.threads/thread-find.exp: Don't execute command
16954 "info threads".
16955 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16956 * gdb.threads/linux-dp.exp: Don't check the condition
16957 $threads_created equals to zero.
16958
16959 2014-10-10 Pedro Alves <palves@redhat.com>
16960
16961 * gdb.base/bigcore.exp: Remove references to IRIX.
16962 * gdb.base/funcargs.exp: Likewise.
16963 * gdb.base/interrupt.exp: Likewise.
16964 * gdb.base/mips_pro.exp: Likewise.
16965 * gdb.base/nodebug.exp: Likewise.
16966 * gdb.base/setvar.exp: Likewise.
16967 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16968
16969 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16970 Pedro Alves <palves@redhat.com>
16971
16972 PR symtab/14466
16973 * gdb.base/vdso-warning.c: New file.
16974 * gdb.base/vdso-warning.exp: New file.
16975
16976 2014-10-02 Doug Evans <dje@google.com>
16977
16978 * gdb.base/structs.c (main): Don't run forever.
16979
16980 2014-10-02 Pedro Alves <palves@redhat.com>
16981
16982 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16983 (top level) <stop threads 1, stop threads 2>: Use it.
16984
16985 2014-10-02 Pedro Alves <palves@redhat.com>
16986
16987 * gdb.threads/break-while-running.exp (test): Add new
16988 'update_thread_list' argument. Skip "info threads" if false.
16989 (top level): Add new 'update_thread_list' axis.
16990
16991 2014-10-02 Pedro Alves <palves@redhat.com>
16992
16993 PR breakpoints/17431
16994 * gdb.base/execl-update-breakpoints.c: New file.
16995 * gdb.base/execl-update-breakpoints.exp: New file.
16996
16997 2014-10-01 Pedro Alves <palves@redhat.com>
16998
16999 * gdb.base/breakpoint-in-ro-region.c: New file.
17000 * gdb.base/breakpoint-in-ro-region.exp: New file.
17001
17002 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17003
17004 * gdb.mi/mi-exit-code.exp: New file.
17005 * gdb.mi/mi-exit-code.c: New file.
17006
17007 2014-09-30 Yao Qi <yao@codesourcery.com>
17008
17009 * lib/prelink-support.exp (build_executable_own_libs): Error if
17010 the target isn't native.
17011
17012 2014-09-30 Yao Qi <yao@codesourcery.com>
17013
17014 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17015 false.
17016
17017 2014-09-22 Pedro Alves <palves@redhat.com>
17018
17019 * gdb.threads/break-while-running.exp: New file.
17020 * gdb.threads/break-while-running.c: New file.
17021
17022 2014-09-19 Yao Qi <yao@codesourcery.com>
17023
17024 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17025 Invoke test. Restart GDB with --readnow and invoke test again.
17026
17027 2014-09-19 Yao Qi <yao@codesourcery.com>
17028
17029 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17030 proc set_breakpoint_on_gcd_function. Invoke
17031 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17032 invoke set_breakpoint_on_gcd_function again.
17033
17034 2014-09-18 Doug Evans <dje@google.com>
17035
17036 * gdb.dwarf2/symtab-producer.exp: New file.
17037
17038 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17039
17040 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17041 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17042 * gdb.base/global-var-nested-by-dso.c: Likewise.
17043 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17044
17045 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17046 Pedro Alves <palves@redhat.com>
17047
17048 * gdb.base/watch-bitfields.exp: Pass string other than test file
17049 name to prepare_for_testing.
17050 (watch): New procedure.
17051 (expect_watchpoint): Use with_test_prefix.
17052 (top level): Factor out tests to ...
17053 (test_watch_location, test_regular_watch): ... these new
17054 procedures, and use with_test_prefix and gdb_continue_to_end.
17055
17056 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17057
17058 PR breakpoints/12526
17059 * gdb.base/watch-bitfields.exp: New file.
17060 * gdb.base/watch-bitfields.c: New file.
17061
17062 2014-09-16 Pedro Alves <palves@redhat.com>
17063
17064 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17065 software and hardware addresses, not software address against
17066 itself.
17067
17068 2014-09-16 Pedro Alves <palves@redhat.com>
17069
17070 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17071 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17072
17073 2014-09-16 Pedro Alves <palves@redhat.com>
17074
17075 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17076 files.
17077 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17078 "*-*-vxworks*" throughout.
17079 * gdb.base/break.exp: Likewise.
17080 * gdb.base/default.exp: Likewise.
17081 * gdb.base/scope.exp: Likewise.
17082 * gdb.base/sepdebug.exp: Likewise.
17083 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17084 throughout.
17085 * gdb.base/run.c: Likewise.
17086 * gdb.base/sepdebug.c: Likewise.
17087 * gdb.hp/gdb.aCC/run.c: Likewise.
17088 * gdb.reverse/until-reverse.c: Likewise.
17089 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17090
17091 2014-09-16 Yao Qi <yao@codesourcery.com>
17092
17093 * boards/local-remote-host-native.exp: New file.
17094
17095 2014-09-14 Doug Evans <xdje42@gmail.com>
17096
17097 * gdb.threads/queue-signal.c (thread_count): New variable.
17098 (thread_count_mutex, thread_count_condvar): New variables.
17099 (incr_thread_count, wait_all_threads_running): New functions.
17100 (main): Wait for all threads to be in their thread functions.
17101
17102 2014-09-13 Doug Evans <xdje42@gmail.com>
17103
17104 * gdb.threads/queue-signal.c: New file.
17105 * gdb.threads/queue-signal.exp: New file.
17106
17107 2014-09-13 Doug Evans <xdje42@gmail.com>
17108
17109 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17110 be consistent with what default_gdb_init uses.
17111 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17112 the plain text of the prompt. Add some logging printfs.
17113 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17114
17115 2014-09-12 Pedro Alves <palves@redhat.com>
17116
17117 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17118 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17119 * gdb.arch/i386-size-overlap.exp: Likewise.
17120 * gdb.arch/i386-size.exp: Likewise.
17121 * gdb.arch/i386-unwind.exp: Likewise.
17122 * gdb.base/a2-run.exp: Likewise.
17123 * gdb.base/break.exp: Likewise.
17124 * gdb.base/charset.exp: Likewise.
17125 * gdb.base/chng-syms.exp: Likewise.
17126 * gdb.base/commands.exp: Likewise.
17127 * gdb.base/dbx.exp: Likewise.
17128 * gdb.base/find.exp: Likewise.
17129 * gdb.base/funcargs.exp: Likewise.
17130 * gdb.base/jit-simple.exp: Likewise.
17131 * gdb.base/reread.exp: Likewise.
17132 * gdb.base/sepdebug.exp: Likewise.
17133 * gdb.base/step-bt.exp: Likewise.
17134 * gdb.cp/mb-inline.exp: Likewise.
17135 * gdb.cp/mb-templates.exp: Likewise.
17136 * gdb.objc/basicclass.exp: Likewise.
17137 * gdb.threads/killed.exp: Likewise.
17138
17139 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17140
17141 PR tdep/17379
17142 * gdb.arch/powerpc-stackless.S: New file.
17143 * gdb.arch/powerpc-stackless.exp: New file.
17144
17145 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17146
17147 * gdb.base/attach.c: Include unistd.h.
17148 (main): Call alarm. Add label postloop.
17149 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
17150 gdb_breakpoint, gdb_continue_to_breakpoint.
17151 (test_command_line_attach_run): Kill ${testpid} in one exit path.
17152
17153 2014-09-11 Pedro Alves <palves@redhat.com>
17154
17155 PR gdb/17347
17156 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
17157 * gdb.base/attach.exp (test_command_line_attach_run): New
17158 procedure.
17159 (top level): Call it.
17160
17161 2014-09-11 Pedro Alves <palves@redhat.com>
17162
17163 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
17164 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
17165 (do_command_attach_tests): Use spawn_wait_for_attach.
17166 * gdb.base/solib-overlap.exp: Likewise.
17167 * gdb.multi/multi-attach.exp: Likewise.
17168 * gdb.python/py-prompt.exp: Likewise.
17169 * gdb.python/py-sync-interp.exp: Likewise.
17170 * gdb.server/ext-attach.exp: Likewise.
17171
17172 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
17173
17174 * gdb.fortran/array-element.exp: Remove unexpected "continue"
17175 command in testcase. Simplify testcase.
17176
17177 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17178
17179 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
17180
17181 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17182
17183 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
17184
17185 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17186
17187 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
17188
17189 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17190
17191 * gdb.dwarf2/dynarr-ptr.c: New file.
17192 * gdb.dwarf2/dynarr-ptr.exp: New file.
17193
17194 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17195
17196 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
17197 of 30 rather than hardcoding 120 for a slow test case. Take the
17198 `gdb,timeout' target setting into account for this calculation.
17199 Don't extend the timeout for the test cases that don't need it.
17200
17201 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17202
17203 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
17204 a factor of 2 for a slow test case. Take the `gdb,timeout'
17205 target setting into account for this calculation.
17206 * gdb.reverse/until-precsave.exp: Increase the timeout by
17207 a factor of 15 and 3 respectively rather than adding 120
17208 for a pair of slow test cases. Take the `gdb,timeout'
17209 target setting into account for this calculation.
17210
17211 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17212
17213 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
17214 timeout, don't pass one down to gdb_expect.
17215 (gdb_expect): Rework timeout selection.
17216
17217 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17218
17219 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
17220 exception on timeout.
17221 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
17222 (gdbserver_start_extended): Catch any `gdbserver_start' error
17223 exceptions.
17224 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
17225 * lib/mi-support.exp (mi_gdb_target_load): Catch any
17226 `gdbserver_gdb_load' error exceptions.
17227
17228 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17229
17230 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
17231 120 on waiting for the TCP socket to open.
17232
17233 2014-09-09 Doug Evans <xdje42@gmail.com>
17234
17235 * gdb.base/default.exp (show_conv_list): Add _caller_is,
17236 _caller_matches, _any_caller_is, _any_caller_matches.
17237
17238 2014-09-09 Doug Evans <xdje42@gmail.com>
17239
17240 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
17241
17242 2014-09-09 Yao Qi <yao@codesourcery.com>
17243
17244 * gdb.mi/mi-var-display.exp: Set print symbol off.
17245
17246 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
17247
17248 PR gdb/17035
17249 * gdb.base/commands.exp: Add tests to verify user-defined
17250 commands with empty bodies.
17251 * gdb.python/py-cmd.exp: Test that we don't show user-defined
17252 python commands in `show user command`.
17253 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
17254 scheme commands in `show user command`.
17255
17256 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17257
17258 PR python/17355
17259 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
17260 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
17261 * gdb.python/py-framefilter-invalidarg.exp: New file.
17262 * gdb.python/py-framefilter-invalidarg.py: New file.
17263
17264 2014-09-06 Doug Evans <xdje42@gmail.com>
17265
17266 PR 15276
17267 * gdb.python/py-caller-is.c: New file.
17268 * gdb.python/py-caller-is.exp: New file.
17269
17270 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
17271
17272 PR gdb/17235
17273 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
17274 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
17275
17276 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
17277
17278 PR fortran/17237
17279 * gdb.fortran/print-formatted.exp: New file.
17280 * gdb.fortran/print-formatted.f90: Likewise.
17281
17282 2014-09-03 Sasha Smundak <asmundak@google.com>
17283
17284 * gdb.python/py-frame.exp: Test Frame.read_register.
17285
17286 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
17287
17288 PR python/16699
17289 * gdb.python/py-completion.exp: New file.
17290 * gdb.python/py-completion.py: Likewise.
17291
17292 2014-08-28 Doug Evans <dje@google.com>
17293
17294 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
17295 eax,etc. are live with values set by gdb and thus the compiler can't
17296 use them.
17297 * gdb.arch/i386-pseudo.c (main): Ditto.
17298
17299 2014-08-27 Doug Evans <dje@google.com>
17300
17301 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
17302
17303 2014-08-25 Doug Evans <dje@google.com>
17304
17305 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
17306 (main): Ditto.
17307
17308 2014-08-25 Doug Evans <dje@google.com>
17309
17310 * gdb.threads/thread-execl.exp: #include <stdio.h>.
17311
17312 2014-08-24 Yao Qi <yao@codesourcery.com>
17313
17314 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
17315 symbol off.
17316 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
17317
17318 2014-08-22 Doug Evans <dje@google.com>
17319
17320 PR 17276
17321 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
17322 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
17323 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
17324
17325 2014-08-22 Yao Qi <yao@codesourcery.com>
17326
17327 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
17328 * gdb.python/py-finish-breakpoint2.exp: Likewise.
17329 * gdb.python/python.exp: Likewise. Use .py file on the host
17330 instead of the build.
17331
17332 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17333
17334 * gdb.threads/gcore-stale-thread.c: New file.
17335 * gdb.threads/gcore-stale-thread.exp: New file.
17336
17337 2014-08-21 Pedro Alves <palves@redhat.com>
17338
17339 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
17340 * gdb.base/gcore-relro-pie.exp: Likewise.
17341 * gdb.base/gcore-relro.exp: Likewise.
17342 * gdb.base/gcore.exp: Likewise.
17343 * gdb.base/print-symbol-loading.exp: Likewise.
17344 * gdb.threads/gcore-thread.exp: Likewise.
17345 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
17346
17347 2014-08-20 Pedro Alves <palves@redhat.com>
17348 Jan Kratochvil <jan.kratochvil@redhat.com>
17349
17350 * Makefile.in (EXTRA_RULES, CC): New variables, get from
17351 configure.
17352 (EXPECT): Handle READ1 being set.
17353 (all): Depend on EXTRA_RULES.
17354 (check-read1, expect-read1, read1.so, read1): New rules.
17355 * README (Testsuite Parameters): Document the READ1 make variable.
17356 (Race detection): New section.
17357 * configure: Regenerate.
17358 * configure.ac: If build==host==target, and running under a
17359 GNU/glibc system, add read1 to the extra Makefile rules.
17360 (EXTRA_RULES): AC_SUBST it.
17361 * lib/read1.c: New file.
17362
17363 2014-08-20 Joel Brobecker <brobecker@adacore.com>
17364
17365 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
17366 the handling of variables declared as a typedef to an array
17367 which a DW_AT_data_location attribute.
17368
17369 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
17370 Pedro Alves <palves@redhat.com>
17371
17372 PR symtab/14604
17373 PR symtab/14605
17374 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
17375 gdb_test.
17376
17377 2014-08-19 Pedro Alves <palves@redhat.com>
17378
17379 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
17380
17381 2014-08-19 Yao Qi <yao@codesourcery.com>
17382
17383 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
17384 right line.
17385
17386 2014-08-18 David Blaikie <dblaikie@gmail.com>
17387
17388 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
17389
17390 2014-08-18 Joel Brobecker <brobecker@adacore.com>
17391
17392 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
17393 attribute in array range.
17394
17395 2014-08-18 Joel Brobecker <brobecker@adacore.com>
17396
17397 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
17398
17399 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17400
17401 PR c++/17132
17402 * gdb.cp/pr17132.cc: New file.
17403 * gdb.cp/pr17132.exp: New file.
17404
17405 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17406
17407 * gdb.python/py-xmethods.py (A_getarrayind)
17408 (E_method_char_worker.__call__, E_method_int_worker.__call__):
17409 Use 'print' with function call syntax.
17410 (E_method_matcher.match): Fix tab vs space indentation mixup.
17411
17412 2014-08-15 Yao Qi <yao@codesourcery.com>
17413
17414 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
17415 false.
17416
17417 2014-08-15 Yao Qi <yao@codesourcery.com>
17418
17419 * gdb.cp/casts.exp: Set print symbol off.
17420 * gdb.cp/class2.exp: Likewise.
17421 * gdb.cp/overload.exp: Likewise.
17422 * gdb.cp/templates.exp: Likewise.
17423
17424 2014-08-11 Doug Evans <dje@google.com>
17425
17426 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
17427 (test_load_shlib): Update.
17428
17429 2014-08-09 Yao Qi <yao@codesourcery.com>
17430
17431 * gdb.base/display.exp: Invoke is_address_zero_readable.
17432 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
17433 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17434 * gdb.base/hbreak-unmapped.exp: Return if
17435 is_address_zero_readable returns true.
17436 * gdb.base/signest.exp: Likewise.
17437 * gdb.base/signull.exp: Likewise.
17438 * gdb.base/sigbpt.exp: Likewise.
17439 * gdb.guile/scm-disasm.exp: Do the test if
17440 is_address_zero_readable returns false.
17441 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17442 * gdb.python/py-arch.exp: Likewise.
17443 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17444 * lib/gdb.exp (is_address_zero_readable): New proc.
17445
17446 2014-08-09 Yao Qi <yao@codesourcery.com>
17447
17448 PR testsuite/13443
17449 * gdb.mi/mi-var-display.exp: Make test messages unique.
17450
17451 2014-08-04 Tom Tromey <tromey@redhat.com>
17452
17453 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17454 target 0".
17455
17456 2014-08-04 Tom Tromey <tromey@redhat.com>
17457
17458 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17459 "target_resume".
17460
17461 2014-08-01 Joel Brobecker <brobecker@adacore.com>
17462
17463 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17464 inner_vla_struct_object_size.
17465 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17466 as xfail.
17467
17468 2014-07-30 Pedro Alves <palves@redhat.com>
17469
17470 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17471 comment.
17472
17473 2014-07-29 Yao Qi <yao@codesourcery.com>
17474
17475 PR gdb/17206
17476 * gdb.base/until-nodebug.exp: New.
17477
17478 2014-07-28 Doug Evans <xdje42@gmail.com>
17479
17480 PR guile/17203
17481 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17482 previously existing parameter, and previously ambiguously spelled
17483 parameter.
17484
17485 2014-07-28 Will Newton <will.newton@linaro.org>
17486
17487 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17488
17489 2014-07-26 Ludovic Courtès <ludo@gnu.org>
17490 Doug Evans <xdje42@gmail.com>
17491
17492 PR guile/17146
17493 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17494
17495 2014-07-25 Pedro Alves <palves@redhat.com>
17496
17497 * gdb.threads/signal-command-handle-nopass.c: New file.
17498 * gdb.threads/signal-command-handle-nopass.exp: New file.
17499 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17500 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17501 * gdb.threads/signal-delivered-right-thread.c: New file.
17502 * gdb.threads/signal-delivered-right-thread.exp: New file.
17503
17504 2014-07-25 Pedro Alves <palves@redhat.com>
17505
17506 * gdb.base/double-prompt-target-event-error.exp
17507 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17508 match.
17509 (cancel_pagination_in_target_event): Rework double prompt
17510 detection.
17511 * gdb.base/paginate-after-ctrl-c-running.exp
17512 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17513 <return>' match.
17514 * gdb.base/paginate-bg-execution.exp
17515 (test_bg_execution_pagination_return)
17516 (test_bg_execution_pagination_cancel): Remove '-notransfer
17517 <return>' matches.
17518 * gdb.base/paginate-execution-startup.exp
17519 (test_fg_execution_pagination_return)
17520 (test_fg_execution_pagination_cancel): Remove '-notransfer
17521 <return>' matches.
17522 * gdb.base/paginate-inferior-exit.exp
17523 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17524 match.
17525 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17526 * lib/gdb.exp (pagination_prompt): Run text through
17527 string_to_regexp.
17528 (gdb_test_multiple): Match $pagination_prompt instead of
17529 "<return>".
17530 (string_to_regexp): Move to lib/gdb-utils.exp.
17531
17532 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17533
17534 * gdb.arch/amd64-entry-value-paramref.S: New file.
17535 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17536 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17537 * gdb.arch/amd64-optimout-repeat.S: New file.
17538 * gdb.arch/amd64-optimout-repeat.c: New file.
17539 * gdb.arch/amd64-optimout-repeat.exp: New file.
17540
17541 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17542
17543 PR gdb/17170
17544 * gdb.base/statistics.exp: New file.
17545
17546 2014-07-17 Doug Evans <dje@google.com>
17547
17548 PR gdb/17170
17549 * gdb.base/maint.exp: Update testing of per-command stats.
17550
17551 2014-07-16 Pedro Alves <palves@redhat.com>
17552
17553 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17554 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17555 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17556 (tfile_write_buf): New functions.
17557 (add_memory_block): Rewrite using the above.
17558 (adjust_function_address): New function.
17559 (FUNCTION_ADDRESS): New macro.
17560 (write_basic_trace_file): Remove short_x local, and use
17561 tfile_write_16. Change type of func_addr local to unsigned long
17562 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17563 here. Cast argument of add_memory_block to char pointer.
17564 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17565 (main): Remove parameters.
17566 * gdb.trace/tfile.exp: Remove nowarnings.
17567
17568 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17569
17570 * gdb.base/debug-expr.exp: Test string evaluation with
17571 "debug expression" on.
17572
17573 2014-07-15 Pedro Alves <palves@redhat.com>
17574
17575 * gdb.base/reread.exp: Use clean_restart.
17576
17577 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17578
17579 * gdb.arch/avr-flash-qualifer.c: New.
17580 * gdb.arch/avr-flash-qualifer.exp: New.
17581
17582 2014-07-14 Pedro Alves <palves@redhat.com>
17583
17584 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17585 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17586
17587 2014-07-14 Pedro Alves <palves@redhat.com>
17588
17589 * gdb.base/double-prompt-target-event-error.c: New file.
17590 * gdb.base/double-prompt-target-event-error.exp: New file.
17591
17592 2014-07-14 Pedro Alves <palves@redhat.com>
17593
17594 PR gdb/17072
17595 * gdb.base/paginate-inferior-exit.c: New file.
17596 * gdb.base/paginate-inferior-exit.exp: New file.
17597
17598 2014-07-14 Pedro Alves <palves@redhat.com>
17599
17600 PR gdb/17072
17601 * gdb.base/paginate-bg-execution.c: New file.
17602 * gdb.base/paginate-bg-execution.exp: New file.
17603
17604 2014-07-14 Pedro Alves <palves@redhat.com>
17605
17606 PR gdb/17072
17607 * gdb.base/paginate-execution-startup.c: New file.
17608 * gdb.base/paginate-execution-startup.exp: New file.
17609 * lib/gdb.exp (pagination_prompt): New global.
17610 (default_gdb_spawn): New procedure, factored out from
17611 default_gdb_spawn.
17612 (default_gdb_start): Adjust to call default_gdb_spawn.
17613 (gdb_spawn): New procedure.
17614
17615 2014-07-14 Pedro Alves <palves@redhat.com>
17616
17617 * lib/gdb.exp (gdb_assert): New procedure.
17618 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17619
17620 2014-07-14 Pedro Alves <palves@redhat.com>
17621
17622 * gdb.base/execution-termios.c: New file.
17623 * gdb.base/execution-termios.exp: New file.
17624
17625 2014-07-14 Tom Tromey <tromey@redhat.com>
17626
17627 * gdb.cp/vla-cxx.cc: New file.
17628 * gdb.cp/vla-cxx.exp: New file.
17629
17630 2014-07-14 Tom Tromey <tromey@redhat.com>
17631
17632 * gdb.reverse/rerun-prec.c: New file.
17633 * gdb.reverse/rerun-prec.exp: New file.
17634
17635 2014-07-12 Maciej W. Rozycki <macro@mips.com>
17636 Maciej W. Rozycki <macro@codesourcery.com>
17637
17638 * lib/gdb-utils.exp: New file.
17639 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17640 inline `gdb_init_command' processing.
17641 (gdb_start_cmd): Likewise.
17642 * lib/mi-support.exp (mi_run_cmd): Likewise.
17643 * README: Document `gdb_init_command' and `gdb_init_commands'.
17644
17645 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17646
17647 Fix false FAIL running under a very long directory name.
17648 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17649 and "set print elements 10000". Twice.
17650
17651 2014-07-11 Yao Qi <yao@codesourcery.com>
17652
17653 * gdb.base/exprs.exp: "set print symbol off".
17654
17655 2014-07-11 Pedro Alves <palves@redhat.com>
17656
17657 * gdb.threads/kill.c: New file.
17658 * gdb.threads/kill.exp: New file.
17659
17660 2014-07-10 Yao Qi <yao@codesourcery.com>
17661
17662 * gdb.trace/tfile.c (write_basic_trace_file)
17663 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17664 address written to trace file.
17665
17666 2014-07-09 Pedro Alves <palves@redhat.com>
17667
17668 * gdb.base/attach-wait-input.exp: New file.
17669 * gdb.base/attach-wait-input.c: New file.
17670
17671 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17672
17673 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17674 setting up test structures.
17675 (main): Call new test function.
17676 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17677 test function, continue into test function and walk test
17678 structures.
17679
17680 2014-07-02 Yao Qi <yao@codesourcery.com>
17681
17682 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17683 'bar_start' at the beginning of functions 'foo' and 'bar'
17684 respectively.
17685 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17686 instead of 'foo' and 'bar'.
17687
17688 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17689
17690 * gdb.btrace/segv.exp: New.
17691 * gdb.btrace/segv.c: New.
17692
17693 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
17694
17695 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17696 instruction.
17697
17698 2014-06-30 Mark Wielaard <mjw@redhat.com>
17699
17700 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17701 vulture, vilify, villar): New volatile array constants.
17702 (vindictive, vegetation): New const volatile array constants.
17703 * gdb.base/volatile.exp: Test volatile and const volatile array
17704 types.
17705
17706 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17707
17708 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17709 target lacks support for awatch, rwatch, or hbreak.
17710
17711 2014-06-27 Yao Qi <yao@codesourcery.com>
17712
17713 * gdb.multi/dummy-frame-restore.exp: New.
17714 * gdb.multi/dummy-frame-restore.c: New.
17715
17716 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17717
17718 * gdb.btrace/gcore.exp: New.
17719
17720 2014-06-23 Pedro Alves <palves@redhat.com>
17721
17722 * gdb.base/watchpoint-reuse-slot.c: New file.
17723 * gdb.base/watchpoint-reuse-slot.exp: New file.
17724
17725 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17726
17727 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17728 progspace's filename in 'info', 'enable' and 'disable' command
17729 tests.
17730
17731 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17732
17733 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17734 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17735 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17736
17737 2014-06-20 Gary Benson <gbenson@redhat.com>
17738
17739 * gdb.arch/i386-avx.exp: Fix include file location.
17740 * gdb.arch/i386-sse.exp: Likewise.
17741
17742 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17743
17744 * gdb.dlang/expression.exp: New file.
17745
17746 2014-06-19 Pedro Alves <palves@redhat.com>
17747
17748 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17749 out from ...
17750 (top level): ... here. Iterate running tests under different
17751 scheduler-locking settings.
17752
17753 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
17754
17755 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17756 to DW_FORM_addr and use non-zero addresses.
17757
17758 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17759
17760 PR gdb/17017
17761 * gdb.python/py-xmethods.cc: Add global function call counters and
17762 increment them in their respective functions. Remove "cout"
17763 statements.
17764 * gdb.python/py-xmethods.exp: Make tests check the global function
17765 call counters instead of depending on inferior IO.
17766
17767 2014-06-18 Don Breazeal <donb@codesourcery.com>
17768
17769 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17770 Deleted procedure.
17771 (explicit_fork_parent_follow): Deleted procedure.
17772 (explicit_fork_child_follow): Deleted procedure.
17773 (test_follow_fork): New procedure.
17774 (do_fork_tests): Replace calls to deleted procedures with
17775 calls to test_follow_fork and reset GDB for subsequent
17776 procedure calls.
17777
17778 2014-06-17 Yao Qi <yao@codesourcery.com>
17779
17780 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17781 CP1252.
17782
17783 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
17784
17785 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17786 Initialize ptr and S explicitly.
17787 (skip_type_update_when_not_use_rtti_test): Likewise.
17788
17789 2014-06-16 Keith Seitz <keiths@redhat.com>
17790
17791 PR mi/15863
17792 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17793 the inferior is started.
17794
17795 2014-06-16 Pedro Alves <palves@redhat.com>
17796
17797 * gdb.base/break-main-file-remove-fail.c: New file.
17798 * gdb.base/break-main-file-remove-fail.exp: New file.
17799 * gdb.base/break-unload-file.exp: Use build_executable instead of
17800 prepare_for_testing.
17801 (test_break): New parameter "initial_load". Handle it.
17802 (top level): Add initial_load cmdline/file axis.
17803
17804 2014-06-12 Tom Tromey <tromey@redhat.com>
17805
17806 * gdb.base/completion.exp: Don't use directory name in test.
17807
17808 2014-06-09 Gary Benson <gbenson@redhat.com>
17809
17810 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17811 separate the always-available ANSI-standard signals from the
17812 signals that require checking.
17813 (main): Likewise.
17814 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17815 Likewise.
17816 (main): Likewise.
17817
17818 2014-06-07 Keith Seitz <keiths@redhat.com>
17819
17820 Revert:
17821 PR c++/16253
17822 * gdb.cp/var-tag.cc: New file.
17823 * gdb.cp/var-tag.exp: New file.
17824 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17825 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17826 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17827 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17828
17829 2014-06-06 Doug Evans <xdje42@gmail.com>
17830
17831 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17832
17833 2014-06-06 Pedro Alves <palves@redhat.com>
17834
17835 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17836 in target debug output instead of looking at RSP packets,
17837 disabling the test on any target that uses hardware stepping.
17838 Update comments.
17839
17840 2014-06-06 Pedro Alves <palves@redhat.com>
17841
17842 * gdb.base/break-unload-file.exp: Fix typo.
17843
17844 2014-06-06 Yao Qi <yao@codesourcery.com>
17845
17846 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17847 from "jit_function" to "^jit_function".
17848
17849 2014-06-06 Yao Qi <yao@codesourcery.com>
17850
17851 * gdb.base/async.c (foo): Add one statement.
17852 * gdb.base/async.exp: Get the next instruction address and
17853 match the output of "nexti" by instruction address. Match
17854 the hex address in the output of "finish".
17855
17856 2014-06-06 Gary Benson <gbenson@redhat.com>
17857
17858 * gdb.base/call-signals.c: Remove preprocessor conditionals
17859 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17860 SIGSEGV and SIGTERM.
17861 * gdb.base/sigall.c: Likewise.
17862 * gdb.base/unwindonsignal.c: Likewise.
17863 * gdb.reverse/sigall-reverse.c: Likewise.
17864
17865 2014-06-06 Yao Qi <yao@codesourcery.com>
17866
17867 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17868 readable, skip the test.
17869
17870 2014-06-06 Yao Qi <yao@codesourcery.com>
17871
17872 * gdb.threads/staticthreads.c (thread_function): Move the line
17873 setting breakpoint on forward.
17874 * gdb.threads/staticthreads.exp: Update comments.
17875
17876 2014-06-05 Ludovic Courtès <ludo@gnu.org>
17877
17878 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17879 "history-append! type error".
17880
17881 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17882
17883 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17884 erroneous dprintf expected input.
17885
17886 2014-06-04 Doug Evans <xdje42@gmail.com>
17887
17888 * gdb.guile/scm-generics.exp: Delete.
17889
17890 2014-06-04 Doug Evans <xdje42@gmail.com>
17891
17892 * gdb.guile/scm-breakpoint.exp: Update.
17893 Add tests for breakpoint registration.
17894
17895 2014-06-04 Tom Tromey <tromey@redhat.com>
17896
17897 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17898 VLA-in-union.
17899 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17900 inner_vla_struct, vla_union types. Initialize objects of those
17901 types and compute their sizes.
17902
17903 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17904 Hui Zhu <hui@codesourcery.com>
17905
17906 * gdb.base/fileio.exp: Add test for shell not available as well as
17907 available.
17908 * gdb.base/fileio.c (test_system): Check for shell twice.
17909
17910 2014-06-04 Yao Qi <yao@codesourcery.com>
17911
17912 * gdb.base/auto-connect-native-target.exp: Remove redundant
17913 space from the regexp pattern.
17914
17915 2014-06-04 Yao Qi <yao@codesourcery.com>
17916
17917 * gdb.base/default.exp: Replace "child" with "native" in
17918 regexp pattern.
17919
17920 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17921
17922 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17923 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17924 * gdb.python/py-xmethods.py: Python script supporting the
17925 new testcase and tests.
17926
17927 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17928 Pedro Alves <palves@redhat.com>
17929
17930 PR breakpoints/17000
17931 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17932 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17933
17934 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17935
17936 * gdb.base/subst.exp: Add tests to verify partial path matching
17937 output.
17938
17939 2014-06-03 Pedro Alves <palves@redhat.com>
17940
17941 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17942 target that doesn't use software single-stepping.
17943
17944 2014-06-03 Pedro Alves <palves@redhat.com>
17945
17946 PR breakpoints/17000
17947 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17948 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17949
17950 2014-06-02 Doug Evans <xdje42@gmail.com>
17951
17952 * gdb.guile/scm-parameter.exp: New file.
17953
17954 2014-06-02 Doug Evans <xdje42@gmail.com>
17955
17956 * gdb.guile/scm-cmd.c: New file.
17957 * gdb.guile/scm-cmd.exp: New file.
17958
17959 2014-06-02 Doug Evans <xdje42@gmail.com>
17960
17961 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17962 pretty-printer lookup.
17963 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17964 (make-pp_s-printer): Call it.
17965 (make-pretty-printer-from-dict): New function.
17966 (lookup-pretty-printer-maker-from-dict): New function.
17967 (*pretty-printer*): Simplify.
17968 (make-objfile-pp_s-printer): New function.
17969 (install-objfile-pretty-printers!): New function.
17970 (make-progspace-pp_s-printer): New function.
17971 (install-progspace-pretty-printers!): New function.
17972 * gdb.guile/scm-progspace.c: New file.
17973 * gdb.guile/scm-progspace.exp: New file.
17974
17975 2014-06-02 Pedro Alves <palves@redhat.com>
17976
17977 * gdb.base/dprintf-bp-same-addr.c: New file.
17978 * gdb.base/dprintf-bp-same-addr.exp: New file.
17979
17980 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17981
17982 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17983 * gdb.arch/powerpc-power.s: Likewise.
17984
17985 2014-06-02 Joel Brobecker <brobecker@adacore.com>
17986
17987 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17988
17989 2014-06-01 Yao Qi <yao@codesourcery.com>
17990
17991 * gdb.base/watchpoint.exp (test_watch_location): Check null
17992 pointer can be dereferenced. If not, do the test, otherwise
17993 skip it.
17994
17995 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17996
17997 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17998 results.
17999 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18000
18001 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18002
18003 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18004 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18005 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18006 * gdb.arch/amd64-invalid-stack-top.c: New file.
18007 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18008
18009 2014-05-30 Pedro Alves <palves@redhat.com>
18010
18011 PR breakpoints/17000
18012 * gdb.base/sss-bp-on-user-bp.c: New file.
18013 * gdb.base/sss-bp-on-user-bp.exp: New file.
18014
18015 2014-05-30 David Blaikie <dblaikie@gmail.com>
18016
18017 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18018 gnu_inline semantics via attribute.
18019 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18020 source explicitly specifies the required semantics.
18021
18022 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18023
18024 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18025
18026 2014-05-29 Pedro Alves <palves@redhat.com>
18027 Tom Tromey <tromey@redhat.com>
18028
18029 * gdb.base/async-shell.exp: Don't enable target-async.
18030 * gdb.base/async.exp
18031 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18032 parameter. Adjust.
18033 (top level): Don't test with "target-async".
18034 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18035 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18036 * gdb.base/inferior-died.exp: Don't enable target-async.
18037 * gdb.base/interrupt-noterm.exp: Likewise.
18038 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18039 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18040 * gdb.mi/mi-nonstop.exp: Likewise.
18041 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18042 * gdb.mi/mi-nsintrall.exp: Likewise.
18043 * gdb.mi/mi-nsmoribund.exp: Likewise.
18044 * gdb.mi/mi-nsthrexec.exp: Likewise.
18045 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18046 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18047 * gdb.python/py-evsignal.exp: Don't enable target-async.
18048 * gdb.python/py-evthreads.exp: Likewise.
18049 * gdb.python/py-prompt.exp: Likewise.
18050 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18051 * gdb.server/solib-list.exp: Don't enable target-async.
18052 * gdb.threads/thread-specific-bp.exp: Likewise.
18053 * lib/mi-support.exp: Adjust to use mi-async.
18054
18055 2014-05-29 Pedro Alves <palves@redhat.com>
18056
18057 PR gdb/13860
18058 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18059 reason, even in sync mode.
18060
18061 2014-05-29 Pedro Alves <palves@redhat.com>
18062 Hui Zhu <hui@codesourcery.com>
18063
18064 PR PR15693
18065 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18066 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18067 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18068 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18069
18070 2014-05-28 Joel Brobecker <brobecker@adacore.com>
18071
18072 * config/monitor.exp (gdb_target_monitor): Replace use of
18073 "set remotebaud" by "set serial baud".
18074
18075 2014-05-26 Andy Wingo <wingo@igalia.com>
18076
18077 * gdb.guile/scm-breakpoint.exp:
18078 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18079 properties instead of gdb-object-properties.
18080
18081 2014-05-26 Yao Qi <yao@codesourcery.com>
18082
18083 * gdb.server/no-thread-db.exp: Specify source file name
18084 explicitly when setting a breakpoint.
18085
18086 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18087
18088 * gdb.btrace/vdso.c: New.
18089 * gdb.btrace/vdso.exp: New.
18090
18091 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18092
18093 * gdb.base/gcore.exp (capture_command_output): Move ...
18094 * lib/gdb.exp (capture_command_output): ... here.
18095
18096 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18097
18098 * gdb.btrace/data.exp: Test memory access during btrace replay.
18099
18100 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18101
18102 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18103
18104 2014-05-21 Pedro Alves <palves@redhat.com>
18105
18106 PR gdb/13860
18107 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18108 (top level): Test that output related to execution commands is
18109 sent to the console with CLI commands, but not with MI commands.
18110 Test that breakpoint events are always mirrored to the console.
18111 Also expect the new source line to be output after a "next" in
18112 async mode too. Make it a pass/fail test.
18113 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18114 output.
18115 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18116
18117 2014-05-21 Pedro Alves <palves@redhat.com>
18118
18119 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18120 Use them to test variations of "list" after reaching a breakpoint.
18121 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18122 Test "list" with listsize 10 after reaching a breakpoint.
18123 * gdb.python/python.exp (decode_line current location line
18124 number): Adjust expected line number.
18125
18126 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18127
18128 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18129 behavior for $args, pass it directly to "run".
18130
18131 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18132
18133 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
18134 30000 to 65536.
18135
18136 2014-05-21 Pedro Alves <palves@redhat.com>
18137
18138 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
18139 auto-connect-native-target off".
18140 * gdb.base/auto-connect-native-target.c: New file.
18141 * gdb.base/auto-connect-native-target.exp: New file.
18142
18143 2014-05-21 Pedro Alves <palves@redhat.com>
18144
18145 * gdb.base/default.exp: Test "target native" instead of "target
18146 child".
18147
18148 2014-05-21 Mark Wielaard <mjw@redhat.com>
18149
18150 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18151
18152 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18153
18154 Fix TLS access for -static -pthread.
18155 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
18156 <HAVE_TLS> (thread_function, main): Initialize it.
18157 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
18158 Add clean_restart.
18159 <$have_tls != "">: Check TLSVAR.
18160
18161 2014-05-21 Pedro Alves <palves@redhat.com>
18162
18163 * gdb.base/dcache-line-read-error.c: New.
18164 * gdb.base/dcache-line-read-error.exp: New.
18165
18166 2014-05-20 Pedro Alves <palves@redhat.com>
18167
18168 * gdb.base/compare-sections.c: New file.
18169 * gdb.base/compare-sections.exp: New file.
18170
18171 2014-05-20 Pedro Alves <palves@redhat.com>
18172
18173 * gdb.base/break-idempotent.c: New file.
18174 * gdb.base/break-idempotent.exp: New file.
18175
18176 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
18177
18178 * gdb.btrace/nohist.exp: New.
18179
18180 2014-05-20 Yao Qi <yao@codesourcery.com>
18181
18182 * lib/gdb.exp (gdb_init): Set timeout if test file is under
18183 gdb.reverse directory and gdb_reverse_timeout exists in board
18184 setting.
18185 * README: Document gdb_reverse_timeout.
18186
18187 2014-05-20 Yao Qi <yao@codesourcery.com>
18188
18189 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
18190 'test_file_name'. Treat args as a string instead of a list.
18191 (gdb_init): Rename argument 'args' by 'test_file_name'.
18192
18193 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
18194
18195 * gdb.arch/powerpc-power.exp: New file.
18196 * gdb.arch/powerpc-power.s: New file.
18197
18198 2014-05-16 Doug Evans <dje@google.com>
18199
18200 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
18201 * gdb.base/completion.exp: Check that all expected files exist
18202 before doing file completion.
18203
18204 2014-05-16 Doug Evans <dje@google.com>
18205
18206 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
18207 Update.
18208 (do_syscall_tests_without_xml): Update.
18209
18210 2014-05-16 Pedro Alves <palves@redhat.com>
18211
18212 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
18213 instead of "unknown output after running".
18214
18215 2014-05-16 Yao Qi <yao@codesourcery.com>
18216
18217 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
18218 file1.txt from host at the end.
18219 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18220
18221 2014-05-15 Doug Evans <dje@google.com>
18222
18223 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
18224 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
18225 loading file. Add test for TU lookup.
18226
18227 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18228
18229 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
18230 calling "-exec-arguments" or "set args" before running the
18231 inferior.
18232
18233 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18234
18235 * lib/mi-support.exp (mi_expect_stop): Expect message for
18236 inferiors that exit with non-zero exit code.
18237
18238 2014-05-14 Yao Qi <yao@codesourcery.com>
18239
18240 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
18241 match absolute path on remote host.
18242 (test_file_list_exec_source_files): Remove "/" from the
18243 pattern.
18244
18245 2014-05-14 Yao Qi <yao@codesourcery.com>
18246
18247 * boards/local-remote-host-notty.exp (${board}_file): New
18248 proc.
18249
18250 2014-05-07 Kyle McMartin <kyle@redhat.com>
18251
18252 Pushed by Joel Brobecker <brobecker@adacore.com>.
18253 * gdb.arch/aarch64-atomic-inst.c: New file.
18254 * gdb.arch/aarch64-atomic-inst.exp: New file.
18255
18256 2014-05-07 Yao Qi <yao@codesourcery.com>
18257
18258 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
18259 in current context" too.
18260
18261 2014-05-05 Keith Seitz <keiths@redhat.com>
18262
18263 * gdb.linespec/ls-dollar.exp: Add test for linespec
18264 file:convenience_variable.
18265
18266 2014-05-05 Yao Qi <yao@codesourcery.com>
18267
18268 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
18269 traceframes into tfile and ctf trace files. Read data from
18270 trace file and test collected data.
18271 (gdb_collect_locals_test): Likewise.
18272 (gdb_unavailable_registers_test): Likewise.
18273 (gdb_unavailable_floats): Likewise.
18274 (gdb_collect_globals_test): Likewise.
18275 (top-level): Append "ctf" to trace_file_targets if GDB
18276 supports.
18277
18278 2014-05-05 Yao Qi <yao@codesourcery.com>
18279
18280 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
18281 code to ...
18282 (gdb_collect_args_test_1): ... it. New proc.
18283 (gdb_collect_locals_test): Move some code to ...
18284 (gdb_collect_locals_test_1): ... it. New proc.
18285 (gdb_unavailable_registers_test): Move some code to ...
18286 (gdb_unavailable_registers_test_1): ... it. New proc.
18287 (gdb_unavailable_floats): Move some code to ...
18288 (gdb_unavailable_floats_1): ... it. New proc.
18289
18290 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18291
18292 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
18293 probes to test for bitness recognition.
18294 * gdb.arch/amd64-stap-optional-prefix.exp
18295 (test_probe_value_without_reg): New procedure.
18296 Add code to test for different kinds of bitness.
18297
18298 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18299
18300 PR breakpoints/16889
18301 * gdb.arch/amd64-stap-optional-prefix.S: New file.
18302 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18303
18304 2014-05-01 Pedro Alves <palves@redhat.com>
18305
18306 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
18307 gdb_file_cmd if no file is specified.
18308 * boards/native-extended-gdbserver.exp (gdb_load): Use the
18309 last_loaded_file to set the remote exec-file.
18310
18311 2014-05-01 Pedro Alves <palves@redhat.com>
18312
18313 * boards/local-remote-host.exp: New file.
18314
18315 2014-05-01 Pedro Alves <palves@redhat.com>
18316
18317 * boards/local-remote-host.exp: Rename to ...
18318 * boards/local-remote-host-notty.exp: ... this.
18319
18320 2014-04-28 Joel Brobecker <brobecker@adacore.com>
18321
18322 * gdb.ada/dyn_arrayidx: New testcase.
18323
18324 2014-04-26 Yao Qi <yao@codesourcery.com>
18325
18326 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
18327 and compute the length of function main. Save it in
18328 $main_length.
18329 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
18330 (top-level): Use gdb_compile to compile objects into
18331 executable and restart GDB. Remove invocation to
18332 prepare_for_testing.
18333
18334 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
18335 Pedro Alves <palves@redhat.com>
18336
18337 PR server/16255
18338 * gdb.multi/multi-attach.c: New file.
18339 * gdb.multi/multi-attach.exp: New file.
18340
18341 2014-04-25 Pedro Alves <palves@redhat.com>
18342
18343 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
18344 user.
18345 (top level): Test that "set remote conditional-breakpoints-packet
18346 off" works as intended.
18347 * gdb.base/dprintf.exp: Test that "set remote
18348 breakpoint-commands-packet off" works as intended.
18349 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
18350 New function.
18351 (top level): Call it.
18352 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
18353 remote fast-tracepoints-packet off" works as intended.
18354 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
18355 * lib/gdb.exp (gdb_is_target_remote): ... here.
18356
18357 2014-04-24 David Blaikie <dblaikie@gmail.com>
18358
18359 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
18360 ensure clang would not discard them.
18361 * gdb.base/gdbvars.c: Ditto.
18362 * gdb.base/memattr.c: Ditto.
18363 * gdb.base/whatis.c: Ditto.
18364 * gdb.python/py-prettyprint.c: Ditto.
18365 * gdb.trace/actions.c: Ditto.
18366 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
18367 ensure clang would not discard it.
18368
18369 2014-04-24 David Blaikie <dblaikie@gmail.com>
18370
18371 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
18372 clang to emit the full definition of type required by the test
18373 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
18374
18375 2014-04-24 David Blaikie <dblaikie@gmail.com>
18376
18377 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
18378 coax Clang into emitting the definition of the type.
18379 * gdb.cp/pr10728-x.h (y): Ditto.
18380 * gdb.cp/pr10728-y.cc (y): Ditto.
18381
18382 2014-04-24 David Blaikie <dblaikie@gmail.com>
18383
18384 * gdb.base/label.exp: XFAIL label related tests under Clang.
18385 * gdb.cp/cplabel.exp: Ditto.
18386 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
18387 under Clang those using labels.
18388
18389 2014-04-25 Yao Qi <yao@codesourcery.com>
18390
18391 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
18392 double_label.
18393 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
18394 partial_label and double_label.
18395
18396 2014-04-24 David Blaikie <dblaikie@gmail.com>
18397
18398 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
18399
18400 2014-04-24 David Blaikie <dblaikie@gmail.com>
18401
18402 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
18403 of the function to work across GCC and Clang.
18404 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
18405 pointer types (const void ** const V void **).
18406
18407 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
18408 Walfred Tedeschi <walfred.tedeschi@intel.com>
18409
18410 * Makefile.in (EXECUTABLES): Added i386-avx512.
18411 * gdb.arch/i386-avx512.c: New file.
18412 * gdb.arch/i386-avx512.exp: Likewise.
18413
18414 2014-04-23 Keith Seitz <keiths@redhat.com>
18415
18416 * lib/mi-support.exp (mi_list_breakpoints): Delete.
18417 (mi_make_breakpoint_table): New procedure.
18418 (mi_create_breakpoint): Use mi_make_breakpoint
18419 and return the result.
18420 (mi_make_breakpoint): New procedure.
18421 (mi_build_kv_pairs): New procedure.
18422
18423 * gdb.mi/mi-break.exp: Remove unused globals,
18424 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
18425 All callers updated.
18426 * gdb.mi/mi-dprintf.exp: Use variable to track command
18427 number.
18428 Update all callers of mi_create_breakpoint and use
18429 mi_make_breakpoint_table.
18430 Remove any unused global variables.
18431 * gdb.mi/mi-nonstop.exp: Likewise.
18432 * gdb.mi/mi-nsintrall.exp: Likewise.
18433 * gdb.mi/mi-nsmoribund.exp: Likewise.
18434 * gdb.mi/mi-nsthrexec.exp: Likewise.
18435 * gdb.mi/mi-reverse.exp: Likewise.
18436 * gdb.mi/mi-simplerun.exp: Likewise.
18437 * gdb.mi/mi-stepn.exp: Likewise.
18438 * gdb.mi/mi-syn-frame.exp: Likewise.
18439 * gdb.mi/mi-until.exp: Likewise.
18440 * gdb.mi/mi-var-cp.exp: Likewise.
18441 * gdb.mi/mi-var-display.exp: Likewise.
18442 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18443 * gdb.mi/mi2-var-child.exp: Likewise.
18444 * gdb.mi/mi-vla-c99.exp: Likewise.
18445 * lib/mi-support.exp: Likewise.
18446
18447 From Ian Lance Taylor <iant@cygnus.com>:
18448 * lib/gdb.exp (parse_args): New procedure.
18449
18450 2014-04-23 Pedro Alves <palves@redhat.com>
18451
18452 * gdb.base/break-unload-file.c: New file.
18453 * gdb.base/break-unload-file.exp: New file.
18454 * gdb.base/sym-file-lib.c (baz): New function.
18455 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18456 field.
18457 (load): Store the segment's mapped size.
18458 (unload): New function.
18459 (unload_shlib): New function.
18460 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18461 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18462 set a breakpoint at baz, and call it.
18463 * gdb.base/sym-file.exp: New tests for stale breakpoint
18464 instructions.
18465
18466 2014-04-23 Pedro Alves <palves@redhat.com>
18467
18468 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18469 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18470 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18471 * gdb.base/hbreak-unmapped.c: New file.
18472 * gdb.base/hbreak-unmapped.exp: New file.
18473 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18474 * lib/gdb.exp (gdb_is_target_remote): ... here.
18475
18476 2014-04-22 Pedro Alves <palves@redhat.com>
18477
18478 * gdb.base/consecutive-step-over.c: New file.
18479 * gdb.base/consecutive-step-over.exp: New file.
18480
18481 2014-04-22 Pedro Alves <palves@redhat.com>
18482
18483 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18484 instead of send_gdb/gdb_expect.
18485
18486 2014-04-22 Yao Qi <yao@codesourcery.com>
18487
18488 * lib/trace-support.exp (generate_tracefile): New procedure.
18489 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18490 return 0.
18491 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18492 if generate_tracefile returns 1.
18493
18494 2014-04-18 Tom Tromey <palves@redhat.com>
18495 Pedro alves <tromey@redhat.com>
18496
18497 PR backtrace/15558
18498 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18499 with a backtrace limit.
18500 * gdb.python/py-frame-inline.exp: Test running to an inline
18501 function with a backtrace limit, and printing the newest frame.
18502 * gdb.python/py-frame-inline.c (main): Call f.
18503
18504 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18505
18506 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18507
18508 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18509
18510 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18511 Drop prefix from unsupported source file path.
18512
18513 2014-04-17 Yao Qi <yao@codesourcery.com>
18514
18515 * lib/gdb.exp (with_target_charset): New proc.
18516 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18517 with_target_charset.
18518 (test_print_strings): Likewise.
18519 (test_repeat_bytes): Likewise.
18520 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18521 for some tests.
18522
18523 2014-04-16 Keith Seitz <keiths@redhat.com>
18524
18525 PR gdb/15827
18526 * gdb.dwarf2/corrupt.c: New file.
18527 * gdb.dwarf2/corrupt.exp: New file.
18528
18529 2014-04-16 Keith Seitz <keiths@redhat.com>
18530
18531 PR c++/16597
18532 * gdb.cp/namelessclass.cc: New file.
18533 * gdb.cp/namelessclass.exp: New file.
18534 * gdb.cp/namelessclass.S: New file.
18535
18536 2014-04-16 Doug Evans <dje@google.com>
18537
18538 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18539 Add comment.
18540 (gdbserver_default_get_comm_port): New function.
18541 (gdbserver_start): Check if board file provided
18542 "gdbserver,get_comm_port" and use it if so.
18543 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18544 (gdb,socketport): Set to "stdio".
18545 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18546 (stdio_gdbserver_template): Delete.
18547 (${board}_get_remote_address): Update.
18548 (${board}_build_remote_cmd): Delete.
18549 (${board}_get_comm_port): New function.
18550 (${board}_spawn): Update.
18551 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18552 Delete.
18553 (${board}_get_remote_address): Update.
18554 (${board}_get_comm_port): New function.
18555
18556 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
18557
18558 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18559 appearing in any order.
18560
18561 2014-04-15 Doug Evans <dje@google.com>
18562
18563 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18564 uninitialized value of "description".
18565
18566 2014-04-15 Keith Seitz <keiths@redhat.com>
18567
18568 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18569 Remove unused globals.
18570 (test_running_the_program): Likewise.
18571 (test_controlled_execution): Likewise.
18572 (test_controlling_breakpoints): Likewise.
18573 (test_program_termination): Likewise.
18574
18575 2014-04-15 Keith Seitz <keiths@redhat.com>
18576
18577 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18578 unused globals.
18579 (test_rbreak_creation_and_listing): Likewise.
18580 (test_ignore_count): Likewise.
18581 (test_error): Likewise.
18582
18583 2014-04-15 Pedro Alves <palves@redhat.com>
18584
18585 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18586 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18587 sym-file-loader.c.
18588 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18589 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18590 to sym-file-loader.c.
18591 (struct library): Forward declare.
18592 (load_shlib, lookup_function): Change prototypes.
18593 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18594 (translate_offset): Remove declarations.
18595 (get_text_addr): New declaration.
18596 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18597 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18598 sym-file-loader.h.
18599 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18600 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18601 here from sym-file-loader.h.
18602 (struct library): New structure.
18603 (load_shlib, lookup_function): Change prototypes and adjust to
18604 work with a struct library.
18605 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18606 (translate_offset): Make static.
18607 (get_text_addr): New function.
18608 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18609
18610 2014-04-15 Pedro Alves <palves@redhat.com>
18611
18612 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18613
18614 2014-04-15 Pedro Alves <palves@redhat.com>
18615
18616 * gdb.base/sym-file-loader.c: Include <limits.h>.
18617 (SELF_LINK): New define.
18618 (get_origin): New function.
18619 (load_shlib): Use it.
18620 * gdb.base/sym-file.exp: Don't early return if the target is
18621 remote. Use runto_main, and issue fail is that fails. Use
18622 gdb_load_shlibs.
18623 (shlib_name): Delete.
18624 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18625
18626 2014-04-15 Pedro Alves <palves@redhat.com>
18627
18628 * gdb.base/sym-file.exp: Remove regex characters from test
18629 message. Don't refer to breakpoint numbers in test messages.
18630
18631 2014-04-14 Keith Seitz <keiths@redhat.com>
18632
18633 PR c++/16253
18634 * gdb.cp/var-tag.cc: New file.
18635 * gdb.cp/var-tag.exp: New file.
18636 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18637 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18638 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18639 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18640
18641 2014-04-14 Tom Tromey <tromey@redhat.com>
18642
18643 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18644 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18645 type.
18646 * gdb.cp/enum-class.exp: New file.
18647 * gdb.cp/enum-class.cc: New file.
18648
18649 2014-04-14 Tom Tromey <tromey@redhat.com>
18650
18651 * gdb.dwarf2/enum-type.exp: New file.
18652
18653 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18654
18655 * gdb.mi/mi-vla-c99.exp: New file.
18656 * gdb.mi/vla.c: New file.
18657
18658 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18659
18660 * gdb.base/vla-datatypes.c: New file.
18661 * gdb.base/vla-datatypes.exp: New file.
18662
18663 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18664
18665 * gdb.base/vla-ptr.c: New file.
18666 * gdb.base/vla-ptr.exp: New file.
18667
18668 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18669
18670 * gdb.dwarf2/count.exp: New file.
18671
18672 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18673
18674 * gdb.base/vla-sideeffect.c: New file.
18675 * gdb.base/vla-sideeffect.exp: New file.
18676
18677 2014-04-14 David Blaikie <dblaikie@gmail.com>
18678
18679 * gdb.mi/non-stop.c: Add return value for non-void function return
18680 statement.
18681 * gdb.threads/staticthreads.c: Ditto.
18682
18683 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18684 Doug Evans <xdje42@gmail.com>
18685
18686 * gdb.guile/scm-value.c: Improve test case.
18687 * gdb.guile/scm-value.exp: Add new test.
18688
18689 2014-04-11 David Blaikie <dblaikie@gmail.com>
18690
18691 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18692 override Clang's default.
18693
18694 2014-04-11 Joel Brobecker <brobecker@adacore.com>
18695
18696 Revert the following changes (regressions):
18697
18698 * gdb.base/vla-sideeffect.c: New file.
18699 * gdb.base/vla-sideeffect.exp: New file.
18700
18701 * gdb.dwarf2/count.exp: New file.
18702
18703 * gdb.base/vla-multi.c: New file.
18704 * gdb.base/vla-multi.exp: New file.
18705
18706 * gdb.base/vla-ptr.c: New file.
18707 * gdb.base/vla-ptr.exp: New file.
18708
18709 * gdb.base/vla-datatypes.c: New file.
18710 * gdb.base/vla-datatypes.exp: New file.
18711
18712 * gdb.mi/mi-vla-c99.exp: New file.
18713 * gdb.mi/vla.c: New file.
18714
18715 2014-04-11 Keith Seitz <keiths@redhat.com>
18716
18717 PR c++/16675
18718 * gdb.cp/cpsizeof.exp: New file.
18719 * gdb.cp/cpsizeof.cc: New file.
18720
18721 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18722
18723 * gdb.mi/mi-vla-c99.exp: New file.
18724 * gdb.mi/vla.c: New file.
18725
18726 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18727
18728 * gdb.base/vla-datatypes.c: New file.
18729 * gdb.base/vla-datatypes.exp: New file.
18730
18731 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18732
18733 * gdb.base/vla-ptr.c: New file.
18734 * gdb.base/vla-ptr.exp: New file.
18735
18736 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18737
18738 * gdb.base/vla-multi.c: New file.
18739 * gdb.base/vla-multi.exp: New file.
18740
18741 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18742
18743 * gdb.dwarf2/count.exp: New file.
18744
18745 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18746
18747 * gdb.base/vla-sideeffect.c: New file.
18748 * gdb.base/vla-sideeffect.exp: New file.
18749
18750 2014-04-11 Yao Qi <yao@codesourcery.com>
18751
18752 * gdb.base/completion.exp: Check file exists before running tests
18753 on file completion.
18754
18755 2014-04-10 Pedro Alves <palves@redhat.com>
18756
18757 * gdb.base/cond-eval-mode.c: New file.
18758 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18759 prepare_for_testing to build the new file. Check result of
18760 runto_main.
18761 (test_break, test_watch): New procedures.
18762 (top level): Use them.
18763
18764 2014-04-08 Pierre Muller <muller@sourceware.org>
18765
18766 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18767 Ctrl-V use for mingw hosts.
18768
18769 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18770
18771 * gdb.python/py-value.c: Improve test case.
18772 * gdb.python/py-value.exp: Add new test.
18773
18774 2014-04-07 David Blaikie <dblaikie@gmail.com>
18775
18776 * lib/compiler.c: Identify the clang compiler.
18777 * lib/compiler.cc: Ditto.
18778
18779 2014-04-03 Yao Qi <yao@codesourcery.com>
18780
18781 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18782
18783 2014-04-01 Anton Blanchard <anton@samba.org>
18784
18785 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18786 messages unique.
18787
18788 2014-04-01 Anton Blanchard <anton@samba.org>
18789
18790 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18791 prepare_for_testing.
18792
18793 2014-04-01 Anton Blanchard <anton@samba.org>
18794
18795 * gdb.arch/ppc64-atomic-inst.c: Remove.
18796 * gdb.arch/ppc64-atomic-inst.S: New file.
18797 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18798
18799 2014-03-31 Doug Evans <dje@google.com>
18800
18801 * gdb.base/print-symbol-loading-lib.c: New file.
18802 * gdb.base/print-symbol-loading-main.c: New file.
18803 * gdb.base/print-symbol-loading.exp: New file.
18804
18805 2014-03-31 Yao Qi <yao@codesourcery.com>
18806
18807 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18808
18809 2014-03-28 Joel Brobecker <brobecker@adacore.com>
18810
18811 * gdb.ada/mi_dyn_arr: New testcase.
18812
18813 2014-03-27 Doug Evans <dje@google.com>
18814
18815 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18816
18817 2014-03-27 Yao Qi <yao@codesourcery.com>
18818
18819 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18820 if target is nios2-*-*.
18821
18822 2014-03-26 Yao Qi <yao@codesourcery.com>
18823
18824 * lib/gdb.exp (readline_is_used): New proc.
18825 * gdb.base/completion.exp: Move tests on command complete up.
18826 Skip the rest of tests if readline is not used.
18827 * gdb.ada/complete.exp: Skp the test if readline is not
18828 used.
18829 * gdb.base/filesym.exp: Likewise.
18830 * gdb.base/macscp.exp: Likewise.
18831 * gdb.base/readline-ask.exp: Likewise.
18832 * gdb.base/readline.exp: Likewise.
18833 * gdb.python/py-cmd.exp: Likewise.
18834 * gdb.trace/tfile.exp: Likewise.
18835
18836 2014-03-26 Yao Qi <yao@codesourcery.com>
18837
18838 * gdb.base/macscp.exp: Fix code format issues.
18839
18840 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18841
18842 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18843 * gdb.asm/powerpc64le.inc: New file.
18844
18845 2014-03-25 Pedro Alves <palves@redhat.com>
18846 Doug Evans <dje@google.com>
18847
18848 * gdb.base/source-execution.c: New file.
18849 * gdb.base/source-execution.exp: New file.
18850 * gdb.base/source-execution.gdb: New file.
18851
18852 2014-03-24 Doug Evans <dje@google.com>
18853
18854 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18855 using fission.
18856
18857 2014-03-24 Hui Zhu <hui@codesourcery.com>
18858 Pedro Alves <palves@redhat.com>
18859
18860 PR breakpoints/16101
18861 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18862 test pass/fail messages. Detect missing support for dprintf when
18863 breakpoints are actually inserted.
18864 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18865 breakpoints are actually inserted.
18866 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18867 fails.
18868
18869 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18870
18871 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18872
18873 2014-03-22 Doug Evans <xdje42@gmail.com>
18874
18875 * gdb.python/python.exp (python not supported): Verify multi-line
18876 python command issues an error.
18877 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18878 guile command issues an error.
18879
18880 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18881
18882 * gdb.threads/thread-specific.exp: Handle the lack of usable
18883 $this_breakpoint and $this_thread.
18884
18885 2014-03-21 Hui Zhu <hui@codesourcery.com>
18886
18887 * gdb.base/attach.exp (do_command_attach_tests): New.
18888
18889 2014-03-20 Tom Tromey <tromey@redhat.com>
18890 Pedro Alves <palves@redhat.com>
18891
18892 PR cli/15718
18893 * gdb.base/condbreak-call-false.c: New file.
18894 * gdb.base/condbreak-call-false.exp: New file.
18895
18896 2014-03-20 Pedro Alves <palves@redhat.com>
18897
18898 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18899 Delete.
18900 (block_signals, unblock_signals): Delete.
18901 (child_function_2, main): Remove references to deleted variable
18902 and functions.
18903
18904 2014-03-20 Pedro Alves <palves@redhat.com>
18905
18906 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18907 Use pthread_kill to signal thread 2.
18908 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18909 Adjust to make the test send itself a signal rather than using the
18910 host's "kill" command.
18911
18912 2014-03-20 Pedro Alves <palves@redhat.com>
18913
18914 * gdb.threads/multiple-step-overs.c: New file.
18915 * gdb.threads/multiple-step-overs.exp: New file.
18916 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18917 Adjust expected infrun debug output.
18918
18919 2014-03-20 Pedro Alves <palves@redhat.com>
18920
18921 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18922 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18923
18924 2014-03-20 Pedro Alves <palves@redhat.com>
18925
18926 PR breakpoints/7143
18927 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18928 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18929 of gdb_test_multiple.
18930 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18931 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18932
18933 2014-03-20 Pedro Alves <palves@redhat.com>
18934
18935 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18936 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18937
18938 2014-03-19 Pedro Alves <palves@redhat.com>
18939
18940 * gdb.base/async.exp: Remove early return.
18941
18942 2014-03-19 Pedro Alves <palves@redhat.com>
18943
18944 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18945
18946 2014-03-19 Pedro Alves <palves@redhat.com>
18947
18948 * gdb.base/async.exp (test_background): Expect \r\n after
18949 "completed." in the fail pattern.
18950
18951 2014-03-19 Pedro Alves <palves@redhat.com>
18952
18953 * gdb.base/async.exp (test_background): New procedure.
18954 Use it for all background execution command tests.
18955
18956 2014-03-19 Pedro Alves <palves@redhat.com>
18957
18958 * gdb.base/async.exp: Use prepare_for_testing.
18959
18960 2014-03-19 Pedro Alves <palves@redhat.com>
18961
18962 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18963 the same line.
18964
18965 2014-03-19 Pedro Alves <palves@redhat.com>
18966
18967 * gdb.base/async.c (main): Add "jump here" and "until here" line
18968 marker comments.
18969 * gdb.base/async.exp (jump_here): New global.
18970 (jump& test): Use it.
18971 (until_here): New global.
18972 (until& test): Use it.
18973
18974 2014-03-19 Pedro Alves <palves@redhat.com>
18975
18976 * gdb.base/async.exp: Don't frob gdb_protocol.
18977
18978 2014-03-18 Doug Evans <xdje42@gmail.com>
18979
18980 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18981 Fix spelling of exec-done-display.
18982
18983 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18984
18985 PR gdb/15358
18986 * gdb.base/gdb-sigterm.c: New file.
18987 * gdb.base/gdb-sigterm.exp: New file.
18988
18989 2014-03-18 Pedro Alves <palves@redhat.com>
18990
18991 PR gdb/13860
18992 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18993 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18994 solib-event.
18995
18996 2014-03-17 Joel Brobecker <brobecker@adacore.com>
18997
18998 * gdb.ada/pckd_arr_ren: New testcase.
18999
19000 2014-03-13 Doug Evans <xdje42@gmail.com>
19001
19002 PR guile/16612
19003 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19004 collect after discarding symbols.
19005
19006 2014-03-13 Ludovic Courtès <ludo@gnu.org>
19007 Doug Evans <xdje42@gmail.com>
19008
19009 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19010 to history survives a gc.
19011
19012 2014-03-13 Pedro Alves <palves@redhat.com>
19013
19014 * gdb.base/default.exp: Don't test "target procfs".
19015
19016 2014-03-13 Pedro Alves <palves@redhat.com>
19017
19018 * gdb.base/default.exp: Update "target child" and "target procfs"
19019 tests to not expect "Unix".
19020
19021 2014-03-12 Tom Tromey <tromey@redhat.com>
19022
19023 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19024 New procs. Add target-async tests.
19025 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19026 Add target-async tests.
19027
19028 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19029
19030 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19031 'func_start' and 'func_end' for the beginning and end of the
19032 function code, respectively.
19033 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19034 'func_end' instead of 'func' and 'main'.
19035
19036 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19037
19038 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19039 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19040 generate the debug info assembler source.
19041
19042 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19043
19044 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19045 * gdb.dwarf2/arr-subrange.exp: Likewise.
19046 * gdb.dwarf2/dwz.exp: Likewise.
19047 * gdb.dwarf2/method-ptr.exp: Likewise.
19048 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19049 * gdb.dwarf2/subrange.exp: Likewise.
19050 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19051 * gdb.dwarf2/implptrpiece.exp: Likewise.
19052 * gdb.dwarf2/nostaticblock.exp: Likewise.
19053
19054 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19055
19056 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19057 directory to absolute path name arguments.
19058
19059 2014-03-10 Joel Brobecker <brobecker@adacore.com>
19060
19061 * gdb.ada/tagged_access: New testcase.
19062
19063 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19064
19065 * gdb.btrace/data.exp: Update expected output.
19066
19067 2014-03-06 Yao Qi <yao@codesourcery.com>
19068
19069 * gdb.trace/pr16508.exp: New file.
19070
19071 2014-03-05 Pedro Alves <palves@redhat.com>
19072
19073 PR gdb/16575
19074 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19075 procedure.
19076 (top level): Adjust to use it. Add tests that exercise breakpoint
19077 interaction with the code-cache.
19078
19079 2014-02-26 Ludovic Courtès <ludo@gnu.org>
19080
19081 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19082 test for 'history-append!'.
19083
19084 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19085
19086 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19087 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19088 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19089 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19090 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19091 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19092
19093 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19094
19095 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19096 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19097 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19098
19099 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19100
19101 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19102
19103 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19104
19105 * gdb.dwarf2/arr-stride.c: New file.
19106 * gdb.dwarf2/arr-stride.exp: New file.
19107
19108 2014-02-26 Pedro Alves <palves@redhat.com>
19109
19110 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19111 that won't ever trigger. Make sure that GDB reports the correct
19112 breakpoint that caused the stop.
19113
19114 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19115
19116 PR gdb/16626
19117 * gdb.base/auto-load-script: New file.
19118 * gdb.base/auto-load.c: New file.
19119 * gdb.base/auto-load.exp: New file.
19120
19121 PR gdb/16626
19122 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19123
19124 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19125
19126 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19127 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19128
19129 2014-02-24 Doug Evans <dje@google.com>
19130
19131 * lib/gdb.exp (run_on_host): Log error output if program fails.
19132
19133 2014-02-21 Pedro Alves <palves@redhat.com>
19134
19135 * gdb.threads/step-after-sr-lock.c: Rename to ...
19136 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
19137 * gdb.threads/step-after-sr-lock.exp: Rename to ...
19138 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19139 ... this.
19140
19141 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
19142
19143 PR tdep/16397
19144 * gdb.arch/amd64-stap-special-operands.exp: New file.
19145 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
19146 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
19147 * gdb.arch/amd64-stap-triplet.S: Likewise.
19148 * gdb.arch/amd64-stap-triplet.c: Likewise.
19149
19150 2014-02-20 Joel Brobecker <brobecker@adacore.com>
19151
19152 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
19153 in .section pseudo-op.
19154
19155 2014-02-20 lin zuojian <manjian2006@gmail.com>
19156 Joel Brobecker <brobecker@adacore.com>
19157 Doug Evans <xdje42@gmail.com>
19158
19159 PR symtab/16581
19160 * gdb.dwarf2/dw2-icycle.S: New file.
19161 * gdb.dwarf2/dw2-icycle.c: New file.
19162 * gdb.dwarf2/dw2-icycle.exp: New file.
19163
19164 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
19165
19166 * gdb.python/py-value-cc.cc: Improve test case to enable testing
19167 operations on gdb.Value objects.
19168 * gdb.python/py-value-cc.exp: Add new test to test operations on
19169 gdb.Value objects.
19170
19171 2014-02-18 Doug Evans <dje@google.com>
19172
19173 * Makefile.in (TESTS): New variable.
19174 (expanded_tests, expanded_tests_or_none): New variables
19175 (check-single): Pass $(expanded_tests_or_none) to runtest.
19176 (check-parallel): Only run tests in $(TESTS) if non-empty.
19177 (check/no-matching-tests-found): New rule.
19178 * README: Document TESTS makefile variable.
19179
19180 2014-02-18 Doug Evans <dje@google.com>
19181
19182 * Makefile.in (check-parallel): rm -rf outputs temp.
19183
19184 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19185
19186 Fix "ERROR: no fileid for" in the testsuite.
19187 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
19188
19189 2014-02-12 Doug Evans <dje@google.com>
19190
19191 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
19192 (MISCELLANEOUS): New variable.
19193 (clean): rm -rf $(MISCELLANEOUS).
19194 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
19195 dwp live in the same directory as symlinks, with each symlink pointed
19196 to a differently named file in a different directory.
19197
19198 2014-02-11 Doug Evans <dje@google.com>
19199
19200 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
19201 of Tcl file commands.
19202
19203 2014-02-10 Mark Kettenis <kettenis@gnu.org>
19204
19205 * gdb.threads/step-after-sr-lock.exp: Avoid executing
19206 "kill -SIGUSR1 -1".
19207
19208 2014-02-10 Joel Brobecker <brobecker@adacore.com>
19209
19210 * gdb.ada/tick_length_array_enum_idx: New testcase.
19211
19212 2014-02-10 Doug Evans <xdje42@gmail.com>
19213
19214 * configure.ac (AC_OUTPUT): Add gdb.guile.
19215 * configure: Regenerate.
19216 * lib/gdb-guile.exp: New file.
19217 * lib/gdb.exp (get_target_charset): New function.
19218 * gdb.base/help.exp: Update expected output from "apropos apropos".
19219 * gdb.guile/Makefile.in: New file.
19220 * gdb.guile/guile.exp: New file.
19221 * gdb.guile/scm-arch.c: New file.
19222 * gdb.guile/scm-arch.exp: New file.
19223 * gdb.guile/scm-block.c: New file.
19224 * gdb.guile/scm-block.exp: New file.
19225 * gdb.guile/scm-breakpoint.c: New file.
19226 * gdb.guile/scm-breakpoint.exp: New file.
19227 * gdb.guile/scm-disasm.c: New file.
19228 * gdb.guile/scm-disasm.exp: New file.
19229 * gdb.guile/scm-equal.c: New file.
19230 * gdb.guile/scm-equal.exp: New file.
19231 * gdb.guile/scm-error.exp: New file.
19232 * gdb.guile/scm-error.scm: New file.
19233 * gdb.guile/scm-frame-args.c: New file.
19234 * gdb.guile/scm-frame-args.exp: New file.
19235 * gdb.guile/scm-frame-args.scm: New file.
19236 * gdb.guile/scm-frame-inline.c: New file.
19237 * gdb.guile/scm-frame-inline.exp: New file.
19238 * gdb.guile/scm-frame.c: New file.
19239 * gdb.guile/scm-frame.exp: New file.
19240 * gdb.guile/scm-generics.exp: New file.
19241 * gdb.guile/scm-gsmob.exp: New file.
19242 * gdb.guile/scm-iterator.c: New file.
19243 * gdb.guile/scm-iterator.exp: New file.
19244 * gdb.guile/scm-math.c: New file.
19245 * gdb.guile/scm-math.exp: New file.
19246 * gdb.guile/scm-objfile-script-gdb.in: New file.
19247 * gdb.guile/scm-objfile-script.c: New file.
19248 * gdb.guile/scm-objfile-script.exp: New file.
19249 * gdb.guile/scm-objfile.c: New file.
19250 * gdb.guile/scm-objfile.exp: New file.
19251 * gdb.guile/scm-ports.exp: New file.
19252 * gdb.guile/scm-pretty-print.c: New file.
19253 * gdb.guile/scm-pretty-print.exp: New file.
19254 * gdb.guile/scm-pretty-print.scm: New file.
19255 * gdb.guile/scm-section-script.c: New file.
19256 * gdb.guile/scm-section-script.exp: New file.
19257 * gdb.guile/scm-section-script.scm: New file.
19258 * gdb.guile/scm-symbol.c: New file.
19259 * gdb.guile/scm-symbol.exp: New file.
19260 * gdb.guile/scm-symtab-2.c: New file.
19261 * gdb.guile/scm-symtab.c: New file.
19262 * gdb.guile/scm-symtab.exp: New file.
19263 * gdb.guile/scm-type.c: New file.
19264 * gdb.guile/scm-type.exp: New file.
19265 * gdb.guile/scm-value-cc.cc: New file.
19266 * gdb.guile/scm-value-cc.exp: New file.
19267 * gdb.guile/scm-value.c: New file.
19268 * gdb.guile/scm-value.exp: New file.
19269 * gdb.guile/source2.scm: New file.
19270 * gdb.guile/types-module.cc: New file.
19271 * gdb.guile/types-module.exp: New file.
19272
19273 2014-02-10 Yao Qi <yao@codesourcery.com>
19274
19275 PR testsuite/16543
19276 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
19277 * configure: Regenerated.
19278 * Makefile.in: New file.
19279
19280 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
19281
19282 * gdb.python/py-framefilter.exp: Fix typo.
19283
19284 2014-02-08 Yao Qi <yao@codesourcery.com>
19285
19286 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
19287 that no =breakpoint-modified is emitted when breakpoints are
19288 modified through MI commands.
19289
19290 2014-02-07 Pedro Alves <pedro@codesourcery.com>
19291 Pedro Alves <palves@redhat.com>
19292
19293 * gdb.threads/step-after-sr-lock.c: New file.
19294 * gdb.threads/step-after-sr-lock.exp: New file.
19295
19296 2014-02-07 Pedro Alves <palves@redhat.com>
19297
19298 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
19299
19300 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
19301
19302 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
19303 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
19304
19305 2014-02-06 Doug Evans <xdje42@gmail.com>
19306
19307 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
19308 output.
19309
19310 * gdb.gdb/python-interrupts.exp: New file.
19311
19312 2014-02-05 Yao Qi <yao@codesourcery.com>
19313
19314 * gdb.trace/report.exp (use_collected_data): Test the output
19315 of "info threads" and "info inferiors".
19316
19317 2014-02-05 Yao Qi <yao@codesourcery.com>
19318
19319 Revert this patch:
19320
19321 2013-05-24 Yao Qi <yao@codesourcery.com>
19322
19323 * gdb.trace/tfile.exp: Test inferior and thread.
19324
19325 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19326
19327 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
19328 on a function.
19329 * gdb.base/step-bt.c: Call hello via function pointer to make
19330 sure its first instruction is executed on powerpc64le-linux.
19331
19332 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19333
19334 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
19335
19336 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19337
19338 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
19339 of the test patterns for use on little-endian systems.
19340
19341 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19342
19343 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
19344 (decimal_vector): Fix for little-endian.
19345
19346 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
19347
19348 * gdb.arch/sparc-sysstep.exp: New file.
19349 * gdb.arch/sparc-sysstep.c: Likewise.
19350
19351 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
19352
19353 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19354
19355 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
19356
19357 2014-01-23 Tom Tromey <tromey@redhat.com>
19358
19359 * gdb.ada/array_char_idx: New testcase.
19360
19361 2014-01-23 Tom Tromey <tromey@redhat.com>
19362
19363 PR python/16487:
19364 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
19365 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
19366 classes.
19367
19368 2014-01-23 Tom Tromey <tromey@redhat.com>
19369
19370 PR python/16491:
19371 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
19372 string from an inferior frame.
19373 * gdb.python/py-framefilter-mi.exp: Update.
19374
19375 2014-01-22 Doug Evans <dje@google.com>
19376
19377 * gdb.server/server-mon.exp: Add tests for "set debug-format".
19378
19379 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19380
19381 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
19382
19383 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19384
19385 * gdb.trace/entry-values.exp: Remove excess space character from
19386 regex patterns. Handle s390 call instruction.
19387
19388 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19389
19390 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
19391 define "*_start" label. Make "name" static.
19392 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
19393 ${name} by references to ${name}_start.
19394
19395 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19396
19397 * gdb.base/info-macros.exp: Remove "debug" from the compile
19398 options.
19399
19400 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19401
19402 * gdb.dlang/demangle.exp: New file.
19403
19404 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19405
19406 * gdb.dlang/primitive-types.exp: New file.
19407
19408 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19409
19410 * configure.ac: Create gdb.dlang/Makefile.
19411 * configure: Regenerate.
19412 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
19413 * gdb.dlang/Makefile.in: New file.
19414 * lib/d-support.exp: New file.
19415 * lib/gdb.exp (skip_d_tests): New proc.
19416
19417 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19418
19419 * gdb.btrace/delta.exp: Check reverse stepi.
19420 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
19421 * gdb.btrace/finish.exp: New.
19422 * gdb.btrace/next.exp: New.
19423 * gdb.btrace/nexti.exp: New.
19424 * gdb.btrace/record_goto.c: Add comments.
19425 * gdb.btrace/step.exp: New.
19426 * gdb.btrace/stepi.exp: New.
19427 * gdb.btrace/multi-thread-step.c: New.
19428 * gdb.btrace/multi-thread-step.exp: New.
19429 * gdb.btrace/rn-dl-bind.c: New.
19430 * gdb.btrace/rn-dl-bind.exp: New.
19431 * gdb.btrace/data.c: New.
19432 * gdb.btrace/data.exp: New.
19433 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19434
19435 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19436
19437 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19438 * gdb.btrace/exception.exp: Update.
19439 * gdb.btrace/instruction_history.exp: Update.
19440 * gdb.btrace/record_goto.exp: Update.
19441 * gdb.btrace/tailcall.exp: Update.
19442 * gdb.btrace/unknown_functions.exp: Update.
19443 * gdb.btrace/delta.exp: New.
19444
19445 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19446
19447 * gdb.btrace/record_goto.exp: Add backtrace test.
19448 * gdb.btrace/tailcall.exp: Add backtrace test.
19449
19450 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19451
19452 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19453 * gdb.btrace/record_goto.c: New.
19454 * gdb.btrace/record_goto.exp: New.
19455 * gdb.btrace/x86-record_goto.S: New.
19456
19457 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19458
19459 * gdb.btrace/function_call_history.exp: Update tests.
19460 * gdb.btrace/instruction_history.exp: Update tests.
19461
19462 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19463
19464 * gdb.btrace/function_call_history.exp: Fix expected field
19465 order for "record function-call-history".
19466 Add new tests for "record function-call-history /c".
19467 * gdb.btrace/exception.cc: New.
19468 * gdb.btrace/exception.exp: New.
19469 * gdb.btrace/tailcall.exp: New.
19470 * gdb.btrace/x86-tailcall.S: New.
19471 * gdb.btrace/x86-tailcall.c: New.
19472 * gdb.btrace/unknown_functions.c: New.
19473 * gdb.btrace/unknown_functions.exp: New.
19474 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19475
19476 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19477
19478 * gdb.btrace/instruction_history.exp: Update.
19479 * gdb.btrace/function_call_history.exp: Update.
19480
19481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19482
19483 * gdb.btrace/function_call_history.exp: Fix expected function
19484 trace.
19485 * gdb.btrace/instruction_history.exp: Initialize traced.
19486 Remove traced_functions.
19487
19488 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19489
19490 * gdb.btrace/function_call_history.exp: Update
19491 * gdb.btrace/instruction_history.exp: Update.
19492
19493 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19494
19495 * gdb.btrace/enable.exp: Update expected text.
19496
19497 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19498
19499 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19500 bytes.
19501
19502 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19503
19504 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19505
19506 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
19507
19508 * lib/gdb.exp (supports_process_record): Return true for
19509 arm*-linux*. (supports_reverse): Likewise.
19510
19511 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19512
19513 PR python/15464
19514 PR python/16113
19515 * gdb.python/py-type.c: Enhance test case.
19516 * gdb.python/py-value-cc.cc: Likewise
19517 * gdb.python/py-type.exp: Add new tests.
19518 * gdb.python/py-value-cc.exp: Likewise
19519
19520 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19521 Pedro Alves <palves@redhat.com>
19522
19523 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19524 Make "name" extern.
19525 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19526 references to ${name}_start by references to ${name}.
19527
19528 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19529
19530 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19531
19532 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19533
19534 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19535
19536 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19537 Pedro Alves <palves@redhat.com>
19538
19539 * gdb.mi/mi-info-os.exp: Connect to the target with
19540 mi_gdb_target_load.
19541
19542 2014-01-08 Pedro Alves <palves@redhat.com>
19543
19544 * gdb.threads/reconnect-signal.c: New file.
19545 * gdb.threads/reconnect-signal.exp: New file.
19546
19547 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19548
19549 * gdb.base/source-dir.exp: New file.
19550
19551 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19552
19553 * gdb.ada/mi_interface: New testcase.
19554
19555 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19556
19557 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19558 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19559 gdb.ada/pp-rec-component/pck.ads: New files.
19560
19561 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19562
19563 * gdb.python/py-pp-integral.c: New file.
19564 * gdb.python/py-pp-integral.py: New file.
19565 * gdb.python/py-pp-integral.exp: New file.
19566
19567 For older changes see ChangeLog-1993-2013.
19568 \f
19569 ;; Local Variables:
19570 ;; mode: change-log
19571 ;; left-margin: 8
19572 ;; fill-column: 74
19573 ;; version-control: never
19574 ;; End:
19575
19576 Copyright 2014-2020 Free Software Foundation, Inc.
19577 Copying and distribution of this file, with or without modification,
19578 are permitted provided the copyright notice and this notice are preserved.
This page took 0.452662 seconds and 5 git commands to generate.