]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix up changelog entry of previous delta
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
acb994fa
SM
12020-11-11 Simon Marchi <simon.marchi@efficios.com>
2
3 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
4 always-inserted" axis.
5 (do_test): Add breakpoint_always_inserted parameter.
6
95016fd2
TT
72020-11-10 Tom Tromey <tromey@adacore.com>
8
9 * gdb.ada/bias.exp: Update.
10 * gdb.ada/bias/bias.adb (X): Change value.
11
83100a74
GB
122020-11-10 Gary Benson <gbenson@redhat.com>
13
14 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
15 regexp fragment in parentheses to prevent false matching.
16
6ff174a7
GB
172020-11-10 Gary Benson <gbenson@redhat.com>
18
19 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
20
eb24648c
GB
212020-11-10 Gary Benson <gbenson@redhat.com>
22
23 * gdb.cp/step-and-next-inline.exp: Only require
24 -gstatement-frontiers when building with GCC.
25 Only setup KFAIL's for GCC issues when using
26 a GCC-built executable.
27
86775fab
AB
282020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
29
30 * gdb.base/debug-expr.c: Add extra function to allow for an
31 additional test.
32 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
33 to this proc with gdb_test_debug_expr. Add an extra test.
34 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
35 to this proc with gdb_test_debug_expr, give the tests names
36 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
37 calls to this proc with gdb_test_debug_expr, give the tests names
38 * gdb.fortran/debug-expr.exp: New file.
39 * gdb.fortran/debug-expr.f90: New file.
40 * lib/gdb.exp (gdb_test_debug_expr): New proc.
41
a1945bd4
SM
422020-11-06 Simon Marchi <simon.marchi@efficios.com>
43
44 * lib/dwarf.exp (ranges): Handle "base" and "range" as
45 proceduresu.
46 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
47 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
48 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
49 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
50 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
51 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
52 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
53 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
54
9c91c725
TT
552020-11-04 Tom Tromey <tromey@adacore.com>
56
57 * gdb.ada/funcall_ref.exp: Update.
58 * gdb.ada/var_rec_arr.exp: Update.
59
8d9fd3a1
TT
602020-11-04 Tom Tromey <tromey@adacore.com>
61
62 * gdb.ada/rec_ptype.exp: New file.
63 * gdb.ada/rec_ptype/main.adb: New file.
64 * gdb.ada/rec_ptype/p.ads: New file.
65
d8f62e84
TT
662020-11-04 Tom Tromey <tromey@adacore.com>
67
68 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
69 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
70 (PT_Full): New variable.
71 * gdb.ada/tick_length_array_enum_idx/pck.adb
72 (Full_PT): New type.
73
7ff5b937
TT
742020-11-04 Tom Tromey <tromey@adacore.com>
75
76 * gdb.ada/array_of_variant.exp: New file.
77 * gdb.ada/array_of_variant/p.adb: New file.
78 * gdb.ada/array_of_variant/pck.ads: New file.
79 * gdb.ada/array_of_variant/pck.adb: New file.
80
10f6a3ad
TT
812020-11-04 Tom Tromey <tromey@adacore.com>
82
83 * gdb.ada/enum_idx_packed.exp: Add test.
84 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
85 New variable.
86 * gdb.ada/enum_idx_packed/pck.ads (Short)
87 (Multi_Dimension, Multi_Dimension_Access): New types.
88
b72795a8
TT
892020-11-04 Tom Tromey <tromey@adacore.com>
90
91 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
92
24aa1b02
TT
932020-11-04 Tom Tromey <tromey@adacore.com>
94
95 * gdb.ada/set_pckd_arr_elt.exp: Also test
96 -fgnat-encodings=minimal. Add tests.
97 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
98 Call Update_Small a second time.
99 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
100 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
101 (Variant_Access): New types.
102 (New_Variant): Declare.
103
c9a28cbe
TT
1042020-11-04 Tom Tromey <tromey@adacore.com>
105
106 * gdb.ada/mod_from_name.exp: Test printing slice.
107
57567375
TT
1082020-11-04 Tom Tromey <tromey@adacore.com>
109
110 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
111 values.
112 * gdb.ada/access_to_unbounded_array.exp: Test different
113 -fgnat-encodings values.
114 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
115 values.
116 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
117 values.
118 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
119 values.
120 * gdb.ada/array_of_variable_length.exp: Test different
121 -fgnat-encodings values.
122 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
123 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
124 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
125 change.
126 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
127 values.
128 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
129 * gdb.ada/out_of_line_in_inlined.exp: Test different
130 -fgnat-encodings values.
131 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
132 values.
133 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
134 values.
135 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
136 -fgnat-encodings values.
137 * gdb.ada/variant_record_packed_array.exp: Test different
138 -fgnat-encodings values.
139
a7400e44
TT
1402020-11-04 Tom Tromey <tromey@adacore.com>
141
142 * gdb.ada/enum_idx_packed.exp: Add tests.
143 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
144 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
145 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
146 declarations.
147
c40907bf
TV
1482020-11-03 Tom de Vries <tdevries@suse.de>
149
150 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
151 terminator comments.
152 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
153 terminator.
154
f468977a
SM
1552020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
156
157 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
158 integer format test with regexp.
159
1c2bec19
GB
1602020-11-02 Gary Benson <gbenson@redhat.com>
161
162 * gdb.base/print-file-var.exp (test): Separate compiler and
163 linker options, and build using build_executable_from_specs
164 to accommodate this.
165
6539a36d
GB
1662020-11-02 Gary Benson <gbenson@redhat.com>
167
168 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
169 for .c files compiled as C++ with Clang if any shared
170 libraries are specified.
171
7ea44a51
GB
1722020-11-02 Gary Benson <gbenson@redhat.com>
173
174 * lib/attributes.h: New header.
175 * gdb.base/backtrace.c: Include the above. Replace
176 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
177 * gdb.base/infcall-nested-structs.c: Likewise.
178 * gdb.base/vla-optimized-out.c: Likewise.
179
ab8f783d
TV
1802020-11-02 Tom de Vries <tdevries@suse.de>
181
182 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
183
d77c9224
JB
1842020-11-01 Joel Brobecker <brobecker@adacore.com>
185
186 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
187 System.Min_Int and System.Max_Int with smaller hardcoded
188 constants.
189
0e5b0dd0
SM
1902020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
191
192 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
193 * configure: Re-generate.
194
136821d9
SM
1952020-10-30 Simon Marchi <simon.marchi@efficios.com>
196
197 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
198 expected output.
199
b78b3a29
TBA
2002020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
201
202 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
203 behavior.
204 * gdb.base/paginate-bg-execution.exp: Ditto.
205 * gdb.base/paginate-inferior-exit.exp: Ditto.
206 * gdb.base/double-prompt-target-event-error.c: Remove.
207 * gdb.base/double-prompt-target-event-error.exp: Remove.
208
cfaa8f76
TBA
2092020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
210
211 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
212 inferiors' and 'detach inferiors' do not change the current
213 inferior.
214
0ad0e70c
TV
2152020-10-29 Tom de Vries <tdevries@suse.de>
216
217 * gdb.threads/tls.exp: Fix DUPLICATEs.
218
99cc6b2a
TV
2192020-10-28 Tom de Vries <tdevries@suse.de>
220
221 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
222
efe9b873
TV
2232020-10-28 Tom de Vries <tdevries@suse.de>
224
225 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
226 * gdb.base/reread.exp: Same.
227
6b68fd45
TV
2282020-10-28 Tom de Vries <tdevries@suse.de>
229
230 * lib/gdb.exp (readnow): Handle arg.
231 * gdb.rust/traits.exp: Add KFAILs for -readnow.
232
32a5f98a
TV
2332020-10-28 Tom de Vries <tdevries@suse.de>
234
235 * gdb.base/relocate.exp: Update regexp for -readnow.
236
f93b8760
TV
2372020-10-28 Tom de Vries <tdevries@suse.de>
238
239 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
240 -readnow.
241
1b00ef06
TV
2422020-10-28 Tom de Vries <tdevries@suse.de>
243
244 PR symtab/26772
245 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
246 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
247
364bb903
TV
2482020-10-28 Tom de Vries <tdevries@suse.de>
249
250 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
251 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
252 complaint during file command for -readnow.
253
445a033f
TV
2542020-10-28 Tom de Vries <tdevries@suse.de>
255
256 * gdb.cp/nsalias.exp: Fix typo in test name.
257
fdd67a42
TV
2582020-10-28 Tom de Vries <tdevries@suse.de>
259
260 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
261
706baf4c
TV
2622020-10-28 Tom de Vries <tdevries@suse.de>
263
264 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
265 -readnow.
266
b448cca5
TV
2672020-10-27 Tom de Vries <tdevries@suse.de>
268
269 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
270
5868da03
TV
2712020-10-27 Tom de Vries <tdevries@suse.de>
272
273 * gdb.base/maint.exp: Update for -readnow.
274
06db6ec3
TV
2752020-10-27 Tom de Vries <tdevries@suse.de>
276
277 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
278 -readnow.
279
934a1764
GB
2802020-10-14 Gary Benson <gbenson@redhat.com>
281
282 * gdb.python/py-format-string.exp (test_deref_refs): Treat
283 "_vptr$Base" as correct, in addition to "_vptr.Base".
284 (test_mixed): Likewise.
285
0bf21fbd
GB
2862020-10-27 Gary Benson <gbenson@redhat.com>
287
288 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
289 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
290
b1d4d8d1
TBA
2912020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
292
293 * gdb.base/condbreak.exp: Update the completion tests to
294 consider the '-force' flag.
295
bd24c5d6
TV
2962020-10-27 Tom de Vries <tdevries@suse.de>
297
298 * gdb.base/list-ambiguous-readnow.exp: New file.
299
733d554a
TBA
3002020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
301
302 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
303 the condition.
304 * gdb.linespec/cpcompletion.exp: Update to consider the
305 '-force-condition' keyword.
306 * gdb.linespec/explicit.exp: Ditto.
307 * lib/completion-support.exp: Ditto.
308
b5fa468f
TBA
3092020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
310
311 * gdb.base/condbreak-multi-context.cc: New file.
312 * gdb.base/condbreak-multi-context.exp: New file.
313
b3247276
TT
3142020-10-26 Tom Tromey <tom@tromey.com>
315
316 * lib/mi-support.exp (default_mi_gdb_start): Call
317 gdb_stdin_log_init.
318 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
319 subtract one from gdb_instances.
320 (gdb_stdin_log_write): Flush in_file.
321
1c47ec3e
TV
3222020-10-26 Tom de Vries <tdevries@suse.de>
323
324 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
325
6390859c
TT
3262020-10-26 Tom Tromey <tromey@adacore.com>
327
328 * gdb.ada/unsigned_range/foo.adb: New file.
329 * gdb.ada/unsigned_range/pack.adb: New file.
330 * gdb.ada/unsigned_range/pack.ads: New file.
331 * gdb.ada/unsigned_range.exp: New file.
332
55c3ad88
TV
3332020-10-26 Tom de Vries <tdevries@suse.de>
334
335 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
336
1612c4bb
TV
3372020-10-26 Tom de Vries <tdevries@suse.de>
338
339 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
340 for CU.
341 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
342
7d72802b
TV
3432020-10-23 Tom de Vries <tdevries@suse.de>
344
345 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
346 DW_FORM_string.
347 (Dwarf::_default_form): New proc.
348 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
349 guessed.
350
9476b583
TV
3512020-10-23 Tom de Vries <tdevries@suse.de>
352
353 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
354 * gdb.dwarf2/atomic-type.exp: Same.
355 * gdb.dwarf2/bad-regnum.exp: Same.
356 * gdb.dwarf2/cpp-linkage-name.exp: Same.
357 * gdb.dwarf2/dw2-align.exp: Same.
358 * gdb.dwarf2/dw2-bad-elf.exp: Same.
359 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
360 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
361 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
362 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
363 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
364 * gdb.dwarf2/enum-type.exp: Same.
365 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
366 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
367 * gdb.dwarf2/main-subprogram.exp: Same.
368 * gdb.dwarf2/missing-type-name.exp: Same.
369 * gdb.dwarf2/nonvar-access.exp: Same.
370 * gdb.dwarf2/typedef-void-finish.exp: Same.
371 * gdb.dwarf2/var-access.exp: Same.
372 * gdb.dwarf2/void-type.exp: Same.
373
4a636814
SM
3742020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
375
376 PR gdb/26693
377 * gdb.dwarf2/template-specification-full-name.exp: New test.
378
557fc257
LM
3792020-10-22 Luis Machado <luis.machado@linaro.org>
380
381 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
382 expected an offset from the function.
383 * gdb.base/msym-bp.exp (test): Likewise.
384
6b4c676c
AB
3852020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
386
387 * gdb.fortran/array-slices.exp: Add a new test.
388
98cec4f6
GB
3892020-10-21 Gary Benson <gbenson@redhat.com>
390
391 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
392 fullname test with Clang. Also expand comments generally.
393
ae86f581
TV
3942020-10-20 Tom de Vries <tdevries@suse.de>
395
396 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
397
8c161360
TV
3982020-10-20 Tom de Vries <tdevries@suse.de>
399
400 * gdb.dwarf2/arr-stride.c: Remove.
401 * gdb.dwarf2/arr-stride.exp: Use main.c.
402 * gdb.dwarf2/arr-subrange.c: Remove.
403 * gdb.dwarf2/arr-subrange.exp: Use main.c.
404 * gdb.dwarf2/bad-regnum.c: Remove.
405 * gdb.dwarf2/bad-regnum.exp: Use main.c.
406 * gdb.dwarf2/corrupt.c: Remove.
407 * gdb.dwarf2/corrupt.exp: Use main.c.
408 * gdb.dwarf2/dw2-bad-elf.c: Remove.
409 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
410 * gdb.dwarf2/dw2-icycle.c: Remove.
411 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
412 * gdb.dwarf2/formdata16.c: Remove.
413 * gdb.dwarf2/formdata16.exp: Use main.c.
414 * gdb.dwarf2/implptrconst.c: Remove.
415 * gdb.dwarf2/implptrconst.exp: Use main.c.
416 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
417 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
418 * gdb.dwarf2/opaque-type-lookup.c: Remove.
419 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
420
9c2412ec
TV
4212020-10-20 Tom de Vries <tdevries@suse.de>
422
423 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
424 file.
425 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
426
0cd2ad78
TV
4272020-10-20 Tom de Vries <tdevries@suse.de>
428
429 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
430 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
431 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
432 * gdb.dwarf2/dw2-ranges-base.exp: Same.
433 * gdb.dwarf2/dw2-ranges.exp: Same.
434 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
435 * gdb.dwarf2/var-access.exp: Same.
436
22cc388e
TT
4372020-10-19 Tom Tromey <tromey@adacore.com>
438
439 PR tui/26719
440 * gdb.tui/list.exp: Check source window contents after focus
441 change.
442
520596f2
TV
4432020-10-17 Tom de Vries <tdevries@suse.de>
444
445 PR symtab/26317
446 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
447
d1c8a76d
TV
4482020-10-17 Tom de Vries <tdevries@suse.de>
449
450 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
451 as suffix.
452 * gdb.dwarf2/atomic.c: Rename to ...
453 * gdb.dwarf2/atomic-type.c: ... this.
454 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
455 * gdb.dwarf2/dw2-ranges-2.c: ... this.
456 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
457 * gdb.dwarf2/dw2-ranges-3.c: ... this.
458 * gdb.dwarf2/fission-mix2.c: Rename to ...
459 * gdb.dwarf2/fission-mix-2.c: ... this.
460 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
461 standard_testfile.
462 * gdb.dwarf2/ada-valprint-error.exp: Same.
463 * gdb.dwarf2/arr-stride.exp: Same.
464 * gdb.dwarf2/arr-subrange.exp: Same.
465 * gdb.dwarf2/atomic-type.exp: Same.
466 * gdb.dwarf2/bad-regnum.exp: Same.
467 * gdb.dwarf2/break-inline-psymtab.exp: Same.
468 * gdb.dwarf2/clang-debug-names-2.exp: Same.
469 * gdb.dwarf2/clang-debug-names.exp: Same.
470 * gdb.dwarf2/comp-unit-lang.exp: Same.
471 * gdb.dwarf2/corrupt.exp: Same.
472 * gdb.dwarf2/count.exp: Same.
473 * gdb.dwarf2/cpp-linkage-name.exp: Same.
474 * gdb.dwarf2/data-loc.exp: Same.
475 * gdb.dwarf2/dw2-align.exp: Same.
476 * gdb.dwarf2/dw2-bad-elf.exp: Same.
477 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
478 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
479 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
480 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
481 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
482 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
483 * gdb.dwarf2/dw2-inline-param.exp: Same.
484 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
485 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
486 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
487 * gdb.dwarf2/dw2-is-stmt.exp: Same.
488 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
489 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
490 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
491 * gdb.dwarf2/dw2-param-error.exp: Same.
492 * gdb.dwarf2/dw2-ranges-base.exp: Same.
493 * gdb.dwarf2/dw2-ranges.exp: Same.
494 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
495 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
496 * gdb.dwarf2/dw4-sig-types.exp: Same.
497 * gdb.dwarf2/dynarr-ptr.exp: Same.
498 * gdb.dwarf2/enum-type.exp: Same.
499 * gdb.dwarf2/fission-mix.exp: Same.
500 * gdb.dwarf2/formdata16.exp: Same.
501 * gdb.dwarf2/implptrconst.exp: Same.
502 * gdb.dwarf2/implptrpiece.exp: Same.
503 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
504 * gdb.dwarf2/main-subprogram.exp: Same.
505 * gdb.dwarf2/method-ptr.exp: Same.
506 * gdb.dwarf2/missing-sig-type.exp: Same.
507 * gdb.dwarf2/nonvar-access.exp: Same.
508 * gdb.dwarf2/opaque-type-lookup.exp: Same.
509 * gdb.dwarf2/shortpiece.exp: Same.
510 * gdb.dwarf2/staticvirtual.exp: Same.
511 * gdb.dwarf2/subrange.exp: Same.
512 * gdb.dwarf2/symtab-producer.exp: Same.
513 * gdb.dwarf2/typedef-void-finish.exp: Same.
514 * gdb.dwarf2/var-access.exp: Same.
515 * gdb.dwarf2/variant.exp: Same.
516 * gdb.dwarf2/void-type.exp: Same.
517 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
518 dw2-ranges-main.c.
519 * gdb.dwarf2/dw2-ranges-main.c: Remove.
520
472d09c1
TV
5212020-10-16 Tom de Vries <tdevries@suse.de>
522
523 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
524
afe75f6d
TV
5252020-10-16 Tom de Vries <tdevries@suse.de>
526
527 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
528
8c8bd0ba
TV
5292020-10-14 Tom de Vries <tdevries@suse.de>
530
531 PR testsuite/26732
532 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
533 scenario 2.
534 * gdb.ada/mi_catch_ex_hand.exp: Same.
535
b75d55d4
PA
5362020-10-13 Pedro Alves <pedro@palves.net>
537
538 * lib/mi-support.exp (mi_clean_restart): New.
539 (mi_run_to_main): Delete.
540 All callers adjust to use mi_clean_restart / mi_runto_main.
541
e777225b
PA
5422020-10-13 Pedro Alves <pedro@palves.net>
543
544 * config/monitor.exp: Use "list -q".
545 * gdb.arch/gdb1558.exp: Use "break -q".
546 * gdb.arch/i386-permbkpt.exp: Use "break -q".
547 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
548 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
549 * gdb.base/commands.exp: Use "break -q".
550 * gdb.base/condbreak.exp: Use "break -q".
551 * gdb.base/ctf-ptype.exp: Use "list -q".
552 * gdb.base/define.exp: Use "break -q".
553 * gdb.base/del.exp: Use "break -q".
554 * gdb.base/fullname.exp: Use "break -q".
555 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
556 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
557 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
558 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
559 "hbreak -q".
560 * gdb.base/included.exp: Use "list -q".
561 * gdb.base/label.exp: Use "break -q".
562 * gdb.base/lineinc.exp: Use "break -q".
563 * gdb.base/list.exp: Use "list -q".
564 * gdb.base/macscp.exp: Use "list -q".
565 * gdb.base/pending.exp: Use "break -q".
566 * gdb.base/prologue-include.exp: Use "break -q".
567 * gdb.base/ptype.exp: Use "list -q".
568 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
569 * gdb.base/server-del-break.exp: Use "break -q".
570 * gdb.base/style.exp: Use "break -q".
571 * gdb.base/symbol-without-target_section.exp: Use "list -q".
572 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
573 * gdb.cp/exception.exp: Use "tbreak -q".
574 * gdb.dwarf2/dw2-error.exp: Use "break -q".
575 * gdb.dwarf2/fission-mix.exp: Use "break -q".
576 * gdb.dwarf2/fission-reread.exp: Use "break -q".
577 * gdb.dwarf2/pr13961.exp: Use "break -q".
578 * gdb.linespec/explicit.exp: Use "list -q".
579 * gdb.linespec/linespec.exp: Use "break -q".
580 * gdb.mi/mi-simplerun.exp: Use "--qualified".
581 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
582 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
583 * gdb.server/connect-without-multi-process.exp: Use "break -q".
584 * gdb.trace/change-loc.exp: Use "break -q".
585 * gdb.trace/pending.exp: Use "break -q".
586 * gdb.tui/basic.exp: Use "list -q".
587 * gdb.tui/list-before.exp: Use "list -q".
588 * gdb.tui/list.exp: Use "list -q".
589 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
590
8abd8ee8
PA
5912020-10-13 Pedro Alves <pedro@palves.net>
592
593 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
594 saved breakpoints file.
595 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
596 inspecting breakpoint list.
597 * lib/gdb.exp (runto_main): Add "qualified" to options.
598 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
599 and handle it.
600 (mi_runto_main): Pass 1 as qualified argument.
601
f71e6719
PA
6022020-10-13 Pedro Alves <pedro@palves.net>
603
604 * lib/mi-support.exp (mi_runto_main): New proc.
605 (mi_run_to_main): Use it.
606 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
607 * gdb.mi/mi-var-cmd.exp: Likewise.
608 * gdb.mi/mi-var-invalidate.exp: Likewise.
609 * mi-var-list-children-invalid-grandchild.exp: Likewise.
610 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
611 * gdb.mi/new-ui-mi-sync.exp: Likewise.
612 * gdb.mi/user-selected-context-sync.exp: Likewise.
613 * gdb.opt/inline-cmds.exp: Likewise.
614 * gdb.python/py-framefilter-mi.exp: Likewise.
615 * gdb.python/py-mi.exp: Likewise.
616
50441f0f
PA
6172020-10-13 Pedro Alves <pedro@palves.net>
618
619 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
620 "runto main".
621 * gdb.ada/small_reg_param.exp: Likewise.
622 * gdb.arch/powerpc-d128-regs.exp: Likewise.
623 * gdb.base/annota1.exp: Likewise.
624 * gdb.base/anon.exp: Likewise.
625 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
626 * gdb.base/dprintf-non-stop.exp: Likewise.
627 * gdb.base/dprintf.exp: Likewise.
628 * gdb.base/gdb11530.exp: Likewise.
629 * gdb.base/gdb11531.exp: Likewise.
630 * gdb.base/gnu_vector.exp: Likewise.
631 * gdb.base/interrupt-noterm.exp: Likewise.
632 * gdb.base/memattr.exp: Likewise.
633 * gdb.base/step-over-syscall.exp: Likewise.
634 * gdb.base/watch-cond-infcall.exp: Likewise.
635 * gdb.base/watch-read.exp: Likewise.
636 * gdb.base/watch-vfork.exp: Likewise.
637 * gdb.base/watch_thread_num.exp: Likewise.
638 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
639 * gdb.guile/scm-frame-inline.exp: Likewise.
640 * gdb.linespec/explicit.exp: Likewise.
641 * gdb.opt/inline-break.exp: Likewise.
642 * gdb.python/py-frame-inline.exp: Likewise.
643 * gdb.reverse/break-precsave.exp: Likewise.
644 * gdb.reverse/break-reverse.exp: Likewise.
645 * gdb.reverse/consecutive-precsave.exp: Likewise.
646 * gdb.reverse/consecutive-reverse.exp: Likewise.
647 * gdb.reverse/finish-precsave.exp: Likewise.
648 * gdb.reverse/finish-reverse.exp: Likewise.
649 * gdb.reverse/fstatat-reverse.exp: Likewise.
650 * gdb.reverse/getresuid-reverse.exp: Likewise.
651 * gdb.reverse/i386-precsave.exp: Likewise.
652 * gdb.reverse/i386-reverse.exp: Likewise.
653 * gdb.reverse/i386-sse-reverse.exp: Likewise.
654 * gdb.reverse/i387-env-reverse.exp: Likewise.
655 * gdb.reverse/i387-stack-reverse.exp: Likewise.
656 * gdb.reverse/insn-reverse.exp: Likewise.
657 * gdb.reverse/machinestate-precsave.exp: Likewise.
658 * gdb.reverse/machinestate.exp: Likewise.
659 * gdb.reverse/pipe-reverse.exp: Likewise.
660 * gdb.reverse/readv-reverse.exp: Likewise.
661 * gdb.reverse/recvmsg-reverse.exp: Likewise.
662 * gdb.reverse/rerun-prec.exp: Likewise.
663 * gdb.reverse/s390-mvcle.exp: Likewise.
664 * gdb.reverse/solib-precsave.exp: Likewise.
665 * gdb.reverse/solib-reverse.exp: Likewise.
666 * gdb.reverse/step-precsave.exp: Likewise.
667 * gdb.reverse/step-reverse.exp: Likewise.
668 * gdb.reverse/time-reverse.exp: Likewise.
669 * gdb.reverse/until-precsave.exp: Likewise.
670 * gdb.reverse/until-reverse.exp: Likewise.
671 * gdb.reverse/waitpid-reverse.exp: Likewise.
672 * gdb.reverse/watch-precsave.exp: Likewise.
673 * gdb.reverse/watch-reverse.exp: Likewise.
674 * gdb.threads/kill.exp: Likewise.
675 * gdb.threads/tid-reuse.exp: Likewise.
676
d3a07122
SM
6772020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
678
679 PR gdb/26642
680 * gdb.base/maint-target-async-off.c: New test.
681 * gdb.base/maint-target-async-off.exp: New test.
682
c65c6c42
AM
6832020-10-13 Alan Modra <amodra@gmail.com>
684
685 * gdb.arch/powerpc-altivec.s,
686 * gdb.arch/powerpc-power7.s,
687 * gdb.arch/powerpc-power8.s,
688 * gdb.arch/powerpc-power9.s,
689 * gdb.arch/powerpc-vsx.s,
690 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
691 * gdb.arch/powerpc-altivec.exp,
692 * gdb.arch/powerpc-power7.exp,
693 * gdb.arch/powerpc-power8.exp,
694 * gdb.arch/powerpc-power9.exp,
695 * gdb.arch/powerpc-vsx.exp,
696 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
697 disassembly of mfvsrd/mtvsrd.
698
f4a0f710
AM
6992020-10-13 Alan Modra <amodra@gmail.com>
700
701 * gdb.arch/arm-disassembler-options.exp: Adjust expected
702 "target architecture" output.
703 * gdb.arch/powerpc-d128-regs.exp: Likewise.
704 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
705 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
706 * gdb.arch/s390-disassembler-options.exp: Likewise.
707
87a37e5e
PA
7082020-10-12 Pedro Alves <pedro@palves.net>
709
710 PR exp/26602
711 PR c++/26550
712 * gdb.cp/ambiguous.cc (marker1): Delete.
713 (main): Initialize all the fields of the locals. Replace marker1
714 call with a "set breakpoint here" marker.
715 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
716 instead of running to marker1. Add tests printing all the
717 variables and all the fields of the variables.
718 (test_ambiguous): New proc, expecting the new GDB output when a
719 field access is ambiguous. Change all "warning: X ambiguous"
720 tests to use it.
721
71e1b6b0
GB
7222020-10-12 Gary Benson <gbenson@redhat.com>
723
724 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
725 * gdb.base/msym-bp-2.c (foo): Likewise.
726 * gdb.base/msym-lang.c (foo): Likewise.
727 * gdb.base/msym-lang-main.c (foo): Likewise.
728 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
729 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
730 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
731 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
732 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
733 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
734 * gdb.python/py-objfile.c (static_var): Likewise.
735 * gdb.python/py-symbol.c (rr): Likewise.
736 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
737 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
738
9370fd51
AB
7392020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
740
741 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
742 output of backtrace.
743
7c184d33
TT
7442020-10-09 Tom Tromey <tromey@adacore.com>
745
746 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
747 (Rec): Add field. Fix range.
748 * gdb.ada/scalar_storage.exp: Update.
749
3d87245c
HD
7502020-10-09 Hannes Domani <ssbssa@yahoo.de>
751
752 PR exp/26714
753 * gdb.base/printcmds.exp: Add tests for void results.
754
f5c4b229
JV
7552020-10-09 Jan Vrany <jan.vrany@labware.com>
756
757 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
758 is emmited for both 'set directories' and 'directory' commands.
759
b2701685
TT
7602020-10-08 Tom Tromey <tom@tromey.com>
761
762 * gdb.base/style.exp: Check that "main"'s name is styled.
763
e86efb33
TT
7642020-10-07 Tom Tromey <tromey@adacore.com>
765
766 * gdb.base/find.exp: Rename some tests.
767
30897591
GB
7682020-10-06 Gary Benson <gbenson@redhat.com>
769
770 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
771 * gdb.base/list1.c (unused): Likewise.
772
ced4a4c1
GB
7732020-10-06 Gary Benson <gbenson@redhat.com>
774
775 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
776 __attribute__ ((used)).
777 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
778
ed3bdac4
AB
7792020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
780
781 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
782 make use of regions throughout.
783 * gdb.base/overlays.exp: Enclose string with variableds in "..",
784 not {...}.
785 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
786
cd096ec8
HD
7872020-10-05 Hannes Domani <ssbssa@yahoo.de>
788
789 * gdb.base/call-sc.c: Fix return struct on stack test case.
790 * gdb.base/call-sc.exp: Likewise.
791
3ee6f75d
GB
7922020-10-02 Gary Benson <gbenson@redhat.com>
793
794 * README: Fix "paralell".
795
f65825ec
GB
7962020-09-30 Gary Benson <gbenson@redhat.com>
797
798 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
799 Convert directive to lowercase.
800 (.Labbrev1_begin): Add missing label.
801 (abbrev code 0x1): Remove DW_AT_stmt_list.
802 (.Ldie_b): Likewise.
803
5f278258
TT
8042020-09-27 Tom Tromey <tom@tromey.com>
805
806 * gdb.tui/new-layout.exp: Use with_test_prefix.
807
8f9929bb
GR
8082020-09-26 Gareth Rees <grees@undo.io> (tiny change)
809
810 PR python/26586
811 * gdb.python/python.exp: add test cases for the from_tty
812 argument to gdb.execute.
813
c20c017b
GB
8142020-09-25 Gary Benson <gbenson@redhat.com>
815
816 * gdb.base/infcall-nested-structs.exp.tcl: Add
817 additional_flags=-Wno-tautological-compare for C++
818 tests when compiling using Clang.
819
68d654af
GB
8202020-09-25 Gary Benson <gbenson@redhat.com>
821
822 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
823 for .c files.
824
b551a89f
TT
8252020-09-24 Tom Tromey <tromey@adacore.com>
826
827 PR tui/26638:
828 * gdb.tui/list.exp: Check output of "focus next".
829
20a5fcbd
TT
8302020-09-23 Tom Tromey <tom@tromey.com>
831
832 * gdb.dwarf2/intbits.exp: New file.
833 * gdb.dwarf2/intbits.c: New file.
834
b167e53f
PA
8352020-09-20 Pedro Alves <pedro@palves.net>
836
837 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
838 spawn_id before calling remote_close. Close secondary MI channel.
839
dbc49e9f
PA
8402020-09-20 Pedro Alves <pedro@palves.net>
841
842 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
843 fails.
844
c8d5abea
AB
8452020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
846
847 * gdb.fortran/array-slices.exp: Update expected results.
848 * gdb.fortran/class-allocatable-array.exp: Likewise.
849 * gdb.fortran/multi-dim.exp: Likewise.
850 * gdb.fortran/vla-type.exp: Likewise.
851 * gdb.mi/mi-vla-fortran.exp: Likewise.
852
14f9473c
VC
8532020-09-18 Victor Collod <vcollod@nvidia.com>
854
855 PR gdb/26635
856 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
857 compatible with i386, and move it to...
858 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
859 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
860 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
861
e8ef12b9
PA
8622020-09-18 Pedro Alves <pedro@palves.net>
863
864 PR gdb/26631
865 * gdb.multi/multi-target-thread-find.exp: New file.
866
e11daf7a
PA
8672020-09-18 Pedro Alves <pedro@palves.net>
868
869 * gdb.multi/multi-target-continue.exp: New file, factored out from
870 multi-target.exp.
871 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
872 multi-target.exp.
873 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
874 multi-target.exp.
875 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
876 multi-target.exp.
877 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
878 multi-target.exp.
879 * gdb.multi/multi-target.exp.tcl: New file, factored out from
880 multi-target.exp.
881 * gdb.multi/multi-target.exp: Delete.
882
d0edc2b8
AB
8832020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
884
885 * gdb.fortran/array-slices.exp: Add missing message data.
886
7474326c
PA
8872020-09-17 Pedro Alves <pedro@palves.net>
888
889 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
890
dd23068d
PA
8912020-09-17 Pedro Alves <pedro@palves.net>
892
893 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
894 full prototype.
895
0640a543
PA
8962020-09-17 Pedro Alves <pedro@palves.net>
897
898 * gdb.python/py-as-string.c: Add cast.
899
ef0cdbc1
PA
9002020-09-17 Pedro Alves <pedro@palves.net>
901
902 * gdb.base/sizeof.c (fill): Add cast.
903
3a5eeb8b
PA
9042020-09-17 Pedro Alves <pedro@palves.net>
905
906 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
907
a8129512
PA
9082020-09-17 Pedro Alves <pedro@palves.net>
909
910 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
911 linkage name.
912 * gdb.base/prologue.exp: Use print /d.
913 * gdb.base/symbol-alias.exp: Handle C++ output.
914 * gdb.base/symbol-alias2.c: Handle C++ output.
915 [__cplusplus] (func): Explicitly specify linkage name.
916
a83cdcb6
PA
9172020-09-17 Pedro Alves <pedro@palves.net>
918
919 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
920 (struct my_key_t): ... this. Adjust all references.
921 (struct value_t): Rename to ...
922 (struct my_value_t): ... this. Adjust all references.
923 (create_map, add_map_element, create_map_map)
924 (add_map_map_element): Add casts.
925
d4bcee5c
PA
9262020-09-17 Pedro Alves <pedro@palves.net>
927
928 * gdb.python/py-framefilter-mi.c (funca): Add casts.
929 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
930
81f90489
PA
9312020-09-17 Pedro Alves <pedro@palves.net>
932
933 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
934
0a229804
PA
9352020-09-17 Pedro Alves <pedro@palves.net>
936
937 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
938 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
939 (charfoo, intfoo): Define full prototype.
940 * gdb.base/ptype1.c (charfoo): Define full prototype.
941 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
942 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
943
c3e5138d
PA
9442020-09-17 Pedro Alves <pedro@palves.net>
945
946 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
947 Don't define.
948 (utf_32_string): Compile for both C and C++.
949 * gdb.base/charset.exp: Use "print /d".
950
151fdbad
PA
9512020-09-17 Pedro Alves <pedro@palves.net>
952
953 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
954 (nullptr): Rename to ...
955 (null_ptr): ... this.
956 * gdb.base/watchpoint.exp: Adjust to rename.
957
18a25b64
PA
9582020-09-17 Pedro Alves <pedro@palves.net>
959
960 * gdb.base/printcmds.c (three, flag_enum_without_zero)
961 (three_not_flag): Add casts.
962
11fac337
PA
9632020-09-17 Pedro Alves <pedro@palves.net>
964
965 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
966 char array.
967 (main): Add references to Barrier, TestStrings, TestStringsH and
968 TestStringsW.
969 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
970 and expect a full prototype in C++.
971
52626c58
PA
9722020-09-17 Pedro Alves <pedro@palves.net>
973
974 * gdb.base/nested-addr.c (main): Add cast.
975 * gdb.base/nested-addr.exp: Use "print /d".
976
52bb0902
PA
9772020-09-17 Pedro Alves <pedro@palves.net>
978
979 * gdb.base/break.exp (func): New. Use it throughout when
980 expecting a function name.
981
73e18ac9
PA
9822020-09-17 Pedro Alves <pedro@palves.net>
983
984 * gdb.base/display.exp: Issue "set print asm-demangle on".
985
c8b18808
PA
9862020-09-17 Pedro Alves <pedro@palves.net>
987
988 * gdb.base/find.c: Include <string.h>.
989 (init_bufs): Add cast.
990 * gdb.base/find.exp: Issue "set print asm-demangle on".
991
fe830662
TT
9922020-09-16 Tom Tromey <tromey@adacore.com>
993
994 PR gdb/26598:
995 * gdb.base/skipcxx.exp: New file.
996 * gdb.base/skipcxx.cc: New file.
997
945ff6e2
TV
9982020-09-16 Tom de Vries <tdevries@suse.de>
999
1000 PR testsuite/26617
1001 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1002 WITH_DEBUG_SECTIONS is defined.
1003 (xstr, str): New macro.
1004 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1005 to get start and size of _Dmain.
1006 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1007 using additional_flags.
1008
da1df1db
TBA
10092020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1010
1011 * gdb.base/bp-cmds-sourced-script.c: New file.
1012 * gdb.base/bp-cmds-sourced-script.exp: New test.
1013 * gdb.base/bp-cmds-sourced-script.gdb: New file.
1014
337882d4
TV
10152020-09-16 Tom de Vries <tdevries@suse.de>
1016
1017 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
1018 get the gdb prompt after issuing "monitor exit".
1019
7361f908
TV
10202020-09-16 Tom de Vries <tdevries@suse.de>
1021
1022 PR testsuite/26624
1023 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
1024
4d91ddd3
TV
10252020-09-16 Tom de Vries <tdevries@suse.de>
1026
1027 PR testsuite/26618
1028 * gdb.tui/new-layout.exp: Escape unbalanced braces.
1029
08cc37dd
TT
10302020-09-15 Tom Tromey <tromey@adacore.com>
1031
1032 PR rust/26197:
1033 * lib/rust-support.exp (rust_llvm_version): New proc.
1034 * gdb.rust/simple.exp: Check rust_llvm_version.
1035
ee6372f2
TV
10362020-09-14 Tom de Vries <tdevries@suse.de>
1037
1038 * gdb.rust/traits.exp: Fix PATH warning.
1039
dc3a371e
PA
10402020-09-13 Pedro Alves <pedro@palves.net>
1041
1042 * gdb.base/catch-follow-exec.c (main): Add explicit return
1043 statement.
1044 * gdb.base/catch-signal.c (main): Likewise.
1045 * gdb.base/condbreak-call-false.c (main): Likewise.
1046 * gdb.base/consecutive.c (main): Add explicit return
1047 statement and return type.
1048 * gdb.base/cursal.c (main): Add explicit return statement.
1049 * gdb.base/cvexpr.c (main): Likewise.
1050 * gdb.base/display.c (main): Add explicit return statement and
1051 return type.
1052 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
1053 * gdb.base/endianity.c (main): Likewise.
1054 * gdb.base/execd-prog.c (main): Likewise.
1055 * gdb.base/gdb1090.c (main): Likewise.
1056 * gdb.base/info_qt.c (main): Likewise.
1057 * gdb.base/lineinc.c (main): Likewise.
1058 * gdb.base/load-command.c (main): Likewise.
1059 * gdb.base/macscp1.c (main): Likewise.
1060 * gdb.base/pr10179-a.c (main): Likewise.
1061 * gdb.base/quit-live.c (main): Likewise.
1062 * gdb.base/scope0.c (main): Likewise.
1063 * gdb.base/settings.c (main): Likewise.
1064 * gdb.base/stack-checking.c (main): Return int.
1065 * gdb.base/varargs.c (main): Add explicit return statement.
1066 * gdb.cp/ambiguous.cc (main): Likewise.
1067 * gdb.cp/anon-struct.cc (main): Likewise.
1068 * gdb.cp/anon-union.cc (main): Likewise.
1069 * gdb.cp/bool.cc (main): Likewise.
1070 * gdb.cp/bs15503.cc (main): Likewise.
1071 * gdb.cp/cplusfuncs.cc (main): Likewise.
1072 * gdb.cp/cttiadd.cc (main): Likewise.
1073 * gdb.cp/extern-c.cc (main): Likewise.
1074 * gdb.cp/filename.cc (main): Likewise.
1075 * gdb.cp/formatted-ref.cc (main): Likewise.
1076 * gdb.cp/mb-ctor.cc (main): Likewise.
1077 * gdb.cp/member-ptr.cc (main): Likewise.
1078 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
1079 * gdb.cp/overload-const.cc (main): Likewise.
1080 * gdb.cp/paren-type.cc (main): Likewise.
1081 * gdb.cp/parse-lang.cc (main): Likewise.
1082 * gdb.cp/pr-1023.cc (main): Likewise.
1083 * gdb.cp/psmang1.cc (main): Likewise.
1084 * gdb.cp/readnow-language.cc (main): Likewise.
1085 * gdb.cp/ref-params.cc (main): Likewise.
1086 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
1087 * gdb.cp/virtbase2.cc (main): Likewise.
1088 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
1089 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
1090 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
1091 * gdb.mi/mi-console.c (main): Likewise.
1092 * gdb.mi/mi-read-memory.c (main): Likewise.
1093 * gdb.modula2/multidim.c (main): Likewise.
1094 * gdb.opt/inline-small-func.c (main): Likewise.
1095 * gdb.python/py-rbreak.c (main): Likewise.
1096 * gdb.stabs/exclfwd1.c (main): Likewise.
1097 * gdb.trace/qtro.c (main): Likewise.
1098
af26601c
PA
10992020-09-13 Pedro Alves <pedro@palves.net>
1100
1101 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
1102 instead of getenv.
1103
2f4b83cd
PA
11042020-09-13 Pedro Alves <pedro@palves.net>
1105
1106 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
1107 instead of spawning GDB with remote_spawn.
1108 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
1109 gdb_spawn instead of spawning GDB with remote_spawn.
1110
c49da0e4
PA
11112020-09-13 Pedro Alves <pedro@palves.net>
1112
1113 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
1114 file and add calls to first and second.
1115 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
1116 add call to f.
1117
6791b117
PA
11182020-09-13 Pedro Alves <pedro@palves.net>
1119
1120 * gdb.mi/mi-break-qualified.cc: New file.
1121 * gdb.mi/mi-break-qualified.exp: New file.
1122 * lib/mi-support.exp (mi_create_breakpoint_multi)
1123 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
1124 procedures.
1125 (mi_create_breakpoint_1): New, factored out from
1126 mi_create_breakpoint.
1127
3b8d4c5c
PA
11282020-09-13 Pedro Alves <pedro@palves.net>
1129
1130 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
1131 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
1132 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
1133 (register_class): Delete.
1134 (main): Don't call register_class.
1135
d5f96005
PA
11362020-09-13 Pedro Alves <pedro@palves.net>
1137
1138 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
1139 (do_tests): Remove "calling method for small class" test.
1140 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
1141 (register_class): Delete.
1142 (main): Don't call register_class.
1143 * gdb.cp/call-method-register.exp: New file, based on bits removed
1144 from classes.exp.
1145 * gdb.cp/call-method-register.cc: New file, based on bits removed
1146 from classes.cc.
1147
77f2120b
PA
11482020-09-13 Pedro Alves <pedro@palves.net>
1149
1150 * gdb.base/msym-bp-2.c: New.
1151 * gdb.base/msym-bp-shl-lib.c: New file.
1152 * gdb.base/msym-bp-shl-main-2.c: New file.
1153 * gdb.base/msym-bp-shl-main.c: New file.
1154 * gdb.base/msym-bp-shl.exp: New file.
1155 * gdb.base/msym-bp.c: New file.
1156 * gdb.base/msym-bp.exp: New file.
1157
32aea73e
JB
11582020-09-13 Joel Brobecker <brobecker@adacore.com>
1159
1160 * gdb.base/default.exp: Change $_gdb_major to 11.
1161
2a67f09d
FW
11622020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
1163 Felix Willgerodt <Felix.Willgerodt@intel.com>
1164
1165 * x86-avx512bf16.c: New file.
1166 * x86-avx512bf16.exp: Likewise.
1167 * lib/gdb.exp (skip_avx512bf16_tests): New function.
1168
ad570dd7
TV
11692020-09-11 Tom de Vries <tdevries@suse.de>
1170
1171 PR exp/26602
1172 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
1173
a56f7391
TBA
11742020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1175
1176 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
1177
918619e5
AM
11782020-09-10 Alan Modra <amodra@gmail.com>
1179
1180 PR 26597
1181 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
1182
cac1e71d
TV
11832020-09-08 Tom de Vries <tdevries@suse.de>
1184
1185 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
1186 after gdb_starti_cmd.
1187
c5cd900e
AKS
11882020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1189
1190 * lib/fortran.exp (fortran_complex8): New proc.
1191 (fortran_complex16): New proc.
1192 * gdb.fortran/complex.exp: Use routines from fortran.exp
1193 * gdb.fortran/pointer-to-pointer.exp: Likewise.
1194 * gdb.fortran/vla-ptr-info.exp: Likewise.
1195
8f5c6526
TV
11962020-09-03 Tom de Vries <tdevries@suse.de>
1197
1198 PR breakpoint/26546
1199 * gdb.base/label-without-address.exp: Runto main first.
1200
02c6f3f1
TT
12012020-09-02 Tom Tromey <tromey@adacore.com>
1202
1203 * gdb.ada/mi_var_access.exp: Test children of access variable.
1204 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
1205 * gdb.ada/mi_var_array.exp: Update.
1206
efe24f05
KB
12072020-08-31 Kevin Buettner <kevinb@redhat.com>
1208
1209 * gdb.base/corefile.exp (warning-free): XFAIL test when running
1210 on docker w/ AUFS storage driver.
1211
973695d6
KB
12122020-08-31 Kevin Buettner <kevinb@redhat.com>
1213
1214 * gdb.base/corefile2.exp (renamed binfile): New tests.
1215
f3bd50f1
SM
12162020-08-31 Simon Marchi <simon.marchi@efficios.com>
1217
1218 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
1219
22b9b4b0
SL
12202020-08-31 Simon Marchi <simon.marchi@efficios.com>
1221
1222 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1223 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1224
8efaf6b3
SM
12252020-08-31 Simon Marchi <simon.marchi@efficios.com>
1226
1227 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1228 output, printing a "not saved" value from history and printing a
1229 convenience variable created from a "not saved" value.
1230
e840f2e3
TV
12312020-08-31 Tom de Vries <tdevries@suse.de>
1232
1233 * gdb.base/eh_return.exp: Use nopie.
1234
8f57f343
PA
12352020-08-28 Pedro Alves <pedro@palves.net>
1236
1237 * gdb.base/advance-until-multiple-locations.exp
1238 (advance_overload, until_overload): Adjust to match the
1239 frame/function header instead of the source line text.
1240
626d2320
TV
12412020-08-28 Tom de Vries <tdevries@suse.de>
1242
1243 * gdb.base/label-without-address.c: New test.
1244 * gdb.base/label-without-address.exp: New file.
1245
df631783
PA
12462020-08-27 Pedro Alves <pedro@palves.net>
1247
1248 PR gdb/26523
1249 PR gdb/26524
1250 * gdb.base/advance-until-multiple-locations.cc: New.
1251 * gdb.base/advance-until-multiple-locations.exp: New.
1252
48b076bb
SM
12532020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1254
1255 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1256
c2015ce4
AB
12572020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1258
1259 * gdb.arch/amd64-byte.exp: Make test names unique, use
1260 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1261 * gdb.arch/amd64-dword.exp: Likewise.
1262 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1263 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1264 unique.
1265 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1266 * gdb.arch/amd64-word.exp: Make test names unique, use
1267 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1268 * gdb.arch/i386-byte.exp: Make test names unique, use
1269 gdb_breakpoint.
1270 * gdb.arch/i386-word.exp: Likewise.
1271
995d3a19
SV
12722020-08-25 Shahab Vahedi <shahab@synopsys.com>
1273
1274 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1275
8cac2b31
SM
12762020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1277
1278 PR gdb/26532
1279 * gdb.threads/stepi-random-signal.exp: Update pattern.
1280
2bc19622
SM
12812020-08-25 Simon Marchi <simon.marchi@efficios.com>
1282
1283 PR gdb/26532
1284 * gdb.base/ui-redirect.exp: Update pattern.
1285
b04aa1fc
GB
12862020-08-25 Gary Benson <gbenson@redhat.com>
1287
1288 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1289 when compiling with clang.
8571e9c8 1290 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 1291
9f68b453
GB
12922020-08-25 Gary Benson <gbenson@redhat.com>
1293
1294 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1295 Add additional_flags=-Wno-inaccessible-base when compiling
1296 with GCC >= 10.1 or clang. Add additional_flags=-w when
1297 compiling with GCC < 10.
1298
3945d2d7
GM
12992020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1300
1301 PR m2/26372
fc5d6901
SM
1302 * gdb.modula2/multidim.c: New file.
1303 * gdb.modula2/multidim.exp: New file.
3945d2d7 1304
60122dbe
SM
13052020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1306
1307 * lib/gdb.exp (runto): Always emit fail on internal error.
1308
1eb8556f
SM
13092020-08-24 Simon Marchi <simon.marchi@efficios.com>
1310
1311 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1312 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1313 Likewise.
1314 * gdb.threads/stepi-random-signal.exp: Likewise.
1315
33bf4c5c
TBA
13162020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1317
1318 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1319 * gdb.trace/strace.exp: Ditto.
1320
c2fd7fae
AKS
13212020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1322
1323 * gdb.fortran/vla-type.exp: Skip commands not required for
1324 the Flang compiled binaries after prologue fix.
1325
326afb72
TT
13262020-08-17 Tom de Vries <tdevries@suse.de>
1327 Tom Tromey <tromey@adacore.com>
1328
1329 PR rust/26197:
1330 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1331
3ae7ab99
TT
13322020-08-17 Tom Tromey <tromey@adacore.com>
1333
1334 * gdb.ada/mi_var_access.exp: New file.
1335 * gdb.ada/mi_var_access/mi_access.adb: New file.
1336 * gdb.ada/mi_var_access/pck.adb: New file.
1337 * gdb.ada/mi_var_access/pck.ads: New file.
1338
f569c1c5
TV
13392020-08-16 Tom de Vries <tdevries@suse.de>
1340
1341 PR gdb/25350
1342 * gdb.base/eh_return.c: New test.
1343 * gdb.base/eh_return.exp: New file.
1344
3d11c30a
TV
13452020-08-15 Tom de Vries <tdevries@suse.de>
1346
1347 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1348 (mixed_func_1d_): Use fortran_charlen_t in decl.
1349
547ce8f0
TV
13502020-08-15 Tom de Vries <tdevries@suse.de>
1351
1352 PR backtrace/26390
1353 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1354 Update expected pattern.
1355
a54a7f13
PA
13562020-08-13 Pedro Alves <pedro@palves.net>
1357
1358 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1359 * gdb.fortran/library-module.exp: Likewise.
1360 * gdb.fortran/logical.exp: Likewise.
1361 * gdb.fortran/module.exp: Likewise.
1362 * gdb.fortran/print_type.exp: Likewise.
1363 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1364 * gdb.fortran/vla-datatypes.exp: Likewise.
1365 * gdb.fortran/vla-history.exp: Likewise.
1366 * gdb.fortran/vla-ptr-info.exp: Likewise.
1367 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1368 * gdb.fortran/vla-ptype.exp: Likewise.
1369 * gdb.fortran/vla-sizeof.exp: Likewise.
1370 * gdb.fortran/vla-type.exp: Likewise.
1371 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1372 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1373 * gdb.fortran/vla-value-sub.exp: Likewise.
1374 * gdb.fortran/vla-value.exp: Likewise.
1375
7a82e903
PA
13762020-08-13 Pedro Alves <pedro@palves.net>
1377
1378 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1379 * gdb.ada/access_to_packed_array.exp: Likewise.
1380 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1381 * gdb.ada/addr_arith.exp: Likewise.
1382 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1383 * gdb.ada/arr_arr.exp: Likewise.
1384 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1385 * gdb.ada/array_bounds.exp: Likewise.
1386 * gdb.ada/array_of_variable_length.exp: Likewise.
1387 * gdb.ada/array_ptr_renaming.exp: Likewise.
1388 * gdb.ada/array_subscript_addr.exp: Likewise.
1389 * gdb.ada/arraydim.exp: Likewise.
1390 * gdb.ada/arrayparam.exp: Likewise.
1391 * gdb.ada/arrayptr.exp: Likewise.
1392 * gdb.ada/assign_1.exp: Likewise.
1393 * gdb.ada/assign_arr.exp: Likewise.
1394 * gdb.ada/atomic_enum.exp: Likewise.
1395 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1396 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1397 * gdb.ada/bias.exp: Likewise.
1398 * gdb.ada/boolean_expr.exp: Likewise.
1399 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1400 * gdb.ada/bp_enum_homonym.exp: Likewise.
1401 * gdb.ada/bp_inlined_func.exp: Likewise.
1402 * gdb.ada/bp_on_var.exp: Likewise.
1403 * gdb.ada/bp_range_type.exp: Likewise.
1404 * gdb.ada/bp_reset.exp: Likewise.
1405 * gdb.ada/call_pn.exp: Likewise.
1406 * gdb.ada/catch_assert_if.exp: Likewise.
1407 * gdb.ada/catch_ex.exp: Likewise.
1408 * gdb.ada/catch_ex_std.exp: Likewise.
1409 * gdb.ada/char_enum.exp: Likewise.
1410 * gdb.ada/char_param.exp: Likewise.
1411 * gdb.ada/complete.exp: Likewise.
1412 * gdb.ada/cond_lang.exp: Likewise.
1413 * gdb.ada/convvar_comp.exp: Likewise.
1414 * gdb.ada/dgopt.exp: Likewise.
1415 * gdb.ada/disc_arr_bound.exp: Likewise.
1416 * gdb.ada/display_nested.exp: Likewise.
1417 * gdb.ada/dot_all.exp: Likewise.
1418 * gdb.ada/dyn_loc.exp: Likewise.
1419 * gdb.ada/dyn_stride.exp: Likewise.
1420 * gdb.ada/excep_handle.exp: Likewise.
1421 * gdb.ada/expr_delims.exp: Likewise.
1422 * gdb.ada/expr_with_funcall.exp: Likewise.
1423 * gdb.ada/exprs.exp: Likewise.
1424 * gdb.ada/fin_fun_out.exp: Likewise.
1425 * gdb.ada/fixed_cmp.exp: Likewise.
1426 * gdb.ada/formatted_ref.exp: Likewise.
1427 * gdb.ada/frame_arg_lang.exp: Likewise.
1428 * gdb.ada/frame_args.exp: Likewise.
1429 * gdb.ada/fullname_bp.exp: Likewise.
1430 * gdb.ada/fun_addr.exp: Likewise.
1431 * gdb.ada/fun_in_declare.exp: Likewise.
1432 * gdb.ada/fun_overload_menu.exp: Likewise.
1433 * gdb.ada/fun_renaming.exp: Likewise.
1434 * gdb.ada/funcall_char.exp: Likewise.
1435 * gdb.ada/funcall_param.exp: Likewise.
1436 * gdb.ada/funcall_ptr.exp: Likewise.
1437 * gdb.ada/funcall_ref.exp: Likewise.
1438 * gdb.ada/homonym.exp: Likewise.
1439 * gdb.ada/info_addr_mixed_case.exp: Likewise.
1440 * gdb.ada/info_auto_lang.exp: Likewise.
1441 * gdb.ada/info_exc.exp: Likewise.
1442 * gdb.ada/info_types.exp: Likewise.
1443 * gdb.ada/int_deref.exp: Likewise.
1444 * gdb.ada/interface.exp: Likewise.
1445 * gdb.ada/iwide.exp: Likewise.
1446 * gdb.ada/lang_switch.exp: Likewise.
1447 * gdb.ada/length_cond.exp: Likewise.
1448 * gdb.ada/maint_with_ada.exp: Likewise.
1449 * gdb.ada/mi_catch_assert.exp: Likewise.
1450 * gdb.ada/mi_catch_ex.exp: Likewise.
1451 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1452 * gdb.ada/mi_dyn_arr.exp: Likewise.
1453 * gdb.ada/mi_ex_cond.exp: Likewise.
1454 * gdb.ada/mi_exc_info.exp: Likewise.
1455 * gdb.ada/mi_interface.exp: Likewise.
1456 * gdb.ada/mi_prot.exp: Likewise.
1457 * gdb.ada/mi_ref_changeable.exp: Likewise.
1458 * gdb.ada/mi_string_access.exp: Likewise.
1459 * gdb.ada/mi_task_arg.exp: Likewise.
1460 * gdb.ada/mi_task_info.exp: Likewise.
1461 * gdb.ada/mi_var_array.exp: Likewise.
1462 * gdb.ada/mi_var_union.exp: Likewise.
1463 * gdb.ada/mi_variant.exp: Likewise.
1464 * gdb.ada/minsyms.exp: Likewise.
1465 * gdb.ada/mod_from_name.exp: Likewise.
1466 * gdb.ada/nested.exp: Likewise.
1467 * gdb.ada/null_array.exp: Likewise.
1468 * gdb.ada/optim_drec.exp: Likewise.
1469 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1470 * gdb.ada/packed_array_assign.exp: Likewise.
1471 * gdb.ada/packed_tagged.exp: Likewise.
1472 * gdb.ada/pp-rec-component.exp: Likewise.
1473 * gdb.ada/print_chars.exp: Likewise.
1474 * gdb.ada/print_pc.exp: Likewise.
1475 * gdb.ada/ptr_typedef.exp: Likewise.
1476 * gdb.ada/ptype_arith_binop.exp: Likewise.
1477 * gdb.ada/ptype_array.exp: Likewise.
1478 * gdb.ada/ptype_field.exp: Likewise.
1479 * gdb.ada/ptype_tagged_param.exp: Likewise.
1480 * gdb.ada/ptype_union.exp: Likewise.
1481 * gdb.ada/py_range.exp: Likewise.
1482 * gdb.ada/py_taft.exp: Likewise.
1483 * gdb.ada/rdv_wait.exp: Likewise.
1484 * gdb.ada/rec_comp.exp: Likewise.
1485 * gdb.ada/rec_return.exp: Likewise.
1486 * gdb.ada/ref_param.exp: Likewise.
1487 * gdb.ada/ref_tick_size.exp: Likewise.
1488 * gdb.ada/rename_subscript_param.exp: Likewise.
1489 * gdb.ada/repeat_dyn.exp: Likewise.
1490 * gdb.ada/same_component_name.exp: Likewise.
1491 * gdb.ada/same_enum.exp: Likewise.
1492 * gdb.ada/scalar_storage.exp: Likewise.
1493 * gdb.ada/set_wstr.exp: Likewise.
1494 * gdb.ada/small_reg_param.exp: Likewise.
1495 * gdb.ada/str_binop_equal.exp: Likewise.
1496 * gdb.ada/str_ref_cmp.exp: Likewise.
1497 * gdb.ada/str_uninit.exp: Likewise.
1498 * gdb.ada/sub_variant.exp: Likewise.
1499 * gdb.ada/sym_print_name.exp: Likewise.
1500 * gdb.ada/taft_type.exp: Likewise.
1501 * gdb.ada/tagged.exp: Likewise.
1502 * gdb.ada/tagged_access.exp: Likewise.
1503 * gdb.ada/task_bp.exp: Likewise.
1504 * gdb.ada/task_switch_in_core.exp: Likewise.
1505 * gdb.ada/tasks.exp: Likewise.
1506 * gdb.ada/tick_last_segv.exp: Likewise.
1507 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
1508 * gdb.ada/type_coercion.exp: Likewise.
1509 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1510 * gdb.ada/unchecked_union.exp: Likewise.
1511 * gdb.ada/uninitialized_vars.exp: Likewise.
1512 * gdb.ada/var_arr_attrs.exp: Likewise.
1513 * gdb.ada/var_arr_typedef.exp: Likewise.
1514 * gdb.ada/var_rec_arr.exp: Likewise.
1515 * gdb.ada/variant-record.exp: Likewise.
1516 * gdb.ada/variant.exp: Likewise.
1517 * gdb.ada/variant_record_packed_array.exp: Likewise.
1518 * gdb.ada/varsize_limit.exp: Likewise.
1519 * gdb.ada/whatis_array_val.exp: Likewise.
1520 * gdb.ada/widewide.exp: Likewise.
1521 * gdb.ada/win_fu_syms.exp: Likewise.
1522
15232020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
1524
1525 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1526
10c381b5
AB
15272020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1528
1529 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1530 unset the array variable.
1531
8f34b746
TV
15322020-08-03 Tom de Vries <tdevries@suse.de>
1533
1534 PR symtab/26333
1535 * lib/dwarf.exp (DW_LNE_user): New proc.
1536 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
1537 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
1538
0245e136
KB
15392020-07-31 Kevin Buettner <kevinb@redhat.com>
1540
1541 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1542 to 'uintptr_t'
1543 (inttypes.h): Include.
1544
9ef1ec5d
KB
15452020-07-31 Kevin Buettner <kevinb@redhat.com>
1546
1547 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1548 (C5_24k): Delete.
1549 (C5_8k, C5_64k, C5_256k): New macros.
1550 (buf_ro): Allocate 256 KiB of initialized data.
1551
4c55e970
TBA
15522020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1553
1554 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
1555 that attempt to overwrite an existing condition with a condition
1556 that fails parsing and also with a condition that parses fine
1557 but contains junk at the end.
1558
1e620590
TBA
15592020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1560
1561 * gdb.base/condbreak-bad.c: New test.
1562 * gdb.base/condbreak-bad.exp: New file.
1563
e12dcc50
TV
15642020-07-30 Tom de Vries <tdevries@suse.de>
1565
1566 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
1567 out of ...
1568 (GDBInfoModuleSymbols::check_entry): ... here.
1569 (GDBInfoModuleSymbols::check_optional_entry): New proc.
1570 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
1571 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
1572
6cc64caa
TV
15732020-07-30 Tom de Vries <tdevries@suse.de>
1574
1575 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1576 "__class_some_module_Number_t" optional.
1577
90fd07fc
TV
15782020-07-29 Tom de Vries <tdevries@suse.de>
1579
1580 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1581 multiple locations.
1582
f5c79e97
TV
15832020-07-29 Tom de Vries <tdevries@suse.de>
1584
1585 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1586 rather than function name.
1587
f75a0693
AB
15882020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1589
1590 PR symtab/26270:
1591 * gdb.cp/disasm-func-name.cc: New file.
1592 * gdb.cp/disasm-func-name.exp: New file.
1593
4888741a
TT
15942020-07-28 Tom Tromey <tromey@adacore.com>
1595
1596 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1597 'varval' location.
1598
43d5901d
AB
15992020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1600
1601 * gdb.python/py-unwind.py: Update to make use of a register
1602 descriptor.
1603
14fa8fb3
AB
16042020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1605
1606 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1607
e79eb02f
AB
16082020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
1609
1610 PR fortran/23051
1611 PR fortran/26139
1612 * gdb.fortran/class-allocatable-array.exp: New file.
1613 * gdb.fortran/class-allocatable-array.f90: New file.
1614 * gdb.fortran/pointer-to-pointer.exp: New file.
1615 * gdb.fortran/pointer-to-pointer.f90: New file.
1616
876518dd
TV
16172020-07-25 Tom de Vries <tdevries@suse.de>
1618
1619 PR symtab/26243
1620 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1621 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1622
6dcfb80a
TV
16232020-07-24 Tom de Vries <tdevries@suse.de>
1624
1625 PR testsuite/26293
1626 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1627
e7bc9db8
PA
16282020-07-23 Pedro Alves <pedro@palves.net>
1629
1630 * gdb.server/server-kill.exp (prepare): New, factored out from the
1631 top level.
1632 (kill_server): New.
1633 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1634 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1635
78344df7
AB
16362020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1637
1638 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1639
25dfed24
SL
16402020-07-22 Sandra Loosemore <sandra@codesourcery.com>
1641
1642 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
1643 Initialize to empty string at top level.
1644 (gdb_wrapper_init): Revert check for file existence on build.
1645 Build the wrapper in its default place, not a build-specific
1646 location. When host == build, make the pathname absolute.
1647 (gdb_compile): Delete leftover declaration of
1648 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
1649 string instead of uninitialized.
1650
7da515fd
KB
16512020-07-22 Kevin Buettner <kevinb@redhat.com>
1652
1653 * gdb.base/corefile2.exp: New file.
1654 * gdb.base/coremaker2.exp: New file.
1655
9c5ec5c2
KB
16562020-07-22 Kevin Buettner <kevinb@redhat.com>
1657
1658 * gdb.base/coredump-filter.exp: Add second
1659 non-Private-Shared-Anon-File test.
1660 (test_disasm): Rename binfile for test which is expected
1661 to fail.
1662
f9e233c9
KB
16632020-07-22 Kevin Buettner <kevinb@redhat.com>
1664
1665 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
1666 data in core file".
1667 * gdb.base/coremaker.c (buf2ro): New global.
1668 (mmapdata): Add a read-only mmap mapping.
1669
94c265d7
KB
16702020-07-22 Kevin Buettner <kevinb@redhat.com>
1671
1672 PR corefiles/25631
1673 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
1674 New test.
1675 * gdb.base/coremaker.c (buf3): New global.
1676 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
1677 flags.
1678
16792020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
1680
1681 * gdb.base/coremaker.c (filler_ro): New global constant.
1682
32fa152e
TT
16832020-07-22 Tom Tromey <tromey@adacore.com>
1684
1685 * gdb.ada/mi_prot.exp: New file.
1686 * gdb.ada/mi_prot/pkg.adb: New file.
1687 * gdb.ada/mi_prot/pkg.ads: New file.
1688 * gdb.ada/mi_prot/prot.adb: New file.
1689
c8474dc3
TBA
16902020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1691
1692 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
1693 loads two JITers.
1694
baf8791e
AB
16952020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1696
1697 * gdb.python/py-arch-reg-groups.exp: Additional tests.
1698
f7306dac
AB
16992020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1700
1701 * gdb.python/py-arch-reg-names.exp: Additional tests.
1702
6d3d6e4b
TV
17032020-07-21 Tom de Vries <tdevries@suse.de>
1704
1705 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
1706 breakpoint locations".
1707 * gdb.reverse/solib-reverse.exp: Same.
1708
803d0592
TV
17092020-07-21 Tom de Vries <tdevries@suse.de>
1710
1711 * gdb.reverse/step-reverse.c (callee): Merge statements.
1712
e9bdc510
TV
17132020-07-21 Tom de Vries <tdevries@suse.de>
1714
1715 * gdb.fortran/info-modules.exp (info module variables): Allow missing
1716 line numbers for some variables.
1717
f0f9e75a
TV
17182020-07-21 Tom de Vries <tdevries@suse.de>
1719
1720 * gdb.opt/inline-locals.c (init_array): New func.
1721 (func1): Use init_array.
1722 * gdb.opt/inline-locals.exp: Update pattern.
1723
bd460ecb
TV
17242020-07-21 Tom de Vries <tdevries@suse.de>
1725
1726 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
1727 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
1728
ae5369e7
LC
17292020-07-20 Ludovic Courtès <ludo@gnu.org>
1730
1731 * gdb.guile/source2.scm: Add #f first argument to 'format'.
1732 * gdb.guile/types-module.exp: Remove "ERROR:" from
1733 regexps since Guile 3.0 no longer prints that.
1734
68cf161c
LC
17352020-07-20 Ludovic Courtès <ludo@gnu.org>
1736
1737 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1738 error regexp to match on Guile 2.2.
1739
c14b4913
GB
17402020-07-20 Gary Benson <gbenson@redhat.com>
1741
1742 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1743 with clang.
1744
b243ba58
TV
17452020-07-20 Tom de Vries <tdevries@suse.de>
1746
1747 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
1748 (omp_set_lock_in_order): New function.
1749 (single_scope, multi_scope, nested_func, nested_parallel): Use
1750 omp_set_lock_in_order and omp_unset_lock.
1751 (main): Init and destroy lock and lock2.
1752
c06ad8b5
TV
17532020-07-20 Tom de Vries <tdevries@suse.de>
1754
1755 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1756
6e22f117
TV
17572020-07-20 Tom de Vries <tdevries@suse.de>
1758
1759 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1760
33176ea7
TV
17612020-07-17 Tom de Vries <tdevries@suse.de>
1762
1763 * gdb.base/valgrind-infcall-2.c: New test.
1764 * gdb.base/valgrind-infcall-2.exp: New file.
1765 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1766
90c3ec2d
TV
17672020-07-17 Tom de Vries <tdevries@suse.de>
1768
1769 * gdb.dlang/circular.c (found): Use found_label as label name.
1770 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1771 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1772 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1773 * gdb.dwarf2/ada-linkage-name.exp: Same.
1774 * gdb.dwarf2/arr-subrange.exp: Same.
1775 * gdb.dwarf2/atomic-type.exp: Same.
1776 * gdb.dwarf2/comp-unit-lang.exp: Same.
1777 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1778 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1779 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1780 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1781 * gdb.dwarf2/implptr-64bit.exp: Same.
1782 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1783 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1784 * gdb.dwarf2/imported-unit.exp: Same.
1785 * gdb.dwarf2/main-subprogram.exp: Same.
1786 * gdb.dwarf2/missing-type-name.exp: Same.
1787 * gdb.dwarf2/nonvar-access.exp: Same.
1788 * gdb.dwarf2/struct-with-sig.exp: Same.
1789 * gdb.dwarf2/typedef-void-finish.exp: Same.
1790 * gdb.dwarf2/void-type.exp: Same.
1791
10da644d
TV
17922020-07-17 Tom de Vries <tdevries@suse.de>
1793
1794 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1795 src parameter.
1796 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1797 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1798 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1799 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1800 * gdb.dwarf2/dwz.exp: Same.
1801 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1802 * gdb.dwarf2/implref-array.exp: Same.
1803 * gdb.dwarf2/implref-const.exp: Same.
1804 * gdb.dwarf2/implref-global.exp: Same.
1805 * gdb.dwarf2/implref-struct.exp: Same.
1806 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1807 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1808 * gdb.dwarf2/var-access.exp: Same.
1809 * gdb.dwarf2/varval.exp: Same.
1810 * gdb.trace/entry-values.exp: Same.
1811
315e6afc
TV
18122020-07-17 Tom de Vries <tdevries@suse.de>
1813
1814 * lib/dwarf.exp (Dwarf::extern): Remove.
1815 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
1816 * gdb.dlang/circular.exp: Same.
1817 * gdb.dwarf2/comp-unit-lang.exp: Same.
1818 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1819 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
1820 * gdb.dwarf2/dwz.exp: Same.
1821 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1822 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1823 * gdb.dwarf2/imported-unit.exp: Same.
1824 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1825
5597c940
SL
18262020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1827
1828 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1829 Use double quotes instead of single quotes.
1830
d0ce17d8
CT
18312020-07-16 Caroline Tice <cmtice@google.com>
1832
1833 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1834 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1835
853772cc
TV
18362020-07-16 Tom de Vries <tdevries@suse.de>
1837
1838 * lib/dwarf.exp (program): Initialize _line.
1839 (DW_LNE_end_sequence): Reinitialize _line.
1840 (DW_LNS_advance_line): Update _line.
1841 (line): New proc.
1842 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
1843 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1844 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1845 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1846 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1847 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1848
fe07b572
AB
18492020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1850
1851 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1852 generic.
1853
52781cce
TV
18542020-07-15 Tom de Vries <tdevries@suse.de>
1855
1856 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1857 is_amd64_regs_target.
1858
3dcc261c
AB
18592020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1860
1861 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1862 * gdb.fortran/ptype-on-functions.f90: Likewise.
1863
054a0959
SM
18642020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1865
1866 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1867 values in documentation for addr_size to 4 and 8.
1868
ccb9eba6
AB
18692020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
1870
1871 * gdb.arch/amd64-osabi.exp: Update.
1872 * gdb.arch/arm-disassembler-options.exp: Update.
1873 * gdb.arch/powerpc-disassembler-options.exp: Update.
1874 * gdb.arch/ppc64-symtab-cordic.exp: Update.
1875 * gdb.arch/s390-disassembler-options.exp: Update.
1876 * gdb.base/all-architectures.exp.tcl: Update.
1877 * gdb.base/attach-pie-noexec.exp: Update.
1878 * gdb.base/catch-syscall.exp: Update.
1879 * gdb.xml/tdesc-arch.exp: Update.
1880
025a39a7
TV
18812020-07-14 Tom de Vries <tdevries@suse.de>
1882
1883 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1884 (local_gettid): ... this.
1885 (fn): Update.
1886
74e4b667
SL
18872020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1888
1889 * gdb.base/info_sources.exp: Skip directory match tests on
1890 remote hosts.
1891
f413dd74
GB
18922020-07-13 Gary Benson <gbenson@redhat.com>
1893
1894 * gdb.base/savedregs.exp (caller): Use parentheses to
1895 make expected expression evaluation ordering explicit.
1896
915771bb
GB
18972020-07-13 Gary Benson <gbenson@redhat.com>
1898
1899 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1900
2a122642
GB
19012020-07-13 Gary Benson <gbenson@redhat.com>
1902
1903 * gdb.base/bigcore.c (main): Use a volatile pointer when
1904 attempting to trigger a SIGSEGV.
1905 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
1906 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
1907 * gdb.base/savedregs.c (thrower): Likewise.
1908 * gdb.mi/mi-syn-frame.c (bar): Likewise.
1909
3f00c730
GB
19102020-07-13 Gary Benson <gbenson@redhat.com>
1911
1912 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
1913 defining and using VLA structure fields into...
1914 * gdb.base/vla-struct-fields.c: New file.
1915 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
1916 tests into...
1917 * gdb.base/vla-struct-fields.exp: New file.
1918
963eeee4
TV
19192020-07-13 Tom de Vries <tdevries@suse.de>
1920
1921 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
1922 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
1923 * gdb.base/gold-gdb-index.exp: Same.
1924 * gdb.base/morestack.exp: Same.
1925
0ed35c9a
DX
19262020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1927
1928 PR rust/26121
1929 * gdb.rust/modules.rs: Prevent linker from discarding test
1930 symbol.
1931
4fdba23d
PA
19322020-07-10 Pedro Alves <pedro@palves.net>
1933
1934 PR gdb/26199
1935 * gdb.multi/multi-target.c (exit_thread): New.
1936 (thread_start): Break loop if EXIT_THREAD.
1937 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1938 (top level) Call test_no_resumed.
1939
15f3b077
TT
19402020-07-08 Tom Tromey <tromey@adacore.com>
1941
1942 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1943 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1944
9fc501fd
AB
19452020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1946
1947 PR python/22748
1948 * gdb.opt/inline-frame-tailcall.c: New file.
1949 * gdb.opt/inline-frame-tailcall.exp: New file.
1950 * gdb.python/py-unwind-inline.c: New file.
1951 * gdb.python/py-unwind-inline.exp: New file.
1952 * gdb.python/py-unwind-inline.py: New file.
1953
64cb3757
AB
19542020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1955
1956 * gdb.python/py-arch-reg-groups.exp: New file.
1957
0f767f94
AB
19582020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1959
1960 * gdb.python/py-arch-reg-names.exp: New file.
1961
87dbc774
AB
19622020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1963
1964 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1965 gdb.PendingFrame.architecture method.
1966
d8cc8af6
TV
19672020-07-06 Tom de Vries <tdevries@suse.de>
1968
1969 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1970
3c8ea5be
PA
19712020-07-03 Pedro Alves <palves@redhat.com>
1972
1973 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1974 explicitly write negative numbers.
1975 * gdb.base/structs2.exp: Adjust expected output.
1976
bf90c83a
PA
19772020-07-03 Pedro Alves <palves@redhat.com>
1978
1979 * gdb.base/charset.c (init_string): Change all char parameters to
1980 unsigned char parameters.
1981
2eb82157
PA
19822020-07-03 Pedro Alves <palves@redhat.com>
1983
1984 * gdb.base/call-sc.exp (start_scalars_test): Use
1985 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1986 * gdb.base/overlays.c: Remove references to PARAMS.
1987 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1988 * gdb.base/reread.exp: Don't set 'prototypes' global.
1989 * gdb.base/structs.exp (start_structs_test): Use
1990 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1991 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1992 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1993 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1994 call.
1995 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1996
9adda7af
PA
19972020-07-03 Pedro Alves <palves@redhat.com>
1998
1999 * gdb.base/m32rovly.c: Delete.
2000 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2001
2a17c803
PW
20022020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2003
2004 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2005 of gdb_py_test_multiple.
2006 * gdb.python/py-cmd.exp: Likewise.
2007 * gdb.python/py-events.exp: Likewise.
2008 * gdb.python/py-function.exp: Likewise.
2009 * gdb.python/py-inferior.exp: Likewise.
2010 * gdb.python/py-infthread.exp: Likewise.
2011 * gdb.python/py-linetable.exp: Likewise.
2012 * gdb.python/py-parameter.exp: Likewise.
2013 * gdb.python/py-value.exp: Likewise.
2014
b011fe1a
TV
20152020-06-30 Tom de Vries <tdevries@suse.de>
2016
2017 PR testsuite/26175
2018 * lib/future.exp (gdb_default_target_compile): Detect and handle
2019 early_flags.
2020
df5b8876
SM
20212020-06-29 Simon Marchi <simon.marchi@efficios.com>
2022
2023 * boards/simavr.exp (gdb_load): Catch errors when closing
2024 previous connection. Close connection, wait for process and
2025 unset simavr_spawn_id on failure.
2026
a3ca48cd
TV
20272020-06-29 Tom de Vries <tdevries@suse.de>
2028
2029 * lib/gdb.exp (unknown): Make test-case unresolved.
2030
b0237c0e
TV
20312020-06-29 Tom de Vries <tdevries@suse.de>
2032
2033 PR gdb/25475
2034 * gdb.server/solib-list.exp: Verify that the symbol reload
2035 confirmation question is asked.
2036
c0b3b3bd
PW
20372020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2038
2039 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
2040 have a input seq nr in each pass message.
fe4c3d43 2041 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
2042 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
2043 * gdb.python/python.exp: Make test names unique,
2044 use gdb_test_multiline instead of gdb_py_test_multiple,
2045 use $gdb_test_name.
2046 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
2047
1776e3e5
NA
20482020-06-26 Nick Alcock <nick.alcock@oracle.com>
2049
2050 * configure.ac: Add --enable-libctf.
2051 * aclocal.m4: sinclude ../config/enable.m4.
2052 * Makefile.in (site.exp): Add enable_libctf to site.exp.
2053 * lib/gdb.exp (skip_ctf_tests): Use it.
2054 * gdb.base/ctf-constvars.exp: Error message tweak.
2055 * gdb.base/ctf-ptype.exp: Likewise.
2056 * configure: Regenerate.
2057
f53b3eeb
GB
20582020-06-26 Gary Benson <gbenson@redhat.com>
2059
2060 * gdb.cp/try_catch.cc: Include string.h.
2061 (main): Replace comparison against string literal with
2062 strcmp, avoiding build failure with -Wstring-compare.
2063 Add "marker test-complete".
2064 * gdb.cp/try_catch.exp: Run the test to the above marker,
2065 then verify that the value of "test" is still true.
2066
6d74da72
AB
20672020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2068
2069 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
2070
2e52d038
AB
20712020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2072
2073 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2074
3b9fce96
AB
20752020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2076
2077 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
2078 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
2079 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
2080 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
2081 * gdb.arch/riscv-tdesc-loading.exp: New file.
2082
ed69cbc8
AB
20832020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2084
2085 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2086
767a879e
AB
20872020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2088
2089 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
2090 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
2091 * gdb.arch/riscv-tdesc-regs.c: New file.
2092 * gdb.arch/riscv-tdesc-regs.exp: New file.
2093
221db974
PA
20942020-06-24 Pedro Alves <palves@redhat.com>
2095
2096 * gdb.arch/amd64-entry-value-paramref.exp: Use
2097 prepare_for_testing_full and don't pass "c++" for the .S file
2098 build spec.
2099 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
2100 $options, since it's an assembly file. Remove -Wno-deprecated.
2101 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
2102 compiling C++ programs.
2103
331733cd
PA
21042020-06-24 Pedro Alves <palves@redhat.com>
2105
2106 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
2107 Clang, add "-Wno-unknown-warning-option" to the options.
2108
caa7fd04
AB
21092020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
2110
2111 * gdb.xml/tdesc-reload.c: New file.
2112 * gdb.xml/tdesc-reload.exp: New file.
2113 * gdb.xml/maint-xml-dump-01.xml: New file.
2114 * gdb.xml/maint-xml-dump-02.xml: New file.
2115 * gdb.xml/maint-xml-dump.exp: New file.
2116
bb8d1260
SL
21172020-06-23 Sandra Loosemore <sandra@codesourcery.com>
2118
2119 * lib/completion-support.exp (test_gdb_completion_offers_commands):
2120 Adjust for omitted commands when TUI is disabled.
2121
7e4b9c4c
GB
21222020-06-23 Gary Benson <gbenson@redhat.com>
2123 Pedro Alves <palves@redhat.com>
2124
2125 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
2126 * gdb.cp/nsimport.cc: Likewise.
2127 * gdb.cp/nsnested.cc: Likewise.
2128 * gdb.cp/nsnoimports.cc: Likewise.
2129 * gdb.cp/nsusing.cc: Likewise.
2130 * gdb.cp/smartp.cc: Likewise.
2131 * gdb.python/py-pp-integral.c: Likewise.
2132 * gdb.python/py-pp-re-notag.c: Likewise.
2133
2e573c0a
GB
21342020-06-23 Gary Benson <gbenson@redhat.com>
2135
2136 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
2137 * gdb.cp/nsimport.cc: Likewise.
2138 * gdb.cp/nsnested.cc: Likewise.
2139 * gdb.cp/nsnoimports.cc: Likewise.
2140 * gdb.cp/nsusing.cc: Likewise.
2141 * gdb.cp/smartp.cc: Likewise.
2142 * gdb.python/py-pp-integral.c: Likewise.
2143 * gdb.python/py-pp-re-notag.c: Likewise.
2144
746ebfe8
PW
21452020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2146
2147 * gdb.base/default-args.exp: New test.
2148 * gdb.base/default-args.c: New file.
2149 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
2150 * gdb.base/default.exp: Update to new help text.
2151 * gdb.base/help.exp: Likewise.
2152 * gdb.base/page.exp: Likewise.
2153 * gdb.base/style.exp: Likewise.
2154 * gdb.guile/guile.exp: Likewise.
2155 * gdb.python/python.exp: Likewise.
2156
e822f2cd
SL
21572020-06-22 Sandra Loosemore <sandra@codesourcery.com>
2158
2159 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
2160 remote host. Fix search path syntax on Windows host.
2161
48e9cc84
PW
21622020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2163
2164 * gdb.base/attach.exp: Test priority of 'exec-file' changed
2165 over 'exec-file-mismatch'.
2166 * gdb.base/attach.c: Mark should_exit volatile.
2167 * gdb.base/attach2.c: Likewise. Add a comment explaining
2168 why the sleep cannot be big.
2169 * gdb.base/attach3.c: New file.
2170
160f8a8f
SL
21712020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2172
2173 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
2174 prefix optional.
2175
4d91c2a4
SL
21762020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2177
2178 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
2179 for remote host.
2180
87f83f20
SL
21812020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2182 Hafiz Abid Qadeer <abidh@codesourcery.com>
2183
2184 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
2185 file sent to remote host.
2186 (top level): Allow int32_t as type of 32-bit register.
2187
37ab8655
TV
21882020-06-19 Tom de Vries <tdevries@suse.de>
2189
2190 * lib/gdb.exp (gdb_note): New proc.
2191 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
2192 (gdb_default_target_compile): ... here. Only call
2193 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
2194 (use_gdb_compile): Change to array.
2195 (toplevel): Update sets of use_gdb_compile to specify language.
2196 Warn about default_target_compile override. Store dejagnu's version
2197 of default_target_compile in dejagnu_default_target_compile.
2198
a8a56685
TV
21992020-06-18 Tom de Vries <tdevries@suse.de>
2200
2201 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
2202 (default_gdb_init): ... here.
2203
581bea2c
SL
22042020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2205
2206 Fix TUI support checks in gdb.tui tests.
2207
2208 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
2209 just say UNSUPPORTED.
2210 * gdb.tui/corefile-run.exp: Likewise.
2211 * gdb.tui/empty.exp: Likewise.
2212 * gdb.tui/list-before.exp: Likewise.
2213 * gdb.tui/list.exp: Likewise.
2214 * gdb.tui/main.exp: Likewise.
2215 * gdb.tui/regs.exp: Likewise.
2216 * gdb.tui/resize.exp: Likewise.
2217 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
2218 * gdb.tui/tui-layout-asm.exp: Likewise.
2219 * gdb.tui/tui-missing-src.exp: Likewise.
2220 * gdb.tui/winheight.exp: Likewise.
2221 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2222
05e682e3
SL
22232020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2224
2225 Fix TCL error in gdb.python/py-format-string.exp.
2226
2227 * gdb.python/py-format-string.exp: Move test for python support
2228 earlier, out of function body.
2229
efb763a5
SM
22302020-06-15 Simon Marchi <simon.marchi@efficios.com>
2231
2232 * gdb.base/index-cache-load-twice.c: New.
2233 * gdb.base/index-cache-load-twice.exp: New.
2234
43327b20
KS
22352020-06-17 Keith Seitz <keiths@redhat.com>
2236
99cf27cf 2237 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
2238 when executing "gdb --configuration".
2239
081e778c
TV
22402020-06-17 Tom de Vries <tdevries@suse.de>
2241
2242 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2243 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2244 conditional on presence of gdb_tcl_unknown.
2245 (gdb_finish): Make override undo conditional on presence of
2246 gdb_tcl_unknown.
2247
d2d1ea20
TT
22482020-06-16 Tom Tromey <tom@tromey.com>
2249
2250 * gdb.python/tui-window.py (failwin): New function. Register it
2251 as a TUI window type.
2252 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2253
c802e8a7
GB
22542020-06-16 Gary Benson <gbenson@redhat.com>
2255
2256 * gdb.python/py-nested-maps.c (create_map): Add missing return
2257 value.
2258 (create_map_map): Likewise.
2259
ff08abb8
TBA
22602020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2261
2262 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2263 variable.
2264 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2265 and use the already-defined 'options' variable.
2266
a29d5112
AB
22672020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2268 Tom de Vries <tdevries@suse.de>
2269
2270 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2271 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2272 (gdb_setup_known_globals): New proc.
2273 (gdb_cleanup_globals): New proc.
2274 * lib/gdb.exp (load_lib): New override proc.
2275 (gdb_stdin_log_init): Set var in_file as persistent global.
2276 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2277 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2278 fpc_compiler as persistent global.
2279
8c74a764
TV
22802020-06-12 Tom de Vries <tdevries@suse.de>
2281
2282 * lib/tuiterm.exp (spawn): Rename to ...
2283 (tui_spawn): ... this.
2284 (toplevel): Move rename of spawn ...
2285 (gdb_init_tuiterm): ... here. New proc.
2286 (gdb_finish_tuiterm): New proc.
2287 * lib/gdb.exp (gdb_finish_hooks): New global var.
2288 (gdb_finish): Handle gdb_finish_hooks.
2289 (tuiterm_env): New proc.
2290 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2291 tuiterm_env.
2292 * gdb.tui/basic.exp: Same.
2293 * gdb.tui/corefile-run.exp: Same.
2294 * gdb.tui/empty.exp: Same.
2295 * gdb.tui/list-before.exp: Same.
2296 * gdb.tui/list.exp: Same.
2297 * gdb.tui/main.exp: Same.
2298 * gdb.tui/new-layout.exp: Same.
2299 * gdb.tui/regs.exp: Same.
2300 * gdb.tui/resize.exp: Same.
2301 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2302 * gdb.tui/tui-layout-asm.exp: Same.
2303 * gdb.tui/tui-missing-src.exp: Same.
2304 * gdb.tui/winheight.exp: Same.
2305
26783bce
TV
23062020-06-12 Tom de Vries <tdevries@suse.de>
2307
2308 PR testsuite/26110
2309 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2310 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2311
2b4e6a3f
TT
23122020-06-11 Tom Tromey <tom@tromey.com>
2313
2314 PR gdb/18318:
2315 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2316 floating point tests.
2317
2f33032a
KS
23182020-06-11 Keith Seitz <keiths@redhat.com>
2319
2320 PR gdb/21356
2321 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2322 vla_struct.
2323 Add new struct vla_typedef and union vla_typedef_union and
2324 corresponding instantiation objects.
2325 Initialize new objects.
2326 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2327 and vla_typedef_union_object.
2328 Fixup type for vla_struct_object.
2329
a8baf0a3
TV
23302020-06-11 Tom de Vries <tdevries@suse.de>
2331
2332 * lib/gdb.exp (with_override): New proc, factored out of ...
2333 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2334
7ab96794
TV
23352020-06-10 Tom de Vries <tdevries@suse.de>
2336
2337 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2338
cab5c3b7
SM
23392020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2340
2341 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2342 parameter, update callers.
2343
f8c41851
SM
23442020-06-04 Simon Marchi <simon.marchi@efficios.com>
2345
2346 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2347 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2348 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2349
1c07a73f
TV
23502020-06-04 Tom de Vries <tdevries@suse.de>
2351
2352 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2353
95146b5d
TV
23542020-06-04 Tom de Vries <tdevries@suse.de>
2355
2356 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2357 exp_continue.
2358
0cfcd4f0
TV
23592020-06-04 Tom de Vries <tdevries@suse.de>
2360
2361 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2362
f9b5d5ea
TV
23632020-06-03 Tom de Vries <tdevries@suse.de>
2364
2365 PR symtab/26046
2366 * gdb.cp/breakpoint-locs-2.cc: New test.
2367 * gdb.cp/breakpoint-locs.cc: New test.
2368 * gdb.cp/breakpoint-locs.exp: New file.
2369 * gdb.cp/breakpoint-locs.h: New test.
2370
5144dfba
TV
23712020-06-03 Tom de Vries <tdevries@suse.de>
2372
2373 PR testsuite/25609
2374 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2375 value of global verbose.
2376 * gdb.base/jit-elf.exp: Same.
2377 * gdb.base/jit-reader.exp: Same.
2378
621eacdf
TV
23792020-06-02 Tom de Vries <tdevries@suse.de>
2380
2381 * gdb.dwarf2/multidictionary.exp: Don't use
2382 gdb_spawn_with_cmdline_opts.
2383
1313c56e
AB
23842020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2385
2386 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2387 use_header case.
2388 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2389 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2390 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2391 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2392 * gdb.dwarf2/dw2-inline-header.c: New file.
2393 * gdb.dwarf2/dw2-inline-header.h: New file.
2394
f68f85b5
PA
23952020-05-30 Pedro Alves <palves@redhat.com>
2396
2397 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2398 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2399
678048e8
GB
24002020-05-29 Gary Benson <gbenson@redhat.com>
2401
2402 * gdb.compile/compile-cplus.exp (additional_flags): Also
2403 set when building with clang.
2404 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
2405 when building with clang.
2406
9fcafd23
GB
24072020-05-29 Gary Benson <gbenson@redhat.com>
2408
2409 * gdb.arch/i386-avx.exp (additional_flags): Also set when
2410 building with clang.
2411 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
2412
735d5a07
GB
24132020-05-29 Gary Benson <gbenson@redhat.com>
2414
2415 * gdb.cp/koenig.exp (prepare_for_testing): Add
2416 additional_flags=-Wno-unused-comparison.
2417 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
2418
4ad2c6a0
GB
24192020-05-28 Gary Benson <gbenson@redhat.com>
2420
2421 * gdb.base/sigaltstack.c (catcher): Add default case to switch
2422 statement.
2423
09fe663e
GB
24242020-05-28 Gary Benson <gbenson@redhat.com>
2425
2426 * gdb.cp/classes.exp (prepare_for_testing): Add
2427 additional_flags=-Wno-deprecated-register.
2428 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
2429 * gdb.cp/misc.exp: Likewise.
2430
cee00f17
GB
24312020-05-28 Gary Benson <gbenson@redhat.com>
2432
2433 * gdb.linespec/cpls-ops.cc (dummy): New static global.
2434 (test_op_new::operator new): Add return statement.
2435 (test_op_new_array::operator new[]): Likewise.
2436
636edd00
PA
24372020-05-27 Pedro Alves <palves@redhat.com>
2438
2439 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
2440 check. Use test_gdb_complete_unique instead of
2441 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
2442 test_gdb_complete_multiple instead of
2443 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
2444
c2b75043
LM
24452020-05-27 Luis Machado <luis.machado@linaro.org>
2446
2447 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2448 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2449 * gdb.arch/arm-disassembler-options.exp: Likewise.
2450 * gdb.arch/arm-disp-step.exp: Likewise.
2451 * gdb.arch/thumb-prologue.exp: Likewise.
2452 * gdb.base/async.exp: Likewise.
2453 * gdb.base/auxv.exp: Likewise.
2454 * gdb.base/complex-parts.exp: Likewise.
2455 * gdb.base/ena-dis-br.exp: Likewise.
2456 * gdb.base/foll-exec.exp: Likewise.
2457 * gdb.base/permissions.exp: Likewise.
2458 * gdb.base/relocate.exp: Likewise.
2459 * gdb.base/return2.exp: Likewise.
2460 * gdb.base/sigbpt.exp: Likewise.
2461 * gdb.base/siginfo-obj.exp: Likewise.
2462 * gdb.cp/converts.exp: Likewise.
2463 * gdb.cp/exceptprint.exp: Likewise.
2464 * gdb.cp/inherit.exp: Likewise.
2465 * gdb.cp/nsnoimports.exp: Likewise.
2466 * gdb.cp/virtbase2.exp: Likewise.
2467 * gdb.mi/mi-var-cmd.exp: Likewise.
2468 * gdb.mi/var-cmd.c: Likewise.
2469
53a47a3e
TT
24702020-05-26 Tom Tromey <tromey@adacore.com>
2471
2472 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2473
0bc2354b
TT
24742020-05-26 Tom Tromey <tromey@adacore.com>
2475
2476 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2477 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2478 type.
2479 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2480 variable.
2481
0db49895
CBG
24822020-05-26 Christian Biesinger <cbiesinger@google.com>
2483
2484 * Makefile.in: Use = instead of == for the test command
2485 for portability.
2486
40d22035
TV
24872020-05-26 Tom de Vries <tdevries@suse.de>
2488
2489 * gdb.base/gold-gdb-index-2.c: New test.
2490 * gdb.base/gold-gdb-index.c: New test.
2491 * gdb.base/gold-gdb-index.exp: New file.
2492 * gdb.base/gold-gdb-index.h: New test.
2493
043e2e02
TV
24942020-05-25 Tom de Vries <tdevries@suse.de>
2495
2496 * boards/gold-gdb-index.exp: New file.
2497
462f72c5
SM
24982020-05-25 Simon Marchi <simon.marchi@efficios.com>
2499
2500 * boards/simavr.exp: New file.
2501
6cf66e76
SM
25022020-05-25 Simon Marchi <simon.marchi@efficios.com>
2503
2504 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
2505 * gdb.base/inferior-args.exp: New file.
2506 * gdb.base/inferior-args.c: New file.
2507
75d04512
SM
25082020-05-25 Simon Marchi <simon.marchi@efficios.com>
2509
2510 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
2511 inferior_args. Pass it to gdb_reload.
2512 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
2513 inferior_args.
2514 (gdb_reload): Add inferior_args argument.
2515 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
2516 pass it to gdbserver_run.
2517 * boards/native-gdbserver.exp: Do not set noargs.
2518 * boards/native-extended-gdbserver.exp (gdb_reload): Add
2519 inferior_args argument.
2520 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
2521 * gdb.base/a2-run.exp: Check for use_gdb_stub.
2522 * gdb.base/args.exp: Likewise.
2523
42cf1844
TV
25242020-05-25 Tom de Vries <tdevries@suse.de>
2525
2526 * lib/gdb.exp (exec_is_pie): Add comment.
2527
8f7d38ef
TV
25282020-05-25 Tom de Vries <tdevries@suse.de>
2529
2530 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2531 instead of $binfile in the untested message.
2532
465e1b0f
TV
25332020-05-25 Tom de Vries <tdevries@suse.de>
2534
2535 PR testsuite/26031
2536 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2537
3c5a0e02
TV
25382020-05-25 Tom de Vries <tdevries@suse.de>
2539
2540 * boards/gold.exp: New file.
2541
0a4f5f8c
TT
25422020-05-23 Tom Tromey <tom@tromey.com>
2543
2544 * gdb.base/style.exp: Remove completion styling test.
2545 * lib/gdb-utils.exp (style): Remove completion styles.
2546
eca1f90c
TT
25472020-05-23 Tom Tromey <tom@tromey.com>
2548
2549 * gdb.base/style.exp: Add completion styling test.
2550 * lib/gdb-utils.exp (style): Add completion styles.
2551
7c13f4e8
AB
25522020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2553
2554 * gdb.base/annota1.exp: Update expected results.
2555 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2556 test name.
2557 * gdb.cp/annota3.exp: Update expected results.
2558
41977d16
SM
25592020-05-20 Simon Marchi <simon.marchi@efficios.com>
2560
2561 PR gdb/26016
2562 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
2563 against MAP_FAILED.
2564 * gdb.base/coremaker.c (mmapdata): Likewise.
2565 * gdb.base/jit-reader-host.c (main): Likewise.
2566 * gdb.base/sym-file-loader.c (load): Likewise.
2567 (load_shlib): Likewise.
2568
b4757f2e
TT
25692020-05-20 Tom Tromey <tromey@adacore.com>
2570
2571 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2572
9a0bacfb
TV
25732020-05-20 Tom de Vries <tdevries@suse.de>
2574
2575 PR symtab/25833
2576 * gdb.base/with-mf-inc.c: New test.
2577 * gdb.base/with-mf-main.c: New test.
2578 * gdb.base/with-mf.exp: New file.
2579
76571211
TT
25802020-05-19 Tom Tromey <tromey@adacore.com>
2581
2582 * gdb.rust/simple.exp: Restore missing test result.
2583
4cd9f3d5
TV
25842020-05-19 Tom de Vries <tdevries@suse.de>
2585
2586 * gdb.base/gdb-caching-proc.exp: Fix typo.
2587
7d874253
TT
25882020-05-19 Tom Tromey <tromey@adacore.com>
2589
2590 * gdb.rust/simple.exp: Add some test descriptions.
2591 (test_one_slice): Use with_test_prefix.
2592
1d727695
TV
25932020-05-18 Tom de Vries <tdevries@suse.de>
2594
2595 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2596
7f32a4d5
PA
25972020-05-17 Pedro Alves <palves@redhat.com>
2598
2599 PR gdb/25741
2600 * gdb.base/hw-sw-break-same-address.exp: New file.
2601
7cfd74cf
PA
26022020-05-16 Pedro Alves <palves@redhat.com>
2603
2604 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2605 LAST_LOADED_FILE accordingly.
2606
57b4f16e
PW
26072020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2608
2609 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2610
7c05caf7
PW
26112020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2612
2613 * gdb.base/help.exp: Test apropos and help for commands
2614 having aliases. Fixed comments not starting with an
2615 upper-case letter or not finishing with a dot.
2616
7aa1b46f
PW
26172020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2618
3b3aaacb
PW
2619 * gdb.base/alias.exp: Update help output check.
2620
57b4f16e 26212020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 2622
7aa1b46f
PW
2623 * gdb.base/default.exp: Update output following fixes.
2624
0605465f
PW
26252020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2626
2627 * gdb.base/alias.exp: Test aliases starting with a prefix of
2628 another alias.
2629
86e4e63d
GB
26302020-05-15 Gary Benson <gbenson@redhat.com>
2631
2632 * gdb.base/info-os.c (main): Add return statement.
2633 * gdb.base/info_minsym.c (minsym_fun): Likewise.
2634 * gdb.base/large-frame-2.c (func): Likewise.
2635 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
2636 * gdb.base/pr10179-b.c (foo2): Likewise.
2637 * gdb.base/valgrind-disp-step.c (foo): Likewise.
2638 * gdb.base/watch-cond.c (func): Likewise.
2639 * gdb.multi/goodbye.c (verylongfun): Likewise.
2640 * gdb.multi/hello.c (commonfun): Likewise.
2641 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
2642 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
2643 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2644 Likewise.
2645 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2646 * gdb.threads/interrupt-while-step-over.c (child_function):
2647 Likewise.
2648 * gdb.trace/actions-changed.c (end): Likewise.
2649
163df4df
GB
26502020-05-15 Gary Benson <gbenson@redhat.com>
2651
2652 * gdb.opencl/callfuncs.exp: Report when test skipped.
2653 * gdb.opencl/convs_casts.exp: Likewise.
2654 * gdb.opencl/datatypes.exp: Likewise.
2655 * gdb.opencl/operators.exp: Likewise.
2656 * gdb.opencl/vec_comps.exp: Likewise.
2657
6dbc505a
TV
26582020-05-15 Tom de Vries <tdevries@suse.de>
2659
2660 * gdb.base/align.exp.in: Rename to ...
2661 * gdb.base/align.exp.tcl: ... this.
2662 * gdb.base/align-c++.exp: Update.
2663 * gdb.base/align-c.exp: Update.
2664 * gdb.base/all-architectures.exp.in: Rename to ...
2665 * gdb.base/all-architectures.exp: ... this.
2666 * gdb.base/all-architectures-0.exp: Update.
2667 * gdb.base/all-architectures-1.exp: Update.
2668 * gdb.base/all-architectures-2.exp: Update.
2669 * gdb.base/all-architectures-3.exp: Update.
2670 * gdb.base/all-architectures-4.exp: Update.
2671 * gdb.base/all-architectures-5.exp: Update.
2672 * gdb.base/all-architectures-6.exp: Update.
2673 * gdb.base/all-architectures-7.exp: Update.
2674 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
2675 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
2676 * gdb.base/infcall-nested-structs-c++.exp: Update.
2677 * gdb.base/infcall-nested-structs-c.exp: Update.
2678 * gdb.base/info-types.exp.in: Rename to ...
2679 * gdb.base/info-types.exp.tcl: ... this.
2680 * gdb.base/info-types-c++.exp: Update.
2681 * gdb.base/info-types-c.exp: Update.
2682 * gdb.base/max-depth.exp.in: Rename to ...
2683 * gdb.base/max-depth.exp.tcl: ... this.
2684 * gdb.base/max-depth-c++.exp: Update.
2685 * gdb.base/max-depth-c.exp: Update.
2686 * gdb.cp/cpexprs.exp.in: Rename to ...
2687 * gdb.cp/cpexprs.exp.tcl: ... this.
2688 * gdb.cp/cpexprs-debug-types.exp: Update.
2689 * gdb.cp/cpexprs.exp: Update.
2690 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
2691 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
2692 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
2693 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
2694 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
2695 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
2696 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
2697 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
2698 * gdb.dwarf2/clang-debug-names-2.exp: Update.
2699 * gdb.dwarf2/clang-debug-names.exp: Update.
2700
d1034d78
AB
27012020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
2702
2703 * lib/check-test-names.exp: Remove code that prevents this file
2704 loading when tests are run in parallel.
2705
3c5c3649
PA
27062020-05-15 Pedro Alves <palves@redhat.com>
2707
2708 * gdb.multi/multi-kill.exp (start_inferior): Remove
2709 'testpid' parameter. Refer to namespace variable directly.
2710 (testpid): Declare as namespace variable.
2711
272c36b8
PA
27122020-05-15 Pedro Alves <palves@redhat.com>
2713
2714 * gdb.multi/multi-kill.exp: Wrap in namespace.
2715 (start_inferior): Add TESTPID parameter. Use it instead of the
2716 testpid global.
2717 (top level): Define empty TESTPID array, and pass it down to
2718 start_inferior.
2719
02eba61a
TV
27202020-05-14 Tom de Vries <tdevries@suse.de>
2721
2722 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
2723 output.
2724
971a3747
TV
27252020-05-14 Tom de Vries <tdevries@suse.de>
2726
2727 * gdb.base/align.exp: Split into ...
2728 * gdb.base/align.exp.in: ...
2729 * gdb.base/align-c++.exp: ...
2730 * gdb.base/align-c.exp: ... these.
2731 * gdb.base/infcall-nested-structs.exp: Split into ...
2732 * gdb.base/infcall-nested-structs.exp.in: ...
2733 * gdb.base/infcall-nested-structs-c++.exp: ...
2734 * gdb.base/infcall-nested-structs-c.exp: ... these.
2735 * gdb.base/info-types.exp: Split into ...
2736 * gdb.base/info-types.exp.in: ...
2737 * gdb.base/info-types-c++.exp: ...
2738 * gdb.base/info-types-c.exp: ... these.
2739 * gdb.base/max-depth.exp: Split into ...
2740 * gdb.base/max-depth.exp.in: ...
2741 * gdb.base/max-depth-c++.exp: ...
2742 * gdb.base/max-depth-c.exp: ... these.
2743 * gdb.cp/infcall-nodebug.exp: Split into ...
2744 * gdb.cp/infcall-nodebug.exp.in: ...
2745 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
2746 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
2747 * gdb.cp/infcall-nodebug-c-d0.exp: ...
2748 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
2749
a05575d3
TBA
27502020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2751 Pedro Alves <palves@redhat.com>
2752
2753 * gdb.multi/multi-exit.c: New file.
2754 * gdb.multi/multi-exit.exp: New file.
2755 * gdb.multi/multi-kill.c: New file.
2756 * gdb.multi/multi-kill.exp: New file.
2757
6ad82919
TBA
27582020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2759
2760 * gdb.base/annota1.exp: Update the expected output.
2761 * gdb.cp/annota2.exp: Ditto.
2762
843f4d93
AB
27632020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2764
2765 * lib/check-test-names.exp: Disable when testing is being run in
2766 parallel.
2767
c7c66341
TV
27682020-05-12 Tom de Vries <tdevries@suse.de>
2769
2770 * gdb.base/jit-elf.exp: Fix string concat.
2771
1b59ca1c
TV
27722020-05-12 Tom de Vries <tdevries@suse.de>
2773
2774 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2775 messages.
2776
b4991d29
TV
27772020-05-12 Tom de Vries <tdevries@suse.de>
2778
2779 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2780
dbb0ab10
TV
27812020-05-12 Tom de Vries <tdevries@suse.de>
2782
2783 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2784 * gdb.ada/mi_catch_ex.exp: Same.
2785 * gdb.ada/mi_catch_ex_hand.exp: Same.
2786
7549fed8
TV
27872020-05-12 Tom de Vries <tdevries@suse.de>
2788
2789 * gdb.fortran/complex.exp: Use with_test_prefix.
2790
af2d5cd8
TV
27912020-05-12 Tom de Vries <tdevries@suse.de>
2792
2793 * gdb.trace/passcount.exp: Fix test-names.
2794
7c121311
TV
27952020-05-12 Tom de Vries <tdevries@suse.de>
2796
2797 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2798
c9f3b40e
TV
27992020-05-12 Tom de Vries <tdevries@suse.de>
2800
2801 * gdb.gdb/complaints.exp: Use with_test_prefix.
2802 * gdb.xml/tdesc-regs.exp: Same.
2803 * gdb.opt/inline-locals.exp: Fix test name.
2804
111b33f0
TV
28052020-05-12 Tom de Vries <tdevries@suse.de>
2806
2807 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
2808 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
2809 * gdb.dwarf2/implref-struct.exp: Same.
2810 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
2811 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
2812
ebf47080
SM
28132020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2814
2815 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2816
d30dcd12
AB
28172020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2818
2819 * lib/check-test-names.exp (all_test_names): New module variable.
2820 (counts): Add 'duplicates' field.
2821 (_check_duplicates): New procedure.
2822 (check): Also check for duplicates.
2823 (do_log_summary): Print duplicates count.
2824 (do_reset_vars): Reset counter for duplicate test names, and
2825 discard all know test names.
2826
34584c09
AB
28272020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2828
2829 * lib/gdb.exp: Include check-test-names.exp library.
2830 * lib/check-test-names.exp: New file.
2831
e0002117
TV
28322020-05-11 Tom de Vries <tdevries@suse.de>
2833
2834 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2835
53f539a3
KS
28362020-05-11 Keith Seitz <keiths@redhat.com>
2837
2838 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2839
113ee09a
TV
28402020-05-11 Tom de Vries <tdevries@suse.de>
2841
2842 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
2843 * gdb.cp/cpexprs.exp.in: .. here.
2844 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
2845 cpexprs.exp.
2846
ba3e70b0
KS
28472020-05-11 Keith Seitz <keiths@redhat.com>
2848
2849 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
2850 test names.
2851 * gdb.ada/arrayptr.exp: Likewise.
2852 * gdb.ada/assign_arr.exp: Likewise.
2853 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2854 * gdb.ada/bp_on_var.exp: Likewise.
2855 * gdb.ada/call_pn.exp: Likewise.
2856 * gdb.ada/complete.exp: Likewise.
2857 * gdb.ada/fun_overload_menu.exp: Likewise.
2858 * gdb.ada/funcall_param.exp: Likewise.
2859 * gdb.ada/funcall_ref.exp: Likewise.
2860 * gdb.ada/packed_array_assign.exp: Likewise.
2861 * gdb.ada/same_component_name.exp: Likewise.
2862 * gdb.ada/type_coercion.exp: Likewise.
2863 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2864 * gdb.ada/variant_record_packed_array.exp: Likewise.
2865
3ee6bb11
TV
28662020-05-11 Tom de Vries <tdevries@suse.de>
2867
2868 PR symtab/25941
2869 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
2870 out of ...
2871 * gdb.dwarf2/clang-debug-names.exp: ... here.
2872 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
2873 clang-debug-names.exp.in.
2874 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
2875 * gdb.dwarf2/clang-debug-names-2.c: New test.
2876
86cd6bc8
AKS
28772020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2878
2879 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
2880 (fortran_runto_main): New Proc, fortran version of runto_main.
2881 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
2882 * gdb.fortran/array-bounds.exp: Likewise.
2883 * gdb.fortran/array-slices.exp: Likewise.
2884 * gdb.fortran/block-data.exp: Likewise.
2885 * gdb.fortran/charset.exp: Likewise.
2886 * gdb.fortran/common-block.exp: Likewise.
2887 * gdb.fortran/complex.exp: Likewise.
2888 * gdb.fortran/derived-type-function.exp: Likewise.
2889 * gdb.fortran/derived-type.exp: Likewise.
2890 * gdb.fortran/info-modules.exp: Likewise.
2891 * gdb.fortran/info-types.exp: Likewise.
2892 * gdb.fortran/intrinsics.exp: Likewise.
2893 * gdb.fortran/library-module.exp: Likewise.
2894 * gdb.fortran/logical.exp: Likewise.
2895 * gdb.fortran/max-depth.exp: Likewise.
2896 * gdb.fortran/module.exp: Likewise.
2897 * gdb.fortran/multi-dim.exp: Likewise.
2898 * gdb.fortran/nested-funcs.exp: Likewise.
2899 * gdb.fortran/print-formatted.exp: Likewise.
2900 * gdb.fortran/print_type.exp: Likewise.
2901 * gdb.fortran/printing-types.exp: Likewise.
2902 * gdb.fortran/ptr-indentation.exp: Likewise.
2903 * gdb.fortran/ptype-on-functions.exp: Likewise.
2904 * gdb.fortran/subarray.exp: Likewise.
2905 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2906 * gdb.fortran/vla-datatypes.exp: Likewise.
2907 * gdb.fortran/vla-history.exp: Likewise.
2908 * gdb.fortran/vla-ptr-info.exp: Likewise.
2909 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2910 * gdb.fortran/vla-ptype.exp: Likewise.
2911 * gdb.fortran/vla-sizeof.exp: Likewise.
2912 * gdb.fortran/vla-type.exp: Likewise.
2913 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2914 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2915 * gdb.fortran/vla-value-sub.exp: Likewise.
2916 * gdb.fortran/vla-value.exp: Likewise.
2917 * gdb.fortran/whatis_type.exp: Likewise.
2918 * gdb.mi/mi-var-child-f.exp: Likewise.
2919
6dc55ce9 29202020-05-09 Tom de Vries <tdevries@suse.de>
2921
2922 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2923
283cb58c
TV
29242020-05-08 Tom de Vries <tdevries@suse.de>
2925
2926 * gdb.dwarf2/clang-debug-names.c: New test.
2927 * gdb.dwarf2/clang-debug-names.exp: New file.
2928
ac4a4f1c
SM
29292020-05-06 Simon Marchi <simon.marchi@efficios.com>
2930
2931 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2932 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2933
24fe640b
TV
29342020-05-06 Tom de Vries <tdevries@suse.de>
2935
2936 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2937 breakpoint is at a "recommended breakpoint location".
2938 * gdb.reverse/consecutive-reverse.exp: Same.
2939
0d8683a3
TV
29402020-05-06 Tom de Vries <tdevries@suse.de>
2941
2942 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2943 address.
2944
b8983c46
TV
29452020-05-06 Tom de Vries <tdevries@suse.de>
2946
2947 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2948
abf6d805
TV
29492020-05-06 Tom de Vries <tdevries@suse.de>
2950
2951 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2952 info for r.
2953
0fc2a808
TV
29542020-05-06 Tom de Vries <tdevries@suse.de>
2955
2956 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2957 necessary.
2958
873dd427
TV
29592020-05-06 Tom de Vries <tdevries@suse.de>
2960
2961 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2962 void.
2963
7c99e7e2
TV
29642020-05-06 Tom de Vries <tdevries@suse.de>
2965
2966 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2967 of ...
2968 * gdb.base/async.exp: ... here.
2969 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2970 "recommended breakpoint location".
2971
6173d6a6
TV
29722020-05-06 Tom de Vries <tdevries@suse.de>
2973
2974 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2975
6015a067
TV
29762020-05-04 Tom de Vries <tdevries@suse.de>
2977
2978 * gdb.base/async.exp: Check whether instruction addresses are a
2979 "recommended breakpoint location".
2980
3b6acaee
TT
29812020-05-03 Tom Tromey <tom@tromey.com>
2982
2983 * gdb.base/sepdebug.exp: Remove "catch" test.
2984 * gdb.base/break.exp: Remove "catch" test.
2985 * gdb.base/default.exp: Update expected output.
2986
5beb4d17
TV
29872020-05-02 Tom de Vries <tdevries@suse.de>
2988
2989 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2990 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2991 * gdb.arch/i386-mpx-map.exp: Same.
2992 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2993 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2994 * gdb.arch/i386-mpx.exp: Same.
2995
8caf140d
TV
29962020-05-02 Tom de Vries <tdevries@suse.de>
2997
2998 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2999
693196cb
TV
30002020-05-01 Tom de Vries <tdevries@suse.de>
3001
3002 * gdb.ada/operator_bp.exp: Allow more than required amount of
3003 breakpoint.
3004
53ae0aa9
TV
30052020-05-01 Tom de Vries <tdevries@suse.de>
3006
3007 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3008
ee9d1e5f
HD
30092020-04-30 Hannes Domani <ssbssa@yahoo.de>
3010
3011 PR gdb/18706
3012 * gdb.cp/stub-array-size.cc: New test.
3013 * gdb.cp/stub-array-size.exp: New file.
3014 * gdb.cp/stub-array-size.h: New test.
3015 * gdb.cp/stub-array-size2.cc: New test.
3016
d5cf82c0
HD
30172020-04-30 Hannes Domani <ssbssa@yahoo.de>
3018
3019 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
3020 output to the new format.
3021
42e165c3
SM
30222020-04-29 Simon Marchi <simon.marchi@efficios.com>
3023
3024 * gdb.base/break.exp: Use with_test_prefix.
3025
6e4e3fe1
TV
30262020-04-29 Tom de Vries <tdevries@suse.de>
3027
3028 * lib/gdb.exp (debug_types): New proc.
3029 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
3030 * gdb.python/py-symtab.exp: Same.
3031
d642b692
HD
30322020-04-29 Hannes Domani <ssbssa@yahoo.de>
3033
3034 PR gdb/17320
3035 * gdb.base/pretty-array.c: New test.
3036 * gdb.base/pretty-array.exp: New file.
3037
ea90f227
TV
30382020-04-29 Tom de Vries <tdevries@suse.de>
3039
3040 PR symtab/25889
3041 * gdb.cp/cpexprs.exp: Adapt for inclusion.
3042 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
3043 and include cpexprs.exp.
3044
a65189c9
TV
30452020-04-28 Mark Williams <mark@myosotissp.com>
3046
3047 PR gdb/24480
3048 * dw4-toplevel-types.exp: Test for top level types.
3049 * dw4-toplevel-types.cc: Test for top level types.
3050
32d1f47a
TBA
30512020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3052
3053 * gdb.threads/stop-with-handle.exp: Fix typo in comment
3054 (theads -> threads).
3055
56a4f5a1
TV
30562020-04-28 Tom de Vries <tdevries@suse.de>
3057
3058 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
3059
0b2f8a3b
TV
30602020-04-28 Tom de Vries <tdevries@suse.de>
3061
3062 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
3063
5390c717
TV
30642020-04-28 Tom de Vries <tdevries@suse.de>
3065
3066 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
3067
15cd93d0
TV
30682020-04-28 Tom de Vries <tdevries@suse.de>
3069
3070 * gdb.dwarf2/main-foo.c: New test.
3071 * gdb.dwarf2/struct-with-sig.exp: New file.
3072
d472f0fb
TV
30732020-04-25 Tom de Vries <tdevries@suse.de>
3074
3075 * boards/debug-types.exp: New file.
3076
8d840e05
AB
30772020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
3078
3079 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
3080
bcfe6157
TT
30812020-04-24 Tom Tromey <tom@tromey.com>
3082
3083 PR symtab/12707:
3084 * gdb.python/py-symbol.exp: Update expected results for
3085 linkage_name test.
3086 * gdb.cp/print-demangle.exp: New file.
3087 * gdb.base/c-linkage-name.exp: Fix test.
3088 * gdb.guile/scm-symbol.exp: Update expected results for
3089 linkage_name test.
3090
f049a313
TT
30912020-04-24 Tom Tromey <tom@tromey.com>
3092
3093 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
3094 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
3095 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
3096 assembler.
3097
7cf28874
TV
30982020-04-24 Tom de Vries <tdevries@suse.de>
3099
3100 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
3101 C++.
3102
dac2fef7
TT
31032020-04-24 Tom Tromey <tromey@adacore.com>
3104
3105 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
3106 values.
3107 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
3108 values. Update test for minimal encodings.
3109 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
3110 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
3111 values. Update test for minimal encodings.
3112
1acda803
TT
31132020-04-24 Tom Tromey <tromey@adacore.com>
3114
3115 PR python/23662:
3116 * gdb.ada/variant.exp: Add Python checks.
3117 * gdb.rust/simple.exp: Add dynamic type checks.
3118
adfb9815
TT
31192020-04-24 Tom Tromey <tromey@adacore.com>
3120
3121 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
3122 Make array type matching more lax.
3123 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
3124 * gdb.ada/mi_variant.exp: New file.
3125 * gdb.ada/mi_variant/pck.ads: New file.
3126 * gdb.ada/mi_variant/pkg.adb: New file.
3127 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
3128 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
3129
7d79de9a
TT
31302020-04-24 Tom Tromey <tromey@adacore.com>
3131
3132 * gdb.ada/variant.exp: Add dynamic field offset tests.
3133 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
3134 * gdb.ada/variant/pkg.adb: Add new variables.
3135
f8e89861
TT
31362020-04-24 Tom Tromey <tromey@adacore.com>
3137
3138 * gdb.ada/variant.exp: New file
3139 * gdb.ada/variant/pkg.adb: New file
3140 * gdb.ada/variant/pck.adb: New file
3141
86e887ae
TV
31422020-04-24 Tom de Vries <tdevries@suse.de>
3143
3144 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
3145
88428775
TV
31462020-04-24 Tom de Vries <tdevries@suse.de>
3147
3148 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
3149 flags.
3150
4e86f6e7
TV
31512020-04-24 Tom de Vries <tdevries@suse.de>
3152
3153 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
3154
2016d3e6
TV
31552020-04-24 Tom de Vries <tdevries@suse.de>
3156
3157 * lib/gdb.exp (default_gdb_start): Handle eof.
3158 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
3159 failure.
3160 * gdb.base/readnever.exp: Handle clean_restart failure.
3161
70bc38f5
TV
31622020-04-23 Tom de Vries <tdevries@suse.de>
3163
3164 * gdb.base/decl-before-def.exp: Run to main and print a again.
3165
de82891c
TV
31662020-04-23 Tom de Vries <tdevries@suse.de>
3167
3168 * gdb.base/decl-before-def-decl.c: New test.
3169 * gdb.base/decl-before-def-def.c: New test.
3170 * gdb.base/decl-before-def.exp: New file.
3171
96038148
TV
31722020-04-23 Tom de Vries <tdevries@suse.de>
3173
3174 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
3175
54ac3df1
TV
31762020-04-22 Tom de Vries <tdevries@suse.de>
3177
3178 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
3179 debug_info_offset.
3180 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
3181 before $objsfile in the line line.
3182
714534e1
TV
31832020-04-22 Tom de Vries <tdevries@suse.de>
3184
3185 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
3186
16a7dbf4
MS
31872020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3188
3189 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
3190 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
3191 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
3192 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
3193 * gdb.base/jit-protocol.h: Update definitions to match all usage
3194 contexts.
3195
31962020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3197
3198 * gdb.base: Rename all jit related test and source files.
3199
32002020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3201
3202 * gdb.base/jit-reader.exp: Relax register output check.
3203
317d2668
TV
32042020-04-22 Tom de Vries <tdevries@suse.de>
3205
3206 PR symtab/25764
3207 * gdb.base/psym-external-decl-2.c: New test.
3208 * gdb.base/psym-external-decl.c: New test.
3209 * gdb.base/psym-external-decl.exp: New file.
3210 * gdb.threads/tls.exp: Add PR25807 kfail.
3211
eea9e357
TV
32122020-04-22 Tom de Vries <tdevries@suse.de>
3213
3214 PR symtab/25801
3215 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
3216 in "info source" output.
3217
3d5afab3
TV
32182020-04-22 Tom de Vries <tdevries@suse.de>
3219
3220 PR symtab/25700
3221 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3222 symtab for imported_unit.c.
3223
b32102f6
GB
32242020-04-21 Gary Benson <gbenson@redhat.com>
3225
3226 * gdb.base/advance.c (func): New argument, to match call site.
3227 (func2, func3): Add return statements.
3228
d43b7a2d
TBA
32292020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3230
3231 * gdb.multi/run-only-second-inf.c: New file.
3232 * gdb.multi/run-only-second-inf.exp: New file.
3233
d89edf9b
MM
32342020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3235
3236 * gdb.btrace/multi-inferior.c: New test.
3237 * gdb.btrace/multi-inferior.exp: New file.
3238
1a476b6d
MM
32392020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3240
3241 * gdb.btrace/enable-new-thread.c: New test.
3242 * gdb.btrace/enable-new-thread.exp: New file.
3243
4778a5f8
TV
32442020-04-21 Tom de Vries <tdevries@suse.de>
3245
3246 PR gdb/25471
3247 * gdb.threads/killed-outside.c: New test.
3248 * gdb.threads/killed-outside.exp: New file.
3249
9b2c992c
GB
32502020-04-20 Gary Benson <gbenson@redhat.com>
3251
3252 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3253 * gdb.base/nested-subp2.exp: Likewise.
3254 * gdb.base/nested-subp3.exp: Likewise.
3255
b5d1d6f7
GB
32562020-04-20 Gary Benson <gbenson@redhat.com>
3257
3258 * gdb.base/nested-subp1.exp: Disable test when using clang.
3259 * gdb.base/nested-subp2.exp: Likewise.
3260 * gdb.base/nested-subp3.exp: Likewise.
3261
25230285
GB
32622020-04-20 Gary Benson <gbenson@redhat.com>
3263
3264 * gdb.cp/exception.cc: Fix compilation error with clang.
3265
fa93cc8f
GB
32662020-04-20 Gary Benson <gbenson@redhat.com>
3267
809730f3 3268 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 3269
e0c45f30
GB
32702020-04-20 Gary Benson <gbenson@redhat.com>
3271
3272 * gdb.base/jit-main.c: Fix compilation error with clang.
3273
4ddfec93
KR
32742020-04-17 Kamil Rytarowski <n54@gmx.com>
3275
3276 * gdb.base/attach-twice.c: Include "sys/types.h".
3277 (PTRACE_ATTACH): Add fallback definition.
3278 (main): Pass `0' to the 4th argument of `ptrace'.
3279
2bed205e
KR
32802020-04-17 Kamil Rytarowski <n54@gmx.com>
3281
3282 * gdb.base/fork-running-state.c: Include "signal.h".
3283
0743fc83
TT
32842020-04-17 Tom Tromey <tromey@adacore.com>
3285
3286 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3287 Update tests.
3288 * gdb.btrace/cpu.exp: Update tests.
3289 * gdb.base/maint.exp: Update tests.
3290 * gdb.base/default.exp: Update tests.
3291 * gdb.base/completion.exp: Update tests.
3292
efba5c23
TV
32932020-04-16 Tom de Vries <tdevries@suse.de>
3294
3295 PR symtab/25791
3296 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3297 (ensure_gdb_index): and factor out and move ...
3298 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3299 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3300
d191d716
TV
33012020-04-16 Tom de Vries <tdevries@suse.de>
3302
3303 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3304 loading exec.
3305
99f1bc6a
AB
33062020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3307
3308 * gdb.base/many-completions.exp: New file.
3309
194d088f
TV
33102020-04-14 Tom de Vries <tdevries@suse.de>
3311
3312 PR symtab/25718
3313 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3314
c1a66c06
TV
33152020-04-14 Tom de Vries <tdevries@suse.de>
3316
3317 PR symtab/25720
3318 * gdb.base/maint-expand-symbols-header-file.c: New test.
3319 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3320 * gdb.base/maint-expand-symbols-header-file.h: New test.
3321
21b0982c
AB
33222020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3323
3324 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3325 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3326 get_func_info.
3327 (get_func_info): Delete.
3328 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3329 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3330 * lib/dwarf.exp (get_func_info): New function.
3331
dd1cab06
TV
33322020-04-13 Tom de Vries <tdevries@suse.de>
3333
3334 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3335 to what find_gnatmake does.
3336
71ea2b6b
TV
33372020-04-10 Tom de Vries <tdevries@suse.de>
3338
3339 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3340 -readnow.
3341
bdfc1e8a
TV
33422020-04-10 Tom de Vries <tdevries@suse.de>
3343
3344 PR cli/25808
3345 * gdb.base/style.c: Add leading newlines.
3346 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3347 Check listing of main's one-line body.
3348
14ca8ecf
TV
33492020-04-08 Tom de Vries <tdevries@suse.de>
3350
3351 * lib/gdb.exp (psymtabs_p): New proc.
3352 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3353 importing unit" unsupported if there are no partial symbols.
3354
e21d048f
TV
33552020-04-08 Tom de Vries <tdevries@suse.de>
3356
3357 PR testsuite/25760
3358 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3359
25c11aca
TV
33602020-04-07 Tom de Vries <tdevries@suse.de>
3361
3362 PR symtab/25796
3363 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3364
5707e24b
TV
33652020-04-07 Tom de Vries <tdevries@suse.de>
3366
3367 * gdb.base/check-psymtab.c: New test.
3368 * gdb.base/check-psymtab.exp: New file.
3369
6ee448cc
TT
33702020-04-06 Tom Tromey <tromey@adacore.com>
3371
3372 * gdb.ada/variant-record/proc.adb: New file.
3373 * gdb.ada/variant-record/value.adb: New file.
3374 * gdb.ada/variant-record/value.s: New file.
3375 * gdb.ada/variant-record.exp: New file.
3376
9e7c9a03
HD
33772020-04-03 Hannes Domani <ssbssa@yahoo.de>
3378
3379 PR gdb/25325
3380 * gdb.cp/typed-enum.cc: New test.
3381 * gdb.cp/typed-enum.exp: New file.
3382
c90d28ac
AB
33832020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3384
3385 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3386 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3387 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3388 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3389 * gdb.opt/inline-small-func.c: New file.
3390 * gdb.opt/inline-small-func.exp: New file.
3391 * gdb.opt/inline-small-func.h: New file.
3392
34e9a9fa
AB
33932020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3394
3395 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3396 function.
3397
6a354911
AB
33982020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3399
3400 * lib/dwarf.exp (function_range): Allow compiler options to be
3401 specified.
3402
880d9777
TV
34032020-04-02 Tom de Vries <tdevries@suse.de>
3404
3405 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
3406 __attribute__((always_inline)).
3407 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
3408
f32682ea
TV
34092020-04-02 Tom de Vries <tdevries@suse.de>
3410
3411 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
3412 (gdbserver_gdb_exit): ... here. Add timeout warning.
3413 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
3414 (connect_target_extended_remote): Append new server_spawn_id to
3415 server_spawn_ids.
3416 (cleanup): New proc.
3417 (setup, <toplevel>): Call cleanup.
3418
d3214198
TV
34192020-04-02 Tom de Vries <tdevries@suse.de>
3420
3421 * gdb.base/main-psymtab.exp: New file.
3422
cc77ed24
TV
34232020-04-02 Tom de Vries <tdevries@suse.de>
3424
3425 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
3426
3638a098
TT
34272020-04-01 Tom Tromey <tom@tromey.com>
3428
3429 * gdb.base/complex-parts.exp: Add type tests.
3430
c34e8714
TT
34312020-04-01 Tom Tromey <tom@tromey.com>
3432
3433 * gdb.base/complex-parts.exp: Add arithmetic tests.
3434
981c08ce
TT
34352020-04-01 Tom Tromey <tom@tromey.com>
3436
3437 * gdb.compile/compile.exp: Update.
3438 * gdb.compile/compile-cplus.exp: Update.
3439 * gdb.base/varargs.exp: Update.
3440 * gdb.base/floatn.exp: Update.
3441 * gdb.base/endianity.exp: Update.
3442 * gdb.base/callfuncs.exp (do_function_calls): Update.
3443 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
3444 (complex_float_integral_args): Update.
3445 * gdb.base/complex.exp: Update.
3446 * gdb.base/complex-parts.exp: Update.
3447
3d1cfd43
TT
34482020-04-01 Tom Tromey <tromey@adacore.com>
3449
3450 * gdb.rust/union.rs: New file.
3451 * gdb.rust/union.exp: New file.
3452 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3453 (main): Update.
3454 * gdb.rust/simple.exp: Move union tests to union.exp.
3455
e033dfa9
TT
34562020-04-01 Tom Tromey <tromey@adacore.com>
3457
3458 * gdb.rust/simple.rs (main): Remove "y0".
3459
53cccef1
TBA
34602020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3461
3462 * gdb.multi/stop-all-on-exit.c: New test.
3463 * gdb.multi/stop-all-on-exit.exp: New file.
3464
60e22c1e
HD
34652020-04-01 Hannes Domani <ssbssa@yahoo.de>
3466
3467 PR gdb/24789
3468 * gdb.cp/misc.cc: Add integer reference variable.
3469 * gdb.cp/misc.exp: Add test.
3470
e139a727
TBA
34712020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3472
3473 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3474 scenario to cover execution until the end and also the case
3475
16b0db75
TV
34762020-03-31 Tom de Vries <tdevries@suse.de>
3477
3478 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3479 c. Use "maint info symtabs" to check symtab expansion.
3480
c0502da6
TV
34812020-03-30 Tom de Vries <tdevries@suse.de>
3482
3483 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3484 unsupported.
3485 (verify_psymtab_expanded): Move ...
3486 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3487 test.
3488 (readnow): New proc.
3489
5935fd15
AB
34902020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3491
3492 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3493 with $hex.
3494
1773be9e
TT
34952020-03-20 Tom Tromey <tromey@adacore.com>
3496
3497 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3498
70304be9
TT
34992020-03-20 Tom Tromey <tromey@adacore.com>
3500
3501 * gdb.ada/sub_variant/subv.adb: New file.
3502 * gdb.ada/sub_variant.exp: New file.
3503
0dd7b8f7
TV
35042020-03-20 Tom de Vries <tdevries@suse.de>
3505
3506 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3507 first break fails.
3508 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3509
cada5fc9
AB
35102020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3511
3512 * gdb.server/exit-multiple-threads.c: New file.
3513 * gdb.server/exit-multiple-threads.exp: New file.
3514
6b8c53f2
AB
35152020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3516
3517 * gdb.fortran/mixed-lang-stack.c: New file.
3518 * gdb.fortran/mixed-lang-stack.cpp: New file.
3519 * gdb.fortran/mixed-lang-stack.exp: New file.
3520 * gdb.fortran/mixed-lang-stack.f90: New file.
3521
19a2740f
AB
35222020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3523
3524 * gdb.linespec/cp-completion-aliases.cc: New file.
3525 * gdb.linespec/cp-completion-aliases.exp: New file.
3526
d8c8b848
TV
35272020-03-19 Tom de Vries <tdevries@suse.de>
3528
3529 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3530 more precise.
3531
a9933ccf
TV
35322020-03-18 Tom de Vries <tdevries@suse.de>
3533
3534 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
3535 * gdb.dwarf2/break-inline-psymtab.c: New test.
3536 * gdb.dwarf2/break-inline-psymtab.exp: New file.
3537
2f89101f
TV
35382020-03-16 Tom de Vries <tdevries@suse.de>
3539
3540 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3541 cache_verify and cache_verify_proc.
3542
6b9374f1
TV
35432020-03-15 Tom de Vries <tdevries@suse.de>
3544
3545 * gdb.server/solib-list.exp: Handle
3546 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3547
eaeaf44c
TV
35482020-03-15 Tom de Vries <tdevries@suse.de>
3549
3550 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3551 objfiles".
3552
3293bbaf
TT
35532020-03-14 Tom Tromey <tom@tromey.com>
3554
3555 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3556
ab44624c
TV
35572020-03-14 Tom de Vries <tdevries@suse.de>
3558
3559 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3560
54c43825
TV
35612020-03-14 Tom de Vries <tdevries@suse.de>
3562
3563 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3564 result in line-by-line fashion.
3565
2ac70237
TV
35662020-03-14 Tom de Vries <tdevries@suse.de>
3567
3568 * lib/gdb.exp (supports_statement_frontiers): New proc.
3569 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3570
09546b56
TV
35712020-03-14 Tom de Vries <tdevries@suse.de>
3572
3573 * gdb.base/printcmds.exp: Add missing quoting for "print
3574 teststring2".
3575
a1f6a07c
TT
35762020-03-13 Tom Tromey <tom@tromey.com>
3577
3578 * gdb.base/printcmds.exp (test_print_strings): Add regression
3579 test.
3580 * gdb.base/printcmds.c (charptr): New typedef.
3581 (teststring2): New global.
3582
1b83d09c
AB
35832020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
3584
3585 * gdb.base/break-interp.exp: Use the tail of the filename, not the
3586 full path in the test name.
3587 (test_ld): Add some with_test_prefix blocks to make test names
3588 unique.
3589
2d61316c
TV
35902020-03-13 Tom de Vries <tdevries@suse.de>
3591
3592 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3593
2e9145ac
TV
35942020-03-13 Tom de Vries <tdevries@suse.de>
3595
3596 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3597
96c7f873
TV
35982020-03-13 Tom de Vries <tdevries@suse.de>
3599
3600 PR symtab/25646
3601 * gdb.dwarf2/imported-unit.exp: Add test.
3602
49ba92c0
TV
36032020-03-13 Tom de Vries <tdevries@suse.de>
3604
3605 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
3606 (var1, var2): New variable.
3607 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
3608 matching symbols.
3609
301b21e0
TV
36102020-03-13 Tom de Vries <tdevries@suse.de>
3611
3612 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
3613 (Term::command): Use prompt prefix.
3614 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
3615 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3616 command_no_prompt_prefix instead of prefix.
3617 * gdb.tui/tui-layout-asm.exp: Same.
3618
3f512721
SM
36192020-03-12 Simon Marchi <simon.marchi@efficios.com>
3620
3621 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3622
40310f30
SM
36232020-03-12 Simon Marchi <simon.marchi@efficios.com>
3624
3625 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3626 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3627 on" while stepping over the test instruction, match printed
3628 message.
3629
09252140
TV
36302020-03-12 Tom de Vries <tdevries@suse.de>
3631
3632 * gdb.base/info-types.exp: Use exp_continue during matching of output
3633 of "info types".
3634
14e9c72c
TV
36352020-03-12 Tom de Vries <tdevries@suse.de>
3636
3637 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3638
e515d67e
TV
36392020-03-12 Tom de Vries <tdevries@suse.de>
3640
3641 * gdb.fortran/module.exp: Use exp_continue during matching of output
3642 of "info variable -n".
3643
307eafd8
TV
36442020-03-12 Tom de Vries <tdevries@suse.de>
3645
3646 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3647 gdb.dwarf2/dw2-ranges-base.c.
3648
9a2de3fc
TV
36492020-03-12 Tom de Vries <tdevries@suse.de>
3650
3651 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
3652 in presence of GLIBC debuginfo.
3653
3217502e
TV
36542020-03-12 Tom de Vries <tdevries@suse.de>
3655
3656 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
3657 $core.
3658
1281424c
TV
36592020-03-12 Tom de Vries <tdevries@suse.de>
3660
3661 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
3662 more precise.
3663
038b97fc
SM
36642020-03-11 Simon Marchi <simon.marchi@efficios.com>
3665
3666 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
3667 from Unix to Windows path.
3668
5308d1e7
TV
36692020-03-11 Tom de Vries <tdevries@suse.de>
3670
3671 * gdb.ada/minsyms.exp: Set language to ada.
3672
f870f78f
TV
36732020-03-11 Tom de Vries <tdevries@suse.de>
3674
3675 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
3676
5a13315d
TV
36772020-03-11 Tom de Vries <tdevries@suse.de>
3678
3679 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
3680
976862ed
TT
36812020-03-11 Tom Tromey <tromey@adacore.com>
3682
3683 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
3684
7462c383
TV
36852020-03-11 Tom de Vries <tdevries@suse.de>
3686
3687 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
3688
1c6c46a0
TV
36892020-03-11 Tom de Vries <tdevries@suse.de>
3690
3691 * gdb.base/break-interp.exp: Limit verbose scope.
3692
44f41bb7
TV
36932020-03-11 Tom de Vries <tdevries@suse.de>
3694
3695 * gdb.fortran/logical.f90: Define variable with character type.
3696 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
3697
b76f3a42
TV
36982020-03-11 Tom de Vries <tdevries@suse.de>
3699
3700 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
3701
1c33af77
TV
37022020-03-11 Tom de Vries <tdevries@suse.de>
3703
3704 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
3705 symtabs.
3706
8c95582d
AB
37072020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3708 Bernd Edlinger <bernd.edlinger@hotmail.de>
3709
3710 * gdb.cp/step-and-next-inline.cc: New file.
3711 * gdb.cp/step-and-next-inline.exp: New file.
3712 * gdb.cp/step-and-next-inline.h: New file.
3713 * gdb.dwarf2/dw2-is-stmt.c: New file.
3714 * gdb.dwarf2/dw2-is-stmt.exp: New file.
3715 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
3716 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
3717 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
3718
cecf8547
AB
37192020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3720
3721 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
3722 is-stmt flag in the line table.
3723
0ba678c9
TV
37242020-03-09 Tom de Vries <tdevries@suse.de>
3725
3726 * lib/gdb.exp (cached_file): Create cache dir.
3727
72fbdf83
TV
37282020-03-07 Tom de Vries <tdevries@suse.de>
3729
3730 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
3731 * gdb.cp/rvalue-ref-params.exp: Same.
3732
436b5e99
TV
37332020-03-06 Tom de Vries <tdevries@suse.de>
3734
3735 * lib/gdb.exp (tentative_rename, cached_file): New proc.
3736 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
3737
09f2921c
TV
37382020-03-06 Tom de Vries <tdevries@suse.de>
3739
3740 * README: Fix "the the".
3741 * gdb.base/dprintf.exp: Same.
3742
50a3cc5d
TV
37432020-03-05 Tom de Vries <tdevries@suse.de>
3744
3745 * gdb.base/maint.exp: Update "main print statistics" expected output.
3746
0a709cba
AKS
37472020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3748
3749 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
3750 (fortran_int8): Likewise.
3751 (fortran_real4): Likewise.
3752 (fortran_real8): Likewise.
3753 (fortran_complex4): Likewise.
3754 (fortran_logical4): Likewise.
3755 (fortran_character1): Likewise.
3756
5e5d66b6
AB
37572020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3758
3759 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3760 printed as true.
3761
7b973adc
SDJ
37622020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3763
3764 * gdb.base/printcmds.exp: Add test to verify printf of a
3765 variable holding an address.
3766
478e490a
TV
37672020-03-03 Tom de Vries <tdevries@suse.de>
3768
3769 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3770
1ef44e86
TV
37712020-03-03 Tom de Vries <tdevries@suse.de>
3772
3773 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3774 gdb_test_multiple call.
3775
b98cc2cf
TV
37762020-03-03 Tom de Vries <tdevries@suse.de>
3777
3778 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3779 gdb_test_multiple calls.
3780
63e163f2
AB
37812020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3782
3783 * gdb.base/default.exp: Remove test of 'set history filename'.
3784 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3785 filename to the empty string.
3786 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3787 and GDBHISTSIZE.
3788
24ed6739
AB
37892020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3790
3791 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3792 disabled.
3793
590003dc 37942020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 3795 Tom de Vries <tdevries@suse.de>
590003dc
TV
3796
3797 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3798 -prompt prefix, before user_code argument. Add -lbl option likewise.
3799 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3800 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3801 argument.
3802 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3803 have "\r\n" at start-of-line, instead of at end-of-line.
3804
f5e46084
SM
38052020-02-28 Simon Marchi <simon.marchi@efficios.com>
3806
3807 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3808 libinproctrace.so.
3809
f7a7000d
LM
38102020-02-28 Luis Machado <luis.machado@linaro.org>
3811
3812 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3813 to "p/x".
3814
718e0816
LM
38152020-02-28 Luis Machado <luis.machado@linaro.org>
3816
3817 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3818 asm/ptrace.h and error.h.
3819
13c3a74a
TV
38202020-02-28 Tom de Vries <tdevries@suse.de>
3821
3822 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
3823 (struct wrapper, do_something, mundane/symada__cS): Move ...
3824 * gdb.base/c-linkage-name-2.c: ... here. New source file.
3825 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
3826 Update "print symada__cS before partial symtab expansion" regexp.
3827 Update breakpoint location. Flush symbol cache after expansion.
3828
85d2d5bb
LM
38292020-02-28 Luis Machado <luis.machado@linaro.org>
3830
3831 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3832
3608f86c
TV
38332020-02-27 Tom de Vries <tdevries@suse.de>
3834
3835 * config/sid.exp: Remove unused globals.
3836 * gdb.base/attach.exp: Same.
3837 * gdb.base/catch-load.exp: Same.
3838 * gdb.base/dbx.exp: Same.
3839 * lib/gdb.exp: Same.
3840 * lib/mi-support.exp: Same.
3841 * lib/prompt.exp: Same.
3842
c8d4f6df
TV
38432020-02-27 Tom de Vries <tdevries@suse.de>
3844
3845 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3846 not set.
3847
0d79cdc4
AM
38482020-02-26 Aaron Merey <amerey@redhat.com>
3849
3850 * gdb.debuginfod: New directory for debuginfod tests.
3851 * gdb.debuginfod/main.c: New test file.
3852 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
3853
0dce4280
TV
38542020-02-26 Tom de Vries <tdevries@suse.de>
3855
3856 PR gdb/25603
3857 * gdb.base/persistent-lang.cc: New test.
3858 * gdb.base/persistent-lang.exp: New file.
3859
9e80cfa1
AB
38602020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3861
3862 * gdb.fortran/derived-type-striding.exp: Add a new test.
3863 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3864 new test.
3865
2078dbb2
AB
38662020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3867
3868 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3869 names.
3870
70d49700
TV
38712020-02-25 Tom de Vries <tdevries@suse.de>
3872
3873 PR go/18926
3874 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3875
a88ef40d
TV
38762020-02-24 Tom de Vries <tdevries@suse.de>
3877
3878 PR gdb/25592
3879 * gdb.base/info-locals-unused-static-var.c: New test.
3880 * gdb.base/info-locals-unused-static-var.exp: New file.
3881
01b1af32
TT
38822020-02-22 Tom Tromey <tom@tromey.com>
3883
3884 * gdb.python/tui-window.exp: New file.
3885 * gdb.python/tui-window.py: New file.
3886
7c043ba6
TT
38872020-02-22 Tom Tromey <tom@tromey.com>
3888
3889 PR tui/17850:
3890 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3891 tests.
3892
c22fef7e
TT
38932020-02-22 Tom Tromey <tom@tromey.com>
3894
3895 * gdb.tui/new-layout.exp: Add sub-layout tests.
3896
ee325b61
TT
38972020-02-22 Tom Tromey <tom@tromey.com>
3898
3899 * gdb.tui/new-layout.exp: New file.
3900
3f0cbb04
TT
39012020-02-22 Tom Tromey <tom@tromey.com>
3902
3903 * gdb.rust/rust-style.rs: New file.
3904 * gdb.rust/rust-style.exp: New file.
3905 * gdb.base/style.exp: Test structure printing.
3906 * gdb.base/style.c (struct some_struct): New type.
3907 (enum etype): New type.
3908 (struct_value): New global.
3909
75525152
TV
39102020-02-21 Tom de Vries <tdevries@suse.de>
3911
3912 PR go/18926
3913 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
3914 Remove blanket xfails. Use message argument for gdb_breakpoint.
3915 Make continuing to breakpoint test conditional on setting breakpoint.
3916 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
3917 DW_AT_name attribute. Add xfail for GCC PR93866.
3918
bd360d30
AB
39192020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3920
3921 * gdb.dwarf2/cpp-linkage-name.c: New file.
3922 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3923
c7adb09f 39242020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
3925
3926 * lib/gdb.exp (gdb_wrapper_init): Reset
3927 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3928 not exist.
3929
a9c79803
TV
39302020-02-20 Tom de Vries <tdevries@suse.de>
3931
3932 PR go/17018
3933 * gdb.go/hello.exp: Copy ...
3934 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3935 print of st to print value of global definition. Add xfail for GCC
3936 PR93844.
3937 * gdb.go/hello.exp: Remove printing of st before definition.
3938 * gdb.go/hello.go: Copy ...
3939 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3940 to st.
3941 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3942
d7445728
TV
39432020-02-20 Tom de Vries <tdevries@suse.de>
3944
3945 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3946 (gdb_simple_compile): Handle compile_flags go by using .go extension
3947 for source file.
3948 * gdb.go/chan.exp: Use support_go_compile.
3949 * gdb.go/handcall.exp: Same.
3950 * gdb.go/hello.exp: Same.
3951 * gdb.go/integers.exp: Same.
3952 * gdb.go/max-depth.exp: Same.
3953 * gdb.go/methods.exp: Same.
3954 * gdb.go/package.exp: Same.
3955 * gdb.go/strings.exp: Same.
3956 * gdb.go/types.exp: Same.
3957 * gdb.go/unsafe.exp: Same.
3958
c9c41e6d
TV
39592020-02-19 Tom de Vries <tdevries@suse.de>
3960
3961 * gdb.python/lib-types.exp: Make xfail more strict.
3962
f20ff837
TV
39632020-02-19 Tom de Vries <tdevries@suse.de>
3964
3965 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3966
08410482
DE
39672020-02-19 Doug Evans <dje@google.com>
3968
3969 PR rust/25535
3970 * gdb.rust/simple.exp: Add test.
3971 * gdb.rust/simple.rs: Add test.
3972
623563f7
TV
39732020-02-19 Tom de Vries <tdevries@suse.de>
3974
3975 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3976 output line-by-line.
3977
d3308cfd
TV
39782020-02-19 Tom de Vries <tdevries@suse.de>
3979
3980 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3981
86cbc5dc
TV
39822020-02-19 Tom de Vries <tdevries@suse.de>
3983
3984 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3985 prelink.
3986
9db2b96b
TV
39872020-02-19 Tom de Vries <tdevries@suse.de>
3988
3989 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3990 (gdb_do_cache): Use gdb_do_cache_wrap.
3991 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3992
89e2fdc5
TV
39932020-02-19 Tom de Vries <tdevries@suse.de>
3994
3995 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3996 gdb_compile option.
3997
373d7ac0
SM
39982020-02-18 Simon Marchi <simon.marchi@efficios.com>
3999
4000 * gdb.base/printcmds.exp (test_print_enums): Update expected
4001 output.
4002
b29a2df0
SM
40032020-02-18 Simon Marchi <simon.marchi@efficios.com>
4004
4005 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4006 for "unknown".
4007
6740f0cc
SM
40082020-02-18 Simon Marchi <simon.marchi@efficios.com>
4009
4010 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4011 enumerator.
4012
edd45eb0
SM
40132020-02-18 Simon Marchi <simon.marchi@efficios.com>
4014
4015 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
4016 FE_, add FE_NONE.
4017 (three): Update.
4018 (enum flag_enum_without_zero): New enum.
4019 (flag_enum_without_zero): New variable.
4020 (enum not_flag_enum): New enum.
4021 (three_not_flag): New variable.
4022 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
4023 (test_print_enums): Add more tests for printing flag enums.
4024
d4295de4
TV
40252020-02-18 Tom de Vries <tdevries@suse.de>
4026
4027 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
4028 (gdb_compile_ada): ... here.
4029 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
4030 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
4031
f251f505
TT
40322020-02-14 Tom Tromey <tom@tromey.com>
4033
4034 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
4035 build directory.
4036 * boards/gdbserver-base.exp: Update path to gdbserver.
4037
8f432634
TV
40382020-02-13 Tom de Vries <tdevries@suse.de>
4039
4040 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
4041
92b6eaf7
TV
40422020-02-13 Tom de Vries <tdevries@suse.de>
4043
4044 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
4045 are missing.
4046
f3b0f7fe
TV
40472020-02-13 Tom de Vries <tdevries@suse.de>
4048
4049 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
4050 call.
4051
f6be8713
SDJ
40522020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
4053
4054 PR tui/25126
4055 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
4056 * gdb.base/cached-source-file.c: New file.
4057 * gdb.base/cached-source-file.exp: New file.
4058
b2770d5e
TV
40592020-02-11 Tom de Vries <tdevries@suse.de>
4060
4061 PR testsuite/25488
4062 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
4063
44f6938e
TV
40642020-02-10 Tom de Vries <tdevries@suse.de>
4065
4066 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
4067
5f0e2eb7
MR
40682020-02-10 Maciej W. Rozycki <macro@wdc.com>
4069
4070 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
4071 and $after_addr are both integers before making a comparison.
4072
46ce2b6f
TV
40732020-02-09 Tom de Vries <tdevries@suse.de>
4074
4075 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
4076 command output and paste it into gdb.log. If any, paste catch message
4077 to gdb.log.
4078
5abbbe1d
TT
40792020-02-07 Tom Tromey <tromey@adacore.com>
4080
4081 PR breakpoints/24915:
4082 * gdb.base/annotate-symlink.exp: Use setup_xfail.
4083
1d5d29e7
SV
40842020-02-06 Shahab Vahedi <shahab@synopsys.com>
4085
4086 * gdb.tui/tui-missing-src.exp: Add the "missing source
4087 file" test for the TUI.
4088
b0999b9b
AB
40892020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
4090
4091 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
4092 including a port number in the output.
4093
c3b149eb
AKS
40942020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4095
4096 * lib/fortran.exp (fortran_int4): Handle clang.
4097 (fortran_int8): Likewise.
4098 (fortran_real4): Likewise.
4099 (fortran_real8): Likewise.
4100 (fortran_complex4): Likewise.
4101 (fortran_logical4): Likewise.
4102 (fortran_character1): Likewise.
4103
f8dcc90b
TV
41042020-02-04 Tom de Vries <tdevries@suse.de>
4105
4106 * README (Race detection): Add note.
4107
f90ac7c2
TV
41082020-02-04 Tom de Vries <tdevries@suse.de>
4109
4110 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4111
780636ae
TV
41122020-02-04 Tom de Vries <tdevries@suse.de>
4113
4114 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
4115
5d2e1193
RA
41162020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4117
4118 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
4119 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
4120 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
4121 blttar, bnetarl.
4122 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
4123 binary for blttar, bnetarl.
4124 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
4125 wait instruction. Delete ldmx test.
4126 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
4127
e409c542
AKS
41282020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4129
4130 * gdb.fortran/array-bounds-high.exp: New file.
4131 * gdb.fortran/array-bounds-high.f90: New file.
4132
b0029748
LD
41332020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
4134
4135 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
4136 Replace #include of <sys/fcntl.h> by <fcntl.h>.
4137
195a8287
TV
41382020-02-01 Tom de Vries <tdevries@suse.de>
4139
4140 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
4141
42330a68
AB
41422020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
4143
4144 PR tui/9765
4145 * gdb.tui/tui-layout-asm-short-prog.S: New file.
4146 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
4147
b62a8028
LM
41482020-01-29 Luis Machado <luis.machado@linaro.org>
4149
4150 * gdb.arch/aarch64-brk-patterns.c: New source file.
4151 * gdb.arch/aarch64-brk-patterns.exp: New test.
4152
5f440116
TBA
41532020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4154
4155 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4156 GCC/Clang version.
4157 * gdb.cp/pass-by-ref.exp: Ditto.
4158
ee2a6fc6
TV
41592020-01-29 Tom de Vries <tdevries@suse.de>
4160
4161 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
4162 * gdb.threads/watchpoint-fork-mt.c: Same.
4163 * gdb.threads/watchpoint-fork-parent.c: Same.
4164 * gdb.threads/watchpoint-fork-st.c: Same.
4165 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
4166
16b10d6e
LM
41672020-01-27 Luis Machado <luis.machado@linaro.org>
4168
4169 * gdb.base/step-over-syscall.exp (setup): Check if we're already
4170 sitting at a syscall instruction when we hit the syscall function's
4171 breakpoint.
4172 Check PC against one obtained with the x command.
4173 Validate syscall number.
4174 (step_over_syscall): Don't continue to the syscall instruction if
4175 we're already there.
4176
b1468492
PW
41772020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4178
4179 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
4180
7ffa82e1
AB
41812020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4182
4183 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
4184 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
4185
3d92a3e3
AB
41862020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4187
4188 * gdb.dwarf2/dw2-inline-stepping.c: New file.
4189 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
4190
94a72be7
AB
41912020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4192
4193 * gdb.base/maint.exp: Update line table parsing test.
4194 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
4195
53af73bf
PA
41962020-01-24 Pedro Alves <palves@redhat.com>
4197
4198 PR gdb/25410
4199 * gdb.multi/multi-re-run-1.c: New.
4200 * gdb.multi/multi-re-run-2.c: New.
4201 * gdb.multi/multi-re-run.exp: New.
4202
1ba1ac88
AB
42032020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4204
4205 PR gdb/23718
4206 * gdb.server/server-kill-python.exp: New file.
4207
f3364a6d
AB
42082020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4209
4210 * gdb.server/multi-ui-errors.c: New file.
4211 * gdb.server/multi-ui-errors.exp: New file.
4212
733d0a67
AB
42132020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4214
4215 PR tui/9765
4216 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
4217
4f13c1c0
TT
42182020-01-19 Tom Tromey <tom@tromey.com>
4219
4220 * gdb.tui/main.exp: Add check for plain "file".
4221
40c94099
CB
42222020-01-16 Christian Biesinger <cbiesinger@google.com>
4223
4224 * lib/gdb.exp: Fix spelling error (seperatelly).
4225
ff47f4f0
TT
42262020-01-14 Tom Tromey <tom@tromey.com>
4227
4228 PR symtab/12535:
4229 * gdb.python/python.exp: Test decode_line with empty string
4230 argument.
4231
717c684d
BE
42322020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4233
4234 * gdb.base/skip-inline.exp: Extend test.
4235
44e4c775
AB
42362020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4237
4238 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4239 * gdb.dwarf2/dw2-bad-elf.c: New file.
4240 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4241
d93c6db7
AB
42422020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4243
4244 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4245 _line_saw_file.
4246
9a6d629c
AB
42472020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4248
4249 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4250 border.
4251
d9ebdab7
TBA
42522020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4253
4254 * gdb.multi/multi-target.exp (setup): Factor out "info
4255 connections" and "info inferiors" tests to ...
4256 (test_info_inferiors): ... this new procedure.
4257 (top level): Run new "info-inferiors" tests.
4258
f3c469b9
PA
42592020-01-10 Pedro Alves <palves@redhat.com>
4260
4261 * gdb.server/bkpt-other-inferior.exp: New file.
4262
121b3efd
PA
42632020-01-10 Pedro Alves <palves@redhat.com>
4264
4265 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4266 of "add-inferior".
4267 * gdb.base/quit-live.exp: Likewise.
4268 * gdb.base/remote-exec-file.exp: Likewise.
4269 * gdb.guile/scm-progspace.exp: Likewise.
4270 * gdb.linespec/linespec.exp: Likewise.
4271 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4272 * gdb.mi/user-selected-context-sync.exp: Likewise.
4273 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4274 "info inferiors" tests.
4275 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4276 "add-inferior".
4277 * gdb.multi/watchpoint-multi.exp: Likewise.
4278 * gdb.python/py-inferior.exp: Likewise.
4279 * gdb.server/extended-remote-restart.exp: Likewise.
4280 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4281 "info inferiors".
4282 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4283 * gdb.trace/report.exp: Likewise.
4284
1dadb1dd
PA
42852020-01-10 Pedro Alves <palves@redhat.com>
4286
4287 * gdb.multi/multi-target.c: New file.
4288 * gdb.multi/multi-target.exp: New file.
4289 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4290 mode requested, but remote does not support non-stop".
4291
78f2c40a
PA
42922020-01-10 Pedro Alves <palves@redhat.com>
4293
4294 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4295 disconnect before reconnecting.
4296
e7af6c70
TBA
42972020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4298 Pedro Alves <palves@redhat.com>
4299
4300 * gdb.server/connect-without-multi-process.exp: Also test
4301 continuing to end.
4302
acdf84a6
PA
43032020-01-10 Pedro Alves <palves@redhat.com>
4304
4305 * gdb.base/remote-exec-file.exp: New file.
4306
873657b9
PA
43072020-01-10 Pedro Alves <palves@redhat.com>
4308
4309 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4310 output.
4311 * gdb.threads/async.c: New.
4312 * gdb.threads/async.exp: New.
4313 * gdb.multi/tids-gid-reset.c: New.
4314 * gdb.multi/tids-gid-reset.exp: New.
4315
7f0ae84c
GB
43162020-01-10 George Barrett <bob@bob131.so>
4317
4318 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4319 to help in finding the image relocation offset.
4320 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4321 options in arguments.
4322 (stap_test_no_debuginfo): Likewise.
4323 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4324 test variants.
4325 (stap_test): Add null semaphore relocation test.
4326
47e9d49d
GB
43272020-01-10 George Barrett <bob@bob131.so>
4328
4329 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4330 * gdb.base/stap-probe.exp: Likewise.
4331 (stap_test): Pass argument as an additional flag.
4332 (stap_test_no_debuginfo): Likewise.
4333 (stap_test): Check `info probes stap' output for semaphore
4334 addresses if the test binary is supposed to have them.
4335
f5a7c406
AB
43362020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4337
4338 * gdb.tui/basic.exp: Add more scrolling tests.
4339
9ae6bf64
TT
43402020-01-09 Tom Tromey <tom@tromey.com>
4341
4342 PR tui/18932:
4343 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4344 meangingful value.
4345 (Term::command, Term::resize): Update.
4346 * gdb.tui/basic.exp: Add scrolling test.
4347
b2efe70c
AB
43482020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4349
4350 * gdb.tui/tui-layout-asm.exp: New file.
4351
3804da7e
AB
43522020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4353
4354 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4355
b40aa28f
AB
43562020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4357
4358 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4359 (Term::enter_tui): Use Term::prepare_for_tui.
4360
63ffd7c9
AB
43612020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4362
4363 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4364 called.
4365
3be966f6
AB
43662020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4367
4368 * gdb.base/skip.exp: Fix race condition in test.
4369
153d79c4
AB
43702020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4371
4372 * gdb.base/backtrace.c: New file.
4373 * gdb.base/backtrace.exp: New file.
4374
f2302a34
AB
43752020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4376
4377 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4378
6ec1d75e
PW
43792020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4380
4381 * gdb.base/style.exp: Test that warnings are styled.
4382
c296cbe6
BE
43832019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4384
4385 * gdb.base/line65535.exp: New file.
4386 * gdb.base/line65535.c: New file.
4387
b28a729d
SM
43882019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4389
4390 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4391 * lib/gnat_debug_info_test.adb: New file.
4392 * gdb.ada/ptype_tagged_param.exp: Use
4393 gnat_runtime_has_debug_info, expect a different output if
4394 runtime does not have debug info.
4395
7f2d7a0d
SM
43962019-12-20 Simon Marchi <simon.marchi@efficios.com>
4397
4398 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4399 (another) quote in test name.
4400
f3bce483
SM
44012019-12-20 Simon Marchi <simon.marchi@efficios.com>
4402
4403 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4404 Add quote in test name.
4405
c855a912
TBA
44062019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4407
4408 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
4409 directory instead.
4410 * gdb.cp/pass-by-ref.exp: Extend with more cases.
4411 * gdb.cp/pass-by-ref-2.cc: New file.
4412 * gdb.cp/pass-by-ref-2.exp: New file.
4413
fc9d2d72
TT
44142019-12-20 Tom Tromey <tom@tromey.com>
4415
4416 * gdb.tui/list-before.exp: New file.
4417
77b97e00
TT
44182019-12-20 Tom Tromey <tom@tromey.com>
4419
4420 * gdb.tui/list.exp: Check for source on initial listing.
4421
f69656d0
TT
44222019-12-11 Tom Tromey <tromey@adacore.com>
4423
4424 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4425 Add crlf test.
4426
99a55965
SM
44272019-12-18 Simon Marchi <simon.marchi@efficios.com>
4428
4429 * gdb.base/default.exp: Update value of $_gdb_major.
4430
5024637f
BE
44312019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4432
4433 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
4434
b63634be
BE
44352019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4436
4437 * gdb.base/skip.exp: Whitespace fix.
4438
45d73523
BE
44392019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4440
4441 * gdb.base/skip-inline.c: New file.
4442 * gdb.base/skip-inline.exp: New file.
4443
d043f8c8
SM
44442019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
4445
4446 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4447 jit_function_00 to jit_function_stack_mangle.
4448 * gdb.base/jithost.c (jit_function_t): Rename to...
4449 (jit_function_stack_mangle_t): ... this.
4450 (jit_function_add_t): New typedef.
4451 (jit_function_00_code): Rename to...
4452 (jit_function_stack_mangle_code): ... this, make static.
4453 (jit_function_add_code): New.
4454 (main): Generate "add" function and call it. Adjust to changes
4455 in jithost_abi.
4456 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4457 (struct jithost_abi) <begin, end>: Remove fields.
4458 <object, function_stack_mangle, function_add>: New fields.
4459 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4460 code_end>: Remove fields.
4461 <func_stack_mangle>: New field.
4462 (read_debug_info): Adjust to renaming, create block for "add"
4463 function.
4464 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4465
873de05c
TT
44662019-12-11 Tom Tromey <tom@tromey.com>
4467
4468 * gdb.tui/resize.exp: Fix regexp.
4469 * gdb.tui/regs.exp: Fix regexps.
4470 * gdb.tui/main.exp: Fix regexp.
4471
3d979945
TT
44722019-12-11 Tom Tromey <tom@tromey.com>
4473
4474 * gdb.tui/resize.exp: Update.
4475 * gdb.tui/empty.exp (layouts): Update.
4476
2192a9d3
TT
44772019-12-11 Tom Tromey <tom@tromey.com>
4478
4479 * gdb.tui/regs.exp: Update.
4480 * gdb.tui/empty.exp (layouts): Update.
4481 * gdb.tui/basic.exp: Update.
4482 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4483
d8edc8b7
PW
44842019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4485
4486 * gdb.base/options.exp: Add -raw-values in the print completion list.
4487 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4488
4c12d936
KB
44892019-12-10 Kevin Buettner <kevinb@redhat.com>
4490
4491 * gdb.threads/omp-par-scope.c: New file.
4492 * gdb/threads/omp-par-scope.exp: New file.
4493
26b911fb
KB
44942019-12-10 Kevin Buettner <kevinb@redhat.com>
4495
bb47f919
KB
4496 * lib/gdb.exp (support_nested_function_tests): New proc.
4497
44982019-12-10 Kevin Buettner <kevinb@redhat.com>
4499
4500 * lib/gdb.exp (gdb_compile_openmp): New proc.
4501 (build_executable_from_specs): Add an "openmp" option.
4502 (gdb_compile_pthreads): Add non-executable case.
26b911fb 4503
6c71eb7d
TT
45042019-12-10 Tom Tromey <tromey@adacore.com>
4505
4506 * gdb.ada/unchecked_union.exp: New file.
4507 * gdb.ada/unchecked_union/pck.adb: New file.
4508 * gdb.ada/unchecked_union/pck.ads: New file.
4509 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
4510 * gdb-utils.exp (string_to_regexp): Also quote "?".
4511
bac7c5cf
GB
45122019-12-10 George Barrett <bob@bob131.so>
4513
4514 Test scripted probe breakpoints.
4515 * gdb.guile/scm-breakpoint.c (main): Add probe point.
4516 * gdb.python/py-breakpoint.c (main): Likewise.
4517 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
4518 specifier test.
4519 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4520
330f1d38
TBA
45212019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4522
4523 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4524 an rvalue parameter.
4525 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
4526 parameter.
4527
b43315e2
AB
45282019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4529
4530 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4531 modules.
4532
54f73dad
AB
45332019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4534
4535 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4536 broken version of GCC.
4537
d57cbee9
AB
45382019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4539
4540 * gdb.fortran/info-modules.exp: Rewrite to make use of new
4541 sym-info-cmds library.
4542 * gdb.fortran/info-types.exp: Likewise.
4543 * lib/sym-info-cmds.exp: New file.
4544
c14aab8c
TV
45452019-12-08 Tom de Vries <tdevries@suse.de>
4546
4547 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4548
aa2d5a42
KS
45492019-12-07 Keith Seitz <keiths@redhat.com>
4550
4551 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4552 * gdb.base/corefile-buildid-shlib.c: New file.
4553 * gdb.base/corefile-buildid.c: New file.
4554 * gdb.base/corefile-buildid.exp: New file.
4555
93e55f0a
TV
45562019-12-06 Tom de Vries <tdevries@suse.de>
4557
4558 * gdb.dwarf2/varval.exp: Add decl before def test.
4559
c7d12402
TBA
45602019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4561
4562 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4563
06acc08f
TBA
45642019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4565
4566 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
4567 CV and reference conversion for overload resolution.
4568 * gdb.cp/rvalue-ref-overload.exp: Test it.
4569
e0fad1ea
PW
45702019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4571
4572 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4573 * gdb.base/frameapply.exp: Test faas without command.
4574
8d70a9f0
AB
45752019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4576
4577 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4578 Fortran tests.
4579 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4580 order.
4581
36c8fb93
AB
45822019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4583
4584 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
4585 casting to type with no kind specified.
4586 (test_basic_parsing_of_type_kinds): Additional tests for types
4587 with no kind specified, and add tests for single/double
4588 precision/complex types.
4589
4139ff00
TT
45902019-12-04 Tom Tromey <tromey@adacore.com>
4591
4592 * gdb.base/endianity.c (struct other) <x>: New field.
4593 (main): Initialize it.
4594 * gdb.base/endianity.exp: Update.
4595
a05cf17a
TT
45962019-12-04 Tom Tromey <tromey@adacore.com>
4597
4598 * gdb.ada/scalar_storage/storage.adb: New file.
4599 * gdb.ada/scalar_storage/pck.adb: New file.
4600 * gdb.ada/scalar_storage/pck.ads: New file.
4601 * gdb.ada/scalar_storage.exp: New file.
4602
103a685e
TT
46032019-12-04 Tom Tromey <tromey@adacore.com>
4604
4605 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4606 (main): Initialize it.
4607 * gdb.base/endianity.exp: Update.
4608
c2512106
AB
46092019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4610
4611 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4612
293b38d6
AB
46132019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4614
4615 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4616 -symbol-info-module-functions and -symbol-info-module-variables.
4617
216a7e6b
AB
46182019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4619
4620 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4621
5bbd8269
AB
46222019-12-01 Richard Bunt <richard.bunt@arm.com>
4623 Andrew Burgess <andrew.burgess@embecosm.com>
4624
4625 * gdb.fortran/derived-type-striding.exp: New file.
4626 * gdb.fortran/derived-type-striding.f90: New file.
4627 * gdb.fortran/array-slices.exp: New file.
4628 * gdb.fortran/array-slices.f90: New file.
4629
be09caf1
PW
46302019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4631
4632 * gdb.base/define.exp: Test . in command names.
4633 * gdb.base/setshow.exp: Update test, as . is now part of
4634 command name.
4635
643c0cbe
PW
46362019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4637
4638 * gdb.base/define-prefix.exp: New file.
4639
dcdec678
AB
46402019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4641
4642 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4643 compile.
4644 (skip_btrace_pt_tests): Likewise.
4645
640ab947
AB
46462019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4647
4648 * gdb.fortran/info-modules.exp: Compile source files in correct
4649 order.
4650
d22670f0
KB
46512019-11-27 Kevin Buettner <kevinb@redhat.com>
4652
4653 * gdb.dwarf2/imported-unit.exp: New file.
4654 * gdb.dwarf2/imported-unit.c: New file.
4655
db5960b4
AB
46562019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4657
4658 * gdb.mi/mi-fortran-modules-2.f90: New file.
4659 * gdb.mi/mi-fortran-modules.exp: New file.
4660 * gdb.mi/mi-fortran-modules.f90: New file.
4661
7dc42066
AB
46622019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4663
4664 * gdb.mi/mi-sym-info-1.c: New file.
4665 * gdb.mi/mi-sym-info-2.c: New file.
4666 * gdb.mi/mi-sym-info.exp: New file.
4667
0dfeecca
TT
46682019-11-22 Tom Tromey <tromey@adacore.com>
4669
4670 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
4671 * gdb.ada/tasks/foo.adb: Add another stopping location.
4672
34877895
PJ
46732019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
4674
4675 * gdb.base/endianity.c: New test.
4676 * gdb.base/endianity.exp: New file.
4677
2e84f897
LD
46782019-11-21 Lukas Durfina <ldurfina@tachyum.com>
4679
4680 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
4681
65d1cd5f
TV
46822019-11-21 Tom de Vries <tdevries@suse.de>
4683
4684 PR gdb/24956
4685 * gdb.base/ui-redirect.exp: Test output of user-defined command.
4686
4f22c3f4
SDJ
46872019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4688
4689 * gdb.python/py-progspace.exp: Add missing parentheses on some
4690 'print' commands.
4691
9f6ad286
TT
46922019-11-19 Tom Tromey <tom@tromey.com>
4693
4694 * gdb.tui/winheight.exp: New file.
4695
0b8dbf3f
AB
46962019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4697
4698 * gdb.base/ctf-whatis.c: Delete.
4699 * gdb.base/ctf-whatis.exp: Delete.
4700 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
4701
f833b7a7
AB
47022019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4703
4704 * gdb.base/ctf-cvexpr.exp: Delete.
4705 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
4706
30d0a636
AB
47072019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4708
4709 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
4710 the compiler. Clean up header comment a little.
4711 * gdb.base/ctf-ptype.exp: Likewise.
4712 * gdb.base/ctf-whatis.exp: Likewise.
4713 * lib/gdb.exp (skip_ctf_tests): New proc.
4714
494409bb
SDJ
47152019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
4716
4717 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
4718 * gdb.tui/corefile-run.exp: New file.
4719
55708e99
TT
47202019-11-14 Tom Tromey <tromey@adacore.com>
4721
4722 * gdb.base/gdbvars.exp (test_convenience_variables): Add
4723 regression tests.
4724
45e42163
TT
47252019-11-12 Tom Tromey <tom@tromey.com>
4726
4727 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
4728 after any command. Expect prompt after WAIT_FOR is seen.
4729 (enter_tui): Enable resize messages.
4730 (command): Expect command in output.
4731 (get_line): Avoid error when cursor appears to be off-screen.
4732 (dump_screen): Include screen size in title.
4733 (_do_resize): New proc, from "resize".
4734 (resize): Rewrite. Do resize in two steps.
4735 * gdb.tui/empty.exp (layouts): Fix entries.
4736 (check_boxes): Remove xfail.
4737 (check_text): Dump screen on failure.
4738
086baaf1
AB
47392019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4740
4741 * gdb.python/py-symbol.exp: Add test for
4742 gdb.lookup_static_symbols.
4743
09ff83af
AB
47442019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4745
4746 * gdb.python/py-symbol.c: Declare and call function from new
4747 py-symbol-2.c file.
4748 * gdb.python/py-symbol.exp: Compile both source files, and add new
4749 tests for gdb.lookup_static_symbol.
4750 * gdb.python/py-symbol-2.c: New file.
4751
11af934b
TV
47522019-11-02 Tom de Vries <tdevries@suse.de>
4753
4754 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
4755 * gdb.base/anon.exp: Same.
4756 * gdb.base/auto-connect-native-target.exp: Same.
4757 * gdb.base/call-ar-st.exp: Same.
4758 * gdb.base/catch-syscall.exp: Same.
4759 * gdb.base/commands.exp: Same.
4760 * gdb.base/default.exp: Same.
4761 * gdb.base/display.exp: Same.
4762 * gdb.base/float.exp: Same.
4763 * gdb.base/foll-fork.exp: Same.
4764 * gdb.base/help.exp: Same.
4765 * gdb.base/info-macros.exp: Same.
4766 * gdb.base/info-proc.exp: Same.
4767 * gdb.base/info-target.exp: Same.
4768 * gdb.base/long_long.exp: Same.
4769 * gdb.base/macscp.exp: Same.
4770 * gdb.base/memattr.exp: Same.
4771 * gdb.base/nofield.exp: Same.
4772 * gdb.base/pointers.exp: Same.
4773 * gdb.base/printcmds.exp: Same.
4774 * gdb.base/ptype.exp: Same.
4775 * gdb.base/restore.exp: Same.
4776 * gdb.base/return.exp: Same.
4777 * gdb.base/scope.exp: Same.
4778 * gdb.base/set-noassign.exp: Same.
4779 * gdb.base/setshow.exp: Same.
4780 * gdb.base/shlib-call.exp: Same.
4781 * gdb.base/signals.exp: Same.
4782 * gdb.base/sigstep.exp: Same.
4783 * gdb.base/skip.exp: Same.
4784 * gdb.base/solib-symbol.exp: Same.
4785 * gdb.base/stap-probe.exp: Same.
4786 * gdb.base/step-line.exp: Same.
4787 * gdb.base/step-test.exp: Same.
4788 * gdb.base/style.exp: Same.
4789 * gdb.base/varargs.exp: Same.
4790 * gdb.base/vla-datatypes.exp: Same.
4791 * gdb.base/vla-ptr.exp: Same.
4792 * gdb.base/vla-sideeffect.exp: Same.
4793 * gdb.base/volatile.exp: Same.
4794 * gdb.base/watch-cond-infcall.exp: Same.
4795 * gdb.base/watchpoint.exp: Same.
4796
e96ec2ba
TV
47972019-11-02 Tom de Vries <tdevries@suse.de>
4798
4799 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4800 * gdb.cp/cpexprs.exp: Same.
4801 * gdb.cp/except-multi-location.exp: Same.
4802 * gdb.cp/exceptprint.exp: Same.
4803 * gdb.cp/gdb2384.exp: Same.
4804 * gdb.cp/inherit.exp: Same.
4805 * gdb.cp/m-static.exp: Same.
4806 * gdb.cp/meth-typedefs.exp: Same.
4807 * gdb.cp/misc.exp: Same.
4808 * gdb.cp/namespace.exp: Same.
4809 * gdb.cp/non-trivial-retval.exp: Same.
4810 * gdb.cp/overload.exp: Same.
4811 * gdb.cp/pr17132.exp: Same.
4812 * gdb.cp/re-set-overloaded.exp: Same.
4813 * gdb.cp/rvalue-ref-types.exp: Same.
4814 * gdb.cp/templates.exp: Same.
4815
bd5766ec
LM
48162019-11-01 Luis Machado <luis.machado@linaro.org>
4817
4818 PR gdb/25124
4819
4820 * gdb.arch/pr25124.S: New file.
4821 * gdb.arch/pr25124.exp: New file.
4822
165f8965
AB
48232019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4824
4825 * gdb.fortran/info-modules.exp: Update expected results, and add
4826 additional tests for 'info module functinos', and 'info module
4827 variables'.
4828 * gdb.fortran/info-types.exp: Update expected results.
4829 * gdb.fortran/info-types.f90: Extend testcase with additional
4830 module variables and functions.
4831
59c35742
AB
48322019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4833
4834 * gdb.fortran/info-modules.exp: New file.
4835 * gdb.fortran/info-types.exp: Build with new file.
4836 * gdb.fortran/info-types.f90: Include and use new module.
4837 * gdb.fortran/info-types-2.f90: New file.
4838
f3fb2519
PW
48392019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4840
4841 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
4842 * gdb.base/settings.exp: Test all settings types using
4843 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
4844 that now verifies that the value of "maint show" is the same as
4845 returned by the settings functions. Test the type of the
4846 maintenance settings.
4847 * gdb.base/default.exp: Update show_conv_list.
4848
d1e36019
TV
48492019-10-31 Tom de Vries <tdevries@suse.de>
4850
4851 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
4852 gdb_test.
4853 * gdb.arch/amd64-disp-step.exp: Same.
4854 * gdb.asm/asm-source.exp: Same.
4855 * gdb.btrace/buffer-size.exp: Same.
4856 * gdb.btrace/cpu.exp: Same.
4857 * gdb.btrace/enable.exp: Same.
4858 * gdb.dwarf2/count.exp: Same.
4859 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4860 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
4861 * gdb.fortran/vla-datatypes.exp: Same.
4862 * gdb.fortran/vla-history.exp: Same.
4863 * gdb.fortran/vla-ptype.exp: Same.
4864 * gdb.fortran/vla-value.exp: Same.
4865 * gdb.fortran/whatis_type.exp: Same.
4866 * gdb.guile/guile.exp: Same.
4867 * gdb.multi/tids.exp: Same.
4868 * gdb.python/py-finish-breakpoint.exp: Same.
4869 * gdb.python/py-framefilter.exp: Same.
4870 * gdb.python/py-pp-registration.exp: Same.
4871 * gdb.python/py-xmethods.exp: Same.
4872 * gdb.python/python.exp: Same.
4873 * gdb.server/connect-with-no-symbol-file.exp: Same.
4874 * gdb.server/no-thread-db.exp: Same.
4875 * gdb.server/run-without-local-binary.exp: Same.
4876 * gdb.stabs/weird.exp: Same.
4877 * gdb.threads/attach-many-short-lived-threads.exp: Same.
4878 * gdb.threads/thread-find.exp: Same.
4879 * gdb.threads/tls-shared.exp: Same.
4880 * gdb.threads/tls.exp: Same.
4881 * gdb.threads/wp-replication.exp: Same.
4882 * gdb.trace/ax.exp: Same.
4883 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
4884
3d11e68e
TV
48852019-10-31 Tom de Vries <tdevries@suse.de>
4886
4887 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4888 * gdb.ada/array_subscript_addr.exp: Same.
4889 * gdb.ada/arrayidx.exp: Same.
4890 * gdb.ada/arrayparam.exp: Same.
4891 * gdb.ada/arrayptr.exp: Same.
4892 * gdb.ada/boolean_expr.exp: Same.
4893 * gdb.ada/call_pn.exp: Same.
4894 * gdb.ada/complete.exp: Same.
4895 * gdb.ada/fixed_cmp.exp: Same.
4896 * gdb.ada/fun_addr.exp: Same.
4897 * gdb.ada/funcall_param.exp: Same.
4898 * gdb.ada/interface.exp: Same.
4899 * gdb.ada/mod_from_name.exp: Same.
4900 * gdb.ada/null_array.exp: Same.
4901 * gdb.ada/packed_array.exp: Same.
4902 * gdb.ada/packed_tagged.exp: Same.
4903 * gdb.ada/print_chars.exp: Same.
4904 * gdb.ada/print_pc.exp: Same.
4905 * gdb.ada/ptype_arith_binop.exp: Same.
4906 * gdb.ada/ptype_field.exp: Same.
4907 * gdb.ada/ptype_tagged_param.exp: Same.
4908 * gdb.ada/rec_return.exp: Same.
4909 * gdb.ada/ref_tick_size.exp: Same.
4910 * gdb.ada/str_ref_cmp.exp: Same.
4911 * gdb.ada/taft_type.exp: Same.
4912 * gdb.ada/tagged.exp: Same.
4913 * gdb.ada/type_coercion.exp: Same.
4914 * gdb.ada/uninitialized_vars.exp: Same.
4915
60b6ede8
TV
49162019-10-30 Tom de Vries <tdevries@suse.de>
4917
4918 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4919
30baf67b
TV
49202019-10-26 Tom de Vries <tdevries@suse.de>
4921
4922 * gdb.base/bigcore.c: Fix typos in comments.
4923 * gdb.base/ctf-ptype.c: Same.
4924 * gdb.base/long_long.c: Same.
4925 * gdb.dwarf2/dw2-op-out-param.S: Same.
4926 * gdb.python/py-evthreads.c: Same.
4927 * gdb.reverse/i387-stack-reverse.c: Same.
4928 * gdb.trace/tfile.c: Same.
4929 * lib/compiler.c: Same.
4930 * lib/compiler.cc: Same.
4931
158da0d1
TV
49322019-10-25 Tom de Vries <tdevries@suse.de>
4933
4934 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4935 gdb_test_multiple calls.
4936 * gdb.reverse/sigall-reverse.exp: Same.
4937 * gdb.reverse/solib-precsave.exp: Same.
4938 * gdb.reverse/solib-reverse.exp: Same.
4939 * gdb.reverse/until-precsave.exp: Same.
4940 * gdb.reverse/until-reverse.exp: Same.
4941
4ccdfbec
TV
49422019-10-24 Tom de Vries <tdevries@suse.de>
4943
4944 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4945 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4946 kfail using -wrap pattern flag and convenience variable
4947 gdb_test_name.
4948
33d569b7
AB
49492019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4950
4951 * gdb.python/py-progspace.exp: Add tests for the
4952 Progspace.block_for_pc method.
4953
4d0b984b
TT
49542019-10-23 Tom Tromey <tom@tromey.com>
4955
4956 * configure: Rebuild.
4957 * aclocal.m4: Use m4_include, not sinclude.
4958
94cb3754
TV
49592019-10-21 Tom de Vries <tdevries@suse.de>
4960
4961 * gdb.base/infcall-nested-structs.c: Add
4962 __attribute__((noinline,noclone)) to all functions.
4963 (call_all): Add missing variable initialization. Simplify return value.
4964 (breakpt): Increment volatile variable, to prevent call from being
4965 optimized out.
4966 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4967
062f1fc1
TV
49682019-10-17 Tom de Vries <tdevries@suse.de>
4969
4970 * gdb.fortran/module.exp: Allow info variables to print info for files
4971 other than module.f90.
4972
0b54364d
AB
49732019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4974
4975 * gdb.fortran/module.exp: Extend with 'info variables' test.
4976
7ff5fae7
AB
49772019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4978
4979 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4980 F77_FOR_TARGET.
4981
d10eccaa
TV
49822019-10-16 Tom de Vries <tdevries@suse.de>
4983
4984 PR tdep/25096
4985 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4986
745ff14e
TV
49872019-10-16 Tom de Vries <tdevries@suse.de>
4988
4989 PR tdep/24104
4990 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4991 Add KFAIL for PR tdep/25096.
4992
03e1ab94
TV
49932019-10-16 Tom de Vries <tdevries@suse.de>
4994
4995 PR testsuite/25059
4996 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4997
b17fcc10
TV
49982019-10-16 Tom de Vries <tdevries@suse.de>
4999
5000 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5001 as signed.
5002
9223170f
SM
50032019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5004
5005 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5006 one instead of increasing timeout.
5007
d6e76313
TV
50082019-10-13 Tom de Vries <tdevries@suse.de>
5009
5010 PR record/25038
5011 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5012 * gdb.reverse/sigall-reverse.exp: Same.
5013 * gdb.reverse/solib-precsave.exp: Same.
5014 * gdb.reverse/solib-reverse.exp: Same.
5015 * gdb.reverse/step-precsave.exp: Same.
5016 * gdb.reverse/until-precsave.exp: Same.
5017 * gdb.reverse/until-reverse.exp: Same.
5018 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
5019
6dfc0041
AA
50202019-10-10 Andreas Arnez <arnez@linux.ibm.com>
5021
5022 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
5023 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
5024 (cmp_struct_05_01, cmp_struct_static_02_01)
5025 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
5026 comparisons.
5027
abcf2cc8
TV
50282019-10-10 Tom de Vries <tdevries@suse.de>
5029
5030 PR testsuite/24888
5031 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
5032 gnatlink.
5033
a50faaf6
TV
50342019-10-09 Tom de Vries <tdevries@suse.de>
5035
5036 PR testsuite/25048
5037 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
5038
60ff3cd7
AB
50392019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5040
5041 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
5042 exceptions due to missing debug information.
5043
dfee8566
TV
50442019-10-07 Tom de Vries <tdevries@suse.de>
5045
5046 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
5047
3d63690a
AB
50482019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5049
5050 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
5051 * gdb.base/annota1.exp: Update to use gdb_test_name.
5052
30d1f018
WP
50532019-10-07 Weimin Pan <weimin.pan@oracle.com>
5054
5055 * gdb.base/ctf-whatis.exp: New file.
5056 * gdb.base/ctf-whatis.c: New file.
5057 * gdb.base/ctf-ptype.exp: New file.
5058 * gdb.base/ctf-ptype.c: New file.
5059 * gdb.base/ctf-constvars.exp: New file.
5060 * gdb.base/ctf-constvars.c: New file.
5061 * gdb.base/ctf-cvexpr.exp: New file.
5062
4dbbb47c
TV
50632019-10-04 Tom de Vries <tdevries@suse.de>
5064
5065 * gdb.cp/local-static.c (main): Move declaration of int i out of the
5066 for loop.
5067
77c2dba3
TT
50682019-10-03 Tom Tromey <tom@tromey.com>
5069
5070 PR rust/24976:
5071 * gdb.rust/simple.rs (Union2): New type.
5072 (main): Use Union2.
5073 * gdb.rust/simple.exp: Add test.
5074
179aed7f
AB
50752019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5076
5077 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
5078 nested function prefix.
5079
0a4b0913
AB
50802019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
5081 Richard Bunt <richard.bunt@arm.com>
5082 Andrew Burgess <andrew.burgess@embecosm.com>
5083
5084 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
5085 nested functions.
5086 * gdb.fortran/nested-funcs.f90: Update expected results.
5087 * gdb.fortran/nested-funcs-2.exp: New file.
5088 * gdb.fortran/nested-funcs-2.f90: New file.
5089
082cce05
AB
50902019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5091
5092 * gdb.python/py-parameter.exp: Make test names unique.
5093 * gdb.python/py-template.exp: Likewise.
5094 * gdb.python/py-value.exp: Likewise.
5095
2b74ba5a
AB
50962019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5097
5098 * gdb.base/break-interp.exp: Reduce test name duplication.
5099 * gdb.base/call-sc.exp: Likewise.
5100 * gdb.base/callfuncs.exp: Likewise.
5101 * gdb.base/charset.exp: Likewise.
5102 * gdb.base/dump.exp: Likewise.
5103 * gdb.base/ena-dis-br.exp: Likewise.
5104 * gdb.base/relational.exp: Likewise.
5105 * gdb.base/step-over-syscall.exp: Likewise.
5106 * gdb.base/structs.exp: Likewise.
5107
58eb20d5
AB
51082019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5109
5110 * gdb.linespec/explicit.exp: Make test names unique.
5111 * gdb.linespec/ls-errs.exp: Likewise.
5112
4d421147
AB
51132019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5114
5115 * gdb.reverse/break-precsave.exp: Make test names unique.
5116 * gdb.reverse/break-reverse.exp: Likewise.
5117 * gdb.reverse/finish-precsave.exp: Likewise.
5118 * gdb.reverse/finish-reverse.exp: Likewise.
5119 * gdb.reverse/machinestate-precsave.exp: Likewise.
5120 * gdb.reverse/machinestate.exp: Likewise.
5121 * gdb.reverse/readv-reverse.exp: Likewise.
5122 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5123 * gdb.reverse/sigall-precsave.exp: Likewise.
5124 * gdb.reverse/sigall-reverse.exp: Likewise.
5125 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
5126 * gdb.reverse/watch-precsave.exp: Likewise.
5127 * gdb.reverse/watch-reverse.exp: Likewise.
5128
d8c06f22
AB
51292019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5130
5131 * gdb.threads/stop-with-handle.c: New file.
5132 * gdb.threads/stop-with-handle.exp: New file.
5133
3a56ed86
TV
51342019-10-03 Tom de Vries <tdevries@suse.de>
5135
5136 PR testsuite/25059
5137 * gdb.base/list-missing-source.exp: Allowing the "Compilation
5138 directory" line to be missing.
5139
42275044
TV
51402019-10-03 Tom de Vries <tdevries@suse.de>
5141
5142 PR testsuite/25059
5143 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
5144 type optional.
5145
9ef62df0
AA
51462019-10-02 Andreas Arnez <arnez@linux.ibm.com>
5147
5148 * gdb.python/py-format-string.c (string.h): New include.
5149 (main): Fill a_struct_with_union.the_union.an_int with bytes of
5150 the same value, for endianness-independence.
5151 * gdb.python/py-format-string.exp (default_regexp_dict)
5152 (test_pretty_structs, test_format): Adjust expected output to the
5153 changed initialization.
5154
37f6a7f4
TT
51552019-10-02 Tom Tromey <tromey@adacore.com>
5156
5157 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
5158
1d58d6a2
PA
51592019-10-02 Pedro Alves <palves@redhat.com>
5160 Andrew Burgess <andrew.burgess@embecosm.com>
5161
5162 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5163 "print-file-var.h".
5164 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5165 (get_version_1): Print this_version_id and its address.
5166 Add extern "C" wrappers around interface functions.
5167 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
5168 "print-file-var.h".
5169 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5170 (get_version_2): Print this_version_id and its address.
5171 Add extern "C" wrappers around interface functions.
5172 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
5173 <stddef.h> and "print-file-var.h".
5174 Add extern "C" wrappers around interface functions.
5175 [VERSION_ID_MAIN] (this_version_id): Define.
5176 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
5177 * gdb.base/print-file-var.h: Add some #defines to simplify setting
5178 up extern "C" blocks.
5179 * gdb.base/print-file-var.exp (test): New, factored out from top
5180 level.
5181 (top level): Test all combinations of attribute hidden or not,
5182 dlopen or not, and this_version_id symbol in main file or not.
5183 Compile tests as both C++ and C, make test names unique.
5184
d770d56f
TT
51852019-10-01 Tom Tromey <tom@tromey.com>
5186
5187 * gdb.base/style.exp: Test "show logging filename".
5188
7f6aba03
TT
51892019-10-01 Tom Tromey <tom@tromey.com>
5190
5191 * lib/gdb-utils.exp (style): Handle "metadata" argument.
5192 * gdb.base/style.exp: Add metadata style test.
5193
14309bb6
TT
51942019-10-01 Tom Tromey <tom@tromey.com>
5195
5196 * gdb.base/style.exp: Test "pwd".
5197
2a3c1174
PA
51982019-10-01 Tom Tromey <tom@tromey.com>
5199
5200 * gdb.base/style.exp: Update tests.
5201
53d666ec
AA
52022019-10-01 Andreas Arnez <arnez@linux.ibm.com>
5203
5204 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
5205 'six' to unsigned.
5206 (s1): Initialize fields 'four' and 'six' instead of 'three' and
5207 'five'. Use an all-ones bit pattern for each.
5208 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
5209 to its changed values.
5210
4a56a520
TT
52112019-09-30 Tom Tromey <tromey@adacore.com>
5212
5213 * gdb.rust/traits.rs: Disable all warnings.
5214
0df0352a
TV
52152019-09-29 Tom de Vries <tdevries@suse.de>
5216
aac66a4c 5217 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 5218
73d9a918
TV
52192019-09-29 Tom de Vries <tdevries@suse.de>
5220
5221 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5222
060b3ab4
TV
52232019-09-27 Tom de Vries <tdevries@suse.de>
5224
5225 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5226
68f7d34d
TV
52272019-09-27 Tom de Vries <tdevries@suse.de>
5228
5229 PR record/23188
5230 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5231
5d63b30a
TT
52322019-09-26 Tom Tromey <tromey@adacore.com>
5233
5234 * gdb.ada/py_taft.exp: New file.
5235 * gdb.ada/py_taft/main.adb: New file.
5236 * gdb.ada/py_taft/pkg.adb: New file.
5237 * gdb.ada/py_taft/pkg.ads: New file.
5238
3d435220
TV
52392019-09-24 Tom de Vries <tdevries@suse.de>
5240
5241 PR gdb/24598
5242 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5243
77d03678
TV
52442019-09-22 Tom de Vries <tdevries@suse.de>
5245
5246 * gdb.base/restore.exp: Allow register variables to be optimized out at
5247 -O0.
5248
abf516c6
UW
52492019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5250
5251 * gdb.arch/spu-info.exp: Remove file.
5252 * gdb.arch/spu-info.c: Remove file.
5253 * gdb.arch/spu-ls.exp: Remove file.
5254 * gdb.arch/spu-ls.c: Remove file.
5255
5256 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5257 * gdb.asm/spu.inc: Remove file.
5258
5259 * gdb.base/dump.exp: Remove support for spu*-*-*.
5260 * gdb.base/stack-checking.exp: Likewise.
5261 * gdb.base/overlays.exp: Likewise.
5262 * gdb.base/ovlymgr.c: Likewise.
5263 * gdb.base/spu.ld: Remove file.
5264
5265 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5266 * gdb.cp/cpexprs.exp: Likewise.
5267 * gdb.cp/exception.exp: Likewise.
5268 * gdb.cp/gdb2495.exp: Likewise.
5269 * gdb.cp/mb-templates.exp: Likewise.
5270 * gdb.cp/pr9167.exp: Likewise.
5271 * gdb.cp/userdef.exp: Likewise.
5272
5273 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5274
5275 * gdb.cell: Remove directory.
5276 * lib/cell.exp: Remove file.
5277
e452e88f
TV
52782019-09-19 Tom de Vries <tdevries@suse.de>
5279
5280 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5281
8a625130
TV
52822019-09-19 Tom de Vries <tdevries@suse.de>
5283
5284 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5285
81dc3ab5
TV
52862019-09-19 Tom de Vries <tdevries@suse.de>
5287
5288 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5289 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5290 (gdb_target_cmd): ... here.
5291 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5292 value 2.
5293
b078f3ac
AB
52942019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5295
5296 * gdb.base/source-dir.exp: Avoid having directory names in test
5297 names.
5298
f1b620e9
MG
52992019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5300
5301 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5302 directory.
5303
67f3ed6a
AB
53042019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5305
5306 * gdb.base/list-missing-source.exp: New file.
5307
d1b70248
TV
53082019-09-14 Tom de Vries <tdevries@suse.de>
5309
5310 PR teststuite/24599
5311 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5312 * lib/ada.exp (gnatmake_version_at_least): New proc.
5313
5fabdcd6
AB
53142019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5315
5316 * gdb.base/maint.exp: Use exec_has_index_section.
5317
aa17805f
AB
53182019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5319
5320 * gdb.base/maint.exp: Add test for 'maint info sections'.
5321
25e5c209
TV
53222019-09-12 Tom de Vries <tdevries@suse.de>
5323
5324 * gdb.base/store.exp: Allow register variables to be optimized out at
5325 -O0.
5326
4993045d
PW
53272019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5328
5329 * gdb.ada/rdv_wait.exp: Update to new task names.
5330 * gdb.base/task_switch_in_core.exp: Likewise.
5331 * gdb.base/info_sources_base.c: Likewise.
5332
8a516164
TT
53332019-09-10 Tom Tromey <tromey@adacore.com>
5334
5335 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5336
aa391654
TT
53372019-09-10 Tom Tromey <tromey@adacore.com>
5338
5339 * gdb.ada/dgopt.exp: New file.
5340 * gdb.ada/dgopt/x.adb: New file.
5341
8634b462
TT
53422019-09-08 Tom Tromey <tom@tromey.com>
5343
5344 * gdb.tui/resize.exp: Remove setup_xfail.
5345 * gdb.tui/regs.exp: Remove setup_xfail.
5346 * gdb.tui/basic.exp: Remove setup_xfail.
5347
736b0f76
DB
53482019-09-06 David Blaikie <dblaikie@gmail.com>
5349
5350 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5351 * gdb.cp/cplabel.exp: Ditto.
5352 * gdb.linespec/ls-errs.exp: Ditto.
5353
30331a6c
TV
53542019-09-05 Tom de Vries <tdevries@suse.de>
5355
5356 * lib/gdb.exp (cmp_file_string): New proc.
5357 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5358 runto_main. Verify save breakpoints output.
5359
98b0ebab
PW
53602019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5361
5362 * gdb.base/info-var.exp: Test info variables without running
5363 to main, to avoid expect's buffer overflow.
5364
4e962e74
TT
53652019-09-03 Tom Tromey <tromey@adacore.com>
5366
5367 * gdb.ada/bias.exp: New file.
5368 * gdb.ada/bias/bias.adb: New file.
5369 * gdb.ada/print_chars.exp: Add regression test.
5370 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5371 (MC): New variable.
5372
2ea1a07a
SL
53732019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5374
5375 * gdb.base/argv0-symlink.exp: Run only on native target
5376 and local host.
5377
8077c50d
TV
53782019-08-29 Tom de Vries <tdevries@suse.de>
5379
5380 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5381 diverse debug info.
5382 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5383
48352473
TV
53842019-08-28 Tom de Vries <tdevries@suse.de>
5385
5386 * gdb.base/info-var.exp: Allow info variables to print info for files
5387 other than info-var-f1.c and info-var-f2.c.
5388
d8f27c60
AB
53892019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5390
5391 * gdb.fortran/info-types.exp: Add module.
5392 * gdb.fortran/info-types.f90: Update expected results.
5393
1f20c35e
AB
53942019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5395
5396 * gdb.fortran/info-types.exp: New file.
5397 * gdb.fortran/info-types.f90: New file.
5398 * lib/fortran.exp (fortran_character1): New proc.
5399
4acfdd20
AB
54002019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5401
5402 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
5403 functions'. Reindent as needed.
5404 * gdb.base/info-var-f1.c: New file.
5405 * gdb.base/info-var-f2.c: New file.
5406 * gdb.base/info-var.exp: New file.
5407 * gdb.base/info-var.h: New file.
5408
5c31b358
TV
54092019-08-26 Tom de Vries <tdevries@suse.de>
5410
5411 PR c++/24852
5412 * gdb.cp/no-libstdcxx-probe.exp: New test.
5413
b694989f
TV
54142019-08-26 Tom de Vries <tdevries@suse.de>
5415
5416 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
5417 * tests need to be skipped.
5418 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
5419 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
5420 mi_skip_libstdcxx_probe_tests.
5421
d9c4ba53
SDJ
54222019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
5423
5424 * gdb.python/py-xmethods.exp: Use raw strings when passing
5425 arguments to SimpleXMethodMatcher.
5426
395fad09
TV
54272019-08-22 Tom de Vries <tdevries@suse.de>
5428
5429 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
5430 more informative.
5431
26c957f1
PA
54322019-08-21 Pedro Alves <palves@redhat.com>
5433
5434 * gdb.base/with.exp: Test "with" with no arguments.
5435
61f80d5d
TV
54362019-08-21 Tom de Vries <tdevries@suse.de>
5437
5438 * gdb.base/gdb-caching-proc.exp: Sort files.
5439
d7a11d13
TV
54402019-08-20 Tom de Vries <tdevries@suse.de>
5441
5442 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
5443 compilation.
5444
34dafe9f
TV
54452019-08-16 Tom de Vries <tdevries@suse.de>
5446
5447 * gdb.base/compare-sections.exp ("after run to main"): Allow
5448 mismatched read-only sections for PIE executables.
5449
398fdd60
TT
54502019-08-16 Tom Tromey <tom@tromey.com>
5451
5452 * lib/tuiterm.exp (_csi_Z): New proc.
5453 * gdb.tui/basic.exp: Update window positions.
5454 * gdb.tui/empty.exp: Update window positions.
5455
d8f9e51c
SL
54562019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5457
5458 * gdb.base/examine-backward.exp: Correct regexp for
5459 "examine 3 bytes backward from ${address_zero}".
5460
3df505f6
TT
54612019-08-15 Tom Tromey <tom@tromey.com>
5462
5463 * gdb.tui/empty.exp: Enable resizing tests.
5464
272560b5
TT
54652019-08-15 Tom Tromey <tromey@adacore.com>
5466
5467 * gdb.ada/char_enum.exp: Add regression tests.
5468 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5469 and '0'.
5470 (Char, Gchar): Update.
5471 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5472
08235187
CB
54732019-08-15 Christian Biesinger <cbiesinger@google.com>
5474
5475 * gdb.python/python.exp: Expect a leading underscore on
5476 GdbOutput{,Error}File.
5477
22a2ab04
SL
54782019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5479
5480 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5481 Windows host.
5482
835b995b
SL
54832019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5484
5485 * gdb.base/batch-preserve-term-settings.exp
5486 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5487
97dd8e07
CB
54882019-08-15 Christian Biesinger <cbiesinger@google.com>
5489
5490 * lib/gdb.exp: When running on a mingw target, replace
5491 /x/ with x:/.
5492
75faf5c4
AH
54932019-08-14 Alan Hayward <alan.hayward@arm.com>
5494
5495 * gdb.arch/aarch64-prologue.c: New test.
5496 * gdb.arch/aarch64-prologue.exp: New file.
5497
abc6c00f
TV
54982019-08-13 Tom de Vries <tdevries@suse.de>
5499
5500 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5501 Thread.
5502
74c2c1f4
SL
55032019-08-13 Sandra Loosemore <sandra@codesourcery.com>
5504
5505 * gdb.python/py-completion.exp: Download the .py file to the host
5506 and use its host pathname. Conditionalize tests that use
5507 tab completion and manipulate files on the build machine.
5508 * gdb.python/py-events.exp: Download the .py file to the host
5509 and use its host pathname.
5510 * gdb.python/py-evsignal.exp: Likewise.
5511 * gdb.python/py-evthreads.exp: Likewise.
5512 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
5513 pathname syntax.
5514 * gdb.python/py-framefilter.exp: Download the .py file to the right
5515 place on the host. Match Windows pathname syntax.
5516 * gdb.python/py-mi-var-info-path-expression.exp: Download the
5517 .py file to the host and use its host pathname.
5518 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
5519 * gdb.python/py-objfile.exp: Expect a host pathname, not a
5520 build pathname. Skip symlink test on Windows host. Add missing
5521 newline at end of file.
5522 * gdb.python/py-pp-maint.exp: Download the .py file to the host
5523 and use its host pathname.
5524 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
5525 * gdb.python/py-section-script.exp: Use host location of binfile
5526 on safe-path. Use correct path separator on Windows host.
5527 Reorder alternatives in gdb_test_multiple to prevent matching
5528 the wrong alternative on success.
5529 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
5530
ca2589f3
PP
55312019-08-12 Patrick Palka <patrick@parcs.ath.cx>
5532
5533 * gdb.gdb/selftest.exp (test_with_self): Update test to now
5534 expect the GDB inferior to no longer immediately stop after
5535 being resumed with "signal SIGINT".
5536
020a839d
SL
55372019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5538
5539 * gdb.linespec/break-ask.exp: Generalize regexps to match
5540 Windows pathnames too.
5541
128d6509
TV
55422019-08-08 Tom de Vries <tdevries@suse.de>
5543
5544 PR testsuite/24862
5545 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5546
590042fc
PW
55472019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5548
5549 * gdb.base/style.exp: Update tests for help doc new invariants.
5550 * gdb.base/help.exp: Likewise.
5551
046bebe1
TT
55522019-08-06 Tom Tromey <tom@tromey.com>
5553
5554 * gdb.base/style.exp: Add disassemble test.
5555 * gdb.base/style.c (some_called_function): New function.
5556 (main): Use it.
5557
0b27c27d
CB
55582019-08-05 Christian Biesinger <cbiesinger@google.com>
5559
5560 * gdb.python/py-block.exp: Test dictionary access on blocks.
5561
580f1034
SM
55622019-08-05 Simon Marchi <simon.marchi@efficios.com>
5563
5564 PR gdb/24863
5565 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5566 -list-thread-groups --available test when running under
5567 check-read1.
5568
d86bd7cb
TV
55692019-08-05 Tom de Vries <tdevries@suse.de>
5570
5571 PR testsuite/24863
5572 * lib/gdb.exp (with_read1_timeout_factor): New proc.
5573 * gdb.base/help.exp: Use with_read1_timeout_factor.
5574 * gdb.base/info-macros.exp: Same.
5575 * gdb.cp/nested-types.exp: Same.
5576
a80cf5d8
TV
55772019-08-05 Tom de Vries <tdevries@suse.de>
5578
5579 * lib/gdb.exp (version_at_least): Factor out of ...
5580 (tcl_version_at_least): ... here.
5581 (gdb_compile): Fail if pie results in non-PIE executable.
5582 (readelf_version, readelf_prints_pie): New proc.
5583 (exec_is_pie): Return -1 if unknown.
5584
d0962838
TV
55852019-08-05 Tom de Vries <tdevries@suse.de>
5586
5587 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5588
2252ff3d
SL
55892019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5590
5591 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5592
26655f53
SL
55932019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5594
5595 * lib/completion-support.exp (test_gdb_complete_none): Skip
5596 tab completion tests if no readline support.
5597 (test_gdb_complete_unique_re): Likewise.
5598 (test_gdb_complete_multiple): Likewise.
5599
db4dc13e
PW
56002019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5601
5602 * gdb.base/info_sources.exp: New file.
5603 * gdb.base/info_sources.c: New file.
5604 * gdb.base/info_sources_base.c: New file.
5605
0eba165a
PFC
56062019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5607
5608 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5609 prefix argument.
5610 (test_exit_status): Add prefix argument.
5611
59bd512b
TV
56122019-08-01 Tom de Vries <tdevries@suse.de>
5613
5614 PR testsuite/24863
5615 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5616 calling exp_continue for new thread and thread exited messages.
5617
2a3ad588
TV
56182019-08-01 Tom de Vries <tdevries@suse.de>
5619
5620 PR testsuite/24863
5621 * gdb.base/structs.exp: Fix check-read1 timeout using
5622 gdb_test_sequence.
5623 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5624
117eb594
TV
56252019-08-01 Tom de Vries <tdevries@suse.de>
5626
5627 PR testsuite/24863
5628 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5629 line.
5630
ed591340
TV
56312019-08-01 Tom de Vries <tdevries@suse.de>
5632
5633 PR testsuite/24863
5634 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5635
aa3b6533
TT
56362019-07-30 Tom Tromey <tromey@adacore.com>
5637
5638 * gdb.ada/display_nested.exp: New file.
5639 * gdb.ada/display_nested/foo.adb: New file.
5640 * gdb.ada/display_nested/pack.adb: New file.
5641 * gdb.ada/display_nested/pack.ads: New file.
5642
2906593f
CB
56432019-07-30 Christian Biesinger <cbiesinger@google.com>
5644
5645 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5646 namespace.
5647 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
5648
0f575925
TV
56492019-07-30 Tom de Vries <tdevries@suse.de>
5650
5651 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
5652 instead.
5653
b13057d9
TV
56542019-07-30 Tom de Vries <tdevries@suse.de>
5655
5656 PR testsuite/24834
5657 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
5658 (exec_is_pie): New proc.
5659
5c4dde85
CB
56602019-07-29 Christian Biesinger <cbiesinger@google.com>
5661
5662 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
5663
c620ed88
CB
56642019-07-29 Christian Biesinger <cbiesinger@google.com>
5665
5666 * gdb.python/py-objfile.c: Add global and static vars.
5667 * gdb.python/py-objfile.exp: Test new functions Objfile.
5668 lookup_global_symbol and lookup_static_symbol.
5669
3d235706
TT
56702019-07-29 Tom Tromey <tom@tromey.com>
5671
5672 * lib/tuiterm.exp (Term::_csi_@): New proc.
5673 (Term::_csi_X): Don't move cursor.
5674
c7e4c0a6
PW
56752019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5676
5677 * gdb.base/options.exp: Update backtrace - completion to
5678 new option -frame-info.
5679 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
5680 Test new 'set print frame-info'. Test backtrace -frame-info
5681 overriding 'set print frame-info'.
5682 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
5683 Test new 'set print frame-info'.
5684 Verify consistency of backtrace with and without filters, with and
5685 without -no-filters.
5686 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
5687 default.
5688
de28a3b7
TV
56892019-07-29 Tom de Vries <tdevries@suse.de>
5690
5691 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
5692 no arguments".
5693
507dd60e
TV
56942019-07-29 Tom de Vries <tdevries@suse.de>
5695
5696 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
5697 is a substring of the first for "complete non-unique file name".
5698
5beafce9
TV
56992019-07-29 Tom de Vries <tdevries@suse.de>
5700
5701 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
5702 with ".*".
5703
2d274232
TV
57042019-07-29 Tom de Vries <tdevries@suse.de>
5705
5706 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
5707 Pass prompt_regexp parameter to gdb_test_multiple calls.
5708
9197cd8b
TV
57092019-07-29 Tom de Vries <tdevries@suse.de>
5710
5711 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 5712 print registers" regexps.
9197cd8b 5713
b528dae0
TV
57142019-07-29 Tom de Vries <tdevries@suse.de>
5715
5716 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
5717
d17725d7
TV
57182019-07-29 Tom de Vries <tdevries@suse.de>
5719
5720 PR gdb/24855
5721 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
5722 (skip_python_tests_prompt): Add prompt_regexp argument to
5723 gdb_test_multiple calls.
5724
52b75bf1
TT
57252019-07-27 Tom Tromey <tom@tromey.com>
5726
5727 * gdb.tui/main.exp: New file.
5728
2b1d00c2
TT
57292019-07-27 Tom Tromey <tom@tromey.com>
5730
5731 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
5732 optional.
5733 * gdb.tui/empty.exp: New file.
5734
ded631d5
TT
57352019-07-27 Tom Tromey <tom@tromey.com>
5736
5737 * lib/tuiterm.exp (spawn): New proc.
5738 (Term::resize): New proc.
5739 * gdb.tui/resize.exp: New file.
5740
58ac439d
TT
57412019-07-27 Tom Tromey <tom@tromey.com>
5742
5743 * gdb.tui/list.exp: New file.
5744
fe1f56ee
TT
57452019-07-27 Tom Tromey <tom@tromey.com>
5746
5747 * gdb.tui/regs.exp: New file.
5748
f790b310
TT
57492019-07-27 Tom Tromey <tom@tromey.com>
5750
5751 * gdb.tui/basic.exp: Add "layout split" test.
5752
d95fc6ee
TT
57532019-07-27 Tom Tromey <tom@tromey.com>
5754
5755 * gdb.tui/basic.exp: Add "layout asm" test.
5756
c3786b3a
TT
57572019-07-27 Tom Tromey <tom@tromey.com>
5758
5759 * lib/tuiterm.exp: New file.
5760 * gdb.tui/basic.exp: New file.
5761
98a617f8
KB
57622019-07-27 Kevin Buettner <kevinb@redhat.com>
5763
5764 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5765 Enable tests associated with this flag. Adjust regex
5766 referencing "foo_low" to now refer to "foo_cold" instead.
5767
5c076da4
KB
57682019-07-27 Kevin Buettner <kevinb@redhat.com>
5769
5770 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5771 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5772 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5773 foo_cold. Revise comments to match.
5774 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5775 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5776 were wrapped into this proc; Call do_test in loop from outermost
5777 level.
5778 (foo_low): Rename all occurrences to "foo_cold".
5779 (backtrace from baz): New test.
5780 (x2/i foo_cold): New test.
5781 (info line *foo_cold): New test.
5782
1512d3b7
TV
57832019-07-26 Tom de Vries <tdevries@suse.de>
5784
5785 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5786
297989a1
TV
57872019-07-25 Tom de Vries <tdevries@suse.de>
5788
5789 PR testsuite/24830
5790 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5791 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5792 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5793 (skip_libstdcxx_probe_tests): ... here.
5794 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5795
b3b965fb
TV
57962019-07-24 Tom de Vries <tdevries@suse.de>
5797
5798 PR testsuite/24807
5799 * gdb.objc/basicclass.m: Include stdio.h.
5800 * gdb.objc/nondebug.m: Same.
5801 * gdb.objc/objcdecode.m: Same.
5802
4625b4d0
TV
58032019-07-24 Tom de Vries <tdevries@suse.de>
5804
5805 PR testsuite/24612
5806 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5807 additional_flags.
5808
024a5840
TV
58092019-07-24 Tom de Vries <tdevries@suse.de>
5810
5811 PR testsuite/24831
5812 * gdb.multi/tids.exp: Update error messages for info threads.
5813
c76ddaa3
TV
58142019-07-24 Tom de Vries <tdevries@suse.de>
5815
5816 * gdb.base/info-types.exp: Allow info types to print info for more than
5817 one file.
5818
9a618ef6
TV
58192019-07-23 Tom de Vries <tdevries@suse.de>
5820
5821 PR testsuite/24842
5822 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5823 gdb_spawn_with_cmdline_opts.
5824
40eadf04
SP
58252019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5826
5827 * gdb.arch/arm-cmse-sgstubs.c: New test.
5828 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5829
5ba29434
TV
58302019-07-23 Tom de Vries <tdevries@suse.de>
5831
5832 PR testsuite/24711
5833 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5834 issuing next command.
5835
a8e9d247
AB
58362019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5837
5838 * gdb.ada/info_auto_lang.exp: Update expected results.
5839 * gdb.base/info-types.c: Add additional types to check.
5840 * gdb.base/info-types.exp: Update expected results.
5841
eb86c5e2
AB
58422019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5843
5844 * gdb.base/info-types.c: New file.
5845 * gdb.base/info-types.exp: New file.
5846
01e175fe
AB
58472019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5848
5849 * gdb.arch/riscv-bp-infcall.c: New file.
5850 * gdb.arch/riscv-bp-infcall.exp: New file.
5851
6b78c3f8
AB
58522019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5853
5854 PR breakpoints/24541
5855 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5856
da738167
TV
58572019-07-14 Tom de Vries <tdevries@suse.de>
5858
5859 PR testsuite/24760
5860 * gdb.objc/basicclass.exp: Fix unterminated string.
5861
0d4e84ed
AB
58622019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5863 Andrew Burgess <andrew.burgess@embecosm.com>
5864
5865 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5866 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5867 negative bounds.
5868 * gdb.fortran/vla-value.exp: Print elements of an array with
5869 negative bounds.
5870 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5871 testing.
5872
021d8588
AB
58732019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5874
5875 * gdb.base/options.exp (expect_string): Dequote strings in
5876 results.
5877 (test-string): Test strings with different quoting and reindent.
5878
f06f1252
TT
58792019-07-10 Tom Tromey <tromey@adacore.com>
5880
5881 * gdb.ada/mi_ex_cond.exp: Update expected results.
5882 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
5883 * gdb.ada/mi_catch_ex.exp: Update expected results.
5884 * gdb.ada/mi_catch_assert.exp: Update expected results.
5885 * gdb.ada/catch_ex.exp (catch_exception_info)
5886 (catch_exception_entry, catch_assert_entry)
5887 (catch_unhandled_entry): Update.
5888 * gdb.ada/catch_assert_if.exp: Update expected results.
5889
b863685d
RB
58902019-07-10 Richard Bunt <richard.bunt@arm.com>
5891 Stephen Roberts <stephen.roberts@arm.com>
5892
5893 * gdb.base/define.exp: Restore original prompt.
5894
cb1e4e32
PA
58952019-07-09 Pedro Alves <palves@redhat.com>
5896
5897 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
5898 breakpoints" output.
5899 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
5900 * gdb.python/py-breakpoint.exp: No longer expect that "catch
5901 throw" creates breakpoint.
5902 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
5903 'type="catchpoint"'.
5904
b58a68fe
PA
59052019-07-09 Pedro Alves <palves@redhat.com>
5906
5907 PR c++/15468
5908 * gdb.cp/except-multi-location-lib.cc: New.
5909 * gdb.cp/except-multi-location-main.cc: New.
5910 * gdb.cp/except-multi-location.exp: New.
5911
0826779b
PW
59122019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
5913
5914 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
5915 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
5916 argument and update callers.
5917
5b0e2db4
AB
59182019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5919
5920 * gdb.arch/amd64-break-on-asm-line.S: New file.
5921 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5922
1f6f6e21
PW
59232019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5924
5925 * gdb.base/printcmds.exp: Test printing C string and
5926 C wide string convenience vars without transiting via the inferior.
5927 Also make test names unique.
5928
ea142fbf
AH
59292019-07-08 Alan Hayward <alan.hayward@arm.com>
5930
5862c886 5931 PR breakpoints/25011
ea142fbf
AH
5932 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5933
213fd9fa
PA
59342019-07-04 Pedro Alves <palves@redhat.com>
5935
5936 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5937 body returned ok(0), break(3) or continue(4).
5938 * gdb.testsuite/foreach_with_prefix.exp: New file.
5939
2b40fda7
AH
59402019-07-04 Alan Hayward <alan.hayward@arm.com>
5941
5942 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5943
a26c8de0
PA
59442019-07-03 Pedro Alves <palves@redhat.com>
5945
5946 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5947 "return -code".
5948
5f4ba3e7
PA
59492019-07-03 Pedro Alves <palves@redhat.com>
5950
5951 PR cli/24732
5952 * gdb.base/shell.exp: Load completion-support.exp.
5953 Adjust expected error output. Add completion tests.
5954
a994424f
PA
59552019-07-03 Pedro Alves <palves@redhat.com>
5956
5957 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5958 string_to_regexp.
5959
3d9be6f5
PA
59602019-07-03 Pedro Alves <palves@redhat.com>
5961
5962 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5963 (expect_integer): Adjust to expect "-string".
5964 (expect_string): New.
5965 (all_options): Expect "-string".
5966 (test-flag, test-boolean): Adjust to expect "-string".
5967 (test-string): New proc.
5968 (top level): Call it.
5969
41fc454c
PA
59702019-07-03 Pedro Alves <palves@redhat.com>
5971
5972 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5973 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5974 the expected output in the success.
5975
b2b2a215
PA
59762019-07-03 Pedro Alves <palves@redhat.com>
5977
5978 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5979 Split one gdb_test_multiple call in two to avoid a race.
5980
fdbc9870
PA
59812019-07-03 Pedro Alves <palves@redhat.com>
5982
5983 * gdb.base/with.c: New file.
5984 * gdb.base/with.exp: New file.
5985
c6ac8931
PA
59862019-07-03 Pedro Alves <palves@redhat.com>
5987
5988 * gdb.base/settings.exp: Replace all references to "maint
5989 test-settings set" with references to "maint set test-settings",
5990 and all references to "maint test-settings show" with references
5991 to "maint show test-settings".
5992
970f9d09
PA
59932019-07-03 Pedro Alves <palves@redhat.com>
5994
5995 * gdb.base/settings.exp (test-string): Adjust expected out when
5996 testing "maint test-settings show filename"
5997
54d66006
PA
59982019-07-02 Pedro Alves <palves@redhat.com>
5999
6000 * gdb.base/options.exp (test-info-threads): New procedure.
6001 (top level): Call it.
6002
10d06d82
TT
60032019-06-28 Tom Tromey <tromey@adacore.com>
6004
6005 * gdb.dwarf2/ada-linkage-name.c: New file.
6006 * gdb.dwarf2/ada-linkage-name.exp: New file.
6007
3d507ff2
TT
60082019-06-27 Tom Tromey <tromey@adacore.com>
6009
d039f014 6010 PR c++/20020:
3d507ff2
TT
6011 * gdb.cp/constexpr-field.exp: Use setup_xfail.
6012
8af58ffe
TV
60132019-06-26 Tom de Vries <tdevries@suse.de>
6014
6015 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
6016
22e21752
TV
60172019-06-26 Tom de Vries <tdevries@suse.de>
6018
6019 * gdb.base/index-cache.exp: Add back missing debug option.
6020
b65b566c
PW
60212019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6022
6023 * gdb.base/alias.exp: Test non matching/non existing prefixes.
6024
5c2c8c69
TV
60252019-06-25 Tom de Vries <tdevries@suse.de>
6026
6027 PR testsuite/24727
6028 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
6029
164e3873
TV
60302019-06-24 Tom de Vries <tdevries@suse.de>
6031
6032 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
6033
824eacee
TV
60342019-06-24 Tom de Vries <tdevries@suse.de>
6035
6036 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
6037 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
6038 * gdb.trace/unavailable-dwarf-piece.exp: Same.
6039
385b97d3
TV
60402019-06-24 Tom de Vries <tdevries@suse.de>
6041
6042 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
6043
c596f180
TV
60442019-06-21 Tom de Vries <tdevries@suse.de>
6045
6046 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
6047
b13a7d03
TV
60482019-06-21 Tom de Vries <tdevries@suse.de>
6049
6050 PR testsuite/24518
6051 PR ada/24713
6052 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
6053 index.
6054
899277ae
TT
60552019-06-19 Tom Tromey <tromey@adacore.com>
6056
6057 * gdb.ada/length_cond.exp: Add intro comment.
6058
680e1bee
TT
60592019-06-19 Tom Tromey <tromey@adacore.com>
6060
6061 * gdb.ada/length_cond.exp: New file.
6062 * gdb.ada/length_cond/length_cond.adb: New file.
6063 * gdb.ada/length_cond/pck.adb: New file.
6064 * gdb.ada/length_cond/pck.ads: New file.
6065
0ed4690a
TV
60662019-06-18 Tom de Vries <tdevries@suse.de>
6067
6068 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
6069
d20ed5fd
TT
60702019-06-18 Tom Tromey <tromey@adacore.com>
6071
6072 * gdb.base/list0.h: Add comment explaining control character.
6073
86e04673
TV
60742019-06-18 Tom de Vries <tdevries@suse.de>
6075
6076 * boards/fission.exp: Break up long debug_flags line.
6077
c4973306
SM
60782019-06-16 Tom de Vries <tdevries@suse.de>
6079
6080 PR gdb/24445
6081 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
6082 generated index.
6083
93cb9841
AB
60842019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6085
6086 PR gdb/24686
6087 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
6088 improve detection of bug gdb/24541.
6089
399aaebd
SM
60902019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
6091
6092 PR gdb/24669
6093 * gdb.base/index-cache.exp (uses_readnow,
6094 expecting_index_cache_use): Define global variable.
6095 (test_cache_enabled_miss, test_cache_enabled_hit): Use
6096 expecting_index_cache_use.
6097
584a927c
AB
60982019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
6099 Andrew Burgess <andrew.burgess@embecosm.com>
6100
6101 * gdb.fortran/pointers.f90: New file.
6102 * gdb.fortran/print_type.exp: New file.
6103 * gdb.fortran/vla-ptype.exp: Adapt expected results.
6104 * gdb.fortran/vla-type.exp: Likewise.
6105 * gdb.fortran/vla-value.exp: Likewise.
6106 * gdb.mi/mi-vla-fortran.exp: Likewise.
6107
30056ea0
AB
61082019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6109
6110 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
6111 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
6112 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
6113 as a stop reason.
6114
ec8e2b6d
AB
61152019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6116
6117 * gdb.base/annota1.exp: Update expected results.
6118 * gdb.cp/annota2.exp: Likewise.
6119 * gdb.cp/annota3.exp: Likewise.
6120
09e4c4e1
AB
61212019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6122
6123 * gdb.base/style-logging.exp: Remove path from test name.
6124
0735b091
TT
61252019-06-14 Tom Tromey <tromey@adacore.com>
6126
6127 PR gdb/24502:
6128 * gdb.base/style-logging.exp: New file.
6129
f5686554
TT
61302019-06-14 Tom Tromey <tromey@adacore.com>
6131
6132 * gdb.base/symfile-warn.exp: New file.
6133 * gdb.base/symfile-warn.c: New file.
6134
a0c1ffed
TT
61352019-06-14 Tom Tromey <tromey@adacore.com>
6136
6137 * gdb.base/annotate-symlink.exp: New file.
6138
f411722c
TT
61392019-06-14 Tom Tromey <tromey@adacore.com>
6140
6141 * gdb.ada/set_wstr.exp: Add reassignment test.
6142
4268ec18
TT
61432019-06-14 Tom Tromey <tromey@adacore.com>
6144
6145 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
6146 'unchecked_access and 'unrestricted_access as well.
6147
9a9e394b
TT
61482019-06-14 Tom Tromey <tromey@adacore.com>
6149
6150 PR ada/24539:
6151 * gdb.ada/vla.exp: Update tests.
6152 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
6153 pragma.
6154
4c048731
PA
61552019-06-13 Pedro Alves <palves@redhat.com>
6156
6157 * gdb.base/settings.exp (test-integer): Test junk after
6158 "unlimited".
6159
6665660a
PA
61602019-06-13 Pedro Alves <palves@redhat.com>
6161
6162 * gdb.base/options.exp (test-thread-apply): New.
6163 (top level): Call it.
6164
5d707134
PA
61652019-06-13 Pedro Alves <palves@redhat.com>
6166
6167 * gdb.base/options.exp (test-frame-apply): New.
6168 (top level): Test print commands with different "frame apply"
6169 prefixes.
6170
e2a689da
PA
61712019-06-13 Pedro Alves <palves@redhat.com>
6172
e79be6e5 6173 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
6174 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
6175 'max_completions' parameter and handle it.
6176 (test_gdb_completion_offers_commands): New.
6177
90a1ef87
PA
61782019-06-13 Pedro Alves <palves@redhat.com>
6179
6180 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
6181
d4c16835
PA
61822019-06-13 Pedro Alves <palves@redhat.com>
6183
6184 * gdb.base/options.exp (test-backtrace): New.
6185 (top level): Call it.
6186
2daf894e
PA
61872019-06-13 Pedro Alves <palves@redhat.com>
6188
6189 * gdb.guile/scm-frame-args.exp: Use "set print
6190 raw-frame-arguments" instead of "set print raw frame-arguments".
6191 * gdb.python/py-frame-args.exp: Likewise.
6192
e6ed716c
PA
61932019-06-13 Pedro Alves <palves@redhat.com>
6194
6195 * gdb.compile/compile.exp: Adjust expected output to option
6196 processing changes.
6197
7d8062de
PA
61982019-06-13 Pedro Alves <palves@redhat.com>
6199
6200 * gdb.base/options.exp: Build executable.
6201 (test-print): New procedure.
6202 (top level): Call it, once for "print" and another for "compile
6203 print".
6204
9d0faba9
PA
62052019-06-13 Pedro Alves <palves@redhat.com>
6206
6207 * gdb.base/options.c: New file.
6208 * gdb.base/options.exp: New file.
6209
dee7b4c8
PA
62102019-06-13 Pedro Alves <palves@redhat.com>
6211
6212 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
6213 that "o" is ambiguous.
6214
dca0f6c0
PA
62152019-06-13 Pedro Alves <palves@redhat.com>
6216
6217 * gdb.base/settings.c: New file.
6218 * gdb.base/settings.exp: New file.
6219
ccf46844
PA
62202019-06-13 Pedro Alves <palves@redhat.com>
6221
6222 * gdb.base/completion.exp: Fix comment typo.
6223
b9a3f842
PA
62242019-06-13 Pedro Alves <palves@redhat.com>
6225
6226 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6227 foo --1" test.
6228
d106773e
PA
62292019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6230
6231 * gdb.fortran/block-data.f: New.
6232 * gdb.fortran/block-data.exp: New.
6233
fea82da0
TV
62342019-06-11 Tom de Vries <tdevries@suse.de>
6235
6236 PR testsuite/24521
6237 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6238 message.
6239
8c2e74f1
TV
62402019-06-11 Tom de Vries <tdevries@suse.de>
6241
6242 PR testsuite/24521
6243 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6244
b49851c8
TV
62452019-06-11 Tom de Vries <tdevries@suse.de>
6246
6247 * boards/readnow.exp: New file.
6248
a7067863
AB
62492019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6250
6251 * gdb.fortran/vla-sizeof.exp: Update expected results.
6252
1a3da2cd
AB
62532019-06-06 Amos Bird <amosbird@gmail.com>
6254
6255 * gdb.base/annota1.exp (thread_switch): Add test for
6256 thread-exited annotation.
6257
3847a7bf
TT
62582019-06-06 Tom Tromey <tromey@adacore.com>
6259
6260 * gdb.base/maint.exp: Expect command started/finished output.
6261
0088ba59
AB
62622019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6263
6264 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6265 comment.
6266 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6267
312617a3
AB
62682019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6269
6270 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6271 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6272 * gdb.arch/riscv-unwind-long-insn.c: New file.
6273 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6274
e1f2e1a2
CB
62752019-06-04 Christian Biesinger <cbiesinger@google.com>
6276
d3238f7d 6277 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 6278
206584bd
PW
62792019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6280
6281 * lib/gdb.exp (help_list_trailer): New regexp variable
6282 factorizing the help trailer message.
6283 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6284 arg to allow to better factorize various tests.
6285 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6286 (test_prefix_command_help): Use help_list_trailer.
6287 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6288 * gdb.guile/scm-cmd.exp: Likewise.
6289 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6290 * gdb.base/help.exp: Use test_user_defined_class_help.
6291 * gdb.base/style.exp: Add tests for styling of help and apropos.
6292 * lib/gdb-utils.exp (style): Add title and highlight styles.
6293
708dc93e
PW
62942019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6295
6296 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6297 $_shell_exitsignal.
6298 * gdb.base/default.exp: Update for new convenience variables.
6299
f49055a5
TT
63002019-05-29 Tom Tromey <tromey@adacore.com>
6301
6302 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6303 to "break complete ada" test case's regexp.
6304
4330d61d
TT
63052019-05-29 Tom Tromey <tromey@adacore.com>
6306
6307 PR c++/20020:
6308 * gdb.cp/constexpr-field.exp: New file.
6309 * gdb.cp/constexpr-field.cc: New file.
6310
000439d5
TT
63112019-05-29 Tom Tromey <tromey@adacore.com>
6312
6313 * gdb.base/finish.exp (finish_no_print): New proc.
6314 (finish_tests): Call it.
6315
5a01c34c
TV
63162019-05-24 Tom de Vries <tdevries@suse.de>
6317
6318 * gdb.dwarf2/gdb-add-index.exp: New file.
6319
18125b16
TT
63202019-05-22 Tom Tromey <tromey@adacore.com>
6321
6322 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6323 * gdb.base/style.exp: Use "style".
6324 * lib/gdb-utils.exp (style): New proc.
6325
af1a8d03
TV
63262019-05-22 Tom de Vries <tdevries@suse.de>
6327
6328 * gdb.base/align.exp: Require c++11.
6329
e7fe496b
TV
63302019-05-22 Tom de Vries <tdevries@suse.de>
6331
6332 PR testsuite/24586
6333 * gdb.python/py-mi-var-info-path-expression.exp: Call
6334 mi_skip_python_tests to check if python is supported.
6335
8fca4da0
AH
63362019-05-22 Alan Hayward <alan.hayward@arm.com>
6337
6338 * gdb.arch/aarch64-pauth.c: New test.
6339 * gdb.arch/aarch64-pauth.exp: New file.
6340
b7060614
AH
63412019-05-22 Alan Hayward <alan.hayward@arm.com>
6342
6343 * README (Re-running Tests Outside The Testsuite): New section.
6344
669d0468
TV
63452019-05-21 Tom de Vries <tdevries@suse.de>
6346
6347 * gdb.arch/amd64-eval.exp: Require c++11.
6348 * gdb.base/max-depth.exp: Same.
6349 * gdb.compile/compile-cplus-array-decay.exp: Same.
6350 * gdb.cp/meth-typedefs.exp: Same.
6351 * gdb.cp/subtypes.exp: Same.
6352 * gdb.cp/temargs.exp: Same.
6353
ce3ebcaa
AH
63542019-05-21 Alan Hayward <alan.hayward@arm.com>
6355
6356 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6357
34d11c68
AB
63582019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6359
6360 PR gdb/18644
6361 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6362 * gdb.fortran/printing-types.exp: Add new test.
6363 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6364 testing.
6365 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6366 setup_kfail call.
6367
87781e84
AH
63682019-05-17 Alan Hayward <alan.hayward@arm.com>
6369
6370 * README (Running the Testsuite): Change example.
6371 (Testsuite Parameters): Remove TRANSCRIPT.
6372 * lib/gdb.exp: Remove TRANSCRIPT check.
6373
b420b89e
AH
63742019-05-17 Alan Hayward <alan.hayward@arm.com>
6375
6376 * README (Testsuite Parameters): Add replay logging to
6377 GDBSERVER_DEBUG.
6378 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6379 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6380 as a comma separated list.
6381 (gdb_debug_init): Override procedure.
6382
408e9b8b
AH
63832019-05-17 Alan Hayward <alan.hayward@arm.com>
6384
6385 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6386 (gdb_write_cmd_file): New procedure.
6387 * lib/gdbserver-support.exp (gdbserver_start): Call
6388 gdbserver_write_cmd_file.
6389 (gdbserver_write_cmd_file): New procedure.
6390
f9e2e39d
AH
63912019-05-17 Alan Hayward <alan.hayward@arm.com>
6392
6393 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6394 (delete_breakpoints): Likewise.
6395 (gdb_run_cmd): Likewise.
6396 (gdb_start_cmd): Likewise.
6397 (gdb_starti_cmd): Likewise.
6398 (gdb_internal_error_resync): Likewise.
6399 (gdb_test_multiple): Likewise.
6400 (gdb_reinitialize_dir): Likewise.
6401 (default_gdb_exit): Likewise.
6402 (gdb_file_cmd): Mark kill as optional.
6403 (default_gdb_start): Call gdb_stdin_log_init.
6404 (send_gdb): Call gdb_stdin_log_write.
6405 (rerun_to_main): Mark Y as an answer.
6406 (gdb_stdin_log_init): New function.
6407 (gdb_stdin_log_write): Likewise.
6408
81f47ac2
AH
64092019-05-17 Alan Hayward <alan.hayward@arm.com>
6410
6411 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
6412 * gdb.base/debug-expr.exp: Likewise.
6413 * gdb.base/foll-fork.exp: Likewise.
6414 * gdb.base/foll-vfork.exp: Likewise.
6415 * gdb.base/fork-print-inferior-events.exp: Likewise.
6416 * gdb.base/gdb-sigterm.exp: Likewise.
6417 * gdb.base/gdbinit-history.exp: Likewise.
6418 * gdb.base/osabi.exp: Likewise.
6419 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6420 * gdb.base/ui-redirect.exp: Likewise.
6421 * gdb.gdb/unittest.exp: Likewise.
6422 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
6423 * gdb.mi/mi-watch.exp: Likewise.
6424 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6425 * gdb.mi/user-selected-context-sync.exp: Likewise.
6426 * gdb.python/python.exp: Disable debug test when debugging.
6427 * gdb.threads/check-libthread-db.exp: Disable when debugging.
6428 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6429 Likewise.
6430 * gdb.threads/stepi-random-signal.exp: Likewise.
6431
29b52314
AH
64322019-05-17 Alan Hayward <alan.hayward@arm.com>
6433
6434 * Makefile.in: Pass through GDB_DEBUG.
6435 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6436 (gdb,debug): Add board setting.
6437 * lib/gdb.exp (default_gdb_start): Start debugging.
6438 (gdb_debug_enabled): New procedure.
6439 (gdb_debug_init): Likewise.
29b52314
AH
6440
64412019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 6442
29b52314
AH
6443 * Makefile.in: Pass through GDB_DEBUG.
6444 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6445 (gdb,debug): Add board setting.
6446 * lib/gdb.exp (default_gdb_start): Start debugging.
6447 (gdb_debug_enabled): New procedure.
6448 (gdb_debug_init): Likewise.
29b52314 6449
ca1285d1
AH
64502019-05-17 Alan Hayward <alan.hayward@arm.com>
6451
6452 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6453
f3a09c80
AH
64542019-05-17 Alan Hayward <alan.hayward@arm.com>
6455
6456 * gdb.base/ui-redirect.exp: Test redirection.
6457
26648588
JV
64582019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6459
6460 * gdb.mi/mi-complete.exp: New file.
6461 * gdb.mi/mi-complete.cc: Likewise.
6462
14237686
AB
64632019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6464
6465 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6466 indexed and sliced arrays, and pointers to arrays.
6467
e7bd7fba
TT
64682019-05-14 Tom Tromey <tromey@adacore.com>
6469
6470 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6471 styling test.
6472
2764128d
TV
64732019-05-14 Tom de Vries <tdevries@suse.de>
6474
6475 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6476 selection entry encoding.
6477
71bed2db
TT
64782019-05-10 Tom Tromey <tromey@adacore.com>
6479
6480 * gdb.ada/info_exc.exp: Add "complete" test.
6481
63b667ad
TV
64822019-05-09 Tom de Vries <tdevries@suse.de>
6483
6484 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6485 CU-relative.
6486
9cfd2b89
TV
64872019-05-09 Tom de Vries <tdevries@suse.de>
6488
6489 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6490 CU-relative.
6491
2228ef77
XR
64922019-05-08 Joel Brobecker <brobecker@adacore.com>
6493
6494 * gdb.ada/frame_arg_lang.exp: New testcase.
6495 * gdb.ada/frame_arg_lang/bla.adb: New file.
6496 * gdb.ada/frame_arg_lang/pck.ads: New file.
6497 * gdb.ada/frame_arg_lang/pck.adb: New file.
6498 * gdb.ada/frame_arg_lang/foo.c: New file.
6499
80e55b13
TT
65002019-05-08 Tom Tromey <tromey@adacore.com>
6501
6502 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6503
9d3421af
TT
65042019-05-08 Tom Tromey <tromey@adacore.com>
6505
6506 * gdb.base/ptype-offsets.exp: Update tests.
6507
844333e2
TT
65082019-05-08 Tom Tromey <tromey@adacore.com>
6509
6510 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6511 cases.
6512 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6513 "short".
6514
988915ee
TT
65152019-05-08 Tom Tromey <tromey@adacore.com>
6516
6517 * gdb.ada/vla.exp: New file.
6518 * gdb.ada/vla/vla.adb: New file.
6519
7bd55dac
TV
65202019-05-07 Tom de Vries <tdevries@suse.de>
6521
6522 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6523
75f06e9d
TV
65242019-05-07 Tom de Vries <tdevries@suse.de>
6525
6526 PR testsuite/24522
6527 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6528 section.
6529
77e7aaa4
TV
65302019-05-07 Tom de Vries <tdevries@suse.de>
6531
6532 PR testsuite/24522
6533 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6534 .debug_aranges section.
6535
456ba0fa
TV
65362019-05-07 Tom de Vries <tdevries@suse.de>
6537
6538 PR testsuite/24159
6539 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6540
5a56d6a6
TV
65412019-05-06 Tom de Vries <tdevries@suse.de>
6542
6543 * lib/gdb.exp (exec_has_index_section): New proc.
6544 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6545 section.
6546
9d6d4be8
TV
65472019-05-04 Tom de Vries <tdevries@suse.de>
6548
6549 * boards/cc-with-debug-names.exp: New file.
6550
222a8d25
TT
65512019-05-03 Tom Tromey <tromey@adacore.com>
6552
6553 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
6554 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
6555 * gdb.ada/char_enum.exp: Add test.
6556
0fdfd794
TV
65572019-05-03 Tom de Vries <tdevries@suse.de>
6558
6559 * boards/cc-with-gdb-index.exp: New file.
6560
80062eb9
AB
65612019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
6562
6563 * gdb.rust/simple.exp: Add new test case.
6564 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
6565 (main): Initialise an instance of the new struct.
6566
4504bbde
TT
65672019-05-01 Tom Tromey <tromey@adacore.com>
6568
6569 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6570 record.
6571 (NPR): New variable.
6572 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6573 test.
6574
d48e62f4
TT
65752019-05-01 Tom Tromey <tromey@adacore.com>
6576
6577 * gdb.ada/packed_array_assign.exp: Add packed assignment
6578 regression test.
6579
f59f30f5
TV
65802019-05-01 Tom de Vries <tdevries@suse.de>
6581
6582 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6583
b70bfc54
TV
65842019-05-01 Tom de Vries <tdevries@suse.de>
6585
6586 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6587
15f18d14
AT
65882019-04-30 Ali Tamur <tamur@google.com>
6589
6590 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6591
2ff0a947
TT
65922019-04-30 Tom Tromey <tromey@adacore.com>
6593
6594 * lib/ada.exp (find_ada_tool): New proc.
6595 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
6596 * gdb.ada/catch_ex_std.exp: New file.
6597 * gdb.ada/catch_ex_std/foo.adb: New file.
6598 * gdb.ada/catch_ex_std/some_package.adb: New file.
6599 * gdb.ada/catch_ex_std/some_package.ads: New file.
6600
a776957c
TT
66012019-04-30 Tom Tromey <tromey@adacore.com>
6602
6603 PR c++/24470:
6604 * gdb.cp/temargs.cc: Add test code from PR.
6605
bc68014d
AB
66062019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6607
6608 * gdb.fortran/vla-datatypes.exp: Update expected results.
6609 * gdb.fortran/vla-ptype.exp: Likewise.
6610 * gdb.fortran/vla-type.exp: Likewise.
6611 * gdb.fortran/vla-value.exp: Likewise.
6612
f1fdc960
AB
66132019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6614
6615 * gdb.fortran/ptr-indentation.exp: Update expected results.
6616 * gdb.fortran/ptype-on-functions.exp: Likewise.
6617 * gdb.fortran/vla-ptr-info.exp: Likewise.
6618 * gdb.fortran/vla-value.exp: Likewise.
6619
bf7a4de1
AB
66202019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6621
6622 * gdb.fortran/ptype-on-functions.exp: New file.
6623 * gdb.fortran/ptype-on-functions.f90: New file.
6624
bbe75b9d
AB
66252019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6626
6627 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6628 case void string.
6629
1db455a7
AB
66302019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6631
6632 * gdb.fortran/complex.exp: Expand.
6633 * gdb.fortran/complex.f: Renamed to...
6634 * gdb.fortran/complex.f90: ...this, and extended to add more
6635 complex values.
6636
b6d03bb2
AB
66372019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6638
6639 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6640 MODULO, CMPLX.
6641
2e62ab40
AB
66422019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6643 Richard Bunt <richard.bunt@arm.com>
6644
6645 * gdb.base/max-depth.c: New file.
6646 * gdb.base/max-depth.exp: New file.
6647 * gdb.python/py-nested-maps.c: New file.
6648 * gdb.python/py-nested-maps.exp: New file.
6649 * gdb.python/py-nested-maps.py: New file.
6650 * gdb.python/py-format-string.exp (test_max_depth): New proc.
6651 (test_all_common): Call test_max_depth.
6652 * gdb.fortran/max-depth.exp: New file.
6653 * gdb.fortran/max-depth.f90: New file.
6654 * gdb.go/max-depth.exp: New file.
6655 * gdb.go/max-depth.go: New file.
6656 * gdb.modula2/max-depth.exp: New file.
6657 * gdb.modula2/max-depth.c: New file.
6658 * lib/gdb.exp (get_print_expr_at_depths): New proc.
6659
d2b584a5
TV
66602019-04-29 Tom de Vries <tdevries@suse.de>
6661
6662 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
6663
136afab8
PW
66642019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6665
6666 * gdb.base/callexit.exp: Test may-call-functions off.
6667
725cbb63
KS
66682019-04-25 Keith Seitz <keiths@redhat.com>
6669
6670 PR c++/24367
6671 * gdb.cp/meth-typedefs.cc (incomplete_struct)
6672 (another_incomplete_struct, test_incomplete): New definitions.
6673 (main): Use new definitions.
6674 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
6675 functions.
6676
701adfb0
PA
66772019-04-25 Ali Tamur <tamur@google.com>
6678
6679 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
6680
82433e3e
SDJ
66812019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
6682
6683 PR corefiles/11608
6684 PR corefiles/18187
6685 * gdb.base/coredump-filter-build-id.exp: New file.
6686
dd06d4d6
AH
66872019-04-25 Alan Hayward <alan.hayward@arm.com>
6688
e79be6e5
SM
6689 * Makefile.in: Pass through GDBSERVER_DEBUG.
6690 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
6691 (gdbserver,debug): Add board setting.
6692 * gdb.trace/tspeed.exp: Skip when debugging.
6693 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
6694 * lib/gdbserver-support.exp: Likewise
dd06d4d6 6695
1670072e
TT
66962019-04-24 Tom Tromey <tromey@adacore.com>
6697
6698 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
6699 Rust.
6700
a59240a4
TT
67012019-04-24 Tom Tromey <tromey@adacore.com>
6702
6703 * gdb.arch/amd64-eval.exp: Test bitfield return.
6704 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
6705 (class Foo) <return_bitfields>: New method.
6706 (main): Call it.
6707
b907456c
AB
67082019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
6709
6710 * gdb.cp/many-args.cc: New file.
6711 * gdb.cp/many-args.exp: New file.
6712
5c565afd
TV
67132019-04-23 Tom de Vries <tdevries@suse.de>
6714
6715 PR gdb/24433
6716 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
6717
ba22ff86
AH
67182019-04-23 Alan Hayward <alan.hayward@arm.com>
6719
6720 * gdb.trace/backtrace.exp: Use nopie flag.
6721 * gdb.trace/circ.exp: Likewise.
6722 * gdb.trace/collection.exp: Likewise.
6723 * gdb.trace/ftrace.exp: Likewise.
6724 * gdb.trace/mi-trace-unavailable.exp: Likewise.
6725 * gdb.trace/mi-traceframe-changed.exp: Likewise.
6726 * gdb.trace/qtro.exp: Likewise.
6727 * gdb.trace/read-memory.exp: Likewise.
6728 * gdb.trace/report.exp: Likewise.
6729 * gdb.trace/tfile.exp: Likewise.
6730 * gdb.trace/tfind.exp: Likewise.
6731 * gdb.trace/unavailable.exp: Likewise.
6732
7905fc35
PA
67332019-04-22 Pedro Alves <palves@redhat.com>
6734
6735 * gdb.base/solib-probes-nosharedlibrary.c,
6736 gdb.base/solib-probes-nosharedlibrary.exp: New files.
6737
8ecb59f8
TT
67382019-04-19 Tom Tromey <tromey@adacore.com>
6739
6740 * gdb.ada/ptype_union.c: New file.
6741 * gdb.ada/ptype_union.exp: New file.
6742
62160ec9
TT
67432019-04-19 Tom Tromey <tromey@adacore.com>
6744
6745 PR symtab/24423:
6746 * gdb.base/list0.h (foo): Add a control-l character.
6747
36cd4ba5
TV
67482019-04-18 Tom de Vries <tdevries@suse.de>
6749
6750 PR gdb/24433
6751 * boards/local-board.exp: Set sysroot to "".
6752
b73715df
TV
67532019-04-18 Tom de Vries <tdevries@suse.de>
6754 Pedro Alves <palves@redhat.com>
6755
6756 PR gdb/24454
6757 * gdb.threads/vfork-follow-child-exec.c: New file.
6758 * gdb.threads/vfork-follow-child-exec.exp: New file.
6759 * gdb.threads/vfork-follow-child-exit.c: New file.
6760 * gdb.threads/vfork-follow-child-exit.exp: New file.
6761
4aa866af
LS
67622019-04-15 Leszek Swirski <leszeks@google.com>
6763
6764 * gdb.arch/amd64-eval.cc: New file.
6765 * gdb.arch/amd64-eval.exp: New file.
6766
e5a1a79a
AH
67672019-04-11 Alan Hayward <alan.hayward@arm.com>
6768
6769 * gdb.server/sysroot.c: New test.
6770 * gdb.server/sysroot.exp: New file.
6771 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6772 matching param.
6773
41077b66
AB
67742019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6775
6776 * gdb.base/align.exp: Extend test to cover structures containing
6777 only static fields.
6778
c30391f8
TV
67792019-04-11 Tom de Vries <tdevries@suse.de>
6780
6781 * boards/cc-with-dwz-m.exp: New file.
6782 * boards/cc-with-dwz.exp: New file.
6783 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6784
e242fd12
SM
67852019-04-09 Simon Marchi <simon.marchi@efficios.com>
6786
6787 * gdb.base/start-cpp.exp: New file.
6788 * gdb.base/start-cpp.cc: New file.
6789
2b0c8b01
KB
67902019-04-08 Kevin Buettner <kevinb@redhat.com>
6791
6792 * gdb.python/py-thrhandle.exp: Adjust tests to call
6793 thread_from_handle instead of thread_from_thread_handle.
6794
947210e5
KB
67952019-04-08 Kevin Buettner <kevinb@redhat.com>
6796
6797 * gdb.python/py-thrhandle.exp: Add tests for
6798 gdb.InferiorThread.handle.
6799
d7df6549
AB
68002019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6801
6802 * gdb.python/py-function.exp: Check calling helper function from
6803 all languages.
6804 * lib/gdb.exp (gdb_supported_languages): New proc.
6805
8bdc1658
AB
68062019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6807
6808 * gdb.base/complex-parts.c: New file.
6809 * gdb.base/complex-parts.exp: New file.
6810
05caa1d2
TT
68112019-04-01 Tom Tromey <tromey@adacore.com>
6812
6813 PR symtab/23331:
6814 * gdb.dwarf2/dw2-ranges-main.c: New file.
6815 * gdb.dwarf2/dw2-ranges-psym.c: New file.
6816 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
6817
7734102d
EZ
68182019-03-30 Simon Marchi <simark@simark.ca>
6819
6820 * gdb.base/default.exp: Add values for $_gdb_major and
6821 $_gdb_minor.
6822
188e1fa9
TT
68232019-03-29 Tom Tromey <tromey@adacore.com>
6824
6825 * gdb.base/help.exp: Tighten apropos regexp.
6826
2880242d
KS
68272019-03-29 Keith Seitz <keiths@redhat.com>
6828
6829 * gdb.fortran/array-bounds.exp: New file.
6830 * gdb.fortran/array-bounds.f90: New file.
6831
077cad8e
PW
68322019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6833
6834 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6835
80047cfc
PW
68362019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6837
6838 * gdb.multi/hello.c (main): Increase alarm timer.
6839
f489207e
SL
68402019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6841
6842 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6843 factor when no hardware watchpoint support.
6844
c92df149
AH
68452019-03-28 Alan Hayward <alan.hayward@arm.com>
6846 Pedro Alves <palves@redhat.com>
6847
6848 * boards/local-board.exp: set sysroot to /.
6849
933aebfa
AH
68502019-03-27 Alan Hayward <alan.hayward@arm.com>
6851
6852 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6853 in child.
6854
9f9aa852
AB
68552019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6856
6857 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
6858 field.
6859 (make_container): Initialise new field.
6860 * gdb.python/py-prettyprint.exp: Add new tests.
6861 * gdb.python/py-prettyprint.py (class ContainerPrinter)
6862 <display_hint>: New method.
6863
3714a195
AB
68642019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6865
6866 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
6867 gdb_continue_to_breakpoint more throughout this test.
6868 (run_lang_tests) Supply unique test names, and use
6869 gdb_test_no_output.
6870
18c77628
AB
68712019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6872
6873 * gdb.base/finish-pretty.exp: Update expected results.
6874 * gdb.base/pretty-print.c: New file.
6875 * gdb.base/pretty-print.exp: New file.
6876
9a93502f
PA
68772019-03-25 Pedro Alves <palves@redhat.com>
6878
6879 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6880 move comments outside list. Append '-i "" eof' section.
6881
968aa7ae
AH
68822019-03-22 Alan Hayward <alan.hayward@arm.com>
6883
34a7f2a4 6884 PR testsuite/25016
968aa7ae
AH
6885 * README: Add pie options.
6886 * gdb.base/break-interp.exp: Ensure pie is disabled.
6887 * gdb.base/dump.exp: Likewise.
6888 * lib/gdb.exp (gdb_compile): Add pie option.
6889
4c7d57e7
TT
68902019-03-19 Tom Tromey <tromey@adacore.com>
6891
6892 * gdb.mi/mi2-cli-display.c: New file.
6893 * gdb.mi/mi2-cli-display.exp: New file.
6894
bff8c71f
TT
68952019-03-18 Joel Brobecker <brobecker@adacore.com>
6896 Tom Tromey <tromey@adacore.com>
6897
6898 * gdb.ada/ptype_array/pck.adb: New file.
6899 * gdb.ada/ptype_array/pck.ads: New file.
6900 * gdb.ada/ptype_array/foo.adb: New file.
6901 * gdb.ada/ptype_array.exp: New file.
6902
d085f989
TT
69032019-03-14 Tom Tromey <tromey@adacore.com>
6904
6905 * gdb.base/style.exp: Add "set style sources" test.
6906
b4be1b06
SM
69072019-03-13 Simon Marchi <simon.marchi@ericsson.com>
6908
6909 * mi-breakpoint-location-ena-dis.exp: Rename to ...
6910 * mi-breakpoint-multiple-locations.exp: ... this.
6911 (make_breakpoints_pattern): New proc.
6912 (do_test): Add mi_version parameter, test -break-insert,
6913 -break-info and =breakpoint-created.
6914
7cde5fc2
AB
69152019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
6916
6917 * config/default.exp: Remove 'load_lib gdb.exp'.
6918 * config/monitor.exp: Likewise.
6919 * config/sid.exp: Likewise.
6920 * config/sim.exp: Likewise.
6921 * config/slite.exp: Likewise.
6922 * config/unix.exp: Likewise.
6923 * gdb.base/default.exp: Remove unhelpful comment.
6924
efbecbc1
AB
69252019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6926
6927 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6928
0841c79a
AB
69292019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6930
6931 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6932
4a270568
AB
69332019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6934
6935 * gdb.fortran/type-kinds.exp: Update expected results.
6936
067630bd
AB
69372019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6938
6939 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6940
3be47f7a
AB
69412019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6942
6943 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6944 function.
6945 (test_basic_parsing_of_type_kinds): Expand types tested.
6946 (test_parsing_invalid_type_kinds): New function.
6947
4d00f5d8
AB
69482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6949
6950 * gdb.fortran/intrinsics.exp: New file.
6951 * gdb.fortran/intrinsics.f90: New file.
6952 * gdb.fortran/type-kinds.exp: New file.
6953
c8f91604
AB
69542019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6955
6956 * gdb.fortran/dot-ops.exp: New file.
6957
dd9f2c76
AB
69582019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6959
6960 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6961 Check upper and lower case logical literals.
6962
84ec9724
AB
69632019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6964
6965 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6966 Remove duplicate tests.
6967
c3734e09
AH
69682019-03-06 Alan Hayward <alan.hayward@arm.com>
6969
6970 * lib/gdb.exp (builtin_cd): rename of cd.
6971 (cd): Override builtin.
6972
aa3cfbda
RB
69732019-03-06 Richard Bunt <richard.bunt@arm.com>
6974
6975 * gdb.fortran/function-calls.exp: New file.
6976 * gdb.fortran/function-calls.f90: New test.
6977
7b63ad86
RB
69782019-03-04 Richard Bunt <richard.bunt@arm.com>
6979
6980 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6981 on user program standard output.
6982 * gdb.fortran/short-circuit-argument-list.f90: Record function
6983 calls.
6984
01abb042
AH
69852019-02-28 Alan Hayward <alan.hayward@arm.com>
6986
c3734e09
AH
6987 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6988 failure.
01abb042 6989
92137da0
RO
69902019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6991
6992 PR gdb/8527
6993 * gdb.base/interrupt-daemon-attach.c,
6994 gdb.base/interrupt-daemon-attach.exp: New test.
6995
5862844d
PA
69962019-02-27 Pedro Alves <palves@redhat.com>
6997
6998 * gdb.base/page.exp: Add tests for "set width/height -1".
6999
8ed25214
PA
70002019-02-27 Pedro Alves <palves@redhat.com>
7001
7002 * gdb.base/page.exp: Add tests for "set/show width/height" with
7003 "infinite" values.
7004
6c28e44a
TT
70052019-02-27 Tom Tromey <tromey@adacore.com>
7006
7007 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7008 2.4.
7009 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7010 workaround.
7011
bf9a735e
AB
70122019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
7013
7014 * gdb.base/align.exp: Extend to compile in both C and C++, and add
7015 tests for structs with static members.
7016
8791793c
TT
70172019-02-26 Tom Tromey <tromey@adacore.com>
7018
7019 * gdb.python/py-value.exp (test_value_from_buffer): Check for
7020 ValueError, not TypeError.
7021
bc2a507e
KB
70222019-02-26 Kevin Buettner <kevinb@redhat.com>
7023
7024 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
7025 call from main program.
7026
e0e7d3bd
JB
70272019-02-23 Joel Brobecker <brobecker@adacore.com>
7028
7029 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
7030 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
7031 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
7032 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
7033 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
7034
9600246d
KS
70352019-02-22 Keith Seitz <keiths@redhat.com>
7036
7037 PR symtab/23853
7038 * gdb.base/symlink-sourcefile.c: New file.
7039 * gdb.base/symlink-sourcefile.exp: New file.
7040
0c95f9ed
TT
70412019-02-20 Tom Tromey <tom@tromey.com>
7042
7043 * gdb.base/info_qt.exp: Update.
7044
6caa91b6
SM
70452019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
7046
7047 * gdb.base/source.exp: Move "error in sourced script" code to
7048 the end.
7049 * gdb.base/source-error.gdb: Move contents to
7050 source-error-1.gdb. Add new code to source source-error-1.gdb.
7051 * gdb.base/source-error-1.gdb: New file, from previous
7052 source-error.gdb.
7053
6506371f
TT
70542019-02-17 Tom Tromey <tom@tromey.com>
7055
7056 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
7057 for macro styling.
7058 * gdb.base/style.c (SOME_MACRO): New macro.
7059
a0087920
TT
70602019-02-17 Tom Tromey <tom@tromey.com>
7061
7062 * gdb.base/style.exp: Add line-wrapping tests.
7063 * gdb.base/page.exp: Add test for quitting during pagination.
7064
a2cd4f14
JB
70652019-02-17 Joel Brobecker <brobecker@adacore.com>
7066
7067 * gdb.ada/big_packed_array: New testcase.
7068 * gdb.ada/homonym.exp: Fix incorrect expected output for
7069 "break <homonym__get_value>" test.
7070
9d70ffbc
WP
70712019-02-13 Weimin Pan <weimin.pan@oracle.com>
7072
7073 PR breakpoints/21870
7074 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
7075 and prepare_for_testing. Add comment.
7076 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
7077 redundant cleanup call. Clean up comment.
7078
01c7ae81
WP
70792019-02-12 Weimin Pan <weimin.pan@oracle.com>
7080
7081 PR breakpoints/21870
7082 * gdb.arch/aarch64-dbreg-contents.exp: New file.
7083 * gdb.arch/aarch64-dbreg-contents.c: New file.
7084
aff29d1c
JB
70852019-02-10 Joel Brobecker <brobecker@adacore.com>
7086
7087 * gdb.ada/mi_ref_changeable: New testcase.
7088
df0da8a2
AH
70892019-02-07 Alan Hayward <alan.hayward@arm.com>
7090
7091 * gdb.base/attach.exp: Add double attach test.
7092
bd447abb
SM
70932019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
7094
7095 * lib/gdb.exp (default_gdb_start): Don't match pagination
7096 prompt.
7097 (gdb_init): Set stty_init.
7098
1dbc40b9
TT
70992019-01-27 Tom Tromey <tom@tromey.com>
7100
7101 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
7102 skip_python_tests.
7103
353229bf
AH
71042019-01-24 Alan Hayward <alan.hayward@arm.com>
7105
7106 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
7107 New structure.
7108 (struct struct_static_02_02): Likewise.
7109 (struct struct_static_02_03): Likewise.
7110 (struct struct_static_02_04): Likewise.
7111 (struct struct_static_04_01): Likewise.
7112 (struct struct_static_04_02): Likewise.
7113 (struct struct_static_04_03): Likewise.
7114 (struct struct_static_04_04): Likewise.
7115 (struct struct_static_06_01): Likewise.
7116 (struct struct_static_06_02): Likewise.
7117 (struct struct_static_06_03): Likewise.
7118 (struct struct_static_06_04): Likewise.
7119 (cmp_struct_static_02_01): Likewise.
7120 (cmp_struct_static_02_02): Likewise.
7121 (cmp_struct_static_02_03): Likewise.
7122 (cmp_struct_static_02_04): Likewise.
7123 (cmp_struct_static_04_01): Likewise.
7124 (cmp_struct_static_04_02): Likewise.
7125 (cmp_struct_static_04_03): Likewise.
7126 (cmp_struct_static_04_04): Likewise.
7127 (cmp_struct_static_06_01): Likewise.
7128 (cmp_struct_static_06_02): Likewise.
7129 (cmp_struct_static_06_03): Likewise.
7130 (cmp_struct_static_06_04): Likewise.
7131 (call_all): Test new structs.
7132 * gdb.base/infcall-nested-structs.exp: Likewise.
7133
73021deb
AH
71342019-01-21 Alan Hayward <alan.hayward@arm.com>
7135 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
7136
fc65c7db
AH
71372019-01-21 Alan Hayward <alan.hayward@arm.com>
7138 * gdb.base/stack-protector.c: New test.
7139 * gdb.base/stack-protector.exp: New file.
7140 * gdb.cp/ovldbreak.exp: Only allow a single break line.
7141 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
7142 option.
7143 (gdb_compile): Remove stack protector for GCC and prevent
7144 recursion.
7145
c24bdb02
KS
71462019-01-16 Keith Seitz <keiths@redhat.com>
7147
7148 PR gdb/23773
7149 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
7150
6f072a10
PFC
71512019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7152
7153 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
7154 aliases.
7155 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
7156 tests.
7157 * gdb.arch/powerpc-vector-regs.c: New file.
7158 * gdb.arch/powerpc-vector-regs.exp: New file.
7159
a7b8d682
PFC
71602019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7161
7162 * gdb.arch/altivec-regs.exp: Fix the list passed to
7163 gdb_expect_list when testing "info vector".
7164
6eb6fb67
AB
71652019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7166
7167 * gdb.base/style.exp: Don't include path in testname.
7168
b56f80d8
KS
71692019-01-10 Keith Seitz <keiths@redhat.com>
7170
7171 PR gdb/23712
7172 PR symtab/23010
7173 * gdb.dwarf2/multidictionary.exp: New file.
7174
041be526
SM
71752019-01-09 Simon Marchi <simon.marchi@ericsson.com>
7176
7177 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
7178 (test_gnuv3_style_demangling): ... this.
7179 (test_lucid_style_demangling): Remove.
7180 (test_arm_style_demangling): Remove.
7181 (test_hp_style_demangling): Remove.
7182 (do_tests): Remove calls to the above.
7183
d820d0c3
AB
71842019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7185
7186 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
7187 case.
7188
f097f5ad
TT
71892019-01-06 Tom Tromey <tom@tromey.com>
7190
7191 PR gdb/28155:
7192 * gdb.dwarf2/typedef-void-finish.exp: New file.
7193
2cd8cc0b
TT
71942018-12-28 Tom Tromey <tom@tromey.com>
7195 Simon Marchi <simark@simark.ca>
7196
7197 * gdb.base/jit-exec.exp: New file.
7198 * gdb.base/jit-exec.c: New file.
7199 * gdb.base/jit-execd.c: New file.
7200
35fb8261
TT
72012018-12-28 Tom Tromey <tom@tromey.com>
7202
7203 * gdb.base/style.exp: Update test to check for address styling.
7204
47fd17cd
TT
72052018-12-28 Tom Tromey <tom@tromey.com>
7206
7207 * gdb.base/style.exp: Add test for styling of "Reading symbols"
7208 message.
7209
d47032b7
TT
72102018-12-28 Tom Tromey <tom@tromey.com>
7211
7212 * gdb.base/style.exp: Add test for version number styling.
7213
af79b68d
TT
72142018-12-28 Tom Tromey <tom@tromey.com>
7215
7216 * gdb.base/style.exp: Add test for print_address_symbolic.
7217
0bb296cb
TT
72182018-12-28 Tom Tromey <tom@tromey.com>
7219
7220 * gdb.base/style.exp: Add test for breakpoint setting.
7221
80ae2043
TT
72222018-12-28 Tom Tromey <tom@tromey.com>
7223
7224 * gdb.base/style.exp: Add test for variable names.
7225
cbe56571
TT
72262018-12-28 Tom Tromey <tom@tromey.com>
7227
7228 * gdb.base/style.exp: New file.
7229 * gdb.base/style.c: New file.
7230
9162a27c
TT
72312018-12-28 Tom Tromey <tom@tromey.com>
7232
7233 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7234 "dumb".
7235 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7236 the TERM environment variable.
7237
bc543c90
TT
72382018-12-27 Tom Tromey <tom@tromey.com>
7239
7240 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7241 pagination test.
7242
6f0ffe50
AB
72432018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7244
7245 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7246 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7247
b5a1e557
PW
72482018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7249
7250 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7251 Filename a.adb changed to bp_fun_addr.adb.
7252 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7253
6e8b1ab2
JV
72542018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7255
7256 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7257 non-PIE executables.
7258 * README: Mention the gdb,nopie_flag board setting.
7259 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7260 non-PIE executable.
7261 * gdb.arch/amd64-entry-value.exp: Likewise.
7262 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7263 * gdb.arch/i386-float.exp: Likewise.
7264 * gdb.arch/i386-signal.exp: Likewise.
7265 * gdb.mi/mi-reg-undefined.exp: Likewise.
7266
d00a27c5
PM
72672018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7268
7269 PR gdb/23974
7270 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7271
161d081c
PW
72722018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7273
7274 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7275 Update order of results accordingly.
7276
b001de23
AB
72772018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7278
7279 * gdb.base/annota1.exp: Update a test regexp.
7280
99e1a184
AB
72812018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7282
7283 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7284
7a81c1e2
PW
72852018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7286
7287 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7288 (reuse_time): Initialize to REUSE_TIME_CAP.
7289 (check_rc): New function.
7290 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7291 Check pthread_create rc.
7292 (spawner_thread_func): Check pthread_create and pthread_join rc.
7293
73e8dc90
PA
72942018-12-08 Pedro Alves <palves@redhat.com>
7295
7296 * gdb.base/list.exp (test_forward_search): Rename to ...
7297 (test_forward_reverse_search): ... this. Also test reverse-search
7298 and the forward-search alias.
7299
13f2ed32
AB
73002018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7301
7302 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7303 local timeout variable before return, and remove all local timeout
7304 variable entirely.
7305 (gdb_load): Likewise.
7306
64d27cfc
TV
73072018-12-01 Tom de Vries <tdevries@suse.de>
7308
7309 * gdb.base/gdb-caching-proc.exp: New file.
7310
f63c03b4
SDJ
73112018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7312
7313 * Makefile.in (TIMESTAMP): New variable.
7314 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7315 command.
7316 (check-single-racy): Likewise.
7317 (check/%.exp): Likewise.
7318 (check-racy/%.exp): Likewise.
7319 (workers/%.worker): Likewise.
7320 (build-perf): Likewise.
7321 (check-perf): Likewise.
7322 * README: Describe new "TS" and "TS_FORMAT" variables.
7323 * print-ts.py: New file.
7324
1c97054b
BF
73252018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7326
7327 PR python/23714
7328 * gdb.python/python.exp: Test command repetition after
7329 gdb.execute.
7330
1871a62d
AB
73312018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7332
7333 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7334 is correctly aligned.
7335
fb5e1ed9
PW
73362018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7337
7338 * gdb.ada/info_auto_lang.exp: New testcase.
7339 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7340 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7341 * gdb.ada/info_auto_lang/some_c.c: New file.
7342
43d397ca
PW
73432018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7344
7345 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7346 FUNC_lang language syntax.
7347
beddd671
PW
73482018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7349
7350 * gdb.base/info_minsym.c: New file.
7351 * gdb.base/info_minsym.exp: New file.
7352
73fc52c4
TT
73532018-11-19 Tom Tromey <tom@tromey.com>
7354
7355 PR rust/23625:
7356 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7357 * gdb.rust/expr.exp: Update expected output. Change one test.
7358
994b876a
TT
73592018-11-19 Tom Tromey <tom@tromey.com>
7360
7361 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7362
6769f276
PA
73632018-11-19 Pedro Alves <palves@redhat.com>
7364
7365 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7366 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7367 see the expected warning.
7368
38a72da0
AH
73692018-11-16 Alan Hayward <alan.hayward@arm.com>
7370
7371 PR gdb/22736:
7372 * gdb.cp/infcall-nodebug-lib.c: New test.
7373 * gdb.cp/infcall-nodebug-main.c: New test.
7374 * gdb.cp/infcall-nodebug.exp: New file.
7375
53a89d6e
SM
73762018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7377
7378 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7379 completer tests.
7380
9325300d
TV
73812018-11-09 Tom de Vries <tdevries@suse.de>
7382
7383 * gdb.base/msym-lang.c: New test.
7384 * gdb.base/msym-lang.exp: New file.
7385 * gdb.base/msym-lang-main.c: New test.
7386
20f0d60d
TT
73872018-11-08 Tom Tromey <tom@tromey.com>
7388
7389 PR gdb/23555:
7390 PR gdb/23838:
7391 * gdb.base/warning.exp: New file.
7392
b5420128
JB
73932018-11-08 Jan Beulich <jbeulich@suse.com>
7394
7395 * testsuite/gdb.arch/i386-avx512.c,
7396 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7397
cd115d61
AB
73982018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7399
7400 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
7401 point hardware.
7402
35ee2dc2
AB
74032018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
7404
7405 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
7406 * gdb.dwarf2/missing-type-name.exp: New file.
7407
31aceee8
TV
74082018-11-06 Tom de Vries <tdevries@suse.de>
7409
7410 * gdb.base/many-headers.c: New test.
7411 * gdb.base/many-headers.exp: New file.
7412
109be305
JW
74132018-11-06 Jim Wilson <jimw@sifive.com>
7414
7415 * gdb.base/code_elim.exp: For riscv, set additional_flags
7416 to include -msmall-data-limit=0.
7417
e2b7af72
JB
74182018-11-01 Joel Brobecker <brobecker@adacore.com>
7419
7420 * gdb.ada/watch_minus_l: New testcase.
7421
cdcda965
SM
74222018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
7423
7424 * gdb.arch/aix-sighandle.c: New file.
7425 * gdb.arch/aix-sighandle.exp: New file.
7426
92dcebf3
AB
74272018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7428
7429 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
7430 registers being unions.
7431
68b9ac18
TV
74322018-10-31 Tom de Vries <tdevries@suse.de>
7433
7434 * lib/valgrind.exp: New file.
7435 (vgdb_start, vgdb_stop): New procs, factored out of ...
7436 * gdb.base/valgrind-bt.exp: ... here, ...
7437 * gdb.base/valgrind-disp-step.exp: ... here and ...
7438 * gdb.base/valgrind-infcall.exp: ... here.
7439
1443936e
TV
74402018-10-31 Tom de Vries <tdevries@suse.de>
7441
7442 * lib/gdb.exp (get_valueof): Don't output read value in test name.
7443
eb77c9df
AB
74442018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7445
7446 * gdb.dwarf2/void-type.c: New file.
7447 * gdb.dwarf2/void-type.exp: New file.
7448
82b5e646
PW
74492018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7450
7451 * gdb.base/info_qt.c: New file.
7452 * gdb.base/info_qt.exp: New file.
7453
8d619c01
EBM
74542018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7455
7456 * gdb.arch/powerpc-htm-regs.c: New file.
7457 * gdb.arch/powerpc-htm-regs.exp: New file.
7458
f2cf6173
EBM
74592018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7460
7461 * gdb.arch/powerpc-tar.c: New file.
7462 * gdb.arch/powerpc-tar.exp: New file.
7463
7ca18ed6
EBM
74642018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7465
7466 * gdb.arch/powerpc-ppr-dscr.c: New file.
7467 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7468
bfcc0eba
TV
74692018-10-25 Tom de Vries <tdevries@suse.de>
7470
7471 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7472
fe1a5cad
TV
74732018-10-24 Tom de Vries <tdevries@suse.de>
7474
7475 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7476 longer exists error.
7477
a76dc3b7
TV
74782018-10-24 Tom de Vries <tdevries@suse.de>
7479
7480 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7481
4df46df7
TV
74822018-10-24 Tom de Vries <tdevries@suse.de>
7483
7484 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7485 --db-attach in valgrind.
7486
0dbfcfff
AB
74872018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7488
7489 * gdb.arch/riscv-reg-aliases.c: New file.
7490 * gdb.arch/riscv-reg-aliases.exp: New file.
7491
b04480b1
AH
74922018-10-19 Alan Hayward <alan.hayward@arm.com>
7493
7494 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7495
2c6ac8d7
AH
74962018-10-19 Alan Hayward <alan.hayward@arm.com>
7497
7498 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7499
2bc69f25
AH
75002018-10-19 Alan Hayward <alan.hayward@arm.com>
7501
7502 * gdb.cp/ovldbreak.exp: Fix regexps.
7503
1f1ae3a3
AH
75042018-10-19 Alan Hayward <alan.hayward@arm.com>
7505
7506 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7507
94c18618
SDJ
75082018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7509
7510 PR cli/23785
7511 * gdb.base/restore.exp: New test to check if "restore" with an
7512 invalid file doesn't segfault.
7513
812cd6eb
TV
75142018-10-18 Tom de Vries <tdevries@suse.de>
7515
7516 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
7517 * gdb.ada/excep_handle.exp: Same.
7518 * gdb.ada/mi_string_access.exp: Same.
7519 * gdb.ada/mi_var_union.exp: Same.
7520 * gdb.arch/arc-analyze-prologue.exp: Same.
7521 * gdb.arch/arc-decode-insn.exp: Same.
7522 * gdb.base/readnever.exp: Same.
7523 * gdb.fortran/printing-types.exp: Same.
7524 * gdb.guile/scm-lazy-string.exp: Same.
7525
c4b90788
TV
75262018-10-16 Tom de Vries <tdevries@suse.de>
7527
7528 PR gdb/23730
7529 * gdb.base/catch-follow-exec.c: Add copyright notice.
7530 * gdb.base/catch-follow-exec.exp: Rewrite to use
7531 gdb_spawn_with_cmdline_opts. Require gdb-native.
7532
8bca2978
SL
75332018-10-12 Sandra Loosemore <sandra@codesourcery.com>
7534
7535 * gdb.trace/actions-changed.exp: Check for arch support.
7536 * gdb.trace/actions.exp: Likewise.
7537 * gdb.trace/ax.exp: Likewise.
7538 * gdb.trace/backtrace.exp: Likewise.
7539 * gdb.trace/change-loc.exp: Likewise.
7540 * gdb.trace/deltrace.exp: Likewise.
7541 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
7542 * gdb.trace/ftrace.exp: Likewise.
7543 * gdb.trace/infotrace.exp: Check for arch support.
7544 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
7545 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
7546 * gdb.trace/mi-tsv-changed.exp: Likewise.
7547 * gdb.trace/packetlen.exp: Likewise.
7548 * gdb.trace/passc-dyn.exp: Likewise.
7549 * gdb.trace/passcount.exp: Likewise.
7550 * gdb.trace/pending.exp: Likewise.
7551 * gdb.trace/range-stepping.exp: Check for shlib support.
7552 * gdb.trace/report.exp: Check for arch support.
7553 * gdb.trace/save-trace.exp: Likewise.
7554 * gdb.trace/signal.exp: Check for signal support.
7555 * gdb.trace/tfind.exp: Check for arch support.
7556 * gdb.trace/trace-break.exp: Check for arch and shlib support.
7557 * gdb.trace/trace-common.h: Add comment.
7558 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
7559 * gdb.trace/trace-enable-disable.exp: Likewise.
7560 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
7561 * gdb.trace/tracecmd.exp: Check for arch support.
7562 * gdb.trace/tspeed.exp: Check for shlib and target support.
7563 * gdb.trace/tstatus.exp: Check for arch support.
7564 * gdb.trace/tsv.exp: Likewise.
7565 * gdb.trace/while-dyn.exp: Likewise.
7566 * gdb.trace/while-stepping.exp: Likewise.
7567 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
7568
f9c49bff
SM
75692018-10-12 Simon Marchi <simon.marchi@ericsson.com>
7570
7571 * gdb.trace/tspeed.exp: Remove nowarnings.
7572 (prepare_for_trace_test): Declare "global ipalib".
7573 * gdb.trace/tspeed.c: Include unistd.h.
7574 (main): Remove superfluous printf argument.
7575
d4330bde
SL
75762018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7577
7578 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7579 directory prefix on the filename.
7580
8ecfd7bd
SDJ
75812018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7582
7583 * gdb.gdb/unittest.exp: Update expected message informing that
7584 selftests have been disabled.
7585 * gdb.server/unittest.exp: Likewise.
7586
58bbcd02
TV
75872018-10-09 Tom de Vries <tdevries@suse.de>
7588
7589 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7590 with runto_main.
7591
9f6b697b
WP
75922018-10-08 Weimin Pan <weimin.pan@oracle.com>
7593
7594 PR c++/16841
7595 * gdb.cp/virtbase2.cc: New file.
7596 * gdb.cp/virtbase2.exp: New file.
7597
add5ded5
TT
75982018-10-06 Tom Tromey <tom@tromey.com>
7599
7600 PR python/19399:
7601 * gdb.python/py-inferior.exp: Add architecture test.
7602
f9e48344
TT
76032018-10-06 Tom Tromey <tom@tromey.com>
7604
7605 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7606 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7607
2a8be203
TT
76082018-10-06 Tom Tromey <tom@tromey.com>
7609
7610 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7611 of a "throw" catchpoint.
7612
e04caa70
SDJ
76132018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7614
7615 * gdb.base/info-proc.exp: Update string expected from "help info
7616 proc".
7617
5ca8c39f
TT
76182018-10-04 Tom Tromey <tom@tromey.com>
7619
7620 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7621 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7622 (test_initial_complaints, test_empty_complaints): Update.
7623 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7624
3453e7e4
TT
76252018-10-04 Tom Tromey <tom@tromey.com>
7626
7627 PR cli/19551:
7628 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7629 * lib/gdb.exp (gdb_file_cmd): Update.
7630 * gdb.stabs/weird.exp (print_weird_var): Update.
7631 * gdb.server/solib-list.exp: Update.
7632 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
7633 * gdb.mi/mi-cli.exp: Update.
7634 * gdb.linespec/linespec.exp: Update.
7635 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7636 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
7637 * gdb.cp/cp-relocate.exp: Update.
7638 * gdb.base/sym-file.exp: Update.
7639 * gdb.base/relocate.exp: Update.
7640 * gdb.base/readnever.exp: Update.
7641 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7642 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
7643 * gdb.base/dbx.exp (gdb_file_cmd): Update.
7644 * gdb.base/code_elim.exp: Update.
7645 * gdb.base/break-unload-file.exp (test_break): Update.
7646 * gdb.base/break-interp.exp (test_attach_gdb): Update.
7647 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
7648 Update.
7649 * gdb.base/attach.exp (do_attach_tests): Update.
7650 * gdb.base/sepdebug.exp: Update.
7651 * gdb.python/py-section-script.exp: Update.
7652
6afcf761
TT
76532018-10-04 Tom Tromey <tom@tromey.com>
7654
7655 PR cli/22234:
7656 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
7657 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
7658 output.
7659
fef1b293
TT
76602018-10-04 Tom Tromey <tom@tromey.com>
7661
7662 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
7663 set width and height to 0.
7664 (test_command_line_attach_run): Use -quiet.
7665
ca98345e
SL
76662018-10-03 Sandra Loosemore <sandra@codesourcery.com>
7667
7668 * lib/gdb.exp (skip_ifunc_tests): New.
7669 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
7670 other compile failures.
7671 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
7672
ff34e6ae
SM
76732018-10-01 Simon Marchi <simon.marchi@ericsson.com>
7674
7675 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
7676 is_amd64_regs_target.
7677
6bb8890e
AH
76782018-10-01 Alan Hayward <alan.hayward@arm.com>
7679
7680 * gdb.arch/aarch64-sighandler-regs.c: New test.
7681 * gdb.arch/aarch64-sighandler-regs.exp: New file.
7682 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
7683
224d30d3
MM
76842018-10-01 Markus Metzger <markus.t.metzger@intel.com>
7685
7686 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
7687 assembly.
7688
f67ffa6a
AB
76892018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
7690
7691 * gdb.base/frame-selection.exp: New file.
7692 * gdb.base/frame-selection.c: New file.
7693
9fc3183f
AH
76942018-09-27 Alan Hayward <alan.hayward@arm.com>
7695
7696 * gdb.threads/check-libthread-db.c (thread_routine): Use a
7697 pthread barrier.
7698 (main): Likewise.
7699
d354055e
AB
77002018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
7701
7702 * gdb.base/large-frame-1.c: New file.
7703 * gdb.base/large-frame-2.c: New file.
7704 * gdb.base/large-frame.exp: New file.
7705 * gdb.base/large-frame.h: New file.
7706
db727370
JL
77072018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7708
7709 PR gdb/20948
7710 * gdb.base/write_mem.exp: New test.
7711 * gdb.base/write_mem.c: Likewise.
7712
ae778caf
TT
77132018-09-23 Tom Tromey <tom@tromey.com>
7714
7715 PR python/18852:
7716 * gdb.python/py-parameter.exp: Add test for parameter that throws
7717 on "set".
7718
fd3ba736
TT
77192018-09-23 Tom Tromey <tom@tromey.com>
7720
7721 PR python/17284:
7722 * gdb.python/py-template.exp (test_template_arg): Add test for
7723 negative template argument number.
7724
39a24317
TT
77252018-09-23 Tom Tromey <tom@tromey.com>
7726
7727 PR python/14062:
7728 * gdb.python/python.exp: Add test for post_event error.
7729
f5769a2c
TT
77302018-09-23 Tom Tromey <tom@tromey.com>
7731
7732 PR python/18170:
7733 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
7734 convert pointers to int and long.
7735
1c1e54f6
TT
77362018-09-23 Tom Tromey <tom@tromey.com>
7737
7738 PR python/20126:
7739 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7740 signed-ness conversion tests.
7741
fb4fa946
TT
77422018-09-23 Tom Tromey <tom@tromey.com>
7743
7744 PR python/18352;
7745 * gdb.python/py-value.exp (test_float_conversion): New proc.
7746 Use it.
7747
a466edac
HAQ
77482018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7749
7750 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7751
4ee9b0c5
SL
77522018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7753
7754 * gdb.base/complete-empty.exp: Skip tab-completion tests if
7755 no readline.
7756 * gdb.base/utf8-identifiers.exp: Likewise.
7757 * gdb.cp/cpcompletion.exp: Likewise.
7758 * gdb.linespec/cpcompletion.exp: Likewise.
7759 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7760 * gdb.linespec/cpls-ops.exp: Likewise.
7761
23be8da7
RB
77622018-09-19 Richard Bunt <richard.bunt@arm.com>
7763 Chris January <chris.january@arm.com>
7764
7765 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7766 * gdb.fortran/short-circuit-argument-list.exp: New file.
7767 * gdb.fortran/short-circuit-argument-list.f90: New test.
7768
5031d0ae
SDJ
77692018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7770
7771 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7772 "arch=" keyword when executing "-stack-list-frames".
7773
b4c0d1a4
SDJ
77742018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7775
7776 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7777 "arch=" keyword when executing "-stack-list-frames".
7778
7a6d2b45
SDJ
77792018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7780
7781 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7782 break ada".
7783
8588b356
SM
77842018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7785
7786 PR python/23669
7787 * gdb.python/python.exp: Test gdb.execute("show commands").
7788
65e65158
TT
77892018-09-16 Tom Tromey <tom@tromey.com>
7790
7791 * gdb.base/new-ui.exp (do_execution_tests): Update.
7792 * gdb.base/dbx.exp (test_breakpoints): Update.
7793
bf326452
AH
77942018-09-14 Alan Hayward <alan.hayward@arm.com>
7795
7796 * lib/gdb.exp (gdb_simple_compile): Add proc.
7797 (is_elf_target): Use gdb_simple_compile.
7798 (skip_altivec_tests): Likewise.
7799 (skip_vsx_tests): Likewise.
7800 (skip_tsx_tests): Likewise.
7801 (skip_btrace_tests): Likewise.
7802 (skip_btrace_pt_tests): Likewise.
7803 (gdb_can_simple_compile): Likewise.
7804 (gdb_has_argv0): Likewise.
7805 (gdb_target_symbol_prefix): Likewise.
7806 (target_supports_scheduler_locking): Likewise.
7807
2361b0fb
TT
78082018-09-13 Tom Tromey <tom@tromey.com>
7809
7810 * Makefile.in (TAGS): Recognize proc_with_prefix and
7811 gdb_caching_proc.
7812
0ae1a321
SM
78132018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7814
7815 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7816 method.
7817
a40bf0c2
SM
78182018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7819
7820 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7821 and a few other Inferior properties when the Inferior is no
7822 longer valid.
7823
4a3fe98f
TT
78242018-09-13 Tom Tromey <tom@tromey.com>
7825
7826 PR rust/23650:
7827 * gdb.rust/simple.exp: Add test for enum field access error.
7828
098b2108
TT
78292018-09-13 Tom Tromey <tom@tromey.com>
7830
7831 PR rust/23626:
7832 * gdb.rust/simple.rs (EmptyEnum): New type.
7833 (main): Use it.
7834 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7835
1256af7d
SM
78362018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7837
7838 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
7839 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
7840 * gdb.python/py-symtab.exp: Update test printing an objfile.
7841
4aa8e6c2
SM
78422018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7843
7844 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7845 object.
7846
c221b2f7
AH
78472018-09-12 Alan Hayward <alan.hayward@arm.com>
7848
7849 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
7850 (support_complex_tests): Use gdb_can_simple_compile.
7851 (is_ilp32_target): Likewise.
7852 (is_lp64_target): Likewise.
7853 (is_64_target): Likewise.
7854 (is_amd64_regs_target): Likewise.
7855 (is_aarch32_target): Likewise.
7856 (gdb_int128_helper): Likewise.
7857
6f1107b5
JK
78582018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7859
7860 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7861
1f5d1570
JG
78622018-09-10 Jerome Guitton <guitton@adacore.com>
7863
7864 * gdb.ada/same_component_name: Add test for case of tagged record
7865 with variable-length fields.
7866
cc330e39
XR
78672018-09-10 Xavier Roirand <roirand@adacore.com>
7868
7869 * gdb.ada/access_to_unbounded_array.exp: New testcase.
7870 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
7871 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
7872 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
7873
b9c50e9a
XR
78742018-09-10 Xavier Roirand <roirand@adacore.com>
7875
7876 * gdb.ada/mi_string_access.exp: New testcase.
7877 * gdb.ada/mi_string_access/bar.adb: New file.
7878 * gdb.ada/mi_string_access/pck.adb: New file.
7879 * gdb.ada/mi_string_access/pck.asd: New file.
7880
2963898f
XR
78812018-09-10 Xavier Roirand <roirand@adacore.com>
7882
7883 * gdb.ada/mi_var_union.exp: New testcase.
7884 * gdb.ada/mi_var_union/bar.adb: New file.
7885 * gdb.ada/mi_var_union/pck.adb: New file.
7886 * gdb.ada/mi_var_union/pck.asd: New file.
7887
1aac008f
TT
78882018-09-08 Tom Tromey <tom@tromey.com>
7889
7890 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7891
332cf4c9
TT
78922018-09-08 Tom Tromey <tom@tromey.com>
7893
7894 PR python/16047:
7895 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
7896 (register_pretty_printers): Register new printer.
7897 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
7898 test.
7899 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7900 (an_int_type3): New global.
7901
424da6cf
JB
79022018-09-08 Joel Brobecker <brobecker@adacore.com>
7903
7904 * gdb.ada/expr_with_funcall: New testcase.
7905
2a62dfa9
JB
79062018-09-08 Joel Brobecker <brobecker@adacore.com>
7907
7908 * gdb.ada/packed_array_assign: New testcase.
7909
96b6697f
AB
79102018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7911
7912 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7913 names, and add test prefixes to make test names unique.
7914
e4a62c65
TV
79152018-09-05 Tom de Vries <tdevries@suse.de>
7916
7917 * gdb.dwarf2/varval.exp: Add test.
7918
dd083ee2
GB
79192018-09-04 Gary Benson <gbenson@redhat.com>
7920
7921 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
7922 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
7923
aef9346c
TT
79242018-08-31 Tom Tromey <tom@tromey.com>
7925
7926 * gdb.rust/simple.rs: Rename second variable "v".
7927
c67f2e15
AB
79282018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7929
7930 * gdb.base/funcargs.c (use_a): New function.
7931 (recurse): Call use_a.
7932
078a0207
KS
79332018-08-29 Keith Seitz <keiths@redhat.com>
7934
7935 * gdb.compile/compile-cplus-anonymous.cc: New file.
7936 * gdb.compile/compile-cplus-anonymous.exp: New file.
7937 * gdb.compile/compile-cplus-array-decay.cc: New file.
7938 * gdb.compile/compile-cplus-array-decay.exp: New file.
7939 * gdb.compile/compile-cplus-inherit.cc: New file.
7940 * gdb.compile/compile-cplus-inherit.exp: New file.
7941 * gdb.compile/compile-cplus-member.cc: New file.
7942 * gdb.compile/compile-cplus-member.exp: New file.
7943 * gdb.compile/compile-cplus-method.cc: New file.
7944 * gdb.compile/compile-cplus-method.exp: New file.
7945 * gdb.compile/compile-cplus-mod.c: "New" file.
7946 * gdb.compile/compile-cplus-namespace.cc: New file.
7947 * gdb.compile/compile-cplus-namespace.exp: New file.
7948 * gdb.compile/compile-cplus-nested.cc: New file.
7949 * gdb.compile/compile-cplus-nested.exp: New file.
7950 * gdb.compile/compile-cplus-print.c: "New" file.
7951 * gdb.compile/compile-cplus-print.exp: "New" file.
7952 * gdb.compile/compile-cplus-virtual.cc: New file.
7953 * gdb.compile/compile-cplus-virtual.exp: New file.
7954 * gdb.compile/compile-cplus.c: "New" file.
7955 * gdb.compile/compile-cplus.exp: "New" file.
7956 * lib/compile-support.exp: New file.
7957
b0f492b9
GB
79582018-08-16 Gary Benson <gbenson@redhat.com>
7959
7960 PR gdb/13000:
7961 * gdb.base/batch-exit-status.exp: New file.
7962 * gdb.base/batch-exit-status.good-commands: Likewise.
7963 * gdb.base/batch-exit-status.bad-commands: Likewise.
7964
36eb4c5f
AH
79652018-08-29 Alan Hayward <alan.hayward@arm.com>
7966
7967 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7968 (struct struct02): Likewise.
7969 (struct struct03): Likewise.
7970 (struct struct04): Likewise.
7971 (struct struct_01_01): New struct.
7972 (struct struct_01_02): Likewise.
7973 (struct struct_01_03): Likewise.
7974 (struct struct_01_04): Likewise.
7975 (struct struct_02_01): Likewise.
7976 (struct struct_02_02): Likewise.
7977 (struct struct_02_03): Likewise.
7978 (struct struct_02_04): Likewise.
7979 (struct struct_04_01): Likewise.
7980 (struct struct_04_02): Likewise.
7981 (struct struct_04_03): Likewise.
7982 (struct struct_04_04): Likewise.
7983 (struct struct_05_01): Likewise.
7984 (struct struct_05_02): Likewise.
7985 (struct struct_05_03): Likewise.
7986 (struct struct_05_04): Likewise.
7987 (cmp_struct01): Remove function.
7988 (cmp_struct02): Likewise.
7989 (cmp_struct03): Likewise.
7990 (cmp_struct04): Likewise.
7991 (cmp_struct_01_01): Add Function.
7992 (cmp_struct_01_02): Likewise.
7993 (cmp_struct_01_03): Likewise.
7994 (cmp_struct_01_04): Likewise.
7995 (cmp_struct_02_01): Likewise.
7996 (cmp_struct_02_02): Likewise.
7997 (cmp_struct_02_03): Likewise.
7998 (cmp_struct_02_04): Likewise.
7999 (cmp_struct_04_01): Likewise.
8000 (cmp_struct_04_02): Likewise.
8001 (cmp_struct_04_03): Likewise.
8002 (cmp_struct_04_04): Likewise.
8003 (cmp_struct_05_01): Likewise.
8004 (cmp_struct_05_02): Likewise.
8005 (cmp_struct_05_03): Likewise.
8006 (cmp_struct_05_04): Likewise.
8007 (call_all): Add new structs.
8008 * gdb.base/infcall-nested-structs.exp: Likewise.
8009
3bf9c013
JV
80102018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8011
8012 * gdb.python/py-framefilter-mi.exp: Update regexp to
8013 check for "arch" field in frame output.
8014
450d1e88
KB
80152018-08-23 Kevin Buettner <kevinb@redhat.com>
8016
8017 * gdb.dwarf2/dw2-ranges-func.c: New file.
8018 * gdb.dwarf2/dw2-ranges-func.exp: New file.
8019
ae739fe7
SM
80202018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
8021
8022 * gdb.base/term.exp: Compare terminal settings with values from
8023 the inferior.
8024 * gdb.base/term.c: Get and set terminal settings.
8025
6d52907e
JV
80262018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
8027
8028 * lib/mi-support.exp (mi_expect_stop): Update regexp to
8029 accommodate new "arch" field in frame output.
8030 * gdb.mi/mi-return.exp: Likewise.
8031 * gdb.mi/mi-stack.exp: Likewise.
8032 * gdb.mi/mi-syn-frame.exp: Likewise.
8033 * gdb.mi/user-selected-context-sync.exp: Likewise.
8034
be2d111a
MS
80352018-08-19 Michael Spang <spang@google.com>
8036
8037 PR gdb/11786
8038 * gdb.base/gcore-tls-pie.c: New file.
8039 * gdb.base/gcore-tls-pie.exp: New file.
8040
ae3a7c47
KB
80412018-08-18 Kevin Buettner <kevinb@redhat.com>
8042
8043 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
8044 * gdb.dwarf2/varval.c: New file.
8045 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 8046
2ecae92e
AH
80472018-08-17 Alan Hayward <alan.hayward@arm.com>
8048
8049 PR gdb/18931
8050 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
8051
c1854f1d
KS
80522018-08-16 Keith Seitz <keiths@redhat.com>
8053
8054 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
8055 tests expected to pass.
8056
26fb3983
JV
80572018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
8058
8059 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
8060 -data-disassemble -a.
8061 (test_disassembly_bogus_args): Likewise.
8062
67943c00
AB
80632018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
8064
8065 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
8066
5ff2bbae
AB
80672018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8068
8069 * gdb.base/vla-optimized-out.exp: Add new test.
8070
e5bbcd0f
AB
80712018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8072
8073 * gdb.base/vla-optimized-out-o3.exp: Delete.
8074 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
8075 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
8076 deleted tests.
8077
9d4a934c
AB
80782018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
8079
8080 PR gdb/18050:
8081 * gdb.server/extended-remote-restart.c: New file.
8082 * gdb.server/extended-remote-restart.exp: New file.
8083
045cf012
SM
80842018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
8085
8086 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
8087 "set variable index = 42".
8088
87d6a7aa
SM
80892018-08-07 Simon Marchi <simon.marchi@ericsson.com>
8090
8091 * boards/index-cache-gdb.exp: New file.
8092 * gdb.dwarf2/index-cache.exp: New file.
8093 * gdb.dwarf2/index-cache.c: New file.
8094 * gdb.base/maint.exp: Check if we are using the index cache.
8095
96d68bd4
RO
80962018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8097
8098 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
8099 MAKEFLAGS.
8100
5a699617
RO
81012018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8102
8103 * dg-extract-results.sh: Move to toplevel contrib.
8104 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
8105 * Makefile.in (check-parallel-racy): Likewise.
8106
5bd18990
AB
81072018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
8108
8109 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
8110 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
8111 tests if the target supports scheduler locking.
8112
3fbbcf47
TV
81132018-08-04 Tom de Vries <tdevries@suse.de>
8114
8115 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
8116
3e1d3d8c
TT
81172018-08-02 Tom Tromey <tom@tromey.com>
8118
8119 PR symtab/16842.
8120 * gdb.cp/temargs.exp: Test "info address" of a template
8121 parameter.
8122
5abe0f0c
JV
81232018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
8124
8125 * gdb.python/py-mi-var-info-path-expression.c: New file.
8126 * gdb.python/py-mi-var-info-path-expression.py: New file.
8127 * gdb.python/py-mi-var-info-path-expression.exp: New file.
8128
fb66cde8
SDJ
81292018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
8130
8131 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
8132 error after "cannot resolve name" string.
8133
c708f4d2
AB
81342018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
8135
8136 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
8137 started.
8138 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
8139
37cc0cae
TV
81402018-07-28 Tom de Vries <tdevries@suse.de>
8141
8142 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
8143
63b4ecf7
TV
81442018-07-26 Tom de Vries <tdevries@suse.de>
8145
8146 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
8147
3c3bb058
AB
81482018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
8149
8150 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
8151 is visible.
8152
9e7f3bbb
TV
81532018-07-26 Tom de Vries <tdevries@suse.de>
8154
8155 PR breakpoints/23366
8156 * gdb.base/catch-follow-exec.c: New test.
8157 * gdb.base/catch-follow-exec.exp: New file.
8158
16f808ec
TV
81592018-07-25 Tom de Vries <tdevries@suse.de>
8160
8161 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
8162 vla-optimized-out.c.
8163
d7154a8d
JV
81642018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
8165
8166 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
8167 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
8168
232a0032
TV
81692018-07-20 Tom de Vries <tdevries@suse.de>
8170
8171 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
8172 NOCLONE macro.
8173 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
8174
fbb1d502
TV
81752018-07-19 Tom de Vries <tdevries@suse.de>
8176
8177 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
8178 regular expression.
8179
42dc7699
TV
81802018-07-18 Tom de Vries <tdevries@suse.de>
8181
8182 * gdb.base/vla-optimized-out.c: New test.
8183 * gdb.base/vla-optimized-out.exp: New file.
8184
7f1f7e23
SDJ
81852018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
8186
8187 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
8188 message "No address associated with hostname" when gdbserver
8189 cannot resolve the hostname.
8190
5759ebb3
PW
81912018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8192
8193 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
8194 Add some test prefixes to make tests unique.
8195
3606ccab
PW
81962018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8197
8198 * gdb.base/frameapply.c: New file.
8199 * gdb.base/frameapply.exp: New file.
8200
529c08b2
PW
82012018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8202
8203 * gdb.base/skip.exp: Update expected error message.
8204
c7ab0aef
SDJ
82052018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8206 Jan Kratochvil <jan.kratochvil@redhat.com>
8207 Paul Fertser <fercerpav@gmail.com>
8208 Tsutomu Seki <sekiriki@gmail.com>
8209
8210 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
8211 parameter.
8212 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
8213 by default.
8214 * boards/native-gdbserver.exp: Likewise.
8215 * gdb.server/run-without-local-binary.exp: Improve regexp used
8216 for detecting when a remote debugging connection succeeds.
8217 * gdb.server/server-connect.exp: New file.
8218 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
8219 Do not prefix the port number with ":".
8220 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
8221 support for detecting and using it. Add '$debughost_gdbserver'
8222 to the list of arguments used to start gdbserver. Handle case
8223 when gdbserver cannot resolve a network name.
8224
16ff70dd
SDJ
82252018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8226
8227 PR c++/23373
8228 * gdb.base/ptype-offsets.cc (struct static_member): New
8229 struct.
8230 (main) <stmember>: New variable.
8231 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8232 with a static member in it.
8233
3541979f
AB
82342018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8235
8236 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8237 watchpoints enabled and disabled.
8238
c8ad9b9a
AB
82392018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8240
8241 * gdb.base/examine-backward.exp: Still run tests around address
8242 0x0, even if address 0x0 is not readable. Update the pattern for
8243 matching address 0x0 in expected output.
8244
e0e5e971
AB
82452018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8246
8247 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8248 malloc/free.
8249
1ea5da02
TV
82502018-07-04 Tom de Vries <tdevries@suse.de>
8251
8252 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8253
471b9d15
MR
82542018-07-02 Maciej W. Rozycki <macro@mips.com>
8255
8256 PR tdep/8282
8257 * gdb.arch/mips-disassembler-options.exp: New test.
8258 * gdb.arch/mips-disassembler-options.s: New test source.
8259
75acb486
PA
82602018-06-29 Pedro Alves <palves@redhat.com>
8261
8262 * gdb.threads/names.exp: Adjust expected "info threads" output.
8263
cd2bb709
PA
82642018-06-29 Pedro Alves <palves@redhat.com>
8265
8266 * gdb.opt/inline-break.exp (line number, address): Add "info
8267 break" tests.
8268
991ff292
PA
82692018-06-29 Pedro Alves <palves@redhat.com>
8270
8271 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8272 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8273 number and address and running to them.
8274
356819b6 82752018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
8276
8277 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8278
2512d7ef
JK
82792018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8280
8281 * lib/compiler.c: Remove executable permission flag.
8282
be1b6474
RB
82832018-06-28 Richard Bunt <richard.bunt@arm.com>
8284
8285 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8286 code.
8287 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8288
291f9a96
PT
82892018-06-28 Petr Tesarik <ptesarik@suse.cz>
8290
8291 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8292
ed6dfe51
PT
82932018-06-28 Petr Tesarik <ptesarik@suse.cz>
8294
8295 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8296 address argument is omitted.
8297
d4d429d5
PT
82982018-06-28 Petr Tesarik <ptesarik@suse.cz>
8299
8300 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8301
7ab6656f
OJ
83022018-06-27 Omair Javaid <omair.javaid@linaro.org>
8303
8304 PR gdb/21695
8305 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8306 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8307
a33ccfc7
TT
83082018-06-26 Tom Tromey <tom@tromey.com>
8309
8310 PR rust/22574:
8311 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8312 * gdb.rust/simple.rs (struct SimpleLayout): New.
8313
6d72d289
SM
83142018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8315
8316 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8317 "info registers" output.
8318
8363f9d5
RB
83192018-06-21 Richard Bunt <richard.bunt@arm.com>
8320
8321 * gdb.base/watchpoint-hw-attach.c: New test.
8322 * gdb.base/watchpoint-hw-attach.exp: New file.
8323
f00674fe
SM
83242018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8325
8326 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8327 through /bin/sh.
8328 * boards/dwarf4-gdb-index.exp: Likewise.
8329 * boards/fission-dwp.exp: Likewise.
8330
1d554008
UW
83312018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8332
8333 * gdb.base/float128.exp: Add comment and improved fail message
8334 to the failure case of "print large128" test.
8335
d0ac1c44
SM
83362018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8337
8338 * configure.ac: Remove AC_PREREQ.
8339 * configure: Re-generate.
8340
61b04dd0
PA
83412018-06-19 Pedro Alves <palves@redhat.com>
8342
8343 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8344 (func_extern_caller): New.
8345 (main): Call func_extern_caller.
8346 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8347 logic change.
8348
f63b508a
SM
83492018-06-18 Weimin Pan <weimin.pan@oracle.com>
8350
8351 PR gdb/16841
8352 * gdb.cp/typedef-base.cc: New file.
8353 * gdb.cp/typedef-base.exp: New file.
8354
0fe3a558
TV
83552018-06-18 Tom de Vries <tdevries@suse.de>
8356
8357 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8358
7010835a
AB
83592018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8360 Richard Bunt <Richard.Bunt@arm.com>
8361
8362 * gdb.threads/attach-slow-waitpid.c: New file.
8363 * gdb.threads/attach-slow-waitpid.exp: New file.
8364 * gdb.threads/slow-waitpid.c: New file.
8365
14897d65
PA
83662018-06-14 Pedro Alves <palves@redhat.com>
8367
8368 * gdb.base/fork-running-state.c: Include <errno.h>.
8369 (exit_if_relative_exits): New.
8370 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8371 exits.
8372 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8373 child exits.
8374
5d9a0608
TV
83752018-06-14 Tom de Vries <tdevries@suse.de>
8376
8377 PR cli/22573
8378 * gdb.base/finish-pretty.c: New test.
8379 * gdb.base/finish-pretty.exp: New file.
8380
11ae5818
PA
83812018-06-14 Pedro Alves <palves@redhat.com>
8382
8383 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8384 gdb's expected startup output.
8385
1d39de44
PA
83862018-06-14 Pedro Alves <palves@redhat.com>
8387
8388 * lib/selftest-support.exp (selftest_setup): Remove inlined
8389 function handling.
8390
70ee0000
TV
83912018-06-14 Tom de Vries <tdevries@suse.de>
8392
8393 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8394 matching of breakpoint printing.
8395
11f4b608
TV
83962018-06-13 Tom de Vries <tdevries@suse.de>
8397
8398 PR testsuite/23269
8399 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8400 (fork_child): ... here, and ...
8401 (fork_parent): ... here.
8402
84032018-06-12 Tom de Vries <tdevries@suse.de>
8404
8405 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
8406
9516f85a
AB
84072018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
8408 Stephen Roberts <stephen.roberts@arm.com>
8409
8410 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
8411 rewrite test to describe action performed, rather than possible
8412 failure.
8413
5045b3d7
GB
84142018-06-08 Gary Benson <gbenson@redhat.com>
8415
8416 * gdb.threads/check-libthread-db.exp: New file.
8417 * gdb.threads/check-libthread-db.c: Likewise.
8418
c61b06a1
TT
84192018-06-05 Tom Tromey <tom@tromey.com>
8420
8421 * gdb.base/default.exp: Update expected "show version" output.
8422
eb6af809
TT
84232018-06-05 Tom Tromey <tom@tromey.com>
8424
8425 PR cli/12326:
8426 * gdb.cp/static-print-quit.exp: Update.
8427 * lib/gdb.exp (pagination_prompt): Update.
8428 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
8429 * gdb.python/python.exp: Update.
8430
178d6a63
JB
84312018-06-04 Joel Brobecker <brobecker@adacore.com>
8432
8433 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
8434
8e817061
JB
84352018-06-01 Joel Brobecker <brobecker@adacore.com>
8436
8437 * gdb.ada/bp_fun_addr: New testcase.
8438
e86ca25f
TT
84392018-06-01 Tom Tromey <tom@tromey.com>
8440
8441 * gdb.xml/tdesc-regs.exp (load_description): Update expected
8442 results.
8443 * gdb.dwarf2/method-ptr.exp: Set language to C++.
8444 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
8445 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
8446 * gdb.base/maint.exp (maint_pass_if): Update.
8447
4b2dfa9d
MR
84482018-05-31 Maciej W. Rozycki <macro@mips.com>
8449
8450 * gdb.base/endian.exp: New test.
8451 * gdb.base/endian.c: New test source.
8452
45f25d6c
AB
84532018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8454
8455 PR gdb/23203
8456 * gdb.base/bt-selected-frame.c: New file.
8457 * gdb.base/bt-selected-frame.exp: New file.
8458 * lib/gdb.exp (get_current_frame_number): New function.
8459
d9f6d7f8
MR
84602018-05-24 Maciej W. Rozycki <macro@mips.com>
8461 Pedro Alves <palves@redhat.com>
8462
8463 * gdb.threads/tls-core.c: Include <stdlib.h>
8464 (thread_proc): Call `abort'.
8465 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8466 (tls_core_test): New procedure, bits factored out from ...
8467 (top level): ... here. Test both native cores and gcore cores.
8468
ff1cf532
TT
84692018-05-23 Tom Tromey <tom@tromey.com>
8470
8471 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8472
b98664d3
TT
84732018-05-23 Tom Tromey <tom@tromey.com>
8474
8475 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8476 symfile_complaints.
8477 (test_short_complaints): Likewise.
8478 (test_empty_complaints): Likewise.
8479 (test_initial_complaints): Update.
8480
4e9668d0
TT
84812018-05-23 Tom Tromey <tom@tromey.com>
8482
8483 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8484
43ba33c7
TT
84852018-05-23 Tom Tromey <tom@tromey.com>
8486
8487 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8488 (test_short_complaints): Update.
8489
035522c0
PA
84902018-05-22 Pedro Alves <palves@redhat.com>
8491
8492 * gdb.base/remote.exp: Only gdb_start after compiling the
8493 testcase. Issue "disconnect" before testing "set remote" command
8494 defaults. Issue clean_restart before running to main.
8495
cc0be08f
PA
84962018-05-22 Pedro Alves <palves@redhat.com>
8497
8498 * gdb.base/remote.exp: Adjust expected output of "show remote
8499 memory-write-packet-size". Add tests for "set remote
8500 memory-write-packet-size 0" and "set remote
8501 memory-write-packet-size fixed/limit".
8502
b1b60145
PA
85032018-05-22 Pedro Alves <palves@redhat.com>
8504
8505 PR gdb/22973
8506 * gdb.base/utf8-identifiers.c: New file.
8507 * gdb.base/utf8-identifiers.exp: New file.
8508
0ec848ad
PFC
85092018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8510
8511 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8512
2c3305f6
PFC
85132018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8514
8515 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8516
ce1e8424
TT
85172018-05-18 Tom Tromey <tom@tromey.com>
8518
8519 * gdb.base/ptype-offsets.exp: Update.
8520
ddfe970e
KS
85212018-05-17 Keith Seitz <keiths@redhat.com>
8522
8523 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
8524 in expected breakpoint stop locations.
8525 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
8526 move to proper scope to test variable values.
8527 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
8528 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
8529 New functions.
8530 (main): Call not_inline_func3.
8531 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
8532 inline_func1, inline_func2, and inline_func3. Test that when each
8533 breakpoint is hit, GDB properly reports both the stop location
8534 and the backtrace. Repeat tests for temporary breakpoints.
8535
0726fcc6
MR
85362018-05-15 Maciej W. Rozycki <macro@mips.com>
8537
8538 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
8539 rather then trying to access it in determining whether the PID
8540 of `gdbserver' could have been retrieved.
8541
8ee22052
AB
85422018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8543
8544 * gdb.arch/amd64-init-x87-values.S: New file.
8545 * gdb.arch/amd64-init-x87-values.exp: New file.
8546
7785df48
JK
85472018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8548
8549 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8550
56bcdbea
TT
85512018-05-04 Tom Tromey <tom@tromey.com>
8552
8553 PR python/22730:
8554 * gdb.python/python.exp: Test multi-line execute.
8555
a913fffb
TT
85562018-05-04 Tom Tromey <tom@tromey.com>
8557
8558 PR python/22731:
8559 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8560
7a2c85f2
TT
85612018-05-04 Tom Tromey <tom@tromey.com>
8562
8563 PR gdb/11750:
8564 * gdb.base/define.exp: Test defining a user command inside a user
8565 command.
8566 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8567
a3b60e45
JK
85682018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8569 Pedro Alves <palves@redhat.com>
8570
8571 PR breakpoints/19806 and support for PR external/20207.
8572 * gdb.base/watchpoint-unaligned.c: New file.
8573 * gdb.base/watchpoint-unaligned.exp: New file.
8574
45fe4a03
AB
85752018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8576
8577 * gdb.base/maint.exp: Make test names unique, use
8578 test_prefix_command_help to test 'help maint info', and remove
8579 repeated test of 'help maint'.
8580
9be2ae8f
TT
85812018-05-04 Tom Tromey <tom@tromey.com>
8582
8583 PR gdb/22619:
8584 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8585 behavior.
8586
11859c31
AB
85872018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8588
8589 * gdb.base/maint.exp: Process output from 'maint print registers'
8590 line at a time.
8591
089a9490
AB
85922018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8593
8594 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8595 timeout.
8596
9b0797e2
AB
85972018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8598
8599 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8600 filter pattern.
8601
f6ac5f3d
PA
86022018-05-02 Pedro Alves <palves@redhat.com>
8603
8604 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
8605 to_log_command renames.
8606 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8607
77d3c63b
TT
86082018-05-02 Tom Tromey <tom@tromey.com>
8609
8610 * gdb.python/py-parameter.exp: Set test message.
8611
0489430a
TT
86122018-05-02 Tom Tromey <tom@tromey.com>
8613
8614 PR python/20084:
8615 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8616 PARAM_ZUINTEGER_UNLIMITED tests.
8617
1632f8ba
DR
86182018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8619
8620 PR rust/23124
8621 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8622 when casting.
8623
6d7bb824
TT
86242018-04-30 Tom Tromey <tom@tromey.com>
8625
8626 * gdb.python/py-type.exp: Check align attribute.
8627 * gdb.python/py-type.c: New "aligncheck" global.
8628
007e1530
TT
86292018-04-30 Tom Tromey <tom@tromey.com>
8630
8631 PR exp/17095:
8632 * gdb.dwarf2/dw2-align.exp: New file.
8633 * gdb.cp/align.exp: New file.
8634 * gdb.base/align.exp: New file.
8635 * lib/gdb.exp (gdb_int128_helper): New proc.
8636 (has_int128_c, has_int128_cxx): New caching procs.
8637
6873858b
TT
86382018-04-27 Tom Tromey <tom@tromey.com>
8639
8640 PR rust/22545:
8641 * gdb.rust/simple.exp: Add inclusive range tests.
8642
79188d8d
PA
86432018-04-26 Pedro Alves <palves@redhat.com>
8644
8645 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
8646 ifunc breakpoint locations correctly of ifunc breakpoints set
8647 while the program resolves the ifunc.
8648
c7075ad5
PA
86492018-04-26 Pedro Alves <palves@redhat.com>
8650
8651 * gdb.base/gnu-ifunc-final.c: New file.
8652 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
8653 * gdb.base/gnu-ifunc.exp (executable): Delete.
8654 (staticexecutable): Adjust.
8655 (lib_opts, exec_opts): Delete.
8656 (make_binsuffix, build, set-break): New procedures.
8657 (misc_tests): New, with tests factored out from the top level.
8658 (top level): Test different combinations of ifunc resolver name,
8659 resolver with and with debug info, and ifunc target with and
8660 without debug info. Wrap static tests with with_target_prefix.
8661
8388016d
PA
86622018-04-26 Pedro Alves <palves@redhat.com>
8663
8664 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
8665 return type" warnings.
8666
249b5733
PA
86672018-04-25 Pedro Alves <palves@redhat.com>
8668
8669 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
8670 killed".
8671 * gdb.base/kill-after-signal.exp: Likewise.
8672 * gdb.threads/kill.exp: Likewise.
8673
f67c0c91
SDJ
86742018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8675 Sergio Durigan Junior <sergiodj@redhat.com>
8676 Pedro Alves <palves@redhat.com>
8677
8678 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
8679 regexps to expect for '[Inferior ... detached]' as well.
8680 * gdb.base/attach.exp: Likewise.
8681 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
8682 "gdb_continue_to_end".
8683 (test_catch_syscall_with_wrong_args): Likewise.
8684 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
8685 ']'. Don't set 'verbose' on.
8686 * gdb.base/foll-vfork.exp: Likewise.
8687 * gdb.base/fork-print-inferior-events.c: New file.
8688 * gdb.base/fork-print-inferior-events.exp: New file.
8689 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
8690 '[Inferior ... has been killed]' message.
8691 * gdb.base/kill-after-signal.exp: Likewise.
8692 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
8693 detach message.
8694 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
8695 message.
8696 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
8697 regexps to expect for '[Inferior ... detached]' as well.
8698 * gdb.threads/process-dies-while-detaching.exp: Likewise.
8699
0a8ddac4
SM
87002018-04-24 Simon Marchi <simon.marchi@ericsson.com>
8701
8702 PR gdb/23104
8703 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
8704
701adfb0
PA
87052018-04-22 Rajendra SY <rajendra.sy@gmail.com>
8706
8707 PR gdb/23095
8708 * gdb.base/break-probes.exp: Pass shlib_load to
8709 prepare_for_testing. Set normal_bp to r_debug_state if target is
8710 bsd.
8711
d27d16bf
RB
87122018-04-19 Richard Bunt <richard.bunt@arm.com>
8713
8714 * gdb.threads/multiple-successive-infcall.c: New test.
8715 * gdb.threads/multiple-successive-infcall.exp: New file.
8716
a037790e
TT
87172018-04-17 Tom Tromey <tom@tromey.com>
8718
8719 * gdb.rust/simple.rs (Union): New type.
8720 (main): New local "u".
8721 * gdb.rust/simple.exp (test_one_slice): Add new test case.
8722
e3a91079
AA
87232018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8724
8725 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
8726 number information in output of "whereis" command.
8727 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
8728
b744723f
AA
87292018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8730
8731 * gdb.ada/info_types.exp: Adjust expected output to the line
8732 numbers now printed by "info var/func/type".
8733 * gdb.base/completion.exp: Likewise.
8734 * gdb.base/included.exp: Likewise.
8735 * gdb.cp/cp-relocate.exp: Likewise.
8736 * gdb.cp/cplusfuncs.exp: Likewise.
8737 * gdb.cp/namespace.exp: Likewise.
8738 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
8739
4a4495d6
MM
87402018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8741
8742 * gdb.btrace/cpu.exp: New.
8743
1d509aa6
MM
87442018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8745
8746 * gdb.base/step-indirect-call-thunk.exp: New.
8747 * gdb.base/step-indirect-call-thunk.c: New.
8748 * gdb.reverse/step-indirect-call-thunk.exp: New.
8749 * gdb.reverse/step-indirect-call-thunk.c: New.
8750
6295b6da
SM
87512018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8752
8753 * gdb.base/pie-fork.c: New file.
8754 * gdb.base/pie-fork.exp: New file.
8755
50146e70
TT
87562018-04-11 Tom Tromey <tom@tromey.com>
8757
8758 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8759
f50d8a2e
PA
87602018-04-10 Pedro Alves <palves@redhat.com>
8761
8762 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8763 exits. Instead loop running forever.
8764 (fork_parent): Run forever too.
8765
a0be7a36
SM
87662018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8767
8768 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8769 mi_continue_to_line.
8770 * gdb.mi/mi-stack.c (callee4): Add comment.
8771
9b73db36
SM
87722018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8773
8774 * gdb.mi/mi-stack.exp: Fix indentation.
8775
c912f608
SM
87762018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8777
8778 PR gdb/22979
8779 * gdb.arch/amd64-osabi.exp: New file.
8780
26540402
SM
87812018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8782
8783 PR gdb/22980
8784 * gdb.base/osabi.exp: New file.
8785
121ad66c 87862018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
8787
8788 * gdb.cp/static-typedef-print.exp: New file.
8789 * gdb.cp/static-typedef-print.cc: New file.
8790
3fcded8f
JB
87912018-03-27 Joel Brobecker <brobecker@adacore.com>
8792
8793 * gdb.ada/varsize_limit: New testcase.
8794
59cc4834
JB
87952018-03-27 Joel Brobecker <brobecker@adacore.com>
8796
8797 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8798
8799 * gdb.ada/notcplusplus: New testcase.
8800
8801 * gdb.base/c-linkage-name.c: New file.
8802 * gdb.base/c-linkage-name.exp: New testcase.
8803
4ca59a9f
TT
88042018-03-26 Tom Tromey <tom@tromey.com>
8805
8806 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
8807 * gdb.python/py-framefilter.py (name_error): New global.
8808 (ErrorInName.function): Use name_error.
8809
978d6c75
TT
88102018-03-26 Tom Tromey <tom@tromey.com>
8811
8812 PR backtrace/15582:
8813 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8814
b7fee5a3
KS
88152018-03-23 Keith Seitz <keiths@redhat.com>
8816
8817 PR c++/22968
8818 * gdb.cp/subtypes.exp: New file.
8819 * gdb.cp/subtypes.h: New file.
8820 * gdb.cp/subtypes.cc: New file.
8821 * gdb.cp/subtypes-2.cc: New file.
8822
376be529
AB
88232018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8824
8825 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
8826 (done): Call '_exit' not 'exit' to avoid atexit handlers.
8827 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
8828 -nostartfiles when compiling the test. Confirm that all registers
8829 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
8830
066cfa98
AB
88312018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8832
8833 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
8834 option, syntax was wrong anyway.
8835 * gdb.arch/arm-disp-step.exp: Likewise.
8836 * gdb.arch/sparc64-regs.exp: Likewise.
8837 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
8838 option, syntax was wrong anyway, switch to use
8839 prepare_for_testing.
8840 * gdb.arch/i386-disp-step.exp: Likewise.
8841
079670b9
AA
88422018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
8843
8844 * gdb.ada/exec_changed.exp: Replace "target_info exists
8845 use_gdb_stub" by "use_gdb_stub".
8846 * gdb.ada/start.exp: Likewise.
8847 * gdb.base/async-shell.exp: Likewise.
8848 * gdb.base/attach-pie-misread.exp: Likewise.
8849 * gdb.base/attach-wait-input.exp: Likewise.
8850 * gdb.base/break-entry.exp: Likewise.
8851 * gdb.base/break-interp.exp: Likewise.
8852 * gdb.base/dprintf-detach.exp: Likewise.
8853 * gdb.base/nostdlib.exp: Likewise.
8854 * gdb.base/solib-nodir.exp: Likewise.
8855 * gdb.base/statistics.exp: Likewise.
8856 * gdb.base/testenv.exp: Likewise.
8857 * gdb.mi/mi-exec-run.exp: Likewise.
8858 * gdb.mi/mi-start.exp: Likewise.
8859 * gdb.multi/dummy-frame-restore.exp: Likewise.
8860 * gdb.multi/multi-arch-exec.exp: Likewise.
8861 * gdb.multi/multi-arch.exp: Likewise.
8862 * gdb.multi/tids.exp: Likewise.
8863 * gdb.multi/watchpoint-multi.exp: Likewise.
8864 * gdb.python/py-events.exp: Likewise.
8865 * gdb.threads/attach-into-signal.exp: Likewise.
8866 * gdb.threads/attach-stopped.exp: Likewise.
8867 * gdb.threads/threadapply.exp: Likewise.
8868 * lib/selftest-support.exp: Likewise.
8869
26d6cec4
AA
88702018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8871
8872 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8873
4ee89e90
SR
88742018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8875
8876 * gdb.perf/template-breakpoints.cc: New file.
8877 * gdb.perf/template-breakpoints.exp: New file.
8878 * gdb.perf/template-breakpoints.py: New file.
8879
92630041
TT
88802018-03-19 Tom Tromey <tom@tromey.com>
8881
8882 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8883 y0.
8884 * gdb.rust/simple.exp: Test bare identifier form of struct
8885 initializer.
8886
76727919
TT
88872018-03-19 Tom Tromey <tom@tromey.com>
8888
8889 * gdb.gdb/observer.exp: Remove.
8890
194ed413
AA
88912018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8892
8893 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8894 "qualified" option when setting breakpoints.
8895 * gdb.trace/backtrace.exp: Likewise.
8896 * gdb.trace/circ.exp: Likewise.
8897 * gdb.trace/collection.exp: Likewise.
8898 * gdb.trace/disconnected-tracing.exp: Likewise.
8899 * gdb.trace/ftrace-lock.exp: Likewise.
8900 * gdb.trace/ftrace.exp: Likewise.
8901 * gdb.trace/infotrace.exp: Likewise.
8902 * gdb.trace/packetlen.exp: Likewise.
8903 * gdb.trace/passc-dyn.exp: Likewise.
8904 * gdb.trace/qtro.exp: Likewise.
8905 * gdb.trace/read-memory.exp: Likewise.
8906 * gdb.trace/report.exp: Likewise.
8907 * gdb.trace/signal.exp: Likewise.
8908 * gdb.trace/status-stop.exp: Likewise.
8909 * gdb.trace/strace.exp: Likewise.
8910 * gdb.trace/tfind.exp: Likewise.
8911 * gdb.trace/trace-break.exp: Likewise.
8912 * gdb.trace/trace-condition.exp: Likewise.
8913 * gdb.trace/trace-mt.exp: Likewise.
8914 * gdb.trace/tstatus.exp: Likewise.
8915 * gdb.trace/tsv.exp: Likewise.
8916 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8917 * gdb.trace/unavailable.exp: Likewise.
8918 * gdb.trace/while-dyn.exp: Likewise.
8919
8b067d2c
AA
89202018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8921
8922 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8923 that libinproctrace is copied to the target.
8924
3ae9ce5d
TT
89252018-03-14 Tom Tromey <tom@tromey.com>
8926
8927 PR cli/14977:
8928 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8929 a null pointer.
8930 * gdb.base/wchar.exp: Likewise.
8931
b8c2339b
TT
89322018-03-14 Tom Tromey <tom@tromey.com>
8933
8934 PR cli/19918:
8935 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8936 flag.
8937
4872dc46
SM
89382018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8939
8940 PR gdb/22841
8941 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8942 "target" to remote_exec.
8943
e4fe3756
SM
89442018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8945
8946 PR gdb/22841
8947 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8948 ${board}_upload): Remove.
8949
e95a97d4
AA
89502018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8951
8952 * gdb.cp/watch-cp.cc: New test.
8953 * gdb.cp/watch-cp.exp: New file.
8954
dbbb1059
AB
89552018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8956
8957 * gdb.base/infcall-nested-structs.exp: New file.
8958 * gdb.base/infcall-nested-structs.c: New file.
8959 * gdb.base/float.exp: Add riscv support.
8960
ecc054c0
TP
89612018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8962
8963 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8964 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8965
25e3c82c
SDJ
89662018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8967
8968 * gdb.server/abspath.exp: New file.
8969 * lib/gdb.exp (with_cwd): New procedure.
8970
3083294d
SM
89712018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8972
8973 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8974 use it.
8975 (gdb_is_target_remote_prompt): New proc.
8976 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8977 (gdb_is_target_native): Pass prompt parameter to
8978 gdb_is_target_1.
8979
3275ef47
SM
89802018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8981
8982 * gdb.base/load-command.c: New file.
8983 * gdb.base/load-command.exp: New file.
8984 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8985 (gdb_is_target_1): ...this, and generalize for other targets
8986 than just remote.
8987 (gdb_is_target_remote): Use gdb_is_target_1.
8988 (gdb_is_target_native): use gdb_is_target_1.
8989
6893c19a
TT
89902018-02-26 Tom Tromey <tom@tromey.com>
8991
8992 PR python/16497:
8993 * gdb.python/py-framefilter.exp: Update test.
8994
2ddeaf8a
TT
89952018-02-26 Tom Tromey <tom@tromey.com>
8996
8997 * gdb.dwarf2/variant.c: New file.
8998 * gdb.dwarf2/variant.exp: New file.
8999
c9317f21
TT
90002018-02-26 Tom Tromey <tom@tromey.com>
9001
9002 * gdb.rust/simple.exp: Accept more possible results in enum test.
9003
6f6d0c26
SM
90042018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9005
9006 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9007 parentheses.
9008
11b03145
MR
90092018-02-23 Maciej W. Rozycki <macro@mips.com>
9010
9011 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
9012 name of a variable: $actual_linejj -> $actual_line.
9013
54a27fe5
JB
90142018-02-21 John Baldwin <jhb@FreeBSD.org>
9015
9016 * gdb.arch/amd64-i386-address.exp: Fix a typo.
9017
de65820c
MM
90182018-02-20 Markus Metzger <markus.t.metzger@intel.com>
9019
9020 * gdb.btrace/buffer-size.exp: Do not force BTS.
9021
980548fd
PA
90222018-02-14 Pedro Alves <palves@redhat.com>
9023
9024 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
9025 getting a "Quit".
9026
c4e12631
MM
90272018-02-09 Markus Metzger <markus.t.metzger@intel.com>
9028
9029 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
9030 Fix test name.
9031
c2e0e465
SM
90322018-02-07 Simon Marchi <simon.marchi@ericsson.com>
9033
9034 * gdb.cp/m-static.exp: Check type of optimized out static
9035 member.
9036
f7216783
AB
90372018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
9038
9039 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
9040 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
9041
0625771b
LS
90422018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
9043 Leszek Swirski <leszeks@google.com>
9044
9045 * gdb.python/py-prettyprint.c
9046 (struct to_string_returns_value_inner,
9047 struct to_string_returns_value_wrapper): New.
9048 (main): Add tsrvw variable.
9049 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
9050 ToStringReturnsValueWrapper): New classes.
9051 (register_pretty_printers): Register new pretty-printers.
9052 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
9053 recursive pretty printer.
9054 * gdb.python/py-mi.exp: Likewise.
9055
59498c30
LS
90562018-02-01 Leszek Swirski <leszeks@google.com>
9057
9058 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
9059 functions with the same name as an include file are parsed
9060 correctly.
9061
d4d38844
YQ
90622018-02-01 Yao Qi <yao.qi@linaro.org>
9063
9064 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
9065 "\[^\r\n\]*".
9066
07e5f5cf
NP
90672018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
9068
9069 * gdb.arch/powerpc-prologue-frame.s: New file.
9070 * gdb.arch/powerpc-prologue-frame.c: Likewise.
9071 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
9072
929b5ad4
JB
90732018-01-31 Joel Brobecker <brobecker@adacore.com>
9074
9075 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
9076
e671cd59
PA
90772018-01-30 Pedro Alves <palves@redhat.com>
9078
9079 PR gdb/13211
9080 * gdb.base/interrupt-daemon.c: New.
9081 * gdb.base/interrupt-daemon.exp: New.
9082 * gdb.multi/multi-term-settings.c: New.
9083 * gdb.multi/multi-term-settings.exp: New.
9084
fc413dc4
JB
90852018-01-30 Joel Brobecker <brobecker@adacore.com>
9086
9087 * gdb.base/break.exp: Save the location where the breakpoint
9088 on break.c:47 was actually inserted when debugging the version
9089 compiled at -O2 and use it in the expected output of the "info
9090 break" test performed soon after.
9091
5c319bb2
PA
90922018-01-22 Pedro Alves <palves@redhat.com>
9093 Sergio Durigan Junior <sergiodj@redhat.com>
9094
9095 * gdb.base/whatis.exp: Add tests for 'set print object on' +
9096 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
9097
a9e40818
JB
90982018-01-22 Joel Brobecker <brobecker@adacore.com>
9099
9100 * gdb.base/break-include.c, gdb.base/break-include.inc,
9101 gdb.base/break-include.exp: New files.
9102 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
9103 line number now being the actual line number where the breakpoint
9104 was inserted.
9105 * gdb.mi/mi-break.exp: Likewise.
9106 * gdb.mi/mi-reverse.exp: Likewise.
9107 * gdb.mi/mi-simplerun.exp: Ditto.
9108
e707fc44
AB
91092018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9110
9111 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
9112 varobj.
9113 * gdb.mi/mi-var-create-rtti.exp: Likewise.
9114
ae451627
AB
91152018-01-21 Don Breazeal <donb@codesourcery.com>
9116 Andrew Burgess <andrew.burgess@embecosm.com>
9117
9118 * gdb.mi/basics.c: Add new global.
9119 * gdb.mi/mi-frame-regs.exp: New file.
9120 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
9121 case.
9122
b1b189e0
AB
91232018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9124
9125 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
9126 non-parameter, and on an unknown symbol.
9127
fcfcc376
TT
91282018-01-19 Tom Tromey <tom@tromey.com>
9129
9130 * gdb.rust/modules.rs (TWENTY_THREE): New global.
9131 * gdb.rust/modules.exp: Add ::-qualified lookup test.
9132
634c1c31
AA
91332018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9134
9135 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
9136 setrlimit and chdir to int.
9137
d6ad07fd
AA
91382018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9139
9140 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
9141 function.
9142 (my_tend): Likewise.
9143 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
9144 rationale of avoiding FP- and vector instructions.
9145
adf8243b
RK
91462018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
9147
9148 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
9149 "info reg" with "\[ \t\]*".
9150 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
9151 "\[ \t\]+".
9152 * gdb.arch/s390-multiarch.exp: Ditto.
9153 * gdb.base/pc-fp.exp: Ditto.
9154 * gdb.reverse/i386-precsave.exp: Ditto.
9155 * gdb.reverse/i386-reverse.exp: Ditto.
9156 * gdb.reverse/i387-env-reverse.exp: Ditto.
9157 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9158
dcc06925
AA
91592018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9160
9161 * lib/gdb.exp (gdb_compile): Re-enable use of
9162 universal_compile_options for languages other than Rust.
9163
25d4fd80
AA
91642018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9165
9166 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
9167
ee7f689e 91682018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
9169
9170 PR gdb/16577
9171 * gdb.base/solib-vanish.exp: New.
9172 * gdb.base/solib-vanish-main.c: New.
9173 * gdb.base/solib-vanish-lib1.c: New.
9174 * gdb.base/solib-vanish-lib2.c: New.
9175
d8447b6b
YQ
91762018-01-17 Yao Qi <yao.qi@linaro.org>
9177
9178 * gdb.compile/compile.exp: Match the address printed for
9179 frame in the output of command "bt".
9180
86d6a90c
TT
91812018-01-15 Tom Tromey <tom@tromey.com>
9182
9183 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
9184 compute sp_reg.
9185
cbcdb1aa
AB
91862018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9187
9188 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
9189 to prepare.
9190 (prepare): Return 0 on error, 1 on success.
9191
eea61984
PA
91922018-01-12 Pedro Alves <palves@redhat.com>
9193
9194 * gdb.base/continue-after-aborted-step-over.c: New.
9195 * gdb.base/continue-after-aborted-step-over.exp: New.
9196
6181e9c2
SM
91972018-01-11 Simon Marchi <simon.marchi@ericsson.com>
9198
9199 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9200 options when not creating an executable.
9201
3cada740
PA
92022018-01-11 Pedro Alves <palves@redhat.com>
9203
9204 PR remote/22597
9205 * gdb.server/stop-reply-no-thread.c: New file.
9206 * gdb.server/stop-reply-no-thread.exp: New file.
9207
c63d3e8d
PA
92082018-01-10 Pedro Alves <palves@redhat.com>
9209
9210 PR gdb/22670
9211 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
9212 functions too. Test setting breakpoints and printing C functions
9213 with no debug info too.
9214 * gdb.ada/bp_c_mixed_case/qux.c: New file.
9215
d4c2a405
PA
92162018-01-10 Pedro Alves <palves@redhat.com>
9217
9218 PR gdb/22670
9219 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
9220 a fail.
9221
8825213e
PA
92222018-01-10 Pedro Alves <palves@redhat.com>
9223
9224 PR gdb/22670
9225 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9226
605fd3c6
YQ
92272018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9228
9229 * gdb.server/unittest.exp: Match the output in non-development
9230 mode.
9231
1e5ded6c
YQ
92322018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9233
9234 * gdb.gdb/unittest.exp: Match output in non-development mode.
9235
30066b0b
JB
92362018-01-08 Joel Brobecker <brobecker@adacore.com>
9237
9238 * gdb.ada/access_tagged_param.exp: Relax expected output
9239 for value of "ObjL" in "continue" to pck.inspect breakpoint
9240 test.
9241
04bafb1e
XR
92422018-01-08 Joel Brobecker <brobecker@adacore.com>
9243
9f86398b
JB
9244 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9245 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 9246
e379cee6
PA
92472018-01-05 Pedro Alves <palves@redhat.com>
9248
9249 PR gdb/18653
9250 * gdb.base/libsegfault.exp: New.
9251
de63c46b
PA
92522018-01-05 Joel Brobecker <brobecker@adacore.com>
9253
9254 PR gdb/22670
9255 * gdb.ada/access_tagged_param.exp: New file.
9256 * gdb.ada/access_tagged_param/foo.adb: New file.
9257
f98fc17b
PA
92582018-01-05 Pedro Alves <palves@redhat.com>
9259
9260 PR gdb/22670
9261 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9262 exercise lower case too, and to exercise both full matching and
9263 wild matching.
9264
342f8240
JB
92652018-01-05 Joel Brobecker <brobecker@adacore.com>
9266
9267 * gdb.ada/rename_subscript_param: New testcase.
9268
7150d33c
JG
92692018-01-05 Jerome Guitton <guitton@adacore.com>
9270
9271 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9272
cc0e770c
JB
92732018-01-05 Joel Brobecker <brobecker@adacore.com>
9274
9275 * gdb.ada/convvar_comp: New testcase.
9276
672a41aa 92772018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
9278
9279 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9280 (My_Table): New global variable.
9281 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9282
7365ec2f
JB
92832018-01-04 Joel Brobecker <brobecker@adacore.com>
9284
9285 PR gdb/22670
9286 * gdb.ada/maint_with_ada: New testcase.
9287
289483b6
JB
92882018-01-04 Joel Brobecker <brobecker@adacore.com>
9289
9290 PR gdb/22670
9291 * gdb.ada/bp_c_mixed_case: New testcase.
9292
344420da
JB
92932018-01-04 Joel Brobecker <brobecker@adacore.com>
9294
9295 PR gdb/22670
9296 * gdb.ada/complete.exp: Add "complete break ada" test.
9297
66fc87a0
JB
92982018-01-04 Joel Brobecker <brobecker@adacore.com>
9299
9300 PR gdb/22670
9301 * gdb.ada/info_addr_mixed_case: New testcase.
9302
9f757bf7
XR
93032018-01-03 Xavier Roirand <roirand@adacore.com>
9304
9305 * gdb.ada/excep_handle.exp: New testcase.
9306 * gdb.ada/excep_handle/foo.adb: New file.
9307 * gdb.ada/excep_handle/pck.ads: New file.
9308
bd570f80
JB
93092018-01-03 Joel Brobecker <brobecker@adacore.com>
9310
9311 * gdb.base/step-line.c: Add extra empty line in copyright header.
9312 * gdb.base/step-line.inp: Likewise.
9313
9fe561ab
JB
93142018-01-02 Joel Brobecker <brobecker@adacore.com>
9315
9316 * gdb.ada/dyn_stride.exp: Add slice test.
9317
a405673c
JB
93182018-01-02 Joel Brobecker <brobecker@adacore.com>
9319
9320 * gdb.ada/dyn_stride: New testcase.
9321
cef0f868
SH
93222017-12-27 Stafford Horne <shorne@gmail.com>
9323
9324 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9325 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9326
b67d92b0
SH
93272017-12-27 Stafford Horne <shorne@gmail.com>
9328
9329 * gdb.base/reggroups.c: New file.
9330 * gdb.base/reggroups.exp: New file.
9331
eccab96d
JB
93322017-12-18 Joel Brobecker <brobecker@adacore.com>
9333
9334 * gdb.dwarf2/ada-valprint-error.c: New file.
9335 * gdb.dwarf2/ada-valprint-error.exp: New file.
9336
0e2da9f0
JB
93372017-12-18 Joel Brobecker <brobecker@adacore.com>
9338
9339 * gdb.ada/assign_arr: New testcase.
9340
cb923fcc
XR
93412017-12-18 Xavier Roirand <roirand@adacore.com>
9342
9343 * gdb.ada/funcall_ptr: New testcase.
9344
7c161838
SDJ
93452017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9346
9347 PR cli/16224
9348 * gdb.base/ptype-offsets.cc: New file.
9349 * gdb.base/ptype-offsets.exp: New file.
9350
1af17fd9
YQ
93512017-12-15 Yao Qi <yao.qi@linaro.org>
9352
9353 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9354 if XML is disabled.
9355
828d5846
XR
93562017-12-15 Xavier Roirand <roirand@adacore.com>
9357
9358 * gdb.ada/same_component_name: New testcase.
9359
79e8fcaa
JB
93602017-12-14 Joel Brobecker <brobecker@adacore.com>
9361
9362 * gdb.ada/str_binop_equal: New testcase.
9363
e05fa6f9
JB
93642017-12-14 Joel Brobecker <brobecker@adacore.com>
9365
9366 * gdb.ada/task_switch_in_core: New testcase.
9367
b89641ba
SM
93682017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9369
9370 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9371 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9372 call test_bkpt_qualified.
9373 (test_bkpt_qualified): New proc.
9374
6892d2e4
PA
93752017-12-13 Pedro Alves <palves@redhat.com>
9376
9377 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9378 Tighten regexp by matching with an anchor.
9379
a22ecf70
PA
93802017-12-13 Pedro Alves <palves@redhat.com>
9381
9382 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9383 ("expression with namespace"): New set of tests.
9384 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9385 (Nested::Test_NS::qux): New.
9386 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9387 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9388
9937536c
JB
93892017-12-13 Joel Brobecker <brobecker@adacore.com>
9390
9391 * gdb.base/server-del-break.c: New file.
9392 * gdb.base/server-del-break.exp: New file.
9393
fe49c6f5
SH
93942017-12-12 Stafford Horne <shorne@gmail.com>
9395
9396 * gdb.xml/tdesc-regs.exp: Add or1k support.
9397
c3d18620
SH
93982017-12-12 Stafford Horne <shorne@gmail.com>
9399
9400 * gdb.base/bp-permanent.c: Define nop of or1k.
9401
c5f9cfc8
JB
94022017-12-11 Joel Brobecker <brobecker@adacore.com>
9403
9404 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
9405 output with components being reordered.
9406
a9c135fc
JB
94072017-12-11 Joel Brobecker <brobecker@adacore.com>
9408
9409 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
9410 output with components being reordered.
9411
927aa2e7
JK
94122017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9413 Pedro Alves <palves@redhat.com>
9414
9415 * gdb.base/maint.exp (check for .gdb_index): Check also for
9416 .debug_names.
9417 * gdb.dlang/watch-loc.c (.debug_aranges): New.
9418 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
9419 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
9420 (.gdb_index used after symbol reloading): Support also .debug_names.
9421 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
9422
f17d9474
YQ
94232017-12-08 Yao Qi <yao.qi@linaro.org>
9424
9425 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9426 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
9427
a0de8c21
YQ
94282017-12-08 Yao Qi <yao.qi@linaro.org>
9429
9430 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9431 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
9432
a738ea1d
YQ
94332017-12-08 Yao Qi <yao.qi@linaro.org>
9434
9435 * gdb.arch/aarch64-tagged-pointer.c: New file.
9436 * gdb.arch/aarch64-tagged-pointer.exp: New file.
9437
1cd9a73b
SDJ
94382017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
9439
9440 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
9441 "int".
9442
fa6eb693
KS
94432017-12-07 Keith Seitz <keiths@redhat.com>
9444
9445 PR breakpoints/22569
9446 * gdb.linespec/ls-errs.exp: Change expected result of "break
9447 -source this file has spaces.c -line 3".
9448 Check that an explicit source file followed by whitespace is
9449 identified as an invalid explicit location.
9450
883fd55a
KS
94512017-12-07 Keith Seitz <keiths@redhat.com>
9452
9453 * gdb.cp/nested-types.cc: New file.
9454 * gdb.cp/nested-types.exp: New file.
9455 * lib/cp-support.exp: Load data-structures.exp library.
9456 (debug_cp_test_ptype_class): New global.
9457 (cp_ptype_class_verbose, next_line): New procedures.
9458 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9459 Add and document new return value.
9460 Switch the list of lines to a queue.
9461 Add support for new `type' key for nested type definitions.
9462 Add debugging/troubleshooting messages.
9463 * lib/data-structures.exp: New file.
9464
ec72db3e
SM
94652017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9466
9467 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9468 with proc_with_prefix, don't use with_test_prefix.
9469
99598d71
TT
94702017-12-07 Tom Tromey <tom@tromey.com>
9471
9472 * gdb.base/break.exp: Add test for empty "commands".
9473
a8806230
YQ
94742017-12-07 Yao Qi <yao.qi@linaro.org>
9475
9476 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9477 malloc and catch syscall.
9478
824cc835
PM
94792017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9480
e79be6e5 9481 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
9482 tests for explicit locations.
9483
7cc244de
PA
94842017-12-06 Pedro Alves <palves@redhat.com>
9485
9486 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9487 force-disabling XML descriptions.
9488
50a1fdd5
PA
94892017-12-04 Pedro Alves <palves@redhat.com>
9490
9491 PR gdb/22499
9492 * gdb.arch/amd64-disp-step-avx.S: New file.
9493 * gdb.arch/amd64-disp-step-avx.exp: New file.
9494
f0fb2488
PA
94952017-12-03 Pedro Alves <palves@redhat.com>
9496
9497 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9498 and <string.h>.
9499 (parent_function): Print distinct messages when waitpid fails, or
9500 the child exits with a signal, or the child exits for an unhandled
9501 reason.
9502 * gdb.threads/process-dies-while-detaching.exp
9503 (detach_and_expect_exit): New 'inf_output_re' parameter and use
9504 it. Wait for both inferior output and GDB's prompt. Use an
9505 indirect spawn id list.
9506 (do_detach): New parameter 'child_exit'. Use it to compute
9507 expected inferior output.
9508 (test_detach, test_detach_watch, test_detach_killed_outside):
9509 Adjust to pass down the expected child exit kind.
9510
97cbe998
SDJ
95112017-12-01 Joel Brobecker <brobecker@adacore.com>
9512 Sergio Durigan Junior <sergiodj@redhat.com>
9513 Pedro Alves <palves@redhat.com>
9514
9515 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9516
40fc416f
SDJ
95172017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9518
9519 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9520 to 'symbol-file' and 'add-symbol-file' can be
9521 position-independent.
9522
1cc75e92
YQ
95232017-12-01 Yao Qi <yao.qi@linaro.org>
9524
9525 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
9526 the URL in copyright header.
9527 * gdb.arch/aarch64-fp.exp: Likewise.
9528 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
9529 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
9530 * gdb.base/expand-psymtabs.exp: Likewise.
9531 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
9532 * gdb.fortran/common-block.exp: Likewise.
9533 * gdb.fortran/common-block.f90: Likewise.
9534 * gdb.fortran/logical.exp: Likewise.
9535 * gdb.fortran/vla-datatypes.f90: Likewise.
9536 * gdb.fortran/vla-sub.f90: Likewise.
9537
875fb7a7
JB
95382017-11-30 Joel Brobecker <brobecker@adacore.com>
9539
9540 * gdb.ada/repeat_dyn: New testcase.
9541
6f14765f
UW
95422017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
9543
9544 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
9545 Update for changed thread numbering.
9546 * gdb.cell/bt.exp: Update for changed GDB output.
9547
f1af7b94
SM
95482017-11-30 Simon Marchi <simon.marchi@ericsson.com>
9549
9550 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
9551 setting isremote by hand.
9552 * boards/dwarf4-gdb-index.exp: Likewise.
9553 * boards/fission.exp: Likewise.
9554 * boards/stabs.exp: Likewise.
9555
e3919f3e
PA
95562017-11-30 Pedro Alves <palves@redhat.com>
9557
9558 * gdb.linespec/cpls-ops.exp
9559 (check_explicit_skips_function_argument): Extract the underlying
9560 type of size_t instead of hardcoding it.
9561
bd69330d
PA
95622017-11-29 Pedro Alves <palves@redhat.com>
9563
9564 PR c++/19436
9565 * gdb.linespec/cpls-abi-tag.cc: New file.
9566 * gdb.linespec/cpls-abi-tag.exp: New file.
9567
a20714ff
PA
95682017-11-29 Pedro Alves <palves@redhat.com>
9569
9570 * gdb.base/langs.exp: Use -qualified.
9571 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
9572 it.
9573 * gdb.cp/namespace.exp: Use -qualified.
9574 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
9575 (overload-3, template-overload, template-ret-type, const-overload)
9576 (const-overload-quoted, anon-ns, ambiguous-prefix): New
9577 procedures.
9578 (test_driver): Call them.
9579 * gdb.cp/save-bp-qualified.cc: New.
9580 * gdb.cp/save-bp-qualified.exp: New.
9581 * gdb.linespec/explicit.exp: Test -qualified.
9582 * lib/completion-support.exp (completion::explicit_opts_list): Add
9583 "-qualified".
9584 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9585
f6f1d339
PM
95862017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9587
9588 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9589
02ca603a
TT
95902017-11-29 Tom Tromey <tom@tromey.com>
9591
9592 * gdb.base/relocate.exp: Update invalid argument test.
9593 Add new tests for invalid arguments.
9594
ed6c0bfb
TP
95952017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9596
9597 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9598 Return 0 as a long.
9599 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9600
f106e10e
TP
96012017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9602
9603 * gdb.cp/breakpoint.cc (bar): Set return type to void.
9604 * gdb.cp/psymtab-parameter.cc (func): Likewise.
9605 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
9606 func ().
9607 * gdb.cp/shadow.cc (B.func): Return 0.
9608
10329bb2
JB
96092017-11-27 Joel Brobecker <brobecker@adacore.com>
9610
9611 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
9612 expected output in gdb_expect call to allow the exception
9613 message to be present as well. Fix syntax confusion to avoid
9614 TCL thinking that exception_name is an array.
9615
617cd4bc
UW
96162017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9617
9618 * gdb.arch/spu-info.c: Include <unistd.h>.
9619 (do_signal_test): Fix broken calls to write.
9620 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9621 Fix checks for empty mailboxes. Update signal tests for corrected
9622 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
9623 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9624 * gdb.cell/arch.exp: Use standard_output_file.
9625 * gdb.cell/break.exp: Likewise.
9626 * gdb.cell/bt.exp: Likewise.
9627 * gdb.cell/core.exp: Likewise.
9628 * gdb.cell/dwarfaddr.exp: Likewise.
9629 * gdb.cell/ea-cache.exp: Likewise.
9630 * gdb.cell/ea-standalone.exp: Likewise.
9631 * gdb.cell/f-regs.exp: Likewise.
9632 * gdb.cell/fork.exp: Likewise.
9633 * gdb.cell/gcore.exp: Likewise.
9634 * gdb.cell/mem-access.exp: Likewise.
9635 * gdb.cell/ptype.exp: Likewise.
9636 * gdb.cell/registers.exp: Likewise.
9637 * gdb.cell/sizeof.exp: Likewise.
9638 * gdb.cell/solib-symbol.exp: Likewise.
9639 * gdb.cell/solib.exp: Likewise.
617cd4bc 9640
a81aaca0
PA
96412017-11-25 Pedro Alves <palves@redhat.com>
9642
9643 * gdb.base/complete-empty.exp: New file.
9644 * gdb.base/completion.exp: Adjust.
9645
6a3c6ee4
PA
96462017-11-25 Pedro Alves <palves@redhat.com>
9647
9648 * gdb.linespec/cpls-ops.cc: New file.
9649 * gdb.linespec/cpls-ops.exp: New file.
9650 * lib/completion-support.exp (test_complete_prefix_range_re): New,
9651 factored out from ...
9652 (test_complete_prefix_range): ... this.
9653
8955eb2d
PA
96542017-11-24 Pedro Alves <palves@redhat.com>
9655
9656 * gdb.linespec/cpcompletion.exp: New file.
9657 * gdb.linespec/cpls-hyphen.cc: New file.
9658 * gdb.linespec/cpls.cc: New file.
9659 * gdb.linespec/cpls2.cc: New file.
9660 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
9661 test to use test_gdb_complete_unique. Add label completion,
9662 keyword completion and explicit location completion tests.
9663 * lib/completion-support.exp: New file.
9664
e547c119
JB
96652017-11-24 Joel Brobecker <brobecker@adacore.com>
9666
9667 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
9668 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
9669 when hitting an exception catchpoint.
9670
7c3c1aa8
YQ
96712017-11-22 Yao Qi <yao.qi@linaro.org>
9672
9673 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
9674
41bd68f5
SM
96752017-11-22 Simon Marchi <simon.marchi@ericsson.com>
9676
9677 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
9678 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
9679 * gdb.dwarf2/info-locals-optimized-out.c: New file.
9680
1daad298
YQ
96812017-11-22 Yao Qi <yao.qi@linaro.org>
9682
9683 * gdb.base/info-os.exp: Pass pthreads.
9684 * gdb.multi/multi-attach.exp: Likewise.
9685
88465e87
YQ
96862017-11-22 Yao Qi <yao.qi@linaro.org>
9687
9688 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
9689 compiler.
9690
dc196b23
YQ
96912017-11-22 Yao Qi <yao.qi@linaro.org>
9692
9693 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
9694 * gdb.base/break-interp.exp: Likewise.
9695 * gdb.base/jit-attach-pie.exp: Likewise.
9696
2400729e
UW
96972017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9698
9699 * gdb.base/float128.c (large128): New variable.
9700 * gdb.base/float128.exp: Add test to print largest __float128 value.
9701
7a26362d
UW
97022017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9703
9704 * gdb.arch/vsx-regs.exp: Update register content checks.
9705
ed0f4273
UW
97062017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9707
9708 * gdb.arch/ppc-longdouble.exp: New file.
9709 * gdb.arch/ppc-longdouble.c: Likewise.
9710
a25d69c6
PA
97112017-11-21 Pedro Alves <palves@redhat.com>
9712
9713 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
9714
73fcf641
PA
97152017-11-20 Pedro Alves <palves@redhat.com>
9716
9717 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
9718 (long_double_typedef): New typedefs.
9719 Use DEF on double and long double.
9720 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
9721 cases.
9722 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
9723 and 'long_double_ptr_same_size' locals. Use them to decide
9724 whether cast from array/function to float is valid/invalid.
9725
71a3c369
TT
97262017-11-17 Tom Tromey <tom@tromey.com>
9727
9728 * gdb.rust/traits.rs: New file.
9729 * gdb.rust/traits.exp: New file.
9730
ced9779b
JB
97312017-11-17 Joel Brobecker <brobecker@adacore.com>
9732
9733 * gdb.ada/minsyms: New testcase.
9734
a0922d80
PA
97352017-11-16 Pedro Alves <palves@redhat.com>
9736
9737 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9738 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9739
ea04e54c
PA
97402017-11-16 Pedro Alves <palves@redhat.com>
9741
9742 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
9743 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
9744
e849ea89
PA
97452017-11-16 Pedro Alves <palves@redhat.com>
9746
9747 * gdb.server/reconnect-ctrl-c.c: New file.
9748 * gdb.server/reconnect-ctrl-c.exp: New file.
9749
d8ae99a7
PM
97502017-11-16 Phil Muldoon <pmuldoon@redhat.com>
9751
9752 * gdb.python/py-rbreak.exp: New file.
9753 * gdb.python/py-rbreak.c: New file.
9754 * gdb.python/py-rbreak-func2.c: New file.
9755
968a13f8
PA
97562017-11-16 Pedro Alves <palves@redhat.com>
9757
9758 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9759 pattern.
9760 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9761 GDB.
9762
71774bc9
SM
97632017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9764
9765 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9766 regex.
9767
ddbb44cf
SM
97682017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9769
9770 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9771 test names.
9772
584a564f
PA
97732017-11-09 Pedro Alves <palves@redhat.com>
9774
9775 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9776 factored out from ...
9777 (top level): ... here, and adjusted to avoid expecting beyond the
9778 prompt in a single gdb_test_multiple.
9779
5ed7a928
PA
97802017-11-09 Pedro Alves <palves@redhat.com>
9781
9782 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9783 output.
9784 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9785 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9786 * gdb.server/ext-run.exp ("kill" test): Likewise.
9787 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9788
a60e0738
PA
97892017-11-09 Pedro Alves <palves@redhat.com>
9790
9791 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9792 match till end of line.
9793
2c88253f
PA
97942017-11-09 Pedro Alves <palves@redhat.com>
9795
9796 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9797
c7a38517
PA
97982017-11-09 Pedro Alves <palves@redhat.com>
9799
9800 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9801 New procedures, factored out from ...
9802 (top level): ... here, and adjusted to avoid expecting beyond the
9803 prompt in one go.
9804
f29f4b6b
PA
98052017-11-09 Pedro Alves <palves@redhat.com>
9806
9807 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9808 output. Fix '?' match.
9809
286acbb5
JB
98102017-11-08 Joel Brobecker <brobecker@adacore.com>
9811
9812 * gdb.ada/scoped_watch: New testcase.
9813 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
9814 which is actually correct.
9815 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
9816 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
9817
62d7ae92
PA
98182017-11-08 Pedro Alves <palves@redhat.com>
9819
9820 * gdb.gdb/complaints.exp (test_initial_complaints)
9821 (test_serial_complaints, test_short_complaints): Call
9822 complaint_internal instead of complaint.
9823
280ca31f
DT
98242017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9825
9826 * gdb.threads/tls-core.c: New file.
9827 * gdb.threads/tls-core.exp: Likewise.
9828
b5ec771e
PA
98292017-11-08 Pedro Alves <palves@redhat.com>
9830
9831 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9832 (p Exported_Capitalized): New test.
9833 (p exported_capitalized): New test.
9834
a02b41a7
PA
98352017-11-07 Pedro Alves <palves@redhat.com>
9836
9837 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9838
95e95a6d
PA
98392017-11-07 Pedro Alves <palves@redhat.com>
9840
9841 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
9842 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
9843 (disable_invalid, disable_inverted, disable_negative): New
9844 procedures.
9845 ("bad numbers"): New set of tests.
9846
cee62dbd
PA
98472017-11-07 Pedro Alves <palves@redhat.com>
9848
9849 * gdb.cp/ena-dis-br-range.exp: Add tests.
9850
cc638e86
PA
98512017-11-07 Pedro Alves <palves@redhat.com>
9852
9853 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9854
d0fe4701
XR
98552017-11-07 Xavier Roirand <roirand@adacore.com>
9856 Pedro Alves <palves@redhat.com>
9857
9858 * gdb.base/ena-dis-br.exp: Add reference to
9859 gdb.cp/ena-dis-br-range.exp.
9860 * gdb.cp/ena-dis-br-range.exp: New file.
9861 * gdb.cp/ena-dis-br-range.cc: New file.
9862
46f67f80
PA
98632017-11-06 Pedro Alves <palves@redhat.com>
9864
9865 * gdb.base/attach-non-pgrp-leader.c: New.
9866 * gdb.base/attach-non-pgrp-leader.exp: New.
9867
726e1356
PA
98682017-11-06 Pedro Alves <palves@redhat.com>
9869
9870 * configure.ac: No longer check for termio.h and sgtty.h.
9871 * configure: Regenerate.
9872 * remote-utils.c: Include termios.h instead of gdb_termios.h.
9873 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
9874 Remove termio and sgtty code.
9875
50ab6ace
YQ
98762017-11-03 Yao Qi <yao.qi@linaro.org>
9877
9878 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9879 in GDB is disabled.
9880
8e68731c
YQ
98812017-11-03 Yao Qi <yao.qi@linaro.org>
9882
9883 * gdb.python/py-thrhandle.exp: Skip it if python is not
9884 enabled.
9885
3a87ae65
SM
98862017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9887
9888 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9889 as a breakpoint command.
9890
484d8d36
MD
98912017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9892
9893 PR python/21213
9894 * gdb.python/py-infthread.exp: Test calling
9895 InferiorThread.inferior () multiple times in a row.
9896
4a27f119
KS
98972017-10-27 Keith Seitz <keiths@redhat.com>
9898
9899 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9900 Test "info break" for every inlined function breakpoint.
9901
bb11dd58
YQ
99022017-10-27 Yao Qi <yao.qi@linaro.org>
9903
9904 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9905
a43f3893
PF
99062017-10-26 Patrick Frants <osscontribute@gmail.com>
9907
9908 * gdb.cp/classes.exp (test_static_members): Test printing
9909 Outer::instance.
9910 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9911 (Inner::instance, Outer::instance): New.
9912
792ccf00
PA
99132017-10-24 Pedro Alves <palves@redhat.com>
9914
9915 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9916 extra console" test in two stages.
9917
eb2bfbad
PA
99182017-10-24 Pedro Alves <palves@redhat.com>
9919
9920 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9921
1f75a651
PA
99222017-10-24 Pedro Alves <palves@redhat.com>
9923
9924 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9925 loop.
9926
779990d9
PA
99272017-10-24 Pedro Alves <palves@redhat.com>
9928
9929 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9930 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9931
ad9b8f5d
PA
99322017-10-24 Pedro Alves <palves@redhat.com>
9933
9934 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9935 parameter and handle it. Don't output read value in test name.
9936
fee6da6e
PA
99372017-10-24 Pedro Alves <palves@redhat.com>
9938
9939 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9940 custom test name.
9941
10389c2c
PA
99422017-10-24 Pedro Alves <palves@redhat.com>
9943
9944 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9945 include the unstable output directory name in the test's name.
9946 (initial_setup_simple) <'set args'>: Use custom test name.
9947
a80e65a9
PA
99482017-10-24 Pedro Alves <palves@redhat.com>
9949
9950 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9951 with explicit test name.
9952
15763a09
PA
99532017-10-20 Pedro Alves <palves@redhat.com>
9954
9955 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9956 'wait -i'. Use gdb_assert and remote_close.
9957
49a4ce2e
AB
99582017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9959
9960 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9961 number from variable rather than hard-coded.
9962
a75868f5
PA
99632017-10-19 Pedro Alves <palves@redhat.com>
9964
9965 * gdb.base/long-inferior-output.c: New file.
9966 * gdb.base/long-inferior-output.exp: New file.
9967
c8ba13ad
KS
99682017-11-18 Keith Seitz <keiths@redhat.com>
9969
9970 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9971 method.
9972 (main): Call it.
9973 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9974 Add additional user-defined conversion operator tests.
9975
b27de576
PA
99762017-10-17 Pedro Alves <palves@redhat.com>
9977
9978 * boards/native-stdio-gdbserver.exp: Load "local-board".
9979
8484c955
PA
99802017-10-17 Pedro Alves <palves@redhat.com>
9981
9982 * gdb.base/quit-live.c: New file.
9983 * gdb.base/quit-live.exp: New file.
9984
83d5a34d
KS
99852017-10-16 Keith Seitz <keiths@redhat.com>
9986
9987 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9988 (class_with_protected_typedef, class_with_private_typedef)
9989 (struct_with_public_typedef, struct_with_protected_typedef)
9990 (struct_with_private_typedef): New classes/structs.
9991 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9992 typedefs and access specifiers.
9993
739b3f1d
PA
99942017-10-16 Pedro Alves <palves@redhat.com>
9995 Simon Marchi <simon.marchi@polymtl.ca>
9996
9997 * README (Local vs Remote vs Native): New section.
9998 * boards/local-board.exp: New file, with bits factored out from
9999 ...
10000 * boards/native-extended-gdbserver.exp: ... here. Load
10001 "local-board".
10002 * boards/native-gdbserver.exp: Load "local-board".
10003 (${board}_spawn, ${board}_exec): Delete.
10004 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10005 ...
10006 * boards/stdio-gdbserver-base.exp: ... this new file.
10007 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10008 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10009 procedure.
10010 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10011 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
10012 stdio_gdbserver_command.
10013 (${board}_get_remote_address, ${board}_get_comm_port)
10014 (${board}_download, ${board}_upload): Delete.
10015 (get_target_remote_pipe_cmd): New.
10016
fe68b953
SM
100172017-10-16 Simon Marchi <simon.marchi@ericsson.com>
10018
10019 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
10020 test_bkpt_deletion, test_bkpt_cond_and_cmds,
10021 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
10022 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
10023 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
10024 remove with_test_prefix.
10025
300b6685
PA
100262017-10-13 Pedro Alves <palves@redhat.com>
10027
10028 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
10029 * gdb.base/annota1.exp: Use it instead of is_remote.
10030 * gdb.base/annota3.exp: Use it instead of is_remote.
10031 * gdb.cp/annota2.exp: Use it instead of is_remote.
10032 * gdb.cp/annota3.exp: Use it instead of is_remote.
10033 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
10034
50500caf
PA
100352017-10-13 Pedro Alves <palves@redhat.com>
10036
10037 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
10038 (test_num_test_vars, run_and_count_vars, find_env)
10039 (test_set_unset_env, test_inherit_env_var): New procedures.
10040 (top level): Use them.
10041
dad0c6d2
PA
100422017-10-13 Pedro Alves <palves@redhat.com>
10043
10044 * lib/selftest-support.exp (selftest_setup): Extend comments, and
10045 also skip on stub-like targets.
10046
8b0553c1
PA
100472017-10-13 Pedro Alves <palves@redhat.com>
10048
10049 PR gdb/22293
10050 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
10051 (top level): Move some tests to ...
10052 (test_not_found): ... this new procedure.
10053 (top level): Call it.
10054
7594f623
PA
100552017-10-13 Pedro Alves <palves@redhat.com>
10056
10057 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
10058 expect different "info terminal" output if testing with a
10059 non-native target.
10060
ebe3b402
PA
100612017-10-13 Pedro Alves <palves@redhat.com>
10062 Simon Marchi <simon.marchi@polymtl.ca>
10063
10064 PR python/12966
10065 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
10066
42f1b161
PA
100672017-10-13 Pedro Alves <palves@redhat.com>
10068
10069 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
10070 already.
10071
8d6ef72b
PA
100722017-10-13 Pedro Alves <palves@redhat.com>
10073
10074 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
10075 is_remote.
10076
d7bcd5b8
PA
100772017-10-13 Pedro Alves <palves@redhat.com>
10078
10079 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
10080 is_remote.
10081
df479dc6
PA
100822017-10-13 Pedro Alves <palves@redhat.com>
10083
10084 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
10085 is set.
10086 (corefile_test_attach): Likewise. Check can_spawn_for_attach
10087 instead of is_remote.
10088
23fb630a
PA
100892017-10-13 Pedro Alves <palves@redhat.com>
10090
10091 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
10092 (top level): Add comment.
10093
cc77b1dc
PA
100942017-10-13 Pedro Alves <palves@redhat.com>
10095
10096 * gdb.base/remote.exp (top level): Fix comment typo and add
10097 missing return.
10098
27c9e813
PA
100992017-10-13 Pedro Alves <palves@redhat.com>
10100 Simon Marchi <simon.marchi@polymtl.ca>
10101
10102 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
10103 calls and add comments. Skip test if use_gdb_stub is set.
10104 (top level): Use "set cwd" command instead of "cd" command.
10105
5e830d98
PA
101062017-10-13 Pedro Alves <palves@redhat.com>
10107
10108 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
10109 is_remote target check.
10110
f5ca0032
PA
101112017-10-13 Pedro Alves <palves@redhat.com>
10112
10113 * gdb.base/scope.exp: Use build_executable + clean_restart +
10114 gdb_file_cmd instead of prepare_for_testing and no longer skip
10115 "before run" tests on is_remote target boards. Update comments.
10116 * boards/native-extended-gdbserver.exp
10117 (extended_gdbserver_load_last_file): New, factored out from ...
10118 (gdb_load): ... this. Move further below and add comment.
10119 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
10120
8aed1c0d
PA
101212017-10-12 Pedro Alves <palves@redhat.com>
10122
10123 * gdb.base/attach.exp: Remove references to gdb64.
10124 * gdb.base/dbx.exp: Remove references to gdb64.
10125
cfa34c87
SM
101262017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10127 Pedro Alves <palves@redhat.com>
10128
10129 * gdb.base/label.exp: Remove is_remote target check.
10130
9192b7de
PA
101312017-10-12 Pedro Alves <palves@redhat.com>
10132
10133 * gdb.base/auvx.exp (coredir): Update comment.
10134 (top level) <core_works>: Use "set cwd" command instead of "cd"
10135 command.
10136
6bf0052d
PA
101372017-10-12 Pedro Alves <palves@redhat.com>
10138 Simon Marchi <simon.marchi@polymtl.ca>
10139
10140 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
10141 target boards.
10142
e48ef82d
PA
101432017-10-12 Pedro Alves <palves@redhat.com>
10144 Simon Marchi <simon.marchi@polymtl.ca>
10145
10146 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
10147 Instead skip if there's any gdb_protocol set.
10148
8d7aea57
SM
101492017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10150 Pedro Alves <palves@redhat.com>
10151
10152 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
10153
30440677
PA
101542017-10-12 Pedro Alves <palves@redhat.com>
10155 Simon Marchi <simon.marchi@polymtl.ca>
10156
10157 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
10158 instead of on dejagnu remote boards.
10159
4e04f045 101602017-10-12 Pedro Alves <palves@redhat.com>
175654b9 10161 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
10162
10163 * gdb.base/inferior-died.exp: Remove is_remote and isnative
10164 checks. Use build_executable + clean_restart instead of
10165 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
10166 of enabling non-stop after starting gdb.
10167
871a186e
PA
101682017-10-12 Pedro Alves <palves@redhat.com>
10169
10170 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
10171 * gdb.threads/non-ldr-exc-2.exp: Ditto.
10172 * gdb.threads/non-ldr-exc-3.exp: Ditto.
10173 * gdb.threads/non-ldr-exc-4.exp: Ditto.
10174
56d704da
AK
101752017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
10176
10177 * gdb.arch/arc-tdesc-cpu.exp: New file.
10178 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
10179
2f20e312
SM
101802017-10-10 Simon Marchi <simon.marchi@ericsson.com>
10181
10182 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
10183
65630365
PA
101842017-10-10 Pedro Alves <palves@redhat.com>
10185
10186 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
10187 expect CLI output.
10188
bf469271
PA
101892017-10-10 Pedro Alves <palves@redhat.com>
10190
10191 * lib/selftest-support.exp (selftest_setup): Update for
10192 captured_command_loop's prototype change.
10193
777a42f1
PA
101942017-10-09 Pedro Alves <palves@redhat.com>
10195
10196 Test both arch1=>arch2 and arch2=>arch1.
10197
10198 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
10199 (srcfile2, binfile2, march1, march2): Remove globals. Largely
10200 factored out to...
10201 (append_arch1_options, append_arch2_options, append_arch_options)
10202 (build_executables): New procedures.
10203 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
10204 local.
10205 (top level): Add new 'first_arch' testing axis.
10206
cbd2b4e3
PA
102072017-10-09 Pedro Alves <palves@redhat.com>
10208
10209 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
10210 (barrier): New.
10211 (thread_start, all_started): New functions.
10212 (main): Spawn new thread and wait until it is scheduled.
10213 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
10214 option.
10215 (do_test): Add 'selected_thread' parameter. Run to all_started
10216 instead of main. Explicitly set the breakpoint at main. Switch
10217 to the SELECTED_THREAD thread.
10218 (top level): Test handling the exec event with either the main
10219 thread or the second thread selected.
10220
5c9e4427
PA
102212017-10-09 Pedro Alves <palves@redhat.com>
10222
10223 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10224 logic. Move STOP marker after the value checks.
10225 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10226 regexp.
10227
b3b7c423
SL
102282017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10229
10230 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10231
3b4b2f16
UW
102322017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10233
10234 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10235 integer-to-dfp conversion.
10236 * gdb.base/dfp-test.exp: Likewise.
10237
5cd63fda
PA
102382017-10-04 Pedro Alves <palves@redhat.com>
10239
10240 * gdb.multi/hangout.c: Include <unistd.h>.
10241 (hangout_loop): New function.
10242 (main): Call alarm. Call hangout_loop in a loop.
10243 * gdb.multi/hello.c: Include <unistd.h>.
10244 (hello_loop): New function.
10245 (main): Call alarm. Call hangout_loop in a loop.
10246 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10247 inferior with the other selected.
10248
4c71c105
SM
102492017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10250
10251 * gdb.mi/list-thread-groups-available.exp: New file.
10252 * gdb.mi/list-thread-groups-available.c: New file.
10253
bc3b087d
SDJ
102542017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10255
10256 * gdb.base/set-cwd.exp: Make it available on
10257 native-extended-gdbserver.
10258
d092c5a2
SDJ
102592017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10260
10261 * gdb.base/set-cwd.c: New file.
10262 * gdb.base/set-cwd.exp: Likewise.
10263
45320ffa
TT
102642017-10-02 Tom Tromey <tom@tromey.com>
10265
10266 PR rust/22236:
10267 * gdb.rust/simple.rs (main): New variable "fslice".
10268 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10269
b3e3859b
TT
102702017-10-02 Tom Tromey <tom@tromey.com>
10271
10272 * gdb.rust/simple.exp: Test ptype of a slice.
10273
01af5e0d
TT
102742017-10-02 Tom Tromey <tom@tromey.com>
10275
10276 * gdb.rust/simple.exp: Test index of slice.
10277
a9bbfbd8
TT
102782017-09-27 Tom Tromey <tom@tromey.com>
10279
10280 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10281
df8899e5
TP
102822017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10283 Pedro Alves <palves@redhat.com>
10284
10285 * gdb.base/compare-sections.exp (get value of read-only section): Read
10286 as unsigned value.
10287 (corrupt read-only section): Likewise and don't set written if patching
10288 failed.
10289
757bf54b
KB
102902017-09-21 Kevin Buettner <kevinb@redhat.com>
10291
10292 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10293 files.
10294
06871ae8
PA
102952017-09-20 Pedro Alves <palves@redhat.com>
10296
10297 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10298 symbol names in gdb's output.
10299 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10300
e5f25bc5
PA
103012017-09-20 Pedro Alves <palves@redhat.com>
10302
10303 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10304 Rename to ...
10305 (test_list_ambiguous_symbol): ... this and add a symbol name
10306 parameter. Adjust.
10307 (test_list_ambiguous_function): Reimplement on top of
10308 test_list_ambiguous_symbol and also test listing ambiguous
10309 variables.
10310 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10311 (ambiguous_fun): ... this.
10312 (ambiguous_var): New.
10313 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10314 (ambiguous_fun): ... this.
10315 (ambiguous_var): New.
10316
4e5a4f58
JB
103172017-09-19 John Baldwin <jhb@FreeBSD.org>
10318
10319 * gdb.base/starti.c: New file.
10320 * gdb.base/starti.exp: New file.
10321 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10322
26e53f3e
PA
103232017-09-14 Pedro Alves <palves@redhat.com>
10324
10325 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10326 (top level): Use it instead of runto.
10327
cb791d59
TT
103282017-09-11 Tom Tromey <tom@tromey.com>
10329
10330 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10331
7c96f8c1
TT
103322017-09-11 Tom Tromey <tom@tromey.com>
10333
10334 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10335 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10336
469412dd
CW
103372017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10338
10339 * gdb.fortran/printing-types.exp: New file.
10340 * gdb.fortran/printing-types.exp: New file.
10341
e0f86435
BH
103422017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10343
10344 * gdb.fortran/vla-ptype.exp: Fix typos.
10345 * gdb.fortran/vla-value.exp: Same.
10346
9e9af4be
BH
103472017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10348
10349 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10350 * gdb.mi/mi-var-child-f.exp: Likewise.
10351 * gdb.mi/mi-vla-fortran.exp: Likewise.
10352
a5ad232b 103532017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
10354 Christoph Weinmann <christoph.t.weinmann@intel.com>
10355 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
10356
10357 * gdb.fortran/ptr-indentation.f90: New file.
10358 * gdb.fortran/ptr-indentation.exp: New file.
10359
5aec60eb
TT
103602017-09-05 Tom Tromey <tom@tromey.com>
10361
10362 PR gdb/22010:
10363 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10364
8f8f8152
TP
103652017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10366
10367 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10368
fbd1b771
JK
103692017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10370
10371 * gdb.threads/tls-nodebug-pie.c: New file.
10372 * gdb.threads/tls-nodebug-pie.exp: New file.
10373
5eb5f850
TT
103742017-09-05 Tom Tromey <tom@tromey.com>
10375
10376 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10377 for rust.
10378
ae780a21
SM
103792017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10380
10381 * gdb.multi/multi-arch-exec.exp: Test with different
10382 "follow-exec-mode" settings.
10383 (do_test): New procedure.
10384
3693fdb3
PA
103852017-09-04 Pedro Alves <palves@redhat.com>
10386
10387 * gdb.base/func-static.c (S::method const, S::method volatile)
10388 (S::method volatile const): New methods.
10389 (c_s, v_s, cv_s): New instances.
10390 (main): Call method() on them.
10391 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10392 (cannot_resolve): New procedure.
10393 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10394 print-quote-unquoted columns.
10395 (do_test): Test printing each scope too.
10396
e68cb8e0
PA
103972017-09-04 Pedro Alves <palves@redhat.com>
10398
10399 * gdb.base/local-static.exp: Also test with
10400 class::method::variable wholly quoted.
10401 * gdb.cp/m-static.exp (class::method::variable): Remove test.
10402
858be34c
PA
104032017-09-04 Pedro Alves <palves@redhat.com>
10404
10405 * gdb.base/local-static.c: New.
10406 * gdb.base/local-static.cc: New.
10407 * gdb.base/local-static.exp: New.
10408
46a4882b
PA
104092017-09-04 Pedro Alves <palves@redhat.com>
10410
10411 * gdb.asm/asm-source.exp: Add casts to int.
10412 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
10413 (dataglobal64_1, dataglobal64_2): New globals.
10414 * gdb.base/nodebug.exp: Test different expressions involving the
10415 new globals, with print, whatis and ptype. Add casts to int.
10416 * gdb.base/solib-display.exp: Add casts to int.
10417 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
10418 * gdb.cp/m-static.exp: Add cast to int.
10419 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
10420 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
10421 tls variable with no debug info without a cast. Test with a cast
10422 to int too.
10423 * gdb.trace/entry-values.exp: Add casts.
10424
2c5a2be1
PA
104252017-09-04 Pedro Alves <palves@redhat.com>
10426
10427 * gdb.base/nodebug.exp: Test that ptype's error about functions
10428 with unknown return type includes the function name too.
10429
7022349d
PA
104302017-09-04 Pedro Alves <palves@redhat.com>
10431
10432 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
10433 return type of munmap in infcall.
10434 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
10435 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
10436 type of ftell in infcall.
10437 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
10438 type of getpid in infcall.
10439 * gdb.base/infcall-exec.exp: Cast return type of execlp in
10440 infcall.
10441 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
10442 Bail on failure to extract the pid.
10443 * gdb.base/nodebug.c: #include <stdint.h>.
10444 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
10445 New functions.
10446 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10447 Change expected output of print/whatis/ptype with functions with
10448 no debug info. Test all supported languages. Call
10449 test_call_promotion.
10450 * gdb.compile/compile.exp: Adjust expected output to expect
10451 warning.
10452 * gdb.threads/siginfo-threads.exp: Likewise.
10453
54990598
PA
104542017-09-04 Pedro Alves <palves@redhat.com>
10455
10456 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10457 "prototypes". Test calling float functions via prototyped and
10458 unprototyped function pointers.
10459 (perform_all_tests): New parameter "prototypes". Pass it down.
10460 (top level): Pass down "prototypes" parameter to
10461 perform_all_tests.
10462
34d16ea2
SM
104632017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10464
10465 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10466 Test with nested loops.
10467
9521ecda
SM
104682017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10469
10470 * gdb.base/commands.exp: Call the new procedures.
10471 (loop_break_test, loop_continue_test): New procedures.
10472
80a65e9b
SM
104732017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10474
10475 * gdb.base/commands.exp: Call new procedure.
10476 (define_if_without_arg_test): New procedure.
10477
e439fa14
PA
104782017-09-04 Pedro Alves <palves@redhat.com>
10479
10480 * gdb.base/list-ambiguous.exp: New file.
10481 * gdb.base/list-ambiguous0.c: New file.
10482 * gdb.base/list-ambiguous1.c: New file.
10483 * gdb.base/list.exp (test_list_range): Adjust expected output.
10484
0a2dde4a
SDJ
104852017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10486
10487 * gdb.base/share-env-with-gdbserver.c: New file.
10488 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10489
5e89eb3a
SM
104902017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10491
10492 * gdb.base/commands.exp (gdbvar_simple_if_test,
10493 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10494 progvar_simple_if_test, progvar_simple_while_test,
10495 progvar_complex_if_while_test, user_defined_command_test,
10496 user_defined_command_args_eval,
10497 user_defined_command_args_stack_test,
10498 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10499 temporary_breakpoint_commands,
10500 gdb_test_no_prompt, redefine_hook_test,
10501 redefine_backtrace_test): Remove "global gdb_prompt".
10502
fd437cbc
SM
105032017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10504
10505 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10506 New proc, call it from toplevel.
10507
87215ad1
SDJ
105082017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10509
10510 PR remote/21852
10511 * gdb.server/normal.c: New file, copied from gdb.base.
10512 * gdb.server/run-without-local-binary.exp: New file.
10513
58afddc6
WP
105142017-08-07 Weimin Pan <weimin.pan@oracle.com>
10515
10516 * gdb.arch/sparc64-adi.exp: New file.
10517 * gdb.arch/sparc64-adi.c: New file.
10518
5277199a
PA
105192017-08-22 Pedro Alves <palves@redhat.com>
10520
10521 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10522 (top level): Add "list all overloads" tests.
10523
14278e1f
TT
105242017-08-22 Tom Tromey <tom@tromey.com>
10525
10526 * gdb.gdb/xfullpath.exp: Remove.
10527
bf223d3e
PA
105282017-08-21 Pedro Alves <palves@redhat.com>
10529
10530 PR gdb/19487
10531 * gdb.base/symbol-alias.c: New.
10532 * gdb.base/symbol-alias2.c: New.
10533 * gdb.base/symbol-alias.exp: New.
10534
c973d0aa
PA
105352017-08-21 Pedro Alves <palves@redhat.com>
10536
10537 * gdb.base/dfp-test.c
10538 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
10539 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
10540 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
10541 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
10542 * gdb.base/whatis-ptype-typedefs.c: New.
10543 * gdb.base/whatis-ptype-typedefs.exp: New.
10544 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
10545 (an_int, an_int_type, an_int_type2): New globals.
10546 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
10547 involving typedefs and cast expressions.
10548 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
10549 (lookup_typedefs_function): New.
10550 (typedefs_pretty_printers_dict): New.
10551 (top level): Register lookup_typedefs_function in
10552 gdb.pretty_printers.
10553
6d580b63
YQ
105542017-08-18 Yao Qi <yao.qi@linaro.org>
10555
10556 * gdb.server/unittest.exp: New.
10557
206726fb
SDJ
105582017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10559
10560 PR gdb/21954
10561 * gdb.base/environ.exp: Add test to check if 'unset environment'
10562 works.
10563
bf0ec4c2
AA
105642017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10565
10566 * lib/gdb.exp (universal_compile_options): New caching proc.
10567 (gdb_compile): Suppress GCC's coloring of messages.
10568
d6382fff
TT
105692017-08-14 Tom Tromey <tom@tromey.com>
10570
10571 PR gdb/21675:
10572 * gdb.base/printcmds.exp (test_radices): New function.
10573 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
10574 * gdb.base/sizeof.exp (check_valueof): Use p/d.
10575 * lib/gdb.exp (get_integer_valueof): Use p/d.
10576
c2c2dd9f
SM
105772017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10578
10579 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10580 characters.
10581
fdffd6f4
TT
105822017-08-05 Tom Tromey <tom@tromey.com>
10583
10584 * gdb.rust/simple.exp: Allow String to appear in a different
10585 namespace.
10586
27d41eac
YQ
105872017-07-26 Yao Qi <yao.qi@linaro.org>
10588
10589 * gdb.gdb/unittest.exp: Invoke command
10590 "maintenance check xml-descriptions".
10591
031ed05d
AA
105922017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10593
10594 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10595 calling context.
10596 (hex128): Drop erroneous calculation of parameters.
10597
dcd27ddf
SM
105982017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10599
10600 * gdb.python/py-unwind.exp: Disable stack protection when
10601 building test file.
10602
47e77640
PA
106032017-07-20 Pedro Alves <palves@redhat.com>
10604
10605 * gdb.base/default.exp (set language): Adjust expected output.
10606
62d2a18a
PA
106072017-07-20 Pedro Alves <palves@redhat.com>
10608
10609 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
10610 (test_minsym): ... this, and make static.
10611 (get_pck__foo__bar__minsym): Rename to ...
10612 (get_test_minsym): ... this.
10613 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
10614 symbol names and comments.
10615 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10616 (get_test_minsym): ... this.
10617 (pck__foo__bar__minsym__2): Rename to ...
10618 (test_minsym): ... this.
10619 (main): Adjust.
10620
c45ec17c
PA
106212017-07-17 Pedro Alves <palves@redhat.com>
10622
10623 * gdb.base/completion.exp: Adjust expected output.
10624 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10625 the completer works.
10626
c6756f62
PA
106272017-07-17 Pedro Alves <palves@redhat.com>
10628
10629 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10630
5bd68487
AB
106312017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10632
10633 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10634
8880f2a9
TT
106352017-07-14 Tom Tromey <tom@tromey.com>
10636
10637 PR rust/21764:
10638 * gdb.rust/simple.exp: Add tests.
10639
65547233
TT
106402017-07-14 Tom Tromey <tom@tromey.com>
10641
10642 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10643
8f14146e
PA
106442017-07-14 Pedro Alves <palves@redhat.com>
10645
10646 * gdb.linespec/base/one/thefile.cc (z1): New function.
10647 * gdb.linespec/base/two/thefile.cc (z2): New function.
10648 * gdb.linespec/linespec.exp: Add tests.
10649
b4365d02
AB
106502017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10651
10652 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
10653 to mi_create_breakpoint.
10654
5d2cbaa5
AB
106552017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10656
10657 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
10658 mi_create_breakpoint.
10659
11cb5716
IB
106602017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
10661
10662 * gdb.dlang/demangle.exp: Update for demangling changes.
10663
03278692
TT
106642017-07-09 Tom Tromey <tom@tromey.com>
10665
10666 * gdb.dwarf2/shortpiece.exp: New file.
10667
33c5cd75
DB
106682017-07-06 David Blaikie <dblaikie@gmail.com>
10669
10670 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
10671 built from fissiont-multi-cu{1,2}.c.
10672 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
10673 except putting 'main' and 'func' in separate CUs in the same DWO file.
10674 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
10675 test.
10676 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
10677 test.
10678
8455d262
PA
106792017-07-06 Pedro Alves <palves@redhat.com>
10680
10681 * gdb.python/py-unwind.exp: Test flushregs.
10682
dc4bde35
SDJ
106832017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10684
10685 PR cli/21688
10686 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
10687 tests for alias commands and trailing whitespace.
10688
51ed89aa
SDJ
106892017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10690
10691 PR cli/21688
10692 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
10693 procedure. Call it.
10694
eb17d413
PA
106952017-06-29 Pedro Alves <palves@redhat.com>
10696
10697 * gdb.base/printcmds.exp: Add tests.
10698
41664b45
DG
106992017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
10700
10701 PR gdb/21337
10702 * gdb.base/reread-readsym.exp: New file.
10703 * gdb.base/reread-readsym.c: New file.
10704
75312ae3
KB
107052017-06-21 Kevin Buettner <kevinb@redhat.com>
10706
10707 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
10708 subpattern.
10709
66953522
PB
107102017-06-19 Peter Bergner <bergner@vnet.ibm.com>
10711
10712 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
10713 extended mnemonic.
10714 * gdb.arch/powerpc-power9.s: Likewise.
10715
5524b525
AA
107162017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10717
10718 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
10719 on 32-bit x86 targets. Exploit is_*_target macros where
10720 appropriate.
10721
03c8af18
AA
107222017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10723
10724 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
10725 register pieces.
10726
3bf31011
AA
107272017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10728
10729 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
10730 located in one or more DWARF pieces.
10731
805acca0
AA
107322017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10733
10734 * lib/gdb.exp (get_endianness): New proc.
10735 * gdb.arch/aarch64-fp.exp: Use it.
10736 * gdb.arch/altivec-regs.exp: Likewise.
10737 * gdb.arch/e500-regs.exp: Likewise.
10738 * gdb.arch/vsx-regs.exp: Likewise.
10739 * gdb.base/dump.exp: Likewise.
10740 * gdb.base/funcargs.exp: Likewise.
10741 * gdb.base/gnu_vector.exp: Likewise.
10742 * gdb.dwarf2/formdata16.exp: Likewise.
10743 * gdb.dwarf2/implptrpiece.exp: Likewise.
10744 * gdb.dwarf2/nonvar-access.exp: Likewise.
10745 * gdb.python/py-inferior.exp: Likewise.
10746 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10747
e9352324
AA
107482017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10749
10750 PR gdb/21226
10751 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10752 stack value pieces are taken from the LSB end.
10753
d5d1163e
AA
107542017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10755
10756 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10757 variable at nonzero offset.
10758
0567c986
AA
107592017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10760
10761 * gdb.dwarf2/var-access.c: New file.
10762 * gdb.dwarf2/var-access.exp: New test.
10763 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10764
973e9aab
TT
107652017-06-12 Tom Tromey <tom@tromey.com>
10766
10767 * gdb.dwarf2/formdata16.exp: Add tests.
10768
d9109c80
TT
107692017-06-12 Tom Tromey <tom@tromey.com>
10770
10771 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10772
30a25466
TT
107732017-06-12 Tom Tromey <tom@tromey.com>
10774
10775 PR exp/16225:
10776 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10777 * gdb.arch/vsx-regs.exp: Update tests.
10778 * gdb.arch/s390-vregs.exp (hex128): New proc.
10779 Update test.
10780 * gdb.arch/altivec-regs.exp: Update tests.
10781
aefd8b33
SDJ
107822017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10783
10784 * gdb.base/startup-with-shell.c: New file.
10785 * gdb.base/startup-with-shell.exp: Likewise.
10786
2090129c
SDJ
107872017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10788
10789 * gdb.server/non-existing-program.exp: Update regex in order to
10790 reflect the fact that gdbserver is now using fork_inferior (with a
10791 shell) to startup the inferior.
10792
8e86a419
SM
107932017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10794
10795 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10796 support function calls from GDB.
10797
e6cf65f2
TT
107982017-05-21 Tom Tromey <tom@tromey.com>
10799
10800 PR rust/21466:
10801 * gdb.rust/unsized.exp: New file.
10802 * gdb.rust/unsized.rs: New file.
10803
43cc5389
TT
108042017-05-19 Tom Tromey <tom@tromey.com>
10805
10806 PR rust/21484:
10807 * gdb.rust/watch.exp: New file.
10808 * gdb.rust/watch.rs: New file.
10809
ec8df234
TT
108102017-05-18 Tom Tromey <tom@tromey.com>
10811
10812 * gdb.rust/simple.exp: Allow Box to be qualified.
10813
3e3e7fae
TP
108142017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10815
10816 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10817
59cc050d
PA
108182017-05-18 Pedro Alves <palves@redhat.com>
10819
10820 * gdb.base/fileio.c (test_write, test_read, test_close)
10821 (test_fstat): Don't print 'ret' in the fail path.
10822
c8f6abd1
PA
108232017-05-18 Pedro Alves <palves@redhat.com>
10824
10825 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
10826 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
10827 (test_system, test_rename, test_unlink, test_time): Change
10828 prototypes.
10829 * gdb.base/fileio.exp (stop_msg): Adjust.
10830
d2a03b77
PA
108312017-05-18 Pedro Alves <palves@redhat.com>
10832
10833 * gdb.base/fileio.c (null_str): New global.
10834 (test_stat): Use it.
10835 * gdb.base/fileio.exp: Remove nowarnings.
10836
0d5c6999
YQ
108372017-05-17 Yao Qi <yao.qi@linaro.org>
10838
10839 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10840
21873064
YQ
108412017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10842
10843 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10844 argument command.
10845 (top-level): Invoke test_set_inferior_tty.
10846
d512d31c
PA
108472017-05-04 Pedro Alves <palves@redhat.com>
10848
10849 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10850 Add parens to print call for Python 3.
10851
90cef2ed
KS
108522017-05-03 Keith Seitz <keiths@redhat.com>
10853
10854 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10855 (main): Call it.
10856
14f819c8
TW
108572017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10858
10859 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10860 to prev and next.
10861
913aeadd
TW
108622017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10863
10864 * gdb.python/py-record-btrace.exp: Remove test for
10865 gdb.BtraceInstruction.error.
10866
a3be24ad
TW
108672017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10868
10869 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10870
ae20e79a
TW
108712017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10872
10873 * gdb.python/py-record-btrace-threads.c: New file.
10874 * gdb.python/py-record-btrace-threads.exp: New file.
10875
45ce1b47
SDJ
108762017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
10877
10878 PR testsuite/8595
10879 * gdb.base/environ.exp: Make test available in all architectures.
10880 Move bits related to "info program" testing to
10881 gdb.base/info-program.exp. Rewrite tests to use the two new
10882 procedures mentione below.
10883 (test_set_show_env_var) New procedure.
10884 (test_set_show_env_var_equal): Likewise.
10885 * gdb.base/info-program.exp: New file.
10886
e15c3eb4
KS
108872017-04-27 Keith Seitz <keiths@redhat.com>
10888
10889 * gdb.cp/oranking.cc (test15): New function.
10890 (main): Call test15 and declare additional variables for testing.
10891 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
10892 "p foo101('abc')" tests.
10893 Add tests for cv qualifier overloads.
10894 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
10895 "lvalue reference overload" test.
10896 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
10897 "print value of f1 on Child&& in f2" test.
10898
3a3fd0fd
PA
108992017-04-19 Pedro Alves <palves@redhat.com>
10900
10901 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10902 procedure.
10903 (top level): Call it.
10904 * lib/gdb.exp (gdb_define_cmd): New procedure.
10905
53375380
PA
109062017-04-12 Pedro Alves <palves@redhat.com>
10907
10908 PR gdb/21323
10909 * gdb.cp/wide_char_types.c: Include <wchar.h>.
10910 (wchar): New global.
10911 * gdb.cp/wide_char_types.exp (wide_char_types_program)
10912 (do_test_wide_char, wide_char_types_no_program, top level): Add
10913 wchar_t testing.
10914
53e710ac
PA
109152017-04-12 Pedro Alves <palves@redhat.com>
10916
10917 PR c++/21323
10918 * gdb.cp/wide_char_types.c: New file.
10919 * gdb.cp/wide_char_types.exp: New file.
10920
0ad9d8c7
SDJ
109212017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10922
10923 PR gdb/21352
10924 * gdb.trace/tsv.exp: Add test for "tsave -r".
10925
b1b45502
IB
109262017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10927
10928 * gdb.dlang/watch-loc.c: New file.
10929 * gdb.dlang/watch-loc.exp: New file.
10930
ec13808e
JK
109312017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10932
10933 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10934
fe5f7374
AK
109352017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10936
10937 * gdb.arch/arc-analyze-prologue.S: New file.
10938 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10939
eea78757
AK
109402017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10941
10942 * gdb.arch/arc-decode-insn.S: New file.
10943 * gdb.arch/arc-decode-insn.exp: Likewise.
10944
5badf10a
IR
109452017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10946
10947 PR tdep/20928
10948 * gdb.arch/sparc64-regs.exp: New file.
10949 * gdb.arch/sparc64-regs.S: Likewise.
10950
cee59b3f
TW
109512017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10952
10953 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10954 and memory view on Python 3.
10955
c0f55cc6
AV
109562017-03-20 Artemiy Volkov <artemiyv@acm.org>
10957 Keith Seitz <keiths@redhat.com>
10958
10959 PR gdb/14441
10960 * gdb.cp/demangle.exp: Add rvalue reference tests.
10961 * gdb.cp/rvalue-ref-casts.cc: New file.
10962 * gdb.cp/rvalue-ref-casts.exp: New file.
10963 * gdb.cp/rvalue-ref-overload.cc: New file.
10964 * gdb.cp/rvalue-ref-overload.exp: New file.
10965 * gdb.cp/rvalue-ref-params.cc: New file.
10966 * gdb.cp/rvalue-ref-params.exp: New file.
10967 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10968 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10969 * gdb.cp/rvalue-ref-types.cc: New file.
10970 * gdb.cp/rvalue-ref-types.exp: New file.
10971 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10972 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10973
51457a05
MAL
109742017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10975
10976 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10977 New procedure.
10978
5b291c04
MAL
109792017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10980
10981 * lib/mi-support.exp (mi_gdb_test): Add additional message
10982 for unexpected output.
10983
59a56148
AA
109842017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10985
10986 * gdb.base/examine-backward.c (Barrier): New character array
10987 constant, to ensure that TestStrings is preceded by a string
10988 terminator.
10989
7942e96e
AA
109902017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10991
10992 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10993 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10994 and implicit pointer into such a location.
10995
6ebac3fb
DE
109962017-03-16 Doug Evans <dje@google.com>
10997
10998 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10999
ec3b243d
TP
110002017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11001
11002 * gdb.cp/m-static.exp: Fix expectation for prototype of
11003 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
11004
110052017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
11006
11007 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11008 * gdb.guile/scm-lazy-string.c: New file.
11009 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11010 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11011 for pointer, array, typedef lazy strings.
11012
2cc36e25 110132017-03-16 Doug Evans <dje@google.com>
34b43320
DE
11014
11015 PR python/17728, python/18439, python/18779
11016 * gdb.python/py-value.c (main) Delete locals sptr, sn.
11017 * gdb.python/py-lazy-string.c (pointer): New typedef.
11018 (main): New locals ptr, array, typedef_ptr.
11019 * gdb.python/py-value.exp: Move lazy string tests to ...
11020 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
11021 array, typedef lazy strings.
ec3b243d 11022
0efcde63
AK
110232017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
11024
11025 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
11026 Add optional 'test' parameter.
11027
7978d7c3
SM
110282017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11029
11030 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11031 Skip for versions of DejaGnu < 1.5.
11032
896c0c1e
SM
110332017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11034
11035 * lib/gdb.exp (dejagnu_version): New proc.
11036 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11037 Use dejagnu_version.
11038
5f4d1085
KS
110392017-03-10 Keith Seitz <keiths@redhat.com>
11040
11041 PR c++/8128
11042 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
11043 type from destructor regexps.
11044 Add a branch which actually passes the test.
11045 Adjust "ptype t5i" test names.
11046
1de05205
PA
110472017-03-08 Pedro Alves <palves@redhat.com>
11048
11049 * gdb.base/step-over-exit.exp: Add explicit test message.
11050
c65d6b55
PA
110512017-03-08 Pedro Alves <palves@redhat.com>
11052
11053 PR gdb/18360
11054 * gdb.threads/interrupt-while-step-over.c: New file.
11055 * gdb.threads/interrupt-while-step-over.exp: New file.
11056
2e86a283
PA
110572017-03-08 Pedro Alves <palves@redhat.com>
11058
11059 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
11060 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
11061
25dcbff6
PA
110622017-03-08 Pedro Alves <palves@redhat.com>
11063
11064 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
11065 PKRU as not supported as a PASS.
11066
dc9366eb
PA
110672017-03-08 Pedro Alves <palves@redhat.com>
11068
11069 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
11070 prefix instead of $binfile1/$binfile2.
11071 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
11072 in test message.
11073 * gdb.python/py-completion.exp: Use "load python file" as test
11074 messages instead of unstable path names.
11075
6e5d74e7
PA
110762017-03-08 Pedro Alves <palves@redhat.com>
11077 Jan Kratochvil <jan.kratochvil@redhat.com>
11078
11079 PR cli/21218
11080 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11081 New proc.
11082 (top level): Call it.
11083
9753a2f6
PA
110842017-03-08 Pedro Alves <palves@redhat.com>
11085
11086 PR tui/21216
11087 * gdb.tui/tui-nl-filtered-output.exp: New file.
11088
1a4dd9dd
PA
110892017-03-08 Pedro Alves <palves@redhat.com>
11090
11091 * gdb.base/completion.exp: Move TUI completion tests to ...
11092 * gdb.tui/completion.exp: ... this new file.
11093
7cbbff33
PA
110942017-03-08 Pedro Alves <palves@redhat.com>
11095
11096 * gdb.base/tui-disasm-long-lines.c,
11097 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
11098 gdb.base/tui-layout.exp: Move to ...
11099 * gdb.tui/: ... this new directory.
11100
5f6fd321
PA
111012017-03-07 Pedro Alves <palves@redhat.com>
11102
11103 * gdb.base/tui-layout.c: New file.
11104 * gdb.base/tui-layout.exp: New file.
11105
44959fa8
PA
111062017-03-07 Pedro Alves <palves@redhat.com>
11107
11108 * gdb.base/tui-layout.c: Rename to ...
11109 * gdb.base/tui-disasm-long-lines.c: ... this.
11110 * gdb.base/tui-layout.exp: Rename to ...
11111 * gdb.base/tui-disasm-long-lines.exp: ... this.
11112
f8c4e718
PA
111132017-03-07 Pedro Alves <palves@redhat.com>
11114
11115 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
11116
6dbb839a 111172017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
11118
11119 * i386-mpx-call.c: New file.
11120 * i386-mpx-call.exp: New file.
11121
65b48a81
PB
111222017-02-28 Peter Bergner <bergner@vnet.ibm.com>
11123
11124 * gdb.arch/powerpc-power.exp: Delete test.
11125 * gdb.arch/powerpc-power.s: Likewise.
11126 * gdb.disasm/disassembler-options.exp: New test.
11127 * gdb.arch/powerpc-altivec.exp: Likewise.
11128 * gdb.arch/powerpc-altivec.s: Likewise.
11129 * gdb.arch/powerpc-altivec2.exp: Likewise.
11130 * gdb.arch/powerpc-altivec2.s: Likewise.
11131 * gdb.arch/powerpc-altivec3.exp: Likewise.
11132 * gdb.arch/powerpc-altivec3.s: Likewise.
11133 * gdb.arch/powerpc-power7.exp: Likewise.
11134 * gdb.arch/powerpc-power7.s: Likewise.
11135 * gdb.arch/powerpc-power8.exp: Likewise.
11136 * gdb.arch/powerpc-power8.s: Likewise.
11137 * gdb.arch/powerpc-power9.exp: Likewise.
11138 * gdb.arch/powerpc-power9.s: Likewise.
11139 * gdb.arch/powerpc-vsx.exp: Likewise.
11140 * gdb.arch/powerpc-vsx.s: Likewise.
11141 * gdb.arch/powerpc-vsx2.exp: Likewise.
11142 * gdb.arch/powerpc-vsx2.s: Likewise.
11143 * gdb.arch/powerpc-vsx3.exp: Likewise.
11144 * gdb.arch/powerpc-vsx3.s: Likewise.
11145 * gdb.arch/arm-disassembler-options.exp: Likewise.
11146 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
11147 * gdb.arch/s390-disassembler-options.exp: Likewise.
11148
17cd4947
LM
111492017-02-23 Luis Machado <lgustavo@codesourcery.com>
11150
11151 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
11152 (check_supported_features): ... this. Changed return type to void.
11153 (supports_rdseed): New static global.
11154 (rdseed): Check supports_rdseed.
11155 (initialize): Call check_supported_features.
11156
2039d74e
EBM
111572017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11158
11159 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
11160 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
11161 and lqarx/stqcx.
11162 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
11163 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
11164
a51d7ecf
EBM
111652017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11166
11167 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
11168 uppercase.
11169
0224619f
JK
111702017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11171
11172 * gdb.dwarf2/formdata16.c: New file.
11173 * gdb.dwarf2/formdata16.exp: New file.
11174 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11175
216f72a1
JK
111762017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11177
11178 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
11179 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
11180 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
11181 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
11182 DW_AT_GNU_*.
11183
43988095
JK
111842017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11185
11186 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
11187
99e8a4f9
SDJ
111882017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
11189
11190 PR gdb/21164
11191 * gdb.base/maint.exp: Add testcases for when the commands do
11192 not have arguments.
11193
b58a8c0c
TP
111942017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
11195
11196 * gdb.cp/chained-calls.exp: Use p instead of P.
11197
4e746bb6
TW
111982017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
11199
11200 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
11201 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
11202
3f77c769
TT
112032017-02-14 Tom Tromey <tom@tromey.com>
11204
11205 PR python/13598:
11206 * gdb.python/py-events.exp: Add before_prompt event tests.
11207
075beec0
AA
112082017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11209
11210 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
11211
bf5f525c
LM
112122017-02-13 Luis Machado <lgustavo@codesourcery.com>
11213
11214 * gdb.linespec/explicit.c (my_unique_function_name): New function.
11215 (main): Call my_unique_function_name.
11216 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
11217 completion of patterns with a single match.
11218 Add missing -re switches to gdb_test_multiple calls.
11219
13a66184
LM
112202017-02-13 Luis Machado <lgustavo@codesourcery.com>
11221
11222 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11223 return if core file is not recognized.
11224
26a06916
SM
112252017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11226
11227 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11228 and extra UIs.
11229
b761ca9e
SM
112302017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11231
11232 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11233 proc_with_prefix.
11234
b964bee0
TT
112352017-02-10 Tom Tromey <tom@tromey.com>
11236
11237 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11238
18da0c51
MG
112392017-02-10 Martin Galvan <martingalvan@sourceware.org>
11240
11241 PR gdb/21122
11242 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11243
604c4576
JG
112442017-02-08 Jerome Guitton <guitton@adacore.com>
11245
11246 * gdb.base/define.exp: Add test for command abbreviations
11247 in define.
11248
20b477a7
LM
112492017-02-06 Luis Machado <lgustavo@codesourcery.com>
11250
11251 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11252 * gdb.reverse/insn-reverse-x86.c: New file.
11253
3f7b46f2
IR
112542017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11255
11256 PR tdep/20936
11257 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11258
f0fd41c1
TT
112592017-02-03 Tom Tromey <tom@tromey.com>
11260
11261 PR rust/21097:
11262 * gdb.rust/simple.exp: Add new tests.
11263
5be5dbf0
PA
112642017-02-02 Pedro Alves <palves@redhat.com>
11265
11266 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11267 tests.
11268
7346ef59
AA
112692017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11270
11271 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11272 taking a 2-byte value out of a 4-byte DWARF implicit value on
11273 big-endian targets.
11274 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11275 logic. Add test cases for DW_OP_implicit.
11276
787f0025
MM
112772017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11278
11279 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11280
68777c29
MM
112812017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11282
11283 * gdb.btrace/enable.exp: Call gdb_exit before
11284 skip_gdbserver_tests.
11285
0a1c7e28
MM
112862017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11287
11288 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11289 GDBFLAGS.
11290
b5ac99b0
MM
112912017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11292
11293 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11294 the test is skipped.
11295 * gdb.btrace/data.exp: Likewise.
11296 * gdb.btrace/delta.exp: Likewise.
11297 * gdb.btrace/dlopen.exp: Likewise.
11298 * gdb.btrace/enable-running.exp: Likewise.
11299 * gdb.btrace/enable.exp: Likewise.
11300 * gdb.btrace/exception.exp: Likewise.
11301 * gdb.btrace/function_call_history.exp: Likewise.
11302 * gdb.btrace/gcore.exp: Likewise.
11303 * gdb.btrace/instruction_history.exp: Likewise.
11304 * gdb.btrace/multi-thread-step.exp: Likewise.
11305 * gdb.btrace/nohist.exp: Likewise.
11306 * gdb.btrace/non-stop.exp: Likewise.
11307 * gdb.btrace/reconnect.exp: Likewise.
11308 * gdb.btrace/record_goto-step.exp: Likewise.
11309 * gdb.btrace/record_goto.exp: Likewise.
11310 * gdb.btrace/rn-dl-bind.exp: Likewise.
11311 * gdb.btrace/segv.exp: Likewise.
11312 * gdb.btrace/step.exp: Likewise.
11313 * gdb.btrace/stepi.exp: Likewise.
11314 * gdb.btrace/tailcall-only.exp: Likewise.
11315 * gdb.btrace/tailcall.exp: Likewise.
11316 * gdb.btrace/tsx.exp: Likewise.
11317 * gdb.btrace/unknown_functions.exp: Likewise.
11318 * gdb.btrace/vdso.exp: Likewise.
11319
cd4007e4
MM
113202017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11321
11322 * gdb.btrace/enable-running.c: New.
11323 * gdb.btrace/enable-running.exp: New.
11324
2735833d
WT
113252017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11326
11327 * gdb.arch/amd64-gs_base.c: New file.
11328 * gdb.arch/amd64-gs_base.exp: New file.
11329
b51e1e94
LM
113302017-01-26 Luis Machado <lgustavo@codesourcery.com>
11331
11332 * lib/memory.exp: Remove spurious empty newlines.
11333
72ca0410
SM
113342017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11335
11336 * gdb.python/py-bad-printers.exp: Load python file using "source".
11337 * gdb.python/py-events.exp: Likewise.
11338 * gdb.python/py-evsignal.exp: Likewise.
11339 * gdb.python/py-evthreads.exp: Likewise.
11340 * gdb.python/py-frame-args.exp: Likewise.
11341 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11342 * gdb.python/py-framefilter-mi.exp: Likewise.
11343 * gdb.python/py-framefilter.exp: Likewise.
11344 * gdb.python/py-mi.exp: Likewise.
11345 * gdb.python/py-pp-maint.exp: Likewise.
11346 * gdb.python/py-pp-registration.exp: Likewise.
11347 * gdb.python/py-prettyprint.exp: Likewise.
11348 (run_lang_tests): Likewise.
11349 * gdb.python/py-typeprint.exp: Likewise.
11350
e309aa65
LM
113512017-01-26 Luis Machado <lgustavo@codesourcery.com>
11352
11353 * lib/memory.exp: New file.
11354 * lib/gdb.exp: Load memory.exp.
11355 * gdb.base/memattr.exp (delete_memory): Move proc to
11356 lib/memory.exp and rename to delete_memory_regions.
11357 Replace delete_memory with delete_memory_regions.
11358 Cleanup memory regions before tests.
11359 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11360 before tests.
11361
515aff23
LM
113622017-01-26 Luis Machado <lgustavo@codesourcery.com>
11363
11364 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11365 files.
11366 (initialize): New function conditionally defined.
11367 (testcases): Move within conditional block.
11368 (main): Call initialize.
11369 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11370 of gdb.reverse/insn-reverse.c.
11371 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11372 gdb.reverse/insn-reverse.c.
11373
d8b49cf0
YQ
113742017-01-26 Yao Qi <yao.qi@linaro.org>
11375
11376 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11377 disassemble on address 0.
11378
f13a9a0c
YQ
113792017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11380 Yao Qi <yao.qi@linaro.org>
11381
11382 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11383 * gdb.dwarf2/implptr-64bit.S: Remove.
11384 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11385 variables in caller's context. Add DW_OP_implicit_value.
11386
5ac95241
YQ
113872017-01-25 Yao Qi <yao.qi@linaro.org>
11388
11389 * lib/dwarf.exp (Dwarf::_location): Handle
11390 DW_OP_GNU_implicit_pointer with proper size.
11391
23e82930
LM
113922017-01-20 Luis Machado <lgustavo@codesourcery.com>
11393
11394 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11395 and add untested calls.
11396
d334ae25
LM
113972017-01-20 Luis Machado <lgustavo@codesourcery.com>
11398
11399 * gdb.python/python.exp: Check line number against what GDB thinks
11400 the line number is for func1.
11401
f5e6296e
IB
114022017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
11403
11404 * gdb.dlang/debug-expr.exp: New file.
11405
5b362f04
LM
114062016-12-23 Luis Machado <lgustavo@codesourcery.com>
11407
11408 Fix test names for the following files:
11409
11410 * gdb.ada/exec_changed.exp
11411 * gdb.ada/info_types.exp
11412 * gdb.arch/aarch64-atomic-inst.exp
11413 * gdb.arch/aarch64-fp.exp
11414 * gdb.arch/altivec-abi.exp
11415 * gdb.arch/altivec-regs.exp
11416 * gdb.arch/amd64-byte.exp
11417 * gdb.arch/amd64-disp-step.exp
11418 * gdb.arch/amd64-dword.exp
11419 * gdb.arch/amd64-entry-value-inline.exp
11420 * gdb.arch/amd64-entry-value-param.exp
11421 * gdb.arch/amd64-entry-value-paramref.exp
11422 * gdb.arch/amd64-entry-value.exp
11423 * gdb.arch/amd64-i386-address.exp
11424 * gdb.arch/amd64-invalid-stack-middle.exp
11425 * gdb.arch/amd64-invalid-stack-top.exp
11426 * gdb.arch/amd64-optimout-repeat.exp
11427 * gdb.arch/amd64-prologue-skip.exp
11428 * gdb.arch/amd64-prologue-xmm.exp
11429 * gdb.arch/amd64-stap-special-operands.exp
11430 * gdb.arch/amd64-stap-wrong-subexp.exp
11431 * gdb.arch/amd64-tailcall-cxx.exp
11432 * gdb.arch/amd64-tailcall-noret.exp
11433 * gdb.arch/amd64-tailcall-ret.exp
11434 * gdb.arch/amd64-tailcall-self.exp
11435 * gdb.arch/amd64-word.exp
11436 * gdb.arch/arm-bl-branch-dest.exp
11437 * gdb.arch/arm-disp-step.exp
11438 * gdb.arch/arm-neon.exp
11439 * gdb.arch/arm-single-step-kernel-helper.exp
11440 * gdb.arch/avr-flash-qualifier.exp
11441 * gdb.arch/disp-step-insn-reloc.exp
11442 * gdb.arch/e500-abi.exp
11443 * gdb.arch/e500-regs.exp
11444 * gdb.arch/ftrace-insn-reloc.exp
11445 * gdb.arch/i386-avx512.exp
11446 * gdb.arch/i386-bp_permanent.exp
11447 * gdb.arch/i386-byte.exp
11448 * gdb.arch/i386-cfi-notcurrent.exp
11449 * gdb.arch/i386-disp-step.exp
11450 * gdb.arch/i386-dr3-watch.exp
11451 * gdb.arch/i386-float.exp
11452 * gdb.arch/i386-gnu-cfi.exp
11453 * gdb.arch/i386-mpx-map.exp
11454 * gdb.arch/i386-mpx-sigsegv.exp
11455 * gdb.arch/i386-mpx-simple_segv.exp
11456 * gdb.arch/i386-mpx.exp
11457 * gdb.arch/i386-permbkpt.exp
11458 * gdb.arch/i386-prologue.exp
11459 * gdb.arch/i386-signal.exp
11460 * gdb.arch/i386-size-overlap.exp
11461 * gdb.arch/i386-unwind.exp
11462 * gdb.arch/i386-word.exp
11463 * gdb.arch/mips-fcr.exp
11464 * gdb.arch/powerpc-d128-regs.exp
11465 * gdb.arch/powerpc-stackless.exp
11466 * gdb.arch/ppc64-atomic-inst.exp
11467 * gdb.arch/s390-stackless.exp
11468 * gdb.arch/s390-tdbregs.exp
11469 * gdb.arch/s390-vregs.exp
11470 * gdb.arch/sparc-sysstep.exp
11471 * gdb.arch/thumb-bx-pc.exp
11472 * gdb.arch/thumb-singlestep.exp
11473 * gdb.arch/thumb2-it.exp
11474 * gdb.arch/vsx-regs.exp
11475 * gdb.asm/asm-source.exp
11476 * gdb.base/a2-run.exp
11477 * gdb.base/advance.exp
11478 * gdb.base/all-bin.exp
11479 * gdb.base/anon.exp
11480 * gdb.base/args.exp
11481 * gdb.base/arithmet.exp
11482 * gdb.base/async-shell.exp
11483 * gdb.base/async.exp
11484 * gdb.base/attach-pie-noexec.exp
11485 * gdb.base/attach-twice.exp
11486 * gdb.base/auto-load.exp
11487 * gdb.base/bang.exp
11488 * gdb.base/bitfields.exp
11489 * gdb.base/break-always.exp
11490 * gdb.base/break-caller-line.exp
11491 * gdb.base/break-entry.exp
11492 * gdb.base/break-inline.exp
11493 * gdb.base/break-on-linker-gcd-function.exp
11494 * gdb.base/break-probes.exp
11495 * gdb.base/break.exp
11496 * gdb.base/breakpoint-shadow.exp
11497 * gdb.base/call-ar-st.exp
11498 * gdb.base/call-sc.exp
11499 * gdb.base/call-signal-resume.exp
11500 * gdb.base/call-strs.exp
11501 * gdb.base/callfuncs.exp
11502 * gdb.base/catch-fork-static.exp
11503 * gdb.base/catch-gdb-caused-signals.exp
11504 * gdb.base/catch-load.exp
11505 * gdb.base/catch-signal-fork.exp
11506 * gdb.base/catch-signal.exp
11507 * gdb.base/catch-syscall.exp
11508 * gdb.base/charset.exp
11509 * gdb.base/checkpoint.exp
11510 * gdb.base/chng-syms.exp
11511 * gdb.base/code-expr.exp
11512 * gdb.base/code_elim.exp
11513 * gdb.base/commands.exp
11514 * gdb.base/completion.exp
11515 * gdb.base/complex.exp
11516 * gdb.base/cond-expr.exp
11517 * gdb.base/condbreak.exp
11518 * gdb.base/consecutive.exp
11519 * gdb.base/continue-all-already-running.exp
11520 * gdb.base/coredump-filter.exp
11521 * gdb.base/corefile.exp
11522 * gdb.base/dbx.exp
11523 * gdb.base/debug-expr.exp
11524 * gdb.base/define.exp
11525 * gdb.base/del.exp
11526 * gdb.base/disabled-location.exp
11527 * gdb.base/disasm-end-cu.exp
11528 * gdb.base/disasm-optim.exp
11529 * gdb.base/display.exp
11530 * gdb.base/duplicate-bp.exp
11531 * gdb.base/ena-dis-br.exp
11532 * gdb.base/ending-run.exp
11533 * gdb.base/enumval.exp
11534 * gdb.base/environ.exp
11535 * gdb.base/eu-strip-infcall.exp
11536 * gdb.base/eval-avoid-side-effects.exp
11537 * gdb.base/eval-skip.exp
11538 * gdb.base/exitsignal.exp
11539 * gdb.base/expand-psymtabs.exp
11540 * gdb.base/filesym.exp
11541 * gdb.base/find-unmapped.exp
11542 * gdb.base/finish.exp
11543 * gdb.base/float.exp
11544 * gdb.base/foll-exec-mode.exp
11545 * gdb.base/foll-exec.exp
11546 * gdb.base/foll-fork.exp
11547 * gdb.base/fortran-sym-case.exp
11548 * gdb.base/freebpcmd.exp
11549 * gdb.base/func-ptr.exp
11550 * gdb.base/func-ptrs.exp
11551 * gdb.base/funcargs.exp
11552 * gdb.base/gcore-buffer-overflow.exp
11553 * gdb.base/gcore-relro-pie.exp
11554 * gdb.base/gcore-relro.exp
11555 * gdb.base/gcore.exp
11556 * gdb.base/gdb1090.exp
11557 * gdb.base/gdb11530.exp
11558 * gdb.base/gdb11531.exp
11559 * gdb.base/gdb1821.exp
11560 * gdb.base/gdbindex-stabs.exp
11561 * gdb.base/gdbvars.exp
11562 * gdb.base/hbreak.exp
11563 * gdb.base/hbreak2.exp
11564 * gdb.base/included.exp
11565 * gdb.base/infcall-input.exp
11566 * gdb.base/inferior-died.exp
11567 * gdb.base/infnan.exp
11568 * gdb.base/info-macros.exp
11569 * gdb.base/info-os.exp
11570 * gdb.base/info-proc.exp
11571 * gdb.base/info-shared.exp
11572 * gdb.base/info-target.exp
11573 * gdb.base/infoline.exp
11574 * gdb.base/interp.exp
11575 * gdb.base/interrupt.exp
11576 * gdb.base/jit-reader.exp
11577 * gdb.base/jit-simple.exp
11578 * gdb.base/kill-after-signal.exp
11579 * gdb.base/kill-detach-inferiors-cmd.exp
11580 * gdb.base/label.exp
11581 * gdb.base/langs.exp
11582 * gdb.base/ldbl_e308.exp
11583 * gdb.base/line-symtabs.exp
11584 * gdb.base/linespecs.exp
11585 * gdb.base/list.exp
11586 * gdb.base/long_long.exp
11587 * gdb.base/longest-types.exp
11588 * gdb.base/maint.exp
11589 * gdb.base/max-value-size.exp
11590 * gdb.base/memattr.exp
11591 * gdb.base/mips_pro.exp
11592 * gdb.base/morestack.exp
11593 * gdb.base/moribund-step.exp
11594 * gdb.base/multi-forks.exp
11595 * gdb.base/nested-addr.exp
11596 * gdb.base/nextoverexit.exp
11597 * gdb.base/noreturn-finish.exp
11598 * gdb.base/noreturn-return.exp
11599 * gdb.base/nostdlib.exp
11600 * gdb.base/offsets.exp
11601 * gdb.base/opaque.exp
11602 * gdb.base/pc-fp.exp
11603 * gdb.base/permissions.exp
11604 * gdb.base/print-symbol-loading.exp
11605 * gdb.base/prologue-include.exp
11606 * gdb.base/psymtab.exp
11607 * gdb.base/ptype.exp
11608 * gdb.base/random-signal.exp
11609 * gdb.base/randomize.exp
11610 * gdb.base/range-stepping.exp
11611 * gdb.base/readline-ask.exp
11612 * gdb.base/recpar.exp
11613 * gdb.base/recurse.exp
11614 * gdb.base/relational.exp
11615 * gdb.base/restore.exp
11616 * gdb.base/return-nodebug.exp
11617 * gdb.base/return.exp
11618 * gdb.base/run-after-attach.exp
11619 * gdb.base/save-bp.exp
11620 * gdb.base/scope.exp
11621 * gdb.base/sect-cmd.exp
11622 * gdb.base/set-lang-auto.exp
11623 * gdb.base/set-noassign.exp
11624 * gdb.base/setvar.exp
11625 * gdb.base/sigall.exp
11626 * gdb.base/sigbpt.exp
11627 * gdb.base/siginfo-addr.exp
11628 * gdb.base/siginfo-infcall.exp
11629 * gdb.base/siginfo-obj.exp
11630 * gdb.base/siginfo.exp
11631 * gdb.base/signals-state-child.exp
11632 * gdb.base/signest.exp
11633 * gdb.base/sigstep.exp
11634 * gdb.base/sizeof.exp
11635 * gdb.base/skip.exp
11636 * gdb.base/solib-corrupted.exp
11637 * gdb.base/solib-nodir.exp
11638 * gdb.base/solib-search.exp
11639 * gdb.base/stack-checking.exp
11640 * gdb.base/stale-infcall.exp
11641 * gdb.base/stap-probe.exp
11642 * gdb.base/start.exp
11643 * gdb.base/step-break.exp
11644 * gdb.base/step-bt.exp
11645 * gdb.base/step-line.exp
11646 * gdb.base/step-over-exit.exp
11647 * gdb.base/step-over-syscall.exp
11648 * gdb.base/step-resume-infcall.exp
11649 * gdb.base/step-test.exp
11650 * gdb.base/store.exp
11651 * gdb.base/structs3.exp
11652 * gdb.base/sym-file.exp
11653 * gdb.base/symbol-without-target_section.exp
11654 * gdb.base/term.exp
11655 * gdb.base/testenv.exp
11656 * gdb.base/ui-redirect.exp
11657 * gdb.base/until.exp
11658 * gdb.base/unwindonsignal.exp
11659 * gdb.base/value-double-free.exp
11660 * gdb.base/vla-datatypes.exp
11661 * gdb.base/vla-ptr.exp
11662 * gdb.base/vla-sideeffect.exp
11663 * gdb.base/volatile.exp
11664 * gdb.base/watch-cond-infcall.exp
11665 * gdb.base/watch-cond.exp
11666 * gdb.base/watch-non-mem.exp
11667 * gdb.base/watch-read.exp
11668 * gdb.base/watch-vfork.exp
11669 * gdb.base/watchpoint-cond-gone.exp
11670 * gdb.base/watchpoint-delete.exp
11671 * gdb.base/watchpoint-hw-hit-once.exp
11672 * gdb.base/watchpoint-hw.exp
11673 * gdb.base/watchpoint-stops-at-right-insn.exp
11674 * gdb.base/watchpoints.exp
11675 * gdb.base/wchar.exp
11676 * gdb.base/whatis-exp.exp
11677 * gdb.btrace/buffer-size.exp
11678 * gdb.btrace/data.exp
11679 * gdb.btrace/delta.exp
11680 * gdb.btrace/dlopen.exp
11681 * gdb.btrace/enable.exp
11682 * gdb.btrace/exception.exp
11683 * gdb.btrace/function_call_history.exp
11684 * gdb.btrace/gcore.exp
11685 * gdb.btrace/instruction_history.exp
11686 * gdb.btrace/nohist.exp
11687 * gdb.btrace/reconnect.exp
11688 * gdb.btrace/record_goto-step.exp
11689 * gdb.btrace/record_goto.exp
11690 * gdb.btrace/rn-dl-bind.exp
11691 * gdb.btrace/segv.exp
11692 * gdb.btrace/step.exp
11693 * gdb.btrace/stepi.exp
11694 * gdb.btrace/tailcall-only.exp
11695 * gdb.btrace/tailcall.exp
11696 * gdb.btrace/tsx.exp
11697 * gdb.btrace/unknown_functions.exp
11698 * gdb.btrace/vdso.exp
11699 * gdb.compile/compile-ifunc.exp
11700 * gdb.compile/compile-ops.exp
11701 * gdb.compile/compile-print.exp
11702 * gdb.compile/compile-setjmp.exp
11703 * gdb.cp/abstract-origin.exp
11704 * gdb.cp/ambiguous.exp
11705 * gdb.cp/annota2.exp
11706 * gdb.cp/annota3.exp
11707 * gdb.cp/anon-ns.exp
11708 * gdb.cp/anon-struct.exp
11709 * gdb.cp/anon-union.exp
11710 * gdb.cp/arg-reference.exp
11711 * gdb.cp/baseenum.exp
11712 * gdb.cp/bool.exp
11713 * gdb.cp/breakpoint.exp
11714 * gdb.cp/bs15503.exp
11715 * gdb.cp/call-c.exp
11716 * gdb.cp/casts.exp
11717 * gdb.cp/chained-calls.exp
11718 * gdb.cp/class2.exp
11719 * gdb.cp/classes.exp
11720 * gdb.cp/cmpd-minsyms.exp
11721 * gdb.cp/converts.exp
11722 * gdb.cp/cp-relocate.exp
11723 * gdb.cp/cpcompletion.exp
11724 * gdb.cp/cpexprs.exp
11725 * gdb.cp/cplabel.exp
11726 * gdb.cp/cplusfuncs.exp
11727 * gdb.cp/cpsizeof.exp
11728 * gdb.cp/ctti.exp
11729 * gdb.cp/derivation.exp
11730 * gdb.cp/destrprint.exp
11731 * gdb.cp/dispcxx.exp
11732 * gdb.cp/enum-class.exp
11733 * gdb.cp/exception.exp
11734 * gdb.cp/exceptprint.exp
11735 * gdb.cp/expand-psymtabs-cxx.exp
11736 * gdb.cp/expand-sals.exp
11737 * gdb.cp/extern-c.exp
11738 * gdb.cp/filename.exp
11739 * gdb.cp/formatted-ref.exp
11740 * gdb.cp/fpointer.exp
11741 * gdb.cp/gdb1355.exp
11742 * gdb.cp/gdb2495.exp
11743 * gdb.cp/hang.exp
11744 * gdb.cp/impl-this.exp
11745 * gdb.cp/infcall-dlopen.exp
11746 * gdb.cp/inherit.exp
11747 * gdb.cp/iostream.exp
11748 * gdb.cp/koenig.exp
11749 * gdb.cp/local.exp
11750 * gdb.cp/m-data.exp
11751 * gdb.cp/m-static.exp
11752 * gdb.cp/mb-ctor.exp
11753 * gdb.cp/mb-inline.exp
11754 * gdb.cp/mb-templates.exp
11755 * gdb.cp/member-name.exp
11756 * gdb.cp/member-ptr.exp
11757 * gdb.cp/meth-typedefs.exp
11758 * gdb.cp/method.exp
11759 * gdb.cp/method2.exp
11760 * gdb.cp/minsym-fallback.exp
11761 * gdb.cp/misc.exp
11762 * gdb.cp/namelessclass.exp
11763 * gdb.cp/namespace-enum.exp
11764 * gdb.cp/namespace-nested-import.exp
11765 * gdb.cp/namespace.exp
11766 * gdb.cp/nextoverthrow.exp
11767 * gdb.cp/no-dmgl-verbose.exp
11768 * gdb.cp/non-trivial-retval.exp
11769 * gdb.cp/noparam.exp
11770 * gdb.cp/nsdecl.exp
11771 * gdb.cp/nsimport.exp
11772 * gdb.cp/nsnested.exp
11773 * gdb.cp/nsnoimports.exp
11774 * gdb.cp/nsrecurs.exp
11775 * gdb.cp/nsstress.exp
11776 * gdb.cp/nsusing.exp
11777 * gdb.cp/operator.exp
11778 * gdb.cp/oranking.exp
11779 * gdb.cp/overload-const.exp
11780 * gdb.cp/overload.exp
11781 * gdb.cp/ovldbreak.exp
11782 * gdb.cp/ovsrch.exp
11783 * gdb.cp/paren-type.exp
11784 * gdb.cp/parse-lang.exp
11785 * gdb.cp/pass-by-ref.exp
11786 * gdb.cp/pr-1023.exp
11787 * gdb.cp/pr-1210.exp
11788 * gdb.cp/pr-574.exp
11789 * gdb.cp/pr10687.exp
11790 * gdb.cp/pr12028.exp
11791 * gdb.cp/pr17132.exp
11792 * gdb.cp/pr17494.exp
11793 * gdb.cp/pr9067.exp
11794 * gdb.cp/pr9167.exp
11795 * gdb.cp/pr9631.exp
11796 * gdb.cp/printmethod.exp
11797 * gdb.cp/psmang.exp
11798 * gdb.cp/psymtab-parameter.exp
11799 * gdb.cp/ptype-cv-cp.exp
11800 * gdb.cp/ptype-flags.exp
11801 * gdb.cp/re-set-overloaded.exp
11802 * gdb.cp/ref-types.exp
11803 * gdb.cp/rtti.exp
11804 * gdb.cp/scope-err.exp
11805 * gdb.cp/shadow.exp
11806 * gdb.cp/smartp.exp
11807 * gdb.cp/static-method.exp
11808 * gdb.cp/static-print-quit.exp
11809 * gdb.cp/temargs.exp
11810 * gdb.cp/templates.exp
11811 * gdb.cp/try_catch.exp
11812 * gdb.cp/typedef-operator.exp
11813 * gdb.cp/typeid.exp
11814 * gdb.cp/userdef.exp
11815 * gdb.cp/using-crash.exp
11816 * gdb.cp/var-tag.exp
11817 * gdb.cp/virtbase.exp
11818 * gdb.cp/virtfunc.exp
11819 * gdb.cp/virtfunc2.exp
11820 * gdb.cp/vla-cxx.exp
11821 * gdb.disasm/t01_mov.exp
11822 * gdb.disasm/t02_mova.exp
11823 * gdb.disasm/t03_add.exp
11824 * gdb.disasm/t04_sub.exp
11825 * gdb.disasm/t05_cmp.exp
11826 * gdb.disasm/t06_ari2.exp
11827 * gdb.disasm/t07_ari3.exp
11828 * gdb.disasm/t08_or.exp
11829 * gdb.disasm/t09_xor.exp
11830 * gdb.disasm/t10_and.exp
11831 * gdb.disasm/t11_logs.exp
11832 * gdb.disasm/t12_bit.exp
11833 * gdb.disasm/t13_otr.exp
11834 * gdb.dlang/circular.exp
11835 * gdb.dwarf2/arr-stride.exp
11836 * gdb.dwarf2/arr-subrange.exp
11837 * gdb.dwarf2/atomic-type.exp
11838 * gdb.dwarf2/bad-regnum.exp
11839 * gdb.dwarf2/bitfield-parent-optimized-out.exp
11840 * gdb.dwarf2/callframecfa.exp
11841 * gdb.dwarf2/clztest.exp
11842 * gdb.dwarf2/corrupt.exp
11843 * gdb.dwarf2/data-loc.exp
11844 * gdb.dwarf2/dup-psym.exp
11845 * gdb.dwarf2/dw2-anon-mptr.exp
11846 * gdb.dwarf2/dw2-anonymous-func.exp
11847 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
11848 * gdb.dwarf2/dw2-bad-unresolved.exp
11849 * gdb.dwarf2/dw2-basic.exp
11850 * gdb.dwarf2/dw2-canonicalize-type.exp
11851 * gdb.dwarf2/dw2-case-insensitive.exp
11852 * gdb.dwarf2/dw2-common-block.exp
11853 * gdb.dwarf2/dw2-compdir-oldgcc.exp
11854 * gdb.dwarf2/dw2-compressed.exp
11855 * gdb.dwarf2/dw2-const.exp
11856 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
11857 * gdb.dwarf2/dw2-cu-size.exp
11858 * gdb.dwarf2/dw2-dup-frame.exp
11859 * gdb.dwarf2/dw2-entry-value.exp
11860 * gdb.dwarf2/dw2-icycle.exp
11861 * gdb.dwarf2/dw2-ifort-parameter.exp
11862 * gdb.dwarf2/dw2-inline-break.exp
11863 * gdb.dwarf2/dw2-inline-param.exp
11864 * gdb.dwarf2/dw2-intercu.exp
11865 * gdb.dwarf2/dw2-intermix.exp
11866 * gdb.dwarf2/dw2-lexical-block-bare.exp
11867 * gdb.dwarf2/dw2-linkage-name-trust.exp
11868 * gdb.dwarf2/dw2-minsym-in-cu.exp
11869 * gdb.dwarf2/dw2-noloc.exp
11870 * gdb.dwarf2/dw2-op-call.exp
11871 * gdb.dwarf2/dw2-op-out-param.exp
11872 * gdb.dwarf2/dw2-opt-structptr.exp
11873 * gdb.dwarf2/dw2-param-error.exp
11874 * gdb.dwarf2/dw2-producer.exp
11875 * gdb.dwarf2/dw2-ranges-base.exp
11876 * gdb.dwarf2/dw2-ref-missing-frame.exp
11877 * gdb.dwarf2/dw2-reg-undefined.exp
11878 * gdb.dwarf2/dw2-regno-invalid.exp
11879 * gdb.dwarf2/dw2-restore.exp
11880 * gdb.dwarf2/dw2-restrict.exp
11881 * gdb.dwarf2/dw2-single-line-discriminators.exp
11882 * gdb.dwarf2/dw2-strp.exp
11883 * gdb.dwarf2/dw2-undefined-ret-addr.exp
11884 * gdb.dwarf2/dw2-unresolved.exp
11885 * gdb.dwarf2/dw2-var-zero-addr.exp
11886 * gdb.dwarf2/dw4-sig-types.exp
11887 * gdb.dwarf2/dwz.exp
11888 * gdb.dwarf2/dynarr-ptr.exp
11889 * gdb.dwarf2/enum-type.exp
11890 * gdb.dwarf2/gdb-index.exp
11891 * gdb.dwarf2/implptr-64bit.exp
11892 * gdb.dwarf2/implptr-optimized-out.exp
11893 * gdb.dwarf2/implptr.exp
11894 * gdb.dwarf2/implref-array.exp
11895 * gdb.dwarf2/implref-const.exp
11896 * gdb.dwarf2/implref-global.exp
11897 * gdb.dwarf2/implref-struct.exp
11898 * gdb.dwarf2/mac-fileno.exp
11899 * gdb.dwarf2/main-subprogram.exp
11900 * gdb.dwarf2/member-ptr-forwardref.exp
11901 * gdb.dwarf2/method-ptr.exp
11902 * gdb.dwarf2/missing-sig-type.exp
11903 * gdb.dwarf2/nonvar-access.exp
11904 * gdb.dwarf2/opaque-type-lookup.exp
11905 * gdb.dwarf2/pieces-optimized-out.exp
11906 * gdb.dwarf2/pieces.exp
11907 * gdb.dwarf2/pr10770.exp
11908 * gdb.dwarf2/pr13961.exp
11909 * gdb.dwarf2/staticvirtual.exp
11910 * gdb.dwarf2/subrange.exp
11911 * gdb.dwarf2/symtab-producer.exp
11912 * gdb.dwarf2/trace-crash.exp
11913 * gdb.dwarf2/typeddwarf.exp
11914 * gdb.dwarf2/valop.exp
11915 * gdb.dwarf2/watch-notconst.exp
11916 * gdb.fortran/array-element.exp
11917 * gdb.fortran/charset.exp
11918 * gdb.fortran/common-block.exp
11919 * gdb.fortran/complex.exp
11920 * gdb.fortran/derived-type-function.exp
11921 * gdb.fortran/derived-type.exp
11922 * gdb.fortran/logical.exp
11923 * gdb.fortran/module.exp
11924 * gdb.fortran/multi-dim.exp
11925 * gdb.fortran/nested-funcs.exp
11926 * gdb.fortran/print-formatted.exp
11927 * gdb.fortran/subarray.exp
11928 * gdb.fortran/vla-alloc-assoc.exp
11929 * gdb.fortran/vla-datatypes.exp
11930 * gdb.fortran/vla-history.exp
11931 * gdb.fortran/vla-ptr-info.exp
11932 * gdb.fortran/vla-ptype-sub.exp
11933 * gdb.fortran/vla-ptype.exp
11934 * gdb.fortran/vla-sizeof.exp
11935 * gdb.fortran/vla-type.exp
11936 * gdb.fortran/vla-value-sub-arbitrary.exp
11937 * gdb.fortran/vla-value-sub-finish.exp
11938 * gdb.fortran/vla-value-sub.exp
11939 * gdb.fortran/vla-value.exp
11940 * gdb.fortran/whatis_type.exp
11941 * gdb.go/chan.exp
11942 * gdb.go/handcall.exp
11943 * gdb.go/hello.exp
11944 * gdb.go/integers.exp
11945 * gdb.go/methods.exp
11946 * gdb.go/package.exp
11947 * gdb.go/strings.exp
11948 * gdb.go/types.exp
11949 * gdb.go/unsafe.exp
11950 * gdb.guile/scm-arch.exp
11951 * gdb.guile/scm-block.exp
11952 * gdb.guile/scm-breakpoint.exp
11953 * gdb.guile/scm-cmd.exp
11954 * gdb.guile/scm-disasm.exp
11955 * gdb.guile/scm-equal.exp
11956 * gdb.guile/scm-frame-args.exp
11957 * gdb.guile/scm-frame-inline.exp
11958 * gdb.guile/scm-frame.exp
11959 * gdb.guile/scm-iterator.exp
11960 * gdb.guile/scm-math.exp
11961 * gdb.guile/scm-objfile.exp
11962 * gdb.guile/scm-ports.exp
11963 * gdb.guile/scm-symbol.exp
11964 * gdb.guile/scm-symtab.exp
11965 * gdb.guile/scm-value-cc.exp
11966 * gdb.guile/types-module.exp
11967 * gdb.linespec/break-ask.exp
11968 * gdb.linespec/cpexplicit.exp
11969 * gdb.linespec/explicit.exp
11970 * gdb.linespec/keywords.exp
11971 * gdb.linespec/linespec.exp
11972 * gdb.linespec/ls-dollar.exp
11973 * gdb.linespec/ls-errs.exp
11974 * gdb.linespec/skip-two.exp
11975 * gdb.linespec/thread.exp
11976 * gdb.mi/mi-async.exp
11977 * gdb.mi/mi-basics.exp
11978 * gdb.mi/mi-break.exp
11979 * gdb.mi/mi-catch-load.exp
11980 * gdb.mi/mi-cli.exp
11981 * gdb.mi/mi-cmd-param-changed.exp
11982 * gdb.mi/mi-console.exp
11983 * gdb.mi/mi-detach.exp
11984 * gdb.mi/mi-disassemble.exp
11985 * gdb.mi/mi-eval.exp
11986 * gdb.mi/mi-file-transfer.exp
11987 * gdb.mi/mi-file.exp
11988 * gdb.mi/mi-fill-memory.exp
11989 * gdb.mi/mi-inheritance-syntax-error.exp
11990 * gdb.mi/mi-linespec-err-cp.exp
11991 * gdb.mi/mi-logging.exp
11992 * gdb.mi/mi-memory-changed.exp
11993 * gdb.mi/mi-read-memory.exp
11994 * gdb.mi/mi-record-changed.exp
11995 * gdb.mi/mi-reg-undefined.exp
11996 * gdb.mi/mi-regs.exp
11997 * gdb.mi/mi-return.exp
11998 * gdb.mi/mi-reverse.exp
11999 * gdb.mi/mi-simplerun.exp
12000 * gdb.mi/mi-solib.exp
12001 * gdb.mi/mi-stack.exp
12002 * gdb.mi/mi-stepi.exp
12003 * gdb.mi/mi-syn-frame.exp
12004 * gdb.mi/mi-until.exp
12005 * gdb.mi/mi-var-block.exp
12006 * gdb.mi/mi-var-child.exp
12007 * gdb.mi/mi-var-cmd.exp
12008 * gdb.mi/mi-var-cp.exp
12009 * gdb.mi/mi-var-display.exp
12010 * gdb.mi/mi-var-invalidate.exp
12011 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
12012 * gdb.mi/mi-vla-fortran.exp
12013 * gdb.mi/mi-watch.exp
12014 * gdb.mi/mi2-var-child.exp
12015 * gdb.mi/user-selected-context-sync.exp
12016 * gdb.modula2/unbounded-array.exp
12017 * gdb.multi/dummy-frame-restore.exp
12018 * gdb.multi/multi-arch-exec.exp
12019 * gdb.multi/multi-arch.exp
12020 * gdb.multi/tids.exp
12021 * gdb.multi/watchpoint-multi.exp
12022 * gdb.opencl/callfuncs.exp
12023 * gdb.opencl/convs_casts.exp
12024 * gdb.opencl/datatypes.exp
12025 * gdb.opencl/operators.exp
12026 * gdb.opencl/vec_comps.exp
12027 * gdb.opt/clobbered-registers-O2.exp
12028 * gdb.opt/inline-break.exp
12029 * gdb.opt/inline-bt.exp
12030 * gdb.opt/inline-cmds.exp
12031 * gdb.opt/inline-locals.exp
12032 * gdb.pascal/case-insensitive-symbols.exp
12033 * gdb.pascal/floats.exp
12034 * gdb.pascal/gdb11492.exp
12035 * gdb.python/lib-types.exp
12036 * gdb.python/py-arch.exp
12037 * gdb.python/py-as-string.exp
12038 * gdb.python/py-bad-printers.exp
12039 * gdb.python/py-block.exp
12040 * gdb.python/py-breakpoint-create-fail.exp
12041 * gdb.python/py-breakpoint.exp
12042 * gdb.python/py-caller-is.exp
12043 * gdb.python/py-cmd.exp
12044 * gdb.python/py-explore-cc.exp
12045 * gdb.python/py-explore.exp
12046 * gdb.python/py-finish-breakpoint.exp
12047 * gdb.python/py-finish-breakpoint2.exp
12048 * gdb.python/py-frame-args.exp
12049 * gdb.python/py-frame-inline.exp
12050 * gdb.python/py-frame.exp
12051 * gdb.python/py-framefilter-mi.exp
12052 * gdb.python/py-infthread.exp
12053 * gdb.python/py-lazy-string.exp
12054 * gdb.python/py-linetable.exp
12055 * gdb.python/py-mi-events.exp
12056 * gdb.python/py-mi-objfile.exp
12057 * gdb.python/py-mi.exp
12058 * gdb.python/py-objfile.exp
12059 * gdb.python/py-pp-integral.exp
12060 * gdb.python/py-pp-maint.exp
12061 * gdb.python/py-pp-re-notag.exp
12062 * gdb.python/py-pp-registration.exp
12063 * gdb.python/py-recurse-unwind.exp
12064 * gdb.python/py-strfns.exp
12065 * gdb.python/py-symbol.exp
12066 * gdb.python/py-symtab.exp
12067 * gdb.python/py-sync-interp.exp
12068 * gdb.python/py-typeprint.exp
12069 * gdb.python/py-unwind-maint.exp
12070 * gdb.python/py-unwind.exp
12071 * gdb.python/py-value-cc.exp
12072 * gdb.python/py-xmethods.exp
12073 * gdb.reverse/amd64-tailcall-reverse.exp
12074 * gdb.reverse/break-precsave.exp
12075 * gdb.reverse/break-reverse.exp
12076 * gdb.reverse/consecutive-precsave.exp
12077 * gdb.reverse/consecutive-reverse.exp
12078 * gdb.reverse/finish-precsave.exp
12079 * gdb.reverse/finish-reverse-bkpt.exp
12080 * gdb.reverse/finish-reverse.exp
12081 * gdb.reverse/fstatat-reverse.exp
12082 * gdb.reverse/getresuid-reverse.exp
12083 * gdb.reverse/i386-precsave.exp
12084 * gdb.reverse/i386-reverse.exp
12085 * gdb.reverse/i386-sse-reverse.exp
12086 * gdb.reverse/i387-env-reverse.exp
12087 * gdb.reverse/i387-stack-reverse.exp
12088 * gdb.reverse/insn-reverse.exp
12089 * gdb.reverse/machinestate-precsave.exp
12090 * gdb.reverse/machinestate.exp
12091 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12092 * gdb.reverse/pipe-reverse.exp
12093 * gdb.reverse/readv-reverse.exp
12094 * gdb.reverse/recvmsg-reverse.exp
12095 * gdb.reverse/rerun-prec.exp
12096 * gdb.reverse/s390-mvcle.exp
12097 * gdb.reverse/step-precsave.exp
12098 * gdb.reverse/step-reverse.exp
12099 * gdb.reverse/time-reverse.exp
12100 * gdb.reverse/until-precsave.exp
12101 * gdb.reverse/until-reverse.exp
12102 * gdb.reverse/waitpid-reverse.exp
12103 * gdb.reverse/watch-precsave.exp
12104 * gdb.reverse/watch-reverse.exp
12105 * gdb.rust/generics.exp
12106 * gdb.rust/methods.exp
12107 * gdb.rust/modules.exp
12108 * gdb.rust/simple.exp
12109 * gdb.server/connect-with-no-symbol-file.exp
12110 * gdb.server/ext-attach.exp
12111 * gdb.server/ext-restart.exp
12112 * gdb.server/ext-wrapper.exp
12113 * gdb.server/file-transfer.exp
12114 * gdb.server/server-exec-info.exp
12115 * gdb.server/server-kill.exp
12116 * gdb.server/server-mon.exp
12117 * gdb.server/wrapper.exp
12118 * gdb.stabs/exclfwd.exp
12119 * gdb.stabs/gdb11479.exp
12120 * gdb.threads/clone-new-thread-event.exp
12121 * gdb.threads/corethreads.exp
12122 * gdb.threads/current-lwp-dead.exp
12123 * gdb.threads/dlopen-libpthread.exp
12124 * gdb.threads/gcore-thread.exp
12125 * gdb.threads/sigstep-threads.exp
12126 * gdb.threads/watchpoint-fork.exp
12127 * gdb.trace/actions-changed.exp
12128 * gdb.trace/backtrace.exp
12129 * gdb.trace/change-loc.exp
12130 * gdb.trace/circ.exp
12131 * gdb.trace/collection.exp
12132 * gdb.trace/disconnected-tracing.exp
12133 * gdb.trace/ftrace.exp
12134 * gdb.trace/mi-trace-frame-collected.exp
12135 * gdb.trace/mi-trace-unavailable.exp
12136 * gdb.trace/mi-traceframe-changed.exp
12137 * gdb.trace/mi-tsv-changed.exp
12138 * gdb.trace/no-attach-trace.exp
12139 * gdb.trace/passc-dyn.exp
12140 * gdb.trace/qtro.exp
12141 * gdb.trace/range-stepping.exp
12142 * gdb.trace/read-memory.exp
12143 * gdb.trace/save-trace.exp
12144 * gdb.trace/signal.exp
12145 * gdb.trace/status-stop.exp
12146 * gdb.trace/tfile.exp
12147 * gdb.trace/trace-break.exp
12148 * gdb.trace/trace-buffer-size.exp
12149 * gdb.trace/trace-condition.exp
12150 * gdb.trace/tracefile-pseudo-reg.exp
12151 * gdb.trace/tstatus.exp
12152 * gdb.trace/unavailable.exp
12153 * gdb.trace/while-dyn.exp
12154 * gdb.trace/while-stepping.exp
12155
34c41c68
DE
121562016-12-22 Doug Evans <xdje42@gmail.com>
12157
12158 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
12159 and msymbols.
12160
16e69324
YQ
121612016-12-19 Yao Qi <yao.qi@linaro.org>
12162
12163 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
12164 (test_with_self): Don't call do_steps_and_nexts, and remove
12165 code about stepping into xmalloc.
12166
f94f411b
YQ
121672016-12-09 Yao Qi <yao.qi@linaro.org>
12168
12169 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
12170
121712016-12-09 Yao Qi <yao.qi@linaro.org>
12172
12173 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
12174
f1b5deee
PA
121752016-12-09 Pedro Alves <palves@redhat.com>
12176
12177 * gdb.base/all-architectures-0.exp: New file.
12178 * gdb.base/all-architectures-1.exp: New file.
12179 * gdb.base/all-architectures-2.exp: New file.
12180 * gdb.base/all-architectures-3.exp: New file.
12181 * gdb.base/all-architectures-4.exp: New file.
12182 * gdb.base/all-architectures-5.exp: New file.
12183 * gdb.base/all-architectures-6.exp: New file.
12184 * gdb.base/all-architectures-7.exp: New file.
12185 * gdb.base/all-architectures.exp.in: New file.
12186
364ca42e
YQ
121872016-12-09 Yao Qi <yao.qi@linaro.org>
12188
12189 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
12190
107c2d62
LM
121912016-12-02 Luis Machado <lgustavo@codesourcery.com>
12192
12193 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
12194 possible.
12195 Remove useless pattern-matching code.
12196
df3ee9ca
PA
121972016-12-02 Pedro Alves <palves@redhat.com>
12198
12199 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
12200 procedure.
12201 (top level): Call it.
12202
ec835369
PA
122032016-12-02 Pedro Alves <palves@redhat.com>
12204
12205 * gdb.base/commands.exp (user_defined_command_args_stack_test):
12206 New procedure.
12207 (top level): Call it.
12208
01770bbd
PA
122092016-12-02 Pedro Alves <palves@redhat.com>
12210
12211 PR cli/20559
12212 * gdb.base/commands.exp (user_defined_command_args_eval): New
12213 procedure.
12214 (top level): Call it.
12215
008459ea
LM
122162016-12-02 Luis Machado <lgustavo@codesourcery.com>
12217
12218 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
12219 timeout handling.
12220
0c1b455e
TT
122212016-12-02 Tom Tromey <tom@tromey.com>
12222
12223 * gdb.dwarf2/main-subprogram.c: New file.
12224 * gdb.dwarf2/main-subprogram.exp: New file.
12225
018572b8
LM
122262016-12-01 Luis Machado <lgustavo@codesourcery.com>
12227
12228 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12229 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12230 gdb_test_no_output for a couple of cases.
12231 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12232
84c93cd5
LM
122332016-12-01 Luis Machado <lgustavo@codesourcery.com>
12234
12235 Fix test names and standardize compilation error messages throughout
12236 the following files:
12237
12238 * gdb.ada/start.exp
12239 * gdb.arch/alpha-step.exp
12240 * gdb.arch/e500-prologue.exp
12241 * gdb.arch/ftrace-insn-reloc.exp
12242 * gdb.arch/gdb1291.exp
12243 * gdb.arch/gdb1431.exp
12244 * gdb.arch/gdb1558.exp
12245 * gdb.arch/i386-dr3-watch.exp
12246 * gdb.arch/i386-sse-stack-align.exp
12247 * gdb.arch/ia64-breakpoint-shadow.exp
12248 * gdb.arch/pa-nullify.exp
12249 * gdb.arch/powerpc-aix-prologue.exp
12250 * gdb.arch/thumb-bx-pc.exp
12251 * gdb.base/annota1.exp
12252 * gdb.base/annota3.exp
12253 * gdb.base/arrayidx.exp
12254 * gdb.base/assign.exp
12255 * gdb.base/attach.exp
12256 * gdb.base/auxv.exp
12257 * gdb.base/bang.exp
12258 * gdb.base/bfp-test.exp
12259 * gdb.base/bigcore.exp
12260 * gdb.base/bitfields2.exp
12261 * gdb.base/break-fun-addr.exp
12262 * gdb.base/break-probes.exp
12263 * gdb.base/call-rt-st.exp
12264 * gdb.base/callexit.exp
12265 * gdb.base/catch-fork-kill.exp
12266 * gdb.base/charset.exp
12267 * gdb.base/checkpoint.exp
12268 * gdb.base/comprdebug.exp
12269 * gdb.base/constvars.exp
12270 * gdb.base/coredump-filter.exp
12271 * gdb.base/cursal.exp
12272 * gdb.base/cvexpr.exp
12273 * gdb.base/detach.exp
12274 * gdb.base/display.exp
12275 * gdb.base/dmsym.exp
12276 * gdb.base/dprintf-pending.exp
12277 * gdb.base/dso2dso.exp
12278 * gdb.base/dtrace-probe.exp
12279 * gdb.base/dump.exp
12280 * gdb.base/enum_cond.exp
12281 * gdb.base/exe-lock.exp
12282 * gdb.base/exec-invalid-sysroot.exp
12283 * gdb.base/execl-update-breakpoints.exp
12284 * gdb.base/exprs.exp
12285 * gdb.base/fileio.exp
12286 * gdb.base/find.exp
12287 * gdb.base/finish.exp
12288 * gdb.base/fixsection.exp
12289 * gdb.base/foll-vfork.exp
12290 * gdb.base/frame-args.exp
12291 * gdb.base/gcore.exp
12292 * gdb.base/gdb1250.exp
12293 * gdb.base/global-var-nested-by-dso.exp
12294 * gdb.base/gnu-ifunc.exp
12295 * gdb.base/hashline1.exp
12296 * gdb.base/hashline2.exp
12297 * gdb.base/hashline3.exp
12298 * gdb.base/hbreak-in-shr-unsupported.exp
12299 * gdb.base/huge.exp
12300 * gdb.base/infcall-input.exp
12301 * gdb.base/info-fun.exp
12302 * gdb.base/info-shared.exp
12303 * gdb.base/jit-simple.exp
12304 * gdb.base/jit-so.exp
12305 * gdb.base/jit.exp
12306 * gdb.base/jump.exp
12307 * gdb.base/label.exp
12308 * gdb.base/lineinc.exp
12309 * gdb.base/logical.exp
12310 * gdb.base/longjmp.exp
12311 * gdb.base/macscp.exp
12312 * gdb.base/miscexprs.exp
12313 * gdb.base/new-ui-echo.exp
12314 * gdb.base/new-ui-pending-input.exp
12315 * gdb.base/new-ui.exp
12316 * gdb.base/nodebug.exp
12317 * gdb.base/nofield.exp
12318 * gdb.base/offsets.exp
12319 * gdb.base/overlays.exp
12320 * gdb.base/pending.exp
12321 * gdb.base/pointers.exp
12322 * gdb.base/pr11022.exp
12323 * gdb.base/printcmds.exp
12324 * gdb.base/prologue.exp
12325 * gdb.base/ptr-typedef.exp
12326 * gdb.base/realname-expand.exp
12327 * gdb.base/relativedebug.exp
12328 * gdb.base/relocate.exp
12329 * gdb.base/remote.exp
12330 * gdb.base/reread.exp
12331 * gdb.base/return2.exp
12332 * gdb.base/savedregs.exp
12333 * gdb.base/sep.exp
12334 * gdb.base/sepdebug.exp
12335 * gdb.base/sepsymtab.exp
12336 * gdb.base/set-inferior-tty.exp
12337 * gdb.base/setshow.exp
12338 * gdb.base/shlib-call.exp
12339 * gdb.base/sigaltstack.exp
12340 * gdb.base/siginfo-addr.exp
12341 * gdb.base/signals.exp
12342 * gdb.base/signull.exp
12343 * gdb.base/sigrepeat.exp
12344 * gdb.base/so-impl-ld.exp
12345 * gdb.base/solib-display.exp
12346 * gdb.base/solib-overlap.exp
12347 * gdb.base/solib-search.exp
12348 * gdb.base/solib-symbol.exp
12349 * gdb.base/structs.exp
12350 * gdb.base/structs2.exp
12351 * gdb.base/symtab-search-order.exp
12352 * gdb.base/twice.exp
12353 * gdb.base/unload.exp
12354 * gdb.base/varargs.exp
12355 * gdb.base/watchpoint-solib.exp
12356 * gdb.base/watchpoint.exp
12357 * gdb.base/whatis.exp
12358 * gdb.base/wrong_frame_bt_full.exp
12359 * gdb.btrace/dlopen.exp
12360 * gdb.cell/ea-standalone.exp
12361 * gdb.cell/ea-test.exp
12362 * gdb.cp/dispcxx.exp
12363 * gdb.cp/gdb2384.exp
12364 * gdb.cp/method2.exp
12365 * gdb.cp/nextoverthrow.exp
12366 * gdb.cp/pr10728.exp
12367 * gdb.disasm/am33.exp
12368 * gdb.disasm/h8300s.exp
12369 * gdb.disasm/mn10300.exp
12370 * gdb.disasm/sh3.exp
12371 * gdb.dwarf2/dw2-dir-file-name.exp
12372 * gdb.fortran/complex.exp
12373 * gdb.fortran/library-module.exp
12374 * gdb.guile/scm-pretty-print.exp
12375 * gdb.guile/scm-symbol.exp
12376 * gdb.guile/scm-type.exp
12377 * gdb.guile/scm-value.exp
12378 * gdb.linespec/linespec.exp
12379 * gdb.mi/gdb701.exp
12380 * gdb.mi/gdb792.exp
12381 * gdb.mi/mi-breakpoint-changed.exp
12382 * gdb.mi/mi-dprintf-pending.exp
12383 * gdb.mi/mi-dprintf.exp
12384 * gdb.mi/mi-exit-code.exp
12385 * gdb.mi/mi-pending.exp
12386 * gdb.mi/mi-solib.exp
12387 * gdb.mi/new-ui-mi-sync.exp
12388 * gdb.mi/pr11022.exp
12389 * gdb.mi/user-selected-context-sync.exp
12390 * gdb.opt/solib-intra-step.exp
12391 * gdb.python/py-events.exp
12392 * gdb.python/py-finish-breakpoint.exp
12393 * gdb.python/py-mi.exp
12394 * gdb.python/py-prettyprint.exp
12395 * gdb.python/py-shared.exp
12396 * gdb.python/py-symbol.exp
12397 * gdb.python/py-template.exp
12398 * gdb.python/py-type.exp
12399 * gdb.python/py-value.exp
12400 * gdb.reverse/solib-precsave.exp
12401 * gdb.reverse/solib-reverse.exp
12402 * gdb.server/solib-list.exp
12403 * gdb.stabs/weird.exp
12404 * gdb.threads/reconnect-signal.exp
12405 * gdb.threads/stepi-random-signal.exp
12406 * gdb.trace/actions.exp
12407 * gdb.trace/ax.exp
12408 * gdb.trace/backtrace.exp
12409 * gdb.trace/change-loc.exp
12410 * gdb.trace/deltrace.exp
12411 * gdb.trace/ftrace-lock.exp
12412 * gdb.trace/ftrace.exp
12413 * gdb.trace/infotrace.exp
12414 * gdb.trace/mi-tracepoint-changed.exp
12415 * gdb.trace/packetlen.exp
12416 * gdb.trace/passcount.exp
12417 * gdb.trace/pending.exp
12418 * gdb.trace/range-stepping.exp
12419 * gdb.trace/report.exp
12420 * gdb.trace/stap-trace.exp
12421 * gdb.trace/tfind.exp
12422 * gdb.trace/trace-break.exp
12423 * gdb.trace/trace-condition.exp
12424 * gdb.trace/trace-enable-disable.exp
12425 * gdb.trace/trace-mt.exp
12426 * gdb.trace/tracecmd.exp
12427 * gdb.trace/tspeed.exp
12428 * gdb.trace/tsv.exp
12429 * lib/perftest.exp
12430
fb9feb35
LM
124312016-12-01 Luis Machado <lgustavo@codesourcery.com>
12432
12433 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
12434 with gdb_test_no_output.
12435 Use command as test name.
12436
cd2ddb6c
LM
124372016-12-01 Luis Machado <lgustavo@codesourcery.com>
12438
12439 Fix test names starting with uppercase throughout the files.
12440
12441 * gdb.ada/assign_1.exp
12442 * gdb.ada/boolean_expr.exp
12443 * gdb.base/arrayidx.exp
12444 * gdb.base/del.exp
12445 * gdb.base/gcore-buffer-overflow.exp
12446 * gdb.base/testenv.exp
12447 * gdb.compile/compile.exp
12448 * gdb.python/py-framefilter-invalidarg.exp
12449 * gdb.python/py-framefilter.exp
12450
bb95117e
LM
124512016-12-01 Luis Machado <lgustavo@codesourcery.com>
12452
12453 Fix test names starting with uppercase throughout the files.
12454
12455 * gdb.ada/array_return.exp
12456 * gdb.ada/expr_delims.exp
12457 * gdb.ada/mi_dyn_arr.exp
12458 * gdb.ada/mi_interface.exp
12459 * gdb.ada/mi_var_array.exp
12460 * gdb.ada/watch_arg.exp
12461 * gdb.arch/alpha-step.exp
12462 * gdb.arch/altivec-regs.exp
12463 * gdb.arch/e500-regs.exp
12464 * gdb.arch/powerpc-d128-regs.exp
12465 * gdb.base/arrayidx.exp
12466 * gdb.base/break.exp
12467 * gdb.base/checkpoint.exp
12468 * gdb.base/debug-expr.exp
12469 * gdb.base/dmsym.exp
12470 * gdb.base/radix.exp
12471 * gdb.base/sepdebug.exp
12472 * gdb.base/testenv.exp
12473 * gdb.base/watch_thread_num.exp
12474 * gdb.base/watchpoint-cond-gone.exp
12475 * gdb.cell/break.exp
12476 * gdb.cell/ea-cache.exp
12477 * gdb.compile/compile.exp
12478 * gdb.cp/gdb2495.exp
12479 * gdb.gdb/selftest.exp
12480 * gdb.gdb/xfullpath.exp
12481 * gdb.go/hello.exp
12482 * gdb.go/integers.exp
12483 * gdb.objc/basicclass.exp
12484 * gdb.pascal/hello.exp
12485 * gdb.pascal/integers.exp
12486 * gdb.python/py-breakpoint.exp
12487 * gdb.python/py-cmd.exp
12488 * gdb.python/py-linetable.exp
12489 * gdb.python/py-xmethods.exp
12490 * gdb.python/python.exp
12491 * gdb.reverse/consecutive-precsave.exp
12492 * gdb.reverse/finish-precsave.exp
12493 * gdb.reverse/i386-precsave.exp
12494 * gdb.reverse/machinestate-precsave.exp
12495 * gdb.reverse/sigall-precsave.exp
12496 * gdb.reverse/solib-precsave.exp
12497 * gdb.reverse/step-precsave.exp
12498 * gdb.reverse/until-precsave.exp
12499 * gdb.reverse/watch-precsave.exp
12500 * gdb.threads/leader-exit.exp
12501 * gdb.threads/pthreads.exp
12502 * gdb.threads/wp-replication.exp
12503 * gdb.trace/actions.exp
12504 * gdb.trace/mi-tsv-changed.exp
12505 * gdb.trace/tsv.exp
12506
de97fdd4
LM
125072016-12-01 Luis Machado <lgustavo@codesourcery.com>
12508
12509 Fix test names starting with uppercase throughout the files.
12510
12511 * gdb.arch/i386-bp_permanent.exp
12512 * gdb.arch/i386-gnu-cfi.exp
12513 * gdb.base/disasm-end-cu.exp
12514 * gdb.base/macscp.exp
12515 * gdb.base/pending.exp
12516 * gdb.base/watch_thread_num.exp
12517 * gdb.cp/exception.exp
12518 * gdb.cp/gdb2495.exp
12519 * gdb.cp/local.exp
12520 * gdb.python/py-evsignal.exp
12521 * gdb.python/python.exp
12522 * gdb.trace/tracecmd.exp
12523
9f058c10
LM
125242016-12-01 Luis Machado <lgustavo@codesourcery.com>
12525
12526 Fix test names starting with uppercase throughout the files.
12527
12528 * gdb.base/charset.exp
12529 * gdb.base/eval.exp
12530 * gdb.base/multi-forks.exp
12531 * gdb.guile/scm-progspace.exp
12532 * gdb.opencl/datatypes.exp
12533 * gdb.python/py-block.exp
12534 * gdb.python/py-function.exp
12535 * gdb.python/py-symbol.exp
12536 * gdb.python/py-symtab.exp
12537 * gdb.python/py-xmethods.exp
12538 * gdb.reverse/break-precsave.exp
12539 * gdb.reverse/break-reverse.exp
12540 * gdb.reverse/consecutive-precsave.exp
12541 * gdb.reverse/consecutive-reverse.exp
12542 * gdb.reverse/finish-precsave.exp
12543 * gdb.reverse/finish-reverse-bkpt.exp
12544 * gdb.reverse/finish-reverse.exp
12545 * gdb.reverse/fstatat-reverse.exp
12546 * gdb.reverse/getresuid-reverse.exp
12547 * gdb.reverse/i386-precsave.exp
12548 * gdb.reverse/i386-reverse.exp
12549 * gdb.reverse/i386-sse-reverse.exp
12550 * gdb.reverse/i387-stack-reverse.exp
12551 * gdb.reverse/insn-reverse.exp
12552 * gdb.reverse/machinestate-precsave.exp
12553 * gdb.reverse/machinestate.exp
12554 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12555 * gdb.reverse/pipe-reverse.exp
12556 * gdb.reverse/readv-reverse.exp
12557 * gdb.reverse/recvmsg-reverse.exp
12558 * gdb.reverse/rerun-prec.exp
12559 * gdb.reverse/s390-mvcle.exp
12560 * gdb.reverse/sigall-precsave.exp
12561 * gdb.reverse/sigall-reverse.exp
12562 * gdb.reverse/solib-precsave.exp
12563 * gdb.reverse/solib-reverse.exp
12564 * gdb.reverse/step-precsave.exp
12565 * gdb.reverse/step-reverse.exp
12566 * gdb.reverse/time-reverse.exp
12567 * gdb.reverse/until-precsave.exp
12568 * gdb.reverse/until-reverse.exp
12569 * gdb.reverse/waitpid-reverse.exp
12570 * gdb.reverse/watch-precsave.exp
12571 * gdb.reverse/watch-reverse.exp
12572
cdc7edd7
LM
125732016-12-01 Luis Machado <lgustavo@codesourcery.com>
12574
12575 Fix test names starting with uppercase throughout the files.
12576
12577 * gdb.arch/i386-mpx-simple_segv.exp
12578 * gdb.arch/i386-mpx.exp
12579 * gdb.arch/i386-permbkpt.exp
12580 * gdb.arch/pa-nullify.exp
12581 * gdb.arch/powerpc-d128-regs.exp
12582 * gdb.arch/vsx-regs.exp
12583 * gdb.base/bfp-test.exp
12584 * gdb.base/break.exp
12585 * gdb.base/breakpoint-shadow.exp
12586 * gdb.base/callfuncs.exp
12587 * gdb.base/charset.exp
12588 * gdb.base/commands.exp
12589 * gdb.base/completion.exp
12590 * gdb.base/dfp-test.exp
12591 * gdb.base/echo.exp
12592 * gdb.base/ending-run.exp
12593 * gdb.base/eval.exp
12594 * gdb.base/expand-psymtabs.exp
12595 * gdb.base/float128.exp
12596 * gdb.base/floatn.exp
12597 * gdb.base/foll-exec-mode.exp
12598 * gdb.base/gdb1056.exp
12599 * gdb.base/gdb11531.exp
12600 * gdb.base/kill-after-signal.exp
12601 * gdb.base/multi-forks.exp
12602 * gdb.base/overlays.exp
12603 * gdb.base/pending.exp
12604 * gdb.base/sepdebug.exp
12605 * gdb.base/testenv.exp
12606 * gdb.base/valgrind-db-attach.exp
12607 * gdb.base/watch_thread_num.exp
12608 * gdb.base/watchpoint-cond-gone.exp
12609 * gdb.base/watchpoint.exp
12610 * gdb.base/watchpoints.exp
12611 * gdb.cp/arg-reference.exp
12612 * gdb.cp/baseenum.exp
12613 * gdb.cp/operator.exp
12614 * gdb.cp/shadow.exp
12615 * gdb.dwarf2/dw2-op-out-param.exp
12616 * gdb.dwarf2/dw2-reg-undefined.exp
12617 * gdb.go/chan.exp
12618 * gdb.go/hello.exp
12619 * gdb.go/integers.exp
12620 * gdb.go/methods.exp
12621 * gdb.go/package.exp
12622 * gdb.guile/scm-parameter.exp
12623 * gdb.guile/scm-progspace.exp
12624 * gdb.guile/scm-value.exp
12625 * gdb.mi/mi-pending.exp
12626 * gdb.mi/user-selected-context-sync.exp
12627 * gdb.multi/multi-attach.exp
12628 * gdb.multi/tids.exp
12629 * gdb.opt/clobbered-registers-O2.exp
12630 * gdb.pascal/floats.exp
12631 * gdb.pascal/integers.exp
12632 * gdb.python/py-block.exp
12633 * gdb.python/py-events.exp
12634 * gdb.python/py-parameter.exp
12635 * gdb.python/py-symbol.exp
12636 * gdb.python/py-symtab.exp
12637 * gdb.python/py-type.exp
12638 * gdb.python/py-value.exp
12639 * gdb.python/py-xmethods.exp
12640 * gdb.python/python.exp
12641 * gdb.reverse/break-precsave.exp
12642 * gdb.reverse/consecutive-precsave.exp
12643 * gdb.reverse/finish-precsave.exp
12644 * gdb.reverse/i386-precsave.exp
12645 * gdb.reverse/machinestate-precsave.exp
12646 * gdb.reverse/sigall-precsave.exp
12647 * gdb.reverse/solib-precsave.exp
12648 * gdb.reverse/step-precsave.exp
12649 * gdb.reverse/until-precsave.exp
12650 * gdb.reverse/watch-precsave.exp
12651 * gdb.server/ext-attach.exp
12652 * gdb.server/ext-restart.exp
12653 * gdb.server/ext-run.exp
12654 * gdb.server/ext-wrapper.exp
12655 * gdb.stabs/gdb11479.exp
12656 * gdb.stabs/weird.exp
12657 * gdb.threads/attach-many-short-lived-threads.exp
12658 * gdb.threads/kill.exp
12659 * gdb.threads/watchpoint-fork.exp
12660
bc6c7af4
LM
126612016-12-01 Luis Machado <lgustavo@codesourcery.com>
12662
12663 Fix test names starting with uppercase throughout all the files below.
12664
12665 * gdb.ada/array_return.exp
12666 * gdb.ada/catch_ex.exp
12667 * gdb.ada/info_exc.exp
12668 * gdb.ada/mi_catch_ex.exp
12669 * gdb.ada/mi_dyn_arr.exp
12670 * gdb.ada/mi_ex_cond.exp
12671 * gdb.ada/mi_exc_info.exp
12672 * gdb.ada/mi_interface.exp
12673 * gdb.ada/mi_task_arg.exp
12674 * gdb.ada/mi_task_info.exp
12675 * gdb.ada/mi_var_array.exp
12676 * gdb.arch/alpha-step.exp
12677 * gdb.arch/amd64-disp-step.exp
12678 * gdb.arch/arm-disp-step.exp
12679 * gdb.arch/disp-step-insn-reloc.exp
12680 * gdb.arch/e500-prologue.exp
12681 * gdb.arch/ftrace-insn-reloc.exp
12682 * gdb.arch/gdb1558.exp
12683 * gdb.arch/i386-bp_permanent.exp
12684 * gdb.arch/i386-disp-step.exp
12685 * gdb.arch/i386-float.exp
12686 * gdb.arch/i386-gnu-cfi.exp
12687 * gdb.arch/ia64-breakpoint-shadow.exp
12688 * gdb.arch/mips16-thunks.exp
12689 * gdb.arch/pa-nullify.exp
12690 * gdb.arch/powerpc-aix-prologue.exp
12691 * gdb.arch/powerpc-power.exp
12692 * gdb.arch/ppc-dfp.exp
12693 * gdb.arch/s390-tdbregs.exp
12694 * gdb.arch/spu-info.exp
12695 * gdb.arch/spu-ls.exp
12696 * gdb.arch/thumb-bx-pc.exp
12697 * gdb.base/advance.exp
12698 * gdb.base/annota-input-while-running.exp
12699 * gdb.base/arrayidx.exp
12700 * gdb.base/asmlabel.exp
12701 * gdb.base/async.exp
12702 * gdb.base/attach-wait-input.exp
12703 * gdb.base/auto-connect-native-target.exp
12704 * gdb.base/batch-preserve-term-settings.exp
12705 * gdb.base/bfp-test.exp
12706 * gdb.base/bigcore.exp
12707 * gdb.base/bp-permanent.exp
12708 * gdb.base/break-always.exp
12709 * gdb.base/break-fun-addr.exp
12710 * gdb.base/break-idempotent.exp
12711 * gdb.base/break-main-file-remove-fail.exp
12712 * gdb.base/break-probes.exp
12713 * gdb.base/break-unload-file.exp
12714 * gdb.base/break.exp
12715 * gdb.base/call-ar-st.exp
12716 * gdb.base/call-rt-st.exp
12717 * gdb.base/call-sc.exp
12718 * gdb.base/call-signal-resume.exp
12719 * gdb.base/call-strs.exp
12720 * gdb.base/callexit.exp
12721 * gdb.base/callfuncs.exp
12722 * gdb.base/catch-gdb-caused-signals.exp
12723 * gdb.base/catch-signal-siginfo-cond.exp
12724 * gdb.base/catch-syscall.exp
12725 * gdb.base/compare-sections.exp
12726 * gdb.base/cond-eval-mode.exp
12727 * gdb.base/condbreak-call-false.exp
12728 * gdb.base/consecutive-step-over.exp
12729 * gdb.base/cursal.exp
12730 * gdb.base/disabled-location.exp
12731 * gdb.base/disasm-end-cu.exp
12732 * gdb.base/display.exp
12733 * gdb.base/double-prompt-target-event-error.exp
12734 * gdb.base/dprintf-bp-same-addr.exp
12735 * gdb.base/dprintf-detach.exp
12736 * gdb.base/dprintf-next.exp
12737 * gdb.base/dprintf-non-stop.exp
12738 * gdb.base/dprintf-pending.exp
12739 * gdb.base/dso2dso.exp
12740 * gdb.base/ending-run.exp
12741 * gdb.base/enum_cond.exp
12742 * gdb.base/examine-backward.exp
12743 * gdb.base/exe-lock.exp
12744 * gdb.base/exec-invalid-sysroot.exp
12745 * gdb.base/execl-update-breakpoints.exp
12746 * gdb.base/execution-termios.exp
12747 * gdb.base/fileio.exp
12748 * gdb.base/fixsection.exp
12749 * gdb.base/foll-exec-mode.exp
12750 * gdb.base/foll-exec.exp
12751 * gdb.base/fork-running-state.exp
12752 * gdb.base/frame-args.exp
12753 * gdb.base/fullpath-expand.exp
12754 * gdb.base/func-ptr.exp
12755 * gdb.base/gcore-relro-pie.exp
12756 * gdb.base/gdb1090.exp
12757 * gdb.base/gdb1555.exp
12758 * gdb.base/global-var-nested-by-dso.exp
12759 * gdb.base/gnu-ifunc.exp
12760 * gdb.base/hbreak-in-shr-unsupported.exp
12761 * gdb.base/hbreak-unmapped.exp
12762 * gdb.base/hook-stop.exp
12763 * gdb.base/infcall-input.exp
12764 * gdb.base/info-fun.exp
12765 * gdb.base/info-shared.exp
12766 * gdb.base/interrupt-noterm.exp
12767 * gdb.base/jit-so.exp
12768 * gdb.base/jit.exp
12769 * gdb.base/line-symtabs.exp
12770 * gdb.base/list.exp
12771 * gdb.base/longjmp.exp
12772 * gdb.base/macscp.exp
12773 * gdb.base/max-value-size.exp
12774 * gdb.base/nodebug.exp
12775 * gdb.base/nofield.exp
12776 * gdb.base/overlays.exp
12777 * gdb.base/paginate-after-ctrl-c-running.exp
12778 * gdb.base/paginate-bg-execution.exp
12779 * gdb.base/paginate-inferior-exit.exp
12780 * gdb.base/pending.exp
12781 * gdb.base/pr11022.exp
12782 * gdb.base/printcmds.exp
12783 * gdb.base/ptr-typedef.exp
12784 * gdb.base/ptype.exp
12785 * gdb.base/randomize.exp
12786 * gdb.base/range-stepping.exp
12787 * gdb.base/realname-expand.exp
12788 * gdb.base/relativedebug.exp
12789 * gdb.base/remote.exp
12790 * gdb.base/savedregs.exp
12791 * gdb.base/sepdebug.exp
12792 * gdb.base/set-noassign.exp
12793 * gdb.base/shlib-call.exp
12794 * gdb.base/shreloc.exp
12795 * gdb.base/sigaltstack.exp
12796 * gdb.base/sigbpt.exp
12797 * gdb.base/siginfo-addr.exp
12798 * gdb.base/siginfo-obj.exp
12799 * gdb.base/siginfo-thread.exp
12800 * gdb.base/signest.exp
12801 * gdb.base/signull.exp
12802 * gdb.base/sigrepeat.exp
12803 * gdb.base/skip.exp
12804 * gdb.base/so-impl-ld.exp
12805 * gdb.base/solib-corrupted.exp
12806 * gdb.base/solib-disc.exp
12807 * gdb.base/solib-display.exp
12808 * gdb.base/solib-overlap.exp
12809 * gdb.base/solib-search.exp
12810 * gdb.base/solib-symbol.exp
12811 * gdb.base/source-execution.exp
12812 * gdb.base/sss-bp-on-user-bp-2.exp
12813 * gdb.base/sss-bp-on-user-bp.exp
12814 * gdb.base/stack-checking.exp
12815 * gdb.base/stale-infcall.exp
12816 * gdb.base/step-break.exp
12817 * gdb.base/step-line.exp
12818 * gdb.base/step-over-exit.exp
12819 * gdb.base/step-test.exp
12820 * gdb.base/structs.exp
12821 * gdb.base/sym-file.exp
12822 * gdb.base/symtab-search-order.exp
12823 * gdb.base/term.exp
12824 * gdb.base/type-opaque.exp
12825 * gdb.base/unload.exp
12826 * gdb.base/until-nodebug.exp
12827 * gdb.base/until.exp
12828 * gdb.base/unwindonsignal.exp
12829 * gdb.base/watch-cond.exp
12830 * gdb.base/watch-non-mem.exp
12831 * gdb.base/watch_thread_num.exp
12832 * gdb.base/watchpoint-reuse-slot.exp
12833 * gdb.base/watchpoint-solib.exp
12834 * gdb.base/watchpoint.exp
12835 * gdb.btrace/dlopen.exp
12836 * gdb.cell/arch.exp
12837 * gdb.cell/break.exp
12838 * gdb.cell/bt.exp
12839 * gdb.cell/core.exp
12840 * gdb.cell/data.exp
12841 * gdb.cell/dwarfaddr.exp
12842 * gdb.cell/ea-cache.exp
12843 * gdb.cell/ea-standalone.exp
12844 * gdb.cell/ea-test.exp
12845 * gdb.cell/f-regs.exp
12846 * gdb.cell/fork.exp
12847 * gdb.cell/gcore.exp
12848 * gdb.cell/mem-access.exp
12849 * gdb.cell/ptype.exp
12850 * gdb.cell/registers.exp
12851 * gdb.cell/sizeof.exp
12852 * gdb.cell/solib-symbol.exp
12853 * gdb.cell/solib.exp
12854 * gdb.compile/compile-tls.exp
12855 * gdb.cp/exception.exp
12856 * gdb.cp/gdb2495.exp
12857 * gdb.cp/local.exp
12858 * gdb.cp/mb-inline.exp
12859 * gdb.cp/mb-templates.exp
12860 * gdb.cp/pr10687.exp
12861 * gdb.cp/pr9167.exp
12862 * gdb.cp/scope-err.exp
12863 * gdb.cp/templates.exp
12864 * gdb.cp/virtfunc.exp
12865 * gdb.dwarf2/dw2-dir-file-name.exp
12866 * gdb.dwarf2/dw2-single-line-discriminators.exp
12867 * gdb.fortran/complex.exp
12868 * gdb.fortran/library-module.exp
12869 * gdb.guile/guile.exp
12870 * gdb.guile/scm-cmd.exp
12871 * gdb.guile/scm-frame-inline.exp
12872 * gdb.guile/scm-objfile.exp
12873 * gdb.guile/scm-pretty-print.exp
12874 * gdb.guile/scm-symbol.exp
12875 * gdb.guile/scm-type.exp
12876 * gdb.guile/scm-value.exp
12877 * gdb.linespec/keywords.exp
12878 * gdb.linespec/ls-errs.exp
12879 * gdb.linespec/macro-relative.exp
12880 * gdb.linespec/thread.exp
12881 * gdb.mi/mi-breakpoint-changed.exp
12882 * gdb.mi/mi-dprintf-pending.exp
12883 * gdb.mi/mi-fullname-deleted.exp
12884 * gdb.mi/mi-logging.exp
12885 * gdb.mi/mi-pending.exp
12886 * gdb.mi/mi-solib.exp
12887 * gdb.mi/new-ui-mi-sync.exp
12888 * gdb.mi/user-selected-context-sync.exp
12889 * gdb.multi/dummy-frame-restore.exp
12890 * gdb.multi/multi-arch-exec.exp
12891 * gdb.multi/remove-inferiors.exp
12892 * gdb.multi/watchpoint-multi-exit.exp
12893 * gdb.opt/solib-intra-step.exp
12894 * gdb.perf/backtrace.exp
12895 * gdb.perf/single-step.exp
12896 * gdb.perf/skip-command.exp
12897 * gdb.perf/skip-prologue.exp
12898 * gdb.perf/solib.exp
12899 * gdb.python/lib-types.exp
12900 * gdb.python/py-as-string.exp
12901 * gdb.python/py-bad-printers.exp
12902 * gdb.python/py-block.exp
12903 * gdb.python/py-breakpoint.exp
12904 * gdb.python/py-cmd.exp
12905 * gdb.python/py-events.exp
12906 * gdb.python/py-evthreads.exp
12907 * gdb.python/py-finish-breakpoint.exp
12908 * gdb.python/py-finish-breakpoint2.exp
12909 * gdb.python/py-frame-inline.exp
12910 * gdb.python/py-frame.exp
12911 * gdb.python/py-inferior.exp
12912 * gdb.python/py-infthread.exp
12913 * gdb.python/py-mi.exp
12914 * gdb.python/py-objfile.exp
12915 * gdb.python/py-pp-maint.exp
12916 * gdb.python/py-pp-registration.exp
12917 * gdb.python/py-prettyprint.exp
12918 * gdb.python/py-recurse-unwind.exp
12919 * gdb.python/py-shared.exp
12920 * gdb.python/py-symbol.exp
12921 * gdb.python/py-symtab.exp
12922 * gdb.python/py-template.exp
12923 * gdb.python/py-type.exp
12924 * gdb.python/py-unwind-maint.exp
12925 * gdb.python/py-unwind.exp
12926 * gdb.python/py-value.exp
12927 * gdb.python/python.exp
12928 * gdb.reverse/finish-reverse-bkpt.exp
12929 * gdb.reverse/insn-reverse.exp
12930 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12931 * gdb.reverse/solib-precsave.exp
12932 * gdb.reverse/solib-reverse.exp
12933 * gdb.stabs/gdb11479.exp
12934 * gdb.stabs/weird.exp
12935 * gdb.threads/fork-child-threads.exp
12936 * gdb.threads/fork-plus-threads.exp
12937 * gdb.threads/fork-thread-pending.exp
12938 * gdb.threads/forking-threads-plus-breakpoint.exp
12939 * gdb.threads/hand-call-in-threads.exp
12940 * gdb.threads/interrupted-hand-call.exp
12941 * gdb.threads/linux-dp.exp
12942 * gdb.threads/local-watch-wrong-thread.exp
12943 * gdb.threads/next-while-other-thread-longjmps.exp
12944 * gdb.threads/non-ldr-exit.exp
12945 * gdb.threads/pending-step.exp
12946 * gdb.threads/print-threads.exp
12947 * gdb.threads/process-dies-while-detaching.exp
12948 * gdb.threads/process-dies-while-handling-bp.exp
12949 * gdb.threads/pthreads.exp
12950 * gdb.threads/queue-signal.exp
12951 * gdb.threads/reconnect-signal.exp
12952 * gdb.threads/signal-command-handle-nopass.exp
12953 * gdb.threads/signal-command-multiple-signals-pending.exp
12954 * gdb.threads/signal-delivered-right-thread.exp
12955 * gdb.threads/signal-sigtrap.exp
12956 * gdb.threads/sigthread.exp
12957 * gdb.threads/staticthreads.exp
12958 * gdb.threads/stepi-random-signal.exp
12959 * gdb.threads/thread-unwindonsignal.exp
12960 * gdb.threads/thread_check.exp
12961 * gdb.threads/thread_events.exp
12962 * gdb.threads/tid-reuse.exp
12963 * gdb.threads/tls-nodebug.exp
12964 * gdb.threads/tls-shared.exp
12965 * gdb.threads/tls-so_extern.exp
12966 * gdb.threads/tls.exp
12967 * gdb.threads/wp-replication.exp
12968 * gdb.trace/actions-changed.exp
12969 * gdb.trace/actions.exp
12970 * gdb.trace/backtrace.exp
12971 * gdb.trace/change-loc.exp
12972 * gdb.trace/collection.exp
12973 * gdb.trace/deltrace.exp
12974 * gdb.trace/disconnected-tracing.exp
12975 * gdb.trace/entry-values.exp
12976 * gdb.trace/ftrace-lock.exp
12977 * gdb.trace/ftrace.exp
12978 * gdb.trace/infotrace.exp
12979 * gdb.trace/mi-trace-frame-collected.exp
12980 * gdb.trace/mi-trace-unavailable.exp
12981 * gdb.trace/mi-traceframe-changed.exp
12982 * gdb.trace/mi-tracepoint-changed.exp
12983 * gdb.trace/mi-tsv-changed.exp
12984 * gdb.trace/no-attach-trace.exp
12985 * gdb.trace/packetlen.exp
12986 * gdb.trace/passc-dyn.exp
12987 * gdb.trace/passcount.exp
12988 * gdb.trace/pending.exp
12989 * gdb.trace/pr16508.exp
12990 * gdb.trace/qtro.exp
12991 * gdb.trace/range-stepping.exp
12992 * gdb.trace/read-memory.exp
12993 * gdb.trace/report.exp
12994 * gdb.trace/save-trace.exp
12995 * gdb.trace/signal.exp
12996 * gdb.trace/stap-trace.exp
12997 * gdb.trace/status-stop.exp
12998 * gdb.trace/strace.exp
12999 * gdb.trace/tfile.exp
13000 * gdb.trace/tfind.exp
13001 * gdb.trace/trace-break.exp
13002 * gdb.trace/trace-condition.exp
13003 * gdb.trace/trace-enable-disable.exp
13004 * gdb.trace/trace-mt.exp
13005 * gdb.trace/tracecmd.exp
13006 * gdb.trace/tracefile-pseudo-reg.exp
13007 * gdb.trace/tspeed.exp
13008 * gdb.trace/tstatus.exp
13009 * gdb.trace/tsv.exp
13010 * gdb.trace/unavailable.exp
13011 * gdb.trace/while-dyn.exp
13012 * gdb.trace/while-stepping.exp
13013 * lib/gdb-guile.exp
13014 * lib/gdb.exp
13015 * lib/mi-support.exp
13016 * lib/pascal.exp
13017 * lib/perftest.exp
13018 * lib/prelink-support.exp
13019 * lib/selftest-support.exp
13020
ad02e4fe
SM
130212016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
13022
13023 * Makefile.in: Include disable-implicit-rules.mk.
13024
22347e55
AA
130252016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13026
13027 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
13028 non-byte-aligned bit fields.
13029
da5b30da
AA
130302016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13031
13032 PR gdb/12616
13033 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
13034 respects the DW_AT_data_bit_offset attribute.
13035
b593ecca
SM
130362016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
13037
13038 * gdb.base/default.exp: Fix output of "set language".
13039
3b165252
SM
130402016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
13041
13042 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
13043 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
13044 make.
13045 * configure.ac: Remove checks for the make program.
13046 * configure: Re-generate.
13047
1a2f3d7f
KB
130482016-11-16 Kevin Buettner <kevinb@redhat.com>
13049
13050 * gdb.python/py-recurse-unwind.c (main): Add loop.
13051 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
13052 to read_register() and gdb.parse_and_eval(). Make each code
13053 call a separate case that can be individually tested.
13054 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
13055 proc. Call cont_and_backtrace for each of the code paths that
13056 we want to test in the unwinder.
13057
b7f38fda
AA
130582016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
13059
13060 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
13061 the definition of struct S.
13062
1f8db343
CM
130632016-11-11 Catherine Moore <clm@codesourcery.com>
13064
13065 * gdb.base/dump.exp: Identify verilog format dump tests as such.
13066
fad0c9fb
PA
130672016-11-09 Pedro Alves <palves@redhat.com>
13068
13069 * gdb.base/commands.exp (runto_or_return): New procedure.
13070 (gdbvar_simple_if_test, gdbvar_simple_while_test)
13071 (gdbvar_complex_if_while_test, progvar_simple_if_test)
13072 (progvar_simple_while_test, progvar_complex_if_while_test)
13073 (if_while_breakpoint_command_test)
13074 (infrun_breakpoint_command_test, breakpoint_command_test)
13075 (user_defined_command_test, watchpoint_command_test)
13076 (test_command_prompt_position, redefine_hook_test)
13077 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
13078 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
13079 multi_line_input and multi_line. Remove gdb_expect and
13080 gdb_stop_suppressing_tests uses.
13081 * lib/gdb.exp (valnum_re): New global.
13082 (multi_line_input): New procedure.
13083
8354c62c
SM
130842016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
13085
13086 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
13087 Remove.
13088 (test_setup): Define with proc_with_prefix.
13089 (test_cli_inferior): Likewise.
13090 (test_cli_thread): Likewise.
13091 (test_cli_frame): Likewise.
13092 (test_cli_select_frame): Likewise.
13093 (test_cli_up_down): Likewise.
13094 (test_mi_thread_select): Likewise.
13095 (test_mi_stack_select_frame): Likewise.
13096 (test_cli_in_mi_inferior): Likewise.
13097 (test_cli_in_mi_thread): Likewise.
13098 (test_cli_in_mi_frame): Likewise.
13099 (top level): Do not use with_test_prefix_procname.
13100
64f367a2
PA
131012016-11-09 Pedro Alves <palves@redhat.com>
13102
13103 * gdb.base/commands.exp (gdbvar_simple_if_test)
13104 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
13105 (progvar_simple_if_test, progvar_simple_while_test)
13106 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
13107 (infrun_breakpoint_command_test, breakpoint_command_test)
13108 (user_defined_command_test, watchpoint_command_test)
13109 (test_command_prompt_position, deprecated_command_test)
13110 (bp_deleted_in_command, temporary_breakpoint_commands)
13111 (stray_arg0_test, source_file_with_indented_comment)
13112 (recursive_source_test, if_commands_test)
13113 (error_clears_commands_left, redefine_hook_test)
13114 (redefine_backtrace_test): Use proc_with_prefix.
13115 * lib/gdb.exp (proc_with_prefix): New proc.
13116
0bb65f1e
AA
131172016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13118
13119 * gdb.base/tui-layout.c: New file.
13120 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
13121 disassembly window contains very long lines.
13122
7353f247
TT
131232016-11-08 Tom Tromey <tom@tromey.com>
13124
13125 * gdb.python/py-value.exp (test_value_creation): Make "long" test
13126 depend on Python 2.
13127
30a7bb83
TT
131282016-11-08 Tom Tromey <tom@tromey.com>
13129
13130 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
13131 New method.
13132
cdf5a07c
MG
131332016-10-29 Manish Goregaokar <manish@mozilla.com>
13134
2806dc7e 13135 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 13136
51a789c3
MG
131372016-10-27 Manish Goregaokar <manish@mozilla.com>
13138
2806dc7e
PA
13139 * gdb.rust/simple.rs: Add test for univariant enums without
13140 discriminants and for encoded struct-like enums.
51a789c3 13141
f610ab6d
PA
131422016-10-28 Pedro Alves <palves@redhat.com>
13143
13144 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13145 gdb_test_multiple, tighten regexps and match symtabs and line
13146 tables incrementally.
13147
b129b0ca
LM
131482016-10-28 Luis Machado <lgustavo@codesourcery.com>
13149
13150 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
13151 general.
13152
ecf45d2c
SL
131532016-10-25 Luis Machado <lgustavo@codesourcery.com>
13154
13155 * gdb.base/exec-invalid-sysroot.exp: New file.
13156
b8d38ee4
JK
131572016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13158
13159 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13160
f90fd8c2
JK
131612016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13162
13163 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
13164
2d2476aa
MR
131652016-10-19 Maciej W. Rozycki <macro@imgtec.com>
13166
2806dc7e
PA
13167 * gdb.base/killed-outside.exp: Remove $options from a call to
13168 `prepare_for_testing'.
2d2476aa 13169
e42b25a0
SM
131702016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13171
13172 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13173 Change test message.
13174
3ccdb432
SM
131752016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13176
13177 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13178 Update comment.
13179
5bad3170
SM
131802016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13181
13182 * gdb.trace/mi-trace-save.exp: New file.
13183
5ad9dba7
YQ
131842016-10-13 Yao Qi <yao.qi@linaro.org>
13185
13186 * gdb.base/code_elim.exp (get_var_address): Remove.
13187 * gdb.base/relocate.exp: Likewise.
13188 * gdb.base/shreloc.exp: Likewise.
13189 * lib/gdb.exp (get_var_address): New.
13190
62df7e21
YQ
131912016-10-13 Yao Qi <yao.qi@linaro.org>
13192
13193 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
13194 floating point tests if $skip_float_test is false.
13195
4dac951e
LM
131962016-10-12 Luis Machado <lgustavo@codesourcery.com>
13197
13198 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
13199 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
13200 argc values.
13201 Add 1 to argc so we guarantee distinct initial/modified argc values.
13202
8f1a8fc4
JK
132032016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13204
13205 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
13206
16c85b5d
JK
132072016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13208
13209 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
13210 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
13211 * gdb.arch/vsx-regs.exp: Likewise.
13212
1d0e042a
YQ
132132016-10-07 Yao Qi <yao.qi@linaro.org>
13214
13215 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
13216
68dadef5
MM
132172016-10-07 Markus Metzger <markus.t.metzger@intel.com>
13218
13219 * gdb.python/python.exp: Test decode_line("*0").
13220
33fa2c6e
DE
132212016-10-06 Doug Evans <dje@google.com>
13222
13223 * gdb.python/py-value.exp (test_value_creation): Add test for large
13224 unsigned 64-bit value.
13225
9c37b5ae
TT
132262016-10-06 Tom Tromey <tom@tromey.com>
13227
13228 * gdb.compile/compile.exp: Change java tests to rust.
13229 * gdb.base/setshow.exp: Change java tests to rust.
13230 * gdb.base/default.exp: Remove java from language list.
13231 * README (Examples): Update language example.
13232 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13233 test.
13234 * lib/gdb.exp (skip_java_tests): Remove.
13235 * lib/java.exp: Remove.
13236 * gdb.java: Remove.
13237
78b86327
MR
132382016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13239
13240 * gdb.arch/mips-fcr.exp: New test.
13241 * gdb.arch/mips-fcr.c: Source for the new test.
13242
7470adbb
MR
132432016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13244
13245 * gdb.base/solib-disc.exp: Use `standard_output_file'
13246 throughout.
13247
4a556533
PA
132482016-10-06 Pedro Alves <palves@redhat.com>
13249
13250 * gdb.base/jit-simple-dl.c: New file.
13251 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13252 * gdb.base/jit-simple.c: ... this.
13253 * gdb.base/jit-simple.exp (jit_run): Delete.
13254 (build_jit): New proc.
13255 (jit_test_reread): Recompile either the main program or the shared
13256 library, depending on what is being tested. Skip changing address
13257 if caller wants to. Compare before/after addresses. If testing
13258 standalone, explicitly load the binary. Test "maint info
13259 breakpoints".
13260 (top level): Add "standalone vs shared lib" and "change address"
13261 vs "same address" axes.
13262
5a122fbc
PA
132632016-10-06 Pedro Alves <palves@redhat.com>
13264
13265 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13266 call.
13267 (jit_run): Delete.
13268 (jit_test_reread): Use with_test_prefix. Reload the main binary
13269 explicitly. Compare the before/after addresses of the JIT
13270 descriptor.
13271
ee8da4b8
DE
132722016-08-15 Doug Evans <dje@google.com>
13273
13274 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13275 for single bitfields is bool.
13276 * gdb.xml/tdesc-regs.exp: Ditto.
13277
f389f6fe
JK
132782016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13279
13280 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13281
fdebf1a4
YQ
132822016-10-05 Yao Qi <yao.qi@linaro.org>
13283
13284 * lib/gdb.exp (support_complex_tests): Return zero if
13285 gdb_skip_float_test return true.
13286
9c36d954 132872016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13288 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
13289
13290 PR gdb/20487
13291 * gdb.mi/user-selected-context-sync.exp: New file.
13292 * gdb.mi/user-selected-context-sync.c: New file.
13293
4034d0ff 132942016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13295 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
13296
13297 PR gdb/20487
13298 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13299 =thread-select-event check.
13300
a4297203
PB
133012016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13302
13303 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13304 the compulsory L operand changes.
13305 * gdb.arch/powerpc-power.s: Likewise.
13306
bb805577
JK
133072016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13308
13309 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13310 * gdb.base/jit-attach-pie.c: New file.
13311 * gdb.base/jit-attach-pie.exp: New file.
13312
6d61dee5
PA
133132016-09-28 Pedro Alves <palves@redhat.com>
13314
13315 * gdb.base/infcall-input.c: New file.
13316 * gdb.base/infcall-input.exp: New file.
13317
f73842fc
YQ
133182016-09-22 Yao Qi <yao.qi@linaro.org>
13319
13320 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13321 (gdb_exit): Rename it to ...
13322 (gdbserver_gdb_exit): ... Close GDBserver.
13323 (gdb_exit): New proc, call gdbserver_gdb_exit.
13324 (mi_gdb_exit): Likewise.
13325
90681dab
YQ
133262016-09-22 Yao Qi <yao.qi@linaro.org>
13327
13328 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13329 path.
13330 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13331 Remove duplication.
13332
9c211fd8
YQ
133332016-09-22 Yao Qi <yao.qi@linaro.org>
13334
13335 * lib/gdbserver-support.exp: Check the existence of
13336 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13337
ad0a504f
AK
133382016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13339
13340 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13341
36cf1806
TT
133422016-09-21 Tom Tromey <tom@tromey.com>
13343
13344 PR gdb/20604:
13345 * gdb.base/quit.exp: New file.
13346
74172ecf
SM
133472016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13348
13349 * .gitignore: New file.
13350
3d0ec882
MR
133512016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13352
13353 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13354 throughout.
13355
8193adea
AA
133562016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13357
13358 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13359
d41a5c09
JK
133602016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13361
13362 * gdb.cp/casts.cc (decltype): Move it ...
13363 (main): ... with its call to ...
13364 * gdb.cp/casts03.cc: ... a new file.
13365 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13366
d2dfe700
JK
133672016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13368
13369 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13370
e2a92b16
PB
133712016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13372
13373 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13374 and sync up the test with tests in gas/testsuite/gas/ppc.
13375 * gdb.arch/powerpc-power.exp: Likewise.
13376
49b4de64
JK
133772016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13378
13379 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13380
2c29df25
SDJ
133812016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13382 Jan Kratochvil <jan.kratochvil@redhat.com>
13383
13384 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13385 make m1's definition to be different from m2's. Use 'dummy' as an
13386 argument for probe 'two'.
13387
cc3c2846
JB
133882016-09-10 Jon Beniston <jon@beniston.com>
13389
13390 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13391 for sim target.
13392
e1b2624a
AA
133932016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13394
13395 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13396 variable declaration.
13397 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13398 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13399 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13400 received HWCAP as its argument.
13401
4295e285
PA
134022016-09-06 Pedro Alves <palves@redhat.com>
13403
13404 * gdb.base/new-ui-pending-input.c: New file.
13405 * gdb.base/new-ui-pending-input.exp: New file.
13406 * gdb.exp (clear_gdb_spawn_id): New procedure.
13407 (with_spawn_id): Check whether gdb_spawn_id exists before
13408 referencing it. If gdb_spawn_id didn't exist on entry, clear it
13409 on exit.
13410
00d5215e
UW
134112016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13412
13413 * gdb.base/float128.c: New file.
13414 * gdb.base/float128.exp: Likewise.
13415 * gdb.base/floatn.c: Likewise.
13416 * gdb.base/floatn.exp: Likewise.
13417
a9ff5f12
UW
134182016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13419
13420 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
13421
f245535c
PA
134222016-09-05 Pedro Alves <palves@redhat.com>
13423
13424 PR backtrace/19927
13425 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
13426 unwinders are immediately called as side effect of "source" or
13427 "disable unwinder" commands.
13428 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
13429
ae9cf263
YQ
134302016-09-02 Yao Qi <yao.qi@linaro.org>
13431
13432 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
13433 is true and $type is "float" or "double".
13434
27aba047
YQ
134352016-09-02 Yao Qi <yao.qi@linaro.org>
13436
13437 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
13438 true.
13439 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
13440 * gdb.base/call-rt-st.exp: Likewise.
13441 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13442 return value instead of gdb,skip_float_test.
13443 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
13444 (do_function_calls): Use its return value instead of
13445 gdb,skip_float_test.
13446 * gdb.base/finish.exp: Likewise.
13447 * gdb.base/funcargs.exp: Likewise.
13448 * gdb.base/return.exp: Likewise.
13449 * gdb.base/return2.exp: Likewise.
13450 * gdb.base/varargs.exp: Likewise.
13451 * lib/gdb.exp (gdb_skip_float_test): Change it to
13452 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13453
5af962df
AA
134542016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13455
13456 * gdb.multi/tids.exp: Test "thread apply all".
13457
7fac6910
JK
134582016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13459
13460 * gdb.base/default.exp (tty): Remove.
13461
bb1fe4ac
KB
134622016-08-24 Kevin Buettner <kevinb@redhat.com>
13463
2806dc7e
PA
13464 * gdb.python/py-recurse-unwind.c: New file.
13465 * gdb.python/py-recurse-unwind.py: New file.
13466 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 13467
0a1ddfa6
SM
134682016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13469
13470 * gdb.base/set-inferior-tty.exp: New file.
13471 * gdb.base/set-inferior-tty.c: New file.
13472
d9de1fe3
PA
134732016-08-23 Pedro Alves <palves@redhat.com>
13474
13475 PR gdb/20494
13476 * gdb.base/new-ui-echo.c: New file.
13477 * gdb.base/new-ui-echo.exp: New file.
13478
e9d9abd7
YQ
134792016-08-23 Yao Qi <yao.qi@linaro.org>
13480
13481 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13482 gdbserver_spawn.
13483 * gdb.server/connect-without-multi-process.exp (do_test):
13484 Likewise.
13485
3589529e
YQ
134862016-08-23 Yao Qi <yao.qi@linaro.org>
13487
13488 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13489 standalone_txt. Delete gdb_txt and standalone_txt on host
13490 and target. Spawn the binary on target. Copy files from
13491 target to host.
13492
6bb90213
PA
134932016-08-22 Pedro Alves <palves@redhat.com>
13494
13495 PR gdb/20505
13496 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13497 with_test_prefix. Factor out bits to ...
13498 (test_no_vdso): ... this new procedure.
13499
20c2c024
CL
135002016-08-19 Carl Love <cel@us.ibm.com>
13501
13502 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
13503 maintaining separate logic for constructing the output path.
13504 * gdb.arch/powerpc-d128-regs.exp: Likewise.
13505 * gdb.arch/ppc-dfp.exp: Likewise.
13506 * gdb.arch/ppc-fp.exp: Likewise.
13507 * gdb.arch/vsx-regs.exp: Likewise.
13508 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
13509 binprefix for generating the additional binary files.
13510
0646e07d
PA
135112016-08-19 Pedro Alves <palves@redhat.com>
13512
13513 * gdb.trace/mi-trace-frame-collected.exp
13514 (test_trace_frame_collected): On x32, expect two registers.
13515
46da9242
CL
135162016-08-18 Carl Love <cel@us.ibm.com>
13517
13518 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
13519 and sync up the test with tests in gas/testsuite/gas/ppc.
13520 * gdb.arch/powerpc-power.exp: Likewise.
13521
eb2332d7
SM
135222016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13523
13524 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13525 expected error message.
13526
63c61e04
SM
135272016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13528
13529 * gdb.multi/remove-inferiors.exp: New file.
13530 * gdb.multi/remove-inferiors.c: New file.
13531
7b17065f
YQ
135322016-08-12 Yao Qi <yao.qi@linaro.org>
13533
13534 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13535 argument list.
13536
01d3dedf
PA
135372016-08-10 Pedro Alves <palves@redhat.com>
13538
13539 PR gdb/19187
13540 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13541 setup_kfails.
13542
3eb7562a
PA
135432016-08-09 Pedro Alves <palves@redhat.com>
13544 Simon Marchi <simon.marchi@ericsson.com>
13545
13546 PR gdb/20418
13547 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
13548 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
13549
80614914
PA
135502016-08-09 Pedro Alves <palves@redhat.com>
13551
13552 PR mi/20431
13553 * gdb.mi/mi-cmd-error.exp: New file.
13554
f348d89a
PA
135552016-08-09 Pedro Alves <palves@redhat.com>
13556
13557 PR gdb/18653
13558 * gdb.base/signals-state-child.c: New file.
13559 * gdb.base/signals-state-child.exp: New file.
13560 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
13561
e5ca03b4
PA
135622016-08-09 Pedro Alves <palves@redhat.com>
13563
13564 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13565
282a0691
TT
135662016-08-03 Tom Tromey <tom@tromey.com>
13567
13568 PR python/18565:
13569 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13570
41bfcd63
YQ
135712016-08-01 Yao Qi <yao.qi@linaro.org>
13572
13573 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13574 variable mode to "multi-process" if $multi_process is 1, otherwise
13575 set it to "single-process".
13576
e3465b24
YQ
135772016-08-01 Yao Qi <yao.qi@linaro.org>
13578
13579 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13580 * gdb.cp/cpexprs.exp: Likewise.
13581 * gdb.cp/m-static.exp: Likewise.
13582
0b31a4bc
TT
135832016-07-26 Tom Tromey <tom@tromey.com>
13584
13585 PR python/20190:
13586 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13587 test.
13588
e0461dbb
MM
135892016-07-26 Markus Metzger <markus.t.metzger@intel.com>
13590
13591 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
13592 selecting assembly source files.
13593 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
13594 assembly source files.
13595 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
13596 assembly source files.
13597 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
13598 selecting assembly source files.
13599
8194e927
SM
136002016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13601
13602 * gdb.base/new-ui.exp (do_test_invalid_args): New
13603 procedure.
13604
c0272db5
TW
136052016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13606
13607 * gdb.btrace/reconnect.c: New file.
13608 * gdb.btrace/reconnect.exp: New file.
13609
e3487908
GKB
136102016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13611
13612 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13613 to test_catch_syscall_group.
13614 (test_catch_syscall_group): New.
13615
12df5c00
TT
136162016-07-21 Tom Tromey <tom@tromey.com>
13617
13618 * gdb.rust/simple.rs (main): Use empty struct expression.
13619 * gdb.rust/simple.exp: Add tests for empty struct expression.
13620
bae62ee2
YQ
136212016-07-21 Yao Qi <yao.qi@linaro.org>
13622
13623 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13624 if gdb_skip_xml_test is true on some targets.
13625
b1b53fb3
YQ
136262016-07-21 Yao Qi <yao.qi@linaro.org>
13627
13628 * gdb.server/solib-list.exp: Unset last_loaded_file.
13629
027d97f8
JK
136302016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13631
13632 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13633 "step into captured_main (args)".
13634
7674d381
JK
136352016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13636
13637 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13638
72b5d099
JK
136392016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13640
13641 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13642
1f960ced
PA
136432016-07-19 Pedro Alves <palves@redhat.com>
13644
13645 * gdb.opt/inline-break.exp: Remove optimize=-O2.
13646 * gdb.opt/inline-bt.exp: Likewise.
13647 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
13648 additional_flags=-Winline.
13649 * gdb.opt/inline-locals.exp: Likewise.
13650 * gdb.opt/inline-markers.c (ATTR): Define.
13651 (inlined_fn): Use it.
13652
f25827c1
YQ
136532016-07-19 Yao Qi <yao.qi@linaro.org>
13654
13655 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
13656 (test_with_self): Remove some code. Remove argument executable.
13657 (top-level): Use do_self_tests.
13658
37539ebe
DB
136592016-07-15 Zachary Welch <zwelch@codesourcery.com>
13660 Don Breazeal <donb@codesourcery.com>
13661
13662 * gdb.base/maint.exp: Escape paths used in regular expressions.
13663 * gdb.stabs/weird.exp: Likewise.
13664
dac790e1
TT
136652016-07-13 Tom Tromey <tom@tromey.com>
13666
13667 PR python/15620, PR python/18620:
13668 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
13669 (test_bkpt_events): New procs.
13670
93daf339
TT
136712016-07-13 Tom Tromey <tom@tromey.com>
13672
13673 PR python/17698:
13674 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
13675 test.
13676 (test_watchpoints): Likewise.
13677 (test_bkpt_pending): New proc.
13678
6571a381
TT
136792016-07-13 Tom Tromey <tom@tromey.com>
13680
13681 PR cli/18053:
13682 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
13683 completion test.
13684
e8732474
JK
136852016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13686
13687 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
13688 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
13689 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
13690 f_label.
13691 (g): Rename g_end_lbl to g_label.
13692 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
13693 low_pc and high_pc.
13694 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
13695
e0f3fd7c
TT
136962016-07-12 Tom Tromey <tom@tromey.com>
13697
13698 PR python/19293:
13699 * gdb.python/py-unwind-maint.exp: Update tests.
13700
3cfe46b6
YQ
137012016-07-12 Yao Qi <yao.qi@linaro.org>
13702
13703 * lib/selftest-support.exp (selftest_setup): Match the output
13704 when captured_main is inlined.
13705
4f19a0e6
WT
137062016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13707
13708 * gdb.fortran/derived-types.exp (result_line, result_line_2):
13709 New variables.
13710 (print this%a, print this%b, print this): New tests.
13711 * gdb.fortran/derived-types.f90 (this): New object and
13712 initialization.
13713
986cf455
SM
137142016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13715
13716 * gdb.ada/arraydim.exp: Remove extra directory level in build
13717 directory.
13718
f0464b23
SM
137192016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13720
13721 * lib/ada.exp: Remove extra directory level in build directory.
13722 * gdb.ada/cond_lang.exp: Likewise.
13723 * gdb.ada/exec_changed.exp: Likewise.
13724 * gdb.ada/lang_switch.exp: Likewise.
13725
42d94011
MG
137262016-07-06 Manish Goregaokar <manish@mozilla.com>
13727
2806dc7e
PA
13728 * simple.rs: Add test for raw pointer subscripting.
13729 * simple.exp: Add test expectations.
42d94011 13730
647c264c
YQ
137312016-07-05 Yao Qi <yao.qi@linaro.org>
13732
13733 * gdb.mi/mi-reverse.exp: Match =record-started output.
13734
20aa2c60
PA
137352016-07-01 Pedro Alves <palves@redhat.com>
13736
13737 * gdb.base/jit-reader.exp (info_registers_current_frame): New
13738 procedure.
13739 (jit_reader_test): Test the jit reader's unwinder.
13740 * gdb.base/jithost.c (jit_function_00_code): New global.
13741 (main): Use memcpy to fill in the mmapped code, instead of poking
13742 bytes manually here.
13743 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
13744 value.
13745 (read_debug_info): Save the function's range.
13746 (read_sp): New function.
13747 (unwind_frame): Use it. Also unwind RBP.
13748 (get_frame_id): Use read_sp.
13749 (gdb_init_reader): Use calloc instead of malloc.
13750 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
13751 parameter. Use gdb_test_multiple.
13752
ced2dffb
PA
137532016-07-01 Pedro Alves <palves@redhat.com>
13754 Antoine Tremblay <antoine.tremblay@ericsson.com>
13755
13756 * gdb.threads/process-dies-while-detaching.c: New file.
13757 * gdb.threads/process-dies-while-detaching.exp: New file.
13758
63000888
PA
137592016-07-01 Pedro Alves <palves@redhat.com>
13760
13761 * gdb.multi/watchpoint-multi-exit.c: New file.
13762 * gdb.multi/watchpoint-multi-exit.exp: New file.
13763
038d4868
PA
137642016-06-30 Pedro Alves <palves@redhat.com>
13765
13766 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13767 unset inferior_spawn_id.
13768
994e9c83
PA
137692016-06-30 Pedro Alves <palves@redhat.com>
13770
13771 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13772 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13773
e5653468
YQ
137742016-06-29 Yao Qi <yao.qi@linaro.org>
13775
13776 * gdb.base/return.c: Add copyright header.
13777
803b47e5
TT
137782016-06-29 Tom Tromey <tom@tromey.com>
13779
13780 PR python/20129:
13781 * gdb.python/py-framefilter.exp: Add tests for setting priority
13782 and disabling of non-existent frame filter.
13783
28244707
YQ
137842016-06-29 Yao Qi <yao.qi@linaro.org>
13785
13786 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13787 0x0f07ff.
13788
a31d2f06
YQ
137892016-06-28 Yao Qi <yao.qi@linaro.org>
13790
13791 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13792 triplets. Start gdb, execute catch syscall, and continue. Check
13793 gdb's output to determine catch syscall is supported.
13794
921d8f54
MG
137952016-06-27 Manish Goregaokar <manish@mozilla.com>
13796
25d49b86
PA
13797 * gdb.rust/simple.rs: Add test for returning unit in a function.
13798 * gdb.rust/simple.exp: Add expectation for functions returning
13799 unit.
921d8f54 13800
f4952523
PMR
138012016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13802
13803 * gdb.python/py-breakpoint-create-fail.c,
13804 gdb.python/py-breakpoint-create-fail.exp,
13805 gdb.python/py-breakpoint-create-fail.py: New testcase.
13806
fccb08f8
MG
138072016-06-25 Manish Goregaokar <manish@mozilla.com>
13808
13809 PR gdb/20239
13810 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
13811 * gdb.rust/simple.exp: Add test expectations for new NonZero
13812 tests.
fccb08f8 13813
6b850546
DT
138142016-06-24 David Taylor <dtaylor@emc.com>
13815
13816 * gdb.base/offsets.exp: New file.
13817 * gdb.base/offsets.c: New file.
13818
17621150
TT
138192016-06-23 Tom Tromey <tom@tromey.com>
13820
13821 PR gdb/16483:
13822 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13823 before any filters are loaded.
13824
04d59df6
WT
138252016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
13826
13827 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
13828 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
13829 structs.
13830 * gdb.fortran/derived-type-function.exp: New file.
13831 * gdb.fortran/derived-type-function.f90: New file.
13832
13833
ac69f786
PA
138342016-06-21 Pedro Alves <palves@redhat.com>
13835
13836 * gdb.base/new-ui.exp: New file.
13837 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
13838 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
13839 (with_spawn_id): New procedure.
13840
49940788
PA
138412016-06-21 Pedro Alves <palves@redhat.com>
13842
13843 * gdb.mi/mi-exec-run.exp: New file.
13844
ef274d26
PA
138452016-06-21 Pedro Alves <palves@redhat.com>
13846
13847 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
13848 breakpoint command's output on the main UI.
13849 (test_break): New procedure, factored out from calls in the top
13850 level.
13851 (top level): Use foreach_with_prefix to test MI as main UI and as
13852 separate UI.
13853
468afe6c
PA
138542016-06-21 Pedro Alves <palves@redhat.com>
13855
13856 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
13857 (test_awatch_creation_and_listing)
13858 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
13859 Remove 'type' parameter.
13860 (test_watchpoint_all): New parameter mi_mode. Remove
13861 with_test_prefix.
13862 (top level): Use foreach_with_prefix, and add main/separate UI MI
13863 testing axis.
13864
51f77c37
PA
138652016-06-21 Pedro Alves <palves@redhat.com>
13866
13867 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
13868 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
13869 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
13870 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
13871 (gdb_main_spawn_id, mi_spawn_id): Declare and
13872 comment.
13873 (mi_create_inferior_pty): New procedure,
13874 factored out from default_mi_gdb_start.
13875 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
13876 procedures.
13877 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
13878 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
13879 Use mi_create_inferior_pty.
13880 (mi_gdb_start): Use eval to pass down args list.
13881
8980e177
PA
138822016-06-21 Pedro Alves <palves@redhat.com>
13883
13884 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13885 * gdb.opt/inline-cmds.exp: Add MI tests.
13886
f38d3ad1
PA
138872016-06-21 Pedro Alves <palves@redhat.com>
13888
13889 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13890
45db7c09
PA
138912016-06-21 Pedro Alves <palves@redhat.com>
13892
13893 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13894 (top level): Use it instead of mi_execute_to.
13895
5a069ab3
PA
138962016-06-21 Pedro Alves <palves@redhat.com>
13897
13898 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
13899 (cont_handler_str): New.
13900 (signal_stop_handler): Set stop_handler_str instead of printing to
13901 stdout.
13902 (continue_handler): Set cont_handler_str instead of printing to
13903 stdout.
13904 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
13905 mi_send_resuming_command. Print stop_handler_str and
13906 cont_handler_str instead of expecting the python events print
13907 directly.
13908
2838cc1d
SD
139092016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
13910
13911 * gdb.base/jit-reader.exp: New file.
13912 * gdb.base/jithost.c: New file.
13913 * gdb.base/jithost.h: New file.
13914 * gdb.base/jitreader.c : New file.
13915 * gdb.base/jit-protocol.h: New file.
13916
21a77091
YQ
139172016-06-17 Yao Qi <yao.qi@linaro.org>
13918
13919 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
13920 parameters follow_fork and detach_on_fork. Set follow-fork-mode
13921 and detach-on-fork. Adjust tests.
13922 (top level): Invoke break_cond_on_syscall with combinations of
13923 syscall, follow-fork-mode and detach-on-fork.
13924
f50bf8e5
YQ
139252016-06-17 Yao Qi <yao.qi@linaro.org>
13926
13927 * gdb.base/step-over-exit.c: New.
13928 * gdb.base/step-over-exit.exp: New.
13929
a28d8e50
YTL
139302016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13931
13932 * gdb.base/float.exp: Add target check for nds32*-*-*.
13933 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13934
cad8e26d
AB
139352016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13936
13937 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13938 for unsupported target features.
13939 * gdb.base/call-rt-st.exp: Likewise.
13940 * gdb.base/call-sc.exp: Likewise.
13941 * gdb.base/call-signal-resume.exp: Likewise.
13942 * gdb.base/call-strs.exp: Likewise.
13943 * gdb.base/callexit.exp: Likewise.
13944 * gdb.base/callfuncs.exp: Likewise.
13945 * gdb.base/nodebug.exp: Likewise.
13946 * gdb.base/printcmds.exp: Likewise.
13947 * gdb.base/ptype.exp: Likewise.
13948 * gdb.base/structs.exp: Likewise.
13949 * gdb.base/unwindonsignal.exp: Likewise.
13950 * gdb.cp/gdb2495.exp: Likewise.
13951 * gdb.cp/templates.exp: Likewise.
13952 * gdb.cp/virtfunc.exp: Likewise.
13953 * gdb.threads/hand-call-in-threads.exp: Likewise.
13954 * gdb.threads/interrupted-hand-call.exp: Likewise.
13955 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13956
347dc102
TT
139572016-06-10 Tom Tromey <tom@tromey.com>
13958
13959 PR rust/20110:
13960 * gdb.rust/expr.exp: Add test for integer constant larger than
13961 i32.
13962
5e13cf25
BH
139632016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13964
13965 * gdb.fortran/nested-funcs.exp: New.
13966 * gdb.fortran/nested-funcs.f90: New.
13967
bb556f1f
TK
139682016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13969
13970 * gdb.base/examine-backward.c: New file.
13971 * gdb.base/examine-backward.exp: New file.
13972
38b022b4
SM
139732016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13974
13975 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13976 matching.
13977
1b40ec05
TT
139782016-06-02 Tom Tromey <tom@tromey.com>
13979
13980 PR python/18984:
13981 * gdb.python/py-shared.exp: Add solib_name test.
13982
193bd378
SM
139832016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13984
13985 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13986
3326303b
MG
139872016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13988
13989 PR c++/19893
13990 * gdb.dwarf2/implref.exp: Rename to...
13991 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13992 * gdb.dwarf2/implref-array.c: New file.
13993 * gdb.dwarf2/implref-array.exp: Likewise.
13994 * gdb.dwarf2/implref-global.c: Likewise.
13995 * gdb.dwarf2/implref-global.exp: Likewise.
13996 * gdb.dwarf2/implref-struct.c: Likewise.
13997 * gdb.dwarf2/implref-struct.exp: Likewise.
13998
825c8ef2
AT
139992016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14000
14001 * gdb.trace/trace-condition.exp: Add 64bit tests.
14002
2320162a
AT
140032016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14004
14005 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14006 bits types.
14007 (main): Adapt to 8 to 64 bits types.
14008 * gdb.trace/trace-condition.exp: Add new tests.
14009
a7818233
AT
140102016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14011
14012 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
14013
0d336466
AT
140142016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14015
14016 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
14017 Move condition tests...
14018 * gdb.trace/trace-condition.exp: Here.
14019
7faeb45a
AT
140202016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14021
14022 * gdb.trace/trace-condition.exp: Add counter-case tests.
14023
e385593e
JK
140242016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14025
14026 PR c++/15231
14027 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
14028 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
14029
744608cc
PA
140302016-05-27 Pedro Alves <palves@redhat.com>
14031
14032 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
14033 New procedure.
14034 (top level): Call it, and bail out of DejaGnu is known to be bad.
14035
ac775bf4
AB
140362016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
14037
14038 * gdb.base/whatis.c: Extend the test case.
14039 * gdb.base/whatis.exp: Add additional tests.
14040
2bbad2ea
BH
140412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14042
14043* gdb.fortran/type.f90: Add pointer variable.
14044* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
14045
8b70175d
BH
140462016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14047
14048 * gdb.fortran/vla-type.exp: Fix testcase name.
14049
86d8a848
BH
140502016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14051
14052 * gdb.fortran/vla-type.exp: Access elements in nested structs.
14053
e188eb36
BH
140542016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14055
14056 * gdb.fortran/type.f90: Add nested structures.
14057 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
14058 * gdb.fortran/derived-type.exp: Adapt expected output.
14059 * gdb.fortran/vla-type.exp: Adapt expected output.
14060
9b2db1fd
BH
140612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14062
14063 * gdb.fortran/whatis_type.exp: Adapt expected output.
14064
72b17055
BH
140652016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14066
14067 * gdb.fortran/print_type.exp: Fix expected output.
14068 * gdb.fortran/whatis_type.exp: Fix expected output.
14069
3cd81d8d
BH
140702016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14071
14072 * gdb.fortran/whatis_type.exp: Use multi_line.
14073
ddae9462
TT
140742016-05-24 Tom Tromey <tom@tromey.com>
14075
14076 PR python/17386:
14077 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
14078 use value as an index.
14079
1957f6b8
TT
140802016-05-23 Tom Tromey <tom@tromey.com>
14081
14082 PR python/17981:
14083 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
14084 no-breakpoint case.
14085
026a9174
PA
140862016-05-24 Pedro Alves <palves@redhat.com>
14087
14088 PR gdb/19828
14089 * gdb.threads/clone-attach-detach.c: New file.
14090 * gdb.threads/clone-attach-detach.exp: New file.
14091
e70a7231
FR
140922016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
14093
14094 * gdb.base/annota-input-while-running.exp: Fix syntax error.
14095
0f6ed0e0
TT
140962016-05-23 Tom Tromey <tom@tromey.com>
14097
14098 PR python/19438, PR python/18393:
14099 * gdb.python/py-progspace.exp: Add "dir" test.
14100 * gdb.python/py-objfile.exp: Add "dir" test.
14101
ffd19d61
YQ
141022016-05-23 Yao Qi <yao.qi@linaro.org>
14103
14104 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
14105 * gdb.arch/thumb2-it.exp: Likewise.
14106
9e8f9b05
SM
141072016-05-18 Simon Marchi <simon.marchi@ericsson.com>
14108
14109 * gdb.mi/mi-threads-interrupt.c: New file.
14110 * gdb.mi/mi-threads-interrupt.exp: New file.
14111
61c6156d
SM
141122016-05-17 Simon Marchi <simon.marchi@ericsson.com>
14113
14114 PR gdb/18077
14115 * gdb.mi/mi-async-run.exp: New file.
14116 * gdb.mi/mi-async-run.c: New file.
14117
67218854
TT
141182016-05-17 Tom Tromey <tom@tromey.com>
14119 Manish Goregaokar <manishsmail@gmail.com>
14120
14121 * lib/rust-support.exp: New file.
14122 * lib/gdb.exp (skip_rust_tests): New proc.
14123 (build_executable_from_specs): Handle rust.
14124 * lib/future.exp (gdb_find_rustc): New proc.
14125 (gdb_default_target_compile): Handle rust.
14126 * gdb.rust/expr.exp: New file.
14127 * gdb.rust/generics.exp: New file.
14128 * gdb.rust/generics.rs: New file.
14129 * gdb.rust/methods.exp: New file.
14130 * gdb.rust/methods.rs: New file.
14131 * gdb.rust/modules.exp: New file.
14132 * gdb.rust/modules.rs: New file.
14133 * gdb.rust/simple.exp: New file.
14134 * gdb.rust/simple.rs: New file.
14135
c44af4eb
TT
141362016-05-17 Tom Tromey <tom@tromey.com>
14137
14138 * gdb.base/default.exp (set language): Add rust.
14139
dcd1f979
TT
141402016-05-17 Tom Tromey <tom@tromey.com>
14141
14142 * gdb.gdb/unittest.exp: New file.
14143
155b7f57
YQ
141442016-05-16 Yao Qi <yao.qi@linaro.org>
14145
14146 * gdb.base/batch-preserve-term-settings.exp: Remove variable
14147 shell_prompt. Update shell_prompt_re.
14148
8ddd5a6c
DE
141492016-05-12 Doug Evans <dje@google.com>
14150
14151 PR symtab/19999
14152 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
14153 $options when building executable.
14154 * gdb.dwarf2/fission-loclists-pie.S: New file.
14155 * gdb.dwarf2/fission-loclists-pie.exp: New file.
14156
02e370d9
SM
141572016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14158
14159 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
14160 of [is_remote target],
14161
8929ad8b
SM
141622016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14163
14164 * lib/gdb.exp (use_gdb_stub): New procedure.
14165
6c447423
DE
141662016-05-03 Yunlian Jiang <yunlian@google.com>
14167 Doug Evans <dje@google.com>
14168
14169 PR symtab/19914
14170 * gdb.dwarf2/dwp-sepdebug.c: New file.
14171 * gdb.dwarf2/dwp-sepdebug.exp: New file.
14172
444e826c
SM
141732016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14174
14175 * gdb.base/detach.exp: Remove is_remote check.
14176
740feeaa
SM
141772016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14178
14179 * gdb.base/annota-input-while-running.exp: Don't check for
14180 [is_remote target]. Enable annotations after running to main.
14181 Remove unused "set test..." line.
14182
9080ac9d
SM
141832016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14184
14185 * gdb.trace/trace-enable-disable.exp: New file.
14186 * gdb.trace/trace-enable-disable.c: New file.
14187
952ebca5
SM
141882016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14189
14190 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
14191 use it in info sharedlibrary test.
14192 * gdb.trace/ftrace-lock.exp: Likewise.
14193 * gdb.trace/ftrace.exp: Likewise.
14194 * gdb.trace/range-stepping.exp: Likewise.
14195 * gdb.trace/trace-break.exp: Likewise.
14196 * gdb.trace/trace-condition.exp: Likewise.
14197 * gdb.trace/trace-mt.exp: Likewise.
14198
d9019901
SM
141992016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14200
14201 * lib/gdb.exp (gdb_load_shlibs): Rename to...
14202 (gdb_load_shlib): ... this.
14203 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
14204 gdb_load_shlib.
14205 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
14206 * gdb.base/ctxobj.exp: Likewise.
14207 * gdb.base/dprintf-pending.exp: Likewise.
14208 * gdb.base/dso2dso.exp: Likewise.
14209 * gdb.base/fixsection.exp: Likewise.
14210 * gdb.base/gcore-relro.exp: Likewise.
14211 * gdb.base/gdb1555.exp: Likewise.
14212 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14213 * gdb.base/gnu-ifunc.exp: Likewise.
14214 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
14215 * gdb.base/jit-so.exp (one_jit_test): Likewise.
14216 * gdb.base/pending.exp: Likewise.
14217 * gdb.base/print-file-var.exp: Likewise.
14218 * gdb.base/print-symbol-loading.exp: Likewise.
14219 * gdb.base/shlib-call.exp: Likewise.
14220 * gdb.base/shreloc.exp: Likewise.
14221 * gdb.base/so-impl-ld.exp: Likewise.
14222 * gdb.base/solib-disc.exp: Likewise.
14223 * gdb.base/solib-nodir.exp: Likewise.
14224 * gdb.base/solib-overlap.exp: Likewise.
14225 * gdb.base/solib-symbol.exp: Likewise.
14226 * gdb.base/solib-weak.exp (do_test): Likewise.
14227 * gdb.base/sym-file.exp: Likewise.
14228 * gdb.base/symtab-search-order.exp: Likewise.
14229 * gdb.base/type-opaque.exp: Likewise.
14230 * gdb.base/unload.exp: Likewise.
14231 * gdb.base/watchpoint-solib.exp: Likewise.
14232 * gdb.compile/compile.exp: Likewise.
14233 * gdb.cp/gdb2384.exp: Likewise.
14234 * gdb.cp/infcall-dlopen.exp: Likewise.
14235 * gdb.cp/re-set-overloaded.exp: Likewise.
14236 * gdb.fortran/library-module.exp: Likewise.
14237 * gdb.opt/solib-intra-step.exp: Likewise.
14238 * gdb.python/py-finish-breakpoint.exp: Likewise.
14239 * gdb.python/py-shared.exp: Likewise.
14240 * gdb.reverse/solib-precsave.exp: Likewise.
14241 * gdb.reverse/solib-reverse.exp: Likewise.
14242 * gdb.server/solib-list.exp: Likewise.
14243 * gdb.threads/dlopen-libpthread.exp: Likewise.
14244 * gdb.threads/tls-shared.exp: Likewise.
14245 * gdb.threads/tls-so_extern.exp: Likewise.
14246 * gdb.trace/change-loc.exp: Likewise.
14247 * gdb.trace/ftrace-lock.exp: Likewise.
14248 * gdb.trace/ftrace.exp: Likewise.
14249 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14250 * gdb.trace/pending.exp: Likewise.
14251 * gdb.trace/range-stepping.exp: Likewise.
14252 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14253 (strace_info_marker): Likewise.
14254 (strace_probe_marker): Likewise.
14255 (strace_trace_on_same_addr): Likewise.
14256 (strace_trace_on_diff_addr): Likewise.
14257 * gdb.trace/trace-break.exp: Likewise.
14258 * gdb.trace/trace-condition.exp: Likewise.
14259 * gdb.trace/trace-mt.exp: Likewise.
14260
fca4cfd9
SM
142612016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14262
14263 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14264 result of gdb_remote_download.
14265 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14266 * gdb.base/dso2dso.exp: Likewise.
14267 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14268 * gdb.base/print-file-var.exp: Likewise.
14269 * gdb.base/shlib-call.exp: Likewise.
14270 * gdb.base/shreloc.exp: Likewise.
14271 * gdb.base/solib-overlap.exp: Likewise.
14272 * gdb.base/solib-weak.exp (do_test): Likewise.
14273 * gdb.base/unload.exp: Likewise.
14274
11cf4ffb
YQ
142752016-04-27 Yao Qi <yao.qi@linaro.org>
14276
14277 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14278 exists.
14279
3e2e34f8
KB
142802016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14281
14282 * vla-type.exp: Print structure from toplevel.
14283
8f07e298
BH
142842016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14285
14286 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14287 of dynamic types.
14288 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14289 of dynamic types.
14290
9920b434
BH
142912016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14292
14293 * gdb.fortran/vla-type.f90: New file.
14294 * gdb.fortran/vla-type.exp: New file.
14295
f3abeff5
YQ
142962016-04-25 Yao Qi <yao.qi@linaro.org>
14297
14298 * gdb.base/branch-to-self.c: New file.
14299 * gdb.base/branch-to-self.exp: New file.
14300
0a5d52f0
YQ
143012016-04-22 Yao Qi <yao.qi@linaro.org>
14302
14303 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14304 more after $hex.
14305
495346f6
YQ
143062016-04-22 Yao Qi <yao.qi@linaro.org>
14307
14308 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14309 * gdb.base/annota3.exp: Likewise.
14310
4a7e075c
YQ
143112016-04-22 Yao Qi <yao.qi@linaro.org>
14312
14313 * gdb.reverse/step-precsave.exp: Do one step and test program
14314 stops in "callee" and do multiple steps until program goes out
14315 of "callee".
14316 * gdb.reverse/step-reverse.exp: Likewise.
14317
5b061e98
YQ
143182016-04-22 Yao Qi <yao.qi@linaro.org>
14319
14320 * gdb.trace/signal.exp: Also pass if
14321 $tracepoint_hits($i) > $iterations.
14322
5c5dc57f
YQ
143232016-04-22 Yao Qi <yao.qi@linaro.org>
14324
14325 * gdb.trace/signal.c: New file.
14326 * gdb.trace/signal.exp: New file.
14327
a55411b9
DE
143282016-04-19 Doug Evans <xdje42@gmail.com>
14329
14330 * gdb.base/bad-file.exp: New file.
14331
a22df60a
MG
143322016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14333
14334 * gdb.dwarf2/implref.exp: New file.
14335
0c13f7e5
BH
143362016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14337
14338 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14339 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14340 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14341 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14342 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14343 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14344 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14345 * lib/fortran.exp (fortran_int4): New procedure.
14346 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14347 (fortran_logical4): Likewise.
14348
9b9b09e9
BH
143492016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14350
14351 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14352
a14d1f4d
BH
143532016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14354
14355 * lib/compiler.c: Add Intel specific preprocessor macros.
14356 * lib/compiler.cc: Likewise.
25d49b86 14357
7d49b1d0
LM
143582016-04-13 Luis Machado <lgustavo@codesourcery.com>
14359
14360 * gdb.server/connect-with-no-symbol-file.c: New file.
14361 * gdb.server/connect-with-no-symbol-file.exp: New file.
14362
8392fa22
SM
143632016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14364
14365 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14366
8c4c4aeb
SM
143672016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14368
14369 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14370 standard output directory.
14371
45e3745e
AT
143722016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14373
14374 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14375
e26b7e41
MM
143762016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14377
14378 * gdb.btrace/instruction_history.c (loop): Add declaration.
14379
8ce09462
AT
143802016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14381
14382 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14383
2e88a1ea
SM
143842016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14385
14386 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14387 parentheses to print.
14388 (continue_handler): Likewise.
14389
f48e22e3
SM
143902016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14391
14392 * gdb.server/solib-list.exp: Remove is_remote check.
14393 Pass shlib= to gdb_compile. Don't link shared library with
14394 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14395 Run binary filename through "readlink -f" on the target.
14396
096be756
PA
143972016-04-08 Pedro Alves <palves@redhat.com>
14398
14399 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14400 interpreter filename as argument to gdbserver_spawn.
14401 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14402 Return empty if $last_loaded_file does not exist.
14403
06500533
JK
144042016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14405
14406 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
14407 * gdb.base/jit-main.c: Use exit after usage.
14408
2d35e871
JK
144092016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14410
14411 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
14412 GDBHISTSIZE prior to the tests.
14413 * gdb.base/gdbinit-history.exp: Likewise.
14414
144152016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
14416
14417 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
14418 instead of build_executable. Use gdb_load_shlibs.
14419
c8064e7e
YQ
144202016-04-07 Yao Qi <yao.qi@linaro.org>
14421
14422 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
14423 Execute "si" command.
14424
bde47561
YQ
144252016-04-07 Yao Qi <yao.qi@linaro.org>
14426
14427 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
14428 number instead of the comments on some line.
14429
b16f8a3b
DB
144302016-04-06 Don Breazeal <donb@codesourcery.com>
14431
14432 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
14433 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
14434
c2f901df
SM
144352016-04-06 Simon Marchi <simon.marchi@ericsson.com>
14436
14437 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
14438 standard_output_file. Remove unused binfile variable.
14439
ac17fda0
CU
144402016-04-05 Catalin Udma <catalin.udma@freescale.com>
14441
14442 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
14443 * gdb.python/py-mi-objfile.exp: Match "list main" output
14444 in console format.
14445
03a8c4df
SM
144462016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14447
14448 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14449 absolute.
14450
6e774b13
SM
144512016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14452
14453 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14454 absolute.
14455 * gdb.trace/ftrace.exp: Likewise.
14456 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14457 targets as well.
14458 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14459 (gdb_load_shlibs): Copy libraries to test directory when testing
14460 natively. Only set solib-search-path if testing remotely.
14461 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14462
7817ea46
SM
144632016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14464
14465 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14466 gdb_download. Use it even if the target is not remote.
14467 * gdb.base/jit.exp (compile_jit_test): Likewise.
14468 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14469 output directory if the destination board is local, otherwise use
14470 the standard remote_download from DejaGnu.
14471 (gdb_download): Remove.
14472 (gdb_load_shlibs): Use gdb_remote_download instead of
14473 gdb_download.
14474 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14475 Use gdb_remote_download instead of gdb_download. Use it even if
14476 the target is not remote.
14477 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14478 instead of gdb_download.
14479
7beb7f68
SM
144802016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14481
14482 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14483 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14484 run.
14485
cc63428a
AV
144862016-04-01 Artemiy Volkov <artemiyv@acm.org>
14487
14488 PR gdb/19820
14489 * gdb.base/printcmds.exp: Add artificial arrays tests.
14490
64cdf930
PA
144912016-03-31 Pedro Alves <palves@redhat.com>
14492
14493 PR gdb/19858
14494 * gdb.base/jit-main.c: Include unistd.h.
14495 (ATTACH): Define to 0 if not already defined.
14496 (wait_for_gdb, mypid): New globals.
14497 (WAIT_FOR_GDB): New macro.
14498 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14499 some breakpoint locations.
14500 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
14501 New procedures.
14502 (one_jit_test): Add REATTACH parameter, and handle it. Use
14503 continue_to_test_location.
14504 (top level): Test attach, and adjusts calls to one_jit_test.
14505
40dea8cb
PA
145062016-03-31 Pedro Alves <palves@redhat.com>
14507
14508 PR gdb/19858
14509 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
14510 BINSUFFIX parameter, and handle it.
14511 (top level): Adjust calls compile_jit_test.
14512
e7ea3ec7
CU
145132016-03-31 Catalin Udma <catalin.udma@freescale.com>
14514
14515 PR python/19743
14516 * gdb.python/py-mi-events-gdb.py: New file.
14517 * gdb.python/py-mi-events.c: New file.
14518 * gdb.python/py-mi-events.exp: New file.
14519
e6359af3
YQ
145202016-03-30 Yao Qi <yao.qi@linaro.org>
14521
14522 * gdb.reverse/until-precsave.exp: Match function name only.
14523 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
14524 Move malloc to a condition block.
14525 * gdb.reverse/until-reverse.exp: Match function name only.
14526
a4105d04
MK
145272016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
14528
14529 * gdb.trace/ftrace.exp: Set arg0exp for s390.
14530 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
14531 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
14532 variable for GPR 0 instead of assuming it is register 0.
14533 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
14534 * lib/trace-support.exp: Add s390 registers.
14535
bfa6adb9
YQ
145362016-03-29 Yao Qi <yao.qi@linaro.org>
14537
14538 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14539
1e6697ea
YQ
145402016-03-24 Yao Qi <yao.qi@linaro.org>
14541
14542 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14543 test message.
14544
64bcd522
AA
145452016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14546
14547 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14548 maintaining separate logic for constructing the output path.
14549
7868401b
DB
145502016-03-16 Don Breazeal <donb@codesourcery.com>
14551
14552 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
14553 Retry fork and waitpid on interrupted system call errors.
14554 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14555 Use with_timeout_factor to increase timeout by factor of 10.
14556
1cafadb4
DB
145572016-03-15 Don Breazeal <donb@codesourcery.com>
14558
14559 * gdb.cp/scope-err.cc: New test program.
14560 * gdb.cp/scope-err.exp: New test script.
14561 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
14562 lines and "set breakpoint here" comment.
14563 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
14564 Fixed some whitespace and format issues.
14565 * gdb.mi/mi-linespec-err-cp.cc: New test program.
14566 * gdb.mi/mi-linespec-err-cp.exp: New test script.
14567
81516450
DE
145682016-03-15 Doug Evans <dje@google.com>
14569
14570 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
14571 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
14572 All callers updated. Add tests for enums, mixed flags register.
14573
aa52b601
DE
145742016-03-15 Doug Evans <dje@google.com>
14575
14576 * gdb.base/skip.c (main): Call test_skip_file_and_function.
14577 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
14578
fa4ff313
SM
145792016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14580
14581 * gdb.base/default.exp: Add $_as_string to the list of expected
14582 convenience functions.
14583
f2403c39
AB
145842016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14585
14586 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14587
f2f3ccb9
SM
145882016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14589
14590 * gdb.python/py-as-string.exp: New file.
14591 * gdb.python/py-as-string.c: New file.
14592
00dbd492
PA
145932016-03-09 Pedro Alves <palves@redhat.com>
14594
14595 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
14596 signal" -> "Thread NN received signal" output change.
14597 * gdb.threads/ia64-sigill.exp: Likewise.
14598 * gdb.threads/linux-dp.exp: Likewise.
14599 * gdb.threads/manythreads.exp: Likewise.
14600 * gdb.threads/pending-step.exp: Likewise.
14601 * gdb.threads/print-threads.exp: Likewise.
14602 * gdb.threads/sigstep-threads.exp: Likewise.
14603 * gdb.threads/staticthreads.exp: Likewise.
14604 * gdb.threads/tls.exp: Likewise.
14605
1e6697ea
YQ
146062016-03-09 Pedro Alves <palves@redhat.com>
14607
14608 * gdb.base/command-line-input.exp: New file.
14609
b04fd3be
MK
146102016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14611
14612 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
14613 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
14614 * gdb.trace/pending.exp: Accept leading dot before function name.
14615 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14616 * lib/trace-support.exp: Set registers for ppc.
14617
98fa59e9
MK
146182016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14619
14620 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14621 use it for disassembly; accept .main in addition to main in backtrace.
14622
f77198c8
MK
146232016-03-09 Wei-cheng Wang <cole945@gmail.com>
14624 Marcin Kościelnicki <koriakin@0x04.net>
14625
14626 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14627 (gdb_recursion_test_ptr): New global variable.
14628 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14629 gdb_recursion_test.
14630 (gdb_c_test): Ditto.
14631
ba84e0da
MK
146322016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14633
14634 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14635 ordering.
14636
4366d36e
MK
146372016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14638
14639 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
14640 (bar): Add bar_start_lbl label.
14641 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
14642 of foo/bar for emitting DWARF and tracing.
14643
5eb264df
SDJ
146442016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14645
14646 * analyze-racy-logs.py: Set executable bit.
14647
fb6a751f
SDJ
146482016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
14649
14650 * Makefile.in (DEFAULT_RACY_ITER): New variable.
14651 (CHECK_TARGET_TMP): Likewise.
14652 (check-single-racy): New rule.
14653 (check-parallel-racy): Likewise.
14654 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
14655 (do-check-parallel-racy): New rule.
14656 (check-racy/%.exp): Likewise.
14657 * README (Racy testcases): New section.
14658 * analyze-racy-logs.py: New file.
14659
bdf7e230
DE
146602016-03-03 Doug Evans <dje@google.com>
14661
14662 * gdb.base/skip.exp: Use with_test_prefix.
14663
4719d415
YQ
146642016-03-03 Yao Qi <yao.qi@linaro.org>
14665
14666 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
14667 Invoke step_over_syscall "clone" and break_cond_on_syscall
14668 "clone".
14669 * gdb.base/step-over-clone.c: New file.
14670
ea507862
YQ
146712016-03-03 Yao Qi <yao.qi@linaro.org>
14672
14673 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
14674 code format.
14675
8fc8cbda
YQ
146762016-03-03 Yao Qi <yao.qi@linaro.org>
14677
14678 * gdb.base/disp-step-fork.c: Rename to ...
14679 * gdb.base/step-over-fork.c: ... it. New file.
14680 * gdb.base/disp-step-vfork.c: Rename to ...
14681 * gdb.base/step-over-vfork.c: ... it. New file.
14682 * gdb.base/disp-step-syscall.exp: Rename to ...
14683 * gdb.base/step-over-syscall.exp: ... it. New file.
14684 (disp_step_cross_syscall): Rename to ...
14685 (step_over_syscall): ... it.
14686
92fa70b0
YQ
146872016-03-03 Yao Qi <yao.qi@linaro.org>
14688
14689 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
14690 If target supports condition evaluation on target, invoke
14691 break_cond_on_syscall for fork and vfork.
14692
e197ad3c
YQ
146932016-03-03 Yao Qi <yao.qi@linaro.org>
14694
14695 * gdb.base/disp-step-syscall.exp: Don't invoke
14696 support_displaced_stepping.
14697 (disp_step_cross_syscall): Test with displaced stepping off and
14698 on if supported.
14699
0b47da9f
YQ
147002016-03-03 Yao Qi <yao.qi@linaro.org>
14701
14702 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
14703 proc.
14704 (setup): New proc.
14705 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
14706 and setup.
14707
065ab6dc
BH
147082016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14709
14710 * gdb.fortran/vla-history.exp: Remove breakpoint.
14711
07e448ad 147122016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14713
25d49b86
PA
14714 * gdb.fortran/vla-history.exp: Lookup array elements and printing
14715 exceeds timeout.
07e448ad 14716
9ac2d526 147172016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14718
25d49b86
PA
14719 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
14720 breakpoint.
9ac2d526 14721
17807369
BH
147222016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14723
14724 * gdb.mi/vla.f90: Nullify pointer after declaration.
14725
86e501af
PA
147262016-03-01 Pedro Alves <palves@redhat.com>
14727
14728 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
14729
1e903e32
PA
147302016-03-01 Pedro Alves <palves@redhat.com>
14731
14732 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
14733 before anything else.
14734 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
14735 _GNU_SOURCE here.
14736 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
14737 before anything else.
14738 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14739
6ccb54e2
PA
147402016-03-01 Pedro Alves <palves@redhat.com>
14741
14742 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14743
30ca9da1
YQ
147442016-03-01 Yao Qi <yao.qi@linaro.org>
14745
14746 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14747 prepare_for_testing.
14748
dc856b38
YQ
147492016-03-01 Yao Qi <yao.qi@linaro.org>
14750
14751 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14752
4a932159
AA
147532016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14754
14755 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14756 manually constructing the output path.
14757
f2489477
AA
147582016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14759
14760 * gdb.arch/s390-stackless.S: New.
14761 * gdb.arch/s390-stackless.exp: New.
14762
38899f16
IB
147632016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14764
14765 * gdb.dlang/circular.c: New file.
14766 * gdb.dlang/circular.exp: New file.
14767
9fde51ed
YQ
147682016-02-26 Yao Qi <yao.qi@linaro.org>
14769
14770 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14771 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14772 (testcases): Update.
14773
ce90fefe
YQ
147742016-02-26 Yao Qi <yao.qi@linaro.org>
14775
14776 * gdb.reverse/aarch64.c: Rename to ...
14777 * gdb.reverse/insn-reverse.c: ... it.
14778 * gdb.reverse/aarch64.exp: Rename to ...
14779 * gdb.reverse/insn-reverse.exp: ... it.
14780
3263bceb
YQ
147812016-02-26 Yao Qi <yao.qi@linaro.org>
14782
14783 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14784 (testcase_ftype): New.
14785 (testcases): New array.
14786 (n_testcases): New.
14787 (main): Call each element in testcases.
14788 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14789 (read_testcase): New.
14790 Do the tests in a loop.
14791
6cb59ff1
YQ
147922016-02-25 Yao Qi <yao.qi@linaro.org>
14793
14794 * gdb.base/branches.c: Remove.
14795
ae91f625
MK
147962016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14797
14798 PR gdb/13808
14799 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14800
678b48b7
MK
148012016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14802
14803 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14804
7337a6f2
MK
148052016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14806
14807 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14808 change x86_64 call_insn to 'callq'.
14809
861ca91f
AT
148102016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14811
14812 * gdb.trace/tfile-avx.c: Move to...
14813 * gdb.trace/tracefile-pseudo-reg.c: Here.
14814 * gdb.trace/tfile-avx.exp: Move to...
14815 * gdb.trace/tracefile-pseudo-reg.exp: Here.
14816
bf74e428
GB
148172016-02-24 Gary Benson <gbenson@redhat.com>
14818
14819 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14820 message on attach.
14821
cce0e923
DE
148222016-02-23 Doug Evans <dje@google.com>
14823
14824 * gdb.base/skip.c (test_skip): New function.
14825 (end_test_skip_file_and_function): New function.
14826 (test_skip_file_and_function): New function.
14827 * gdb.base/skip1.c (test_skip): New function.
14828 (skip1_test_skip_file_and_function): New function.
14829 * gdb.base/skip.exp: Add tests for new skip options.
14830 * gdb.base/skip-solib.exp: Update expected output.
14831 * gdb.perf/skip-command.cc: New file.
14832 * gdb.perf/skip-command.exp: New file.
14833 * gdb.perf/skip-command.py: New file.
14834
4000e47e
MK
148352016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14836
14837 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14838 info registers pattern.
14839
24f75ead
IB
148402016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14841
14842 * lib/future.exp: Add D support.
14843 (gdb_find_gdc): New proc.
14844 (gdb_default_target_compile): Add D support.
14845
fbb7bcbe
WW
148462016-02-18 Wei-cheng Wang <cole945@gmail.com>
14847
14848 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14849 user+system time.
14850 (trace_speed_test): Determine the iteration count for a time
14851 between 15..30 seconds.
14852
012b3a21
WT
148532016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
14854
14855 * gdb.arch/i386-mpx-sigsegv.c: New file.
14856 * gdb.arch/i386-mpx-sigsegv.exp: New file.
14857 * gdb.arch/i386-mpx-simple_segv.c: New file.
14858 * gdb.arch/i386-mpx-simple_segv.exp: New file.
14859
2d5189bd
YQ
148602016-02-18 Yao Qi <yao.qi@linaro.org>
14861
14862 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14863 Don't call setup_kfail.
14864
40fb20d0
YQ
148652016-02-18 Yao Qi <yao.qi@linaro.org>
14866
14867 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14868 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14869
21b1f8d2
DE
148702016-02-16 Doug Evans <dje@google.com>
14871
14872 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14873 * gdb.base/skip1.c: Ditto.
14874 * gdb.base/skip.exp: Whitespace cleanup.
14875
4041ed77
DB
148762016-02-16 Don Breazeal <donb@codesourcery.com>
14877
14878 PR remote/19496
14879 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14880 Remove kfail for PR remote/19496.
14881
c4ef31bf
SM
148822016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14883
14884 * lib/gdb.exp (standard_temp_file): Return a path specific to
14885 the runtest invocation.
14886
266b65b3
SM
148872016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14888
14889 * gdb.trace/save-trace.exp: Change relative path to be in the
14890 standard output directory.
14891
a7a0a6a9
JK
148922016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14893
14894 * gdb.arch/i386-prologue.c: Add missing prototypes.
14895
c99dbb42
JK
148962016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14897
14898 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
14899 * gdb.arch/i386-prologue.exp: Likewise.
14900 * gdb.arch/i386-size.exp: Likewise.
14901
aa480355
SM
149022016-02-15 Simon Marchi <simon.marchi@ericsson.com>
14903
14904 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
14905 define object file path.
14906 * gdb.btrace/gcore.exp: Use standard_output_file to define core
14907 file path.
14908 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14909 standard_output_file to define binfile.
14910
ba881f50
JK
149112016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14912
14913 Fix compatibility with recent gfortran-5.3.1.
14914 * gdb.fortran/vla-history.exp (print vla1 allocated)
14915 (print vla2 allocated, print $2, print $3): Remove
14916 (print $4): Rename to ...
14917 (print $2): ... here.
14918 (print $9): Rename to ...
14919 (print $5): ... here.
14920 (print $10): Rename to ...
14921 (print $6): ... here.
14922 * gdb.fortran/vla.f90: Add pvla initialization.
14923
e9fb005c
JK
149242016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14925
14926 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14927 New test.
14928 * gdb.fortran/vla-value-sub.exp: Likewise.
14929
e44e00ff
MK
149302016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14931
14932 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14933
97e94151
SM
149342016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14935
14936 * i386-biarch-core.exp: Define corefile using
14937 standard_output_file.
14938
01113bc1
YQ
149392016-02-12 Yao Qi <yao.qi@linaro.org>
14940
14941 * gdb.arch/arm-single-step-kernel-helper.c: New.
14942 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14943
33b4777c
MM
149442016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14945
14946 * gdb.btrace/tailcall-only.exp: New.
14947 * gdb.btrace/tailcall-only.c: New.
14948 * gdb.btrace/x86_64-tailcall-only.S: New.
14949 * gdb.btrace/i686-tailcall-only.S: New.
14950
acc23c11
PA
149512016-02-11 Pedro Alves <palves@redhat.com>
14952
14953 * README (Parallel testing): Add missing double quotes.
14954
e352bf0a
PA
149552016-02-11 Pedro Alves <palves@redhat.com>
14956
14957 * README (Parallel testing): New section.
14958 (GDB_PARALLEL): Rewrite.
14959 (FORCE_PARALLEL): Document.
14960
9f5fed78
MK
149612016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14962
14963 * gdb.trace/tfile-avx.c: New test.
14964 * gdb.trace/tfile-avx.exp: New test.
14965
9ef9e6a6
KS
149662016-02-09 Keith Seitz <keiths@redhat.com>
14967
14968 PR breakpoints/19546
14969 * gdb.base/infcall-exec.c: New file.
14970 * gdb.base/infcall-exec2.c: New file.
14971 * gdb.base/infcall-exec.exp: New file.
14972
a96e36da
KS
149732016-02-09 Keith Seitz <keiths@redhat.com>
14974
14975 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14976 (toplevel): Call test_bkpt_address.
14977
9f61929f
KS
149782016-02-09 Keith Seitz <keiths@redhat.com>
14979
14980 PR python/19506
14981 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14982 (toplevel): Call test_bkpt_address.
14983
1e94266c
SM
149842016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14985
14986 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14987 to AC_OUTPUT.
14988 * configure: Regenerate.
14989
2a7f3dff
PA
149902016-02-09 Pedro Alves <palves@redhat.com>
14991
14992 PR breakpoints/19548
14993 * gdb.base/execl-update-breakpoints.c (some_function): New
14994 function.
14995 (main): Call it.
14996 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14997 Tighten expected GDB output.
14998
2151ccc5
SM
149992016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15000
15001 * Makefile.in (ALL_SUBDIRS): Remove.
15002 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15003 (distclean maintainer-clean realclean): Likewise.
15004 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15005 * configure: Regenerate.
15006 * gdb.ada/Makefile.in: Delete.
15007 * gdb.arch/Makefile.in: Likewise.
15008 * gdb.asm/Makefile.in: Likewise.
15009 * gdb.base/Makefile.in: Likewise.
15010 * gdb.btrace/Makefile.in: Likewise.
15011 * gdb.cell/Makefile.in: Likewise.
15012 * gdb.compile/Makefile.in: Likewise.
15013 * gdb.cp/Makefile.in: Likewise.
15014 * gdb.disasm/Makefile.in: Likewise.
15015 * gdb.dlang/Makefile.in: Likewise.
15016 * gdb.dwarf2/Makefile.in: Likewise.
15017 * gdb.fortran/Makefile.in: Likewise.
15018 * gdb.gdb/Makefile.in: Likewise.
15019 * gdb.go/Makefile.in: Likewise.
15020 * gdb.guile/Makefile.in: Likewise.
15021 * gdb.java/Makefile.in: Likewise.
15022 * gdb.linespec/Makefile.in: Likewise.
15023 * gdb.mi/Makefile.in: Likewise.
15024 * gdb.modula2/Makefile.in: Likewise.
15025 * gdb.multi/Makefile.in: Likewise.
15026 * gdb.objc/Makefile.in: Likewise.
15027 * gdb.opencl/Makefile.in: Likewise.
15028 * gdb.opt/Makefile.in: Likewise.
15029 * gdb.pascal/Makefile.in: Likewise.
15030 * gdb.perf/Makefile.in: Likewise.
15031 * gdb.python/Makefile.in: Likewise.
15032 * gdb.reverse/Makefile.in: Likewise.
15033 * gdb.server/Makefile.in: Likewise.
15034 * gdb.stabs/Makefile.in: Likewise.
15035 * gdb.threads/Makefile.in: Likewise.
15036 * gdb.trace/Makefile.in: Likewise.
15037 * gdb.xml/Makefile.in: Likewise.
15038 * lib/gdb.exp (make_gdb_parallel_path): Add check for
15039 GDB_PARALLEL.
15040 (standard_output_file): Remove check for GDB_PARALLEL, always
15041 return path in outputs/$subdir/$testname.
15042
437277d4
SM
150432016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15044
15045 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
15046 (site.exp): Assign abs_srcdir to tcl's srcdir.
15047
31d913c7
YQ
150482016-02-04 Yao Qi <yao.qi@linaro.org>
15049
15050 * gdb.base/foll-exec-mode.c: Include limits.h.
15051 (main): Add parameters argc and argv. Get directory from
15052 argv[0].
15053 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
15054 compilation.
15055 * gdb.base/foll-exec.c: Include limits.h.
15056 (main): Add parameters argc and argv.
15057 Get directory from argv[0].
15058 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
15059 Adjust tests on the number of lines as source code changed.
15060 * gdb.base/foll-vfork-exit.c: Include limits.h.
15061 (main): Add one line of statement before vfork.
15062 * gdb.base/foll-vfork.c: Include limits.h and string.h.
15063 (main): Add parameters argc and argv. Get directory from
15064 argv[0].
15065 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
15066 (setup_gdb): Set tbreak to skip some source lines.
15067 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
15068 (main): Add parameters argc and argv. Get directory from
15069 argv[0].
15070 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
15071 compilation.
15072 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
15073 (main): Add parameters argc and argv. Get directory from
15074 argv[0].
15075 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
15076 compilation.
15077
9482b9fb
DE
150782016-02-01 Doug Evans <dje@google.com>
15079
15080 * gdb.base/skip.exp: Clean up multiple references to same test name.
15081
6b2e4f10
PA
150822016-02-01 Pedro Alves <palves@redhat.com>
15083
ccb6afd6 15084 PR remote/19496
6b2e4f10
PA
15085 * gdb.threads/forking-threads-plus-breakpoint.exp
15086 (displaced_stepping_supported): New global.
15087 (probe_displaced_stepping_support): New procedure.
15088 (do_test): Add 'displaced' parameter, and use it.
15089 (top level): Check for displaced stepping support. Add displaced
15090 stepping on/off testing axis.
15091
37a8db1a
AB
150922016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15093
15094 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
15095 pointer. Don't perform further tests on the unassociated pointer
15096 if the first test fails.
15097
5fdf6324
AB
150982016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15099
15100 * gdb.base/max-value-size.c: New file.
15101 * gdb.base/max-value-size.exp: New file.
15102 * gdb.base/huge.exp: Disable max-value-size for this test.
15103
935c6144
IB
151042016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
15105
15106 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15107
7fe8399d
YQ
151082016-01-28 Yao Qi <yao.qi@linaro.org>
15109
15110 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
15111
a2077e25
PA
151122016-01-25 Pedro Alves <palves@redhat.com>
15113
15114 PR threads/19461
15115 * gdb.base/fork-running-state.c: New file.
15116 * gdb.base/fork-running-state.exp: New file.
15117
1d2736d4
PA
151182016-01-25 Pedro Alves <palves@redhat.com>
15119
15120 PR gdb/19494
15121 * gdb.base/catch-fork-kill.c: New file.
15122 * gdb.base/catch-fork-kill.exp: New file.
15123
f1da4b11
PA
151242016-01-25 Pedro Alves <palves@redhat.com>
15125
15126 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
15127 Delete, moved to lib/gdb.exp.
15128 * gdb.threads/forking-threads-plus-breakpoint.exp
15129 (foreach_with_prefix): Likewise.
15130 * gdb.threads/process-dies-while-handling-bp.exp
15131 (foreach_with_prefix): Likewise.
15132 * lib/gdb.exp (foreach_with_prefix): New procedure.
15133
45f38546
MK
151342016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
15135
15136 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
15137 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
15138
dc29a1ce
MK
151392016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
15140
15141 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
15142 endian targets.
15143
092127d7
JK
151442016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15145 Pedro Alves <palves@redhat.com>
15146
15147 Fix testsuite compatibility with Guile.
15148 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
15149 number.
15150
31d765d3
JK
151512016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15152
15153 Fix testsuite compatibility with Guile.
15154 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
15155 (thread 1): New test for backtrace through signal handler.
15156
1ac78c04
YQ
151572016-01-22 Yao Qi <yao.qi@linaro.org>
15158
15159 PR testsuite/19491
15160 * gdb.base/multi-forks.c: Include
15161 ../lib/unbuffer_output.c
15162 (main): Call gdb_unbuffer_output.
15163
4f5946a8
DE
151642016-01-21 Doug Evans <dje@google.com>
15165
15166 * lib/ada.exp (gdb_compile_ada): Fix typo.
15167
305e13e6
JB
151682016-01-21 Joel Brobecker <brobecker@adacore.com>
15169
15170 * gdb.base/break-fun-addr.exp: New file.
15171 * gdb.base/break-fun-addr1.c: New file.
15172 * gdb.base/break-fun-addr2.c: New file.
15173
5f5dfff6
SM
151742016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
15175
15176 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
15177 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
15178 enum flag values.
15179
fd356fa2
AA
151802016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15181
15182 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
15183 when GDB can not set the vector return value. Add more comments
15184 for clarification.
15185
9df22175
AT
151862016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
15187
15188 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
15189 command.
15190
41d1845e
SM
151912016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15192
15193 * Makefile.in (DO_RUNTEST): Add --status and update usages.
15194
01ac6840
SM
151952016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15196
15197 * Makefile.in (check-single): Pass --status to runtest.
15198 (check/%.exp): Likewise.
15199
152002016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15201
15202 * Makefile.in (check-parallel): Propagate return code from make
15203 do-check-parallel.
15204
bd0a71fa
MK
152052016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
15206
15207 * gdb.trace/ftrace.exp: Fix expected message on continue.
15208 * gdb.trace/pending.exp: Fix expected message on continue.
15209 * gdb.trace/trace-break.exp: Fix expected message on continue.
15210
8bcbad33
SM
152112016-01-18 Simon Marchi <simon.marchi@ericsson.com>
15212
15213 * lib/gdb.exp (gdb_test): Remove unused global references.
15214
f303dbd6
PA
152152016-01-18 Pedro Alves <palves@redhat.com>
15216
15217 * gdb.base/async-shell.exp: Adjust expected output.
15218 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
15219 * gdb.base/siginfo-thread.exp: Adjust expected output.
15220 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
15221 * gdb.java/jnpe.exp: Adjust expected output.
15222 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15223 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15224 * gdb.threads/leader-exit.exp: Adjust expected output.
15225 * gdb.threads/manythreads.exp: Adjust expected output.
15226 * gdb.threads/pthreads.exp: Adjust expected output.
15227 * gdb.threads/schedlock.exp: Adjust expected output.
15228 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15229 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15230 expected output.
15231 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15232 output.
15233 * gdb.threads/sigthread.exp: Adjust expected output.
15234 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15235
b2789696
YQ
152362016-01-18 Yao Qi <yao.qi@linaro.org>
15237
15238 * gdb.guile/scm-section-script.c: Replace @progbits with
15239 %progbits.
15240 * gdb.python/py-section-script.c: Likewise.
15241
71ef29a8
PA
152422016-01-15 Pedro Alves <palves@redhat.com>
15243
15244 * gdb.multi/tids.exp: Test star wildcard ranges.
15245
3f5b7598
PA
152462016-01-15 Pedro Alves <palves@redhat.com>
15247
15248 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15249 command from "thread apply" invocation.
15250 (thr_apply_info_thr_invalid): Default the expected output to the
15251 input tid list.
15252 (top level): Add tests that use convenience variables. Add tests
15253 for "thread apply" with a valid TID list, but missing the command.
15254
663f6d42
PA
152552016-01-13 Pedro Alves <palves@redhat.com>
15256
15257 * gdb.base/default.exp: Expect $_gthread as well.
15258 * gdb.multi/tids.exp: Test $_gthread.
15259 * gdb.threads/thread-specific.exp: Test $_gthread.
15260
c84f6bbf
PA
152612016-01-13 Pedro Alves <palves@redhat.com>
15262
15263 * gdb.multi/tids.exp: Test "info threads -gid".
15264
22a02324
PA
152652016-01-13 Pedro Alves <palves@redhat.com>
15266
15267 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15268 Breakpoint.thread.
15269 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15270
5d5658a1
PA
152712016-01-07 Pedro Alves <palves@redhat.com>
15272
15273 * gdb.base/break.exp: Adjust to output changes.
15274 * gdb.base/hbreak2.exp: Likewise.
15275 * gdb.base/sepdebug.exp: Likewise.
15276 * gdb.base/watch_thread_num.exp: Likewise.
15277 * gdb.linespec/keywords.exp: Likewise.
15278 * gdb.multi/info-threads.exp: Likewise.
15279 * gdb.threads/thread-find.exp: Likewise.
15280 * gdb.multi/tids.c: New file.
15281 * gdb.multi/tids.exp: New file.
15282
84654457
PA
152832016-01-13 Pedro Alves <palves@redhat.com>
15284
15285 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15286
e3940304
PA
152872016-01-13 Pedro Alves <palves@redhat.com>
15288
15289 * gdb.base/default.exp: Expect $_inferior as well.
15290 * gdb.multi/base.exp: Test $_inferior.
15291
a911d87a
PA
152922016-01-13 Pedro Alves <palves@redhat.com>
15293
15294 PR breakpoints/19388
15295 * gdb.base/catch-signal-siginfo-cond.c: New file.
15296 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15297
82075af2
JS
152982016-01-12 Josh Stone <jistone@redhat.com>
15299 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15300
15301 * gdb.base/catch-syscall.c (do_execve): New variable.
15302 (main): Conditionally trigger an execve.
15303 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15304 (test_catch_syscall_execve): New, check entry/return across execve.
15305 (do_syscall_tests): Call test_catch_syscall_execve.
15306
e46eeedd
PA
153072016-01-12 Pedro Alves <palves@redhat.com>
15308
15309 * gdb.base/random-signal.exp (do_test): New procedure, with body
15310 of testcase moved in.
15311
01d8c27e
JK
153122016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15313 Pedro Alves <palves@redhat.com>
15314
15315 * gdb.base/funcargs.exp (finish from indirectly called function):
15316 Reintroduce the case for 'First'.
15317
9a706302
JK
153182016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15319 Pedro Alves <palves@redhat.com>
15320
15321 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15322 (tcatch_vfork_then_child_follow_exec)
15323 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15324 identification.
15325
c0ecb95f
JK
153262016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15327
15328 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15329 and repeats to unlimited.
15330 * gdb.python/py-value.exp: Likewise.
15331 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15332 and repeats to unlimited.
15333
6cfc1fcb
JK
153342016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15335
15336 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15337 and reordering the functions.
15338 * gdb.multi/hangout.c: Likewise.
15339 * gdb.multi/hello.c: Likewise.
15340
582a1b00
SM
153412016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15342
15343 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15344 absolute.
15345 (SingleStatisticTestResult.report): Use dict.keys instead of
15346 dict.iterkeys.
15347
79bc59cb
PA
153482016-01-06 Pedro Alves <palves@redhat.com>
15349
15350 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15351
43368e1d
MM
153522016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15353
15354 * gdb.btrace/dlopen.exp: New.
15355 * gdb.btrace/dlopen.c: New.
15356 * gdb.btrace/dlopen-dso.c: New.
15357
79fad5b8
SL
153582015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15359
15360 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15361 PATTERN argument is optional.
15362
ab8314b3
JB
153632015-12-24 Joel Brobecker <brobecker@adacore.com>
15364
15365 * lib/ada.exp (target_compile_ada_from_dir): New function.
15366 (gdb_compile_ada): Reimplement avoiding the use of project files.
15367 * gdb.ada/gnat_ada.gpr: Delete.
15368 * gdb.ada/cond_lang.exp: Adjust test to make path before
15369 filename optional.
15370 * gdb.ada/small_reg_param.exp: Likewise.
15371
fe33faff
SM
153722015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15373
15374 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15375
6d265cb4
TP
153762015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15377
15378 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15379 case.
15380
10125099
SM
153812015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15382
15383 * gdb.base/break.exp: Remove dead code.
15384 * gdb.base/sepdebug.exp: Likewise.
15385
3ca22649
SM
153862015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15387
15388 * gdb.asm/asm-source.exp: Remove HP-UX references.
15389 * gdb.base/annota1.exp: Likewise.
15390 * gdb.base/annota3.exp: Likewise.
15391 * gdb.base/attach.exp: Likewise.
15392 * gdb.base/bigcore.exp: Likewise.
15393 * gdb.base/break.exp: Likewise.
15394 * gdb.base/call-ar-st.exp: Likewise.
15395 * gdb.base/callfuncs.exp: Likewise.
15396 * gdb.base/catch-fork-static.exp: Likewise.
15397 * gdb.base/display.exp: Likewise.
15398 * gdb.base/foll-exec-mode.exp: Likewise.
15399 * gdb.base/foll-exec.exp: Likewise.
15400 * gdb.base/foll-fork.exp: Likewise.
15401 * gdb.base/foll-vfork.exp: Likewise.
15402 * gdb.base/funcargs.exp: Likewise.
15403 * gdb.base/hbreak2.exp: Likewise.
15404 * gdb.base/inferior-died.exp: Likewise.
15405 * gdb.base/interrupt.exp: Likewise.
15406 * gdb.base/multi-forks.exp: Likewise.
15407 * gdb.base/nodebug.exp: Likewise.
15408 * gdb.base/sepdebug.exp: Likewise.
15409 * gdb.base/solib1.c: Likewise.
15410 * gdb.base/step-test.exp: Likewise.
15411 * gdb.mi/non-stop.c: Likewise.
15412 * gdb.mi/pthreads.c: Likewise.
15413 * gdb.multi/bkpt-multi-exec.ex: Likewise.
15414 * gdb.threads/pthreads.c: Likewise.
15415 * gdb.threads/staticthreads.exp: Likewise.
15416 * lib/future.exp: Likewise.
15417 * lib/gdb.exp: Likewise.
15418 * gdb.base/so-indr-cl.c: Remove.
15419 * gdb.base/so-indr-cl.exp: Likewise.
15420 * gdb.base/solib.c: Likewise.
15421 * gdb.base/solib.exp: Likewise.
15422 * gdb.base/solib2.c: Likewise.
15423
b6304613
SM
154242015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15425
15426 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
15427 * gdb.base/call-ar-st.exp: Likewise.
15428 * gdb.base/callfuncs.exp: Likewise.
15429 * gdb.base/condbreak.exp: Likewise.
15430 * gdb.base/constvars.exp: Likewise.
15431 * gdb.base/hbreak2.exp: Likewise.
15432 * gdb.base/langs.exp: Likewise.
15433 * gdb.base/list.exp: Likewise.
15434 * gdb.base/long_long.exp: Likewise.
15435 * gdb.base/ptype.exp: Likewise.
15436 * gdb.base/scope.exp: Likewise.
15437 * gdb.base/signals.exp: Likewise.
15438 * gdb.base/so-impl-ld.exp: Likewise.
15439 * gdb.base/varargs.exp: Likewise.
15440 * gdb.base/volatile.exp: Likewise.
15441 * gdb.base/whatis.exp: Likewise.
15442 * gdb.cp/cplusfuncs.exp: Likewise.
15443 * gdb.cp/inherit.exp: Likewise.
15444 * gdb.cp/local.exp: Likewise.
15445 * gdb.cp/member-ptr.exp: Likewise.
15446 * gdb.cp/method.exp: Likewise.
15447 * gdb.cp/overload.exp: Likewise.
15448 * gdb.cp/templates.exp: Likewise.
15449 * gdb.stabs/weird.exp: Likewise.
15450 * lib/compiler.c: Likewise.
15451 * lib/compiler.cc: Likewise.
15452 * lib/cp-support.exp: Likewise.
15453 * lib/gdb.exp: Likewise.
15454
bf401b07
SM
154552015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15456
15457 * configure.ac: Remove HP-UX case.
15458 * configure: Regenerate.
15459
aff9c0f8
SM
154602015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15461
15462 * lib/gdb.exp (gdb_compile): Add function doc.
15463
a6904d5a
PA
154642015-12-17 Pedro Alves <palves@redhat.com>
15465
15466 PR threads/19354
15467 * gdb.multi/info-threads.exp: New file.
15468
a22279dd
YQ
154692015-12-15 Yao Qi <yao.qi@linaro.org>
15470
15471 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15472 is aarch64*-*-*.
15473
0588c796
SL
154742015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15475
15476 * gdb.base/history-duplicates.exp: Skip if no readline support.
15477
5d978e17
SL
154782015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15479
15480 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15481
7e763b86
SL
154822015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15483
15484 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15485
87a3a92c
SL
154862015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15487
15488 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15489 ctrl-C if nointerrupts target property is set.
15490 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15491 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15492 * gdb.base/paginate-bg-execution.exp: Likewise.
15493 * gdb.base/paginate-execution-startup.exp: Likewise.
15494 * gdb.base/random-signal.exp: Likewise.
15495 * gdb.base/range-stepping.exp: Likewise.
15496 * gdb.cp/annota2.exp: Likewise.
15497 * gdb.cp/annota3.exp: Likewise.
15498 * gdb.gdb/selftest.exp: Likewise.
15499 * gdb.threads/continue-pending-status.exp: Likewise.
15500 * gdb.threads/leader-exit.exp: Likewise.
15501 * gdb.threads/manythreads.exp: Likewise.
15502 * gdb.threads/pthreads.exp: Likewise.
15503 * gdb.threads/schedlock.exp: Likewise.
15504 * gdb.threads/sigthread.exp: Likewise.
15505
a8f077dc
DB
155062015-12-11 Don Breazeal <donb@codesourcery.com>
15507
15508 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
15509 remote.
15510 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
15511 * gdb.base/foll-exec.exp (main): Enable for target remote.
15512 * gdb.base/foll-fork.exp (main): Likewise.
15513 * gdb.base/foll-vfork.exp (main): Likewise.
15514 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
15515 (proc continue_to_exit_bp_loc): Use clean_restart.
15516 * gdb.base/pie-execl.exp (main): Disable for target remote.
15517 * gdb.base/watch-vfork.exp (main): Enable for target remote.
15518 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
15519 * gdb.threads/execl.exp (main): Likewise.
15520 * gdb.threads/fork-child-threads.exp (main): Likewise.
15521 * gdb.threads/fork-plus-threads.exp (main): Disable for target
15522 remote.
15523 * gdb.threads/fork-thread-pending.exp (main): Enable for target
15524 remote.
15525 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
15526 pid.tid style ptids, instead of just tid.
15527 * gdb.threads/thread-execl.exp (main): Enable for target remote.
15528 * gdb.threads/watchpoint-fork.exp (main): Likewise.
15529 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
15530 ptids, instead of just tid.
15531
3b2464a8
AB
155322015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15533
15534 * gdb.base/list.exp (test_list_forward): Add end of file error
15535 test.
15536 (test_repeat_list_command): Add end of file error test.
15537 (test_list_backwards): Add beginning of file error test.
15538
a0def019
AB
155392015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15540
15541 * gdb.base/list.exp (test_list_invalid_args): New function,
15542 defined, and called.
15543
5c000dff
AB
155442015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15545
15546 * gdb.base/list.exp (test_list): Make test names unique.
15547
f1637ebe
YQ
155482015-12-11 Yao Qi <yao.qi@linaro.org>
15549
15550 * gdb.base/coremaker2.c: Remove.
15551
36d6fc0a
PA
155522015-12-10 Pedro Alves <palves@redhat.com>
15553
15554 * gdb.multi/base.exp: Remove stale "spaces" references.
15555
762f7747
PA
155562015-12-10 Pedro Alves <palves@redhat.com>
15557
15558 * gdb.multi/base.exp: Don't use nowarnings.
15559 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
15560 * gdb.multi/hangout.c: Include stdio.h.
15561 * gdb.multi/hello.c: Include stdlib.h.
15562 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
15563 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
15564 * gdb.multi/multi-arch.exp: Don't use nowarnings.
15565
28d2bfb9
AB
155662015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
15567
15568 * gdb.dwarf2/dw2-ranges-base.c: New file.
15569 * gdb.dwarf2/dw2-ranges-base.exp: New file.
15570 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
15571 support additional line table, and debug ranges generation.
15572 (Dwarf::ranges): New function, generate .debug_ranges.
15573 (Dwarf::lines): Support generating simple line table programs.
15574 (Dwarf::assemble): Initialise new namespace variables.
15575
5fc2beac
KB
155762015-12-09 Kevin Buettner <kevinb@redhat.com>
15577
15578 * gdb.base/async.exp (proc test_background): Add case for
15579 asynchronous execution not supported.
15580
1c35a88f
LM
155812015-12-09 Luis Machado <lgustavo@codesourcery.com>
15582
15583 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15584 format and change test names to make them unique.
15585
b593e3d9
RK
155862015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15587 Pedro Alves <pedro@redhat.com>
15588
15589 PR gdb/18702
15590 Add checking of floatformats setup on x86_64 hosts.
15591 * gdb.arch/i386-float.S (main): Load bigval and smallval.
15592 (smallval, bigval): New labels/constants.
15593 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
15594 float" after loading bigval and smallval.
15595
d72413e6
PMR
155962015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15597
15598 * gdb.ada/fun_overload_menu.exp: New testcase.
15599 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15600
ece66d65
JS
156012015-12-04 Josh Stone <jistone@redhat.com>
15602
15603 * gdb.base/catch-fork-static.exp: New.
15604
41d0efca
YQ
156052015-12-03 Yao Qi <yao.qi@linaro.org>
15606
15607 * gdb.base/sizeof.c: Don't include stdio.h and
15608 ../lib/unbuffer_output.c.
15609 (main): New variable 'size' and 'value'. Remove printf and
15610 gdb_unbuffer_output. Assign return value to size and value.
15611 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
15612 at the beginning.
15613 (check_sizeof): Check the result by printing variable 'size'.
15614 (check_valueof): Check the result by printing variable 'value'.
15615
99fd02d9
YQ
156162015-12-01 Yao Qi <yao.qi@linaro.org>
15617
15618 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15619 for aarch64*-*-linux* target.
15620
f2faf941
PA
156212015-11-30 Pedro Alves <palves@redhat.com>
15622
15623 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15624
04bf20c5
PA
156252015-11-30 Pedro Alves <palves@redhat.com>
15626
15627 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15628 Handle non-stop mode vCont replies.
15629
09df4675
PA
156302015-11-30 Pedro Alves <palves@redhat.com>
15631
15632 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
15633 prepare_for_testing. Start gdb with "set non-stop on" appended to
15634 GDBFLAGS. Lax expected stop output.
15635
58b584af
YQ
156362015-11-27 Yao Qi <yao.qi@linaro.org>
15637
15638 * gdb.arch/arm-neon.exp: New.
15639 * gdb.arch/arm-neon.c: New.
15640
dfcb77a8
YQ
156412015-11-27 Yao Qi <yao.qi@linaro.org>
15642
15643 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15644
88e8ec1b
YQ
156452015-11-27 Yao Qi <yao.qi@linaro.org>
15646
15647 * gdb.cp/annota2.exp: Allow multiple occurrences of the
15648 frames-invalid annotation.
15649
bfde72c2
YQ
156502015-11-27 Yao Qi <yao.qi@linaro.org>
15651
15652 * gdb.cp/annota2.exp: Use ${frames_invalid}.
15653
f6512a69
SM
156542015-11-26 Simon Marchi <simon.marchi@ericsson.com>
15655
15656 * gdb.threads/names.exp: New file.
15657 * gdb.threads/names.c: New file.
15658 * README: Mention gdb,no_thread_names.
15659
46a3515b
MM
156602015-11-26 Markus Metzger <markus.t.metzger@intel.com>
15661
15662 PR 19297
15663 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
15664 support" error.
15665
62147a22
PA
156662015-11-24 Pedro Alves <palves@redhat.com>
15667
15668 PR 17539
15669 * gdb.base/display.exp: Expect displays to be sorted in ascending
15670 order. Use multi_line.
15671 * gdb.base/solib-display.exp: Likewise.
15672
2f341b6e
PA
156732015-11-24 Pedro Alves <palves@redhat.com>
15674
15675 PR 17539
25d49b86
PA
15676 * gdb.base/display.exp: Expect displays to be sorted in ascending
15677 order. Use multi_line.
15678 * gdb.base/solib-display.exp: Likewise.
2f341b6e 15679
7e0aa6aa
PA
156802015-11-24 Pedro Alves <palves@redhat.com>
15681
15682 PR 17539
15683 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
15684 threads in ascending order.
15685 * gdb.base/foll-fork.exp: Likewise.
15686 * gdb.base/foll-vfork.exp: Likewise.
15687 * gdb.base/multi-forks.exp: Likewise.
15688 * gdb.mi/mi-nonstop.exp: Likewise.
15689 * gdb.mi/mi-nsintrall.exp: Likewise.
15690 * gdb.multi/base.exp: Likewise.
15691 * gdb.multi/multi-arch.exp: Likewise.
15692 * gdb.python/py-inferior.exp: Likewise.
15693 * gdb.threads/break-while-running.exp: Likewise.
15694 * gdb.threads/execl.exp: Likewise.
15695 * gdb.threads/gcore-thread.exp: Likewise.
15696 * gdb.threads/info-threads-cur-sal.exp: Likewise.
15697 * gdb.threads/kill.exp: Likewise.
15698 * gdb.threads/linux-dp.exp: Likewise.
15699 * gdb.threads/multiple-step-overs.exp: Likewise.
15700 * gdb.threads/next-bp-other-thread.exp: Likewise.
15701 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
15702 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
15703 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
15704 * gdb.threads/thread-find.exp: Likewise.
15705 * gdb.threads/tls.exp: Likewise.
15706 * lib/mi-support.exp (mi_reverse_list): Delete.
15707 (mi_check_thread_states): No longer reverse list.
15708
2cc57ad8
PA
157092015-11-24 Pedro Alves <palves@redhat.com>
15710
15711 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
15712 use lowercase.
15713
c93e8391
SM
157142015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15715
15716 * gdb.trace/actions.c: Include trace-common.h.
15717 (main): Add a location for a fast tracepoint.
15718 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
15719 the normal tracepoints.
15720 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
15721
045ccf91
SM
157222015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15723
15724 * save-trace.exp: Factor out code to these...
15725 (gdb_save_tracepoints): New.
15726 (gdb_load_tracepoints): New.
15727 (do_save_load_test): New.
15728
5506f9f6
KB
157292015-11-23 Kevin Buettner <kevinb@redhat.com>
15730
15731 * gdb.base/asmlabel.exp: New test.
15732 * gdb.base/asmlabel.c: New test case.
15733
16c3b12f
JB
157342015-11-23 Joel Brobecker <brobecker@adacore.com>
15735
15736 * gdb.base/wrong_frame_bt_full-main.c: New file.
15737 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
15738 * gdb.base/wrong_frame_bt_full.exp: New file.
15739
155bfbd3
JB
157402015-11-23 Joel Brobecker <brobecker@adacore.com>
15741
15742 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15743
bb097445
JM
157442015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15745
206853a0 15746 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
15747 pstate register when comparing registers values in
15748 sparc64-*-linux-gnu targets to avoid spurious differences.
15749
9c88ed8f
JM
157502015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15751
206853a0 15752 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 15753
96161e25
SL
157542015-11-19 Sandra Loosemore <sandra@codesourcery.com>
15755
15756 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
15757 as type argument to gdb_compile.
15758 * gdb.base/nested-subp2.exp: Likewise.
15759 * gdb.base/nested-subp3.exp: Likewise.
15760
340c2830
DV
157612015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15762
15763 * lib/dwarf.exp (_note): Fix left shift of negative value.
15764 * gdb.trace/trace-condition.exp: Likewise.
15765
c1862d0f
YQ
157662015-11-13 Yao Qi <yao.qi@linaro.org>
15767
15768 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15769 comments about d10v.
15770 (test_scalar_returns): Likewise.
15771 * gdb.base/d10v.ld: Remove.
15772 * gdb.base/overlays.exp: Remove the target triplet checking for
15773 d10v-*-*.
15774 * gdb.base/structs.exp (test_struct_returns): Remove the
15775 comments about d10v.
15776 (test_struct_calls): Likewise.
15777
77ae9c19
YQ
157782015-11-13 Yao Qi <yao.qi@linaro.org>
15779
15780 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15781 * gdb.base/gnu_vector.c: Don't include stdio.h.
15782 (main): Don't print res and call add_some_intvecs.
15783
430e004e
MK
157842015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15785
15786 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15787 macro.
15788 (func5): Removed.
15789 (func4): Use FAST_TRACEPOINT_LABEL.
15790 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15791 macro.
15792 (func): Removed.
15793 (thread_function): Use FAST_TRACEPOINT_LABEL.
15794 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15795 (func): Remove.
15796 (marker): Use FAST_TRACEPOINT_LABEL.
15797 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15798 (pendfunc1): Remove.
15799 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15800 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15801 (foo): Remove.
15802 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15803 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15804 macro.
15805 (func): Remove.
15806 (marker): Use FAST_TRACEPOINT_LABEL.
15807 * gdb.trace/trace-common.h: New header.
15808 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
15809 macro.
15810 (func): Remove.
15811 (marker): Use FAST_TRACEPOINT_LABEL.
15812 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15813 (func): Remove.
15814 (thread_function): Use FAST_TRACEPOINT_LABEL.
15815
6e7675a7
MK
158162015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15817
15818 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
15819 in front.
15820 * gdb.trace/change-loc.exp: Use global pcreg definition.
15821 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
15822 * gdb.trace/entry-values.exp: Use global spreg definition, add $
15823 in front.
15824 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
15825 * gdb.trace/pending.exp: Likewise.
15826 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
15827 * gdb.trace/trace-break.exp: Likewise.
15828 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
15829 in front.
15830 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15831 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15832 in front.
15833 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15834
dddc0e16
JB
158352015-11-09 Joel Brobecker <brobecker@adacore.com>
15836
15837 * gdb.ada/fin_fun_out: New testcase.
15838
c6f0b406
KB
158392015-11-07 Kevin Buettner <kevinb@redhat.com>
15840
15841 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
15842 value associated with DW_AT_byte_size.
15843 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
15844 constants for DW_AT_byte_size, DW_AT_lower_bound, and
15845 DW_AT_upper_bound.
15846
f01dcfd9
KB
158472015-11-07 Kevin Buettner <kevinb@redhat.com>
15848
15849 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15850 (gdb_target_symbol_prefix_flags): Define in terms of _asm
15851 version.
15852 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
15853 gdb.dwarf2/dw2-canonicalize-type.exp,
15854 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
15855 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
15856 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
15857 provided by gdb_target_symbol_prefix_flags_asm.
15858 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
15859 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
15860 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
15861 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
15862 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
15863 macros where needed). Use this macro for symbols which require
15864 the prefix provided by SYMBOL_PREFIX.
15865
2223449a
KB
158662015-11-05 Kevin Buettner <kevinb@redhat.com>
15867
15868 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
15869 New procs.
15870 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
15871 representing expressions, of more than one list element.
15872 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
15873 to prepend linker symbol prefix to f.
15874 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
15875 table_1 and table_2.
15876 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
15877 Likewise, for f and g.
15878 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
15879 for ptr.
15880 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15881 for main.
15882 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15883 table_1_ptr and table_2_ptr.
15884
6f2f1a3a
JK
158852015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15886 Joel Brobecker <brobecker@adacore.com>
15887
15888 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15889
566c56c9
MK
158902015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
15891
15892 * gdb.reverse/s390-mvcle.c: New test.
15893 * gdb.reverse/s390-mvcle.exp: New file.
15894 * lib/gdb.exp: Enable reverse tests on s390*-linux.
15895
d5f0636b
MK
158962015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15897
15898 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15899
7ad8b86c
MK
159002015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15901
15902 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15903 reaching marker2.
15904 * gdb.reverse/getresuid-reverse.exp: Likewise.
15905 * gdb.reverse/pipe-reverse.exp: Likewise.
15906 * gdb.reverse/readv-reverse.exp: Likewise.
15907 * gdb.reverse/recvmsg-reverse.exp: Likewise.
15908 * gdb.reverse/time-reverse.exp: Likewise.
15909 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
15910
4081c0f1
YQ
159112015-10-30 Yao Qi <yao.qi@linaro.org>
15912
15913 * gdb.threads/wp-replication.c (watch_count_done): Remove.
15914 (empty_cycle): Remove.
15915 (main): Don't call empty_cycle. Don't use watch_count_done.
15916 * gdb.threads/wp-replication.exp: Don't set breakpoint on
15917 empty_cycle. Rewrite the code counting HW watchpoints.
15918
452b4ba5
MK
159192015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
15920
15921 * gdb.reverse/fstatat-reverse.c: New test.
15922 * gdb.reverse/fstatat-reverse.exp: New file.
15923 * gdb.reverse/getresuid-reverse.c: New test.
15924 * gdb.reverse/getresuid-reverse.exp: New file.
15925 * gdb.reverse/pipe-reverse.c: New test.
15926 * gdb.reverse/pipe-reverse.exp: New file.
15927 * gdb.reverse/readv-reverse.c: New test.
15928 * gdb.reverse/readv-reverse.exp: New file.
15929 * gdb.reverse/recvmsg-reverse.c: New test.
15930 * gdb.reverse/recvmsg-reverse.exp: New file.
15931 * gdb.reverse/time-reverse.c: New test.
15932 * gdb.reverse/time-reverse.exp: New file.
15933 * gdb.reverse/waitpid-reverse.c: New test.
15934 * gdb.reverse/waitpid-reverse.exp: New file.
15935
5e2e7507
JK
159362015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15937
15938 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15939
0fde2c53
DE
159402015-10-26 Doug Evans <dje@google.com>
15941
15942 PR symtab/17391
15943 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15944 * gdb.dwarf2/bad-regnum.c: New file.
15945 * gdb.dwarf2/bad-regnum.exp: New file.
15946
1a70ae97
DE
159472015-10-26 Doug Evans <dje@google.com>
15948
15949 PR python/18938
15950 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15951 file.
15952
27dc26ab
JK
159532015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15954
15955 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15956 for a change by "Mention language in compile error message".
15957
bed91f4d
SM
159582015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15959
15960 PR python/18073
15961 * gdb.python/py-type.c (C::a_method): New.
15962 (C::a_const_method): New.
15963 (C::a_static_method): New.
15964 (a_function): New.
15965 * gdb.python/py-type.exp (test_fields): Test getting fields
15966 from function and method.
15967
3f2f83dd
KB
159682015-10-21 Keven Boell <keven.boell@intel.com>
15969
15970 * gdb.fortran/vla-alloc-assoc.exp: New file.
15971 * gdb.fortran/vla-datatypes.exp: New file.
15972 * gdb.fortran/vla-datatypes.f90: New file.
15973 * gdb.fortran/vla-history.exp: New file.
15974 * gdb.fortran/vla-ptype-sub.exp: New file.
15975 * gdb.fortran/vla-ptype.exp: New file.
15976 * gdb.fortran/vla-sizeof.exp: New file.
15977 * gdb.fortran/vla-sub.f90: New file.
15978 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15979 * gdb.fortran/vla-value-sub-finish.exp: New file.
15980 * gdb.fortran/vla-value-sub.exp: New file.
15981 * gdb.fortran/vla-value.exp: New file.
15982 * gdb.fortran/vla-ptr-info.exp: New file.
15983 * gdb.mi/mi-vla-fortran.exp: New file.
15984 * gdb.mi/vla.f90: New file.
15985
27145d50
SL
159862015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15987
15988 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15989 of hardwired timeout value.
15990
5f3ff4f8
JK
159912015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15992 Pedro Alves <palves@redhat.com>
15993
15994 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15995 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15996
bfd09d20
JS
159972015-10-19 Josh Stone <jistone@redhat.com>
15998
15999 * gdb.base/catch-syscall.c: Include <sched.h>.
16000 (unknown_syscall): New variable.
16001 (main): Trigger a vfork and an unknown syscall.
16002 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16003 (unknown_syscall_number): Likewise.
16004 (check_call_to_syscall): Accept an optional syscall pattern.
16005 (check_return_from_syscall): Likewise.
16006 (check_continue): Likewise.
16007 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16008 (test_catch_syscall_skipping_return): New test toggling off 'catch
16009 syscall' to step over the syscall return, then toggling back on.
16010 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16011 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
16012 (do_syscall_tests): Call test_catch_syscall_without_args and
16013 test_catch_syscall_mid_vfork.
16014 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
16015 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
16016
b32b93c6
AS
160172015-10-19 Andrew Stubbs <ams@codesourcery.com>
16018
16019 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
16020 print g_vE): Add new pass patterns.
16021 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
16022 print various symbol names for vptr fields.
16023
9d622bda
AB
160242015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
16025
16026 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
16027 results.
16028
0fd8ac1c
YQ
160292015-10-12 Yao Qi <yao.qi@linaro.org>
16030
16031 * gdb.arch/disp-step-insn-reloc.exp: New test case.
16032
34240514
YQ
160332015-10-12 Yao Qi <yao.qi@linaro.org>
16034
16035 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
16036 is aarch64*-*-linux*.
16037
8240f442
YQ
160382015-10-12 Yao Qi <yao.qi@linaro.org>
16039
16040 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
16041 (can_relocate_bcond_true): ... it.
16042 (can_relocate_bcond_false): New function.
16043 (foo): Likewise.
16044 (can_relocate_bl): Likewise.
16045 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
16046 can_relocate_bl.
16047
2520f728
PMR
160482015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
16049
16050 * gdb.base/nested-addr.c: New file.
16051 * gdb.base/nested-addr.exp: New testcase.
16052
abcef95a
MM
160532015-10-09 Markus Metzger <markus.t.metzger@intel.com>
16054
16055 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
16056 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
16057 its output. Ignore the output of "record goto begin" and instead
16058 check that GDB is replaying.
16059
145e3ddb
PA
160602015-10-09 Pedro Alves <palves@redhat.com>
16061
16062 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
16063 (top level): Use it in the run with no args test.
16064
d5d8c4e1
IB
160652015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
16066
16067 * gdb.dlang/properties.exp: New file.
16068
06e635ef
SL
160692015-10-02 Sandra Loosemore <sandra@codesourcery.com>
16070
16071 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
16072 whether or not address 0x1000 is mapped on the target.
16073
e019fd1d
SM
160742015-09-30 Simon Marchi <simon.marchi@ericsson.com>
16075
16076 * gdb.python/py-type.exp: Do not run tests if binaries fail to
16077 build.
16078
77ba2a67
MM
160792015-09-30 Markus Metzger <markus.t.metzger@intel.com>
16080
16081 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
16082 instruction-history test.
16083
c60eb31f
DE
160842015-09-28 Doug Evans <dje@google.com>
16085
16086 * gdb.base/gcore.c (array_func): Add reference to static_array.
16087
9a3c8263
SM
160882015-09-25 Simon Marchi <simon.marchi@ericsson.com>
16089
16090 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
16091 source line.
16092
9720e656
SL
160932015-09-24 Sandra Loosemore <sandra@codesourcery.com>
16094
16095 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
16096 short or char as base type.
16097
938d3bf2
SL
160982015-09-23 Sandra Loosemore <sandra@codesourcery.com>
16099
16100 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
16101 to allow any size enum.
16102
e6c2c623
PMR
161032015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
16104
16105 * gdb.ada/array_ptr_renaming.exp: New testcase.
16106 * gdb.ada/array_ptr_renaming/foo.adb: New file.
16107 * gdb.ada/array_ptr_renaming/pack.ads: New file.
16108
06da0f77
PL
161092015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16110
16111 * gdb.trace/ftrace-lock.c: New file.
16112 * gdb.trace/ftrace-lock.exp: New file.
16113
4f51c22a
PL
161142015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16115
16116 * gdb.arch/insn-reloc.c: New file.
16117 * gdb.arch/ftrace-insn-reloc.exp: New file.
16118
7041adf4
PL
161192015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16120
16121 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
16122 instruction.
16123 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16124 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
16125 * gdb.trace/range-stepping.c: Likewise.
16126 * gdb.trace/trace-break.c: Likewise.
16127 * gdb.trace/trace-mt.c (thread_function): Likewise.
16128 * gdb.trace/ftrace.c (marker): Likewise.
16129 * gdb.trace/trace-condition.c (marker): Likewise.
16130 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
16131 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
16132 is_aarch64_target.
16133
015d2e7e
DE
161342015-09-18 Doug Evans <xdje42@gmail.com>
16135
16136 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
16137 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
16138
26b188a2
SL
161392015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16140
16141 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
16142 the breakpoint.
16143
79dc332b
SL
161442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16145
16146 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
16147 the pending breakpoint. Remove timeout override for "Run till
16148 MI pending breakpoint on pendfunc3 on thread 2" test.
16149
f57929f2
SL
161502015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16151
16152 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
16153 filename pattern.
16154
3f469b17
SL
161552015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16156
16157 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
16158 in breakpoint filename pattern.
16159
515b89b3
SL
161602015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16161
7800dbe4
SL
16162 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
16163
161642015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16165
515b89b3
SL
16166 * gdb.linespec/explicit.exp: Check for readline support for
16167 tab-completion tests. Fix obvious typo.
16168
d2939ba2
MM
161692015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16170
16171 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
16172 and replay.
16173
cbb55fa7
MM
161742015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16175
16176 * gdb.btrace/non-stop.c: New.
16177 * gdb.btrace/non-stop.exp: New.
16178
43691ca1
PL
161792015-09-17 Pierre Langlois <pierre.langlois@arm.com>
16180 Yao Qi <yao.qi@linaro.org>
16181
16182 * gdb.trace/trace-condition.c: New file.
16183 * gdb.trace/trace-condition.exp: New file.
16184
d78908cf
WW
161852015-09-16 Wei-cheng Wang <cole945@gmail.com>
16186
16187 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
16188 for testing bytecode compilation.
16189
1ed415e2
PA
161902015-09-16 Pedro Alves <palves@redhat.com>
16191 Sandra Loosemore <sandra@codesourcery.com>
16192
16193 * gdb.threads/non-stop-fair-events.c (timeout): New global.
16194 (SECONDS): Redefine.
16195 (main): Call pthread_kill and alarm early.
16196 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
16197 support.
16198 (test): If the target can't hardware step and doesn't support
16199 displaced stepping, increase the timeout.
16200
d136eff5
PA
162012015-09-16 Pedro Alves <palves@redhat.com>
16202
16203 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
16204 (enable_debug): New procedures.
16205 (test): Use them. Bail out if waiting for threads fails.
16206 (top level): Bail out if a test fails.
16207
991f019c
YQ
162082015-09-16 Yao Qi <yao.qi@linaro.org>
16209
16210 * gdb.asm/asm-source.exp: Set asm-arch for
16211 aarch64*-*-* target.
16212 * gdb.asm/aarch64.inc: New file.
16213
bfca584f
PMR
162142015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
16215
16216 * gdb.ada/array_of_variable_length.exp: New testcase.
16217 * gdb.ada/array_of_variable_length/foo.adb: New file.
16218 * gdb.ada/array_of_variable_length/pck.adb: New file.
16219 * gdb.ada/array_of_variable_length/pck.ads: New file.
16220
b326e587
DE
162212015-09-15 Doug Evans <dje@google.com>
16222
16223 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16224 of function static local variable.
16225
5382cfab
PW
162262015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16227
16228 * gdb.threads/tls-so_extern.exp: New test file.
16229 * gdb.threads/tls-so_extern.c: New test file.
16230 * gdb.threads/tls-so_extern_main.c: New test file.
16231
141c5cc4
JK
162322015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16233
16234 * gdb.opt/solib-intra-step-lib.c: New file.
16235 * gdb.opt/solib-intra-step-main.c: New file.
16236 * gdb.opt/solib-intra-step.exp: New file.
16237
d15dcecd
PA
162382015-09-15 Pedro Alves <palves@redhat.com>
16239
16240 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16241 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16242
4c2f2a79
PA
162432015-09-14 Pedro Alves <palves@redhat.com>
16244
16245 * gdb.base/hook-stop-continue.c: Delete.
16246 * gdb.base/hook-stop-continue.exp: Delete.
16247 * gdb.base/hook-stop-frame.c: Delete.
16248 * gdb.base/hook-stop-frame.exp: Delete.
16249 * gdb.base/hook-stop.c: New file.
16250 * gdb.base/hook-stop.exp: New file.
16251
919e6dbe
PMR
162522015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16253
16254 * gdb.ada/access_to_packed_array.exp: New testcase.
16255 * gdb.ada/access_to_packed_array/foo.adb: New file.
16256 * gdb.ada/access_to_packed_array/pack.adb: New file.
16257 * gdb.ada/access_to_packed_array/pack.ads: New file.
16258
157280a4
MM
162592015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16260
16261 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16262 buffer size test.
16263
2fd33e94
DB
162642015-09-11 Don Breazeal <donb@codesourcery.com>
16265
16266 * gdb.base/foll-exec.c: Add copyright header. Fix
16267 formatting issues.
16268 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16269 (do_exec_tests): Use clean_restart in place of zap_session,
16270 and for test initialization. Fix formatting issues. Use
16271 fail in place of perror.
16272 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16273 an expect statement to match an expression with output from
16274 the program under debug.
16275 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16276 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16277 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16278 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16279 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16280
e70b6e8e
DE
162812015-09-09 Doug Evans <dje@google.com>
16282
16283 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16284
7a551a51
DE
162852015-09-09 Doug Evans <dje@google.com>
16286
16287 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16288
4c666f84
DE
162892015-09-09 Doug Evans <dje@google.com>
16290
16291 * gdb.base/savedregs.exp: Fix typo.
16292
243a9253
PA
162932015-09-09 Pedro Alves <palves@redhat.com>
16294
16295 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16296
c0fa8fbd
SL
162972015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16298
16299 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16300 command actually switches threads. Give up on remaining
16301 tests if target fails to stop at breakpoint.
16302
cd7c1778
PMR
163032015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16304
16305 * gdb.ada/funcall_char.exp: New testcase.
16306 * gdb.ada/funcall_char/foo.adb: New file.
16307
dc5c8746
PMR
163082015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16309
16310 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16311 expected outputs. Add two testcases for completing ambiguous
16312 functions.
16313 * gdb.ada/complete/aux_pck.adb: New file.
16314 * gdb.ada/complete/aux_pck.ads: New file.
16315 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16316 Ambiguous_Func functions.
16317 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16318 * gdb.ada/complete/pck.adb: Likewise.
16319
4e83a1e7
UW
163202015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16321
16322 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16323 failures to run the test program under GDB.
16324
8ce74153
LM
163252015-08-26 Luis Machado <lgustavo@codesourcery.com>
16326
16327 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16328 to C.
16329
e9756d52
PP
163302015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16331
16332 * gdb.base/run-after-attach.exp: New test file.
16333 * gdb.base/run-after-attach.c: New test file.
16334
8d37573b
DB
163352015-08-26 Don Breazeal <donb@codesourcery.com>
16336
16337 * gdb.base/foll-exec-2.c: New test program.
16338 * gdb.base/foll-exec-2.exp: New test.
16339
63e43d3a
PMR
163402015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16341
16342 * gdb.base/nested-subp1.exp: New file.
16343 * gdb.base/nested-subp1.c: New file.
16344 * gdb.base/nested-subp2.exp: New file.
16345 * gdb.base/nested-subp2.c: New file.
16346 * gdb.base/nested-subp3.exp: New file.
16347 * gdb.base/nested-subp3.c: New file.
16348
3d40fbb5
PA
163492015-08-24 Pedro Alves <palves@redhat.com>
16350
16351 * gdb.server/connect-without-multi-process.c: New file.
16352 * gdb.server/connect-without-multi-process.exp: New file.
16353
4422ac93
LM
163542015-08-24 Luis Machado <lgustavo@codesourcery.com>
16355
16356 * gdb.opt/inline-markers.c: Make z int.
16357
91dddb86
LM
163582015-08-24 Luis Machado <lgustavo@codesourcery.com>
16359
16360 * gdb.opt/inline-markers.c: Make z volatile.
16361
a48847ee
LM
163622015-08-24 Luis Machado <lgustavo@codesourcery.com>
16363
16364 * gdb.opt/inline-bt.c: New volatile global z.
16365 * gdb.opt/inline-cmds.c: Likewise.
16366 * gdb.opt/inline-locals.c: Likewise.
16367 * gdb.opt/inline-markers.c: New extern global z.
16368 (marker): Use z.
16369 (inline_fn): Likewise.
16370
0ebbc52b
PA
163712015-08-24 Pedro Alves <palves@redhat.com>
16372
16373 * config/m32r-stub.exp: Remove file.
16374 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16375 * gdb.base/call-rt-st.exp: Likewise.
16376 * gdb.base/call-strs.exp: Likewise.
16377 * gdb.base/default.exp: Remove references to h8300-*-hms and
16378 *-*-udi*.
16379 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16380
77c365df
AA
163812015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16382
16383 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16384 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16385 and "return" use KFAIL when GDB can not read/write the vector
16386 return value.
16387
4313b8c0
GB
163882015-08-21 Gary Benson <gbenson@redhat.com>
16389
16390 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16391
0e433b32
PA
163922015-08-20 Pedro Alves <palves@redhat.com>
16393
16394 * gdb.server/solib-list.exp: No longer expect an interior stop in
16395 non-stop mode.
16396
221e1a37
PA
163972015-08-20 Pedro Alves <palves@redhat.com>
16398
16399 * gdb.server/connect-stopped-target.c: New file.
16400 * gdb.server/connect-stopped-target.exp: New file.
16401
40e3ad0e
PA
164022015-08-20 Pedro Alves <palves@redhat.com>
16403
16404 * gdb.dwarf2/comp-unit-lang.exp: New file.
16405 * gdb.dwarf2/comp-unit-lang.c: New file.
16406
af39b327
PMR
164072015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
16408
16409 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
16410 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
16411
7d45c7c3 164122015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 16413
7d45c7c3
KB
16414 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
16415 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
16416
4d6cceb4
DE
164172015-08-18 Doug Evans <dje@google.com>
16418 Adrian Sendroiu <adrian.sendroiu@freescale.com>
16419
16420 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
16421 skip_python_tests. New arg prompt_regexp.
16422 (skip_python_tests): New function.
16423 * lib/mi-support.exp (mi_skip_python_tests): New function.
16424 * gdb.python/py-mi-objfile-gdb.py: New file.
16425 * gdb.python/py-mi-objfile.c: New file.
16426 * gdb.python/py-mi-objfile.exp: New file.
16427
ad89c2aa
KS
164282015-08-17 Keith Seitz <keiths@redhat.com>
16429
16430 * gdb.linespec/explicit.exp: Move strace test from here ...
16431 * gdb.trace/strace.exp: ... to here.
16432
e3ae3c43
PP
164332015-08-15 Patrick Palka <patrick@parcs.ath.cx>
16434
16435 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
16436 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
16437
604b2636
DE
164382015-08-14 Doug Evans <xdje42@gmail.com>
16439
16440 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
16441 inferior before selecting a new file.
16442
6ff0ba5f
DE
164432015-08-14 Doug Evans <xdje42@gmail.com>
16444
16445 * gdb.mi/mi-disassemble.exp: Update.
16446 * gdb.base/disasm-optim.S: New file.
16447 * gdb.base/disasm-optim.c: New file.
16448 * gdb.base/disasm-optim.h: New file.
16449 * gdb.base/disasm-optim.exp: New file.
16450
9ca98f92
KS
164512015-08-14 Keith Seitz <keiths@redhat.com>
16452
16453 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16454 "evaluated-by".
16455
52bbc560
JB
164562015-08-13 Joel Brobecker <brobecker@adacore.com>
16457
16458 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16459
5d8c3ed3
PMR
164602015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16461
16462 * gdb.ada/fun_renaming.exp: New testcase.
16463 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16464 * gdb.ada/fun_renaming/pack.adb: New file.
16465 * gdb.ada/fun_renaming/pack.ads: New file.
16466
ea8812bc
KS
164672015-08-12 Keith Seitz <keiths@redhat.com>
16468
16469 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16470 gdb_get_line_number.
16471
4dafcdeb
JB
164722015-08-12 Joel Brobecker <brobecker@adacore.com>
16473
16474 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16475 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16476 gdb.base/dso2dso.exp: New files.
16477
5ba32597
SDJ
164782015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16479 Pedro Alves <palves@redhat.com>
16480 Keith Seitz <keiths@redhat.com>
16481
16482 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16483 GDBFLAGS.
16484
b6dafabf
PP
164852015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16486
16487 * gdb.base/gdbhistsize-history.exp
16488 (test_histsize_history_setting): Use save_vars.
16489 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16490 Use save_vars.
16491 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16492 * gdb.base/readline.exp: Use save_vars.
16493
abe8e607
PP
164942015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16495
16496 * lib/gdb.exp (save_vars): New proc.
16497
629500fa
KS
164982015-08-11 Keith Seitz <keiths@redhat.com>
16499
16500 * gdb.base/help.exp: Update help_breakpoint_text.
16501
eb8c4e2e
KS
165022015-08-11 Keith Seitz <keiths@redhat.com>
16503
16504 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
16505 (at toplevel): Call test_explicit_breakpoints.
16506 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
16507 breakpoints.
16508 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16509 breakpoint conditions, "-cond".
16510
87f0e720
KS
165112015-08-11 Keith Seitz <keiths@redhat.com>
16512
16513 * gdb.linespec/3explicit.c: New file.
16514 * gdb.linespec/cpexplicit.cc: New file.
16515 * gdb.linespec/cpexplicit.exp: New file.
16516 * gdb.linespec/explicit.c: New file.
16517 * gdb.linespec/explicit.exp: New file.
16518 * gdb.linespec/explicit2.c: New file.
16519 * gdb.linespec/ls-errs.exp: Add explicit location tests.
16520 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
16521 before using in the matching pattern.
16522 Clarify that `prefix' is a regular expression.
16523
f00aae0f
KS
165242015-08-11 Keith Seitz <keiths@redhat.com>
16525
16526 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16527 test.
16528 Add tests for missing ",FMT" and ",".
16529
e27852be
DE
165302015-08-10 Doug Evans <dje@google.com>
16531 Keith Seitz <keiths@redhat.com>
16532
16533 PR gdb/17960
16534 * gdb.base/completion.exp: Add location completer tests.
16535
7f03bd92
PA
165362015-08-07 Pedro Alves <palves@redhat.com>
16537
16538 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16539 tests here.
16540 (top level): Run do_test with and without displaced stepping.
16541
3fc8eb30
PA
165422015-08-07 Pedro Alves <palves@redhat.com>
16543
16544 * gdb.base/valgrind-disp-step.c: New file.
16545 * gdb.base/valgrind-disp-step.exp: New file.
16546
d4569d7b
PA
165472015-08-07 Pedro Alves <palves@redhat.com>
16548
16549 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16550 Delete function.
16551 (main): Add alarm. Run an infinite loop instead of calling
16552 wait_threads.
16553 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16554 comment.
16555 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16556 Delete function.
16557 (main): Add alarm. Run an infinite loop instead of calling
16558 wait_threads.
16559 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16560 comment.
16561
e1316e60
PA
165622015-08-07 Pedro Alves <palves@redhat.com>
16563
16564 * gdb.base/checkpoint-ns.exp: New file.
16565 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16566 standard_testfile.
16567
da8c46d2
MM
165682015-08-07 Markus Metzger <markus.t.metzger@intel.com>
16569
16570 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
16571 * gdb.btrace/instruction_history.exp: Update.
16572 * gdb.btrace/tsx.exp: New.
16573 * gdb.btrace/tsx.c: New.
16574
de1c2c52
PA
165752015-08-06 Pedro Alves <palves@redhat.com>
16576
16577 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16578 increase timeout.
16579 * gdb.reverse/until-precsave.exp: Bump timeouts.
16580
782e0bf4
PA
165812015-08-06 Pedro Alves <palves@redhat.com>
16582
16583 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16584
83e97ed0
PA
165852015-08-06 Pedro Alves <palves@redhat.com>
16586
16587 PR gdb/18749
16588 * gdb.threads/process-dies-while-handling-bp.c: New file.
16589 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16590
863d01bd
PA
165912015-08-06 Pedro Alves <palves@redhat.com>
16592
16593 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16594 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16595
0a39bb32
PA
165962015-08-05 Pedro Alves <palves@redhat.com>
16597
16598 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16599 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16600
ee2d2b10
SL
166012015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16602
16603 * gdb.base/bp-permanent.exp: Report test as unsupported if
16604 the target cannot stop at the permanent breakpoint.
16605
4e1bdb00
DE
166062015-08-03 Doug Evans <dje@google.com>
16607
16608 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16609 10000.
16610
3d338901
DE
166112015-08-03 Doug Evans <dje@google.com>
16612
16613 * Makefile.in (workers/%.worker, build-perf): New rule.
16614 (GDB_PERFTEST_MODE): New variable.
16615 (check-perf): Use it.
16616 (clean): Clean up gdb.perf parallel build subdirs.
16617 * lib/build-piece.exp: New file.
16618 * lib/gdb.exp (make_gdb_parallel_path): New function
16619 (standard_output_file, standard_temp_file): Call it.
16620 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16621 of $GDB_PARALLEL.
16622 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16623
af061d3e
DE
166242015-08-03 Doug Evans <dje@google.com>
16625
8e1afc81 16626 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
16627 (LOG_FILE_NAME): New global.
16628 (TextReporter.__init__): Initialize self.txt_sum.
16629 (TextReporter.report): Add support for multiple data-points.
16630 Move report to perftest.sum, put raw data in perftest.log.
16631 (TextReporter.start): Open sum and log files.
16632 (TextReporter.end): Close sum and log files.
8e1afc81
DE
16633 * gdb.perf/lib/perftest/testresult.py
16634 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 16635
2c8c5d37
PA
166362015-07-31 Pedro Alves <palves@redhat.com>
16637
16638 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16639 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16640 kill_wait_spawned_process instead of explicit "kill -9".
16641 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
16642 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16643 kill_wait_spawned_process.
16644 * gdb.base/attach-twice.exp: Likewise.
16645 * gdb.base/attach.exp: Likewise.
16646 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
16647 gdb_test_multiple.
16648 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
16649 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16650 kill_wait_spawned_process.
16651 * gdb.base/valgrind-infcall.exp: Likewise.
16652 * gdb.multi/multi-attach.exp: Likewise.
16653 * gdb.python/py-prompt.exp: Likewise.
16654 * gdb.python/py-sync-interp.exp: Likewise.
16655 * gdb.server/ext-attach.exp: Likewise.
16656 * gdb.threads/attach-into-signal.exp (corefunc): Use
16657 spawn_wait_for_attach, spawn_id_get_pid and
16658 kill_wait_spawned_process.
16659 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
16660 spawn_wait_for_attach returning a spawn id instead of a pid. Use
16661 spawn_id_get_pid and kill_wait_spawned_process.
16662 * gdb.threads/attach-stopped.exp (corefunc): Use
16663 spawn_wait_for_attach, spawn_id_get_pid and
16664 kill_wait_spawned_process.
16665 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
16666 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16667 kill_wait_spawned_process instead of explicit "kill -9".
16668 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
16669 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
16670 (spawn_wait_for_attach): Use spawn instead of exec to spawn
16671 processes. Don't map cygwin/windows pids here. Now returns a
16672 spawn id list.
16673
032a0fca
SL
166742015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16675
16676 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
16677 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
16678 correct patch.
16679
61a934ca
SL
166802015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16681
16682 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
16683
4bc4d428
SL
166842015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16685
16686 Reapply:
16687 2014-05-21 Mark Wielaard <mjw@redhat.com>
16688
16689 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16690
998d452a
PA
166912015-07-30 Pedro Alves <palves@redhat.com>
16692
16693 * linux-low.c (handle_extended_wait): Set the child's last
16694 reported status to TARGET_WAITKIND_STOPPED.
16695
69dde7dc
PA
166962015-07-30 Pedro Alves <palves@redhat.com>
16697
16698 PR threads/18600
16699 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
16700 only shows inferior 1.
16701
4dd63d48
PA
167022015-07-30 Simon Marchi <simon.marchi@ericsson.com>
16703 Pedro Alves <palves@redhat.com>
16704
16705 PR threads/18600
16706 * gdb.threads/fork-plus-threads.c: New file.
16707 * gdb.threads/fork-plus-threads.exp: New file.
16708
d618e4c5
PP
167092015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16710
16711 * gdb.base/batch-preserve-term-settings.exp
16712 (test_terminal_settings_preserved_after_cli_exit): Use
16713 send_quit_command.
16714
1eef6428
PA
167152015-07-29 Pedro Alves <palves@redhat.com>
16716 Don Breazeal <donb@codesourcery.com>
16717
16718 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
16719 output from both inferior_spawn_id and gdb_spawn_id.
16720
7da5b897
SDJ
167212015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16722
16723 * gdb.threads/attach-into-signal.exp (corefunc): Use
16724 with_test_prefix on nested loops, uniquefying the test messages.
16725
dac804df
SDJ
167262015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16727
16728 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
16729 commit.
16730
06265e53
PP
167312015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16732
16733 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
16734 New proc.
16735 (test_terminal_settings_preserved_after_sigterm): New test.
16736
18206ca3
PP
167372015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16738
16739 * gdb.base/batch-preserve-term-settings.exp
16740 (test_terminal_settings_preserved_after_cli_exit): New test.
16741
90074d11
PP
167422015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16743
16744 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
16745 manipulation of saved_gdbflags.
16746 (test_terminal_settings_preserved): Remove global declaration of
16747 the unused variable pagination_prompt. Remove manipulation of
16748 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
16749 GDBFLAGS.
16750
eb1a7902
PA
167512015-07-29 Pedro Alves <palves@redhat.com>
16752
16753 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16754
8b75dd3b
PA
167552015-07-29 Pedro Alves <palves@redhat.com>
16756
16757 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16758 at the top.
16759
dedad4e3
PA
167602015-07-29 Pedro Alves <palves@redhat.com>
16761
16762 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16763 (main): Call gdb_unbuffer_output.
16764 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16765 (main): Call gdb_unbuffer_output.
16766 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16767 (main): Call gdb_unbuffer_output.
16768 * gdb.base/call-strs.exp: Adjust to step over the
16769 gdb_unbuffer_output call.
16770 * gdb.base/catch-gdb-caused-signals.c: Include
16771 "../lib/unbuffer_output.c".
16772 (main): Call gdb_unbuffer_output.
16773 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16774 (main): Call gdb_unbuffer_output.
16775 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16776 (main): Call gdb_unbuffer_output.
16777 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16778 (main): Call gdb_unbuffer_output.
16779 * gdb.base/shlib-call.exp: Adjust to step over the
16780 gdb_unbuffer_output call.
16781 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16782 (main): Call gdb_unbuffer_output.
16783 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16784 (main): Call gdb_unbuffer_output.
16785 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16786 (main): Rename to ...
16787 (test): ... this.
16788 (main): Reimplement.
16789 * gdb.base/varargs.exp: Run to test instead of to main.
16790 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16791 (main): Call gdb_unbuffer_output.
16792
58789a91
PA
167932015-07-29 Pedro Alves <palves@redhat.com>
16794
16795 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16796 factore out from mi_continue_dprintf. For call-style dprintfs,
16797 expect dprintf output out of $inferior_spawn_id.
16798 (mi_continue_dprintf): Use mi_expect_dprintf.
16799 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16800 (main): Call gdb_unbuffer_output.
16801
e8376742
PA
168022015-07-29 Pedro Alves <palves@redhat.com>
16803
16804 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16805 (default_mi_gdb_start): Set inferior_spawn_id instead of
16806 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
16807 gdb_spawn_id.
16808 (mi_gdb_test): Always expect inferior output from both
16809 $inferior_spawn_id and $gdb_spawn_id.
16810
08280010
PA
168112015-07-29 Pedro Alves <palves@redhat.com>
16812
16813 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16814 send_inferior and $inferior_spawn_id.
16815
4d30e432
PA
168162015-07-29 Pedro Alves <palves@redhat.com>
16817
16818 * gdb.gdb/complaints.exp (test_initial_complaints)
16819 (test_serial_complaints, test_short_complaints): Use
16820 gdb_test_stdio.
16821 (test_empty_complaint): Handle $inferior_spawn_id !=
16822 $gdb_spawn_id.
16823
0d30a335
PA
168242015-07-29 Pedro Alves <palves@redhat.com>
16825
16826 * gdb.base/varargs.exp: Use gdb_test_stdio.
16827
39413b29
PA
168282015-07-29 Pedro Alves <palves@redhat.com>
16829
16830 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16831
7cb000a9
PA
168322015-07-29 Pedro Alves <palves@redhat.com>
16833
16834 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16835
d7b8ac82
PA
168362015-07-29 Pedro Alves <palves@redhat.com>
16837
16838 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
16839 parameter into two new parameters, "inf_result" and "gdb_result".
16840 Expect inferior output and gdb output from $inferior_spawn_id and
16841 $gdb_spawn_id, respectively. Adjust all callers.
16842
789c3a0c
PA
168432015-07-29 Pedro Alves <palves@redhat.com>
16844
16845 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16846 of gdb_test_sequence.
16847
77e760c3
PA
168482015-07-29 Pedro Alves <palves@redhat.com>
16849
16850 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
16851 (saw_spurious_output): Expect inferior output from
16852 $inferior_spawn_id. Use gdb_test_stdio.
16853
8396d2cd
PA
168542015-07-29 Pedro Alves <palves@redhat.com>
16855
16856 * gdb.base/dprintf.exp: Use standard_testfile. Change
16857 prepare_for_testing call.
16858 (srcfile): Don't set.
16859 (restart): New procedure.
16860 (test_dprintf): New procecure, use to continue over dprintfs.
16861 (test_call, test_agent): New procedures, tests moved here.
16862 Restart gdb and recreate dprintfs. Adjust expected output.
16863
2051d61f
PA
168642015-07-29 Pedro Alves <palves@redhat.com>
16865
16866 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16867
452397af
PA
168682015-07-29 Pedro Alves <palves@redhat.com>
16869
16870 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16871
8aed9555
PA
168722015-07-29 Pedro Alves <palves@redhat.com>
16873
16874 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16875 gdb_test_stdio.
16876
188a61b4
PA
168772015-07-29 Pedro Alves <palves@redhat.com>
16878
16879 * lib/gdb.exp (gdb_test_stdio): New procedure.
16880
12264a45
PA
168812015-07-29 Pedro Alves <palves@redhat.com>
16882
16883 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16884
23ffc893
PA
168852015-07-29 Pedro Alves <palves@redhat.com>
16886
16887 * gdb.base/call-signal-resume.exp: Remove check for
16888 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
16889 * gdb.base/unwindonsignal.exp: Likewise.
16890 * gdb.base/call-signals.c (gen_signal): Remove printf call.
16891 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
16892
65566918
PA
168932015-07-29 Pedro Alves <palves@redhat.com>
16894
16895 * gdb.base/siginfo-addr.c (pass): New function.
16896 (handler): Call it iff si_addr is correct.
16897 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
16898 Set a breakpoint at "pass" and continue to it.
16899
d60a9221
SDJ
169002015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16901
16902 * gdb.python/py-objfile.exp: Make some tests have unique names.
16903 * gdb.python/py-pp-registration.exp: Likewise.
16904
bde40b8f
PA
169052015-07-28 Pedro Alves <palves@redhat.com>
16906
16907 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16908
13e1dec8
SM
169092015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16910
16911 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16912
da33c9a7
SM
169132015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16914
16915 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16916
077836f7
PP
169172015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16918
16919 * gdb.base/gdb-sigterm-2.exp: New test.
16920
b8cc7b2e
DE
169212015-07-25 Doug Evans <xdje42@gmail.com>
16922
16923 Revert:
16924 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16925 (workers/%.worker, build-perf): New rule.
16926 (GDB_PERFTEST_MODE): New variable.
16927 (check-perf): Use it.
16928 (clean): Clean up gdb.perf parallel build subdirs.
16929 * lib/build-piece.exp: New file.
16930 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16931 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16932 name.
16933 (standard_temp_file): Ditto.
16934 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16935 of $GDB_PARALLEL.
16936
c8bd4544
DE
169372015-07-24 Doug Evans <dje@google.com>
16938
16939 * gdb.perf/lib/perftest/utils.py: New file.
16940 * gdb.perf/gm-hello.cc: New file.
16941 * gdb.perf/gm-pervasive-typedef.cc: New file.
16942 * gdb.perf/gm-pervasive-typedef.h: New file.
16943 * gdb.perf/gm-std.cc: New file.
16944 * gdb.perf/gm-std.h: New file.
16945 * gdb.perf/gm-use-cerr.cc: New file.
16946 * gdb.perf/gm-utils.h: New file.
16947 * gdb.perf/gmonster-null-lookup.py: New file.
16948 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16949 * gdb.perf/gmonster-print-cerr.py: New file.
16950 * gdb.perf/gmonster-ptype-string.py: New file.
16951 * gdb.perf/gmonster-runto-main.py: New file.
16952 * gdb.perf/gmonster-select-file.py: New file.
16953 * gdb.perf/gmonster1-null-lookup.exp: New file.
16954 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16955 * gdb.perf/gmonster1-print-cerr.exp: New file.
16956 * gdb.perf/gmonster1-ptype-string.exp: New file.
16957 * gdb.perf/gmonster1-runto-main.exp: New file.
16958 * gdb.perf/gmonster1-select-file.exp: New file.
16959 * gdb.perf/gmonster1.cc: New file.
16960 * gdb.perf/gmonster1.exp: New file.
16961 * gdb.perf/gmonster2-null-lookup.exp: New file.
16962 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16963 * gdb.perf/gmonster2-print-cerr.exp: New file.
16964 * gdb.perf/gmonster2-ptype-string.exp: New file.
16965 * gdb.perf/gmonster2-runto-main.exp: New file.
16966 * gdb.perf/gmonster2-select-file.exp: New file.
16967 * gdb.perf/gmonster2.cc: New file.
16968 * gdb.perf/gmonster2.exp: New file.
16969
6eab34f3
DE
169702015-07-24 Doug Evans <dje@google.com>
16971
16972 * gdb.perf/README: New file.
16973 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16974 * lib/gen-perf-test.exp: New file.
16975
63738bfd
DE
169762015-07-24 Doug Evans <dje@google.com>
16977
16978 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16979 (PerfTest::startup): New function.
16980 (PerfTest::run): Return result of calling body.
16981 (PerfTest::assemble): Rewrite.
16982 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16983 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16984 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16985 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16986 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16987
7b606f95
DE
169882015-07-24 Doug Evans <dje@google.com>
16989
16990 * lib/gdb.exp (clean_restart): Make executable optional.
16991
a97b16b8
DE
169922015-07-24 Doug Evans <dje@google.com>
16993
16994 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16995 compiler_info references.
16996 * gdb.cp/temargs.exp: Ditto.
16997 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16998 (get_compiler_info): Early exit if already computed. Set compiler_info
16999 to "unknown" if there was a problem.
17000 (test_compiler_info): Add function comment. Call get_compiler_info.
17001
35baa57f
DE
170022015-07-24 Doug Evans <dje@google.com>
17003
17004 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17005 (workers/%.worker, build-perf): New rule.
17006 (GDB_PERFTEST_MODE): New variable.
17007 (check-perf): Use it.
17008 (clean): Clean up gdb.perf parallel build subdirs.
17009 * lib/build-piece.exp: New file.
17010 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17011 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17012 name.
17013 (standard_temp_file): Ditto.
17014 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17015 of $GDB_PARALLEL.
17016
6ebea266
DE
170172015-07-24 Doug Evans <dje@google.com>
17018
17019 * lib/future.exp (gdb_default_target_compile): New option
17020 "early_flags".
17021 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
17022 --as-needed.
17023
1e76a7e9
SDJ
170242015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
17025
17026 * gdb.base/catch-syscall.exp: Call gdb_exit before
17027 gdb_skip_xml_test.
17028
5068630a
PA
170292015-07-24 Pedro Alves <palves@redhat.com>
17030
17031 * gdb.python/py-events.exp: Accept output between the stop event
17032 and the prompt.
17033 * gdb.python/py-evsignal.exp: Likewise.
17034 * gdb.python/py-evthreads.exp: Likewise.
17035
77598427
PA
170362015-07-24 Pedro Alves <palves@redhat.com>
17037
17038 PR gdb/18717
17039 * gdb.threads/non-ldr-exit.c: New file.
17040 * gdb.threads/non-ldr-exit.exp: New file.
17041
11e6c98f
YQ
170422015-07-24 Yao Qi <yao.qi@linaro.org>
17043
17044 * gdb.server/ext-wrapper.exp: Test --wrapper option when
17045 restarting process.
17046
51aee833
YQ
170472015-07-24 Yao Qi <yao.qi@linaro.org>
17048
17049 * gdb.server/ext-restart.exp: New file.
17050
8cfe207c
YQ
170512015-07-24 Yao Qi <yao.qi@linaro.org>
17052
17053 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
17054 argument options.
17055 * gdb.server/ext-wrapper.exp: New file.
17056
cc12ce38
DE
170572015-07-23 Doug Evans <dje@google.com>
17058
17059 * gdb.dwarf2/dw2-dummy-cu.S: New file.
17060 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
17061
d0d84780
PMR
170622015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
17063
17064 * gdb.ada/var_arr_typedef.exp: New testcase.
17065 * gdb.ada/var_arr_typedef/pack.adb: New file.
17066 * gdb.ada/var_arr_typedef/pack.ads: New file.
17067 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
17068
8b558f79
JB
170692015-07-20 Joel Brobecker <brobecker@adacore.com>
17070
17071 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
17072
775a3298
JK
170732015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17074
17075 * gdb.arch/i386-biarch-core.exp: Replace istarget
17076 by "complete set gnutarget". Remove expectation for the "core-file"
17077 command.
17078
db1ff28b
JK
170792015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17080
17081 Revert the previous commit:
17082 Tests for validate symbol file using build-id.
17083
0a94970d
JK
170842015-07-15 Aleksandar Ristovski <aristovski@qnx.com
17085
17086 Tests for validate symbol file using build-id.
17087 * gdb.base/solib-mismatch-lib.c: New file.
17088 * gdb.base/solib-mismatch-libmod.c: New file.
17089 * gdb.base/solib-mismatch.c: New file.
17090 * gdb.base/solib-mismatch.exp: New file.
17091
03346981
SL
170922015-07-15 Sandra Loosemore <sandra@codesourcery.com>
17093
17094 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
17095 nios2-*-linux*.
17096 * gdb.base/sigbpt.exp (stepi_out): Likewise.
17097 * gdb.base/siginfo.exp: Likewise.
17098 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17099
42422cc7
PL
171002015-07-15 Pierre Langlois <pierre.langlois@arm.com>
17101
17102 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
17103 Move it to ...
17104 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
17105 ... here.
17106 * gdb.trace/range-stepping.exp: Check that the target supports
17107 range stepping.
17108
cfa68bae
JK
171092015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17110
17111 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
17112
8ffdba26
PA
171132015-07-14 Pedro Alves <palves@redhat.com>
17114
17115 * gdb.base/killed-outside.exp: New file.
17116 * gdb.base/killed-outside.c: New file.
17117
218a5a11
JK
171182015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17119
17120 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
17121 (n at main): New.
17122 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
17123
e03ed3c6
AA
171242015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17125
17126 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
17127 infcall tests instead of setting up for KFAIL.
17128
485668e5
MM
171292015-07-10 Markus Metzger <markus.t.metzger@intel.com>
17130
17131 * gdb.btrace/record_goto-step.exp: New.
17132
08464196
JK
171332015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17134
17135 PR compile/18484
17136 * gdb.compile/compile.c (struct struct_type): Add volatile to
17137 selffield's type.
17138 * gdb.compile/compile.exp
17139 (compile code struct_object.selffield = &struct_object): Skip further
17140 struct_object tests if this one xfails.
17141
bcf5c1d9
RC
171422015-07-08 Robert O'Callahan <robert@ocallahan.org>
17143
17144 PR exp/18617
17145 * gdb.trace/ax.exp: Add test.
17146
4931af25
YQ
171472015-07-07 Yao Qi <yao.qi@linaro.org>
17148
17149 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
17150 instead of istarget "aarch64*-*-*".
17151 * gdb.arch/aarch64-fp.exp: Likewise.
17152 * gdb.base/float.exp: Likewise.
17153 * gdb.reverse/aarch64.exp: Likewise.
17154 * lib/gdb.exp (is_aarch64_target): New proc.
17155
9fcf688e
YQ
171562015-07-07 Yao Qi <yao.qi@linaro.org>
17157
17158 * lib/gdb.exp (is_aarch32_target): New proc.
17159 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
17160 instead of "istarget "arm*-*-*"".
17161 * gdb.arch/arm-disp-step.exp: Likewise.
17162 * gdb.arch/thumb-bx-pc.exp: Likewise.
17163 * gdb.arch/thumb-prologue.exp: Likewise.
17164 * gdb.arch/thumb-singlestep.exp: Likewise.
17165 * gdb.base/disp-step-syscall.exp: Likewise.
17166 * gdb.base/float.exp: Likewise.
17167
fbd8d50d
YQ
171682015-07-07 Yao Qi <yao.qi@linaro.org>
17169
17170 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
17171 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
17172
71be1fdc
YQ
171732015-07-07 Yao Qi <yao.qi@linaro.org>
17174
17175 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
17176 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
17177 if it exists.
17178 * gdb.multi/multi-arch.exp: Likewise.
17179
3e221d36
SM
171802015-07-07 Simon Marchi <simon.marchi@ericsson.com>
17181
17182 * gdb.python/py-lazy-string.exp: Add missing parentheses to
17183 print.
17184
d441430b
YQ
171852015-07-07 Yao Qi <yao.qi@linaro.org>
17186
17187 * gdb.arch/thumb-singlestep.exp: Do one more single step.
17188
06f810bd
MG
171892015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
17190
17191 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
17192 '[' and ']' characters.
17193
5e61e7c0
IB
171942015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
17195
17196 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17197
28bf096c
PA
171982015-06-29 Pedro Alves <palves@redhat.com>
17199
17200 PR threads/18127
17201 * gdb.threads/hand-call-new-thread.c: New file.
17202 * gdb.threads/hand-call-new-thread.c: New file.
17203
ee93cd5e
KS
172042015-06-26 Keith Seitz <keiths@redhat.com>
17205 Doug Evans <dje@google.com>
17206
17207 PR 16253
17208 * gdb.cp/var-tag-2.cc: New file.
17209 * gdb.cp/var-tag-3.cc: New file.
17210 * gdb.cp/var-tag-4.cc: New file.
17211 * gdb.cp/var-tag.cc: New file.
17212 * gdb.cp/var-tag.exp: New file.
17213
fc637f04
PP
172142015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17215
17216 * gdb.base/history-duplicates.exp: New test.
17217
2e52ae68
PP
172182015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17219
17220 * gdb.base/completion.exp: Test the completion of the "focus"
17221 command.
17222
6e22494e
JK
172232015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17224
17225 * gdb.arch/amd64-prologue-skip.S: New file.
17226 * gdb.arch/amd64-prologue-skip.exp: New file.
17227
bf7b9cd9
SM
172282015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17229
17230 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17231 is_address_zero_readable check.
17232
201e8dfd
PB
172332015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17234
17235 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17236 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17237
5cd867b4
YQ
172382015-06-24 Yao Qi <yao.qi@linaro.org>
17239
17240 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17241 linux targets.
17242
4d7be007
YQ
172432015-06-24 Yao Qi <yao.qi@linaro.org>
17244
17245 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17246 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17247 * gdb.base/siginfo-thread.exp: Likewise.
17248
07fcd301
YQ
172492015-06-22 Yao Qi <yao.qi@linaro.org>
17250
17251 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17252
52042a00
YQ
172532015-06-22 Yao Qi <yao.qi@linaro.org>
17254
17255 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17256 aarch64*-*-*.
17257 (skip_hw_watchpoint_tests): Likewise.
17258
74bd41ce
PP
172592015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17260
17261 * gdb.base/gdbinit-history.exp: Test the interaction between
17262 setting GDBHISTSIZE and setting the history size via .gdbinit.
17263
bc460514
PP
172642015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17265
17266 PR gdb/16999
17267 * gdb.base/gdbhistsize-history.exp: New test.
17268
b58c513b
PP
172692015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17270
17271 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17272 with GDBHISTSIZE.
17273 * gdb.base/readline.exp: Likewise.
17274
92046791
YQ
172752015-06-17 Yao Qi <yao.qi@linaro.org>
17276
17277 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17278 line.
17279
2093d2d3
PP
172802015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17281
17282 * gdb.base/gdbinit-history.exp: Add test case to check that
17283 an unlimited history file does not get truncated on exit.
17284
e6c693af
AA
172852015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17286
17287 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17288 (VECTOR): New macro. Use it...
17289 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17290 ...for these typedefs.
17291 (int8, char1, int1, double1): New typedefs.
17292 (struct just_int2, struct two_int2): New structures.
17293 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17294 (add_structvecs, add_singlevecs): New functions.
17295 (main): Call add_some_intvecs twice.
17296 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17297 the compile and exit upon failure. Try compiling for the "native"
17298 architecture. Test inferior function calls with vector arguments
17299 and vector return value handling with "finish" and "return".
17300
c74f7d1c
JT
173012015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17302
17303 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17304 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17305 PE file.
17306 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17307
98aa42ee
AT
173082015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17309
17310 PR breakpoints/16465
17311 * gdb.mi/mi-dprintf-pending.c: New file.
17312 * gdb.mi/mi-dprintf-pending.exp: New test.
17313 * gdb.mi/mi-dprintf-pendshr.c: New file.
17314
7d73c23c 173152015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 17316 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
17317
17318 * gdb.arch/i386-mpx-map.c: New file.
17319 * gdb.arch/i386-mpx-map.exp: New File.
17320
173212015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17322
17323 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17324 * gdb.arch/i386-mpx.exp: Indentation fixed.
17325
173262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17327
17328 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17329 function and improved indentation.
17330 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17331 gdb_test_multiple. Added additional tests to skip the test.
17332
173332015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17334
17335 * gdb.arch/i386-avx512.c: Change path in include file.
17336 * gdb.arch/i386-avx512.exp: Change include dir path
17337 compilation flag.
17338 * gdb.arch/i386-mpx.c: Change path in include file.
17339 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17340 flag.
17341
d5eba19a
JK
173422015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17343
17344 * gdb.compile/compile-print.exp (compile print *vararray@3)
17345 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17346
7f361056
JK
173472015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17348
17349 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17350 (do not keep jit in memory): ... this.
17351 (expect 5): Change it to ...
17352 (expect no 5): ... this.
17353
3b462ec2
SM
173542015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17355
17356 PR gdb/15564
17357 * gdb.mi/mi-detach.exp: New file.
17358
e0619de6
JK
173592015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17360
17361 PR symtab/18392
17362 * gdb.arch/amd64-tailcall-self.S: New file.
17363 * gdb.arch/amd64-tailcall-self.c: New file.
17364 * gdb.arch/amd64-tailcall-self.exp: New file.
17365
e970cb34
DB
173662015-05-28 Don Breazeal <donb@codesourcery.com>
17367
17368 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17369 tests for remote targets by checking is_target_gdbserver.
17370
b2e2f908
DE
173712015-05-27 Doug Evans <dje@google.com>
17372
17373 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17374 * gdb.dwarf2/opaque-type-lookup.c: New file.
17375 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17376
82c7be31
DE
173772015-05-26 Doug Evans <dje@google.com>
17378
17379 * gdb.cp/iostream.cc: New file.
17380 * gdb.cp/iostream.exp: New file.
17381
b4f54984
DE
173822015-05-26 Doug Evans <dje@google.com>
17383
17384 * gdb.dwarf2/dw2-op-call.exp: Update.
17385 * gdb.dwarf2/dw4-sig-types.exp: Update.
17386 * gdb.dwarf2/implptr.exp: Update.
17387 * gdb.mi/mi-cmd-param-changed.exp: Update.
17388
4ea6efe9
DE
173892015-05-26 Doug Evans <dje@google.com>
17390
17391 * gdb.python/py-lazy-string.c: New file.
17392 * gdb.python/py-lazy-string.exp: New file.
17393 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17394 (main): Update. Add estring3.
17395 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17396 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17397
f6bb7db3
YQ
173982015-05-26 Omair Javaid <omair.javaid@linaro.org>
17399 Yao Qi <yao.qi@linaro.org>
17400
17401 * gdb.reverse/aarch64.c: New.
17402 * gdb.reverse/aarch64.exp: New.
17403
a81bfbd0
OJ
174042015-05-26 Omair Javaid <omair.javaid@linaro.org>
17405
25d49b86
PA
17406 * lib/gdb.exp (supports_process_record): Return true for
17407 aarch64*-linux*.
a81bfbd0
OJ
17408 (supports_reverse): Likewise.
17409
158bf1b4
PP
174102015-05-22 Patrick Palka <patrick@parcs.ath.cx>
17411
17412 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17413 Use with_test_prefix.
17414
a0145030
AB
174152015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
17416
17417 * gdb.base/completion.exp: Add test for completion of layout
17418 names.
17419
ebe3b578
AB
174202015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
17421
17422 * lib/gdb.exp (skip_tui_tests): New proc.
17423 * gdb.base/tui-layout.exp: Check skip_tui_tests.
17424
84204ed7
PA
174252015-05-19 Pedro Alves <palves@redhat.com>
17426
17427 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17428 Save the whole env array instead of just HOME. Unset HISTSIZE in
17429 the environment while testing. Restore whole environment
17430 afterwards.
17431
37442ce1
DE
174322015-05-16 Doug Evans <xdje42@gmail.com>
17433
17434 * gdb.guile/scm-ports.c: New file.
17435 * gdb.guile/scm-ports.exp: Add memory port tests.
17436
36de76f9
JK
174372015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17438
17439 * gdb.compile/compile-print.c: New file.
17440 * gdb.compile/compile-print.exp: New file.
17441
3a9558c4
JK
174422015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17443
17444 * gdb.compile/compile-ops.exp: Cast param to void.
17445 * gdb.compile/compile.exp: Complete type for _gdb_expr.
17446 (compile code struct_object.selffield = &struct_object): Add xfail.
17447
aa715135
JG
174482015-05-15 Joel Brobecker <brobecker@adacore.com>
17449
17450 * gdb.ada/arr_enum_with_gap: New testcase.
17451
931e5bc3
JG
174522015-05-15 Joel Brobecker <brobecker@adacore.com>
17453
17454 * gdb.ada/byte_packed_arr: New testcase.
17455
9cd4d857
JB
174562015-05-15 Joel Brobecker <brobecker@adacore.com>
17457
17458 * gdb.ada/pckd_neg: New testcase.
17459
ebfd00d2
PP
174602015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17461
17462 PR gdb/17820
17463 * gdb.base/gdbinit-history.exp: New test.
17464 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17465 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17466
4c082a81
SC
174672015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17468
17469 * gdb.python/py-xmethods.cc: Enhance test case.
17470 * gdb.python/py-xmethods.exp: New tests.
17471 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17472 function.
17473 (B_indexoper): Likewise.
17474 (global_dm_list) : Add new xmethod worker functions.
17475
f7797074
SDJ
174762015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17477
17478 * gdb.base/coredump-filter.exp: Correctly unset
17479 "coredump_var_addr" array.
17480
a4674e4e
PA
174812015-05-08 Pedro Alves <palves@redhat.com>
17482
17483 * gdb.server/non-existing-program.exp: Unset spawn_id.
17484
df2eb078
SC
174852015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17486
17487 PR python/18291
17488 * gdb.python/py-xmethods.exp: Add tests.
17489
422349a3
YQ
174902015-05-08 Yao Qi <yao.qi@linaro.org>
17491
17492 PR gdb/18208
17493 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17494 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17495 function set_coredump_filter, and remove remote_exec call.
17496 Remove argument ipid. Callers update.
17497 (top level): Don't get inferior's PID.
17498
63fc80ce
AA
174992015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17500
17501 * gdb.base/watch_thread_num.exp: Skip test on targets without
17502 access watchpoints.
17503
80ad801e
PA
175042015-05-06 Pedro Alves <palves@redhat.com>
17505
17506 PR server/18081
17507 * gdb.server/non-existing-program.exp: New file.
17508
0fa7fe50
JB
175092015-05-05 Joel Brobecker <brobecker@adacore.com>
17510
17511 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17512
3ea89b92
PMR
175132015-05-05 Joel Brobecker <brobecker@adacore.com>
17514
17515 * gdb.ada/out_of_line_in_inlined: New testcase.
17516
87b8eff0
JB
175172015-05-05 Joel Brobecker <brobecker@adacore.com>
17518
17519 * gdb.ada/var_rec_arr: New testcase.
17520
5fccc635
YQ
175212015-04-30 Yao Qi <yao.qi@linaro.org>
17522
17523 * gdb.base/break-idempotent.exp: If
17524 skip_hw_watchpoint_multi_tests returns true, skip the tests
17525 on "rwatch" and "awatch".
17526
42d38f42
YQ
175272015-04-30 Yao Qi <yao.qi@linaro.org>
17528
17529 * gdb.base/relativedebug.exp: Invoke gdb command
17530 "info sharedlibrary", and if libc.so doesn't have debug info,
17531 skip the test.
17532
2ce1cdbf
DE
175332015-04-29 Doug Evans <dje@google.com>
17534
17535 * gdb.python/py-xmethods.exp: Add ptype tests.
17536 * gdb.python/py-xmethods.py (E_method_char_worker): Add
17537 get_result_type method.
17538
f24a38c5
LM
175392015-04-29 Luis Machado <lgustavo@codesourcery.com>
17540
17541 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17542 the target does not support hardware watchpoints.
17543
ecbf2b3c
LM
175442015-04-29 Luis Machado <lgustavo@codesourcery.com>
17545
17546 * gdb.base/break-always.exp: Abort testing if writing to memory
17547 causes an error.
17548
34f5f757
DE
175492015-04-28 Doug Evans <dje@google.com>
17550
17551 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
17552 * gdb.python/py-pp-registration.exp: ... here. New file.
17553 * gdb.python/py-pp-registration.c: New file.
17554 * gdb.python/py-pp-registration.py: New file.
17555
69b4374a
DE
175562015-04-28 Doug Evans <dje@google.com>
17557
17558 * gdb.python/py-bad-printers.c: New file.
17559 * gdb.python/py-bad-printers.py: New file.
17560 * gdb.python/py-bad-printers.exp: New file.
17561
59fb7612
SS
175622015-04-28 Sasha Smundak <asmundak@google.com>
17563
17564 * gdb.python/py-type.exp: New test.
17565
2631b16a
AW
175662015-04-28 Andy Wingo <wingo@igalia.com>
17567
17568 * gdb.python/py-parameter.exp:
17569 * gdb.guile/scm-parameter.exp: Escape the path that we are
17570 matching against, as it might contain characters that are special
17571 to regular expressions.
17572
460efde1
JB
175732015-04-27 Joel Brobecker <brobecker@adacore.com>
17574
17575 * gdb.ada/rec_comp: New testcase.
17576
2d369d8e
SDJ
175772015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17578
17579 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17580 before using it.
17581
cf75d6c3
AB
175822015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17583
17584 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17585 new tests for verilog output.
17586
8dbe7ca5
YQ
175872015-04-24 Yao Qi <yao.qi@linaro.org>
17588
17589 * boards/remote-gdbserver-on-localhost.exp: New file.
17590
4ef9fb2f
PA
175912015-04-23 Pedro Alves <palves@redhat.com>
17592
17593 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
17594 $inferior_spawn_id instead of $inferior_spawn_id directly. On
17595 "end of file", remove $inferior_spawn_id from the indirect list.
17596
0a803169
PA
175972015-04-23 Pedro Alves <palves@redhat.com>
17598
17599 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17600
749ef8f8
PA
176012015-04-23 Pedro Alves <palves@redhat.com>
17602
17603 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17604 on $any_spawn_id instead of only on $gdb_spawn_id.
17605
8aae4344
PM
176062015-04-21 Pierre Muller <muller@sourceware.org>
17607
17608 PR pascal/17815
17609 * lib/pascal.exp (gpc_compile): Add new option "class".
17610 (fpc_compile): Likewise.
17611 * gdb.pascal/case-insensitive-symbols.pas: New file.
17612 * gdb.pascal/case-insensitive-symbols.exp: New file.
17613
1586c8fb
GB
176142015-04-20 Gary Benson <gbenson@redhat.com>
17615
17616 * gdb.base/attach.exp: Fix three extended remote failures.
17617
1b6e6f5c
GB
176182015-04-17 Gary Benson <gbenson@redhat.com>
17619
17620 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17621 the main executable over the remote protocol.
17622
e797481d
PA
176232015-04-16 Pedro Alves <palves@redhat.com>
17624
17625 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17626 a new gdbserver if gdbserver_reconnect_p is set.
17627
1ca99c42
PA
176282015-04-16 Pedro Alves <palves@redhat.com>
17629
17630 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17631 is set, don't exit gdbserver.
17632
af9fd6f8
AA
176332015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17634
17635 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
17636 appropriate .insn, such that an older assembler can be used.
17637 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
17638 the z/Architecture instruction set on 31-bit targets as well.
17639
04ff1e61
AA
176402015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17641
17642 * gdb.go/handcall.exp: Remove all logic related to the first
17643 breakpoint and rely on go_runto_main instead.
17644 * gdb.go/strings.exp: Likewise.
17645 * gdb.go/unsafe.exp: Likewise.
17646 * gdb.go/hello.exp: Likewise. Also rename the remaining
17647 breakpoint marker to "breakpoint 1".
17648 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
17649 * gdb.go/strings.go: Likewise.
17650 * gdb.go/unsafe.go: Likewise.
17651 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
17652 "set breakpoint 2 here" and rename the remaining breakpoint marker
17653 to "breakpoint 1".
17654
40d2f8d6
SM
176552015-04-15 Simon Marchi <simon.marchi@ericsson.com>
17656
17657 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
17658 if itertools.imap is not present.
17659 * gdb.python/py-objfile.exp: Add parentheses.
17660 * gdb.python/py-type.exp: Same.
17661 * gdb.python/py-unwind-maint.py: Same.
17662
8cbc97c6
YQ
176632015-04-15 Yao Qi <yao.qi@linaro.org>
17664
17665 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
17666 of ":$ptr_size" and set its form explicitly.
17667
45fd756c
YQ
176682015-04-15 Pedro Alves <palves@redhat.com>
17669 Yao Qi <yao.qi@linaro.org>
17670
17671 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
17672 timeout by factor of 4.
17673 (test_regular_watch): Likewise.
17674 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
17675 * gdb.reverse/sigall-reverse.exp: Likewise.
17676 * gdb.reverse/until-precsave.exp: Likewise.
17677 * lib/gdb.exp (with_timeout_factor): New proc.
17678 (gdb_expect): Move some code to ...
17679 (get_largest_timeout): ... here. New procedure.
17680
9e811bc3
LM
176812015-04-14 Luis Machado <lgustavo@codesourcery.com>
17682
17683 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
17684
0ff6fcb2
LM
176852015-04-13 Luis Machado <lgustavo@codesourcery.com>
17686
17687 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
17688 to write to the .text section.
17689
7578d5f7
LM
176902015-04-13 Luis Machado <lgustavo@codesourcery.com>
17691
17692 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
17693 Handle the case of targets that do not provide PID information.
17694
2efe15c4
YQ
176952015-04-13 Yao Qi <yao.qi@linaro.org>
17696
17697 * lib/gdbserver-support.exp (gdb_exit): Catch exception
17698 and use expect instead of gdb_expect.
17699
8cd8f2f8
SDJ
177002015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
17701
17702 * gdb.base/coredump-filter.exp: Rename variable "addr" to
17703 "coredump_var_addr" to avoid naming conflict with other testcases.
17704
9ee41772
PA
177052015-04-10 Pedro Alves <palves@redhat.com>
17706
17707 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
17708 gdb_test_sequence and gdb_assert.
17709
07473109
PA
177102015-04-10 Pedro Alves <palves@redhat.com>
17711
17712 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
17713 test messages that don't include the breakpoint address.
17714
de3db44c
YQ
177152015-04-10 Yao Qi <yao.qi@linaro.org>
17716
17717 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
17718 false for some offset and width combinations which aren't
17719 supported by linux kernel.
17720
c79d856c
PA
177212015-04-10 Pedro Alves <palves@redhat.com>
17722
17723 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
17724 procedure, factored out from ...
17725 (top level): ... here. Add "set displaced-stepping" testing axis.
17726 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
17727 parameter "displaced". Use it.
17728 (top level): Use foreach and add "set displaced-stepping" testing
17729 axis.
17730
ebc90b50
PA
177312015-04-10 Pedro Alves <palves@redhat.com>
17732
17733 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
17734 Remove comment.
17735 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
17736 both the address of the instruction that triggers the watchpoint
17737 and the address of the instruction immediately after, and use
17738 those addresses for the test. Fix comment.
17739
8f572e5c
PA
177402015-04-10 Pedro Alves <palves@redhat.com>
17741
17742 * gdb.base/sigstep.exp (breakpoint_to_handler)
17743 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
17744 Test "backtrace" in handler.
17745 (breakpoint_over_handler): New parameter 'displaced'. Use it.
17746 (top level): Add new "displaced" test axis to
17747 breakpoint_to_handler, breakpoint_to_handler_entry and
17748 breakpoint_over_handler.
17749
8d707a12
PA
177502015-04-10 Pedro Alves <palves@redhat.com>
17751
17752 PR gdb/18216
17753 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17754
ef713951
YQ
177552015-04-10 Yao Qi <yao.qi@linaro.org>
17756
17757 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
17758 (test_add_rn_pc): New function.
17759 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17760 (top level): Invoke test_add_rn_pc.
17761
906d60cf
PA
177622015-04-10 Pedro Alves <palves@redhat.com>
17763
17764 PR gdb/13858
17765 * gdb.base/step-over-no-symbols.exp: New file.
17766
f2983cc3
AW
177672015-04-09 Andy Wingo <wingo@igalia.com>
17768
17769 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17770 after the Python tests.
17771
6d62641c
SDJ
177722015-04-08 Keith Seitz <keiths@redhat.com>
17773
17774 PR python/16699
17775 * gdb.python/py-completion.exp: New tests for completion.
17776 * gdb.python/py-completion.py (CompleteLimit1): New class.
17777 (CompleteLimit2): Likewise.
17778 (CompleteLimit3): Likewise.
17779 (CompleteLimit4): Likewise.
17780 (CompleteLimit5): Likewise.
17781 (CompleteLimit6): Likewise.
17782 (CompleteLimit7): Likewise.
17783
f3770638
PA
177842015-04-08 Pedro Alves <palves@redhat.com>
17785
17786 PR gdb/18214
17787 PR gdb/18216
17788 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17789 function.
17790 (main): Install it as SIGUSR1 handler.
17791 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17792 parameter. Always use "setup" as prefix. Toggle "set
17793 displaced-stepping" off/on depending on global. Don't switch to
17794 thread 1 here.
17795 (top level): Add displaced stepping "off/on" test axis. Update
17796 "setup" calls. Wrap each subtest with with_test_prefix. Test
17797 continuing with a queued signal in each thread.
17798
4496bed7
PA
177992015-04-08 Pedro Alves <palves@redhat.com>
17800
17801 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17802 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17803 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17804 Return early if running to main fails.
17805 * gdb.trace/while-stepping.exp: Likewise.
17806
b97fde92
PA
178072015-04-07 Pedro Alves <palves@redhat.com>
17808
17809 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
17810 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
17811 interact with inferior program.
17812
f71c18e7
PA
178132015-04-07 Pedro Alves <palves@redhat.com>
17814
17815 * lib/gdb.exp (inferior_spawn_id): New global.
17816 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
17817 spawn id after processing the user code.
17818 (default_gdb_start): Set inferior_spawn_id.
17819 (send_inferior): New procedure.
17820 * lib/gdbserver-support.exp (gdbserver_start): Set
17821 inferior_spawn_id.
17822 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17823
6423214f
PA
178242015-04-07 Pedro Alves <palves@redhat.com>
17825
17826 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
17827 * lib/gdbserver-support.exp (gdbserver_start): Make
17828 $server_spawn_id global.
17829 (gdbserver_start): Don't wait for gdbserver's spawn id with
17830 expect_background.
17831 (close_gdbserver): New procedure.
17832 (gdb_exit): Rename the default version and reimplement.
17833
71c0ee8c
PA
178342015-04-07 Pedro Alves <palves@redhat.com>
17835
72f4393d 17836 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
17837 append the substituted item, not the original item.
17838
203bc29b
PA
178392015-04-07 Pedro Alves <palves@redhat.com>
17840
17841 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17842 gdb_expect.
17843
508a3ddf
PA
178442015-04-07 Pedro Alves <palves@redhat.com>
17845
17846 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17847 output appearing once only.
17848
9f6dbe2b
PA
178492015-04-07 Pedro Alves <palves@redhat.com>
17850
17851 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17852 that doesn't expect anything. Return early if running to main
17853 fails.
17854
337532fa
YQ
178552015-04-07 Yao Qi <yao.qi@linaro.org>
17856
17857 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
17858 (child_function): Call alarm.
17859 (main): Move call to alarm into the loop.
17860 * gdb.threads/non-stop-fair-events.exp: Build program with
17861 -DTIMEOUT=$timeout.
17862
01b622d4
DE
178632015-04-06 Doug Evans <xdje42@gmail.com>
17864
17865 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
17866 Fix dest parameter to board_info.
17867 (fpc_compile): Ditto.
17868 (gdb_compile_pascal): Rename dest arg to destfile.
17869
961f4160
PMR
178702015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17871
17872 * gdb.ada/funcall_ref.exp: New file.
17873 * gdb.ada/funcall_ref/foo.adb: New file.
17874
cafda597
YQ
178752015-04-02 Yao Qi <yao.qi@linaro.org>
17876
17877 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17878 is remote.
17879
fed040c6
GB
178802015-04-02 Gary Benson <gbenson@redhat.com>
17881
17882 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17883
d11916aa
SS
178842015-04-01 Sasha Smundak <asmundak@google.com>
17885
17886 * gdb.python/py-unwind-maint.c: New file.
17887 * gdb.python/py-unwind-maint.exp: New test.
17888 * gdb.python/py-unwind-maint.py: New file.
17889 * gdb.python/py-unwind.c: New file.
17890 * gdb.python/py-unwind.exp: New test.
17891 * gdb.python/py-unwind.py: New test.
17892
a1471180
PA
178932015-04-01 Pedro Alves <palves@redhat.com>
17894
17895 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17896 to fail instead of non-existent $test.
17897
0bbeccb1
PA
178982015-04-01 Pedro Alves <palves@redhat.com>
17899
17900 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17901 GDBFLAGS if not empty.
17902
3c724c8c
PMR
179032015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
17904
17905 * gdb.ada/complete.exp: Remove "multi_line".
17906 * gdb.ada/info_exc.exp: Remove "multi_line".
17907 * gdb.ada/packed_tagged.exp: Remove "multi_line".
17908 * gdb.ada/ptype_field.exp: Remove "multi_line".
17909 * gdb.ada/sym_print_name.exp: Remove "multi_line".
17910 * gdb.ada/tagged.exp: Remove "multi_line".
17911 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
17912 [multi_line ...]
17913 * gdb.btrace/delta.exp: Likewise.
17914 * gdb.btrace/exception.exp: Likewise.
17915 * gdb.btrace/function_call_history.exp: Likewise.
17916 * gdb.btrace/instruction_history.exp: Likewise.
17917 * gdb.btrace/nohist.exp: Likewise.
17918 * gdb.btrace/record_goto.exp: Likewise.
17919 * gdb.btrace/segv.exp: Likewise.
17920 * gdb.btrace/stepi.exp: Likewise.
17921 * gdb.btrace/tailcall.exp: Likewise.
17922 * gdb.btrace/unknown_functions.exp: Likewise.
17923 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
17924 * lib/gdb.exp: Add the "multi_line" helper.
17925
4eec2deb
PA
179262015-04-01 Pedro Alves <palves@redhat.com>
17927
17928 * gdb.threads/tid-reuse.c: New file.
17929 * gdb.threads/tid-reuse.exp: New file.
17930
df8411da
SDJ
179312015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17932
17933 PR corefiles/16092
17934 * gdb.base/coredump-filter.c: New file.
17935 * gdb.base/coredump-filter.exp: Likewise.
17936
6ef37366
PM
179372015-03-27 Petr Machata <pmachata@redhat.com>
17938
17939 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17940 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17941 (Dwarf::assemble): Initialize them.
17942 (Dwarf::lines): New function.
17943
7ec911b0
JT
179442015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17945
17946 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17947 SYMBOL_PREFIX for x86_64-*-cygwin.
17948
ff908ebf
AW
179492015-03-26 Andy Wingo <wingo@igalia.com>
17950
17951 PR symtab/18148
17952 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17953 const_value but not a location.
17954 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17955 location defined in non-main CUs are visible.
17956
6d5f0679
YQ
179572015-03-26 Yao Qi <yao.qi@linaro.org>
17958
17959 PR testsuite/18139
17960 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17961 Add a line number entry for the same line.
17962 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17963 Add a line number entry for the same line.
17964
2898689b
YQ
179652015-03-26 Yao Qi <yao.qi@linaro.org>
17966
17967 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17968 .int 0.
17969 (func): Likewise. Add .Lfunc_1 label.
17970 Use .Lfunc_1 label.
17971 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17972 .int 0.
17973 (func): Likewise.
17974 Use .Lfunc_1 label.
17975
85180498
YQ
179762015-03-26 Yao Qi <yao.qi@linaro.org>
17977
17978 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17979 Call gdb_compile instead to compile each .s files without debug
17980 information.
17981
8aa08a8d
YQ
179822015-03-26 Yao Qi <yao.qi@linaro.org>
17983
17984 * gdb.base/savedregs.exp (process_saved_regs): Make
17985 "Saved registers:" optional in the pattern.
17986
66849923
MM
179872015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17988
17989 * gdb.btrace/next.exp: Merged into step.exp.
17990 * gdb.btrace/finish.exp: Merged into step.exp.
17991 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17992 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17993 "record goto" and checking the exact replay position.
17994 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17995 check for "Recording format" in "info record" output.
17996 * gdb.btrace/record_goto.exp: Choose test file based on target.
17997 * gdb.btrace/x86-record_goto.S: Renamed into ...
17998 * gdb.btrace/x86_64-record_goto.S: ... this.
17999 * gdb.btrace/i686-record_goto.S: New.
18000 * gdb.btrace/x86-tailcall.S: Renamed into ...
18001 * gdb.btrace/x86_64-tailcall.S: ... this.
18002 * gdb.btrace/i686-tailcall.S: New.
18003 * gdb.btrace/x86-tailcall.c: Renamed into ...
18004 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18005 separate statements. Update test.
18006 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18007 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18008 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18009 * gdb.btrace/tailcall.exp: Choose test file based on target.
18010 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18011
11cc1b74
MM
180122015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18013
18014 * gdb.btrace/exception.exp: Increase BTS buffer size.
18015
a25d8bf9
PA
180162015-03-24 Pedro Alves <palves@redhat.com>
18017
18018 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
18019
856e7dd6
PA
180202015-03-24 Pedro Alves <palves@redhat.com>
18021
18022 * gdb.threads/schedlock.exp (test_step): No longer expect that
18023 "set scheduler-locking step" with "next" over a function call runs
18024 threads unlocked.
18025
ad235a41
AT
180262015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18027
18028 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
18029
15630549
AT
180302015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18031
18032 PR breakpoints/16466
18033 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
18034 * gdb.mi/mi-pending.c (thread_func): New function.
18035 (int main): Add threading support required.
18036 * gdb.mi/mi-pending.exp: Add tests for this issue.
18037 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
18038 (pendfunc2): Remove stdio dependency.
18039 * gdb.mi/mi-pendshr2.c: New file.
18040
693dca06
KS
180412015-03-23 Keith Seitz <keiths@redhat.com>
18042
18043 * gdb.linespec/keywords.c: New file.
18044 * gdb.linespec/keywords.exp: New file.
18045
7e993ebf
KS
180462015-03-23 Keith Seitz <keiths@redhat.com>
18047
18048 PR gdb/18021
18049 * gdb.dwarf2/staticvirtual.exp: New test.
18050
bc23328c
JK
180512015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18052
18053 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
18054 * README: Remove HP-UX and gdb.hp.
18055 (configuration):
18056 * configure: Regenerate.
18057 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
18058 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
18059 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
18060 gdb.hp/gdb.defects/Makefile.
18061 * gdb.hp/Makefile.in: File deleted.
18062 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
18063 * gdb.hp/gdb.aCC/optimize.c: File deleted.
18064 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
18065 * gdb.hp/gdb.aCC/run.c: File deleted.
18066 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
18067 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
18068 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
18069 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
18070 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
18071 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
18072 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
18073 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
18074 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
18075 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
18076 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
18077 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
18078 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
18079 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
18080 * gdb.hp/gdb.base-hp/reg.s: File deleted.
18081 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
18082 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
18083 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
18084 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
18085 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
18086 * gdb.hp/gdb.compat/Makefile.in: File deleted.
18087 * gdb.hp/gdb.compat/average.c: File deleted.
18088 * gdb.hp/gdb.compat/sum.c: File deleted.
18089 * gdb.hp/gdb.compat/xdb.c: File deleted.
18090 * gdb.hp/gdb.compat/xdb0.c: File deleted.
18091 * gdb.hp/gdb.compat/xdb0.h: File deleted.
18092 * gdb.hp/gdb.compat/xdb1.c: File deleted.
18093 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
18094 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
18095 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
18096 * gdb.hp/gdb.defects/Makefile.in: File deleted.
18097 * gdb.hp/gdb.defects/bs14602.c: File deleted.
18098 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
18099 * gdb.hp/gdb.defects/solib-d.c: File deleted.
18100 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
18101 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
18102 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
18103 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
18104 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
18105 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
18106 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
18107 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
18108 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
18109 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
18110 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
18111 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
18112 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
18113 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
18114 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
18115 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
18116 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
18117 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
18118 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
18119 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
18120 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
18121 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
18122 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
18123 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
18124 * gdb.hp/tools/odump: File deleted.
18125
8bf3b159
PA
181262015-03-19 Pedro Alves <palves@redhat.com>
18127
18128 * gdb.threads/continue-pending-status.exp (saw_thread_2)
18129 (saw_thread_3): New globals.
18130 (top level): Increment them when an event for the corresponding
18131 thread is seen.
18132 (no thread starvation): New test.
18133
eb54c8bf
PA
181342015-03-19 Pedro Alves <palves@redhat.com>
18135
18136 * gdb.threads/continue-pending-status.c: New file.
18137 * gdb.threads/continue-pending-status.exp: New file.
18138
32d2e5d6
PA
181392015-03-18 Pedro Alves <palves@redhat.com>
18140
18141 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
18142 Use gdb_is_target_remote instead of is_remote. Use
18143 gdb_test_multiple instead of gdb_expect. Exit early if
18144 gdb_test_multiple hits its internal matches. Tighten stepi tests
18145 expected output. Fail on exit with any signal, instead of just
18146 SIGILL.
18147
f68f11b7
YQ
181482015-03-18 Yao Qi <yao.qi@linaro.org>
18149
18150 PR tdep/18107
18151 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
18152 variable.
18153 * gdb.base/catch-syscall.exp: Don't skip it on
18154 aarch64*-*-linux* target. Remove elements in all_syscalls.
18155 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
18156 target.
18157 (setup_all_syscalls): New proc.
18158
ca5fd19b
YQ
181592015-03-16 Yao Qi <yao.qi@linaro.org>
18160
18161 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
18162 (top level): Skip tests if valid_addr_p returns false for
18163 $cmd1 or $cmd2.
18164
85642ba0
AW
181652015-03-11 Andy Wingo <wingo@igalia.com>
18166
18167 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
18168
e03f9645
YQ
181692015-03-11 Yao Qi <yao.qi@linaro.org>
18170
18171 * gdb.base/catch-syscall.exp: Fix typo in comments.
18172
5d0962b2
YQ
181732015-03-11 Yao Qi <yao.qi@linaro.org>
18174
18175 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
18176
b2df3cef
PA
181772015-03-09 Pedro Alves <palves@redhat.com>
18178
18179 * dg-extract-results.py: Delete.
18180
ef878e53
PA
181812015-03-09 Pedro Alves <palves@redhat.com>
18182
18183 Merge dg-extract-results.sh from GCC upstream (r218843).
18184
18185 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
18186 * dg-extract-results.sh: Use --text with grep to avoid issues with
18187 binary files. Fall back to cat -v, if that doesn't work.
18188
9494d219
PA
181892015-03-05 Pedro Alves <palves@redhat.com>
18190
18191 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
18192
a8d9763a
SM
181932015-03-04 Simon Marchi <simon.marchi@ericsson.com>
18194
18195 * lib/mi-support.exp (mi_expect_interrupt): Accept
18196 alternative event for when in all-stop mode.
18197
be9957b8
PA
181982015-03-04 Pedro Alves <palves@redhat.com>
18199
18200 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
18201
d57be0f4 182022015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
18203
18204 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
18205
c214c7cf
AA
182062015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18207
18208 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
18209 regexps for GDB's current line display, accept a hex address
18210 preceding the line number.
18211
6d74a497
AA
182122015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18213
18214 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
18215 the 'arch1' variable for "s390*-linux*" targets.
18216
511aee7c
PA
182172015-03-04 Pedro Alves <palves@redhat.com>
18218
18219 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
18220 (main): Pass missing retval argument to pthread_join call.
18221
95e50b27
PA
182222015-03-02 Pedro Alves <palves@redhat.com>
18223
18224 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18225 (top level): Call do_test with non-stop as well.
18226
28054d69
PA
182272015-03-02 Pedro Alves <palves@redhat.com>
18228
18229 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18230 -1.
18231
4fa5d7b4
AA
182322015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18233
18234 * gdb.arch/s390-vregs.exp: New test.
18235 * gdb.arch/s390-vregs.S: New file.
18236
97c18565
PA
182372015-02-27 Pedro Alves <palves@redhat.com>
18238
18239 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18240 call to catch_command_errors.
18241 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18242 catch_command_errors.
18243
a37bfa30
PA
182442015-02-27 Pedro Alves <palves@redhat.com>
18245
18246 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18247 "true" for boolean result.
18248 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18249 prototype of main.
18250
6f98576f
PA
182512015-02-27 Pedro Alves <palves@redhat.com>
18252
18253 * lib/unbuffer_output.c: New file.
18254 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18255 (main): Call gdb_unbuffer_output.
18256
eba5ab56
YQ
182572015-02-27 Yao Qi <yao.qi@linaro.org>
18258
18259 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18260 target.
18261
0def5aaa
DE
182622015-02-26 Doug Evans <dje@google.com>
18263
18264 * gdb.cp/class2.cc (Dbase, D): New classes.
18265 (main): New local delta.
18266 * gdb.cp/class2.exp: Test printing delta.
18267 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18268 (dynbar): New global.
18269 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18270
081a1c2c
JK
182712015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18272
18273 * gdb.compile/compile-ifunc.c: New file.
18274 * gdb.compile/compile-ifunc.exp: New file.
18275
2f41223f
AT
182762015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18277
18278 * gdb.base/structs.exp: Check for correct struct on finish.
18279
03eddd80
YQ
182802015-02-26 Yao Qi <yao.qi@linaro.org>
18281
18282 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18283 is zero.
18284
80c57053
JK
182852015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18286
18287 * gdb.arch/cordic.ko.bz2: New file.
18288 * gdb.arch/cordic.ko.debug.bz2: New file.
18289 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18290
21613c12
YQ
182912015-02-25 Yao Qi <yao.qi@linaro.org>
18292
18293 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18294 aarch64*-*-* target.
18295
d8b901ed
PA
182962015-02-23 Pedro Alves <palves@redhat.com>
18297
18298 * lib/gdb.exp (delete_breakpoints): Rewrite using
18299 gdb_test_multiple.
18300
e5b85ead
PA
183012015-02-23 Pedro Alves <palves@redhat.com>
18302
18303 * gdb.base/info-os.c: Include stdlib.h.
18304
85c3a371
DE
183052015-02-22 Doug Evans <xdje42@gmail.com>
18306
18307 PR symtab/17855
18308 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18309 is read after symbols have been re-read.
18310 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18311 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18312
96553a0c
DE
183132015-02-21 Doug Evans <dje@google.com>
18314
18315 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18316
97a0c697
JK
183172015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18318
18319 PR corefiles/17808
18320 * gdb.arch/i386-biarch-core.core.bz2: New file.
18321 * gdb.arch/i386-biarch-core.exp: New file.
18322
a47cd6e9
PA
183232015-02-21 Pedro Alves <palves@redhat.com>
18324
18325 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18326 runto_main fails.
18327
c5facdc4
PA
183282015-02-20 Pedro Alves <palves@redhat.com>
18329
18330 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18331 info probes.
18332
2db9a427
PA
183332015-02-20 Pedro Alves <palves@redhat.com>
18334
18335 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18336
60fb7e9e
PA
183372015-02-20 Pedro Alves <palves@redhat.com>
18338
18339 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18340 clean_restart before gdb_target_supports_trace.
18341
5c5019c2
PA
183422015-02-20 Pedro Alves <palves@redhat.com>
18343
18344 PR threads/18006
18345 * gdb.threads/clone-thread_db.c: New file.
18346 * gdb.threads/clone-thread_db.exp: New file.
18347
c9587f88
AT
183482015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18349
18350 PR breakpoints/16812
18351 * gdb.base/catch-gdb-caused-signals.c: New file.
18352 * gdb.base/catch-gdb-caused-signals.exp: New file.
18353
f6a88844
JM
183542015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18355
18356 * configure: Regenerated.
18357 * configure.ac: Use GDB_AC_TRANSFORM.
18358 * aclocal.m4: sinclude ../transform.m4.
18359
497c491b
JM
183602015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18361
18362 * lib/dtrace.exp: New file.
18363 * gdb.base/dtrace-probe.exp: Likewise.
18364 * gdb.base/dtrace-probe.d: Likewise.
18365 * gdb.base/dtrace-probe.c: Likewise.
18366 * lib/pdtrace.in: Likewise.
18367 * configure.ac: Output variables with the transformed names of
18368 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18369 * configure: Regenerated.
18370
03e98035
JM
183712015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18372
18373 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18374 expected message when trying to access $_probe_* convenience
18375 variables while not on a probe.
18376
63cc30e9
JK
183772015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18378
18379 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18380
0703599a
PA
183812015-02-11 Pedro Alves <pedro@codesourcery.com>
18382
18383 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18384 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18385
7e60a48e
DE
183862015-02-10 Doug Evans <xdje42@gmail.com>
18387
18388 * lib/gdb.exp (gdb_load): Always return a result.
18389
01b088bc
PA
183902015-02-10 Pedro Alves <palves@redhat.com>
18391
18392 * gdb.threads/signal-sigtrap.c: New file.
18393 * gdb.threads/signal-sigtrap.exp: New file.
18394
b05ec7a5
AT
183952015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18396
18397 * gdb.trace/no-attach-trace.c: New file.
18398 * gdb.trace/no-attach-trace.exp: New file.
18399
a2c2acaf
MW
184002015-02-09 Mark Wielaard <mjw@redhat.com>
18401
18402 * gdb.dwarf2/atomic.c: New file.
18403 * gdb.dwarf2/atomic-type.exp: Likewise.
18404
31fd9caa
MM
184052015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18406
18407 * gdb.btrace/buffer-size.exp: Update "info record" output.
18408 * gdb.btrace/delta.exp: Update "info record" output.
18409 * gdb.btrace/enable.exp: Update "info record" output.
18410 * gdb.btrace/finish.exp: Update "info record" output.
18411 * gdb.btrace/instruction_history.exp: Update "info record" output.
18412 * gdb.btrace/next.exp: Update "info record" output.
18413 * gdb.btrace/nexti.exp: Update "info record" output.
18414 * gdb.btrace/step.exp: Update "info record" output.
18415 * gdb.btrace/stepi.exp: Update "info record" output.
18416 * gdb.btrace/nohist.exp: Update "info record" output.
18417
d33501a5
MM
184182015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18419
18420 * gdb.btrace/buffer-size: New.
18421
f4abbc16
MM
184222015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18423
18424 * gdb.btrace/delta.exp: Update "info record" output.
18425 * gdb.btrace/enable.exp: Update "info record" output.
18426 * gdb.btrace/finish.exp: Update "info record" output.
18427 * gdb.btrace/instruction_history.exp: Update "info record" output.
18428 * gdb.btrace/next.exp: Update "info record" output.
18429 * gdb.btrace/nexti.exp: Update "info record" output.
18430 * gdb.btrace/step.exp: Update "info record" output.
18431 * gdb.btrace/stepi.exp: Update "info record" output.
18432 * gdb.btrace/nohist.exp: Update "info record" output.
18433
b9d61307
SM
184342015-02-06 Simon Marchi <simon.marchi@ericsson.com>
18435
18436 PR gdb/15678
18437 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
18438
e584fdbc
PA
184392015-02-06 Pedro Alves <palves@redhat.com>
18440
18441 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
18442 macro.
18443 (seconds_left, again): New globals.
18444 (main): Wait seconds_left in a 1-second sleep loop instead of
18445 sleeping 180 seconds. If 'again' is set, reset the seconds
18446 counter.
18447 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18448 'again' in the inferior before detaching. Print the seconds left.
18449 (options): New global.
18450 (top level): Build program with -DTIMEOUT=$timeout.
18451
77f41761
PA
184522015-02-06 Pedro Alves <palves@redhat.com>
18453
18454 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18455 determine how many seconds to pass to 'alarm'.
18456 * gdb.base/gdb-sigterm.exp (top level): Build program with
18457 -DTIMEOUT=$timeout.
18458 (do_test): Return success/failure indication. Add more verbose
18459 logging. Don't fail if 200 single steps are seen. Instead, fail
18460 when the test times out.
18461 (passes): New global.
18462 (top level): Break the testing loop if testing fails on any
18463 iteration. Use gdb_assert.
18464
b9394193
DB
184652015-02-04 Don Breazeal <donb@codesourcery.com>
18466
18467 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18468 and initialize them.
18469 (ipc_cleanup): New function.
18470 (main): Don't declare shmid, semid, and msqid. Add a call to
18471 atexit so that we call ipc_cleanup on exit.
18472
42d9e528
PA
184732015-02-04 Pedro Alves <palves@redhat.com>
18474
18475 * boards/native-extended-gdbserver.exp: Remove any target variant
18476 specifications from the board name before clearing the isremote
18477 flag from board_info.
18478
ae6ae975
DE
184792015-01-31 Doug Evans <xdje42@gmail.com>
18480
18481 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18482
cfb069a8
GB
184832015-01-31 Gary Benson <gbenson@redhat.com>
18484
18485 * gdb.base/completion.exp: Disable completion limiting for
18486 existing tests. Add new tests to check completion limiting.
18487 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18488
5dd31d79
DE
184892015-01-31 Doug Evans <xdje42@gmail.com>
18490
18491 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18492
9f050062
DE
184932015-01-31 Doug Evans <xdje42@gmail.com>
18494
18495 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18496 entries. Duplicate file section script entries.
18497 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18498 inlined entries. Add test for safe-path rejection.
18499 * gdb.python/py-section-script.c: Add duplicate inlined section script
18500 entries. Duplicate file section script entries.
18501 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
18502 inlined entries. Add test for safe-path rejection.
18503
df25ebbd
JB
185042015-01-29 Joel Brobecker <brobecker@adacore.com>
18505
18506 * gdb.ada/disc_arr_bound: New testcase.
18507
4a0ca9ec
JB
185082015-01-29 Joel Brobecker <brobecker@adacore.com>
18509
18510 * gdb.ada/mi_var_array: New testcase.
18511
3a8b707a
DE
185122015-01-27 Doug Evans <dje@google.com>
18513
18514 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18515 Add test for objfile.filename, objfile.username after objfile
18516 has been unloaded.
18517
f8313f6e
JB
185182015-01-26 Joel Brobecker <brobecker@adacore.com>
18519
18520 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
18521 the second test to print the name attribute of value
18522 returned by the call to gdb.lookup_type, and adjust
18523 the expected output accordingly.
18524
37bc665e
MW
185252015-01-25 Mark Wielaard <mjw@redhat.com>
18526
18527 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
18528 * gdb.base/disp-step-fork.c: Include unistd.h.
18529 * gdb.base/siginfo-obj.c: Include stdio.h.
18530 * gdb.base/siginfo-thread.c: Likewise.
18531 * gdb.mi/non-stop.c: Include unistd.h.
18532 * gdb.mi/nsthrexec.c: Include stdio.h.
18533 * gdb.mi/pthreads.c: Include unistd.h.
18534 * gdb.modula2/unbounded1.c (main): Declare returns int.
18535 * gdb.reverse/consecutive-reverse.c: Likewise.
18536 * gdb.threads/create-fail.c: Include unistd.h.
18537 * gdb.threads/killed.c: Likewise.
18538 * gdb.threads/linux-dp.c: Likewise.
18539 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
18540 * gdb.threads/non-ldr-exc-2.c: Likewise.
18541 * gdb.threads/non-ldr-exc-3.c: Likewise.
18542 * gdb.threads/non-ldr-exc-4.c: Likewise.
18543 * gdb.threads/pthreads.c: Include unistd.h.
18544 (main): Declare returns int.
18545 * gdb.threads/tls-main.c (foo): New declaration.
18546 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
18547
f7e5394d
SM
185482015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18549
18550 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18551 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18552
743649fd
MW
185532015-01-15 Mark Wielaard <mjw@redhat.com>
18554
18555 * gdb.base/noreturn-return.c: New file.
18556 * gdb.base/noreturn-return.exp: New file.
18557 * gdb.base/noreturn-finish.c: New file.
18558 * gdb.base/noreturn-finish.exp: New file.
18559
198297aa
PA
185602015-01-23 Pedro Alves <palves@redhat.com>
18561
18562 * gdb.threads/continue-pending-after-query.c: New file.
18563 * gdb.threads/continue-pending-after-query.exp: New file.
18564
717cf30c
AG
185652015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18566 Simon Marchi <simon.marchi@ericsson.com>
18567
18568 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
18569 * gdb.base/valgrind-db-attach.exp: Same.
18570 * gdb.base/valgrind-infcall.exp: Same.
18571 * lib/mi-support.exp (default_mi_gdb_start): Same.
18572 * lib/prompt.exp (default_prompt_gdb_start): Same.
18573 * lib/gdb.exp (default_gdb_spawn): Same.
18574 (gdb_interact): New.
18575
18576
4b62a76e
JK
185772015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18578
18579 * gdb.compile/compile.exp (pointer to jit function): New test.
18580
b4cdae6f
WW
185812015-01-17 Wei-cheng Wang <cole945@gmail.com>
18582
18583 * lib/gdb.exp (supports_process_record): Return true for
18584 powerpc*-*-linux*.
18585 (supports_reverse): Likewise.
18586
d221e7ef
DB
185872015-01-15 Don Breazeal <donb@codesourcery.com>
18588
18589 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
18590 instead of checking whether the target board is remote and
18591 use spawn_wait_for_attach instead of exec/sleep.
18592 * gdb.base/attach-twice.exp: Likewise.
18593
bafffb51
JB
185942015-01-15 Joel Brobecker <brobecker@adacore.com>
18595
18596 * gdb.ada/var_arr_attrs: New testcase.
18597
5589af0e
PA
185982015-01-14 Pedro Alves <palves@redhat.com>
18599 Joel Brobecker <brobecker@adacore.com>
18600
18601 PR gdb/17525
18602 * gdb.base/bp-cmds-execution-x-script.c: New file.
18603 * gdb.base/bp-cmds-execution-x-script.exp: New file.
18604 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
18605
6c400b59
PA
186062015-01-14 Pedro Alves <palves@redhat.com>
18607
18608 PR cli/17828
18609 * gdb.base/batch-preserve-term-settings.c: New file.
18610 * gdb.base/batch-preserve-term-settings.exp: New file.
18611
e02c96a7
DE
186122015-01-13 Doug Evans <dje@google.com>
18613
18614 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18615 binary.
18616
576fd14c
JB
186172015-01-13 Joel Brobecker <brobecker@adacore.com>
18618
18619 * Makefile.in (clean mostlyclean): Do not delete *.py.
18620
04dccad0
JB
186212015-01-13 Joel Brobecker <brobecker@adacore.com>
18622
18623 * gdb.python/py-lookup-type.exp: New file.
18624
3d230f71
PA
186252015-01-12 Pedro Alves <palves@redhat.com>
18626
18627 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18628 restore GDBFLAGS before returning.
18629
7e67715d
JK
186302015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18631
18632 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18633 is_amd64_regs_target and is_x86_like_target.
18634
f2e0d4b4
DE
186352015-01-11 Doug Evans <xdje42@gmail.com>
18636
18637 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
18638 is given without an explicit form.
18639 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
18640 attributes.
18641 * gdb.dwarf/corrupt.exp: Ditto.
18642 * gdb.dwarf2/enum-type.exp: Ditto.
18643 * gdb.trace/entry-values.exp: Ditto.
18644 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
18645
439250fb
DE
186462015-01-11 Doug Evans <xdje42@gmail.com>
18647
18648 PR gdb/15830
18649 * gdb.base/maint.exp: Remove references to "maint demangle".
18650 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
18651 Add tests for explicitly specifying language to demangle.
18652 * gdb.dlang/demangle.exp: Ditto.
18653
ede9f622
PA
186542015-01-09 Pedro Alves <palves@redhat.com>
18655
18656 * gdb.threads/non-stop-fair-events.c: New file.
18657 * gdb.threads/non-stop-fair-events.exp: New file.
18658
a7b796db
PA
186592015-01-09 Pedro Alves <palves@redhat.com>
18660
18661 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
18662 the global scope. Set a breakpoint after all threads are started
18663 rather than stepping over two source lines. Expect the prompt.
18664 * gdb.base/watch_thread_num.c (threads_started_barrier): New
18665 global.
18666 (NUM): Now 15.
18667 (main): Use threads_started_barrier to wait for all threads to
18668 start. Main thread no longer calls thread_function. Exit after
18669 180 seconds.
18670 (loop): New function.
18671 (thread_function): Wait on threads_started_barrier barrier. Call
18672 'loop' at each iteration.
18673 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
18674 threads have started, instead of hardcoding number of "next"
18675 steps. Use an access watchpoint instead of a write watchpoint.
18676
9665ffdd
PA
186772015-01-09 Pedro Alves <palves@redhat.com>
18678
18679 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
18680 (thread_func): Wait on barrier.
18681 (main): Wait for all threads to start before stopping GDB.
18682 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
18683 global.
18684 (thread1_func, thread2_func): Wait on barrier.
18685 (main): Wait for all threads to start before stopping GDB.
18686 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
18687 New global.
18688 (thread1_func, thread2_func): Wait on barrier.
18689 (main): Wait for all threads to start before stopping GDB.
18690
c945a99f
PA
186912015-01-09 Pedro Alves <palves@redhat.com>
18692
18693 * gdb.threads/attach-many-short-lived-threads.c: New file.
18694 * gdb.threads/attach-many-short-lived-threads.exp: New file.
18695
c1a747c1
PA
186962014-01-09 Pedro Alves <palves@redhat.com>
18697
18698 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
18699 instead of to thread 2.
18700 * gdb.threads/signal-command-multiple-signals-pending.c (main):
18701 Add barrier around each pthread_create call instead of around all
18702 calls.
18703 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
18704 Set a break on thread_function and have the child threads hit it
18705 one at at a time.
18706
60b3033e
PA
187072015-01-09 Pedro Alves <palves@redhat.com>
18708
18709 * lib/gdb.exp (can_spawn_for_attach): New procedure.
18710 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
18711 false.
18712 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
18713 checking whether the target board is remote.
18714 * gdb.multi/multi-attach.exp: Likewise.
18715 * gdb.python/py-sync-interp.exp: Likewise.
18716 * gdb.server/ext-attach.exp: Likewise.
18717 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
18718 tests that need to attach, instead of checking whether the target
18719 board is remote at the top of the file.
18720
acc018ac
YQ
187212015-01-08 Yao Qi <yao@codesourcery.com>
18722
18723 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
18724
50a18af8
JK
187252015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18726
18727 Fix testcase compilation.
18728 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
18729
8503d6e1
JB
187302015-01-06 Joel Brobecker <brobecker@adacore.com>
18731
18732 * gdb.python/py-type.exp: Add a couple test about empty
18733 array creation, and negative-length array creation.
18734
cc73dbcc
DE
187352015-01-02 Doug Evans <xdje42@gmail.com>
18736
18737 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18738
0300bbc7
DE
187392015-01-02 Doug Evans <dje@google.com>
18740
18741 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18742
9d85a0ec
YQ
187432014-12-29 Yao Qi <yao@codesourcery.com>
18744
18745 * gdb.trace/entry-values.exp: Update comments. Rename variable
18746 bar_call_foo to returned_from_foo.
18747
87186c6a
MMN
187482014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
18749
18750 PR gdb/17394
18751 * gdb.linespec/break-asm-file.c: New file.
18752 * gdb.linespec/break-asm-file.exp: New file.
18753 * gdb.linespec/break-asm-file0.s: New file.
18754 * gdb.linespec/break-asm-file1.s: New file.
18755
1bab7383
YQ
187562014-12-18 Nigel Stephens <nigel@mips.com>
18757 Maciej W. Rozycki <macro@codesourcery.com>
18758
18759 * gdb.base/float.exp: Handle the new output from "info float" on
18760 MIPS targets.
18761
1bc1068a
JK
187622014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18763
18764 Fix MinGW compilation.
18765 * gdb.compile/compile-ops.exp: Update untested message if
18766 !skip_compile_feature_tests.
18767 * gdb.compile/compile-setjmp.exp: Likewise.
18768 * gdb.compile/compile-tls.exp: Likewise.
18769 * gdb.compile/compile.exp: Likewise.
18770 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18771 supported on this host".
18772
b6615d10
DE
187732014-12-16 Doug Evans <xdje42@gmail.com>
18774
18775 * boards/stabs.exp: New file.
18776
25dda427
AA
187772014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18778
18779 * gdb.base/completion.exp: Adjust to format changes of "maint
18780 print user-registers".
18781
bf330350
CU
187822014-12-16 Catalin Udma <catalin.udma@freescale.com>
18783
18784 PR server/17457
18785 * gdb.arch/aarch64-fp.c: New file.
18786 * gdb.arch/aarch64-fp.exp: New file.
18787
395cf596
SDJ
187882014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18789
18790 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18791 r210637, r210913, r211666, r215400, r215817).
18792
18793 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18794 * dg-extract-results.py: New file.
18795 * dg-extract-results.sh: Use it if the environment seems
18796 suitable.
18797
18798 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18799
18800 * dg-extract-results.py (parse_run): Handle warnings that
18801 are printed before a test harness is run.
18802
18803 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18804
18805 * dg-extract-results.py (Named): Remove __cmp__ method.
18806 (output_variation): Use a key to sort variation.harnesses.
18807
18808 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
18809
18810 * dg-extract-results.py: For Python 3, force sys.stdout to
18811 handle surrogate escape sequences.
18812 (safe_open): New function.
18813 (output_segment, main): Use it.
18814
18815 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18816
18817 * dg-extract-results.py (Prog.result_re): Include options
18818 in test name.
18819
18820 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18821
18822 * dg-extract-results.py (output_variation): Always sort if
18823 do_sum.
18824
e882ef3c
SM
188252014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18826
18827 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18828 as long as we get pagination notifications.
18829
4992aa20
JM
188302014-12-15 Jason Merrill <jason@redhat.com>
18831
18832 * Makefile.in (check-gdb.%): Restore.
18833 * README: Mention it.
18834
c1b5a1a6
JB
188352014-12-13 Joel Brobecker <brobecker@adacore.com>
18836
18837 * gdb.ada/str_uninit: New testcase.
18838
5537b577
JK
188392014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18840
18841 PR symtab/17642
18842 * gdb.base/vla-stub-define.c: New file.
18843 * gdb.base/vla-stub.c: New file.
18844 * gdb.base/vla-stub.exp: New file.
18845
bb2ec1b3
TT
188462014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18847 Jan Kratochvil <jan.kratochvil@redhat.com>
18848 Tom Tromey <tromey@redhat.com>
18849
18850 * configure.ac: Add gdb.compile/.
18851 * configure: Regenerate.
18852 * gdb.compile/Makefile.in: New file.
18853 * gdb.compile/compile-ops.exp: New file.
18854 * gdb.compile/compile-ops.c: New file.
18855 * gdb.compile/compile-tls.c: New file.
18856 * gdb.compile/compile-tls.exp: New file.
18857 * gdb.compile/compile-constvar.S: New file.
18858 * gdb.compile/compile-constvar.c: New file.
18859 * gdb.compile/compile-mod.c: New file.
18860 * gdb.compile/compile-nodebug.c: New file.
18861 * gdb.compile/compile-setjmp-mod.c: New file.
18862 * gdb.compile/compile-setjmp.c: New file.
18863 * gdb.compile/compile-setjmp.exp: New file.
18864 * gdb.compile/compile-shlib.c: New file.
18865 * gdb.compile/compile.c: New file.
18866 * gdb.compile/compile.exp: New file.
18867 * lib/gdb.exp (skip_compile_feature_tests): New proc.
18868
4ff709eb
TT
188692014-12-12 Tom Tromey <tromey@redhat.com>
18870
18871 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18872 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18873
6dddd6a5
DE
188742014-12-12 Doug Evans <dje@google.com>
18875
18876 * lib/gdb-python.exp (get_python_valueof): New function.
18877 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18878
71c24708
AA
188792014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18880
18881 * gdb.base/completion.exp: Add test for completion of "info
18882 registers ".
18883
3e29f34a
MR
188842014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18885
18886 * gdb.base/func-ptrs.c: New file.
18887 * gdb.base/func-ptrs.exp: New file.
18888
fc126975
SM
188892014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18890
18891 PR breakpoints/17012
18892 * gdb.base/dprintf-detach.c: New file.
18893 * gdb.base/dprintf-detach.exp: New file.
18894
0a46d518
SM
188952014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18896
18897 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18898 * lib/gdb.exp (target_is_gdbserver): New procedure.
18899
a0be3e44
DE
189002014-12-08 Doug Evans <dje@google.com>
18901
18902 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18903
df1b803a
YQ
189042014-12-05 Yao Qi <yao@codesourcery.com>
18905
18906 * gdb.guile/scm-error.exp: Remove the third argument to
18907 gdb_remote_download.
18908 * gdb.guile/scm-frame-args.exp: Likewise.
18909 * gdb.guile/scm-section-script.exp: Likewise.
18910
ddb9f679
YQ
189112014-12-05 Yao Qi <yao@codesourcery.com>
18912
18913 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18914
86e4ed39
DE
189152014-12-04 Doug Evans <dje@google.com>
18916
18917 * gdb.python/py-objfile.exp: Add tests for
18918 objfile.add_separate_debug_file.
18919
7c50a931
DE
189202014-12-04 Doug Evans <dje@google.com>
18921
18922 * lib/gdb.exp (get_build_id): New function.
18923 (build_id_debug_filename_get): Rewrite to use it.
18924 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
18925
621661e3
MR
189262014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
18927
18928 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
18929 `method(long)', not just 0x0.
18930 * gdb.cp/nsalias.exp: Align code labels to 4.
18931 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18932 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
18933 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18934 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18935 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18936 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18937
29f0c3b7
DE
189382014-12-02 Doug Evans <dje@google.com>
18939
e1e061e7 18940 PR symtab/17602
29f0c3b7 18941 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 18942 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
18943 * gdb.cp/anon-ns.exp: Update.
18944
162078c8
NB
189452014-12-02 Nick Bull <nicholaspbull@gmail.com>
18946
18947 * gdb.python/py-events.py (inferior_call_handler): New.
18948 (register_changed_handler, memory_changed_handler): New.
18949 (test_events.invoke): Register new handlers.
18950 * gdb.python/py-events.exp: Add tests for inferior call,
18951 memory_changed and register_changed events.
18952
fdb09caf
AA
189532014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18954
18955 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18956 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18957 if the linker doesn't understand this.
18958
55cfb2c4
SM
189592014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18960
18961 * gdb.python/python.exp: Change expected reply to help().
18962
9e8cd6df
YQ
189632014-12-01 Yao Qi <yao@codesourcery.com>
18964
18965 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18966 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18967 * configure: Re-generated.
18968
6c659fc2
SC
189692014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18970
18971 * gdb.cp/chained-calls.cc: New file.
18972 * gdb.cp/chained-calls.exp: New file.
18973 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18974
d7fc3181
SM
189752014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18976
18977 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18978 * gdb.dwarf2/symtab-producer.exp: Same.
18979 * gdb.gdb/python-interrupts.exp: Same.
18980 * gdb.gdb/python-selftest.exp: Same.
18981 * gdb.python/py-linetable.exp: Same.
18982 * gdb.python/py-type.exp: Same.
18983 * gdb.python/py-value-cc.exp: Same.
18984 * gdb.python/py-value.exp: Same.
18985
10e79639
YQ
189862014-11-28 Yao Qi <yao@codesourcery.com>
18987
18988 * gdb.base/break-probes.exp: Match library name prefixed with
18989 sysroot.
18990
f28a0564
SM
189912014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18992
18993 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18994 test expected output. Add parentheses for the call to print.
18995 Remove L suffix from integers.
18996
3fe1ce1d
DE
189972014-11-26 Doug Evans <dje@google.com>
18998
18999 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19000
84429e27
YQ
190012014-11-22 Yao Qi <yao@codesourcery.com>
19002
19003 * gdb.trace/entry-values.c: Remove asms.
19004 (foo): Add foo_label.
19005 (bar): Add bar_label.
19006 * gdb.trace/entry-values.exp: Remove code computing foo's
19007 length and bar's length.
19008 (Dwarf::assemble): Invoke function_range for bar and use
19009 MACRO_AT_func for foo.
19010
26741859
YQ
190112014-11-22 Yao Qi <yao@codesourcery.com>
19012
19013 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
19014 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
19015 Use .Lgcc43_procstart instead of gcc43.
19016
45e44d27
JB
190172014-11-21 Joel Brobecker <brobecker@adacore.com>
19018
19019 * gdb.ada/n_arr_bound: New testcase.
19020
458c8db8
SDJ
190212014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
19022
19023 PR breakpoints/10737
19024 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
19025 test_catch_syscall_multi_arch.
19026 (test_catch_syscall_multi_arch): New function.
19027
43f3e411
DE
190282014-11-20 Doug Evans <xdje42@gmail.com>
19029
19030 * gdb.base/maint.exp: Update expected output.
19031
0d7b2549
AA
190322014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
19033
19034 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
19035 4-byte instruction on S390.
19036
8908fca5
JB
190372014-11-19 Joel Brobecker <brobecker@adacore.com>
19038
19039 * gdb.ada/arr_arr: New testcase.
19040
4a46959e
JB
190412014-11-19 Joel Brobecker <brobecker@adacore.com>
19042
19043 * gdb.ada/pkd_arr_elem: New Testcase.
19044
470e2f4e
LM
190452014-11-18 Luis Machado <lgustavo@codesourcery.com>
19046
19047 * gdb.reverse/break-precsave: Expect completion message for
19048 core file reads.
19049 * gdb.reverse/consecutive-precsave.exp: Likewise.
19050 * gdb.reverse/finish-precsave.exp: Likewise.
19051 * gdb.reverse/i386-precsave.exp: Likewise.
19052 * gdb.reverse/machinestate-precsave.exp: Likewise.
19053 * gdb.reverse/sigall-precsave.exp: Likewise.
19054 * gdb.reverse/solib-precsave.exp: Likewise.
19055 * gdb.reverse/step-precsave.exp: Likewise.
19056 * gdb.reverse/until-precsave.exp: Likewise.
19057 * gdb.reverse/watch-precsave.exp: Likewise.
19058
a267f3ad
AA
190592014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19060
19061 * gdb.base/bp-permanent.c: Include unistd.h.
19062 * gdb.python/py-framefilter-mi.c (main): Add return type.
19063 * gdb.python/py-framefilter.c (main): Likewise.
19064 * gdb.trace/actions-changed.c (main): Likewise.
19065
12084a9a
AA
190662014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19067
19068 * gdb.mi/until.c: Add eye-catchers.
19069 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
19070 line numbers.
19071
dc7e1a77
AA
190722014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19073
19074 * gdb.base/condbreak.exp: Drop references to removed non-prototype
19075 function header variants in break1.c.
19076 * gdb.base/ena-dis-br.exp: Likewise.
19077 * gdb.base/hbreak2.exp: Likewise.
19078 * gdb.reverse/until-precsave.exp: Drop references to removed
19079 non-prototype function header variants in ur1.c.
19080 * gdb.reverse/until-reverse.exp: Likewise.
19081
41c77605
PM
190822014-11-17 Petr Machata <pmachata@redhat.com>
19083
19084 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
19085 ${_cu_offset_size} bytes abbrev offset.
19086
34248c3a
DE
190872014-11-15 Doug Evans <xdje42@gmail.com>
19088
19089 PR symtab/17559
19090 * gdb.base/line-symtabs.exp: New file.
19091 * gdb.base/line-symtabs.c: New file.
19092 * gdb.base/line-symtabs.h: New file.
19093
646da059
YQ
190942014-11-14 Yao Qi <yao@codesourcery.com>
19095
19096 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
19097 (func): Add label func_label.
19098 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
19099 Replace low_pc and high_pc with MACRO_AT_range.
19100 Replace name, low_pc and high_pc with MACRO_AT_func.
19101
9301ebe6
YQ
191022014-11-14 Yao Qi <yao@codesourcery.com>
19103
19104 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
19105 Replace name, low_pc and high_pc with MACRO_AT_func.
19106
f166b542
YQ
191072014-11-14 Yao Qi <yao@codesourcery.com>
19108
19109 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
19110 produce debug information.
19111 * gdb.dwarf2/implptr-optimized-out.S: Removed.
19112
0f6e71e3
YQ
191132014-11-14 Yao Qi <yao@codesourcery.com>
19114
19115 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
19116 object and get function length.
19117 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
19118 with MACRO_AT_func.
19119 (top-level): Replace gdb_compile and clean_restart with
19120 prepare_for_testing.
19121 * gdb.dwarf2/main.c (main): Add label main_label.
19122
876c4df9
YQ
191232014-11-14 Yao Qi <yao@codesourcery.com>
19124
19125 * lib/dwarf.exp (function_range): New procedure.
19126 (Dwarf::_handle_macro_at_func): New procedure.
19127 (Dwarf::_handle_macro_at_range): New procedure.
19128 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
19129
02ad9cf1
YQ
191302014-11-14 Yao Qi <yao@codesourcery.com>
19131
19132 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
19133 (_handle_attribute): New procedure.
19134
a59add0c
AA
191352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19136
19137 * gdb.ada/cond_lang/foo.c (callme): Add return type.
19138 * gdb.base/call-sc.c (zed): Likewise.
19139 * gdb.base/checkpoint.c (main): Likewise.
19140 * gdb.base/dump.c (main): Likewise.
19141 * gdb.base/gcore.c (main): Likewise.
19142 * gdb.base/huge.c (main): Likewise.
19143 * gdb.base/multi-forks.c (main): Likewise.
19144 * gdb.base/pr10179-a.c (main): Likewise.
19145 * gdb.base/savedregs.c (main): Likewise.
19146 * gdb.base/sigaltstack.c (main): Likewise.
19147 * gdb.base/siginfo.c (main): Likewise.
19148 * gdb.base/structs.c (zed): Likewise.
19149 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
19150 * gdb.mi/mi-syn-frame.c (main): Likewise.
19151 * gdb.mi/until.c (foo, main): Likewise.
19152 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
19153 * gdb.base/solib-weak.c (foo): Declare.
19154 * gdb.base/attach-twice.c: Include stdio.h.
19155 * gdb.base/weaklib1.c: Likewise.
19156 * gdb.base/weaklib2.c: Likewise.
19157 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
19158 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
19159 unistd.h.
19160 * gdb.base/attach-pie-misread.c: Include stdlib.h.
19161 * gdb.mi/mi-exit-code.c: Likewise.
19162 * gdb.base/break-interp-lib.c: Include string.h.
19163 * gdb.base/coremaker.c: Likewise.
19164 * gdb.base/testenv.c: Likewise.
19165 * gdb.python/py-finish-breakpoint.c: Likewise.
19166 * gdb.base/inferior-died.c: Include sys/wait.h.
19167 * gdb.base/fileio.c: Include time.h.
19168 * gdb.base/async-shell.c: Include unistd.h.
19169 * gdb.base/dprintf-non-stop.c: Likewise.
19170 * gdb.base/info-os.c: Likewise.
19171 * gdb.mi/mi-console.c: Likewise.
19172 * gdb.mi/watch-nonstop.c: Likewise.
19173 * gdb.python/py-events.c: Likewise.
19174 * gdb.base/async.c (baz): Move up before its invocation.
19175 * gdb.base/code_elim2.c (my_global_func): Likewise.
19176 * gdb.base/skip-solib-lib.c (multiply): Likewise.
19177 * gdb.base/advance.c (func2): Likewise.
19178
3b5d5997
AA
191792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19180
19181 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
19182 variant.
19183 * gdb.base/annota3.c: Likewise.
19184 * gdb.base/async.c: Likewise.
19185 * gdb.base/average.c: Likewise.
19186 * gdb.base/call-ar-st.c: Likewise.
19187 * gdb.base/call-rt-st.c: Likewise.
19188 * gdb.base/call-sc.c: Likewise.
19189 * gdb.base/call-strs.c: Likewise.
19190 * gdb.base/ending-run.c: Likewise.
19191 * gdb.base/execd-prog.c: Likewise.
19192 * gdb.base/exprs.c: Likewise.
19193 * gdb.base/foll-exec.c: Likewise.
19194 * gdb.base/foll-fork.c: Likewise.
19195 * gdb.base/foll-vfork.c: Likewise.
19196 * gdb.base/funcargs.c: Likewise.
19197 * gdb.base/gcore.c: Likewise.
19198 * gdb.base/jump.c: Likewise.
19199 * gdb.base/langs0.c: Likewise.
19200 * gdb.base/langs1.c: Likewise.
19201 * gdb.base/langs2.c: Likewise.
19202 * gdb.base/mips_pro.c: Likewise.
19203 * gdb.base/nodebug.c: Likewise.
19204 * gdb.base/opaque0.c: Likewise.
19205 * gdb.base/opaque1.c: Likewise.
19206 * gdb.base/recurse.c: Likewise.
19207 * gdb.base/run.c: Likewise.
19208 * gdb.base/scope0.c: Likewise.
19209 * gdb.base/scope1.c: Likewise.
19210 * gdb.base/setshow.c: Likewise.
19211 * gdb.base/setvar.c: Likewise.
19212 * gdb.base/shmain.c: Likewise.
19213 * gdb.base/shr1.c: Likewise.
19214 * gdb.base/shr2.c: Likewise.
19215 * gdb.base/sigall.c: Likewise.
19216 * gdb.base/signals.c: Likewise.
19217 * gdb.base/so-indr-cl.c: Likewise.
19218 * gdb.base/solib2.c: Likewise.
19219 * gdb.base/structs.c: Likewise.
19220 * gdb.base/sum.c: Likewise.
19221 * gdb.base/vforked-prog.c: Likewise.
19222 * gdb.base/watchpoint.c: Likewise.
19223 * gdb.reverse/shr2.c: Likewise.
19224 * gdb.reverse/until-reverse.c: Likewise.
19225 * gdb.reverse/ur1.c: Likewise.
19226 * gdb.reverse/watch-reverse.c: Likewise.
19227
066a77c5
AA
192282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19229
19230 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19231 variant.
19232 * gdb.base/sepdebug.exp: Drop references to removed code.
19233
4f204ea5
AA
192342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19235
19236 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19237 variant. Preserve original line numbering.
19238 * gdb.base/list1.c: Likewise.
19239
3b377a3a
AA
192402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19241
19242 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19243 variant.
19244 * gdb.base/break1.c: Likewise.
19245 * gdb.base/break.exp: Drop references to removed code.
19246
e444df73
AA
192472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19248
19249 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19250 variant.
19251
8008f2a7
AA
192522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19253
19254 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19255
a5a06887
AA
192562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19257
19258 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19259 logic into perform_all_tests() and invoke it with and without
19260 function header prototypes.
19261 (do_function_calls): Remove conditional XFAIL for PR 5318.
19262 (rerun_and_prepare): Remove duplicate code.
19263 (perform_all_tests): New. Main logic moved here.
19264
44dba9b9
AA
192652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19266
19267 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19268 code guarded by #ifdef NO_PROTOTYPES.
19269 (t_double_many_args): Likewise.
19270 (DEF_FUNC_MANY_ARGS_1): Likewise.
19271 (DEF_FUNC_VALUES_1): Likewise.
19272 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19273 guarded by #ifdef PROTOTYPES.
19274
d1fbcd56
AA
192752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19276
19277 * gdb.mi/mi-console.c: Add eye-catcher.
19278 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19279 instead of literal line number.
19280
b0e59b8f
AA
192812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19282
19283 * gdb.base/shr2.c: Add eye-catcher.
19284 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19285 line number.
19286
78f98cca
AA
192872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19288
19289 * gdb.base/jump.c: Add eye-catchers.
19290 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19291 numbers.
19292
58fa2af0
AA
192932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19294
19295 * gdb.base/execd-prog.c: Add eye-catchers.
19296 * gdb.base/foll-exec.c: Likewise.
19297 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19298 line numbers.
19299
04e5059b
AA
193002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19301
19302 * gdb.base/ending-run.c: Add eye-catchers.
19303 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19304 literal line numbers.
19305
dbfdb174
AA
193062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19307
19308 * gdb.base/call-rt-st.c: Add eye-catchers.
19309 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19310 literal line numbers.
19311
888a2ade
AA
193122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19313
19314 * gdb.base/call-ar-st.c: Add eye-catchers.
19315 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19316 literal line numbers.
19317
6acc2dde
AA
193182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19319
19320 * gdb.base/average.c: Add eye-catchers.
19321 * gdb.base/sum.c: Likewise.
19322 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19323 regexps dynamically.
19324
9ecfcd1d
AA
193252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19326
19327 * gdb.base/solib1.c: Add eye-catchers.
19328 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19329 literal line numbers.
19330
78708b7c
PA
193312014-11-12 Pedro Alves <palves@redhat.com>
19332
19333 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19334 leader has exited.
19335
af48d08f
PA
193362014-11-12 Pedro Alves <palves@redhat.com>
19337
19338 * gdb.arch/i386-bp_permanent.c: New file.
19339 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19340 (srcfile): Set to i386-bp_permanent.c.
19341 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19342 that stepi does not execute the 'leave' instruction, instead of
19343 testing it does execute.
19344 * gdb.base/bp-permanent.c: New file.
19345 * gdb.base/bp-permanent.exp: New file.
19346
af3768e9
DE
193472014-11-10 Doug Evans <xdje42@gmail.com>
19348
19349 PR symtab/17564
19350 * gdb.base/symtab-search-order.exp: New file.
19351 * gdb.base/symtab-search-order.c: New file.
19352 * gdb.base/symtab-search-order-1.c: New file.
19353 * gdb.base/symtab-search-order-shlib-1.c: New file.
19354
9de00a4a
PA
193552014-11-07 Pedro Alves <palves@redhat.com>
19356
19357 PR gdb/17511
19358 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19359 i?86-*-linux*.
19360
e0f52461
SC
193612014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19362
19363 PR c++/17494
19364 * gdb.cp/pr17494.cc: New file.
19365 * gdb.cp/pr17494.exp: New file.
19366
6ce8c980
YQ
193672014-11-02 Yao Qi <yao@codesourcery.com>
19368
19369 * gdb.python/python.exp: Get working directory and match the
19370 output of "set extended-prompt \\w " with it.
19371
02be9a71
DE
193722014-10-30 Doug Evans <dje@google.com>
19373
19374 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19375 in objfiles.
19376 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19377 in progspaces.
19378
3bdff46b
LM
193792014-10-30 Janis Johnson <janisjo@codesourcery.com>
19380
19381 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19382 * gdb.base/realname-expand.exp: Likewise.
19383 * gdb.linespec/macro-relative.exp: Likewise.
19384
ab917dfb
PA
193852014-10-29 Pedro Alves <palves@redhat.com>
19386
19387 PR gdb/17408
19388 * gdb.threads/schedlock.c (some_function): New function.
19389 (call_function): New global.
19390 (MAYBE_CALL_SOME_FUNCTION): New macro.
19391 (thread_function): Call it.
19392 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19393 and use it instead of a global counter. Adjust all callers.
19394 (get_current_thread): Use "find current thread" for test message
19395 here rather than having all callers pass down the same string.
19396 (goto_loop): New procedure, factored out from ...
19397 (my_continue): ... this.
19398 (step_ten_loops): Change parameter from test message to command to
19399 use. Adjust.
19400 (list_count): Delete global.
19401 (check_result): New procedure, factored out from duplicate top
19402 level code.
19403 (continue tests): Wrap in with_test_prefix.
19404 (test_step): New procedure, factored out from duplicate top level
19405 code.
19406 (top level): Test "step" in combination with all scheduler-locking
19407 modes. Test "next" in combination with all scheduler-locking
19408 modes, and in combination with stepping over a function call or
19409 not.
19410 * gdb.threads/next-bp-other-thread.c: New file.
19411 * gdb.threads/next-bp-other-thread.exp: New file.
19412
d3d4baed
PA
194132014-10-29 Pedro Alves <palves@redhat.com>
19414
19415 PR python/17372
19416 * gdb.python/python.exp: Test a multi-line command that spawns
19417 interactive Python.
19418 * gdb.base/multi-line-starts-subshell.exp: New file.
19419
563e8d85
YQ
194202014-10-29 Yao Qi <yao@codesourcery.com>
19421
19422 * gdb.base/fileio.exp: Make directories on host.
19423
0ea4d52e
YQ
194242014-10-29 Yao Qi <yao@codesourcery.com>
19425
19426 * gdb.base/fileio.c (test_write): Close the file.
19427
7f5ef605
PA
194282014-10-28 Pedro Alves <palves@redhat.com>
19429
19430 PR gdb/12623
19431 * gdb.base/sigstep.c (no_handler): New global.
19432 (main): If 'no_handler is true, set the signal handlers to
19433 SIG_IGN.
19434 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
19435 with_sw_watch and no_handler parameters. Handle them.
19436 (top level) <stepping over handler when stopped at a breakpoint
19437 test>: Add a test axis for testing with a software watchpoint, and
19438 another for testing with the signal handler set to SIG_IGN.
19439 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
19440 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
19441
abbdbd03
PA
194422014-10-28 Pedro Alves <palves@redhat.com>
19443
19444 PR gdb/17511
19445 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19446 * gdb.base/sigstep.exp (other_handler_location): New global.
19447 (advance): Support stepping into the signal handler, and running
19448 commands while in the handler.
19449 (in_handler_map): New global.
19450 (top level): In the advance test, add combinations for getting
19451 into the handler with stepping commands, and for running commands
19452 in the handler. Add comment descripting the advancei tests.
19453
1df4399f
PA
194542014-10-28 Pedro Alves <palves@redhat.com>
19455
19456 * gdb.base/sigstep.exp: Use build_executable instead of
19457 prepare_for_testing.
19458 (top level): Move code that starts GDB, runs to main and creates a
19459 display to ...
19460 (restart): ... this new procedure.
19461 (top level): Move backtrace from signal handler test to ...
19462 (validate_backtrace): ... this new procedure.
19463 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19464 with_test_prefix. Always restart GDB.
19465 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19466 with_test_prefix. Always restart GDB. No need to delete
19467 breakpoints after the test.
19468 (test_skip_handler): Remove prefix parameter.
19469 (skip_over_handler, breakpoint_to_handler)
19470 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19471 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19472 restart GDB. No need to delete breakpoints after the test.
19473 (top level): Use foreach to call the test procedures with
19474 different commands.
19475
a5b6e449
PA
194762014-10-28 Pedro Alves <palves@redhat.com>
19477
19478 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19479 instead of GNATS numbers.
19480 * gdb.base/sigbpt.exp: Likewise.
19481 * gdb.base/siginfo.exp: Likewise.
19482 * gdb.base/sigstep.exp: Likewise.
19483
e5f8a7cc
PA
194842014-10-27 Pedro Alves <palves@redhat.com>
19485
19486 * gdb.base/sigstep.c (dummy): New global.
19487 (main): Issue a couple writes to the new global.
19488 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19489 procedures.
19490 (skip_over_handler): Use test_skip_handler.
19491 (top level): Call skip_over_handler for stepi and nexti too.
19492 (breakpoint_over_handler): Use test_skip_handler.
19493 (top level): Call breakpoint_over_handler for stepi and nexti too.
19494
763905a3
YQ
194952014-10-27 Yao Qi <yao@codesourcery.com>
19496
19497 * gdb.trace/tfile.c (adjust_function_address)
19498 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19499 function descriptor.
19500
6f259a23
DB
195012014-10-24 Don Breazeal <donb@codesourcery.com>
19502
19503 * gdb.base/foll-fork.exp (test_follow_fork,
19504 catch_fork_child_follow): Check for updated fork messages emitted
19505 from infrun.c.
19506 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
19507 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
19508 vfork_and_exec_child_follow_through_step): Check for updated vfork
19509 messages emitted from infrun.c.
19510
09dd9a69
PA
195112014-10-24 Pedro Alves <palves@redhat.com>
19512
19513 * gdb.base/corefile.exp: Remove references to ultrix.
19514 * gdb.base/interrupt.exp: Likewise.
19515 * gdb.base/whatis.exp: Likewise.
19516 * gdb.gdb/selftest.exp: Likewise.
19517 * gdb.threads/manythreads.exp: Likewise.
19518 * gdb.threads/print-threads.exp: Likewise.
19519 * gdb.threads/pthreads.exp:: Likewise.
19520 * gdb.threads/schedlock.exp: Likewise.
19521
3433cfa5
SC
195222014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19523
19524 * gdb.cp/non-trivial-retval.cc: Add a test case.
19525 * gdb.cp/non-trivial-retval.exp: Add a test.
19526
092f880b
YQ
195272014-10-20 Yao Qi <yao@codesourcery.com>
19528
19529 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
19530 * gdb.python/py-objfile-script-gdb.py: New file.
19531 * gdb.python/py-objfile-script.exp: Update reference to
19532 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
19533 of remote_download. Remove the dest file.
19534
acbdb7f3
YQ
195352014-10-20 Yao Qi <yao@codesourcery.com>
19536
19537 * gdb.base/checkpoint.exp: Don't remove file copied on host.
19538 * gdb.base/step-line.exp: Likewise.
19539 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19540 * gdb.dwarf2/dw2-basic.exp: Likewise.
19541 * gdb.dwarf2/dw2-compressed.exp: Likewise.
19542 * gdb.dwarf2/dw2-filename.exp: Likewise.
19543 * gdb.dwarf2/dw2-intercu.exp: Likewise.
19544 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19545 * gdb.dwarf2/dw2-producer.exp: Likewise.
19546 * gdb.dwarf2/mac-fileno.exp: Likewise.
19547 * gdb.python/py-frame-args.exp: Likewise.
19548 * gdb.python/py-framefilter.exp: Likewise.
19549 * gdb.python/py-mi.exp: Likewise.
19550 * gdb.python/py-objfile-script.exp: Likewise
19551 * gdb.python/py-pp-integral.exp: Likewise.
19552 * gdb.python/py-pp-re-notag.exp: Likewise.
19553 * gdb.python/py-prettyprint.exp: Likewise.
19554 * gdb.python/py-section-script.exp: Likewise.
19555 * gdb.python/py-typeprint.exp: Likewise.
19556 * gdb.python/py-xmethods.exp: Likewise.
19557 * gdb.stabs/weird.exp: Likewise.
19558 * gdb.xml/tdesc-regs.exp: Likewise.
19559
bd286a29
KCY
195602014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
19561
19562 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
19563 (out_cu): Use addr_len for the size of addresses.
19564 (out_line): Likewise. Size DW_LNE_set_address instruction
19565 according to addr_len.
19566 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
19567 (FUNC): Add START_INSNS to definition.
19568
673dc4a0
YQ
195692014-10-18 Yao Qi <yao@codesourcery.com>
19570
19571 * gdb.base/argv0-symlink.exp: Check argv[0] value if
19572 gdb_has_argv0 return true.
19573 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
19574 check [target_info exists noargs], check [gdb_has_argv0]
19575 instead.
19576 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19577 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19578 procedures.
19579
4ffbba72
DE
195802014-10-17 Doug Evans <dje@google.com>
19581
19582 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19583 event.
19584 * gdb.python/py-events.py: Add clear_objfiles event.
19585
d096d8c1
DE
195862014-10-17 Doug Evans <dje@google.com>
19587
19588 * gdb.python/py-objfile.exp: Test progspace attribute.
19589
a80db015
LM
195902014-10-17 Luis Machado <lgustavo@codesourcery.com>
19591
19592 * gdb.guile/scm-breakpoint.exp: Do not assume any
19593 directory separators when matching source file paths.
19594 * gdb.python/py-breakpoint.exp: Likewise.
19595 * gdb.reverse/break-precsave.exp: Likewise.
19596 * gdb.reverse/break-reverse.exp: Likewise.
19597 * gdb.reverse/consecutive-precsave.exp: Likewise.
19598 * gdb.reverse/finish-precsave.exp: Likewise.
19599 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
19600 * gdb.reverse/finish-reverse.exp: Likewise.
19601 * gdb.reverse/i386-precsave.exp: Likewise.
19602 * gdb.reverse/i387-env-reverse.exp: Likewise.
19603 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19604 * gdb.reverse/machinestate-precsave.exp: Likewise.
19605 * gdb.reverse/machinestate.exp: Likewise.
19606 * gdb.reverse/sigall-precsave.exp: Likewise.
19607 * gdb.reverse/solib-precsave.exp: Likewise.
19608 * gdb.reverse/step-precsave.exp: Likewise.
19609 * gdb.reverse/until-precsave.exp: Likewise.
19610 * gdb.reverse/watch-precsave.exp: Likewise.
19611 * gdb.reverse/watch-reverse.exp: Likewise.
19612
b22089ab
YQ
196132014-10-17 Yao Qi <yao@codesourcery.com>
19614
19615 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19616 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19617
6c4486e6
PA
196182014-10-17 Pedro Alves <palves@redhat.com>
19619
19620 PR gdb/17471
19621 * gdb.base/bg-execution-repeat.c: New file.
19622 * gdb.base/bg-execution-repeat.exp: New file.
19623
0ff33695
PA
196242014-10-17 Pedro Alves <palves@redhat.com>
19625
19626 PR gdb/17300
19627 * gdb.base/continue-all-already-running.c: New file.
19628 * gdb.base/continue-all-already-running.exp: New file.
19629
6fdebc3d
PA
196302014-10-17 Pedro Alves <palves@redhat.com>
19631
19632 PR gdb/17472
19633 * gdb.base/annota-input-while-running.c: New file.
19634 * gdb.base/annota-input-while-running.exp: New file.
19635
32a8097b
PA
196362014-10-17 Pedro Alves <palves@redhat.com>
19637
19638 * gdb.base/callfuncs.exp: emove references to osf.
19639 * gdb.base/sigall.exp: Likewise.
19640 * gdb.gdb/selftest.exp: Likewise.
19641 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19642 * gdb.mi/non-stop.c: Likewise.
19643 * gdb.mi/pthreads.c: Likewise.
19644 * gdb.reverse/sigall-precsave.exp: Likewise.
19645 * gdb.reverse/sigall-reverse.exp: Likewise.
19646 * gdb.threads/pthreads.c: Likewise.
19647 * gdb.threads/pthreads.exp: Likewise.
19648
7a3517ff
YQ
196492014-10-17 Yao Qi <yao@codesourcery.com>
19650
19651 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
19652 check 'target_info exists noargs'.
19653 (test_command_prompt_position): Likewise.
19654 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
19655 Remove "set args".
19656 (progvar_simple_while_test): Likewise.
19657 (progvar_complex_if_while_test): Likewise.
19658 (if_while_breakpoint_command_test): Likewise.
19659 (infrun_breakpoint_command_test): Likewise.
19660 (breakpoint_command_test): Likewise.
19661 (watchpoint_command_test): Likewise.
19662 (bp_deleted_in_command_test): Likewise.
19663 (temporary_breakpoint_commands): Likewise.
19664
bb99c472
YQ
196652014-10-16 Yao Qi <yao@codesourcery.com>
19666
19667 * gdb.base/remotetimeout.exp: Remove noargs checking.
19668
7c16b83e
PA
196692014-10-15 Pedro Alves <palves@redhat.com>
19670
19671 PR breakpoints/9649
19672 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
19673 * gdb.base/breakpoint-in-ro-region.exp
19674 (probe_target_hardware_step): New procedure.
19675 (top level): Probe hardware stepping and hardware breakpoint
19676 support. Test stepping through a read-only region, with both
19677 "breakpoint auto-hw" on and off and both "always-inserted" on and
19678 off.
19679
35a49624
IB
196802014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
19681
19682 * gdb.dlang/demangle.exp: Update for demangling changes.
19683
2d1c107c
SC
196842014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19685
19686 * gdb.cp/non-trivial-retval.cc: Add new test cases.
19687 * gdb.cp/non-trivial-retval.exp: Add new tests.
19688
778811d5
SC
196892014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19690
19691 PR c++/13403
19692 PR c++/15154
19693 * gdb.cp/non-trivial-retval.cc: New file.
19694 * gdb.cp/non-trivial-retval.exp: New file.
19695
10c5f0a8
YQ
196962014-10-15 Yao Qi <yao@codesourcery.com>
19697
19698 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
19699 remote host.
19700
65d7b369
YQ
197012014-10-15 Yao Qi <yao@codesourcery.com>
19702
19703 * gdb.python/py-symbol.exp: Match file base name if host is
19704 remote, otherwise match file name with dir name.
19705 * gdb.python/py-symtab.exp: Likewise.
19706 * gdb.python/python.exp: Likewise.
19707
46dc1394
YQ
197082014-10-15 Yao Qi <yao@codesourcery.com>
19709
19710 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
19711 pattern.
19712 * gdb.python/py-symtab.exp: Likewise.
19713 * gdb.python/python.exp: Remove trailing ".*". Fix typo
19714 locationn.
19715
c40cc657
JB
197162014-10-14 Joel Brobecker <brobecker@adacore.com>
19717
19718 * gdb.ada/addr_arith: New testcase.
19719
2abf49e1
MR
197202014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
19721
19722 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
19723 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
19724 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
19725 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
19726
f7088df3
SDJ
197272014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
19728
19729 * gdb.arch/stap-eval-lang-ada.S: Likewise.
19730 * gdb.arch/stap-eval-lang-ada.c: Likewise.
19731 * gdb.arch/stap-eval-lang-ada.exp: New file.
19732
4dc06805
YQ
197332014-10-14 Yao Qi <yao@codesourcery.com>
19734
19735 * gdb.mi/mi-var-child.c (nothing1): New function.
19736 (nothing2): New function.
19737 (do_children_tests): Set function pointers by nothing1 and
19738 nothing2.
19739 * gdb.mi/mi-var-child.exp: Step over new added statements.
19740 Update test to match the new output.
19741 * gdb.mi/var-cmd.c (nothing1): New function.
19742 (nothing2): New function.
19743 (do_children_tests): Set function pointers by nothing1 and
19744 nothing2.
19745 * gdb.mi/mi-var-display.exp: Update test to match output.
19746 Step to the line specified by $line_dct_nothing.
19747 Increase the number of lines to step.
19748
46a93de2
YQ
197492014-10-14 Yao Qi <yao@codesourcery.com>
19750
19751 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19752 tests.
19753 * gdb.mi/mi2-var-child.exp: Likewise.
19754
14ea52ee
DE
197552014-10-13 Doug Evans <dje@google.com>
19756
19757 * gdb.python/py-objfile.exp: Change name of file name test.
19758
e5c6e92b
DE
197592014-10-13 Doug Evans <dje@google.com>
19760
19761 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19762 from the start of the CU.
19763
c780cc2f
JK
197642014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19765 Yao Qi <yao@codesourcery.com>
19766
19767 Fix "save breakpoints" for "catch" command.
19768 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19769 Remove -nonewline. Match also the added "main" line.
19770
99894e11
JK
197712014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19772
19773 Fix "save breakpoints" for "disable $bpnum" command.
19774 * gdb.base/save-bp.c (main): Add label.
19775 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19776
6e1ac5a3
JK
197772014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19778
19779 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19780
754dd2b0
YQ
197812014-10-11 Yao Qi <yao@codesourcery.com>
19782
19783 * gdb.server/server-kill.exp: Execute command
19784 "set remote trace-status-packet on" before "tstatus".
19785
f90183d7
YQ
197862014-10-11 Yao Qi <yao@codesourcery.com>
19787
19788 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19789 (main): Call getppid.
19790 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19791 and continue to it. Read variable "server_pid".
19792
bf40a607
YQ
197932014-10-11 Yao Qi <yao@codesourcery.com>
19794
19795 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19796
052ca370
YQ
197972014-10-11 Yao Qi <yao@codesourcery.com>
19798
19799 * gdb.threads/thread-find.exp: Don't execute command
19800 "info threads".
19801 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19802 * gdb.threads/linux-dp.exp: Don't check the condition
19803 $threads_created equals to zero.
19804
3831839c
PA
198052014-10-10 Pedro Alves <palves@redhat.com>
19806
19807 * gdb.base/bigcore.exp: Remove references to IRIX.
19808 * gdb.base/funcargs.exp: Likewise.
19809 * gdb.base/interrupt.exp: Likewise.
19810 * gdb.base/mips_pro.exp: Likewise.
19811 * gdb.base/nodebug.exp: Likewise.
19812 * gdb.base/setvar.exp: Likewise.
19813 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
19814
8b9a549d
PA
198152014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19816 Pedro Alves <palves@redhat.com>
19817
19818 PR symtab/14466
19819 * gdb.base/vdso-warning.c: New file.
19820 * gdb.base/vdso-warning.exp: New file.
19821
d48ba5e8
DE
198222014-10-02 Doug Evans <dje@google.com>
19823
19824 * gdb.base/structs.c (main): Don't run forever.
19825
2278c276
PA
198262014-10-02 Pedro Alves <palves@redhat.com>
19827
19828 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19829 (top level) <stop threads 1, stop threads 2>: Use it.
19830
b57bacec
PA
198312014-10-02 Pedro Alves <palves@redhat.com>
19832
19833 * gdb.threads/break-while-running.exp (test): Add new
19834 'update_thread_list' argument. Skip "info threads" if false.
19835 (top level): Add new 'update_thread_list' axis.
19836
13fd3ff3
PA
198372014-10-02 Pedro Alves <palves@redhat.com>
19838
19839 PR breakpoints/17431
19840 * gdb.base/execl-update-breakpoints.c: New file.
19841 * gdb.base/execl-update-breakpoints.exp: New file.
19842
0fec99e8
PA
198432014-10-01 Pedro Alves <palves@redhat.com>
19844
19845 * gdb.base/breakpoint-in-ro-region.c: New file.
19846 * gdb.base/breakpoint-in-ro-region.exp: New file.
19847
2ddf4301
SM
198482014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19849
19850 * gdb.mi/mi-exit-code.exp: New file.
19851 * gdb.mi/mi-exit-code.c: New file.
19852
6a5f3f43
YQ
198532014-09-30 Yao Qi <yao@codesourcery.com>
19854
19855 * lib/prelink-support.exp (build_executable_own_libs): Error if
19856 the target isn't native.
19857
345bcc73
YQ
198582014-09-30 Yao Qi <yao@codesourcery.com>
19859
19860 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19861 false.
19862
a25a5a45
PA
198632014-09-22 Pedro Alves <palves@redhat.com>
19864
19865 * gdb.threads/break-while-running.exp: New file.
19866 * gdb.threads/break-while-running.c: New file.
19867
00ba3162
YQ
198682014-09-19 Yao Qi <yao@codesourcery.com>
19869
19870 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19871 Invoke test. Restart GDB with --readnow and invoke test again.
19872
c3b7b696
YQ
198732014-09-19 Yao Qi <yao@codesourcery.com>
19874
19875 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
19876 proc set_breakpoint_on_gcd_function. Invoke
19877 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
19878 invoke set_breakpoint_on_gcd_function again.
19879
2b4fd423
DE
198802014-09-18 Doug Evans <dje@google.com>
19881
19882 * gdb.dwarf2/symtab-producer.exp: New file.
19883
a5947601
SDJ
198842014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19885
19886 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
19887 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
19888 * gdb.base/global-var-nested-by-dso.c: Likewise.
19889 * gdb.base/global-var-nested-by-dso.exp: Likewise.
19890
91c19059
SDJ
198912014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19892 Pedro Alves <palves@redhat.com>
19893
19894 * gdb.base/watch-bitfields.exp: Pass string other than test file
19895 name to prepare_for_testing.
19896 (watch): New procedure.
19897 (expect_watchpoint): Use with_test_prefix.
19898 (top level): Factor out tests to ...
19899 (test_watch_location, test_regular_watch): ... these new
19900 procedures, and use with_test_prefix and gdb_continue_to_end.
19901
bb9d5f81
PP
199022014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19903
19904 PR breakpoints/12526
19905 * gdb.base/watch-bitfields.exp: New file.
19906 * gdb.base/watch-bitfields.c: New file.
19907
635856f5
PA
199082014-09-16 Pedro Alves <palves@redhat.com>
19909
19910 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19911 software and hardware addresses, not software address against
19912 itself.
19913
7280ceea
PA
199142014-09-16 Pedro Alves <palves@redhat.com>
19915
19916 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19917 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19918
428b16bd
PA
199192014-09-16 Pedro Alves <palves@redhat.com>
19920
19921 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
19922 files.
19923 * gdb.base/a2-run.exp: Remove all code guarded by istarget
19924 "*-*-vxworks*" throughout.
19925 * gdb.base/break.exp: Likewise.
19926 * gdb.base/default.exp: Likewise.
19927 * gdb.base/scope.exp: Likewise.
19928 * gdb.base/sepdebug.exp: Likewise.
19929 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
19930 throughout.
19931 * gdb.base/run.c: Likewise.
19932 * gdb.base/sepdebug.c: Likewise.
19933 * gdb.hp/gdb.aCC/run.c: Likewise.
19934 * gdb.reverse/until-reverse.c: Likewise.
19935 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19936
666d413c
YQ
199372014-09-16 Yao Qi <yao@codesourcery.com>
19938
19939 * boards/local-remote-host-native.exp: New file.
19940
57cbd724
DE
199412014-09-14 Doug Evans <xdje42@gmail.com>
19942
19943 * gdb.threads/queue-signal.c (thread_count): New variable.
19944 (thread_count_mutex, thread_count_condvar): New variables.
19945 (incr_thread_count, wait_all_threads_running): New functions.
19946 (main): Wait for all threads to be in their thread functions.
19947
81219e53
DE
199482014-09-13 Doug Evans <xdje42@gmail.com>
19949
19950 * gdb.threads/queue-signal.c: New file.
19951 * gdb.threads/queue-signal.exp: New file.
19952
3714cea7
DE
199532014-09-13 Doug Evans <xdje42@gmail.com>
19954
19955 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19956 be consistent with what default_gdb_init uses.
19957 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19958 the plain text of the prompt. Add some logging printfs.
19959 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19960
fa43b1d7
PA
199612014-09-12 Pedro Alves <palves@redhat.com>
19962
19963 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19964 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19965 * gdb.arch/i386-size-overlap.exp: Likewise.
19966 * gdb.arch/i386-size.exp: Likewise.
19967 * gdb.arch/i386-unwind.exp: Likewise.
19968 * gdb.base/a2-run.exp: Likewise.
19969 * gdb.base/break.exp: Likewise.
19970 * gdb.base/charset.exp: Likewise.
19971 * gdb.base/chng-syms.exp: Likewise.
19972 * gdb.base/commands.exp: Likewise.
19973 * gdb.base/dbx.exp: Likewise.
19974 * gdb.base/find.exp: Likewise.
19975 * gdb.base/funcargs.exp: Likewise.
19976 * gdb.base/jit-simple.exp: Likewise.
19977 * gdb.base/reread.exp: Likewise.
19978 * gdb.base/sepdebug.exp: Likewise.
19979 * gdb.base/step-bt.exp: Likewise.
19980 * gdb.cp/mb-inline.exp: Likewise.
19981 * gdb.cp/mb-templates.exp: Likewise.
19982 * gdb.objc/basicclass.exp: Likewise.
19983 * gdb.threads/killed.exp: Likewise.
19984
9d9bf2df
EBM
199852014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19986
19987 PR tdep/17379
19988 * gdb.arch/powerpc-stackless.S: New file.
19989 * gdb.arch/powerpc-stackless.exp: New file.
19990
1cf2f1b0
JK
199912014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19992
19993 * gdb.base/attach.c: Include unistd.h.
19994 (main): Call alarm. Add label postloop.
19995 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19996 gdb_breakpoint, gdb_continue_to_breakpoint.
19997 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19998
98880d46
PA
199992014-09-11 Pedro Alves <palves@redhat.com>
20000
20001 PR gdb/17347
20002 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20003 * gdb.base/attach.exp (test_command_line_attach_run): New
20004 procedure.
20005 (top level): Call it.
20006
4c92ff2c
PA
200072014-09-11 Pedro Alves <palves@redhat.com>
20008
20009 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20010 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20011 (do_command_attach_tests): Use spawn_wait_for_attach.
20012 * gdb.base/solib-overlap.exp: Likewise.
20013 * gdb.multi/multi-attach.exp: Likewise.
20014 * gdb.python/py-prompt.exp: Likewise.
20015 * gdb.python/py-sync-interp.exp: Likewise.
20016 * gdb.server/ext-attach.exp: Likewise.
20017
3adc1a7d
GKB
200182014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
20019
20020 * gdb.fortran/array-element.exp: Remove unexpected "continue"
20021 command in testcase. Simplify testcase.
20022
96334934
JB
200232014-09-10 Joel Brobecker <brobecker@adacore.com>
20024
20025 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
20026
eb479039
JB
200272014-09-10 Joel Brobecker <brobecker@adacore.com>
20028
20029 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
20030
deede10c
JB
200312014-09-10 Joel Brobecker <brobecker@adacore.com>
20032
20033 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
20034
7828a5f5
JB
200352014-09-10 Joel Brobecker <brobecker@adacore.com>
20036
20037 * gdb.dwarf2/dynarr-ptr.c: New file.
20038 * gdb.dwarf2/dynarr-ptr.exp: New file.
20039
33aeebcf
MR
200402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20041
20042 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
20043 of 30 rather than hardcoding 120 for a slow test case. Take the
20044 `gdb,timeout' target setting into account for this calculation.
20045 Don't extend the timeout for the test cases that don't need it.
20046
7b415901
MR
200472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20048
20049 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
20050 a factor of 2 for a slow test case. Take the `gdb,timeout'
20051 target setting into account for this calculation.
20052 * gdb.reverse/until-precsave.exp: Increase the timeout by
20053 a factor of 15 and 3 respectively rather than adding 120
20054 for a pair of slow test cases. Take the `gdb,timeout'
20055 target setting into account for this calculation.
20056
4a40f85a
MR
200572014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20058
20059 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
20060 timeout, don't pass one down to gdb_expect.
20061 (gdb_expect): Rework timeout selection.
20062
09635af7
MR
200632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20064
20065 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
20066 exception on timeout.
20067 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
20068 (gdbserver_start_extended): Catch any `gdbserver_start' error
20069 exceptions.
20070 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
20071 * lib/mi-support.exp (mi_gdb_target_load): Catch any
20072 `gdbserver_gdb_load' error exceptions.
20073
2bdd10b7
MR
200742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20075
20076 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
20077 120 on waiting for the TCP socket to open.
20078
316935f0
DE
200792014-09-09 Doug Evans <xdje42@gmail.com>
20080
20081 * gdb.base/default.exp (show_conv_list): Add _caller_is,
20082 _caller_matches, _any_caller_is, _any_caller_matches.
20083
83740597
DE
200842014-09-09 Doug Evans <xdje42@gmail.com>
20085
20086 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
20087
4c122fc3
YQ
200882014-09-09 Yao Qi <yao@codesourcery.com>
20089
20090 * gdb.mi/mi-var-display.exp: Set print symbol off.
20091
a9f116cb
GKB
200922014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
20093
20094 PR gdb/17035
20095 * gdb.base/commands.exp: Add tests to verify user-defined
20096 commands with empty bodies.
20097 * gdb.python/py-cmd.exp: Test that we don't show user-defined
20098 python commands in `show user command`.
20099 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
20100 scheme commands in `show user command`.
20101
c75bd3a2
JK
201022014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20103
20104 PR python/17355
20105 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
20106 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
20107 * gdb.python/py-framefilter-invalidarg.exp: New file.
20108 * gdb.python/py-framefilter-invalidarg.py: New file.
20109
faa42425
DE
201102014-09-06 Doug Evans <xdje42@gmail.com>
20111
20112 PR 15276
20113 * gdb.python/py-caller-is.c: New file.
20114 * gdb.python/py-caller-is.exp: New file.
20115
474ca4f6
SDJ
201162014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
20117
20118 PR gdb/17235
20119 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
20120 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
20121
eb0b0463
SDJ
201222014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
20123
20124 PR fortran/17237
20125 * gdb.fortran/print-formatted.exp: New file.
20126 * gdb.fortran/print-formatted.f90: Likewise.
20127
5f3b99cf
SS
201282014-09-03 Sasha Smundak <asmundak@google.com>
20129
20130 * gdb.python/py-frame.exp: Test Frame.read_register.
20131
7d793aa9
SDJ
201322014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
20133
20134 PR python/16699
20135 * gdb.python/py-completion.exp: New file.
20136 * gdb.python/py-completion.py: Likewise.
20137
fb0576e9
DE
201382014-08-28 Doug Evans <dje@google.com>
20139
20140 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20141 eax,etc. are live with values set by gdb and thus the compiler can't
20142 use them.
20143 * gdb.arch/i386-pseudo.c (main): Ditto.
20144
ee92b0dd
DE
201452014-08-27 Doug Evans <dje@google.com>
20146
20147 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
20148
6649db35
DE
201492014-08-25 Doug Evans <dje@google.com>
20150
20151 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
20152 (main): Ditto.
20153
564b7600
DE
201542014-08-25 Doug Evans <dje@google.com>
20155
20156 * gdb.threads/thread-execl.exp: #include <stdio.h>.
20157
3881fb67
YQ
201582014-08-24 Yao Qi <yao@codesourcery.com>
20159
20160 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
20161 symbol off.
20162 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
20163
a05a36a5
DE
201642014-08-22 Doug Evans <dje@google.com>
20165
20166 PR 17276
20167 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
20168 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
20169 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
20170
7c343b48
YQ
201712014-08-22 Yao Qi <yao@codesourcery.com>
20172
20173 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
20174 * gdb.python/py-finish-breakpoint2.exp: Likewise.
20175 * gdb.python/python.exp: Likewise. Use .py file on the host
20176 instead of the build.
20177
22fd09ae
JK
201782014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20179
20180 * gdb.threads/gcore-stale-thread.c: New file.
20181 * gdb.threads/gcore-stale-thread.exp: New file.
20182
a8454a7c
PA
201832014-08-21 Pedro Alves <palves@redhat.com>
20184
20185 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
20186 * gdb.base/gcore-relro-pie.exp: Likewise.
20187 * gdb.base/gcore-relro.exp: Likewise.
20188 * gdb.base/gcore.exp: Likewise.
20189 * gdb.base/print-symbol-loading.exp: Likewise.
20190 * gdb.threads/gcore-thread.exp: Likewise.
20191 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
20192
2a31c623
PA
201932014-08-20 Pedro Alves <palves@redhat.com>
20194 Jan Kratochvil <jan.kratochvil@redhat.com>
20195
20196 * Makefile.in (EXTRA_RULES, CC): New variables, get from
20197 configure.
20198 (EXPECT): Handle READ1 being set.
20199 (all): Depend on EXTRA_RULES.
20200 (check-read1, expect-read1, read1.so, read1): New rules.
20201 * README (Testsuite Parameters): Document the READ1 make variable.
20202 (Race detection): New section.
20203 * configure: Regenerate.
20204 * configure.ac: If build==host==target, and running under a
20205 GNU/glibc system, add read1 to the extra Makefile rules.
20206 (EXTRA_RULES): AC_SUBST it.
20207 * lib/read1.c: New file.
20208
d36430db
JB
202092014-08-20 Joel Brobecker <brobecker@adacore.com>
20210
20211 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
20212 the handling of variables declared as a typedef to an array
20213 which a DW_AT_data_location attribute.
20214
9a0dc9e3
PA
202152014-08-19 Andrew Burgess <aburgess@broadcom.com>
20216 Pedro Alves <palves@redhat.com>
20217
20218 PR symtab/14604
20219 PR symtab/14605
20220 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
20221 gdb_test.
20222
0718a8da
PA
202232014-08-19 Pedro Alves <palves@redhat.com>
20224
20225 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20226
13b448cd
YQ
202272014-08-19 Yao Qi <yao@codesourcery.com>
20228
20229 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20230 right line.
20231
1cbf5077
DB
202322014-08-18 David Blaikie <dblaikie@gmail.com>
20233
20234 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20235
bf0fae19
JB
202362014-08-18 Joel Brobecker <brobecker@adacore.com>
20237
20238 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20239 attribute in array range.
20240
3c8c5dcc
JB
202412014-08-18 Joel Brobecker <brobecker@adacore.com>
20242
20243 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20244
e66d4446
SC
202452014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20246
20247 PR c++/17132
20248 * gdb.cp/pr17132.cc: New file.
20249 * gdb.cp/pr17132.exp: New file.
20250
940df408
SC
202512014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20252
20253 * gdb.python/py-xmethods.py (A_getarrayind)
20254 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20255 Use 'print' with function call syntax.
20256 (E_method_matcher.match): Fix tab vs space indentation mixup.
20257
ebcc6c3a
YQ
202582014-08-15 Yao Qi <yao@codesourcery.com>
20259
20260 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20261 false.
20262
775e0f04
YQ
202632014-08-15 Yao Qi <yao@codesourcery.com>
20264
20265 * gdb.cp/casts.exp: Set print symbol off.
20266 * gdb.cp/class2.exp: Likewise.
20267 * gdb.cp/overload.exp: Likewise.
20268 * gdb.cp/templates.exp: Likewise.
20269
d769e349
DE
202702014-08-11 Doug Evans <dje@google.com>
20271
20272 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20273 (test_load_shlib): Update.
20274
20c6f1e1
YQ
202752014-08-09 Yao Qi <yao@codesourcery.com>
20276
20277 * gdb.base/display.exp: Invoke is_address_zero_readable.
20278 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20279 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20280 * gdb.base/hbreak-unmapped.exp: Return if
20281 is_address_zero_readable returns true.
20282 * gdb.base/signest.exp: Likewise.
20283 * gdb.base/signull.exp: Likewise.
20284 * gdb.base/sigbpt.exp: Likewise.
20285 * gdb.guile/scm-disasm.exp: Do the test if
20286 is_address_zero_readable returns false.
20287 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20288 * gdb.python/py-arch.exp: Likewise.
20289 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20290 * lib/gdb.exp (is_address_zero_readable): New proc.
20291
5792e8e3
YQ
202922014-08-09 Yao Qi <yao@codesourcery.com>
20293
20294 PR testsuite/13443
20295 * gdb.mi/mi-var-display.exp: Make test messages unique.
20296
3cecbbbe
TT
202972014-08-04 Tom Tromey <tromey@redhat.com>
20298
20299 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20300 target 0".
20301
00b51ff5
TT
203022014-08-04 Tom Tromey <tromey@redhat.com>
20303
20304 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20305 "target_resume".
20306
6908c509
JB
203072014-08-01 Joel Brobecker <brobecker@adacore.com>
20308
20309 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20310 inner_vla_struct_object_size.
20311 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20312 as xfail.
20313
cc6563d2
PA
203142014-07-30 Pedro Alves <palves@redhat.com>
20315
20316 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20317 comment.
20318
7e09a223
YQ
203192014-07-29 Yao Qi <yao@codesourcery.com>
20320
20321 PR gdb/17206
20322 * gdb.base/until-nodebug.exp: New.
20323
7ebdbe92
DE
203242014-07-28 Doug Evans <xdje42@gmail.com>
20325
20326 PR guile/17203
20327 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20328 previously existing parameter, and previously ambiguously spelled
20329 parameter.
20330
fdb1adc6
WN
203312014-07-28 Will Newton <will.newton@linaro.org>
20332
20333 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20334
186fcde0
DE
203352014-07-26 Ludovic Courtès <ludo@gnu.org>
20336 Doug Evans <xdje42@gmail.com>
20337
20338 PR guile/17146
20339 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20340
70509625
PA
203412014-07-25 Pedro Alves <palves@redhat.com>
20342
20343 * gdb.threads/signal-command-handle-nopass.c: New file.
20344 * gdb.threads/signal-command-handle-nopass.exp: New file.
20345 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20346 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20347 * gdb.threads/signal-delivered-right-thread.c: New file.
20348 * gdb.threads/signal-delivered-right-thread.exp: New file.
20349
c3f814a1
PA
203502014-07-25 Pedro Alves <palves@redhat.com>
20351
20352 * gdb.base/double-prompt-target-event-error.exp
20353 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20354 match.
20355 (cancel_pagination_in_target_event): Rework double prompt
20356 detection.
20357 * gdb.base/paginate-after-ctrl-c-running.exp
20358 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20359 <return>' match.
20360 * gdb.base/paginate-bg-execution.exp
20361 (test_bg_execution_pagination_return)
20362 (test_bg_execution_pagination_cancel): Remove '-notransfer
20363 <return>' matches.
20364 * gdb.base/paginate-execution-startup.exp
20365 (test_fg_execution_pagination_return)
20366 (test_fg_execution_pagination_cancel): Remove '-notransfer
20367 <return>' matches.
20368 * gdb.base/paginate-inferior-exit.exp
20369 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20370 match.
20371 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20372 * lib/gdb.exp (pagination_prompt): Run text through
20373 string_to_regexp.
20374 (gdb_test_multiple): Match $pagination_prompt instead of
20375 "<return>".
20376 (string_to_regexp): Move to lib/gdb-utils.exp.
20377
e214cf6c
JK
203782014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20379
20380 * gdb.arch/amd64-entry-value-paramref.S: New file.
20381 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20382 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20383 * gdb.arch/amd64-optimout-repeat.S: New file.
20384 * gdb.arch/amd64-optimout-repeat.c: New file.
20385 * gdb.arch/amd64-optimout-repeat.exp: New file.
20386
17d0c5c8
JK
203872014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20388
20389 PR gdb/17170
20390 * gdb.base/statistics.exp: New file.
20391
b8b8facf
DE
203922014-07-17 Doug Evans <dje@google.com>
20393
74b49205 20394 PR gdb/17170
b8b8facf
DE
20395 * gdb.base/maint.exp: Update testing of per-command stats.
20396
1b5d0ab3
PA
203972014-07-16 Pedro Alves <palves@redhat.com>
20398
20399 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20400 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20401 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20402 (tfile_write_buf): New functions.
20403 (add_memory_block): Rewrite using the above.
20404 (adjust_function_address): New function.
20405 (FUNCTION_ADDRESS): New macro.
20406 (write_basic_trace_file): Remove short_x local, and use
20407 tfile_write_16. Change type of func_addr local to unsigned long
20408 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
20409 here. Cast argument of add_memory_block to char pointer.
20410 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
20411 (main): Remove parameters.
20412 * gdb.trace/tfile.exp: Remove nowarnings.
20413
4d974e88
SM
204142014-07-15 Simon Marchi <simon.marchi@ericsson.com>
20415
20416 * gdb.base/debug-expr.exp: Test string evaluation with
20417 "debug expression" on.
20418
41e99568
PA
204192014-07-15 Pedro Alves <palves@redhat.com>
20420
20421 * gdb.base/reread.exp: Use clean_restart.
20422
487d9753
PL
204232014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
20424
20425 * gdb.arch/avr-flash-qualifer.c: New.
20426 * gdb.arch/avr-flash-qualifer.exp: New.
20427
cc1c52ad
PA
204282014-07-14 Pedro Alves <palves@redhat.com>
20429
20430 * gdb.base/paginate-after-ctrl-c-running.c: New file.
20431 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
20432
1e973570
PA
204332014-07-14 Pedro Alves <palves@redhat.com>
20434
20435 * gdb.base/double-prompt-target-event-error.c: New file.
20436 * gdb.base/double-prompt-target-event-error.exp: New file.
20437
93d6eb10
PA
204382014-07-14 Pedro Alves <palves@redhat.com>
20439
20440 PR gdb/17072
20441 * gdb.base/paginate-inferior-exit.c: New file.
20442 * gdb.base/paginate-inferior-exit.exp: New file.
20443
0017922d
PA
204442014-07-14 Pedro Alves <palves@redhat.com>
20445
20446 PR gdb/17072
20447 * gdb.base/paginate-bg-execution.c: New file.
20448 * gdb.base/paginate-bg-execution.exp: New file.
20449
94696ad3
PA
204502014-07-14 Pedro Alves <palves@redhat.com>
20451
20452 PR gdb/17072
20453 * gdb.base/paginate-execution-startup.c: New file.
20454 * gdb.base/paginate-execution-startup.exp: New file.
20455 * lib/gdb.exp (pagination_prompt): New global.
20456 (default_gdb_spawn): New procedure, factored out from
20457 default_gdb_spawn.
20458 (default_gdb_start): Adjust to call default_gdb_spawn.
20459 (gdb_spawn): New procedure.
20460
bd293940
PA
204612014-07-14 Pedro Alves <palves@redhat.com>
20462
20463 * lib/gdb.exp (gdb_assert): New procedure.
20464 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20465
c933f875
PA
204662014-07-14 Pedro Alves <palves@redhat.com>
20467
20468 * gdb.base/execution-termios.c: New file.
20469 * gdb.base/execution-termios.exp: New file.
20470
d98b7a16
TT
204712014-07-14 Tom Tromey <tromey@redhat.com>
20472
20473 * gdb.cp/vla-cxx.cc: New file.
20474 * gdb.cp/vla-cxx.exp: New file.
20475
548740d6
TT
204762014-07-14 Tom Tromey <tromey@redhat.com>
20477
20478 * gdb.reverse/rerun-prec.c: New file.
20479 * gdb.reverse/rerun-prec.exp: New file.
20480
a25eb028
MR
204812014-07-12 Maciej W. Rozycki <macro@mips.com>
20482 Maciej W. Rozycki <macro@codesourcery.com>
20483
20484 * lib/gdb-utils.exp: New file.
20485 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20486 inline `gdb_init_command' processing.
20487 (gdb_start_cmd): Likewise.
20488 * lib/mi-support.exp (mi_run_cmd): Likewise.
20489 * README: Document `gdb_init_command' and `gdb_init_commands'.
20490
218c2655
JK
204912014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20492
20493 Fix false FAIL running under a very long directory name.
20494 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20495 and "set print elements 10000". Twice.
20496
5401fde3
YQ
204972014-07-11 Yao Qi <yao@codesourcery.com>
20498
20499 * gdb.base/exprs.exp: "set print symbol off".
20500
e76126e8
PA
205012014-07-11 Pedro Alves <palves@redhat.com>
20502
20503 * gdb.threads/kill.c: New file.
20504 * gdb.threads/kill.exp: New file.
20505
2d6f0de6
YQ
205062014-07-10 Yao Qi <yao@codesourcery.com>
20507
20508 * gdb.trace/tfile.c (write_basic_trace_file)
20509 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
20510 address written to trace file.
20511
7180e04a
PA
205122014-07-09 Pedro Alves <palves@redhat.com>
20513
20514 * gdb.base/attach-wait-input.exp: New file.
20515 * gdb.base/attach-wait-input.c: New file.
20516
9a9a7608
AB
205172014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
20518
20519 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
20520 setting up test structures.
20521 (main): Call new test function.
20522 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
20523 test function, continue into test function and walk test
20524 structures.
20525
161ac41e
YQ
205262014-07-02 Yao Qi <yao@codesourcery.com>
20527
20528 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20529 'bar_start' at the beginning of functions 'foo' and 'bar'
20530 respectively.
20531 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20532 instead of 'foo' and 'bar'.
20533
1f267ae3
MM
205342014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20535
20536 * gdb.btrace/segv.exp: New.
20537 * gdb.btrace/segv.c: New.
20538
2b239efb
LM
205392014-07-02 Luis Machado <lgustavo@codesourcery.com>
20540
20541 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20542 instruction.
20543
cf363f18
MW
205442014-06-30 Mark Wielaard <mjw@redhat.com>
20545
20546 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
20547 vulture, vilify, villar): New volatile array constants.
20548 (vindictive, vegetation): New const volatile array constants.
20549 * gdb.base/volatile.exp: Test volatile and const volatile array
20550 types.
20551
aebf9d24
AA
205522014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20553
20554 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20555 target lacks support for awatch, rwatch, or hbreak.
20556
b67a2c6f
YQ
205572014-06-27 Yao Qi <yao@codesourcery.com>
20558
20559 * gdb.multi/dummy-frame-restore.exp: New.
20560 * gdb.multi/dummy-frame-restore.c: New.
20561
aef92902
MM
205622014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20563
20564 * gdb.btrace/gcore.exp: New.
20565
8e9db26e
PA
205662014-06-23 Pedro Alves <palves@redhat.com>
20567
20568 * gdb.base/watchpoint-reuse-slot.c: New file.
20569 * gdb.base/watchpoint-reuse-slot.exp: New file.
20570
70afc5b7
SC
205712014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20572
20573 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20574 progspace's filename in 'info', 'enable' and 'disable' command
20575 tests.
20576
b972bd9c
JK
205772014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
20578
20579 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
20580 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20581 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
20582
125f8a3d
GB
205832014-06-20 Gary Benson <gbenson@redhat.com>
20584
20585 * gdb.arch/i386-avx.exp: Fix include file location.
20586 * gdb.arch/i386-sse.exp: Likewise.
20587
3ed9baed
IB
205882014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20589
20590 * gdb.dlang/expression.exp: New file.
20591
034f788c
PA
205922014-06-19 Pedro Alves <palves@redhat.com>
20593
20594 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20595 out from ...
20596 (top level): ... here. Iterate running tests under different
20597 scheduler-locking settings.
20598
45371d0c
LM
205992014-06-18 Luis Machado <lgustavo@codesourcery.com>
20600
20601 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20602 to DW_FORM_addr and use non-zero addresses.
20603
5d376983
SC
206042014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20605
20606 PR gdb/17017
20607 * gdb.python/py-xmethods.cc: Add global function call counters and
20608 increment them in their respective functions. Remove "cout"
20609 statements.
20610 * gdb.python/py-xmethods.exp: Make tests check the global function
20611 call counters instead of depending on inferior IO.
20612
a1aa2221
LM
206132014-06-18 Don Breazeal <donb@codesourcery.com>
20614
20615 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20616 Deleted procedure.
20617 (explicit_fork_parent_follow): Deleted procedure.
20618 (explicit_fork_child_follow): Deleted procedure.
20619 (test_follow_fork): New procedure.
20620 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 20621 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
20622 procedure calls.
20623
0fc05997
YQ
206242014-06-17 Yao Qi <yao@codesourcery.com>
20625
20626 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20627 CP1252.
20628
70795c52
LM
206292014-06-17 Luis Machado <lgustavo@codesourcery.com>
20630
20631 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
20632 Initialize ptr and S explicitly.
20633 (skip_type_update_when_not_use_rtti_test): Likewise.
20634
6be47f0c
KS
206352014-06-16 Keith Seitz <keiths@redhat.com>
20636
20637 PR mi/15863
20638 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20639 the inferior is started.
20640
d03de421
PA
206412014-06-16 Pedro Alves <palves@redhat.com>
20642
20643 * gdb.base/break-main-file-remove-fail.c: New file.
20644 * gdb.base/break-main-file-remove-fail.exp: New file.
20645 * gdb.base/break-unload-file.exp: Use build_executable instead of
20646 prepare_for_testing.
20647 (test_break): New parameter "initial_load". Handle it.
20648 (top level): Add initial_load cmdline/file axis.
20649
f9579b99
TT
206502014-06-12 Tom Tromey <tromey@redhat.com>
20651
20652 * gdb.base/completion.exp: Don't use directory name in test.
20653
3657956b
GB
206542014-06-09 Gary Benson <gbenson@redhat.com>
20655
20656 * gdb.base/sigall.c [Functions to send signals]: Reorder to
20657 separate the always-available ANSI-standard signals from the
20658 signals that require checking.
20659 (main): Likewise.
20660 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
20661 Likewise.
20662 (main): Likewise.
20663
4186eb54
KS
206642014-06-07 Keith Seitz <keiths@redhat.com>
20665
20666 Revert:
20667 PR c++/16253
20668 * gdb.cp/var-tag.cc: New file.
20669 * gdb.cp/var-tag.exp: New file.
20670 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20671 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20672 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20673 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20674
25326a28 206752014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
20676
20677 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
20678
829155c9
PA
206792014-06-06 Pedro Alves <palves@redhat.com>
20680
20681 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
20682 in target debug output instead of looking at RSP packets,
20683 disabling the test on any target that uses hardware stepping.
20684 Update comments.
20685
61c8d22e
PA
206862014-06-06 Pedro Alves <palves@redhat.com>
20687
20688 * gdb.base/break-unload-file.exp: Fix typo.
20689
d9a47287
YQ
206902014-06-06 Yao Qi <yao@codesourcery.com>
20691
20692 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
20693 from "jit_function" to "^jit_function".
20694
e5e01dbf
YQ
206952014-06-06 Yao Qi <yao@codesourcery.com>
20696
20697 * gdb.base/async.c (foo): Add one statement.
20698 * gdb.base/async.exp: Get the next instruction address and
20699 match the output of "nexti" by instruction address. Match
20700 the hex address in the output of "finish".
20701
73ba372c
GB
207022014-06-06 Gary Benson <gbenson@redhat.com>
20703
20704 * gdb.base/call-signals.c: Remove preprocessor conditionals
20705 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
20706 SIGSEGV and SIGTERM.
20707 * gdb.base/sigall.c: Likewise.
20708 * gdb.base/unwindonsignal.c: Likewise.
20709 * gdb.reverse/sigall-reverse.c: Likewise.
20710
831517df
YQ
207112014-06-06 Yao Qi <yao@codesourcery.com>
20712
20713 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
20714 readable, skip the test.
20715
b8b91e98
YQ
207162014-06-06 Yao Qi <yao@codesourcery.com>
20717
20718 * gdb.threads/staticthreads.c (thread_function): Move the line
20719 setting breakpoint on forward.
20720 * gdb.threads/staticthreads.exp: Update comments.
20721
fb934770
LC
207222014-06-05 Ludovic Courtès <ludo@gnu.org>
20723
20724 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
20725 "history-append! type error".
20726
6ef284bd
SM
207272014-06-05 Simon Marchi <simon.marchi@ericsson.com>
20728
20729 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20730 erroneous dprintf expected input.
20731
a872e241
DE
207322014-06-04 Doug Evans <xdje42@gmail.com>
20733
20734 * gdb.guile/scm-generics.exp: Delete.
20735
16f691fb
DE
207362014-06-04 Doug Evans <xdje42@gmail.com>
20737
20738 * gdb.guile/scm-breakpoint.exp: Update.
20739 Add tests for breakpoint registration.
20740
012370f6
TT
207412014-06-04 Tom Tromey <tromey@redhat.com>
20742
20743 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
20744 VLA-in-union.
20745 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
20746 inner_vla_struct, vla_union types. Initialize objects of those
20747 types and compute their sizes.
20748
9f5a4cef
HZ
207492014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20750 Hui Zhu <hui@codesourcery.com>
20751
20752 * gdb.base/fileio.exp: Add test for shell not available as well as
20753 available.
20754 * gdb.base/fileio.c (test_system): Check for shell twice.
20755
90a45c4d
YQ
207562014-06-04 Yao Qi <yao@codesourcery.com>
20757
20758 * gdb.base/auto-connect-native-target.exp: Remove redundant
20759 space from the regexp pattern.
20760
70017e41
YQ
207612014-06-04 Yao Qi <yao@codesourcery.com>
20762
20763 * gdb.base/default.exp: Replace "child" with "native" in
20764 regexp pattern.
20765
883964a7
SC
207662014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20767
20768 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20769 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20770 * gdb.python/py-xmethods.py: Python script supporting the
20771 new testcase and tests.
20772
ef370185
JB
207732014-06-03 Joel Brobecker <brobecker@adacore.com>
20774 Pedro Alves <palves@redhat.com>
20775
20776 PR breakpoints/17000
20777 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20778 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20779
1e2ccb61
BM
207802014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20781
20782 * gdb.base/subst.exp: Add tests to verify partial path matching
20783 output.
20784
c6ec5ab2
PA
207852014-06-03 Pedro Alves <palves@redhat.com>
20786
20787 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20788 target that doesn't use software single-stepping.
20789
835c559f
PA
207902014-06-03 Pedro Alves <palves@redhat.com>
20791
20792 PR breakpoints/17000
20793 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20794 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20795
06eb1586
DE
207962014-06-02 Doug Evans <xdje42@gmail.com>
20797
20798 * gdb.guile/scm-parameter.exp: New file.
20799
e698b8c4
DE
208002014-06-02 Doug Evans <xdje42@gmail.com>
20801
20802 * gdb.guile/scm-cmd.c: New file.
20803 * gdb.guile/scm-cmd.exp: New file.
20804
ded03782
DE
208052014-06-02 Doug Evans <xdje42@gmail.com>
20806
20807 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
20808 pretty-printer lookup.
20809 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
20810 (make-pp_s-printer): Call it.
20811 (make-pretty-printer-from-dict): New function.
20812 (lookup-pretty-printer-maker-from-dict): New function.
20813 (*pretty-printer*): Simplify.
20814 (make-objfile-pp_s-printer): New function.
20815 (install-objfile-pretty-printers!): New function.
20816 (make-progspace-pp_s-printer): New function.
20817 (install-progspace-pretty-printers!): New function.
20818 * gdb.guile/scm-progspace.c: New file.
20819 * gdb.guile/scm-progspace.exp: New file.
20820
41fac0cf
PA
208212014-06-02 Pedro Alves <palves@redhat.com>
20822
20823 * gdb.base/dprintf-bp-same-addr.c: New file.
20824 * gdb.base/dprintf-bp-same-addr.exp: New file.
20825
96ae5695
EBM
208262014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20827
20828 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20829 * gdb.arch/powerpc-power.s: Likewise.
20830
da02b3a8
JB
208312014-06-02 Joel Brobecker <brobecker@adacore.com>
20832
20833 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20834
c72b2e7b
YQ
208352014-06-01 Yao Qi <yao@codesourcery.com>
20836
20837 * gdb.base/watchpoint.exp (test_watch_location): Check null
20838 pointer can be dereferenced. If not, do the test, otherwise
20839 skip it.
20840
53e8a631
AB
208412014-05-30 Andrew Burgess <aburgess@broadcom.com>
20842
20843 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20844 results.
20845 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20846
938f0e2f
AB
208472014-05-30 Andrew Burgess <aburgess@broadcom.com>
20848
20849 * gdb.arch/amd64-invalid-stack-middle.S: New file.
20850 * gdb.arch/amd64-invalid-stack-middle.c: New file.
20851 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
20852 * gdb.arch/amd64-invalid-stack-top.c: New file.
20853 * gdb.arch/amd64-invalid-stack-top.exp: New file.
20854
9ba6657a
PA
208552014-05-30 Pedro Alves <palves@redhat.com>
20856
20857 PR breakpoints/17000
20858 * gdb.base/sss-bp-on-user-bp.c: New file.
20859 * gdb.base/sss-bp-on-user-bp.exp: New file.
20860
522c09bf
DB
208612014-05-30 David Blaikie <dblaikie@gmail.com>
20862
20863 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
20864 gnu_inline semantics via attribute.
20865 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20866 source explicitly specifies the required semantics.
20867
bf4ef81e
MR
208682014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20869
20870 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20871
329ea579
PA
208722014-05-29 Pedro Alves <palves@redhat.com>
20873 Tom Tromey <tromey@redhat.com>
20874
20875 * gdb.base/async-shell.exp: Don't enable target-async.
20876 * gdb.base/async.exp
20877 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
20878 parameter. Adjust.
20879 (top level): Don't test with "target-async".
20880 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
20881 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
20882 * gdb.base/inferior-died.exp: Don't enable target-async.
20883 * gdb.base/interrupt-noterm.exp: Likewise.
20884 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
20885 * gdb.mi/mi-nonstop-exit.exp: Likewise.
20886 * gdb.mi/mi-nonstop.exp: Likewise.
20887 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
20888 * gdb.mi/mi-nsintrall.exp: Likewise.
20889 * gdb.mi/mi-nsmoribund.exp: Likewise.
20890 * gdb.mi/mi-nsthrexec.exp: Likewise.
20891 * gdb.mi/mi-watch-nonstop.exp: Likewise.
20892 * gdb.multi/watchpoint-multi.exp: Adjust comment.
20893 * gdb.python/py-evsignal.exp: Don't enable target-async.
20894 * gdb.python/py-evthreads.exp: Likewise.
20895 * gdb.python/py-prompt.exp: Likewise.
20896 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
20897 * gdb.server/solib-list.exp: Don't enable target-async.
20898 * gdb.threads/thread-specific-bp.exp: Likewise.
20899 * lib/mi-support.exp: Adjust to use mi-async.
20900
fd664c91
PA
209012014-05-29 Pedro Alves <palves@redhat.com>
20902
20903 PR gdb/13860
20904 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20905 reason, even in sync mode.
20906
251bde03
PA
209072014-05-29 Pedro Alves <palves@redhat.com>
20908 Hui Zhu <hui@codesourcery.com>
20909
20910 PR PR15693
20911 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
20912 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
20913 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
20914 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
20915
7f3c0343
JB
209162014-05-28 Joel Brobecker <brobecker@adacore.com>
20917
20918 * config/monitor.exp (gdb_target_monitor): Replace use of
20919 "set remotebaud" by "set serial baud".
20920
b2715b27
AW
209212014-05-26 Andy Wingo <wingo@igalia.com>
20922
20923 * gdb.guile/scm-breakpoint.exp:
20924 * gdb.guile/scm-gsmob.exp: Update to use plain old object
20925 properties instead of gdb-object-properties.
20926
498a4489
YQ
209272014-05-26 Yao Qi <yao@codesourcery.com>
20928
20929 * gdb.server/no-thread-db.exp: Specify source file name
20930 explicitly when setting a breakpoint.
20931
589fdceb
MM
209322014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20933
20934 * gdb.btrace/vdso.c: New.
20935 * gdb.btrace/vdso.exp: New.
20936
e9089e05
MM
209372014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20938
20939 * gdb.base/gcore.exp (capture_command_output): Move ...
20940 * lib/gdb.exp (capture_command_output): ... here.
20941
67b5c0c1
MM
209422014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20943
20944 * gdb.btrace/data.exp: Test memory access during btrace replay.
20945
a2199296
SM
209462014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20947
20948 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20949
17b2616c
PA
209502014-05-21 Pedro Alves <palves@redhat.com>
20951
20952 PR gdb/13860
20953 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20954 (top level): Test that output related to execution commands is
20955 sent to the console with CLI commands, but not with MI commands.
20956 Test that breakpoint events are always mirrored to the console.
20957 Also expect the new source line to be output after a "next" in
20958 async mode too. Make it a pass/fail test.
20959 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20960 output.
20961 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20962
5166082f
PA
209632014-05-21 Pedro Alves <palves@redhat.com>
20964
20965 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20966 Use them to test variations of "list" after reaching a breakpoint.
20967 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20968 Test "list" with listsize 10 after reaching a breakpoint.
20969 * gdb.python/python.exp (decode_line current location line
20970 number): Adjust expected line number.
20971
2f25d70f
SM
209722014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20973
20974 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20975 behavior for $args, pass it directly to "run".
20976
ff604a67
MR
209772014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20978
20979 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20980 30000 to 65536.
20981
6a3cb8e8
PA
209822014-05-21 Pedro Alves <palves@redhat.com>
20983
20984 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20985 auto-connect-native-target off".
20986 * gdb.base/auto-connect-native-target.c: New file.
20987 * gdb.base/auto-connect-native-target.exp: New file.
20988
4ebfc96e
PA
209892014-05-21 Pedro Alves <palves@redhat.com>
20990
20991 * gdb.base/default.exp: Test "target native" instead of "target
20992 child".
20993
36d46afb
MW
209942014-05-21 Mark Wielaard <mjw@redhat.com>
20995
20996 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20997
5876f503
JK
209982014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20999
21000 Fix TLS access for -static -pthread.
21001 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21002 <HAVE_TLS> (thread_function, main): Initialize it.
21003 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21004 Add clean_restart.
21005 <$have_tls != "">: Check TLSVAR.
21006
0256a6ac
PA
210072014-05-21 Pedro Alves <palves@redhat.com>
21008
21009 * gdb.base/dcache-line-read-error.c: New.
21010 * gdb.base/dcache-line-read-error.exp: New.
21011
936d2992
PA
210122014-05-20 Pedro Alves <palves@redhat.com>
21013
21014 * gdb.base/compare-sections.c: New file.
21015 * gdb.base/compare-sections.exp: New file.
21016
802e8e6d
PA
210172014-05-20 Pedro Alves <palves@redhat.com>
21018
21019 * gdb.base/break-idempotent.c: New file.
21020 * gdb.base/break-idempotent.exp: New file.
21021
e59fa00f
MM
210222014-05-20 Markus Metzger <markus.t.metzger@intel.com>
21023
21024 * gdb.btrace/nohist.exp: New.
21025
8b696e31
YQ
210262014-05-20 Yao Qi <yao@codesourcery.com>
21027
21028 * lib/gdb.exp (gdb_init): Set timeout if test file is under
21029 gdb.reverse directory and gdb_reverse_timeout exists in board
21030 setting.
21031 * README: Document gdb_reverse_timeout.
21032
73c9764f
YQ
210332014-05-20 Yao Qi <yao@codesourcery.com>
21034
21035 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
21036 'test_file_name'. Treat args as a string instead of a list.
21037 (gdb_init): Rename argument 'args' by 'test_file_name'.
21038
f1f4348a
JK
210392014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
21040
21041 * gdb.arch/powerpc-power.exp: New file.
21042 * gdb.arch/powerpc-power.s: New file.
21043
0dbe70ce
DE
210442014-05-16 Doug Evans <dje@google.com>
21045
21046 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
21047 * gdb.base/completion.exp: Check that all expected files exist
21048 before doing file completion.
0dbe70ce 21049
8d551b02
DE
210502014-05-16 Doug Evans <dje@google.com>
21051
21052 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
21053 Update.
21054 (do_syscall_tests_without_xml): Update.
21055
73eb7709
PA
210562014-05-16 Pedro Alves <palves@redhat.com>
21057
21058 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
21059 instead of "unknown output after running".
21060
3fae92fc
YQ
210612014-05-16 Yao Qi <yao@codesourcery.com>
21062
21063 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
21064 file1.txt from host at the end.
21065 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21066
c2b2ccc5
DE
210672014-05-15 Doug Evans <dje@google.com>
21068
21069 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
21070 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
21071 loading file. Add test for TU lookup.
21072
8c217a4b
SM
210732014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21074
21075 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
21076 calling "-exec-arguments" or "set args" before running the
21077 inferior.
21078
3deb39c6
SM
210792014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21080
21081 * lib/mi-support.exp (mi_expect_stop): Expect message for
21082 inferiors that exit with non-zero exit code.
21083
71a79f8c
YQ
210842014-05-14 Yao Qi <yao@codesourcery.com>
21085
21086 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
21087 match absolute path on remote host.
21088 (test_file_list_exec_source_files): Remove "/" from the
21089 pattern.
21090
f23fcd46
YQ
210912014-05-14 Yao Qi <yao@codesourcery.com>
21092
21093 * boards/local-remote-host-notty.exp (${board}_file): New
21094 proc.
21095
9404b58f
KM
210962014-05-07 Kyle McMartin <kyle@redhat.com>
21097
21098 Pushed by Joel Brobecker <brobecker@adacore.com>.
21099 * gdb.arch/aarch64-atomic-inst.c: New file.
21100 * gdb.arch/aarch64-atomic-inst.exp: New file.
21101
5e45f04c
YQ
211022014-05-07 Yao Qi <yao@codesourcery.com>
21103
21104 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
21105 in current context" too.
21106
c888a17d
KS
211072014-05-05 Keith Seitz <keiths@redhat.com>
21108
21109 * gdb.linespec/ls-dollar.exp: Add test for linespec
21110 file:convenience_variable.
21111
290a839c
YQ
211122014-05-05 Yao Qi <yao@codesourcery.com>
21113
21114 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
21115 traceframes into tfile and ctf trace files. Read data from
21116 trace file and test collected data.
21117 (gdb_collect_locals_test): Likewise.
21118 (gdb_unavailable_registers_test): Likewise.
21119 (gdb_unavailable_floats): Likewise.
21120 (gdb_collect_globals_test): Likewise.
21121 (top-level): Append "ctf" to trace_file_targets if GDB
21122 supports.
21123
b5262cd0
YQ
211242014-05-05 Yao Qi <yao@codesourcery.com>
21125
21126 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
21127 code to ...
21128 (gdb_collect_args_test_1): ... it. New proc.
21129 (gdb_collect_locals_test): Move some code to ...
21130 (gdb_collect_locals_test_1): ... it. New proc.
21131 (gdb_unavailable_registers_test): Move some code to ...
21132 (gdb_unavailable_registers_test_1): ... it. New proc.
21133 (gdb_unavailable_floats): Move some code to ...
21134 (gdb_unavailable_floats_1): ... it. New proc.
21135
30a1e6cc
SDJ
211362014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21137
21138 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
21139 probes to test for bitness recognition.
21140 * gdb.arch/amd64-stap-optional-prefix.exp
21141 (test_probe_value_without_reg): New procedure.
21142 Add code to test for different kinds of bitness.
21143
f33da99a
SDJ
211442014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21145
21146 PR breakpoints/16889
21147 * gdb.arch/amd64-stap-optional-prefix.S: New file.
21148 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21149
5b80f00d
PA
211502014-05-01 Pedro Alves <palves@redhat.com>
21151
21152 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
21153 gdb_file_cmd if no file is specified.
21154 * boards/native-extended-gdbserver.exp (gdb_load): Use the
21155 last_loaded_file to set the remote exec-file.
21156
f8c2a73c
PA
211572014-05-01 Pedro Alves <palves@redhat.com>
21158
21159 * boards/local-remote-host.exp: New file.
21160
be6e8ac7
PA
211612014-05-01 Pedro Alves <palves@redhat.com>
21162
21163 * boards/local-remote-host.exp: Rename to ...
21164 * boards/local-remote-host-notty.exp: ... this.
21165
cac0dc8f
JB
211662014-04-28 Joel Brobecker <brobecker@adacore.com>
21167
21168 * gdb.ada/dyn_arrayidx: New testcase.
21169
9730e6cc
YQ
211702014-04-26 Yao Qi <yao@codesourcery.com>
21171
21172 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
21173 and compute the length of function main. Save it in
21174 $main_length.
21175 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
21176 (top-level): Use gdb_compile to compile objects into
21177 executable and restart GDB. Remove invocation to
21178 prepare_for_testing.
21179
7ae1a6a6
PA
211802014-04-25 Simon Marchi <simon.marchi@ericsson.com>
21181 Pedro Alves <palves@redhat.com>
21182
21183 PR server/16255
21184 * gdb.multi/multi-attach.c: New file.
21185 * gdb.multi/multi-attach.exp: New file.
21186
4082afcc
PA
211872014-04-25 Pedro Alves <palves@redhat.com>
21188
21189 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
21190 user.
21191 (top level): Test that "set remote conditional-breakpoints-packet
21192 off" works as intended.
21193 * gdb.base/dprintf.exp: Test that "set remote
21194 breakpoint-commands-packet off" works as intended.
21195 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
21196 New function.
21197 (top level): Call it.
21198 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
21199 remote fast-tracepoints-packet off" works as intended.
21200 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
21201 * lib/gdb.exp (gdb_is_target_remote): ... here.
21202
2abc3f8d
DB
212032014-04-24 David Blaikie <dblaikie@gmail.com>
21204
21205 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
21206 ensure clang would not discard them.
21207 * gdb.base/gdbvars.c: Ditto.
21208 * gdb.base/memattr.c: Ditto.
21209 * gdb.base/whatis.c: Ditto.
21210 * gdb.python/py-prettyprint.c: Ditto.
21211 * gdb.trace/actions.c: Ditto.
21212 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
21213 ensure clang would not discard it.
21214
bfd39632
DB
212152014-04-24 David Blaikie <dblaikie@gmail.com>
21216
21217 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
21218 clang to emit the full definition of type required by the test
21219 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
21220
22842ff6
DB
212212014-04-24 David Blaikie <dblaikie@gmail.com>
21222
21223 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21224 coax Clang into emitting the definition of the type.
21225 * gdb.cp/pr10728-x.h (y): Ditto.
21226 * gdb.cp/pr10728-y.cc (y): Ditto.
21227
c2e827ad
DB
212282014-04-24 David Blaikie <dblaikie@gmail.com>
21229
21230 * gdb.base/label.exp: XFAIL label related tests under Clang.
21231 * gdb.cp/cplabel.exp: Ditto.
21232 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21233 under Clang those using labels.
21234
4c2d33e7
YQ
212352014-04-25 Yao Qi <yao@codesourcery.com>
21236
21237 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21238 double_label.
21239 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21240 partial_label and double_label.
21241
56083b99
DB
212422014-04-24 David Blaikie <dblaikie@gmail.com>
21243
21244 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21245
25d4e99d
DB
212462014-04-24 David Blaikie <dblaikie@gmail.com>
21247
21248 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21249 of the function to work across GCC and Clang.
21250 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21251 pointer types (const void ** const V void **).
21252
01f9f808
MS
212532014-04-24 Michael Sturm <michael.sturm@mintel.com>
21254 Walfred Tedeschi <walfred.tedeschi@intel.com>
21255
21256 * Makefile.in (EXECUTABLES): Added i386-avx512.
21257 * gdb.arch/i386-avx512.c: New file.
21258 * gdb.arch/i386-avx512.exp: Likewise.
21259
4b48d439
KS
212602014-04-23 Keith Seitz <keiths@redhat.com>
21261
21262 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21263 (mi_make_breakpoint_table): New procedure.
21264 (mi_create_breakpoint): Use mi_make_breakpoint
21265 and return the result.
21266 (mi_make_breakpoint): New procedure.
21267 (mi_build_kv_pairs): New procedure.
21268
21269 * gdb.mi/mi-break.exp: Remove unused globals,
21270 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21271 All callers updated.
21272 * gdb.mi/mi-dprintf.exp: Use variable to track command
21273 number.
21274 Update all callers of mi_create_breakpoint and use
21275 mi_make_breakpoint_table.
21276 Remove any unused global variables.
21277 * gdb.mi/mi-nonstop.exp: Likewise.
21278 * gdb.mi/mi-nsintrall.exp: Likewise.
21279 * gdb.mi/mi-nsmoribund.exp: Likewise.
21280 * gdb.mi/mi-nsthrexec.exp: Likewise.
21281 * gdb.mi/mi-reverse.exp: Likewise.
21282 * gdb.mi/mi-simplerun.exp: Likewise.
21283 * gdb.mi/mi-stepn.exp: Likewise.
21284 * gdb.mi/mi-syn-frame.exp: Likewise.
21285 * gdb.mi/mi-until.exp: Likewise.
21286 * gdb.mi/mi-var-cp.exp: Likewise.
21287 * gdb.mi/mi-var-display.exp: Likewise.
21288 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21289 * gdb.mi/mi2-var-child.exp: Likewise.
21290 * gdb.mi/mi-vla-c99.exp: Likewise.
21291 * lib/mi-support.exp: Likewise.
21292
21293 From Ian Lance Taylor <iant@cygnus.com>:
21294 * lib/gdb.exp (parse_args): New procedure.
21295
08351840
PA
212962014-04-23 Pedro Alves <palves@redhat.com>
21297
21298 * gdb.base/break-unload-file.c: New file.
21299 * gdb.base/break-unload-file.exp: New file.
21300 * gdb.base/sym-file-lib.c (baz): New function.
21301 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21302 field.
21303 (load): Store the segment's mapped size.
21304 (unload): New function.
21305 (unload_shlib): New function.
21306 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21307 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21308 set a breakpoint at baz, and call it.
21309 * gdb.base/sym-file.exp: New tests for stale breakpoint
21310 instructions.
21311
076855f9
PA
213122014-04-23 Pedro Alves <palves@redhat.com>
21313
21314 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21315 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21316 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21317 * gdb.base/hbreak-unmapped.c: New file.
21318 * gdb.base/hbreak-unmapped.exp: New file.
21319 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21320 * lib/gdb.exp (gdb_is_target_remote): ... here.
21321
483805cf
PA
213222014-04-22 Pedro Alves <palves@redhat.com>
21323
21324 * gdb.base/consecutive-step-over.c: New file.
21325 * gdb.base/consecutive-step-over.exp: New file.
21326
06d97543
PA
213272014-04-22 Pedro Alves <palves@redhat.com>
21328
21329 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21330 instead of send_gdb/gdb_expect.
21331
b4429ea2
YQ
213322014-04-22 Yao Qi <yao@codesourcery.com>
21333
21334 * lib/trace-support.exp (generate_tracefile): New procedure.
21335 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21336 return 0.
21337 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21338 if generate_tracefile returns 1.
21339
51d48146
PA
213402014-04-18 Tom Tromey <palves@redhat.com>
21341 Pedro alves <tromey@redhat.com>
21342
21343 PR backtrace/15558
21344 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21345 with a backtrace limit.
21346 * gdb.python/py-frame-inline.exp: Test running to an inline
21347 function with a backtrace limit, and printing the newest frame.
21348 * gdb.python/py-frame-inline.c (main): Call f.
21349
bd1dce5f
MS
213502014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21351
21352 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21353
40d1a503
MS
213542014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21355
21356 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21357 Drop prefix from unsupported source file path.
21358
389b98f7
YQ
213592014-04-17 Yao Qi <yao@codesourcery.com>
21360
21361 * lib/gdb.exp (with_target_charset): New proc.
21362 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21363 with_target_charset.
21364 (test_print_strings): Likewise.
21365 (test_repeat_bytes): Likewise.
21366 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21367 for some tests.
21368
22869d73
KS
213692014-04-16 Keith Seitz <keiths@redhat.com>
21370
21371 PR gdb/15827
21372 * gdb.dwarf2/corrupt.c: New file.
21373 * gdb.dwarf2/corrupt.exp: New file.
21374
c4f87ca6
KS
213752014-04-16 Keith Seitz <keiths@redhat.com>
21376
21377 PR c++/16597
21378 * gdb.cp/namelessclass.cc: New file.
21379 * gdb.cp/namelessclass.exp: New file.
21380 * gdb.cp/namelessclass.S: New file.
21381
ab19de87
DE
213822014-04-16 Doug Evans <dje@google.com>
21383
21384 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21385 Add comment.
21386 (gdbserver_default_get_comm_port): New function.
21387 (gdbserver_start): Check if board file provided
21388 "gdbserver,get_comm_port" and use it if so.
21389 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21390 (gdb,socketport): Set to "stdio".
21391 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21392 (stdio_gdbserver_template): Delete.
21393 (${board}_get_remote_address): Update.
21394 (${board}_build_remote_cmd): Delete.
21395 (${board}_get_comm_port): New function.
21396 (${board}_spawn): Update.
21397 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21398 Delete.
21399 (${board}_get_remote_address): Update.
21400 (${board}_get_comm_port): New function.
21401
fc98a809
AB
214022014-04-16 Andrew Burgess <aburgess@broadcom.com>
21403
21404 * gdb.base/memattr.exp: Improve regexps to handle memory regions
21405 appearing in any order.
21406
87fd9e6e
DE
214072014-04-15 Doug Evans <dje@google.com>
21408
21409 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
21410 uninitialized value of "description".
21411
099fc3ea
KS
214122014-04-15 Keith Seitz <keiths@redhat.com>
21413
21414 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
21415 Remove unused globals.
21416 (test_running_the_program): Likewise.
21417 (test_controlled_execution): Likewise.
21418 (test_controlling_breakpoints): Likewise.
21419 (test_program_termination): Likewise.
21420
5da151d4
KS
214212014-04-15 Keith Seitz <keiths@redhat.com>
21422
21423 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
21424 unused globals.
21425 (test_rbreak_creation_and_listing): Likewise.
21426 (test_ignore_count): Likewise.
21427 (test_error): Likewise.
21428
35e5d2f0
PA
214292014-04-15 Pedro Alves <palves@redhat.com>
21430
21431 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
21432 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
21433 sym-file-loader.c.
21434 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21435 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21436 to sym-file-loader.c.
21437 (struct library): Forward declare.
21438 (load_shlib, lookup_function): Change prototypes.
21439 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21440 (translate_offset): Remove declarations.
21441 (get_text_addr): New declaration.
21442 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
21443 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
21444 sym-file-loader.h.
21445 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21446 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21447 here from sym-file-loader.h.
21448 (struct library): New structure.
21449 (load_shlib, lookup_function): Change prototypes and adjust to
21450 work with a struct library.
21451 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21452 (translate_offset): Make static.
21453 (get_text_addr): New function.
21454 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21455
eb4c1710
PA
214562014-04-15 Pedro Alves <palves@redhat.com>
21457
21458 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21459
2d1baf52
PA
214602014-04-15 Pedro Alves <palves@redhat.com>
21461
21462 * gdb.base/sym-file-loader.c: Include <limits.h>.
21463 (SELF_LINK): New define.
21464 (get_origin): New function.
21465 (load_shlib): Use it.
21466 * gdb.base/sym-file.exp: Don't early return if the target is
21467 remote. Use runto_main, and issue fail is that fails. Use
21468 gdb_load_shlibs.
21469 (shlib_name): Delete.
21470 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21471
7dd6df01
PA
214722014-04-15 Pedro Alves <palves@redhat.com>
21473
21474 * gdb.base/sym-file.exp: Remove regex characters from test
21475 message. Don't refer to breakpoint numbers in test messages.
21476
b50c8614
KS
214772014-04-14 Keith Seitz <keiths@redhat.com>
21478
21479 PR c++/16253
21480 * gdb.cp/var-tag.cc: New file.
21481 * gdb.cp/var-tag.exp: New file.
21482 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21483 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21484 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21485 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21486
3d567982
TT
214872014-04-14 Tom Tromey <tromey@redhat.com>
21488
21489 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21490 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21491 type.
21492 * gdb.cp/enum-class.exp: New file.
21493 * gdb.cp/enum-class.cc: New file.
21494
0626fc76
TT
214952014-04-14 Tom Tromey <tromey@redhat.com>
21496
21497 * gdb.dwarf2/enum-type.exp: New file.
21498
dca325b3
SA
214992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21500
21501 * gdb.mi/mi-vla-c99.exp: New file.
21502 * gdb.mi/vla.c: New file.
21503
5854b38a
SA
215042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21505
21506 * gdb.base/vla-datatypes.c: New file.
21507 * gdb.base/vla-datatypes.exp: New file.
21508
463bb957
SA
215092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21510
21511 * gdb.base/vla-ptr.c: New file.
21512 * gdb.base/vla-ptr.exp: New file.
21513
3dd170be
SA
215142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21515
21516 * gdb.dwarf2/count.exp: New file.
21517
5ecaaa66
SA
215182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21519
21520 * gdb.base/vla-sideeffect.c: New file.
21521 * gdb.base/vla-sideeffect.exp: New file.
21522
41f1ada5
DB
215232014-04-14 David Blaikie <dblaikie@gmail.com>
21524
21525 * gdb.mi/non-stop.c: Add return value for non-void function return
21526 statement.
21527 * gdb.threads/staticthreads.c: Ditto.
21528
0be03e84
DE
215292014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21530 Doug Evans <xdje42@gmail.com>
21531
21532 * gdb.guile/scm-value.c: Improve test case.
21533 * gdb.guile/scm-value.exp: Add new test.
21534
f180a1fb
DB
215352014-04-11 David Blaikie <dblaikie@gmail.com>
21536
21537 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21538 override Clang's default.
21539
6b662e19
JB
215402014-04-11 Joel Brobecker <brobecker@adacore.com>
21541
21542 Revert the following changes (regressions):
21543
21544 * gdb.base/vla-sideeffect.c: New file.
21545 * gdb.base/vla-sideeffect.exp: New file.
21546
21547 * gdb.dwarf2/count.exp: New file.
21548
21549 * gdb.base/vla-multi.c: New file.
21550 * gdb.base/vla-multi.exp: New file.
21551
21552 * gdb.base/vla-ptr.c: New file.
21553 * gdb.base/vla-ptr.exp: New file.
21554
21555 * gdb.base/vla-datatypes.c: New file.
21556 * gdb.base/vla-datatypes.exp: New file.
21557
21558 * gdb.mi/mi-vla-c99.exp: New file.
21559 * gdb.mi/vla.c: New file.
21560
245a5f0b
KS
215612014-04-11 Keith Seitz <keiths@redhat.com>
21562
21563 PR c++/16675
21564 * gdb.cp/cpsizeof.exp: New file.
21565 * gdb.cp/cpsizeof.cc: New file.
21566
58a84dcf
SA
215672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21568
191a8a90
JB
21569 * gdb.mi/mi-vla-c99.exp: New file.
21570 * gdb.mi/vla.c: New file.
58a84dcf 21571
c8655f75
SA
215722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21573
21574 * gdb.base/vla-datatypes.c: New file.
21575 * gdb.base/vla-datatypes.exp: New file.
21576
024e13b4
SA
215772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21578
21579 * gdb.base/vla-ptr.c: New file.
21580 * gdb.base/vla-ptr.exp: New file.
21581
1a237e0e
SA
215822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21583
21584 * gdb.base/vla-multi.c: New file.
21585 * gdb.base/vla-multi.exp: New file.
21586
504f3432
SA
215872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21588
21589 * gdb.dwarf2/count.exp: New file.
21590
3bce8237
SA
215912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21592
191a8a90
JB
21593 * gdb.base/vla-sideeffect.c: New file.
21594 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 21595
322f9c21
YQ
215962014-04-11 Yao Qi <yao@codesourcery.com>
21597
21598 * gdb.base/completion.exp: Check file exists before running tests
21599 on file completion.
21600
d708bcd1
PA
216012014-04-10 Pedro Alves <palves@redhat.com>
21602
21603 * gdb.base/cond-eval-mode.c: New file.
21604 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
21605 prepare_for_testing to build the new file. Check result of
21606 runto_main.
21607 (test_break, test_watch): New procedures.
21608 (top level): Use them.
21609
ae1d2761
PM
216102014-04-08 Pierre Muller <muller@sourceware.org>
21611
21612 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21613 Ctrl-V use for mingw hosts.
21614
7af389b8
SC
216152014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21616
21617 * gdb.python/py-value.c: Improve test case.
21618 * gdb.python/py-value.exp: Add new test.
21619
5e703181
DE
216202014-04-07 David Blaikie <dblaikie@gmail.com>
21621
21622 * lib/compiler.c: Identify the clang compiler.
21623 * lib/compiler.cc: Ditto.
21624
9810b410
YQ
216252014-04-03 Yao Qi <yao@codesourcery.com>
21626
21627 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21628
98d1b8dc
AB
216292014-04-01 Anton Blanchard <anton@samba.org>
21630
21631 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21632 messages unique.
21633
3114cea1
AB
216342014-04-01 Anton Blanchard <anton@samba.org>
21635
21636 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21637 prepare_for_testing.
21638
62f7182c
AB
216392014-04-01 Anton Blanchard <anton@samba.org>
21640
21641 * gdb.arch/ppc64-atomic-inst.c: Remove.
21642 * gdb.arch/ppc64-atomic-inst.S: New file.
21643 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
21644
770e7fc7
DE
216452014-03-31 Doug Evans <dje@google.com>
21646
21647 * gdb.base/print-symbol-loading-lib.c: New file.
21648 * gdb.base/print-symbol-loading-main.c: New file.
21649 * gdb.base/print-symbol-loading.exp: New file.
21650
46e2bafa
YQ
216512014-03-31 Yao Qi <yao@codesourcery.com>
21652
21653 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
21654
8776cfe9
JB
216552014-03-28 Joel Brobecker <brobecker@adacore.com>
21656
21657 * gdb.ada/mi_dyn_arr: New testcase.
21658
5d1ef361
DE
216592014-03-27 Doug Evans <dje@google.com>
21660
21661 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
21662
b5bee914
YQ
216632014-03-27 Yao Qi <yao@codesourcery.com>
21664
21665 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
21666 if target is nios2-*-*.
21667
0d4d0e77
YQ
216682014-03-26 Yao Qi <yao@codesourcery.com>
21669
21670 * lib/gdb.exp (readline_is_used): New proc.
21671 * gdb.base/completion.exp: Move tests on command complete up.
21672 Skip the rest of tests if readline is not used.
21673 * gdb.ada/complete.exp: Skp the test if readline is not
21674 used.
21675 * gdb.base/filesym.exp: Likewise.
21676 * gdb.base/macscp.exp: Likewise.
21677 * gdb.base/readline-ask.exp: Likewise.
21678 * gdb.base/readline.exp: Likewise.
21679 * gdb.python/py-cmd.exp: Likewise.
21680 * gdb.trace/tfile.exp: Likewise.
21681
29361eee
YQ
216822014-03-26 Yao Qi <yao@codesourcery.com>
21683
21684 * gdb.base/macscp.exp: Fix code format issues.
21685
bc9a5525
UW
216862014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
21687
21688 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
21689 * gdb.asm/powerpc64le.inc: New file.
21690
d3839ede
PA
216912014-03-25 Pedro Alves <palves@redhat.com>
21692 Doug Evans <dje@google.com>
21693
21694 * gdb.base/source-execution.c: New file.
21695 * gdb.base/source-execution.exp: New file.
21696 * gdb.base/source-execution.gdb: New file.
21697
01672a57
DE
216982014-03-24 Doug Evans <dje@google.com>
21699
21700 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
21701 using fission.
21702
88bbeca9
HZ
217032014-03-24 Hui Zhu <hui@codesourcery.com>
21704 Pedro Alves <palves@redhat.com>
21705
21706 PR breakpoints/16101
21707 * gdb.base/dprintf.exp: Use unsupported rather than changing the
21708 test pass/fail messages. Detect missing support for dprintf when
21709 breakpoints are actually inserted.
21710 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
21711 breakpoints are actually inserted.
21712 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
21713 fails.
21714
d2348791
JK
217152014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
21716
21717 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
21718
feef67ab
DE
217192014-03-22 Doug Evans <xdje42@gmail.com>
21720
21721 * gdb.python/python.exp (python not supported): Verify multi-line
21722 python command issues an error.
25d743f9 21723 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 21724 guile command issues an error.
feef67ab 21725
ecebef6a
MR
217262014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
21727
21728 * gdb.threads/thread-specific.exp: Handle the lack of usable
21729 $this_breakpoint and $this_thread.
21730
ccdd1909
HZ
217312014-03-21 Hui Zhu <hui@codesourcery.com>
21732
21733 * gdb.base/attach.exp (do_command_attach_tests): New.
21734
beb460e8
PA
217352014-03-20 Tom Tromey <tromey@redhat.com>
21736 Pedro Alves <palves@redhat.com>
21737
21738 PR cli/15718
21739 * gdb.base/condbreak-call-false.c: New file.
21740 * gdb.base/condbreak-call-false.exp: New file.
21741
40acf43a
PA
217422014-03-20 Pedro Alves <palves@redhat.com>
21743
21744 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21745 Delete.
21746 (block_signals, unblock_signals): Delete.
21747 (child_function_2, main): Remove references to deleted variable
21748 and functions.
21749
9f5e1e02
PA
217502014-03-20 Pedro Alves <palves@redhat.com>
21751
21752 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
21753 Use pthread_kill to signal thread 2.
21754 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21755 Adjust to make the test send itself a signal rather than using the
21756 host's "kill" command.
21757
99619bea
PA
217582014-03-20 Pedro Alves <palves@redhat.com>
21759
21760 * gdb.threads/multiple-step-overs.c: New file.
21761 * gdb.threads/multiple-step-overs.exp: New file.
21762 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21763 Adjust expected infrun debug output.
21764
2adfaa28
PA
217652014-03-20 Pedro Alves <palves@redhat.com>
21766
21767 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21768 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21769
31e77af2
PA
217702014-03-20 Pedro Alves <palves@redhat.com>
21771
21772 PR breakpoints/7143
21773 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21774 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21775 of gdb_test_multiple.
21776 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21777 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21778
b9f437de
PA
217792014-03-20 Pedro Alves <palves@redhat.com>
21780
21781 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21782 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21783
05adc73e
PA
217842014-03-19 Pedro Alves <palves@redhat.com>
21785
21786 * gdb.base/async.exp: Remove early return.
21787
6048b950
PA
217882014-03-19 Pedro Alves <palves@redhat.com>
21789
21790 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21791
8bcfb00a
PA
217922014-03-19 Pedro Alves <palves@redhat.com>
21793
21794 * gdb.base/async.exp (test_background): Expect \r\n after
21795 "completed." in the fail pattern.
21796
884e37dc
PA
217972014-03-19 Pedro Alves <palves@redhat.com>
21798
21799 * gdb.base/async.exp (test_background): New procedure.
21800 Use it for all background execution command tests.
21801
148e57e2
PA
218022014-03-19 Pedro Alves <palves@redhat.com>
21803
21804 * gdb.base/async.exp: Use prepare_for_testing.
21805
f48088c7
PA
218062014-03-19 Pedro Alves <palves@redhat.com>
21807
21808 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21809 the same line.
21810
e2f6c966
PA
218112014-03-19 Pedro Alves <palves@redhat.com>
21812
21813 * gdb.base/async.c (main): Add "jump here" and "until here" line
21814 marker comments.
21815 * gdb.base/async.exp (jump_here): New global.
21816 (jump& test): Use it.
21817 (until_here): New global.
21818 (until& test): Use it.
21819
c30568d4
PA
218202014-03-19 Pedro Alves <palves@redhat.com>
21821
21822 * gdb.base/async.exp: Don't frob gdb_protocol.
21823
0172b6a7
DE
218242014-03-18 Doug Evans <xdje42@gmail.com>
21825
21826 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21827 Fix spelling of exec-done-display.
21828
06c868a8
JK
218292014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21830
21831 PR gdb/15358
21832 * gdb.base/gdb-sigterm.c: New file.
21833 * gdb.base/gdb-sigterm.exp: New file.
21834
0c7e1a46
PA
218352014-03-18 Pedro Alves <palves@redhat.com>
21836
21837 PR gdb/13860
21838 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21839 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21840 solib-event.
21841
f7c77d93
JB
218422014-03-17 Joel Brobecker <brobecker@adacore.com>
21843
21844 * gdb.ada/pckd_arr_ren: New testcase.
21845
5a1e8c7a
DE
218462014-03-13 Doug Evans <xdje42@gmail.com>
21847
21848 PR guile/16612
21849 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21850 collect after discarding symbols.
21851
350e1a76
DE
218522014-03-13 Ludovic Courtès <ludo@gnu.org>
21853 Doug Evans <xdje42@gmail.com>
21854
21855 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21856 to history survives a gc.
21857
a69900ae
PA
218582014-03-13 Pedro Alves <palves@redhat.com>
21859
21860 * gdb.base/default.exp: Don't test "target procfs".
21861
5db9f0bd
PA
218622014-03-13 Pedro Alves <palves@redhat.com>
21863
21864 * gdb.base/default.exp: Update "target child" and "target procfs"
21865 tests to not expect "Unix".
21866
b3ccfe11
TT
218672014-03-12 Tom Tromey <tromey@redhat.com>
21868
21869 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
21870 New procs. Add target-async tests.
21871 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
21872 Add target-async tests.
21873
646f4417
AA
218742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21875
21876 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
21877 'func_start' and 'func_end' for the beginning and end of the
21878 function code, respectively.
21879 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
21880 'func_end' instead of 'func' and 'main'.
21881
288c211f
AA
218822014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21883
21884 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
21885 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
21886 generate the debug info assembler source.
21887
e0c0f156
AA
218882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21889
21890 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
21891 * gdb.dwarf2/arr-subrange.exp: Likewise.
21892 * gdb.dwarf2/dwz.exp: Likewise.
21893 * gdb.dwarf2/method-ptr.exp: Likewise.
21894 * gdb.dwarf2/missing-sig-type.exp: Likewise.
21895 * gdb.dwarf2/subrange.exp: Likewise.
21896 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
21897 * gdb.dwarf2/implptrpiece.exp: Likewise.
21898 * gdb.dwarf2/nostaticblock.exp: Likewise.
21899
0e5c4555
AA
219002014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21901
21902 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21903 directory to absolute path name arguments.
21904
5ec18f2b
JG
219052014-03-10 Joel Brobecker <brobecker@adacore.com>
21906
21907 * gdb.ada/tagged_access: New testcase.
21908
847fc4f2
MM
219092014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21910
21911 * gdb.btrace/data.exp: Update expected output.
21912
cc3da688
YQ
219132014-03-06 Yao Qi <yao@codesourcery.com>
21914
21915 * gdb.trace/pr16508.exp: New file.
21916
0f26cec1
PA
219172014-03-05 Pedro Alves <palves@redhat.com>
21918
21919 PR gdb/16575
21920 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21921 procedure.
21922 (top level): Adjust to use it. Add tests that exercise breakpoint
21923 interaction with the code-cache.
21924
7a5a839f
LC
219252014-02-26 Ludovic Courtès <ludo@gnu.org>
21926
21927 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21928 test for 'history-append!'.
21929
31aa7e4e
JB
219302014-02-26 Joel Brobecker <brobecker@adacore.com>
21931
21932 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
21933 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21934 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21935 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21936 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21937 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21938
1b588015
JB
219392014-02-26 Joel Brobecker <brobecker@adacore.com>
21940
21941 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21942 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21943 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21944
55426c9d
JB
219452014-02-26 Joel Brobecker <brobecker@adacore.com>
21946
21947 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21948
dc53a7ad
JB
219492014-02-26 Joel Brobecker <brobecker@adacore.com>
21950
21951 * gdb.dwarf2/arr-stride.c: New file.
21952 * gdb.dwarf2/arr-stride.exp: New file.
21953
12ab52e9
PA
219542014-02-26 Pedro Alves <palves@redhat.com>
21955
21956 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21957 that won't ever trigger. Make sure that GDB reports the correct
21958 breakpoint that caused the stop.
21959
849c862e
JK
219602014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21961
21962 PR gdb/16626
21963 * gdb.base/auto-load-script: New file.
21964 * gdb.base/auto-load.c: New file.
21965 * gdb.base/auto-load.exp: New file.
21966
71b7d793
JK
21967 PR gdb/16626
21968 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21969
e2f0d509
JK
219702014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21971
21972 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21973 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21974
50cc37c8
DE
219752014-02-24 Doug Evans <dje@google.com>
21976
21977 * lib/gdb.exp (run_on_host): Log error output if program fails.
21978
ea4758f2
PA
219792014-02-21 Pedro Alves <palves@redhat.com>
21980
21981 * gdb.threads/step-after-sr-lock.c: Rename to ...
21982 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21983 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21984 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21985 ... this.
21986
d7b30f67
SDJ
219872014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21988
21989 PR tdep/16397
21990 * gdb.arch/amd64-stap-special-operands.exp: New file.
21991 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21992 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21993 * gdb.arch/amd64-stap-triplet.S: Likewise.
21994 * gdb.arch/amd64-stap-triplet.c: Likewise.
21995
83deb43f
JB
219962014-02-20 Joel Brobecker <brobecker@adacore.com>
21997
21998 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21999 in .section pseudo-op.
22000
adde2bff
DE
220012014-02-20 lin zuojian <manjian2006@gmail.com>
22002 Joel Brobecker <brobecker@adacore.com>
22003 Doug Evans <xdje42@gmail.com>
22004
22005 PR symtab/16581
22006 * gdb.dwarf2/dw2-icycle.S: New file.
22007 * gdb.dwarf2/dw2-icycle.c: New file.
22008 * gdb.dwarf2/dw2-icycle.exp: New file.
22009
f7bd0f78
SC
220102014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22011
22012 * gdb.python/py-value-cc.cc: Improve test case to enable testing
22013 operations on gdb.Value objects.
22014 * gdb.python/py-value-cc.exp: Add new test to test operations on
22015 gdb.Value objects.
22016
c17ef0d5
DE
220172014-02-18 Doug Evans <dje@google.com>
22018
22019 * Makefile.in (TESTS): New variable.
22020 (expanded_tests, expanded_tests_or_none): New variables
22021 (check-single): Pass $(expanded_tests_or_none) to runtest.
22022 (check-parallel): Only run tests in $(TESTS) if non-empty.
22023 (check/no-matching-tests-found): New rule.
22024 * README: Document TESTS makefile variable.
22025
5dd3176f
DE
220262014-02-18 Doug Evans <dje@google.com>
22027
22028 * Makefile.in (check-parallel): rm -rf outputs temp.
22029
0b10be4f
JK
220302014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22031
22032 Fix "ERROR: no fileid for" in the testsuite.
22033 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
22034
85f224e7
DE
220352014-02-12 Doug Evans <dje@google.com>
22036
22037 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
22038 (MISCELLANEOUS): New variable.
22039 (clean): rm -rf $(MISCELLANEOUS).
22040 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
22041 dwp live in the same directory as symlinks, with each symlink pointed
22042 to a differently named file in a different directory.
22043
149b30ff
DE
220442014-02-11 Doug Evans <dje@google.com>
22045
22046 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
22047 of Tcl file commands.
22048
1dfdac32
MK
220492014-02-10 Mark Kettenis <kettenis@gnu.org>
22050
22051 * gdb.threads/step-after-sr-lock.exp: Avoid executing
22052 "kill -SIGUSR1 -1".
22053
aa4fb036
JB
220542014-02-10 Joel Brobecker <brobecker@adacore.com>
22055
22056 * gdb.ada/tick_length_array_enum_idx: New testcase.
22057
ed3ef339
DE
220582014-02-10 Doug Evans <xdje42@gmail.com>
22059
22060 * configure.ac (AC_OUTPUT): Add gdb.guile.
22061 * configure: Regenerate.
22062 * lib/gdb-guile.exp: New file.
22063 * lib/gdb.exp (get_target_charset): New function.
22064 * gdb.base/help.exp: Update expected output from "apropos apropos".
22065 * gdb.guile/Makefile.in: New file.
22066 * gdb.guile/guile.exp: New file.
22067 * gdb.guile/scm-arch.c: New file.
22068 * gdb.guile/scm-arch.exp: New file.
22069 * gdb.guile/scm-block.c: New file.
22070 * gdb.guile/scm-block.exp: New file.
22071 * gdb.guile/scm-breakpoint.c: New file.
22072 * gdb.guile/scm-breakpoint.exp: New file.
22073 * gdb.guile/scm-disasm.c: New file.
22074 * gdb.guile/scm-disasm.exp: New file.
22075 * gdb.guile/scm-equal.c: New file.
22076 * gdb.guile/scm-equal.exp: New file.
22077 * gdb.guile/scm-error.exp: New file.
22078 * gdb.guile/scm-error.scm: New file.
22079 * gdb.guile/scm-frame-args.c: New file.
22080 * gdb.guile/scm-frame-args.exp: New file.
22081 * gdb.guile/scm-frame-args.scm: New file.
22082 * gdb.guile/scm-frame-inline.c: New file.
22083 * gdb.guile/scm-frame-inline.exp: New file.
22084 * gdb.guile/scm-frame.c: New file.
22085 * gdb.guile/scm-frame.exp: New file.
22086 * gdb.guile/scm-generics.exp: New file.
22087 * gdb.guile/scm-gsmob.exp: New file.
22088 * gdb.guile/scm-iterator.c: New file.
22089 * gdb.guile/scm-iterator.exp: New file.
22090 * gdb.guile/scm-math.c: New file.
22091 * gdb.guile/scm-math.exp: New file.
22092 * gdb.guile/scm-objfile-script-gdb.in: New file.
22093 * gdb.guile/scm-objfile-script.c: New file.
22094 * gdb.guile/scm-objfile-script.exp: New file.
22095 * gdb.guile/scm-objfile.c: New file.
22096 * gdb.guile/scm-objfile.exp: New file.
22097 * gdb.guile/scm-ports.exp: New file.
22098 * gdb.guile/scm-pretty-print.c: New file.
22099 * gdb.guile/scm-pretty-print.exp: New file.
22100 * gdb.guile/scm-pretty-print.scm: New file.
22101 * gdb.guile/scm-section-script.c: New file.
22102 * gdb.guile/scm-section-script.exp: New file.
22103 * gdb.guile/scm-section-script.scm: New file.
22104 * gdb.guile/scm-symbol.c: New file.
22105 * gdb.guile/scm-symbol.exp: New file.
22106 * gdb.guile/scm-symtab-2.c: New file.
22107 * gdb.guile/scm-symtab.c: New file.
22108 * gdb.guile/scm-symtab.exp: New file.
22109 * gdb.guile/scm-type.c: New file.
22110 * gdb.guile/scm-type.exp: New file.
22111 * gdb.guile/scm-value-cc.cc: New file.
22112 * gdb.guile/scm-value-cc.exp: New file.
22113 * gdb.guile/scm-value.c: New file.
22114 * gdb.guile/scm-value.exp: New file.
22115 * gdb.guile/source2.scm: New file.
22116 * gdb.guile/types-module.cc: New file.
22117 * gdb.guile/types-module.exp: New file.
22118
7026a7c1
YQ
221192014-02-10 Yao Qi <yao@codesourcery.com>
22120
22121 PR testsuite/16543
22122 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
22123 * configure: Regenerated.
22124 * Makefile.in: New file.
22125
6c466447
AS
221262014-02-08 Andreas Schwab <schwab@linux-m68k.org>
22127
22128 * gdb.python/py-framefilter.exp: Fix typo.
22129
6e854735
YQ
221302014-02-08 Yao Qi <yao@codesourcery.com>
22131
22132 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
22133 that no =breakpoint-modified is emitted when breakpoints are
22134 modified through MI commands.
22135
d137e6dc
PA
221362014-02-07 Pedro Alves <pedro@codesourcery.com>
22137 Pedro Alves <palves@redhat.com>
22138
22139 * gdb.threads/step-after-sr-lock.c: New file.
22140 * gdb.threads/step-after-sr-lock.exp: New file.
22141
b5ee5a50
PA
221422014-02-07 Pedro Alves <palves@redhat.com>
22143
22144 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
22145
3c77faf3
JK
221462014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22147
22148 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
22149 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
22150
6dddc817
DE
221512014-02-06 Doug Evans <xdje42@gmail.com>
22152
22153 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
22154 output.
22155
22156 * gdb.gdb/python-interrupts.exp: New file.
22157
de7b2893
YQ
221582014-02-05 Yao Qi <yao@codesourcery.com>
22159
22160 * gdb.trace/report.exp (use_collected_data): Test the output
22161 of "info threads" and "info inferiors".
22162
66d032ac
YQ
221632014-02-05 Yao Qi <yao@codesourcery.com>
22164
22165 Revert this patch:
22166
22167 2013-05-24 Yao Qi <yao@codesourcery.com>
22168
22169 * gdb.trace/tfile.exp: Test inferior and thread.
22170
591a12a1
UW
221712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22172
22173 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
22174 on a function.
22175 * gdb.base/step-bt.c: Call hello via function pointer to make
22176 sure its first instruction is executed on powerpc64le-linux.
22177
0ff3e01f
UW
221782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22179
22180 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
22181
084ee545
UW
221822014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22183
22184 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
22185 of the test patterns for use on little-endian systems.
22186
6ed14ff3
UW
221872014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22188
22189 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
22190 (decimal_vector): Fix for little-endian.
22191
401e27fd
JM
221922014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
22193
22194 * gdb.arch/sparc-sysstep.exp: New file.
22195 * gdb.arch/sparc-sysstep.c: Likewise.
22196
22197 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
22198
8b924729
EBM
221992014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22200
22201 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
22202
fb151210
JB
222032014-01-23 Tom Tromey <tromey@redhat.com>
22204
22205 * gdb.ada/array_char_idx: New testcase.
22206
0740f8d8
TT
222072014-01-23 Tom Tromey <tromey@redhat.com>
22208
22209 PR python/16487:
22210 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
22211 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
22212 classes.
22213
21909fa1
TT
222142014-01-23 Tom Tromey <tromey@redhat.com>
22215
22216 PR python/16491:
22217 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
22218 string from an inferior frame.
22219 * gdb.python/py-framefilter-mi.exp: Update.
22220
87ce2a04
DE
222212014-01-22 Doug Evans <dje@google.com>
22222
22223 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22224
237b092b
AA
222252014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22226
22227 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22228
d674a709
AA
222292014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22230
22231 * gdb.trace/entry-values.exp: Remove excess space character from
22232 regex patterns. Handle s390 call instruction.
22233
20fa3390
AA
222342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22235
22236 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22237 define "*_start" label. Make "name" static.
22238 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22239 ${name} by references to ${name}_start.
22240
78466714
AA
222412014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22242
22243 * gdb.base/info-macros.exp: Remove "debug" from the compile
22244 options.
22245
ec9f644a
IB
222462014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22247
22248 * gdb.dlang/demangle.exp: New file.
22249
94b1b47e
IB
222502014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22251
22252 * gdb.dlang/primitive-types.exp: New file.
22253
7f420862
IB
222542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22255
22256 * configure.ac: Create gdb.dlang/Makefile.
22257 * configure: Regenerate.
22258 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22259 * gdb.dlang/Makefile.in: New file.
22260 * lib/d-support.exp: New file.
22261 * lib/gdb.exp (skip_d_tests): New proc.
22262
52834460
MM
222632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22264
22265 * gdb.btrace/delta.exp: Check reverse stepi.
22266 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22267 * gdb.btrace/finish.exp: New.
22268 * gdb.btrace/next.exp: New.
22269 * gdb.btrace/nexti.exp: New.
22270 * gdb.btrace/record_goto.c: Add comments.
22271 * gdb.btrace/step.exp: New.
22272 * gdb.btrace/stepi.exp: New.
22273 * gdb.btrace/multi-thread-step.c: New.
22274 * gdb.btrace/multi-thread-step.exp: New.
22275 * gdb.btrace/rn-dl-bind.c: New.
22276 * gdb.btrace/rn-dl-bind.exp: New.
22277 * gdb.btrace/data.c: New.
22278 * gdb.btrace/data.exp: New.
22279 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22280
6e07b1d2
MM
222812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22282
22283 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22284 * gdb.btrace/exception.exp: Update.
22285 * gdb.btrace/instruction_history.exp: Update.
22286 * gdb.btrace/record_goto.exp: Update.
22287 * gdb.btrace/tailcall.exp: Update.
22288 * gdb.btrace/unknown_functions.exp: Update.
22289 * gdb.btrace/delta.exp: New.
22290
0b722aec
MM
222912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22292
22293 * gdb.btrace/record_goto.exp: Add backtrace test.
22294 * gdb.btrace/tailcall.exp: Add backtrace test.
22295
066ce621
MM
222962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22297
22298 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22299 * gdb.btrace/record_goto.c: New.
22300 * gdb.btrace/record_goto.exp: New.
22301 * gdb.btrace/x86-record_goto.S: New.
22302
0688d04e
MM
223032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22304
22305 * gdb.btrace/function_call_history.exp: Update tests.
22306 * gdb.btrace/instruction_history.exp: Update tests.
22307
8710b709
MM
223082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22309
22310 * gdb.btrace/function_call_history.exp: Fix expected field
22311 order for "record function-call-history".
22312 Add new tests for "record function-call-history /c".
22313 * gdb.btrace/exception.cc: New.
22314 * gdb.btrace/exception.exp: New.
22315 * gdb.btrace/tailcall.exp: New.
22316 * gdb.btrace/x86-tailcall.S: New.
22317 * gdb.btrace/x86-tailcall.c: New.
22318 * gdb.btrace/unknown_functions.c: New.
22319 * gdb.btrace/unknown_functions.exp: New.
22320 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22321
5de9129b
MM
223222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22323
22324 * gdb.btrace/instruction_history.exp: Update.
22325 * gdb.btrace/function_call_history.exp: Update.
22326
23a7fe75
MM
223272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22328
22329 * gdb.btrace/function_call_history.exp: Fix expected function
22330 trace.
22331 * gdb.btrace/instruction_history.exp: Initialize traced.
22332 Remove traced_functions.
22333
724c7dd8
MM
223342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22335
22336 * gdb.btrace/function_call_history.exp: Update
22337 * gdb.btrace/instruction_history.exp: Update.
22338
6d78d93b
MM
223392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22340
22341 * gdb.btrace/enable.exp: Update expected text.
22342
93a360cc
OJ
223432014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22344
22345 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22346 bytes.
22347
3772b53f
MR
223482014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22349
22350 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22351
596662fa
OJ
223522014-01-15 Omair Javaid <omair.javaid@linaro.org>
22353
22354 * lib/gdb.exp (supports_process_record): Return true for
22355 arm*-linux*. (supports_reverse): Likewise.
22356
b5b08fb4
SC
223572014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22358
22359 PR python/15464
22360 PR python/16113
22361 * gdb.python/py-type.c: Enhance test case.
22362 * gdb.python/py-value-cc.cc: Likewise
22363 * gdb.python/py-type.exp: Add new tests.
22364 * gdb.python/py-value-cc.exp: Likewise
22365
52d7fb13
AA
223662014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22367 Pedro Alves <palves@redhat.com>
22368
22369 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22370 Make "name" extern.
22371 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22372 references to ${name}_start by references to ${name}.
22373
a2cd8cfe
JB
223742014-01-10 Joel Brobecker <brobecker@adacore.com>
22375
22376 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22377
4e23fced
JB
223782014-01-10 Joel Brobecker <brobecker@adacore.com>
22379
22380 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22381
c6a9e42c
PA
223822014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22383 Pedro Alves <palves@redhat.com>
22384
22385 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 22386 mi_gdb_target_load.
c6a9e42c 22387
b7ea362b
PA
223882014-01-08 Pedro Alves <palves@redhat.com>
22389
22390 * gdb.threads/reconnect-signal.c: New file.
22391 * gdb.threads/reconnect-signal.exp: New file.
22392
5e3f4fab
EBM
223932014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22394
22395 * gdb.base/source-dir.exp: New file.
22396
79301218
JB
223972014-01-07 Joel Brobecker <brobecker@adacore.com>
22398
22399 * gdb.ada/mi_interface: New testcase.
22400
8e355c5d
JB
224012014-01-07 Joel Brobecker <brobecker@adacore.com>
22402
22403 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
22404 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
22405 gdb.ada/pp-rec-component/pck.ads: New files.
22406
c0d48811
JB
224072014-01-07 Joel Brobecker <brobecker@adacore.com>
22408
22409 * gdb.python/py-pp-integral.c: New file.
22410 * gdb.python/py-pp-integral.py: New file.
22411 * gdb.python/py-pp-integral.exp: New file.
22412
17b609c3 22413For older changes see ChangeLog-1993-2013.
c906108c 22414\f
8d8cb839
EZ
22415;; Local Variables:
22416;; mode: change-log
22417;; left-margin: 8
22418;; fill-column: 74
22419;; version-control: never
22420;; End:
902f2ccb 22421
b811d2c2 22422 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
22423 Copying and distribution of this file, with or without modification,
22424 are permitted provided the copyright notice and this notice are preserved.